.navigation { float: left; width:100%; }
.navigation #menu-button { display: none; }
.navigation ul.menu { padding: 0px; margin: 29px 0 0px; float: right; display: flex;  transition:ease 0.5s; }
.navigation ul > li { list-style-type: none; float: left; margin: 0px 16px 0px 15px; position: relative; }
.navigation ul > li > a { display:inline-block; color:#000; font-size:18px; text-decoration: none; padding: 3px 10px 31px; position: relative; z-index: 2; }
.navigation ul > li > a:hover:after { content:''; height:5px; background: #f09520; width:100%; position: absolute; bottom: 0px; left:0; }
.navigation ul > li a:hover { text-decoration: none; color:#000; }
.navigation ul > li.current-menu-item > a:after { content:''; height:5px; background: #f09520; width:100%; position: absolute; bottom: 0px; left:0; }
.navigation ul > li.current-menu-parent > a:after { content:''; height:5px; background: #f09520; width:100%; position: absolute; bottom: 0px; left:0; }
.navigation ul > li:hover .submenu-button { transform: none; /*margin-top: 15px;*/ }

.logged-in .navigation ul > li { margin: 0px 0px 0px 0px; }

.navigation ul ul { position: absolute; left: -9999px; width:240px; margin: 0px; padding: 0; top:100%; background: #f09520; 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, .site-header.header-fixed .navigation ul ul li a{ padding: 8px 15px 8px; font-size: 16px; font-weight: 400; display:block; text-decoration: none; color: #fff; border-bottom: 1px solid rgba(255,255,255,.2); line-height: normal; }
.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: #0021A5; }
.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: #0021A5; }

#cssmenu.small-screen { display: inline-block; vertical-align: top; }
#cssmenu.small-screen ul { width: 100%; display: none; margin-top: 0px; top:100%; position: absolute; left: 0; z-index: 999; background: #0021A5; text-align: left; max-height: 450px; overflow: auto; }
#cssmenu.small-screen.align-center > ul { text-align: left; }
#cssmenu.small-screen ul li { width: 100%; border-bottom: 1px solid rgba(255,255,255,.3); position: relative; margin: 0px; }
#cssmenu.small-screen ul li a,
#cssmenu.small-screen ul ul li a { width: 100%; border-bottom: 0; padding: 9px 47px; padding-left: 15px; color: #fff; background: none;font-weight: normal; line-height:normal; }
#cssmenu.small-screen ul ul li { border:none; }
#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 0 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:31px; width: 35px; height: 35px; right: 15px; z-index: 99; background: #0021A5; border-radius:50%; }
#cssmenu.small-screen #menu-button:after { position: absolute; top: 16px; right: 7px; 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: 10px; right: 7px; display: block; height: 2px; width: 20px; background: #fff; content: ''; }
#cssmenu.small-screen #menu-button.menu-opened:after { top: 16px; 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: 16px; 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: 42px; width: 42px; cursor: pointer; }
#cssmenu.small-screen .submenu-button.submenu-opened { background: #f09520; }
#cssmenu.small-screen .submenu-button::after { position: absolute;top: 21px;right: 14px; 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: 20px;display: block;width: 3px;height: 15px;background: #fff;content: '';}
#cssmenu.small-screen .submenu-button.submenu-opened::before { display:none; }

@media (min-width:1200px) and (max-width:1300px) {
	.navigation ul > li > a { font-size: 16px; }
}

@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; }
}