/* FONTS */
@font-face {
    src: url("/_resources/themes/monaco-holzbau/css/fonts/LinotypeBasicCommercialLTBlack.ttf") format("truetype");
    font-family: "MonacoHolzbau";
}
.standard-font-uppercase{
    font-family: "MonacoHolzbau";
    text-transform: uppercase;
    color: rgb(0, 48, 91);
}
.standard-font{
    font-family: "MonacoHolzbau";
    color: rgb(0, 48, 91);
}
h3{
    font-family: "MonacoHolzbau";
    text-transform: uppercase;
    color: rgb(0, 48, 91);
}
p{
    font-size: 14px;
    font-family: "MonacoHolzbau";
    margin-bottom: 0px;
}
/* BODY */
body {
    margin: 0;
    background: #fff;
    min-width: 240px;
}
.main {
    background: #fff;
    margin-bottom: 80px;
}

.btn {
    background: none !important;
    color: rgb(0, 48, 91) !important;
}

section{
    padding-top: 70px;
}

/* HEADER */
.header {
    display: flex;
    flex-direction: column-reverse;
    height: auto;
}
.cf-turnstile{
    margin-left: 12px;
}
.home {
    height: 100%;
}
.home .header-img {
    height: 100%;
    background-position: top;
}
.header-img {
    height: 450px;
    width: 100%;
    filter: brightness(0.9);
    position: static;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
}
.header-overlay-headline{
    color: #fff;
    font-size: 50px;
    line-height: 30px;
    text-shadow: -1px -1px 0 rgb(0,48,91), 1px -1px 0 rgb(0,48,91), -1px 1px 0 rgb(0,48,91), 1px 1px 0 rgb(0,48,91);
}
.inverseColor{
    color: rgb(0,48,91) !important;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}
.fade-in{
    transition: opacity 0.8s ease-in;
    opacity: 1 !important;
}
.header-overlay{
    width: 100%;
    height: 100%;
}
.navbar{
    height: 110px;
}
.navbar-logo {
    width: auto;
    height: 110px;
    content: url("/_resources/themes/monaco-holzbau/images/logo.png");
}
.navbar-logo:hover{
    content: url("/_resources/themes/monaco-holzbau/images/logo.png");
}
.navbar-logo:focus{
    content: url("/_resources/themes/monaco-holzbau/images/logo.png");
}
.navbar-toggler {
    border-width: medium;
    border-color: rgb(0,48,91);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,48,91, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
.navbar-toggler:focus{
    outline: none !important;
    box-shadow: none !important;
}
.nav-link {
    font-size: 18px;
    color: rgb(0,48,91);
}
.nav-link.active {
    color: #000 !important;
}
.nav-link:focus {
    color: #000 !important;
}
.nav-link:hover {
    color: #000 !important;
}
#header-down-button{
    position: absolute;
    top: 50vh;
    opacity: 0;
}
.home #header-down-button{
    position: absolute;
    top: 50vh;
    opacity: 0;
}
@media (max-width: 1200px) {
    .home{
        height: auto;
    }
    .home .header-img{
        height: 500px;
    }
    .navbar{
        height: auto;
    }
    .navbar-logo{
        height: 85px;
        content: url("/_resources/themes/monaco-holzbau/images/logo.png");
    }
    header{
        display: flex;
        flex-direction: column-reverse;
        height:auto !important;
    }
    .header-img {
        position: static;
        background-position: center;
        background-attachment: scroll;
        height: 400px;
    }
    .nav-link {
        font-size: 14px;
        padding-left: 20px;
    }
    .nav-link.active {
        color: #000 !important;
    }
    .header-overlay-headline{
        font-size: 40px;
    }
    #header-down-button{
        position: absolute;
        top: 35vh;
        opacity: 0;
    }
    .home #header-down-button{
        position: absolute;
        top: 40vh;
        opacity: 0;
    }
}
@media (max-width: 768px) {

    .navbar-logo{
        height: 70px;
    }
    .nav-link {
        font-size: 12px;
    }
    .home .header-img{
        height: 450px;
    }
    .header-img {
        height: 300px;
    }
    .header-overlay-headline{
        font-size: 30px;
    }
    #header-down-button{
        position: absolute;
        top: 30vh;
        opacity: 0;
    }
    .home #header-down-button{
        position: absolute;
        top: 35vh;
        opacity: 0;
    }
}

