/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

:root {
  --body-bg: #40404f;
  --primary-color: #40404F;
  --primary-color-light: #548ad6;
  --panes-color: #fefffc;
  --content-color: #3c6297;
  --border-color: #A81D1D;
  --mic-color: #f3d7d7;
  --green: #5cb85c;
  --red: #ca3636;
  --blue: #2662eb;
}

@font-face {
  font-family: Al-Jazeera-Light;
  src: url(/fonts/Al-Jazeera-Arabic-Light.ttf?96ece0adb2d663734c1143a04e45aeee);
}

@font-face {
  font-family: Al-Jazeera-Regular;
  src: url(/fonts/Al-Jazeera-Arabic-Regular.ttf?e55b32cdf8eb35dea0fdbebca965d752);
}

.container {
  padding: 0;
}

.navbar-laravel {
  background-color: #fefffc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.alert {
  z-index: 1;
}

.clear {
  clear: both;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.corner {
  border-radius: 0.208rem;
}

.border {
  border: 1px solid black !important;
}

.radius {
  border-radius: 3px;
}

.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80%;
}

.btn {
  font-size: 0.625rem;
  padding: 0 0.4em;
  outline: none;
  font-weight: 700;
}

.btn:focus {
  outline: none;
  box-shadow: none;
}

.btn-default {
  color: #333333;
}

.label-primary,
.btn-primary {
  background: #3c6297;
  color: white;
}

.buttonload {
  font-size: 0.7rem;
}

.buttonload .fa {
  float: right;
  margin-top: 0.3em;
  display: none;
}

.buttonload:disabled .fa {
  display: block;
}

.badge {
  display: inline-block;
  min-width: 10px;
  padding: 0.1em 0.5em;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  background-color: #777;
  border-radius: 10px;
  margin-top: -0.9em;
  border: 1px solid black;
}

.jscolor {
  font-size: 0.6rem;
  width: 25%;
  outline: none;
  border: 1px solid #fff;
  border-radius: 5px;
  text-align: center;
  height: 20px;
  font-family: sans-serif !important;
}

.form-control {
  padding: 0.1em 0.4em;
  font-size: 0.6rem;
  height: auto;
}

.form-control:focus,
.form-control:active {
  box-shadow: none;
  border: 1px solid cornflowerblue;
}

.label {
  font-size: 0.65rem;
  padding: 0.2em 0.4em;
  margin-bottom: 0.2em;
  border-radius: 0;
}

.ReactModal__Overlay {
  z-index: 10000;
}

.yt-btn {
  background-color: #ddd;
  width: 65%;
  max-width: 200px;
  display: block;
  margin: 0 auto;
  cursor: pointer;
}

.brder-tl {
  border-top-left-radius: 1.3em !important;
}

.modal-backdrop {
  width: 1500vh;
  height: 1500vh;
}

.brder-tr {
  border-top-right-radius: 1.3em !important;
}

.brder-bl {
  border-bottom-left-radius: 1.3em !important;
}

.brder-br {
  border-bottom-right-radius: 1.3em !important;
}

#login {
  width: 100%;
  max-width: 390px;
  height: 100vh;
  margin: 0 auto;
  border: 1px solid black;
  border-radius: 0.2rem;
  background-color: #fefffc;
  position: relative;
}

#online_users {
  height: calc(100vh - 15.7rem);
  overflow: auto;
}

#online_users .chat_pane__user_item {
  border-left: none;
  /* to hide user state */
}

#login-header {
  border-top-left-radius: 0.13rem;
  border-top-right-radius: 0.13rem;
  margin: 0;
  position: relative;
}

.login-header__label {
  width: 100%;
  padding: 0rem;
  border-radius: 0;
  text-align: left;
}

.login-header__title {
  color: white;
  padding: 0 0.2rem;
  display: inline-block;
  font-size: 0.625rem;
}

.login-header__refresh {
  width: 1.2rem;
  height: 1.2rem;
  text-align: center;
  font-size: 0.6rem;
  line-height: 1.1rem;
  position: absolute;
  top: 0.1rem;
  right: 0.1rem;
  border-radius: 0.2rem;
}

.login-header__refresh:before {
  top: 0;
  position: absolute;
  left: 0.6em;
}

.login-banner__img {
  width: 100%;
  max-height: 4rem;
}

#login-btn-holder {
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
  padding: 0.01rem;
  text-align: center;
}

.login-btn-holder__btn {
  font-size: 0.583rem;
  padding: 0 1em;
  margin-right: 0.3em;
  border: 0.05em solid #aaa;
  border-radius: 1rem;
  width: auto;
  height: 1.125rem;
}

.react-tabs {
  margin-top: -0.16rem;
}

.react-tabs__tab-list {
  text-align: center;
  margin-bottom: 0;
  background-color: whitesmoke;
}

.react-tabs__tab {
  width: 30%;
  font-size: 0.625rem;
  text-align: center;
  background-color: whitesmoke;
  border-bottom: 1px solid #dee2e6;
}

.react-tabs__tab a,
.react-tabs__tab a.active {
  color: #337AB8;
  background-color: inherit !important;
  border: none !important;
  margin: 0;
  padding: 0.9em 0;
  font-size: 0.625rem;
  border-bottom-color: #dee2e6;
  border-bottom-style: solid;
  border-bottom-size: 2px;
}

.react-tabs__tab--selected {
  background: #fefffc;
  border: 1px solid #dee2e6;
  border-bottom-color: #00000000 !important;
  border-bottom-size: 0 !important;
}

.react-tabs__tab-panel {
  padding: 0.3rem;
  padding-bottom: 0;
}

.tabs-form-error {
  font-size: 0.6rem;
  padding: 0.1em 0.1em 0.2em 0.1em;
  text-align: center;
  margin: 0;
}

#tabs-content {
  padding: 0.4rem;
  padding-bottom: 0;
}

#guest-form__name {
  width: 50%;
  height: 24px;
  margin-bottom: 0.2rem;
  font-size: 0.625rem;
  padding: 0em 0.5em;
  text-align: left;
  color: #333333;
  margin-right: 0.1rem;
}

#guest-form__submit,
#login-form__submit,
#register-form__submit {
  margin-bottom: 0.1rem;
  font-size: 0.625rem;
  border: 1px solid #bbb;
  box-shadow: none;
  outline: none;
}

#login-form__submit {
  margin-right: 0.2rem;
}

#login-form__name,
#login-form__password,
#register-form__name,
#register-form__password {
  width: 50%;
  height: 24px;
  text-align: left;
  color: #333333;
  font-size: 0.625rem;
}

#login-form__name,
#register-form__name {
  display: block;
}

#login-form__password,
#register-form__password {
  margin-right: 0.15rem;
}

#login-form__hidden-label {
  font-size: 0.6rem;
  margin-left: 0.2rem;
}

#connection_container {
  display: inline-block;
  float: left;
}

#connection_container #connection-state-on,
#connection_container #connection-state-off {
  position: relative;
  font-size: 0.625rem;
  background-color: #e0392d;
  color: #fff;
  padding: 0.2em 0.4em;
  border-radius: 0 0.6em 0.6em 0;
  left: 0;
  z-index: 10;
}

#connection_container #connection-state-on {
  background-color: #5cb85c;
}

.users-count-label {
  position: relative;
}

.users-count-label p {
  font-size: 0.583rem;
}

.label-count {
  margin: 0;
  background: #3c6297;
  color: white !important;
  font-size: 0.7rem;
  text-align: center;
}

.label-count .fa {
  font-size: 0.7rem;
  padding: 0.1em 0.5em;
  background-color: #5cb85c;
  border-color: #4cae4c;
  margin-right: 0.2em;
}

.label-count .count {
  margin-left: 0.2rem;
}

#chat {
  background: #fefffc;
  border-bottom-right-radius: 15px;
  max-width: 100%;
  position: relative;
  padding-bottom: 1.6rem;
  height: 100vh;
}

#chat__body {
  position: relative;
  height: 100%;
  max-width: 100%;
}

.modal-header {
  position: relative;
  padding: 0.1rem;
  width: 100%;
}

.modal-header .close {
  font-size: 0.7rem;
  position: absolute;
  top: 0.2em;
  right: 0.2em;
  padding: 0.4em 0.4em;
  margin: 0;
  line-height: 0.7;
  background: white;
  color: black;
}

.modal-header .modal-title {
  width: 100%;
}

.modal-header .modal-title p {
  margin: 0;
}

.modal-body {
  padding: 0.2rem;
  width: 340px;
  max-width: 100%;
}

.popup {
  min-width: 180px;
  max-width: 260px;
  border: 1px solid black;
  z-index: 2000;
  background-color: #efefef;
  position: absolute;
  top: 30%;
  padding: 5px;
  border-radius: 5px;
}

.popup p {
  margin-bottom: 0.4em;
}

.popup__title {
  font-size: 0.6rem;
  text-align: center;
  margin: -14px auto 0 auto;
  width: 50%;
  border: 1px solid black;
  border-radius: 5px;
  line-height: 1.6;
}

.popup__sender {
  width: 100%;
}

.popup__sender__avatar {
  border-radius: 5px;
  margin-right: 0.1em;
}

.popup__sender__icon {
  margin: 5px 2px 0 0;
}

.popup__sender__name {
  margin: 0.2em 0;
  font-size: 0.6rem;
  font-weight: bold;
  padding: 0.15em 0 0 0;
  max-width: 80%;
  color: black;
}

.popup__message {
  font-size: 0.6rem;
  font-weight: bold;
  margin-top: 0.2em;
  width: 100%;
  padding: 0 0.2em;
  word-break: break-word;
}

.popup__message__body {
  padding-top: 0.2rem;
}

#chat__body__messages_container {
  height: calc(100vh - 3rem );
  overflow: auto;
  max-width: 100%;
  position: relative;
}

.public_message {
  position: relative;
  background: white;
  border: 1px solid lavender;
  margin: 0 0.05rem;
  padding: 0.1rem 0.05rem;
  margin-bottom: -1px;
}

.public_message.linen {
  background-color: linen;
}

.public_message.greeting {
  background-color: #FAF0E8;
  padding: 0.3em;
  color: black !important;
}

.public_message.public_message_ad {
  background-color: #d0e7ff;
}

.public_message__avatar {
  float: left;
  margin: 0;
  cursor: pointer;
}

.public_message__avatar img {
  border: 1px solid #dedbdb;
  padding: 1px;
}

.public_message__bot_brb_title {
  border-top: 1px solid #9E9E9E;
  border-bottom: 1px solid #9E9E9E;
  font-size: 0.7rem;
  margin: 0;
  display: inline-block;
  padding: 0 0.5rem;
  border-radius: 5px;
  margin-bottom: 0.2rem;
}

.public_message__ad_title {
  color: blue;
}

.public_message__ad_title .fa {
  margin: 0 0.2rem;
}

.public_message__title__icon {
  margin: 1px 2px 0 0;
}

.public_message__title,
.public_message__content {
  font-size: 0.625rem;
  font-weight: bold;
  padding: 0 0.2em 0 2.8em;
  direction: rtl;
  margin: 0;
  word-wrap: break-word;
}

.public_message__content {
  margin: 0.2em 0 0 0;
}

.public_message_ad .public_message__content {
  color: blue;
}

.public_message__time {
  font-size: 0.55rem;
  color: #888;
  position: absolute;
  top: 0.1em;
  right: 0.1em;
}

.public_message__remove {
  font-size: 0.4rem;
  position: absolute;
  bottom: 0.2em;
  right: 0.1em;
}

.public_message.video-room {
  max-width: 80%;
  border-radius: 25px;
  background: #FFFFFF00 !important;
  border: none;
  margin-bottom: 0.3rem;
}

.public_message.video-room .public_message__avatar img {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  opacity: 0.5;
  border: none !important;
}

.public_message.video-room .public_message__title {
  opacity: 0.5;
}

.public_message.video-room .public_message__content {
  color: #000000 !important;
  opacity: 0.7;
  overflow-wrap: anywhere;
}

.public_message.video-room .time {
  display: none;
}

#chat__body__messages_container__messages {
  position: absolute;
  top: 40%;
  height: 60%;
  overflow: scroll;
  z-index: 2;
  width: 100%;
}

