/*
========================================================================================================================
XS
========================================================================================================================
*/



/*
========================================================================================================================
LAYOUT
========================================================================================================================
*/

body {
	padding-top: 110px;
}
body.catalog {
	padding-top: 100px;
}
.content {
	padding-top: 0;
	padding-bottom: 15px;
}
.container-fluid {
	padding-left: 15px;
	padding-right: 15px;
}
.content .container-fixed-lg {
	padding-left: 8px;
	padding-right: 8px;
}



/*
========================================================================================================================
LOADING
========================================================================================================================
*/

body .loader {
	top: 50px;
}



/*
========================================================================================================================
HEADER
========================================================================================================================
*/

.header {
	height: 50px;
	line-height: 50px;
}
	.header .logo img {
		height: 25px;
		width: auto;
	}
	.header .container-fluid {
		padding-right: 0;
	}
		.header .trigger {
			display: inline-block;
		}
			.header .trigger i {
				line-height: 50px;
			}

		.header select {
			margin: 0 15px;
			width: calc( 100% - 30px );
		}

		 ul.sections {
			display: none;
			display: block;
			position: fixed;
			top: 0;
			bottom: 0;
			left: -100%;
			right: 120%;
			overflow-y: auto;
			background: #fff;
			z-index: 999999;
			transition: all 0.4s ease-out;
		}
			ul.sections.opened {
				left: 0;
				right: 55px;
				width: calc( 100% - 55px );
			}

				ul.sections li {
					display: block;
					border-bottom: 1px solid rgba(0,0,0,0.1);
					overflow: hidden;
				}

					ul.sections li:first-child {
						margin-right: 0;
						padding: 0;
					}
					
					ul.sections li a {
						color: #333;
						opacity: 1;
						display: block;
						cursor: pointer;
						text-align: right;
						font-size: 18px;
						line-height: 70px;
						float: none;
					}
					ul.sections li:nth-child(1) a {
						transition: all 0.2s ease;
						padding: 0 60px 0 0;
					}
					ul.sections li:nth-child(2) a {
						transition: all 0.35s ease;
						padding: 0 85px 0 0;
					}
					ul.sections li:nth-child(3) a {
						transition: all 0.5s ease;
						padding: 0 105px 0 0;
					}
					ul.sections li:nth-child(4) a {
						transition: all 0.65s ease;
						padding: 0 125px 0 0;
					}
					ul.sections li:nth-child(5) a {
						transition: all 0.80s ease;
						padding: 0 145px 0 0;
					}
					ul.sections li:nth-child(6) a {
						transition: all 0.95s ease;
						padding: 0 165px 0 0;
					}
					ul.sections li:nth-child(7) a {
						transition: all 1.1s ease;
						padding: 0 170px 0 0;
					}
					ul.sections li:nth-child(8) a {
						transition: all 1.25s ease;
						padding: 0 175px 0 0;
					}
					ul.sections li:nth-child(9) a {
						transition: all 1.4s ease;
						padding: 0 185px 0 0;
					}
					ul.sections.opened li a {
						padding-right: 20px;
						padding-left: 20px;
					}

				ul.sections li.selected a {
					color: #fff;
					/*background: #e91e63;*/
					background: #21438F;
				}
				ul.sections li.selected:before {
					display: none;
				}
				ul.sections li.selected i:before {
					color: #fff;
				}

			ul.sections li i {
				float: left;
				position: relative;
				top: 16px;
				left: 8px;
			}
			ul.sections li i:before {
				top: 10px;
				position: relative;
				padding-right: 10px;
				/*color: #e91e63;*/
				color: #21438F;
			}

		.header button.trigger {
			width: 55px;
			height: 50px;
			top: 0;
			right: 0;
			left: auto;
			transition: all 0.3s ease;
		}

		.overlay {
			opacity: 0;
			transition: all 1s ease;
		}
			.overlay.opened {
				display: block;
				position: fixed;
				top: 0;
				bottom: 0;
				right: 0;
				left: 0;
				background: rgba(0,0,0,0.8);
				z-index: 0;
				opacity: 1; 
			}



