@media only screen and (min-width: 320px) {
    .hero-block, .is-root-container .hero-block, .gb-container.tummennus{
        position: relative;
        display: flex;
        align-items: center;
    }

    /*Hero with image*/
    .hero-with-img > figure, .is-root-container .hero-with-img > figure{
        position: absolute;
        left:0px;
        right:0px;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    .hero-with-img > figure img.hero-image, .is-root-container .hero-with-img > figure img.hero-image{
        object-fit: cover;
        height: 100%;
        width:100%;
    }
    .hero-with-img > figure:after, .is-root-container .hero-with-img > figure:after{
        display: block;
        content: '';
        position: absolute;
        width:100%;
        height:100%;
        background:rgba(0, 0 ,0, 0.25);
        left:0px;
        top:0px;
    }
    .tummennus:after{
        display: block;
        content: '';
        position: absolute;
        width:100%;
        height:100%;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), transparent);
        left:0px;
        top:0px;
    }

    /*Hero text settings*/
    .hero-txt-container, .is-root-container .hero-txt-container{
        z-index: 6;
        text-align: center;
        padding:100px 0px;
    }
    

    .hero-label, .is-root-container .hero-label{
        font-size:1.4em;
        margin-bottom:0px;
        z-index: 1;
        font-family: var(--title-font);
        font-weight: 500;
    }
    
    .hero-txt-container .read-more, .is-root-container .hero-txt-container .read-more{
        display:none;
    }

    .hero-title, .is-root-container .hero-title{
        font-size:2.2em;
        margin-bottom: 10px;
        z-index: 1;
    }
    
    /*Moder container*/
    .hero-moder-container, .is-root-container .hero-moder-container{
        padding-top:40px;
        z-index: 2;
    }
    .hero-moder-container .moder-bg{
        display: none !important;
    }
    /*Lifts*/
    .hero-lifts-container, .is-root-container .hero-lifts-container{
        padding-top:40px;
    }
    
}

@media only screen and (min-width: 768px) {
    /*Hero text settings*/
    .hero-txt-container, .is-root-container .hero-txt-container, 
    .hero-lifts-container, .is-root-container .hero-lifts-container,
    .hero-moder-container, .is-root-container .hero-moder-container{
        padding-top:80px
    }

    .hero-title, .is-root-container .hero-title{
        font-size:2.8em;
    }
    /*Lifts*/
    .hero-lifts-container, .is-root-container .hero-lifts-container{
        padding-top:80px;
    }
}

@media only screen and (min-width: 1280px) {
    .hero-txt-container, .is-root-container .hero-txt-container{
        padding-top:200px;
    }
   .hero-title, .is-root-container .hero-title{
        font-size: 4.8em;
    }
    /*Lifts*/
    .hero-lifts-container, .is-root-container .hero-lifts-container{
        padding-top:150px;
    }
}