article, section, aside, hgroup, nav, header, footer, figure, figcaption {
 	display: block;
}

body {
	margin: 0em;
	padding: 0em;
	font-family:  Arial, Helvetica, sans-serif;
	font-size: 1em;
	background: #ffffff;
}


/****************************/
/**** SEMANTIC ELEMENTS ****/
/**************************/

header.header {
	background-color: #FFFF;
	text-align: center;
}

header.mainHeader {
	position: fixed;
	/* Necesario definir 'top' y 'left' al usar position */
	left: 0em;
	top: 0em;
	z-index: 2;
	width: 100%;
	margin: 0em;
	height: 3.5em;
	
	/***  CSS Gradient  ***/
	/*  Chrome 1-9 and Safari 4-5.0  */
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop( 0.0, rgb(215, 215, 215) ), color-stop( 1.0, rgb(255, 255, 255) ));

	/*  Chrome 10+ Safari 5.1+ Mobile Safari  */
	background-image: -webkit-linear-gradient(top, rgb(215, 215, 215), rgb(255, 255, 255) );

	/*  Firefox 3.6+  */
	background-image: -moz-linear-gradient(top, rgb(215, 215, 215), rgb(255, 255, 255) );

	/*  IE 10+  */
	background-image: -ms-linear-gradient(top, rgb(215, 215, 215), rgb(255, 255, 255) );

	/*  Opera 11.10+  */
	background-image: -o-linear-gradient(top, rgb(215, 215, 215), rgb(255, 255, 255) );
	
	/*  W3C  */
	background-image: linear-gradient(top, rgb(215, 215, 215), rgb(255, 255, 255) );
}

section.formBody {
	padding: 1em;
	background-color: #F5F5F5;
	width: 20em;
	margin: 0 auto;
	box-shadow: 0em 0.1em 0em rgba(0,0,0,0.3);
	border-radius: 0.2em;
}

section.menu, section.search, section.lienzo, section.stat {
	position: absolute;
	/* Necesario definir 'top' y 'left' al usar position */
	top: 3.5em;
	left: 0em;
	width: 100%;
}

section.menu {
	/* Flex container */
	display: -webkit-flex;
	display: flex;
	display: -ms-flex;
	-webkit-flex-direction: row;
	flex-direction: row;
	-ms-flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
}

section.search{
	text-align: center;
}

section.lienzo {
	/* Proporciona scroll horizontal solo si el contenido supera los limites del contenedor */
	overflow-x: auto;
}

section.stat {
	/* box-sizing */
	/* content, padding y border incluidos en el width y height */
	box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

nav {
	position: fixed;
	top: 11.5em;
	left: 0em;
	width: 20%;
	height: 100%;  /* Ocupa toda la altura */
	font-family: "Courier New", Courier, monospace;
	overflow: auto; /* Proporciona scroll si el contenido supera los limites del contenedor */
}

nav.hiddenMenu {
	display: none;
	position: absolute;
	top: 14.5em;
	left: 30%;
	width: 40%;
}

nav.hiddenMenu ul.navi, nav.hiddenMenu p.fami {
	margin: 0;
}

section#catalogo nav {
	position: absolute;
}

section#catalogo div.tab, section#catalogo div.tabcontent {
	margin: 0;
}


/*************************/
/**** BLOCK ELEMENTS ****/
/***********************/

div.upload, div#aviso {
	background-color: #FAFAFA;
	box-shadow: 0em 0.1em 0em rgba(0,0,0,0.3);
	margin: 0 auto;
	width: 20em;
	padding: 0.02em 1em 1em;
}

div.upload {
	border-radius: 0.2em;
	margin-top: 1em;
}

div.addUser {
	width: 41.66%;
}

div.inline {
	box-sizing: border-box;
	display: inline-block;
	padding-right: .2rem;
}

.field-1, .field-2, .field-3, .field-4, .field-9, .field-10 {
	width: 50%;
}

.field-4 {
	width: 75%;
}

.field-5, .field-6 , .field-15, .field-16 {
	width: 25%;
}

.field-7 {
	width: 41.66%;
}

.field-8 {
	width: 33.33%;
}

.field-11, .field-12, .field-13, .field-14 {
	width: 66.66%;
}

div#aviso {
	/* box-sizing */
	/* content, padding y border incluidos en el width y height */
	box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
	border: 1px solid #e1e1e1;
	border-radius: 1em;
	margin-top: 12em;
}

div#fondo {
	position: fixed;
	top: 0em;
	left: 0em;
	bottom: 0em;
	right: 0em;
	display: none;
	z-index: 3;
}

div.navi {
	position: fixed;
	top: 3.5em;
	left: 0em;
	
	width: 100%;
	height: 8em;
	z-index: 1;
	background: #ffffff; /* Necesario para que div.panel no se 'overlap' */
}

section#catalogo div.navi {
	height: auto;
}

div.panel {
	position: absolute;
	top: 11.5em;
	left: 20%;
	width: 80%;
}

section#catalogo div.panel {
	top: 8.5em;
}

div.grid {
	display: none;
	/* Flex container */
	/*
	display: flex;
	*/
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	-ms-flex-flow: row wrap;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	-ms-justify-content: flex-start;
}

div.contenedor {
	display: none;
	width: 20%; /* 5 productos por fila */
	height: auto;
	padding: 2em 2em 0em;
	
	/* box-sizing */
	/* content, padding y border incluidos en el width y height */
	box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

div.img {
	margin: auto; /* Para centrar el div.img dentro de su contenedor */
	width: 90%;
	height: auto;
	overflow: hidden;
	border: 1px solid #b0b0b0;
}

div.icon-menu {
	display: none;
}

div.visita {
	margin: 0 .5em;
	padding: 1em .3em;
	border-bottom: 1px dashed #b0b0b0;
}

div.visita:nth-child(odd) {
	background: #f5f5f5;
}

div.visita:last-child {
	margin-bottom: 1.5em;
}

div.contenedor-tables {
	overflow-x: auto;
	position: relative;
	height: 50em;
	margin: 0 20%;
}

.wrapper-form {
	margin: 0 auto 1em;
	width: 41.66%;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	min-height: 100%;
}

div.buscador, div.form-fechas {
	box-sizing: border-box;
	width: 100%;
	padding: 0 1.5em 1.5em;
}

div.buscador  {
	padding: 0 .5em 1.5em;
}

/*
div.filtro {
	padding: 0 .5em;
}
*/

div.form-fechas {
	background-color: #FAFAFA;
	box-shadow: 0em 0.1em 0em rgba(0,0,0,0.3);
	border-radius: 0.2em;
	padding-top: 1em;
}

div.buscador p.title, div.form-fechas p.title {
	font-size: 1.5em;
	margin: 0;
	margin-bottom: .83em;
	border-bottom: 1px solid gray;
}

div.form-fechas #formupload {
	margin: 0;
	padding: 0;
	text-align: left;
}

