@media all and (max-width: 1600px) {
  .bottomb {
    bottom: -55%;
  }
}
@media all and (max-width: 1400px) {
  .tagline span {
    font-size: 3rem;
    line-height: 3rem;
  }
  .tagline .starthere {
    letter-spacing: 0.2rem;
    padding: 0 12px 0 16px;
  }
  .tagline .starthere::before {
    top: 20px;
    bottom: 0px;
    left: 0;
    right: 0;
  }
  .tagline .goanywhere {
    font-size: 4rem;
    line-height: 3.5rem;
  }
}

@media all and (max-width: 1300px) {
  .home-carousel .carousel-caption {
    width: 80%;
  }
}

@media all and (max-width: 1199px) {
  .bottomb {
    bottom: -40%;
  }
  .important-messages h2 {
    font-size: 1.8rem;
    line-height: 2.4rem;
  }
  .important-messages .col div.spec2 h2  {
    font-size: 1.4rem;
    line-height: 1.4rem;
  }
  .fullsize h2 {
    font-size: 3rem;
    line-height: 3rem;
  }
  h3.stat-header {
    font-size: 1.2rem;
  }
  h3.stat-header span.stat-number {
    font-size: 2rem;
  }
  span.stat-subtitle {
    font-size: 1rem;
  }
  .home-carousel h2 {
    font-size: 48px;
    line-height: 60px;
  }
  .home-carousel h3 {
    font-size: 1.6rem;
  }
  .inner-parallax-left {
    left: -288px;
    padding-left: 298px;
  }
  .sidebar {
    padding: 16px;
  }
  .school-leavers {
    background-position: 0px -50%;
  }
}

@media all and (max-width: 991px) {
  .card.alumni-card {
    padding-top: 0px;
  }
  .alumni-column-single .card-img-top {
    border-bottom-left-radius: 0;
    border-top-right-radius: 8px;
  }
  .course-info {
    padding: 0 16px 16px 16px;
  }
  .course-info .header {
    padding-bottom: 0;
  }
  .course-info .header .courseheadlinks {
    position: relative;
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
  }
  .courseheadlinks .btn-group {
    width: 100%;
  }
  .courseheadlinks .btn-group>div, .btn-group>a {
      width: 50%;
  }
  .courseheadlinks .btn-group>div.dropdown>a {
    width: 100%;
  }
  .courseheadlinks .btn-group>a, .courseheadlinks .btn-group>div.dropdown>a {
    padding: 16px 16px;
    margin-top: 16px;
    text-align: center;
    margin-left: 0;
  }
  .courseheadlinks a:first-child {
    border-top-left-radius: 0;
    border-left: 0;
  }
  section.events-container .featured-container::before {
    width: 100%;
  }
  section.events-container .featured-container .col div {
    margin-top: 250px;
    margin-bottom: 0;
  }
  section.events-container .featured-container::after {
    top: 0;
    background: linear-gradient(180deg, rgba(200, 200, 200, 0) 200px, rgba(200, 200, 200, 1) 300px);
    width: 100%;
    left: 0;
  }
  section.hero::before, .he-header::before {
    border-top: 16px solid #fff;
    border-right: 16px solid #fff;
  }
  .homesection .tagline {
    margin-top: 250px;
  }
  .school-leavers {
    background-position: 0px 12%;
  }
  .bottomb {
    bottom: -30%;
  }
  .leftb {
    background-position: left -500px top -16px;
  }
  .student {
    background-size: auto;
    left: 100px;
  }
  .big-ticket>div {
    border-radius: 0;
    border-top: 0;
  }
  .big-ticket>div h2 {
    font-size: 2.4rem;
    line-height: 2.4rem;
    text-shadow: 2px 2px 2px var(--primary-font-color);
    padding: 64px 16px;
  }
  .big-ticket>div:hover {
    transform: none;
  }
  .big-ticket>div figure {
    display: none;
  }
  .news-navs {
    margin-bottom: 0;
  }
  .news-content, .ticket-embed {
    padding: 16px;
  }
  .news-container h1 {
    font-size: 2rem;
  }
  .featured-container::before {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    top: 0;
  }
  .featured-container .col div {
    padding: 250px 0 32px 0;
  }
  .featured-container::after {
    top: 0;
    background: linear-gradient(180deg, rgba(43,44,47,0) 200px, rgba(43,44,47,1) 300px);
    width: 100%;      
    left: 0;  
  }
  section.events-container .featured-container::after {
    background: linear-gradient(180deg, rgba(216,216,216,0) 200px, rgba(216,216,216,1) 290px);
  }

  .trending-now::-webkit-scrollbar {
    height: 4px;
  }

  .course-list-subhead {
    margin-top: -8px;
  }

  .results-count-heading {
    margin-bottom: 32px;
  }

  .search-filters label, .fieldset-header button{
    font-size: 1.1rem;
  }

  .important-messages h2 {
    font-size: 1.4rem;
    line-height: 2rem;
  }

  .header-message {
    padding-top: 300px;
  }

  .inner-parallax-left {
    width: calc(100% + 64px);
    margin-left: -32px;
    margin-right: -32px;
    left: 0;
    padding-left: 32px;
  }
  .fullsize.background-right::before, .fullsize.background-left::before {
    background: linear-gradient(90deg, rgba(247,247,247,1) 50%, rgba(247,247,247,0.5) 100%);
  }
  .fullsize h2 {
    font-size: 2.4rem;
    line-height: 2.4rem;
  }
  .mobile-horizontal {
      flex-wrap: nowrap!important;
      overflow-x: scroll;
      overflow-y: hidden;
      position: relative;
      justify-content: flex-start!important;
  }
  .mobile-full {
    max-width: 100%;
  }
  .mobile-horizontal::-webkit-scrollbar {
    width:4px;
    height:4px
  }
  .mobile-horizontal::-webkit-scrollbar-track {
    background:#F6F6F6;
  }
  .mobile-horizontal::-webkit-scrollbar-thumb {
    background:#58595b;
  }
  .mobile-horizontal::-webkit-scrollbar-thumb:hover {
    background:#58595b;
  }
  .parallax .col-md-6 {
    width: 100%;
  }
  .news-sidebar {
    padding: 32px;
  }
  .related-box .row {
    padding-top: 32px;
  }
  .homesection:not(.subject-areas) {
    padding: 32px 0;
  }
  .he-header .container::before {
    background-size: auto 100%;
  }
}

