@media (max-width: 1500px) {
  div#mini-panel-information_blocks .panel-col > div:first-child .pane-node {
    max-width: 25rem;
    width: 100%;
  }
}

@media (max-width: 1300px) {
  .page-taxonomy-term- .course-item {
    flex: 0 0 22.5%;
  }
  .main-body-content {
    padding-left: 120px;
    padding-right: 120px;
  }
  .front-page-video-text {
    padding: 8.5rem 1rem 7rem;
  }
  .custom-text {
    padding: 0 5rem;
  }
  .custom-text .pane-content a {
    margin-top: 3rem;
  }
  .pane-education-provider-block {
    height: 600px;
  }
  .pane-education-provider-block .panel-pane {
    max-width: 45rem;
    padding: 3rem;
  }
  .pane-education-provider-block .panel-pane h2 {
    margin-bottom: 1rem;
    font-size: 3;
  }
  .pane-education-provider-block .panel-pane p {
    font-size: 1.5rem;
  }
  div#mini-panel-information_blocks .panel-col > div:first-child {
    padding: 8rem 0 5rem;
  }
  div#mini-panel-information_blocks .panel-col > div:first-child .pane-node {
    margin: 1rem;
    min-height: inherit;
    padding: 2rem 1rem;
  }
  .newsletter-content {
    padding: 10rem 2rem;
  }
  .contact-box {
    padding: 1.5rem;
    flex: 0 0 30%;
  }
  .contact-icon {
    margin-bottom: 1rem;
  }
  .contact-box a,
  .contact-box p {
    font-size: 1.2rem;
  }
  .footer-message {
    padding-bottom: 2rem;
  }
  .fix-menu-banner {
    padding: 5rem;
  }
  button.popup-side-toggle {
    max-width: 150px;
    height: 150px;
    padding: 55px;
  }
  .popup-side-menu nav > ul.menu.nav > li > a .full-width-menu {
    right: 6rem;
    top: 3.5rem;
  }
  .popup-side-menu nav ul.menu.nav li a .full-width-menu p img {
    width: 90%;
    border: 1rem solid #fff;
    box-shadow: 0 0 0px 1.5rem #ffffff2c, 0 0 0px 4rem #ffffff18,
      0 0 0px 7rem #ffffff14;
  }
  .popup-side-menu nav {
    margin-top: 8%;
  }
  .popup-side-menu nav ul.menu.nav .menu-attach-block-wrapper {
    max-width: 450px;
    left: 20%;
    top: 20%;
  }
  .popup-side-menu nav ul.menu.nav > li {
    max-width: 20%;
  }
  #popup-header .navbar-header,
  .inner_page-main header .navbar-header {
    margin-left: 120px;
  }
  .view.view-blog > .view-content .views-row:not(:first-child) {
    flex: 0 0 33.33333% !important;
    flex-basis: 33.33333% !important;
    max-width: 33.33333% !important;
  }
  .view.view-blog > .view-content .views-row:first-child,
  .view.view-blog > .view-content .views-row.views-row-first {
    flex: 0 0 100% !important;
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
  .view.view-blog .views-row:first-child .blog-teaser,
  .view.view-blog .views-row.views-row-first .blog-teaser {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
  }
  .view.view-blog .views-row:first-child .blog-teaser .blog-image,
  .view.view-blog .views-row.views-row-first .blog-teaser .blog-image,
  .view.view-blog .views-row:first-child .blog-teaser .blog-teaser-content,
  .view.view-blog .views-row.views-row-first .blog-teaser .blog-teaser-content {
    flex: 0 0 50% !important;
    flex-basis: 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }
  .teaser-info {
    flex-direction: column !important;
    align-items: baseline !important;
    gap: 0.5rem;
  }
  .view.view-blog .views-row .blog-teaser .blog-teaser-content .blog-title {
    font-size: 2.1rem;
  }
  .home-menu nav ul.menu.nav .menu-attach-block-wrapper {
    width: 225%;
  }
  .course-detail-title {
    width: 45%;
    padding: 1rem 0;
  }
  .course-detail-title h2.course-title {
    margin-bottom: 2rem;
  }
  .course-detail-body .field-type-text-with-summary {
    margin-top: 5rem;
  }
  .dashboard-tabs-content .card {
    max-width: 310px;
  }
  .page-checkout
    form#commerce-checkout-form-checkout
    > div
    .commerce-coupon-pane-wrapper
    .panel-body
    button {
    padding: 0rem 2rem;
    font-weight: 500;
  }
  .popup-side-menu .contact-main {
    margin-top: 5rem;
  }
}

@media (max-width: 1200px) {
  .home-menu nav ul.menu.nav .menu-attach-block-wrapper {
    width: 170%;
  }
  .featured-course {
    flex-basis: 48.5%;
  }
}

