@tailwind base;
@tailwind components;
@tailwind utilities;

.loading {
  display: none;
}

.vjs-texttrack-settings {
  display: none !important;
}

.vjs-text-track-display {
 background-color: rgba(0, 0, 0, 0) !important;
}

.vjs-text-track-display > div {
  background-color: rgba(0, 0, 0, 0) !important;
}

.vjs-text-track-display > div > div {
  background-color: rgba(0, 0, 0, 0) !important;
}

.force-transparent {
  background-color: rgba(0,0,0,0)!important;
}

:root {
  --main-color: #fffbfb;
  --nav-color: #3f0e78;
  --opacity-color: #e9d5ff;
  --text-color: black;
}

:root.dark {
  --main-color: #374151;
  --nav-color: #8449d7;
  --opacity-color: #c4b5ff;
  --text-color: white;
}

:root.dark body[data-theme='purple'] {
  --nav-color: #8449d7;
  --opacity-color: #c4b5ff;
}

body[data-theme='blue'] {
  --nav-color: #6355e4;
  --opacity-color: #d3d6fe;
}

body[data-theme='green'] {
  --nav-color: #2f9688;
  --opacity-color: #a7f3d0;
}

body[data-theme='lightblue'] {
  --nav-color: #637df5;
  --opacity-color: #c7dbfe;
}

body[data-theme='lightgreen'] {
  --nav-color: #7cad5b;
  --opacity-color: #b8f7d0;
}

body[data-theme='oragne'] {
  --nav-color: #f4540f;
  --opacity-color: #fed7aa;
}

body[data-theme='pink'] {
  --nav-color: #c73360;
  --opacity-color: #fbcfe8;
}

body[data-theme='purple'] {
  --nav-color: #3f0e78;
  --opacity-color: #e9d5ff;
}

body[data-theme='yellow'] {
  --nav-color: #f59601;
  --opacity-color: #fef08a;
}

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

.nav-color {
  background-color: var(--nav-color);
}

.force-nav-color {
  background-color: var(--nav-color) !important;
}

.svg-fill {
  fill: var(--nav-color);
}

.svg-reverse-fill {
  fill: white;
}

.svg-default-fill {
  fill: var(--text-color);
}

.theme-border-color {
  border-color: var(--nav-color);
}

.main-text-color {
  color: var(--text-color);
}

.outcomes {
}

.outcomes > ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column-gap: 3rem;
  -moz-column-gap: 3rem;
  column-gap: 3rem;
  grid-row-gap: 1.5rem;
  row-gap: 1.5rem;
}

.outcomes > ul > span {
  z-index: 2;
}

.outcomes > ul > li::before {
  content: '\e93d';
  font-family: 'icomoon', sans-serif !important;
  color: white;
  position: absolute;
  left: 0;
  top: 2px;
}

.outcomes > ul > li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

/*.glossary-group:before {*/
/*  content: attr(id);*/
/*  font-size: 300px;*/
/*  font-weight: 600;*/
/*  color: var(--nav-color);*/
/*  position: absolute;*/
/*  top: 1rem;*/
/*  right: -10rem;*/
/*  opacity: 50%;*/
/*  text-transform: capitalize;*/
/*  line-height: 1;*/
/*}*/

/*@media screen and (max-width: 768px) {*/
/*  .glossary-group:before {*/
/*    content: attr(id);*/
/*    font-size: 140px;*/
/*    font-weight: 600;*/
/*    color: var(--nav-color);*/
/*    position: absolute;*/
/*    top: 1rem;*/
/*    right: -6.5rem;*/
/*    opacity: 50%;*/
/*    text-transform: capitalize;*/
/*    line-height: 1;*/
/*  }*/
/*}*/


.page-content {
  word-break: break-word;
}

.page-content > table {
  border-spacing: 0;
  border-collapse: collapse;
  table-layout: fixed;
  width: 100% !important;
  display: inline-block;
  margin: 1rem 0;
}

.page-content > table > tbody > tr:last-of-type {
  border: 1px solid #a5a5a5;
}

.page-content > table > tbody > tr > td {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #a5a5a5;
  border-bottom: 0;
  vertical-align: middle;
  text-align: center;
  padding: 0.5rem 1.5rem;
}

.page-content > iframe {
  width: 100%;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.page-content > p > iframe {
  max-width: 100%;
}

.page-content > table > tbody > tr > td > ul > li {
  display: list-item;
  list-style-type: disc;
  font-size: 1.2rem;
  margin-left: 1.5rem;
}

.page-content > table > tbody > tr > td > ol > li {
  display: list-item;
  list-style-type: decimal;
  font-size: 1.2rem;
  margin-left: 1.5rem;
}

.page-content > ul > li {
  display: list-item;
  list-style-type: disc;
  font-size: 1.2rem;
  margin-left: 1.5rem;
}

.page-content > ol > li {
  display: list-item;
  list-style-type: decimal;
  font-size: 1.2rem;
  margin-left: 1.5rem;
}

.has-line {
  height: 7.5rem;
}

.has-line:after {
  content: '';
  display: inline-block;
  --bg-opacity: 1;
  background-color: #f03262;
  background-color: rgba(240, 50, 98, var(--bg-opacity));
  vertical-align: bottom;
  width: 2px;
  height: 6rem;
}

.slider-elements {
  width: -moz-available; /* WebKit-based browsers will ignore this. */
  width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
  width: fill-available;
}

.dragMatch-containers {
  border-width: 2px;
  --border-opacity: 1;
  border-radius: 25px;
  border-color: rgba(255, 255, 255, var(--border-opacity));
  background: hsla(0, 0%, 64.7%, 0.5);
  border-style: dashed;
}

.dragMatch-inactive {
  color: rgb(54 86 204);
  border: 1px solid rgb(54 86 204);
  background: transparent;
  opacity: 0.99;
}

.dragMatch-active {
  color: white;
  border: 1px solid rgb(54 86 204);
  background: rgb(54 86 204);
}

.audio-player {
  width: -moz-available; /* WebKit-based browsers will ignore this. */
  width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
  width: fill-available;
  background-color: #f0f0f0;
  border-radius: 10px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.controls {
  display: flex;
  align-items: center;
  gap: 10px;
  width: -moz-available;
  width: -webkit-fill-available;
  width: fill-available;
}

.play-btn, .mute-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.progress-bar {
  width: 100%;
}

.volume-slider {
  width: 50px;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  left: 40px;
  top: 3px;
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.vm--modal {
  position: fixed;
  overflow: hidden;
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 3px;
  height: 238px;
  width: 500px;
  top: calc(50vh - 119px);
  left: calc(50vw - 250px);
  box-shadow: 0 20px 60px -2px rgba(27, 33, 58, .4);
  font-size: 2rem;
  line-height: 2.75rem;
}

.modal-wrapper {
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 90000;
  width: 100vw;
  background: rgba(0, 0, 0, .3);
  position: fixed;
}

.text-shadow {
  text-shadow: 0 0 10px rgba(0, 0, 0, 1);
}
