@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);

* {
    margin: 0;
    padding: 0;
    text-decoration: none
}

#navcontain {
    right: 0;
    padding: 0 0 0 0;
    text-align: right;
    width: 100%;
    max-width: 1500px;
    background: url(../siteart/navbg.png) no-repeat;
    height: 90px;
    z-index: 999;
    margin-top: 150px;
    background-size: cover;
}

.nav {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 0 0 0;
}

#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #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
}

#cssmenu:after,
#cssmenu>ul:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0
}

#cssmenu #head-mobile {
    display: none
}

#cssmenu {
    width: 100%;

    max-width: 90%;
}

#cssmenu>ul {
    margin: 0 0 0 0;
}

#cssmenu>ul>li {
    display: inline-block;
    /*     float: left; */
    position: relative;
    padding: 10px;
}

#cssmenu>ul>li:first-child {
    border-left: none;
}

#cssmenu>ul>li.has-sub {
    padding: 0;
}

#cssmenu>ul>li>a {
    display: block;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    padding: 20px 10px;
    text-transform: uppercase;
    font-weight: bold;
}

#cssmenu>ul>li>a:last-child {
    padding-right: 0px;
}

#cssmenu>ul>li:hover>a,
#cssmenu>ul>li:focus>a,
#cssmenu ul li.active a {
    color: #fff;
    text-decoration: underline;
}

#cssmenu>ul>li:hover,
#cssmenu ul li.active:hover,
#cssmenu ul li.active,
#cssmenu ul li.has-sub.active:hover {
    height: 1%;
}

#cssmenu>ul>li:focus,
#cssmenu ul li.active:focus,
#cssmenu ul li.active,
#cssmenu ul li.has-sub.active:focus {
    -webkit-transition: background .3s ease;
    -ms-transition: background .3s ease;
    transition: background .3s ease;
}

#cssmenu>ul>li:first-child:hover,
#cssmenu ul li.active:hover,
#cssmenu ul li.active,
#cssmenu ul li.has-sub.active:hover {}

#cssmenu ul ul {
    position: absolute;
    left: -9999px;
    box-shadow: 0 0 2px #363636;
    z-index: 999;
}

#cssmenu ul ul li {
    height: 0;
    -webkit-transition: all .25s ease;
    -ms-transition: all .25s ease;
    background: #F26522;
    transition: all .25s ease
}

#cssmenu ul ul li:hover {
    background: #F26522;
}

#cssmenu li:hover>ul {
    left: auto;
    *left: 0;
}

#cssmenu li:hover>ul>li {
    height: auto;
}

#cssmenu ul ul ul {
    margin-left: 100%;
    top: 0;
}

#cssmenu ul ul li a {
    width: 300px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
    padding: 15px 15px;
    text-align: left;
    color: #fff;
    border-bottom: #fff 1px solid;
    z-index: 999;
    text-decoration: none;
    transition-duration: .5s;
    -webkit-transition-duration: .5s;
}

#cssmenu ul ul li:last-child>a,
#cssmenu ul ul li.last-item>a {
    border-bottom: 0
}

#cssmenu ul ul li:hover>a,
#cssmenu ul ul li a:hover {
    color: #fff;
    text-decoration: underline;
    padding: 15px 20px
}

#cssmenu ul ul li.has-sub>a:after {
    position: absolute;
    top: 16px;
    right: 11px;
    width: 8px;
    height: 2px;
    display: block;
    background: #ddd;
    content: ''
}

#cssmenu 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
}

#cssmenu ul ul>li.has-sub:hover>a:before {
    top: 17px;
    height: 0
}

#cssmenu ul ul li.has-sub:hover,
#cssmenu ul li.has-sub ul li.has-sub ul li:hover {
    background: #b10303;
    color: #fff;
}

#cssmenu ul ul ul li.active a {
    border-left: 1px solid #333
}

#cssmenu>ul>li.has-sub>ul>li.active>a,
#cssmenu>ul ul>li.has-sub>ul>li.active>a {
    border-top: 1px solid #333
}

@media screen and (max-width:1450px) {
    #cssmenu>ul>li>a {
        font-size: 16px;
    }
}

@media screen and (min-width:1275px) {
    #cssmenu {
        display: flex;
        justify-content: flex-end;
    }
}

