@import url(https://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700);
@import url(./variables.css);

:root {
  /* fc font, color */
  --fc-primary: #666666;
  --fc-second: #FFF;
  /* bg background */
  --bg-primary: #E9E9E9;
  --bg-primary-hover: radial-gradient(farthest-corner at 70% 74%, #f10000 0%, #000000 300%);
  /* shadow */
  --sm-shadow: 0px 10px 25px 5px #bebebe96;
}

 .main-nav {
  padding: 20px 12px !important;
} 
.products-menu {
  background: transparent;
  border-radius: 8px;
}
.sm {
  z-index: 999 !important;
}
.products-menu a, .products-menu a:hover, .products-menu a:focus, .products-menu a:active {
  padding: 10px 12px;
  /* padding-left: 0; */
  /* padding-right: 58px; */
  color: var(--fc-primary);
  font-size: 19px;
  line-height: 23px;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  font-weight: 700;
}
.products-menu a.current {
  background: var(--sec-color);
  color: #fff;
}
.products-menu a.disabled {
  color: #a1d1e8;
}
.products-menu a .sub-arrow {
  position: absolute;
  top: 50%;
  left: auto;
  right: 4px;
  bottom: 0;

  margin-top: -17px;
  /* width: 34px;
  height: 34px; */
  overflow: hidden;
  font: bold 16px/34px monospace !important;
  text-align: center;
  text-shadow: none;
  background: rgba(0, 0, 0, 0.1);
  color: var(--fc-second);
  border-radius: 4px;
}
.products-menu a .sub-arrow::before {
  content: '+';
}
.products-menu a.highlighted .sub-arrow::before {
  content: '-';
}
.products-menu > li:last-child > a.highlighted, .products-menu > li:last-child > *:not(ul) a.highlighted, .products-menu > li:last-child > ul > li:last-child > a.highlighted, .products-menu > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .products-menu > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .products-menu > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .products-menu > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .products-menu > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted, .products-menu > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > a.highlighted, .products-menu > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > ul > li:last-child > *:not(ul) a.highlighted {
  border-radius: 0;
}
.products-menu ul {
  background: #fff;
}
.products-menu ul ul {
  background: rgba(102, 102, 102, 0.1);
}
.products-menu ul a, .products-menu ul a:hover, .products-menu ul a:focus, .products-menu ul a:active {
  background: transparent;
  color: #333;
  font-size: 16px;
  text-shadow: none;
  border-left: 8px solid transparent;
}
.products-menu ul a.current {
  background: #006892;
  color: #fff;
}
.products-menu ul a.disabled {
  color: #b3b3b3;
}
.products-menu ul ul a,
.products-menu ul ul a:hover,
.products-menu ul ul a:focus,
.products-menu ul ul a:active {
  border-left: 16px solid transparent;
}
.products-menu ul ul ul a,
.products-menu ul ul ul a:hover,
.products-menu ul ul ul a:focus,
.products-menu ul ul ul a:active {
  border-left: 24px solid transparent;
}
.products-menu ul ul ul ul a,
.products-menu ul ul ul ul a:hover,
.products-menu ul ul ul ul a:focus,
.products-menu ul ul ul ul a:active {
  border-left: 32px solid transparent;
}
.products-menu ul ul ul ul ul a,
.products-menu ul ul ul ul ul a:hover,
.products-menu ul ul ul ul ul a:focus,
.products-menu ul ul ul ul ul a:active {
  border-left: 40px solid transparent;
}
.products-menu ul li {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.products-menu ul li:first-child {
  border-top: 0;
}
.header-items{
  flex-direction: row;
}
@media (max-width: 960px) {
  .main-nav li:nth-child(1) ul {
    margin-bottom: 10px;
  }
}
@media (max-width: 1400px){
  .products-menu a, .products-menu a:hover, .products-menu a:focus, .products-menu a:active, .products-menu a.highlighted {
    padding: 10px 5px;
    font-size: 18px;
  }
}
@media (max-width: 1200px){
  .products-menu a, .products-menu a:hover, .products-menu a:focus, .products-menu a:active, .products-menu a.highlighted {
    padding: 5px 3px;
    font-size: 15px;
  }
}
/* @media (min-width: 1200px) and (max-width: 1400px){
  .products-menu a, .products-menu a:hover, .products-menu a:focus, .products-menu a:active, .products-menu a.highlighted {
    padding: 5px 5px;
    font-size: 18px;
  }
} */
@media (min-width: 992px){
  .header-items{
    flex-direction: column !important;
  }
}

@media (min-width: 960px) {
  .products-menu ul a:hover{
    background: transparent;
    color: #333 !important;
    font-size: 16px;
    text-shadow: none;
    border-left: 8px solid transparent;
  }

  .main-nav {
    padding-top: 5px;
    padding-bottom: 5px;
    height: 100%;
  }
  .products-menu ul {
    position: absolute;
    width: 12em;
  }

  .products-menu li {
    float: left;
  }

  .products-menu.sm-rtl li {
    float: right;
  }

  .products-menu ul li, .products-menu.sm-rtl ul li, .products-menu.sm-vertical li {
    float: none;
  }

  .products-menu a {
    white-space: nowrap;
  }

  .products-menu ul a, .products-menu.sm-vertical a {
    white-space: normal;
  }

  .products-menu .sm-nowrap > li > a, .products-menu .sm-nowrap > li > :not(ul) a {
    white-space: nowrap;
  }

  .products-menu {
    background: var(--sec-color);
    border-radius: 8px;
  }
  /* .products-menu a, .products-menu a:hover, .products-menu a:focus, .products-menu a:active, .products-menu a.highlighted {
    padding: 4px 15px;
    color: var(--fc-primary)
  } */
  .products-menu a:hover, .products-menu a:focus, .products-menu a:active, .products-menu a.highlighted {
    background: var(--bg-primary-hover);
    color: var(--fc-second) !important;
  }
  a.has-child {
    border-radius: 4px 4px 0 0;
  }
  .products-menu a.current {
    background: #006892;
    color: #fff;
  }
  .products-menu a.disabled {
    background: var(--sec-color);
    color: #a1d1e8;
  }
  .products-menu a .sub-arrow {
    background: transparent;
    border-radius: 0;
  }
  .products-menu .sm-nowrap {
    box-shadow: var(--sm-shadow);
    border-radius: 0 4px 4px 4px !important;
    /* overflow: hidden; */
  }
  .products-menu a .sub-arrow::before {
    display: none;
  }
  .products-menu > li:first-child {
    border-left: 0;
  }
  .products-menu ul {
    padding: 7px 0;
    background: var(--bg-primary);
    border-radius: 0 0 4px 4px !important;
  }
  .products-menu ul ul {
    border-radius: 4px !important;
    background: #fff;
  }
  .products-menu ul a, .products-menu ul a:hover, .products-menu ul a:focus, .products-menu ul a:active, .products-menu ul a.highlighted {
    border: 0 !important;
    padding: 9px 23px;
    background: var(--bg-primary);
    color: var(--fc-primary);
    border-radius: 0 !important;
  }
  .products-menu ul a:hover, .products-menu ul a:focus, .products-menu ul a:active, .products-menu ul a.highlighted {
    background: var(--bg-primary-hover);
    color: var(--fc-second) !important;
  }
  .products-menu ul a.current {
    background: #006892;
    color: #fff;
  }
  .products-menu ul a.disabled {
    background: #fff;
    color: #b3b3b3;
  }
  .products-menu ul a .sub-arrow {
    top: 50%;
    margin-top: -5px;
    bottom: auto;
    left: auto;
    margin-left: 0;
    right: 10px;
    border-top: solid 6px transparent;
    border-bottom: solid 6px transparent;
    border-left: solid 10px #ffffff;
  }
  .products-menu ul li {
    border: 0;
  }
  .products-menu .scroll-up,
  .products-menu .scroll-down {
    position: absolute;
    display: none;
    visibility: hidden;
    overflow: hidden;
    background: #fff;
    height: 20px;
  }
  .products-menu .scroll-up-arrow,
  .products-menu .scroll-down-arrow {
    position: absolute;
    top: -2px;
    left: 50%;
    margin-left: -8px;
    width: 0;
    height: 0;
    overflow: hidden;
    border-width: 8px;
    border-style: dashed dashed solid dashed;
    border-color: transparent transparent #2b82ac transparent;
  }
  .products-menu .scroll-down-arrow {
    top: 6px;
    border-style: solid dashed dashed dashed;
    border-color: #2b82ac transparent transparent transparent;
  }
  .products-menu.sm-rtl.sm-vertical a .sub-arrow {
    right: auto;
    left: 10px;
    border-style: dashed solid dashed dashed;
    border-color: transparent #333 transparent transparent;
  }
  .products-menu.sm-rtl > li:first-child > a, .products-menu.sm-rtl > li:first-child > :not(ul) a {
    border-radius: 0 8px 8px 0;
  }
  .products-menu.sm-rtl > li:last-child > a, .products-menu.sm-rtl > li:last-child > :not(ul) a {
    border-radius: 8px 0 0 8px !important;
  }
  .products-menu.sm-rtl > li:first-child {
    border-left: 1px solid #2b82ac;
  }
  .products-menu.sm-rtl > li:last-child {
    border-left: 0;
  }
  .products-menu.sm-rtl ul a .sub-arrow {
    right: auto;
    left: 10px;
    border-style: dashed solid dashed dashed;
    border-color: transparent #a1d1e8 transparent transparent;
  }
  .products-menu.sm-vertical {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  }
  .products-menu.sm-vertical a {
    padding: 9px 23px;
  }
  .products-menu.sm-vertical a .sub-arrow {
    top: 50%;
    margin-top: -5px;
    bottom: auto;
    left: auto;
    margin-left: 0;
    right: 10px;
    border-style: dashed dashed dashed solid;
    border-color: transparent transparent transparent #a1d1e8;
  }
  .products-menu.sm-vertical > li:first-child > a, .products-menu.sm-vertical > li:first-child > :not(ul) a {
    border-radius: 8px 8px 0 0;
  }
  .products-menu.sm-vertical > li:last-child > a, .products-menu.sm-vertical > li:last-child > :not(ul) a {
    border-radius: 0 0 8px 8px !important;
  }
  .products-menu.sm-vertical > li {
    border-left: 0 !important;
  }
  .products-menu.sm-vertical ul {
    border-radius: 4px !important;
  }
  .products-menu.sm-vertical ul a {
    padding: 9px 23px;
  }
}