div.filtroUbica {
	box-sizing: border-box;
	width: 100%;
	height: auto;
	margin-top: -1em;
	margin-bottom: 1em;
	text-align: left;
	border: .06em solid rgb(162, 162, 162);
	padding: .2em 0;
}

div.filtroUbica ul {
	margin: 0;
	padding: 0;
}

div.filtroUbica ul.itemUbica {
	display: flex;
	justify-content: space-around;
}

ul.itemUbica li {
	padding: 0;
	border-bottom: none;
}

li.nameItem, li.valueItem {
	padding: 0;
	border-bottom: none;
}

li.nameItem {
	font-size: .9em;
}

li.valueItem select {
	font-size: .9em;
}

div.form-fechas p.botones {
	margin: 0;
}

div.contentImage {
	display: flex;
	align-items: center;
	width: 12.5%;
	height: auto;
	box-sizing: border-box;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 0 2em;
	overflow: hidden;
	cursor: pointer;
}

div.contentImage:hover {
	opacity: 0.7;
}

div.contentImage img {
	width: 100%;
	height: auto;
	margin: .5em auto;
}

div.contentDocument {
	width: 12.5%;
	height: auto;
	box-sizing: border-box;
	padding: 0 1em;
	overflow: hidden;
}

div.contentDocument img {
	width: 2.5em;
	height: 2.5em;
	display: block;
	margin: .5em auto;
}

div.contentDocument p {
	width: 100%;
	font-size: .8em;
	text-align: center;
	white-space: pre-line;
	word-wrap: break-word;
	-webkit-margin-before: 0;
	-webkit-margin-after: 0;
}


/************************/
/**** MEDIA QUERIES ****/
/**********************/

@media only screen and (max-width: 1024px) {

	/*
		Tablets posicion horizontal,
		3 productos por fila
	*/
	
	div.contenedor {
		width: 33.33%; /* 3 productos por fila */
	}

	div.contentImage, div.contentDocument {
		width: 16.66%;
	}

	/*
		En la pantalla del articulo, se adapta el formulario
	*/
	form#article, input[type="text"].description {
		width: 66.66%; /* 8 col / 12 grid */
	}

	/*
		Icono CARGANDO
	*/
	#mssg div {
		width: 50%;
	}


	div.contenedor-tables {
		margin: 0 10%;
	}

	div.addUser {
		width: 58.33%;
	}

	div.wrapper {
		width: 66.66%; /* 8 col / 12 grid */
	}

	.wrapper-form {
		width: 66.66%;
	}

	table#recuento-table, table#buttons, div.recuento-cabecera {
		width: 66.66%;
	}

	div.recuento-cabecera ul.ubicacion li {
		width: calc(66.66% / 5);
	}

	img.modal-content {
		width: 30%;
	}
}

@media only screen and (max-width: 768px) {
	/*
		Smartphones posicion horizontal y tablets posicion vertical,
		el menu se esconde y se accede a este por medio del icono menu.png,
		3 productos por fila
	*/

	/*
		En el menu principal, se muestran 2 opciones por fila
	*/
	section.menu figure {
		width: 50%;
	}


	div.panel {
		top: 14.5em;
		width: 100%;
		left: 0em;
	}

	section#catalogo div.panel {
		top: 11.5em;
	}

	div.contenedor {
		width: 33.33%; /* 3 productos por fila */
	}

	div.icon-menu {
		display: block;
		position: fixed;
		top: 11.5em;
		left: 0em;
	
		width: 100%;
		height: 3em;
		z-index: 1;
		background: #ffffff; /* Necesario para que div.panel no se 'overlap' */
	}

	section#catalogo div.icon-menu {
		top: 8.5em;
	}

	nav {
		display:none;
	}

	/*
		En la pantalla del articulo, se adapta el formulario
	*/
	form#article, input[type="text"].description {
		width: 83.33%; /* 10 col / 12 grid */
	}

	/*
		Icono CARGANDO
	*/
	#mssg div {
		width: 50%;
	}


	div.contenedor-tables {
		margin: 0 5%;
	}

	div.addUser {
		width: 83.33%;
	}

	div.wrapper {
		width: 91.66%; /* 11 col / 12 grid */
	}

	.wrapper-form {
		width: 83.33%;
	}

	table#recuento-table, table#buttons, div.recuento-cabecera {
		width: 83.33%;
	}

	div.recuento-cabecera ul.ubicacion li {
		width: calc(83.33% / 5);
	}

	img.modal-content {
		width: 40%;
	}
}

@media only screen and (max-width: 480px) {
	/*
		Smartphones posicion vertical,
		el menu se esconde y se accede a este por medio del icono menu.png,
		2 productos por fila
	*/
	
	div.contenedor {
		width: 50%; /* 2 productos por fila */
	}

	div.contentImage, div.contentDocument {
		width: 33.33%;
	}

	/*
		En el menu principal, se muestra 1 opcion por fila
	*/
	section.menu figure {
		width: 100%;
	}

	/*
		En la pantalla del articulo, se adapta el formulario
	*/
	form#article, input[type="text"].description {
		width: 91.66%; /* 11 col / 12 grid */
	}

	/*
		Icono CARGANDO
	*/
	#mssg div {
		width: 33.33%;
	}

	div.contenedor-tables {
		margin: 0 2%;
	}

	.table2 {
		left: 0;
	}

	div.addUser {
		width: 91.66%;
	}

	.field-1, .field-2, .field-3, .field-8, .field-9, .field-10, .field-11, .field-12, .field-13, .field-14 {
		width: 100%;
	}
	
	.field-4 {
		width: 75%;
	}
	
	.field-5 {
		width: 25%;
	}

	.field-6 {
		width: 33.33%;
	}
	
	.field-7 {
		width: 66.66%;
	}

	.field-15, .field-16 {
		width: 50%;
	}

	.wrapper-form {
		width: 100%;
	}

	table#recuento-table, table#buttons, div.recuento-cabecera {
		width: 91.66%;
	}

	div.recuento-cabecera ul.ubicacion li {
		width: calc(91.66% / 5);
	}

	img.exit {
		padding: .5em 1em !important;
	}

	img.addEvent {
		padding: .5em 1em !important;
	}
	
	img.ecommerce {
		padding: .5em 1em 0 !important;
	}
}


/******************/
/**** LINKS ****/
/****************/

a, a:visited {
	text-decoration: none;
	color: black;
}

a:hover {
	font-weight: bold;
}

a.mail {
	word-break: break-all;
}

a.tel:before {
	vertical-align: middle;
	text-align: center;
	width: 1.20em;
	height: 1.20em;
	padding: 0.1em;
	margin: 0.2em;
	margin-top: -0.1em;
	margin-right: 0.5em;
	content: url("../img/phone-black.png");
}

