﻿#cssmenu,
#cssmenu ul,
#cssmenu li,
#cssmenu a {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    font-weight: 400;
    text-decoration: none;
    font-size: 24px;
    position: relative;
    text-transform: uppercase;
    word-spacing: 2px;
    z-index: 18;
}

    #cssmenu a {
        line-height: 30px;
    }

@media all and (min-width: 768px) {
    #cssmenu a {
        padding: 0 10px;
    }

    .vcenter {
        display: inline-block;
        vertical-align: middle;
        float: none;
    }
}

#cssmenu {
    width: 100%;
    background-color: #252525;
    height: 30px;
}

    #cssmenu > ul {
        border: 1px solid #000000;
        -moz-box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.2);
        -webkit-box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.2);
        box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.2);
        background-color: #292828;
    }

        #cssmenu > ul:after {
            clear: both;
            content: '';
            display: table;
        }

@media all and (max-width: 767.5px) {
    .nomarg {
        /*margin-left: -15px;*/
        /*margin-right: -15px;*/
    }

    main {
        margin-top: 50px;
    }

    header img {
        margin: 0 auto;
    }

    #cssmenu {
        margin-bottom: 20px;
    }

        #cssmenu > ul {
            max-height: 43px;
            overflow: hidden;
            -webkit-transition: max-height 0.5s;
            transition: max-height 0.5s;
        }

        #cssmenu.expand ul {
            max-height: 900px;
        }
}

#cssmenu > ul > li {
    border-right: 1px solid #000000;
    -moz-box-shadow: 1px 0 0 rgba(255, 255, 255, 0.2);
    -webkit-box-shadow: 1px 0 0 rgba(255, 255, 255, 0.2);
    box-shadow: 1px 0 0 rgba(255, 255, 255, 0.2);
    float: left;
}

    #cssmenu > ul > li.mobile {
        display: none;
        border-right: 0 none;
        -moz-box-shadow: 0 0 0 transparent;
        -webkit-box-shadow: 0 0 0 transparent;
        box-shadow: 0 0 0 transparent;
    }

    #cssmenu > ul > li.active {
        background-color: #222121;
        border-bottom: none;
    }

@media all and (max-width: 768px) {
    #cssmenu > ul > li {
        border-right: 0 none;
        -moz-box-shadow: 0 0 0 transparent;
        -webkit-box-shadow: 0 0 0 transparent;
        box-shadow: 0 0 0 transparent;
        display: block;
        float: none;
    }

        #cssmenu > ul > li.mobile {
            display: block;
        }
}

#cssmenu > ul > li:last-child {
    border-right: 0 none;
    -moz-box-shadow: 0 0 0 transparent;
    -webkit-box-shadow: 0 0 0 transparent;
    box-shadow: 0 0 0 transparent;
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
}

    #cssmenu > ul > li:last-child ul {
        left: auto;
        right: 0;
    }

#cssmenu > ul > li > a {
    margin: 0 0 2px 0;
    font-size: 12px;
    display: block;
    color: #FFF;
    text-shadow: 0 1px 1px #000;
}

    #cssmenu > ul > li > a:after {
        content: ' ';
        position: absolute;
        border: 5px solid transparent;
        border-top: 0 solid transparent;
        border-width: 5px;
        left: 50%;
        top: 75%;
        margin-left: -5px;
        border-color: #FFF transparent transparent transparent;
    }

@media all and (max-width: 768px) {
    #cssmenu > ul > li > a:after {
        content: ' ';
        position: absolute;
        border: 5px solid transparent;
        border-top: 0 solid transparent;
        border-width: 5px;
        left: 85%;
        top: 50%;
        border-color: #FFF transparent transparent transparent;
    }
}

#cssmenu ul > li > a:only-child:after {
    margin-right: 0;
    content: "";
    border: 0;
}

#cssmenu > ul > li > a > span {
    display: block;
    padding: 6px 10px;
    font-weight: bold;
}

#cssmenu > ul > li > a:hover {
    text-decoration: none;
    color: #4e7386;
}

