﻿/*
* 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;
}

li.has-sublist:hover .sublist-wrap {
    display: block;
}


@media all and (max-width: 1000px) {

    .mega-menu {
        display: none !important;
    }

    /*Second mobile menu disable*/
    div#second-menu .menu-title {
        display: none;
    }


    /* menu button */
    div.responsive-nav-wrapper .menu-title {
        display: initial;
        width: 35px;
        margin: 0 0 10px;
        max-width: 100%;
        background: #0057ad url('images/menu-icon.png') center center no-repeat;
        padding: 19.5px 0;
        font-size: 15px;
        font-weight: bold;
        color: #fff;
        text-transform: uppercase;
        cursor: pointer;
        float: left;
    }

    .menu-title span {
        display: none;
    }

    /* responsive menu */
    .noshow {
        color: #fff;
        z-index: -1000;
        font-size: 1px;
        line-height: 15px;
    }

    .mega-menu-responsive ~ .master-column-wrapper {
        margin-top: 40px !important;
    }

    .mega-menu-responsive {
        display: none;
        width: 600px;
        max-width: 100%;
        margin: 25px auto 40px;
        background-color: #fff;
    }

        .mega-menu-responsive > li {
            position: relative;
            margin: 1px 0;
            background-color: #333;
        }

            .mega-menu-responsive > li > a,
            .mega-menu-responsive > li > span {
                display: block;
                padding: 16px 20px !important;
                line-height: 17px;
                color: #ddd;
                font-size: 16px;
                text-transform: uppercase;
                position: relative;
                z-index: 1;
                border-bottom: 1px solid #282322;
            }

    li.menu-hl {
        background: #555;
    }

    .plus-button {
        position: absolute;
        top: 0;
        right: 0;
        width: 55px;
        height: 55px;
        border-left: 1px solid #fff;
        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;
        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 */

    .doublewidth {
        width: 300px !important;
    }

    .fullwidth {
        width: 1000px !important;
    }

    .mega-menu {
        position: relative;
        background-color: #0057ad;
        color: #eee;
        text-align: left;
        margin: 0 -3000px 0;
        padding: 0 3000px 0;
        font-size: 0;
        /*
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #f1f1f1;
	*/
    }

        .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: 12px;
                line-height: 1;
                font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
                text-transform: uppercase;
                text-decoration: none;
            }

                .mega-menu > li > a:before,
                .mega-menu > li > span:before {
                    display: none;
                    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 {
                color: #fff;
               cursor: pointer;
               background-color: #0057ad;
            }



        /* sublist */

        .mega-menu .sublist-wrap {
            display: none;
            position: absolute;
            width: 150px;
            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;
            transition: all 0.1s ease 0.3s;
        }

            .mega-menu .sublist-wrap.active {
                display: block;
            }

        .mega-menu .sublist li {
            position: relative;
        }

            .mega-menu .sublist li a {
                display: block;
                position: relative;
                padding: 5px 0 5px 20px;
                font-size: 12px;
                color: #444;
            }

                .mega-menu .sublist li a:before {
                    display: none;
                    /*
    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: #fff;
            box-shadow: 0 1px 2px rgba(0,0,0,0.2);
            border-top: 1px solid #f1f1f1;
            z-index: 1;
        }

            .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;
            height: 40px;
            font-size: 18px;
            margin: 0 0 10px;
            padding: 0 0 20px 0;
            background: url(/Themes/Edco/Content/images/title-decoration.png)no-repeat center bottom;
        }


            .mega-menu .box .title.double-line {
                height: 60px;
            }

    .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;
                }
}

.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: #0057ad;
    }

    .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: #0057ad;
        }

/* Vertical Menu */

@media all and (min-width: 1001px) {
    /*li.has-sublist:hover .sublist-wrap.fullwidth,*/
    .fullwidth {
        
        left: 0;
        margin-left: 3000px;
    }
    .openright {
        left: unset !important;
        margin-left: unset !important;
        right: 3200px;
    }
    .mega-menu > li > a,
    .mega-menu > li > span {
        padding: 15px !important;
    }
}

@media all and (min-width: 1500px) {

    .mega-menu > li > a,
    .mega-menu > li > span {
        font-size: 15px;
    }
}
