﻿:root {
    /* Fonts */
    --light: 300;
    --regular: 400;
    --medium: 500;
    --semibold: 600;
    --bold: 700;
    --extrabold: 800;
    --black: 900;
    /* colours */
    --yellow: #FFDE59;
    --darkblue: #032B58;
    --mediumblue: #004694;
    --darkgrey: #242424;
    --darkgrey-60: rgba(36,36,36,0.6);
    --lightgrey: #E2E2E2;
    --lightgrey-60: rgba(226,226,226,0.6);
    --darkblue-70: rgba(3,43,88,0.7);
    --darkblue-90: rgba(3,43,88,0.9);
    --darkblue-50: rgba(36,36,36,0.5);
}

/*************************/
/* Banner */
/*************************/

.interiorBanner video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.interiorBanner .video-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    z-index: -5;
}

section.interiorBanner {
    position: relative;
    min-height: 260px;
    background-size: cover;
    background-position: center;
}

section.interiorBanner .blueOverlay {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    padding: 40px;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darkblue-70);
}

section.interiorBanner .container {
    min-height: 260px;
}

section.interiorBanner .container .row {
    display: flex;
    min-height: 260px;
    align-items: center;
}

section.interiorBanner h1 {
    margin-top: 0px;
}

section.interiorBanner .breadcrumbs {
    margin-bottom: 0px;
    line-height: 18px;
}

section.interiorBanner .breadcrumbs a {
    color: white;
    text-decoration: none!important;
    font-weight: var(--light);
}

section.interiorBanner span.yellow {
    color: var(--yellow);
    margin: 0px 7px;
}

/*************************/
/* Sponsors */
/*************************/

section.ourSponsors {
    background: linear-gradient(to right, rgba(255, 222, 89, 1) 0%, rgba(255, 222, 89, 1) 30%, rgba(226, 226, 226, 0.6) 31%, rgba(226, 226, 226, 0.6) 100%);
}

section.ourSponsors .yellow-bg {
    background: var(--yellow);
    padding: 45px 45px 45px 15px;
}

section.ourSponsors .container .row {
    display: flex;
}

section.ourSponsors .logos {
    display: flex;
    gap: 100px;
    padding-left: 70px;
}

section.ourSponsors .yellow-bg h4 {
    font-size: 22px;
    line-height: 30px;
    color: var(--darkblue);
    font-weight: var(--black);
    margin-top: 0px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

section.ourSponsors .yellow-bg p {
    color: var(--darkgrey);
    font-size: 18px;
    line-height: 29px;
    font-weight: var(--light);
    padding-right: 25px;
}

section.ourSponsors .yellow-bg p:nth-last-of-type(1) {
    margin-bottom: 0px;
}

section.ourSponsors .yellow-bg p a {
    color: var(--darkgrey);
    font-size: 18px;
    line-height: 29px;
    font-weight: var(--semibold);
    text-decoration: none;
}

section.ourSponsors .yellow-bg p a:hover {
    color: var(--mediumblue);
}

section.ourSponsors .grey-bg {
    display: flex;
    align-items: center;
}



section.ourSponsors .logos > div {
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
}

section.ourSponsors .logos > div .overlay-link {
    position:absolute;
    inset: 0;
}

section.ourSponsors .titleWrapper {
    background: #ffffff;
    border-right: 7px solid var(--mediumblue);
    border-left: 7px solid var(--mediumblue);
    padding: 5px 0px 8px;
    margin-top: auto;
}

section.ourSponsors .titleWrapper p {
    margin-bottom: 0px;
    font-size: 18px;
    line-height: 24px;
    color: var(--darkgrey);
    font-weight: var(--regular);
}

section.ourSponsors .logos > div .logo {
    margin-bottom: 17px;
}

/*************************/
/* Maincontent */
/*************************/

.mainContent .page-section {
    margin-bottom: 120px;
}

.mainContent .DarkBlue {
    background: var(--darkblue);
}

.mainContent .LightGrey {
    background: var(--lightgrey-60);
}

.mainContent .Blue {
    background: var(--mediumblue);
}

.mainContent .DarkBlue *,
.mainContent .Blue * {
    color: white!important;
}

.mainContent .DarkBlue, 
.mainContent .LightGrey,
.mainContent .Blue {
    padding: 100px 0px!important;
    margin-bottom: 0px!important;
}

.mainContent .page-section {
    padding-top: 120px;
}

.mainContent .page-section h1,
.mainContent .page-section h2,
.mainContent .page-section h3,
.mainContent .page-section h4 {
    margin-top: 50px;
}

.mainContent .page-section h1:nth-of-type(1),
.mainContent .page-section h2:nth-of-type(1),
.mainContent .page-section h3:nth-of-type(1),
.mainContent .page-section h4:nth-of-type(1) {
    margin-top: 0px;
}

.mainContent .page-section .cms-content > *:nth-last-child(1) {
    margin-bottom: 0px;
}

.mainContent .page-section .Middle {
    align-items: center;
} 

.mainContent .page-section .Top {
    align-items: flex-start;
} 

.mainContent .page-section .alignWrapper {
    display: flex;
}

.mainContent .img-left .padding {
    padding-left: 60px;
}

.mainContent .img-right .padding {
    padding-right: 60px;
}

.mainContent .two-column .padding-right {
    padding-right: 30px;
}

.mainContent .two-column .padding-left {
    padding-left: 30px;
}

.mainContent img {
    border-radius: 5px;
}

.mainContent p > a.yellow-btn:not(:first-of-type) {
    margin-left: 10px;
}

.mainContent .video-container {
    position: relative;
    padding-bottom: 52.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    width: 100%;
}

.mainContent .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*************************/
/* Board.cshtml */
/*************************/

section.mainContent.board-content {
    padding-bottom: 60px;
}

.board-member-wrapper {
    display: flex;
    clear: both;
    flex-wrap: wrap;
}

.board-member .img-wrapper {
    height: unset;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 5px;
    overflow: hidden;
}

.board-member .img-wrapper .board-member-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.board-member .text-wrapper h3 {
    text-align: center;
    margin-bottom: 5px;
    font-size: 22px;
}

.board-member .text-wrapper .position {
    text-align: center;
    margin-bottom: 3px;
    color: var(--darkgrey);
    font-size: 20px;
}

.board-member .text-wrapper .location {
    text-align: center;
    margin-bottom: 0px;
    font-size: 18px;
    font-weight: var(--light);
    color: var(--darkgrey);
}

.board-member {
    margin-bottom: 60px;
}

.top-content-board {
    margin-bottom: 60px;
}

.top-content-board h2 {
    margin-top: 0px;
}

.top-content-board p:nth-last-of-type(1) {
    margin-bottom: 0px;
}

/*************************/
/* Blog List */
/*************************/

.flex-wrap {
    flex-wrap:wrap;
}

/*************************/
/* Photo Gallery */
/*************************/

.photoGalleryWrapper img {
    width: 100%;
}

.fancyWrapper {
    margin-bottom: 30px;
}

.fancyWrapper a {
    height: unset;
    aspect-ratio: 16 / 11;
    width: 100%;
    display: block;
}

.fancyWrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/*************************/
/* Three Column */
/*************************/

.col-img-wrapper {
    height: unset;
    aspect-ratio: 16 / 9;
    width: 100%;
    display: block;
    margin-bottom: 10px;
}

.col-img-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}


