﻿/*
* 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;
}


@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: #4ab2f1 url('images/menu-icon.png') right center no-repeat;
	padding: 15px;
	font-size: 15px;
	font-weight: bold;
	color: #fff;
	text-transform: uppercase;
	cursor: pointer;
    height: 50px;
    margin-top: 120px
}*/
    .menu-title span {
        display: block;
    }

    /* responsive menu */

    .mega-menu-responsive ~ .master-column-wrapper {
        margin-top: 40px !important;
    }

    .mega-menu-responsive {
        display: block;
        width: 600px;
        max-width: 100%;
        margin: -40px auto 40px;
        background-color: transparent !important;
    }

    .mobile-menu > li {
        position: relative;
        margin: 1px 0;
        background-color: #f6f6f6;
    }

    .mobile-menu .menu-item-has-children {
        display: none;
        margin:auto !important;
    }

    .mobile-menu > li > a,
    .mobile-menu > li > span {
        display: block;
        min-height: 55px;
        padding: 18px;
        font-size: 15px;
        color: #555;
    }

    .plus-button {
    position: absolute;
    right: -48px;
    bottom: -4px;
    z-index: 1;
    float: right;
    width: 40px;
    height: 40px;
    border: 8px solid #fff;
    border-radius: 50%;
    background: #ccc url(/Themes/Element/Content/img/arrow-white.png) center no-repeat;
    cursor: pointer;
    }

    .mobile-menu .sublist-wrap {
        display: none;
    }

        .mobile-menu .sublist-wrap.active {
            display: block;
        }

    .mobile-menu .sublist {
        background-color: #fff;
        padding: 5px 0;
        padding-left:0 !important;
    }

        .mobile-menu .sublist li {
            position: relative;
            margin: 1px 0 1px 0px;
        }

            .mobile-menu .sublist li a {
                display: block;
                padding: 5px !important;
                font-size: 13px;
            }

        .mobile-menu .sublist .sublist li a {
            display: block;
            font-size: 14px;
            padding: 0 !important;
            font-weight: normal;
            color: #50485b;
        }
        #book-mobile-menu .mobile-menu ul li a span{
            padding-left:0 !important;
            padding-right:0 !important;
        }
        #book-mobile-menu .mobile-menu ul ul ul {
            padding-top:0 !important;
        }
        .mobile-menu .sublist .plus-button {
            height: 35px;
            top: 0;
            right:5px;
        }
     .sublist-wrap.active .sublist li {
         /*background:#dc0202 !important;*/
         padding-left:0 !important;
     }
     .sublist-wrap.active .sublist-wrap.active .sublist li{
         background:white !important;
     }
     .sublist-wrap.active .sublist-wrap.active .sublist li a {
         color: #ccc !important;
         padding-left:15% !important;
         font-size:12px;
     }
      .sublist-wrap.active .sublist li a{
          color:white !important;
          padding-left:10% !important;
      }
}


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

    /* RESETS */

    .menu-title,
    .plus-button,
    .mega-menu-responsive {
        display: none !important;
    }

    /* main level */
    .header-top .mega-menu {
        margin: 0;
        float: left;
    }

    .pull-right .mega-menu {
        float: right;
    }

    .header-top .mega-menu li a {
        font-size: 14px;
        /*font-family: merriweather;*/
    }

    .mega-menu {
        position: relative;
        z-index: 5;
        /*border-top: 1px solid #ddd;
    border-bottom: 1px solid #f1f1f1;*/
        color: #555;
        text-align: center;
        /*margin: 8.5% 0 0px;*/
        position: absolute;
        bottom: 0;
        font-size: 0;
    }

        .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;
                padding: 29px 18px;
            }

                .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: #d03335;
                cursor: pointer;
            }



        /* sublist */
        .mega-menu .view-all:hover {
            color: #d03335;
            display: inline-block;
        }

        .mega-menu .sublist-wrap {
            display: none;
            position: absolute;
            width: 250px;
            box-shadow: 0 1px 2px rgba(0,0,0,0.2);
            background-color: #fff;
            padding-top: 8px;
            text-align: left;
            border-top: 1px solid #f1f1f1;
            z-index: 1;
            border-bottom: 4px solid #ca181a;
            margin-top: 1%;
        }

            .mega-menu .sublist-wrap.active {
                display: block;
            }

        .mega-menu #no-subcat {
            height: 60px;
            display: inline-block;
            width: 100%;
        }

        .mega-menu .sublist li {
            position: inherit;
        }

        .mega-menu .sublist .has-sublist .sublist .sublist-wrap {
            display: none;
        }

        .mega-menu .sublist .has-sublist .sublist-wrap .sublist #no-subcat {
            height: auto;
            z-index: 9999999999;
            display: block;
        }

        .mega-menu .sublist .has-sublist {
            height: 60px;
        }

            .mega-menu .sublist .has-sublist .sublist .has-sublist {
                height: auto;
            }

                .mega-menu .sublist .has-sublist .sublist .has-sublist i {
                    display: none;
                }

        .mega-menu .sublist .link {
            background: #ddd;
            margin-top: -11px;
        }

            .mega-menu .sublist .link a {
                padding: 10px 10px 10px 10px;
                text-align: center;
            }

        .mega-menu .sublist li:hover {
            background-color: #dc0202 !important;
        }

            .mega-menu .sublist li:hover .menu-ico {
                background-position-x: -25px;
                margin-left: 23px;
            }

            .mega-menu .sublist li:hover .with-subcategories span {
                color: white;
            }


            .mega-menu .sublist li:hover .lastLevelCategory span {
                color: white;
            }

        .mega-menu .lastLevelCategory:hover span {
            color: white !important;
        }

        .mega-menu .sublist li :hover .sublist .lastLevelCategory span {
            color: #444;
        }

        .mega-menu .sublist li:hover .with-subcategories {
            color: white;
        }

        .mega-menu .sublist a:hover {
            color: white;
        }

        .mega-menu .sublist .col-md-6:hover {
            background-color: #dc0202;
        }


        .mega-menu .sublist li .col-md-6 {
            width: 100% !important;
        }

        .mega-menu .sublist .sublist li .col-md-6 {
            width: 50% !important;
        }

        .mega-menu .sublist .sublist img {
            display: none;
        }

        .mega-menu .sublist .sublist span {
            font-size: 11px;
            color: black !important;
        }

        .mega-menu .sublist .sublist li:hover span {
            color: white !important;
        }

        .mega-menu .has-sublist img {
            /*width: 25% !important;*/
            float: left;
        }

        .mega-menu .active-link {
            background: #dc0202 !important;
        }

        .mega-menu .sublist .active-link a {
            color: white;
        }

        .mega-menu .home-ico img {
            width: 15% !important;
            margin-top: -3%;
            margin-right: 2%;
        }

        .mega-menu .with-dropdown-in-grid .home-ico {
            background: #dc0202;
            color: white;
            padding-bottom: 10px;
            padding-top: 8px;
            padding-left: 10px;
            padding-right: 10px;
            margin-top: 25px;
            font-size: 18px;
            font-weight: bold;
        }

        .mega-menu .sublist li a {
            display: block;
            position: relative;
            padding: 10px 20px 10px 0px;
            font-size: 14px;
            color: #444;
            /*font-family: merriweather;*/
            font-weight: bold;
        }

        .mega-menu .sublist .sublist .menu-ico {
            background-image: none !important;
        }

        .mega-menu .sublist .sublist .lastLevelCategory span {
            padding-left: 10px;
        }

        .mega-menu .sublist .sublist .view-all span {
            padding-left: 10px;
        }

        .mega-menu .sublist .sublist .view-all {
            float: left;
        }

        .mega-menu .sublist .sublist li a span {
            padding-left: 10px;
        }

        .mega-menu .sublist li a span {
            padding-left: 70px;
            padding-top: 10px;
            display: inline-block;
        }

        .mega-menu .sublist .sublist li a span {
            padding-top: 0;
        }

        .mega-menu .menu-ico {
            height: 60px;
            width: 63px;
            position: absolute;
            display: inline-block;
            background-position-x: 28px;
            background-position-y: 11px;
            /*margin-left: -7%;*/
            margin-top: -10px;
            z-index: 999999;
        }

        /*.mega-menu has-sublist:hover {
            background-position-x: -20px;
            margin-left: 8px;
            
        }*/


        .mega-menu .sublist .link a {
            font-size: 12px !important;
        }
        /*.mega-menu .sublist  #firstlink a {
            padding-top:2px;
            padding-bottom:1px;

         }*/
        /*.mega-menu .sublist .sublist li a {
            width: 30%;
            font-family: merriweather;
        }
        .mega-menu .sublist-wrap .sublist-wrap {
            width:300%;
        }*/

        .mega-menu .sublist li a:before {
            content: "";
            position: absolute;
            top: 17px;
            left: 15px;
            width: 5px;
            height: 5px;
            background-color: #ddd;
            display: none;
        }

        .mega-menu .sublist li:hover > a {
            /*background-color: #f6f6f6;*/
        }

        .mega-menu .sublist li:hover .view-all {
            height: auto;
        }

        .mega-menu .sublist-wrap .sublist-wrap {
            top: -10px;
            left: 100% !important;
            width: 250%;
            /*height: 803%;*/
        }



        /* 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;
            min-width: 255px;
            padding: 15px;
            position: relative;
        }

            .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 {
            width: 25%;
            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 {
                width: 20%;
                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 {
        padding: 29px 31px;
        font-size: 18px;
        padding-left: 0;
        /*font-family: merriweather;*/
    }

    .header-top .mega-menu > li > a,
    .header-top .mega-menu > li > span {
        padding: 3px 15px;
        border-right: 1px dotted;
    }
}

/* 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;
                }
}
