/*
font-family: 'Abel', sans-serif;
font-family: 'Viga', sans-serif;
*/

body{
	font-family: 'Abel', sans-serif;	
	background-image: url("fondo.jpg");
	background-position: center;
	background-repeat: repeat;
	background-size: auto;
}

a{
	color: #312d77;
}

header{
	position: relative;
	background: rgb(247,247,247);
	background: -moz-linear-gradient(180deg, rgba(247,247,247,1) 0%, rgba(247,247,247,1) 100%);
	background: -webkit-linear-gradient(180deg, rgba(247,247,247,1) 0%, rgba(247,247,247,1) 100%);
	background: linear-gradient(180deg, rgba(247,247,247,1) 0%, rgba(247,247,247,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f7f7f7",endColorstr="#f7f7f7",GradientType=1);	
}

header .top{
	background-color: #312d77;
	color: #ffffff;
}

header .top p, header .top a{
	color: #ffffff;
}


.logo{
	width: 161px;
	height: 101px;
	background-image: url("logo.png");
}

header .hamburger{
	display: none;
	padding-top: 39px;
	padding-bottom: 32px;
}

.hamburger-inner, .hamburger-inner:after, .hamburger-inner:before{
	background-color: #312d77;
}

footer{
	background-color: #312d77;	
}

#header.conBuscador .top form input[type="text"], #header.conBuscador .top form input[type="submit"]{
	border-radius: 0;
}

#header.conBuscador .top form input[type="submit"]{
	width: 40px;
	background-size: 50%;
	background-color: transparent;
}

h1, h2{
	font-family: 'Viga', sans-serif;	
}

header ul.options{
	height: 101px;
	line-height: 101px;
	vertical-align: middle;
}

header .options a, header .options p{
	font-size: 1.125rem;
}

header .options a:hover, header .options p:hover{
	opacity: .75;
}

.carousel-item{
	background-size:  auto 100%;
	background-repeat: no-repeat;
	background-position: center;
}

.listadoCategorias a{
	color: #ffffff;
	font-size: 1.25rem;
	text-shadow: 1px 1px 2px #000;	
}

.listadoCategorias a:after{
	padding-bottom: 75%;
}

.listadoCategorias a p{
	bottom: 0;
	margin-bottom: 0;
	padding: 30px 15px;
	width: 100%;
	background-color:rgba(49,45,119,.9); 
}

.enHome.nuestras-prioridades{
	padding: 90px 0;
}


.enHome.nuestras-prioridades h1{
	color: #312d77;
}

.enHome.nuestras-prioridades .imagenEpigrafe{
	display: none;
}

.enHome.nuestras-prioridades .texto{
	width: 100%;
}

.enHome.nuestras-prioridades ul{
	list-style: none;
	padding: 0;
}


