﻿/*
* Copyright 2014 Seven Spikes Ltd. All rights reserved. (http://www.nop-templates.com)
* http://www.nop-templates.com/t/licensinginfo
*/

.search-page-body .page-body .search-input {
    clear: both;
}

/* Categories custom dropdown for LIST view of the categories */
.mega-menu .customCategoryList .ged {
    -moz-column-count: 3;
    -webkit-column-count: 3;
    column-count: 3;
}

.mega-menu .customCategoryList .sublist-wrap {
    padding: 20px;
    background: #222;
    width: 690px;
}

.mega-menu .customCategoryList .sublist-wrap div > ul {
    margin: 0;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid-column;
    display: table;

    -webkit-margin-before: 0px;
    /*-webkit-margin-after: 10px;*/
}

.mega-menu .customCategoryList ul .ged li {
    width: 190px;
}

.mega-menu .customCategoryList ul .ged li a:hover {
    background: #000;
    color: #B2B6B8;
}

.mega-menu .customCategoryList ul .ged ul li {
    width: 190px;
    margin: 0 0 7px 0;
    font-size: 13px;
    text-transform: uppercase;
    line-height: 24px;
    background: #000;
}

.mega-menu .customCategoryList ul .ged ul li a {
    width: 186px;
    color: #FFF;
    background: #000;
    margin: 0;
    text-transform: uppercase;
    padding: 0 2px;
    line-height: 24px;
    min-height: 24px;
    height: inherit;
}

.mega-menu .customCategoryList ul .ged ul li ul li {
    width: 191px;
    margin: 0;
    line-height: 18px;
    text-transform: none;
    background: #222;
}

.mega-menu .customCategoryList ul .ged ul li ul li a {
    width: 100%;
    margin: 0;
    line-height: 20px;
    text-transform: none;
    font-size: 13px;
    padding: 0 2px;
    background: #222;
    min-height: 18px;
}


/******/

body .navHolder {
    width: 980px;
    margin: 0 auto;
}

body .mega-menu {
    display: inline-block;
    text-align: left;
    height: 27px;
    padding: 10px 0 0 0;
    z-index: 2;
    margin: 33px 0px 25px 0;
}

body .mega-menu li a {
    font-size: 14px;
}

body .mega-menu li > a:hover {
    background: #222;
}

body .mega-menu li:hover a {
    background: #222;
}

body .mega-menu li:hover ul li a {
    background: transparent;
}

body .mega-menu li:hover a {
    color: #B2B6B8;
}

