:root {
  --primary-color: #26A69A;
  --green: #0bcc7d;
  --blue: #45A2C0;
  --gold: #fdb40a;
  --red: #FF5722;
  --lime: #CDDC39;
  --yellow: #FFEB3B;
  --orange: #FF9800;
  --purple: #7b04eb;
  --pink: #E91E63;
  --font-color: #555;
  --bg-primary: #FAFAFA;
  --bg-secondary: #EEEEEE;
  --bg-secondary-light: #F5F5F5;
  --hint-color: #BDBDBD;
  --border-color: #dbdbdb;
  --helpbg: rgba(0, 0, 0, 0.75)
}

[data-theme="dark"] {
  --primary-color: #00695C;
  --font-color: rgb(222, 222, 222);
  --hint-color: rgb(138, 138, 138);
  --bg-primary: #091e18;
  --bg-secondary: #224a3d;
  --bg-secondary-light: #14362c;
  --green: #0bcc7d;
  --blue: #2539ac;
  --gold: #ffc900;
  --purple: #944ce7;
  --border-color: #2e5e4e;
}

/* @media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #2a6bf6;
    --font-color: rgb(222, 222, 222);
    --hint-color: rgb(138, 138, 138);
    --bg-primary: #3a2323;
    --bg-secondary: #412525;
    --bg-secondary-light: #4b2a2a;
    --green: #0bcc7d;
    --blue: #2539ac;
    --gold: #ffc900;
    --purple: #944ce7;
    --border-color: #4f2e2e;
  }
} */
.always {
  color: #26a69a !important;
  border-color: #26a69a !important;
}

.temp {
  color: #df53ab !important;
  border-color: #df53ab !important;
}

.friend {
  color: var(--orange) !important;
  border-color: var(--orange) !important;
}

.bg-always {
  background-color: #26a69a !important;
}

.bg-temp {
  background-color: #df53ab !important;
}

.bg-friend {
  background-color: var(--orange) !important;
}

@font-face {
  font-family: 'iran';
  src: url('fonts/iran.ttf');
  font-weight: normal;
  font-style: normal
}

@font-face {
  font-family: 'yekan';
  src: url('fonts/Yekan.woff');
  font-weight: normal;
  font-style: normal
}

html {
  direction: rtl !important;
  text-align: right;
}

* {
  text-decoration: none;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  user-select: none;
}

.blur>* {
  -webkit-filter: blur(5px);
  filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' ><filter id='blur5'><feGaussianBlur in='SourceGraphic' stdDeviation='5' /></filter></svg>#blur5");
  filter: blur(2px);
}

.blur .btn,
.blur button {
  opacity: 0;
}

select {
  text-align-last: center;
}

a,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: inherit;
  text-decoration: none;
  font-size: inherit
}

.btn:focus,
input:focus {
  outline: none !important;
  box-shadow: none !important;
}

.blur {
  /* filter:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' ><filter id='blur3'><feGaussianBlur in='SourceGraphic' stdDeviation='3' /></filter></svg>#blur3"); */
  -webkit-filter: blur(2px);
  filter: blur(2px);
}

.ltr {
  direction: ltr;
}

.rtl {
  direction: rtl;
}

.stretch {
  width: 100%;
}

header {
  background-color: var(--primary-color);
  color: white;
  padding: 11px 8px 8px 8px;
  position: relative;
  height: 44px;
  transition: .3s;
  font-size: .8em;
}

header.msgheader {
  padding-right: 30px;
}

header .icon {
  font-size: 20px;
  position: absolute;
  top: 12px;
  right: 5px;
}

header .icofont-settings {
  position: absolute;
  left: 10px;
  font-size: 27px;
  top: 9px;
  cursor: pointer;
}

header .icofont-refresh {
  position: absolute;
  left: 12px;
  font-size: 25px;
  top: 10px;
  cursor: pointer;
}

header .multibtn>.btn,
.multiselect>.btn {
  color: #fff;
  padding: 4px 10px;
  font-size: .75em;
  flex: auto;
  border-radius: 5px;
  border-radius: 5px;
  margin: 0 5px;
  cursor: pointer;
  position: relative;
  background-color: unset;
  border: 1px solid white;
}

#searchbox {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 5px;
  position: fixed;
  top: 44px;
  width: 100%;
  left: 0px;
  right: 0px;
  z-index: 1031;
  padding-top: 20px;
  display: none;
}

#searchbox::before {
  content: "";
  position: absolute;
  left: 16px;
  top: -5px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 7px solid var(--bg-primary);
}

#searchbox .icofont-toggle-off {
  color: var(--hint-color);
}

#searchbox .icofont-toggle-on {
  color: var(--primary-color);
}

#searchbox .icofont-refresh {
  position: absolute;
  left: 10px;
  font-size: 1.5em;
  color: var(--primary-color);
  top: 4px;
}

/* header::after {
  content: "";
  position: absolute;
  width: 100%;
  bottom: -2px;
  height: 11px;
  left: 0;
  background-color: var(--bg-primary);
  border-top-left-radius: 10px;
} */

/* header.msgheader::after {
  background-color: var(--bg-secondary-light);
} */

header .btn {
  font-size: .8em;
  color: white;
  margin: 0 5px;
}

header .btn.act {
  font-size: .8em;
  color: var(--primary-color);
  background-color: white;
  border: 1px solid white !important;
}

.header2 {
  font-size: .9em;
  padding: 2px 10px;
  background-color: var(--bg-secondary-light);
}

a:hover {
  color: inherit;
  text-decoration: none;
  font-size: inherit
}

