body {
	background-color: transparent;
	font-family: Arial;
	font-size: 13px;
	text-align: left;
	color: black;
}

div.url { 
	display: flex;
	flex-wrap: wrap;
	margin: 3px 0px 3px;

	
	
}

div.url_item{
	display: flex;
	width: calc(50% - 12px);
	margin: 5px;
	flex-direction: column;
	align-self: flex-start;
	justify-content: flex-start;
}

table.tabla {
	border: 1px;
	border-color: #000000;
	border-style: solid;
	background: #fcfcfc;
	border-radius: 5px;
	box-shadow: 2px 2px 5px #999;
	text-align: center;
	width: 100%;
	padding: 5px;
}

form {
	float:left;
}



form.presupuesto {
	float: none;
	width: 100%;
	
	
}
p.KO {
	color: red; 
	border-width: 1px;
	border-style: solid;
	padding: 5px;
	font-size: 13px;
}
p.OK {
	color: green; 
	border-width: 1px;
	border-style: solid;
	padding: 5px;
	text-align: center;
	font-size: 13px;
}


tr.tabla {

}

td.tabla-titulo {
	min-width:100px;
	background: #cccccc;
	font-weight: bold;
	text-align:center;
	color: black; 
	font-size: 14px;
	border-radius: 5px;
	height: 32px;
	
}
td.tabla-input {
	max-width:180px;
	text-align: left;
	font-size: 13px;
	padding-left:3px;
	
}
td.tabla-label {
	width:100%;
	text-align: left;
	font-size: 13px;
	padding-left:3px;
	border: 1px;
	border-color: #000000;
	border-style: solid;

}
textarea {
	width:100%;
	font-family: Arial;
	font-size: 13px;
}
td.tabla-select{
	width: 100%;
}
td.tabla-campo {
	/*min-width:80px;*/
	text-align: right;
	font-size: 13px;
	padding-left:3px;

	/*white-space: nowrap;   Para que no pase el texto a la siguiente línea*/
}
td.tabla-icono {
	width:26px;
}
td.tabla-icono-verif {
	width:26px;
}

input {
	height: 32px;
	width:100%;
}
button.boton {
	//-webkit-border-radius: 5;
	//-moz-border-radius: 5;
	border-radius: 5px;
	border-width: 1px;
	font-size: 14px;
	color: #000000;
	background: #efefef;
	padding: 5px;
	margin: 5px;
	padding-right:10px; /* Para centrado con imagen. */
}
button.boton:hover {
	border-width: 1px;
	border-style: solid;
	border-color: #000000;
	cursor:pointer;
}
button.info {
	border-width: 1px;
	font-family: Times New Roman;
	font-size: 20px;
	color: #000000;
	background: #efefef;
	font-weight: bold;
	width: 32px;
	height: 32px;
}
button.info:hover {
	border-width: 1px;
	border-style: solid;
	border-color: #000000;
	cursor:pointer;
}
a{
	font-size: 13px;
}
a :link{ /* No visitado */
	
}
a :visited{ /* Visitado */
	font-size: 13px;
}
a :active{ /* Botón pulsado */
	font-size: 13px;
}
a :hover{ /* Ratón encima */
	font-size: 13px;
}

select {
    font-size: 13px;
	height: 32px; /*--- Antes 32px ---*/
    width: 100%;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 3px;
    background-color: #ffffff; /*--- FondoSelect ---*/
    color: #000000; /*--- ColorTextoSelect ---*/
    cursor: pointer; 
	border: 1px solid LightGray;
}

button.formatopersonalizado {
    font-size: 13px;
	height: 32px; /*--- Antes 32px ---*/
    width: 100%;
    border-radius: 3px;
    /* color: #000000; /*--- ColorTextoSelect ---*/ */
    /* cursor: pointer;  */
	/* border: 1px solid LightGray;  */
}

select:hover{ /* Ratón encima */
	border: 1px solid Gray;
	-webkit-box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,1);
	-moz-box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,1);
	box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,1);
}

input:hover{ /* Ratón encima */
	border: 1px solid Gray;
	-webkit-box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,1);
	-moz-box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,1);
	box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,1);
}

select option{
    font-size: 13px;
    background-color: #ffffff; /*--- FondoSelect ---*/
    color: #000000; /*--- ColorTextoSelect ---*/
	cursor: pointer;

}


select option:checked {
	background: grey; /*Color de fondo de la opcion seleccionada en el desplegable*/
}
select option:hover { /* Firefox */
    -webkit-box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,1);
	-moz-box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,1);
	box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,1);

}

select option:focus {
  colour: LightGray; 
}

button.info {
	font-size: 20px;
	font-family: Arial;
	font-weight: 900;
}

/* -- No funciona para poner color de la seleccion
select:hover {    
    background-color: grey !important;
}
select option:hover {
    background-color: grey !important;
}*/

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  
}
.overlay:target {
  visibility: visible;
  opacity: 1;
  z-index: 999;
}

