/*
 * Responsive CSS for the Hybrid theme
 * This file contains all media queries and styles for different screen sizes
 */

@media (max-width: 1400px) {
  body#hybrid section.alert-bar {
    margin-bottom: 0;
  }

  .lt-container {
    max-width: 1400px;
  }
}

@media (max-width: 1023px) {
  body,
  .row {
    text-align: left;
  }

  section.content-image__block .h-group div img {
    margin-top: 0;
  }

  #clearing--course-list ol#clearing-list .col:first-child {
    height: 12rem;
    width: 100%;
    margin-bottom: 0px;
  }

  .panel {
    border-width: 0.25rem;
  }

  .panel + .panel {
    border-top: 0;
  }

  body#hybrid .feature-spotlight .featured-post {
    border-bottom: 4px solid var(--lt-colour-primary) !important;
    display: flex;
    justify-content: space-between;
    column-gap: 0.25rem;
    margin-bottom: 3.75rem;
    margin-top: 1.75rem;
    padding-bottom: 3.75rem;
    flex-direction: column;
  }

  .lt-utility-display-desktop-only {
    display: none;
  }

  .lt-utility-display-mobile-only {
    display: block;
  }
}

@media (min-width: 1024px) {
  .lt-utility-display-desktop-only {
    display: block;
    padding-top: 0px;
  }

  .lt-utility-display-mobile-only {
    display: none;
  }

  img {
    margin: 0 0 2.5rem;
  }
/*
  section {
    margin: 3.75rem auto;
  }
*/
  .image-overlay .inner {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  .image-overlay > img,
  .image-overlay > picture {
    margin-bottom: 0;
  }

  .panel {
    width: 33.3333%;
  }

  .summary__aside {
    border: 0;
    background: var(--lt-colour-primary);
  }

  .summary-list {
    grid-template-columns: repeat(3, 1fr);
  }


  .grid--item .alumni-grid--general__image img {
    margin-bottom: 0.75rem;
    object-fit: cover;
  }

  .s-search-categories .h5 {
    margin-bottom: 1.25rem;
  }

  .event-card-section .section {
    padding-top: 1.75rem;
    padding-bottom: 4.375rem;
    margin-top: 0;
  }

  .card .h-h3 {
    margin-bottom: 30px;
  }

  .card .h-h3:hover {
    text-decoration-thickness: 0.125rem;
  }

  .card--event {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    border-bottom: 4px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 2rem;
  }

  .card--event::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    height: 100%;
    border-left: 0;
  }

  .card--event .card__image {
    padding-top: 16.0625rem;
    width: 50%;
    margin-bottom: 0;
  }

  .card--event .card__image ~ div {
    width: 50%;
    padding: 0 2.625rem;
  }

  .cta-card img {
    margin-bottom: 30px;
  }

  .cta-card img {
    height: 310px;
  }

  .offcanvas--navigation {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .offcanvas--navigation .inner {
    padding-right: 2.5rem;
  }

  section.course--section-modules .course-modules__block {
    display: block !important;
  }

  .masthead {
    padding-top: 150px;
    padding-bottom: 50px;
  }

  .masthead-article .h-h1 ~ .tags__event {
    margin-top: 0.625rem;
  }

  .masthead-article__sharer-links a {
    width: 2rem;
    height: 2rem;
  }

  .masthead-article__sharer-links a svg {
    width: 0.9375rem;
    height: 0.9375rem;
  }

  .masthead-article__sharer-links > div {
    column-gap: 0.3125rem;
  }

  .search-banner {
    margin-bottom: 100px;
  }

  .search-banner__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .search-banner__wrapper form {
    margin: 0 2.5rem !important;
  }

  .search-banner form {
    width: 70%;
    margin-bottom: 0;
  }

  .search-banner .b-button {
    width: 30%;
  }

  .search-banner {
    padding-top: 61px;
  }

  .search-banner {
    padding-bottom: 100px;
  }

  .s-form-field {
    height: 60px;
  }

  .s-form-field .button {
    width: 54px;
  }

  .posts__list-item:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .posts__list-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .posts > .cols .col:not(:last-child) .card {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
  }

  .latest-posts .cols .col:first-child {
    width: 60%;
  }

  .latest-posts .cols .col:first-child {
    width: 70%;
  }

  .latest-posts .cols .col:last-child {
    width: 40%;
  }

  .latest-posts .cols .col:last-child {
    width: 30%;
  }

  div.general-shapes,
  .general-content {
    text-align: left;
  }

  div.general-shapes ul,
  div.general-shapes ol,
  .general-content ul,
  .general-content ol {
    margin-left: 2.75rem;
    margin-right: 2.75rem;
  }

  #banner--v3 .carousel__nav {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    display: -webkit-inline-box;
    display: inline-flex;
    margin: 0;
    transform: translateX(-50%);
  }

  body.hybrid.hybrid-course .fixed-top {
    top: 7.4rem !important;
  }
}

