header .header-top-menu button {
  background: none;
  border: 0;
  color: inherit;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.latest-courses .thumb a {
  color: inherit;
  display: block;
}

.latest-courses img.v-thumb,
.latest-courses .main-li-thumb img.v-thumb {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(100% - 12px);
  height: 160px;
  background: #d9d9d9;
  object-fit: cover;
}

.sch-lesson-carousel {
  position: relative;
  width: 100%;
}

.sch-lesson-viewport {
  overflow: hidden;
  width: 100%;
}

.sch-lesson-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.45s ease;
}

.sch-lesson-track.is-jump,
.sch-image-rail-track.is-jump {
  transition: none;
}

.latest-courses .sch-lesson-track .thumb {
  float: none;
  display: block;
  flex-shrink: 0;
  height: 195px !important;
  box-sizing: border-box;
  margin: 0;
  padding: 0 5px;
  width: auto;
}

.sch-lesson-carousel .slick-prev,
.sch-lesson-carousel .slick-next,
.slider_wrapper > .slick-prev,
.slider_wrapper > .slick-next {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
}

.main_slider.sch-hero {
  position: relative;
  height: 100%;
  margin: 0;
  padding: 0;
}

.main_slider.sch-hero .main-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s linear;
  z-index: 0;
  display: block;
}

.main_slider.sch-hero .main-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.sch-hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sch-hero-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.sch-hero-dots button.is-active {
  background: #fff;
}

.sch-image-rail {
  overflow: hidden;
  width: 100%;
}

.sch-image-rail-track {
  display: flex;
  transition: transform 0.45s ease;
}

.intro-school-slider.sch-image-rail img,
.sch-image-rail-track img {
  flex-shrink: 0;
  display: block;
  box-sizing: border-box;
  max-width: none;
  width: 100%;
  height: auto;
  margin: 20px 0;
  padding: 0 10px;
  object-fit: contain;
}

body.legacy-site {
  background: #fff;
}

.access .panel-footer {
  overflow: hidden;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.wrapper {
  max-width: 100%;
}

header.navbar {
  z-index: 1030 !important;
  min-width: 0 !important;
  height: auto !important;
  overflow: visible !important;
}

header.navbar .navbar-collapse.collapse {
  visibility: visible;
}

header.navbar .navbar-nav.navbar-right > .dropdown > .dropdown-menu {
  left: 0;
  right: auto;
}

@media (min-width: 900px) {
  header.navbar .navbar-collapse.collapse {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }
}

div.main {
  max-width: 100%;
  margin-top: 0 !important;
  padding-top: var(--site-header-height, 110px);
}

img,
video,
iframe {
  max-width: 100%;
}

.sch-container,
header.navbar > .container,
header.navbar > .container-fluid.sch-container,
.cs_info .sch-container,
footer .sch-container {
  width: 100% !important;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

header.navbar > .container,
header.navbar > .container-fluid {
  padding-left: 12px;
  padding-right: 12px;
}

.navbar-header {
  max-width: 100%;
}

.navbar-brand.navbar-logo {
  max-width: none;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  line-height: 1.25;
}

.header-search-drop {
  max-width: 100%;
  box-sizing: border-box;
}

.slick-list {
  overflow: hidden;
}

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

.slider_wrapper .main_slider li.main-slide {
  width: 100%;
  height: 600px;
  display: inline-block;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}

.professor-info img,
.intro-school-slider img {
  max-width: 100%;
  height: auto;
}

.cs_info table {
  width: 100%;
  table-layout: fixed;
  word-break: keep-all;
}

.player-wrap {
  padding-left: 12px;
  padding-right: 12px;
  box-sizing: border-box;
}

.full_banner.banner-study-guide {
  display: block;
}

.popup_layer {
  position: absolute;
  z-index: 20000;
  background: #d9edf7;
  border-radius: 5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.popup_layer.is-center {
  left: 50%;
  transform: translateX(-50%);
}

.popup_layer_con {
  padding: 10px;
  line-height: 200%;
  font-size: 13px;
  overflow: auto;
  box-sizing: border-box;
}

.popup_layer_footer {
  padding: 10px 0;
  background: #6400ff;
  color: #fff;
  text-align: right;
  border-radius: 0 0 5px 5px;
}

.popup_layer_footer button {
  margin-right: 10px;
  padding: 5px 10px;
  border: 0;
  background: #46019e;
  color: #fff;
  border-radius: 3px;
  cursor: pointer;
}

@media (max-width: 767px) {
  .popup_layer,
  .popup_layer.is-center {
    position: fixed;
    left: 50% !important;
    right: auto;
    transform: translateX(-50%);
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
  }

  .popup_layer_con {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: 60vh;
  }
}

@media (max-width: 1199px) {
  .sch-container.sch-wrapper,
  .player-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 992px) {
  .display-percentage {
    font-size: 42px;
    line-height: 1.2;
  }
}

@media (max-width: 767px) {
  .sch-container.sch-wrapper {
    padding-left: 8px;
    padding-right: 8px;
  }

  .sch-container.sch-wrapper > .row {
    margin-left: -8px;
    margin-right: -8px;
  }

  .sch-container.sch-wrapper > .row > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
  }

  .slider_wrapper .slider_desc {
    font-size: 26px;
    padding: 20% calc(8% + 40px);
  }

  .header-search-drop {
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
  }

  .header-top-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px 10px;
    height: auto !important;
    line-height: 1.4 !important;
    padding: 6px 0;
  }

  .header-top-menu.top-left {
    justify-content: flex-start;
  }

  .navbar-brand.navbar-logo {
    max-width: none;
    font-size: 16px;
    white-space: normal;
  }

  select.change_home {
    margin-top: 8px;
  }

  .professor-info {
    margin-top: 40px;
  }

  .professor-info h2,
  .professor-info p,
  .professor-info .profile_pic {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .sch-intro .title,
  .sch-intro .desc,
  .sch-intro .link {
    display: block;
    width: 100%;
    padding: 12px 10px;
  }

  .sch-intro .title {
    font-size: 18px;
  }

  .main_bottom {
    min-height: 280px;
    padding-top: 56%;
  }

  .cs_info .col-md-4,
  .cs_info .col-sm-4 {
    width: 100%;
    margin-bottom: 16px;
  }

  footer .copyright span {
    display: block;
    margin: 4px 0;
  }

  .access {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }

  .access .form-horizontal .control-label {
    text-align: left;
    margin-bottom: 4px;
  }

  .access .col-lg-4,
  .access .col-lg-7,
  .access .col-sm-2,
  .access .col-sm-6,
  .access .col-sm-offset-3,
  .access .col-sm-offset-1 {
    width: 100%;
    margin-left: 0;
    float: none;
  }
}

@media (max-width: 480px) {
  .display-percentage {
    font-size: 32px;
  }
}