.popup {
  margin: 70px auto;
  padding: 5px;
  background: #fff;
  border-radius: 5px;
  width: 80%;
  position: relative;
  box-shadow: 2px 2px 5px #999;
}

.popup h2 {
  margin-top: 30px;
  color: #333;
  font-family: Arial;
  font-size: 24px;
  text-align: center;
}
.popup .close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #06D85F;
}
.popup .content {
  max-height: 40%;
  overflow: auto;
  font-family: Arial;
  font-size: 13px;
  text-align: left;
  padding: 10px;
}

@media screen and (max-width: 700px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }

}
@media screen and (max-width: 799px){
	div.url_item{
		width: calc(100% - 12px);
	}
}

/* galeria de productos en oferta */
.gallery__content { /* container */
	display: flex;
	flex-wrap: wrap;
	margin: 3px 0px 3px;
	text-align: center;
}

	.gallery__item { /* item  */
		display: flex;
		width: calc(50% - 12px);
		margin: 5px;
		justify-content: flex-start;
		align-items: flex-start;
		border: 1px solid #ddd;
		border-radius: 5px;
		-webkit-box-shadow: 0 0 10px 1px rgba(0,0,0,0.1) !important;
		box-shadow: 0 0 10px 1px rgba(0,0,0,0.1) !important;
		float: left;
		/*min-width: 320px;
		max-width: 490px;*/
		//min-width: 100px;
		//max-width: 180px;
	}

		.gallery__img { /* img content  */
			display: flex;
			justify-content: center;
			align-items: center;
			width: 120px;
			padding: 5px;
			overflow: hidden;
			border-right: 1px solid #ddd;
		}
		.gallery__img img { /* img  */
			width: 130px;
		}


		.gallery__info { /* info content  */
			padding: 10px;
			max-width: calc(100% - 120px)
		}
		.gallery__info h3 {
			margin: 0px;
			color: #444;
			font-size: 14px;
			font-weight: 600;
			letter-spacing: 0.5px;
			padding-bottom: 5px;
		}
		.gallery__info h3:after {
			content: "";
			display: block;
			margin-top: 8px;
			
			position: relative;
			left: 2px;
			height: 1px;
			background: #ddd;
		}
		.gallery__info p {
			margin: 0px;
			padding: 0px;
			color: #444;
			//font-weight: bold;
			font-size: 11px;
		}
		.gallery__precio {
			margin: 0px;
			padding: 0px;
			color: #cc3300;
			font-weight: bold;
			font-size: 14px;
		}
		

/* galeria de productos o categorias */
 .gallery2__content { /* container */
	display: flex;
	flex-wrap: wrap;
	margin: 3px 0px 3px;
	text-align: center;
}

	.gallery2__item { /* item  */
		display: flex;
		width: calc(25% - 12px);
		margin: 5px;
		justify-content: flex-start;
		align-items: flex-start;
		border: 1px solid #ddd;
		border-radius: 5px;
		-webkit-box-shadow: 0 0 10px 1px rgba(0,0,0,0.1) !important;
		box-shadow: 0 0 10px 1px rgba(0,0,0,0.1) !important;
		float: left;
		//min-width: 100px;
		//max-width: 180px;
	}

		.gallery2__img { /* img content  */
			//display: flex;
			justify-content: center;
			align-items: center;
			width: 100%;
			padding: 5px;
			padding-bottom: 0px;
			overflow: hidden;
			//border-right: 1px solid #ddd;
		}
		.gallery2__img img { /* img  */
			max-width: 70px;
			height: 70px;
		} 
  
		.gallery2__info { /* info content  */
			padding: 2px;
			//padding-top:5px;
			max-width: calc(100% - 120px)
		}
		.gallery2__info h3 {
			margin: 0px;
			color: #444;
			font-size: 14px;
			//font-weight: 600;
			//letter-spacing: 0.5px;
			
		}
		
		
/* select horizontal */
.shipping_type select {
    display:table-row;
}

.shipping_type option {
    display:table-cell;
}

/* media queries */		
@media screen and (max-width: 599px){
  .gallery__img img{
	width: 70px;
  }
  .gallery__item {
	 //min-width: 220px; 
	 width: calc(50% - 12px);
  }
  .gallery__img { /* img content  */
	width: 60px;
  }
  .gallery__info { /* info content  */
	//padding: 5px;
	max-width: calc(100% - 60px)
  }
  .gallery__info h3 {
	font-size: 11px;
    //width: 140px;
  }
  .gallery__info p {
	font-size: 11px;
  }
  .gallery__precio {
	font-size: 11px;
  }
  .gallery2__item {
	 width: calc(33.33% - 12px);
  }
  
  div.url_item{
	width: calc(100% - 12px);
	}

}

@media screen and (max-width: 299px){
  .gallery__item {
	 width: calc(100% - 12px);
  }
  .gallery2__item {
	 width: calc(50% - 12px);
  }
  div.url_item{
	width: calc(100% - 12px);
	}
  
}	