@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);

* {
    margin: 0;
    padding: 0;
    text-decoration: none
}

#navcontain {
    text-align: center;
    padding: 0 0 0 0;
    margin: 0 auto;
    position: relative;
    max-width: 100%;
    background: url(../siteart/NAV-background-OFF.png) repeat-x;
    z-index: 900;
}


#cssmenutwo,
#cssmenutwo ul,
#cssmenutwo ul li,
#cssmenutwo ul li a,
#cssmenutwo #head-mobile {
    border: 0;
    list-style: none;
    line-height: 1;
    display: block;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

#cssmenutwo:after,
#cssmenutwo>ul:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0
}

#cssmenutwo #head-mobile {
    display: none
}

#cssmenutwo {
    max-width: 1060px;
    margin: 0 auto;
}

#cssmenutwo>ul {
    margin: 0 0 0 195px;
}

#cssmenutwo>ul>li {
    display: block;
    position: relative;
    float: left;
    text-align: center;
}

#cssmenutwo>ul>li:first-child {
    border-left: none;
}

#cssmenutwo>ul>li>a {
    display: block;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    transition: background .2s ease-in-out;
    -moz-transition: background .2s ease-in-out;
    -webkit-transition: background .2s ease-in-out;
    padding: 8px 14px;
    text-transform: uppercase;
}

#cssmenutwo>ul>li:hover>a,
#cssmenutwo>ul>li:focus>a,
#cssmenutwo ul li.active a {
    color: #fff;
}

#cssmenutwo>ul>li:hover,
#cssmenutwo ul li.active:hover,
#cssmenutwo ul li.active,
#cssmenutwo ul li.has-sub.active:hover {
    height: 1%;
    color: #fff;
    background: url(../siteart/NAV-background-ON.png);
    text-decoration: none;
}

#cssmenutwo>ul>li:focus,
#cssmenutwo ul li.active:focus,
#cssmenutwo ul li.active,
#cssmenutwo ul li.has-sub.active:focus {
    -webkit-transition: background .3s ease;
    -ms-transition: background .3s ease;
    transition: background .3s ease;
}

#cssmenutwo>ul>li:first-child:hover,
#cssmenutwo ul li.active:hover,
#cssmenutwo ul li.active,
#cssmenutwo ul li.has-sub.active:hover {}

#cssmenutwo>ul>li.has-sub:focus>a:before {
    top: 23px;
    height: 0
}


#cssmenutwo ul ul {
    position: absolute;
    left: -9999px
}

#cssmenutwo ul ul li {
    height: 0;
    -webkit-transition: all .25s ease;
    -ms-transition: all .25s ease;
    background: #2a2a2a;
    transition: all .25s ease
}

#cssmenutwo ul ul li:hover {
    background: #2835a4;
    color: #fff;
}

#cssmenutwo li:hover>ul {
    left: auto
}

#cssmenutwo li:hover>ul>li {
    height: 100%
}

#cssmenutwo ul ul ul {
    margin-left: 100%;
    top: 0
}

#cssmenutwo ul ul li a {
    width: 200px;
    padding: 13px 0 6px 30px;
    text-align: left;
    color: #fff;
    border-bottom: #666666 1px solid;
    text-decoration: none;
    z-index: 999;
}

#cssmenutwo ul ul li:last-child>a,
#cssmenutwo ul ul li.last-item>a {
    border-bottom: 0
}

#cssmenutwo ul ul li:hover>a,
#cssmenutwo ul ul li a:hover {
    color: #fff;
    padding: 13px 0 6px 40px;
}

#cssmenutwo ul ul li.has-sub>a:after {
    position: absolute;
    top: 16px;
    right: 11px;
    width: 8px;
    height: 2px;
    display: block;
    background: #ddd;
    content: ''
}

#cssmenutwo ul ul li.has-sub>a:before {
    position: absolute;
    top: 13px;
    right: 14px;
    display: block;
    width: 2px;
    height: 8px;
    background: #ddd;
    content: '';
    -webkit-transition: all .25s ease;
    -ms-transition: all .25s ease;
    transition: all .25s ease
}

#cssmenutwo ul ul>li.has-sub:hover>a:before {
    top: 17px;
    height: 0
}

#cssmenutwo ul ul li.has-sub:hover,
#cssmenutwo ul li.has-sub ul li.has-sub ul li:hover {
    background: #b10303;
    color: #fff;
}

#cssmenutwo ul ul ul li.active a {
    border-left: 1px solid #333
}

#cssmenutwo>ul>li.has-sub>ul>li.active>a,
#cssmenutwo>ul ul>li.has-sub>ul>li.active>a {
    border-top: 1px solid #333
}

@media screen and (max-width:1024px) {
    #cssmenutwo>ul>li>a {}

}

@media screen and (max-width:1100px) {
    #cssmenutwo>ul>li>a {
        font-size: 13px;
        padding: 8px 10px !important;
    }
}

