/*
Theme Name: Stephstones
Author: secret
Author URI: secret;
Tags: theme, responsive;
Description: Custom theme for Stephstones
Version: 1.0
*/

@font-face {
    font-family: "Slabo_27s";
    src:url('fonts/Slabo_27_27px/Slabo_27-27px-v14-latin_latin-ext-regular.woff') format('woff'),
    url('fonts/Slabo_27_27px/Slabo_27-27px-v14-latin_latin-ext-regular.woff2') format('woff2'),;
    font-display: swap;
    font-weight: 400;
}
@font-face {
    font-family: "Slabo_13";
    src: url('fonts/Slabo_27_13px/Slabo_27-13px-v13-latin_latin-ext-regular.woff') format('woff'),
    url('fonts/Slabo_27_13px/Slabo_27-13px-v13-latin_latin-ext-regular.woff2') format('woff2');
    font-display: swap;
    font-weight: 400;
}

@font-face {
    font-family: "Lora";
    src: url('fonts/Lora/lora-v32-latin_latin-ext-700.woff2') format('woff2'),
    url('fonts/Lora/lora-v32-latin_latin-ext-700.woff') format('woff');
    font-display: swap;
    font-weight: 700;
}

@font-face {
    font-family: "Exo2_light";
    src: url('fonts/Exo_2/static/Exo2-Light.ttf') format('truetype');
    font-display: swap;
    font-weight: 200;
}


@font-face {
    font-family: "Exo2_SemiBold";
    src: url('fonts/Exo_2/static/Exo2-SemiBold.ttf') format('truetype');
    font-display: swap;
    font-weight: 600;
}

@font-face {
    font-family: "Exo2_LightItalic";
    src: url('fonts/Exo_2/static/Exo2-LightItalic.ttf') format('truetype');
    font-display: swap;
    font-weight: 300;
}


:root {
    --red: #B2b4b2;
    --dark: #382e2c;
    --light: #e4d5d3;
    --lightgray:  #E4D5D3;

    --header-height: 80px;
}

html,
body {
    margin: 0;
    scroll-behavior: smooth;
}

*,
*::before,
*::after
{
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--dark) white;
}

