/*
Theme Name: Yeovil College Theme
Theme URI: https://www.yeovil.ac.uk
Description: Yeovil College website theme
Author: Yeovil College
Version: 1.0
*/

body {
    color: #4b4b4b;
}

h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
    font-weight: 900;
    color: #184887;
}

h5, h6 {
    color: #F28F2E;
}

nav.navbar #menu-main-menu li:nth-child(4)
header {
    z-index: 1;
}

blockquote {
    margin: 3rem 1rem 2rem;
}

blockquote::before {
    display: block;
    top: 2rem;
    left: -3rem;
    position: relative;
    height: 0;
    content: '\201C';
    font-size: 100px;
    line-height: 0;
    font-family: serif;
    color: #F28F2E;
}

blockquote::after {
    display: block;
    right: 2rem;
    position: absolute;
    height: 0;
    content: '\201C';
    font-size: 100px;
    line-height: 0;
    font-family: serif;
    color: #F28F2E;
}

blockquote p {
    font-style: italic;
}

iframe {
    border: none;
}


.fab.fa-x-twitter {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3C!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath d='M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z'/%3E%3C/svg%3E");
    width: 50%;
    filter: invert(1);
    background-repeat: no-repeat;
}


@media (min-width: 576px) {
    blockquote {
        margin: 3rem 4rem 2rem;
    }
    blockquote::before {
        left:-4rem;
    }
    blockquote::after {
        right: 6rem;
    }
}

.hidden-itemprop {
    display: none;
    overflow: hidden;
    margin: 0px;
}

#totop-button {display: inline-block;
  background-color: #bc5b08;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

#totop-button::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}

#totop-button:hover {
  cursor: pointer;
  background-color: #333;
}

#totop-button:active {
  background-color: #555;
}

#totop-button.show {
  opacity: 1;
  visibility: visible;
}

nav.navbar {
    display: flex;
    flex-direction: row;
    justify-content: center;
    min-height: 110px;
    border-bottom: 1px solid #EEE;
    padding: .5rem 0;
}
nav .navbar-brand {
    margin: 0;
    z-index: 5;
}
nav.navbar .navbar-collapse {
    flex-direction: column;
    width: 100%;
}
nav.navbar .navbar-collapse > ul,
nav.navbar .navbar-collapse > ul > div,
nav.secondary-navbar .navbar-collapse > div {
    width: 100%;
}

nav.navbar #menu-main-menu {
    list-style: none;
    padding-left: 0;
}
nav.navbar #menu-main-menu li {
    text-align: center;
    font-weight: bold;
    margin: 10px auto;
    border-radius: 5px;
}
nav.navbar #menu-main-menu li:hover {
    background-color: #184887;
}
nav.navbar #menu-main-menu li a {
    display: block;
    padding: 5px;
    color: #184887;
    text-transform: uppercase;
    -webkit-transition: color 150ms;
    -moz-transition: color 150ms;
    -ms-transition: color 150ms;
    -o-transition: color 150ms;
    transition: color 150ms;
}
nav.navbar #menu-main-menu li.current-menu-item a,
nav.navbar #menu-main-menu li a:hover {
    color: #bc5b08;
    text-decoration: none;
}

nav.navbar #menu-main-menu li#menu-item-51 a,
nav.navbar #menu-main-menu li#menu-item-15019 a,
nav.navbar #menu-main-menu li#menu-item-14902 a,
nav.navbar #menu-main-menu li#menu-item-15051 a {
    color: #bc5b08;
}

nav.navbar #menu-main-menu li#menu-item-51 a:hover,
nav.navbar #menu-main-menu li#menu-item-15019 a:hover,
nav.navbar #menu-main-menu li#menu-item-14902 a:hover,
nav.navbar #menu-main-menu li#menu-item-15051 a:hover {
    color: #D57018;
}

nav.navbar .navbar-toggler {
    padding: 5px;
    border-radius: 100px;
    border: 4px solid #184887;
}

nav.secondary-navbar {
    background-color: #184887;
    box-shadow: 0 20px 45px 10px rgba(0, 0, 0, 0.5);
}
nav.secondary-navbar li {
    padding: 8px;
}
nav.secondary-navbar a {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 8px 9px;
    border-radius: 5px;
    -webkit-transition: background-color 150ms;
    -moz-transition: background-color 150ms;
    -ms-transition: background-color 150ms;
    -o-transition: background-color 150ms;
    transition: background-color 150ms;
}
nav.secondary-navbar .current-menu-item a {
    color: #f9a35a;
}
nav.secondary-navbar a:hover {
    text-decoration: none;
    background-color: #bc5b08;
    color: #FFF;
}
nav.secondary-navbar li#menu-item-846 {
    height: 44px;
    width: 46px;
}
nav.secondary-navbar li#menu-item-846 a {
    color: #FFF;
    border-radius: 50px;
    border: 2px solid;
}
nav.secondary-navbar #menu-secondary-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    padding-left: 0;
    margin: 10px auto;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 2px blue;
}

nav.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20viewBox='0%200%2032%2032'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20stroke='rgb(9,%2078,%20139)'%20stroke-width='3'%20stroke-linecap='round'%20stroke-miterlimit='10'%20d='M4%208h24M4%2016h24M4%2024h24'/%3E%3C/svg%3E");
    width: 40px;
    height: 40px;
}

.header-search {
    border-radius: 50px;
    border: 2px solid;
    color: #184887;
    padding: 7px;
    font-size: 20px;
    margin: auto;
    cursor: pointer;
}

.header-search:hover {
    background-color: #bc5b08;
    color: #FFF;
    border-color: #184887;
}

.search-overlay {
    position: fixed;
    background: rgba(24, 72, 135, 0.97);
    width: 100%;
    height: 100%;
    z-index: 9;
    display: none;
}

.search-overlay-form {
    display: block;
    height: 200px;
    position: fixed;
    top: 40%;
    width: 100%;
    text-align: center;
}

.search-overlay-close {
    position: fixed;
    right: 20px;
    cursor:pointer;
    top: 10px;
    color: #fff;
    font-size: 30px;
}

.search-overlay-form input[type="text"] {
    top: 50%;
    width: 70%;
    color: rgb(255, 255, 255);
    background: rgba(0, 0, 0, 0);
    font-size: 60px;
    font-weight: 300;
    text-align: center;
    border: 0px;
    border-bottom: 1px solid;
    margin: 20px;
    padding-left: 30px;
    padding-right: 30px;
    outline: none;
}

.search-overlay-form input[type="submit"] {
    color: #fff;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 300;
    padding: 10px 30px;
}

.search-overlay-form input[type="submit"]:hover {
    background: #bc5b08;
}

.search-overlay-form input[type="text"]::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: rgba(255,255,255,0.6);
}
.search-overlay-form input[type="text"]::-moz-placeholder { /* Firefox 19+ */
    color: rgba(255,255,255,0.6);
}
.search-overlay-form input[type="text"]:-ms-input-placeholder { /* IE 10+ */
    color: rgba(255,255,255,0.6);
}
.search-overlay-form input[type="text"]:-moz-placeholder { /* Firefox 18- */
    color: rgba(255,255,255,0.6);
}

