@import url('https://fonts.googleapis.com/css2?family=Michroma&family=Ubuntu:wght@400;700&family=Titillium+Web&display=swap');

:root {
    --ff-michroma: 'Ubuntu', sans-serif;
    --ff-ubuntu: 'Ubuntu', sans-serif;
    --ff-titillium: 'Titillium Web', sans-serif;

    --dark-blue: #00669D;
    --light-blue: #98DBFF;
    --link-blue: #1D77AD;
    --dark-grey: #717373;
    --middle-grey: #ADADAD;
    --dark-black: #111111;
    --table-bg: #E3F6FF;
    --red: #F40808;

    --mobile-backdrop: #0C81AF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    min-height: 100vh;
}

body {
    font-family: var(--ff-ubuntu);
    font-weight: 400;
}

body.blocked {
    overflow: hidden;
    position: relative;
}

h1 {
    margin: 0;
    padding: 0;
    color: var(--dark-blue);
    font-family: var(--ff-michroma);
    font-size: 1.8rem;
    font-weight: bold;
    background: none;
    text-transform: uppercase;
}

h2 {
    color: var(--dark-blue);
    font-family: var(--ff-michroma);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 43px;
}

h3 {
    color: black;
    font-family: var(--ff-titillium);
    font-size: 22px;
    font-weight: 600;
    line-height: 31px;
}

p {
    margin: 0 0 1.6rem 0;
    padding: 0;
    font-family: var(--ff-titillium);
    font-size: 18px;
    line-height: 1.6rem;
    text-align: justify;
}

a {
    color: var(--link-blue);
    text-decoration: none;
}

/*
a:hover {
    color: #000;
    text-decoration: underline;
}
*/

ul {
    list-style: none inside none;
}

ul li {
    font-family: var(--ff-titillium);
    font-size: 20px;
}

table {
    width: 100%;
    font-family: var(--ff-titillium);
    font-size: 20px;
    line-height: 31px;
}

table tr:nth-child(odd) {
    background-color: white;
}

table tr:nth-child(even) {
    background-color: var(--table-bg);
}

table td {
    padding: 12px 25px;
    text-align: right;
}

table td:nth-child(1) {
    text-align: left;
}

table td.header {
    color: var(--dark-blue);
    font-weight: 600;
}

hr {
    border: none;
    border-bottom: 1px solid #BBB;
    box-shadow: 0px 1px 8px rgba(0,0,0,0.5);
}

iframe {
    border: 1px solid #BBB;
}

.red {
    color: var(--red);
}

.bg {
    background: rgba(255,255,255,0.8);
}

.container {
    margin: 0 auto;
    width: 100%;
    min-height: 100%;
}

header {
    position: relative;
    width: 100%;
    background-color: white;
}

.top-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 200px;
}

.top-header-wrapper nav {
    display: none;
}

.top-menu {
    display: flex;
    align-items: center;
    gap: 60px;
    list-style: none outside none;
}

.top-menu > li {
    position: relative;
    padding: 10px 0;
}

.top-menu li a {
    font-size: 1.8rem;
    font-family: var(--ff-michroma);
}

.top-navigation-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: space-between;
}

#logo img {
    width: 150px;
}

.social-links ul {
    display: flex;
    gap: 10px;
}

.social-links ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.banner .cover-banner img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top center;
}

.banner .cover img {
    width: 100%;
    height: 148px;
    object-fit: cover;
    object-position: center center;
}

.cover figure, .cover-banner figure {
    position: relative;
    background: #1d77ad;
    background: -webkit-linear-gradient(#737171, #1d77ad);
}

.cover figcaption, .cover-banner figcaption {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    place-content: center;
    padding: 0 20px;
    color: white;
    font-family: var(--ff-michroma);
    font-size: 30px;
}

#content {
    /* float: right; */
    position: relative;
    margin-left: 304px;
    padding: 74px 25px 0px 25px;
    width: 699px;
    min-height: 100%;
    font-size: 16px;
    box-sizing: border-box;
    z-index: 1;
}

#content img {
    max-width: 100%;
}

.content {
    margin: 33px 20px;
}

.box {
    display: flex;
    margin: 0 0 60px 0;
    border-radius: 6px;
    box-shadow: 0px 0px 18px 0px #0000002e, 2px 2px 3px 0px #00000024;
}

.box--album {
    flex-direction: column;
    padding: 46px 20px;
}

.box--album h2, .box--gallery h2 {
    margin: 0;
    margin-bottom: 30px;
    padding: 0;
    color: var(--link-blue);
    font-family: var(--ff-michroma);
    font-size: 25px;
    font-weight: 300;
}

.box--album img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center center;
}

.box--gallery {
    padding: 46px 20px;
}
.box--gallery .img-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.box--content {
    padding: 23px;
}

.box--content div {
    flex: 1;
}

.box--content p img {
    margin: 0 0 20px 0;
    padding: 0;
    max-width: 100%;
    height: auto;
}

.box--two-col-image-full-left > div {
    display: grid;
    grid-template-columns: 1fr;
}

.box--two-col-image-full-left > div div:nth-child(1) img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 6px 6px 0 0;
}