#chat__body__message-input {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.4rem;
  text-align: center;
  background-color: #fefffc;
  padding-top: 0.15em;
}

#chat__body__message-input #main-footer-top-mic {
  display: none;
}

.chat__body__message-input__face {
  width: 22px;
  cursor: pointer;
  vertical-align: middle;
  margin: 0 0.1rem;
}

.chat__body__message-input__leave_room {
  font-size: 0.55rem;
}

.chat__body__message-input__input {
  width: calc(100% - 5rem);
  margin: 0 0.2rem 0 0.1rem;
  vertical-align: middle;
  padding: 0.1em 0.3em;
  vertical-align: bottom;
  border-radius: 5px;
  border: 1px solid #ccc;
  direction: rtl;
  text-align: left;
}

#chat__body__message-input.has-mic #main-footer-top-mic {
  display: inline;
}

#chat__body__message-input.has-mic .chat__body__message-input__input {
  width: calc(100% - 6.5rem);
}

.chat__body__message-input__input:focus {
  border: 1px solid black;
}

.chat__body__message-input__input:disabled {
  background-color: #ccc;
}

.chat__body__message-input__submit {
  vertical-align: middle;
  font-size: 0.6rem;
}

.chat_pane {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0.18rem;
  width: 85%;
  max-width: 290px;
  border: 1px solid black;
  border-radius: 10px 0 0 0;
  z-index: 1;
  display: none;
}

.chat_pane__container {
  height: calc(100% - 0.2rem);
  overflow: auto;
  margin: 0 !important;
}

#chat__body__ignored-users-pane {
  background: #fefffc;
  height: 100%;
}

#chat__body__ignored-users-pane .chat_pane__container {
  height: calc(100% - 1.4rem - 0.95rem);
}

.chat_pane__label {
  font-size: 0.55rem;
  font-weight: bold;
  text-align: center;
  line-height: 2;
  margin: 0;
  direction: rtl;
}

.chat__body__ignored-users-pane__back {
  margin-bottom: 0;
}

#chat__body__notifications-pane {
  background: #fefffc;
  height: 100%;
}

#chat__body__notifications-pane .chat_pane__container {
  height: calc(100% - 1.4rem - 0.95rem);
}

.chat_pane__label {
  font-size: 0.55rem;
  font-weight: bold;
  text-align: center;
  line-height: 2;
  margin: 0;
  direction: rtl;
}

.chat__body__notifications-pane__back {
  margin-bottom: 0;
}

.notification {
  min-width: 180px;
  max-width: 260px;
  border: 1px solid black;
  z-index: 2000;
  background-color: #efefef;
  position: relative;
  padding: 5px;
  margin: 0 auto;
  border-radius: 5px;
  margin-top: 0.7rem;
}

.notification p {
  margin-bottom: 0.4em;
}

.notification__title {
  font-size: 0.6rem;
  text-align: center;
  margin: -14px auto 0 auto;
  width: 50%;
  border: 1px solid black;
  border-radius: 5px;
  line-height: 1.6;
}

.notification__sender {
  width: 100%;
}

.notification__sender__avatar {
  border-radius: 5px;
  margin-right: 0.1em;
}

.notification__sender__icon {
  margin: 5px 2px 0 0;
}

.notification__sender__name {
  margin: 0.2em 0;
  font-size: 0.6rem;
  font-weight: bold;
  padding: 0.15em 0 0 0;
  max-width: 80%;
  color: black;
  display: inline-block;
}

.notification__message {
  font-size: 0.6rem;
  font-weight: bold;
  margin-top: 0.2em;
  width: 100%;
  padding: 0 0.2em;
  word-break: break-word;
}

.notification__message__body {
  padding-top: 0.2rem;
}

.notification__time {
  position: absolute;
  top: 0.2rem;
  right: 0.2rem;
  font-size: 0.5rem;
}

#chat__body__users-pane {
  background: #fefffc;
  z-index: 2;
  height: 100%;
}

#chat__body__users-pane .chat_pane__container {
  height: calc(100% - 1.4rem - 4.45rem);
}

.chat_pane__search {
  font-size: 0.6rem;
  font-weight: bold;
  padding: 0.1em 0.3em;
  direction: rtl;
  text-align: left;
  border: 1px solid #ccc;
  border-radius: 0;
}

.chat_pane__search:focus {
  border: 1px solid #3c6297;
  box-shadow: none;
}

.chat_pane__label {
  font-size: 0.55rem;
  font-weight: bold;
  text-align: center;
  line-height: 2;
  margin: 0;
  direction: rtl;
}

.chat_pane__user_item {
  position: relative;
  background: white;
  border: 1px solid lavender;
  margin: 0 0.05rem;
  padding: 0rem 0.05rem;
  cursor: pointer;
  margin-bottom: -1px;
}

.chat_pane__user_item:hover,
.chat_pane__user_item.active {
  background: #eaeafb;
}

.chat_pane__user_item.hidden {
  opacity: 0.4;
  background-color: #ddd;
}

.chat_pane__user_item__avatar {
  float: left;
  margin: 0;
  margin-top: 0.07rem;
}

.chat_pane__user_item__avatar img {
  border: 1px solid #dedbdb;
  padding: 0;
}

.chat_pane__user_item__avatar .status {
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.chat_pane__user_item__avatar .status.state_active {
  background-color: #58c827;
}

.chat_pane__user_item__avatar .status.state_no_private {
  background-color: red;
}

.chat_pane__user_item__avatar .status.state_idle {
  background-color: orange;
}

.chat_pane__user_item__avatar .status.state_out {
  background-color: #9c9999;
}

.chat_pane__user_item__avatar .status.state_out {
  background-color: #9c9999;
}

.chat_pane__user_item__flag {
  position: absolute;
  top: 0.05em;
  right: 0.05em;
}

.chat_pane__user_item__status__hash {
  position: absolute;
  right: 0.1rem;
  top: 1rem;
}

.chat_pane__user_item__name,
.chat_pane__user_item__status {
  font-size: 0.55rem;
  font-weight: bold;
  padding: 0 0.2em 0 2.9em;
  direction: rtl;
  margin: 0.1rem 0 0 0;
}

.chat_pane__user_item__status {
  font-size: 0.583rem;
  color: #888;
  width: 100%;
  margin-top: 0.15rem;
}

.chat_pane__user_item__mic_status {
  margin-bottom: 0;
}

.chat_pane__user_item__mic_status img {
  width: 20px;
  margin-left: 5px;
  display: none;
}

.chat_pane__user_item__mic_status.on-mic img.mic {
  display: inline;
}

.chat_pane__user_item__mic_status.on-mic img.hand {
  display: none;
}

.chat_pane__user_item__mic_status.on-hand img.hand {
  display: inline;
}

.chat_pane__user_item__mic_status.on-hand img.mic {
  display: none;
}

.chat_pane__user_item__mic_status.on-sound-off img.sound-off {
  display: inline;
}

.chat_pane__user_item__mic_status .mic-time {
  padding-left: 5px;
  float: right;
  margin-right: 5px;
  padding-top: 3px;
  font-size: 0.6rem;
}

.username__wrapper {
  padding: 0em 0.6em;
  border-radius: 0.125rem;
  font-size: 0.625rem;
}

.username__icon {
  margin: 1px 2px 0 0;
}

#user_profile {
  font-size: 0.7rem;
  height: auto;
}

.user_profile__scroll_area {
  height: auto;
  overflow: auto;
  max-height: 91vh;
}

.user_profile__header__avatar {
  float: left;
  border-radius: 0.2em;
  margin-right: 0.2em;
}

.user_profile__header__name {
  font-size: 0.6rem;
}

.user_profile__header__close {
  position: absolute;
  right: 0.05em;
  top: 0.05em;
}

.user_profile__body__avatar {
  height: 200px;
  display: block;
  margin: 0 auto;
}

.user_profile__body__ip {
  text-align: center;
  font-size: 0.6rem;
  padding: 0.1em 0.2em;
  margin: 0.2em auto;
  width: 8em;
  border-radius: 0.4em;
}

.user_profile__body__status {
  text-align: center;
  margin-bottom: 0.4rem;
}

.user_profile__body__country_name {
  font-size: 0.55rem;
  font-weight: bold;
}

.user_profile__body__room {
  float: right;
  font-size: 0.6rem;
}

.user_profile__footer {
  padding: 0.3em;
}

.user_profile__footer__actions {
  text-align: center;
  margin: 0 auto;
  width: 100%;
}

.user_profile__footer__actions__item {
  margin: 2px;
  width: 32%;
  display: inline-block;
}

.user_profile__footer__actions__item .btn {
  border: 1px solid lavender;
  border-radius: 0.4em;
  width: 100%;
  font-weight: bold;
  font-size: 0.6rem;
  padding: 0.2em 0;
  background: #fefffc;
}

.user_profile__footer__actions__item .btn.red {
  color: red;
}

.user_profile__footer__actions__item .btn.blue {
  color: blue;
}

.user_profile__footer__actions__item .btn.maroon {
  color: maroon;
}

.user_profile__footer__actions__item .btn.magenta {
  color: #d313ff;
}

.user_profile__footer__actions__item .btn.purple {
  color: purple;
}

.user_profile__footer__actions__item #user_profile__footer__actions__item--unignore,
.user_profile__footer__actions__item #user_profile__footer__actions__item--unmute {
  display: none;
}

.user_profile__footer__actions__item #user_profile__footer__actions__item--ignore,
.user_profile__footer__actions__item #user_profile__footer__actions__item--mute {
  display: inline;
}

.user_profile__footer__actions__item.ignored #user_profile__footer__actions__item--unignore {
  display: inline;
}

.user_profile__footer__actions__item.ignored #user_profile__footer__actions__item--ignore {
  display: none;
}

.user_profile__footer__actions__item.muted #user_profile__footer__actions__item--unmute {
  display: inline;
}

.user_profile__footer__actions__item.muted #user_profile__footer__actions__item--mute {
  display: none;
}

.user_profile__footer__actions__item.active button {
  background: #dc3545;
  color: white !important;
}

.user_profile__footer__actions__item_group {
  border: 1px solid black;
  margin-top: 5px;
  padding: 0.2em;
  font-size: 0.6rem;
}

.user_profile__footer__actions__item_group__label {
  margin: 0;
  padding: 0.6em;
  border-radius: 0.2em;
  width: 19%;
  font-size: 0.6rem;
}

.user_profile__footer__actions__item_group__input {
  vertical-align: middle;
  padding: 0.2em;
  width: 63%;
}

select.user_profile__footer__actions__item_group__input {
  height: 2em;
}

.user_profile__footer__actions__item_group__input:focus,
.user_profile__footer__actions__item_group__input:active {
  border: 1px solid black;
}

.user_profile__footer__actions__item_group__submit {
  padding: 0.1em 0.4em;
  border-radius: 0.2em;
  border: none;
  box-shadow: none;
  width: 18%;
}

.user_profile__footer__actions__item_group__submit:focus,
.user_profile__footer__actions__item_group__submit:active {
  border: none;
  box-shadow: none;
}

#wall_comments {
  font-size: 0.7rem;
  height: auto;
}

.wall_comments__scroll_area {
  height: auto;
  overflow: auto;
  max-height: 40vh;
  min-height: 30vh;
}

.wall_comments__header__avatar {
  float: left;
  border-radius: 0.2em;
  margin-right: 0.2em;
}

.wall_comments__header__name {
  font-size: 0.6rem;
}

.wall_comments__header__close {
  position: absolute;
  right: 0.05em;
  top: 0.05em;
}

.wall_comments__body__avatar {
  height: 200px;
  display: block;
  margin: 0 auto;
}

.wall_comments__body__ip {
  text-align: center;
  font-size: 0.6rem;
  padding: 0.1em 0.2em;
  margin: 0.2em auto;
  width: 8em;
  border-radius: 0.4em;
}

.wall_comments__body__status {
  text-align: center;
  margin-bottom: 0.4rem;
}

.wall_comments__body__country_name {
  font-size: 0.55rem;
  font-weight: bold;
}

.wall_comments__body__room {
  float: right;
  font-size: 0.6rem;
}

.wall_comments__body__room .chat_pane__room_item--inline {
  font-size: 0.7rem !important;
}

.wall_comments__footer {
  padding: 0.3em;
}

