﻿.module-herobanner
{
    position: relative;
    color: var(--cbf-white-1000);
    min-height: 700px;
    display: flex;
    align-items: center;
}

.module-herobanner:before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.35);
    mix-blend-mode: multiply;
}

.module-herobanner > div {
    max-width: 1920px;
    z-index: 1;
}

.module-herobanner > div > .col-12 {
    max-width: 1400px;
    margin: 0 auto;
}

/*.module-herobanner h1, .module-herobanner h2 {*/
/* H1 Montserrat */
/*font-family: Montserrat !important;
font-size: 70px !important;
font-style: normal !important;
font-weight: 900 !important;
line-height: 85px !important;*/ /* 121.429% */
/*}*/

.module-herobanner .hero-banner__title {
    max-width: 900px;
    /*margin-inline: auto;*/
}

/*.module-herobanner .hero-banner__title > * {*/
/* H1 Montserrat */
/*font-family: Montserrat !important;
font-size: 70px !important;
font-style: normal !important;
font-weight: 900 !important;
line-height: 85px !important;*/ /* 121.429% */
/*}*/

.module-herobanner .hero-banner__title em
{
    font-family: Kalam !important;
    font-size: 66px !important;
    font-style: normal !important;
    line-height: 70px !important;
}

.module-herobanner .hero-banner__subtitle {
    max-width: 900px;
    /*margin-inline: auto;*/
}

.module-herobanner .hero-banner__subtitle > * {
    font-family: Montserrat !important;
    font-size: 34px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: 47px !important;
}

.module-herobanner .action-button
{
    margin: 56px 0 0 0;
}

.module-herobanner .action-button a
{
    margin: 0 24px 0 0;
}

.module-herobanner .article-date-text
{
    font-size: 23px;
}

.module-herobanner div.hero-wrap
{
    padding: 150px 0;
}

.module-herobanner .article-date-img
{
    position: relative;
    max-width: 900px;
}

.module-herobanner .article-date-img img
{
    position: absolute;
    left: -150px;
    top: -105px;
}

