﻿.mobile-banner {
    background-color: #232e42;
}

.mobile-image img {
    width: 100%;
}

.mobile-banner .banner-content {
    background-image: url('/Sources/Images/2024/Homepage/mobile-banner-2.png');
    background-position: left;
    background-repeat: no-repeat;
    position: relative;
    padding: 10px;
    display: flex;
    box-sizing: border-box;
}

.mobile-banner .banner-content-text {
    position: relative;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: white;
}

    .mobile-banner .banner-content-text h1 {
        margin: 20px 0;
    }

    .mobile-banner .banner-content-text hr {
        border-color: #00aad2;
        border-width: 4px;
        padding: 0 0 1vw 0;
        margin: 0 0 1vw 0;
        opacity: 1;
        width: 88px;
    }

    .mobile-banner .banner-content-text span {
        margin: 20px 0;
    }

.full-width-banner {
    position: relative;
    width: 100%;
    height: calc(100vw * 676 / 1500);
    max-height: 676px;
    margin-bottom: 40px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
}

    .full-width-banner .btn {
        border-radius: 2vw;
        /*padding: 0.8vw 2.4vw;*/
        font-size: 1vw;
    }

@media (min-width: 1500px) {
    .btn {
        font-size: 16px !important;
        border-radius: 20px !important;
        padding: 8px 24px !important;
    }
}

.full-width-banner::before, .full-width-banner::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50vw;
    z-index: 0;
}

.full-width-banner::before {
    left: 0;
    background-color: #232e42;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 86.1%);
}

.full-width-banner::after {
    right: 0;
    background: #4c99cf;
}

@media (max-width: 1500px) {
    .full-width-banner::before, .full-width-banner::after {
        display: none;
    }
}

.full-width-banner .banner-content {
    background-image: url('/Sources/Images/2024/Homepage/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: 100%;
    width: 100%;
    max-width: 1500px;
    display: flex;
    z-index: 2;
    box-sizing: border-box;
}

.full-width-banner .banner-content-text {
    position: relative;
    top: 12%;
    left: 12%;
    padding: 0 20px;
    max-width: 29vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .full-width-banner .banner-content-text h1 {
        font-size: 3vw;
    }

    .full-width-banner .banner-content-text span {
        font-size: 1vw;
    }

@media (min-width: 1500px) {
    .full-width-banner .banner-content-text h1 {
        font-size: 50px;
    }

    .full-width-banner .banner-content-text span {
        font-size: 16px;
    }
}

.container-contained {
    margin-top: 40px;
}


.custom-box {
    background-color: #fff;
    border-top: 6px solid #232e42;
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2), 0 6px 15px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.homecontent .custom-box {
    padding: 20px;
}


@media (max-width:992px) {
    .homecontent .custom-box {
        padding: 20px 0;
    }
}

.secondary-banner {
    width: 100%;
    background-color: #232e42;
    position: relative;
    color: white;
}

    .secondary-banner .left-column {
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

        .secondary-banner .left-column a {
            color: white;
        }

    .secondary-banner .right-column {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 0;
        position: relative;
    }

.graphic {
    background-image: url('/sources/images/2024/homepage/secondrow-banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    position: relative;
}

.overlay-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: auto;
}

.bottom-row {
    background-color: #1f4d6e;
    display: flex;
    justify-content: space-between;
}

    .bottom-row .box {
        flex: 1;
        background-color: #1f4d6e;
        padding: 10px;
        height: 100%;
        border: 1px solid #285d82;
    }

        .bottom-row .box a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            text-align: center;
            font-size: 1rem;
            color: white;
            text-decoration: none;
            text-align: start;
        }

        .bottom-row .box:first-child {
            margin-left: 0;
            background-color: #285d82;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .bottom-row .box:last-child {
            margin-right: 0;
        }

@media (max-width: 768px) {
    .bottom-row .box {
        margin: 5px 0;
    }
}

.tertiary-banner {
    width: 100%;
    background-color: #fbfeff;
    padding: 80px 0;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    color: white;
}

    .tertiary-banner .left-column {
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-right: 8px solid #CCC;
    }

        .tertiary-banner .left-column a {
            color: white;
        }

    .tertiary-banner .right-column {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content:;
        white-space: nowrap;
    }

        .tertiary-banner .right-column .row > * {
            padding-right: calc(var(--bs-gutter-x) * 2.5);
            font-size: 1.4rem;
        }

@media (max-width:992px) {
    .tertiary-banner .right-column .row > * {
        padding-right: calc(var(--bs-gutter-x) * 0.5);
        font-size: 1.1rem;
    }
}

@media (max-width:768px) {
    .tertiary-banner .left-column {
        border-right: 0;
    }

    .tertiary-banner hr {
        display: block !important;
        border-width: 8px;
        color: #666;
        width: 30%;
        margin-bottom: 35px;
    }
}