.wall_comments__footer__actions {
  text-align: center;
  margin: 0 auto;
  width: 100%;
}

.wall_comments__footer__actions__item {
  margin: 2px;
  width: 32%;
  display: inline-block;
}

.wall_comments__footer__actions__item .btn {
  border: 1px solid lavender;
  border-radius: 0.4em;
  width: 100%;
  font-weight: bold;
  font-size: 0.6rem;
  padding: 0.2em 0;
  background: #fefffc;
}

.wall_comments__footer__actions__item .btn.red {
  color: red;
}

.wall_comments__footer__actions__item .btn.blue {
  color: blue;
}

.wall_comments__footer__actions__item .btn.maroon {
  color: maroon;
}

.wall_comments__footer__actions__item .btn.magenta {
  color: #d313ff;
}

.wall_comments__footer__actions__item .btn.purple {
  color: purple;
}

.wall_comments__footer__actions__item .btn.green {
  color: #58c827;
}

.wall_comments__footer__actions__item.active button {
  background: #dc3545;
  color: white !important;
}

.wall_comments__footer__actions__item_group {
  border: 1px solid black;
  margin-top: 5px;
  padding: 0.2em;
  font-size: 0.6rem;
}

.wall_comments__footer__actions__item_group__label {
  margin: 0;
  padding: 0.6em;
  border-radius: 0.2em;
  width: 18%;
  font-size: 0.6rem;
}

.wall_comments__footer__actions__item_group__input {
  vertical-align: middle;
  padding: 0.2em;
  width: 64%;
}

select.wall_comments__footer__actions__item_group__input {
  height: 2em;
}

.wall_comments__footer__actions__item_group__input:focus,
.wall_comments__footer__actions__item_group__input:active {
  border: 1px solid black;
}

.wall_comments__footer__actions__item_group__submit {
  padding: 0.1em 0.4em;
  border-radius: 0.2em;
  border: none;
  box-shadow: none;
  width: 18%;
}

.wall_comments__footer__actions__item_group__submit:focus,
.wall_comments__footer__actions__item_group__submit:active {
  border: none;
  box-shadow: none;
}

.wall_comments__form {
  text-align: center;
  height: 28px;
  padding-top: 0.15em;
  padding-bottom: 1.4rem;
  position: relative;
}

.wall_comments__form__attach {
  margin-right: 0.2em;
  font-size: 0.55rem;
}

.wall_comments__form__face {
  margin-right: 0.2em;
  cursor: pointer;
}

.wall_comments__form__input {
  width: calc(100% - 4.5rem);
  margin-right: 0.2em;
  vertical-align: middle;
  height: 1.1rem;
  text-align: left;
}

.wall_comments__form__input:focus,
.wall_comments__form__input:active {
  border: 1px solid black;
}

.wall_comments__comment {
  position: relative;
  background: white;
  border: 1px solid lavender;
  margin: 0 0.05rem;
  padding: 0.1rem 0.05rem;
  margin-bottom: -1px;
}

.wall_comments__comment__avatar {
  float: left;
  margin: 0;
  cursor: pointer;
}

.wall_comments__comment__avatar img {
  border-radius: 50%;
  border-width: 1px !important;
  padding: 1px;
}

.wall_comments__comment__title,
.wall_comments__comment__content {
  font-size: 0.55rem;
  font-weight: bold;
  padding: 0 0.2em 0 2.8em;
  direction: rtl;
  margin: 0;
  max-width: 93%;
  word-wrap: break-word;
}

.wall_comments__comment__title .username__wrapper {
  font-size: 0.55rem;
  padding: 0;
}

.wall_comments__comment__content {
  color: black;
  margin: 0.2em 0 0.2em 0;
}

.wall_comments__comment__like,
.wall_comments__comment__remove {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0 2px;
  font-size: 60%;
  font-weight: bold;
}

.wall_comments__comment__remove {
  right: 1.1rem;
}

.wall_comments__comment__time {
  font-size: 0.45rem;
  color: black;
  position: absolute;
  top: 0.1em;
  right: 0.1em;
}

.reveal_names__header {
  margin-bottom: 0.2rem;
}

.reveal_names_body {
  height: 65vh;
  overflow: auto;
}

.reveal_names__item {
  background-color: #f0f8ff;
  padding: 2px;
  margin-bottom: 5px;
  border: 1px solid #000;
  word-break: break-word;
}

.reveal_names__item p {
  margin-bottom: 2px;
}

.reveal_names__item__key {
  background-color: #789;
  color: #fff;
  padding: 2px 5px;
  border-radius: 3px;
  width: 60px;
  text-align: center;
  display: inline-block;
  margin-right: 5px;
}

.reveal_names__item__value {
  word-break: break-all;
}

#chat__body__conversations_pane {
  background: #fefffc;
  height: 100%;
}

#chat__body__conversations_pane .chat_pane__container {
  height: calc(100% - 1.3rem);
}

.conversations_item {
  position: relative;
  background: white;
  border: 1px solid lavender;
  margin: 0 0.05rem;
  cursor: pointer;
}

.conversations_item.unread {
  background-color: linen;
}

.conversations_item.state_active {
  border-left: 3px solid #58c827;
}

.conversations_item.state_no_private {
  border-left: 3px solid red;
}

.conversations_item.state_idle {
  border-left: 3px solid orange;
}

.conversations_item.state_out {
  border-left: 3px solid #9c9999;
}

.conversations_item.state_out {
  border-left: 3px solid #9c9999;
}

.conversations_item__avatar {
  float: left;
  margin: 0;
}

.conversations_item__name,
.conversations_item__last_message {
  font-size: 0.55rem;
  font-weight: bold;
  padding: 0 0.2em 0 0.1em;
  direction: rtl;
  margin: 0;
}

.conversations_item__last_message {
  font-size: 0.55rem;
  color: #888;
}

.conversations_item__holder {
  padding: 0.1rem 0.05rem;
  width: 9.4rem;
  border: 1px solid black;
}

.conversations_item__remove {
  font-size: 0.55rem;
  font-weight: bold;
  border: 1px solid black;
  border-radius: 4px;
}

.room_modal {
  font-size: 0.7rem;
  height: auto;
}

.room_modal .modal-dialog {
  max-width: 342px;
}

.room_modal__header__name {
  font-size: 0.6rem;
  padding-left: 0.2rem;
}

.room_modal__header__close {
  position: absolute;
  right: 0.05em;
  top: 0.05em;
}

.room_modal__body input {
  width: 100%;
  height: 1.2rem;
  margin-bottom: 0.3rem;
}

.room_modal__body input[type=checkbox] {
  width: auto;
}

.room_modal__body label {
  font-size: 0.55rem;
  vertical-align: middle;
  margin-left: 0.3rem;
  font-weight: bold;
}

.room_modal__body .alert {
  font-size: 0.7rem;
  padding: 0.2rem;
  text-align: center;
  margin-bottom: 0.4rem;
}

.room_modal__footer {
  padding: 0.1rem;
}

#chat__body__rooms_pane {
  background: #fefffc;
  z-index: 3;
  height: 100%;
}

#chat__body__rooms_pane .chat_pane__container {
  height: calc(100% - 1.4rem - 0.95rem);
}

.chat_pane__room_item {
  position: relative;
  background: white;
  border: 1px solid lavender;
  margin: 0 0.05rem;
  padding: 0.2rem 0.05rem;
  cursor: pointer;
  margin-bottom: -1px;
}

.chat_pane__room_item .chat_pane__room_item__name img {
  display: none;
}

.chat_pane__room_item.locked .chat_pane__room_item__name .chat_pane__room_item--lock {
  display: inline;
}

.chat_pane__room_item.has-mic .chat_pane__room_item__name .chat_pane__room_item--mic {
  display: inline;
  position: absolute;
  right: 0;
  top: 1rem;
}

.chat_pane__room_item.has-video .chat_pane__room_item__name .chat_pane__room_item--video {
  display: inline;
  position: absolute;
  right: 0;
  top: 1rem;
}

.chat_pane__room_item.has-video .chat_pane__room_item__name .chat_pane__room_item--mic {
  display: none;
}

.chat_pane__room_item:hover,
.chat_pane__room_item.active {
  background: #eaeafb;
}

.chat_pane__room_item--inline {
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.625rem;
  padding: 0.166rem;
  max-width: 180px;
  min-width: 60px;
}

.chat_pane__room_item__flag {
  float: left;
  margin: 0;
}

.chat_pane__room_item__name,
.chat_pane__room_item__description {
  font-size: 0.6rem;
  font-weight: bold;
  padding: 0 0.2em 0 2.8em;
  direction: rtl;
  margin: 0;
}

.chat_pane__room_item__name {
  direction: ltr;
}

.chat_pane__room_item__description {
  color: #888;
}

.chat_pane__room_item__users {
  position: absolute;
  font-size: 0.6rem;
  font-weight: bold;
  padding: 0.2em;
  border-radius: 0.2em;
  top: 0.2em;
  right: 0.2em;
}

#chat__body__wall_pane {
  background: #fefffc;
  z-index: 3;
  height: 100%;
  border-bottom-width: 2px;
}

#chat__body__wall_pane .chat_pane__container {
  height: calc(100% - 1.4rem - 1.25rem);
  border-bottom-width: 2px !important;
}

.chat__body__wall_pane__form {
  text-align: center;
  height: 28px;
  padding-top: 0.05em;
  position: relative;
  margin-top: 0.1rem;
}

.chat__body__wall_pane__form__attach {
  margin-right: 0.2em;
  font-size: 0.55rem;
}

.chat__body__wall_pane__form__loading_percent {
  display: none;
  position: absolute;
  text-align: center;
  font-size: 0.5rem;
  top: 0.35rem;
  left: 0.5rem;
}

.chat__body__wall_pane__form__face {
  margin-right: 0.2em;
  cursor: pointer;
}

.chat__body__wall_pane__form__input {
  width: calc(100% - 5rem);
  margin-right: 0.2em;
  vertical-align: middle;
  text-align: left;
}

.chat__body__wall_pane__form__input:focus,
.chat__body__wall_pane__form__input:active {
  border: 1px solid black;
}

.chat__body__wall_pane__form__send {
  font-size: 0.55rem;
  font-weight: bold;
}

.chat_pane__container__banner {
  font-size: 0.6rem;
  font-weight: bold;
  background: linen;
  color: #a72a2a;
  text-align: center;
  padding: 0.6em 0.2em;
}

.chat_pane__container__banner p {
  margin: 0;
}

.wall_post {
  position: relative;
  font-size: 0.65rem;
  background: #fafafa;
  margin-bottom: 0.4em;
  border-bottom: 1px solid #ccc;
}

.wall_post__time {
  font-size: 0.55rem;
  color: #888;
  position: absolute;
  top: 0;
  right: 0.4em;
}

.wall_post__name {
  font-size: 0.55rem;
  font-weight: bold;
  padding: 0.5em 0.2em 0 3em;
  direction: rtl;
  margin: 0;
}

.wall_post__avatar {
  float: left;
  margin: 0 0 0.1em 0;
}

.wall_post__name {
  margin: 0;
}

.wall_post__body {
  font-size: 0.6rem;
  text-align: center;
  padding: 0.2em;
  margin: 0 0 0.2em 0;
  font-weight: bold;
  word-wrap: break-word;
}

.wall_post__body__comments,
.wall_post__body__like,
.wall_post__body__remove {
  bottom: 0;
  padding: 0 2px;
  font-size: 80%;
  font-weight: bold;
}

.wall_post__body__like {
  right: 0;
}

.wall_post__body__comments {
  right: 1.2rem;
}

.wall_post__body__remove {
  left: 0;
}

.wall_post__body--photo {
  padding: 0.1em;
  max-width: 100%;
  max-height: 100px;
  border: 1px solid #ccc;
  cursor: pointer;
}

.wall_post__body--sound {
  max-width: 100%;
  max-height: 100px;
}

.wall_post__body--video {
  max-width: 100%;
  max-height: 150px;
}

.wall_post__body--youtube {
  max-width: 100%;
  max-height: 100px;
}

.wall_post__footer {
  border-top: 1px solid #ccc;
  padding: 0.2em;
}

