hr:not([size]) {
  height: 0;
}

@media (min-width: 1199px) {
  .menu-active .offcanvas-menu-wrapper {
    display: none;
  }
  .language-modal-box {
    display: none;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1160px;
  }
  .custom-snackbar-success {
    min-width: 513px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1160px;
  }
}

@media (min-width: 1920px) {
  .container {
    max-width: 1160px;
  }
}

.mk-page-loader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgb(255 255 255 / 98%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  .mk-page-loader-wrapper {
    text-align: center;
    h1 {
      margin: 10px 0 0;
      font-size: 14px;
    }
  }
}

// Offcanvas scrollbar
.offcanvas-body {
  &::-webkit-scrollbar {
    background-color: var(--#{$variable-prefix}input-floating-border);
    border-radius: calc(0.5rem - 1px);
  }
  &::-webkit-scrollbar-thumb {
    border: 1px solid var(--#{$variable-prefix}input-floating-border);
  }
}

.offcanvas-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: var(--#{$variable-prefix}background-white);
  &.show {
    opacity: 0.3;
  }
}

.bg-light-gray {
  background: var(--#{$variable-prefix}light-gray-background);
}

.btn {
  &.disabled,
  &:disabled {
    &.btn-reg-closed {
      color: #da7444;
      background-color: #ffeded;
      border-color: #ffeded;
      opacity: 1;
    }
    &.btn-coming-soon {
      color: #6f75bc;
      background-color: #f0f1ff;
      border-color: #f0f1ff;
      opacity: 1;
    }
    &.btn-sold-out {
      color: #8d8d96;
      background-color: #f4f4f4;
      border-color: #f4f4f4;
      opacity: 1;
    }
  }
}

.search-wrapper {
  width: 285px;
  @media (max-width: 1299px) {
    width: 250px;
  }
  .search-icon {
    display: flex;
  }
  & > * {
    width: 100%;
  }
  .custom-search-input {
    border-color: #f5f5f6;
  }
}

// Header background
.bg-dusty-teal {
  .top-header-wrapper,
  .course-inner-header {
    background-color: #459384;
  }
}

.bg-sundown {
  .navbar-student-landing {
    background-color: #f4b4b4;
  }
}

.navbar-wrapper {
  .user-profile {
    text-transform: uppercase;
    cursor: pointer;

    & ~ .dropdown-menu .dropdown-divider {
      width: calc(100% - 33px);
      margin-left: auto;
    }
  }
}

.nav-link {
  cursor: pointer;
}

.dashboard-wrapper {
  min-height: calc(100vh - 167px);
  background: var(--#{$variable-prefix}light-gray-background);
}

.lang-dropdown-wrapper {
  .dropdown-menu {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }
  &.dropdown-select {
    .flagicon-label {
      padding: 5px 34px 5px 10px;
      font-size: 0.75rem;
      background: var(--#{$variable-prefix}light-gray-background);
      border-radius: 4px;
      .flagicon {
        width: 15px;
        line-height: 0;
      }
    }
    .caret-icon {
      right: 12px;
      transform: translateY(-50%) rotate(90deg) scale(0.7);
    }
    &.lang-dropdown-plain-wrapper {
      margin-right: -6px;
      .flagicon-label {
        padding: 5px;
        color: inherit;
        background: transparent;
        border-radius: 15px;
      }
      .caret-icon {
        right: 6px;
        color: inherit;
      }
      .leading-icon {
        margin: -8px;
        padding: 0 18px 0 0;
        background: transparent;
        &:hover,
        &:focus {
          border-color: #c6c8de;
        }
      }
      .dropdown-item {
        padding: 10px 5px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        svg {
          width: 14px;
          height: 14px;
        }
      }
      &.show {
        .leading-icon {
          padding: 0 18px 0 0;
          background: transparent;
          border-color: #c6c8de;
          &:hover,
          &:focus {
            border-color: #c6c8de;
          }
        }
      }
    }
  }
}

.course-reminder-modal {
  padding: 10px;
  // border: 2px solid rgba(71, 75, 137, 0.4);
  border-radius: 0;
  .course-reminder-content {
    padding: 40px 30px;
    color: var(--#{$database-prefix}top-header-tc);
    background: var(--#{$database-prefix}top-header-bg);
    .modal-title {
      max-width: 270px;
      font-size: 13px;
      letter-spacing: 0;
      color: var(--#{$database-prefix}top-header-tc);
    }
    p {
      margin-bottom: 20px;
      font-size: 11px;
      letter-spacing: 0;
      color: inherit;
      &:last-child {
        margin-bottom: 0;
      }
    }
    img {
      max-width: 100%;
    }
  }
}

.mk-gap-28px {
  gap: 28px;
}

.offcanvas-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: var(--#{$variable-prefix}background-white);
  &.show {
    opacity: 0.5;
  }
  &.hide {
    opacity: 0;
  }
}

.mk-secondary-header-custom {
  display: inline-block;
  vertical-align: middle;
  width: 100%;
  padding: 0;
}

.is-container.container {
  width: initial;
}

.mk-show-dot {
  position: relative;
  &.mk-bell-icon {
    .mk-notification-dot {
      top: 0;
      right: 0;
    }
  }
  .mk-notification-dot {
    position: absolute;
    top: 0;
    right: -3px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8px;
    aspect-ratio: 1;
    font-size: 0.625rem;
    font-weight: 700;
    background-color: var(--#{$variable-prefix}subscription-alert-color);
    color: #fff;
    border-radius: 50px;
    aspect-ratio: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 2px solid var(--#{$database-prefix}main-header-bg);
  }
}
.custompage-box {
  .slick-prev:before {
    content: none;
  }
  .slick-next:before {
    content: none;
  }
}

.sidebar-toggle,
.offcanvas-menu-close {
  cursor: pointer;
}

.cursor-pointer {
  cursor: pointer;
}

.start-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  p {
    flex: inherit !important;
    @media (max-width: 767px) {
      color: #f8c068 !important;
    }
  }
}

.event-lecture-wrap {
  display: flex;
  flex: 1 1;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  @media (max-width: 767px) {
    margin: 0 !important;
    display: block;
  }
  .title {
    max-width: 315px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    @media (max-width: 767px) {
      max-width: 100%;
    }
  }
  h1 {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--bs-eerie-black);
    @media (max-width: 767px) {
      margin-bottom: 6px;
    }
  }
}

.lang-modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: space-between;
    border-bottom: 1px solid var(--#{$variable-prefix}dropdown-select-border);
    margin: 4px 0;
    padding: 14px 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--#{$variable-prefix}dark-text-color);
    text-decoration: none;

    cursor: pointer;
    &:last-child {
      margin: 0;
      border: 0;
    }
  }
}

.lang-modal-link {
  padding: 0;
  margin: 14px 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--#{$variable-prefix}dark-text-color);
  text-decoration: none;
  padding-right: 1rem;
  cursor: pointer;
  .mk-dropdown-heading {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }
}

.language-modal-box {
  .modal-content {
    padding: 0 1rem;
    border: 1px solid var(--#{$variable-prefix}dropdown-select-border);
  }
  .modal-body {
    text-align: left;
  }
}
@media (max-width: 1199px) {
  .top-header-wrapper {
    .mk-gap-28px {
      gap: 14px;
    }
  }
}

@media (max-width: 1199px) {
  .main-navigation {
    display: none !important;
  }
  .mobile-view-icon,
  .cart-view-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    svg {
      width: 16px;
      height: 16px;
    }
  }
  .login-btn {
    display: none;
  }
  .res-notification-link {
    display: inline-flex;
    align-items: center;
    svg {
      color: #6d6d71;
    }
    &.mk-show-dot {
      .mk-notification-dot {
        top: -2px;
        right: inherit;
        left: 6px;
      }
    }
  }

  .res-notification {
    padding: 1rem 0;
    width: 100%;
    .offcanvas-title {
      font-size: 12px;
      color: var(--#{$variable-prefix}dark-text-color);
      opacity: 0.6;
    }

    .offcanvas-header {
      padding: 1.25rem 1.388rem 0;
    }
    .offcanvas-body {
      padding: 1.25rem 1.388rem;
    }
    .offcanvas-footer {
      display: none;
    }
  }

  .menu-list-wrapper {
    .mk-list-with-iconmenu {
      margin: 0 !important;
    }
  }

  .mk-dropdown-lang {
    width: 100%;
  }
  .dropdown-divider {
    border-color: var(--#{$variable-prefix}mk-border-line);
  }
  .custom-menu-list-wrapper {
    height: calc(100vh - 108px);
    position: relative;
    .dropdown-menu {
      max-height: inherit !important;
    }
    .offcanvas-menu-list-wrap {
      overflow-y: auto;
      overflow-x: hidden;
      max-height: calc(100vh - 200px);
      padding-right: 10px;
    }
    ul {
      li {
        &.active {
          a {
            background: #f8f9fb;
          }
        }
        a {
          margin: 0;
          padding: 15px 20px;
          cursor: pointer;
        }
      }
      svg {
        width: 15px;
        height: 15px;
        aspect-ratio: 1;
      }
    }
    padding: 0 20px;
    // overflow-y: auto;
    // min-height: 460px;
    // max-height: 460px;
    .btn-explore {
      font-size: 14px;
    }
    .dropdown-select {
      .nav-link {
        position: relative;
        &:hover {
          color: var(--#{$variable-prefix}dark-text-color);
        }
        .caret-icon {
          right: 0;
        }
      }
      .dropdown-menu {
        position: static !important;
        transform: none !important;
        border: 0;
        padding: 0;
        border-radius: 0;
        ul {
          border-bottom: 1px solid var(--#{$variable-prefix}mk-border-line);
          padding-bottom: 10px;
        }
        .dropdown-item {
          display: block;
          padding: 6px 0;
          margin: 5px 0;
          font-weight: 700;
          color: var(--bs-dark-text-color);
          text-decoration: none;
          &:hover {
            background-color: transparent;
          }
        }
      }
    }
    ul {
      li {
        margin: 10px 0;
        a {
          font-size: 14px !important;
        }
      }
    }
    .mk-bottom-action-wrapper {
      .btn {
        padding: 0.825rem 1.25rem;
        font-weight: 700;
      }
    }
  }

  .mk-dropdown-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .mk-offcanvas-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 20px;
  }
  .mk-list-with-socialicons {
    li {
      a {
        color: #76777a !important;
        svg {
          width: 20px;
          height: 20px;
        }
      }
    }
  }
}

@media (min-width: 992px) {
  .res-add-cart-block {
    display: none;
  }
  .res-add-cart-detail-block {
    display: none;
  }
  .res-mobile-icons {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .res-course-available-dates {
    &.course-available-dates {
      .desc-carousel {
        &.buttons-group {
          min-height: auto;
        }
      }
    }
  }
  .res-course-inner-heading {
    .res-order-1 {
      order: 1;
      margin-bottom: 20px;
    }
    .res-order-2 {
      order: 2;
    }
  }

  .res-add-cart-block {
    display: block;
    .desc-carousel {
      display: none;
    }
    .addtocart-bottom-info {
      display: none;
    }
    .addtocart-block-wrapper {
      position: inherit;
      margin: 0;
      width: 100%;
      border: 0;
      border-radius: 0;
      box-shadow: none;
      .img-carousel {
        border-radius: 0;
        img {
          height: 211px;
        }
      }
    }
  }

  .res-add-cart-detail-block {
    display: block;
    margin-bottom: 20px;
    .addtocart-block-wrapper {
      position: inherit;
      margin: 0;
      width: 100%;
      border: 0;
      border-radius: 0;
      box-shadow: none;
      .carousel-block {
        .desc-carousel {
          padding: 0 0 1rem;
          border: none;
          border-bottom: 1px solid
            var(--#{$variable-prefix}light-gray-background);
        }
      }
      .img-carousel {
        display: none;
      }
      .course-inclusion {
        h1 {
          font-size: 14px;
          margin-bottom: 1rem;
        }
        ul {
          li {
            margin-bottom: 1rem !important;
            gap: 1rem !important;
            &:last-child {
              margin-bottom: 0 !important;
            }
            svg {
              width: 14px;
              height: 14px;
            }
            span {
              font-size: 14px;
              font-weight: 600;
            }
          }
        }
      }
      .rating-cart-wrapper {
        .btn {
          padding: 1rem 1.25rem;
        }
      }
    }
  }

  .course-inner-header {
    padding: 20px 15px;
    .rating-wrapper {
      display: flex !important;
      margin-top: 1rem !important;
      @media (max-width: 575px) {
        display: block !important;
        .icon-teacher-expiry {
          margin-bottom: 15px !important;
        }
        svg {
          width: 14px;
          height: 14px;
        }
      }
    }
  }

  .course-inner-divison {
    padding: 0 12px;
    display: block !important;
    margin-bottom: 20px;
  }

  .mobile-add-cart-block {
    display: none;
  }

  .contact-us-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 2rem;
    form {
      width: 100%;
      .form-floating {
        text-align: left;
      }
    }
  }
  .footer-wrapper {
    .copyright-flex-wrapper {
      padding: 1.5rem 0 1rem;
    }
  }
  .footer-payment-options {
    margin-bottom: 30px;
  }
}
@media (min-width: 768px) {
  .lg-short-info-none {
    display: none;
  }
}

@media (max-width: 991px) {
  .res-nav-item-hide {
    display: none;
  }
}

@media (max-width: 767px) {
  .custom-menu-list-wrapper {
    height: calc(100vh - 60px);
    .offcanvas-menu-list-wrap {
      max-height: calc(100vh - 130px);
    }
  }
  .res-message-chat {
    width: 100% !important;
  }
  .event-schedule-wrapper {
    .event-schedule-content {
      display: flex !important;
      align-items: flex-start !important;
    }
    & > {
      span {
        display: none;
      }
    }
  }
  .sm-short-info-none {
    display: none !important;
  }

  .lg-short-info-none {
    display: flex;
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 1rem;
  }

  .res-content-order {
    display: flex;
    flex-direction: column;
    .courses-time-dropdown {
      position: relative;
      margin: 0;
    }
    .dropdown-pos-1 {
      order: 1;
      @media (max-width: 767px) {
        margin-bottom: 1rem;
      }
    }
    .courses-pos-2 {
      order: 2;
    }
    .tab-content {
      order: 3;
      margin-top: 0 !important;
    }
  }

  .mk-res-bundle-courses {
    display: flex;
    flex-direction: column;
    padding: 10px 6px !important;
    &.carousel-course-bundle {
      .course-block {
        width: 100%;
        display: flex;
        border: 2px solid var(--#{$variable-prefix}light-gray-background);
        padding: 12px 10px !important;
        .img-carousel {
          width: 60px;
          height: 34px;
          border-radius: 6px;
        }
        .desc-carousel {
          flex: 1;
          border: 0;
          padding: 0 12px;
          h1,
          p {
            min-height: auto !important;
          }
        }
      }
    }
  }

  .res-bundle-carousel {
    .slick-list {
      width: 100%;
      height: auto !important;
      overflow: inherit !important;
    }
    .slick-track {
      width: 100% !important;
    }
    .slick-slide {
      height: inherit;
      float: none;

      & > {
        div {
          width: 100%;
        }
      }
    }
    .carousel-block {
      width: 100% !important;
      display: flex;
      border: 2px solid var(--#{$variable-prefix}light-gray-background);
      padding: 12px 10px !important;
      .desc-carousel {
        flex: 1 1;
        border: 0;
        padding: 0 12px;
        & > {
          p {
            min-height: inherit;
            margin: 0 0 10px;
          }
        }
      }
      .img-carousel {
        width: 60px;
        height: 34px;
        border-radius: 6px;
      }
    }
  }

  .name-holder-input {
    height: 40px !important;
  }
}
@media (max-width: 767px) {
  .course-order-1 {
    order: 1;
    margin: 0.5rem 0 1rem;
  }
  .course-order-2 {
    order: 2;
  }
  .modal.add_address_form#details-pps {
    .pps-details-sec {
      span.error-msg {
        bottom: 0 !important;
      }
    }
  }
}

@media (max-width: 575px) {
  .courses-navbar {
    .session_basic_time_zone {
      width: 100% !important;
    }
  }
  .icon-teacher-expiry {
    gap: 0.6rem !important;
  }
  .available-dates-info {
    .text-end {
      .btn {
        width: 100%;
        padding: 1rem;
        margin: 20px 0 0;
      }
    }
  }
}

.cross-btn-wrap {
  position: relative;
  padding-right: 30px;
}
