﻿.menu-title {
  text-align: center;
}

.mpg-menu, .header-menu .menu-title {
  display: none;
}

.mega-menu-responsive {
  display: block !important;
}

.top-menu {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.top-menu {
  -webkit-perspective: 600px;
  -moz-perspective: 600px;
  perspective: 600px;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.top-menu > li > a {
    padding: 12px 15px;
    font-size: 14px;
    color: #666666;
    font-weight: 700;
    text-decoration: none;
    -webkit-transition: color .2s ease;
    -o-transition: color .2s ease;
    -ms-transition: color .2s ease;
    transition: color .2s ease;
  }

#main-menu {
  display: none;
}

.top-menu > li > a {
  color: white;
}

#main-menu {
  position: absolute;
  background: #303030;
  left: 0px;
  width: 221px;
  height: 418px;
  z-index: 100;
  padding-top: 10px;
}

.header-menu {
}

.mpg-menu a img {
  top: 3px;
  left: -2px;
  position: relative;
}

@media all and (min-width: 1281px) {

  .mpg-menu .dropdown.fullWidth {
    width: 1200px;
  }
}

@media all and (min-width: 1025px) {

  .menu-title,
  .close-menu {
    display: none;
  }

  /* MAIN PANEL & DROPDOWN*/

  .mpg-menu {
    position: relative;
    z-index: 1001;
    display: block;
    height: 0px;
  }

  .mega-menu-responsive {
    display: none !important;
  }

  .mpg-menu .dropdown {
    display: none;
    position: absolute;
    margin: 5px 0 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    background-color: #fff;
    overflow: hidden;
    z-index: 3; /*necessary of there is a :before or :after with another z-index*/
    color: #333;
  }

    .mpg-menu .dropdown.fullWidth {
      right: 0;
      width: 980px;
    }

    .mpg-menu .dropdown.active {
      display: block;
    }

  .mpg-menu .row {
    position: relative;
    overflow: hidden;
  }

  .categories.fullWidth .row:before,
  .manufacturers.fullWidth .row:before,
  .vendors.fullWidth .row:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 40px;
    background: #c03;
  }

  .mpg-menu .box,
  .mpg-menu .empty-box {
    float: left;
    background-color: #fff;
  }

  .mpg-menu .boxes-1 .box {
    width: 100%;
  }

  .mpg-menu .boxes-2 .box {
    width: 50%;
  }

  .mpg-menu .boxes-3 .box {
    width: 33.333%;
  }

  .mpg-menu .boxes-4 .box {
    width: 25%;
  }

  .mpg-menu .boxes-5 .box {
    width: 20%;
  }

  .mpg-menu .boxes-6 .box {
    width: 16.666%;
  }

  .mpg-menu .boxes-7 .box {
    width: 14.28%;
  }

  .mpg-menu .boxes-8 .box {
    width: 12.5%;
  }

  .categories.fullWidth .box:before,
  .categories.fullWidth .empty-box:before {
    content: "";
    position: absolute;
    top: 40px;
    left: 0;
    width: 0;
    height: 1200px;
    border-right: 1px dotted #ccc;
  }

  /* BOX TITLE */

  .mpg-menu .title {
    height: 40px;
    border-left: 1px solid rgba(0,0,0,0.25);
    background-color: #c03;
    padding: 12px;
    font-size: 14px;
    text-transform: uppercase;
    color: #fff;
  }

  .mpg-menu .box:first-child .title {
    border-left: none;
  }

  .mpg-menu .empty-box:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 40px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
  }

  .mpg-menu .manufacturers .box .picture,
  .mpg-menu .vendors .box .picture {
    height: 100%;
    border-left: 1px dotted #ccc;
  }

  .mpg-menu .manufacturers .box:first-child .picture,
  .mpg-menu .vendors .box:first-child .picture {
    border-left: none;
  }

  .categories.fullWidth .box ul {
    margin: 0 0 0 110px;
    border: none;
    padding: 10px 0;
  }

  .categories.fullWidth .box li {
    border: none;
  }

  .mpg-menu .box li a {
    display: block;
    padding: 10px 12px;
    font: normal 12px 'eurostile';
    color: #333;
  }

  .categories.fullWidth .box li a {
    padding: 6px 12px;
    font: normal 11px Arial, Helvetica, sans-serif;
    text-transform: uppercase;
  }

  .mpg-menu .box li a:hover {
    color: #c03;
  }

  .mpg-menu li a.view-all {
    font-weight: bold;
    background: none;
  }


  .mpg-menu .picture {
    overflow: hidden;
    text-align: center;
  }

    .mpg-menu .picture a {
      display: block;
    }

  .mpg-menu .categories .picture {
    float: left;
    width: 80px;
    height: 80px;
    margin: 15px;
  }



  .mpg-menu .topic-wrapper {
    overflow: hidden;
  }

    .mpg-menu .topic-wrapper p {
      padding: 15px;
      font-size: 11px;
      line-height: 20px;
    }

    .mpg-menu .topic-wrapper strong {
      display: block;
      border-bottom: 1px solid #999;
      padding-bottom: 5px;
      font-size: 14px;
      text-transform: uppercase;
      color: #222;
    }
}

@media all and (max-width: 1024px) {
  .dropdown .topic-wrapper {
    display: none;
  }
}

@media (min-width: 941px) {
  .mpg-menu > li {
    float: none !important;
    padding: 5px 0 !important;
    height: 31px !important;
  }

    .mpg-menu > li > a, .mpg-menu > li > span {
      text-transform: none !important;
      text-shadow: none !important;
      color: white;
      font-family: 'Open Sans', sans-serif;
      font-size: 13px;
      font-style: normal;
      font-weight: bold;
    }

  .mpg-menu, .mpg-menu .sublist {
    border: 0 !important;
    border-radius: 0px !important;
  }

    .mpg-menu .sublist {
      overflow-y: hidden;
      overflow-x: hidden;
    }

    .mpg-menu > li:hover {
      background: none !important;
    }

    .mpg-menu > li a:hover {
      color: #0093BD;
    }

    .mpg-menu > li > .sublist {
      top: 0 !important;
      left: 222px !important;
      height: 418px;
      width: 758px;
      background-color: rgba(240, 240, 240, 0.95) !important;
      background-image: url('../img/submenu-background.png') !important;
    }

  #main-menu .sublist .subsublist {
    display: block;
    position: inherit;
    top: 0;
    left: 0;
    background: inherit;
    box-shadow: none;
  }

    #main-menu .sublist .subsublist a {
      font-weight: normal;
      padding-top: 0;
      padding-bottom: 0;
    }


  #main-menu .sublist .plus-button {
    background: inherit;
  }

  .plus-button {
    /*background: url('../img/arrow-right.png') right center no-repeat;*/
    display: block !important;
    height: 34px;
    margin-top: -34px;
    width: 95%;
  }

  .mpg-menu li ul a {
    font-weight: bold;
    padding-bottom: 0 !important;
  }

  .mpg-menu .all-link {
    font-weight: bold !important;
  }
}
