@charset "utf-8";
.fixed-nav-bar {
    position: fixed;
    top: 10rem;
    left: 0;
    right: 0;
    z-index: 999;
    width: 100%;
    height: 3rem;
    background-color: transparent;
}

.fixed-nav-bar * {
    box-sizing: border-box;
}

.fixed-nav-bar li, .fixed-nav-bar a {
    height: 2rem;
    line-height: 2rem;
}

/** menu **/

.menu {
    height: 3rem;
    position: absolute;
    left: 50%;
    margin-right: -50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    border-top: 0.5rem solid rgba(162,162,162,0.3);
    border-bottom: 0.5rem solid rgba(162,162,162,0.3);
}
.menu a {
    font-size: 0.825rem;
    text-transform: uppercase;
    text-decoration: none;
    color: #31708e;
}

.menu li {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    position: relative;
    display: inline-block;
    float: left;
}

.menu li:hover > .drop-down {
    visibility: visible;
    opacity: 1;
}

.menu li:hover > a {
    color: white;
}

/**drop-down menu**/

.drop-down {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 2.5rem;
    left: 0;
    width: 200%;
    background: rgba(255,255,255,.25);
    -webkit-box-shadow: 0 10px 6px -6px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 10px 6px -6px rgba(0, 0, 0, 0.5);
    box-shadow: 0 10px 6px -6px rgba(0, 0, 0, 0.5);
    -webkit-transition-property: visibility, background;
    -webkit-transition-duration: 1s;
    -webkit-transition-timing-function: linear;
    -webkit-transition-delay: 0s;
    transition-property: opacity, visibility, background;
    transition-duration: 1s;
    transition-timing-function: linear;
    transition-delay: 0s;
}

.drop-down li {
    padding-left: 0;
    padding-right: 0;
    display: block;
    text-align: center;
    float: none;
}
.drop-down li:last-child {
    border-bottom: none;
}

/**aside-drop-down menu**/

.drop-down li:hover > .aside-drop-down {
    visibility: visible;
    opacity: 1;
}

.aside-drop-down {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 0em;
    left: 100%;
    width: 100%;
    background: rgba(255,255,255,.25);
    -webkit-box-shadow: 0 10px 6px -6px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 10px 6px -6px rgba(0, 0, 0, 0.5);
    box-shadow: 0 10px 6px -6px rgba(0, 0, 0, 0.5);
    -webkit-transition-property: visibility, background;
    -webkit-transition-duration: 1s;
    -webkit-transition-timing-function: linear;
    -webkit-transition-delay: 0s;
    transition-property: opacity, visibility, background;
    transition-duration: 1s;
    transition-timing-function: linear;
    transition-delay: 0s;
}

.hvr-bounce-to-bottom {
    background: #ffffff;
}

.hvr-bounce-to-bottom:before {
    background: #31708e;
}

.hvr-bounce-to-bottom:hover, .hvr-bounce-to-bottom:focus, .hvr-bounce-to-bottom:active {
    color: #31708e;
}

.effect1{
    -webkit-box-shadow: 0 10px 6px -6px rgba(0, 0, 0,.15);
    -moz-box-shadow: 0 10px 6px -6px rgba(0, 0, 0,.15);
    box-shadow: 0 10px 6px -6px rgba(0, 0, 0,.15);
}

/*************************************************************/
.mobile-menu-icon {
    color: #31708e;
    padding-top: 0.25rem;
    padding-left: 1rem;
    display: none;
    cursor: pointer;
    width: 2.5rem;
}

.mobile-menu {
    position: absolute;
    top:3rem;
    left:1rem;
    width: 91%;
    z-index: 9999;
}

.mobile-menu a {
    text-align: center;
    font-size: 0.825rem;
    text-transform: uppercase;
    text-decoration: none;
    color: #31708e;
}

.mobile-menu li {
    background: #ffffff;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    position: relative;
    width: 100%;
    display: inline-block;
}
.mobile-menu .main {
    text-transform: uppercase;
    font-weight: bold;
}

.mobile-menu .main {
    text-indent: 1rem;
    padding-left: 1rem;
}

.mobile-menu .sub {
    text-indent: 2rem;
    padding-left: 2rem;
}

.mobile-menu .subsub {
    text-indent: 4rem;
    padding-left: 4rem;
}

/**********************************************************************************************************************/
@media screen and (min-width: 960px) {

    .menu {
        display: block;
    }

    .flowed-nav-bar {
        display: block;
    }

    .mobile-menu {
        visibility: hidden;
        opacity: 0;
    }

    .mobile-flowed-nav-bar {
        display: none;
    }

}

@media screen and (max-width: 959px) {

    .fixed-nav-bar {
        position: fixed;
        top: 0rem;
        height: 3rem;
        -webkit-transition-property: none;
        transition-property: none;
        background: transparent;
    }
    .menu {
        display: none;
    }

    .mobile-menu{
        visibility: hidden;
        opacity: 0;
    }

    .mobile-menu a {
        text-align: left;
    }

    .mobile-menu-icon {
        display: block;
    }

    .mobile-menu-icon {
       font-size: 1.25rem;
    }

    .mobile-menu-icon:hover + .mobile-menu, .mobile-menu:hover {
        visibility: visible;
        opacity: 1;
    }

}