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 ****/
/**************************/

section.search, section.lienzo, section.stat {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	position: absolute;
	/* Necesario definir 'top' y 'left' al usar position */
	top: 5.5em;
	left: 0em;
	width: 100%;
	padding: 0 1rem;
}

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;
}

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

div.upload, div#aviso, div#aviso2, div#aviso3 {
	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;
}

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 {
	width: 100%;
}

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

div#aviso, div#aviso2, div#aviso3 {
	/* 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, div#fondo2, div#fondo3 {
	position: fixed;
	top: 0em;
	left: 0em;
	bottom: 0em;
	right: 0em;
	display: none;
	z-index: 3;
}

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.icon-menu button {
	border: none;
	outline: none;
	padding: .75rem;
	margin-left: -.75rem;
	cursor: pointer;
}

div.icon-menu img {
	width: 1.5rem;
	height: 1.5rem;
}

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%;
	position: relative;
}

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

div.buscador  {
	padding: 0;
}

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.form-fechas p.title {
	font-size: 1.5em;
	margin: 0;
	margin-bottom: .83rem;
	border-bottom: 1px solid gray;
}

div.buscador p.title {
	font-size: 1.25rem;
	margin: .83rem 0;
	text-align: left;
}

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

.recuentoContent {
    display: none;
    animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

div.searching-box {
	display: flex;
	flex-wrap: wrap;
	margin-top: 1.5em;
}

div.searching-box .dropbtn {
	display: block;
	margin: 0;
	padding: .75em .5em;
	border-right: .06em solid gray;
	border-left: .06em solid gray;
	text-align: left;
}

div.searching-box input[type="search"].cadena {
	height: 3em;
}

div.searching-box .dropdown-content a {
	text-align: left;
	padding: 1em .5em;;
}

div.inputs-container {
	display: flex;
    flex-wrap: nowrap;
	width: 100%;
}

.inputs-container input#search, .inputs-container input#search2, input#buscador {
	width: 100%;
	display: block;
	font-size: 1rem;
	margin: 0;
	background-position: 0.5em center;
	background-image: url("../img/search-black.png");
	background-repeat: no-repeat;
	padding: 1em 2em;
	border-radius: 0;
	outline: none;
}

#search:focus, #search2:focus, #buscador:focus {
	border-color: #33343b;
}

.inputs-container input#search2 {
	display: none;
}

.broken input#search {
	width: 30%;
}

.broken input#search2 {
	display: block;
	width: 70%;
}

.inputs-container input#search {
	border-bottom-left-radius: 0.25rem;
	border-bottom-right-radius: 0.25rem;
}

.inputs-container input#buscador {
	border-radius: 0.25rem;
}

.inputs-container input[type="button"].icon {
	font-size: 1em;
    min-width: 3em;
    background-image: url('../img/icon-search.png');
    background-size: 2em;
    background-repeat: no-repeat;
    background-position: 45% 45%;
	background-color: #f3f3f3;
	background-color: #afb9c5;
    border: .08em solid #33343b;
	border-radius: 0;
	border-bottom-right-radius: 0.25rem;
	margin: 0;
	margin-left: -.08em;
	outline: none;
}

div.filtroUbica {
	box-sizing: border-box;
	width: 100%;
	height: auto;
	border: .06em solid rgb(162, 162, 162);
	padding: .5em;
}

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;
	width: calc(100%/5);
}

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) {

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

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


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

	div.wrapper, .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
	*/

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

	div.contenedor-tables {
		margin: 0 5%;
	}
	
	div.wrapper, .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.contentImage, div.contentDocument {
		width: 33.33%;
	}

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

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

	.table2 {
		left: 0;
	}

	.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%;
	}

	div.wrapper, .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);
	}
}


/******************/
/**** 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;
	height: 2.5em;
	border-radius: 0;
	width: 100%;
	*/
}

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;
}

img.logo {
	width: auto;
	height: 4rem;
}

.hidden {
    margin-bottom: -1em;
    color: #e73545;
	font-size: 95%;
	width: 100%;
}

#error:empty {
    display: none;
}


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

img {
    border: none;
}

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

img.icono {
	width: 6em;
	height: 6em;
}

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

img.barras {
	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.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 1rem;*/
}

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;
}

#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 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 {
	padding-bottom: 0.5em;
}

.table1 {
	width: 100%;
}

