.header-container {
    width: 100%;
    position: fixed;
    z-index: 9999;
    opacity: 1;
}

    .header-container .content-container {
        line-height: 0;
        padding: 35px;
        transition: padding 0.15s;
        width: 100%;
    }

    .header-container.header-sticky .content-container {
        /*padding: 10px;*/
        padding: 0px;
    }

    .header-container .content-container:before,
    .header-container .content-container:after {
        display: none;
    }

.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;
}

#header {
    text-align: center;
    padding-right: 10px;
    width: 100%;
}

.header-tag-line {
    font-family: ReklameScriptW00-Medium;
    font-size: 34px;
    color: #febf2b;
    line-height: 1.2em;
    display: block;
    white-space: nowrap;
}


.header-content-container {
    display: flex;
    flex-wrap: nowrap;
    padding: 0;
    align-items: center;
    justify-content: space-between;

    background-image: url('../../../assets/images/brand/background.png');
    background-repeat: no-repeat;
    background-position: left 35% center;
    background-size: contain;
}



.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;
    background-color: #FFFFFF;
    color: #000000;
}

.header-top-text-container {
    width: 1170px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.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;
}



@media screen and (max-width:768px) {
    div#header {
        max-width: 80%;
        padding: 10px;
        padding-left: 15px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        justify-content: center;
    }
}

#header-contact {
    display: table-cell; 
    width: 30%; 
    height: 80px; 
    vertical-align: middle;
}

.header-brand {
    height: auto;
    max-width: 450px;
}

a.header-brand > svg {
    height: 110px;
    max-height: 100%;
    display: inline-block;
}

.header-brand img {
    display: inline-block;
    max-height: 100%;
    max-width: 100%;
    margin-top: 0;
}

a.header-brand {
    display: inline-flex;
    align-items: center;
}

.btn-navbar {
    display: none;
    float: right;
    padding: 10px;
    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: #FFF;
    padding-top: 10px;
}

/* 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;
}


/* ===HEADER=== */
.header-top-bg {
    top: -35px;
}

.btn-navbar {
    background: #FFF;
}

.icon-bar {
    background-color: #14404b;
}

.header-padding {
    height: 130px;
}

.subheader-content-container {
    width: 100%;
    height: 65px;
    display: flex;
    flex-wrap: nowrap;
    background-color: #FFFFFF;
    opacity: 0.85;
    padding: 0px;
    padding-left: 15px;
    box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1);
}

    .subheader-content-container nav {
        color: #111;
    }

    .subheader-content-container nav ul li a {
        color: #111;
    }

@media only screen and (min-width: 1025px) {
        #header,
        #header .header-brand,
        #header .header-brand img {
            transition: all 0.3s;
        }
    }

    @media only screen and (max-width: 1024px) {

        .header-container.header-sticky .header-content-container {
            height: 0;
        }

        /*.header-content-container > * {
            display: block;
            width: 100%;
            padding: 0px;
        }*/

        .subheader-content-container {
            opacity: 1;
        }

        /*#header {
            float: none;
            width: 100%;
            display: block;
            height: 100%;
        }*/

        #header-contact {
            display: none;
        }

        #headerContact {
            display: none;
        }

        .header-text {
            display: none;
        }

        .header-padding {
            height: 0px;
        }

        .btn-navbar {
            display: block;
        }
        
        .navigation-container {
            width: 100%;
        }

        .navBarButtons {
            padding: unset;
        }

        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: 400px) {
        .header-container {
            /*padding: 0 15px;*/
        }
    }


@media screen and (max-width: 768px) {
    .header-container .content-container > #pnlSubNavigation,
    .header-container .content-container > .search-right-wrap {
        width: 100%;
    }

    .header-container .content-container {
        flex-wrap: wrap;
    }
}

/* Office Details */

.header-office-details {
    position: absolute;
    top: 0;
    height: 100%;
    right: 0;
    padding: 15px;
    display: block;
    font-size: 12px;
    float: none;
}

h3.header-office-name {
    color: #00648e ;
    font-size: 1.5em;
    margin-bottom: 5px;
    font-weight: 800;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

ul.header-office-contact {
    list-style: none;
    white-space: normal;
    font-weight: 200;
}

.header-office-details * {
    float: none;
    position: relative;
    line-height: 1em;
}

ul.header-office-contact > .office-contact-component {
    display: block;
    font-size: 1.2em;
    height: auto;
    max-width: 200px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

ul.header-office-contact > .office-contact-component > a {
    color: #000;
    text-decoration: none;
}

@media screen and (max-width: 500px) {
    .header-office-details {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .header-tag-line {
        font-size: 20px;
    }
}

.header-container.header-sticky {
    background-color: #000000;
}

.header-container {
    background-color: #000000;
    transition: background 0.15s;
}

    .header-container.header-sticky .header-brand img {
        /*height: 36px;*/
        height: 0px;
    }







/* Masthead Start */
.page-masthead {
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 60vh;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

    .page-masthead:before {
        content: " ";
        padding-top: calc(56.25% + 100px);
        display: block;
    }

    .page-masthead.default-masthead > .masthead-bg {
        background-image: url(/assets/images/photos/banner-image-low-res.jpg);
    }



    .page-masthead.video-masthead {
        min-height: unset;
    }

        .page-masthead.video-masthead:before {
            padding-top: calc(56.25%);
        }



.masthead-clipped-background {
    overflow: hidden;
    z-index: 10;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 200px), 0 90%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 200px), 0 90%);
    width: 100%;
}

.masthead-bg:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(to bottom, #000, rgba(255, 255, 255, 0.00));
    opacity: .3;
}

.masthead-content-panels {
    display: flex;
    justify-content: center;
    width: 100%;
}

    .masthead-content-panels > .masthead-content-panel {
        width: calc(50% - 30px);
        margin: 15px;
    }


.masthead-content-bottom {
    width: 100%;
    max-width: 1170px;
    position: absolute;
    bottom: 0;
    padding: 25px;
    margin: 0 auto;
    background-color: rgba(7, 190, 218, 0.8);
}

.masthead-content-bottom-title {
    margin: 0;
    line-height: 36px;
    font-size: 30px;
    text-align: center;
    color: #fff;
    font-style: normal;
    padding-bottom: 0;
    font-weight: 500;
    text-transform: uppercase;
    word-spacing: 5px;
    letter-spacing: 1px;
}

.page-masthead {
    min-height: 450px!important;
}

    .page-masthead.video-masthead {
        min-height: unset!important;
    }


@media screen and (max-width:768px) {
    .masthead-clipped-background {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 100px), 0 80%);
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 100px), 0 80%);
    }
}