@media (min-width: 1280px) {
  .news .banner .image-overlay .inner h1.h-group__main {
    font-size: var(--lt-heading__h1-font-size) !important;
  }

  .page-inner h2,
  .page-home .social-media h2 {
    font-size: var(--lt-heading__h2-font-size) !important;
  }

  .image-link__inner .menu-ad h2.h-group__lead {
    font-size: var(--lt-heading__h2-font-size) !important;
  }

  .page-inner h2,
  .page-inner h3,
  .page-inner h4,
  .page-inner h5,
  .page-inner h6,
  .page-home .social-media h2 {
    text-transform: none !important;
  }

  .page-inner .footer h2,
  .page-home .footer h2 {
    font-size: var(--lt-heading__h2-font-size) !important;
  }

  .card .h-h3 {
    font-size: 1.375rem !important;
  }

  .card__image {
    margin-bottom: 26px;
  }

  .card__date {
    font-size: var(--lt-body-font-size);
  }

  .card__category {
    font-size: var(--lt-body-font-size);
  }

  .card__description {
    font-size: var(--lt-body-font-size);
  }

  .card__description {
    line-height: var(--lt-line-height-body);
  }

  .card__date {
    font-size: var(--lt-body-font-size);
  }

  .tags__event ul li p {
    font-size: var(--lt-body-font-size);
  }

  .card--large h3.h-h3 {
    max-width: none;
    font-size: var(--lt-heading__h3-font-size) !important;
    line-height: var(--lt-line-height-head) !important;
  }

  .cta-card h3 {
    font-size: var(--lt-heading__h3-font-size);
  }

  .offcanvas .inner {
    padding-top: 3.75rem;
  }

  .offcanvas .inner > :last-child {
    margin-bottom: 3.75rem;
  }

  .masthead-post__wrapper {
    display: flex;
    column-gap: 2.5rem;
  }

  .masthead-post__card {
    width: 50%;
  }

  .masthead-post__card > .card {
    margin-bottom: 0;
  }

  .masthead-post__image {
    margin-bottom: 0;
    padding-top: 40%;
    width: 70%;
  }

  .masthead-article__published p,
  .masthead-article__published a {
    font-size: var(--lt-button-font-size);
  }

  .s-form-field input[type="search"] {
    font-size: var(--lt-body-font-size);
  }

  .featured-post__image {
    margin-bottom: 0;
    padding-top: 36%;
    width: 60%;
  }

  .featured-post {
    padding-bottom: 60px;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 147px;
  }

  .featured-post .card {
    width: 50%;
  }

  .featured-post .card__category {
    display: none;
  }

}

@media (max-width: 1200px) {
  .lt-container {
    max-width: 1200px;
  }
}

@media (max-width: 992px) {
  .lt-container {
    max-width: 992px;
  }
}

@media (min-width: 768px) {
  body#hybrid .header .logo svg#logo-24 {
    width: 12rem;
    height: auto;
    padding: 0;
    margin: 0;
  }

  body#hybrid .page--section-banner .page-banner .image-overlay {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  body#hybrid #detail-start-date .tabordionStudy {
    width: 100%;
    color: #000;
  }

  body#hybrid #detail-start-date .tabordionStudy .section label {
    padding: 0.5rem;
    width: 40%;
    color: #000;
    text-decoration: underline dashed;
    text-underline-offset: 6px;
  }

  body#hybrid #detail-start-date .tabordionStudy .section label:hover {
    text-decoration: underline solid;
  }

  body#hybrid #detail-start-date .tabordionStudy .section .article {
    position: absolute;
    width: 60%;
    left: 42.5%;
  }

  body#hybrid .ct-container .search-input-wrapper {
    width: 65%;
    padding-top: 3rem;
  }
}