.wall_post__footer .btn {
  margin-right: 0.2em;
  font-size: 0.4rem;
  font-weight: bold;
  margin-bottom: 0.2em;
}

#chat__body__settings_pane {
  background: #fefffc;
  font-size: 0.7rem;
  z-index: 3;
  height: 100%;
  border-width: 2px;
}

.chat__body__settings_pane__container {
  padding: 0.2em;
  height: calc(100% - 1.4rem);
  overflow-y: auto;
  overflow-x: hidden;
}

.chat__body__settings_pane__container select {
  height: 25px !important;
}

.chat__body__settings_pane__container__rm_bg_color {
  padding: 0 0.2em;
}

.chat__body__settings_pane__container__submit {
  margin-top: -1.2rem;
}

.chat__body__settings_pane__container__button {
  cursor: pointer;
  text-align: center;
  margin-bottom: 1px;
  padding-top: 0.3em;
  border: 1px solid #000;
  margin-top: 3px;
  height: 32px;
  line-height: 25px;
  font-weight: bold;
  position: relative;
  margin-bottom: 0.2rem;
}

.chat__body__settings_pane__container__button .toggle_star,
.chat__body__settings_pane__container__button .toggle_private,
.chat__body__settings_pane__container__button .toggle_notifications {
  display: none;
}

.chat__body__settings_pane__container__button .toggle_star.toggle_star--active,
.chat__body__settings_pane__container__button .toggle_private.toggle_private--active,
.chat__body__settings_pane__container__button .toggle_notifications.toggle_notifications--active {
  display: inline;
}

.chat__body__settings_pane__container__button .fa {
  position: absolute;
  left: 0.4em;
  line-height: 25px;
  color: black;
  font-size: 0.7rem;
}

.chat__body__settings_pane__container__button .fa img {
  border-radius: 3px;
  margin-top: -0.2rem;
}

.chat__body__settings_pane__container__button.info {
  background: #d877ff;
  color: #fff;
}

.chat__body__settings_pane__container__button.warning {
  background: orange;
  color: #fff;
}

.chat__body__settings_pane__container__button.danger {
  background: #d9534f;
  color: #fff;
}

.chat__body__settings_pane__container__button.success {
  background: #28a745;
  color: #fff;
}

.chat__body__settings_pane__container__button:hover {
  background-color: #eee;
  color: black;
}

.chat__body__settings_pane__container__button.disabled {
  background-color: #ddd;
  cursor: no-drop;
}

#chat__body__settings_pane__container__button--change_avatar .avatar {
  display: inline;
}

#chat__body__settings_pane__container__button--change_avatar .loader {
  display: none;
}

#chat__body__settings_pane__container__button--change_avatar.disabled .avatar {
  display: none;
}

#chat__body__settings_pane__container__button--change_avatar.disabled .loader {
  display: inline;
}

.chat_pane__header {
  position: relative;
  background: #3c6297;
  height: 1.3rem;
  border-radius: 10px 0 0 0;
  margin-bottom: 0;
}

.chat_pane__header__title {
  font-size: 0.7rem;
  padding: 0.1em 0.5em;
  color: #fff !important;
}

.chat_pane__header__close {
  position: absolute;
  top: 2px;
  right: 2px;
}

#chat__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5rem;
  max-width: 100%;
  background-color: #e9e9e9;
}

#chat__footer__menu {
  max-width: 100%;
  list-style: none;
  margin: 0.1em 0 0 0;
  font-size: 0.6rem;
  padding: 0.15rem 0.05em;
}

.chat__footer__menu__item {
  border: 1px solid black;
  border-radius: 2px;
  margin: 1px;
  float: left;
  padding: 5px 6px;
  color: #fff;
  white-space: nowrap;
  vertical-align: baseline;
  max-width: 100%;
  cursor: pointer;
}

.chat__footer__menu__item .unread {
  background-color: #e9991f;
}

.chat__footer__menu__item .fa {
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  text-align: left;
}

.chat__footer__menu__item.unread {
  background-color: orange;
}

#chat__footer__menu__wall_item .count {
  display: none;
}

#chat__footer__menu__wall_item.unread .count {
  display: inline-block;
}

@media screen and (max-width: 420px) {
  #chat__footer__menu {
    font-size: 0.55rem;
  }
}

@media screen and (max-width: 350px) {
  #chat__footer__menu {
    font-size: 0.5rem;
  }
}

@media screen and (max-width: 320px) {
  #chat__footer__menu {
    font-size: 0.48rem;
  }
}

.gifts_picker {
  margin-bottom: 5px;
}

.gifts_picker__contianer {
  text-align: center;
  height: 145px;
  overflow: auto;
  margin-bottom: 5px;
}

.gifts_picker__contianer__img {
  height: 25px;
  margin: 2px;
  padding: 2px;
  border: 1px solid #ccc;
  border-radius: 2px;
  cursor: pointer;
}

.gifts_picker__contianer__img:hover {
  border: 1px solid black;
}

.gifts_picker__contianer__clear,
.gifts_picker__contianer__close {
  font-weight: bold;
  font-size: 0.6rem;
}

#chat_box {
  position: absolute;
  top: 0;
  left: 0px;
  width: 97%;
  max-width: 500px;
  height: 50%;
  min-height: 180px;
  max-height: 500px;
  border: 1px solid #000;
  border-radius: 0 3px 5px 5px;
  background-color: #4A5261;
  z-index: 2;
}

#chat_box #chat_box__header__compress,
#chat_box #chat_box__header__unmute {
  display: none;
}

#chat_box #chat_box__header__expand,
#chat_box #chat_box__header__mute {
  display: inline-block;
}

#chat_box.expanded {
  height: 78%;
}

#chat_box.expanded #chat_box__header__compress {
  display: inline-block;
}

#chat_box.expanded #chat_box__header__expand {
  display: none;
}

#chat_box.muted #chat_box__header__mute {
  display: none;
}

#chat_box.muted #chat_box__header__unmute {
  display: inline-block;
}

.chat_box__header {
  padding: 0.1em;
  height: 30px;
}

.chat_box__header .btn {
  font-size: 0.6rem;
}

.chat_box__header__avatar {
  border-radius: 0.2rem;
  margin-right: 0.1rem;
}

.chat_box__header__name {
  display: inline-block;
  margin: 0;
  font-size: 0.6rem;
  vertical-align: middle;
}

.chat_box__body {
  height: calc(100% - 62px);
  background: #fefffc;
  overflow: auto;
}

.chat_box__footer {
  height: 32px;
  background: #EDEDED;
  border-radius: 0 3px 5px 5px;
  text-align: center;
  border-top: 1px solid black;
}

.chat_box__footer button {
  margin-right: 0.2em;
  margin-top: 2px;
}

.chat_box__footer form #chat_box__footer__loader,
.chat_box__footer form #chat_box__footer__loading_percent {
  display: none;
}

.chat_box__footer form #chat_box__footer__share {
  display: inline-block;
}

.chat_box__footer form.loading #chat_box__footer__loader,
.chat_box__footer form.loading #chat_box__footer__loading_percent {
  display: inline;
}

.chat_box__footer form.loading #chat_box__footer__share {
  display: none;
}

#chat_box__footer__loading_percent {
  position: absolute;
  text-align: center;
  font-size: 0.5rem;
  top: 0.4rem;
  left: 0.35rem;
}

.chat_box__footer__smile {
  margin-right: 0.2em;
  margin-top: 2px;
}

.chat_box__footer__input {
  width: calc(100% - 150px);
  margin-right: 0.2em;
  vertical-align: middle;
  height: 24px;
  margin-top: 1px;
  text-align: left;
}

#chat_box__footer__stop_recording {
  display: none;
}

.private_message {
  position: relative;
  background: white;
  border: 1px solid lavender;
  margin: 0 0.05rem;
  padding: 0.1rem 0.05rem;
}

.private_message__avatar {
  float: left;
  margin: 0;
  cursor: pointer;
}

.private_message__title__icon {
  margin: 1px 2px 0 0;
}

.private_message__title,
.private_message__body {
  font-size: 0.6rem;
  font-weight: bold;
  padding: 0 0.2em 0 2.4em;
  direction: rtl;
  margin: 0;
  word-wrap: break-word;
}

.private_message__body {
  color: #888;
  margin: 0.2em 0 0 0;
}

.private_message__body__media {
  max-width: 80%;
  display: block;
  margin: 0.2rem auto 0.2rem auto;
}

.private_message__body__image {
  border: 1px solid #ccc;
  padding: 2px;
  border-radius: 5px;
  cursor: pointer;
  max-height: 150px;
}

.private_message__time {
  font-size: 0.55rem;
  color: #888;
  position: absolute;
  top: 0.1em;
  right: 0.1em;
}

.emoji_picker {
  position: absolute;
  max-width: 250px;
  max-height: 200px;
  overflow: auto;
  background: #fefffc;
  z-index: 4;
  padding: 2px;
  border: 1px solid #999;
  border-radius: 5px;
  text-align: center;
  bottom: 0;
  left: 0;
}

.emoji_picker.public_messages {
  left: 0.1rem;
  bottom: 1.5rem;
}

.emoji_picker.private_messages {
  left: 0.1rem;
  bottom: 1.6rem;
}

.emoji_picker.wall {
  left: 0.1rem;
  bottom: 1.4rem;
  height: 200px;
}

.emoji_picker.wall-comments {
  left: 0.1rem;
  bottom: 1.5rem;
  height: 200px;
}

.emoji_picker__item {
  padding: 2px;
  cursor: pointer;
}

.pswp__top-bar {
  z-index: 100000 !important;
}

.pswp__button--custom {
  color: #fff;
  background: none;
}

.pswp__button--remove {
  color: red;
}

.pswp__button--add {
  color: #58c827;
}

.lazy-loader {
  position: absolute;
  width: 100vw;
  height: 100vh;
  min-height: 100%;
  min-width: 100%;
  z-index: 100000;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.lazy-loader img {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -20px 0 0 -20px;
}

#floating_particles .floating_particles__item {
  z-index: 1000000;
  bottom: 0;
  right: 0;
  position: absolute;
  opacity: 0.6;
}

#tv_box {
  min-width: 280px;
  max-width: 280px;
  z-index: 2000;
  position: absolute;
  top: 20%;
  padding: 0;
  right: 0;
  border-radius: 5px;
  margin-right: 20px;
}

#tv_box header {
  margin-bottom: 0;
  padding: 0.2rem;
}

#tv_box__title {
  font-size: 0.6rem;
  line-height: 1.6;
}

#tv_box__close,
#tv_box__list {
  position: absolute;
  right: 0;
  top: 0px;
  font-size: 0.6rem;
}

#tv_box__list {
  right: 1.1rem;
}

#tv_box__body {
  width: 280px;
  height: 211px;
  background: url("/images/tv_bg.png");
}

#tv_box__body iframe {
  width: 100%;
  height: 161px;
  background-color: black;
  padding-left: 12px;
  padding-right: 13px;
  padding-top: 14px;
}

#radio-container img {
  display: none;
  width: 100%;
}

#radio-container img.active {
  display: inline;
}

#call-dialog {
  position: absolute;
  width: 270px;
  top: 50px;
  left: 50px;
  padding: 10px;
  border: 1px solid black;
  background-color: slategrey;
  display: none;
  z-index: 1000000;
}

#call-dialog p {
  margin: 0;
  padding: 2px;
}

#call-dialog button.btn i {
  margin-right: 5px;
}

#call-dialog .target-user-name {
  background-color: #fff;
  margin-bottom: 3px;
  border-radius: 3px;
}

#call-dialog .target-user-avatar {
  max-width: 90%;
  display: block;
  margin: 0 auto;
  border: 1px solid #aaa;
  padding: 2px;
  border-radius: 5px;
}

#call-dialog .call-status {
  text-align: center;
  color: orange;
  direction: rtl;
  padding: 3px 0;
}

#call-dialog .call-status.warning {
  color: orange;
}

#call-dialog .call-status.danger {
  color: #d9534f;
}

#call-dialog .call-status.success {
  color: #5cb85c;
}

#call-dialog__status_start_call {
  display: none;
}

#royal_login_container {
  position: absolute;
  left: 0;
  top: 10%;
}

#royal_login_container .royal_login_item {
  background-repeat: no-repeat;
  background-size: contain;
  width: 200px;
  max-height: 2.2rem;
  min-height: 2.2rem;
  left: -300px;
  position: relative;
}