a.mail:before {
	vertical-align: middle;
	text-align: center;
	width: 1.20em;
	height: 1.20em;
	padding: 0.1em;
	margin: 0.2em;
	margin-top: -0.1em;
	margin-right: 0.5em;
	content: url("../img/mail-black.png");
}

a.map:before {
	vertical-align: middle;
	text-align: center;
	width: 1.20em;
	height: 1.20em;
	padding: 0.1em;
	margin: 0.2em;
	margin-top: -0.1em;
	margin-right: 0.5em;
	content: url("../img/mapa.png");
}

a.edit:after {
	vertical-align: top;
	text-align: center;
	width: 1.20em;
	height: 1.20em;
	padding: 0.1em;
	margin: 0.2em;
	margin-top: -0.1em;
	content: url("../img/edit-small.png");
}

a.tel:hover, a.mail:hover, a.map:hover, a.edit:hover {
	color: #b0b0b0;
}

p.linkTo a:hover {
	font-weight: normal;
}


/****************/
/**** INPUTS ****/
/**************/

input, textarea {
	font-size: 1.2em;
	padding: 0.5em;
	border-radius: 0.2em;
	border-color: rgb(162,162,162);
	border-width: 0.06em;
	cursor: auto;
}

input.box {
	width: 90%;
}

input.cadena {
	background-position: 0.2em center;
	padding-left: 1.1em;
	background-image: url("../img/search-black.png");
	background-repeat: no-repeat;
	width: 100%;
	height: 2.5em;
	border-radius: 0;
}

div.buscador input[type="button"] {
	margin-top: 1rem;
}

input.description {
	box-sizing: border-box;
	padding: .3em;
	width: 41.66%;
	text-align: center;
}

input[type=checkbox] {
	padding: 0em;
	/*** Cursor aspecto de mano ***/
	/* Standard syntax */
	cursor: pointer;
	/* Internet Explorer */
	cursor: hand;
}

input[type=button] {
	/*** Desactivar estilo por defecto botones iOS ***/
	-webkit-appearance: none;
	-webkit-border-radius: 0;
	
	border: none;
	text-decoration: none;
	color: #ffffff;
	font-size: 1.1em;
	padding: 5px 5px;
	margin: 0px 5px;
	cursor: pointer;
	letter-spacing: 1px;
	display: inline-block;
	position: relative;
	border: 1px solid #333;
	
	/*** Sombra de texto ***/
	text-shadow: 0px -1.2px 0px #333333;
	
	/*** Bordes redondeados ***/
	border-radius: 15px;
}

input[type=button].submit, input[type=button].search, input[type=button].acept, input[type=button].alert, input[type=button].ok {
	
	background-color: rgb(53, 163, 240);
	
	/*** Degradados ***/
	/*  Chrome 1-9 and Safari 4-5.0  */
	background-image: -webkit-gradient(linear, left top, left bottom,
		color-stop( 0.0, rgb(234, 245, 253) ),
		color-stop( 0.044, rgb(214, 236, 252) ),
		color-stop( 0.088, rgb(194, 227, 250) ),
		color-stop( 1.0, rgb(42, 130, 192) ));

	/*  Chrome 10+ Safari 5.1+ Mobile Safari  */
	background-image: -webkit-linear-gradient(top,
		rgb(234, 245, 253), 
		rgb(214, 236, 252) 4.4%,
		rgb(194, 227, 250) 8.8%,
		rgb(42, 130, 192) );

	/*  Firefox 3.6+  */
	background-image: -moz-linear-gradient(top,
		rgb(234, 245, 253), 
		rgb(214, 236, 252) 4.4%,
		rgb(194, 227, 250) 8.8%,
		rgb(42, 130, 192) );
		
	/*  IE 10+  */
	background-image: -ms-linear-gradient(top,
		rgb(234, 245, 253), 
		rgb(214, 236, 252) 4.4%,
		rgb(194, 227, 250) 8.8%,
		rgb(42, 130, 192) );

	/*  Opera 11.10+  */
	background-image: -o-linear-gradient(top,
		rgb(234, 245, 253), 
		rgb(214, 236, 252) 4.4%,
		rgb(194, 227, 250) 8.8%,
		rgb(42, 130, 192) );
		
	/*  W3C  */
	background-image: linear-gradient(top,
		rgb(234, 245, 253), 
		rgb(214, 236, 252) 4.4%,
		rgb(194, 227, 250) 8.8%,
		rgb(42, 130, 192) );
}

input[type=button].submit:hover, input[type=button].search:hover, input[type=button].acept:hover, input[type=button].alert:hover, input[type=button].ok:hover {
	
	/***  Degradados  ***/
	/*  Chrome 1-9 and Safari 4-5.0  */
	background-image: -webkit-gradient(linear, left top, left bottom,
		color-stop( 0.0, rgb(42, 130, 192) ),
		color-stop( 1.0, rgb(42, 130, 192) ));

	/*  Chrome 10+ Safari 5.1+ Mobile Safari  */
	background-image: -webkit-linear-gradient(top,
		rgb(42, 130, 192), 
		rgb(42, 130, 192) );

	/*  Firefox 3.6+  */
	background-image: -moz-linear-gradient(top,
		rgb(42, 130, 192), 
		rgb(42, 130, 192) );

	/*  IE 10+  */
	background-image: -ms-linear-gradient(top,
		rgb(42, 130, 192), 
		rgb(42, 130, 192) );

	/*  Opera 11.10+  */
	background-image: -o-linear-gradient(top,
		rgb(42, 130, 192), 
		rgb(42, 130, 192) );

	/*  W3C  */
	background-image: linear-gradient(top,
		rgb(42, 130, 192), 
		rgb(42, 130, 192) );
}

input[type=button].cancel, input[type=button].cancelSearch, input[type=button].cancelAcept {
	background-color:rgb(230, 16, 24);
	
	/***  Degradados  ***/
	/*  Chrome 1-9 and Safari 4-5.0  */
	background-image: -webkit-gradient(linear, left top, left bottom,
		color-stop( 0.0, rgb(246, 128, 131) ),
		color-stop( 0.100, rgb(245, 104, 109) ),
		color-stop( 0.200, rgb(243, 80, 86) ),
		color-stop( 0.500, rgb(241, 56, 63) ),
		color-stop( 1.0, rgb(230, 16, 24) ));

	/*  Chrome 10+ Safari 5.1+ Mobile Safari  */
	background-image: -webkit-linear-gradient(top,
		rgb(246, 128, 131), 
		rgb(245, 104, 109) 10.0%,
		rgb(243, 80, 86) 20.0%,
		rgb(241, 56, 63) 50.0%,
		rgb(230, 16, 24) );

	/*  Firefox 3.6+  */
	background-image: -moz-linear-gradient(top,
		rgb(246, 128, 131), 
		rgb(245, 104, 109) 10.0%,
		rgb(243, 80, 86) 20.0%,
		rgb(241, 56, 63) 50.0%,
		rgb(230, 16, 24) );

	/*  IE 10+  */
	background-image: -ms-linear-gradient(top,
		rgb(246, 128, 131), 
		rgb(245, 104, 109) 10.0%,
		rgb(243, 80, 86) 20.0%,
		rgb(241, 56, 63) 50.0%,
		rgb(230, 16, 24) );

	/*  Opera 11.10+  */
	background-image: -o-linear-gradient(top,
		rgb(246, 128, 131), 
		rgb(245, 104, 109) 10.0%,
		rgb(243, 80, 86) 20.0%,
		rgb(241, 56, 63) 50.0%,
		rgb(230, 16, 24) );

	/*  W3C  */
	background-image: linear-gradient(top,
		rgb(246, 128, 131), 
		rgb(245, 104, 109) 10.0%,
		rgb(243, 80, 86) 20.0%,
		rgb(241, 56, 63) 50.0%,
		rgb(230, 16, 24) );
}