.enHome.nuestras-prioridades ul li{
	display: block;
	float: left;
	padding: 15px;
	background: rgb(228,228,228);
	background: -moz-linear-gradient(0deg, rgba(228,228,228,1) 0%, rgba(242,242,242,1) 100%);
	background: -webkit-linear-gradient(0deg, rgba(228,228,228,1) 0%, rgba(242,242,242,1) 100%);
	background: linear-gradient(0deg, rgba(228,228,228,1) 0%, rgba(242,242,242,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#e4e4e4",endColorstr="#f2f2f2",GradientType=1);
	border-radius: 12px;
	border: 1px solid #c9c9c9;
}

.enHome.nuestras-prioridades ul li strong{
	color: #312d77;
	font-size: 1.5rem;
}

.enHome.nuestras-prioridades ul li strong:before{
	content: "";
	display: block;
	width: 50px;
	height: 50px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	float: left;
	margin-right: 15px;
}

.enHome.nuestras-prioridades ul li:nth-child(1) strong:before{
	background-image: url(uno.png);
}

.enHome.nuestras-prioridades ul li:nth-child(2) strong:before{
	background-image: url(dos.png);
}

.enHome.nuestras-prioridades ul li:nth-child(3) strong:before{
	background-image: url(tres.png);
}

.enHome.nuestras-prioridades ul li:nth-child(4) strong:before{
	background-image: url(cuatro.png);
}

header + .articulo{
	padding-bottom: 90px;
	margin-bottom: 0;
}

header .options a, header .options p, .articulo a{
	color: #312d77;
}

.codigo:before{
	content: "Art. ";
	font-weight: bold;
}

header .options ul{
	top: 2rem;
	background-color: #f7f7f7;
	box-shadow: 3px 3px 6px 0px rgba(0,0,0,0.5);
-webkit-box-shadow: 3px 3px 6px 0px rgba(0,0,0,0.5);
-moz-box-shadow: 3px 3px 6px 0px rgba(0,0,0,0.5);
	left: auto;
	right: -5px;
}

header .options ul li a{
	font-size: 1rem;
}

#categorias{
	margin-bottom: 0;
}

section:nth-of-type(odd){
	background-color: rgba(255,255,255,.25);
}

section.contacto{
	padding: 90px 0;
	margin-bottom: 0;
}

section.contacto h2{
	font-size: 2.5rem;
	color: #312d77;
}

section.contacto ul{
	list-style: none;
	background-color: rgba(49,45,119,.75);
	padding: 30px;
	color: #ffffff;
	float: left;
	width: 48.75%;
	margin-right: 2.5%;
	min-height: 50vh;
}

section.contacto ul li{
	margin-bottom: 1rem;
}

section.contacto ul li:before{
	content: "\f0da";
	font-family: "Font Awesome 6 Free";
	font-weight: 600;
	margin-right: 5px;
}

section.contacto ul a{
	color: #ffffff;
}

section.contacto iframe{
	width: 48.75%;
	float: right;
	height: 50vh;
}

section.contacto form{
	width: 100%;
}

footer .links{
	display: block;
	width: 100%;
	margin: 0 0 15px;
	text-align: center;
}

footer .links p{
	display: inline-block;
	width: auto;
}

footer .links p a{
	border-color: #27245e;
	margin: 0 5px;
}

footer .links p a:hover{
	color: #8986C4;
	border-color: #8986C4;	
}

footer .links p:first-of-type{
    font-size: 1rem;
    letter-spacing: normal;
    text-transform: none;
}

.btn-primary {
    color: #fff;
    background-color: #312d77;
    border-color: #312d77;
}

.btn-primary:hover {
    background-color: #8986C4;
    border-color: #8986C4;
}

header + section.destacadosTienda{
	margin-top: 0;
	padding-top: 60px;
	margin-bottom: 0;
}

header + section.destacadosTienda h2{
	font-size: 2.5rem;
	color: #312d77;
	margin-bottom: 30px;
}

.listadoProductos a, .productos a{
	padding: 15px 15px 30px;
	border-radius: 12px;
	background: rgb(247,247,247);
	background: -moz-linear-gradient(180deg, rgba(247,247,247,1) 0%, rgba(247,247,247,1) 100%);
	background: -webkit-linear-gradient(180deg, rgba(247,247,247,1) 0%, rgba(247,247,247,1) 100%);
	background: linear-gradient(180deg, rgba(247,247,247,1) 0%, rgba(247,247,247,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f7f7f7",endColorstr="#f7f7f7",GradientType=1);
    -webkit-box-shadow: 0 0 20px 0 rgb(0 0 0 / 0%);
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 0%);	
	transition: all .3s;
}

.listadoProductos a:hover, .productos a:hover{
    -webkit-box-shadow: 0 0 20px 0 rgb(0 0 0 / 20%);
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 20%);	
}

.listadoProductos a .imagen img, .productos a .imagen img{
	mix-blend-mode: multiply;
	object-fit: cover;
	width: 160%;
	height: 160%;	
}

.listadoProductos a .detalleProducto, .productos a .detalleProducto{
	font-size: 1rem;
	color: #000;
}

.listadoProductos a .texto, .productos a .texto{
	padding: 0;
	margin: 0;
}

.listadoProductos a .nombreProducto, .productos a .nombreProducto{
	color: #ffffff;
	background-color: #312d77;
	font-size: 1rem;
	padding: 10px;
	border-radius: 12px;
}

.productos a .detalleProducto.autor{
	display: none;
}

.productos a .detalleProducto.codigo{
	margin-bottom: 0;
}

.productos .pagination a{
	color: #414141;
	background: transparent;
	border: 1px solid #414141;
}

.productos .pagination a:hover, .productos .pagination a.current{
	color: #ffffff;
	background: #312d77;
	background-color: #312d77;
	border: 1px solid #312d77;
}

header + section.producto{
	padding: 90px 0;
	margin-bottom: 0;
}

header + section.producto .formas{
	display: none;
}

header + section.producto h1{
	font-size: 2.5rem;
	color: #312d77;
}

header + section.producto .codigo{
	font-size: 1.25rem;
}



@media only screen and (max-width : 479px) {

	header .logo{
		width: 148px;
		height: 70px;
	}

	header .hamburger{
		display: block;
		padding-top: 23px;
		padding-bottom: 16px;	
	}	

	#header.conBuscador .top form.busqueda{
		width: 100%;
	}	
	
	#header.conBuscador .top form input[type="text"]{
		width: 84%;
	}
	
	header ul.options{
		height: 0;
		line-height: 60px;
	}	
	