.table2 {
	position: absolute;
	right: 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.notas {
	font-size: .9em;
	margin: 0em;
	padding: 0.4em 3.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.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;
}

/* Base for label styling */
.checkbox input[type="checkbox"]:not(:checked), .checkbox input[type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
}

.checkbox input[type="checkbox"]:not(:checked) + label, .checkbox input[type="checkbox"]:checked + label {
    position: relative;
    padding-left: 1.95em;
    cursor: pointer;
}

/* checkbox aspect */
.checkbox input[type="checkbox"]:not(:checked) + label:before, .checkbox input[type="checkbox"]:checked + label:before {
    content: '';  
    position: absolute;
    left: 0;
    top: -25%;;
    width: 1.25em;
    height: 1.25em;
    border: 2px solid #ccc;
    background: #fff;
    border-radius: 4px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,.1);
}

/* checked mark aspect */
.checkbox input[type="checkbox"]:not(:checked) + label:after, .checkbox input[type="checkbox"]:checked + label:after {
    content: url(../img/tick.png);
    position: absolute;
    top: -10%;
    left: 3%;
    line-height: 0.8;
    transition: all .2s;
}

/* checked mark aspect changes */
.checkbox input[type="checkbox"]:not(:checked) + label:after {
    opacity: 0;
    transform: scale(0);
}

.checkbox input[type="checkbox"]:checked + label:after {
    opacity: 1;
    transform: scale(1);
}

.checkbox input[type="checkbox"]:checked:focus + label:before, .checkbox input[type="checkbox"]:not(:checked):focus + label:before {
	border: .06rem solid rgb(8,53,202);
}

summary, .summary {
	cursor: pointer;
	font-size: 1.1em;
	font-weight: bold;
	margin: 1rem 0;
	border-bottom: 1px solid #b0b0b0;
	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;
}

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 {
	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 {
	margin: 0;
	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;
	text-decoration: underline;
	/*padding: 1.5rem 0;*/
	padding: .5rem 0;
	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;
	padding: 0 .5em;
	font-family: 'Capriola', sans-serif;
	font-size: 1em;
	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;
	transform: rotate(-60deg);
	font-size: .8em;
	font-weight: bold;
	color: #fff;
	padding: 0.1em;
}

li#noOffer {
	display: none;
}

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;
	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 */
	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;
}

#formupload {
	margin: 1.5rem auto;
}

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

#formupload label {
	display: inline-block;
	margin-bottom: .5rem;
	font-size: .9em;
    color: #3C3A3A;
}

#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;
	font-size: 1em;
	text-align: left;
	padding: .5em;
	height: 2.5em;
	border-radius: 0.2em;
    border-color: rgb(162,162,162);
    border-width: 0.06em;
}

#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;
}

.none {
	border-style: none;
}

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

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

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


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

#wait, #wait2 {
	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: 2px solid #b0b0b0;
}

.lineProduct ~ .lineProduct {
	border-top: none;
}

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

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

.lineProduct_line li {
	border-bottom: none;
}

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

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

#compra .lineProduct_line + .lineProduct_line {
	border-top: none;
	padding-bottom: 0;
}

#compra .lineProduct_line:last-child {
	padding-bottom: .5em;
}

#compra .lineProduct .inlineList_item, #recountList .lineProduct .inlineList_item {
	width: auto;
	text-align: left;
}

#compra .lineProduct .inlineList_item:nth-child(even), #recountList .lineProduct .inlineList_item:nth-child(even) {
	margin-right: 1em;
}

#compra .lineProduct .inlineList_item:nth-child(odd), #recountList .lineProduct .inlineList_item:nth-child(odd) {
	margin-right: .5em;
}

.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%;
	margin: 0;
}

#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;
}

.wrapper .inlineList button {
	width: calc(50% - .25rem);
}

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