input[type=button].cancel:hover, input[type=button].cancelSearch:hover, input[type=button].cancelAcept:hover {
	
	/***  Degradados  ***/
	/*  Chrome 1-9 and Safari 4-5.0  */
	background-image: -webkit-gradient(linear, left top, left bottom,
		color-stop( 0.0, rgb(230, 16, 24) ),
		color-stop( 1.0, rgb(230, 16, 24) ));

	/*  Chrome 10+ Safari 5.1+ Mobile Safari  */
	background-image: -webkit-linear-gradient(top,
		rgb(230, 16, 24), 
		rgb(230, 16, 24) );

	/*  Firefox 3.6+  */
	background-image: -moz-linear-gradient(top,
		rgb(230, 16, 24), 
		rgb(230, 16, 24) );

	/*  IE 10+  */
	background-image: -ms-linear-gradient(top,
		rgb(230, 16, 24), 
		rgb(230, 16, 24) );

	/*  Opera 11.10+  */
	background-image: -o-linear-gradient(top,
		rgb(230, 16, 24), 
		rgb(230, 16, 24) );

	/*  W3C  */
	background-image: linear-gradient(top,
		rgb(230, 16, 24), 
		rgb(230, 16, 24) );
}

input[type=button].submit, input[type=button].cancel {
	width: 40%;
}

input[type=button].search, input[type=button].cancelSearch {
	width: 30%;
}

input[type=button].acept, input[type=button].cancelAcept {
	width: 80%;
}

input[type="button"].print {
	width: 7em;
}

input[type=date] {
	padding: 0em;
	cursor: pointer;
	border: 1px solid #b0b0b0;
}

input[type=number] {
	text-align: center;	
}

input[type=number].cantidad {
	height: 0.8em;
	width: 5.5em;
}


/*******************/
/**** IMAGENES ****/
/*****************/

img {
    border: none;
}

img.home {
	margin-left: .5em;
	padding: .5em;
	float: left;
	width: 2.5em;
	height: 2.5em;
	/*** Cursor aspecto de mano ***/
	/* Standard syntax */
	cursor: pointer;
	/* Internet Explorer */
	cursor: hand;
}

img.exit {
	padding: .5em 1.25em .5em 3em;
	width: 2em;
	height: 2em;
	float: right;
	
	/*** Cursor aspecto de mano ***/
	/* Standard syntax */
	cursor: pointer;
	/* Internet Explorer */
	cursor: hand;
}

img.icono {
	width: 8em;
	height: 8em;
	
	/*** Efecto zoom en la imagen ***/
	/* Standard syntax */
	transition-property: all;
	transition-duration: 2s;
	transition-timing-function: linear;
	/* Safari 3.1-6.0 */
	-webkit-transition-property: all;
	-webkit-transition-duration: 1s;
	-webkit-transition-timing-function: linear;
	
	/*** Cursor aspecto de mano ***/
	/* Standard syntax */
	cursor: pointer;
	/* Internet Explorer */
	cursor: hand;
}

img.icono:hover {
	width: 10em;
	height: 10em;
} 

img.docu {
	margin-right: 1em;
	width: 3em;
	height: 3em;
	
	/*** Cursor aspecto de mano ***/
	/* Standard syntax */
	cursor: pointer;
	/* Internet Explorer */
	cursor: hand;
}

img.pdf {
	vertical-align: bottom;
	width: 2.5em;
	height: 2.5em;
	/*** Cursor aspecto de mano ***/
	/* Standard syntax */
	cursor: pointer;
	/* Internet Explorer */
	cursor: hand;
}

img.addEvent {
	padding: .5em 3em;
	width: 2em;
	height: 2em;
	float: right;
}

img.ecommerce {
	margin-top: -.7em;
	padding: .5em 3em 0;
	width: 3em;
	height: 3em;
	float: right;
}

img.edit, img.edit-right {
	margin-left: 0.5em;
	width: 1.5em;
	height: 1.5em;
	padding: 0 .625em;
}

img.edit-right {
	position: absolute;
	right: 1.6em;
}

img.edit-small {
	padding: .5em;
	/*** Cursor aspecto de mano ***/
	/* Standard syntax */
	cursor: pointer;
	/* Internet Explorer */
	cursor: hand;
}

img.search {
	width: 2.5em;
	height: 2.5em;
	vertical-align: -15px;
	
	/*** Cursor aspecto de mano ***/
	/* Standard syntax */
	cursor: pointer;
	/* Internet Explorer */
	cursor: hand;
}

img.delete {
	/*** Cursor aspecto de mano ***/
	/* Standard syntax */
	cursor: pointer;
	/* Internet Explorer */
	cursor: hand;
	vertical-align: middle;
	padding: .5em;
}

img.reload {
	/*** Cursor aspecto de mano ***/
	/* Standard syntax */
	cursor: pointer;
	/* Internet Explorer */
	cursor: hand;
	vertical-align: middle;
	padding: 0 .5em;
}

img.contenedor {
	width: 100%;
	height: auto; /* Para que sea responsive */
	margin: 1em auto; /* Para centrar la imagen */
}

img.trash {
	vertical-align: middle;
	margin-left: 1em;
	
	/*** Cursor aspecto de mano ***/
	/* Standard syntax */
	cursor: pointer;
	/* Internet Explorer */
	cursor: hand;
}

img.icon-menu {
	width: 2.5em;
	height: 2.5em;
	padding: 0.5em 1em;
	
	/*** Cursor aspecto de mano ***/
	/* Standard syntax */
	cursor: pointer;
	/* Internet Explorer */
	cursor: hand;
}


/*****************/
/**** TABLAS ****/
/***************/

table {
	border-collapse: collapse;
	margin: 0.5em 0em 1em;
	font-size: 1em;
}

#product, #registro {
	font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
	font-size: 0.95em;
	margin: 0 1em;
}

section#catalogo #registro {
	margin: 0;
}

#product th, #registro th {
	font-size: 1em;
	color: #474A51;
	padding: 0.6em 0.5em;
	border-bottom: 2px solid #b0b0b0;
	text-align: right;
}

