html,
body {
  width: 100%;
  height: 100%;
}

@font-face {
  font-family: "vazir";
  font-style: normal;
  font-weight: 350;
  src: url("vazir.eot"); /* IE9 Compat Modes */
  src: url("../../fonts/Vazir.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("../../fonts/Vazir.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../../fonts/Vazir.woff") format("woff"),
    /* Modern Browsers */ url("../../fonts/Vazir.ttf") format("truetype"),
    /* Safari, Android, iOS */ url("../../fonts/IranSans.svg#Roboto")
      format("svg"); /* Legacy iOS */
}

body {
  font-family: "vazir" !important;
  font-size: 11pt;
  overflow: hidden;
  margin: 0;
}

p {
  margin: 0.2rem;
}

input[type="text"],
input[type="password"],
input[type="email"],
select {
  width: 100%;
  margin: 8px 0;
}

input[type="number"] {
  font-size: 11pt;
  margin: 8px 0;
}

fieldset {
  margin: 16px 0;
  padding: 0;
  border: none;
  width: 100%;
}
fieldset legend {
  font-weight: bold;
  font-size: large;
}
fieldset table {
  width: 100%;
}
fieldset label {
  margin-right: 16px;
  /*white-space: nowrap;*/
}

.clearfix {
  clear: both;
}

.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background: transparent;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #9e9e9e;
  border-radius: 4px;
}

.btn-accept {
  background-color: #fbb03a !important;
  color: #2a2a2a !important;
}

.btn-cancel {
  border: 1px solid white !important;
  background-color: transparent !important;
  color: white !important;
  font-size: 0.9rem !important;
}

.button {
  display: inline-block;
  position: relative;
  width: 1em;
  height: 1em;
  line-height: 0;
  font-size: 24px;
  border-radius: 2em;
  border: none;
  vertical-align: middle;
  opacity: 0.87;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  text-transform: uppercase;
  padding: 0.333em;
}

.button:focus {
  outline: none;
}

.button:hover {
  opacity: 1;
  text-shadow: 0 0 8px white;
}

.button.square {
  font: inherit;
  /*font-weight: bold;*/
  border-radius: 2px;
  border: none;
  width: auto;
  height: auto;
}

.button.transparent {
  background-color: transparent;
  color: inherit;
  box-shadow: none !important;
  /*border-width: 1px;
    border-style: solid;*/
}

.button-like {
  display: inline-block;
  position: relative;
}
.button.disabled-button {
  opacity: 0.6;
}
.name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 0 16px;
  line-height: 40px;
}
.participant-list-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  /*margin: 0 16px;*/
  line-height: 20px;
  max-width: 350px;
}
.participant-list-name-detail {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  /*margin: 0 16px;*/
  line-height: 20px;
  font-size: smaller;
  opacity: 0.5;
}
.avatar,
.participant-info-avatar {
  display: inline-block;
  border-radius: 50%;
  background-image: url(../../img/avatar.svg);
  background-size: cover;
  background-repeat: no-repeat;
}
.avatar {
  position: relative;
  width: 40px;
  height: 40px;
  line-height: 41px;
  font-size: 24px;
  margin-right: 16px;
  text-align: center;
  box-sizing: border-box;
  float: left;
}

.participant-info-avatar {
  overflow: hidden;
  font-size: 2rem;
  width: 3rem;
  /* height: 100px; */
}
.avatar-bg {
  position: absolute;
  width: 3rem;
  height: 3rem;
  background-color: #fbb03a;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.calendar-avatar {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  line-height: 41px;
  font-size: 24px;
  border-radius: 50%;
  margin-right: 16px;
  text-align: center;
  box-sizing: border-box;
  float: left;
}

.avatar img,
.avatar svg {
  position: absolute;
  width: 100%;
  left: 0;
  height: 100%;
  border-radius: 50%;
}
.button .state,
.avatar .state {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  border-radius: 50%;
}