/*
========================================================================================================================
SUBHEDADER
========================================================================================================================
Es la barra que muestra el buscador y las notificaciones del sistema                                                  */

.subheader {
	top: 50px;
	height: 50px;
	background: #fff;
}
.cart .subheader {
	background: #cbdde8;
}
	.subheader > div {
		padding-right: 0;
		padding-left: 0;
	}
		.subheader button {
			height: 50px;
			line-height: 50px;
		}

	.subheader label {
		top: 18px;
    left: 5px;
	}

	.subheader input {
		height: 50px;
    line-height: 50px;
    padding: 0 0 0 30px;
    font-size: 14px;
	}
	.subheader input + label i {
		top: 16px;
		left: 10px;
	}
	
	.subheader .btn {
		height: 50px;
    line-height: 50px;
    border-radius: 0;
	}
	.subheader .btn:first-child {
		margin: 0 1px 0 0;
	}

	.subheader .btn-navigation {
		width: 40px;
		height: 50px;
		line-height: 50px;
	}
	.subheader .btn-cart {
		/*width: 80px;*/
		padding: 0 15px;
	}

	.subheader td {
    padding: 0;
   }

	.subheader .icon-filter {
		margin: 0;
	}

	.subheader .icon-close,
	.subheader .icon-massive {
		display: none;
	}
	.subheader .icon-cart {
		padding-right: 3px;
	}



/*
========================================================================================================================
MENU
========================================================================================================================
*/

.menu {
	background: #e0e0e0;
}
	.menu ul {
		position: relative;
		height: 88px;
		overflow: auto;
		width: 100%;
	}
		.menu li {
			display: none;
			width: 33.33%;
			min-width: auto;
		}
			.menu li.selected {
				display: block;
				width: 100%;
				position: absolute;
				top: 10px;
				left: 0;
				padding: 0;
			}
			.menu li.subcategory.selected {
				display: block;
			}
			.menu.open li.subcategory,
			.menu.open li.subcategory.selected {
				display: none;
			}
			.menu.open li.close {
				display: block;
				width: 100%;
				margin-top: 10px;
			}
				.menu.open li.close button {
					width: 100%;
				}
				.menu li a {
					height: 69px;
					font-size: 10px;
					border-color: #e0e0e0;
					background: #eee;
				}
					.menu li a img {
						display: block;
						max-width: 100%;
						max-height: 45px;
						padding-right: 10px;
					}
					.menu li a span {
						height: 20px;
						padding: 0;
						line-height: 20px;
					}

				.menu:not(.open) li.selected a { 
					text-align: center;
					border-color: #009aee;
					background: url('../img/menu_catalogo.png') no-repeat left top;
					background-color: #fff;
				}
				.menu:not(.open) li.selected img {
					max-height: 65px;
																										display: none;
						width: 72px;
				}
				.menu:not(.open) li.selected span {
					position: relative;
					width: 100%;
					left: auto;
					display: block;
					height: 65px;
					border: 0;
					line-height: 65px;
					position: relative;
					font-weight: 400;
				}
				.menu:not(.open) li.selected span:before {
					display: block;
					height: 65px;
					line-height: 65px;
					font-weight: 600;
					width: 100%;
					padding-bottom: 0;
																										font-size: 14px;
					margin-left: 20px;
				}	

/*			.menu:not(.open) li.selected span {
					position: relative;
					width: auto;
					left: auto;
					display: inline-block;
					height: 65px;
					border: 0;
					line-height: 35px;
					position: relative;
					font-weight: 400;
				}
				.menu:not(.open) li.selected span:before {
					display: block;
					height: 25px;
					line-height: 45px;
					font-weight: 600;
					width: 100%;
					padding-bottom: 5px;
				}*/