body .mega-menu > li {
    display: inline-block;
    font-size: 11px;
    margin: 0 0 0 -1px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

body .mega-menu > li:first-child a {
    border-left: 1px solid #000;
}

body .mega-menu > li a {
    display: inline;
    line-height: 14px;
    margin: 0;
    padding: 4px 8px 4px 8px;
    border-right: 1px solid #313131;
}

body .mega-menu li ul li .sublist-wrap {
    position: absolute;
    width: 200px;
    top: 0;
    left: 215px;
    background: #000;
    padding: 0;
    border: 1px solid #313131;
    display: none;
    z-index: 999;
    background: url(../content/h1.png) top right repeat-y #222;
}

body .mega-menu .sublist-wrap .sublist-wrap {
    top: 0 !important;
    left: 98% !important;
}

body .mega-menu .sublist-wrap .sublist-wrap li a {
    font-size: 11px;
    left: 1px;
}

body .mega-menu li ul li ul li {
    left: -1px;
    width: 200px;
}

body .mega-menu li .sublist-wrap {
    position: absolute;
    width: 220px;
    top: 19px;
    left: 0;
    background: #000;
    padding: 5px 0;
    border: 1px solid #313131;
    display: none;
    z-index: 999;
    background: url(../content/h1.png) top right repeat-y #222;
    border-top: 1px solid #313131;
}

body .mega-menu li ul li {
    float: left;
    display: inline;
    width: 219px;
    margin: 0 0 1px 0;
    font-size: 13px;
    list-style-type: none;
}

body .mega-menu li ul li a {
    float: left;
    display: inline;
    width: 200px;
    margin: 0;
    text-transform: uppercase;
    padding: 5px 10px;
    border: 0;
}

body .mega-menu li ul li a {
    background: none;
    border: 0;
    padding: 5px 10px;
}

body .mega-menu .sublist li a {
    position: relative;
    font-size: 12px;
    color: #fff;
    padding: 5px 20px 5px 10px;
}

.header-menu,
.back-button {
    display: none !important;
}

.mega-menu-responsive .plus-button:before {
}

.mega-menu-responsive .sublist-wrap {
    width: 100% !important;
}


.mega-menu-responsive .back-button {
    position: absolute !important;
    display: block !important;
    top: 0px;
    right: 1px;
    color: transparent;
    z-index: 1000;
    height: 53px;
    width: 53px;
}


@media all and (max-width: 1000px) {
    .mega-menu {
        display: none !important;
    }

    /* menu button */

    .menu-title {
        width: 600px;
        margin: 0 auto 40px;
        max-width: 100%;
        background: #222222 url(images/menu-icon.png) right center no-repeat;
        padding: 15px;
        font-size: 15px;
        font-weight: bold;
        color: #fff;
        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 {
        display: none;
        width: 600px;
        max-width: 100%;
        margin: -40px auto 40px;
        background-color: transparent !important;
    }

        .mega-menu-responsive > li {
            position: relative;
            margin: 1px 0;
            background-color: #313131;
        }

            .mega-menu-responsive > li > a,
            .mega-menu-responsive > li > span {
                display: block;
                min-height: 55px;
                padding: 18px;
                font-size: 15px;
                color: #fff;
            }

    .plus-button {
        position: absolute;
        top: 0;
        right: 0;
        width: 55px;
        height: 55px;
        border-left: 1px solid #8c8c8c;
        background: url(images/toggle-black.png) center no-repeat;
        padding: 15px;
        font-size: 15px;
        font-weight: bold;
        color: #fff;
        text-transform: uppercase;
        cursor: pointer;
    }

    .products-plus-button {
        position: absolute;
        top: 0;
        right: 0;
        width: 55px;
        height: 55px;
        border-left: 1px solid #8c8c8c;
        background: url(images/toggle-black.png) center no-repeat;
        padding: 15px;
        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;*/
        background-color: #313131;
        padding: 5px 0;
    }

        .mega-menu-responsive .sublist li {
            position: relative;
            margin: 1px 0 1px 20px;
        }

            .mega-menu-responsive .sublist li a {
                display: block;
                padding: 15px 65px 15px 18px !important;
                font-size: 15px;
            }

        .mega-menu-responsive .sublist .plus-button {
            height: 49px;
        }
}


@media all and (min-width: 1001px) {

    /* RESETS */

    .menu-title,
    .plus-button,
    .mega-menu-responsive {
        display: none !important;
    }

    /* main level */

    .mega-menu {
        position: relative;
        z-index: 5;
        color: #555;
        text-align: center;
        font-size: 0;
        text-transform: uppercase;
    }

        .mega-menu:after {
            display: block;
            clear: both;
            content: "";
        }

        .mega-menu > li {
            display: inline-block;
            text-decoration: none;
            color: #FFF;
            outline: none;
        }

            .mega-menu > li > a,
            .mega-menu > li > span {
                position: relative;
                display: block;
                /*font-size: 17px;*/
                line-height: 1;
                padding: 29px 26px;
                font-size: 14px;
            }
    /*.mega-menu > li > a:before,
.mega-menu > li > span:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 1px;
	height: 25px;
	background: #ddd;
	margin: auto;*/
}

.mega-menu > li:first-child > a:before,
.mega-menu > li:first-child > span:before {
    display: none;
}

.mega-menu > li:hover > a,
.mega-menu > li:hover > span {
    cursor: pointer;
    color: #B2B6B8;
}



/* sublist */

.mega-menu .sublist-wrap {
    display: none;
    position: absolute;
    width: 200px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    background-color: #222;
    padding: 10px 0;
    text-align: left;
    border-top: 1px solid #313131;
    z-index: 100;
}

    .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;*/
        color: #fff;
    }

    .mega-menu .sublist li:hover > a {
        color: #B2B6B8;
        background-color: #000;
        width: 88%;
    }

.mega-menu .sublist-wrap .sublist-wrap {
    top: -10px;
    left: 100% !important;
}



/* dropdown */

.mega-menu .dropdown {
    display: none;
    position: absolute;
    text-align: left;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    border-top: 1px solid #f1f1f1;
    z-index: 100;
}

    .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 14px;
    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 {
    left: 0;
    width: 100%;
}

.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;
        background: rgba(255,255,255,.85);
        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;
        }

}


@media all and (min-width: 1367px) {

    .mega-menu > li > a,
    .mega-menu > li > span {
    }
}

/* 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;
                }
}