/* Start max-width: 768px */
@media (max-width: 768px) {
  .lt-container {
    max-width: 768px;
  }

  footer {
    .lt-grid-container {
      grid-auto-flow: unset;
      grid-template-columns: 1fr;
    }

    col:not(:last-child) {
      margin-bottom: 2rem;
    }
  }

  .lt-grid-container {
    display: grid;
    grid-auto-flow: row;
    gap: var(--lt-layout-gap-md);
  }

  .grid__gutter {
    max-width: 100%;
  }

  /*=== Column container Start ===*/
  .lt-layout-grid-cols {
    &,
    &.lt-layout-grid-cols--sidebar-right,
    &.lt-layout-grid-cols--sidebar-left,
    &.lt-layout-grid-cols--two-cols,
    &.lt-layout-grid-cols--three-cols,
    &.lt-layout-cols--auto-cols {
      grid-template-columns: 1fr;
    }
  }

  body#hybrid #lt-navigation nav.lt-nav .collapsed a.lt-nav--item::after {
    content: "";
  }

  body#hybrid section.alert-bar {
    .alert-bar__message {
      margin-bottom: 0;
    }

    .alert-bar__message p {
      padding: 0 1rem;
    }

    .alert-bar__button {
      right: 1.5rem;
    }
  }

  .lt-slider__head {
    h1 {
      font-size: clamp(2rem, 3rem, 4rem);
    }
  }

  section.lt-slider--home {
    display: flex;
    flex-direction: column;
    margin-top: 0px !important;
  }

  .swiper {
    width: 100%;
  }

  .lt-slider__head {
    width: 100%;
    height: auto;
  }

  .subject-grid {
    grid-area: subject;
  }

  .ucas-grid {
    grid-area: ucas;
  }

  .start-grid {
    grid-area: start;
  }

  .placement-grid {
    grid-area: study;
  }

  .study-grid {
    grid-area: placement;
  }

  .mode-grid {
    grid-area: mode;
  }

  .h-group__lead {
    margin-bottom: 0.625rem;
    font-size: 1.375rem;
  }

  .h-group__main {
    font-size: 3.125rem;
  }

  .h-group__intro {
    font-size: 1.125rem;
  }

  body#hybrid .page-heading--wrapper {
    margin: 5rem 1rem;
  }

  body#hybrid .feature-spotlight .featured-post {
    column-gap: 1rem;
    margin-bottom: 3.75rem;
    padding-bottom: 3.75rem;
    flex-direction: column;
  }

  .news-archive__cols {
    grid-template-columns: 100% !important;

    .posts__grid {
      display: grid;
      grid-template-columns: 1fr !important;
      gap: 1rem;
    }
  }

  .summary-list {
    display: grid;
    grid-template-columns: none;
    grid-template-areas:
      "subject subject"
      "ucas start"
      "study placement"
      "mode mode";
  }

  #lt-navigation .lt-mega--menu .lt-mega--menu-item:hover::after {
    transform: scaleX(0);
    transform-origin: middle left;
    display: none;
  }

  #lt-navigation .lt-mega--menu .lt-mega--menu-item::after {
    transform: scaleX(0);
    transform-origin: middle left;
    display: none;
  }

  .tab_container {
    display: block;
    margin: 0 auto;
    width: 95%;
    border-top: none;
    border-radius: 0;
    /* box-shadow: 0px 0px 10px black; */
  }

  #tabordion .tab_container h3::before {
    float: right !important;
    content: "+";
    padding-right: 5px;
    font-size: var(--lt-heading__h3-font-size);
  }

  #tabordion .tab_container h3.d_active::before {
    float: right !important;
    content: "-";
    font-size: var(--lt-heading__h3-font-size);
  }

  #tabordion .tab_container article h3::before {
    content: "";
  }

  .d_active {
    background: #fff;
  }

  section.course--section-modules .course-modules__block {
    flex-direction: column !important;
  }

  section.course--section-modules .course-modules__block div:nth-of-type(1) {
    margin-bottom: 1rem;
  }

  section.content-image__block .flex-container > div {
    min-width: 100%;
  }

  section.content-image__block .flex-container > div:last-child {
    margin-right: 0;
  }

  section.content-image__block .reverse .flex-container {
    flex-direction: column-reverse;
    display: flex;
  }
  section.lt-section-featured-cta {
    .reverse .flex-container {
      flex-direction: column-reverse;
    }
  }
  .flex-container {
    text-align: left;
    display: flex;
    padding: 0rem;
    flex-direction: column-reverse;
  }

  .flex-container > div {
    min-width: 90%;
  }

  body#hybrid .featured_cta__bg.lt-theme--clearing {
    padding: 1rem;
  }

  .flex-container.reverse {
    flex-direction: column-reverse;
  }

  .quote--standard {
    .flex-container {
      padding: 0rem;
      flex-direction: column;
    }
  }

  .featured_cta__bg.lt-theme--primary {
    padding: 2rem 1rem !important;
  }

  body#hybrid .general-content .h-group img {
    width: 100%;
    max-width: 100%;
  }

  body#hybrid .general-quote figure.quote--standard blockquote {
    padding: 1rem 0rem 1rem 1rem;
    border-left: 5px solid var(--lt-colour-primary);
  }

  body#hybrid .flex-container > div:first-child {
    width: 100%;
    margin-right: 0rem !important;
  }

  body#hybrid .flex-container > div:last-child {
    width: 100%;
    margin-right: 0px;
  }

  section.content-image__block .h-group div img {
    margin-top: 2.75rem;
    margin-left: 0;
    border: none;
    border-radius: unset;
    width: 100%;
  }

  .grid__container {
    display: block;
    margin: auto 0;
  }

  .grid__container .column {
    margin-bottom: 2.75rem;
  }

  #cpd--details #course__details .course-details {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  /* hybrid news slider media styles */

  body#hybrid .lt-slideshow--section .slideshow-container h2 {
    padding-left: 1rem !important;
  }

  .news .banner .image-overlay .inner h1.h-group__main {
    font-size: var(--lt-heading__h2-font-size) !important;
  }

  .page-inner h2,
  .page-inner h3,
  .page-inner h4,
  .page-inner h5,
  .page-inner h6,
  .page-home .social-media h2 {
    text-transform: none !important;
  }

  .newslist--general__wrapper {
    display: block;
    text-align: left;
    padding: 0 1.25rem 2.25rem 1.25rem;
  }

  .newslist--general__image,
  .newslist--general__snippet {
    display: block;
    max-width: 100%;
  }

  .newslist--general__image img {
    width: 100%;
  }

  .e-events-module {
    flex-direction: column;
  }

  #banner--v3 .grid-container {
    display: block;
    margin: 4.75rem 1.25rem 0;
    padding-bottom: 0;
  }

  section.clearing-course-search-section {
    /* datatables responsive view needs padding */
    th,
    td {
      &:first-child {
        padding-left: 1rem !important;
      }
    }
  }

  .download svg {
    width: auto;
    height: auto;
    padding: 0.25rem;
  }

  #banner--v3 .hero--image.bestfit img,
  #banner--v3 .hero--image.bestfit picture {
    max-height: 200px !important;
  }

  #banner--v3 .carousel {
    display: block;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  section.clearing-course-search-section {
    /* datatables responsive view needs padding */
    th,
    td {
      &:first-child {
        padding-left: 1rem !important;
      }
    }
  }

  section.clearing-course-search-section {
    /* datatables responsive view needs padding */
    th,
    td {
      &:first-child {
        padding-left: 1rem !important;
      }
    }
  }

  .general-content-listacle {
    display: block;
    margin: 0 auto;
    width: 80%;
    padding: 0;
    text-align: left;
    font-size: var(--lt-body-font-size);
  }

  .general-content-listacle .list-item {
    font-size: var(--lt-body-font-size);
  }

  .profile--cards-wrapper--row .grid--item--row {
    grid-template-columns: 1fr;
  }

  .profile--cards-wrapper {
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
  }

  .video--section .grid--item {
    flex: 1 0 50% !important;
  }

  .video--section .grid--fullwidth {
    padding: 0 2.25rem 2.25rem 0rem !important;
  }

  .video--section .grid--gutter {
    max-width: 90% !important;
  }

  .lt-tabular .inner {
    padding: 1.25rem;
  }

  .lt-tabular .grid--item.image-tab {
    display: none;
  }

  .ootb-tabcordion--entry-content {
    padding: 2rem !important;
  }

  #course__banner {
    display: none;
  }

  #desktop__banner {
    display: none;
  }

  #mobile__banner {
    display: block;
    margin-top: 0px;
  }

  #course__banner {
    display: none;
  }

  .prev,
  .next,
  .slideshow-content--container {
    font-size: var(--lt-body-font-size);
  }

  .lt-slideshow--section .slide-item {
    min-height: 400px;
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .lt-slideshow--section .slider-img {
    width: 100%;
    min-height: auto;
  }

  .lt-slideshow--section .slideshow-content--container {
    color: var(--lt-colour-primary);
    font-size: var(--lt-body-font-size);
    padding: 1rem;
    width: 100%;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  table {
    display: block;
    overflow: auto;
  }

  .news .banner .image-overlay .inner h1.h-group__main {
    font-size: var(--lt-heading__h2-font-size) !important;
  }

  .page-inner h2,
  .page-inner h3,
  .page-inner h4,
  .page-inner h5,
  .page-inner h6,
  .page-home .social-media h2 {
    text-transform: none !important;
  }

  .panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .panel-header .h-h2 {
    margin-left: 0;
    margin-bottom: 0;
  }

  .panel-header .button {
    margin-left: auto;
    margin-right: 0;
  }

  cite {
    font-size: 1.375rem;
  }

  .inner {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .g-general-content__col .h-h4 {
    max-width: none;
  }

  body#hybrid .ct-container .search-input-wrapper {
    width: 65%;
    max-width: 1000px !important;
    padding-top: 3rem;
  }

  .offcanvas {
    padding-top: 6.875rem;
  }

  .masthead-article {
    top: 1.25rem;
    margin-top: 0;
  }

  .posts__grid {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.875rem;
    row-gap: 2.5rem;
  }

  .posts__grid-item .card {
    justify-content: flex-start;
  }

  #detail-start-date .tabordionStudy {
    width: 100%;
  }

  #detail-start-date .tabordionStudy .section label {
    padding: 0.5rem;
    width: 30%;
    text-decoration: underline dashed;
    text-underline-offset: 6px;
  }

  #detail-start-date .tabordionStudy .section .article {
    position: absolute;
    width: 70%;
    left: 32.5%;
  }

  .ootb-tabcordion.hybrid-stone .general-content {
    margin-top: 4.75rem;
    margin-bottom: 3.75rem;
  }

  #desktop__banner {
    display: none;
  }

  .tab_container {
    float: left;
    padding: 10px 3% 3% 3%;
    width: 70%;
  }

  .tabs {
    display: block;
  }

  .tab_headings {
    display: none;
  }

  article {
    padding: 0;
  }

  .campaign-course-selector__course-container {
    display: grid;
    grid-template-columns: calc(100% * 2 / 3) calc((100% * 1 / 3) - 2rem);
    column-gap: 2rem;

    .campaign-course-selector__mobile-button-container {
      display: none;
    }

    .campaign-course-selector__sticky-button-container a.campaign-subject-btn {
      position: sticky;
      margin-bottom: 2rem;
    }
  }

  body#hybrid .carousel--home-24 .carousel--home-24-container {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }

  body#hybrid
    .carousel--home-24
    .carousel--home-24-container
    .carousel--home-24-content
    h1 {
    font-size: var(--lt-heading__h1-font-size);
  }

  body#hybrid
    .carousel--home-24
    .carousel--home-24-container
    .carousel--home-24-content {
    display: block;
    background-size: auto;
    background-position: bottom left;
  }

  body#hybrid .carousel--home-24 .slide_viewer {
    min-height: 500px;
    height: min-content;
    max-height: 700px;
  }

  body#hybrid .carousel--home-24 .slide {
    display: none;
    height: 100%;
    position: absolute;
    width: 100%;
    background-color: var(--lt-colour-secondary);
    padding-bottom: 2rem;
  }

  body#hybrid .carousel--home-24 .previous_btn {
    left: 50px;
  }

  body#hybrid .carousel--home-24 .next_btn {
    right: 50px;
  }

  body#hybrid div.general-content:last-child {
    margin-top: 4.75rem;
  }

  body#hybrid #breadcrumb ul {
    font-size: var(--lt-body-font-size) !important;
  }

  body#hybrid div.general-content:first-of-type p:first-child strong {
    font-size: var(--lt-heading__h4-font-size) !important;
    line-height: var(--lt-line-height-head);
  }

  body#hybrid div.general-content p {
    font-size: var(--lt-body-font-size) !important;
  }

  /* Courses Table */
  body#hybrid .course--section-course-list .course--cards--block {
    padding: 0 2rem;
  }

  body.hybrid.hybrid-course {
    .course-banner {
      background-size: cover;
      height: min(650px) !important;
      max-width: 55rem;
      width: fit-content;
      display: block;
      text-align: left;
      padding: 0 1.25rem 2.25rem 1.25rem;
    }

    .course-banner .banner-title-box,
    .course-banner .course--hero {
      max-width: 55rem;
      width: fit-content;
      display: block;
      text-align: left;
      padding: 0 1.25rem 2.25rem 1.25rem;
    }

    .banner-title-box h1 {
      font-size: var(--lt-heading__h1-font-size);
    }

    #course__details {
      display: block;
    }

    #course__details .course-details__col:first-of-type {
      margin-bottom: 2rem;
    }

    .inner.flex--block {
      display: block !important;
    }

    section.course--section-fees .fees-box {
      padding: 2rem;
    }

    section .flex--content-grid-1,
    section .flex--content-grid-2,
    section .flex--content-grid-3,
    section .flex--content-grid-4,
    section .flex--content-grid-5 {
      display: flex !important;
      flex-direction: column;

      img {
        max-height: 10rem;
        width: auto;
        max-width: 20rem;
      }
    }

    section.course--section-fees .col {
      padding: 0;
    }

    section.course--section-discover {
      padding: 2rem 1rem;
    }
  }

  .clearingBox {
    margin-bottom: 1rem;
  }

  #clearing--course-list ol#clearing-list .col:first-child {
    width: 95%;
    margin-bottom: 0px;
  }

  #clearing--course-list ol#clearing-list .summary-list {
    display: flex;
    flex-direction: column;
  }

  #clearing--course-list
    ol#clearing-list
    .summary-list
    .summary-list__item:first-child {
    border-right: 0px;
  }

  #clearing--course-list
    ol#clearing-list
    .summary-list
    .summary-list__item:nth-child(2) {
    border-right: 0px;
  }
}