header .options ul {
    top: auto;
    background-color: transparent;
    box-shadow:  3px 3px 6px 0px rgba(0,0,0,0);
    -webkit-box-shadow: 3px 3px 6px 0px rgba(0,0,0,0);
    -moz-box-shadow: 3px 3px 6px 0px rgba(0,0,0,0);
    left: auto;
    right: 0;
	width: 100%;
	padding: 0;
}	
	
header .options .active{
	max-height: calc(100vh - 147px);
	overflow-x: hidden;
	overflow-y: scroll;		
	}
	
header .options .active ul{
	padding: 0;
	border-color: #cccccc;
}	
	
header .options > li > p, header .options > li > a{
	margin-left: 0;
}	
	
header .options ul p{
	padding: 15px 0 0;
	}	
	
header .options ul p a{
	padding: 0;
	margin: 0;
}	
	
	header + .carousel{
		height: 30vh;
	}	
	
		.enHome.nuestras-prioridades ul{
		display: grid;
		grid-template-columns: repeat(1, 1fr);
		grid-gap: 10px;		
		}
	
	.listadoCategorias a{
		width: 100%;
		margin-right: 0;
	}
	
	.listadoCategorias a p{
		padding: 15px 10px;
	}	
	
	section.contacto ul, section.contacto iframe{
		width: 100%;
		min-height: auto;
		height: auto;
	}
	section.contacto iframe{
		min-height: 50vh;
	}
	
	.articulo .texto{
		width: 100%;
	}	
	
	.articulo .galeria:empty{
		display: none;
	}	
	
	.enHome.nuestras-prioridades .texto{
		margin-bottom: 0;
	}
	
	.enHome.nuestras-prioridades, #categorias, section.contacto{
		padding: 45px 0;
	}
	
	header + section.destacadosTienda, header + section.producto{
		padding-top: 45px;
	}	
}

/* Extra Small Devices, Phones */ 
@media only screen and (min-width:480px) and (max-width : 767px) {

	header .hamburger{
		display: block;
	}	
	
	header ul.options{
		height: 0;
		line-height: 60px;
	}	
	
header .options ul {
    top: auto;
    background-color: transparent;
    box-shadow:  3px 3px 6px 0px rgba(0,0,0,0);
    -webkit-box-shadow: 3px 3px 6px 0px rgba(0,0,0,0);
    -moz-box-shadow: 3px 3px 6px 0px rgba(0,0,0,0);
    left: auto;
    right: 0;
	width: 100%;
	padding: 0;
}	
	
header .options .active{
	max-height: calc(100vh - 147px);
	overflow-x: hidden;
	overflow-y: scroll;		
	}
	
header .options .active ul{
	padding: 0;
	border-color: #cccccc;
}	
	
header .options > li > p, header .options > li > a{
	margin-left: 0;
}	
	
header .options ul p{
	padding: 15px 0 0;
	}	
	
header .options ul p a{
	padding: 0;
	margin: 0;
}	
	
	header + .carousel{
		height: 32.5vh;
	}	
	
		.enHome.nuestras-prioridades ul{
		display: grid;
		grid-template-columns: repeat(1, 1fr);
		grid-gap: 10px;		
		}
	
	.listadoCategorias a{
		width: 100%;
		margin-right: 0;
	}
	
	.listadoCategorias a p{
		padding: 15px 10px;
	}	
	
	section.contacto ul, section.contacto iframe{
		width: 100%;
		min-height: auto;
		height: auto;
	}
	section.contacto iframe{
		min-height: 50vh;
	}
	
	.articulo .texto{
		width: 100%;
	}	
	
	.articulo .galeria:empty{
		display: none;
	}			
}

