/* ########## UNIVERSAL   ############## */

.adbox {
    position: relative;
    background-color: #00a0e6;
    padding: 30px;
    box-sizing: border-box;

    width: 100%;
    aspect-ratio: 1 / 1;
    font-size: 18px;
    color: #fff;
    margin-bottom: 2em;
}


.adbox-mask {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    z-index: 10;
}


.adbox-content {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    height: 100%;
    line-height: 0.9em;
}


.adbox-title1 {
    font-family: 'knauf_screenbold', Arial, Helvetica, sans-serif;
    font-size: 2em;
    width: 100%;
    line-height: 0.9em !important;
    margin-bottom: 0;
    margin-top: 0px;
    color: #fff;
}

.adbox-title2 {
    margin-top: 10px;
    font-family: knauf_screenregular, Arial, Helvetica, sans-serif;
    font-size: 1em;
    width: 80%;
    line-height: 1.1em;
    font-weight: 500;
    color: #fff;
}

.adbox-button {
    background-color: #00a0e6;
    color: #fff;
    padding: 15px 80px;
    width: 100%;
    box-sizing: border-box;
    display: inline-block;
    margin-top: auto;
    margin-right: auto;
    margin-bottom: 0;
    font-size: 1em;
    font-family: 'knauf_screenbold', Arial, Helvetica, sans-serif;
    text-align: center;
    line-height: 0.9em;
    border: 1px solid #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}


.adbox-button:hover {
    background-color: #048bc5;
}




/* ########## STYLE - 1  ############## */


.adbox-style-1 .adbox-button {

}

.adbox-mask {
    background: linear-gradient(135deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, 0) 100%);
}




/* ########## STYLE - 2 ############## */

.adbox.adbox-style-2 {
    position: relative;
    background-color: #00a0e6;
}

.adbox-style-2 .adbox-title1 {
    font-family: 'knauf_screenbold', Arial, Helvetica, sans-serif;
    font-size: 2em;
    width: 100%;
    box-sizing: border-box;
    padding-top: 1em;
    padding-right: 0.5em;
    padding-left: 0.5em;
    text-align: center;
    margin-top: auto;
    margin-bottom: auto;
}


.adbox-style-2 .adbox-button {
    background-color: #00a0e6;
    color: #fff;
}


.adbox-style-2 .adbox-button {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: auto;
    padding: 12px 20px;
    text-transform: uppercase;
    font-size: 0.8em;

    border: 1px solid;
}

.adbox-style-2 .adbox-mask {
    opacity: 0.6;
}

/* DISPLAY - PAGE FIXES */

/* news-article */
.news-article .adbox-con {
    margin: 6em auto 1em 0;
}









/* ########## STYLE - WIDE 1 ############## */

.adbox.adbox-style-wide-1 {
    aspect-ratio: 3 / 1;

}

.adbox-style-wide-1 .adbox-mask {
    opacity: 0;
}


.adbox-style-wide-1 .adbox-title1 {
    width: 50% !important   ;
}
.adbox-style-wide-1 .adbox-title2 {
    width: 50% !important;
}

.adbox-style-wide-1 .adbox-button {
    background-color: #003778;
    width: auto;
}


.adbox-con.adbox-style-wide-1-con {
    width: 100%;
    display: block;

}





@media (max-width: 1200px) {
    .adbox.adbox-style-wide-1 {
        aspect-ratio: auto;
        height: auto;
        width: 100% !important;
        max-width: 800px;
        margin: auto;

    }


    .adbox.adbox-style-wide-1 .adbox-title1 {
        font-size: 1.6em !important;
    }
    .adbox.adbox-style-wide-1 .adbox-title2 {
        font-size: 13px !important;
    }
    .adbox-style-wide-1 .adbox-title1 {

    }
    .adbox-style-wide-1 .adbox-title2 {

    }

    .adbox-style-wide-1 .adbox-button {
        padding: 10px 60px;
    }

}


@media (max-width: 990px) {
    .adbox.adbox-style-wide-1 {

        width: 100% !important;
        max-width: 600px;
        margin: auto;
    }
    .adbox-style-wide-1 .adbox-title1 {
        width: 60% !important;
    }
    .adbox-style-wide-1 .adbox-title2 {
        width: 60% !important;
    }

}











/* ######################################  RWD - NEWS ARTICLE */

.adbox {

}
.page-template-gm-news-v2024 .adbox {
    font-size: 16px;
}





@media (max-width: 1540px) {

    .page-template-gm-news-v2024 .adbox {
        font-size: 14px !important;
        padding: 20px !important;
    }

}




@media (max-width: 1420px) {
    .adbox {
        font-size: 17px;
    }
    .page-template-gm-news-v2024 .adbox {
        font-size: 13px !important;
        padding: 20px !important;
    }
    .adbox-style-1 .adbox-button {
        padding: 15px 20px !important;
    }


}




