/* MENU TOP */
.menu-top .level-0-menu{display:flex;padding:1rem 0;flex-flow:row wrap;list-style:none;}
.menu-top a{display:block;padding:.6em 1em;color:#333;text-decoration:none;transition:all 0.1s ease;}
.menu-top a:hover, .menu-top .selected > a, .menu-top .selected-parent > a{text-decoration:none;color:var(--color-secondary);}
@media screen and (min-width:960px){
  .menu-top .level-0-menu{justify-content:flex-end;}
}
@media screen and (min-width:641px){ /* Bottom underline */
  .menu-top li{position:relative;}
  .menu-top li:after{content:'';display:block;position:absolute;bottom:0;width:10%;height:5px;transition:all 0.5s ease;}
  .menu-top li:hover:after, .menu-top .selected:after, .menu-top .selected-parent:after{width:99%;}
  .menu-top a{font-size:1.25rem;}
}
@media screen and (max-width:640px){ /* Small screens only */
  /*.menu-top .level-0-menu{flex-flow:column wrap;}*/
  .menu-top .level-0-menu li{flex-basis:calc(100% / 2);} /*modrhh+*/
  .menu-top a{font-size:1.063rem;border-bottom:1px solid var(--color-divider);}
  .menu-top a:before{content:"";display:block;float:left;width:16px;height:16px;margin:1px .6em 0 0;background:url('img/options_2.png') no-repeat center -64px;}
  .menu-top a:hover:before, .menu-top .selected a:before, .menu-top .selected-parent a:before{background-position:center -80px;}
}

/* DROP DOWN MENU */
.menu-top ul{list-style:none;}
/* dropdown mark */
.menu-top li.drop-down:before{position:absolute;right:3px;display:block;content:"\25be";color:inherit;}
/* dropdown mark - second level */
.menu-top .level-1-el.drop-down:before{top:50%;transform:translateY(-50%) rotate(-90deg);}
/* global submenus styles */
.menu-top ul ul{display:none;white-space:nowrap;background:var(--color-primary);}
.menu-top li:hover > ul{display:block;} /* show submenu on hover */

@media screen and (min-width:641px){
  .menu-top ul ul{position:absolute;top:100%;left:-1px;z-index:10;width:auto;height:auto;}
  .menu-top .level-1-el a{font-size:1.063rem;}
  .menu-top .level-2-el a{font-size:0.875rem;}
  /* third level submenu */
  .menu-top .level-2-menu{top:0;left:100%;border-left:5px solid var(--color-primary);}
}
@media screen and (max-width:640px){
  .menu-top ul ul{top:10%;left:5px;}
  .menu-top li:hover > .level-2-menu{display:none;}
}
/*[class*="menu-"] .products-in-basket{display:inline-block;padding:1px 6px;margin-left:.5em;color:#fff;background:var(--color-secondary-light);border-radius:2px;font-style:normal;font-size:0.75em;}*/
[class*="menu-"] .products-in-basket{display:inline-block;padding:1px 6px;margin-left:.5em;color:#fff;background:var(--color-secondary);border-radius:2px;font-style:normal;font-size:0.75em;}

/* WIDGET - display option: MENU */
/* footer menu */
#foot .widget.type-4 nav ul{list-style:none;display:flex;flex-flow:row wrap;}
#foot .widget.type-4 li{padding:.5em 0;flex-basis:calc(100% / 4);} 
#foot .widget.type-4 li:before{content:'>';margin-right:.5em;font-size:0.824em;color:var(--color-white);font-weight:bold;}
@media screen and (max-width:641px){
#foot .widget.type-4 li{padding:.5em 0;flex-basis:calc(100% / 2);} 
}

/* left column menu */
.widgets-8 .widget.type-4 li{padding:.2rem 0 .2em 1em;font-size:1.1em;text-transform:uppercase}
.widgets-8 .widget.type-4 li:before{content:'>';margin:0 0.3em 0 -1.1em;font-size:1em;color:var(--color-secondary);font-weight:bold;}
.widgets-8 .widget.type-4 a{text-decoration:none;}
.widgets-8 .widget.type-4 .selected[class*="-el"] > a, .widgets-8 .widget.type-4 .selected-parent[class*="-el"] > a{color:var(--color-secondary);}


.langs ul{list-style:none;}
.langs li{position:relative;float:left;padding:0;}
.langs a{margin:8px 5px;padding:5px 8px;color:#fff;font-size:1.063em;text-decoration:none;text-transform:uppercase;background:#666;}
.langs a:hover, .langs .selected a,  .langs .selected-parent a{background:var(--color-secondary);}