#royal_login_container .royal_login_item .royal_login_item__img {
  width: 32px;
  height: 32px;
  position: relative;
  top: 10px;
  left: 5px;
  border-radius: 50%;
}

#royal_login_container .royal_login_item .royal_login_item__name {
  font-size: 0.7rem;
  color: white;
  left: 2.7rem;
  position: absolute;
  top: 0.75rem;
  width: 300px;
}

.bot_brb_modal {
  font-size: 0.7rem;
  height: auto;
}

.bot_brb_modal .modal-dialog {
  max-width: 342px;
}

.bot_brb_modal__header__name {
  font-size: 0.6rem;
  padding-left: 0.2rem;
}

.bot_brb_modal__header__close {
  position: absolute;
  right: 0.05em;
  top: 0.05em;
}

.bot_brb_modal__body input {
  width: 100%;
  height: 1.2rem;
  margin-bottom: 0.3rem;
}

.bot_brb_modal__body input[type=checkbox] {
  width: auto;
}

.bot_brb_modal__body label {
  font-size: 0.55rem;
  vertical-align: middle;
  margin-left: 0.3rem;
  font-weight: bold;
}

.bot_brb_modal__body .alert {
  font-size: 0.7rem;
  padding: 0.2rem;
  text-align: center;
  margin-bottom: 0.4rem;
}

.bot_brb_modal__footer {
  padding: 0.1rem;
}

.bot_brb_modal__body__form__buttons {
  text-align: center;
  margin: 0.5rem;
}

.bot_brb_modal__body__form__buttons button {
  margin-right: 0.3rem;
  margin-left: 0.3rem;
}

#mic-speakers {
  text-align: left;
  height: 2.5rem;
}

#mic-speakers .mic-speakers--item {
  position: relative;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: gainsboro;
  color: black;
  display: inline-block;
  font-size: 1.1rem;
  margin: 0 0.3rem;
  border: 3px solid #989594;
  cursor: pointer;
  vertical-align: middle;
  text-align: center;
}

#mic-speakers .mic-speakers--item .mic-speakers--item__name {
  font-size: 0.53rem;
  max-width: 2.4rem;
  display: block;
  position: absolute;
  bottom: -0.7rem;
  left: -0.45rem;
  z-index: 1;
  overflow: hidden;
  text-align: center;
  width: 2.4rem;
}

#mic-speakers .mic-speakers--item.disabled {
  cursor: no-drop;
  opacity: 0.5;
}

#mic-speakers .mic-speakers--item.ripple {
  -webkit-animation: ripple 0.7s linear infinite;
          animation: ripple 0.7s linear infinite;
}

#mic-speakers .mic-speakers--item.is_speaking {
  border: 3px solid #58c827;
}

#mic-speakers .mic-speakers--item.muted:after {
  position: absolute;
  left: 0;
  top: 50%;
  height: 2px;
  background: #000;
  content: "";
  width: 100%;
  display: block;
  transform: rotate(135deg);
}

#mic-speakers .mic-speakers--item .number {
  position: absolute;
  font-size: 0.6rem;
  bottom: 0;
  right: 0.65rem;
}

#mic-speakers .mic-speakers--item img {
  position: absolute;
  width: 39px;
  height: 39px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  display: none;
}

#mic-speakers .mic-speakers--item .fa-camera {
  font-size: 0.9rem;
}

#mic-speakers .mic-speakers--item__modal {
  position: absolute;
  border-radius: 5px;
  background-color: goldenrod;
  top: 1.8rem;
  width: 5rem;
  z-index: 2;
  left: -1.7rem;
  padding: 0.4rem;
  height: auto;
  display: none;
  text-align: center;
  box-shadow: 0 0 10px 0 #9E9E9E;
}

#mic-speakers .mic-speakers--item__modal .btn {
  display: inline-block;
  margin-bottom: 0.2rem;
  width: 100%;
  padding: 0.1rem;
}

#mic-speakers .mic-speakers--item__modal .btn:last-child {
  margin-bottom: 0;
}

#mic-speakers #mic-speakers--mute {
  background: white;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  padding: 0.2rem;
  display: inline-block;
  float: right;
  margin-right: 0.2rem;
  margin-top: 0.2rem;
  border: 1px solid;
  box-shadow: 0 0 5px 0 #5d5d5d;
  cursor: pointer;
  background-size: contain;
  background-image: url(/images/sound-on.png);
}

#mic-speakers #mic-speakers--mute.muted {
  background-image: url(/images/sound-off.png);
}

#mic-speakers .mic-speakers__play-dialog {
  position: absolute;
  top: 3rem;
  padding: 0.5rem;
  border-radius: 10px;
  background-color: white;
  color: black;
  z-index: 4;
  box-shadow: 0 0 10px 0 #9E9E9E;
}

#mic-speakers .mic-speakers__play-dialog .title {
  font-size: 0.9rem;
}

#mic-speakers .mic-speakers__play-dialog .buttons {
  margin-bottom: 0;
}

#mic-speakers .mic-speakers__play-dialog .buttons .btn {
  margin: 0 0.2rem;
  padding: 0.2rem 0.4rem;
}

#mic-speakers audio {
  display: none;
}

#chat__body__messages_container__videos {
  max-height: 90vh;
  background-color: #FFFFFF;
  height: 38vh;
}

#chat__body__messages_container__videos .mic-video {
  max-height: 52vh;
  width: 100%;
  background-color: #FFFFFF;
  max-width: 380px;
  display: block;
  height: 42vh;
  margin: 0 auto;
}

@-webkit-keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 200, 45, 0), 0 0 0 1px rgba(0, 200, 45, 0.3), 0 0 0 2px rgba(0, 200, 45, 0.3), 0 0 0 3px rgba(0, 200, 45, 0.3);
  }

  100% {
    box-shadow: 0 0 0 1px rgba(0, 200, 45, 0.3), 0 0 0 4px rgba(0, 200, 45, 0.3), 0 0 0 5px rgba(0, 200, 45, 0.3), 0 0 0 6px rgba(0, 200, 45, 0);
  }
}

@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 200, 45, 0), 0 0 0 1px rgba(0, 200, 45, 0.3), 0 0 0 2px rgba(0, 200, 45, 0.3), 0 0 0 3px rgba(0, 200, 45, 0.3);
  }

  100% {
    box-shadow: 0 0 0 1px rgba(0, 200, 45, 0.3), 0 0 0 4px rgba(0, 200, 45, 0.3), 0 0 0 5px rgba(0, 200, 45, 0.3), 0 0 0 6px rgba(0, 200, 45, 0);
  }
}

#chat__body__wall_creator_pane {
  background: #fefffc;
  z-index: 2;
  height: 100%;
  border-bottom-width: 2px;
}

#chat__body__wall_creator_pane .chat_pane__container {
  height: calc(100% - 1.2rem);
  border-bottom-width: 2px !important;
}

#chat__body__wall_creator_pane .chat_pane__container__podium {
  text-align: center;
}

#chat__body__wall_creator_pane .chat_pane__container__podium .chat_pane__container__podium-users {
  padding: 2rem 0;
  padding-bottom: 1.5rem;
}

#chat__body__wall_creator_pane .chat_pane__container__podium .chat_pane__container__podium-user {
  position: relative;
}

#chat__body__wall_creator_pane .chat_pane__container__podium .chat_pane__container__podium-user .grade,
#chat__body__wall_creator_pane .chat_pane__container__podium .chat_pane__container__podium-user .name {
  position: absolute;
  font-size: 0.6rem;
  max-width: 100px;
}

#chat__body__wall_creator_pane .chat_pane__container__podium .chat_pane__container__podium-user .avatar {
  border-radius: 50%;
}

#chat__body__wall_creator_pane .chat_pane__container__podium .chat_pane__container__podium-user:nth-child(1) .avatar {
  border-color: #c9cdd5;
  border-width: 5px;
  border-style: solid;
}

#chat__body__wall_creator_pane .chat_pane__container__podium .chat_pane__container__podium-user:nth-child(1) .grade {
  left: 0.64rem;
  bottom: -1.5rem;
}

#chat__body__wall_creator_pane .chat_pane__container__podium .chat_pane__container__podium-user:nth-child(1) .name {
  left: 0.2rem;
  bottom: -2.5rem;
  color: #c9cdd5;
}

#chat__body__wall_creator_pane .chat_pane__container__podium .chat_pane__container__podium-user:nth-child(2) .avatar {
  border-color: #fcc109;
  border-width: 5px;
  border-style: solid;
}

#chat__body__wall_creator_pane .chat_pane__container__podium .chat_pane__container__podium-user:nth-child(2) .grade {
  left: 0.64rem;
  bottom: -0.35rem;
}

#chat__body__wall_creator_pane .chat_pane__container__podium .chat_pane__container__podium-user:nth-child(2) .crown {
  position: absolute;
  left: 0.85rem;
  top: -1.15rem;
}

#chat__body__wall_creator_pane .chat_pane__container__podium .chat_pane__container__podium-user:nth-child(2) .name {
  left: 0.2rem;
  bottom: -1.5rem;
  color: #fcc109;
}

#chat__body__wall_creator_pane .chat_pane__container__podium .chat_pane__container__podium-user:nth-child(3) .avatar {
  border-color: #d38151;
  border-width: 5px;
  border-style: solid;
}

#chat__body__wall_creator_pane .chat_pane__container__podium .chat_pane__container__podium-user:nth-child(3) .grade {
  left: 0.64rem;
  bottom: -1.6rem;
}

#chat__body__wall_creator_pane .chat_pane__container__podium .chat_pane__container__podium-user:nth-child(3) .name {
  left: 0rem;
  bottom: -2.5rem;
  color: #d38151;
}

#chat__body__wall_creator_pane .chat_pane__container__podium .chat_pane__container__podium-user:nth-child(2) {
  margin-right: 0.5rem;
  margin-left: 0.5rem;
  vertical-align: top;
  margin-top: -1rem;
  display: inline-block;
}

#chat__body__wall_creator_pane .chat_pane__container__podium-grade {
  display: inline-block;
  width: 33.3333333333%;
  height: 90px;
  color: #FFFFFF;
  background-color: #47ad61;
  font-family: sans-serif;
  border-top-color: #7bcb68;
  border-top-width: 10px;
  border-top-style: solid;
}

#chat__body__wall_creator_pane .chat_pane__container__podium-grade .grade {
  font-size: 1.5rem;
  display: block;
  top: 0.6rem;
  position: relative;
}

#chat__body__wall_creator_pane .chat_pane__container__podium-grade .rank {
  font-size: 0.8rem;
  position: relative;
}

#chat__body__wall_creator_pane .chat_pane__container__podium-grade:nth-child(1) {
  height: 100px;
  vertical-align: bottom;
}

#chat__body__wall_creator_pane .chat_pane__container__podium-grade:nth-child(1) .rank {
  top: 1rem;
}

#chat__body__wall_creator_pane .chat_pane__container__podium-grade:nth-child(2) {
  background-color: #69bb56;
  height: 110px;
  vertical-align: bottom;
}

#chat__body__wall_creator_pane .chat_pane__container__podium-grade:nth-child(2) .rank {
  top: 1rem;
}

#chat__body__wall_creator_pane .chat_pane__container__podium-grade:nth-child(3) .rank {
  top: 0.65rem;
}

#chat__body__wall_creator_pane .chat_pane__container__posts .chat_pane__container__post {
  padding: 0.2rem 0;
  position: relative;
  background-color: #FFFFFF;
}

#chat__body__wall_creator_pane .chat_pane__container__posts .chat_pane__container__post .grade {
  display: inline-block;
  width: 30px;
  text-align: center;
  font-size: 0.8rem;
  color: #747a74;
}

#chat__body__wall_creator_pane .chat_pane__container__posts .chat_pane__container__post .avatar {
  border-radius: 50%;
}

#chat__body__wall_creator_pane .chat_pane__container__posts .chat_pane__container__post .name {
  margin-left: 0.5rem;
  text-align: left;
  font-size: 0.7rem;
  top: -0.1rem;
  position: relative;
}