@media (max-width: 992px) {
    .search-overlay-form input[type="text"] {
        width: 90%;
        font-size: 25px;
    }
    .search-overlay-form input[type="submit"] {
        font-size: 20px;
    }
    .header-search {
        display: table;
    }
}


body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}
.container-fluid {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .container-fluid {
        flex: 1 0 auto;
    }
}

#menu-footer-menu {
    text-align: left;
    margin: 0;
    padding: 0;
}

footer {
    border-top: 1px solid #EEE;
    padding: 50px 0 0;
}
.footer-brand {
    display: block;
    text-align: center;
}
.footer-brand h2 {
    font-size: 18px;
    padding: 15px 0;
}
.footer-brand a {
    font-weight: normal;
    font-size: inherit;
    word-break: break-all;
    float:none;
}
.navbar-brand>img {
    display: inline-block!important;
}
footer #menu-footer-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 30px 0;
    text-align: center;
    width: 100%;
    justify-content: space-between;
    -ms-flex-pack: space-between;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
}
footer li {
    width: 100%;
}

footer .menu li {
    display: block;
}

footer #menu-footer-menu > li {
    padding-right: 15px;
    padding-left: 15px;
}
footer a {
    color: #4b4b4b;
    font-weight: bold;
    font-size: 16px;
}
footer .sub-menu a {
    font-weight: normal;
    font-size: 14px;
    margin-bottom: 0;
    color: #4b4b4b;
    text-transform: none;
    letter-spacing: normal;
}
footer a:hover {
    color: #4b4b4b;
    text-decoration: underline;
}
footer .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 30px 0;
    text-align: center;
}
footer .social-links,
footer .generator {
    display: flex;
    justify-content: center;
}
footer .social-links {
    padding: 30px;
}

footer .footer-badges {
    text-align: center;
    display: block;
    background-color: #294484;
    padding: 20px 0;
    margin: 0;
}

footer .footer-badges img {
    max-height: 80px;
    padding: 5px;
}

.generator p {
    width: 100%;
    text-align: center;
}

.basic-cta,
.secondary-cta,
.hero-contact-form input[type="submit"] {
    display: inline-block;
    color: #fff;
    border: 2px solid #fff;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 30px;
    font-weight: bold;
    -webkit-transition: background-color 150ms, color 150ms;
    -moz-transition: background-color 150ms, color 150ms;
    -ms-transition: background-color 150ms, color 150ms;
    -o-transition: background-color 150ms, color 150ms;
    transition: background-color 150ms, color 150ms;
}
.basic-cta:hover {
    color: #fff;
    text-decoration: none;
    background-color: #bc5b08;
}
.secondary-cta,
.hero-contact-form input[type="submit"] {
    color: #bc5b08;
    border: 2px solid #bc5b08;
    text-decoration: none;
}
.secondary-cta:hover,
.hero-contact-form input[type="submit"]:hover {
    color: #FFF;
    border: 2px solid #bc5b08;
    background-color: #bc5b08;
    text-decoration: none;
}

.search-cta,
input#searchsubmit,
.row-search-course input[type="submit"] {
    color: #fff;
    border: none;
    background-color: #bc5b08;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 30px;
    font-weight: bold;
}
.search-cta:hover,
input#searchsubmit:hover,
.row-search-course input[type="submit"]:hover {
    background-color: #D57018;
    text-decoration: none;
}

/* Hero (used across the website) */
.hero {
    min-height: 375px;
    background: #F7F7F7 center no-repeat;
    background-size: cover;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
    padding: 40px 10px 40px 0;
    background-color: rgba(255,255,255,0.8);
}

