/* PAGE-HEADER */
#page-header {
    position: relative;
    background: var(--color);
    height: 400px;
    min-height: 400px;
    overflow: hidden;
}
body.homepage #page-header {
    height: calc(70vh - 100px);
    min-height: 800px;
}
#page-header video {
    /*position: absolute;
    left: 0;
    top: 0;*/
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1000ms;
}
#page-header .image {
    height: 100%;
    width: 100%;
}
#page-header .image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1000ms;
}
#page-header video.show,
#page-header .image img.show {
    opacity: 0.7;
}
#page-header-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 90%;
    max-width: 1200px;
    text-align: left;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    column-gap: 0px;
}
#page-header-content h1 {
    color: #fff;
    font-size: 3em;
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 10px;

    order: 0;
}
body.homepage #page-header-content h1 { 
    max-width: 750px;
    font-size: 3em;
}


#page-header-content h1 span {
    opacity: 0;
    transform: translateY(20px);
    transition: all 300ms ease-out;
}
#page-header-content h1 span.visible {
    opacity: 1;
    transform: translateY(0px);
}
#page-header-content .panel {
    width: 45%;
    min-width: 400px;
    background: var(--background);
    padding: 50px;
    box-sizing: border-box;

    order: 1;

    border-radius: 10px;
    overflow: hidden;

    position: relative;

}
#page-header-content .panel:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 20px;
    background: var(--highlight);
}
#page-header .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #04616f 0%, #fff0 100%);
    z-index: 1;

    display: none;
}
#page-header .arrow-down {
    position: absolute;
    left: 50%;
    bottom: 0px;
    z-index: 5;
    width: 100px;
    height: 100px;
    background: var(--background);
    transform: translateX(-50%);
    overflow: hidden;
}
#page-header .arrow-down img {
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);

    animation-name: example;
    animation-duration: 2s;
    animation-iteration-count: infinite;   
}
@keyframes example {
  0%   {margin-top: -80px;}
  50%  {margin-top: 0px;}
  100%  {margin-top: 80px;}
}

#page-header:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url(/images/raster.png);
    z-index: 1;
    display: none;
}


#page-header .breadcrumbs {
    position: absolute;
    left: 50%;
    top: 20px;
    z-index: 5;
    width: 90%;
    max-width: 1400px;
    transform: translateX(-50%);
}
#page-header .breadcrumbs ul {
    display: flex;
    column-gap: 10px;
}
#page-header .breadcrumbs ul li {
    display: flex;
    color: var(--background);
    column-gap: 10px;
}
#page-header .breadcrumbs ul li a {
    color: var(--background);
    font-weight: bold;
    text-transform: uppercase;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#page-header .breadcrumbs ul li:after {
    content: ">";
}
#page-header .breadcrumbs ul li:last-of-type:after {
    display: none;
}

@media screen and (max-width: 1100px) {

    #page-header {
        height: 200px;
        min-height: 200px;
    }
    body.homepage #page-header {
        height: auto;
        min-height: auto;
    }
    #page-header video {
        height: auto;
    }
    body.homepage #page-header-content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 50px auto;
        margin-top: 25px;
        margin-bottom: 0;
    } 
    #page-header-content {
        flex-direction: column;

    }
    #page-header .image {
        height: 200px;
    }
    #page-header-content .panel {
        width: 100%;
        padding: 35px;
    }
    #page-header-content h1 {
        font-size: 1.5em;
    }
    body.homepage #page-header-content h1 { 
        font-size: 2em;
    }
    #page-header.newsarticle #page-header-content h1 {
        font-size: 1.3em;
    }

    #page-header-content .panel:after {
        height: 6px;
    }


    #page-header .arrow-down {
        width: 50px;
        height: 50px;
    }
    #page-header .arrow-down img {
        width: 30px;
        height: 30px;
    }
}