.box--two-col-image-full-left > div div:nth-child(2),
.box--two-col-image-full-right > div div:nth-child(1) {
    padding: 30px;
    overflow: hidden;
}

.box--two-col-image-full-right > div div:nth-child(1) {
    order: 1;
}

.box--two-col-image-full-right > div div:nth-child(2) {
    order: 0;
}

.box--two-col-image-full-right > div {
    display: grid;
    grid-template-columns: 1fr;
}

.box--two-col-image-full-right > div div:nth-child(2) img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 6px 6px 0 0;
}

.box--team {
    flex-direction: column;
    padding: 20px;
}

.box--team-members {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
    margin-top: 35px;
}

.team-member img {
    max-width: 100%;
    height: auto;
}

.team-member h2 {
    margin: 10px 0 0 0;
    text-align: center;
}

.team-member h3 {
    margin: 0;
    text-align: center;
    font-family: var(--ff-ubuntu);
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
}

/* form */
fieldset.form {
    margin-top: 50px;
}

fieldset.form legend {
    display: none;
}

fieldset.form .formline {
    margin: 0 0 50px 0;
}

fieldset.form input[type=text],
fieldset.form input[type=email] {
    padding: 10px;
    width: 100%;
    font-size: 30px;
    font-family: var(--ff-michroma);
    text-align: center;
    border: 1px solid #707070;
}

fieldset.form input[type=submit] {
    padding: 15px 20px;
    color: white;
    font-family: var(--ff-michroma);
    font-size: 30px;
    line-height: 43px;
    border: 0;
    background-color: var(--dark-blue);
    cursor: pointer;
}

.push {
    clear: both;
    height: 0;
}

footer {
    background-color: var(--dark-blue);
}

.footer-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    height: auto;

    font-family: var(--ff-michroma);
}

.footer-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.footer-menu li {
    position: relative;
}

.footer-menu li a {
    color: white;
    font-family: var(--ff-michroma);
    font-size: 1.5rem;
    text-transform: lowercase;
}

.copyright-wrapper {
    color: white;
    font-size: 16px;
}

.tbl-sponsors {
    margin-top: 20px;
}

.tbl-sponsors tr {
    display: grid;
}

.tbl-wrapper {
    width: 100%;
    overflow: auto;
}

/* news */
.news.title h1 {
    margin: 1em 0 0.4em 0;
    padding: 0.6em 0.4em;
    font-size: 26px;

}
.news.date { color: #666;}
.news.content { padding: 10px 0 0 0;}

/* galleries */
.album-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}
.album-wrapper a .box--album {
    margin: 0;
    padding: 0;
}
.album-wrapper a .box--album h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    height: 140px;
}
.album-wrapper a .box--album div {
    position: relative;
    overflow: hidden;
}
.album-wrapper a .box--album img {
    display: flex;
    height: 250px;
    border-radius: 0 0 6px 6px;
    transform: scale(1);
    transition: transform .2s ease-in-out;
}
.album-wrapper a .box--album:hover img {
    transform: scale(1.2);
}
.showGallery {
    display: inline-block;
    width: 100%;
}
.thumbnail {
    display: block;
    float: left;
    padding: 0;
    margin: 0;
    height: 150px;
    background-color: #FCFCFC;
    border: none;
}
.thumbnail:hover {
    border: none;
}

/* booking script */
.drp-course-tariffs {
    display: none;
}
.drp-course-booking-fees {
    display: none;
}

button#toggler,
.mobile-navigation-wrapper {
    display: none;
}

.mobile-menu-wrapper button {
    border: 0;
    background: none;
    cursor: pointer;
}

.mobile-menu-wrapper button svg {
    width: 60px;
}

.mobile-menu-wrapper button svg path {
    fill: var(--dark-blue);
}

#mobileMenu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background-color: var(--mobile-backdrop);
    transition: all .2s;
    transform: translateX(100%);
    opacity: 0;
    overflow-y: auto;
}

#mobileMenu.show {
    transform: translateX(0);
    opacity: .92;
}

#mobileMenu nav {
    flex: 1;
    margin-top: 60px;
    width: 100%;
}

#mobileMenu ul {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    width: 100%;
}

#mobileMenu ul li {
    padding: 5px;
}

#mobileMenu ul li a {
    color: white;
    font-weight: 400;
    font-size: 22px;
}

#mobileMenu ul.submenu {
    padding-left: 30px;
}

#mobileMenu ul.submenu li a {
    font-size: 18px;
}

#mobileCloseBtn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    color: white;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

#mobileMenu .mobile-social-links {
    display: flex;
    margin-top: 20px;
}

#mobileMenu .mobile-social-links ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: auto;
}

.tundra .dojoxLightbox {
    box-sizing: content-box;
}

