﻿/*
* Copyright 2016 Seven Spikes Ltd. All rights reserved. (http://www.nop-templates.com)
* http://www.nop-templates.com/t/licensinginfo
*/


/* COMMON STYLES */


.spc-header {
	position: relative;
    background: #282828;
    color: #fff;
    padding: 0 0 60px;
    margin: 0 0 10px;
}
.spc-header:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-top: 15px solid #282828;
    border-right: 15px solid transparent;
    position: absolute;
    bottom: -15px;
    left: 50%;
    margin: 0 0 0 -10px;
    z-index: 1;
}
.spc .mobile-navigation {
    display: none;
}
.spc-header .title {
	padding: 40px 0;
	font-size: 35px;
	font-weight: normal;
    text-transform: uppercase;
    font-weight: bold;
}
.spc-header .title a,
.spc-header .title span {
    word-break: break-word;
}
.spc-header ul {
	font-size: 0;
}
.spc-header li {
	padding: 9px 20px;
	font-size: 14px;
	cursor: pointer;
    color: #6d6d6d;
    font-weight: bold;
    text-transform: uppercase;
}
.spc-header li.active {
    color: #fff;
}

.spc-body {
	position: relative;
    min-height: 312px; /*pre-loading height, should not be taller than any of the grids in any resolution, currently matched to desktop category grid, could be fine tuned per variant*/
}
.spc-body .product-grid {
	display: none;
	margin: 0;
}
.spc-body .product-grid.active {
	display: block;
}
.spc-body .no-data {
	display: block;
	padding: 20px 25px;
}


/* LOADING OVERLAY */


.spc-body .loading-overlay {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	background: rgba(255,255,255,0.9) url('images/loader.gif') center no-repeat;
}
.spc-body .loading-overlay span {
	display: none;
}

.spc {
	margin: 0 0 50px;
    min-height: 599px;
}
.spc .spc-body .loading-overlay {
	bottom: 50px; /*loader-overlay fix, depending on item-box bottom margin*/
}



@media all and (min-width: 769px) {

.spc-header {
    text-align: center;
}
.spc-header li {
    display: inline-block;
}

}


@media all and (min-width: 1025px) {

.spc {
    margin: 0 auto 100px;
	max-width: 1170px;
    overflow: hidden;
}

.spc .spc-header {
    float: left;
    width: 24.5%;
    min-height: 425px;
    margin: 0;
}
.spc .spc-header:after {
    border-bottom: 14px solid rgba(0, 0, 0, 0);
    border-left: 14px solid #282828;
    border-top: 14px solid rgba(0, 0, 0, 0);
    border-right: 14px solid rgba(0, 0, 0, 0);
    left: auto;
    margin: -10px 0 0;
    right: -28px;
    top: 50%;
}
.spc-header li {
    display: block;
}
.spc .spc-body {
    float: right;
    width: 73%;
}
.spc .spc-body .item-grid {
    max-width: 100%;
}
.spc .spc-body .item-box {
    width: 31%;
    margin: 0 0 5% 3.5%;
}
.spc .spc-body .item-box:nth-child(4n+1) {
    clear: none;
    margin: 0 0 5% 2%;
}
.spc .spc-body .item-box:nth-child(3n+1) {
    margin: 0 0 5% 0;
    clear: both;
}

.spc:nth-child(even) .spc-header {
    float: right;
}
.spc:nth-child(even) .spc-header:after {
    right: auto;
    left: -14px;
    border-right: 14px solid #282828;
    border-left: none;
    border-top: 14px solid rgba(0, 0, 0, 0);
    border-bottom: 14px solid rgba(0, 0, 0, 0);
}
.spc:nth-child(even) .spc-body {
    float: left;
}

.spc:last-child {
    background: url(images/shadow-line.png) no-repeat center bottom;
    padding: 0 0 60px;
    margin: 0 auto 90px;
}

}

