.smartpage {
    min-height: 100vh;
}
@media (min-width: 768px){
    .smartpage {
        min-height: calc(100vh - 246px);
    }
}
@media (min-width: 992px){
    .smartpage {
        min-height: calc(100vh - 268px);
    }
}
@media (min-width: 1200px){
    .smartpage {
        min-height: calc(100vh - 290px);
    }
}
    /* Header with background */
    .smartpage header.with-background {
        position: relative;
        background-size: cover;
        background-position: center;
        padding: 100px 15px 80px 15px;
        height: auto;
    }
    @media (min-width: 768px){
        .smartpage header.with-background {
            padding: 0;
            height: 320px;
        }
    }
    @media (min-width: 992px){
        .smartpage header.with-background:not(.embed-responsive-item)  {
            height: 400px;
        }
    }
    @media (min-width: 1200px){
        .smartpage header.with-background:not(.embed-responsive-item) {
            height: 480px;
        }
    }
    @media (min-width: 1400px){
        .smartpage header.with-background:not(.embed-responsive-item) {
            height: 560px;
        }
    }
    .smartpage header.with-background:not(.embed-responsive-item)::after {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.15);
        content: '';
        pointer-events: none;
    }
    .smartpage header.with-background:not(.embed-responsive-item).loading {
        background-color: #f3f4f4;
    }
    .smartpage header.with-background:not(.embed-responsive-item).loading::before {
        content: '';
        background-image: url('../../../../images/layouts/lazyLoader.svg');
        background-position: center;
        height: 44px;
        width: 44px;
        background-size: 44px 44px;
        background-repeat: no-repeat;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
        .smartpage header.with-background picture,
        .smartpage header.with-background img {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 100%;
            object-fit: cover;
        }
        .smartpage header.with-background .container {
            display: flex;
            align-items: center;
            height: inherit;
        }
            .smartpage header.with-background h1 {
                position: relative;
                z-index: 1;
                color: white !important;
                line-height: 1.2 !important;
                font-family: 'FontFaceCondensedBold', sans-serif !important;
                background: transparent !important;
                padding: 0 !important;
                margin: 5% 0 -15px 0 !important;
                font-size: 40px !important;
                opacity: 0;
                transform: translateX(-25%);
                transition: opacity 1s, transform 1s;
            }
            .smartpage header.with-background.loaded h1 {
                opacity: 1;
                transform: none;
            }
            @media (min-width: 768px){
                .smartpage header.with-background h1 {
                    font-size: 50px !important;
                }
            }
            @media (min-width: 992px){
                .smartpage header.with-background h1  {
                    font-size: 55px !important;
                }
            }
            @media (min-width: 1200px){
                .smartpage header.with-background h1 {
                    font-size: 70px !important;
                }
            }
            @media (min-width: 1400px){
                .smartpage header.with-background h1 {
                    font-size: 80px !important;
                }
            }
    /* Header with background */
    .smartpage header.simple-title {
        position: relative;
        background: #dcdcdc;
        padding: 70px 15px 50px 15px;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    @media (min-width: 768px){
        .smartpage header.simple-title {
            padding: 0;
            height: 200px;
        }
    }
    @media (min-width: 992px){
        .smartpage header.simple-title:not(.embed-responsive-item)  {
            height: 240px;
        }
    }
    @media (min-width: 1200px){
        .smartpage header.simple-title:not(.embed-responsive-item) {
            height: 310px;
        }
    }
    @media (min-width: 1400px){
        .smartpage header.simple-title:not(.embed-responsive-item) {
            height: 370px;
        }
    }
        .smartpage header.simple-title h1,
        .smartpage header.simple-title h2 {
            position: relative;
            z-index: 1;
            color: #6f6f6e !important;
            line-height: 1.2 !important;
            font-family: 'FontFaceLight', sans-serif !important;
            background: transparent !important;
            padding: 0 !important;
            margin: 30px 0 0 0 !important;
            font-size: 40px !important;
            opacity: 0;
            transform: translateY(25%);
            transition: opacity 1s, transform 1s;
        }
        .smartpage header.simple-title.loaded h1,
        .smartpage header.simple-title.loaded h2 {
            opacity: 1;
            transform: none;
        }
        @media (min-width: 768px){
            .smartpage header.simple-title h1,
            .smartpage header.simple-title h2 {
                font-size: 50px !important;
                margin-top: 65px !important;
            }
        }
        @media (min-width: 992px){
            .smartpage header.simple-title h1,
            .smartpage header.simple-title h2 {
                font-size: 55px !important;
                margin-top: 80px !important;
            }
        }
        @media (min-width: 1200px){
            .smartpage header.simple-title h1,
            .smartpage header.simple-title h2 {
                font-size: 70px !important;
                margin-top: 85px !important;
            }
        }
        @media (min-width: 1400px){
            .smartpage header.simple-title h1,
            .smartpage header.simple-title h2 {
                font-size: 80px !important;
            }
        }
