/*
Theme Name: Dermaprimaria
Author: Andres J. Villar - Integra IM
*/
@font-face {
    font-family: 'LOREAL Essentielle';
    src: url('fonts/LOREALEssentielle-Regular.eot');
    src: url('fonts/LOREALEssentielle-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/LOREALEssentielle-Regular.woff2') format('woff2'),
        url('fonts/LOREALEssentielle-Regular.woff') format('woff'),
        url('fonts/LOREALEssentielle-Regular.ttf') format('truetype'),
        url('fonts/LOREALEssentielle-Regular.svg#LOREALEssentielle-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LOREAL Essentielle';
    src: url('fonts/LOREALEssentielle-Bold.eot');
    src: url('fonts/LOREALEssentielle-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/LOREALEssentielle-Bold.woff2') format('woff2'),
        url('fonts/LOREALEssentielle-Bold.woff') format('woff'),
        url('fonts/LOREALEssentielle-Bold.ttf') format('truetype'),
        url('fonts/LOREALEssentielle-Bold.svg#LOREALEssentielle-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {	
	--white: #ffffff;
	--blue: #081f62;
	--black: #101010;
}
html, body{
	height: 100%;
}
body {
	background: #fff;
	font-family: 'LOREAL Essentielle', sans-serif;
	font-size: 17px;
	color: var(--blue);
	font-weight: normal;
	background: #efefef;
}
.container, .container-fluid {
	width: 1200px;
	max-width: 100%;
	margin: 0 auto;
}
.clear, .clearfix {
	display: block;
	clear: both;
}
.height10 {
	height: 10px;
}
.height20 {
	height: 20px;
}
.height30 {
	height: 30px;
}
.height50 {
	height: 50px;
}
img {
	max-width: 100%;
	height: auto;
}
.black {
	color: var(--black);
}
.white {
	color: var(--white);
}
.blue {
	color: var(--blue);
}
.bg-black {
	background: var(--black);
}
.bg-white {
	background: var(--white);
}
.bg-blue {
	background: var(--blue);
}
a, button {
	transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
}
a, a:hover, a:focus, a:active {
	text-decoration: none;
	color: var(--blue);
}
.boton {
	text-transform: none;
	display: inline-block;
	color: var(--white);
	background: var(--blue);
	border: 1px solid var(--blue);
	padding: 9px 25px;
	font-weight: normal;
	font-family: 'LOREAL Essentielle', sans-serif;
	border-radius: 10px;
	font-weight: 300;
	font-size: 16px;
}
.boton:hover, .boton:focus {
	color: var(--white);
	background: #17358d;
}
.h1, h1 {
  font-size: 30px;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'LOREAL Essentielle', sans-serif;
	font-weight: 600;
	color: var(--blue);
	margin-top: 0;
}


/**** HEADER ****/
header {
	padding-top: 35px;
	padding-bottom: 35px;
	background: #fff;
}
header .container-fluid {
	width: 1400px;
	max-width: 100%;
	padding-left: 15px;
	padding-right: 15px;
	margin: 0 auto;
}
header img {
	width: 120px;
}
.bg-grey {
	background: #efefef;
}
.logo-derma {
	margin-top: 30px;
	width: 480px;
	margin-bottom: 40px;
}
.form-dni {
	width: 600px;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}
.form-dni input {
	width: 100%;
	border: 1px solid var(--blue);
	color: var(--blue);
	padding: 12px 30px;
	border-radius: 30px;
}
.leyenda {
	border: 1px solid var(--blue);
	padding: 32px 22px;
	font-size: 15px;
	text-align: center;
	border-radius: 30px;
}
.leyenda h4 {
	font-weight: 600;
	font-size: 17px;
	margin-bottom: 5px;
}
.descargas {
	width: 700px;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}
.descarga {
	font-weight: 300;
	font-size: 15px;
	background: #a3a2a2;
	color: #fff;
	border-radius: 30px;
	padding: 14px 30px;
	height: 52px;
	position: relative;
	margin-bottom: 12px;
}
.descarga a {
	background: var(--blue);
	color: #fff;
	border-radius: 30px;
	display: block;
	height: 52px;
	position: absolute;
	top: 0;
	right: 0;
	width: 150px;
	font-size: 15px;
	text-align: center;
	padding-top: 14px;
}
.descarga a img {
	width: 16px;
	margin-right: 4px;
}

@media(max-width:767px){
	body {
		font-size: 16px;
	}
	header {
		padding-top: 25px;
		padding-bottom: 25px;
	}
	.h1, h1 {
  		font-size: 26px;
	}
	.descarga {
		height: 72px;
	}
	.descarga a {
		top: 10px;
  		right: 11px;
	}
}

@media(max-width:498px){
	header {
    	padding-top: 18px;
    	padding-bottom: 18px;
  	}
  	.leyenda {
  		font-size: 14px;
  	}
  	.descarga {
  		padding: 14px 20px;
  	}
  	.descarga a {
  		width: 142px;
  	}
}