.modal-header {
  padding: 8px 10px !important;
}

.row {
  margin-right: 0;
  margin-left: 0;
}

.hint {
  color: var(--hint-color);
  /* font-family: yekan; */
}

.green {
  color: var(--green);
}

.blue {
  color: var(--blue);
}

.purple {
  color: var(--purple);
}

.gold {
  color: var(--gold);
}

.red {
  color: var(--red);
}

.yellow {
  color: var(--yellow);
}

.orange {
  color: var(--orange);
}

.pink {
  color: var(--pink);
}

.lime {
  color: var(--lime);
}

.primary-color {
  color: var(--primary-color);
}

body {
  background-color: var(--bg-primary);
  text-align: justify;
  font-weight: normal;
  line-height: normal;
  color: var(--font-color);
  font-family: iran;
}

.t-small {
  font-size: .9em
}

.t-smaller {
  font-size: .8em
}

.t-smallest {
  font-size: .7em
}

.t-big {
  font-size: 1.1em
}

.t-bigger {
  font-size: 1.2em
}

.t-biggest {
  font-size: 1.3em
}

.container-fluid {
  padding-right: 5px;
  padding-left: 5px;
}

.padd0 {
  padding-left: 0;
  padding-right: 0;
}

.padd2 {
  padding-left: 2px;
  padding-right: 2px;
}

.padd5 {
  padding-left: 5px;
  padding-right: 5px;
}

.padd10 {
  padding-left: 10px;
  padding-right: 10px;
}

.padd15 {
  padding-left: 15px;
  padding-right: 15px;
}

.padd20 {
  padding-left: 20px;
  padding-right: 20px;
}

.mbot5 {
  margin-bottom: 5px
}

.mbot10 {
  margin-bottom: 10px;
}

.mbot15 {
  margin-bottom: 15px
}

.mbot20 {
  margin-bottom: 20px
}

.mbot25 {
  margin-bottom: 25px
}

.mbot30 {
  margin-bottom: 30px
}

.relative {
  position: relative;
}


#vp {
  width: 100%;
  margin: auto;
  transition: .3s;
  max-width: 500px;
  overflow: hidden;
  height: calc(100% - 30px);
  -webkit-transition: .3s -webkit-filter linear;
  -moz-transition: .3s -moz-filter linear;
  -moz-transition: .3s filter linear;
  -ms-transition: .3s -ms-filter linear;
  -o-transition: .3s -o-filter linear;
  transition: .3s filter linear, .3s -webkit-filter linear;
}

#vp iframe {
  width: 100%;
  height: 100%;
  border: none;
}

nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  text-align: center;
  background-color: var(--bg-primary);
  z-index: 10;
  border-radius: 25px 25px 0 0;
  max-width: 500px;
  border: 1px solid var(--bg-secondary);
}

nav ul {
  width: 100%;
  display: flex;
  height: 100%;
  max-width: 500px;
  margin: auto;
  padding: 0;
}

nav ul li {
  display: grid;
  width: 20%;
  align-items: center;
  text-align: center;
  list-style-type: none;
  cursor: pointer;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  user-select: none;
  position: relative;
}

nav ul li i {
  font-size: 1.5em;
  color: var(--font-color);
  transition: .3s;
}

.navli .bdg {
  position: absolute;
  width: 18px;
  height: 18px;
  background-color: var(--danger);
  color: white;
  font-size: 10px;
  border-radius: 50%;
  padding-top: 2px;
  text-align: center;
  top: 6px;
  left: calc(50% - 22px);
  display: none;
}

.navli .bdg.act {
  display: initial;
}

.navli img {
  height: 45px;
  width: 45px;
  margin: auto;
  filter: grayscale(1);
  transition: 0.2s;
}

.navli.act img {
  filter: grayscale(0);
}

.modal-footer>:not(:last-child) {
  margin-left: 5px;
}

.modal-footer>:not(:first-child) {
  margin-left: unset;
}

nav ul li.act i {
  color: var(--primary-color);
  font-size: 1.7em;
}

.modal-content {
  font-family: yekan;
}

.form-control {
  /* border-radius: 0; */
  padding: 3px 10px 4px 10px !important;
  height: auto !important;
  font-weight: 200 !important;
  -webkit-appearance: unset !important;
  /* border: none; */
  transition: .3s;
  font-size: unset;
}

button:focus {
  outline: none
}

.topgap {
  height: 48px;
}

.form-control:focus {
  border-color: #888;
  outline: none;
  box-shadow: none;
}

::placeholder {
  color: var(--hint-color) !important;
}

.help-color {
  border: 2px solid;
  width: 14px;
  height: 14px;
  display: inline-block;
  border-radius: 50%;
  position: relative;
  top: 3px;
}

.notification {
  position: fixed;
  top: 80px;
  right: 20px;
  max-width: calc(100% - 40px);
  z-index: 10000
}

.notification>div {
  min-width: 200px;
  padding: 10px 25px 10px 12px;
  border-radius: 5px;
  position: relative;
  margin-bottom: 10px;
  display: none;
  -webkit-animation-duration: .4s;
  animation-duration: .4s;
  cursor: pointer;
}

.pointer {
  cursor: pointer;
}

.notification span {
  text-align: justify;
  line-height: 25px;
  display: block;
  text-indent: 10px;
  font-size: .9em;
  font-family: yekan;
}

.notification .danger {
  background-color: #ffcdd2;
  color: #d32f2f;
  border: 1px solid #ef9a9a
}