/* media queries */
@media (min-width: 768px){
    .box--team-members {
        grid-template-columns: 1fr 1fr;
    }
    .box--gallery .img-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
    .thumbnail {
        height: 200px;
    }
}
@media (min-width: 992px){
    .container {
        padding: 0 20px;
    }
}
@media (min-width: 1200px){
    p {
        margin: 0 0 2rem 0;
        /* font-size: 18px; */
        line-height: 2rem;
    }
    .top-header-wrapper {
        padding: 0;
    }
    .top-header-wrapper nav {
        display: block;
    }
    .banner .cover-banner img {
        height: 500px;
        opacity: .5;
    }
    .banner .cover img {
        height: 448px;
    }
    .cover figcaption, .cover-banner figcaption {
        font-size: 90px;
    }
    .content {
        margin: 66px 0;
    }
    .footer-wrapper {
        flex-direction: row;
        padding: 0;
        height: 190px;
    }
    .footer-menu {
        flex-direction: row;
        gap: 30px;
        margin: 0;
    }
    .footer-menu li::after {
        content: '|';
        position: absolute;
        color: white;
        font-size: 1.5rem;
        transform: translateX(10px);
    }
    .footer-menu li:last-child::after {
        display: none;
    }
    .footer-menu li a {
        /* font-size: 1.5rem; */
    }
    .copyright-wrapper {
        font-size: 1.5rem;
    }
    .box {
        margin: 0 0 120px 0;
    }
    .box--content {
        padding: 73px;
    }
    .box--content p img {
        padding: 0 60px 0 0;
    }
    .box--two-col-image-full-left > div {
        grid-template-columns: 1fr 2fr;
    }
    .box--two-col-image-full-right > div {
        grid-template-columns: 2fr 1fr;
    }
    .box--two-col-image-full-left > div div:nth-child(1) img {
        border-radius: 6px 0 0 6px;
    }
    .box--two-col-image-full-right > div div:nth-child(2) img {
        border-radius: 0 6px 6px 0;
    }
    .box--two-col-image-full-left > div div:nth-child(2),
    .box--two-col-image-full-right > div div:nth-child(1) {
        padding: 60px;
    }
    .box--two-col-image-full-right > div div:nth-child(1) {
        order: unset;
    }
    .box--two-col-image-full-right > div div:nth-child(2) {
        order: unset;
    }
    .box--team {
        padding: 70px;
    }
    .box--team-members {
        gap: 55px 70px;
        grid-template-columns: repeat(3, 1fr);
        margin-top: 65px;
        padding-left: 70px;
        padding-right: 60px;
    }
    .team-member h2 {
        margin: 30px 0 0 0;
    }
    .box--album {
        padding: 86px 70px;
    }
    .box--album img {
        height: 450px;
    }
    .box--gallery {
        padding: 86px 70px;
    }
    .box--gallery .img-wrapper {
        grid-template-columns: repeat(4, 1fr);
    }
    .thumbnail {
        height: 364px;
    }
    fieldset.form input[type=text],
    fieldset.form input[type=email] {
        padding: 50px;
    }
    fieldset.form input[type=submit] {
        padding: 35px 50px;
    }
    .tbl-sponsors tr {
        display: table-row;
    }
    .mobile-menu-wrapper {
        display: none;
    }
    .submenu-wrapper {
        display: block;
        position: absolute;
        top: 46px;
        left: 50%;
        padding: 0;
        min-width: max-content;
        z-index: 1;
        transform: translateX(-50%);
        opacity: 0;
        visibility: hidden;
    }
    .submenu {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 30px;
        border-radius: 6px;
        box-shadow: 0 0 15px #00000021;
        background-color: white;
    }
    .submenu li a {
        font-family: var(--ff-titillium);
        font-size: 20px;
    }
    .top-menu li:hover a + .submenu-wrapper, .submenu-wrapper:hover {
        opacity: 1;
        visibility: visible;
    }
    .submenu-wrapper li a {
        font-size: 20px;
    }
}

@media (min-width: 1760px){
    .container {
        width: 1000px;
    }
}

@media (max-width: 1199px){
    .social-links {
	display: none;
    }
}

.accordion-item {
    margin: 0 0 10px 0;
}

.accordion-label {
    position: relative;
    padding: 15px;
    padding-left: 40px;
    font-size: 16px;
    border: 1px solid #cfcfcf;
    background-color: #efefef;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
}

.accordion-label::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    width: 20px;
    height: 20px;
    background-image: url(https://api.iconify.design/fa6-solid:angle-down.svg?color=%23888888);
    background-repeat: no-repeat;
}

.accordion-label::after {
    display: none;
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    width: 20px;
    height: 20px;
    background-image: url(https://api.iconify.design/fa6-solid:angle-up.svg?color=%23888888);
    background-repeat: no-repeat;
}

.accordion-item.show .accordion-label::before {
    display: none;
}

.accordion-item.show .accordion-label::after {
    display: block;
}

.accordion-content {
    border: 1px solid #cfcfcf;
    border-top: 0;
    background-color: #f7f7f7;
    border-radius: 0 0 4px 4px;
    padding: 0;
    height: 0;
    opacity: 0;
    transition: opacity .250s ease-in;
}

.accordion-content * {
    font-size: 0;
    height: 0;
}

.accordion-item.show .accordion-content {
    margin-top: -2px;
    padding: 20px;
    height: auto;
    opacity: 1;
}

.accordion-item.show .accordion-content * {
    font-size: 16px;
    height: auto;
}
