/* #### SUBHEADER #### */

.sub-header {
    position: relative;
    overflow: hidden;
    height: 56px;
    line-height: 57px;
    background: #E8221A;
}

.sub-header .sub-header-menu {
    padding: 0 25px 0 50px;
    display: inline-block;
    font-family: AvenirNextLTPro-Regular;
    font-size: 16px;
}

.sub-header .sub-header-menu a {
    font-size: 1.2em;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #fff;
}

.sub-header .social-block {
    width: auto; /*64.6%*/;
    display: inline-block;
    position: absolute;
}

.sub-header .social-divider {
    width: 100%;
    display: inline-block;
    position: absolute;
}

@media all and (max-width: 767px) {
    .sub-header .social-divider {
        position: inherit;
        margin: 20px 0;
    }
}

.sub-header .social-divider::before {
    width: 100%;
    border-left: 18px solid transparent;
    border-bottom: 57px solid #ffffff;
    left: -20px;
    position: absolute;
    content: " ";
}

@media all and (max-width: 767px) {
    .sub-header .social-divider::before {
        display: none;
    }
}


.sub-header .social-block .social-block-content {
    font-family: 'AvenirNextLTPro-Regular';
    font-size: 14px;
    height: 55px;
}

.sub-header .social-block .social-block-content .carousel {
    padding: 7px 15px 0 22px;
    line-height: normal;
}

.sub-header .social-block .social-block-content .carousel,
.sub-header .social-block .social-block-content .carousel .carousel-inner {
    height: inherit;
}

.sub-header .social-block .social-block-content .content-control {
    line-height: 60px;
    font-size: 22px;
    color: #D0221D;
}

.sub-header .social-block .social-block-content .content-control.left {
    position: absolute;
    top: 0;
    left: 0;
}

.sub-header .social-block .social-block-content .content-control.right {
    position: absolute;
    top: 0;
    right: 50px;
}

.sub-header .social-block .social-block-content .content-control .chevron {
    width: 9px;
    height: 15px;
    display: inline-block;
}

.sub-header .social-block .social-block-content .content-control.left .chevron {
    background: url('../images/esq.png');
}

.sub-header .social-block .social-block-content .content-control.right .chevron {
    background: url('../images/dir.png');
}

.sub-header .social-block .social-block-content .social-block-content-icon {
    width: 35px;
    height: 35px;
    display: inline-block;
    background-size: cover;
}

.sub-header .social-block .social-block-content .social-block-content-icon.icon-facebook {
    background-image: url('../images/face.png');

}

.sub-header .social-block .social-block-content .social-block-content-icon.icon-linkedin {
    background-image: url('../images/in.png');
}

@media all and (max-width: 767px) {
    .sub-header {
        height: auto;
        background: none;
    }

    .sub-header .sub-header-menu {
        width: 100% !important;
    }
}

@media all and (max-width: 798px) {

    .sub-header .sub-header-menu {
        width: 100%;
        text-align: center;
        padding: 0;
        margin: 0;
        float: none !important;
        font-size: 1em;
        background: #E8221A;
    }

    .sub-header .social-block {
        width: 100%;

        display: initial;
        position: initial;
    }


    .sub-header .social-block .social-divider {
        display: none;
    }

    .sub-header .social-block .social-block-content {
        background-color: #fff;
        font-size: 1.2em;
        height: auto;
    }

    .sub-header .social-block .social-block-content .social-block-content-icon {
        /*width: 10%;*/
        max-width: 35px;
        float: left;
    }

    .sub-header .social-block .social-block-content .caption{
        width: 80%;
        float: left;
        padding: 0 10px;
    }

    .sub-header .social-block .social-block-content .content-control.left {
        top: 0;
        left: 20px;
    }

    .sub-header .social-block .social-block-content .content-control.right {
        top: 0;
        right: 20px;
    }

    .sub-header .social-block .social-block-content .carousel {
        padding: 15px 0px 15px 38px;
    }

    /*.sub-header .social-block .social-block-content .carousel .carousel-inner {*/
        /*margin-left: 9.666667%;*/
    /*}*/
}

/* #### END SUBHEADER #### */