@media (min-width: 992px) and (max-width: 1199px) {

    /*************************/
    /* Sponsors */
    /*************************/

    section.ourSponsors .yellow-bg {
        padding: 45px 30px 45px 15px;
    }

    section.ourSponsors .logos {
        gap: 50px;
        padding-left: 40px;
    }

    /*************************/
    /* Maincontent */
    /*************************/

    .mainContent .img-right .padding {
        padding-right: 30px;
    }

    .mainContent .img-left .padding {
        padding-left: 30px;
    }

    .mainContent .two-column .padding-right {
        padding-right: 15px;
    }

    .mainContent .two-column .padding-left {
        padding-left: 15px;
    }

    .mainContent .page-section .alignWrapper,
    .mainContent .page-section .Middle {
        align-items: start;
    }

    /*************************/
    /* Board.cshtml */
    /*************************/

    .top-content-board h2 {
        font-size: 30px;
    }

    .board-member .text-wrapper h3 {
        font-size: 20px;
    }

    .board-member .text-wrapper .position {
        font-size: 18px;
        line-height: 18px;
    }

    .board-member .text-wrapper .location {
        font-size: 16px;
        line-height: 18px;
    }

    /*************************/
    /* Blog List */
    /*************************/

    .event-wrapper > div {
        margin-bottom: 40px;
    }

}

