/*
 * Slide out navigation
 */
.navigation {
    list-style: none
    }
.main-navigation li {
    margin-bottom: 14px
    }
.main-navigation li:last-child {
    margin-bottom: 0
    }
#site-navigation {
    border: none;
    padding-bottom: 0
    }
#site-navigation ul.primary-menu {
    padding-bottom: 20px;
    border-bottom: 2px solid #333
    }
.old-nav #site-navigation h4 {
    padding-top: 10px
    }
#site-navigation-toggle {
    float: right;
    font-size: 1.875em;
    color: #fff
    }
.site-nav {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    outline: 0;
    background-color: #f9f9f9;
    max-width: 330px;
    z-index: 100;
    box-sizing: border-box;
    font-family: "Roboto Slab", Helvetica, Arial, sans-serif
    }
.site-nav div {
    box-sizing: border-box
    }
.site-nav--scrollable-container {
    display: none;
    overflow: auto;
    padding: 30px;
    width: 330px;
    -webkit-overflow-scrolling: touch;
    height: 100%;
    position: relative
    }
.site-nav-transition .site-nav--scrollable-container {
    display: block
    }
.site-nav__section {
    border-bottom: 2px solid #333;
    position: relative;
    padding: 10px 0
    }
.site-nav__section:last-of-type {
    border: none;
    padding-bottom: 0
    }
.site-nav__section li {
    margin-bottom: 14px
    }
.site-nav a {
    color: #333;
    display: inline;
    font-family: inherit;
    font-size: 16px;
    font-weight: bold;
    float: none;
    margin: 0
    }
.site-nav a:hover {
    color: #000
    }
.site-nav .widgettitle {
    font-size: 18px;
    margin-bottom: 24px;
    font-weight: bold;
    font-family: Montserrat;
    text-transform: uppercase
    }
.site-nav .close-nav {
    position: absolute;
    top: 35px;
    right: 30px;
    font-size: 30px;
    cursor: pointer;
    z-index: 50
    }
.site-nav .sub-menu {
    margin-top: 10px;
    margin-left: 20px
    }
.site-nav-overlay {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 600
    }
.site-nav-drawer-open .site-nav-overlay, .site-nav:focus ~ .site-nav-overlay {
    display: block;
    right: 330px;
    z-index: 900
    }
.site-nav-transition #home-container, .site-nav-transition #container {
    left: 0;
    position: fixed;
    overflow: hidden;
    width: 100%;
    height: 100%;
    z-index: 800
    }
/* Animation of slide out menu */
.site-nav-drawer-open #home-container, .site-nav-drawer-open #container {
    -moz-transform: translate(-330px, 0, 0);
    -ms-transform: translate(-330px, 0, 0);
    -webkit-transform: translate(-330px, 0, 0);
    transform: translate(-330px, 0, 0);
    -moz-transform: translate3d(-330px, 0, 0);
    -ms-transform: translate3d(-330px, 0, 0);
    -webkit-transform: translate3d(-330px, 0, 0);
    transform: translate3d(-330px, 0, 0)
    }
#home-container, #container {
    -moz-transition: -moz-transform 200ms cubic-bezier(0.2, 0.3, 0.25, 0.9);
    -o-transition: -o-transform 200ms cubic-bezier(0.2, 0.3, 0.25, 0.9);
    -webkit-transition: -webkit-transform 200ms cubic-bezier(0.2, 0.3, 0.25, 0.9);
    transition: transform 200ms cubic-bezier(0.2, 0.3, 0.25, 0.9)
    }
#head {
    background: #191919;
    font-size: 16px
    }
/* Hacks for making work on old pages. */
.old-nav .site-nav {
    z-index: 10000001
    }
#top-nav a {
    font-weight: normal;
    text-decoration: none
    }
#top-nav .h4, #top-nav a i {
    line-height: 55px
    }
#top-nav .h4 {
    margin-right: 15px;
    color: #fff
    }
#logo-header {
    font-family: Montserrat, "Lucida Grande", Arial, sans-serif
    }
#menu-logo {
    width: 55px;
    height: 55px;
    float: left;
    margin-right: 10px
    }
#menu-logo img {
    width: 55px;
    height: 55px
    }
#search-box {
    width: 140px;
    margin: 0;
    float: left;
    margin-top: 13px;
    position: relative
    }
#search-box label {
    width: 20px;
    padding: 0;
    position: absolute;
    left: 8px;
    top: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
    font-size: 16px;
    color: #fff
    }
#searchtext {
    color: #ddd;
    font-size: 15px;
    width: 110px;
    border: 0;
    padding: 0;
    padding-left: 26px;
    border: 2px solid #444;
    border-radius: 15px;
    line-height: 24px;
    background: transparent
    }
#searchtext:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6)
    }
#nav-right-box {
    display: inline-block;
    float: right;
    margin-right: 30px
    }
#admin-indicator {
    display: none
    }
.adm #admin-indicator {
    display: block;
    position: absolute;
    top: 0;
    width: 55px;
    text-align: center;
    color: gold
    }
.narrow-menu {
    display: none
    }
/* Footer */
#footer-wrapper {
    position: relative
    }
#footer .footerlogo {
    padding: 0 20px 0 0;
    height: 19px
    }
#footer .footerlogo a {
    display: block;
    float: right;
    width: 98px;
    height: 19px;
    text-indent: -99999px;
    line-height: 0;
    font-size: 0;
    background: url(/images/footerLogo.gif) no-repeat
    }
#bottomnav ul {
    margin-left: 20px
    }
#footer .footerinfo {
    padding: 0 20px 0 0
    }
#footer .footerinfo p {
    text-align: right;
    padding-bottom: 30px;
    font-size: 85%;
    line-height: 1.2em;
    color: #999
    }
/* Menu bar media queries */
@media screen and (max-width: 1115px) {
    #head {
        width: 100%
        }
    .wide-menu {
        display: none
        }
    .medium-menu {
        width: 315px;
        margin: 0 auto
        }
    }
@media screen and (max-width: 645px) {
    #search-box {
        display: none
        }
    .medium-menu {
        display: none
        }
    .narrow-menu {
        display: inline
        }
    }