#product tbody td, #product tfoot td, #registro tbody td, #registro tfoot td {
	font-size: 0.9em;
	padding: 0.56em 0.5em 0.5em 0.5em;
	text-align: right;
}

#product tbody tr + tr, #registro tbody tr + tr {
	border-top: 1px solid #dddddd;
}

#product td {
	width: 14%;
}

#product #denomina {
	width: 30%;
}

#product th:first-child, #product tbody td:first-child {
	text-align: left;
}

#product tfoot td, #registro tfoot td {
	background: #F5F5F5;
}

#pedido {
	font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
	text-align: center;
	margin: 0 auto;
	margin-top: 1em;
	padding: 0 0.5em;
}

#pedido thead th{
	font-size: 1.2em;
	color: #474A51;
	padding: 0.6em 0.6em 0.6em 0.2em;
	border-bottom: 2px solid #b0b0b0;
	border-right: 1px solid #dddddd;
	text-align: left;
}

#pedido tbody tr {
	border-bottom: 1px solid #dddddd;
}

#pedido tbody td {
	border-right: 1px solid #dddddd;
	padding: 0.6em 0.6em 0.6em 0.2em;
	font-size: 0.9em;
}

#pedido tbody td:first-child {
	text-align: left;
}

#pedido tfoot td {
	font-weight: bold;
	text-align: right;
	padding: 1.5em 0.6em 0em 0em;
	font-size: 1em;
	vertical-align: bottom;
}

#pedido tfoot textarea {
	font-size: 1em;
	width: 90%;
}

#pedido caption {
	caption-side: bottom;
	text-align: right;
	padding-top: 1.5em;
}

#details {
	font-size: 0.9em;
	margin: 0 auto;
}

#details tbody {
	background: #F5F5F5;
	text-align: center;
}

#details td:first-child {
	background: #ffffff;
}

table.notas {
	box-sizing: border-box;
	font-size: 1em;
	width: calc(100% - 2em);
	margin: .5em 1em 1em;
}

#client {
	margin: .5em 1em 1em;
}

#client td.tdL, #client td.tdR {
	border-bottom: 1px solid #dddddd;
}

#client td.tdL{
	font-weight: oblique;
	text-align: right;
	vertical-align: top;
}

#client td.tdR {
	text-align: left;
	padding-left: 0.5em;
}

#client textarea {
	font-size: 1em;
	text-align: left;
}

table.date {
	margin: 0em;
	font-weight: bold;
	font-size: 1.1em;
}

table.date td:first-child {
	padding-left: 1em;
}

table.date td {
	padding-bottom: 0.5em;
}

.table1 {
	width: 100%;
}

.table2 {
	position: absolute;
	right: 0;
}

/* Tabla recuentos */

#recuento-table {
	border: 1px solid black;
	width: 41.66%;
	text-align: center;
	margin: 0 auto 1em;
	box-sizing: border-box;
}

#recuento-table tr {
	height: 3.75em;
}

#recuento-table tr + tr {
	border-top: 1px solid black;
}

#recuento-table th:nth-child(1), #recuento-table td:nth-child(1) {
	width: 10%;
	padding: .5em .5em;
}

#recuento-table td:nth-child(1) {
	text-align: left;
}

#recuento-table th:nth-child(2), #recuento-table th:nth-child(3) {
	width: 40%;
	border-left: 1px solid black;
	padding: .5em 1em;
}

#recuento-table td:nth-child(2), #recuento-table td:nth-child(3) {
	border-left: 1px solid black;
	padding: .5em 1em;
	background-color: #f1f1f1;
}

#recuento-table input {
	box-sizing: border-box;
	font-size: 1.2em;
	width: 95%;
	/* Descomentar para centrar en PDA vieja
	margin: 0 .5em;
	*/
}

#buttons {
	width: 41.66%;
	text-align: center;
	margin: 0 auto 1em;
}

#buttons td {
	width: 50%;
	padding: 0em 0;
}

/*******************/
/**** PARRAFOS ****/
/*****************/


p.title {
	text-align: center;
	font-weight: bold;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

p.title:hover {
	white-space: inherit;
	text-overflow: inherit;
	overflow: visible;
}

p.noResults, p.noResultsCode, p.botones {
	text-align: center;
}

p.noResultsCode {
	font-size: 1.1em;
	font-weight: bold;
}

p.contenedor {
	padding: 0.2em 0.2em 0em;
	text-align: center;
	white-space: pre-line; /* Colapsa varios espacios en blanco en uno */
	word-wrap: break-word; /* Rompe las palabras para que no se salgan de su contenedor */
}

p.upload {
	width: 80%;
	margin: 0.2em 2em 1em;
}

p.fami {
	margin: 2em 0.5em 0em 1.5em;
	border-bottom: 1px solid #b0b0b0;
	background: url("../img/optionArrow.png") no-repeat right;
	vertical-align: middle;
}

p.head {
	text-align: left;
	padding: 0em 1em;
}

p.visita, p.pre4, p.pre5 {
	margin: 0em;
}

p.pre4 {
	margin-bottom: 0.5em;
}

p.pre5 {
	font-size: 0.8em;
}

.pre1, .pre2, .pre3 {
	font-size: .9em;
	color: black;
	font-weight: 400; /* font normal */
}

.pre3 {
	display: none;
}

p.visita {
	padding: 0 1.6em;
}

p.notas {
	font-size: .9em;
	margin: 0em;
	padding: 0.4em 1.8em 0;
	white-space: pre-line; /* Colapsa varios espacios en blanco en uno */
	word-wrap: break-word; /* Rompe las palabras para que no se salgan de su contenedor */
}

p.noOffer {
	display: none;
	margin: 0 0 0.5em;
}

p.linkTo {
	margin: 0 -1em;
	padding: .2em 0;
	text-align: right;
	text-decoration: underline;
}

p.linkTo em {
	padding: 1em;
	/*** Cursor aspecto de mano ***/
	/* Standard syntax */
	cursor: pointer;
	/* Internet Explorer */
	cursor: hand;
}


/**************************/
/**** OTROS ELEMENTOS ****/
/************************/

fieldset {
	-webkit-border-radius: .25rem;
	-moz-border-radius: .25rem;
	border-radius: .25rem;
	margin-bottom: 1rem;
}

legend {
	margin: .5rem;
	padding: 0 .2rem;
}

p.checkbox {
	margin: 0;
	margin-bottom: 1rem;
}

summary, .summary {
	cursor: pointer;
	font-size: 1.1em;
	font-weight: bold;
	padding: 0.3em;
	border-bottom: 1px solid #b0b0b0;
	margin: 0 0.5em;
	text-align: left;
}

summary::-webkit-details-marker {
	display: none;
}

summary:before {
	vertical-align: middle;
	text-align: center;
	width: 1.20em;
	height: 1.20em;
	padding: 0.1em;
	margin: 0.1em;
	margin-top: -0.1em;
	content: url("../img/downArrow.png");
}

details[open] summary:before {
	content: url("../img/upArrow.png");
}

figure {
	margin: 1em 0em;
	width: 33.33%; /* 3 items por fila */
	text-align: center;
}

figcaption {
	font-size: 1.3em;
}

h3.upload {
	border-bottom: 1px solid gray;
	padding: 0.2em;
	text-align: center;
}

select.fami {
	/* Desactivar estilo por defecto */
	border: none;
	box-shadow: none;
	background-color: transparent;
	appearance: none; /* Desactivar flechas por defecto */
	-webkit-appearance: none;
	
	font-size: 1em;
	font-family: "Courier New", Courier, monospace;
	font-weight: bold;
	width: 100%;
	padding: 0em 0em 0.5em 0em;
	
	white-space: pre-line; /* Colapsa varios espacios en blanco en uno */
	word-wrap: break-word; /* Rompe las palabras para que no se salgan de su contenedor */
	
	/*** Cursor aspecto de mano ***/
	/* Standard syntax */
	cursor: pointer;
	/* Internet Explorer */
	cursor: hand;
}

ul.navi {
	/* Desactivar estilo por defecto */
	list-style-type: none;
	padding: 0em;

	font-weight: bold;
	margin: 0em 0.5em 2em 1.5em;
}

li, li.sele {
	display: block;
	/*text-decoration: none;*/
	padding: 0.8em 0em 0.5em 0em;
	border-bottom: 1px solid #b0b0b0;
	
	/*** Cursor aspecto de mano ***/
	/* Standard syntax */
	cursor: pointer;
	/* Internet Explorer */
	cursor: hand;
}

li.sele, td.pdte, #red {
	color: #E00000;
}

