﻿/*General styles*/

.home-special-banner {
    position: relative;
    text-align: center;
}

    .home-special-banner img {
        position: relative;
        text-align: center;
        filter: brightness(70%);
    }

    .home-special-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.home-special-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

    .home-special-banner-content h2 {
        font-family: TypeNextProRegular;
        font-style: normal;
        font-weight: 400;
        font-size: 24px;
        line-height: 30px;
        width: 100vw;
        color: #FFFFFF;
    }

    .home-special-banner-content h3  {
        font-family: TypeNextCondensedProLight;
        font-style: normal;
        font-weight: 400;
        font-size: 18px;
        line-height: 24px;
        width: 100vw;
        color: #FFFFFF;
    }

    .home-special-banner-content h2 {
        font-family: TypeNextProRegular;
        font-style: normal;
        font-weight: 400;
        font-size: 40px;
        line-height: 54px;
        color: #FFFFFF;
        width: 100vw;
        margin-bottom: 3rem;
    }

    .home-special-banner-content a {
        text-decoration: none;
        font-family: TypeNextProRegular;
        font-style: normal;
        font-weight: 400;
        font-size: 24px;
        line-height: 33px;
        color: #FFFFFF !important;
        border: 2px solid white;
        width: fit-content;
        padding: 1rem;
        cursor: pointer;
    }

        .home-special-banner-content a:hover {
            background: #0653b6;
            border: 2px solid #0653b6;
            transition: all 0.2s ease;
        }

        .home-special-banner-content a.privacy-policy-home:hover {
            color: #0653b6 !important;
            background: transparent;
            border: none;
            transition: all 0.2s ease;
        }

.home-special-banner-content-form {
    width: 50vw;
}

.title-buttons {
    margin-top: 4rem;
    margin-bottom: 3rem;
    font-size: 36px;
    display: flex;
    justify-content: center;
    text-align: center;
    line-height: 43px;
    font-weight: 300;
}

.style-button {
    display: flex;
    justify-content: center;
}

.style-cta {
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    line-height: 1rem;
}
/*Enews form*/
.enews-form {
    /* background: white;  background: white; */
    /* padding: 0.5rem; */
    margin-top: 2rem;
    display: flex;
    align-items: center;
}

    .enews-form .form-control {
        border: none;
    }

        .enews-form .form-control:focus {
            border: none;
            box-shadow: none !important;
        }

    .enews-form .form-submit-button {
        text-align: center;
        padding: 0.75rem;
        height: 100%;
        line-height: 1;
        background-color: #1C69D4;
        color: white;
        border-radius: 4px;
        width: 35%;
        font-family: TypeNextProRegular;
        border: none;
    }


        .enews-form .form-submit-button:hover {
            background: #0653b6;
            transition: all 0.2s ease;
        }

    .enews-form .btn-form-enew {
        display: flex;
        justify-content: flex-end;
    }

    .enews-form .check-banner {
        text-decoration: revert;
        font-family: TypeNextCondensedProLight;
        font-style: normal;
        font-size: 16px;
        line-height: 20px;
        color: #FFFFFF !important;
        border: none;
        padding: 0;
    }

    .enews-form .check-label {
        font-family: TypeNextCondensedProLight;
        font-style: normal;
        font-weight: 400;
        font-size: 16px;
        line-height: 20px;
        margin-left: 0.5rem;
        color: #FFFFFF !important;
    }

.check-enew {
    display: flex;
    padding-left: 2.5rem;
    ;
}

.form-floating > label {
    left: 17px !important;
    /* padding: 1rem 2.75rem !important; */
}

.invalid-feedback {
    text-align: left;
}

.is-invalid ~ .invalid-feedback, .is-invalid ~ .invalid-tooltip, .was-validated :invalid ~ .invalid-feedback, .was-validated :invalid ~ .invalid-tooltip {
    display: block;
    color: white;
}

.form-check-input.is-valid ~ .form-check-label, .was-validated .form-check-input:valid ~ .form-check-label {
    color: white !important;
}

/* Stlyes for news section view (home page) */
.check-more-news {
    padding: 1.5rem;
    color: #fff;
    text-decoration: none;
    background-color: #1C69D4;
    border: none;
}

    .check-more-news:hover {
        color: #fff;
        background-color: #0653B6;
    }

#check-more-news-container {
    text-align: end;
}

/*Styles for phones*/
@media (max-width: 481px) {
    .home-special-banner-content span {
        font-size: 20px;
        line-height: 27px;
    }

    .home-special-banner-content a {
        line-height: 22px;
    }

    .home-special-banner img {
        width: 100%;
        height: 25rem;
    }

    .home-special-banner-content-form {
        width: 80vw;
    }
}

/*Styles for tablets*/
@media (min-width: 482px) and (max-width: 1399px) {
    .style-cta {
        font-size: 18px;
        line-height: 22px;
    }

    .home-special-banner {
        height: 30rem;
    }
}

/*Styles for laptops*/
@media (min-width:350px) and (max-width:481px) {
    .enews-form .check-banner {
        font-size: 14px;
        line-height: 16px;
    }

    .enews-form .check-label {
        font-size: 14px;
        line-height: 16px;
    }

    .enews-form .check-enew {
        display: flex;
        margin-left: 1rem;
        text-align: left;
    }

    .enews-form .form-submit-button {
        width: 100%;
    }

    .home-special-banner img {
        height: 35rem;
    }

    .home-special-banner-content h4 {
        max-width: 242px;
    }

    .home-special-banner-content h2 {
        margin-bottom: 1rem;
    }

    .title-buttons {
        font-size: 22px;
        line-height: 28px;
        font-family: TypeNextProRegular;
        max-width: 90%;
        margin: auto;
        margin-top: 4rem;
    }
}