.notification .warning {
  background-color: #fff59d;
  color: #ee770e;
  border: 1px solid #fdd835
}

.notification .info {
  background-color: #81d4fa;
  color: #01579b;
  border: 1px solid #4fc3f7
}

.notification .success {
  background-color: #a5d6a7;
  color: #1b5e20;
  border: 1px solid #81c784
}

.notification i {
  position: absolute;
  right: 4px;
  top: 10px;
  font-size: 1.5em
}

.notification .icofont-close {
  left: 0px;
  top: 0px;
  font-size: 1em;
  right: unset;
}

.notification .notif {
  font-size: .9em;
  padding: 7px 38px 7px 16px;
  margin-bottom: 15px;
}

.notification .notif .pic {
  background-image: url(img/noimg0.jpg);
  width: 50px;
  min-width: initial;
  height: 50px;
  background-size: cover;
  background-position: center;
  padding: 0;
  margin: 0;
  position: absolute;
  border-radius: 50%;
  top: calc(50% - 25px);
  right: -12px;
}

.notif.warning .pic {
  border: 3px solid #fdd735;
}

.notif.success .pic {
  border: 3px solid #81c784;
}

.notif.danger .pic {
  border: 3px solid #ef9a9a;
}

.radius {
  border-radius: 30px
}

#splash {
  background-color: var(--primary-color);
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 130px;
}



.beforeicon::before {
  font-family: 'icofont';
  content: attr(icon);
  position: absolute;
  right: -10px;
  top: 0;
  color: var(--primary-color);
  font-size: 17px;
}

.beforeicon::after {
  content: attr(label);
  position: absolute;
  right: 11px;
  top: 0;
  color: var(--primary-color);
  font-size: 12px;
}

.aftericon::after {
  font-family: 'icofont' !important;
  content: attr(icon) !important;
  position: absolute !important;
  right: 0 !important;
  bottom: 2px !important;
  color: var(--primary-color) !important;
  font-size: 18px !important;
  -webkit-text-security: initial;
}

[contenteditable=true] {
  outline: none;
  border-bottom: 1px solid #356a5c;
  padding: 0 20px 0 10px;
  color: var(--font-color);
  word-wrap: break-word;
  margin-bottom: 8px;
  display: block;
  position: relative;
}

[contenteditable=true]:empty:before {
  content: attr(placeholder);
  color: var(--hint-color);
}

[contenteditable=true]:empty {
  content: attr(placeholder);
  -webkit-text-security: initial;
}

[contenteditable=true]::after {
  content: "\eded";
  font-family: 'icofont';
  position: absolute;
  right: -5px;
  bottom: 4px;
  color: var(--primary-color);
  font-size: 1em;
}

.editmode .hideedit {
  display: none !important;
}

.editmode .editcontent {
  display: inline-block !important;
}

.editmode .editcontent.d-block {
  display: block !important;
}

.editcontent,
.editcontent.d-block {
  display: none !important;
}

.gallery .icofont-check-circled {
  position: absolute;
  font-size: 3em;
  left: calc(50% - 24px);
  top: calc(50% - 27px);
  color: var(--hint-color);
  text-shadow: 0 0 2px #212121;
  cursor: pointer;
}

.gallery .icofont-ui-camera {
  position: absolute;
  font-size: 3em;
  left: calc(50% - 24px);
  top: calc(50% - 27px);
  color: var(--hint-color);
  cursor: pointer;
}

.gallery .icofont-ui-camera>i {
  position: absolute;
  color: var(--green);
  right: -13px;
  top: 2px;
  font-size: .4em
}

.gallery .icofont-check-circled.act {
  color: var(--green);
  text-shadow: 0 0 9px black;
}

.gallery .icofont-close {
  background-color: var(--red);
  color: white;
  padding: 5px;
  border-radius: 50%;
  position: absolute;
  top: -9px;
  right: -2px;
  cursor: pointer;
}

.profilepg header {
  background-color: var(--primary-color);
  position: relative;
  text-align: center;
  height: 180px;
  background-size: cover !important;
  background-position: center !important;
}