.menu.open {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 10px 0 50px 0;
	z-index: 888; 
	background: #e0e0e0;
	overflow-x: hidden;
	overflow-y: scroll;
}
	.menu.open > div {
		padding-left: 10px;
		padding-right: 6px;
	}
		.menu.open ul {
			height: auto;
			white-space: normal;
		}
			.menu.open ul:before {
				display: block;
				text-transform: uppercase;
				color: #333;
				text-align: center;
				font-size: 14px;
				padding: 20px 10px 15px 10px;
			}
			.menu.open li {
				display: inline-block;
				width: 33.33%;
			}
			.menu.open li.selected {
				position: relative;
				display: inline-block;
				width: 33.33%;
				padding-bottom: 3px;
				padding-right: 3px;
				top: 0;
			}
				.menu.open li a img {
					padding-right: 0;
				}



																			.menu.open li.close,
																			.menu.open li.cart {
																				position: fixed;
																				width: 50%;
																				bottom: 0;
																				margin: 0;
																				padding: 0;
																			}
																			.menu.open li.close {
																				left: 0;
																			}
																			.menu.open li.cart {
																				right: 0;
																			}

																			.menu.open li.cart a,
																			.menu.open li.close a {
																				border-radius: 0;
																				border: 0;
																				height: 45px;
																				line-height: 45px;
																				border-top: 1px solid #ddd;
																				width: 100%;
																				font-size: 12px;
																				font-weight: 600;
																				font-family: 'Montserrat';
																			}
																			.menu.open li.cart a {
																				background: #009aee;
																				color: #fff;
																			}
																			.menu.open li.close a {
																				background: #333;
																				color: #fff;
																			}





/*
========================================================================================================================
ALMACENES
========================================================================================================================
*/

.warehouses {
	width: calc( 100% - 175px );
	overflow: hidden;
	padding: 0 5px;
	margin-right: 1px;
	line-height: inherit;
}
.warehouses select {
	line-height: 25px;
	width: auto;
}
.warehouses label {
	display: none;
}



/*
========================================================================================================================
ITEMS
========================================================================================================================
*/

.items h2 {
	display: none;
}

.items .options {
	width: 100%;
	text-align: left;
	margin-top: 10px;
}
	.items .options .actions {
		margin-right: 0;
	}
	.items .options .grid {
		float: right;
	}

body .items ul li.group {
	font-size: 12px;
}

.items ul.subcategories li {
	width: calc( 50% - 6px );
	margin: 0 3px 6px 3px;
	overflow-y: hidden;
}
	.items ul.subcategories .title {
		position: relative;
		display: block;
		left: auto;
		right: auto;
		bottom: auto;
		padding-top: 5px;
	}


	/* ITEMS > MODO GRID
	====================================================================================================================*/

	.items ul.grid li:not(.group) {
		width: calc( 50% - 6px );
		margin: 0 3px 6px 3px;
		height: 332px;
		padding-bottom: 40px;
	}
		.items ul.grid .title {
			position: relative;
			display: block;
			left: auto;
			right: auto;
			bottom: auto;
			line-height: 14px;
			padding: 6px 0;
			height: 56px;
			font-size: 10px;
			overflow: hidden;
			margin-top: 6px;
		}
		.items ul.grid .price {
			height: 30px;
			line-height: 30px;
			font-size: 11px;
		}
		.items ul.grid .stock-container {
			display: none;
		}


	/* ITEMS > MODO LISTA
	====================================================================================================================*/
	
	.items ul.list li:not(.group) {
		padding: 5px 5px 50px 5px;
		margin: 5px 3px 0px 3px;
	}

		.items ul.list .title {
			padding-bottom: 5px;
			font-size: 10px;
			margin-top: 6px;
		}
		.items ul.list .price {
			height: 28px;
			line-height: 28px;
			font-size: 11px;
		}
		.items ul.list .buttons {
			width: 100%;
		}
			.items ul.list .image {
				height: 150px;
			 }


	/* ITEMS > PRECIO NETO Y PRECIO POR UNIDAD
	===================================================================================================================*/	

	.items ul.grid .show_net_price .price,
	.items ul.list .show_net_price .price {
		height: 23px;
		line-height: 23px;
	}

	.items .netprice {
		font-size: 10px;
	}


	/* ITEMS > ESTADOS
	====================================================================================================================*/

	.items li.promo::before,
	.items li.offer::before,
	.items li.added::before {
		width: 45px;
		height: 45px;
		border-width: 45px 45px 0 0;
	}
	.items li.offer::after,
	.items li.added::after {
		top: 9px;
		left: 9px;
		font-size: 12px;
	}
	.items li.promo:not(.offer)::after {
		top: -1px;
    left: 7px;
    font-size: 28px;
	}

	@media (max-width: 319px) {

		.items ul.grid li:not(.group) {
			width: 100%;
			margin: 0 0 6px 0;
		}
		.items ul.list li:not(.group) {
			margin: 0 0 6px 0;
		}

	}
	@media (max-width: 320px) {

		.items ul.subcategories li {
			height: auto;
			width: 100%;
		}
			.items ul.subcategories .image {
				height: 169px;
			}
			.items ul.subcategories .title {
				padding-top: 5px;
				overflow: hidden;
			}

		.items ul.grid li:not(.group) {
			height: 293px;
		}
			.items ul.grid .image {
				height: 150px;
			}

	}
	@media (min-width: 321px) and (max-width: 375px) {

		.items ul.subcategories li {
			height: 232px;
		}
			.items ul li.subcategory .image {
				height: 190px;
			}

		.items ul.grid li:not(.group) {
			height: 293px;
		}
			.items ul.grid .image {
				height: 150px;
			}

	}



