﻿
.imageHolder {
    position: relative;
    border-top: 20px solid #0D47A1;
    border-bottom: 20px solid #0D47A1;
    overflow: hidden;
    height:250px;
}

.hdrText {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1D3859;
    line-height: 1.25;
    text-align: center;
    padding: 12px;
    background: rgba(255,255,255,0.8);
}

.hdrLabel {
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 700;
    color: #ffffff;
    max-width: 892px;
    margin: auto;
    padding: 0 30px;
}

.headerImg {
    max-width: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    z-index:-1;
}

.item {
   height:100%;
    
}

.overlay {
/*    margin-left: 105px;
    width: 30%;
    background: linear-gradient(360deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 17.77%, rgba(0, 0, 0, 0) 149.62%);*/
    height: 100%;
}

.bannerTextWrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items:flex-start;
    height: 100%;
}
    .bannerTextWrapper::after {
        position: absolute;
        content: "";
        width: 330px;
        height: 100%;
        z-index:-1;
        background: linear-gradient(360deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 17.77%, rgba(0, 0, 0, 0) 149.62%);
        margin-left:50px;
    }
.bannerHeader {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-weight: 600;
    font-size: 28px;
    line-height: 30px;
    background: linear-gradient(360deg, rgb(255 255 255 / 95%) 0%, rgb(255 255 255 / 92%) 17.77%, rgb(255 255 255 / 88%) 149.62%);
    color: #0D47A1;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding: 20px 20px 20px 50px;
    min-width: 400px;
}


    .bannerHeader h1 {
        margin: 0;
        padding: 0;
        border: 0;
        font-size: 100%;
        font: inherit;
    }
@media screen and (max-width:980px){
    .imageHolder {
        height: 250px;
    }
    .bannerHeader {
        font-size: 32px;
        line-height: 40px;
        padding: 20px 40px 20px 80px;
        min-width: 470px;
    }
    .bannerTextWrapper::after {
        width: 350px;
        margin-left: 64px;
    }
}
@media screen and (max-width:768px){
    .imageHolder {
        border-top: 10px solid #0D47A1;
        border-bottom: 10px solid #0D47A1;
        height: 190px;
    }
    .bannerHeader {
        font-size: 32px;
        line-height: 30px;
        min-width: 300px;
        margin-bottom: 20px;
    }
    .bannerTextWrapper::after {
        width: 212px;
        margin-left: 64px;
    }
}
@media screen and (max-width:590px){
    .imageHolder {
        height: 140px;
    }
    .bannerHeader {
        font-size: 20px;
        line-height: 15px;
        min-width: 200px;
        padding: 12px 12px 12px 40px;
    }
    .bannerTextWrapper::after {
        width: 150px;
        margin-left: 30px;
    }
}
@media screen and (max-width:475px){
    .imageHolder {
        height: 80px;
        border-top: 5px solid #0D47A1;
        border-bottom: 5px solid #0D47A1;
    }
    .bannerHeader {
        font-size: 16px;
        line-height: 15px;
        min-width: 150px;
        padding: 8px 12px 8px 40px;
        margin-bottom:10px;
    }
    .bannerTextWrapper::after {
        width: 105px;
    }
}