#chat__body__wall_creator_pane .chat_pane__container__posts .chat_pane__container__post .rank {
  position: absolute;
  right: 0.5rem;
  top: 0.6rem;
  font-size: 0.8rem;
  color: #747a74;
}

.dice {
  position: relative;
  width: 100px;
  height: 100px;
  transform-style: preserve-3d;
  transition: transform 1s;
}

.dot {
  position: absolute;
  width: 20px;
  height: 20px;
  margin: -10px 5px 5px -10px;
  border-radius: 20px;
  background-color: #ef233c;
  box-shadow: inset 2px 2px #d90429;
}

.dice-one {
  left: 450px;
}

.dice-two {
  left: 300px;
  top: -200px;
}

.side {
  position: absolute;
  background-color: #ffF;
  border-radius: 5px;
  width: 100px;
  height: 100px;
  border: 1px solid #e5e5e5;
  text-align: center;
  line-height: 2em;
}

.side:nth-child(1) {
  transform: translateZ(3.1em);
}

.side:nth-child(6) {
  transform: rotateY(90deg) translateZ(3.1em);
}

.side:nth-child(3) {
  transform: rotateY(-90deg) translateZ(3.1em);
}

.side:nth-child(4) {
  transform: rotateX(90deg) translateZ(3.1em);
}

.side:nth-child(5) {
  transform: rotateX(-90deg) translateZ(3.1em);
}

.side:nth-child(2) {
  transform: rotateY(-180deg) translateZ(3.1em);
}

.two-1,
.three-1,
.four-1,
.five-1,
.six-1 {
  top: 20%;
  left: 20%;
}

.four-3,
.five-3,
.six-4 {
  top: 20%;
  left: 80%;
}

.one-1,
.three-2,
.five-5 {
  top: 50%;
  left: 50%;
}

.four-2,
.five-2,
.six-3 {
  top: 80%;
  left: 20%;
}

.two-2,
.three-3,
.four-4,
.five-4,
.six-6 {
  top: 80%;
  left: 80%;
}

.six-2 {
  top: 50%;
  left: 20%;
}

.six-5 {
  top: 50%;
  left: 80%;
}

.show-1 {
  transform: rotateX(720deg) rotateZ(-720deg);
}

.show-6 {
  transform: rotateX(-900deg) rotateZ(1080deg);
}

.show-3 {
  transform: rotateY(-450deg) rotateZ(-1440deg);
}

.show-4 {
  transform: rotateY(810deg) rotateZ(720deg);
}

.show-5 {
  transform: rotateX(-810deg) rotateZ(-1080deg);
}

.show-2 {
  transform: rotateX(450deg) rotateZ(-720deg);
}

.pre_youcam_ludo_modal {
  font-size: 0.7rem;
  height: auto;
}

.pre_youcam_ludo_modal .modal-dialog {
  max-width: 342px;
}

.pre_youcam_ludo_modal__header__name {
  font-size: 0.6rem;
  padding-left: 0.2rem;
  text-align: center;
}

.pre_youcam_ludo_modal__header__close {
  position: absolute;
  right: 0.05em;
  top: 0.05em;
}

.pre_youcam_ludo_modal__body {
  background: url(/images/youcam_ludo_pre_bg.webp);
  background-size: contain;
}

.pre_youcam_ludo_modal__body input {
  width: 100%;
  height: 1.2rem;
  margin-bottom: 0.3rem;
}

.pre_youcam_ludo_modal__body input[type=checkbox] {
  width: auto;
}

.pre_youcam_ludo_modal__body label {
  font-size: 0.55rem;
  vertical-align: middle;
  margin-left: 0.3rem;
  font-weight: bold;
}

.pre_youcam_ludo_modal__body .alert {
  font-size: 0.7rem;
  padding: 0.2rem;
  text-align: center;
  margin-bottom: 0.4rem;
}

.pre_youcam_ludo_modal__footer {
  padding: 0.1rem;
}

.pre_youcam_ludo_modal__body__form__buttons {
  text-align: center;
  margin: 0.5rem;
}

.pre_youcam_ludo_modal__body__form__buttons button {
  margin-right: 0.3rem;
  margin-left: 0.3rem;
}

.pre_youcam_ludo_modal__body__form--select {
  vertical-align: middle;
  padding: 0.2em;
  width: 63%;
  height: 2em;
  margin-left: 5px;
  margin-bottom: 5px;
  margin-right: 5px;
  width: 75%;
}

.pre_youcam_ludo_modal__body__form--select:focus,
.pre_youcam_ludo_modal__body__form--select:active {
  border: 1px solid black;
}

.pre_youcam_ludo_modal__body__form--player-icon {
  vertical-align: top;
}

#pre_youcam_ludo_modal__body__form--request-red__loader,
#pre_youcam_ludo_modal__body__form--request-green__loader,
#pre_youcam_ludo_modal__body__form--request-yellow__loader,
#pre_youcam_ludo_modal__body__form--request-blue__loader {
  display: none;
}

/*
******************************************************************************************************************************************************
*/

.red {
  color: #ec3a28;
}

.green {
  color: #0ebd46;
}

.yellow {
  color: #f7c00b;
}

.blue {
  color: #198afa;
}

main {
  height: 103vh;
  width: 100vw;
  justify-content: center;
  align-items: center;
  gap: 20px;
  top: 0;
  padding-top: 10vh;
  position: absolute;
  background: #32184c;
  background: linear-gradient(66deg, #32184c 0%, #3c1e5b 10%, #32184c 20%, #3c1e5b 30%, #32184c 40%, #3c1e5b 50%, #32184c 60%, #3c1e5b 70%, #32184c 80%, #3c1e5b 90%, #32184c 100%);
}

.ludo-board {
  position: relative;
  background: #9f5939;
  box-shadow: 0px 5px 5px 4px #5e2a13;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 10px solid #9f5939;
  border-radius: 10px;
  width: 80vh;
  height: 80vh;
  box-shadow: 0px 0px 5px 0px black;
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  grid-template-rows: repeat(15, 1fr);
  margin: 0 auto;
}

.red-home {
  border: 7px solid rgba(0, 0, 0, 0.3);
  grid-column: 1/7;
  grid-row: 1/7;
}

.green-home {
  border: 7px solid rgba(0, 0, 0, 0.3);
  grid-column: 10/16;
  grid-row: 1/7;
}

.blue-home {
  border: 7px solid rgba(0, 0, 0, 0.3);
  grid-column: 1/7;
  grid-row: 10/16;
}

.yellow-home {
  border: 7px solid rgba(0, 0, 0, 0.3);
  grid-column: 10/16;
  grid-row: 10/16;
}

.winner-home {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #000000;
  border-radius: 16px;
  backdrop-filter: blur(8.2px);
  -webkit-backdrop-filter: blur(8.2px);
  display: grid;
  grid-column: 7/10;
  grid-row: 7/10;
  padding: 15px;
  grid-template-columns: 1fr 1fr;
}

.step {
  border: 1px solid #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #FFFFFF;
}

.step .player {
  position: absolute;
}

.step .player:nth-child(1) {
  margin-top: 0px;
  margin-left: 0px;
}

.step .player:nth-child(2) {
  margin-top: 3px;
  margin-left: 3px;
}

.step .player:nth-child(3) {
  margin-top: 6px;
  margin-left: 6px;
}

.step .player:nth-child(4) {
  margin-top: 6px;
  margin-left: 6px;
}

.step .player:nth-child(5) {
  margin-top: 9px;
  margin-left: 9px;
}

.step .player:nth-child(6) {
  margin-top: 12px;
  margin-left: 12px;
}

.step .player:nth-child(7) {
  margin-top: 15px;
  margin-left: 15px;
}

.bg-red {
  background-color: #ec3a28;
}

.red-stop {
  background-image: linear-gradient(159deg, #ec3a28 25%, #e6e6e6 25%, #e6e6e6 50%, #ec3a28 50%, #ec3a28 75%, #e6e6e6 75%, #e6e6e6 100%);
  background-size: 27.9px 10.71px;
}

.green-stop {
  background-image: linear-gradient(159deg, #0ebd46 25%, #e6e6e6 25%, #e6e6e6 50%, #0ebd46 50%, #0ebd46 75%, #e6e6e6 75%, #e6e6e6 100%);
  background-size: 27.9px 10.71px;
}

.blue-stop {
  background-image: linear-gradient(159deg, #198afa 25%, #e6e6e6 25%, #e6e6e6 50%, #198afa 50%, #198afa 75%, #e6e6e6 75%, #e6e6e6 100%);
  background-size: 27.9px 10.71px;
}

.yellow-stop {
  background-image: linear-gradient(159deg, #f7c00b 25%, #e6e6e6 25%, #e6e6e6 50%, #f7c00b 50%, #f7c00b 75%, #e6e6e6 75%, #e6e6e6 100%);
  background-size: 27.9px 10.71px;
}

.bg-green {
  background-color: #0ebd46;
}

.bg-blue {
  background-color: #198afa;
}

.bg-yellow {
  background-color: #f7c00b;
}

.white-box {
  width: 75%;
  height: 75%;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.player-room {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.super-center {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.super-center.active {
  -webkit-animation: decOpacity 0.7s linear infinite;
          animation: decOpacity 0.7s linear infinite;
}

.super-center.active.red-home .white-box {
  border-color: #a50500;
}

.super-center.active.green-home .white-box {
  border-color: #5b9906;
}

.super-center.active.yellow-home .white-box {
  border-color: #bb9625;
}

.super-center.active.blue-home .white-box {
  border-color: #065b8b;
}

.super-center.red-home {
  border-top-left-radius: 13px;
}

.super-center.red-home .white-box {
  background-color: #b53224;
}

.super-center.green-home {
  border-top-right-radius: 13px;
}

.super-center.green-home .white-box {
  background-color: #1c883b;
}

.super-center.yellow-home {
  border-bottom-right-radius: 13px;
}

.super-center.yellow-home .white-box {
  background-color: #c39616;
}

.super-center.blue-home {
  border-bottom-left-radius: 13px;
}

.super-center.blue-home .white-box {
  background-color: #1c6abb;
}

.player {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 1.5rem;
  width: 1.5rem;
  border-radius: 50%;
  border: 3px solid white;
  z-index: 1;
}

.player:hover {
  transform: scale(1.2);
  opacity: 0.7;
  cursor: pointer;
}

.player.bg-red {
  box-shadow: 0 0 0 3px #ec3a28;
}

.player.bg-red[data-status=win] {
  z-index: 1;
  left: -3rem;
  top: -0.75rem;
}

.player.bg-green {
  box-shadow: 0 0 0 3px #47ca6d;
}

.player.bg-green[data-status=win] {
  z-index: 1;
  left: -1rem;
  top: -3rem;
}

.player.bg-yellow {
  box-shadow: 0 0 0 3px #F8C30B;
}

.player.bg-yellow[data-status=win] {
  z-index: 1;
  left: 1rem;
  top: -0.85rem;
}

.player.bg-blue {
  box-shadow: 0 0 0 3px #0193DF;
}

.player.bg-blue[data-status=win] {
  z-index: 1;
  left: -1rem;
  top: 1rem;
}

.f {
  display: flex;
  align-items: center;
}

.movered1,
.movegreen1,
.moveblue1,
.moveyellow1 {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.movered2,
.movegreen2,
.moveblue2,
.moveyellow2 {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.movered3,
.movegreen3,
.moveblue3,
.moveyellow3 {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.movered4,
.movegreen4,
.moveblue4,
.moveyellow4 {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.stack .player {
  position: absolute;
}

.stack .player:nth-child(1) {
  margin-top: 4px;
  margin-left: 4px;
}

.stack .player:nth-child(2) {
  margin-top: 8px;
  margin-left: 8px;
}

.stack .player:nth-child(3) {
  margin-top: 12px;
  margin-left: 12px;
}

.stack .player:nth-child(4) {
  margin-top: 16px;
  margin-left: 16px;
}

#red-dice,
#green-dice,
#yellow-dice,
#blue-dice {
  width: 1.5rem;
  height: 1.5rem;
  display: none;
  background-color: transparent;
  border: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  outline: none;
  z-index: 1;
}

#red-dice {
  left: -0.6rem;
  top: -2.8rem;
}

#green-dice {
  right: -0.5rem;
  top: -2.8rem;
}

#yellow-dice {
  right: -0.5rem;
  bottom: -2.8rem;
}

#blue-dice {
  left: -0.6rem;
  bottom: -2.8rem;
}

.dice {
  width: 100px;
  height: 100px;
}

.d0 {
  background-image: url("/images/dice1.png");
}

.d1 {
  background-image: url("/images/dice1.png");
}

.d2 {
  background-image: url("/images/dice2.png");
}

.d3 {
  background-image: url("/images/dice3.png");
}

.d4 {
  background-image: url("/images/dice4.png");
}

.d5 {
  background-image: url("/images/dice5.png");
}

.d6 {
  background-image: url("/images/dice6.png");
}

.rwh {
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  border-top: 82px solid transparent;
  border-bottom: 82px solid transparent;
  border-left: 82px solid #ec3a28;
}

.gwh {
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  border-left: 82px solid transparent;
  border-right: 82px solid transparent;
  border-top: 82px solid #0ebd46;
}

.ywh {
  position: absolute;
  right: 0;
  width: 0;
  height: 0;
  border-top: 82px solid transparent;
  border-bottom: 82px solid transparent;
  border-right: 82px solid #f7c00b;
}

.bwh {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 82px solid transparent;
  border-right: 82px solid transparent;
  border-bottom: 82px solid #198afa;
}

#ludo-board__top_buttons {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
  font-size: 0.8rem;
  color: #FFFFFF;
  font-size: 0.8rem;
  direction: rtl;
}

#ludo-board__top_buttons button {
  margin: 3px;
}

#show_ludo {
  position: absolute;
  right: 0.2rem;
  bottom: 4rem;
  z-index: 2;
}

#show_ludo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #FFFFFF;
  box-shadow: 0 0 5px 2px #afafaf;
}

#show_ludo.active img {
  -webkit-animation: lightingBorder 0.7s linear infinite;
          animation: lightingBorder 0.7s linear infinite;
}

.ludo_user {
  bottom: 0;
  position: absolute;
  text-align: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.ludo_user .ludo_user--avatar {
  width: 13%;
  height: 13%;
  max-width: 30px;
  max-height: 30px;
  border-radius: 50%;
}

.ludo_user .username__wrapper {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 85%;
  display: inline-block;
  vertical-align: middle;
}

.ludo_user.red,
.ludo_user.green {
  top: 0;
}

@media screen and (max-width: 900px) {
  main {
    height: 103vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    top: 0;
    padding-top: 0;
  }

  .ludo-board {
    position: relative;
    background: #9f5939;
    box-shadow: 0px 5px 5px 4px #5e2a13;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 10px solid #9f5939;
    border-radius: 10px;
    width: 90vw;
    height: 90vw;
    box-shadow: 0px 0px 5px 0px black;
    display: grid;
    grid-template-columns: repeat(15, 1fr);
    grid-template-rows: repeat(15, 1fr);
  }

  .player-room {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .player {
    width: 1.2rem;
    height: 1.2rem;
  }
}

@media screen and (max-width: 600px) {
  .player {
    width: 1rem;
    height: 1rem;
  }

  main {
    height: 103vh;
    width: 100vw;
  }
}

@media (min-width: 576px) {
  .container {
    max-width: none;
  }
}

@-webkit-keyframes decOpacity {
  0% {
    opacity: 0.7;
  }

  100% {
    opacity: 1;
  }
}

@keyframes decOpacity {
  0% {
    opacity: 0.7;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes lightingBorder {
  0% {
    border-color: #1fcf4d;
  }

  100% {
    border-color: #FFFFFF;
  }
}

@keyframes lightingBorder {
  0% {
    border-color: #1fcf4d;
  }

  100% {
    border-color: #FFFFFF;
  }
}

.marquee {
  white-space: nowrap;
  padding: 0;
  font-size: 0.6rem;
  padding: 0.3rem 0.2rem;
  margin-top: 0.1rem;
}

#story-board {
  display: flex;
  overflow-x: auto;
  height: 3.5rem;
  width: 100%;
  padding: 0.2rem;
}

#story-board::-webkit-scrollbar {
  display: none;
}

.story-board--item {
  width: 2.3rem;
  min-width: 2.3rem;
  height: 100%;
  cursor: pointer;
  border-radius: 0.4rem;
  background-color: var(--primary-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  margin-right: 0.2rem;
}

.story-board--item .img_bg {
  width: 100%;
  height: 75%;
  -o-object-fit: cover;
     object-fit: cover;
}

.story-board--item:not(.add) .img_bg {
  height: 100%;
}

.story-board--item img.img_user {
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  border-radius: 50%;
  border: 0.11rem solid var(--primary-color);
  width: 1rem;
  height: 1rem;
}

.story-board--item .user_name {
  position: absolute;
  left: 0.1rem;
  bottom: 0.1rem;
  font-size: 0.4rem;
  color: white;
  text-shadow: -0.0416rem 0.0416rem #303030 !important;
}

.story-board--item .plus {
  background-color: white;
  border-radius: 50%;
  border: 0.167rem solid var(--primary-color);
  position: absolute;
  left: 0.57rem;
  bottom: 0.1rem;
  width: 1.2rem;
}

.story-board--item .plus svg {
  color: var(--primary-color) !important;
}

@-webkit-keyframes storySlideTime {
  0% {
    max-width: 0;
  }

  100% {
    max-width: 100%;
  }
}

@keyframes storySlideTime {
  0% {
    max-width: 0;
  }

  100% {
    max-width: 100%;
  }
}

@-webkit-keyframes storyLoading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes storyLoading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#story-modal {
  outline: 0 !important;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 100000;
  font-size: 0.5833333333rem;
  font-family: inherit;
}

#story-modal-content,
#story-modal-content .story-viewer,
#story-modal-content .story-viewer > .slides,
#story-modal-content .story-viewer > .slides > * {
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  position: absolute;
  overflow: hidden;
}

#story-modal * {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  outline: 0;
}

#story-modal.with-effects {
  transform: scale(0.01);
  transform-origin: top left;
  transition: 0.25s;
}

#story-modal.with-effects.animated {
  transform: scale(1);
  border-radius: 0;
  margin-top: 0 !important;
  margin-left: 0 !important;
}