.badge-container {
  position: absolute;
  right: -4px;
  bottom: -4px;
  font-weight: bolder;
  text-align: center;
  white-space: nowrap;
  font-size: 10px;
  line-height: 10px;
  overflow: hidden;
}

.badge {
  display: inline-block;
  height: 10px;
  padding: 3px;
  border-radius: 8px;
  box-shadow: inherit;
  background-color: inherit;
}

.menu {
  float: right;
  text-align: right;
  /*margin-left: 16px;*/
}

.menu .button {
  display: inline-block;
}

.placeholder-text {
  opacity: 0.5;
  text-align: center;
}
.placeholder-dot {
  opacity: 0.5;
  height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row-reverse;
}
.placeholder-text a {
  color: inherit;
  text-decoration: none;
}

.main-pip .virtual-stage {
  white-space: normal;
  width: 100%;
  height: auto;
}

.virtual-pip {
  display: inline-block;
  margin: 8px;
  background-color: #111;
  text-align: center;
  transition: all linear 0.2s;
}

/*.virtual-pip.ng-move,
.virtual-pip.ng-enter,
.virtual-pip.ng-leave {
  transform: scaleX(1);
}*/

.virtual-pip.ng-leave.ng-leave-active,
.virtual-pip.ng-move.ng-move-active,
.virtual-pip.ng-enter {
  transform: scaleX(0);
}

.virtual-pip.ng-leave,
.virtual-pip.ng-move,
.virtual-pip.ng-enter.ng-enter-active {
  transform: scaleX(1);
}

.virtual-pip img {
  width: 140px;
  height: 140px;
  display: inline-block;
  margin: 10px;
}

.virtual-pip-name {
  width: 160px;
  text-align: left;
  overflow: hidden;
  padding: 8px;
  background-color: #212121;
}
.virtual-pip-name div {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.error-border {
  border-color: red !important;
}

.rtl {
  direction: rtl !important;
  text-align: right !important;
}
.ltr {
  direction: ltr !important;
  text-align: left !important;
}
table.participantListSelector {
  margin-top: 10px;
}

table.participantListSelector th,
table.participantListSelector td,
table.participantListSelector td div {
  text-align: center;
}
table.participantListSelector th {
  vertical-align: top;
}
table.participantListSelector th input {
  font-family: vazir;
}
table.participantListSelector td div.listContainer {
  min-height: 200px;
  max-height: 200px;
  overflow-y: scroll;
}
.pull-right {
  float: right !important;
}
.pull-left {
  float: left !important;
}
td#staticList {
}
td#allList {
}
td#rotateList {
}
.participantItem {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
  cursor: pointer;
}
.participantItem .red {
  background-color: tomato;
}
.participantItem .green {
  background-color: seagreen;
}
.participantItem button {
  border: none;
  padding: 3px 5px;
  background-color: #2196f3;
  color: white;
  outline: none;
}
.danger-text {
  color: #ff4e45;
}
/* .sel-microphone-toggle.button {
  background-color: #f0aa3b;
  font-size: 2rem;
  transition: box-shadow 0.3s ease, font-size 0.3s ease;
} */

.hexagonal-button-container {
  display: block;
  position: relative;
  width: 100%; /* Adjust the size as needed */
  height: 100%; /* Calculate the height based on the width and shape of hexagon */
}

