﻿/*#region menu open/close */
    .nav-icon {
        font-size: 1.5rem;
        margin-left: .65rem !important;
    }

    .nav-icon:first-of-type {
        margin-left: 2rem !important;
    }
    #topMobileNav {
        padding: .75em 1em;
        border-bottom: 1px solid #B65434;
        height: 75px;
        display: none
    }

    #mobileOpenClose {
        display: none
    }

    #nav-icon span {
        display: block
    }

    #nav-icon {
        width: 1.875rem;
        height: 1.875rem;
        position: fixed;
        top: 1.75rem;
        right: 1.5rem;
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer;
        z-index: 1000
    }

    #nav-icon span {
        position: absolute;
        height: 4px;
        width: 100%;
        background: #2CB4B9;
        border-radius: 4px;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out
    }

    #nav-icon span:nth-child(1) {
        top: 0
    }

    #nav-icon span:nth-child(2) {
        top: .625rem
    }

    #nav-icon span:nth-child(3) {
        top: 1.25rem
    }

    #nav-icon.open span:nth-child(1) {
        top: .625rem;
        background: #FFF;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        -o-transform: rotate(135deg);
        transform: rotate(135deg)
    }

    #nav-icon.open span:nth-child(2) {
        opacity: 0;
        left: -45px
    }

    #nav-icon.open span:nth-child(3) {
        top: .625rem;
        background: #FFF;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        -o-transform: rotate(-135deg);
        transform: rotate(-135deg)
    }

    #theMobileNavigation {
        background-color: rgba(0,0,0,.95);
        height: 150%;
        width: 0;
        position: fixed;
        top: 0;
        right: 0;
        overflow-x: hidden;
        transition: .3s;
        z-index: 900;
        padding-top: 2em;
        border-left: 0px solid #fff;
    }

    #theMobileNavigation a {
        color: #fff;
    }
        

    #theMobileNavigation a:hover, #theMobileNavigation a:focus, #theMobileNavigation a:active, #theMobileNavigation ul li a:hover {
        color: #2CB4B9;
    }

    #theMobileNavigation.open {
        width: 0
    }

    #theMobileNavigation ul {
        list-style-type: none;
        padding-top: 3.5rem
    }

    #theMobileNavigation ul li {
        text-align: left;
        padding: .5rem .5rem .5rem 2rem;
        border-bottom: 1px solid #777
    }

    #theMobileNavigation ul li a {
        font-size: 1.3rem;
        color: #FFF;
        text-decoration: none;
    }

    
/*#endregion*/

/*#region menu*/
#breakTitle {
    display:none;
}
#fullTitle {
    display:block;
}
#nav-outer {
    background: #FFF;
    width: 100%;
    height: 90px;
    color: #575757;
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 3px 26px rgba(0,0,0,.16);
    padding: 1.375rem 2.9375rem;
    z-index: 100;
}
#fixed-spacer {
    width: 100%;
    height: 90px;
    position:relative;
    z-index:-1
}
#nav-container {
    width:100%
}
#nav-logo, #nav-logo a {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #575757;
    white-space: nowrap;
}
#nav-navigation {
    text-align: right;
    padding-top: .6rem;
}
#nav-navigation ul {
    display:inline-block;
    margin-left:0;
    width:100%;
}
#nav-navigation ul li {
    display: inline-block;
    margin-left:2rem;
    font-size:1.375rem;
}
#nav-navigation ul li a {
    color: #575757;
    font-family: 'Roboto Condensed', sans-serif;
}
#nav-navigation ul li a:hover, #nav-navigation ul li a:active, #nav-navigation ul li a:focus {
    color: #E54F1D;
}
/*#endregion*/

/*#region media breaks*/
@media(max-width:1700px) {    
    #nav-icon {
        right: 2rem;        
    }    
}
@media(max-width:1515px) {
    #nav-logo, #nav-logo a {
        font-size: 1.75rem;
        white-space: normal;
        text-align: center;
        top: -.5rem;
        position: relative;
    }
    #nav-navigation ul li {       
        margin-left: 1.75rem;
        font-size:1.25rem;
    }
    #nav-navigation {
        padding-top: .55rem;
        white-space:nowrap;
    }
    #fullTitle {
        width:400px;
        text-align:center;
        margin:0 auto;
    }
}

/*let's go mobile*/
@media(max-width:1320px) {
    #nav-navigation {
        display: none;
    }
    #theMobileNavigation.open {
        width: 300px;
        border-left: 1px solid #fff;
        max-width: 100%;
    }

    #topMobileNav {
        display: block;
        position: fixed;
        width: 100%;
        z-index: 250;
        background: rgba(255,255,255,.98)
    }

    #mobileOpenClose {
        display: block
    }
    #nav-outer {
        padding: 1.375rem 2rem;
    }
    #fullTitle {
        width: 100%;
        text-align: left;
    }

    #nav-logo, #nav-logo a {   
        text-align: left;
        top: 0;
        width: 100%;
        padding-right:3rem;
    }
}

@media(max-width:1160px) {
    #nav-navigation li {
        line-height: 3.2rem;
        font-size: 18px;
    }
    #nav-icon-container i {
        font-size: 1.8rem;
    }
    #nav-navigation li a {
        padding-left: 1.5rem;
    }    
}
@media (max-width:756px) {
    #nav-logo {
        width:475px;
    }
    #nav-logo, #nav-logo a {
        top: -.3rem;
        line-height: 1.25;
    }
    #breakTitle {
        display: block;
    }

    #fullTitle {
        display: none;
    }
}
@media (max-width:480px) {
    #nav-logo {        
        width: 375px;
    }

    #nav-logo a {
        font-size:1.3rem;
        top: -.15rem;
    }
    
}
/*#endregion*/