﻿/*
* Copyright 2014 Seven Spikes Ltd. All rights reserved. (http://www.nop-templates.com)
* http://www.nop-templates.com/t/licensinginfo
*/

.header-menu,
.back-button {
    display: none !important;
}

.mega-menu .dropdown {
  background: #F7F7F7;
}


@media all and (max-width: 960px) {

 

  .sublist-title {
    font-size: 24px !important;
    font-weight: 600;
    padding: 0 !important;
    color: black !important;
  }

  #mobile-mega-menu .sublist {
    background-color: rgba(247, 247, 247, 1);
    padding: 5px 0;
    height: 100vh;
    overflow: auto;
    padding-bottom: 150px !important;
    padding: 30px;
  }

  #mobile-mega-menu .sublist-wrap {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100% !important;
    height: 100dvh;
    overflow: hidden;
    background-color: #fff !important;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
    -webkit-transform: translate(-100%);
    transform: translate(-100%);
    display: block !important;
  }

  #mobile-mega-menu .sublist-wrap.active {
    -webkit-transform: translate(0);
    transform: translate(0);
  }

  div.sublist-wrap.active > ul > li:nth-child(3) {
    margin-top: 15px
  }

  .back-button {
    display: block !important;
    margin-bottom: 30px;
  }


  .mobile-menu > div.menu-left-box > div > span {
    font-size: 11px;
    font-weight: 500;
}

  #exit-icon-svg, #back-icon-svg1, #back-icon-svg2 {
    cursor: pointer;
    height: 18px;
    width: 18px;
  }

  .mega-menu-responsive > li > a > span {
    font-size: 25px;
  }

  .mega-menu-responsive {
    background-color: #F7F7F7 !important;
    position: fixed;
    width: 100% !important;
    left: 0;
    top: 0;
    bottom: 0;
    transform: translateX(-100%);
    transition: transform 0.4s ease-in-out;
  }

  .mega-menu-responsive.active-menu {
    
    transform: translateX(0);
}

.layer-menu-default {
    background-color: #f7f7f7 !important;
    position: fixed;
    width: 100% !important;
    
    top: 0;
    bottom: 0;
    
    transition: transform .4s ease-in-out;
    z-index: 999;
    max-width: 100%;
    padding: 30px;
}

.menu-second-layer {
    transform: translateX(100%) !important;
}

.menu-first-layer {
    transform: translateX(0) !important;
}

.hidden-layer-menu {
    transform: translateX(-100%) !important;
}

  .mobile-menu {
    display: flex;
    width: 92%;
    align-items: center;
    justify-content: space-between;
    padding-block: 15px;
  }

.mobile-menu > .menu-left-box > a > img {
  width: 110px !important;
  height: auto;
  position: relative;
  top: 50%;
  transform:translateY(-50%);
  }

.icons-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

#hamburger-menu-box {
    cursor: pointer;
}

.mobile-menu img {
    height: 23px;
    width: auto;
}

.menu-left-box {
    display: flex;
    gap: 15px;
}

.menu-left-box > div {
    display:flex;
    flex-direction: column;
}
  body > div.master-wrapper-page > div.master-header > div.header-upper.container > div > ul.mega-menu-responsive.mega-menu-upper {
      display: none;
  }

 
  /* menu button */
  .menu-title {
   
    margin: 0 auto 40px;
    max-width: 100%;
    background-color: transparent;
    padding: 15px;
    font-size: 15px;
    font-weight: bold;
    color: black;
    text-transform: uppercase;
    cursor: pointer;
  }
.menu-title span {
	display: block;
}

/* responsive menu */

.mega-menu-responsive .master-column-wrapper {
    margin-top: 40px !important;
}
.mega-menu-responsive {
   
   z-index: 999;
    max-width: 100%;
   padding: 30px;

}



  .mega-menu-responsive > img {
      margin-bottom: 5px;
  }

  .mega-menu-responsive > li {
    position: relative;
    margin: 1px 0;
    background-color: #f6f6f6;
  }
.mega-menu-responsive > li > a,
.mega-menu-responsive > li > span {
	display: block;
	font-size: 24px;
  font-weight: 600;
	padding: 10px 0px;
	font-size: 15px;
	color: black;
}

  body > div.master-wrapper-page > div.master-wrapper-content > ul.mega-menu-responsive.principal_menu > li:nth-child(2) > a > span {
    color: #DE2D26;
  }
  .plus-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 12px;
    height: 12px;
    background: url(icons/arrow-right-icon.svg) center no-repeat;
    background-size: contain;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
  }
.mega-menu-responsive .sublist-wrap {
    display: none;
}
.mega-menu-responsive .sublist-wrap.active {
	display: block;
}
  .mega-menu-responsive .sublist {
    background-color: #fff;
    position: relative;
    padding: 5px 0;
  }
.mega-menu-responsive .sublist li {
	position: relative;
}
  .mega-menu-responsive .sublist li a {
    display: block;
    padding-block: 10px;
    font-size: 20px;
    font-weight: 600;
    color: rgba(89, 89, 89, 1);
  }
}

