.cms-head {
    position: relative; left: 0; top: 0;
    padding: 0;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: white;
    margin: 0;
    overflow-x: hidden;
}

.cms-head .container {
    position: relative;
}

.cms-head.dark {
    background-color: darkgray;
}

.cms-head .head-back {
    display: block;
    position: absolute; left: 0; top: 0;
    min-width: 100%; min-height: 100%;
    overflow: hidden;
}

.cms-head .head-back-gradient {
    display: block;
    position: absolute; left: 0; top: 0;
    width: 100%; height: 100%; min-width: 1125px;
}

.cms-head.dark .head-back-gradient{
    background: linear-gradient(to right, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0.65) 25%,rgba(0,0,0,0) 60%);
}

.cms-head.light .head-back-gradient{
    background: linear-gradient(to right, rgba(255,255,255,0.65) 0%,rgba(255,255,255,0.65) 25%,rgba(255,255,255,0) 60%);
}

.cms-head > div.container > div.row{
    display:-webkit-flex;
    display:-webkit-box;
    display:-moz-flex;
    display:-moz-box;
    display:-ms-flexbox;
    display:flex;
    flex-direction:row;
    align-items: stretch;
}

.cms-head .head-cont{
    color: white;
    line-height: 1.6em;
    padding: 65px 0 40px 0;
}

.cms-head.light .head-cont{
    color: #464646;
}

.cms-head .head-cont h1 {
    line-height: 1.2em;
    font-size: 48px;
    display: block;
    color: white;
    padding: 0;
    margin: 0 0 17px 0;
}

.cms-head .head-cont h2{
    text-align: left;
    margin-bottom: 15px;
}

.cms-head.light .head-cont h1,
.cms-head.light .head-cont h2{
    color: #25282a;
}

.cms-head .head-img-wrap{
    display: -webkit-flex;
    display: -webkit-box;
    display: -moz-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    text-align: right;
    padding-top: 55px;
}

.cms-head .head-img{
    display: block;
    width: 100%;
    text-align: right;
}

.cms-head .head-img img,
.cms-head .head-img .vertical-box {
    display: inline-block;
}

.cms-head .head-img-sm{
    position: absolute;
    left: 50%; bottom: 0;
    width: 50%;
    text-align: right;
}

.cms-head .head-img-sm img{
    display: inline-block;
}


.cms-under-head-wrap{
    background-color: #f6f6f6;
}

.cms-under-head{
    padding: 20px 10px;
    color: #636363;
    line-height: normal;
}

.cms-under-head h2 {
    font-size: 48px;
    font-weight: bold;
    color: #143255;
    padding: 0 0 25px 0;
    margin: 0;
}

@media (max-width: 1200px) {
    .cms-head .head-cont h1{
        font-size: 42px;
    }
}

@media (max-width: 991px) {

    .cms-head{
        min-height: 0;
    }

    .cms-head .head-cont{
        padding: 30px 0 20px 0;
    }

    .cms-head .head-cont h1{
        font-size: 32px;
    }
}

@media (max-width: 767px){

    .cms-head > div.container > div.row{
        display: block;
    }

    .cms-head{
        height: auto;
        min-height: 0;
    }

    .cms-head.dark .head-back-gradient{
        background:rgba(0,0,0,0.75);
    }

    .cms-head.light .head-back-gradient{
        background:rgba(255,255,255,0.75);
    }

    .cms-head .head-back {
        width: auto;
    }

    .cms-head .head-cont{
        padding-top: 40px;
        text-align: justify;
    }

    .cms-head .head-cont h1{
        text-align: center;
        font-size: 32px;
        margin-bottom: 10px;
    }

    .cms-head .head-img-wrap{
        display: block;
        padding-top: 0;
    }

    .cms-head .head-img{
        text-align: center;
    }

    .cms-head .head-img-wrap img{
        margin-top: 0;
    }

    .cms-under-head{
        text-align: justify;
    }

    .cms-under-head h2{
        text-align: center;
        font-size: 32px;
        padding-bottom: 15px;
    }

    .cms-head .head-img.beforeContent > img,
    .cms-head .head-img.beforeContent > .aspect-ratio-box{
        margin: 0 auto 20px auto;
    }
}

@media (max-width: 767px){
    .cms-head .head-cont h2{
        text-align: center;
    }
}

@media (max-width: 576px){

    .cms-head{
        font-size: 14px;
    }

    .cms-head .head-cont h1{
        font-size: 28px;
    }

    .cms-head .head-cont h2{
        font-size: 22px;
    }
}

@media (max-width: 424px){

    .cms-head .head-cont h1{
        font-size: 24px;
        margin-bottom: 5px;
    }

    .cms-head .head-cont h2{
        font-size: 20px;
    }
}

@media (max-width: 374px){

    .cms-head .head-cont h1{
        font-size: 24px;
    }

    .cms-head .head-cont h2{
        font-size: 18px;
    }

}

@media (max-width: 319px){
}