.header-container {
    width: 100%;
}

.header-container .content-container {
    line-height: 0;
    padding: 0;
    background-color: #000;
    padding-bottom: 0 !important;
}

.header-content-container {
    display: flex;
    flex-wrap:nowrap;
    padding: 15px!important;
}
.header-content-container > * {
    display:block;
    width:100%; 
}

.header-content-container > div.header-text {
    text-align: right;
}

.header-text-inner {
    display: block;
    line-height: normal;
    top: 50%;
    position: relative;
    transform: translateY(-50%);
}


#header-top-text {
    line-height: normal;
    text-align: center;
    font-size: 0.8em;
    padding: 15px;
}

.header-text-inner > a {
    display: block;
    color: #000;
    font-size: 1.3em;
    font-weight: 500;
    text-decoration: none;
}

.header-text-inner > a:hover {
    text-decoration: none;
}

#headerContainer.smaller .header-top,
#headerContainer.smaller .header-top-bg {
    display: none;
}

#header {
    z-index: 3000;
}

#header-contact {
    display: table-cell; 
    width: 30%; 
    height: 90px; 
    vertical-align: middle;
}

.header-brand {
    display: block;
    text-align:center;
}

.header-brand img {
    display: inline-block;
    height: 63px;
    max-width: 100%;
    max-height: 100%;
}

.btn-navbar {
    display: none;
    float: right;
    padding: 10px;
    margin-top: 40px;
    z-index: 9999;
}

.icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background-color: #FFF;
}

    .icon-bar + .icon-bar {
        margin-top: 4px;
    }

.navBarButtons {
    background-color: #000;
}


/* Header Top */
.header-top-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 35px;
    background-color: #FFF;
}

.header-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: right;
    padding-left: 0;
}

#datetime {
    font-weight: normal;
}

/* CONTACT */
#headerContact {
    padding-top: 10px;
    font-family: 'Lato';
    font-size: 1em;
    line-height: 1;
}

    #headerContact div,
    #headerContact div a,
    .contact-separator {
        color: #fff;
    }

    #headerContact div {
        display: inline-block;
    }

        #headerContact div a {
            text-decoration: none;
        }

.contact-separator {
    margin: 0 5px;
}

/* HEADER LINKS */
.header-links {
    position: absolute;
    top: 13px;
    right: 0;
}

    .header-links a {
        position: relative;
        display: inline-block;
        color: #fff;
        text-decoration: none;
        font-size: 0.9em;
        line-height: 1;
        padding: 15px;
    }

        .header-links a:hover {
            background-color: #eee;
            color: #222;
            border-radius: 3px;
            transition: 0.3s;
        }

    .header-links i {
        color: #ed1c24;
        margin-right: 7px;
    }

/* SOCIAL MEDIA */
.header-social-media {
    position: relative;
    display: inline-block;
    vertical-align: top;
    font-size: 20px;
    margin-top: 8px;
    z-index: 3;
    display: none;
}

    .header-social-media a {
        text-decoration: none;
        color: #fff;
        margin-left: 4px;
        background-color: #1e5f6f;
        width: 35px;
        height: 35px;
        line-height: 35px;
        display: inline-block;
        text-align: center;
    }

        .header-social-media a:hover {
            color: #fff;
            background-color: #5bbad5;
        }

@media only screen and (min-width: 1025px) {
    #header,
    #header .header-brand,
    #header .header-brand img {
        transition: all 0.3s;
    }

    #headerContainer.smaller #header,
    #headerContainer.smaller #header .header-brand,
    #headerContainer.smaller #header .header-brand img {
        height: 70px;
    }

}

@media only screen and (max-width: 1024px) {
    #header {
        float: none;
        width: 100%;
        display: block;
    }

    #header-contact {
        display: none;
    }

    #headerContact {
        display: none;
    }

    .header-text {
        display: none;
    }

    .btn-navbar {
        display: block;
    }

    .header-brand {
        margin-top: 14px;
    }

    .header-brand {
        height: 80px;
    }

    .header-brand img {
        height: 80px;
    }

    .navigation-container {
        /*width: 100%;
        height: calc(100vh - 168px) !important;
        overflow-y: scroll;*/
    }
    nav ul {
        float: unset!important;
        left: unset!important;
    }

    nav > ul > li {
        right: unset!important;
    }
}

@media only screen and (min-width: 621px) {
    #outer-wrap.top-padding {
        padding-top: 35px;
    }
}

@media only screen and (max-width: 420px) {
    .header-brand {
        height: 60px;
    }

    .header-brand img {
        height: 60px;
    }
    .navigation-container {
        /*width: 100%;
        height: calc(100vh - 148px);
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;*/
    }
}

@media only screen and (max-width: 320px) {
    .header-brand {
        height: 45px;
        margin-top: 25px;
    }

    .header-brand img {
        height: 45px;
    }
}

@media only screen and (max-width: 400px) {
    .header-container {
        padding: 0 15px;
    }
}



.header-container {
    position: fixed !important;
    top:0;
    z-index: 1000;
}

.drop-down-search .search-container {
    position: relative;
    top: 0;
}

.drop-down-search.in {
    transform: translateY(0);
}

.drop-down-search {
    overflow: hidden;
    position: absolute;
    top: 100%;
    transform:translateY(-100%);
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.85);
    padding-top: 25px;
    transition: all 0.25s;
    z-index: -1;
}

.drop-down-search .search-container-inner {
    background-color: transparent;
}

#outer-wrap {
    margin-top: 116px;
}

@media screen and (max-width:1024px) {
    #outer-wrap {
        margin-top: 148px;
    }

    iframe.search-bg-video-player {
        transform: none !important;
    }
}
