/**
 * @package Frontend
 * @subpackage CSS
 * @version 1.0.0
 * @author José Postiga <jose.postiga@jpusoftware.com>
 * @copyright (c) 2014, JPU Software. (http://jpusoftware.com/)
 * @license The MIT License (MIT)
 * @filesource
 */

html, body {
	height: 100%;
}
body {
	font-family: 'Raleway', 'Open Sans';
	background: #3f3f3f;
	color: #626262;
}

h1 {
	font-weight: 100;
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 50px;
	letter-spacing: 2px;
}

p {
	text-align: justify;
}

#errors {
    display: none;
    margin-top: 10px;
}
#errors ul {
    list-style: none;
    padding: 0;
}

.modal-header {
	padding: 0 15px;
	border: none;
}
.modal-body {
	overflow: hidden;
}

#logotipo {
	position: fixed;
	height: 150px;
	padding: 0;
	margin: 0 0 0 50px;
	z-index: 6;
}
#logotipo.inner {
	height: 150px;
}
#logotipo img {
	height: 100%;
}

#header {
	background: #fff;
	padding: 10px 0 0 0;
	margin: 0;
	position: absolute;
	bottom: 80px;
	left: 0;
	right: 0;
	z-index: 5;
	height: 80px;
}
#header.inner {
	transition: height .5s ease-in-out,
				padding .5s ease-in-out;
	position: fixed !important;
	top: 0;
	margin-left: -15px;
	margin-right: -15px;
	padding-top: 40px;
	padding-bottom: 30px;
	height: 150px;
	box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

#header .right {
	float: right;
}
#menu {
	background: transparent;
	padding: 0;
	margin: 0;
	height: 60px;
	box-sizing: border-box;
	display: inline-block;
	vertical-align: top;
}
#menu .navbar-default {
	background: transparent;
	border: none;
	margin: 0;
}

#categories-menu li {
	padding: 0;
	margin: 0;
}
#categories-menu li a {
	height: 60px;
	box-sizing: border-box;
	padding: 15px 20px 0;
	color: #000;
	border: 5px solid transparent;
	border-width: 5px 0 0 0;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 15px;
	font-weight: 800;
}
#categories-menu li a:hover,
#categories-menu .open a {
	border: 5px solid #877a56;
	border-width: 5px 0 0 0;
}

#header .country-select {
	padding: 0;
	margin: 20px 30px 0 0;
	box-sizing: border-box;
	display: inline-block;
	vertical-align: top;
	color: #000;
}
#header .country-select a,
#header .country-select a:hover {
	height: 60px;
	box-sizing: border-box;
	padding: 0;
	color: #000;
	text-transform: uppercase;
	text-decoration: none;
	font-size: 11px;
}
#header .social {
	padding: 0;
	margin: 17px 50px 0 0;
	box-sizing: border-box;
	display: inline-block;
	vertical-align: top;
}
#header .social .social-icons {
	list-style: none;
}
#header .social .social-icons li {
	display: inline-block;
	text-align: center;
	padding: 0;
	margin: 0 5px 0;
}
#header .social-icons li img {
	width: 26px;
	height: 26px;
}

#content {
    background: #fff;
	padding: 0;
	display: block;
	position: relative;
}
#content.inner {
	padding: 150px 0 0 0;
	position: relative;
}
#content .page-subtitle {
	border: none;
}
#content .page-gallery {
	width: 100%;
	margin: 0;
	padding: 0;
}
#content .page-gallery img {
	width: 100%;
	vertical-align: top;
}

#content .page-content-front {
	position: relative;
	z-index: 2;
	margin-top: -45%;
	margin-bottom: 30px;
}
#content .page-content {
	padding-top: 30px;
	padding-bottom: 30px;
}

#content .page-contactform {
	margin-top: 20px;
	width: 30%;
	font-weight: normal;
	float: left;
}
#content .page-contactform .control-label {
	text-transform: uppercase;
	font-weight: normal;
}
#content .page-googlemaps {
	margin-top: 20px;
	width: 65%;
	float: right;
}
#content .page-googlemaps iframe {
	width: 100%;
}

#banners-starred,
#banners-starred .slider,
#banners-starred .slider .item {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
}
#banners-starred {
	border: 5px solid #fff;
}
#banners-starred .bx-viewport {
	box-shadow: none;
	border: none;
	left: 0;
}
#banners-starred .bx-wrapper {
	margin: 0;
}
#banners-starred .slider .item { }
#banners-starred .slider .item img {
	width: 100%;
	height: 100%;
}
#banners-starred .item .banner-caption {
	position: absolute;
	width: auto;
	max-width: 70%;
	height: auto;
	z-index: 3;
	color: #000;
	margin-top: 0;
	padding: 50px;
	bottom: 150px;
	right: 0;
	background: transparent url('../img/back.png') repeat left top;
}