@media all and (max-width: 900px) {
  .home-carousel h2, .home-carousel h1 {
    font-size: 3rem;
    line-height: 3.6rem;
  }
  .home-carousel h3 {
    font-size: 1.4rem;
  }
}

@media all and (max-width: 782px) {
  header.loggedin {
    top: 46px;
  }
}

@media all and (max-width: 767px) {
  .sa-logo {
    max-width: 50%;
  }
  .he-header>.container::before {
    display: none;
  }
  .student {
    left: 0;
  }
  .leftb {
    background-position: left -550px top -16px;
  }
  section.hero, .he-header {
    background-position: top -150px right -100px;
  }
  .big-ticket div::before {
    position: absolute;
    display: block;
    content: '\f25a';
    font-family: "Font Awesome 5 Pro";
    color: #fff;
    opacity: 0.2;
    font-size: 8rem;
    transform: rotate(-10deg);
    right: 16px;
    bottom: 16px;
    line-height: 8rem;
  }
  .wp-bootstrap-blocks-row.footer-logos>div:not(.no-pad) {
    flex-wrap: wrap;
  }
  footer .col {
    padding: 16px !important;
  }
  .footer-logos {
    margin-top: 64px;
  }
  .footer-logos figure {
    width: 40%;
    margin-bottom: 0;
    padding: 8px;
  }
  .important-messages h2 {
    font-size: 1.8rem;
    line-height: 2.4rem;
  }
  .homesection.subject-areas .col a:not(.cover) {
    font-size: 1.1rem;
  }
  .homesection.subject-areas .col a:not(.cover) i {
    font-size: 2rem;
    margin-bottom: 16px;
  }
  .home-carousel, .home-carousel h1 {
    font-size: 3rem;
    line-height: 3.6rem;
  }
  .home-carousel h3 {
    font-size: 1.2rem;
    line-height: 2rem;
    font-weight: 400;
  }
  #sidebar {
    width: 100%;
  }
  #sidebar.collapsed {
    right: -100%;
  }
  .home-carousel .carousel-item a {
    display: block;
  }
  .nf-field-container {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .news-header h1 {
    font-size: 2.4rem;
  }
  #tabs-package .ui-widget-header {
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
  }
  .news-header .container>.row {
    min-height: 400px;
  }
  section.homesection, .parallax, .homesection.background-left {
    background-attachment: scroll;
    background-size: auto 120%;
    background-position: 50% 90%;
  }
  .news-sidebar {
    padding: 16px;
  }
  .accordion-button {
    font-size: 1rem;
  }
  .navbar {
    padding: 8px 8px;
  }
  .wp-bootstrap-blocks-row {
    justify-content: center;
  }
  .subject-buttons .link-column h3 {
    font-size: 1.2rem;
    line-height: 1.6rem;
    margin-top: 8px;
  }
  .subject-buttons .link-column i {
    font-size: 3rem;
  }
}

@media all and (max-width: 600px) {
  #wpadminbar {
    position: fixed;
  }
}

@media all and (max-width: 575px) {
  #breadcrumbs a, .breadcrumb_last, .second-nav a {
    font-size: 0.8rem;
    padding: 8px 8px;
  }
  section.homesection.background-left {
    background-size: auto 100%;
    padding: 64px 0 64px 0;
  }
  .homesection.dark h2, .fullsize.dark h2 {
    font-size: 2.2rem;
  }
  .homesection.dark h3, .fullsize.dark h3 {
    font-size: 1.2rem;
  }
  .fullsize form input~button, .parallax form input~button {
    font-size: 1.2rem;
    line-height: 2rem;
  }
  .fullsize input, .parallax input {
    font-size: 1.1rem;
    padding: 5px 80px 5px 16px;
  }
  .parallax h1, .parallax h2 {
    font-size: 2.2rem;
  }
  .home-carousel a:not(.carousel-control-next):not(.carousel-control-prev):not(.hashtags a), .parallax a:not(.post-column a):not(.hashtags a) {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  p.hashtags {
    font-size: 0.8rem;
  }
  .details-box {
    max-width: calc(100% + 30px);
    margin-bottom: 0;
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: 32px;
  }
  #tabs-package nav div {
    width: calc(100% + 48px);
    margin-left: -12px;
  }
}