.profilepg header .overlay {
  background: linear-gradient(0deg, rgba(246, 42, 93, 1) 0%, rgba(246, 42, 93, .2) 100%);
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.optionmenu {
  position: absolute;
  width: max-content;
  left: 10px;
  top: 31px;
  background-color: var(--bg-primary);
  border: 1px solid var(--bg-secondary);
  font-size: 1.3em;
  display: none;
}

.optionmenu>div {
  padding: 5px 8px 4px 30px;
  border-bottom: 1px solid var(--bg-secondary);
  cursor: pointer;
}

.optionmenu>div:last-child {
  border-bottom: none;
}

.profilepg header img {
  width: 120px;
  position: absolute;
  border-radius: 50%;
  border: 7px solid var(--bg-primary);
  background-color: var(--bg-primary);
  bottom: -9px;
  left: calc(50% - 60px);
  z-index: 3;
}

.profilepg header .svg {
  width: 100%;
  height: 45px;
  background: var(--bg-secondary);
  background: linear-gradient(135deg, transparent 10px, #c00 0) top left, linear-gradient(225deg, transparent 10px, #c00 0) top right, linear-gradient(315deg, transparent 10px, #c00 0) bottom right, linear-gradient(45deg, transparent 10px, #c00 0) bottom left;
  background-image: radial-gradient(circle at 0 0, rgba(204, 0, 0, 0) 45px, var(--bg-secondary) 46px), radial-gradient(circle at 100% 0, rgba(204, 0, 0, 0) 45px, var(--bg-secondary) 46px);
  background-size: 50% 100%;
  background-repeat: no-repeat;
  position: absolute;
  z-index: 2;
  bottom: 0px;
}

.mybtn {
  background-color: var(--primary-color);
  color: white !important;
}

.mybtn:hover {
  color: white !important;
}

.password.act {
  -webkit-text-security: initial;
}

.password {
  -webkit-text-security: disc;
}

.biobg {
  background-image: url(../img/noimg.jpg);
  position: fixed;
  width: 100%;
  height: 45vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
}

.biobg canvas {
  width: 50px;
  height: 50px;

}

.biobg .shade {
  opacity: .3;
}

.biobg .pprgbox {
  position: absolute;
  right: 5px;
  top: 5px;
  text-align: center;
  color: var(--primary-color);
  z-index: 2;
}

.biobg .pprgbox2 {
  position: absolute;
  right: 5px;
  top: 80px;
  text-align: center;
  color: var(--primary-color);
  z-index: 2;
}

.biobg .relbox {
  position: absolute;
  left: 5px;
  top: 5px;
  text-align: center;
  z-index: 2;
}

.biobg .relbox .text {
  font-size: .7em;
}

.biobg .relbox i {
  font-size: 2.6em;
  display: block;
  margin: 3px 0;
}

.biobg .relbox i.ic2 {
  font-size: 1.1em;
  display: inline;
  position: absolute;
  top: 19px;
  left: calc(50% - 9px);
  color: #d8339b
}

.biobox {
  background-color: var(--bg-primary);
  margin-top: 42vh;
  border-radius: 3vh 3vh 0 0;
  min-height: 50vh;
  padding: 0 10px 20px;
  position: relative;
  z-index: 1;
}

.biobox .btnbox {
  text-align: center;
  direction: ltr;
}

.biobox .btnbox i {
  padding: 10px;
  font-size: 1.4em;
  background-color: var(--bg-secondary);
  border-radius: 50%;
  top: -20px;
  margin: 0 5px;
  position: relative;
  display: inline-block;
}

.biobox .btnbox i::after {
  content: attr(label);
  position: absolute;
  right: 0;
  left: 0;
  bottom: -16px;
  text-align: center;
  color: var(--hint-color);
  font-size: 11px;
  font-family: 'iran';
}

.biobox .btnbox i.deactive {
  color: #868686 !important;
}

.biobox .btnbox i>i {
  font-size: .5em;
  position: absolute;
  right: 3px;
  top: 14px;
  margin: unset;
  padding: unset;
  background-color: unset;
}

/* .biobox .btnbox i:nth-child(3) {
  font-size: 1.6em;
  color: var(--primary-color);;
} */

.biobox .name {
  border-bottom: 1px var(--bg-secondary) solid;
  padding: 5px 5px 10px;
}

.biobox .bio {
  border-bottom: 1px var(--bg-secondary) solid;
  padding: 5px 5px 10px;
}

.biobox .gallery>div {
  padding: 0 5px;
  margin-bottom: 15px;
}

.biobox .gallery .thumb {
  padding-top: 100%;
  border-radius: 2vw;
  background-repeat: no-repeat;
  background-size: cover;
  cursor: pointer;
  background-position: center;
  border: 1px solid var(--bg-secondary)
}

.msgrow {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--bg-secondary);
  padding: 3px 0;
  cursor: pointer;
  line-height: 18px;
}

.msgrow .hint {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.msgrow .align-self-center {
  overflow: hidden;
}

.msgrow .picbox {
  width: 18vw;
  height: 18vw;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--bg-secondary);
  margin: auto;
}

.msgrow .picbox .pic {
  width: 100%;
  height: 100%;
  background-size: cover;
  border: 2px solid var(--bg-primary);
  border-radius: 50%;
}

.msgrow .icofont-ui-press {
  color: var(--bg-secondary);
}

.msgrow.online .picbox {
  border: 3px solid var(--green);
}

.msgrow.online .icofont-ui-press {
  color: var(--green);
}

.msgrow .unread {
  background-color: var(--primary-color);
  color: white;
  padding: 3px 0;
  border-radius: 50%;
  width: 21px;
  height: 21px;
  display: block;
  text-align: center;
  font-size: 10px;
  font-family: iran;
}

.searchrow {
  background-color: var(--bg-primary);
  margin-bottom: 14px;
  padding: 3px 0;
}

#searchloader .col-4:nth-child(3n+2) .searchrow {
  position: relative;
  top: 60px
}

.searchrow .picbox {
  width: 26vw;
  height: 26vw;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
  margin: auto;
  position: relative;
}

.searchrow .picbox .pic {
  width: 100%;
  height: 100%;
  background-size: cover;
  border-radius: 50%;
}

.searchrow .picbox i {
  position: absolute;
  bottom: -11px;
  left: calc(50% - 10px);
  font-size: 1.2em;
  color: var(--bg-secondary);
  border-radius: 50%;
  padding: 2px;
  background-color: var(--bg-primary);
}

.searchrow.online .picbox i {
  color: var(--green);
}

.searchrow.resume .picbox::after {
  content: "\eed7";
  font-family: 'icofont';
  position: absolute;
  left: calc(14% - 11px);
  top: calc(14% - 11px);
  color: var(--green);
  font-size: 22px;
  background-color: white;
  border-radius: 50%;
  padding: 0px;
}

.searchrow .city {
  text-align: center;
  color: var(--hint-color);
  font-size: 0.7em;
  margin-top: -4px;
  font-family: yekan;
  line-height: 15px;
}