@media screen and (max-width: 425px) {
  .lt-container {
    max-width: 376px;
  }

  .lt-grid__column-container {
    .lt-columns-1-4__container {
      display: block;
    }
  }

  .g-general-content__col {
    display: flex;
    column-gap: 1.25rem;
  }

  .g-general-content__col img {
    margin-bottom: 0;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .panel {
    width: 50%;
  }

  .panel:first-child {
    width: 100%;
  }

  .panel:nth-child(2) {
    border-right-width: 0.125rem;
  }

  .panel:nth-child(3) {
    border-left-width: 0.125rem;
  }
}

@media screen and (min-width: 320px) {
  .card .h-h3 {
    margin-bottom: calc(15.454545px + 1.420455vw);
  }

  .card__image {
    margin-bottom: calc(14px + 0.9375vw);
  }

  .card__category {
    font-size: var(--lt-body-font-size);
  }

  .card__description {
    font-size: var(--lt-body-font-size);
  }

  .tags__event ul li p {
    font-size: var(--lt-body-font-size);
  }

  .cta-card img {
    margin-bottom: calc(11.090909px + 1.846591vw);
  }

  .cta-card img {
    height: calc(193.636364px + 11.363636vw);
  }

  .cta-card h3 {
    font-size: var(--lt-heading__h3-font-size);
  }

  .masthead {
    padding-top: calc(99.090909px + 4.971591vw);
    padding-bottom: calc(13.636364px + 3.551136vw);
  }

  .masthead-article__published p,
  .masthead-article__published a {
    font-size: var(--lt-button-font-size);
  }

  .search-banner {
    margin-bottom: calc(27.272727px + 7.102273vw);
    padding-top: calc(45px + 1.5625vw);
    padding-bottom: calc(27.272727px + 7.102273vw);
  }

  .s-form-field {
    height: calc(58.363636px + 1.136364vw);
  }

  .s-form-field input[type="search"] {
    font-size: var(--lt-body-font-size);
  }

  .s-form-field .button {
    width: calc(45.272727px + 0.852273vw);
    height: calc(45.272727px + 0.852273vw);
  }

  .featured-post {
    border-bottom: 4px solid var(--lt-colour-primary) !important;
    display: flex;
    align-items: normal !important;
  }
}

@media screen and (max-width: 991px) {
  .navbar-toggler {
    display: block !important;
    position: absolute;
    border: none;
    background: none !important;
    margin-left: 1rem;
    margin-top: 0.5rem;
    z-index: 9;
  }

  .navbar-nav {
    display: none !important;
  }

  .course--section-course-list .course--cards-wrapper .spotlight-course {
    width: 45% !important;
  }

  table {
    display: inline-table !important;
  }

  .navbar-nav li:first-child {
    margin-top: 10px;
  }

  body#hybrid .page-heading--wrapper {
    margin: 6.75rem 2rem 0 2rem;
  }
}