/* Small Devices, Tablets */
@media only screen and (min-width:768px) and (max-width : 991px) {
	header .hamburger{
		display: block;
	}	
	
	header ul.options{
		height: 0;
		line-height: 60px;
	}	
	
header .options ul {
    top: auto;
    background-color: transparent;
    box-shadow:  3px 3px 6px 0px rgba(0,0,0,0);
    -webkit-box-shadow: 3px 3px 6px 0px rgba(0,0,0,0);
    -moz-box-shadow: 3px 3px 6px 0px rgba(0,0,0,0);
    left: auto;
    right: 0;
	width: 100%;
	padding: 0;
}	
	
header .options .active{
	max-height: calc(100vh - 147px);
	overflow-x: hidden;
	overflow-y: scroll;		
	}
	
header .options .active ul{
	padding: 0;
	border-color: #cccccc;
}	
	
header .options > li > p, header .options > li > a{
	margin-left: 0;
}	
	
header .options ul p{
	padding: 15px 0 0;
	}	
	
header .options ul p a{
	padding: 0;
	margin: 0;
}	
	
	header + .carousel{
		height: 40vh;
	}	
	
		.enHome.nuestras-prioridades ul{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-gap: 10px;		
		}
	
	.listadoCategorias a{
		width: 48.75%;
	}
	
	.listadoCategorias a:nth-of-type(3n){
		margin-right: 2.5%;
	}
	
	.listadoCategorias a:nth-of-type(2n), .listadoCategorias a:last-of-type{
		margin-right: 0;
	}
	
	.listadoCategorias a p{
		padding: 15px 10px;
	}	
	
	section.contacto ul, section.contacto iframe{
		width: 100%;
		min-height: auto;
		height: auto;
	}
	
	.articulo .texto{
		width: 100%;
	}	
	
	.articulo .galeria:empty{
		display: none;
	}		
}

/* Medium Devices, Desktops */
@media only screen and (min-width:992px) and (max-width : 1199px) {
	header + .carousel{
		height: 50vh;
	}	
	
		.enHome.nuestras-prioridades ul{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-gap: 10px;		
		}
	
	.listadoCategorias a{
		width: 48.75%;
	}
	
	.listadoCategorias a:nth-of-type(3n){
		margin-right: 2.5%;
	}
	
	.listadoCategorias a:nth-of-type(2n), .listadoCategorias a:last-of-type{
		margin-right: 0;
	}
	
	section.contacto ul, section.contacto iframe{
		min-height: auto;
		height: 33vh;
	}
	
	.articulo .texto{
		width: 100%;
	}	
	
	.articulo .galeria:empty{
		display: none;
	}	
	
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
	header + .carousel{
		height: calc(100vh - 152px);
	}
	
	#categorias{
		padding: 90px 0}	
	
	.listadoCategorias a{
		width: 31.66666666666667%;
	}	

	.listadoCategorias a:nth-child(4n){
		margin-right: 2.5%;
	}	

	.enHome.nuestras-prioridades ul{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;		
	}
	
	
	.enHome.nuestras-prioridades ul li{
		width: 100%;
	}	
	
	.listadoCategorias a:nth-of-type(3n), .listadoCategorias a:last-of-type, .enHome.nuestras-prioridades ul li:nth-of-type(2n), .enHome.nuestras-prioridades ul li:last-of-type{
		margin-right: 0;
	}	

	
}