/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 1 version
*/

.home-image-text {
    position: relative;
    background: linear-gradient(to top,  #0094fe 0%,#003262 100%);
    z-index: 1;
    padding-top: 60px;
    
    
}

.home-image-text::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 520px;
    background: linear-gradient(to bottom,  rgba(0,50,98,1) 0%,rgba(0,51,100,0.62) 60%,rgba(0,52,101,0) 100%);
    top: 0;
    left: 0;
}

.home-image-text .container {
    position: relative;
}

.home-image-text__bg {
    height: 410px;
    margin-left: -22px;
    margin-right: -22px;
    max-width: inherit;
    margin-top: -120px;
    -o-object-fit: cover;
       object-fit: cover;    
}

.home-image-text__bg img {
    -o-object-position: bottom;
       object-position: bottom;
       height: auto;
}

.home-image-text__wrap {
    position: relative;
    z-index: 1;
    color: #fff;
}

.home-image-text__wrap p{    
    font-weight: normal;
    font-size: 18px;
    letter-spacing: 0.03em;
    line-height: 30px;
    text-align: left;
    color: #fff;
    

}

.home-image-text__wrap p{
    margin-bottom: 20px;
}

.home-image-text__wrap .sub-heading {
    color: #fff;
    line-height: 0.928em;
    font-weight: 400;
}

.home-image-text__wrap .sub-heading::after {
    left: 0;
    top: 27px;
}

.home-image-text__wrap h2 {
    color: #FFC60B;
}

.desktop-bg-container{
    display: none;
}

@media (min-width: 375px){
    .home-image-text__bg {
        height: 430px;     

    }
}

@media (min-width: 390px){
    .home-image-text__bg {
        height: 440px;        
    }
}

@media (min-width: 410px){
    .home-image-text__bg {
        height: 470px;        
    }
}

@media (min-width: 430px){
    .home-image-text__bg {
        height: 490px;        
    }
}

@media (min-width: 490px){
    .home-image-text__bg {
        height: 565px;        
    }
}

@media (min-width: 550px){
    .home-image-text__bg {
        height: 650px;        
    }
}

@media (min-width: 590px){
    .home-image-text__bg {
        height: 750px;        
    }
}

@media (min-width: 700px){

    .home-image-text__bg {
        height: 870px;        
    }
}

@media (min-width: 768px) {
    .home-image-text {
        padding: 0; 
    }
    
    .home-image-text::after {
        width: calc(100% - 171px);
        height: 100%;
        background: linear-gradient(to right,  rgba(0,50,98,0) 0%,rgba(0,50,98,0.62) 45%,rgba(0,50,98,1) 100%);
        left: auto;
        right: 0;
        
    }
    
    .home-image-text__bg {
        height: 100%;
        margin-left: 0;
        margin-right: 0;
        max-width: inherit;
        margin-top:0;
        background: none;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .home-image-text__bg img {
        -o-object-position: center;
           object-position: center;
    }
    
    .home-image-text__wrap {
        padding: 75px 0 75px 230px;
    }
    
}




@media (min-width: 1280px) {

    .home-image-text{
        height: 360px;
        background: linear-gradient(to right,  #0094fe 0%,#003262 100%);
    }

    .desktop-bg-container{
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;        
        background: linear-gradient(to right, #039bff 10%, rgba(0, 52, 101, 0.5) 50%, #003262 100%);
    }    

    .desktop-bg {
        width: 100%;
        height: auto;
        position: absolute;
        left: 50%;
        -webkit-transform: translateX(-50%);
                transform: translateX(-50%);        
    }
    
    .home-image-text::after {
        display: none;
    }

    .home-image-text__wrap {
        padding: 30px 0 30px 0;
        width: 680px;
        margin-left: auto;
    }
    
}

@media (min-width: 1440px){

    .home-image-text{
        height: 400px;
    }


    .desktop-bg {
        width: 100%;
        height: auto;
        position: absolute;
        left: 50%;
        -webkit-transform: translateX(-50%);
                transform: translateX(-50%);        
    }

    .home-image-text__wrap {
        padding: 70px 0 60px 0;
        width: 680px;
        margin-left: auto;
    }

}


@media (min-width: 1600px){

    .home-image-text{
        height: 450px;
    }


    .desktop-bg {
        width: 100%;
        height: 100%;        
    }


    .home-image-text__wrap {
        padding: 110px 0 122px 0;
        width: 616px;
        margin-left: auto;
    }

}


@media (min-width: 1700px){

    .home-image-text{
        height: 475px;
    }


    .desktop-bg {
        width: 100%;
        height: 100%;        
    }


    .home-image-text__wrap {
        padding: 110px 0 122px 0;
        width: 616px;
        margin-left: auto;
    }

}


@media (min-width: 1920px){

    .home-image-text{
        height: 500px;
    }


    .home-image-text__wrap {
        padding: 110px 0 122px 0;
        width: 616px;
        margin-left: auto;
    }

}



@media (min-width: 2100px){

    .home-image-text{
        height: 550px;
    }


    .home-image-text__wrap {
        padding: 110px 0 122px 0;
        width: 616px;
        margin-left: auto;
    }

}



@media (min-width: 2400px){

    .home-image-text{
        height: 610px;
    }


    .home-image-text__wrap {
        padding: 110px 0 122px 0;
        width: 616px;
        margin-left: auto;
    }

}