/* Start Iphone Screens */
@media screen and (max-width: 520px) {
  .page--section-banner .page-banner {
    width: 100%;
    background-size: cover;
    height: min(100vh) !important;
    background-position-x: 60%;
  }

  .banner-title-box h1 {
    font-size: var(--lt-heading__h1-font-size) !important;
  }

  section.course--section-modules .course-modules__block div:nth-of-type(1) {
    margin-right: 0rem !important;
  }

  section.course--section-modules .course-modules__block {
    margin: 2rem 0rem !important;
  }

  .course--section-course-list .course--cards-wrapper .spotlight-course {
    width: 95% !important;
  }

  body#hybrid #desktop__banner span.banner-title__sub {
    color: var(--lt-colour-white);
    font-size: var(--lt-body-font-size);
  }

  body#hybrid .general-content .h-group h3 {
    font-size: var(--lt-heading__h3-font-size) !important;
  }

  body#hybrid .GeckoChatWidget .ChatButton-custom > img {
    max-width: 150px;
    max-height: 50px;
    min-width: 120px;
    min-height: 40px;
  }
}

/* End Iphone Screens */

@media screen and (min-width: 1440px) {
  .masthead-post__card {
    width: 40%;
  }

  .masthead-post__image {
    width: 80%;
  }

  .video--section .grid--fullwidth {
    padding: 0 2.25rem 2.25rem 5.25rem !important;
  }

  .video--section .grid--gutter {
    max-width: 80% !important;
  }
}