.hero .container {
    display: flex;
}
.page-template-college .hero,
.page-template-students-default .hero,
.page-template-default .hero {
    position: relative;
}
.page-template-college .hero .container,
.page-template-students-default .hero .container,
.page-template-default .hero .container {
    z-index: 1;
}
.hero .background-bck-img {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/*
* HOMEPAGE
*/
#home-hero-carousel,
.home .home-hero .carousel-item {
    width: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
#home-hero-carousel .carousel-inner {
    max-height: 100%;
}
.home-hero-opac {
    width: 100%;
    height: 100%;
}
.home-hero-content {
    height: 100%;
    width: 100%;
    margin:0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.home-hero-content h1 {
    color: #fff;
    font-size: 50px;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 30px;
    max-width: 750px;
}

.home-hero-content img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.row-search-course {
    padding: 50px;
    background-color: #294484;
}
.row-search-course form {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.row-search-course input,
.row-search-course input#searchsubmit,
.row-search-course input[type="submit"] {
    border: none;
    padding: 15px;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
}
.row-search-course label {
    display: none;
}

.home .container-fluid > .row:not(.row-search-course):not(.events-carousel) {
    min-height: 300px;
}

.home .container-fluid .row.home-hero {
    min-height: unset!important;
}

.home .container-fluid .row.home-hero .carousel-inner::after {
    /*content: "";*/
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(0deg, #00000000, #0000004a);
    opacity: .7;
}

.match-students .match-content {
    margin-top: 20px;
    margin-bottom: 20px;
}
.match-students div:nth-child(2) .match-content {
    margin-right: 25%;
}
.match-students h2 {
    margin-bottom: 30px;
}
.match-students div:nth-child(2) {
    background-image: linear-gradient(#062665, #173776, #184887, #062665);
    background: #c8202d;
}

.match-students div:nth-child(2) a {
    color: #e66f09;
    border-color: #e66f09;
}

.match-students div:nth-child(2) h2 {
    color: #FFF;
}
.match-students div:nth-child(2) .match-img {
    background-position: top right;
    background-position: 95% 5%;
}

.match-students .content-half a.ycuc-cta {
    border-color: #fff;
    color:#fff;
}
.match-students .content-half a.ycuc-cta:hover {
    color:#c8202d;
    background-color: #FFF;
}

@media (max-width: 767px) {
    .match-students div:nth-child(1) .match-img {
        background-position: top right;
    }
}

.match-students .match-img {
    background-size: 20%;
    height: 100%;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-repeat: no-repeat;
}

.home-right-course {
    padding: 20px 0;
    text-align: center;
    background-color: #EBEBEB;
}

.ctas-right-course > a {
    margin: 20px auto;
    min-width: 240px;
}
.content-half .cta-0 {
    color: #C53F39;
    border-color: #C53F39;
}
.content-half .cta-0:hover {
    color: #FFF;
    background-color: #C53F39;
    border-color: #C53F39;
}
.content-half .cta-1 {
    color: #F0943C;
    border-color: #F0943C;
}
.content-half .cta-1:hover {
    color: #FFF;
    background-color: #F0943C;
    border-color: #F0943C;
}
.content-half .cta-2 {
    color: #3B2385;
    border-color: #3B2385;
}
.content-half .cta-2:hover {
    color: #FFF;
    background-color: #3B2385;
    border-color: #3B2385;
}
.content-half .cta-3 {
    color: #575675;
    border-color: #575675;
}
.content-half .cta-3:hover {
    color: #FFF;
    background-color: #575675;
    border-color: #575675;
}
.content-half .cta-4 {
    color: #4C9F48;
    border-color: #4C9F48;
}
.content-half .cta-4:hover {
    color: #FFF;
    background-color: #4C9F48;
    border-color: #4C9F48;
}
.content-half .cta-5 {
    color: #C53F39;
    border-color: #C53F39;
}
.content-half .cta-5:hover {
    color: #FFF;
    background-color: #C53F39;
    border-color: #C53F39;
}


.home-prospectus {
    padding: 80px 50px;
    background-color: #F7F7F7;
}

.home-prospectus img {
    max-width: 240px;
    display: block;
    margin: auto;
    margin-bottom: 10px;
    margin-top:30px;
}

.home-prospectus a {
    color: #bc5b08;
    text-decoration: none;
    font-weight: 600;
}

.events-carousel {
    margin: 15px -15px;
}
.events-carousel .carousel-item {
    height: 175px;
    width: 100%;
}
.events-carousel .carousel-indicators li {
    height: 12px;
    width: 12px;
    border-radius: 5px;
}
.events-carousel .carousel-inner img {
    height: 100%;
}
.event-carousel-content {
    position: absolute;
    top: 0;
    height: 100%;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: #FFF;
}
.no-min-height {
    min-height: auto;
}
/* Fix for IE 11 */
@media (max-width: 991px) and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .event-carousel-content {
        position: static;
        min-height: 200px;
    }
}
.whitedtitle {
    color: #FFF;
    margin-bottom: 0;
}
.event-carousel-content h2 {
    font-size: 22px;
}
.carousel-event-date {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 400;
}

.align-center {
    text-align: center;
}

@media (min-width: 993px) {
    .antipad {
        padding-left: 0;
        padding-right: 0;
    }
}

.mobile-antipad {
    padding: 0;
}

.pad-30 {
    padding: 15px;
}

.pad-height-30 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.antimargin {
    margin-left: 0;
    margin-right: 0;
}

.best-you-block {
    display: flex;
    flex-direction: row;
    min-height: 500px;
}

.student-tools-block .bck-img,
.best-you-block .by-left-img,
.best-you-block .by-right-img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.best-you-content {
    display: flex;
    flex-direction: column;
}

.best-you-block .by-right-img {
    min-height: 150px;
    flex-grow: 1;
}
.best-you-block .by-content {
    padding: 30px;
}

.student-tools-block {
    height: auto;
}

.student-tools-content-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}

.student-tools-content-block .block-onflex {
    display: block;
}
.student-tools-block .student-tools-mth-img {
    min-height: 300px;
    padding: 30px;
    margin-top:10px;
}
.student-tools-block .student-tools-h-img {
    min-height: 300px;
}
.student-tools-block .student-tools-lth-img,
.best-you-block .by-left-img {
    min-height: 100px;
    background-position: center;
}
.student-tools-block .content-img-col {
    height: auto;
}

/*
* Default Page
*/
.hero h1 {
    font-size: 2rem;
}
h2 {
    font-size: 1.75rem;
}
h3 {
    font-size: 1.5rem;
}
h4 {
    font-size: 1.4rem;
}
.page-template-default .hero {

}

.default-related-pages {
    background-color: #F7F7F7;
}

.default-content-block {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
    padding-bottom: 40px;
}

.page-id-2224 main {
    padding-top: 50px;
}

.default-content b,
.default-content strong {
    color: #184887;
}
.default-content a,
.default-content a strong {
    color: #bc5b08;
}

.default-content .col-lg-8 {
    margin-top: 20px;
    margin-bottom: 20px;
}
.default-content li {
    margin: 10px auto;
}
.default-content img {
    object-fit: contain;
    max-width: 100%;
}

.travel-block {
    padding-bottom: 30px;
}
.travel-block div {
    padding-left: 15px;
    padding-right: 15px;
}

.travel-block img {
    padding: 0px 20px 20px 0;
}

@media (max-width: 767px) {
    .travel-block {
        display: inline!important;
    }
    .travel-block img {
        padding: 20px 20px 20px 0;
    }
}

/*
 * College
 */
.page-template-college .container-fluid > .row:not(.events-carousel) {
    position: relative;
}
.background-bck-colored {
    background-image: linear-gradient(#062665, #173776, #184887, #062665);
}
.background-bck-colored a,
.content-half.background-bck-colored a,
.content-half .background-bck-colored a,
.background-bck-colored .content-half a {
    color: #e66f09;
    border-color: #e66f09;
}
.background-bck-colored .secondary-cta:hover {
    color: #FFF;
    background-color: #e66f09;
}

.half-background-bck-colored {
    background-image: linear-gradient(to bottom, #FFF 50%, #062665 50%, #173776, #184887, #062665);
}
.half-background-bck-colored a {
    color: #e66f09;
    border-color: #e66f09;
}
.background-bck-colored-white {
    background-color: #FFF;
}
.background-colored-grey {
    background: #F7F7F7;
}
.background-colored-grey a,
.content-half.background-colored-grey a,
.content-half .background-colored-grey a,
.background-colored-grey .content-half a {
    color: #b45707;
    border-color: #b45707;
}
.background-colored-grey .secondary-cta:hover {
    color: #F7F7F7;
    background-color: #b45707;
}
.background-bck-colored .row {
    height: 100%;
}

.directions-orange {
    position: relative;
    height: 67px;
    padding: 0;
}
.directions-orange a {
    background-color: #F28F2E;
    color: #FFF;
    font-weight: bold;
    font-size: 18px;
    padding: 20px;
}
.directions-orange a:hover {
    background-color: #D06D0C;
    text-decoration: none;
}

@media (max-width: 767px) {
    .directions-orange {
        text-align: center;
    }
}

.background-bck {
    position: absolute;
    height: 100%;
    top: 0;
    z-index: -1;
}
.hero .background-bck {
    z-index: auto;
}
.background-bck-img h2,
.background-bck-img p {
    color: #FFF;
    text-shadow: 1px 1px 1px #000;
}
.background-bck-img a {
    text-shadow: 1px 1px 20px #000;
}
.background-bck-right {
    right: 0;
}
.background-bck-left {
    left: 0;
}
.background-bck-img {
    background-repeat: no-repeat;
    background-position: right;
    background-size: cover;
}
.ofsted-college .ofsted-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ofsted-college img {
    max-width: 100%;
}

.whited-color,
.whited-color h2 {
    color: #FFF;
}

.content-inner-inner {
    height: 100%;
}
.content-inner-inner > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 30px;
    padding-bottom: 30px;
}

.content-inner-inner > div:first-child {
    padding-right: 35px;
}

.carousel-event-college-bck {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/*
* Corporation Template
*/
.corporation-members {
    padding-right: 10px;
    padding-left: 20px;
}
.corporation-members .row {
    justify-content: center;
}
.single-corp-member {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 5px;
    cursor: pointer;
}
.corporation-members h3 {
    padding-top: 15px;
    margin-bottom: 5px;
}
.corporation-members .person-img,
.corporation-members .person-img > div {
    border-radius: 150px;
    max-width: 100%;
    width: 200px;
    height: 200px;
    background-size: cover;
    background-position: center;
}
.corporation-members .person-active > div {
    opacity: 0.8;
}

.single-corp-member-desc h2 {
        margin-bottom: 5px;
}

.person-active {
    background-color: #184887;
}
.esc {
    float: right;
    font-size: 2.5em;
    font-weight: 100;
    cursor: pointer;
}

.images3inrow {
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.images3inrow img {
    width: 100%;
    padding: 20px;
}
.images3inrow img:nth-child(3n) {
    padding-right: 0;
}
.images3inrow img:nth-child(3n+1) {
    padding-left: 0;
}

.social-media-feed-twitter {
    background-color: #F7F7F7;
}
.social-links {
    padding: 0;
}
.social-media-feed-twitter .social-links a {
    height: 20%;
}
.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    color: #FFF;
    min-height: 70px;
    min-width: 70px;
}
.social-links a.social-link-face {
    background-color: #3C5A99;
}
.social-links a.social-link-twit {
    background-color: #38A1F3;
}
.social-links a.social-link-link {
    background-color: #0077B5;
}
.social-links a.social-link-inst {
    background-color: #9c755d;
}
.social-links a.social-link-snap {
    background-color: #9c755d;
}
.social-links a:hover {
    opacity: 0.9;
    text-decoration: none;
    color: #FFF;
}
.social-media-feed-twitter .social-feed-twit {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.social-media-feed-twitter .social-feed-twit .ctf-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ctf-header-img,
.ctf-header-name {
    display: none;
}
.social-media-feed-twitter .social-feed-twit #ctf .ctf-header-text .ctf-header-user,
.social-media-feed-twitter .social-feed-twit #ctf .ctf-header-text p {
    margin: 0 !important;
}
.social-media-feed-twitter .social-feed-twit #ctf .ctf-header .ctf-header-follow {
    background-color: transparent;
    color: #38A1F3;
}
.social-media-feed-twitter .social-feed-twit #ctf .ctf-header .ctf-header-follow i {
    font-size: 40px;
}
.social-media-feed-twitter .social-feed-twit #ctf.ctf-super-narrow .ctf-author-box {
    float: none;
}

.social-media-feed-twitter .social-feed-twit .ctf-tweets .ctf-item {
    display: none;
}
.social-media-feed-twitter .social-feed-twit .ctf-tweets .ctf-item.active {
    display: block;
}
.carousel-feed-twit-btns .fa-circle {
    font-size: 10px;
}
.carousel-feed-twit-btns .fa-circle.active {
    color: #184887;
}

/*
* Students Default Template
*/

.page-template-students-default .container-fluid > .row {
    position: relative;
    min-height: 300px;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .page-template-students-default .container-fluid > .row > div {
        min-height: 300px;
    }
}

.d-flex.justify-content-center {
    flex-direction: column;
}

/*
* Student Support Template
*/

.page-template-student-support .container-fluid > .row:not(.hero) {
    position: relative;
}

@media (max-width: 767px) {
    .mobile-bg-grey {
        background: #F7F7F7;
    }
    .mobile-contrast {
            background: rgba(0,0,0,0.5);
    }
}

/*
* Finance & Fees Template
*/
.page-template-finance-fees .container-fluid > .row {
    position: relative;
}

/*
* How To Apply Template
*/
.page-template-how-to-apply .container-fluid > .row {
    position: relative;
}

/*
* Find Us Template
*/
.page-template-find-us .container-fluid > .row {
    position: relative;
    min-height: 300px;
}
/* ACFs Google Maps */
.acf-map-block {
    position: relative;
    z-index: 9;
    padding: 0;
}
.acf-map {
    width: 100%;
    border: none;
    margin: 0;
    min-height: 200px;
    height: calc(100% - 67px);
    position: relative;
}

/* fixes potential theme css conflict */
.acf-map img {
    max-width: inherit !important;
}

.acf-map.background-bck {
    z-index: 9;
    max-height: 100%;
    margin: 0;
    border: none;
}

/* New Amends */
.page-template-default .hero .hero-content,
.page-template-finance-fees .hero .hero-content,
.page-template-student-support .hero .hero-content,
.page-template-how-to-apply .hero .hero-content,
.page-template-find-us .hero .hero-content,
.page-template-college .hero .hero-content,
.page-template-corporation .hero .hero-content,
.page-template-students-default .hero .hero-content,
.page-template-student-life .hero .hero-content,
.page-template-commercial .hero .hero-content,
.page-template-university-centre .hero .hero-content,
.page-template-apprentices .hero .hero-content,
.page-template-leavers-adults .hero .hero-content,
.hero .hero-content {
    z-index: 1;
    padding: 15px 30px 15px 15px;
}

/*
* Page Template Apprenticeship
*/

.page-template-apprentices .container-fluid > .row {
    position: relative;
}

.page-template-apprentices .container-fluid > .row:not(.events-carousel) {
    position: relative;
}

.bottom-half-img {
    min-height: 300px;
    background-size: cover;
}

.bar-promo {
    background-size: cover;
    min-height: 130px;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.bar-promo .align-items-center {
    min-height: 130px;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .bar-promo .align-items-center > * {
        min-height: 130px;
    }
}

.bar-promo-cta {
    color: #fff;
    border: 2px solid #fff;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 30px;
    font-weight: bold;
    -webkit-transition: background-color 150ms, color 150ms;
    -moz-transition: background-color 150ms, color 150ms;
    -ms-transition: background-color 150ms, color 150ms;
    -o-transition: background-color 150ms, color 150ms;
    transition: background-color 150ms, color 150ms;

    display: inline-flex;
    text-align: center;
}

.bar-promo-cta:hover {
    text-decoration: none;
    color: #FFF;
    border: 2px solid #bc5b08;
    background-color: #bc5b08;
}


.apprentice-testimonial {
    padding: 50px;
    margin-top: 50px;
    margin-bottom: 50px;
}

/* -- create the quotation marks -- */
.apprentice-testimonial:before,
.apprentice-testimonial:after{
    position: absolute;
    color: #bc5b08;
    font-size: 100px;
    font-family: cursive;
}
.apprentice-testimonial:before{
    top: 25px;
    content: '\201C';
    font-size: 125px;
    line-height: 0;
    font-family: serif;
    color: #F28F2E;
}
.apprentice-testimonial:after{
    left: 240px;
    bottom: 30px;
    transform: rotate(180deg);
    content: '\201C';
    font-size: 125px;
    line-height: 0;
    font-family: serif;
    color: #F28F2E;
}

.stats-image {
    width: 100%;
}

.testimonial-image {
    border-radius: 100px;
    width: 200px;
    max-width: 100%;
    margin-bottom: 30px;
    height: 200px;
    background-size: cover;
    border: 7px solid #184887;
    box-shadow: 0 0 0 5px hsl(0, 0%, 100%), 0 0 0 12px #f28f2e;
    -moz-box-shadow: 0 0 0 5px hsl(0, 0%, 100%), 0 0 0 12px #f28f2e;
    -webkit-box-shadow: 0 0 0 5px hsl(0, 0%, 100%), 0 0 0 12px #f28f2e;
}

h4.testimonial-name {
    font-size: 14px;
}

.apprentice-stats {
    margin-bottom: 40px;
}

@media (max-width: 991px) {
    .bar-promo {
        text-align: center;
        padding: 20px;
    }
    .carousel-inner .align-items-center {
        text-align: center;
        padding-bottom: 50px;
    }
    .row.events-carousel {
        min-height: 260px;
    }
    .events-carousel .carousel-item {
        height: 100%;
    }
}

@media (max-width: 1024px) {
    .apprentice-testimonial {
        padding: 30px;
        text-align: center;
    }
    .testimonial-image {
        width: 160px;
        height: 160px;
        margin: 30px auto;
    }
}

/*
* Page Template Events
*/

.hero-events-carousel .carousel-item {
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.hero-events-carousel .carousel-item .home-event-carousel-content {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    margin: 0 55px 0 50px;
}
.carousel-event-description {
    color: #FFF;
}
#carouselHeroEventIndicators .carousel-indicators li {
    width: 15px;
    height: 15px;
    border-radius: 10px;
    background-color: #F28F2E;
}
#carouselHeroEventIndicators .carousel-indicators li.active {
    background-color: #FFF;
}

.all-events {
    padding: 50px 0;
}

.page-template-events .hero .content-half {
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.events-single-event {
    padding-top: 20px;
    padding-bottom: 20px;
}
@media (min-width: 768px) {
    .events-single-event > img {
        max-height: 200px;
    }
}
@media (min-width: 992px) {
    .events-single-event > img {
        max-height: 250px;
    }
}
@media (min-width: 1200px) {
    .events-single-event > img {
        max-height: 275px;
    }
}
@media (min-width: 1500px) {
    .events-single-event > img {
        max-height: 300px;
    }
}
@media (min-width: 1800px) {
    .events-single-event > img {
        max-height: 325px;
    }
}
.events-event-img {
    height: 250px;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.events-event-content {
    display: -webkit-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.events-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
}
.events-pagination .page-numbers {
    color: #184887;
    font-size: 1.5rem;
    font-weight: 900;
    padding: 5px;
}
.events-pagination .page-numbers:hover,
.events-pagination .page-numbers.current {
    text-decoration: none;
    color: #F28F2E;
}

.single-events .hero-content {
    z-index: 1;
}
.event-social-share {
    width: 100%;
    height: 150px;
    padding: 0 30px;
    margin-top: 30px;
    margin-bottom: 15px;
    display: inline-grid;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.event-social-share a {
    background-color: #F28F2E;
    color: #FFF;
    font-size: 25px;
    height: 45px;
    width: 45px;
    border-radius: 25px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}
.event-social-share a:hover {
    background-color: #D06D0C;
    text-decoration: none;
}

.event-social-container {
    max-width: 280px;
    padding: 15px 20px;
    margin-top: 30px;
}
/*
* Page Template News
*/
.hero-news-carousel {
    height: 400px;
}
.hero-news-carousel .carousel-item {
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.hero-news-carousel .carousel-item .home-new-carousel-content{
    display: flex;
    height: 100%;
}
.hero-news-carousel .carousel-item .home-new-carousel-content .whited-color-xs{
    position: absolute;
    background: transparent;
}
.hero-news-carousel .carousel-indicators{
    right: 50%;
}
.carousel-new-description {
    color: #FFF;
}
#carouselHeroNewsIndicators .carousel-indicators li {
    width: 15px;
    height: 15px;
    border-radius: 10px;
    background-color: #F28F2E;
}
#carouselHeroNewsIndicators .carousel-indicators li.active {
    background-color: #FFF;
}

.all-news {
    padding: 50px 0;
}

.news-single-new {
    padding-top: 20px;
    padding-bottom: 20px;
}
.news-new-img {
    height: 250px;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.news-new-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.content-half .news-new-content h2 {
    font-size: calc(0.5em + 1vw);
}

.content-half .news-new-content {
    padding-left: 10px;
    padding-right: 10px;
    justify-content: unset;
}

@media (min-width: 768px) {
    .content-half .news-new-content {
        min-height: 160px;
    }
}

@media (min-width: 992px) {
    .content-half .news-new-content {
        min-height: 200px;
    }
}

.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
}
.news-pagination .page-numbers {
    color: #184887;
    font-size: 1.5rem;
    font-weight: 900;
    padding: 5px;
}
.news-pagination .page-numbers:hover,
.news-pagination .page-numbers.current {
    text-decoration: none;
    color: #F28F2E;
}

.news-search-form {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.news-search-selects {
    background: transparent none;
    color: #184887;
    font-size: 18px;
    font-weight: 900;
    border: none;
    margin-right: 2px;
    text-transform: uppercase;
}
.news-select-filters,
.news-input-filters {
    display: inline-flex;
    flex-wrap: wrap;
}

.news-search-form input {
    padding: 15px 10px;
}
.news-search-form select {
    padding: 15px 30px 15px 10px;
}

.news-search-form input[type="text"] {
    margin-right: 15px;
    border: 1px solid #CCC;
    min-width: 260px;
}

.news-search-form select {
    -moz-appearance: none;
    -webkit-appearance: none;
}

.news-search-form select::-ms-expand {
    display: none;
}
.news-select-wrapper {
    position: relative;
    margin: 10px 10px 0 0;
}
.news-select-wrapper:after {
    content:"\f078";
    font-family:'FontAwesome';
    position: absolute;
    top: 15px;
    right: 10px;
    z-index: -1;
    color: #184887;
}

.single-news .hero-content {
    z-index: 1;
}
.new-social-share {
    width: 100%;
    height: 150px;
    padding: 15px;
    margin-top: 30px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.new-social-share a {
    background-color: #F28F2E;
    color: #FFF;
    font-size: 25px;
    height: 45px;
    width: 45px;
    border-radius: 25px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}
.new-social-share a:hover {
    background-color: #D06D0C;
    text-decoration: none;
}

/*
* Page Template Contact
*/
.page-template-contact .hero-content,
.hero-contact-form {
    z-index: 1;
    padding: 50px;
}

.hero-contact-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.hero-contact-form p {
    margin: 0;
}
.hero-contact-form input,
.hero-contact-form textarea {
    margin: 5px 0;
    width: 100%;
    padding: 15px 15px;
}
.hero-contact-form input[type="submit"] {
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    background-color: #bc5b08;
}
.hero-contact-form input[type="submit"]:hover {
    background-color: #D57018;
}

.hero-contact-form #privacycheck .wpcf7-list-item {
    margin: 0 0 0 0;
}

.hero-contact-form #privacycheck .wpcf7-list-item input[type="checkbox"] {
    width: 20px;
}

.hero-contact-form #privacycheck .wpcf7-list-item-label {
    color: #fff;
}

.hero-contact-form div.wpcf7-mail-sent-ok {
    color: #fff;
    border-color: #1e6082;
}


.contact-hero-image {
    min-height: 300px;
    margin-bottom:20px;
}

.default-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 15px 10px;
    margin-left: -15px;
}
.default-content tr > td {
    color: #FFF;
    padding: 5px;
}
.default-content tr > td:first-child {
    background-color: #F28F2E;
}
.default-content tr > td:last-child {
    font-weight: bold;
    background-color: #184887;
    text-align: center;
}

.default-content h3 {
    margin-bottom: 10px;
    margin-top: 30px;
}

@media (max-width: 767px) {
    .page-template-contact .default-content tr > td {
        display: inline-block;
        width: 100%;
        text-align: center;
    }
    .page-template-contact .default-content table {
        border-collapse: collapse;
        border-spacing: unset;
        margin-left: auto;
    }

    .page-template-contact .default-content tr > td:last-child {
        margin-bottom: 10px;
    }

    .page-template-default .default-content table {
        margin-left: auto;
        border-collapse: separate;
        border-spacing: 0px 10px;
    }
    .page-template-default .default-content tr > td:first-child {
        text-align: center;
    }

    .page-template-default .default-content tr > th:last-child {
        padding: 0 5px;
    }
}

/*
* Find Course Template
*/
.hero-find-course {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.hero-find-course h1 {
    text-align: center;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .hero-find-course {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        flex-direction: column;
    }
    .hero-find-course .container {
        margin: 10% auto;
    }
    .hero-find-course h1 {
        width: 100%;
    }
}

.hero-find-course form {
    display: flex;
    justify-content: center;
    padding: 30px 15px;
    max-width: 750px;
    margin: 0 auto;
}
.search-filters {
    flex: 1;
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .search-filters {
        flex: 1 0 auto;
    }
    .col-md-6.match-student-block,
    .match-students .match-img {
        min-height: 300px;
        flex: 1 0 auto;
        flex-direction: column;
        -ms-flex-pack: center;
    }
    .match-students .match-content {
        flex: 1 0 auto;
        height: 100%;
        margin-top: 100px;
    }
}

.search-filters > input {
    width: 95%;
    padding: 12px;
    border: 2px solid transparent;
}

.hero-find-course form input[type="submit"] {
    display: flex;
    height: 52px;
    padding: 10px;
    background-color: #F28F2E;
    color: #FFF;
    border: none;
    font-weight: 900;
}
.hero-find-course form input[type="submit"]:hover {
    background-color: #D06D0C;
}
.select-filters {
    display: flex;
    width: 95%;
}
.select-filters .custom-select {
    background: transparent none;
    color: #F28F2E;
    border: 1px solid transparent;
    border-bottom: 2px solid #F28F2E;
    font-weight: 900;
    margin-right: 2px;
    text-transform: uppercase;
    font-size: 15px;
}
.select-wrapper {
    position: relative;
    margin: 10px 10px 0 0;
	z-index: 0;
}
.select-wrapper:after {
    content:"\f078";
    font-family:'FontAwesome';
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: -1;
    color: #F28F2E;
}

.find-type-courses {
    padding: 100px 0;
}
.find-type-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.find-type-content h2 {
    text-align: center;
}
.find-type-courses .ctas-right-course {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.find-type-content .ctas-right-course > a.secondary-cta {
    margin: 20px 28px;
    font-size: 18px;
}

.load-more-container {
    width: 100%;
    text-align: center;
    margin: 20px auto 40px;
    cursor: pointer;
}

@media (max-width:767px) {
    .select-filters {
        display: block;
    }
}

span.courses-notfound {
    width: 100%;
    text-align: center;
    padding: 50px 0 100px;
}
/* ???? */

.page-template-course .hero-content h5 {
    margin-bottom: 10px;
    margin-top: 20px;
}

@media print {
    .page-template-course .hero .content-half {
        padding: 80px 60px 0!important;
    }
}

.hero-content h4 {
    margin-top: 16px;
    margin-bottom: 10px;
}

@media (min-width: 992px) {
    .hero p {
        color: #b45708;
    }
}

.content-half.course-content h2 {
    margin-top: 16px;
    margin-bottom: 10px;
}

.course-info-list {
    margin-bottom: 20px;
}

.course-info-list strong {
    margin: 2px 0px 0px 0px;
}

.btn-course-apply {
    min-width: 200px;
    text-align: center;
}
/* ??? */

.all-courses {
    padding-top: 50px;
}

.courses-single-course {
/*    padding-top: 30px;
    padding-bottom: 30px;*/
    padding: 50px;
    background: #f7f7f7;
    margin-bottom: 20px;
    border-bottom: 6px solid #184887;
}

.courses-single-course:hover {
    border-bottom-color: #F28F2E;
}

.courses-single-course > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
}
.courses-single-course > a p {
    color: #4b4b4b;
}

.courses-single-course > a span.secondary-cta {
    margin-bottom: 10px;
}
.courses-single-course:hover span.secondary-cta {
    background-color: #F28F2E;
    color: #FFF;
}

.course-social-share {
    width: 100%;
    height: 150px;
    padding: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.course-social-share a {
    background-color: #F28F2E;
    color: #FFF;
    font-size: 20px;
    height: 35px;
    width: 35px;
    border-radius: 25px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 5px;
}
.course-social-share a:hover {
    background-color: #D06D0C;
    text-decoration: none;
}
@media (max-width: 767px) {
    .course-social-share a {
        height: 40px;
        width: 40px;
        margin-right: 5px;
    }
}

@media (max-width: 768px) {
    .courses-single-course {
        padding: 30px;
    }
    .courses-single-course > a {
        display: inline-block;
    }
    .courses-course-content {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .hero-find-course form {
        display: initial;
    }
    .hero-find-course form input[type="submit"] {
        margin-top: 20px;
    }
}


@media (min-width: 1025px) {
    .single-course-sidebar {
        padding-right: 100px;
        padding-top: 60px;
    }
}

@media (min-width: 769px) and (max-width: 1024px){
    .single-course-sidebar {
        padding-right: 20px;
        padding-top: 30px;
    }
}

.courses-list-subject {
    text-transform: uppercase;
    color: #bc5b08;
    font-size: 20px;
}

.courses-list-type {
    color: #4b4b4b;
    font-size: 20px;
}

.courses-list-desc {
    display: block;
    padding-right: 20px;
    color: #4b4b4b;
    margin-top: 10px;
}

.courses-course-content h2 {
    margin-bottom: 10px;
}

/*
* Single Courses Template
*/
.info-date-course {
    display: flex;
    margin-bottom: 10px;
}
.info-date-course span {
    width: 45%;
}
.hero-content .secondary-cta {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Amends on the sidebar navigation */
#menu-sidebar-menu * {
    list-style: none;
}
.social-share-widget a {
    font-size: 16px;
    transition: all 200ms ease-out;
}
.social-share-widget a:hover {
    min-width: 150px;
    padding-top: 7px;
    padding-bottom: 7px;
    margin: 8px 5px;
    color: #bc5b08;
    background-color: #FFF;
}

@media (min-width: 992px) {
    #menu-main-menu .menu-item-has-children ul,
    #menu-main-menu .menu-item-has-children .menu-arrow {
        list-style: none;
        display: none;
    }
}

@media (max-width: 991px) {
    .mobile-only.menu-item-has-children ul,
    #menu-main-menu .menu-item-has-children ul {
        list-style: none;
        display: none;
        font-size: 13px;
        border-bottom: 1px dashed #bc5b08;
        padding-inline-start: 0;
    }
    .mobile-only a,
    #menu-main-menu a {
        display:inline-block!important;
    }
    .menu-arrow {
        width: 20px;
        height: 20px;
        position: relative;
        display: inline-block;
    }
    .menu-arrow i {
        color:#bc5b08;
    }
    nav.navbar #menu-main-menu li:hover {
        background-color: transparent;
    }

}

@media (min-width: 576px) {
    .row-search-course input[type="text"] {
        width: calc(70% - 20px);
        margin-right: 15px;
    }

    .row-search-course input#searchsubmit,
    .row-search-course input[type="submit"] {
        width: 30%;
    }

    .home-hero-content h1 {
        font-size: 60px;
    }

    .ctas-right-course > a {
        padding: 15px 50px;
        margin: 20px 10px;
        min-width: 300px;
    }
    .find-type-courses .ctas-right-course > a {
        margin: 20px 30px;
        padding: 15px 50px;
    }
    .footer-brand h2 {
        font-size: 25px;
        text-transform: none;
        margin-bottom: 40px;
    }
    footer li {
        width: auto;
    }
    footer #menu-footer-menu,
    footer .sub-menu {
        text-align: left;
    }
    .images3inrow img {
        width: 33%;
    }
    .pad-30 {
        padding: 30px;
    }
    .whited-max-xs-color,
    .whited-max-xs-color h2 {
        color: #FFF;
    }
    .content-inner-inner > div:nth-child(2).col-sm-5 {
        margin-left: 15px;
        margin-right: -15px;
    }
    .acf-map-block {
        position: absolute;
    }
    .hero-events-carousel .carousel-item .home-event-carousel-content {
        margin: 0 100px;
    }
    .hero-news-carousel .carousel-item .home-new-carousel-content .whited-color-xs{
        position: relative;
        background-image: linear-gradient(#062665, #173776, #184887, #062665);
    }
    .hero-news-carousel .carousel-item .home-new-carousel-content .whited-color-xs a {
        color: #e66f09;
        border-color: #e66f09;
    }
    .default-content tr > td {
        padding: 10px 25px;
    }
}

@media (min-width: 768px) {
    .event-carousel-content h2,
    .carousel-event-date {
        font-size: 30px;
    }
    .student-tools-block {
        height: 100vh;
        min-height: 750px !important;
    }
    .student-tools-block .content-img-col {
        height: 60%;
    }
    .h-40 {
        height: 40%;
    }
    .events-event-content {
        min-height: 450px;
    }
    .news-new-content {
        min-height: 450px;
    }
}

@media (min-width: 992px) {
    h1, h2, h3, h4, h5, h6, p, ul {
        margin-bottom: 1.5rem;
    }
    footer li {
        width: auto;
    }
    footer #menu-footer-menu {
        width: 100%;
        display: flex;
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        justify-content: space-around;
    }
    footer #menu-footer-menu > li {
        padding-left: 0;
        padding-right: 15px;
    }
    nav.navbar {
        flex-direction: column;
    }
    nav.navbar .navbar-collapse {
        margin-top: -72px;
    }
    nav.navbar #menu-main-menu {
        display: flex;
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        justify-content: space-around;
        align-items: center;
    }
    nav.navbar #menu-main-menu li {
        min-width: 140px;
        max-width: 145px;
        margin: auto;
    }
    nav.navbar #menu-main-menu li:hover {
        background-color: transparent;
    }
    nav.navbar #menu-main-menu li:nth-child(3) {
        margin-right: 0px;
    }
    nav.navbar #menu-main-menu li:nth-child(4) {
        margin-left: 140px;
    }
    nav.navbar #menu-main-menu li a {
        padding: auto;
    }
    .hero-content {
        background-color: transparent;
    }
    .footer-main-content footer a {
        font-size: 18px;
    }
    footer .sub-menu a {
        font-size: 16px;
    }

    .main-default-content > div:first-child {
        padding: 30px 15px;
    }
    .main-default-content > div:first-child > div {
        padding: 0 30px;
    }

    .hero-events-carousel .carousel-item .home-event-carousel-content {
        margin: 0 150px;
    }

    .events-event-content {
        min-height: 400px;
    }

    .event-social-share {
        width: auto;
        text-align: left;
        display: flex;
    }

    .course-social-share {
        width: auto;
        text-align: left;
    }

    .news-new-content {
        min-height: 400px;
    }

    .new-social-share {
        width: auto;
        text-align: left;
    }

    .hero-contact-form input[type="submit"] {
        width: auto;
    }
}

