﻿#ReskinnedHeader {
    padding: 0 50px;
    background-color: white;
    font-family: PTSansRegular,Arial,Helvetica,sans-serif;
    letter-spacing: 0px;
}



.first-row-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.hours {
    color: #b8d3ff;
    font-size: 18px;
    font-family: Roboto;
}

#OpenedMessage.active,
#ClosedMessage.active {
    display: block;
}

.hours-indicator-opened {
    color: greenyellow;
    font-size: 18px;
    font-family: Roboto;
    display: none;
}

.hours-indicator-closed {
    color: red;
    font-size: 18px;
    display: block;
    font-family: Roboto;
    display: none;
}

#emailuslink {
    color: pink;
    font-size: 12px;
}

    #emailuslink:hover,
    #emailuslink:focus,
    #emailuslink:active {
        color: lightcyan;
    }

.login-box {
    text-align: center;
}

    .login-box a {
        color: chartreuse;
        font-size: 18px;
        text-transform: uppercase;
        font-family: PT Sans;
    }

    .login-box .glyphicon {
        padding-right: 10px;
        margin-right: 3px;
        border-right: 1px solid chartreuse;
        padding-top: 3px;
        padding-bottom: 5px;
        box-sizing: border-box;
    }

.social-media-icons {
    text-align: center;
}






.second-row-desktop {
    display: block;
}

.flex-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0px;
    margin-top: 0;
}

    .flex-list > li {
        padding-left: 30px;
    }

.menu-link {
    color: #5AA1E3;
    height: 48px;
    position: relative;
}

    .menu-link:hover, .menu-link:focus, .menu-link:active {
        color: #db7f15;
        border-color: #db7f15;
    }

        .menu-link:hover:after {
            transform: scaleX(1);
        }

    .menu-link:after {
        content: " ";
        position: absolute;
        top: calc(50% + 1.15em);
        left: 0;
        width: 100%;
        border-top-style: solid;
        transform: scaleX(0);
        transition: transform .2s ease-in-out;
        color: #db7f15;
    }

.sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 149px;
    background-color: #10213d;
    position: absolute;
    visibility: hidden;
    opacity: 0;
    z-index: 1;
    transition: opacity .2s ease-in;
    line-height: 1.5;
    border-top: 3px solid #db7f15;
    box-shadow: 1px 1px 30px rgba(0,0,0,.06);
}

.has-sub-menu:hover {
    overflow: visible;
}

    .has-sub-menu:hover .sub-menu,
    .sub-menu:hover,
    .has-sub-menu:focus-within .sub-menu,
    .has-sub-menu .menu-link:hover + .sub-menu {
        visibility: visible;
        opacity: 1;
    }

.sub-menu li {
    float: none;
    transition: padding-right .3s ease;
    margin: 0;
    padding: 0;
    position: relative;
    cursor: pointer;
}

.sub-menu a {
    border-bottom: 1px solid #dcdadb;
    font-family: Roboto;
    font-weight: 400;
    padding-top: 7px;
    padding-bottom: 7px;
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 0px;
    font-style: normal;
    padding: 7px 20px;
    text-indent: 0;
    height: auto;
    transition: color .2s ease-in-out,background-color .2s ease-in-out,border-color .2s ease-in-out,height 0s,line-height 0s;
    display: block;
    box-sizing: content-box;
}

    .sub-menu a:hover {
        background-color: #002f66;
    }




.second-row-mobile {
    display: none;
}

.mobile-row-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-logo:hover {
    cursor: pointer;
}

#btnOpenMenu {
    background-color: transparent;
    color: #fff;
    border: 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: calc((20px) * .9);
    width: calc((20px) * 1.5);
    padding: 0 calc((45px)/ 2);
    z-index: 99999;
}

    #btnOpenMenu .white-bar {
        line-height: 1;
        background-color: #fff;
        width: calc((20px) * 1.5);
        height: calc((20px) * .1);
        transform: rotate(0);
        transition: .25s ease-in-out;
    }

        #btnOpenMenu .white-bar:first-child {
            transform-origin: left top;
        }

        #btnOpenMenu .white-bar:last-child {
            transform-origin: left bottom;
        }

    #btnOpenMenu.active .white-bar:last-child {
        transform: rotate(-45deg);
        width: calc((20px) * 1.2);
    }

    #btnOpenMenu.active .white-bar:nth-child(2) {
        width: 0;
        opacity: 0;
    }

    #btnOpenMenu.active .white-bar:first-child {
        transform: rotate(45deg);
        width: calc((20px) * 1.2);
    }

    #btnOpenMenu:hover,
    #btnOpenMenu:focus,
    #btnOpenMenu:active {
        outline: none;
        color: #ff9800;
    }

.mobile-logo {
    z-index: 99999;
}

#backDrop {
    position: fixed;
    top: -1000%;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    min-height: 700px;
    background-color: #10213d;
    z-index: 100;
    top: -1000%;
    transition: opacity .4s ease 0s,top 0s ease .4s;
}

    #backDrop.active {
        top: 0;
        opacity: 1;
        transition: opacity .4s ease 0s,top 0s ease 0s;
        height: 100%;
        display: flex;
    }

    #backDrop nav {
        width: 100%;
        margin-top: 42px;
    }

#MobileMenu {
    height: auto;
    color: #fff;
    width: 100%;
    text-align: center;
    padding: 25px 0;
    display: none;
    position: fixed;
    list-style: none;
}

    #MobileMenu.active {
        display: block;
        z-index: 150;
    }

    #MobileMenu li {
        padding: calc((28px)/ 2) 0;
        font-size: 18px;
        letter-spacing: 0px;
        line-height: 35px;
    }


@media(max-width: 800px) {
    .second-row-desktop {
        display: none;
    }

    .second-row-mobile {
        display: block;
    }

        .second-row-mobile.active {
            position: fixed;
            z-index: 200;
            width: calc(100% - 50px);
        }

    #ReskinnedHeader {
        padding: 0 25px;
    }

    .first-row-flex > div {
        width: 50%;
    }

    .login-box, .social-media-icons {
        text-align: right;
    }
}