/*
========================================================================================================================
FULLSCREEN
========================================================================================================================
*/

body.fullscreen-open .content {
	padding-top: 95px;
	padding-bottom: 45px;
}


	/* FULLSCREEN > CABECERA
	====================================================================================================================*/

	#fullscreen .head {
		position: fixed;
		height: 50px;
		padding: 0 100px 0 60px;
		background: #333;
	}
		#fullscreen .image {
			width: 50px;
			height: 50px;
			line-height: 50px;
		}
			#fullscreen .image img {
				max-height: 48px;
				max-width: 48px;
			}

		#fullscreen .ref {
			line-height: 14px;
			font-size: 14px;
			padding: 12px 0 0 0;
			color: #fff;
		}
		#fullscreen .title {
			font-size: 10px;
			line-height: 18px;
			color: #fff;
		}


	/* FULLSCREEN > NAVIGATION
	====================================================================================================================*/

	#fullscreen .navigation {
		position: fixed;
		top: 0;
		right: 0;
		z-index: 888;
	}
	#fullscreen .navigation button {
		height: 50px;
		width: 50px;
		background: #333; 
	}
		#fullscreen button.prev {
			right: 50px;
			border-left: 1px solid #222;
		}
		#fullscreen button.next {
			right: 0;
		}
			#fullscreen .navigation i {
				line-height: 50px;
			}


	/* FULLSCREEN > TABS
	====================================================================================================================*/

	#fullscreen .tabs {
		top: 50px;
		left: 0;
		right: 0;
		height: 45px;
	}
		#fullscreen .tabs button {
			width: 25%;
			height: 45px;
			line-height: 45px;
		}
			#fullscreen .tabs button i {
				top: 1px;
			}
			#fullscreen .tabs button i.icon-360 {
				top: 8px;
    		font-size: 26px;
    		padding-right: 0;
			}
			#fullscreen .tabs button span {
				display: none;
			}
			#fullscreen .tabs button i.icon-360 + span {
				display: none;
			}


	/* FULLSCREEN > TAB
	====================================================================================================================*/
		
	#fullscreen .tab {
		width: 100%;
		padding: 15px;
	}

		#fullscreen table.stock {
			margin: 0px auto;
		}

		#fullscreen .image_big {
			margin: 15px 0 0 0;
		}		

		#fullscreen .texts {
			margin: 15px auto 0 auto;
		}
			#fullscreen .texts h2 {
				font-size: 18px;
				line-height: 22px;
				font-weight: 500;
				margin: 30px 0 5px 0;
			}
			#fullscreen .texts p {
				font-size: 14px;
				line-height: 21px;
				font-weight: 400;
			}

		#fullscreen .tab.gallery {
			padding: 15px;
		}

		#fullscreen .tab.view360,
		#fullscreen .tab.video {
			top: 95px;
			bottom: 50px;
		}


	/* FULLSCREEN > ACCIONES
	====================================================================================================================*/

	#fullscreen .actions {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		height: 45px;
	}
	#fullscreen .actions button {
		line-height: 45px;
		width: 50%;
	}
	#fullscreen .actions button:first-child {
		border-right: 1px solid #ccc;
	}
		#fullscreen .actions button i {
			display: inline;
			font-size: 16px;
		}
		#fullscreen .actions button i:before {
			top: 3px;
			position: relative;
		}
		
		#fullscreen .actions button span {
			display: none;
		}



