#cssmenu {
    height: 100%;
}

.navigation #menu-button {
    display: none;
}

.navigation ul {
    padding: 0;
    margin: 0;
}

.navigation ul.menu {
    padding: 0px;
    margin: 0px 0 0;
    display: flex;
    justify-content: center;
    transition: ease 0.5s;
    align-items: center;
}

.navigation ul>li {
    list-style-type: none;
    position: relative;
    margin: 0px 25px 0px 25px;
    display: inline-block;
}

.navigation ul>li>a {
    display: inline-block;
    color: #222222;
    font-size: 18px;
    text-decoration: none;
    padding: 10px 0px 10px;
    position: relative;
    z-index: 2;
    text-align: center;
    white-space: nowrap;
}

.navigation ul>li a:hover {
    text-decoration: none;
    color: #004d44;
}

.navigation ul>li.current-menu-item a:after,
.navigation ul>li a:hover:after {
    content: '';
    width: 100%;
    height: 3px;
    background: #cd2628;
    position: absolute;
    bottom: 0;
    left: 0;
}

.navigation ul ul {
    position: absolute;
    left: -9999px;
    width: 240px;
    margin: 0px;
    padding: 0;
    top: 100%;
    background: #004d44;
    text-align: left;
    z-index: 99;
}

.navigation ul ul li {
    list-style-type: none;
    position: relative;
    display: block;
    float: left;
    width: 100%;
    padding: 0px;
    margin: 0px;
}

.navigation ul ul li:first-child {
    border: none;
}

.navigation li:hover>ul {
    left: 0px;
    margin: 0px;
}

.navigation li ul li:hover>ul {
    top: 0;
    left: 100%;
}

.navigation ul ul li a {
    padding: 12px 15px 12px;
    font-size: 16px;
    display: block;
    text-decoration: none;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    line-height: normal;
    text-align: left;
}

.navigation ul ul li a:hover:after {
    display: none;
}

.navigation ul ul li:hover>a,
.navigation ul ul li a:hover {
    color: #fff;
    text-decoration: none;
    background: #9c8a5b;
}

.navigation ul ul ul li:first-child a {
    padding-top: 7px;
}

.navigation ul ul li a:after {
    display: none;
}

.navigation ul ul li.current-menu-item a {
    background: #004d44;
}

#cssmenu.small-screen {
    display: inline-block;
    vertical-align: top;
}

#cssmenu.small-screen ul {
    width: 100%;
    display: none;
    top: 100%;
    position: absolute;
    left: 0;
    z-index: 999;
    background: #000;
    text-align: left;
    margin-top: 28px;
}

#cssmenu.small-screen.align-center>ul {
    text-align: left;
}

#cssmenu.small-screen ul li {
    width: 100%;
    border-bottom: 1px solid #494646;
    position: relative;
    margin: 0px;
}

#cssmenu.small-screen ul li a,
#cssmenu.small-screen ul ul li a {
    width: 100%;
    border-bottom: 0;
    padding: 8px 47px;
    padding-left: 15px;
    color: #fff;
    background: none;
    font-weight: normal;
    text-align: left;
    font-size: 17px;
}

#cssmenu.small-screen ul ul li {
    border: none;
}

#cssmenu.small-screen ul ul li:hover>a,
/*#cssmenu.small-screen ul ul li.menu-item-has-children > a { color: #68A8DE; }*/
/*#cssmenu.small-screen ul li.menu-item-has-children > a { color: #68A8DE; }*/
#cssmenu.small-screen ul ul {
    overflow: auto;
}

#cssmenu.small-screen ul ul,
#cssmenu.small-screen ul ul ul,
#cssmenu.small-screen.align-right ul ul {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0px 0 10px 15px;
    text-align: left;
    height: auto;
}

#cssmenu.small-screen>ul>li.has-sub>a:after,
#cssmenu.small-screen>ul>li.has-sub>a:before,
#cssmenu.small-screen ul ul>li.has-sub>a:after,
#cssmenu.small-screen ul ul>li.has-sub>a:before {
    display: none;
}

#cssmenu.small-screen #menu-button {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 40%;
    transform: translateY(-60%);
    width: 40px;
    height: 38px;
    right: 30px;
    z-index: 99;
    background: #000;
    border-radius: 5px;
}

#cssmenu.small-screen #menu-button:after {
    position: absolute;
    top: 18px;
    right: 10px;
    display: block;
    height: 8px;
    width: 20px;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    content: '';
}

#cssmenu.small-screen #menu-button:before {
    position: absolute;
    top: 12px;
    right: 10px;
    display: block;
    height: 2px;
    width: 20px;
    background: #fff;
    content: '';
}

#cssmenu.small-screen #menu-button.menu-opened:after {
    top: 19px;
    border: 0;
    height: 2px;
    width: 20px;
    background: #fff;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

#cssmenu.small-screen #menu-button.menu-opened:before {
    top: 19px;
    background: #fff;
    width: 20px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#cssmenu.small-screen .submenu-button {
    position: absolute;
    z-index: 99;
    right: 0;
    top: 0;
    display: block;
    border-left: 1px solid rgba(255, 255, 255, .3);
    height: 44px;
    width: 44px;
    cursor: pointer;
}

#cssmenu.small-screen .submenu-button.submenu-opened {
    background: #000000;
}

#cssmenu.small-screen .submenu-button::after {
    position: absolute;
    top: 21px;
    right: 16px;
    width: 15px;
    height: 3px;
    display: block;
    background: #fff;
    content: '';
}

#cssmenu.small-screen .submenu-button.submenu-opened:after {
    background: #ffffff;
}

#cssmenu.small-screen .submenu-button::before {
    position: absolute;
    top: 15px;
    right: 22px;
    display: block;
    width: 3px;
    height: 15px;
    background: #fff;
    content: '';
}

#cssmenu.small-screen .submenu-button.submenu-opened::before {
    display: none;
}

@media (max-width: 1199px) {
    #cssmenu ul {
        padding: 0px;
        display: none;
    }

    #cssmenu>ul>li.current-menu-item a::after,
    #cssmenu>ul>li.has-sub>a:after {
        display: none;
    }

    #cssmenu li ul li:hover>ul {
        left: 0;
    }

    .navigation ul>li>a:hover::after {
        display: none !important;
    }
}