body {
    background-color: var(--light);
    font-family: "Exo2_light";
    font-size: 22px ;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 28px;
    color: var(--dark);
    width: 100%;
    display: inline-block;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* body.open-menu {
    overflow: hidden;
} */

p{
    margin-bottom: 14px;
}

p strong{
    font-weight: 500;
    font-family:"Exo2_SemiBold";
}

a{
    display: inline-block;
    color: var(--red);
    transition: all 0.3s;
}

a:hover{
    color: var(--red);
    cursor: pointer;
}

h1{
    font-size: 80px;
    letter-spacing: 6.24px;
    font-weight: 500;
    text-transform: uppercase;
    font-family: "Exo2_SemiBold";
}

h2{
    font-size: 42px;
    line-height: 50.4px;
    letter-spacing: 3.28px;
    font-weight: 500;
    margin-bottom: 29px;
    font-family: "Exo2_SemiBold";
}

h3{
    font-size: 26px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: 2px;
    margin-bottom: 28px;
    text-transform: uppercase;
    font-family: "Exo2_SemiBold";
}

h4
{
    font-size: 22px;
    font-weight: 500;
    line-height: 28px;
    margin-bottom: 24px;
    font-family: "Exo2_SemiBold";
}

img {
    height: auto;
    width: 100%;
}
section.an-accordion .info.info-pdf a,
a.button,
button:not(.accordion-button){
    font-family: "Exo2_SemiBold";
    font-weight: 700;
}
.modal input.wpcf7-submit,
.modal input.wpcf7-submit:hover,
.modal input.wpcf7-submit:active,
.modal input.wpcf7-submit:focus,
button,
a.button,
section.an-accordion .info.info-pdf a
{
    border: 1px solid var(--red);
    background-color: var(--red);
    color: var(--dark);
    font-size: 20px;
    letter-spacing: 1.56px;
    text-transform: uppercase;
    padding: 19.4px 65px;
    line-height: 1;
    transition: all 0.2s;
    font-weight: 400;
}
section.an-accordion .info.info-pdf a,
a.button{
    display: inline-block;
    text-decoration: none;
}
section.an-accordion .info.info-pdf a:hover,
a.button:hover,
.modal input.wpcf7-submit:hover,
button:not(.accordion-button):hover{
    background-color: black;
    border-color: black;
    color: var(--red);
}

main section{
    position: relative;
    display: inline-block;
    width: 100%;
}

/* ERROR */
main.error{
    background-color: #253746;
    color: white;
}

/* TEXT TEMPLATE */
body.page-template-template-text header {
    top: 0;
}
body.error404 main,
body.page-template-template-text main{
    padding-top: calc(var(--header-height)*3);
    padding-bottom: calc(var(--header-height)*3);
}
body.page-template-template-text p + h2,
body.page-template-template-text p + h3,
body.page-template-template-text h1 + h2,
body.page-template-template-text h2 + h3,
body.page-template-template-text h1 + p
{
    margin-top: 60px;
}

/* HEADER FOOTER */
header a,
footer a
{
    text-decoration: none;
    color: white;
}

/* HEADER */
header {
    position: absolute;
    top: 100vh;
    top: 100svh;
    z-index: 100;
    background: var(--dark);
    width: 100%;
    border-bottom: 2px solid var(--red);
    height: fit-content;
}
header .navbar-nav {
    flex-direction: row;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    align-items: center;
    width: 100%;
}
header .navbar-nav li {
    width: 100%;
    text-align: center;
}
header .navbar-nav li a {
    text-transform: uppercase;
    width: 100%;
    height: 100%;
    padding: 26px 20px;
    position: relative;
    font-size: 24px;
    line-height: 26px;
    letter-spacing: 0.53px;
    word-break: break-word;
    font: normal normal normal 13px / 24px 'Exo2_LightItalic';

    letter-spacing: 3px;
}
header .desktop .navbar-nav li a:hover{
    color: var(--red);
}
header .desktop .navbar-nav li a::before {
    content: "";
    height: 10px;
    background-color: var(--red);
    width: 100%;
    position: absolute;
    display: inline-block;
    left: 0;
    top: -1px;
    opacity: 0;
    transition: all 0.2s;
}
header .desktop .navbar-nav li a.active::before,
header .desktop .navbar-nav li a:not(a[href*="bewerben"]):hover::before {
    opacity: 1;
}
header .desktop .navbar-nav li a.active[href*="bewerben"]::before{
    opacity: 0;
}
header.sticky {
    position: fixed;
    top: 0;
    z-index: 1000;
}
header .header-content{
    flex-direction: row;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    align-items: center;
}
header .desktop .darkmode-wrap{
    height: var(--header-height);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
header img.darkmode-icon {
    width: 25px;
    height: 25px;
    transition: all 0.2s;
}
header .desktop .darkmode-wrap.active,
header .desktop .darkmode-wrap:hover{
    cursor: pointer;
    background-color: #253746;
}
header .desktop .darkmode-wrap.active{
    border-left: 1px solid white;
}
header .desktop .darkmode-wrap.active img.darkmode-icon,
header .desktop .darkmode-wrap:hover img.darkmode-icon{
    filter: brightness(0) invert(1);
}

/* mobile menu */
.mobile-menu-buttons
{
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10;
}
.mobile-menu-button,
.mobile-menu-button:hover,
.mobile-menu-button:active,
.mobile-menu-button:focus
{
    background-color: var(--red);
    border: none;
    /* border-radius: 50%; */
}
.mobile-menu-button{
    padding-top: 12.5px;
    padding-bottom: 12.5px;
    padding-left: 15px;
    padding-right: 15px;
}
.mobile-menu-button + .mobile-menu-button{
    padding-left: 0;
}
img.mobile-menu-icon {
    width: 25px;
    height: 25px;
    filter: brightness(0) invert(1);
}
header .mobile-menu {
    height: 100vh;
    height: 100dvh;
    overflow: scroll;
    position: fixed;
    top: 0;
    right: 0;
    background: #253746;
    width: 300px;
    max-width: 80%;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    transition: all 0.3s;
    transform: translateX(100vw);
    z-index: 100;
}
header .mobile-menu.open{
    transform: translateX(0);
}
header .mobile-menu .navbar-nav{
    height: 100%;
    justify-content: start;
    -webkit-justify-content: start;
    padding-right: 60px;
    padding-top: 180px;
}
header .mobile-menu .navbar-nav a{
    font-size: 24px;
    color: #b4bac0;
    padding-top: 10px;
    padding-bottom: 20px;
    padding-left: 0;
    padding-right: 0;
    display: block;
    line-height: 1;
    text-align: right;
}
header .mobile-menu .navbar-nav a.active{
    color: white;
}
header .mobile-menu button.close-menu-toggle {
    background: transparent;
    outline: none;
    border: none;
    padding: 0;
    position: absolute;
    right: 25px;
    top: 20px;
}
header .mobile-menu img.close-menu {
    height: 21px;
    width: 21px;
    filter: brightness(0) invert(1);
}

/* RED BANNER */
section.red-banner {
    width: fit-content;
    padding: 11px 25px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}
section.red-banner img.logo {
    max-height: 86px;
    width: auto;
}

/* general classes */
.slick-slider {
    margin-bottom: 0 !important;
}
.text-color-light,
section.text-image.text-color-light.colored-title-yes .text h2
{
    color: #fff;
}
.text-color-dark,
section.text-image.text-color-dark.colored-title-yes .text h2
{
    color: var(--dark);
}
.text-color-dark .button-link a {
    color: var(--dark);
}
.text-color-light span.button-link a{
    color: #fff;
}
span.button-link strong a{
    font-weight: bold;
}
span.button-link{
    display: inline-block;
    margin-top: 23px;
}
span.button-link a {
    text-decoration: none;
    color: var(--red);
}
span.button-link a:hover{
    text-decoration: underline;
}
.zoom-image {
    width: 100%;
    transition: transform 0.5s ease-in-out;
}
.zoomed {
    transform: scale(1.1);
}

/* slick slider */
main .slick-list,
main .slick-track
{
    height: 100%;
}
main .slick-slide > div {
    height: 100%;
    overflow: hidden;
}
main .slick-slider.slick-dotted{
    margin: 0;
}
main button.slick-autoplay-toggle-button {
    display: none;
}
/* accordion */
main .accordion-button:not(.collapsed){
    color: #253746;
    background-color: white;
    box-shadow: unset;
}
main .accordion-item {
    color: var(--dark);
    background-color: transparent;
    border: none;
}
main .accordion-collapse {
    background: var(--light);
    margin-top: 15px;
}
main .accordion-button::after,
main .accordion-button:not(.collapsed)::after{
    display: none;
}
main .accordion-item + .accordion-item {
    margin-top: 15px;
}
/* modal */
.modal-content {
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    background-color: var(--dark);
    color: white;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--dark) white;
}
.modal-dialog {
    max-width: 100%;
    margin: 0;
}
main .btn-close,
main .btn-close:hover
{
    filter: brightness(0) invert(1);
    opacity: 1;
    font-size: 20px !important;
    padding: 0 !important;
    background-color: transparent;
}
.modal-header {
    border: none;
    padding-top: 80px;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    align-items: center;
}
.modal-footer{
    border: none;
    padding-bottom: 65px;
}
span.wpcf7-spinner {
    display: none;
}
.modal input.wpcf7-submit,
.modal-footer button {
    margin: 0;
    width: fit-content;
    min-width: 297px;
}
.modal-footer p {
    font-size: 20px;
    letter-spacing: 1.56px;
    padding-top: 10px;
}
.modal input::placeholder,
.modal label,
.modal h3
{
    text-transform: none;
    font-size: 28px;
    line-height: 30px;
    letter-spacing: 2.18px;
    margin-bottom: 0;
    color: white;
}
.modal input::placeholder{
    opacity: 0.25;
}
.modal input,
.modal input:hover
{
    accent-color: var(--red);
}
.modal label {
    width: 100%;
    font-weight: 500;
}
.modal div.wpcf7 {
    width: 100%;
}
.modal .right {
    display: flex;
    align-items: center;
    gap: 35px;
}
.modalcontent {
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 0;
}
.modal .dot {
    height: 16px;
    width: 16px;
    background-color: white;
    border-radius: 50%;
    opacity: 0.4;
}
.modal .dot:hover{
    cursor: pointer;
}
.modal .dot.active{
    opacity: 1;
}
.modal .visual-counter{
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.modal form .part {
    display: none;
    width: 100%;
}
.modal form .part p {
    margin-bottom: 0;
}
.modal form .part.active {
    display: inline-block;
}
.modal form{
    max-width: 894px;
    margin: auto;
}
.modal .summary-title{
    display: none;
    margin-top: 318px;
    width: 100%;
    max-width: 894px;
    text-transform: uppercase;
}
.modal .summary-title.active{
    display: block;
}
.modal form.last-part-active{
    max-width: unset;
    padding-top: 153px;
    margin-bottom: 119px;
}
.modal form.last-part-active .part:not(.summary){
    max-width: 894px;
}
.modal form.last-part-active .part + .part {
    margin-top: 107px;
}
.modal form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.modal .wpcf7-list-item label{
    display: flex;
    flex-direction: row;
    gap: 13px;
}
.modal span.wpcf7-list-item-label {
    font-weight: 400;
    font-size: 22px;
    letter-spacing: 1.06px;
    line-height: 28px;
    width: calc(100% - 33px);
}
.modal input[type="checkbox"],
.modal input[type="checkbox"]:hover,
.modal input[type="checkbox"]:active,
.modal input[type="checkbox"]:focus
{
    width: 20px;
    height: 20px;
}
.modal input[type="checkbox"]{
    margin-top: 3px;
}
.modal .wpcf7-not-valid-tip{
    color: #FF6961;
    margin-top: 12px;
}
.modal span.wpcf7-list-item,
.modal span.wpcf7-list-item:hover
{
    margin: 0;
    margin-top: 36px;
}
.modal input,
.modal input:active,
.modal input:focus,
.modal input:hover
{
    background-color: var(--dark);
    border: none;
    color: white;
    padding: 14px 0;
    border-bottom: 1px solid white;
    width: 100%;
    border-radius: 0;
    -webkit-border-radius: 0;
}
.modal form .input:focus,
.modal form .textarea:focus,
.modal form .input:active,
.modal form .textarea:active
{
    outline: 1px solid black !important;
}
.modal input{
    margin-top: 36px;
}
.modal textarea,
.modal textarea:hover,
.modal textarea:focus,
.modal textarea:active
{
    background-color: var(--dark);
    border: 1px solid white;
    width: 100%;
    padding: 14px;
    color: white;
    border-radius: 0;
}
.modal textarea{
    margin-top: 36px;
}
.modal input.wpcf7-submit {
    width: fit-content;
    margin-top: 40px;
}
.modal .part.summary .modal-footer p {
    padding: 0;
    margin: 0;
}
/* .wpcf7 input[type="file"]{
    display: none;
} */
.wpcf7 input[type="file"]{
    border: none;
    font-size: 20px;
    letter-spacing: 1.56px;
    font-weight: 500;
    text-transform: uppercase;
}
.wpcf7 input[type="file"]::file-selector-button {
    font-size: 20px;
    letter-spacing: 1.56px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 20px 56.8px;
    margin-top: 0;
    width: fit-content;
    border: 1px solid white;
    display: inline-block;
    background-color: #253746;
    color: white;
    margin-right: 16px;
  }
.wpcf7 label span.file:hover{
    cursor: pointer;
}
.modal .wpcf7-response-output {
    width: 100%;
    max-width: 894px;
}
.modal .modalcontent-footer {
    display: flex;
    flex-direction: column;
    align-items: end;
}

/* SECTIONS */

/* hero */
section.hero{
    display: flex;
    height: 100vh;
    height: 100svh;
    position: relative;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    text-align: center;
}
section.hero img.hero-circle-icon {
    width: 105px;
    height: 105px;
    position: absolute;
    bottom: 32px;
    left: 0;
    right: 0;
    margin: auto;
}
section img.hero-circle-icon:hover{
    cursor: pointer;
}

section.hero .image-container,
section.hero img.heroimage{
    /* position: absolute;
    top: 0;
    left: 0; */
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    z-index: -1;
}
section.hero .textcontent{
    opacity: 0;
    position: absolute;
    height: fit-content;
    top: unset;
    bottom: 20vh;
    left: 0;
    right: 0;
    margin: auto;
    /* color: white; */
    animation: title-in 800ms forwards ease-in-out 750ms;
}
section.hero .textcontent *{
    text-shadow: 2px 2px 3px var(--dark);
    color: white;
    opacity: 0.9;
}
section.hero .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50vh, rgba(0, 0, 0, 0.7) 100vh);
    pointer-events: none; 
}
section.hero h1,
section.hero p{
    margin-bottom: 0;
}