/**** 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;
	flex-wrap: wrap;
	align-items: center;
	max-width: 100%;
}

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

.product_detail_target {
	width: 30%;
	font-style: italic;
}

.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;
}

@-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;
}

/* Dropdown */
.dropdown {
	position: relative;
	width: 100%;
	border: none;
}
.dropbtn {
	width: 100%;
	background-color: #f1f1f1;
	padding: 1em;
	font-size: 1rem;
	cursor: pointer;
	border: none;
	border-top: .06em solid gray;
	border-bottom: .06em solid gray;
	border-top-right-radius: 0.25rem;
	border-top-left-radius: 0.25rem;
	outline: none;
}
.dropbtn:after {
	vertical-align: middle;
	width: 1.20em;
	height: 1.20em;
	content: url("../img/downArrow.png");
}
.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	width: 100%;
	overflow: auto;
	box-shadow: 0px 8px 16px 0px rgb(0,0,0,0.2);
	z-index: 1;
}
.dropdown-content a {
	color: black;
	font-size: 1rem;
	padding: .75em 1em;
	text-decoration: none;
	display: block;
	text-align: center;
	cursor: pointer;
}
.dropdown-content :not(:last-child) {
	border-bottom: .01em solid #000000;
}
.dropdown-content a:hover {
	background-color: #f1f1f1;
}
.open:after {
	content: url("../img/upArrow.png");
}
.show {
	display: block;
}

/* 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-top: .06em solid #ddd;
	border-bottom: .06em solid #ddd;
	margin-top: -.06rem; /* Prevent double borders */
	text-align: left;
	text-decoration: none;
	/* No salto de linea
	white-space: nowrap; 
	overflow: hidden;
	text-overflow: ellipsis;
	*/
}

#myUL ul.row {
	display: block;
	width: 100%;
	padding: 0;
	display: flex;
	flex-flow: nowrap;
	padding: .25em 0;
}

#myUL ul.row li {
	padding: .75em .5em;
	text-align: left;
}

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

#myUL ul.row-title li {
	padding: .25em .5em;
}

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

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

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

#myUL .column-date {
	width: 40%;
}

#myUL .column-docu {
	width: 60%;
}

/* NEW CSS */

div.menuWrapper {
    /*position: fixed;*/
    top: 5.5em;
    right: 0;
    bottom: 0;
	left: 0;
    margin: auto;
    max-width: 1024px; /* Centrar la view para pantallas grandes */
    overflow-y: auto;
}