ul.list {
	box-sizing: border-box;
	width: calc(100% - 2em);
	margin: 0 1em 1em;
	padding: 0;
}

li.contenedorList {
	box-sizing: border-box;
	border-bottom: 2px solid black;
}

section#catalogo li.contenedorList {
	margin: .2em 0 .5em;
	cursor: none;
}

section#catalogo li.contenedorList ul li {
	cursor: auto;
}

section#catalogo li.contenedorList ul li:last-child {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.contenedorList ul {
	padding: 0;
}

.contenedorList li {
	overflow: hidden;
	/*
	display: inline-block;
	*/
	border-bottom: none;
	padding: 0;
	padding-bottom: .3em;
}

li.return {
	margin: 0;
	padding: 0;
	list-style-type: none;
	border-bottom: none;
	cursor: auto;
}

li.return ul {
	margin: 0;
	padding: 0;
	text-decoration: underline;
	padding: 2em 1em;
	cursor: pointer;
	width: 3em;
}

ul.modeView {
	position: absolute;
	right: 0em;
}

.puntero {
	/*** Cursor aspecto de mano ***/
	/* Standard syntax */
	cursor: pointer;
	/* Internet Explorer */
	cursor: hand;
}

span.offer {
	color: #fff;
	background-color: #E00000;
	border: 3px solid #E00000;
	padding: 0.1em 0.2em;
	margin-right: 0.1em;
}

#hexagon {
	text-align: center;
	padding: 0em;
	margin: 0em;
	margin-bottom: .5em;
	display: none;
}

#hexagon li {
	overflow: hidden;
	display: inline-block;
	list-style-type: none;
	border-bottom: none;
	padding: 0em;
	cursor: default;
}

#hexagon p {
	margin: 0em;
}

#hexagon span {
	display: block;
	line-height: 60px;
	font-family: 'Capriola', sans-serif;
	font-size: 0.8em;
	color: black;
}

#hexagon li.hexagon {
	overflow: hidden;
	visibility: hidden;
	transform: rotate(120deg);
}

#hexagon p.hexagon-in1 {
	overflow: hidden;
	transform: rotate(-60deg);
}

#hexagon span.hexagon-in2 {
	background-color: #E00000;
	overflow: hidden;
	visibility: visible;
	color: #fff;
	transform: rotate(-60deg);
	font-weight: bold;
	padding: 0.1em;
}

div.tab {
	/* box-sizing */
	/* content, padding y border incluidos en el width y height */
	box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
	margin: 0 1em;
	border: .06em solid #ccc;
	background-color: #f1f1f1;
	overflow: hidden;
}

div.tab button {
	border: none;
	outline: none;
	cursor: pointer;
	background-color: inherit;
	padding: 1em;
	font-size: 1rem;
}

div.tab button:hover {
	background-color: #ddd;
}

div.tab button.active {
	background-color: #ccc;
}

.tabcontent {
	/* box-sizing */
	/* content, padding y border incluidos en el width y height */
	box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
	overflow-x:auto; /* Horizontal scroll bar if the screen is too small */
	margin: 0 1em;
	border: .06em solid #ccc;
	border-top: none;
}

.tabcontent ul {
	padding: 0;
	padding-left: 1em;
}

.tabcontent ul li {
	font-weight: bold;
	list-style-type: none;
	overflow: hidden;
	display: inline-block;
	border-bottom: none;
	padding: 0;
	padding-right: 0.5em;
	cursor: auto;
}

.recuento-cabecera {
	box-sizing: border-box;
	margin: 0 auto 1em;
	width: 41.66%;
}

.recuento-cabecera ul {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.recuento-cabecera ul li {
	display: inline-block;
	border-bottom: none;
	padding: .5em 0 0;
}

.recuento-cabecera ul:first-child li:first-child, .recuento-cabecera ul:nth-child(2) li:first-child {
	width: 20%;
}

.recuento-cabecera ul:first-child li:last-child, .recuento-cabecera ul:nth-child(2) li:last-child{
	width: 71.66%;
}

.recuento-cabecera ul.ubicacion li {
	width: calc(91.66% / 5);	
}

.recuento-cabecera ul.ubicacion:last-child li {
	padding: 0;
}

.recuento-cabecera input {
	font-size: 1em;
	text-align: left;
}

.recuento-cabecera select {
	font-size: 1em;
}

#formupload {
	margin: 1.5rem auto;
	padding: 0 1.5rem;
}

.buscador #formupload {
	margin: 0;
	padding: 0;
	text-align: left;
}

.addUser #formupload {
	padding: 0;
}

#formupload label {
	display: inline-block;
	margin-bottom: .5rem;
	cursor: pointer;
}

#formupload input[type="text"], #formupload input[type="password"], #formupload input[type="number"], #formupload input[type="email"], #formupload input[type="date"], #formupload input[type="datetime-local"], #formupload textarea {
	box-sizing: border-box;
	width: 100%;
	min-width: 100%;
	margin: 0;
	margin-bottom: 1rem;
	text-align: left;
	padding: .5em;
	height: 2.5em;
	font-size: 1em;
}

#formupload textarea {
	height: auto;
}