@media (max-width: 1100px) {
  table {
    min-width: 60rem;
  }
  .fix-menu-banner {
    width: 50%;
  }
  .left-content,
  .right-content {
    flex-basis: 50%;
  }
  .page-checkout
    form#commerce-checkout-form-checkout
    > div
    .commerce-coupon-pane-wrapper,
  .page-checkout
    form#commerce-checkout-form-checkout
    > div
    .customer-profile-billing-pane-wrapper,
  .page-checkout form#commerce-checkout-form-checkout > div .cart_contents {
    flex-basis: 100%;
  }
  .page-checkout
    form#commerce-checkout-form-checkout
    > div
    .customer-profile-billing-pane-wrapper
    fieldset {
    padding: 0;
    margin-top: 5rem;
  }
  .page-checkout
    form#commerce-checkout-form-checkout
    > div
    .commerce-coupon-pane-wrapper
    fieldset {
    padding: 0;
    margin-top: 2rem;
  }
  .page-checkout
    form#commerce-checkout-form-checkout
    > div
    .commerce-coupon-pane-wrapper
    .panel-body
    input {
    width: 100%;
  }
  .page-checkout form#commerce-checkout-form-review > div .checkout_review,
  fieldset.commerce_payment {
    flex-basis: 100%;
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .page-taxonomy-term- .course-item {
    flex: 0 0 30.1%;
    max-width: 30.1%;
  }
  body {
    padding-top: 90px !important;
  }
  body.toolbar-fixed {
    padding-top: calc(90px + var(--drupal-displace-offset-top, 39px)) !important;
  }
  .main-body-content {
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 5rem;
  }
  .main-content {
    display: block;
  }
  .front-page-header {
    height: 9rem;
    padding: 0 8rem 0 3rem;
    background: radial-gradient(
      50% 184.32% at 50% 50.42%,
      #303c48 0%,
      #20292c 100%
    );
  }
  .front.not-logged-in .darkHeader {
    background: radial-gradient(
      50% 184.32% at 50% 50.42%,
      #303c48 0%,
      #20292c 100%
    );
  }
  .front .left-content {
    display: none;
  }
  .inner_page-main header,
  .inner_page-main header#navbar,
  header#navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 70px !important;
    padding: 0 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: radial-gradient(
      50% 184.32% at 50% 50.42%,
      #303c48 0%,
      #20292c 100%
    ) !important;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15) !important;
    z-index: 999 !important;
    margin: 0 !important;
  }
  body.toolbar-fixed header#navbar,
  body.toolbar-fixed .inner_page-main header,
  body.toolbar-horizontal header#navbar,
  body.toolbar-horizontal .inner_page-main header {
    top: var(--drupal-displace-offset-top, 39px) !important;
  }
  body.toolbar-fixed.toolbar-tray-open header#navbar,
  body.toolbar-fixed.toolbar-tray-open .inner_page-main header,
  body.toolbar-horizontal.toolbar-tray-open header#navbar,
  body.toolbar-horizontal.toolbar-tray-open .inner_page-main header {
    top: var(--drupal-displace-offset-top, 79px) !important;
  }
  .inner_page-main header .navbar-header,
  #popup-header .navbar-header {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 100% !important;
    padding: 0 !important;
  }
  .inner_page-main header .navbar-header a.logo {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .inner_page-main header .navbar-header a.logo img {
    max-width: 185px !important;
    height: auto !important;
    display: block !important;
  }
  button.popup-side-toggle {
    display: none !important;
  }
  .popup-side-menu.open {
    display: none;
  }
  .mean-container .mean-bar,
  .mean-bar {
    background: transparent !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    float: none !important;
    height: 70px !important;
    z-index: 1000 !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.toolbar-fixed .mean-container .mean-bar,
  body.toolbar-fixed .mean-bar,
  body.toolbar-horizontal .mean-container .mean-bar,
  body.toolbar-horizontal .mean-bar {
    top: var(--drupal-displace-offset-top, 39px) !important;
  }
  body.toolbar-fixed.toolbar-tray-open .mean-container .mean-bar,
  body.toolbar-fixed.toolbar-tray-open .mean-bar,
  body.toolbar-horizontal.toolbar-tray-open .mean-container .mean-bar,
  body.toolbar-horizontal.toolbar-tray-open .mean-bar {
    top: var(--drupal-displace-offset-top, 79px) !important;
  }
  a.meanmenu-reveal {
    pointer-events: auto !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 1.5rem !important;
    z-index: 1001 !important;
    border: 0 !important;
    width: 32px !important;
    height: 20px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }
  a.meanmenu-reveal.meanclose {
    background: transparent !important;
    font-weight: 300 !important;
    font-size: 2.2rem !important;
    font-family: "Karla", sans-serif !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 20px !important;
  }
  a.meanmenu-reveal span {
    width: 30px !important;
    height: 2px !important;
    display: block !important;
    background-color: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 1px !important;
  }
  a.meanmenu-reveal span:last-child {
    width: 20px !important;
    align-self: flex-end !important;
    margin: 0 !important;
    float: none !important;
  }
  nav.mean-nav,
  nav.mean-nav * {
    pointer-events: auto !important;
  }
  .block-ksc-commerce-cart-status-block {
    display: flex !important;
    align-items: center !important;
    margin: 0 52px 0 auto !important;
    padding: 0 !important;
    height: 100% !important;
    gap: 15px !important;
  }
  .front .block-ksc-commerce-cart-status-block {
    margin-right: 52px !important;
  }
  .block-ksc-commerce-cart-status-block span.user-realname,
  .block-ksc-commerce-cart-status-block span.user-rewards,
  .block-ksc-commerce-cart-status-block span.ce-cart {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 24px !important;
    width: 24px !important;
  }
  .block-ksc-commerce-cart-status-block span.user-realname a,
  .block-ksc-commerce-cart-status-block span.user-rewards a,
  .block-ksc-commerce-cart-status-block span.ce-cart a {
    font-size: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    position: relative !important;
    text-decoration: none !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
  }
  .block-ksc-commerce-cart-status-block span.user-realname a:before,
  .block-ksc-commerce-cart-status-block span.user-rewards a:before,
  .block-ksc-commerce-cart-status-block span.ce-cart a:before {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-size: 19px !important;
    line-height: 1 !important;
    color: #ffffff !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }
  .block-ksc-commerce-cart-status-block span.user-realname a:before {
    content: "\f007" !important;
  }
  .block-ksc-commerce-cart-status-block span.user-rewards a:before {
    content: "\f06b" !important;
  }
  .block-ksc-commerce-cart-status-block span.ce-cart a:before {
    content: "\f291" !important;
  }
  .block-ksc-commerce-cart-status-block .ce-cart a .cart-tag,
  .block-ksc-commerce-cart-status-block .user-rewards a .cart-reward-icon {
    position: absolute !important;
    background: #d67d80 !important;
    right: -8px !important;
    top: -6px !important;
    width: 17px !important;
    height: 17px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50px !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  nav.mean-nav ul {
    display: none;
    position: fixed;
    background: radial-gradient(
      50% 184.32% at 50% 50.42%,
      #303c48 0%,
      #20292c 100%
    );
    top: 0;
    bottom: 0;
    overflow: auto;
    padding: 0 1rem !important;
    padding-top: 9rem !important;
    max-width: 35rem !important;
    right: 0;
  }
  .mean-container .mean-nav ul[style="display: block;"]:before {
    content: "";
    position: fixed;
    left: 0px;
    right: 370px;
    top: 0;
    bottom: 0;
    background: #00000070;
    z-index: 0;
    transition: 0.3s ease;
  }
  .mean-container .mean-nav>ul>li,
  .mean-container .mean-nav ul>li {
    position: relative;
  }

  .mean-container .mean-nav>ul>li a,
  .mean-container .mean-nav ul>li a {
    border-top: 0;
    border-bottom: 1px solid #ffffff1a;
    font-size: 1.8rem;
    opacity: 0.8;
    padding: 1.5rem;
    font-weight: 400;
    width: -webkit-fill-available;
  }

  .mean-container .mean-nav>ul>li>a[data-block-id="views|states_link_block-block"],
  .mean-container .mean-nav ul>li>a[data-block-id="views|states_link_block-block"],
  .mean-container .mean-nav a[data-block-id="views|states_link_block-block"] {
    position: absolute;
    width: 53px;
    height: 53px;
    right: 0px;
    top: 0px;
    line-height: 0;
    box-sizing: border-box;
    font-size: 0 !important;
    border: 0;
    border-left: 1px solid #384145;
  }

  .mean-container .mean-nav>ul>li>a[data-block-id="views|states_link_block-block"].js-open::after,
  .mean-container .mean-nav ul>li>a[data-block-id="views|states_link_block-block"].js-open::after,
  .mean-container .mean-nav a[data-block-id="views|states_link_block-block"].js-open::after {
    height: 0;
  }

  .mean-container .mean-nav>ul>li>a[data-block-id="views|states_link_block-block"]:before,
  .mean-container .mean-nav>ul>li>a[data-block-id="views|states_link_block-block"]::after,
  .mean-container .mean-nav a[data-block-id="views|states_link_block-block"]:before,
  .mean-container .mean-nav a[data-block-id="views|states_link_block-block"]::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
  }

  .mean-container .mean-nav>ul>li>a[data-block-id="views|states_link_block-block"]:before,
  .mean-container .mean-nav a[data-block-id="views|states_link_block-block"]:before {
    width: 25px;
    height: 2px;
  }

  .mean-container .mean-nav>ul>li>a[data-block-id="views|states_link_block-block"]::after,
  .mean-container .mean-nav a[data-block-id="views|states_link_block-block"]::after {
    width: 2px;
    height: 25px;
    transition: .3s ease;
  }

  .mean-container .mean-nav>ul>li>div,
  .mean-container .mean-nav ul>li>div {
    display: none;
    overflow: hidden;
    padding: 0 10px;
    background-color: #00000059;
  }

  .mean-container .mean-nav ul li a:hover {
    opacity: 1;
  }
  .mean-container .mean-nav ul li img,
  .mean-container .mean-nav ul li a > div > p {
    display: none;
  }
  a.meanmenu-reveal.meanclose {
    background: #00000038;
    font-weight: 300;
    font-size: 3rem !important;
    font-family: "Karla";
  }
  div#node-29 {
    margin-top: 9rem;
  }
  .pane-education-provider-block .panel-pane {
    left: 50%;
    transform: translateX(-50%);
    max-width: 65rem;
  }
  div#mini-panel-information_blocks .panel-col > div:first-child .pane-node {
    max-width: 44rem;
  }
  .pane-education-provider-block {
    height: 500px;
  }
  div#mini-panel-information_blocks .panel-col > div:first-child {
    padding-top: 15rem;
  }
  button.popup-side-toggle {
    display: none;
  }
  .inner_page-main header {
    background: radial-gradient(
      50% 184.32% at 50% 50.42%,
      #303c48 0%,
      #20292c 100%
    );
    height: 9rem;
  }
  .inner_page-main header .navbar-header {
    margin-left: 0rem;
    margin-right: 0rem;
  }
  .page-courses {
    background-position: bottom right;
  }
  .course-detail-title {
    width: 100%;
    padding-top: 56rem;
  }
  .course-detail-body .full-body .media_embed {
    width: 100%;
  }
  .inner_page-main header#navbar.darkHeader {
    background: radial-gradient(
      50% 184.32% at 50% 50.42%,
      #303c48 0%,
      #20292c 100%
    );
    box-shadow: 0px 4px 4px rgb(0 0 0 / 10%);
  }
  .course-detail-title h2.course-title {
    margin-bottom: 1rem;
    font-size: 3rem;
  }
  .course-detail-title .field-name-field-course-type,
  .course-detail-title .field-name-field-state,
  .course-detail-title .field-name-field-instructor-s- {
    font-size: 1.5rem;
  }
  .page-sale-report .views-exposed-form .views-exposed-widgets > div,
  .page-marketing-report-new-detail
    .advanced-sale-report
    .views-exposed-form
    .views-exposed-widgets
    > div,
  .page-marketing-report-detail
    .advanced-sale-report
    .views-exposed-form
    .views-exposed-widgets
    > div {
    flex-basis: 50%;
  }
  .pane-report-panel-pane-admin-report .views-exposed-widgets {
    display: flex;
    flex-wrap: wrap;
  }
  .pane-report-panel-pane-admin-report .views-exposed-widgets > * {
    flex-basis: 100%;
  }
  .view.view-blog .views-row-first .blog-teaser {
    align-items: inherit;
  }
  .view.view-blog .views-row .blog-teaser .blog-teaser-content .blog-title {
    font-size: 2rem;
  }
  .node-blog .info-content .blog-detail-image {
    width: 100%;
    position: static;
    padding-right: 0;
    margin-bottom: 0;
  }
  .node-blog .info-content .blog-detail-content {
    flex-basis: 100% !important;
    max-width: 100% !important;
    margin-bottom: 4rem;
  }
  .node-blog .blog-detail-content .field-items {
    width: 100%;
  }
  .node-blog .info-content {
    flex-direction: column;
  }
  .page-checkout
    form#commerce-checkout-form-review
    > div
    .checkout_review
    table
    tbody
    > .pane-title
    td,
  table.checkout-review .pane-data-full,
  fieldset.commerce_payment,
  .checkout-buttons {
    padding-left: 0;
    padding-right: 0;
  }
  body:not(.front).node-type-video .node-video,
  body:not(.front).page-node-type-video .node-video {
    display: block;
  }
  body:not(.front).node-type-video .node-video .info-video,
  body:not(.front).node-type-video .node-video .info-content,
  body:not(.front).page-node-type-video .node-video .info-video,
  body:not(.front).page-node-type-video .node-video .info-content,
  body:not(.front).node-type-video .node-video .field-name-field-video-from-wistia-video,
  body:not(.front).node-type-video .node-video .field--name-field-video-from-wistia-video,
  body:not(.front).page-node-type-video .node-video .field-name-field-video-from-wistia-video,
  body:not(.front).page-node-type-video .node-video .field--name-field-video-from-wistia-video {
    flex-basis: 100%;
    max-width: 100%;
    width: 100%;
  }
  body:not(.front).node-type-video .node-video .info-video,
  body:not(.front).page-node-type-video .node-video .info-video,
  body:not(.front).node-type-video .node-video .field-name-field-video-from-wistia-video,
  body:not(.front).page-node-type-video .node-video .field--name-field-video-from-wistia-video {
    margin-bottom: 4rem;
  }
  .page-courses .view-courses .views-exposed-widgets,
  .page-courses .view-courses-by-states .views-exposed-widgets {
    flex-wrap: wrap;
  }

  .page-courses .view-courses-by-states .views-exposed-widgets div.views-widget-filter-field_ce_or_non_ce_value {
    flex: 0 0 50%;
    padding-left: 1rem;
  }

  .view-courses div#edit-field-state-tid-wrapper,
  .view-courses div.views-widget-filter-field_course_type_tid,
  .view-courses-by-states div#edit-field-state-tid-wrapper,
  .view-courses-by-states div.views-widget-filter-field_course_type_tid {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 2rem;
  }

  .page-courses .view-courses .view-filters div#edit-title-wrapper {
    max-width: 100%;
  }

  .view-courses div.views-widget-filter-field_ce_or_non_ce_value,
  .view-courses-by-states div.views-widget-filter-field_ce_or_non_ce_value {
    flex: 0 0 51%;
    margin-bottom: 13px;
  }

  .view-courses div.views-widget-filter-field_course_type_tid,
  .view-courses-by-states div.views-widget-filter-field_course_type_tid {
    padding-right: 0;
  }

  div.views-widget-filter-field_ce_or_non_ce_value .views-widget select {
    max-width: 100%;
  }
}