@media screen and (max-width:1275px) {
    #navcontain {
        height: auto;
        text-align: left;
        margin-top: 0px;
    }

    #cssmenu {
        text-align: left;
    }

    #cssmenu ul {
        width: 100%;
        display: none;
        background: #F26522;
    }

    #cssmenu ul li {
        width: 100%;
        border-bottom: 1px solid #363636;
        margin: 0;
        padding: 9px 0 9px 40px;
        border-left: none;
    }

    #cssmenu ul ul li,
    #cssmenu li:hover>ul>li {
        height: auto;
        padding: 20px 20px 20px 40px;
        background: #F26522;
        border-bottom: 2px solid #363636;
    }

    #cssmenu ul li a,
    #cssmenu ul ul li a {
        width: 100%;
        border-bottom: 0;
    }

    #cssmenu>ul>li {
        float: none;
    }

    #cssmenu>ul>li.has-sub {
        padding: 10px 60px 10px 45px;
    }

    #cssmenu ul ul li a {
        padding: 0 !important;
    }

    #cssmenu ul ul ul li a {}

    #cssmenu ul ul li a {
        font-weight: bold;
        font-size: 14px;
    }

    #cssmenu ul ul li:hover>a,
    #cssmenu ul ul li.active>a {
        font-weight: bold;
    }

    #cssmenu ul ul,
    #cssmenu ul ul ul {
        position: relative;
        left: 0;
        width: 100%;
        margin: 0;
        text-align: left;
        box-shadow: none;
    }

    #cssmenu>ul>li.has-sub>a:after,
    #cssmenu>ul>li.has-sub>a:before,
    #cssmenu ul ul>li.has-sub>a:after,
    #cssmenu ul ul>li.has-sub>a:before {
        display: none;
    }

    #cssmenu #head-mobile {
        display: block;
        padding: 22px 0 0;
        right: 10px;
        color: #ddd;
        font-size: 12px;
        font-weight: 700;
        box-sizing: border-box;
        text-align: right;
        width: 100%;
    }

    #head-mobile:after {
        position: relative;
        bottom: 9px;
        color: #fff;
        text-align: right;
        font-size: 15px;
    }

    .button2 {
        width: 85px;
        height: 40px;
        position: absolute;
        top: 0;
        right: 0;
        cursor: pointer;
        z-index: 12399994;
        background-color: #F26522;
        padding-bottom: 5px;
        width: 100%;
    }

    .button2:after {
        position: absolute;
        display: block;
        height: 10px;
        width: 20px;
        top: 0px;
        bottom: 0px;
        left: 15px;
        margin: auto;
        border-top: 2px solid #fff;
        border-bottom: 2px solid #fff;
        content: '';
    }

    .button2:before {
        position: absolute;
        display: block;
        height: 2px;
        width: 20px;
        top: 0px;
        bottom: 0px;
        left: 15px;
        margin: auto;
        background: #fff;
        -webkit-transition: all .3s ease;
        -ms-transition: all .3s ease;
        transition: all .3s ease;
        content: '';
    }

    .button2.menu-opened:after {
        top: 0;
        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);
        -webkit-transition: all .3s ease;
        -ms-transition: all .3s ease;
        transition: all .3s ease;
    }

    .button2.menu-opened:before {
        top: 0;
        background: #fff;
        width: 19px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    #cssmenu .submenu-button {
        position: absolute;
        background: #eaeaea;
        z-index: 99;
        left: 0;
        top: 0;
        bottom: 0px;
        display: block;
        padding: 0 27px;
        cursor: pointer;
        border-left: #fff solid 1px;
        border-bottom: #fff solid 1px;
    }

    #cssmenu .submenu-button.submenu-opened {
        background: #eaeaea;
        border-left: #fff solid 1px;
        border-bottom: #fff solid 1px;
        z-index: 99999;
    }

    #cssmenu ul ul .submenu-button {
        height: 34px;
        width: 34px;
    }

    #cssmenu .submenu-button:after {
        position: absolute;
        margin: auto;
        top: 0;
        bottom: 0;
        right: 19px;
        width: 8px;
        height: 2px;
        display: block;
        background: #363636;
        content: '';
    }

    #cssmenu ul ul .submenu-button:after {
        top: 13px;
        right: 13px;
    }

    #cssmenu .submenu-button.submenu-opened:after {
        background: #000;
    }

    #cssmenu .submenu-button:before {
        position: absolute;
        background: #363636;
        ;
        margin: auto;
        top: 0;
        bottom: 0;
        right: 22px;
        display: block;
        width: 2px;
        height: 8px;
        content: '';
    }

    #cssmenu ul ul .submenu-button:before {
        top: 10px;
        right: 16px;
    }

    #cssmenu .submenu-button.submenu-opened:before {
        display: none;
    }

    #cssmenu ul ul ul li.active a {
        border-left: none;
    }

    #cssmenu>ul>li.has-sub>ul>li.active>a,
    #cssmenu>ul ul>li.has-sub>ul>li.active>a {
        border-top: none;
    }
}

@media screen and (max-width:850px) {
    #navcontain {
        top: 162px;
        background: #F26522;
    }

}

@media screen and (max-width:650px) {
    #navcontain {
        position: static;
        width: 100%;
        margin: 7px auto 0;
        left: 0;
        right: 0;
        text-align: center;
    }

    #cssmenu .submenu-button {
        right: 0;
        left: auto;
    }

    .button2 {
        left: 0;
        right: 0;
        margin: auto;
    }

    #head-mobile:after {
        left: 17px;
    }

    #cssmenu #head-mobile {
        text-align: center;
        right: 0;
    }
}