#lms-iframe-popup {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 1em !important;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 890;
  display: none;
}

#lms-iframe-popup {
  z-index: 10001;
}

#lms-iframe-top {
  background-color: var(--wjs-bg-color);
  border: 1px solid var(--wjs-text-color);
  max-width: 1200px;
  margin: 0 auto;
  width: 100% !important;
  display: flex;
}

#lms-iframe-top span {
  font-size: 20px;
  margin-left: 0.5em;
  display: none;
}

#iframe-label {
  display: inline-flex;
  color: var(--wjs-bg-color);
  background-color: var(--wjs-text-color);
  font-size: 26px;
  font-weight: bold;
  padding: 0em 1.5em;
  text-transform: uppercase;
  align-items: center;
  justify-content: center;
}

#iframe-tabs {
  display: flex;
  flex-grow: 1;
  align-items: center;
  margin-left: 1em;
}


#lms-iframe-popup-close {
  float: right;
  font-size: 1em;
  background-color: var(--wjs-text-color);
  margin: 0px !important;
  padding: 5px 1em;
  color: var(--wjs-bg-color) !important;
}

#lms-iframe {
  width: 100%;
  border: 1px solid var(--wjs-text-color);
  max-width: 1200px;
  margin: 0 auto;
  display: block;
  flex-grow: 1;
}

#lms-iframe-popup a {
  line-height: 2em;
  font-size: 1.5em;
  margin-right: 0.5em;
  margin-left: 1em;
  text-decoration: none;
}

#lms-iframe-popup .lms-top-btn {
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 0px;
  pointer-events: inherit !important;
  cursor: pointer;
  color: #000 !important;
}

#lms-iframe-popup .wjs-btn.lms-top-btn {
  background-color: transparent;
  color: var(--wjs-text-color) !important;
  border-width: 3px;
  border-bottom-style: solid;
  border-color: transparent;
  min-width: inherit;
  line-height: 32px;
}

#lms-iframe-popup .lms-top-btn.active,
#lms-iframe-popup .lms-top-btn:hover {
  background-color: var(--wjs-bg-color);
  color: var(--wjs-green) !important;
  border-color: var(--wjs-green);
}

#lms-iframe-separator {
  font-size: 20px;
  margin-left: 0.5em;
}

.no-scroll {
  overflow: hidden;
}

@media only screen and (max-width: 890px) {

  #iframe-label {
    flex-grow: 1;
    font-size:20px;
  }

  #iframe-tabs {
    position: absolute;
    top: 46px;
    left: 1px;
    right: calc(1em + 1px);
    justify-content: center;
    border-bottom: 2px solid var(--wjs-text-color);
    background-color: var(--wjs-bg-color);
  }

  #lms-iframe {
    padding-top: 22px;
    background-color: var(--wjs-bg-color);
  }

  #lms-iframe-popup-close {
    position: absolute;
    top: 13px;
    right: 13px;
    margin: 10px;
    line-height: 20px !important;
  }

  #lms-iframe-popup a {
    font-size: 15px;
  }

}

@media only screen and (max-width: 500px) {
  #lms-iframe-popup a {
    font-size: 3.4vw;
    margin-left: 0.2em;
  }
  
  #lms-iframe-popup .wjs-btn.lms-top-btn {
    border-width: 2px;
    line-height: 20px;
  }
}