.principal_menu > li:first-child > a {
    padding-left: 15px !important;
}

.principal_menu > li:last-child > a {
  padding-right: 15px !important;
}


  @media all and (min-width: 961px) {
    .principal_menu:before {
      position: absolute;
      content: '' !important;
      width: 200vw !important;
      left: -75vw;
      top: -2px;
      height: calc(100%+3px);
      background-color: #f7f7f7;
      box-shadow: 1px 1px 2px #0004;
    }
    /* RESETS */
    .menu-title,
    .plus-button,
    .mega-menu-responsive {
      display: none !important;
    }

    /* main level */

    .mega-menu {
      position: relative;
      z-index: 5;
      border-top: 1px solid #ddd;
      border-bottom: 1px solid #f1f1f1;
      color: #555;
      text-align: center;
      font-size: 0;
    }

    .mobile-menu {
      display: none;
    }

    .mega-menu:after {
      display: block;
      clear: both;
      content: "";
    }

    .mega-menu > li {
      display: inline-block;
    }

      .mega-menu > li > a,
      .mega-menu > li > span {
        position: relative;
        display: block;
        font-size: 17px;
        line-height: 1;
      }

      .mega-menu > li:hover > a,
      .mega-menu > li:hover > span {
        color: #4ab2f1;
        cursor: pointer;
      }

      .mega-menu > li > a, .mega-menu > li > span {
        padding: 18px;
        font-size: 24px;
        font-weight: 600;
        color: black;
        position: relative;
        z-index: 3;
      }

      .mega-menu > li > a {
        position: relative;
        border-bottom: 3px solid transparent;
        transition: border-bottom 0.1s ease;
      }

        .mega-menu > li > a:hover {
          color: black !important;
          border-bottom: 3px solid black;
        }

    /* sublist */
    .mega-menu .sublist-wrap {
      display: none;
      position: absolute;
      width: 200px;
      box-shadow: 0 1px 2px rgba(0,0,0,0.2);
      background-color: #fff;
      padding: 10px 0;
      text-align: left;
      border-top: 1px solid #f1f1f1;
      z-index: 1;
    }

      .mega-menu .sublist-wrap.active {
        display: block;
      }

    .mega-menu .sublist li {
      position: relative;
    }

      .mega-menu .sublist li a {
        display: block;
        position: relative;
        padding: 10px 20px 10px 30px;
        font-size: 14px;
        color: #444;
      }

        .mega-menu .sublist li a:before {
          content: "";
          position: absolute;
          top: 17px;
          left: 15px;
          width: 5px;
          height: 5px;
          background-color: #ddd;
        }

      .mega-menu .sublist li:hover > a {
        background-color: #f6f6f6;
      }

    .mega-menu .sublist-wrap .sublist-wrap {
      top: -10px;
      left: 100% !important;
    }



    /* dropdown */

    .mega-menu .dropdown {
      display: none;
      position: absolute;
      text-align: left;
      background: #F7F7F7;
      z-index: 2;
    }

      .mega-menu .dropdown.active {
        display: block;
      }

    .mega-menu .box {
      float: left;
      padding: 15px;
      position: relative;
    }

    .mega-menu .boxes-1 .box {
      width: 100%;
    }

    .mega-menu .boxes-2 .box {
      width: 50%;
    }

    .mega-menu .boxes-3 .box {
      width: 33.333%;
    }

    .mega-menu .boxes-4 .box {
      width: 25%;
    }

    .mega-menu .boxes-5 .box {
      width: 20%;
    }

    .mega-menu .boxes-6 .box {
      width: 16.666%;
    }

    .mega-menu .boxes-7 .box {
      width: 14.28%;
    }

    .mega-menu .boxes-8 .box {
      width: 12.5%;
    }

    .mega-menu .box .picture-title-wrap {
      position: relative;
      margin: 0 0 5px;
    }

    .mega-menu .box .title {
      color: #444;
      font-size: 18px;
      margin: 0 0 10px;
    }

    .mega-menu .box li a {
      display: block;
      position: relative;
      padding: 7px 0 7px 10px;
      font-size: 14px;
      color: #777;
    }
      /*.mega-menu .box li a:before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 5px;
	height: 5px;
	margin-top: -2px;
	background-color: #ddd;
}*/
      .mega-menu .box li a:hover {
        color: #4ab2f1;
      }

      .mega-menu .box li a.vendor {
        padding: 0;
      }

        .mega-menu .box li a.vendor:before {
          display: none;
        }

    .mega-menu .dropdown.fullWidth {
      width: 100%;
      margin-inline: auto;
      left: 50%;
      transform: translateX(-50%);
    }

    .mega-menu .fullWidth.categories .row {
      overflow: hidden;
    }

    .mega-menu .fullWidth.categories .box {
      min-width: 0;
      padding: 10px 5px;
    }

      .mega-menu .fullWidth.categories .box .picture > a {
        display: block;
        line-height: 0;
        font-size: 0;
        overflow: hidden;
      }

      .mega-menu .fullWidth.categories .box .picture img {
        max-width: 100%;
      }

      .mega-menu .fullWidth.categories .box .title {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0;
        z-index: 1;
      }

        .mega-menu .fullWidth.categories .box .title a {
          display: block;
          padding: 10px;
        }

    .mega-menu .fullWidth.manufacturers,
    .mega-menu .fullWidth.vendors {
      padding: 25px;
    }

      .mega-menu .fullWidth.manufacturers .box,
      .mega-menu .fullWidth.vendors .box {
        min-width: 0;
        padding: 10px;
        text-align: center;
      }

        .mega-menu .fullWidth.manufacturers .box .title,
        .mega-menu .fullWidth.vendors .box .title {
          position: absolute;
          bottom: 10px;
          left: 0;
          right: 0;
          line-height: 1.2;
          height: 24px;
          overflow: hidden;
        }

        .mega-menu .fullWidth.manufacturers .box .picture a:before,
        .mega-menu .fullWidth.vendors .box .picture a:before {
          display: none;
        }

      .mega-menu .fullWidth.manufacturers .manufacturer,
      .mega-menu .fullWidth.vendors .vendor {
        padding: 0;
      }

      .mega-menu .fullWidth.manufacturers .picture,
      .mega-menu .fullWidth.vendors .picture {
        margin-bottom: 38px;
      }

        .mega-menu .fullWidth.manufacturers .picture .manufacturer,
        .mega-menu .fullWidth.vendors .picture .vendor {
          display: block;
          position: relative;
          border: 1px solid #eee;
          margin: 0 0 15px;
        }

        .mega-menu .fullWidth.manufacturers .picture img,
        .mega-menu .fullWidth.vendors .picture img {
          max-width: 100%;
          max-height: 100%;
        }

      .mega-menu .fullWidth.manufacturers .title,
      .mega-menu .fullWidth.vendors .title {
        margin: 0;
        font-size: 20px;
        text-align: center;
      }

        .mega-menu .fullWidth.manufacturers .title:hover,
        .mega-menu .fullWidth.vendors .title:hover {
          color: #4ab2f1;
        }
  }

  .mega-menu > li > a, .mega-menu > li > span {
  padding: 15px 17px;
  font-size: 17px;
  margin-inline: 2px;
}