.searchrow .name {
  text-align: center;
  font-size: 0.8em;
  margin-top: 8px;
}

#loaderbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 11;
  background-color: var(--bg-primary);
  display: none;
}

#loader {
  width: 100%;
  max-width: 500px;
  margin: auto;
  height: 100%;
  overflow-y: scroll;
  background-color: var(--bg-primary);
  position: relative;
}

header.chatheader {
  border-top-left-radius: 0;
  background-color: var(--bg-primary);
  color: var(--font-color);
  padding: 4px 5px 12px;
  height: 48px;
}

.chatheader .editpanel {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  height: 100%;
  background-color: var(--primary-color);
  font-size: 1.6em;
  display: none;
  padding-top: 8px;
  color: white;
}

#chatinput.editmode {
  border-color: var(--pink) !important;
}

.chatheader .editpanel i {
  padding: 7px;
  cursor: pointer;
  margin-right: 3px;
}

.chatheader .editpanel i.icofont-ui-edit {
  margin-right: 14px;
  opacity: .3;
  transition: .3s;
  cursor: initial;
}

.chatheader .editpanel.edit i.icofont-ui-edit {
  opacity: 1;
  cursor: pointer;
}

header.chatheader::after {
  background-color: var(--bg-secondary);
}

header.chatheader img {
  width: 45px;
  border-radius: 50%;
}

header.chatheader .picbox {
  display: inline-block;
  border-radius: 50%;
  border: 3px solid var(--bg-secondary);
  padding: 2px;
  background-color: var(--bg-primary);
  margin-left: 10px;
  width: 40px;
  height: 40px;
}

header.chatheader .picbox .pic {
  width: 100%;
  height: 100%;
  background-size: cover;
  border-radius: 50%;
}

header.chatheader.online .picbox {
  border-color: var(--green);
}

header.chatheader .name {
  font-size: 1em;
  line-height: 17px;
}

header.chatheader .state {
  font-size: .8em;
  color: var(--hint-color);
}

header.chatheader.online .state {
  font-size: .6em;
  color: var(--green);
}

@media all and (max-width: 991px) {
  header .logo {
    left: 40px;
  }

  header .txtbox {
    padding: 130px 10px 45px 40px;
  }
}

#msgloader {
  background-color: var(--bg-secondary);
  padding: 65px 0px 100px;
  font-size: .8em;
  color: white;
  min-height: 100%;
}

#premsgbtn {
  position: fixed;
  left: 5px;
  bottom: 60px;
  font-size: 1.6em;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 10px 7px 6px 8px;
  border-radius: 50%;
  opacity: .5;
  transition: .3s;
  z-index: 2;
}

#premsgbtn.act {
  opacity: 1;
}

#premsgbtn:hover {
  opacity: 1;
}

#premsghelp {
  position: fixed;
  left: 34px;
  bottom: 67px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  font-size: 13px;
  padding: 2px 0 2px 0;
  z-index: 1;
  border-radius: 5px;
  z-index: 1;
  width: 0px;
  overflow: hidden;
  white-space: nowrap;
  transition: .3s;
}

#premsghelp.act {
  width: 120px;
  padding: 2px 8px 2px 20px;
}

#msgloader>div {
  margin-bottom: 10px;
  padding: 21px 5px 4px;
  transition: .3s;
  height: max-content;
  overflow: hidden;
}

#msgloader>div.delete {
  height: 0 !important;
  padding: 0;
  margin: 0;
}

#msgloader>div.selected {
  background-color: var(--bg-primary);
}

#msginputbox {
  padding: 6px;
  position: fixed;
  bottom: 0;
  background-color: var(--bg-primary);
  width: 100%;
  left: 0;
  z-index: 2;
}

#msginputbox .inputbox {
  width: calc(100% - 110px);
  position: relative;
}

#msginputbox .inputbox i {
  font-size: 1.8em;
  position: absolute;
  right: 5px;
  top: 6px;
}

#msginputbox .cam {
  margin-left: 6px;
  font-size: 2.5em;
}

#msginputbox .inputbox input {
  width: 100%;
  border: 1px solid var(--bg-secondary);
  border-radius: 20px;
  font-size: .8em;
  padding: 4px 45px 4px 10px;
  height: 40px;
  background-color: var(--bg-secondary-light);
  color: var(--font-color);
}

#msginputbox .sendbtn {
  font-size: 2.5em;
  margin-right: 6px;
}

#msgloader .send {
  position: relative;
  justify-content: space-between;
}

#msgloader .send .pic {
  border: 3px solid white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  position: absolute;
  right: 5px;
  top: 0;
  z-index: 1;
  background-size: cover;
}

#msgloader .text .chatpic {
  width: 100%;
  height: 133px;
  margin: 10px auto;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 3px solid white;
}

#msgloader .send .text {
  width: calc(100% - 100px);
  background-color: var(--primary-color);
  margin-right: 20px;
  padding: 16px;
  border-radius: 10px;
  position: relative;
}

.showmore span {
  background-color: var(--bg-primary);
  color: var(--hint-color);
  padding: 7px 10px;
  border-radius: 7px;
  font-size: .8em;
  cursor: pointer;
}

#msgloader .send .text::after {
  content: "\eed8";
  font-family: 'icofont';
  position: absolute;
  left: 9px;
  bottom: 4px;
  color: var(--bg-secondary);
  font-size: 1.1em;
}