@media (min-width: 768px) and (max-width: 991px) {
    
    /*************************/
    /* Sponsors */
    /*************************/

    section.ourSponsors .yellow-bg p {
        padding-right: 0px;
    }

    section.ourSponsors .yellow-bg {
        background: var(--yellow);
        padding: 30px 30px 30px 15px;
    }

    section.ourSponsors .yellow-bg h4 {
        font-size: 19px;
        margin-bottom: 5px;
    }

    section.ourSponsors .logos {
        gap: 35px;
        padding-left: 20px;
    }

    section.ourSponsors .titleWrapper p {
        font-size: 14px;
    }

    section.ourSponsors .grey-bg {
        padding: 30px 15px;
    }

    /*************************/
    /* Maincontent */
    /*************************/

    .mainContent .page-section .alignWrapper {
        display: block;
    }

    section.mainContent {
        padding: 0px 0px 60px 0px;
    }

    .mainContent .page-section {
        padding-top: 60px;
    }

    .mainContent .img-left .padding {
        padding-left: 0px;
        padding-top: 30px;
    }

    .mainContent .img-right .padding {
        padding-right: 0px;
        padding-top: 30px;
    }

    .mainContent .DarkBlue,
    .mainContent .LightGrey,
    .mainContent .Blue {
        padding: 60px 0px !important;
    }

    .mainContent .page-section {
        margin-bottom: 60px;
    }

    .mainContent .two-column .padding-left {
        padding-left: 0px;
        padding-top: 40px;
    }

    .mainContent .two-column .padding-right {
        padding-right: 0px;
    }

    /*************************/
    /* Board.cshtml */
    /*************************/

    .top-content-board h2 {
        font-size: 30px;
    }

    .top-content-board {
        margin-bottom: 30px;
    }

    .board-member .text-wrapper h3 {
        font-size: 20px;
    }

    .board-member .text-wrapper .position {
        font-size: 18px;
        line-height: 18px;
    }

    .board-member .text-wrapper .location {
        font-size: 16px;
        line-height: 18px;
    }

    .board-member {
        margin-bottom: 40px;
    }

    /*************************/
    /* Blog List */
    /*************************/

    .event-wrapper > div {
        margin-bottom: 40px;
    }

    /*************************/
    /* Three Column */
    /*************************/

    .three-column .col-md-4 {
        margin-bottom: 25px;
    }

    .three-column .col-md-4:nth-last-of-type(1) {
        margin-bottom: 0px;
    }

}

@media (max-width: 767px) {

    /*************************/
    /* Sponsors */
    /*************************/

    section.ourSponsors .container .row {
        display: block;
    }

    section.ourSponsors .yellow-bg p {
        padding-right: 0px;
    }

    section.ourSponsors .yellow-bg {
        background: var(--yellow);
        padding: 30px 15px 30px 15px;
    }

    section.ourSponsors .yellow-bg h4 {
        font-size: 19px;
        margin-bottom: 5px;
    }

    section.ourSponsors {
        background: var(--lightgrey-60);
    }

    section.ourSponsors .logos {
        gap: 25px;
        padding-left: 0px;
    }

    section.ourSponsors .titleWrapper p {
        font-size: 14px;
    }

    section.ourSponsors .grey-bg {
        padding: 30px 15px;
    }

    /*************************/
    /* Maincontent */
    /*************************/

    .mainContent .page-section .alignWrapper {
        display: block;
    }

    section.mainContent {
        padding: 0px 0px 60px 0px;
    }

    .mainContent .page-section {
        padding-top: 60px;
    }

    .mainContent .img-left .padding {
        padding-left: 0px;
        padding-top: 30px;
    }

    .mainContent .img-right .padding {
        padding-right: 0px;
        padding-top: 30px;
    }

    .mainContent .DarkBlue, 
    .mainContent .LightGrey, 
    .mainContent .Blue {
        padding: 60px 0px !important;
    }

    .mainContent .page-section {
        margin-bottom: 60px;
    }

    .mainContent .two-column .padding-left {
        padding-left: 0px;
        padding-top: 40px;
    }

    .mainContent .two-column .padding-right {
        padding-right: 0px;
    }

    .mainContent p > a.yellow-btn:not(:first-of-type) {
        margin-left: 0px;
    }

    .mainContent p > a.yellow-btn:first-of-type {
        margin-bottom: 10px;
    }

    /*************************/
    /* Board.cshtml */
    /*************************/

    .board-member-wrapper {
        margin-right: 15px;
        margin-left: 15px;
    }

    .top-content-board {
        margin-bottom: 40px;
    }

    .board-member-wrapper > div:nth-of-type(odd) {
        padding-right: 7.5px;
        padding-left: 0px;
    }

    .board-member-wrapper > div:nth-of-type(even) {
        padding-left: 7.5px;
        padding-right: 0px;
    }

    .board-member .text-wrapper h3 {
        font-size: 18px;
        line-height: 18px;
    }

    .board-member .text-wrapper .position {
        font-size: 16px;
        line-height: 18px;
    }

    .board-member .text-wrapper .location {
        font-size: 14px;
        line-height: 18px;
    }

    .board-member {
        margin-bottom: 40px;
    }

    /*************************/
    /* Photo Gallery */
    /*************************/

    .photoGalleryWrapper .galleryWrapper {
        margin-bottom: 15px;
    }

    .fancyWrapper {
        margin-bottom: 0px;
    }

    .photoGalleryWrapper .galleryWrapper:nth-last-of-type(1), 
    .photoGalleryWrapper .galleryWrapper:nth-last-of-type(2) 
    {
        margin-bottom: 0px;
    }

    .photoGalleryWrapper .galleryWrapper:nth-of-type(odd) {
        padding-right: 7.5px;
    }

    .photoGalleryWrapper .galleryWrapper:nth-of-type(even) {
        padding-left: 7.5px;
    }

    /*************************/
    /* Three Column */
    /*************************/

    .three-column .col-md-4 {
        margin-bottom: 25px;
    }

    .three-column .col-md-4:nth-last-of-type(1) {
        margin-bottom: 0px;
    }
}