#formupload input[type="text"].delete {
	/*** Cursor aspecto de mano ***/
	/* Standard syntax */
	cursor: pointer;
	/* Internet Explorer */
	cursor: hand;
	
	/*** Deshabilitar seleccionar texto con el raton ***/
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none; 
	
	color: red;
	text-align: center;
}

#formupload select {
	width: 100%;
	margin: 0;
	margin-bottom: 1rem;
	background-color: white;
	font-size: 1em;
	height: 2.5em;
	/*** Cursor aspecto de mano ***/
	/* Standard syntax */
	cursor: pointer;
	/* Internet Explorer */
	cursor: hand;
}

span.horario {
	float: right;
	width: 50%;
}

#formupload span select {
	width: auto;
	height: 1.5em;
}

#formupload p.upload {
	width: 100%;
	margin: 0;
	margin-bottom: .5rem;
}

div.time {
	display: inline-block;
	width: 50%;
}

div.time label {
	width: 40%;
}

div.time select {
	width: 50% !important;
}

span.last {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}

#italic {
	font-style: italic;
}

#bold {
	font-weight: bold;
}

li.border-top-dashed {
	border-top: 1px dashed black;
	padding-top: .3em;
}


/**** PANTALLA ARTICULO ****/

#article {
	margin: 0 auto 1em;
	width: 41.66%; /* 5 col / 12 grid */
}

.tableProduct {
	/* box-sizing */
	/* content, padding y border incluidos en el width y height */
	box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
	height: auto;
	-webkit-display: flex;
	-moz-display: flex;
	-ms-display: flex;
	-o-display: flex;
	display: flex;
	-webkit-flex-flow: column wrap;
	-moz-flex-flow: column wrap;
	-ms-flex-flow: column wrap;
	-o-flex-flow: column wrap;
	flex-flow: column wrap;
	align-items: center;
	border: 1px solid black;
}

.row {
	/* box-sizing */
	/* content, padding y border incluidos en el width y height */
	box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
	width: 100%;
	-webkit-display: flex;
	-moz-display: flex;
	-ms-display: flex;
	-o-display: flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	-moz-flex-flow: row wrap;
	-ms-flex-flow: row wrap;
	-o-flex-flow: row wrap;
	flex-flow: row wrap;
}

.cell-1 {
	/* box-sizing */
	/* content, padding y border incluidos en el width y height */
	box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
	width: 100%;
	border-bottom: 1px solid black;
	padding: .1em;
}

.cell-2 {
	/* box-sizing */
	/* content, padding y border incluidos en el width y height */
	box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
	width: 50%;
	border-bottom: 1px solid black;
	padding: .1em;
}

.left {
	border-right: 1px solid black;
}

.none {
	border-style: none;
}

.tableProduct input {
	width: 80%;
	padding: .5em;
}

#header {
	background-color: #ccc;
	font-weight: 700; /* bold */
}

#subheader {
	background-color: #f1f1f1;
	font-weight: 600;
}

.selectLote {
	width: 80%;
	padding: .5em;
	font-size: 1.2em;
}

.precioMedio {
	display: none;
	color: red;
	vertical-align: middle;
	padding: .5em .1em;
}

/**** ----------------- ****/

/**** ICONO CARGANDO ... ****/

#wait {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgb(224,224,224);
	opacity: 0.5;
	z-index: 10;
	display: none;
}

#mssg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	background-color: rgba(0,0,0,0.4);
	z-index: 11;
	display: none;
}

#mssg div {
	position: absolute;
	top: 3.5em;
	left: 50%;
	-webkit-transform: translate(-50%);
	-ms-transform: translate(-50%);
	-o-transform: translate(-50%);
	transform: translate(-50%);
	margin: 1rem 0;
	padding: 1em;
	width: 33.33%;
	background-color: #d5d5d7;
	border: 0.06rem solid black;
}

#msgText {
	text-align: center;
}

.sk-fading-circle {
	margin: auto;
	width: 4em;
	height: 4em;
	position: relative;
	top: 4em;
	left: 0;
}

.sk-fading-circle .sk-circle {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0; 
}

.sk-fading-circle .sk-circle:before {
	content: '';
	display: block;
	margin: 0 auto;
	width: 15%;
	height: 15%;
	background-color: #333;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
	-webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
	animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
}
		
.sk-fading-circle .sk-circle2 {
	-webkit-transform: rotate(30deg);
	-ms-transform: rotate(30deg);
	transform: rotate(30deg);
}

.sk-fading-circle .sk-circle3 {
	-webkit-transform: rotate(60deg);
	-ms-transform: rotate(60deg);
	transform: rotate(60deg);
}

.sk-fading-circle .sk-circle4 {
	-webkit-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
}

.sk-fading-circle .sk-circle5 {
	-webkit-transform: rotate(120deg);
	-ms-transform: rotate(120deg);
	transform: rotate(120deg);
}

.sk-fading-circle .sk-circle6 {
	-webkit-transform: rotate(150deg);
	-ms-transform: rotate(150deg);
	transform: rotate(150deg);
}

.sk-fading-circle .sk-circle7 {
	-webkit-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	transform: rotate(180deg);
}

.sk-fading-circle .sk-circle8 {
	-webkit-transform: rotate(210deg);
	-ms-transform: rotate(210deg);
	transform: rotate(210deg);
}

.sk-fading-circle .sk-circle9 {
	-webkit-transform: rotate(240deg);
	-ms-transform: rotate(240deg);
	transform: rotate(240deg);
}

.sk-fading-circle .sk-circle10 {
	-webkit-transform: rotate(270deg);
	-ms-transform: rotate(270deg);
	transform: rotate(270deg);
}

.sk-fading-circle .sk-circle11 {
	-webkit-transform: rotate(300deg);
	-ms-transform: rotate(300deg);
	transform: rotate(300deg);
}

.sk-fading-circle .sk-circle12 {
	-webkit-transform: rotate(330deg);
	-ms-transform: rotate(330deg);
	transform: rotate(330deg);
}

.sk-fading-circle .sk-circle2:before {
	-webkit-animation-delay: -1.1s;
	animation-delay: -1.1s;
}

.sk-fading-circle .sk-circle3:before {
	-webkit-animation-delay: -1s;
	animation-delay: -1s;
}

.sk-fading-circle .sk-circle4:before {
	-webkit-animation-delay: -0.9s;
	animation-delay: -0.9s;
}

.sk-fading-circle .sk-circle5:before {
	-webkit-animation-delay: -0.8s;
	animation-delay: -0.8s;
}

.sk-fading-circle .sk-circle6:before {
	-webkit-animation-delay: -0.7s;
	animation-delay: -0.7s;
}

.sk-fading-circle .sk-circle7:before {
	-webkit-animation-delay: -0.6s;
	animation-delay: -0.6s;
}

.sk-fading-circle .sk-circle8:before {
	-webkit-animation-delay: -0.5s;
	animation-delay: -0.5s;
}