#story-modal.with-effects.closed {
  transform: translateY(100%);
}

#story-modal .slider {
  width: 300vw;
  height: 100%;
  top: 0;
  bottom: 0;
  left: -100vw;
  position: absolute;
}

#story-modal .slider > * {
  width: 103vw;
  height: 100%;
  top: 0;
  bottom: 0;
  position: absolute;
}

#story-modal .slider > .previous {
  left: 0;
}

#story-modal .slider > .viewing {
  left: 100vw;
}

#story-modal .slider > .next {
  left: 200vw;
}

#story-modal .slider.animated {
  transition: transform 0.25s linear;
}

#story-modal.with-cube #story-modal-content {
  perspective: 1000vw;
  transform: scale(0.95);
  perspective-origin: 50% 50%;
  overflow: visible;
  transition: 0.3s;
}

#story-modal.with-cube .slider {
  transform-style: preserve-3d;
  transform: rotateY(0deg);
}

#story-modal.with-cube .slider > .previous {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  left: 100vw;
  transform: rotateY(270deg) translateX(-50%);
  transform-origin: center left;
}

#story-modal.with-cube .slider > .viewing {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  left: 100vw;
  transform: translateZ(50vw);
}

#story-modal.with-cube .slider > .next {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  left: 100vw;
  transform: rotateY(-270deg) translateX(50%);
  transform-origin: top right;
}

#story-modal-content .story-viewer.paused.longPress .head,
#story-modal-content .story-viewer.paused.longPress .slides-pointers,
#story-modal-content .story-viewer.paused.longPress .tip {
  opacity: 0;
}

#story-modal-content .story-viewer.viewing:not(.paused):not(.stopped) .slides-pointers > * > .active > b {
  -webkit-animation-play-state: running;
  animation-play-state: running;
}

#story-modal-content .story-viewer.next {
  z-index: 10;
}

#story-modal-content .story-viewer.viewing {
  z-index: 5;
}

#story-modal-content .story-viewer.previous {
  z-index: 0;
}

#story-modal-content .story-viewer.muted .tip.muted,
#story-modal-content .story-viewer.loading .head .loading {
  display: block;
}

#story-modal-content .story-viewer.loading .head .right .time,
#story-modal-content .story-viewer.loading .head .right .close {
  display: none;
}

#story-modal-content .story-viewer .slides-pagination span {
  position: absolute;
  top: 50vh;
  font-size: 2rem;
  color: #fff;
  line-height: 2rem;
  width: 2rem;
  margin: 0.25rem;
  transform: translateY(-50%);
  z-index: 1;
  text-align: center;
}

#story-modal-content .story-viewer .slides-pagination .previous {
  left: 0;
}

#story-modal-content .story-viewer .slides-pagination .next {
  right: 0;
}

#story-modal-content .story-viewer .slides-pointers {
  display: table;
  table-layout: fixed;
  border-spacing: 0.25rem;
  border-collapse: separate;
  position: absolute;
  width: 100vh;
  top: 0;
  left: calc(50vw - 50vh);
  right: calc(50vw - 50vh);
  z-index: 100020;
}

#story-modal-content .story-viewer .slides-pointers > * {
  display: table-row;
}

#story-modal-content .story-viewer .slides-pointers > * > * {
  display: table-cell;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0.0833333333rem;
}

#story-modal-content .story-viewer .slides-pointers > * > .seen {
  background: #fff;
}

#story-modal-content .story-viewer .slides-pointers > * > * > b {
  background: #fff;
  width: auto;
  max-width: 0;
  height: 0.0833333333rem;
  display: block;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
  border-radius: 0.0833333333rem;
}

#story-modal-content .story-viewer .slides-pointers > * > .active > b {
  -webkit-animation-name: storySlideTime;
  animation-name: storySlideTime;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}

#story-modal-content .story-viewer .head {
  position: absolute;
  height: 2.3333333333rem;
  left: 0;
  right: 0;
  line-height: 2.3333333333rem;
  z-index: 100010;
  color: #fff;
  font-size: 0.5833333333rem;
  text-shadow: 0.0416666667rem 0.0416666667rem 0.0416666667rem rgba(0, 0, 0, 0.35), 0.0416666667rem 0 0.0416666667rem rgba(0, 0, 0, 0.35);
  padding: 0.25rem 0.5rem;
}

#story-modal-content .story-viewer .head .item-preview {
  overflow: hidden;
  vertical-align: top;
  background-size: cover;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-block;
  margin-right: 0.375rem;
  border-radius: 50%;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
}

#story-modal-content .story-viewer .head .item-preview img {
  display: block;
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  -o-object-fit: cover;
     object-fit: cover;
}

#story-modal-content .story-viewer .head .time {
  opacity: 0.75;
  font-weight: 500;
  font-size: 0.5416666667rem;
}

#story-modal-content .story-viewer .head .left {
  line-height: 1 !important;
  display: inline-block;
  margin: 0.25rem 0;
}

#story-modal-content .story-viewer .head .left .info {
  display: inline-block;
  max-width: 30vw;
  vertical-align: middle;
}

#story-modal-content .story-viewer .head .left .info > * {
  width: 100%;
  display: inline-block;
  line-height: 0.875rem;
}

#story-modal-content .story-viewer .head .left .info .name {
  font-weight: 500;
}

#story-modal-content .story-viewer .head .right {
  float: right;
}

#story-modal-content .story-viewer .head .right .close,
#story-modal-content .story-viewer .head .back {
  font-size: 1.75rem;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  cursor: pointer;
  text-align: center;
  color: white;
  opacity: 1;
  margin-top: -0.4rem;
}

#story-modal-content .story-viewer .head .right .remove {
  position: absolute;
  right: 0.2rem;
  top: 2rem;
}

#story-modal-content .story-viewer .head .left .back {
  display: none;
  width: 1rem;
  margin: -0.375rem -0.25rem 0 -0.25rem;
}

#story-modal-content .story-viewer .head .right .time {
  display: none;
}

#story-modal-content .story-viewer .head .loading {
  display: none;
  border-radius: 50%;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.375rem 0;
  border: 0.1666666667rem solid rgba(255, 255, 255, 0.2);
  box-sizing: border-box;
  border-top-color: #fff;
  -webkit-animation: storyLoading 1s infinite linear;
  animation: storyLoading 1s infinite linear;
}