/* FOOTER */
footer {
    /* background: rgb(231,6,70) !important; */
    background: #fff;
}



/* BOXES */
.wide-gallery-slider-box-wrapper {

    position: relative;
    left: calc(-50vw + 50%);
    display: block;
    width: 100vw;
    height: 600px;
    text-align: center;
    margin-bottom: 70px;
}
.wide-gallery-slider-box-wrapper .slide {
    height: 600px;
    background-size: cover;
    background-position: center;
}
.wide-gallery-slider-box-wrapper .caption {
    color: #fff;
    font-size: 40px;
    width: 100%;
    position: relative;
    bottom: -500px;
}
@media (max-width: 1200px) {
    .wide-gallery-slider-box-wrapper {
        height: 500px;
    }
    .wide-gallery-slider-box-wrapper .slide {
        height: 500px;
    }
    .wide-gallery-slider-box-wrapper .caption {
        bottom: -450px;
    }
}
@media (max-width: 768px) {
    .wide-gallery-slider-box-wrapper {
        height: 400px;
    }
    .wide-gallery-slider-box-wrapper .slide {
        height: 400px;
    }
    .wide-gallery-slider-box-wrapper .caption {
        bottom: -350px;
    }
}

/* IMAGE AND TEXT BOX */
.image-text-box-wrapper img{
    border-radius: 30px;
    height: 300px;
    width: 100%;
    object-fit: cover;
}
.image-text-box-wrapper .reverse{
    display: flex;
    flex-direction: row-reverse;
}
@media (max-width: 768px) {
    .image-text-box-wrapper img{
        margin-bottom: 30px;
    }
}


/* WIDE IMAGE BOX */
.wide-img {
    height: 350px;
    width: 100vw;
    position: relative;
    left: calc(-50vw + 50%);
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
.img-overlay-headline{
    color: #fff;
    font-size: 40px;
    width:100vw;
    line-height: 30px;
}
.img-overlay{
    width: 100vw;
    height: 100%;
}

@media (max-width: 1200px) {
    .wide-img {
        height: 300px;
        background-position: center;
        background-attachment: scroll;
    }
    .img-overlay-headline{
        font-size: 30px;
    }
}
@media (max-width: 768px) {
    .wide-img {
        height: 250px;
    }
    .img-overlay-headline{
        font-size: 20px;
    }
}

/* GALLERY BOX */
.gallery-item{
    position: relative;
    z-index: 1;
}
.gallery-img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: .5s ease;
    backface-visibility: hidden;
}
.gallery-item .text-overlay{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transition: .5s ease;
    width:100%;
    height:100%;
    background-color: rgb(0, 48, 91);
    padding: 5px;
    opacity: 0;
    pointer-events: none;

}
.gallery-item .text{
    font-size: 25px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    line-height: 1.5;
}
.gallery-item:hover .gallery-img{
    opacity: 0;
}
.gallery-item:hover .text-overlay{
    opacity: 1;
}
@media (max-width: 768px) {
    .gallery-box-wrapper .col-12{
        width: 50%;
        height: 20vh;
    }
}

.contactform .field{
    border: none;
}
.contactform{
    box-shadow: 0px 15px 35px 0px rgba(0, 0, 0, 0.1);
}
.contactform form{
    width: 100%;
    max-width: 750px;
}
.contact-form-box-wrapper .reverse{
    display: flex;
    flex-direction: row-reverse;
}
@media (max-width: 768px) {
    .contact-form-box-wrapper .textbox{
        margin-bottom: 30px;
    }
}
.contact-form-box-wrapper .col-md-6{
    max-width: 480px;
}