#msgloader .send .text::before {
  content: "\eed8";
  font-family: 'icofont';
  position: absolute;
  left: 3px;
  bottom: 4px;
  color: var(--bg-secondary);
  text-shadow: 0 0 2px var(--primary-color), 0 0 2px var(--primary-color), 0 0 2px var(--primary-color);
  font-size: 1.1em;
  z-index: 1;
}

#msgloader .send.unread .text::after {
  content: "\eed8";
  font-family: 'icofont';
  position: absolute;
  left: 4px;
  bottom: 4px;
  color: var(--bg-secondary);
  font-size: 1.2em;
}

#msgloader .send.unread .text::before {
  content: "";
}

#msgloader .send.sending .text::after {
  content: "\eff6";
  font-family: 'icofont';
  position: absolute;
  left: 4px;
  bottom: 4px;
  color: var(--bg-secondary);
  -webkit-animation: spin 2s linear infinite;
  -moz-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

#msgloader .send.sending .text::before {
  content: "";
}

.msgrow .chk::after,
.msgrow .dblchk::after {
  content: "\eed8";
  font-family: 'icofont';
  position: absolute;
  left: 0px;
  top: 15px;
  color: var(--hint-color);
}

.msgrow .dblchk::before {
  content: "\eed8";
  font-family: 'icofont';
  position: absolute;
  left: 5px;
  top: 15px;
  color: var(--hint-color);
}

@-moz-keyframes spin {
  from {
    -moz-transform: rotate(0deg);
  }

  to {
    -moz-transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
  }
}

.spin {
  -webkit-animation: spin 2s linear infinite;
  -moz-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

#msgloader .send .time {
  align-self: center;
  color: var(--hint-color);
  font-size: .8em;
  margin-left: 5px;
  text-align: center;
}

#msgloader .get {
  position: relative;
  justify-content: space-between;
  direction: ltr;
}

#msgloader .get .pic {
  border: 3px solid white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  position: absolute;
  left: 5px;
  top: 0;
  background-size: cover;
}

#msgloader.online .get img {
  border: 3px solid var(--green);
}

#msgloader .get .text {
  width: calc(100% - 100px);
  background-color: #202036;
  margin-left: 20px;
  padding: 16px;
  border-radius: 10px;
  text-align: right;
}

#msgloader .get .time {
  align-self: center;
  color: var(--hint-color);
  font-size: .8em;
  margin-right: 5px;
  text-align: center;
}

.emojilist {
  position: absolute;
  border: 1px solid var(--bg-secondary);
  bottom: 43px;
  padding: 4px;
  border-radius: 5px;
  background-color: var(--bg-primary);
  width: 120%;
  left: -10%;
  font-size: 1.5em;
  height: 250px;
  overflow-y: scroll
}

.emojilist span {
  padding: 0 2px;
}

.goldenbox {
  width: max-content;
}

.goldenbox .goldenuser {
  height: 18vh;
  width: 15vh;
  background-size: cover;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 8px;
  position: relative;
  cursor: pointer;
  background-position: center;
}

.goldenbox .goldenuser .img {
  width: 11vh;
  height: 11vh;
  z-index: 2;
  position: absolute;
  left: 2vh;
  background-size: cover;
  top: 10%;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  background-position: center;
}

.shade {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: black;
  opacity: .5;
  z-index: 1;
  transition: .2s;
}

.goldenuser .name {
  position: absolute;
  z-index: 2;
  color: white;
  bottom: 2px;
  width: 100%;
  text-align: center;
  left: 0;
  font-size: .8em;
}

.cardbox {
  position: relative;
  height: calc(100vh - 170px);
}