div.menuContainer {
	box-sizing: border-box;
    /*position: fixed;*/
    top: 0;
	left: 0;
	z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 5.5rem;
    padding: 1rem 0;
	justify-content: space-between;
	
	/***  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) );
}

div.container {
	box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%);
    width: 40%;
    padding: 1em;
}

div.title-container {
    width: 100%;
    font-size: 120%;
    color: #323337;
    margin: .5rem 0;
}

p.title-container {
    font-size: 120%;
    font-weight: 300;
    margin-top: .5rem;
}

div.container div.title-container p {
    text-align: center;
}

form.formulario {
	box-sizing: border-box;
    width: 100%;
    margin: 1.5rem auto;
    padding: 0 1.5rem;
}

.version {
	position: relative;
	font-size: .8rem;
	font-style: italic;
	text-align: end;
	bottom: .5rem;
	right: .5rem;
	color: #13133290;
}

div.form-container {
    width: 100%;
    border: 0.06rem solid black;
}

label {
    display: inline-block;
	margin-bottom: .5rem;
}

.search-filter input[type="text"], .formulario input[type="text"], .formulario input[type="password"], .formulario input[type="number"], textarea {
	box-sizing: border-box;
    background-color: #ffffff;
    border-radius: .25rem;
    border: .06rem solid #e5e5e5;
    display: block;
    width: 100%;
	margin-bottom: 1rem;
	font-size: 1rem;
}

.search-filter input[type="text"], .formulario input[type="text"], .formulario input[type="password"], .formulario input[type="number"] {
    height: 2.5rem;
    padding: .5rem;
}

.formulario button, .article-form button, .wrapper-form .lineProduct + button, .wrapper button, #formupload button, button.basic {
    display: block;
    width: 100%;
    margin: 1.5rem 0;
    padding: .5rem 2rem;
    font-size: 125%;
    font-weight: 400;
    color: #000000;
    background-color: #fff;
    border: 0.06rem solid #000000;
    border-radius: .25rem;
    box-shadow: 0 .4rem .1rem -.3rem rgba(0,0,0,.1);
}

.article-form button {
	margin-top: 0;
}

.formulario button:hover, .article-form button:hover, .wrapper-form .lineProduct + button:hover, .wrapper button:hover, #formupload button:hover, button.basic:hover {
	cursor: pointer;
	box-shadow: 0 0 0 0 rgba(0,0,0,0);
}

.formulario button:active, .article-form button:active, .wrapper-form .lineProduct + button:active, .wrapper button:active, #formupload button:active, button.basic:active {
	box-shadow: 0 .4rem .1rem -.3rem rgba(0,0,0,.1) inset;
}

.formulario button.cta, .article-form button.cta, .wrapper-form .lineProduct + button.cta, .wrapper button.cta, #formupload button.cta {
	background-color: #afb9c5;
}

#recuentoList {
	position: absolute;
	z-index: -1;
	background-color: #f3f3f3;
}

button.cancel {
	color: black;
	background-color: rgb(245, 104, 109);
	/***  CSS Gradient  ***/
	/*  Chrome 1-9 and Safari 4-5.0  */
	background-image: -webkit-gradient(linear, left top, left bottom,
		color-stop( 0.0, rgb(246, 128, 132) ),
		color-stop( 0.100, rgb(245, 104, 109) ),
		color-stop( 0.200, rgb(245, 104, 109) ),
		color-stop( 0.500, rgb(245, 104, 109) ),
		color-stop( 0.800, rgb(245, 104, 109) ),
		color-stop( 0.900, rgb(245, 104, 109) ),
		color-stop( 1.0, rgb(246, 128, 131) ));
			
	/*  Chrome 10+ Safari 5.1+ Mobile Safari  */
	background-image: -webkit-linear-gradient(top,
		rgb(246, 128, 132), 
		rgb(245, 104, 109) 10.0%,
		rgb(245, 104, 109) 20.0%,
		rgb(245, 104, 109) 50.0%,
		rgb(245, 104, 109) 80.0%,
		rgb(245, 104, 109) 90.0%,
		rgb(246, 128, 131) );
			
	/*  Firefox 3.6+  */
	background-image: -moz-linear-gradient(top,
		rgb(246, 128, 132), 
		rgb(245, 104, 109) 10.0%,
		rgb(245, 104, 109) 20.0%,
		rgb(245, 104, 109) 50.0%,
		rgb(245, 104, 109) 80.0%,
		rgb(245, 104, 109) 90.0%,
		rgb(246, 128, 131) );
			
	/*  IE 10+  */
	background-image: -ms-linear-gradient(top,
		rgb(246, 128, 132), 
		rgb(245, 104, 109) 10.0%,
		rgb(245, 104, 109) 20.0%,
		rgb(245, 104, 109) 50.0%,
		rgb(245, 104, 109) 80.0%,
		rgb(245, 104, 109) 90.0%,
		rgb(246, 128, 131) );
			
	/*  Opera 11.10+  */
	background-image: -o-linear-gradient(top,
		rgb(246, 128, 132), 
		rgb(245, 104, 109) 10.0%,
		rgb(245, 104, 109) 20.0%,
		rgb(245, 104, 109) 50.0%,
		rgb(245, 104, 109) 80.0%,
		rgb(245, 104, 109) 90.0%,
		rgb(246, 128, 131) );

	/*  W3C  */
	background-image: linear-gradient(top,
		rgb(246, 128, 132), 
		rgb(245, 104, 109) 10.0%,
		rgb(245, 104, 109) 20.0%,
		rgb(245, 104, 109) 50.0%,
		rgb(245, 104, 109) 80.0%,
		rgb(245, 104, 109) 90.0%,
		rgb(246, 128, 131) );	
}

button.accordion {
	width: auto;
	font-size: 1rem;
	outline: none;
	cursor: pointer;
	background-color: inherit;
	box-shadow: none;
	/*margin-top: 1rem;*/
	margin-bottom: 0;
	border: .06em solid #ccc;
	background-color: #f1f1f1;
	color: #777;
}


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

button.active {
	background-color: #ddd;
}

div.option {
	width: calc(100%/3);
	box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
	padding: 1.5em 1em;
	cursor: pointer;
}

div.option div.text {
	font-weight: 300;
	font-size: 1.2em;
	padding-top: .5em;
	color: #323337;
}

.sidenav {
    height: 100%;
	width: 20%;
    overflow-x: hidden;
	float: left;
	font-family: "Courier New", Courier, monospace;
}

/* Style the sidenav links and the dropdown button */
.sidenav li, .dropdown-btn, .wrapper-form .dropdown-container li {
	margin: 0;
	padding: 6px 8px 4px 0;
	padding: .375em .5em .25em 0;
    text-decoration: none;
    font-size: 1em;
    display: block;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    outline: none;
}