#banners {
	border: 5px solid #fff;
}
#banners .item {
	padding: 0;
	position: relative;
	background: #000;
}
#banners .item a {
    position: relative;
}
#banners .item img {
	width: 100%;
}
#banners .item .banner-caption {
	position: absolute;
	width: auto;
	height: auto;
	max-height: 100%;
	z-index: 3;
	color: #000;
	margin-top: 20px;
	padding: 20px;
	top: 0;
	right: 0;
	background: transparent url('../img/back.png') repeat left top;
}

#thumbs {
	padding-top: 50px;
}
#thumbs .item {
	display: table-cell;
}
#thumbs .thumbnail {
	position: relative;
	border-radius: 0;
	padding: 0;
}

#thumbs .category-title {
	width: 100%;
	height: 100%;
}
#thumbs .thumbnail.page-subtitle {
	width: 100%;
	overflow: hidden;
	margin-top: 60px;
}
#thumbs .thumbnail.page-subtitle h1 {
	margin-bottom: 20px;
	font-size: 65px;
	font-weight: 400;
	letter-spacing: 10px;
}
#thumbs .thumbnail.page-subtitle p {
	text-align: center;
	font-size: 38px;
	font-weight: 400;
	letter-spacing: 5px;
	margin: 0;
	padding: 0;
}

#thumbs .thumbnail .cover {
	position: relative;
	z-index: 2;
}
#thumbs .thumbnail .cover img {
	width: 100%;
	max-height: 100%;
}
#thumbs .thumbnail .caption {
	text-align: center;
	position: absolute;
	bottom: 0;
	z-index: 2;
	background: #e5e5e5;
	width: 70%;
	margin-left: 15%;
	opacity: .95;
}
#thumbs .thumbnail .caption h4 {
	text-transform: uppercase;
	font-size: 12px;
	white-space: nowrap;
	overflow: hidden;
    text-overflow: ellipsis;
}
#thumbs .thumbnail .caption .actions {
	text-align: right;
}
#thumbs .thumbnail .caption .price-tag {
	font-size: 20px;
	margin-bottom: 0;
}

.modal-body .product-details,
.modal-body .product-details p,
#content .product-details,
#content .product-details p {
	text-align: center;
}

.modal-body .product-details h1,
#content .product-details h1 {
	margin-bottom: 20px;
}

.modal-body .product-bottom,
#content .product-bottom {
	margin-top: 30px;
	margin-bottom: 20px;
}

.modal-body .product-bottom a,
#content .product-bottom a {
	color: inherit;
}

#product-gallery { 
	margin-bottom: 10px;
}
#product-gallery .item {
	position: relative;
}
#product-gallery .item img {
	max-width: 100%;
	max-height: 100%;
}

.zoomContainer {
	z-index: 1051;
}

.zoomContainer .zoomWindowContainer div {
	transition: opacity .5s ease-in;
	opacity: 0;
	display: block !important;
}
.zoomContainer:hover .zoomWindowContainer div {
	transition: opacity .5s ease-in;
	opacity: 1;
}
.zoomContainer .zoomWindowContainer div {
	background-color: #fff;
}

#footer {
	background: transparent;
    padding: 30px 70px;
	box-sizing: border-box;
}
#footer hr {
	border-top: 1px solid #b1b1b1;
}
#footer .bottom {
	font-family: 'Open Sans';
	color: #b1b1b1;
	font-size: 11px;
	font-weight: 400;
	text-transform: uppercase;
}
#footer .copy {
	color: #fff;
	padding: 0 40px 0 0;
}
#footer .copy span {
	font-size: 6px;
}
#footer .copy a {
	color: #fff;
}

#pages-menu {
	margin: 30px 0 0;
	padding: 0;
}
#pages-menu .top-menu {
	display: inline-block;
	vertical-align: top;
	margin: 10px 40px 0 0;
}
#pages-menu .top-menu a {
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 12px;
}
#pages-menu .top-menu a:hover {
	text-decoration: none;
}
#pages-menu .top-menu .sub {
	margin-top: 10px;
}
#pages-menu .top-menu .sub a {
	color: #fff;
	text-transform: none;
	font-weight: 300;
}
#pages-menu .top-menu .sub a:hover {
	text-decoration: underline;
}