.masthead-content {
    width: 100%;
    max-width: 1120px;
    text-align: center;
    /*position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);*/
    user-select: none;
    display: block;
}

    .masthead-content > h3 {
        margin: 0;
        box-shadow: 0 0 5px black;
        font-size: 40px;
        display: inline-block;
        padding: 15px 25px;
        color: #fff;
        /*clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);*/
        text-shadow: 0 0 5px black;
        background: rgb(24, 141, 71);
        background: radial-gradient(circle, rgb(22, 133, 185) 0%, rgb(0, 47, 85) 100%);
        border-radius: 3px;
        overflow: hidden;
    }

.masthead-clipped .masthead-content-bottom {
    padding-top: 400px;
}

.masthead-content.masthead-content-bottom {
    top: unset;
    bottom: 0;
}

.masthead-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 60%;
}

@media screen and (max-width: 600px) {
    .masthead-bg {
        background-position: 0% 60%;
    }
}

.page-masthead.masthead-flexibile {
    max-height: unset;
}

    .page-masthead.masthead-flexibile > .masthead-bg > img {
        width: 100%;
        display: block;
    }

    .page-masthead.masthead-flexibile:before {
        display: none;
    }

    .page-masthead.masthead-flexibile > .masthead-bg {
        position: relative;
        max-height: 100vh;
    }

    .page-masthead.masthead-flexibile > .masthead-flexible-mobile-bg {
        position: absolute;
        top: -20px;
        left: -20px;
        right: -20px;
        bottom: -20px;
        z-index: -1;
        background-size: cover;
        background-position: center center;
        filter: blur(10px) brightness(80%);
    }

.masthead-content {
    opacity: 0;
    animation-name: masthead-content-in;
    animation-duration: 0.75s;
    animation-timing-function: ease-out;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-delay: 0.25s;
}

.masthead-carousel .carousel-container,
.masthead-carousel .owl-carousel,
.masthead-carousel .owl-stage,
.masthead-carousel .owl-stage-outer,
.masthead-carousel .owl-carousel .owl-item,
.masthead-carousel .owl-carousel .owl-item > .item,
.masthead-carousel .owl-carousel .owl-item > .item .item-image {
    height: 100%;
}

.item-image {
    height: auto;
    min-height: 650px;
}

    .item-image:before {
        content: " ";
        display: block;
        padding-top: 56.25%;
    }

.masthead-content:nth-of-type(3) {
    animation-delay: 0.5s;
}


@keyframes masthead-content-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media screen and (max-width: 1200px) {
    .page-masthead.masthead-clipped .masthead-content-bottom {
        margin-bottom: -20px;
    }
}

@media screen and (max-width: 700px) {
    .page-masthead.masthead-clipped {
        min-height: 430px !important;
    }

}

@media screen and (max-width: 768px) {
    .masthead-content > h3 {
        font-size: 32px;
    }

    .masthead-content-panels {
        flex-wrap: wrap;
    }

        .masthead-content-panels > .masthead-content-panel {
            width: 100%;
        }

    .page-masthead {
        padding-top: 215px;
    }

    .masthead-content-bottom-title {
        margin: 0;
        line-height: 26px;
        font-size: 20px;
        word-spacing: 2px;
    }
}

@media screen and (max-width: 600px) {
    .masthead-content > h3 {
        font-size: 26px;
        padding-bottom: 0;
    }

    .page-masthead:before {
        padding-top: 100%;
    }
}

@media screen and (max-width: 400px) {
    .masthead-content > h3 {
        font-size: 22px;
    }
}
/* Masthead End */


/* Small Brand */
.header-small-brand {
    display: flex;
    align-items: flex-end;
    white-space: nowrap;
}

    .header-small-brand > img {
        width: 50px;
        display: block;
        white-space: nowrap;
    }

ul.header-small-brand__nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    list-style: none;
    margin-left: 0.5em;
}

    ul.header-small-brand__nav > li > a {
        display: block;
        color: #18714a;
        text-decoration: none;
        font-size: 16px;
    }