.dropdown-btn {
	font-size: 1.2em;
	font-weight: bold;
	cursor: auto;
}

.dropdown-container {
	padding-left: 0;
	margin: 0 0 1.375em;
	height: auto;
}

.products-container {
	box-sizing: border-box;
	font-size: 1rem;
	margin-left: 20%; /* Same as the width of the sidenav */
	width: 80%;
	height: 100%;
	padding: 0 0 .5em .5em;
}

.container-filter {
	box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 3em;
}

.search-filter {
	flex-grow: 1;
}

.view-filter {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    margin: 0;
    padding: 0;
    font-size: 1em;
}

.view-filter button {
	border: none;
	outline: none;
	padding: .625rem;
	cursor: pointer;
}

.view-filter button:hover {
	background-color: #ddd;
}
  
.view-filter .active {
	background-color: #ddd;
}

.view-filter img {
	width: 1.25rem;
	height: 1.25rem;
}

.product-header, .product-list {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.product-header {
	padding: .5em 0;
}

.product-header li {
	padding: 0;
	padding-bottom: .5em;
	border-bottom: none;
}

.product-item {
	box-sizing: border-box;
    margin-right: -1px;
    margin-bottom: -1px;
    border: 1px solid #d8d8d8;
    padding: 1.25em 1.25em;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	width: 100%;
}

.grid {
	width: calc(100%/3);
	justify-content: center;
}

.list {
	width: 100%;
	justify-content: flex-start;
}

.product-item ul {
	padding: 0;
}

.product-item ul i {
	float: right;
}

i#inbasket {
	content: url(../img/carrito.svg);
}

.product-item li {
	overflow: hidden;
	border-bottom: none;
	padding: 0;
	padding-bottom: .3em;
}

.product-item li[data-type="name"] {
	font-size: 1.1em;
}

.product-item li[data-type="date"] {
	font-size: .95em;
	font-style: italic;
	color: #323337;
}

.product-item li[data-type="details"] {
	font-size: .95em;
	color: #323337;
}

.product-item li[data-type="photo"] img {
	width: 128px;
	height: 128px;
}

.list li[data-type="photo"], .grid li[data-type="date"], .grid li[data-type="details"] {
	display: none;
}

.grid li[data-type="photo"], .list li[data-type="date"], .list li[data-type="details"] {
	display: block;
}

#myInput, #myInput2 {
    background-image: url('../img/search-black.png');
    background-position: .625em .75em;
    background-repeat: no-repeat;
    width: 100%;
    font-size: 1rem;
	padding: .75em 1.25em .75em 2em;
	margin: 0;
    border: 1px solid #ddd;
}

#myInput2 {
	font-size: .875rem;
	margin: .375rem 0 .25rem 0;
}

/**** FORM ARTICULO ****/

.article-title {
	margin: 0;
	margin-top: .5em;
	text-align: left;
	font-size: 1.1em;
	font-weight: bold;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.article-title #code {
	text-transform: lowercase;
}

button.article-title {
	padding: .5em 0;
	margin: 0;
	margin-top: .5em;
	margin-bottom: .5em;
	background-color: #fff;
	border: none;
	outline: none;
	cursor: pointer;
}

button.article-title + button.article-title {
	margin-left: 1em;
}

.inputs-container button:hover {
	box-shadow: 0 2px 0 gray;
}

.inputs-container button.active {
	box-shadow: 0 2px 0 #000;
}

.article-form {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-top: 1.5em;
}

.article-form .half, .article-form .half2 {
	width: calc(50% - .25rem);
}

#calculadoraModal .article-form {
	justify-content: center;
}

.article-form .operandos {
	width: calc(40% - .25rem);
}

.article-form .operador {
	width: auto;
	align-self: center;
	padding: .5em;
}

.article-form .third {
	width: calc(100%/3 - .25rem);
}

.article-form .quarter {
	width: calc(100%/4 - .25rem);
}

.article-form .sesentacinco {
	width: calc(65% - .25rem);
}

.article-form .treintacinco {
	width: calc(35% - .25rem);
}

.article-form-group {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 1.5rem;
	width: 100%;
}

.article-form #loteParent, .article-form #bultosParent, .article-form #cantidadParent, .article-form #motivoParent {
	margin-bottom: 3rem;
}