@media (max-width: 1200px) and (min-width: 962px) {
  #lt-navigation nav.lt-nav ul li a {
    font-size: 1rem !important;
  }

  body#hybrid #lt-navigation nav.lt-nav .collapsed a.lt-nav--item,
  body#hybrid #lt-navigation nav.lt-nav .expanded a.lt-nav--item {
    padding: 1rem 0.5rem;
  }
}

@media (max-width: 962px) {
  #lt-navigation.lt-header {
    z-index: 999;
  }

  #lt-navigation.lt-header .lt-container {
    width: 100%;
    padding: 0px;
    max-width: 962px;
  }

  #lt-navigation.lt-header .lt-logo {
    margin: 0px 1rem;
    width: 10rem;
  }

  #lt-navigation .lt-mega--menu {
    position: relative !important;
    margin-top: 0.5rem !important;
  }

  #lt-navigation .lt-menu-expand--button {
    display: block;
  }

  #lt-navigation ul.lt-submenu {
    padding-right: 0;
  }

  #lt-navigation nav.lt-nav ul li {
    flex-wrap: wrap;
  }

  #lt-navigation nav.lt-nav .lt-menu--buttons {
    border-left: 0rem;
    padding-right: 1rem;
  }

  #lt-navigation #lt-navigation .lt-container {
    padding: 0.5rem 0rem;
    width: 100%;
    max-width: 962px;
  }

  #lt-navigation .lt-close--button {
    display: none;
  }

  #lt-navigation .lt-responsive--navbar {
    transform: translateX(0px);
    overflow-y: auto;
    max-height: 100%;
    width: 100%;
    left: 0;
    display: none;
    position: absolute;
    top: 4rem;
    background: var(--lt-colour-secondary);
    z-index: 99;
    min-height: 100vh;
    padding: 0rem 1.5rem 5rem 1rem;
  }

  #lt-navigation .lt-responsive--navbar .lt-close--button-responsive {
    line-height: var(--lt-line-height-button);
    display: block;
    width: 3rem;
    font-size: var(--lt-heading__h3-font-size);
    margin-top: 1px;
    margin-right: 2px;
    position: absolute;
    top: 3px;
    right: 0.5rem;
    padding: 0;
    border-radius: 40px;
    height: 3rem;
    border: 0.15rem solid !important;
  }

  #lt-navigation .lt-responsive--navbar .lt-nav--items {
    display: flex;
    flex-direction: column;
    margin-top: 1.5rem;
  }

  #lt-navigation .lt-responsive--navbar .lt-secondary--nav-items {
    display: none !important;
  }

  #lt-navigation .lt-responsive--navbar .lt-mega--menu {
    padding: 1rem;
  }

  #lt-navigation .lt-responsive--navbar .lt-row.lt-gap--0 {
    gap: 0 0 !important;
  }

  #lt-navigation nav.lt-nav a.lt-nav--item {
    width: 100%;
    display: block;
    align-items: center;
    padding: 0.6875rem 1.25rem 0.5625rem !important;
    border: 0.25rem solid var(--lt-colour-primary);
    cursor: pointer;
    text-decoration: none !important;
    color: var(--lt-colour-primary) !important;
    margin-bottom: 0rem;
  }

  #lt-navigation nav.lt-nav a.lt-nav--item:hover {
    background-color: rgba(220, 210, 193, 0.3137254902) !important;
    color: var(--lt-colour-primary);
  }

  #lt-navigation nav.lt-nav a.lt-nav--item:first-child {
    padding-left: 15px;
  }

  #lt-navigation nav.lt-nav a.lt-nav--item:after {
    background-color: var(--lt-colour-secondary);
  }

  #lt-navigation nav.lt-nav ul li a {
    text-decoration: none;
    color: var(--lt-colour-primary);
  }

  #lt-navigation .lt-droppable.expanded .lt-mega--menu {
    height: auto !important;
    min-height: auto !important;
    max-height: unset !important;
  }

  #lt-navigation .lt-droppable.expanded a.lt-nav--item::before {
    display: none;
  }

  #lt-navigation .lt-droppable.expanded a.lt-nav--item:after {
    color: var(--lt-colour-primary) !important;
    bottom: 0px;
    left: unset;
  }

  #lt-navigation .lt-droppable.collapsed a.lt-nav--item::before {
    display: none;
  }

  #lt-navigation .lt-droppable.collapsed a.lt-nav--item::after {
    color: var(--lt-colour-primary) !important;
    bottom: 0px;
    left: unset;
  }

  #lt-navigation .lt-droppable.collapsed a.lt-nav--item:focus {
    background-color: var(--lt-colour-secondary); !important;
  }

  #lt-navigation .lt-sm-mt--0 {
    margin-top: 0 !important;
  }

  body#hybrid .two-column-hybrid .flex-container div:first-child {
    padding-right: 0.25rem !important;
  }

  body#hybrid .general-content ul li {
    font-size: var(--lt-heading__h4-font-size) !important;
  }

  body.hybrid.hybrid-course {
    #course__details {
      grid-template-columns: 1fr !important;
      column-gap: 0;
      padding: 1rem;
    }

    .inner.flex--block {
      grid-template-columns: 1fr !important;
      column-gap: 0;
      padding: 1rem;
    }

    .course-details {
      width: 100% !important;
    }

    nav {
      background-color: var(--lt-colour-primary) !important;
      width: 100% !important;
    }

    .navbar > .container,
    .navbar > .container-fluid,
    .navbar > .container-lg,
    .navbar > .container-md,
    .navbar > .container-sm,
    .navbar > .container-xl,
    .navbar > .container-xxl {
      display: flex;
      flex-wrap: inherit;
      align-items: center;
      justify-content: initial;
    }

    .explore-this-course {
      display: block;
      font-weight: var(--lt-font-weight--bold);
      margin-left: 5rem;
      color: var(--lt-colour-offwhite);
    }

    #top-menu li a {
      padding-left: 10px !important;
      color: var( --lt-colour-white) !important;
    }

    #course-page-wrapper #top-menu li.nav-item a {
      color: var( --lt-colour-white) !important;
    }

    nav ul li:first-child {
      margin-left: 2rem !important;
      margin-top: 1rem;
    }

    #navbar_top .container {
      padding-left: 2rem;
      padding: 0.5rem;
      max-width: 100% !important;
    }

    .inner {
      max-width: 1400px;
      padding: 0;
    }

    .fixed-top {
      top: 4.7rem !important;
      padding: 0.5rem;
    }

    .course-details {
      display: flex;
      flex-direction: column;
    }

    .course-details .details-info-row {
      width: 100% !important;
      margin-bottom: 2rem;
    }

    .course-details .details-buttons-row {
      width: 100%;
      max-width: 15rem;
    }

    .inner {
      padding: 0 1rem;
    }
  }
}

@media (max-width: 520px) {
  .flex-cta {
    flex-direction: column;
  }
}

@media (max-width: 1120px) {
  #banner--v3 .hero--content.bestfit .h-group__main {
    font-size: var(--lt-heading__h2-font-size);
  }

  #banner--v3 .hero--content.bestfit .h-group__intro {
    font-size: var(--lt-heading__h4-font-size);
  }

  #banner--v3 .hero--content.bestfit .h-group__lead {
    font-size: var(--lt-heading__h4-font-size);
  }
}

@media (max-width: 1020px) {
  #banner--v3 .hero--content .h-group__main {
    font-size: var(--lt-heading__h1-font-size);
  }
}

@media (max-width: 920px) {
  #banner--v3 .hero--content.bestfit .h-group__main {
    font-size: var(--lt-heading__h2-font-size);
  }

  #banner--v3 .hero--content.bestfit .h-group__intro {
    font-size: var(--lt-body-font-size);
  }

  #banner--v3 .hero--content.bestfit .h-group__lead {
    font-size: var(--lt-body-font-size);
  }

  #profile--wrapper .grid--item {
    min-width: 50%;
  }
}


