body {
    margin: 0;
}

.clearfix {
    clear: both;
}

nav {
   /* font-family: Helvetica;*/
    text-align: right;
    text-transform: uppercase;  
   background: #3367d6;
   margin-top: 8px;
    font-family: 'Calibri',Candara,Segoe,"Segoe UI",Optima,Arial,sans-serif,'Calibri',Candara,Segoe,"Segoe UI",Optima,Arial,sans-serif;
}

nav ul {
    width: 100%;
    max-width: 1012px;
    margin: 0 auto;
    list-style-type: none;
    text-align: left;
}

nav ul li {
    display: inline-block;
    position: relative;
    border-right: 1px solid #ddd;
    font-size: 18px;
}

nav ul li a {
    color: #efe9e9;;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    padding: 13px 25px;
    box-sizing: border-box;
    font-size:16px;
}

nav ul li a:hover {
    color: #f9691c;
}

nav ul li:hover ul{display: block;}
nav ul li ul{position: absolute;display: none; top:46px;border-top: 2px solid #fff;opacity: 0.9; z-index: 999;width: 254px; background:#5c5c5c; left: -58px;overflow: hidden;padding-left: 0;}
nav ul li ul li{background:#3367d6;text-align: center; font-size: 14px;line-height:30px;margin-top: 1px;border-bottom: 1px solid #fff;border-right: 0px;float: none;width: 100%;}
nav ul li ul li a{font-size: 18px;padding: 0 20px;}

.current_page {
    background-color: black;
}
.current_page a {
    color: white;
}

#menu_button_wrapper{
    display: none;
}

.hidden {
    display: none;
}

/* Responsive for smaller screens */

@media (max-width: 760px) {
    #menu_button_wrapper{
        display: block;
        padding: 5px;
          overflow: hidden;
        color: #9d9d9d;
        border-bottom: 1px solid #ffffff;
        -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.1);
        box-shadow: 0 1px 0 rgba(255,255,255,.1);
        /*margin-bottom: .5em;*/
    }
    
    #menu_button {
        box-sizing: border-box;
        float: right;
        padding: .2em 0.2em;
        border: 1px solid #d6d6d6;
        border-radius: 5px;
        color: white;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        font-size:14px;
    }
    
    #menu_button:hover {
        cursor: pointer;
        background-color: #333;
    }
    
    #hamburger {
        float: right;
        padding-top: .15em;
    }
    
    #menu_button span{
        display: block;
        background-color: #fff;
        width: 1.2em;
        height: .15em;
        border-radius: 1px;
        margin-bottom: .2em;
    }
    
    nav ul {
        width: 100%;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
    }

    nav ul li {
        display: block;
    }
    
    nav ul li a {
        width: 100%;
    }
     nav ul li ul{width: 100%;left: 0;}

}