@media (max-width: 991px) {
  .view.view-blog .views-row-first .blog-teaser,
  .view.view-blog .views-row:first-child .blog-teaser,
  .view.view-blog > .view-content .views-row:first-child .blog-teaser,
  .view.view-blog > .view-content .views-row.views-row-first .blog-teaser {
    display: block !important;
    flex-direction: column !important;
  }
  .view.view-blog .views-row.views-row-first .blog-teaser .blog-image,
  .view.view-blog .views-row:first-child .blog-teaser .blog-image,
  .view.view-blog .views-row.views-row-first .blog-teaser .blog-teaser-content,
  .view.view-blog .views-row:first-child .blog-teaser .blog-teaser-content,
  .view.view-blog > .view-content .views-row.views-row-first .blog-teaser .blog-image,
  .view.view-blog > .view-content .views-row:first-child .blog-teaser .blog-image,
  .view.view-blog > .view-content .views-row.views-row-first .blog-teaser .blog-teaser-content,
  .view.view-blog > .view-content .views-row:first-child .blog-teaser .blog-teaser-content {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .view.view-blog > .view-content .views-row:not(:first-child) {
    flex: 0 0 50% !important;
    flex-basis: 50% !important;
    max-width: 50% !important;
  }
  .view.view-blog > .view-content .views-row.views-row-first,
  .view.view-blog > .view-content .views-row:first-child {
    flex: 0 0 100% !important;
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
  .block-commerce-checkout-progress {
    display: none;
  }
}

@media (max-width: 797px) {
  .featured-course {
    flex-basis: 100%;
  }
  .featured-course:first-child {
    margin-right: 0;
    margin-bottom: 2rem;
  }
}

@media (max-width: 800px) {
  .page-courses .view-courses .view-filters div#edit-title-wrapper,
  .page-courses .view-courses-by-states .view-filters div#edit-title-wrapper {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-taxonomy-term- .course-item {
    flex: 0 0 46%;
    max-width: 46%;
  }
  .main-body-content {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 5rem;
  }
  .front .container {
    max-width: 100% !important;
  }
  .featured-course {
    flex-basis: 100%;
  }
  .featured-course:first-child {
    margin-bottom: 3rem;
    margin-right: 0;
  }
  .course-detail-title {
    padding-top: 44rem;
  }
  .course-detail-title .field-name-field-course-type,
  .course-detail-title .field-name-field-state,
  .course-detail-title .field-name-field-instructor-s- {
    font-size: 1.5rem;
  }
  .course-detail-body p {
    font-size: 1.6rem;
  }
  .node-type-quiz ul.tabs--primary.nav.nav-tabs,
  .page-node-take ul.tabs--primary.nav.nav-tabs,
  .page-node-quiz-results ul.tabs--primary.nav.nav-tabs {
    flex-wrap: nowrap;
    white-space: nowrap;
    width: 100%;
    overflow-x: scroll;
  }
  ul.tabs--primary.nav.nav-tabs li a {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    margin-right: 0.6rem;
  }
  .page-node-take .inner_page-main,
  .page-node-quiz-results .inner_page-main {
    overflow-x: hidden;
  }
  .page-node-take #block-system-main,
  .page-node-quiz-results #block-system-main {
    padding-left: 0;
    padding-right: 0;
  }
  .answering-form .table tr td:first-child {
    width: 16px;
    padding-left: 0;
    padding-right: 0;
  }
  .answering-form .table {
    margin-bottom: 4rem;
  }
  .answering-form .table p {
    line-height: 2.8rem;
    font-size: 14px;
    line-height: 2.4rem;
  }
  .answering-form .form-actions .btn-default {
    padding: 2rem 3rem;
  }
  .page-node-quiz-results fieldset.form-wrapper .table-responsive,
  .page-route-entity-quiz-result-canonical fieldset.form-wrapper .table-responsive {
    overflow-x: auto;
  }
  .page-node-quiz-results fieldset.form-wrapper,
  .page-route-entity-quiz-result-canonical fieldset.form-wrapper {
    padding: 1.5rem 1rem 2.6rem 1rem;
  }
  .page-node-quiz-results div.quiz-report-score-container,
  .page-route-entity-quiz-result-canonical div.quiz-report-score-container {
    position: static;
    float: none;
    width: auto;
    display: inline-block;
    margin-top: 10px;
  }
  .page-node-quiz-results fieldset.form-wrapper .field-type-text-with-summary,
  .page-route-entity-quiz-result-canonical fieldset.form-wrapper .field--name-body,
  .page-route-entity-quiz-result-canonical fieldset.form-wrapper .field-type-text-with-summary {
    padding-right: 1rem;
  }
  .page-node-quiz-results
    fieldset.form-wrapper
    .table-responsive
    .sticky-header,
  .page-route-entity-quiz-result-canonical
    fieldset.form-wrapper
    .table-responsive
    .sticky-header {
    display: none;
  }
  .page-node-quiz-results fieldset.form-wrapper,
  .page-route-entity-quiz-result-canonical fieldset.form-wrapper {
    min-width: inherit;
  }
  .page-node-quiz-results fieldset.form-wrapper .table th,
  .page-route-entity-quiz-result-canonical fieldset.form-wrapper .table th {
    font-size: 1.6rem;
    font-weight: 400;
    white-space: nowrap;
  }
  .page-node-quiz-results fieldset.form-wrapper .table tr td:nth-child(2),
  .page-route-entity-quiz-result-canonical fieldset.form-wrapper .table tr td:nth-child(2) {
    white-space: nowrap;
  }
  .user-login-page form .form-actions button#edit-submit,
  .user-login-page form .form-actions a.btn-default {
    padding: 1.5rem 3rem 1.4rem;
  }
  .page-sale-report .views-exposed-form .views-exposed-widgets > div,
  .page-marketing-report-new-detail
    .advanced-sale-report
    .views-exposed-form
    .views-exposed-widgets
    > div,
  .page-marketing-report-detail
    .advanced-sale-report
    .views-exposed-form
    .views-exposed-widgets
    > div,
  .view-evaluation-results
    .views-exposed-form
    .views-exposed-widgets
    .views-exposed-widget {
    flex-basis: 100%;
  }
  /* User profile form mobile single-column 100% layout */
  form[id^="user-profile-form"],
  form.user-profile-form {
    padding: 2.5rem 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  /* All field wrappers 100% width, zero side padding, aligned margins */
  form[id^="user-profile-form"] .field--name-user-picture,
  form.user-profile-form .field--name-user-picture,
  form[id^="user-profile-form"] .field-name-user-picture,
  form.user-profile-form .field-name-user-picture,
  form[id^="user-profile-form"] fieldset#edit-picture,
  form.user-profile-form fieldset#edit-picture,
  form[id^="user-profile-form"] .field--name-timezone,
  form.user-profile-form .field--name-timezone,
  form[id^="user-profile-form"] .form-item-timezone,
  form.user-profile-form .form-item-timezone,
  form[id^="user-profile-form"] #edit-timezone,
  form.user-profile-form #edit-timezone,
  form[id^="user-profile-form"] .field--name-field-first-name,
  form.user-profile-form .field--name-field-first-name,
  form[id^="user-profile-form"] .field-name-field-first-name,
  form.user-profile-form .field-name-field-first-name,
  form[id^="user-profile-form"] .field--name-field-last-name,
  form.user-profile-form .field--name-field-last-name,
  form[id^="user-profile-form"] .field-name-field-last-name,
  form.user-profile-form .field-name-field-last-name,
  form[id^="user-profile-form"] .field--name-field-middle-name,
  form.user-profile-form .field--name-field-middle-name,
  form[id^="user-profile-form"] .field-name-field-middle-name,
  form.user-profile-form .field-name-field-middle-name,
  form[id^="user-profile-form"] .field--name-field-maiden-name,
  form.user-profile-form .field--name-field-maiden-name,
  form[id^="user-profile-form"] .field-name-field-maiden-name,
  form.user-profile-form .field-name-field-maiden-name,
  form[id^="user-profile-form"] .field--name-field-social-security-number,
  form.user-profile-form .field--name-field-social-security-number,
  form[id^="user-profile-form"] .field-name-field-social-security-number,
  form.user-profile-form .field-name-field-social-security-number,
  form[id^="user-profile-form"] .field--name-field-state-of-licensure,
  form.user-profile-form .field--name-field-state-of-licensure,
  form[id^="user-profile-form"] .field--name-field-state-license-for,
  form.user-profile-form .field--name-field-state-license-for,
  form[id^="user-profile-form"] .field-name-field-state-license-for,
  form.user-profile-form .field-name-field-state-license-for,
  form[id^="user-profile-form"] .field--name-field-license-prefix,
  form.user-profile-form .field--name-field-license-prefix,
  form[id^="user-profile-form"] .field-name-field-license-prefix,
  form.user-profile-form .field-name-field-license-prefix,
  form[id^="user-profile-form"] div#edit-field-license-prefix,
  form.user-profile-form div#edit-field-license-prefix,
  form[id^="user-profile-form"] .field--name-field-license-prefix-zeros,
  form.user-profile-form .field--name-field-license-prefix-zeros,
  form[id^="user-profile-form"] .field-name-field-license-prefix-zeros,
  form.user-profile-form .field-name-field-license-prefix-zeros,
  form[id^="user-profile-form"] .field--name-field-cosmetology-credential-num,
  form.user-profile-form .field--name-field-cosmetology-credential-num,
  form[id^="user-profile-form"] .field-name-field-cosmetology-credential-num,
  form.user-profile-form .field-name-field-cosmetology-credential-num,
  form[id^="user-profile-form"] .field--name-field-licensee-number,
  form.user-profile-form .field--name-field-licensee-number,
  form[id^="user-profile-form"] .field-name-field-licensee-number,
  form.user-profile-form .field-name-field-licensee-number,
  form[id^="user-profile-form"] .field--name-field-address,
  form.user-profile-form .field--name-field-address,
  form[id^="user-profile-form"] .field-name-field-address,
  form.user-profile-form .field-name-field-address,
  form[id^="user-profile-form"] .field--name-field-primary-phone,
  form.user-profile-form .field--name-field-primary-phone,
  form[id^="user-profile-form"] .field-name-field-primary-phone,
  form.user-profile-form .field-name-field-primary-phone,
  form[id^="user-profile-form"] .field--name-field-secondary-phone,
  form.user-profile-form .field--name-field-secondary-phone,
  form[id^="user-profile-form"] .field-name-field-secondary-phone,
  form.user-profile-form .field-name-field-secondary-phone,
  form[id^="user-profile-form"] .field--name-field-profession-type,
  form.user-profile-form .field--name-field-profession-type,
  form[id^="user-profile-form"] .field-name-field-profession-type,
  form.user-profile-form .field-name-field-profession-type,
  form[id^="user-profile-form"] .form-item-current-pass,
  form.user-profile-form .form-item-current-pass,
  form[id^="user-profile-form"] .form-item-mail,
  form.user-profile-form .form-item-mail,
  form[id^="user-profile-form"] .form-item-pass,
  form.user-profile-form .form-item-pass {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 2rem !important;
    box-sizing: border-box !important;
  }

  /* User picture responsive */
  form[id^="user-profile-form"] .field--name-user-picture .image-widget,
  form.user-profile-form .field--name-user-picture .image-widget {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Address fields container and items */
  form[id^="user-profile-form"] .field--name-field-address .address-container-inline,
  form.user-profile-form .field--name-field-address .address-container-inline {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  form[id^="user-profile-form"] .field--name-field-address .form-item,
  form.user-profile-form .field--name-field-address .form-item,
  form[id^="user-profile-form"] .field--name-field-address .js-form-item,
  form.user-profile-form .field--name-field-address .js-form-item,
  form[id^="user-profile-form"] .field--name-field-address .address-container-inline > div,
  form.user-profile-form .field--name-field-address .address-container-inline > div,
  form[id^="user-profile-form"] .field--name-field-address .address-container-inline > .form-item,
  form.user-profile-form .field--name-field-address .address-container-inline > .form-item,
  form[id^="user-profile-form"] .field--name-field-address .address-container-inline > .js-form-item,
  form.user-profile-form .field--name-field-address .address-container-inline > .js-form-item,
  form[id^="user-profile-form"] .field--name-field-address .form-item-field-address-0-address-locality,
  form.user-profile-form .field--name-field-address .form-item-field-address-0-address-locality,
  form[id^="user-profile-form"] .field--name-field-address .form-item-field-address-0-address-administrative-area,
  form.user-profile-form .field--name-field-address .form-item-field-address-0-address-administrative-area,
  form[id^="user-profile-form"] .field--name-field-address .form-item-field-address-0-address-postal-code,
  form.user-profile-form .field--name-field-address .form-item-field-address-0-address-postal-code,
  form[id^="user-profile-form"] .field--name-field-address .locality,
  form.user-profile-form .field--name-field-address .locality,
  form[id^="user-profile-form"] .field--name-field-address .administrative-area,
  form.user-profile-form .field--name-field-address .administrative-area,
  form[id^="user-profile-form"] .field--name-field-address .postal-code,
  form.user-profile-form .field--name-field-address .postal-code {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 1.5rem !important;
    box-sizing: border-box !important;
  }

  /* Password confirm vertical stacking */
  form[id^="user-profile-form"] #edit-pass,
  form.user-profile-form #edit-pass,
  form[id^="user-profile-form"] .js-form-item-pass,
  form.user-profile-form .js-form-item-pass,
  form[id^="user-profile-form"] .form-item-pass,
  form.user-profile-form .form-item-pass,
  form[id^="user-profile-form"] .password-confirm,
  form.user-profile-form .password-confirm,
  form[id^="user-profile-form"] .form-type-password-confirm,
  form.user-profile-form .form-type-password-confirm {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  form[id^="user-profile-form"] .password-parent,
  form.user-profile-form .password-parent,
  form[id^="user-profile-form"] .confirm-parent,
  form.user-profile-form .confirm-parent,
  form[id^="user-profile-form"] .form-type-password-confirm .form-item-pass-pass1,
  form.user-profile-form .form-type-password-confirm .form-item-pass-pass1,
  form[id^="user-profile-form"] .form-type-password-confirm .form-item-pass-pass2,
  form.user-profile-form .form-type-password-confirm .form-item-pass-pass2,
  form[id^="user-profile-form"] .form-item-pass-pass1,
  form.user-profile-form .form-item-pass-pass1,
  form[id^="user-profile-form"] .form-item-pass-pass2,
  form.user-profile-form .form-item-pass-pass2,
  form[id^="user-profile-form"] .js-form-item-pass-pass1,
  form.user-profile-form .js-form-item-pass-pass1,
  form[id^="user-profile-form"] .js-form-item-pass-pass2,
  form.user-profile-form .js-form-item-pass-pass2 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    flex: 0 0 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 1.5rem !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* ALL inputs, selects and textareas full width */
  form[id^="user-profile-form"] input.form-control,
  form.user-profile-form input.form-control,
  form[id^="user-profile-form"] select.form-select,
  form.user-profile-form select.form-select,
  form[id^="user-profile-form"] input[type="text"],
  form.user-profile-form input[type="text"],
  form[id^="user-profile-form"] input[type="email"],
  form.user-profile-form input[type="email"],
  form[id^="user-profile-form"] input[type="password"],
  form.user-profile-form input[type="password"],
  form[id^="user-profile-form"] select,
  form.user-profile-form select,
  form[id^="user-profile-form"] .field--name-field-cosmetology-credential-num input,
  form.user-profile-form .field--name-field-cosmetology-credential-num input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Timezone wrapper zero padding */
  form[id^="user-profile-form"] #edit-timezone,
  form.user-profile-form #edit-timezone,
  form[id^="user-profile-form"] div#edit-timezone,
  form.user-profile-form div#edit-timezone,
  form[id^="user-profile-form"] fieldset#edit-timezone,
  form.user-profile-form fieldset#edit-timezone,
  form[id^="user-profile-form"] .field--name-timezone,
  form.user-profile-form .field--name-timezone,
  form[id^="user-profile-form"] .form-item-timezone,
  form.user-profile-form .form-item-timezone,
  form[id^="user-profile-form"] div#edit-timezone .form-item,
  form.user-profile-form div#edit-timezone .form-item,
  form[id^="user-profile-form"] div#edit-timezone .form-item-timezone,
  form.user-profile-form div#edit-timezone .form-item-timezone,
  form[id^="user-profile-form"] #edit-timezone .form-item-timezone,
  form.user-profile-form #edit-timezone .form-item-timezone {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 2rem !important;
    box-sizing: border-box !important;
  }

  /* Timezone select 100% full-width */
  form[id^="user-profile-form"] #edit-timezone select,
  form.user-profile-form #edit-timezone select,
  form[id^="user-profile-form"] div#edit-timezone select,
  form.user-profile-form div#edit-timezone select,
  form[id^="user-profile-form"] fieldset#edit-timezone select,
  form.user-profile-form fieldset#edit-timezone select,
  form[id^="user-profile-form"] .field--name-timezone select,
  form.user-profile-form .field--name-timezone select,
  form[id^="user-profile-form"] .form-item-timezone select,
  form.user-profile-form .form-item-timezone select,
  form[id^="user-profile-form"] select[name="timezone"],
  form.user-profile-form select[name="timezone"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 3.5rem 0 1.2rem !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Descriptions & password suggestion box full width */
  form[id^="user-profile-form"] .description,
  form.user-profile-form .description,
  form[id^="user-profile-form"] .password-suggestions,
  form.user-profile-form .password-suggestions {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .dashboard-tabs li a {
    padding: 2rem 2rem 1.9rem;
  }
  .inner_page-main header#navbar {
    padding: 2rem;
    background: radial-gradient(
      50% 184.32% at 50% 50.42%,
      #303c48 0%,
      #20292c 100%
    );
    box-shadow: 0px 4px 4px rgb(0 0 0 / 10%);
  }
  .node-type-course .node-course .credits-and-price {
    float: none;
    display: block;
    margin-bottom: 1.5rem;
  }
  .course-detail-title .flag-link-normal {
    margin-top: 2rem;
  }
  li.course-step-item {
    position: relative;
    padding-left: 5rem;
  }

  ul.course-step-items {
    flex-direction: column;
  }

  li.course-step-item:before {
    width: 1px;
    height: 100%;
    top: 0;
    left: 10px !important;
    opacity: 0.2;
  }

  li.course-step-item:after {
    position: absolute;
    left: 0;
    margin: 0;
    top: 50%;
    transform: translatey(-50%);
  }
  /* ce_course module CSS forces the desktop connector with !important, which
     made the line overflow the viewport. Restore the D7 stacked layout. */
  ul.course-step-items li.course-step-item:before {
    width: 1px !important;
    height: 100% !important;
    top: 0 !important;
    bottom: auto !important;
    left: 10px !important;
    right: auto !important;
  }
  ul.course-step-items li.course-step-item:not(.step-complete):before {
    opacity: 0.2 !important;
  }
  ul.course-step-items li.course-step-item:after {
    position: absolute !important;
    left: 0 !important;
    margin: 0 !important;
    top: 50% !important;
    transform: translatey(-50%) !important;
  }
  .course-detail__video {
    margin-bottom: 20px;
  }
  .course-detail__top {
    padding-top: 2rem;
  }
  .course-detail__video-list
    > .view-videos-per-course
    > .view-content
    > div
    .teaser-body,
  .course-detail__video-list
    > .view-videos-per-course
    > .view-content
    > div
    .teaser-body
    * {
    font-size: 15px;
    font-weight: 400;
  }
  .page-checkout
    form#commerce-checkout-form-review
    > div
    .checkout_review
    table
    tbody
    > .pane-title
    td {
    padding-bottom: 0;
  }
  .view-id-Report.view-display-id-panel_pane_admin_report
    .views-exposed-form
    .views-exposed-widget {
    max-width: 100%;
    width: 100%;
  }

  .view-id-admin_report.view-display-id-panel_pane_1
    .views-exposed-form
    .views-exposed-widget {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 700px) {
  .block-ksc-commerce-cart-status-block {
    gap: 12px !important;
    margin-right: 48px !important;
  }
  a.meanmenu-reveal {
    right: 1.2rem !important;
  }
  .user-login-page {
    /* Width 100% plus side margins caused horizontal scroll (D7 has no width). */
    width: auto;
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .user-login-page form {
    margin: 0 2.5rem;
  }
  .cart-empty-page {
    font-size: 2rem;
  }
  .cart-empty-page:before {
    font-size: 5rem;
  }
  .course-action .add-all-to-cart {
    margin-right: 0px;
    width: 100%;
    text-align: center;
  }
  .course-action .buy-all-to-checkout {
    width: 100%;
    text-align: center;
  }
  .page-cart
    .view-commerce-cart-form
    .view-content
    .line-item-summary
    .line-item-total {
     margin-right: 0px;
     font-size: 1.8rem;
     text-align: left;
  }
  span.cart-coupon-message {
      font-size: 1.5rem;
  }
  /* D7 parity: D11 total row markup. */
  .page-cart .order-total-line__total {
    padding-right: 0;
    font-size: 1.8rem;
  }
}

@media (max-width: 620px) {
  .checkout-buttons .panel-body .checkout-continue,
  .checkout-buttons .panel-body .checkout-cancel,
  .checkout-buttons .checkout-back {
    padding: 1.5rem;
    width: 100%;
    margin-right: 0;
    font-size: 1.5rem;
    line-height: 1.5rem;
    margin-bottom: 1rem;
  }
  .page-checkout
    form#commerce-checkout-form-review
    > div
    .checkout_review
    table
    tbody
    > .pane-title
    td,
  .page-checkout
    form#commerce-checkout-form-checkout
    > div
    .cart_contents
    legend,
  .page-checkout
    form#commerce-checkout-form-checkout
    > div
    .customer-profile-billing-pane-wrapper
    fieldset
    .panel-heading,
  .commerce_payment legend.panel-heading {
    font-size: 3rem;
    padding-bottom: 1rem;
    padding-top: 2rem;
    margin: 0;
  }
  .page-checkout
    form#commerce-checkout-form-checkout
    > div
    .cart_contents
    .view-footer
    .commerce-order-handler-area-order-total
    table,
  .page-checkout
    form#commerce-checkout-form-checkout
    > div
    .cart_contents
    table.views-table {
    min-width: 0;
  }
  .page-cart
    .view-commerce-cart-form
    .view-content
    .commerce-line-item-views-form
    .table-responsive
    table.views-table {
    min-width: 0;
  }
  .page-cart
    .view-commerce-cart-form
    .view-content
    .line-item-summary
    .line-item-total {
     margin-right: 0px;
     font-size: 1.5rem;
     text-align: left;
  }
  span.cart-coupon-message {
      font-size: 1.2rem;
  }
  /* D7 parity: D11 total row markup. */
  .page-cart .order-total-line__total {
    padding-right: 0;
    font-size: 1.5rem;
  }
  .page-cart .view-commerce-cart-form table.views-table {
    min-width: 0;
  }
}

@media (max-width: 576px) {
  .page-courses .view-courses-by-states .views-exposed-widgets {
    flex-direction: column;
  }
  .view-courses div#edit-field-state-tid-wrapper,
  .view-courses div.views-widget-filter-field_course_type_tid,
  .view-courses div.views-widget-filter-field_ce_or_non_ce_value,
  .view-courses-by-states div#edit-field-state-tid-wrapper,
  .view-courses-by-states div.views-widget-filter-field_course_type_tid,
  .view-courses-by-states div.views-widget-filter-field_ce_or_non_ce_value {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
    margin-bottom: 10px;
  }
  .page-courses
    .view-courses
    .view-filters
    .views-exposed-form
    .views-exposed-widget
    .form-submit,
  .page-courses
    .view-courses-by-states
    .view-filters
    .views-exposed-form
    .views-exposed-widget
    .form-submit {
    position: absolute;
    right: 0px;
    width: 70px;
    bottom: 0;
    background-color: transparent;
  }

  .page-courses .view-courses .view-filters div#edit-title-wrapper,
  .page-courses .view-courses-by-states .view-filters div#edit-title-wrapper {
    flex-basis: 100%;
    max-width: 100%;
    padding-left: 0;
  }
  .view-courses div#edit-field-state-tid-wrapper select,
  .view-courses div.views-widget-filter-field_ce_or_non_ce_value select,
  .view-courses div.views-widget-filter-field_course_type_tid select,
  .view-courses-by-states div#edit-field-state-tid-wrapper select,
  .view-courses-by-states div.views-widget-filter-field_ce_or_non_ce_value select,
  .view-courses-by-states div.views-widget-filter-field_course_type_tid select,
  .page-courses
    .view-courses
    .view-filters
    .views-exposed-form
    .views-widget-filter-title
    input,
  .page-courses
    .view-courses-by-states
    .view-filters
    .views-exposed-form
    .views-widget-filter-title
    input {
    height: 50px;
    font-size: 14px;
  }

  .page-courses
    .view-courses
    .view-filters
    .views-exposed-form
    .views-exposed-widget
    .form-submit,
  .page-courses
    .view-courses-by-states
    .view-filters
    .views-exposed-form
    .views-exposed-widget
    .form-submit {
    height: 50px;
    width: 50px;
    background-size: 40%;
  }

  .page-taxonomy-term- .course-item {
    margin: 0;
    margin-bottom: 1rem;
  }
  .page-taxonomy-term- .course-item {
    max-width: 100%;
    flex: 0 0 100%;
  }
  nav.mean-nav ul {
    max-width: 96% !important;
  }
  h1 {
    font-size: 3.5rem;
    line-height: 3.5rem;
  }
  h2 {
    font-size: 2.5rem;
    line-height: 3.5rem;
  }
  p {
    font-size: 1.6rem;
  }
  .front .block-system {
    padding: 0;
  }
  .fix-menu-banner header#navbar {
    display: flex;
    height: 100%;
    align-items: center;
  }
  .inner_page-main header#navbar img,
  .fix-menu-banner header#navbar img {
    max-width: 17rem;
    width: 100%;
  }
  .front-page-video-text h2 {
    margin-bottom: 0;
  }
  .front-page-video-text {
    padding: 6.4rem 0 6.1rem;
  }
  .custom-text {
    min-height: 50rem;
    padding: 2.5rem;
  }
  .node-type-course
    .node-course
    .other-info
    .field-name-field-state
    .field-items,
  .node-type-course
    .node-course
    .other-info
    .field-name-field-instructor-s-
    .field-items {
    font-size: 1.5rem;
  }
  .node-type-course
    .node-course
    .other-info
    .field-name-field-course-type
    .field-label,
  .node-type-course
    .node-course
    .other-info
    .field-name-field-state
    .field-label,
  .node-type-course
    .node-course
    .other-info
    .field-name-field-instructor-s-
    .field-label {
    font-size: 1.5rem;
  }
  .node-type-course
    .node-course
    .credits-and-price
    .field-name-field-number-of-credits,
  .course-detail-enroll
    .credits-and-price
    .view-total-course-price
    .view-content {
    font-size: 2rem;
  }
  .node-type-course .node-course > .full-body {
    align-items: flex-start;
  }
  .node-type-course .full-body .add-all-to-cart,
  .node-type-course .full-body .buy-all-to-checkout {
    margin-left: 0;
    margin-top: 1rem;
  }
  .pane-education-provider-block .panel-pane {
    max-width: 35rem;
    padding: 3.5rem;
  }
  div#mini-panel-information_blocks .panel-col > div:first-child {
    padding-top: 30rem;
  }
  div#mini-panel-information_blocks .panel-col > div:first-child .pane-node {
    margin: 1rem 2rem;
    max-width: 35rem;
  }
  .newsletter-content .form-item-mergevars-email input {
    width: 95%;
    font-size: 2.5rem;
  }
  .contact-box {
    flex: 0 0 100%;
    margin: 0;
    margin-bottom: 0px;
    margin-bottom: 1rem;
  }
  .footer-logo::before,
  .footer-logo::after {
    max-width: 100%;
  }
  /* cources */
  .featured-course {
    flex-basis: 100%;
  }
  .featured-course:first-child {
    margin-bottom: 3rem;
    margin-right: 0;
  }
  .page-courses .view-courses .views-exposed-widgets,
  .page-courses .view-courses-by-states .views-exposed-widgets {
    padding: 0rem;
  }
  .view-courses .view-header,
  .view-courses-by-states .view-header {
    padding: 0 1.5rem;
  }
  p.course-page-subtitle {
    font-size: 1.9rem;
  }
  .course-detail-title {
    padding-top: 27rem;
  }
  .course-detail-title h2.course-title {
    font-size: 3rem;
    line-height: 4rem;
    margin-bottom: 1.5rem;
  }
  .view.view-blog > .view-content .views-row,
  .view.view-blog > .view-content .views-row:not(:first-child),
  .view.view-blog > .view-content .views-row.views-row-first,
  .view.view-blog > .view-content .views-row:first-child {
    flex: 0 0 100% !important;
    flex-basis: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
  }
  .view.view-blog .views-row.views-row-first .blog-teaser .blog-teaser-content,
  .view.view-blog .views-row:first-child .blog-teaser .blog-teaser-content {
    padding: 1.5rem !important;
  }
  .view-blog-cateogries {
    flex-wrap: wrap !important;
  }
  .view-blog-cateogries::before,
  .view-blog-cateogries .view-header {
    margin-bottom: 2rem !important;
    flex-basis: 100% !important;
    width: 100% !important;
    display: block !important;
  }
  .view-blog-cateogries .view-content {
    flex-basis: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .ckeditor-accordion-container > dl dt > a {
    padding: 1.5rem;
    font-weight: 400;
    padding-right: 4rem;
  }
  .ckeditor-accordion-container .ckeditor-accordion-toggle {
    right: 1.5rem;
  }
  .ckeditor-accordion-container > dl dd {
    padding-left: 1.5rem;
  }
  div#node-36 .about-left {
    flex-basis: 100% !important;
  }
  div#node-36 .about-right {
    flex-basis: 100% !important;
    margin-top: 3rem !important;
  }
  .user-login-page h1.title {
    font-size: 4rem;
    margin-top: 0;
    line-height: 4.5rem;
    text-transform: capitalize;
  }
  .user-login-page form {
    margin: 0 2rem;
  }
  .user-login-page form > div > a {
    display: block;
    float: none;
  }
  .user-login-page form .form-actions button#edit-submit,
  .user-login-page form .form-actions a.btn-default {
    padding: 1.5rem 2rem;
  }

  .user-login-page form .field-name-field-first-name,
  .user-login-page form .field-name-field-middle-name,
  .user-login-page form .field-name-field-last-name,
  .user-login-page form .field-name-field-maiden-name,
  .user-login-page form .field-name-field-maiden-name,
  .user-login-page form .field-name-field-social-security-number,
  .user-login-page form .field-name-field-cosmetology-credential-num {
    flex-basis: 100%;
  }
  .dashboard-tabs li {
    flex-basis: 100%;
  }
  .dashboard-tabs li a {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 0.1rem;
  }
  .user_student-profile {
    flex-direction: column;
  }
  .student-detail {
    margin-left: 0;
    margin-bottom: 3rem;
  }
  .student-picture {
    margin-bottom: 2rem;
  }
  #profile {
    text-align: center;
  }
  .user_quiz-certificates .quiz_c_list .download-text {
    margin-bottom: 2rem;
  }
  .block-ksc-commerce-cart-status-block {
    gap: 10px !important;
    margin-right: 44px !important;
  }
  a.meanmenu-reveal {
    right: 1rem !important;
  }
  .page-cart
    .view-commerce-cart-form
    .view-content
    .form-actions
    button#edit-submit {
    font-size: 1.5rem;
    margin: 0.5rem;
    padding: 1.5rem 2rem;
  }
  .page-cart
    .view-commerce-cart-form
    .view-content
    .form-actions
    button#edit-checkout, .page-cart .view-commerce-cart-form .view-content .form-actions .keep-shopping-btn,
  .page-cart .view-commerce-cart-form .form-actions input#edit-checkout,
  .page-cart .view-commerce-cart-form .form-actions .keep-shopping-btn {
    font-size: 1.5rem;
    padding: 1.5rem 1rem;
  }
  .page-checkout
    form#commerce-checkout-form-checkout
    > div
    .commerce-coupon-pane-wrapper
    .panel-body
    button#edit-commerce-coupon-coupon-add {
    position: static;
    padding: 1.5rem;
    font-size: 1.5rem;
  }
  .page-checkout
    fieldset.commerce_payment
    div#edit-commerce-payment-body
    div#payment-details
    .commerce-credit-card-expiration {
    flex-basis: 100%;
    margin-bottom: 0;
  }
  .page-checkout
    fieldset.commerce_payment
    div#edit-commerce-payment-body
    div#payment-details
    .form-item-commerce-payment-payment-details-credit-card-code {
    flex-basis: 100%;
  }
  .page-checkout
    form#commerce-checkout-form-checkout
    > div
    .cart_contents
    table.views-table
    thead
    tr
    th,
  .page-checkout
    form#commerce-checkout-form-review
    > div
    .checkout_review
    table
    .view-ce-shopping-cart-summary
    .view-content
    thead
    th {
    font-size: 1.8rem;
  }
  .page-checkout
    form#commerce-checkout-form-checkout
    > div
    .cart_contents
    table.views-table
    tbody
    tr
    td,
  .page-checkout
    form#commerce-checkout-form-review
    > div
    .checkout_review
    table
    .view-ce-shopping-cart-summary
    .view-content
    tbody
    tr
    td {
    font-size: 1.5rem;
  }
  .page-checkout
    form#commerce-checkout-form-review
    > div
    .checkout_review
    table
    .view-ce-shopping-cart-summary
    .view-content
    tbody
    tr
    td.views-field-quantity,
  .page-checkout
    form#commerce-checkout-form-review
    > div
    .checkout_review
    table
    .view-ce-shopping-cart-summary
    .view-content
    thead
    tr
    th.views-field-quantity,
  .page-checkout
    form#commerce-checkout-form-checkout
    > div
    .cart_contents
    table.views-table
    tbody
    tr
    td.views-field-quantity,
  .page-checkout
    form#commerce-checkout-form-checkout
    > div
    .cart_contents
    table.views-table
    thead
    tr
    th.views-field-quantity {
    text-align: center;
  }
  .page-checkout
    form#commerce-checkout-form-review
    > div
    .checkout_review
    table
    .view-ce-shopping-cart-summary
    .view-footer
    .commerce-order-handler-area-order-total
    table
    td {
    padding-left: 0;
    padding-right: 0;
  }
  div.addressfield-container-inline > div.form-item {
    float: none;
    margin-right: 0;
  }
  .comment-form .form-actions button {
    padding: 1.5rem 3rem !important;
    font-size: 1.5rem !important;
    margin-bottom: 1rem;
    width: 100%;
  }
  form[id^="user-profile-form"] {
    padding: 3rem 1rem;
  }
  form[id^="user-profile-form"] .help-block {
    font-size: 1.4rem;
  }
  form[id^="user-profile-form"] .field-name-field-social-security-number,
  form[id^="user-profile-form"] .field-name-field-cosmetology-credential-num,
  form[id^="user-profile-form"] .field-name-field-licensee-number {
    flex-basis: 100%;
  }
  form[id^="user-profile-form"] #edit-timezone select,
  form.user-profile-form #edit-timezone select,
  form[id^="user-profile-form"] select[name="timezone"],
  form.user-profile-form select[name="timezone"],
  form[id^="user-profile-form"] fieldset#edit-timezone select {
    width: 100% !important;
    max-width: 100% !important;
  }
  form[id^="user-profile-form"] div#edit-actions button#edit-submit {
    font-size: 1.5rem;
    width: 100%;
  }
  .mean-container .mean-nav ul[style="display: block;"]:before {
    display: none;
  }
  .node-blog .info-content .blog-detail-content h1,
  .node-blog .info-content .blog-detail-content h1 * {
    font-size: 2.5rem !important;
  }
  .node-blog .info-content .blog-detail-content h2,
  .node-blog .info-content .blog-detail-content h2 * {
    font-size: 2rem !important;
  }
  .node-blog .info-content .blog-detail-content h3,
  .node-blog .info-content .blog-detail-content h3 * {
    font-size: 1.8rem !important;
  }
  .node-blog .info-content .blog-detail-content h4,
  .node-blog .info-content .blog-detail-content h4 *,
  .node-blog .info-content .blog-detail-content h5,
  .node-blog .info-content .blog-detail-content h5 *,
  .node-blog .info-content .blog-detail-content h6,
  .node-blog .info-content .blog-detail-content h6 * {
    font-size: 1.5rem !important;
  }
  .popup-newsletter form .mailchimp-newsletter-mergefields {
    width: 100%;
    margin-bottom: 15px;
  }
  .popup-newsletter .mailchimp-signup-subscribe-form > div {
    justify-content: center;
  }
  .popup-newsletter button.form-submit {
    padding: 15px 20px;
    font-size: 14px;
  }
  div.views-widget-filter-field_ce_or_non_ce_value select {
    max-width: 100% !important;
  }
  .page-courses .view-courses-by-states .views-exposed-widgets div.views-widget-filter-field_ce_or_non_ce_value {
    padding-left: 0;
  }
}