@keyframes title-in {
    0% {
        visibility: hidden;
        opacity: 0;
        transform: translateY(-25%);
    }
    100% {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

section.hero {
    video {
        width: 100%;
        height: 100vh;
        object-fit: cover;
    }

    .container-fluid {
        padding: 0;
    }

    .slick-slider {
        .slick-slide {
            height: 100vh;
            
            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

    }
}

/* text over image */
section.text-over-image .textcontent {
    width: 100%;
    max-width: 882px;
    position: absolute;
    background-color: #FFFFFFE6;
    bottom: 25%;
    height: fit-content;
    left: 0;
    right: 0;
    margin: auto;
    padding: 43px 45px;
    font-family: "Exo2_LightItalic";
    
}
section.text-over-image .textcontent p {
    margin-bottom: 0;
}
section.text-over-image img {
    min-height: 600px;
    object-fit: cover;
}

/* text */
section.text{
    padding-top: 110px;
    padding-bottom: 106px;
    background-color: white;
}
section.text p:last-of-type{
    margin-bottom: 0;
}
section.text h2{
    margin-bottom: 36px;
    color: var(--red);
}
section.text img.hero-circle-icon {
    display: block;
    width: 105px;
    height: 105px;
    position: relative;
    margin: auto;
    margin-top: 46px;
}

/* title */
section.title {
    padding: 120px 0;
    background-color: var(--dark);
    color: white;
}
section.title h2{
    font-family: "Exo2_SemiBold";
    font-size: 80px;
    letter-spacing: 6.24px;
    margin-bottom: 0;
}

/* image text */

section.text-image .text-wrap,
section.text-image .image-wrap
{
    padding: 0;
}
section.text-image .text-wrap p:last-of-type{
    margin-bottom: 0;
}
section.text-image .text{
    /* padding: 140px; */
    padding: 100px;
    height: 100%;
    max-width: 968px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
section.text-image .text h2 {
    color: var(--red);
}
section.text-image .image{
    height: 100%;
    overflow: hidden;
    position: relative;
}
section.text-image .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 2;
}
section.text-image.image-position-left .row {
    flex-direction: row-reverse;
}

/* text image slider */
section.text-image-slider{
    display: block;
}
section.text-image.text-image-slider .image img{
    max-height: unset;
    /* transform: scale(1.1); */
}
section.text-image-slider:not(.colored) .text-wrap{
    background-color: white;
}
section.text-image-slider .slick-dots li button{
    background: white;
}
section.text-image-slider .slick-dots {
    bottom: 42px;
}
section.text-image-slider .slick-dots li button,
section.text-image-slider .slick-dots li button:before{
    height: 20px;
    width: 20px;
    padding: 0;
    border-radius: 50%;
    background-color: white;
}
section.text-image-slider .slick-dots li.slick-active button,
section.text-image-slider .slick-dots li.slick-active button:before{
    background: var(--dark);
    border: 2px solid white;
}

/* accordion */
section.an-accordion{
    background-color: var(--lightgray);
    padding-top: 42.6px;
    padding-bottom: 53px;
}
button.accordion-button span,
section.an-accordion .info .detail
{
    font: normal normal normal 12px / 24px 'Exo2_LightItalic';
    letter-spacing: 3px;
    text-transform: uppercase;
}
section.an-accordion .info {
    flex-direction: row;
    justify-content: end;
    gap: 10px;
    font-weight: 500;
    margin-bottom: 15px;
}
section.an-accordion .info .detail{
    padding: 19.4px 65px;
    line-height: 1;
}
section.an-accordion .info .detail.date {
    width: 100%;
    text-align: center;
    padding: 14.25px;
    background-color: white;
}
section.an-accordion .info a{
    text-decoration: none;
    background-color: var(--light);
}
section.an-accordion .info a:hover{
    background-color: var(--dark);
    color: var(--light);
}

section.an-accordion .accordion-button{
    padding: 0;
    line-height: 1;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 1.72px;
    text-transform: none;
    color: #253746;
}
section.an-accordion .accordion-button:active,
section.an-accordion .accordion-button:focus
{
    box-shadow: none;
}
section.an-accordion .accordion-button span {
    width: 100%;
    text-align: center;
    margin: 0;
    line-height: 1;
    padding: 0 10px;
    padding-left: 55px;
}
section.an-accordion .accordion-body {
    padding: 12px;
    background-color: white;
    color: var(--dark);
    display: flex;
}
section.an-accordion .accordion-body .textcontent, 
section.an-accordion .accordion-body .acc-image
{
    width: 50%;
}
section.an-accordion .accordion-body .textcontent {
    padding-left: 27px;
    padding-right: calc(27px + 12px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
section.an-accordion .accordion-body .textcontent p:last-of-type{
    margin-bottom: 0;
}
section.an-accordion .accordion-body img{
    max-height: 560px;
    object-fit: cover;
}
section.an-accordion .accordion-body.no-image{
    padding: 80px 40px;
}
section.an-accordion .accordion-body.no-image .textcontent{
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}
section.an-accordion .accordion-icon{
    width: 25px;
    height: auto;
    filter: brightness(0) invert(1);
}
section.an-accordion .accordion-icon-wrap {
    padding: 10px;
    background-color: var(--dark);
}
section.an-accordion .accordion-button[aria-expanded="true"] .accordion-icon.close,
section.an-accordion .accordion-button[aria-expanded="false"] .accordion-icon.open{
    display: inline-block;
}
section.an-accordion .accordion-button[aria-expanded="false"] .accordion-icon.close,
section.an-accordion .accordion-button[aria-expanded="true"] .accordion-icon.open{
    display: none;
}
section.an-accordion button.tab-button:not(.active)
{
    background-color: white;
    border-color: white;
    color: var(--dark);
}
section.an-accordion button.tab-button.active,
section.an-accordion button.tab-button.active:hover
{
    background-color: var(--red);
    color: var(--dark);
}
section.an-accordion button.tab-button,
section.an-accordion button.tab-button:hover,
section.an-accordion button.tab-button:active,
section.an-accordion button.tab-button:focus
{
    outline: none;border: none;
}
section.an-accordion #tabs-content{
    position: relative
}
section.an-accordion .tabs-nav {
    padding-bottom: 40px;
}
section.an-accordion .info.info-pdf {
    position: absolute;
    right: 0;
    top: -98.79px;
}
section.an-accordion .info.info-pdf a{
    font-size: 20px;
}

section.an-accordion .dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 32px;
    text-align: center;
}
.dot {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 3px;
    background: white;
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
}
.dot.active {
    background: #253746;
}

/* accordion content slider */
.slider-container {
    position: relative;
    overflow: hidden;
    width: 50%;
}

.acc-images {
    display: flex;
    transition: left 0.5s ease; /* Smooth animation */
    position: relative;
    width: 100%; /* Adjust width to accommodate all images */
    height: 100%;
}

.acc-images img {
    flex: 0 0 auto;
    width: 100%; /* Ensure images fill their container */
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 1;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}
.slider-1{
    display: none;
}

/* application form */
section.application-form {
    padding-top: 112.5px;
    padding-bottom: 112.5px;
    background-color: var(--lightgray);
}

/* FOOTER */
footer {
    padding-top: 59px;
    padding-bottom: 81px;
    background-color: var(--dark);
    color: white;
}
footer a{
    font-family: "Exo2_light";
}
footer a:hover{
    color: var(--red);
}
footer h3{
    font: normal normal normal 13px / 24px 'Exo2_LightItalic';
    letter-spacing: 3px;
}
footer .navbar-nav {
    flex-direction: row;
}
footer .navbar-nav li + li::before {
    content: "|";
    padding: 0 10px;
    color: var(--red);
}
footer .socials{
    flex-direction: row;
    gap: 28px;
    flex-wrap: wrap;
}
footer .socials a {
    display: flex;
    align-items: center;
    gap: 5px;
}
footer .socials .social-icon-wrap{
    border: 1px solid white;
    border-radius: 50%;
    padding: 3px;
    height: 24px;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
footer .socials .social-icon {
    height: 100%;
    width: 100%;
}
footer .current-menu-item a {
    text-decoration: underline;
}

/* RESPONSIVE BREAKPOINTS */

@media (min-width:1900px)
{
    .container {
        max-width: 1586px;
    }
    section.text .container {
        max-width: 1292px;
    }
}

@media (max-width: 1400px){
 
}

@media (max-width: 1200px){
    /* header */
    header{
        border: none;
    }
    main section.red-banner + section{
        padding-top: 0;
    }

    /* hero */
    section.hero{
        height: 100vh;
        height: 100dvh;
    }
    section.red-banner{
        right: 55px;
    }
}

@media (max-width: 992px){

    .container{
        max-width: 100%;
        padding: 0 20px;
    }
    
    /* SECTIONS */

    /* hero */
    section.hero img.heroimage{
        filter: brightness(60%);
    }

    /* text over image */
    section.text-over-image .textcontent {
        max-width: calc(100% - 40px);
    }
    section.text-over-image img {
        height: 100vh;
        height: 100dvh;
        object-fit: cover;
    }

    /* text image */
    section.text-image.image-position-left .row,
    section.text-image.image-position-right .row 
    {
        flex-direction: column-reverse;
    }
    section.text-image .text{
        padding: 40px 40px;
        min-height: unset;
    }

    /* accordion */
    section.an-accordion .accordion-body .textcontent, 
    section.an-accordion .accordion-body .slider-container{
        width: 100%;
    }
    section.an-accordion .accordion-body{
        flex-direction: column;
        padding: 40px 20px;
    }
    section.an-accordion .accordion-body .textcontent {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 40px;
        padding-top: 0;
    }
    section.an-accordion .info.info-pdf{
        position: relative;
        right: unset;
        top: unset;
    }
    section.an-accordion .info.info-pdf a{
        width: 100%;
        text-align: center;
    }
    section.an-accordion .info .detail.date{
        padding: 19.4px 65px;
    }
    section.an-accordion button.tab-button {
        width: 100%;
    }
    section.an-accordion .tabs-nav{
        padding-bottom: 0;
    }

    /* form */
    section.application-form .modal-content {
        padding: 40px 20px;
    }
    section.application-form .modal-body{
        padding-right: 40px;
    }
    .modal form {
        max-width: fit-content;
    }
    .modal .summary-title {
        margin-top: 100px;
    }
    .modal input.wpcf7-submit {
        margin-top: 0;
        margin-right: 0;
    }
    .modal form.last-part-active {
        padding-top: 50px;
        margin-bottom: 50px;
    }
    .modal form.last-part-active .part + .part {
        margin-top: 50px;
    }
    .modal input {
        margin-top: 25px;
    }
    .modalcontent-footer p.text-end{
        display: none;
    }

    /* FOOTER */
    footer .socials {
        flex-direction: column;
    }

    /* text template */
    body.page-template-template-text main,
    body.error404 main
    {
        padding-top: var(--header-height);
        padding-bottom: var(--header-height);
    }
}

@media (max-width: 768px) { 
    h1{
        font-size: 50px;
    }
    h2 {
        font-size: 32px;
        line-height: 38px;
        margin-bottom: 20px;
    }
    /* red banner */
    section.red-banner{
        padding: 8px 25px;
    }
    section.red-banner p{
        font-size: 22px;
        letter-spacing: 1.06px;
    }
    /* scroll down circle icon */
    section.hero img.hero-circle-icon,
    section.text img.hero-circle-icon
    {
        width: 80px;
        height: 80px;
    }
    /* header */
    .mobile-menu-button{
        padding-top: 9.5px;
        padding-bottom: 9.5px;
    }
    /* hero */
    section.hero img.hero-circle-icon{
        bottom: 30px;
    }
    /* title */
    section.title h2 {
        font-size: 50px;
    }
    /* accordion */
    section.an-accordion .info .detail{
        width: 100%;
        text-align: center;
    }
    section.an-accordion .info{
        flex-direction: column;
    }
    section.an-accordion .accordion-icon-wrap{
        padding: 20px;
    }
    section.an-accordion .accordion-button span{
        padding-left: 10px;
        word-break: break-word;
    }

    /* form */
    .wpcf7 input[type="file"]::file-selector-button {
        padding: 20px;
        display: block;
        margin-bottom: 5px;
    }
    .modal form {
        margin: unset;
    }
    .modal input.wpcf7-submit, .modal-footer button{
        width: 100%;
    }
    .modal-footer,
    .modal .modalcontent-footer{
        display: block;
    }

    /* text template */
    body.page-template-template-text p + h2, body.page-template-template-text p + h3, body.page-template-template-text h1 + h2, body.page-template-template-text h2 + h3, body.page-template-template-text h1 + p {
        margin-top: 40px;
    }

    /* FOOTER */
    footer .container > .row {
        gap: 40px;
    }
}

@media (max-width: 400px){
    h1, h2 {
        overflow-wrap: break-word;
        font-size: 40px;
    }
    section.title h2 {
        font-size: 34px;
    }
}

@media (max-width: 350px){
    h1, h2{
        font-size: 35px;
    }
}

/* landscape exceptions */
@media (max-width: 992px) and (orientation: landscape) {
    .mobile-menu .navbar-nav {
        justify-content: start;
        -webkit-justify-content: start;
    }
    section.hero img.hero-circle-icon {
        max-height: 20vh;
        max-height: 20dvh;
        bottom: 20px;
    }
  }