﻿
.banner-iconic .banner__wrap {
    align-content: flex-start;
    background-color: rgba(10, 39, 63, 1);
    display: flex;
    flex-wrap: wrap;
    min-height: 330px;
    position: relative;
    width: 100%;
}

.banner-iconic .banner__link {
    position: relative;
    width: 100%;
}

.banner-iconic .banner__wrap .img-cover {
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.4;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.banner-iconic .banner__link:hover .img-cover {
    opacity: 0.2;
}

.banner-iconic .banner__content-wrap {
    color: #ffffff;
    cursor: pointer;
    padding: 70px 65px 0px;
    position: relative;
    text-align: center;
    width: 100%;
    z-index: 99;
    transition: transform 0.3s ease-out;
}

    .banner-iconic .banner__content-wrap .banner__header {
        color: #ffffff;
        font-size: 34px;
        font-weight: bold;
        line-height:1.1;
        margin-bottom:10px;
        margin-top:15px;
    }

    .banner-iconic .banner__content-wrap .banner__subheader {
        color:#ffffff;
        margin-bottom:15px;
    }

    .banner-iconic .banner__content-wrap .banner__text {
        padding-top:15px;
        opacity: 0;
/*        max-height: 0;*/
        overflow: hidden;
        margin-bottom: 0;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -ms-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
    }

    .banner-iconic .banner__content-wrap .banner__text::before {
        content:" ";
        display:inline-block;
        margin-top:-15px;
        height:2px;
        width:43px;
        background-color:#ffffff;
    }

@media only screen and (min-width:768px) {

    .banner-iconic .banner__wrap:hover .banner__content-wrap {
        transform: translateY(-20px);
    }

    .banner-iconic .banner__wrap:hover .banner__text {
        visibility: visible;
        opacity: 1;
        max-height: 500px;
    }
}

@media only screen and (max-width:1024px) {

    .banner-iconic .banner__content-wrap {
        padding: 70px 30px 0;
    }
}

@media only screen and (max-width:767px) {
    .banner-iconic .banner__content-wrap .banner__text {
        display:none;
    }

    .banner-iconic .banner__wrap {
        min-height: 220px;
    }

    .banner-iconic .banner__content-wrap {
        padding:55px 30px 0;
    }

    .banner-iconic .banner__content-wrap img{
        width:48px;
        height:48px;
    }

    .banner-iconic .banner__content-wrap .banner__header {
        font-size: 24px;
        margin-bottom: 0px;
        margin-top: 10px;
    }

    .banner-iconic .banner__content-wrap .banner__subheader {
        font-size:14px;
    }
 }