@media (min-width: 1024px) {
    nav.secondary-navbar a {
        padding: 10px 11px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    nav.secondary-navbar li {
        padding:0;

    }
    nav.secondary-navbar a {
        font-size: 12px;
        line-height: 11px;
    }
    nav.secondary-navbar li#menu-item-846 a {
        position: absolute;
    }
}

@media (min-width: 1200px) {
    nav.navbar #menu-main-menu li {
        max-width: 160px;
    }
    nav.navbar #menu-main-menu li:nth-child(3) {
        margin-right: 115px;
    }
    nav.navbar #menu-main-menu li:nth-child(4) {
        margin-left: 200px;
    }
    .single-corp-member-desc {
        order: 1;
    }
    .student-tools-block .student-tools-mth-img {
        min-height: 400px;
    }

    .events-event-content {
        min-height: 350px;
    }
    .news-new-content {
        min-height: 350px;
    }
}
@media (min-width: 1500px) {
    .content-inner-inner > div:first-child {
        padding-right: 5vw;
    }
    .content-inner-inner > div:nth-child(2).col-sm-5 {
        margin-left: 5vw;
        margin-right: -5vw;
    }

    .hero-events-carousel .carousel-item .home-event-carousel-content {
        margin: 0 200px;
    }

    .hero-news-carousel {
        height: 520px;
    }
}