@media screen and (max-width:860px) {
    #cssmenutwo>ul>li>a {
        padding: 8px 19px;
    }

}

@media screen and (max-width:925px) {
    nav {
        width: 100%;
        margin-left: 0px;
    }

    #cssmenutwo {
        width: 100%;
        margin-left: 0px;
    }

    #cssmenutwo ul {
        width: 100%;
        display: none;
    }

    #cssmenutwo>ul {
        margin: 0 0 0 0;
    }

    #cssmenutwo ul li {
        width: 100%;
        background: #2835a4;
        border-top: 1px solid #363636;
        margin: 0;
        padding: 9px 0 9px 20px;
        border-left: none;
    }

    #cssmenutwo ul li:hover {
        background: #1b1f6f;
    }

    #cssmenutwo ul ul li,
    #cssmenutwo li:hover>ul>li {
        height: auto;
    }

    #cssmenutwo ul li a,
    #cssmenutwo ul ul li a {
        width: 100%;
        border-bottom: 0;
    }

    #cssmenutwo>ul>li {
        float: none;
    }

    #cssmenutwo ul ul li a {
        padding: 0 !important;
    }

    #cssmenutwo ul ul ul li a {}

    #cssmenutwo ul ul li a {
        color: #fff;
        font-weight: bold;
        font-size: 14px;
    }

    #cssmenutwo ul ul li:hover>a,
    #cssmenutwo ul ul li.active>a {
        color: #fff;
        font-weight: bold;
        background: #red;
    }

    #cssmenutwo ul ul,
    #cssmenutwo ul ul ul {
        position: relative;
        left: 0;
        width: 100%;
        margin: 0;
        text-align: left;
    }

    #cssmenutwo>ul>li.has-sub>a:after,
    #cssmenutwo>ul>li.has-sub>a:before,
    #cssmenutwo ul ul>li.has-sub>a:after,
    #cssmenutwo ul ul>li.has-sub>a:before {
        display: none;
    }

    #cssmenutwo #head-mobile {
        display: block;
        padding: 18px;
        color: #ddd;
        font-size: 12px;
        font-weight: 700;
    }

    .buttonstuff {
        width: 55px;
        height: 40px;
        position: absolute;
        top: -3px;
        right: 0;
        cursor: pointer;
        z-index: 12399994;
    }

    .invpage #cssmenutwo .buttonstuff {
        top: -10px;
    }

    .buttonstuff:after {
        position: absolute;
        top: 22px;
        right: 20px;
        display: block;
        height: 4px;
        width: 20px;
        border-top: 2px solid #dddddd;
        border-bottom: 2px solid #dddddd;
        content: '';
    }

    .buttonstuff:before {
        -webkit-transition: all .3s ease;
        -ms-transition: all .3s ease;
        transition: all .3s ease;
        position: absolute;
        top: 16px;
        right: 20px;
        display: block;
        height: 2px;
        width: 20px;
        background: #ddd;
        content: '';
    }

    .button.menu-opened:after {
        -webkit-transition: all .3s ease;
        -ms-transition: all .3s ease;
        transition: all .3s ease;
        top: 23px;
        border: 0;
        height: 2px;
        width: 19px;
        background: #fff;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .button.menu-opened:before {
        top: 23px;
        background: #fff;
        width: 19px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    #cssmenutwo .submenu-button {
        position: absolute;
        z-index: 99;
        right: 0;
        top: 0;
        display: block;
        height: 27px;
        width: 46px;
        cursor: pointer;
        border-left: #000 solid 1px;
        border-bottom: #000 solid 1px;
    }

    #cssmenutwo .submenu-button.submenu-opened {
        background: #e6ecf5;
        border-left: #000 solid 1px;
        border-bottom: #000 solid 1px;
    }

    #cssmenutwo ul ul .submenu-button {
        height: 34px;
        width: 34px;
    }

    #cssmenutwo .submenu-button:after {
        position: absolute;
        top: 13px;
        right: 19px;
        width: 8px;
        height: 2px;
        display: block;
        background: #ddd;
        content: '';
    }

    #cssmenutwo ul ul .submenu-button:after {
        top: 13px;
        right: 13px;
    }

    #cssmenutwo .submenu-button.submenu-opened:after {
        background: #000;
    }

    #cssmenutwo .submenu-button:before {
        position: absolute;
        top: 10px;
        right: 22px;
        display: block;
        width: 2px;
        height: 8px;
        content: '';
    }

    #cssmenutwo ul ul .submenu-button:before {
        top: 10px;
        right: 16px;
    }

    #cssmenutwo .submenu-button.submenu-opened:before {
        display: none;
    }

    #cssmenutwo ul ul ul li.active a {
        border-left: none;
    }

    #cssmenutwo>ul>li.has-sub>ul>li.active>a,
    #cssmenutwo>ul ul>li.has-sub>ul>li.active>a {
        border-top: none;
    }
}