﻿/*
* Copyright 2014 Seven Spikes Ltd. All rights reserved. (http://www.nop-templates.com)
* http://www.nop-templates.com/t/licensinginfo
*/

/*=====================================================
    
    RESPONSIVE

=====================================================*/

@media all and (min-width: 240px) {

    .menu-title {
        text-align: center;
    }

    .mega-menu,
    .header-menu .menu-title,
    .dropdown {
        display: none;
    }

}

@media all and (max-width: 1000px) {

    .dropdown .topic-wrapper {
        display: none;
    }
}

/*=====================================================
    
    DESKTOP

=====================================================*/

@media all and (min-width: 1001px) {
    .menu-title,
    .close-menu {
        display: none;
    }

    /* MAIN PANEL & DROPDOWN*/

    .mega-menu {
        position: relative;
        z-index: 1001;
        display: inline-block;
    }

    .mega-menu-responsive {
        display: none !important;
    }

    .mega-menu .dropdown {
        position: absolute;
        box-shadow: 0 1px 3px rgba(0,0,0,0.3);
        overflow: hidden;
        background-color: rgba(255, 255, 255, 0.95);
        padding: 5px 0 0;
        z-index: 3;
        margin-top: -4px;
    }

        .mega-menu .dropdown:before {
            content: " ";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: #e87772;
        }

    .mega-menu .dropdown.active {
        display: block;
    }

        .mega-menu .dropdown.fullWidth {
            left: 30%;
            margin-left: -407px;
            width: 1170px;
        }

    li.mega-menu-sale {
    color: #ff8f00 !important;
}


    /* ROWS AND BOXES */

    .mega-menu .row-wrapper {
        display: table;
        width: 100%;
        padding: 11px;
    }

    .mega-menu .row {
        overflow: hidden;
        display: inline-table;
        width: 120%;
    }

        .mega-menu .row:first-child {
            border-top: 0;
        }

    .dropdown .box {
        float: left;
        padding: 15px 25px 20px;
    }

    .categories.fullWidth .box {
        width: 24%;
        height: 100%;
        display: table-cell;
        float: none;
        padding: 15px 15px 25px 13px;
    }

    .categories.fullWidth .row .box:first-child {
        border-left: 0;
    }

    .categories.fullWidth .row:last-child .box {
        border-bottom: 0;
    }

    .categories .box,
    .manufacturers .box {
    }

    .mega-menu .title {
        margin: 0 0 10px;
        font-size: 21px;
        color: #000;
        font-weight: 900;
        text-align: left;
    }

        .mega-menu .title strong {
            font-weight: normal;
        }

        .mega-menu .title a {
            color: #000;
            font-weight: 900;
        }

            .mega-menu .title a:hover {
                color: #555;
            }

    .mega-menu .picture {
        float: left;
        width: 170px;
        height: 170px;
        overflow: hidden;
        text-align: center;
        border-radius: 100%;
    }

        .mega-menu .picture a {
            display: block;
            position: relative;
            width: 100%;
            height: 100%;
        }

        .mega-menu .picture img {
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            margin: auto;
            max-width: 100%;
            max-height: 100%;
        }

    .mega-menu .subcategories {
        margin-left: 180px;
    }

    .mega-menu .box ul {
        margin-top: 5px;
        width: 196px;
    }

    .mega-menu .box li {
        text-align: left;
    }

        .mega-menu .box li a {
            padding: 5px 15px;
            font-size: 17px;
            font-weight: 900;
            position: relative;
            color: #60a0de;
            display: block;
            -webkit-transition: all .15s ease;
            -moz-transition: all .15s ease;
            transition: all .15s ease;
        }

            .mega-menu .box li a:hover {
                color: #e87772;
            }

    .mega-menu .box .subcategories li a:before,
    .categories li a:before,
    .manufacturers li a:before {
        content: " ";
        position: absolute;
        top: 50%;
        left: 3px;
        margin-top: -2px;
        width: 4px;
        height: 4px;
        background: #ddd;
    }

    .mega-menu .box li a:hover {
    }

    .mega-menu .box li:nth-child(odd) a:hover {
    }

    .mega-menu .box li:nth-child(even) a:hover {
    }

    .mega-menu li a.view-all {
        font-weight: bold;
        background: none;
    }

    .manufacturers.fullWidth .box {
        width: 16.66666666666667%;
        display: table-cell;
        float: none;
        padding: 15px 10px;
    }

    .manufacturers.fullWidth li * {
        background: none !important;
        padding-left: 0;
    }

    .manufacturers.fullWidth li a:before {
        display: none !important;
    }

    .mega-menu .topic-wrapper {
        overflow: hidden;
    }
    
        .mega-menu .topic-wrapper p {
            font-size: 11px;
            line-height: 20px;
        }
        .mega-menu .dropdown > p {
            padding: 10px;
            font-size: 11px;
            line-height: 20px;
        }

        .mega-menu .topic-wrapper strong {
            display: block;
            border-bottom: 1px solid #999;
            padding: 8px 0;
            font-size: 14px;
            text-transform: uppercase;
            color: #222;
        }
}

@media all and (min-width: 1150px) {

    .mega-menu .dropdown.fullWidth {
        margin-left: -428px;
        top: 57px;
    }
}