.cardbox .card {
  border: none;
  height: 100%;
  width: 94%;
  margin: auto;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  position: absolute;
  left: 3%;
  box-shadow: 0 0 2px #79787869;
  top: 0;
  cursor: pointer;
  z-index: 1;
  opacity: 0;
  transform-origin: top;
  transition: .3s;
  transform: scale(0.85);
  -webkit-animation-duration: 0.6s;
  animation-duration: 0.6s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.cardbox .card .pprgbox {
  position: absolute;
  right: 5px;
  top: 5px;
  text-align: center;
  color: var(--primary-color);
  z-index: 2;
}

.cardbox .card .shade {
  border-radius: 10px;
  opacity: .4;
}

.cardbox .card .dtl {
  position: absolute;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
  width: 100%;
  z-index: 2;
  padding: 35px 10px 15px;
  left: 0;
  text-align: center;
  border-radius: 10px;
  color: white;
}

.cardbox .card .dtl .hint {
  line-height: 14px;
}

.cardbox .card .dtl i {
  font-size: 1.5em;
}

.cardbox .card .dtl .loc {
  font-size: .75em;
}

.card:nth-child(1) {
  background-image: url(img/p5.jpg);
  top: 20px;
  z-index: 4;
  opacity: 1;
  transform: scale(1);
}

.card:nth-child(1) .shade {
  opacity: .2;
}

.card:nth-child(2) {
  top: 10px;
  z-index: 3;
  opacity: 1;
  transform: scale(.95);
}

.card:nth-child(2) .shade {
  opacity: .4;
}

.card:nth-child(3) {
  top: 0;
  z-index: 2;
  transform: scale(.9);
  opacity: 1;
}

.card:nth-child(3) .shade {
  opacity: .6;
}

.card .like,
.card .unlike {
  position: absolute;
  z-index: 2;
  top: calc(50% - 48px);
  left: calc(50% - 48px);
  font-size: 6em;
  display: none;
}

.card.unlike>.unlike {
  display: initial;
}

.card.like>.like {
  display: initial;
}

.cardnav {
  margin-top: 45px;
  text-align: center;
  display: none;
}

.cardnav i {
  font-size: 1.4em;
  padding: 9px;
  background-color: var(--bg-secondary);
  border-radius: 50%;
  margin: 4px;
}

.settingsbody {
  background-color: var(--bg-secondary);
}

.settingsbody header::after {
  background-color: var(--bg-secondary);
}

.stbtn {
  text-align: center;
  background-color: var(--bg-primary);
  margin-bottom: 10px;
  border-radius: 5px;
  padding: 10px 5px;
  cursor: pointer;
  border: 1px solid var(--border-color);
}

.stbtn i {
  display: block;
  margin-bottom: 6px;
  font-size: 1.4em;
}

.stbtn span {
  font-size: .66em;
}

.stbtn .bdg {
  position: absolute;
  width: 18px;
  height: 18px;
  background-color: var(--danger);
  color: white;
  font-size: 10px;
  border-radius: 50%;
  padding-top: 2px;
  text-align: center;
  top: 6px;
  left: calc(40% - 22px);
  display: none;
}

.stbtn .bdg.act {
  display: initial
}

.settingsbody .dtl {
  background-color: var(--bg-primary);
  padding: 10px;
  text-align: center;
  font-size: .8em;
  border-radius: 5px;
}

.btngrp {
  display: inline-flex;
}

.btngrp>.btn {
  color: var(--font-color);
  background-color: var(--bg-secondary-light);
  border: 1px var(--bg-secondary) solid;
  padding: 4px 10px;
  font-size: .75em;
  display: inline-flex;
  border-radius: 0 !important;
}

.btngrp>.btn:first-child {
  border-radius: 0 5px 5px 0 !important;
}

.btngrp>.btn:last-child {
  border-radius: 5px 0 0 5px !important;
  border-right: none !important;
}

.btngrp>.btn:not(:first-child) {
  border-right: none !important;
}

.btngrp>.btn.act {
  background-color: var(--bg-primary);
}

.multibtn,
.multiselect {
  display: flex;
  flex-flow: wrap;
}

.multibtn>.btn,
.multiselect>.btn {
  color: var(--font-color);
  background-color: var(--bg-secondary-light);
  border: 1px var(--bg-secondary) solid;
  padding: 4px 10px 4px 2px;
  font-size: .75em;
  flex: auto;
  border-radius: 5px;
  border-radius: 5px;
  margin: 0 3px;
  cursor: pointer;
  position: relative;
  margin-bottom: 6px;
}

.multibtn>.btn.act,
.multiselect>.btn.act {
  border: 1px var(--primary-color) solid;
  color: var(--primary-color);
}

.multibtn>.btn i,
.multiselect>.btn i {
  position: absolute;
  right: 3px;
  top: calc(50% - 10px);
  font-size: 19px;
}

.multibtn>.btn .ic2,
.multiselect>.btn .ic2 {
  font-size: 15px;
  position: absolute;
  right: 5px;
  top: 4px;
}

.biobox .bio .label {
  font-size: .86em;
  /* color: var(--primary-color); */
  margin-bottom: 2px;
}

.loading {
  width: 80px;
  height: 80px;
  left: calc(50% - 40px);
  bottom: 70px;
  z-index: 10000;
  position: fixed;
  border-radius: 50%;
  padding: 12px;

}

.loading img {
  width: 100%;
}

.loading::before {
  content: '';
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url(../img/loading.png);
  -webkit-animation: spin 2s linear infinite;
  -moz-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
  position: absolute;
  background-size: cover;
}

[slider] {
  width: 100%;
  position: relative;
  height: 5px;
  margin: 10px 0;
}

[slider]>div {
  position: absolute;
  left: 13px;
  right: 15px;
  height: 5px;
}

[slider]>div>[inverse-left] {
  position: absolute;
  left: 0;
  height: 5px;
  border-radius: 10px;
  background-color: #CCC;
  margin: 0 7px;
  width: 100%;
}

[slider]>div>[inverse-right] {
  position: absolute;
  right: 0;
  height: 5px;
  border-radius: 10px;
  background-color: #CCC;
  margin: 0 7px;
  width: 100%;
}


[slider]>div>[range] {
  position: absolute;
  left: 0;
  height: 5px;
  border-radius: 14px;
  background-color: #356a5c;
}

[slider]>div>[thumb] {
  position: absolute;
  top: -7px;
  z-index: 2;
  height: 20px;
  width: 20px;
  margin-left: -11px;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  background-color: #FFF;
  border-radius: 50%;
  outline: none;
  font-size: 10px;
  text-align: center;
  padding-top: 3px;
  color: var(--primary-color);
}

[slider]>input[type=range] {
  position: absolute;
  pointer-events: none;
  -webkit-appearance: none;
  z-index: 3;
  height: 14px;
  top: -2px;
  width: 100%;
  opacity: 0;
}

div[slider]>input[type=range]:focus::-webkit-slider-runnable-track {
  background: transparent;
  border: transparent;
}

div[slider]>input[type=range]:focus {
  outline: none;
}

div[slider]>input[type=range]::-webkit-slider-thumb {
  pointer-events: all;
  width: 28px;
  height: 28px;
  border-radius: 0px;
  border: 0 none;
  background: red;
  -webkit-appearance: none;
}

div[slider]>input[type=range]::-ms-fill-lower {
  background: transparent;
  border: 0 none;
}

div[slider]>input[type=range]::-ms-fill-upper {
  background: transparent;
  border: 0 none;
}

div[slider]>input[type=range]::-ms-tooltip {
  display: none;
}

[slider]>div>[sign] {
  opacity: 0;
  position: absolute;
  margin-left: -11px;
  top: -39px;
  z-index: 3;
  background-color: #d02128;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 28px;
  -webkit-border-radius: 28px;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  text-align: center;
}

[slider]>div>[sign]:after {
  position: absolute;
  content: '';
  left: 0;
  border-radius: 16px;
  top: 19px;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top-width: 16px;
  border-top-style: solid;
  border-top-color: #d02128;
}

[slider]>div>[sign]>span {
  font-size: 12px;
  font-weight: 700;
  line-height: 28px;
}

[slider]:hover>div>[sign] {
  opacity: 1;
}

.regbox,
.loginbox,
.frgbox {
  -webkit-animation-duration: 0.6s !important;
  animation-duration: 0.6s !important;
}

.panel {
  background-color: var(--bg-secondary);
  border: 2px solid var(--primary-color);
  border-radius: 15px;
}

.panel-heading {
  background-color: var(--primary-color);
  text-align: center;
  padding: 3px;
  border-radius: 10px 10px 0 0;
  color: white;
}

.panel-body {
  padding: 10px;
}

.icofont-toggle-on {
  color: var(--primary-color);
}

.icofont-toggle-off {
  color: var(--hint-color);
}

.table {
  color: var(--font-color) !important;
}

.adminmsgbox {
  background-color: var(--bg-secondary);
  padding: 5px 8px 15px 8px;
  position: relative;
  border-radius: 5px;
}

.adminmsgbox .time {
  position: absolute;
  left: 5px;
  top: 5px;
}

.adminmsgbox .sender {
  color: var(--primary-color);
  position: relative;
  padding-right: 30px;
}

.adminmsgbox .sender i {
  position: absolute;
  right: 0;
  top: -2px;
}

.modal-footer {
  justify-content: flex-start !important;
  padding: 15px !important;
}

.modal-content {
  background-color: var(--bg-secondary) !important;
}

.modal-footer {
  border-top: 1px solid var(--bg-primary) !important;
}

.modal-body {
  font-size: .9em;
}

.modal-header {
  background-color: var(--primary-color);
  color: white;
  border-bottom: none;
}

.form-control {
  color: var(--font-color) !important
}

.helpbg {
  background-color: var(--helpbg);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: none;
}

#interestbox {
  position: absolute;
  left: 10px;
  top: 15px;
}