#cssmenu > ul > li.active > a {
    color: #FFF;
    text-shadow: 0 1px 1px #000;
}

#cssmenu ul ul {
    background-color: #222121;
    border: 1px solid #4e4e4e;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
    display: none;
    position: absolute;
    top: 45px;
    left: 0;
    width: 200px;
    z-index: 11;
}

    #cssmenu ul ul a {
        padding: 0 12px;
        color: #FFF;
        display: block;
        font-size: 12px;
        font-weight: bold;
    }

#cssmenu ul li ul li:hover {
    background-color: #292828;
    color: #4e7386;
}

@media all and (max-width: 768px) {
    #cssmenu ul ul {
        position: relative;
        top: 0;
        width: 100%;
    }

        #cssmenu ul ul a {
            padding: 5px 22px;
        }

    #cssmenu ul li ul li:hover {
        background-color: #292828;
        color: #4e7386;
    }

    #cssmenu #menu-button {
        display: block;
        text-decoration: none;
        font-size: 13px;
        font-weight: 700;
        color: #FFF;
        padding-left: 20px;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
    }

        #cssmenu #menu-button::after {
            display: block;
            content: '';
            position: absolute;
            height: 7px;
            width: 22px;
            border-top: 2px solid #FFF;
            border-bottom: 2px solid #FFF;
            right: 25px;
            top: 14px;
        }

        #cssmenu #menu-button::before {
            display: block;
            content: '';
            position: absolute;
            height: 3px;
            width: 22px;
            border-top: 2px solid #FFF;
            right: 25px;
            top: 24px;
        }
}

#cssmenu ul ul li {
    padding: 3px 0;
}

#cssmenu ul ul a:hover {
    /*color: #FFF;*/
    color: #4e7386;
}

#cssmenu ul li:not(#searchLi):hover {
    background-color: #222121;
    color: #4e7386;
}

/**********************\
|***   SEARCH BOX   ***|
\**********************/

/* Search icon by IcoMoon, made with http://icomoon.io/app/ */
@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon/icomoon.eot');
    src: url('../fonts/icomoon/icomoon.eot?#iefix') format('embedded-opentype'), url('../fonts/icomoon/icomoon.woff') format('woff'), url('../fonts/icomoon/icomoon.ttf') format('truetype'), url('../fonts/icomoon/icomoon.svg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

.sb-search {
    position: relative;
    margin: 2px 2px 0;
    width: 0%;
    min-width: 58px;
    height: 40px;
    line-height: 40px;
    float: left;
    overflow: hidden;
    -webkit-transition: width 0.3s;
    -moz-transition: width 0.3s;
    transition: width 0.3s;
    -webkit-backface-visibility: hidden;
}

.sb-search-input {
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    outline: none;
    background: #000;
    width: 98%;
    height: 40px;
    margin: 0;
    z-index: 110;
    padding: 2px 2px 2px 65px;
    font-family: inherit;
    font-size: 16px;
    color: #FFF;
}

.sb-icon-search,
.sb-search-submit {
    width: 60px;
    height: 40px;
    line-height: 40px;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    padding: 0;
    margin: 0;
    text-align: center;
    cursor: pointer;
}

.sb-search-submit {
    background: #292828; /* IE needs this */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; /* IE 8 */
    filter: alpha(opacity=0); /* IE 5-7 */
    opacity: 0;
    color: transparent;
    border: none;
    outline: none;
    z-index: -1;
}

.sb-icon-search {
    color: #fff;
    background: #292828;
    z-index: 190;
    font-size: 16px;
    font-family: 'icomoon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
}

    .sb-icon-search:before {
        content: "\e000";
    }

/* Open state */
.sb-search.sb-search-open,
.no-js .sb-search {
    width: 100%;
}

    .sb-search.sb-search-open .sb-icon-search,
    .no-js .sb-search .sb-icon-search {
        background: #222121;
        color: #FFF;
        z-index: 111;
    }

    .sb-search.sb-search-open .sb-search-submit,
    .no-js .sb-search .sb-search-submit {
        z-index: 190;
    }