.article-form-group .filtroUbica {
	border-radius: 0.2em;
	border-color: rgb(162,162,162);
	border-width: 0.06em;
}

.article-form-group label {
	width: 100%;
	font-size: .9em;
	color: #3C3A3A;
	text-transform: uppercase;
}

.article-form-group label span {
	float: right;
	margin-right: .5em;
	color: #777;
	font-size: .8em;
}

.article-form-group .checkbox label {
	text-transform: none;
}

.article-form-group input, .article-form-group .selectLote {
	width: 100%;
	text-align: left;
}

.article-form-group input[type="date"] {
	-webkit-appearance: textfield;
    -moz-appearance: textfield;
}

.article-form-group .selectLote, .article-form-group input[type="date"] {
	display: block;
	font-size: 1.2em;
	padding: .5em;
	background-color: #fff;
	border-radius: 0.2em;
    border-color: rgb(162,162,162);
	border-width: 0.06em;
}

.article-form-group p {
	margin: 0;
	align-self: flex-end;
}

.article-form .botones {
	flex-wrap: nowrap;
	justify-content: space-between;
	margin-bottom: 1rem;
}

.article-form .botones .accordion {
	font-size: .9rem;
	width: calc(100% / 3 - .25rem);
	text-align: center;
	padding: .5rem 1rem;
}

.detalles {
	display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
	width: 100%;
	max-height: 0;
	/*overflow: hidden;*/
	overflow: auto;
	transition: max-height 0.2s ease-out;
}

ul#list {
	list-style-type: none;
	padding: 0;
	margin: 0;
	width: 100%;
	font-size: .9rem;
}

.detalles ul#list {
	margin-bottom: 1rem;
}

.lineProduct_line ul#list {
	font-size: 1em;
}

li.line {
	padding: 1em .75em;
	border-bottom: .15em solid #ddd;
    text-decoration: none;
    line-height: 1.2;
	display: block;
}

li.line:first-child {
    font-size: .9em;
	font-weight: bold;
	text-transform: lowercase;
	background-color: #ddd;
}

li.no-results {
	font-weight: 300;
    font-style: italic;
}

li.line:last-child, li.no-results {
	border-bottom: none;
}

ul.inline-container {
	display: flex;
    width: 100%;
    flex-direction: row;
	flex-wrap: nowrap;
	padding: 0;
}

li.line ul {
	padding: 0;
}

li.line ul li {
	padding: 0;
	padding-right: .75em;
	border-bottom: none;
	text-align: left;
}

li.line ul.inline-container li:first-child {
	width: 40%;
	white-space: nowrap;
    overflow: hidden;
	text-overflow: ellipsis;
}

li.line ul.inline-container li:nth-child(2) {
	width: 25%;
	text-align: right;
}

li.line ul.inline-container li:nth-child(3) {
	width: 25%;
	text-align: right;
}

li.line ul.inline-container li#compra:first-child {
	width: 30%;
}

li.line ul.inline-container li#compra:nth-child(2) {
	width: 20%;
	text-align: right;
}

li.line ul.inline-container li#compra:nth-child(3) {
	width: 15%;
	text-align: right;
}

li.line ul.inline-container li#compra:nth-child(4) {
	width: 15%;
	text-align: right;
}

li.line ul.inline-container li#compra:nth-child(5) {
	width: 10%;
	text-align: right;
}

#recountList li.line ul.inline-container li:nth-child(2) {
	width: 15%;
	text-align: right;
}

#recountList li.line ul.inline-container li:nth-child(3) {
	width: 15%;
	text-align: right;
}

#recountList li.line ul.inline-container li:nth-child(4) {
	width: 20%;
	text-align: right;
}

#labels li.line ul.inline-container li:first-child {
	width: 40%;
}

#labels li.line ul.inline-container li:nth-child(2) {
	width: 40%;
	text-align: left;
}

/*
#labels li.line ul.inline-container li:nth-child(3) {
	width: 30%;
	text-align: left;
	white-space: nowrap;
    overflow: hidden;
	text-overflow: ellipsis;
}
*/

#labels li.line ul.inline-container li:last-child {
	width: 20%;
	text-align: left;
}

li.line ul.inline-container li:last-child {
	width: 10%;
	padding-right: 0;
	text-align: right;
}

li.line ul.inline-container li#baja:first-child {
	width: 40%;
	white-space: nowrap;
    overflow: hidden;
	text-overflow: ellipsis;
}