@media (max-width: 576px) {
    .bck-xs-colored {
        background-image: linear-gradient(#062665, #173776, #184887, #062665);
    }
    .bck-xs-colored a {
        color: #e66f09;
        border-color: #e66f09;
    }
    .whited-color-xs,
    .whited-color-xs h2 {
        color: #FFF;
        text-shadow: 1px 1px 1px #000;
    }
    .whited-color-xs a {
        text-shadow: none;
    }
    .half-background-bck-colored {
        background-image: none;
    }
    .container > .row.content-inner-inner {
        height: 100%;
    }

    .social-media-feed-twitter .social-links {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        width: 100%;
    }
    .social-media-feed-twitter .social-links a {
        flex: 1;
        -ms-flex: 1;
        -webkit-flex: 1;
    }
}
@media (max-width: 768px) {
    .basic-cta,
    .secondary-cta,
    .hero-contact-form input[type="submit"] {
        font-size: 16px;
        padding: 10px;
    }
    .hero h1 {
        font-size: 1.75rem;
    }
    .h2, h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.25rem;
    }
    .hero-contact-form {
        padding: 70px 40px;
    }
}
@media (max-width: 992px) {
    nav.navbar {
        padding: .5rem 2rem;
    }
    nav.secondary-navbar {
        position: absolute;
    }
    .page-template-default .hero .hero-content,
    .page-template-students-default .hero .hero-content,
    .page-template-student-support .hero .hero-content,
    .page-template-how-to-apply .hero .hero-content,
    .page-template-find-us .hero .hero-content,
    .page-template-college .hero .hero-content,
    .page-template-corporation .hero .hero-content,
    .page-template-finance-fees .hero .hero-content,
    .page-template-student-life .hero .hero-content,
    .page-template-commercial .hero .hero-content,
    .page-template-apprentices .hero .hero-content,
    .page-template-leavers-adults .hero .hero-content,
    .page-template-employers .hero .hero-content{
        z-index: 1;
        margin: 30px auto;
    }

    .page-template-apprentices .hero .content-half,
    .page-template-leavers-adults .hero .content-half,
    .page-template-student-life .hero .content-half,
    .page-template-commercial .hero .content-half,
    .page-template-college .hero .content-half,
    .page-template-employers .hero .content-half,
    .page-template-apprenticeships-employers .hero .content-half,
    .page-template-contact .hero .content-half,
    .page-template-students-default .hero .content-half,
    .page-template-student-support .hero .content-half,
    .page-template-corporation .hero .content-half,
    .page-template-finance-fees .hero .content-half,
    .page-template-financial-support .hero .content-half,
    .page-template-find-us .hero .content-half,
    .page-template-nursery .hero .content-half,
    .page-template-work-for-us .hero .content-half,
    .page-template-default .hero .content-half,
    .single-news .hero .content-half,
    .page-template-course .hero .content-half,
    .page-template-how-to-apply .hero .content-half,
    .page-template-contact .hero .content-half
    {
        padding: 15px 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: auto;
        background-color: rgba(255,255,255,0.8);
        z-index: 1;
        margin: 30px auto;
    }

    .page-template-apprentices .row.events-carousel,
    .page-template-work-for-us .row.events-carousel,
    .page-template-leavers-adults .row.events-carousel
    {
        min-height: unset;
    }

    .hero-content {
        padding: 40px 30px;
    }

    .single-events .default-related-pages .antipad {
        padding-right: 15px;
        padding-left: 15px;
    }
    .single-news .default-related-pages .antipad {
        padding-right: 15px;
        padding-left: 15px;
    }
}