.module-herobanner.video-enabled .container
{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.module-herobanner.full-height {
    height: calc(100vh - 100px);
}

.module-herobanner .scroll-to a {
    color: var(--cbf-white-1000) !important;
    font-family: Montserrat !important;
    font-size: 20px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: normal !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

@media (max-width: 768px)
{
    .module-herobanner
    {
        color: var(--cbf-purple-1000);
        /*margin-bottom: 350px;*/
    }

    .module-herobanner .article-date-img img
    {
        position: absolute;
        left: -80px;
        top: -110px;
    }

    .module-herobanner div.hero-wrap
    {
        padding: 30px 20px;
        text-align: center !important;
        margin-top: 450px;
        background-color: var(--cbf-white-1000);
        z-index: 10;
        border-radius: var(--cbf-border-radius);
    }

    .module-herobanner div.hero-wrap.has-buttons {
        margin-top: 250px;
        background-color: #ffffff95;
    }

    .module-herobanner .action-button
    {
        margin: 30px 0 0 0;
    }

    .module-herobanner .action-button a
    {
        display: block;
        width: 250px;
        margin: 20px auto;
    }

    .module-herobanner .action-button a.btn-secondary-white
    {
        border-color: var(--cbf-purple-1000) !important;
        color: var(--cbf-purple-1000) !important;
    }

    .module-herobanner .hero-banner__title > *
    {
        /*font-family: Montserrat !important;
        font-size: 54px !important;
        font-style: normal !important;
        font-weight: 900 !important;
        line-height: 58px !important;*/
    }

    .module-herobanner .hero-banner__title em
    {
        font-family: Kalam !important;
        font-size: 45px !important;
        font-style: normal !important;
        font-weight: 700 !important;
        line-height: 42px !important;
    }

    .module-herobanner .hero-banner__subtitle > *
    {
        font-size: 30px !important;
        font-weight: 800 !important;
    }
}

@media (max-width: 1000px)
{
    .module-herobanner.video-enabled div.hero-wrap
    {
        padding: 30px 20px;
        text-align: center !important;
        margin-top: 0;
        background-color: var(--cbf-white-1000);
        position: relative;
        z-index: 10;
    }

    .module-herobanner.video-enabled .container
    {
        left: 0;
        top: 65%;
        width: 100%;
    }

    .module-herobanner.video-enabled
    {
        color: var(--cbf-purple-1000);
    }

    .module-herobanner.video-enabled .article-date-img img
    {
        position: absolute;
        left: -80px;
        top: -110px;
    }

    .module-herobanner.video-enabled .action-button
    {
        margin: 30px 0 0 0;
    }

    .module-herobanner.video-enabled .action-button a
    {
        display: block;
        width: 250px;
        margin: 20px auto;
    }

    .module-herobanner.video-enabled .action-button a.btn-secondary-white
    {
        border-color: var(--cbf-purple-1000) !important;
        color: var(--cbf-purple-1000) !important;
    }

    .module-herobanner.video-enabled h1
    {
        font-size: 54px !important;
        font-weight: 900 !important;
    }

    .module-herobanner.video-enabled h1 em
    {
        font-size: 54px !important;
        font-weight: 700 !important;
    }

    .module-herobanner.video-enabled h2
    {
        font-size: 30px !important;
        font-weight: 800 !important;
    }
}

@media (max-width: 450px) and (min-width:390px)
{
    .module-herobanner.video-enabled
    {
        margin-bottom: 460px !important;
    }
}

@media (max-width: 650px) and (min-width:500px)
{
    .module-herobanner.video-enabled
    {
        margin-bottom: 320px !important;
    }
}

@media (max-width: 800px) and (min-width:650px)
{
    .module-herobanner.video-enabled
    {
        margin-bottom: 220px !important;
    }
}

@media (max-width: 900px) and (min-width:800px)
{
    .module-herobanner.video-enabled
    {
        margin-bottom: 145px !important;
    }
}

@media (max-width: 1000px) and (min-width:900px)
{
    .module-herobanner.video-enabled
    {
        margin-bottom: 125px !important;
    }
}

/*@media (max-width: 677px) {
    .module-herobanner {
        margin-bottom: 380px;
    }
}

@media (max-width: 583px) {
   .module-herobanner {
       margin-bottom: 480px;
   }
}

@media (max-width: 487px)
{
    .module-herobanner
    {
        margin-bottom: 520px;
    }
}

@media (max-width: 432px) {
    .module-herobanner {
        margin-bottom: 620px;
    }
}*/

@media (min-width: 768px) {

    .module-herobanner .article-date-img img.center-image {
        left: -100px;
    }

}

@media (max-width: 500px) {
    
    .module-herobanner .hero-banner__title > * {
        font-size: 30px !important;
    }

    .module-herobanner .hero-banner__title em {
        font-size: 37px !important;
    }

    .module-herobanner.video-enabled h1 {
        font-size: 30px !important;
    }

    .module-herobanner.video-enabled em {
        font-size: 37px !important;
    }

    .module-herobanner.video-enabled
    {
        max-height:100vh;
        height:calc(100vh - 140px);
    }

    .module-herobanner.video-enabled video
    {
        object-position:center center;
        object-fit:cover;
        width:100%;
        height:100%;
    }

    .module-herobanner.video-enabled .container
    {
        display:block;
    }
}


@media (max-width: 768px) and (max-height: 1000px) {

    .module-herobanner div.hero-wrap {
        margin-top: 200px !important;
    }

}


.module-herobanner .modal .modal-dialog {
    width: auto !important;
}

.module-herobanner .modal .modal-content {
    width: 100%;
    height: 716px;
}

.module-herobanner .video-modal .modal-body {
    background-color: var(--cbf-black-1000);
}

.module-herobanner .modal.in .modal-content .modal-footer {
    display: flex !important;
    flex-direction: column;
    padding: 0 !important;
}

.module-herobanner .modal .modal-footer .actions {
    display: flex;
    flex-direction: row;
    gap: 16px;
    background-color: var(--cbf-black-1000);
    padding: 15px 30px !important;
}

.module-herobanner .modal .modal-footer .actions button {
    color: var(--cbf-black-1000);
}

.module-herobanner .modal .modal-footer .video-description {
    background: var(--cbf-white-1000);
    padding: 32px;
    max-height: 200px;
    overflow-y: scroll;
}

.module-herobanner .modal .modal-footer .video-description div {
    max-width: 600px;
    text-align: left;
}

@media (min-width: 1000px) {

    .module-herobanner .modal .modal-content {
        width: 1122px;
        height: 716px;
        margin: 0 auto;
    }

}