
   /*  horizontal category navbav  */
 
  ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .navwrap {
    padding: 0;
    width: 100%;
    margin: auto;
    overflow-y: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* for iOS */
    border-bottom: 1px rgba(0, 0, 0, 0.151) solid;
  }

  .navwrap::-webkit-scrollbar{
    display: none;
  }
  
  .nav {
    display: table; /*white-space fix*/
    width: 100%;
    text-align: center;
  }
  .nav li {
    display: inline-block;
    text-align: center;
    word-spacing: normal; /*white-space fix*/
    font-size: 13px;
  }

  .nav li > a {
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
    padding: 7px 10px;
    display: block;
    background: white;
    color: black;
    border-bottom: 2px white solid;
    white-space: nowrap;
    position: relative;
  }
  
  .nav li ul li {
    display: block;
    text-align: left;
  }
  
  
  .nav > li > a:hover {
    color: orangered;
    border-bottom: 2px orangered solid;
  }
  
  .nav ul {
    position: absolute;
    z-index: 104;
    left: -999em;
    top: 0;
    opacity: 0;
    border-radius: 12px;
    transition: opacity 0.5s, left 0s 0.5s, top 0.5s;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
  }
  .ul_content{
    background: white;
    border-radius: 5px;
    padding: 10px 0;
    text-align:left;
  }
  .ul_content a{
    display: block;
    margin:3px;
    text-decoration:none;
    font-size: 8px;
  }
  .ul_content a:hover{
    color: orangered;
    text-decoration: underline;
    text-decoration-color: orangered;
  }
  .nav li:hover > ul {
    left: auto;
    top: auto;
    opacity: 1;
    transition: opacity 0.5s linear, top 0.5s;
    width: 86%;
    right: 100px;
    top: auto;
  }
  .nav ul ul {
    transition: opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;
    z-index: 103;
  }
  .nav li li:hover ul {
    top: auto;
    margin-left: 100%;
    opacity: 1;
    transition: opacity 0.5s linear, margin 0.5s;
  }
  .nav > li > a.active {
      border-bottom: 2px solid #E64A19;
      color: orangered;
  }
  


@media screen and (max-width: 992px) and (min-width: 768px) {
  .nav li ul {
        display: block;
    }  
  .nav li:hover > ul {
        width: 90%;
        right: 50px;
    }

}
@media screen and (max-width: 768px) and (min-width: 150px) {
    .nav li ul {
        display: none;
    }

}