.sk-fading-circle .sk-circle9:before {
	-webkit-animation-delay: -0.4s;
	animation-delay: -0.4s;
}

.sk-fading-circle .sk-circle10:before {
	-webkit-animation-delay: -0.3s;
	animation-delay: -0.3s;
}

.sk-fading-circle .sk-circle11:before {
	-webkit-animation-delay: -0.2s;
	animation-delay: -0.2s;
}

.sk-fading-circle .sk-circle12:before {
	-webkit-animation-delay: -0.1s;
	animation-delay: -0.1s;
}

@-webkit-keyframes sk-circleFadeDelay {
	0%, 39%, 100% {
		opacity: 0;
	}
	40% {
		opacity: 1;
	}
}

@keyframes sk-circleFadeDelay {
	0%, 39%, 100% {
		opacity: 0;
	}
	40% {
		opacity: 1;
	}
}

/**** ------------------ ****/

/**** PANTALLA CESTA DEL PEDIDO ****/

.wrapper {
	margin: 0 auto 1em;
	width: 41.66%; /* 5 col / 12 grid */
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	min-height: 100%;
	text-align: left;
}

.lineProduct, .footerBasket {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 100%;
	border-left: 2px solid #b0b0b0;
	border-top: 2px solid #b0b0b0;
	border-right: 2px solid #b0b0b0;
}

.lineProduct_line {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 100%;
	padding: .625em;
}

.lineProduct_line + .lineProduct_line {
	border-top: 1px solid #dddddd;
}

.inlineList {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	align-content: center;
}

.footerBasket {
	border-bottom: 2px solid #b0b0b0;
}

.lineProduct .inlineList_item, .footerBasket .inlineList_item {
	text-align: center;
	width: calc(100%/6);
	padding: .2em 0;
}

.footerBasket .lineProduct_line:last-child {
	border-top: 2px solid #b0b0b0;
}

.footerBasket textarea {
	font-size: 1em;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 100%;
}

#precioLinea, #precioTotal_left, #precioTotal_right {
	font-weight: bold;
}

#precioLinea {
	font-size: 1.2em;
	text-align: left;
}

#precioTotal_left, #precioTotal_right {
	font-size: 1.5em;
}

#precioTotal_left {
	text-align: left;
}

#precioTotal_right {
	text-align: right;
}

#description {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: clip;
}

/**** ------------------ ****/

/**** PANTALLA LISTADO RECUENTOS ****/

.recuento_title {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 100%;
	padding: .625em;
	border-bottom: 2px solid #b0b0b0;
	font-size: 1.17em;
	font-weight: bold;
	background-color: #ccc;
}

.product_title {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 100%;
	background-color: #f1f1f1;
	padding: .3125em .625em;
	border-bottom: 1px solid #dddddd;
}

.product_details {
	padding: .3125em .625em;
	border-bottom: 1px solid #dddddd;
}

.product_detail {
	/* Flex container */
	display: -webkit-flex;
	display: flex;
	display: -ms-flex;
	align-items: center;
	max-width: 100%;
}

.product_detail + .product_detail {
	padding-top: .3125em;
}

.product_detail_target {
	width: 30%;
}

.product_detail_value {
	width: 70%;
}

.product_recontado {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	padding: .625em;
	font-weight: bold;
	border-bottom: 2px solid #b0b0b0;
}

/**** ------------------ ****/

/**** SISTEMA GRID 12 columns ****/

.col-1 {
	width: 8.33%;
}

.col-2 {
	width: 16.66%;
}

.col-3 {
	width: 25%;
}

.col-4 {
	width: 33.33%;
}

.col-5 {
	width: 41.66%;
}

.col-6 {
	width: 50%;
}

.col-7 {
	width: 58.33%;
}

.col-8 {
	width: 66.66%;
}

.col-9 {
	width: 75%;
}

.col-10 {
	width: 83.33%;
}

.col-11 {
	width: 91.66%;
}

.col-12 {
	width: 100%;
}

/**** ------------------- ****/

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 3; /* Sit on top */
    padding-top: 3.5em; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
	display: block;
	margin: auto;
	width: 20%;
	max-width: 43.75em;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 43.75em;
    text-align: center;
    color: #ccc;
    padding: .625em 0;
    height: 9em;
}

/* Add Animation */
.modal-content, #caption {    
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

.warningModal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	padding-top: 4rem; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.warningModal-content {
	position: relative;
	background-color: #fefefe;
	margin: auto;
	padding: 0;
	border: 1px solid #888;
	width: 30%;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
	animation-name: animatetop;
	animation-duration: 0.4s
}

.warningModal-close {
    color: #000000;
    float: right;
    font-size: 28px;
    padding: .5em .5em;
}
  
.warningModal-close:hover, .warningModal-close:focus {
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

/* Modal Header */
.warningModal-header {
    font-size: 125%;
    font-weight: 400;
    padding: 1.5rem 2rem;
    background-color: #e73545;
    color: black;
}

.warningModal-header h2 {
	font: inherit;
	margin: 0;
}
  
/* Modal Body */
.warningModal-body {
    padding: 2rem 2rem;
    background-color: #f6f6f6;
    color: #000000;
    line-height: 1.25;
}
  
/* Modal Footer */
.warningModal-footer {
	font-size: 125%;
    font-weight: 400;
    padding: 1rem 2rem;
	background-color: #d5d5d7;
    text-align: center;
    cursor: pointer;
}

.warningModal-footer p {
	margin: 0;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
	top: .35em;
	right: .25em;
	padding: .75em;
    color: #f1f1f1;
    font-size: 2.5em;
    font-weight: bold;
	transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Sugerencias buscador */
#myUL {
	display: none;
	list-style-type: none;
	padding: 0;
	margin: 0;
	overflow-y: scroll;
	max-height: 24rem;
}

#myUL li {
	border-bottom: none;
	padding: 0;
}

#myUL li a {
	display: block;
	background-color: #f6f6f6;
}

#myUL li a:hover {
	background-color: #eee;
}

#myUL li a.one-col {
	border: .06em solid #ddd;
	margin-top: -.06rem; /* Prevent double borders */
	padding: .75em .5em;
	text-align: left;
	text-decoration: none;
	white-space: nowrap; 
	overflow: hidden;
	text-overflow: ellipsis;
}

#myUL ul.row {
	display: block;
	width: 100%;
	padding: 0;
	display: flex;
	flex-flow: nowrap;
	border: .06em solid #ddd;
	margin-top: -.06rem; /* Prevent double borders */
}

#myUL ul.row li {
	padding: .75em .5em;
	text-align: left;
	white-space: nowrap; 
	overflow: hidden;
	text-overflow: ellipsis;
}

#myUL .row-title {
	color: #7b7b7b;
	background-color: #f6f6f6;
}

#myUL .row-title li {
	cursor: auto;
}

#myUL .column-code {
	width: 20%;
}

#myUL .column-name {
	width: 80%;
}