#interestbox .option {
  color: white;
  padding: 3px 8px 1px;
  margin-bottom: 8px;
  text-align: center;
  font-size: .75em;
  border-radius: 5px;
}

#splashvideo {
  position: relative;
  top: 0;
  left: 0;
  /* right: 0; */
  /* bottom: 0; */
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: .3s;
}

#pinpage {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--bg-primary);
  display: none;
}

.loginbox .logindigit {
  display: inline-block;
  width: 38px;
  height: 37px !important;
  text-align: center;
  font-size: 20px;
}

.wheelbox {
  width: 280px;
  height: 280px;
  margin: auto;
  position: relative;
}

.wheelbox .wheelmark {
  position: absolute;
  top: 83px;
  width: 73px;
  left: 104px;
}

.wheel {
  width: 280px;
  height: 280px;
  background-image: url(../img/wheel.png);
  background-size: 100%;
  margin: auto;
  transition: 3s;
  position: relative;
}

.wheel span {
  color: white;
}

.wheel .w1 {
  transform: rotate(-90deg);
  position: absolute;
  left: 118px;
  top: 40px;
}

.wheel .w2 {
  transform: rotate(-51deg);
  position: absolute;
  left: 172px;
  top: 56px;
}

.wheel .w3 {
  transform: rotate(-19deg);
  position: absolute;
  left: 205px;
  top: 99px;
}

.wheel .w4 {
  transform: rotate(18deg);
  position: absolute;
  left: 206px;
  top: 152px;
}

.wheel .w5 {
  transform: rotate(56deg);
  position: absolute;
  left: 173px;
  top: 198px;
}

.wheel .w6 {
  transform: rotate(89deg);
  position: absolute;
  left: 122px;
  top: 215px;
}

.wheel .w7 {
  transform: rotate(129deg);
  position: absolute;
  left: 70px;
  top: 203px;
}

.wheel .w8 {
  transform: rotate(162deg);
  position: absolute;
  left: 35px;
  top: 158px;
}

.wheel .w9 {
  transform: rotate(200deg);
  position: absolute;
  left: 30px;
  top: 103px;
}

.wheel .w10 {
  transform: rotate(238deg);
  position: absolute;
  left: 68px;
  top: 57px;
}

.wheelwintext {
  color: #f2f2f2;
  text-shadow: 0 0 4px #004431;
  font-size: 1.2em;
  top: 60px;
  position: absolute;
  left: 0;
  width: 100%;
}

@media all and (min-width: 501px) {
  nav {
    left: calc(50% - 250px);
  }

  .fixed-top {
    position: fixed;
    top: 0;
    right: unset;
    left: 0;
    z-index: 2;
    left: calc(50% - 250px);
    width: 100%;
    max-width: 500px
  }

  #msginputbox {
    left: calc(50% - 250px);
    max-width: 500px
  }

  #vp,
  #loader {
    box-shadow: 0 0 2px #e0e0e0
  }

  .biobg {
    left: calc(50% - 250px);
    width: 100%;
    max-width: 500px;
    right: unset;
  }
}