@media (max-width: 1360px) {

    .adbox {
        font-size: 16px !important;
        padding: 20px !important;
    }
    .page-template-gm-news-v2024 .adbox {
        font-size: 12px !important;
        padding: 15px !important;
    }
}




@media (max-width: 1260px) {
    .adbox {
        font-size: 15px !important;
    }
    .page-template-gm-news-v2024 .adbox {
        font-size: 10px !important;
        padding: 15px !important;
    }
    .page-template-gm-news-v2024 .adbox-style-1 .adbox-button,
    .page-template-gm-news-v2024 .adbox-style-1 .adbox-title2 {
        font-size: 12px !important;
    }
    .page-template-gm-news-v2024 .adbox-style-2 .adbox-button {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }


}




@media (max-width: 1100px) {
    .adbox {
        font-size: 13px !important;
    }



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


    /* news-article */
    .news-article .adbox-con {
        margin: 1em auto 1em 0 !important;
    }


    .adbox {
        font-size: 16px !important;
        width: 50% !important;
        padding: 20px !important;
    }

    .adbox-con {
        display: flex !important;
        gap: 20px !important;
    }

    .page-template-gm-news-v2024 .adbox {
        padding: 30px !important;
        width: 50% !important;
        aspect-ratio: 1 / 1 !important;
        font-size: 16px !important;
    }




}
@media (max-width: 768px) {
    .adbox {
        font-size: 18px !important;
        width: 100% !important;
        padding: 30px !important;
    }
    .adbox-con {
        flex-direction: column !important;
        gap: 0px !important;
    }
    .page-template-gm-news-v2024 .adbox {
        font-size: revert !important;
    }
}

@media (max-width: 600px) {
    .adbox {
        font-size: 16px !important;
        width: 100% !important;
        padding: 30px !important;
    }

}
@media (max-width: 480px) {
    .adbox {
        font-size: 15px !important;
        width: 100% !important;
        padding: 30px !important;
    }

}
@media (max-width: 375px) {
    .adbox {
        font-size: 14px !important;
        width: 100% !important;
        padding: 30px !important;
    }

}



























/* ########## STYLE - WIDE 2 ############## */

.adbox.adbox-style-wide-2 {
    aspect-ratio: 3 / 1;

}

.adbox-style-wide-2 .adbox-mask {
    opacity: 0;
}


.adbox-style-wide-2 .adbox-button {
    font-size: 14px;
    line-height: 1.1em;
    padding: 10px 40px;
}

.adbox-style-wide-2 .adbox-title1 {
    width: 50%;
    font-size: 1.4em;
    line-height: 1.2em;
    font-weight: normal;
    font-family: knauf_screenregular, Arial, Helvetica, sans-serif;
}
.adbox-style-wide-2 .adbox-title2 {
    width: 50%;
}

.adbox-style-wide-2 .adbox-button {
    background-color: #003778;
    width: auto;
}


.adbox-con.adbox-style-wide-2-con {
    width: 100%;
    display: block;
}




@media (max-width: 1200px) {
    .adbox.adbox-style-wide-2 {
        aspect-ratio: auto;
        height: auto;
        width: 100% !important;
        max-width: 800px;
        margin: auto;

    }


    .adbox.adbox-style-wide-2 .adbox-title1 {
        font-size: 1.6em;
    }
    .adbox.adbox-style-wide-2 .adbox-title2 {
        font-size: 13px;
    }
    .adbox-style-wide-2 .adbox-title1 {
        padding-bottom: 1.4em;
    }
    .adbox-style-wide-2 .adbox-title2 {

    }

    .adbox-style-wide-2 .adbox-button {
        padding: 10px 60px;
    }

}


@media (max-width: 990px) {
    .adbox.adbox-style-wide-2 {
        width: 100%;
        max-width: 600px;
        margin: auto;
    }
    .adbox-style-wide-2 .adbox-title1 {
        width: 60%;
    }
    .adbox-style-wide-2 .adbox-title2 {
        width: 60%;
    }

}


@media (max-width: 768px) {
    .adbox.adbox-style-wide-2 .adbox-title1 {
        font-size: 1.2em;
    }
}







/* ########## STYLE -FULL IMAGE BTN ############## */

.adbox.adbox-style-full-image {
    padding: 0 !important;
    aspect-ratio: auto;
    line-height: 0;
    position: relative;
    overflow: hidden;
    width: 100% !important;
    max-width: 870px;
    margin: auto;
}

.adbox.adbox-style-full-image img {
    height: auto;
    width: 100%;
    display: block;
    max-width: 100%;
}
.adbox.adbox-style-full-image .full-image-button {
    position: absolute;
    left: 0;
    bottom: 0;
    display: block;
    width: 100%;
    height: 100%;
    /* itd… */
}

.page-template-locations .adbox-con {
    padding:0 20px 40px 20px;
}


