﻿/*
* 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;
    }
    .mega-menu-responsive {
        display: block !important;
    }

}

    @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: block;
    }
    .mega-menu-responsive {
        display: none !important;
    }
    .mega-menu .dropdown {
        display: none;
        position: absolute;
        box-shadow: 0 2px 2px rgba(0,0,0,0.15);
        background: rgba(255,255,255,.94);
        z-index: 3;
        top: 57px;
    }
        .mega-menu .dropdown:before {
            content: " ";
            position: absolute;
            bottom: 100%;
            left: 0;
            right: 0;
            height: 15px;
            background: transparent;
        }
    .mega-menu .dropdown.fullWidth {
        left: 50%;
        margin-left: -500px;
        width: 1000px;
    }
    .mega-menu li {
        border-left: solid 1px #eee;
    }

    .partner-logo { float: right;
        border-left: none;
        padding: 0 !important;
        margin: 0 !important;
        width: 200px;
    }
    .partner-logo a {
        padding: 0 !important;
        margin: 0 !important;
        font-size: 14px !important;
    }
    .partner-logo img {
        /*display: block ;*/
        vertical-align: middle;
    }
    .stick .partner-logo { display: none;}


/* ROWS AND BOXES */


    .mega-menu .row-wrapper {
        display: table;
        width: 100%;
    }
    .mega-menu .row {
        overflow: hidden;
        display: table-row;
    }
    .dropdown .box {
        float: left;
        padding: 0 15px 20px;
    }
    .categories.fullWidth .box {
        width: 25%;
        height: 100%;
        border-right: 1px dotted #d3d3d3;
        border-bottom: 1px dotted #d3d3d3;
        padding: 10px 16px 10px 17px;
        display: table-cell;
        float: none;
    }
    .categories.fullWidth .row:last-child .box {
        border-bottom: 0;
    }
    .categories.fullWidth .row .box:last-child {
        border-right: 0;
    }

    .categories .box,
    .manufacturers .box {
        width: 250px;
    }
    .mega-menu .title {
        font: normal 13px/normal 'Signika', sans-serif; /*20*/
        color: #666;
        text-transform: uppercase;
        text-align: left;
        padding: 0 15px;
        margin: 0 0 5px;
    }
    .mega-menu .title strong {
	    font-weight: normal;
    }
    .mega-menu .title a {

    }
    .mega-menu .title a:hover {
	    color: #8bc8ca;
    }
    .mega-menu .picture {
        margin: 0 0 10px;
    }
    .mega-menu .picture a {
	    display: block;
        position: relative;
        overflow: hidden;
    }
        .mega-menu .picture a:before {
	        content: " ";
            display: block;
            padding-top: 43.3333333%;
        }
        .mega-menu .picture img {
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            margin: auto;
            max-width: 100%;
        }
    .mega-menu .subcategories {
    }
    .mega-menu .box ul {
    }
    .mega-menu .box li {
        text-align: left;
    }
    .mega-menu .box li a {
        position: relative;
        padding: 5px 5px 5px 14px;
        font-size: 18px;
        line-height: 1;
        display: block;
        color: #333;
    }
        .mega-menu .box li a:before {
            content: " ";
            position: absolute;
            top: 50%;
            left: 0;
            margin-top: -3px;
            width: 6px;
            height: 6px;
            border-radius: 100%;
            background: #8bc8ca;
        }
    .mega-menu .box li a:hover {
        color: #8bc8ca;
    }
    .mega-menu .box .subcategories li a {
        display:inline-block;
    }
    .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 */

        .manufacturers.fullWidth .row {
            padding: 5px;
        }
        .manufacturers.fullWidth .box {
            width: 16.66666666666667%;
            padding: 10px;
            position: relative;
        }
        .manufacturers.fullWidth .title {
            text-align: center;
            padding: 0;
            margin: 0;
            position: absolute;
            left: 10px;
            right: 10px;
            bottom: 10px;
            font-size: 18px;
        }
        .manufacturers.fullWidth .box ul {
            margin: 0 0 29px;
        }
        .manufacturers.fullWidth li * {
	        padding: 0 !important;
        }
            .mega-menu .box li a.manufacturer:before {
                display: none;
            }
        .manufacturers.fullWidth li span {
            display: block;
            position: relative;
        }
            .manufacturers.fullWidth li span:before {
                content: " ";
                display: block;
                padding-top: 100%;
            }
        .manufacturers.fullWidth li img {
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            margin: auto;
        }

    /* topics */

    .mega-menu .topic-wrapper {
        overflow: hidden;
    }
        .mega-menu .topic-wrapper .box {
	        padding: 0;
        }
        .mega-menu .dropdown p {
	        font-size: 16px;
            line-height: 1.2;
            padding: 0 10px 20px;
        }
        .mega-menu .topic-wrapper strong {
	        display: block;
	        border-bottom: 1px dotted #c3c3c3;
	        padding: 5px 10px;
	        color: #666;
            font: normal 20px/normal 'Signika', sans-serif;
        }

}