﻿/*
* Copyright 2014 Seven Spikes Ltd. All rights reserved. (http://www.nop-templates.com)
* http://www.nop-templates.com/t/licensinginfo
*/

.mega-menu {
	position: relative;
	z-index: 1001;
	margin: 0 -1px; /*border width compensation*/
}
.mega-menu > li {
    position: static !important;
	/*because of fullWidth dropdowns*/
}
.mega-menu .dropdown {
    display: none;
    position: absolute;
	z-index: 1;
    border-top: 1px solid #aaa;
    box-shadow: 0 1px 5px rgba(0,0,0,0.15), inset 0 0 0 1px #ddd;
    overflow: hidden;
    background-color: #fff;
    padding: 10px;
}
.mega-menu .dropdown.fullWidth {
	left: 0;
	width: 100%;
}
.mega-menu .dropdown.active {
	display: block;
}

/* ROWS AND BOXES */

.mega-menu .row {
	overflow: hidden;
}
.mega-menu .box {
	float: left;
	padding: 0 10px 15px;
}
.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.285%;
}
.mega-menu .boxes-8 .box {
    width: 12.5%;
}

.mega-menu .title {
    display: block;
    margin: 0 0 12px;
    border-bottom: 1px solid #bbb;
    padding: 8px 2px;
	font-weight: bold;
    color: #222;
	text-transform: uppercase;
}
.mega-menu .picture {
	float: left;
	overflow: hidden;
	text-align: center;
	font-size: 0;
}
.mega-menu .picture a {
	display: block;
}

.mega-menu .categories .picture {
	width: 40%;
}
.mega-menu .manufacturers .picture,
.mega-menu .vendors .picture {
	width: 100%;
}

.mega-menu .subcategories {
	margin-left: 45%;
}
.mega-menu .subcategories li {
	margin: 10px 0 0;
}
.mega-menu .subcategories li:first-child {
	margin-top: -2px;
}
.mega-menu .subcategories a {
	display: inline-block;
	background: url('images/arrow.png') left center no-repeat;
	padding: 0 0 0 12px;
	color: #333;
}
.mega-menu .subcategories a:hover {
	text-decoration: underline;
}
.mega-menu a.view-all {
	background: none !important;
	font-size: 12px;
	font-weight: bold;
	color: #222;
}



@media all and (max-width: 1024px) {

.mega-menu {
	display: none !important;
}
.mega-menu-responsive {
	display: none; /*menu is closed by default*/
}
.back-button {
    display: none !important; /*back button is not used*/
}
	
}

@media all and (min-width: 1025px) {

.header-menu ul.mega-menu-responsive {
	display: none !important; /*prefixed to override theme css*/
}
.back-button {
    display: none;
}
	
}