.hexagonal-button {
  position: relative;
  background-color: #f0aa3b;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  text-align: center;
  transition: box-shadow 0.3s ease, font-size 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0 !important;
}
.hexagonal-button:hover {
  background: linear-gradient(30deg, #c18a32 30%, #ffd966 80%);
}
.sel-hexagonal-button {
  position: relative;
  background: linear-gradient(30deg, #7d7b7d 30%, #8b888b 80%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  text-align: center;
  transition: box-shadow 0.3s ease, font-size 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0 !important;
}
.sel-hexagonal-button:hover {
  background: linear-gradient(30deg, #696569 30%, #b6b4b6 80%);
}

.hexagonal-button-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transform: translate(-50%, -50%);
  width: 3rem;
  height: 3rem;
  background-color: rgba(240, 179, 83, 0.3);
}
.hexagonal-button-bg-muted {
  position: absolute;
  top: 50%;
  left: 50%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transform: translate(-50%, -50%);
  width: 3rem;
  height: 3rem;
  background-color: rgba(0, 0, 0, 0.3);
}

.camera-disabled {
  background-color: #212121;
}
.camera-disabled:hover {
  background: linear-gradient(30deg, #0e0d0d 30%, #2e2c2c 80%);
}
.microphone-muted {
  background-color: #212121;
}
.microphone-muted:hover {
  background: linear-gradient(30deg, #0e0d0d 30%, #2e2c2c 80%);
}

.sel-camera-toggle {
  color: white;
  text-decoration: none;
}

.self-view-toolbar:hover i {
  color: #2196f3;
}

.icon {
  font-size: 2rem;
}
.input-outline {
  outline: none;
  border: none !important;
}
.video-spinner {
  height: 3rem;
}
.audio-spinner {
  height: 3rem;
}
.rotating {
  animation: spin 1s infinite linear;
}
.checkbox-label {
  display: flex;
  gap: 1rem;
  cursor: pointer;
}
/* Custom checkbox */
.custom-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-checkbox .checkmark {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: transparent; /* Default background color for unchecked checkbox */
  transition: background-color 0.3s, border-color 0.3s;
}
.custom-checkbox .checkmark::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: transparent;
  border: 1px solid #fbb03a;
  border-radius: 50%;
  display: inline-block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.custom-checkbox input[type="checkbox"]:checked + .checkmark {
  background-color: #fbb03a; /* Change background color for checked checkbox */
  border: 2px solid #fbb03a; /* Change border color for checked checkbox */
}
.radio-label {
  display: flex;
  gap: 1rem;
  cursor: pointer;
}

/* Custom radio */
.custom-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-radio .radio-dot {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: transparent; /* Default background color for unchecked radio */
  transition: background-color 0.3s, border-color 0.3s;
  display: inline-block;
}
.custom-radio .radio-dot::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: transparent;
  border: 1px solid #fbb03a;
  border-radius: 50%;
  display: inline-block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.custom-radio input[type="radio"]:checked + .radio-dot {
  background-color: #fbb03a; /* Change background color for checked radio */
  border: 2px solid #fbb03a; /* Change border color for checked radio */
  box-shadow: none;
}

.toggle-label {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 2px;
}

.toggle-input {
  display: none;
}

.toggle-button {
  display: inline-block;
  width: 28px; /* Adjust the width to make the button smaller */
  height: 14px; /* Adjust the height to make the button smaller */
  border-radius: 7px;
  background-color: #e7e7e7;
  position: relative;
  transition: background-color 0.3s;
  border: 1px solid #979797;
}

.toggle-input:checked + .toggle-button {
  background-color: #e7e7e7; /* Fixed background color when turned on */
  border: 1px solid #fbb03a; /* Border color when turned on */
}

.toggle-button::before {
  content: "";
  display: block;
  width: 10px; /* Adjust the width to make the circle smaller */
  height: 10px; /* Adjust the height to make the circle smaller */
  border-radius: 50%;
  background-color: #979797; /* Circle color when turned off */
  position: absolute;
  top: 50%; /* Position the circle in the middle vertically */
  transform: translateY(-50%); /* Adjust for centering */
  left: 2px; /* Position the circle on the left side */
  transition: transform 0.3s, background-color 0.3s; /* Add transition for color change */
}

.toggle-input:checked + .toggle-button::before {
  background-color: #fbb03a; /* Circle color when turned on */
  transform: translateX(14px) translateY(-50%); /* Adjust the translation and centering */
}
.toggle-text {
  font-size: 1rem;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 27em) {
  .toggle-text {
    font-size: 0.8rem;
  }
}