@media (max-width: 992px) and (min-width: 576px) {
    .page-template-default .hero .hero-content,
    .page-template-students-default .hero .hero-content,
    .page-template-student-support .hero .hero-content,
    .page-template-how-to-apply .hero .hero-content,
    .page-template-find-us .hero .hero-content,
    .page-template-college .hero .hero-content,
    .page-template-corporation .hero .match-students div:nth-child(2) .hero-content,
    .page-template-finance-fees .hero .hero-content,
    .page-template-student-life .hero .hero-content,
    .page-template-commercial .hero .hero-content,
    .page-template-university-centre .hero .hero-content,
    .page-template-apprentices .hero .hero-content,
    .page-template-leavers-adults .hero .hero-content {
        padding: 15px 30px;
    }
}

/* Student Life template */

.page-template-student-life .container-fluid > .row:not(.events-carousel) {
    position: relative;
}

/* Commercial template */

.page-template-commercial .container-fluid > .row:not(.events-carousel) {
    position: relative;
}

/* Nursery */

.nursery-sections .btn {
    text-align: left;
    white-space: unset;
}

/* University Centre template */

.page-template-university-centre .container-fluid > .row:not(.events-carousel) {
    position: relative;
}

.pad-block-half {
    padding: 70px 50px;
}

.pad-block-full {
    padding: 40px 100px;
}

