#cssmenu, #cssmenu ul, #cssmenu ul li, #cssmenu ul li a, #cssmenu #menu-button {
    overflow: visible;
    margin: 0;
    padding: 0;
    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 #menu-button {
    display: none;
}
#cssmenu {
    float: right;
    height: auto;
    width: auto;
    /*z-index: 1911;*/
    margin-top: 0.7em;
    margin-right: 17.7em;
    font: 300 120% 'Josefin Sans', sans-serif;
    font-variant: small-caps;
    background: transparent;
}
#menu-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    background: #a45946;
    /*z-index: 99;*/
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    -ms-transition: all 0.25s ease-out;
    -o-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
}
#cssmenu > ul > li {
    float: left;
}
/*#cssmenu.align-center>ul {
    text-align: center;
}
#cssmenu.align-center>ul>li {
    display: inline-block;
    float: none;
}
#cssmenu.align-center ul ul {
    text-align: left;
}
#cssmenu.align-right>ul>li {
    float: right;
}
#cssmenu.align-right ul ul {
    text-align: right;
}*/
#cssmenu > ul > li > a {
    padding: 0.8em 0.9em;
    /*padding-left:1.6em;*/
    text-decoration: none;
    background-color: transparent;
    color: /*#293133*//*#383b3e*/#318ce7;
    -webkit-transition: color .2s ease;
    -moz-transition: color .2s ease;
    -ms-transition: color .2s ease;
    -o-transition: color .2s ease;
    transition: color .2s ease;
}
#cssmenu > ul > li:hover > a {
    color: #293133;
    opacity: 0.7;
    filter: alpha(opacity=70);
    /* internet explorer */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=70)";
    /*IE8*/
}
#cssmenu > ul > li > a:hover
 {
    color:#293133;
}
#cssmenu  > ul > li.active > a {
    color: #804536;
}
#cssmenu > ul > li.has-sub > a {
    padding-right: 25px;
}
/*----------------------------------------------------------- */

#cssmenu > ul > li.has-sub > a::after {
    content: "";
    position: absolute;
    top: 25px;
    right: 10px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #293133;
}
#cssmenu >ul > li.has-sub:hover > a::after {
    content: "";
    position: absolute;
    top: 25px;
    right: 10px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #6a90a8;
}

/*---------------------------------------------------------------*/

#cssmenu ul ul {
    background: #f7f8f7;
    position: absolute;
    /*height: 6em; */
    left: -9999px;
}
#cssmenu li:hover > ul {
    left: auto;
}
/*#cssmenu.align-right li:hover>ul {
    right: 0;
}*/
#cssmenu ul ul li {
    display: inline-block;
    height: /*40px*/0;
    -webkit-transition: height .2s ease;
    -moz-transition: height .2s ease;
    -ms-transition: height .2s ease;
    -o-transition: height .2s ease;
    transition: height .2s ease;
}
#cssmenu ul li:hover > ul > li {
    height: 40px;
}
#cssmenu ul ul li a {
    padding: 0.8em 0.6em;
    width: 14em;
    font-size: /*0.7em*/75%;
    background: transparent;
    text-decoration: none;
    color: #293133;
    -webkit-transition: color .2s ease;
    -moz-transition: color .2s ease;
    -ms-transition: color .2s ease;
    -o-transition: color .2s ease;
    transition: color .2s ease;
}
#cssmenu > ul > li > ul > li.active>a {
    color: #804536;
}
#cssmenu ul ul li:hover > a, #cssmenu ul ul li a:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
    /* internet explorer */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=70)";
    /*IE8*/
}
@media screen and (max-width:1600px) {
    #cssmenu {
        margin-right: 1.7em;
    }
}
@media all and (max-width: 768px) {
    #cssmenu {
        margin: 0;
        width: 250px;
        /*z-index: 1;*/
        background: #f7f8f7
    }
    #cssmenu ul {
        width: 250px;
        display: none;
    }
    /*#cssmenu.align-center>ul, #cssmenu.align-right ul ul {
        text-align: left;
    }*/
    #cssmenu ul li, #cssmenu ul ul li, #cssmenu ul li:hover > ul > li {
        width: 250px;
        height: auto;
        border-top: 1px solid rgba(73, 119, 149, 0.15);
    }
    #cssmenu ul li a, #cssmenu ul ul li a {
        width: 250px;
        color: #293133
    }
    #cssmenu>ul>li, #cssmenu.align-center>ul>li, #cssmenu.align-right>ul>li {
        float: none;
        display: block;
    }
    #cssmenu ul ul li a {
        padding: 0.7em 0.6em;
        font-size: 80%;
        color:#293133;
        background: none;
        text-indent: 1.5em
    }
    #cssmenu ul ul li:hover > a, #cssmenu ul ul li a:hover {
        opacity: 0.7;
        filter: alpha(opacity=70);
        /* internet explorer */
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=70)";
        /*IE8*/
    }
    #cssmenu ul ul/*, #cssmenu ul ul ul*/ {
        /*z-index: +999;*/
        position: relative;
        left: 0;
        right: auto;
        width: 250px;
        margin: 0;
    }
    #cssmenu>ul>li.has-sub>a::after/*, #cssmenu ul ul li.has-sub>a::after*/ {
        display: none;
    }
    #menu-line {
        display: none;
    }
    #cssmenu #menu-button {
        display: block;
        padding: 14px;
        margin-left: 132px;
        color: #293133;
        cursor: pointer;
        font-size: 1.0em;
        /* text-transform: uppercase;*/
        font-variant: small-caps;
    }
    #cssmenu #menu-button::after {
        content: '';
        position: absolute;
        top: 15px;
        right: 20px;
        display: block;
        width: 20px;
        height: 3px;
        background: #293133;
    }
    #cssmenu #menu-button::before {
        content: '';
        position: absolute;
        top: 20px;
        right: 20px;
        display: block;
        width: 20px;
        height: 8px;
        border-top: 3px solid #293133;
        border-bottom: 3px solid #293133;
    }
    #cssmenu .submenu-button {
        position: absolute;
        z-index: 10;
        right: 0;
        top: 0;
        display: block;
        border-left: 1px solid rgba(73, 119, 149, 0.15);
        height: 52px;
        width: 52px;
        cursor: pointer;
    }
    #cssmenu .submenu-button::after {
        content: '';
        position: absolute;
        top: 21px;
        left: 26px;
        display: block;
        width: 2px;
        height: 12px;
        background: #293133;
        z-index: 99;
    }
    #cssmenu .submenu-button::before {
        content: '';
        position: absolute;
        left: 21px;
        top: 26px;
        display: block;
        width: 12px;
        height: 2px;
        background: #293133;
        z-index: 99;
    }
    #cssmenu .submenu-button.submenu-opened:after {
        display: none;
    }
}