#story-modal-content .story-viewer .head,
#story-modal-content .story-viewer .slides-pointers,
#story-modal-content .story-viewer .tip {
  transition: opacity 0.5s;
}

#story-modal-content .story-viewer .slides .item {
  display: none;
  overflow: hidden;
  background: #000;
}

#story-modal-content .story-viewer .slides .item:before {
  z-index: 4;
  background: transparent;
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
}

#story-modal-content .story-viewer .slides .item > .media {
  height: auto;
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: auto;
  top: 50%;
}

#story-modal-content .story-viewer .slides .item.active,
#story-modal-content .story-viewer .slides .item.active .tip.link {
  display: block;
}

#story-modal-content .story-viewer .tip {
  z-index: 5;
  text-decoration: none;
  display: none;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.5);
  font-size: 0.6666666667rem;
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.5rem 1rem;
}

#story-modal.rtl {
  direction: rtl;
  left: auto;
  right: 0;
}

#story-modal.rtl.with-effects {
  transform-origin: top right;
}

#story-modal.rtl.with-effects.animated {
  margin-left: auto !important;
  margin-right: 0 !important;
}

#story-modal.rtl .slider {
  left: auto;
  right: -100vw;
}

#story-modal.rtl .slider > .previous {
  left: auto;
  right: 0;
  transform: rotateY(-270deg) translateX(50%);
}

#story-modal.rtl .slider > .viewing {
  left: auto;
  right: 100vw;
}

#story-modal.rtl .slider > .next {
  left: auto;
  right: 200vw;
}

#story-modal.rtl.with-cube .slider > .previous {
  left: auto;
  right: 100vw;
  transform-origin: center right;
}

#story-modal.rtl.with-cube .slider > .viewing {
  left: auto;
  right: 100vw;
  transform: translateZ(50vw);
}

#story-modal.rtl.with-cube .slider > .next {
  left: auto;
  right: 100vw;
  transform-origin: top left;
  transform: rotateY(270deg) translateX(-50%);
}

#story-modal.rtl #story-modal-content .story-viewer .slides-pagination .previous {
  left: auto;
  right: 0;
}

#story-modal.rtl #story-modal-content .story-viewer .slides-pagination .next {
  right: auto;
  left: 0;
}

#story-modal.rtl #story-modal-content .story-viewer .head .item-preview {
  margin-right: auto;
  margin-left: 0.375rem;
}

#story-modal.rtl #story-modal-content .story-viewer .head .right {
  float: left;
}

#story-modal.rtl #story-modal-content .story-viewer .tip {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}

#story-modal #story-modal-content .story-viewer .pause {
  display: none;
  font-size: 3rem;
  color: white;
  position: absolute;
  z-index: 1000000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#story-modal #story-modal-content .story-viewer.paused .pause {
  display: inline;
}

@media (max-width: 42.6666666667rem) {
  #story-modal-content .story-viewer .head {
    top: 0.125rem;
  }

  #story-modal-content .story-viewer .head .loading {
    width: 1rem;
    height: 1rem;
    margin: 0.25rem 0;
  }

  #story-modal-content .story-viewer .head .item-preview {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.375rem;
  }

  #story-modal-content .story-viewer .head .left {
    font-size: 0.625rem;
    margin: 0.2rem 0;
  }

  #story-modal-content .story-viewer .head .left > div {
    line-height: 1.25rem;
  }

  #story-modal-content .story-viewer .head .right .time {
    display: block;
    white-space: nowrap;
    font-size: 0.625rem;
    margin: 0.625rem 0;
    line-height: 1.25rem;
  }

  #story-modal-content .story-viewer .head .left > .back {
    display: none;
    background: transparent;
    z-index: 20;
    visibility: visible;
    position: absolute;
    height: 1.75rem;
    width: 1rem;
    line-height: 1.5rem;
    text-align: left;
    vertical-align: top;
    text-shadow: none;
  }

  #story-modal-content .story-viewer.with-back-button .head .left > .back {
    display: block;
    top: 0.1rem;
  }

  #story-modal-content .story-viewer.with-back-button .head .left .item-preview {
    margin-left: 0.75rem;
  }

  #story-modal-content .story-viewer .slides-pointers {
    width: 100vw;
    left: 0;
    right: 0;
  }

  #story-modal-content .story-viewer .tip {
    font-size: 0.5833333333rem;
    padding: 0.25rem 0.5rem;
  }

  #story-modal-content .story-viewer .head .left .time,
  #story-modal-content .story-viewer .head .right .close {
    display: none;
  }

  #story-modal.rtl #story-modal-content .story-viewer .head .item-preview {
    margin-right: auto;
    margin-left: 0.375rem;
  }

  #story-modal.rtl #story-modal-content .story-viewer .head .left > .back {
    text-align: right;
  }

  #story-modal.rtl #story-modal-content .story-viewer.with-back-button .head .left .item-preview {
    margin-left: auto;
    margin-right: 0.75rem;
  }
}

.story-reactions {
  position: absolute;
  left: 0;
  bottom: 7rem;
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
}

.story-reactions .likes_wrapper,
.story-reactions .comments_wrapper,
.story-reactions .views_wrapper {
  display: flex;
  flex-direction: column;
  color: white;
  z-index: 100000000;
  text-align: center;
  cursor: pointer;
}

.story-reactions .likes_wrapper .fa,
.story-reactions .comments_wrapper .fa,
.story-reactions .views_wrapper .fa {
  font-size: 2rem;
  text-shadow: 2px 2px #ff0000;
}

.story-reactions .likes_wrapper .likes,
.story-reactions .comments_wrapper .comments,
.story-reactions .views_wrapper .views {
  margin-top: 0;
}

.story-reactions .likes_wrapper .fa.liked {
  color: #f03254;
  -webkit-animation: pulse 0.2s ease;
          animation: pulse 0.2s ease;
}

@-webkit-keyframes pulse {
  to {
    transform: scale(1.3);
  }
}

@keyframes pulse {
  to {
    transform: scale(1.3);
  }
}

#story-comments {
  background-color: #00000066;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

#story-comments #story-comments-container {
  position: relative;
  margin: 0 auto;
  top: 100vh;
  background-color: white;
  width: 100%;
  max-width: 17rem;
  height: 80%;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  transition: top 0.2s linear 0s;
  display: flex;
  flex-direction: column;
}

#story-comments #story-comments-container #story-comments-header {
  text-align: center;
  padding: 0.3rem 0.5rem;
}

#story-comments #story-comments-container #story-comments-header #story-comments-close {
  float: left;
  cursor: pointer;
}

#story-comments #story-comments-container #story-comments-body {
  overflow: auto;
  flex-grow: 1;
  height: 8rem;
}

#story-comments #story-comments-container #story-comments-footer {
  height: 1.6rem;
  position: relative;
}

#story-comments #story-comments-container #story-comments-footer .story-comments-form {
  background: var(--primary-color);
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 0.35rem 0.1rem 0.25rem 0.1rem;
}

#story-comments #story-comments-container #story-comments-footer .story-comments-form--attach {
  margin-right: 0.2em;
  font-size: 0.55rem;
  margin-top: -0.125rem;
  height: 1.125rem;
  border: 0.042rem solid var(--border-color) !important;
}

#story-comments #story-comments-container #story-comments-footer .story-comments-form--loading-percent {
  display: none;
  position: absolute;
  text-align: center;
  font-size: 0.5rem;
  top: 0.35rem;
  left: 0.5rem;
}

#story-comments #story-comments-container #story-comments-footer .story-comments-form--face {
  margin-right: 0.2em;
  cursor: pointer;
  width: 0.9166666667rem;
  height: 0.9166666667rem;
}

#story-comments #story-comments-container #story-comments-footer .story-comments-form--input {
  width: calc(100% - 4rem);
  margin-right: 0.2em;
  vertical-align: middle;
  text-align: left;
  height: 1.083rem;
  margin-top: -0.083rem;
  border: none;
  overflow: hidden;
  resize: none;
  outline: none;
}

#story-comments #story-comments-container #story-comments-footer .story-comments-form--input:focus,
#story-comments #story-comments-container #story-comments-footer .story-comments-form--input:active {
  border: none !important;
}

#story-comments #story-comments-container #story-comments-footer .story-comments-form--send {
  font-size: 0.55rem;
  font-weight: bold;
  margin-top: -0.125rem;
  height: 1.125rem;
  border: 0.042rem solid var(--border-color) !important;
}

.story-comments--comment {
  position: relative;
  background: white;
  border: 0.0416666667rem solid lavender;
  margin: 0 0.05rem;
  padding: 0.1rem 0.05rem;
  margin-bottom: -0.0416666667rem;
}

.story-comments--comment--avatar {
  float: left;
  margin: 0;
  cursor: pointer;
}

.story-comments--comment--avatar img {
  border-radius: 50%;
  border-width: 0.0416666667rem !important;
  padding: 0.0416666667rem;
  width: 1.25rem;
  height: 1.25rem;
}

.story-comments--comment--title,
.story-comments--comment--content {
  font-size: 0.55rem;
  font-weight: bold;
  padding: 0 0.2em 0 2.8em;
  direction: rtl;
  margin: 0;
  max-width: 93%;
  word-wrap: break-word;
}

.story-comments--comment--title .username__wrapper {
  font-size: 0.55rem;
  padding: 0;
}

.story-comments--comment--content {
  color: black;
  margin: 0.2em 0 0.2em 0;
}

.story-comments--comment--like,
.story-comments--comment--remove {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0 0.0833333333rem;
  font-size: 60%;
  font-weight: bold;
}

.story-comments--comment--remove {
  right: 1.1rem;
}

.story-comments--comment--time {
  font-size: 0.45rem;
  color: black;
  position: absolute;
  top: 0.1em;
  right: 0.1em;
}

#story-views {
  background-color: #00000066;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

#story-views #story-views-container {
  position: relative;
  margin: 0 auto;
  top: 100vh;
  background-color: white;
  width: 100%;
  max-width: 17rem;
  height: 80%;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  transition: top 0.2s linear 0s;
  display: flex;
  flex-direction: column;
}

#story-views #story-views-container #story-views-header {
  text-align: center;
  padding: 0.3rem 0.5rem;
}

#story-views #story-views-container #story-views-header #story-views-close {
  float: left;
  cursor: pointer;
}

#story-views #story-views-container #story-views-body {
  overflow: auto;
  flex-grow: 1;
  height: 100%;
}

.story-views--view {
  position: relative;
  background: white;
  border: 0.0416666667rem solid lavender;
  margin: 0 0.05rem;
  padding: 0.1rem 0.05rem;
  margin-bottom: -0.0416666667rem;
}

.story-views--view--avatar {
  float: left;
  margin: 0;
  cursor: pointer;
}

.story-views--view--avatar img {
  border-radius: 50%;
  border-width: 0.0416666667rem !important;
  padding: 0.0416666667rem;
  width: 1.25rem;
  height: 1.25rem;
}

.story-views--view--title {
  font-size: 0.55rem;
  font-weight: bold;
  padding: 0 0.2em 0 2.8em;
  direction: rtl;
  margin: 0;
  max-width: 93%;
  word-wrap: break-word;
}

.story-views--view--title .username__wrapper {
  font-size: 0.55rem;
  padding: 0;
}

.story-views--view--time {
  font-size: 0.45rem;
  color: black;
  position: absolute;
  top: 0.1em;
  right: 0.1em;
}

* {
  font-family: Arial, Helvetica, sans-serif, serif;
  white-space: normal;
  font-weight: bold;
  text-shadow: none !important;
}

html {
  font-size: 24px;
}

body {
  line-height: 1;
  max-width: 100%;
  color: #333333;
}

input {
  font-size: 0.6rem;
  padding: 0em 0.5em;
  border: 0.04em solid #bbb;
  outline: none;
}

input:focus,
input:active {
  border: 1px solid #aaa;
}

button.btn {
  padding: 0 0.208rem;
}

#app {
  max-width: 100%;
  overflow: hidden;
}

img {
  -moz-user-select: -moz-none;
  -webkit-user-select: none;
  -o-user-select: none;
  -ms-user-select: none;
      user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