@media (max-width: 1024px) {
    .pad-block-full {
        padding: 40px 30px;
    }
}

.uni-centre-list ul {
    padding-inline-start: 10px;
}

.uni-centre-list li {
    list-style: none;
    margin-bottom: 50px;
}


.uni-centre-list li a {
    text-decoration: none;
    color: #fff;
}

.uni-centre-list li a:after{
    content: ' \276F';
    }


.ycuc-logo {
    position: absolute;
    width: 140px;
    z-index: 2;
    padding: 20px;
}

.ycuc-logo img {
    width: 100%;
}

/* Landing Page */
.page-template-landing-page header,
.page-template-landing-page footer
 {
    display: none;
 }

 .landing-content {
    padding-top: 40px;
 }

 .landing-hero img {
     max-width: 120px;
 }

.landing-hero .secondary-cta {
    background: #bc5b08;
    color: #fff;
}

.landing-content .carousel-item img {
    width: 100%;
    height: 100%;
}

.landing-content .carousel-control-next-icon,
.landing-content .carousel-control-prev-icon {
    width: 30px;
    height: 40px;
}

/* Search Results Page */
.search-results main,
.search-no-results main {
    padding-top: 50px;
    padding-bottom: 50px;
}

.search-results-query {
    margin-bottom: 20px;
    font-size:22px;
}