#categories-menu .dropdown {
	position: initial;
}
#categories-menu .dropdown > ul.dropdown-menu {
	margin: 0;
	box-shadow: inset 0px 4px 10px rgba(34, 34, 34, 0.18);
}
#categories-menu .dropdown .dropdown-menu {
	width: 100%;
	min-height: 100px;
	margin-top: 5px;
	margin-bottom: 5px;
	border: none;
	border-radius: 0;
	background: #ececec;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding: 10px 30px;
}
#categories-menu .dropdown .dropdown-menu li {
	display: table-cell;
	min-width: 150px;
	margin-bottom: 20px;
}
#categories-menu .dropdown .dropdown-menu li,
#categories-menu .dropdown .dropdown-menu li a {
	color: #000;
	font-weight: bold;
	font-size: 13px;
}

#categories-menu .dropdown .dropdown-menu .simple-list {
	padding: 0;
}
#categories-menu .dropdown .dropdown-menu .simple-list li {
	display: list-item;
}
#categories-menu .dropdown .dropdown-menu .simple-list li,
#categories-menu .dropdown .dropdown-menu .simple-list li a {
	list-style: none;
	padding-top: 0px;
	color: #000;
	font-weight: normal;
	font-size: 13px;
	text-transform: none;
}

#content .context {
	background: #fff;
	border-radius: 0;
    overflow: hidden;
}
#content .context .breadcrumb {
	margin: 0 0 10px;
	padding: 0;
	background: transparent;
}
.breadcrumb>li+li:before {
	padding: 0 2px;
	color: #000;
	content: ">";
}
#content .context .breadcrumb li,
#content .context .breadcrumb li a {
	font-size: 13px;
	color: #000;
}
#content .context h1 {
	font-size: 25px;
	text-transform: uppercase;
	margin-top: 0;
	letter-spacing: 2px;
}

#productRelations {
	margin-top: 50px;
	padding: 0 35px;
}

#productStarred {
	margin-top: 50px;
	padding: 0 70px;
}

#product-thumbs {
	margin-top: 505px;
}
#product-thumbs .item {
	height: 100px;
	display: inline-block;
    cursor: pointer;
	box-shadow: 1px 1px 1px rgba(34, 34, 34, 0.1);
	margin: 0 0 4px 0;
}
#product-thumbs .item img {
	height: 100%;
}

@media (max-width: 990px) {
	#logotipo {
		position: initial;
		margin-left: -15px;
		margin-right: -15px;
		width: 100%;
	}
	
	#header,
	#header.inner {
		position: static !important;
		height: auto;
		margin-left: -15px;
		margin-right: -15px;
		transition: none;
		padding: 0;
	}
	#header .right {
		float: none;
		overflow: auto;
	}
	
	#header .social {
		padding: 0;
		margin: 5px 10px;
		box-sizing: border-box;
		float: left;
	}
	#header .social .social-icons {
		text-align: left !important;
		padding-left: 0;
	}
	
	#header .country-select {
		padding: 0;
		margin: 5px 10px;
		box-sizing: border-box;
		float: right;
		color: #000;
	}
	
	#menu {
		background: transparent;
		height: auto;
		width: 100%;
	}
	
	#categories-menu .nav {
		text-align: center;
	}
	#categories-menu li {
		display: inline-block;
	}
	#categories-menu li a {
		height: auto;
		box-sizing: border-box;
		padding: 5px 10px;
		color: #000;
		border: none;
		text-transform: uppercase;
		letter-spacing: 2px;
		font-size: 12px;
	}
	
	#banners-starred,
	#banners-starred .slider,
	#banners-starred .slider .item {
		height: auto;
	}
	
	#banners-starred,
	#banners {
		border: 2px solid #fff;
	}
	
	#content.inner {
		padding: 0;
	}
	
	#content .page-contactform {
		margin-top: 20px;
		width: 100%;
		font-weight: normal;
		float: none;
	}
	
	#thumbs {
		padding-top: 10px;
	}
	
	#footer {
		padding: 0 10px;
	}
	
	#pages-menu {
		margin: 10px 0 0;
		padding: 0;
	}
	#pages-menu .top-menu {
		display: block;
		vertical-align: top;
		margin: 5px 10px 0 0;
		float: none !important;
	}
	
	#footer .copy {
		color: #fff;
		padding: 10px 10px;
		text-align: center;
		float: none;
		display: block;
		width: 100%;
	}
}