@media (max-width: 576px) {
    .add-to-cart-links a {
        flex: 0 0 100%;
  }
  div#prefix-license-number {
    width: 100%;
  }
  .form-item-field-address-und-0-administrative-area {
    margin-bottom: 15px;
  }

  .form-item.form-item-pass-pass1.form-type-password {
      margin-bottom: 15px;
  }
}

@media (max-width: 767.98px) {
  .pane-education-provider-block,
  .front-page-video-text,
  .pane-beauty-professionals,
  .pane-education-state,
  .pane-license-renewal,
  .pane-advanced-training,
  .pane-preparation-courses,
  .pane-information-blocks,
  .pane-faq-block {
    padding: 4rem 2rem;
  }

  .pane-beauty-professionals .panel-panel>div {
    gap: 1rem;
  }

  .pane-beauty-professionals .panel-panel .panel-pane:not(.card-intro) {
    flex-basis: 100%;
  }

  .pane-license-renewal .pane-content,
  .pane-education-provider-block>.pane-content {
    padding: 2.5rem;
  }

  .pane-preparation-courses .pane-content img {
    float: none;
    margin-right: 0;
    margin-bottom: 2rem;
    width: 100%;
  }

  .pane-information-blocks .panel-col>div:first-child {
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
  }
}


/* Inner-page header at tablet/mobile widths: match D7 (90px header, content
   starts 120px down, full-size logo) and the D11 homepage header. The header is
   always fixed here, so the scroll-toggled padding is not needed (it made the
   content jump on scroll). Homepage is excluded (body.not-front). */