.search-single-result {
    padding: 50px;
    background: #f7f7f7;
    margin-bottom: 20px;
    border-bottom: 6px solid #184887;
}

.search-single-result:hover {
    border-bottom: 6px solid #bc5b08;
}

.search-single-result:hover h3 {
    text-decoration: none;
}

.search-results a:hover {
    text-decoration: none;
}

.search-single-result p {
    color: initial;
}

.search-single-result h3 a {
        color: #184887;
}

/* Application Form */

.page-template-application-form main {
    padding-top: 50px;
}

form.course-application-form .parent-info {
    background-color: #EBEFF9;
}

form.course-application-form .additional-info {
    background-color: #D8DFF2;
}

form.course-application-form .additional-info,
form.course-application-form .parent-info,
form.course-application-form .main-info,
form.course-application-form .application-submit {
    padding: 20px;
}

form.course-application-form .secondary-cta {
    float: right;
}

form.course-application-form span.required-field {
    color:#dc3545;
    font-size:11px;
}


/* Full Width with Hero Template */
.page-template-fullwidthhero main > .container {
    padding-top: 50px;
    padding-bottom: 50px;
}

.page-template-fullwidthhero main {
    padding-left: 0;
    padding-right: 0;
}

.fullwidth-hero {
    background-size: cover;
    height: 200px;
    width: 100%;
}

.fullwidth-hero h1 {
    color: #fff;
    margin-top: 80px;
    text-shadow: 1px 1px 1px #000;
}

/* Employers template */

.page-template-employers .container-fluid > .row:not(.events-carousel) {
    position: relative;
}

@media (min-width: 1024px) {
    .testimonial_rotator.template-default .slide {
        padding: 0 40px;
    }
}

/* Apply Now template */
.course-tab-cta {
    min-width: 280px;
}

.all-courses a {
    color: #bc5b08;
}


.issuuembed.issuu-isrendered {
    width: 100%!important;
}

@media (min-width: 768px) {
    .issuuembed.issuu-isrendered {
        height: 500px !important;
    }
}

/* Leavers and Adults template */


.page-template-leavers-adults .container-fluid > .row {
    position: relative;
}

.page-template-leavers-adults .container-fluid > .row:not(.events-carousel) {
    position: relative;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .events-event-content,
    .news-new-content {
        display: block;
        min-height: auto !important;
    }
    .single-corp-member {
        display: block;
    }
    .single-corp-member > .person-img {
        margin: 0 auto;
    }
    .staff-experience {
        height: 100px;
    }
}

.page-template-financial-support .card-header,
.page-template-default .card-header {
    padding: 0;
}
.page-template-financial-support .card-header h5 > button,
.page-template-default .card-header > button {
    width: 100%;
    padding: 15px;
    color: #184887;
    font-weight: bold;
}
.page-template-financial-support .card-header h5  > button:hover,
.page-template-default .card-header > button:hover {
    color: #bc5b08;
    text-decoration: none;
}

.wpcf7-response-output {
	color: white;
}