li.line ul.inline-container li#baja:nth-child(2) {
	width: 50%;
	text-align: left;
	font-style: italic;
	white-space: nowrap;
    overflow: hidden;
	text-overflow: ellipsis;
}

li.line ul.inline-container li#baja:last-child {
	width: 10%;
	padding-right: 0;
	text-align: right;
}

li.delete-line {
    width: 100%;
}

li.delete-line span {
    font-size: .8em;
}

li.delete-line span::before {
	content: url(../img/trash-small.png);
	vertical-align: -30%;
	margin-left: -6px;
}

.inline-container a, .delete-line a {
	padding: 1em;
	margin-left: -1em;
	cursor: pointer;
}

.lineProduct_line li.line {
	padding: .5em 0;
	background-color: #fff;
	border-bottom: .15em solid #ddd;
}

#recountList .lineProduct ~ .product-header {
	padding-top: 1.5em;
}

#recountList .lineProduct ~ .lineProduct {
	border-top: 2px solid #b0b0b0;
}

#recountList .lineProduct_line li.line:last-child, #labels .lineProduct_line li.line:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.lineProduct_line li.line ul.inline-container li:nth-child(2) {
	width: 20%;
}

.lineProduct_line li.line ul.inline-container li:nth-child(3) {
	width: 20%;
}

.lineProduct_line li.line ul.inline-container li:last-child {
	width: 20%;
	padding-right: 0;
}


/* The Modal (background) */
.warningModal, .deleteModal, .errorModal, .successModal {
	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 */
}

.errorModal, .successModal {
	display: block;
}

/* Modal Content */
.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
}

/* Add Animation */
@keyframes animatetop {
	from {top: -300px; opacity: 0}
	to {top: 0; opacity: 1}
}

/* The Close Button */
.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;
}

.successModal .warningModal-header {
	background-color: rgb(151, 220, 189);
}

#calculadoraModal .warningModal-header {
	background-color: #f1f1f1;
}

.promotionModal .warningModal-header {
	background-color: #cfe2f3;
}

.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;
}

.deleteModal .warningModal-footer {
	background-color: #afb9c5;
}

#calculadoraModal .warningModal-footer {
	background-color: #afb9c5;
}

.warningModal-footer p {
	margin: 0;
}

.promotionModal-actions {
	display: flex;
	gap: .75rem;
	justify-content: center;
	cursor: default;
}

.promotionModal-actions button {
	box-sizing: border-box;
	flex: 1 1 0;
	width: 50%;
	min-width: 0;
	margin: 0;
	padding: .7rem .35rem;
	border: 1px solid #7d8994;
	border-radius: .25rem;
	color: #000;
	background-color: #f6f6f6;
	font-size: .85rem;
	line-height: 1.2;
	white-space: nowrap;
}

.promotionModal-actions button.cta {
	background-color: #afb9c5;
}

.promotionModal-actions button:hover:not(:disabled) {
	cursor: pointer;
	box-shadow: 0 0 0 1px #7d8994;
}

.promotionModal-actions button:disabled {
	opacity: .6;
	cursor: wait;
}

.promotion-lot-field + .promotion-lot-field {
	margin-top: 1rem;
}

.promotion-lot-field label {
	display: block;
	margin-bottom: .35rem;
}

.promotion-lot-field input {
	box-sizing: border-box;
	width: 100%;
}

.promotion-lot-error:empty {
	display: none;
}

/***********************/

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

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

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

	.warningModal-content {
		width: 60%;
	}
}

@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.container {
		width: 100%;
	}

	div.option {
		width: calc(100%/2);
	}

	div.icon-menu {
		display: block;
	}

	.sidenav {
		display: none;
		width: 100%;
	}

	.products-container {
		margin-left: -8px;
		width: 100%;
	}

	.grid {
		width: calc(100%/2);
	}

	.article-form .half {
		width: 100%;
	}

	.article-form #motivoParent {
		margin-bottom: 1.5rem;
	}

	.article-form .quarter {
		width: calc(50% - .25rem);
	}

	.warningModal-content {
		width: 85%;
	}

	.wrapper .inlineList button {
		width: 100%;
	}

	.wrapper .inlineList button + button {
		margin-top: 0;
	}
}
/**** ------------------ ****/


/* *************************** */