@media (max-width: 1024px) {
  body.not-front {
    padding-top: 120px !important;
  }
  body.not-front.toolbar-fixed,
  body.not-front.toolbar-horizontal {
    padding-top: calc(120px + var(--drupal-displace-offset-top, 39px)) !important;
  }
  body.not-front .inner_page-main header,
  body.not-front .inner_page-main header#navbar,
  body.not-front header#navbar {
    height: 90px !important;
    padding: 20px 50px !important;
  }
  body.not-front .mean-container .mean-bar,
  body.not-front .mean-bar {
    height: 90px !important;
  }
  body.not-front .inner_page-main header .navbar-header a.logo img {
    max-width: none !important;
  }
  body.not-front .inner_page-main.header-is-fixed {
    padding-top: 0 !important;
  }
}
@media (max-width: 768px) {
  body.not-front .inner_page-main header,
  body.not-front .inner_page-main header#navbar,
  body.not-front header#navbar {
    padding: 20px !important;
  }
}
@media (max-width: 576px) {
  body.not-front .inner_page-main header .navbar-header a.logo img {
    max-width: 24rem !important;
    width: 100% !important;
  }
}

/* User pages (login/register/password): the header is always fixed and the
   body already reserves its height, so keep the normal 5rem top padding when
   scrolled instead of the scroll-toggled header padding (content jumped). */
body.not-front .inner_page-main.user-login-page.header-is-fixed {
  padding-top: 5rem !important;
}

/* Logged-in user pages (e.g. /user/password) use the regular inner-page
   layout where the desktop header is in the page flow, so the 150px body
   offset meant for the logged-out fixed header left a gap above the header. */
@media (min-width: 1025px) {
  body.logged-in.page-user-login,
  body.logged-in.page-user-register,
  body.logged-in.page-user-password {
    padding-top: 0 !important;
  }
  body.logged-in.toolbar-fixed.page-user-login,
  body.logged-in.toolbar-fixed.page-user-register,
  body.logged-in.toolbar-fixed.page-user-password,
  body.logged-in.toolbar-horizontal.page-user-login,
  body.logged-in.toolbar-horizontal.page-user-register,
  body.logged-in.toolbar-horizontal.page-user-password {
    padding-top: var(--drupal-displace-offset-top, 39px) !important;
  }
}
