/*--------------------------------------------------
  Sanford Design - Coming Soon
  Header Styles
--------------------------------------------------*/

/*----------
  Basics
----------*/
.page-header {
    background-color: #FFFFFF;
    color: #001E3D;
    position: fixed;
    top: 0;
    width: 100%;
    min-height: 40px;
    z-index: 20;
    box-shadow: 0px 3px 6px rgba(109, 110, 111, 0.65);
}

/*----------
  Upper
----------*/
.page-header > .upper {
    background-color: #194A89;
    color: #FFFFFF;
    padding: 4px 0;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
}

.page-header .upper .content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.page-header .upper .contact {
    text-align: right;
    -ms-flex-negative: 0;
        flex-shrink: 0;
}

.contact-item {
    display: inline-block;
    cursor: pointer;
    position: relative;
}

.contact-item .display {
    display: none;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    position: absolute;
    top: 0;
    right: 100%;
    white-space: nowrap;
    background-color: #194A89;
}

.contact-item i, .contact-item .display {
    padding: 0.5em;
}

@media screen and (min-width: 750px) {
    .contact-item i:hover ~.display {
        display: block;
    }
}

/*----------
  Lower
----------*/
.page-header > .lower > .wrap > .content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    background-color: #FFFFFF;
}

/*----------
  Logo
----------*/
.logo-container {
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-right: 1em;
}

.logo-image {
    width: 3em;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    padding: 0.2em;
}

.logo-name {
    font-size: 1.5em;
    color: #194A89;
}

@media screen and (max-width: 499px) {
    .logo-name {
        font-size: 1.2em;
    }
}

/*----------
  Menu
----------*/
.page-menu {
    position: relative;
    background-color: #FFFFFF;
    padding: 6px 0;
    font-size: 1.2em;
    color: #194A89;
}

.menu-item {
    padding: 4px 8px;
    display: inline-block;
    cursor: pointer;
    border: solid 2px transparent;
}

.menu-item:not(:last-child) {
    margin-right: 4px;
}

.menu-item:hover, .menu-item.active {
    border-color: #194A89;
}

.menu-toggle {
    cursor: pointer;
}

@media screen and (max-width: 979px) {
    .page-menu .menu-items {
        text-align: left;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        position: fixed;
        bottom: 100%;
        left: 0;
        width: 100%;
        padding-bottom: 20px;
        background-color: inherit;
        -webkit-transition: box-shadow 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out;
        transition: box-shadow 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out;
        transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
        transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out;
        z-index: -1;
    }

    .page-menu.open .menu-items {
        -webkit-transform: translateY(100%);
                transform: translateY(100%);
        box-shadow: 0px 8px 5px -4px rgba(109, 110, 111, 0.65);
    }

    .page-menu .menu-item {
        padding: 6px 12px;
        margin: 0;
        width: 100%;
        max-width: 200px;
    }

    .page-menu .menu-items .menu-item:first-child {
        margin-top: 1em;
    }
}

@media screen and (min-width: 980px) {
    .menu-items {
        padding-top: 0!important;
    }

    .menu-toggle {
        display: none;
    }
}