/*
========================================================================================================================
TABLA DE TALLAS Y STOCK
========================================================================================================================
*/

table.stock {
	font-size: 11px;
	line-height: 20px;
}



/*
========================================================================================================================
CART
========================================================================================================================
*/

	/* CART > BREADCRUMB
	===================================================================================================================*/

	.breadcrumb li a {
		border-radius: 0;
	}
	.breadcrumb li:first-child {
		width: calc( 20% + 10px);
	}
	.breadcrumb li:last-child {
		width: calc( 20% - 10px);
	}
		.breadcrumb li a {
			height: 50px;
			line-height: 50px;
			margin-right: 11px;
			padding: 0 10px 0 5px;
		}
		.breadcrumb li:first-child a {
			padding-left: 10px;
		}
		.breadcrumb li:last-child a {
			padding-right: 10px;
		}

		.breadcrumb li a:before,
		.breadcrumb li a:after {
			border-width: 25px 10px;
		}
		.breadcrumb li a:before {
			left: -10px;
		}
	 
	@media screen and (max-width: 1023px) {

		.breadcrumb li span {
			display: none;
		}

	}


	/* CART > TITLE AND SUBTITLE
	===================================================================================================================*/

	.cart:not(.order) h1.title {
		text-align: center;
		font-size: 20px;
		line-height: 22px;
	}
	.cart:not(.order) h2.subtitle {
		text-align: center;
		margin: 10px 0 20px 0;
		font-size: 16px;
		line-height: 18px;
	}

	.cart.order h1.title {
		text-align: center;
		font-size: 20px;
		line-height: 22px;
		padding: 15px 15px 0 15px;
		margin-bottom: 0;
	}
	.cart.order h2.subtitle {
		text-align: center;
		margin: 0 0 10px 0;
		padding: 15px;
		font-size: 16px;
		line-height: 18px;
		font-weight: 400;
	}

	.cart .ask_remove {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
	}


	/* CART > TABLE PRODUCTS
	===================================================================================================================*/
	table.products tbody .text span {
		padding: 0 3px;
	}





	.cart .panel {
		margin-top: 10px;
		border-bottom: 1px solid #ddd;
	}

	.cart .panel {
		margin-bottom: 0;
	}

	.panel h2 {
		height: 33px;
		line-height: 33px;
		font-size: 13px;
		padding: 0px 15px 0px 15px;
	}

	.panel.shipping_mode .in,
	.panel.shipping_method .in,
	.panel.totals .in {
		min-height: auto;
	}



/*
========================================================================================================================
MODAL
========================================================================================================================
*/

.modal {
	padding-bottom: 45px;
}
.modal .btn {
	position: absolute;
	bottom: -45px;
	width: 50%;
	height: 45px;
	line-height: 45px;
	transition: all 1s ease;
	margin: 0;
	border: 0;
	border-radius: 0;
	padding-top: 0;
}
#modal_container_date .btn {
	position: relative;
	bottom: 0;
	width: 100%;
	margin-bottom: 20px;
}


.modal .btn-close-modal {
	left: 0;
	background: #333;
	color: #fff;
}

.modal .btn:last-child {
	right: 0;
}

.modal .btn-success {
	background: #CDDC39;
	color: #000;
}
.modal .btn-info {
	background: #009aee;
	color: #fff;
}
.modal .btn-danger {
	background: #d32f2f;
	color: #fff;
}




/*
========================================================================================================================
AGENT LOGIN - ARE YOU SURE?
========================================================================================================================
*/

#modal_are_you_sure button{
	width: calc(100% - 30px);
	max-width: 320px;
	margin: 5px auto;
}





/*
========================================================================================================================
MODAL
========================================================================================================================
*/

.modal {
	top: 50px;
}