body > div.master-wrapper-page > div.master-wrapper-content > ul.mega-menu > li:nth-child(1) > a > span {
  color: #DE2D26;
}


.mega-menu {
    position:static;
}

/* Vertical Menu */

@media all and (min-width: 1001px) {
    .mega-menu.vertical {
        padding-left: 15px;
        text-align: left;
    }
    .mega-menu.vertical > li {
        display: block;
    }
    .mega-menu.vertical > li > a,
    .mega-menu.vertical > li > span {
	    padding: 10px 0;
    }
    .mega-menu.vertical > li > a:before, 
    .mega-menu.vertical > li > span:before {
        display: none;
    }
}

body > div.master-wrapper-page > div.master-wrapper-content > ul.mega-menu > li:nth-child(3) > div > div > div > div > div > div > a > span {
    color: black;
}

body > div.master-wrapper-page > div.master-wrapper-content > ul.mega-menu > li> div > div {
  width: 100%;
  background-color: #F7F7F7;
}

body > div.master-wrapper-page > div.master-wrapper-content > ul.mega-menu > li > div > div > div {
    width: 100%;
    padding-block: 10px;
    margin-inline: auto;
}

body > div.master-wrapper-page > div.master-wrapper-content > ul.mega-menu > li > div > div > div:first-child {
  padding-top: 70px;
}

  body > div.master-wrapper-page > div.master-wrapper-content > ul.mega-menu > li > div > div > div:last-child {
    padding-bottom:70px;
  
  }
    body > div.master-wrapper-page > div.master-wrapper-content > ul.mega-menu > li > div > div > div {
    background-color: #f7f7f7;
  }



body > div.master-wrapper-page > div.master-wrapper-content > ul.mega-menu > li > div > div > div > div > div > div > a {
    padding: 0 !important;
    color: black;
    font-size: 20px;
    font-weight: 600;
}

.subcategory-item > a > span {
  padding: 0 !important;
  color: rgba(89, 89, 89, 1);
  font-weight: 600;
}


.with-subcategories.hover {
    color: black !important;
    border-bottom: 3px solid black;
}

body > div.master-wrapper-page > div.master-wrapper-content > ul.mega-menu > li > div > div > div > div > ul > li > a {
  padding: 7px 0 !important;
  font-weight: 500;
  color: #595959;
}


body > div.master-wrapper-page > div.master-wrapper-content > ul.mega-menu > li> div > div > div > div> ul > li> a.hover {
    padding:7px 0 !important;
}

@media(min-width: 1440px) {
  .mega-menu .dropdown.fullWidth {
    width: 100% !important;

  }
}
