@font-face {
    font-family: 'OpenSans-Regular';
    src: url(../fonts/OpenSans-Regular.ttf);
}

body{
	margin: 0;
	padding: 0;
	font-family: 'OpenSans-Regular';
}

a{
	text-decoration: none;
	color: inherit;
}

/*****  HEADER  *****/
header{
	height: 120px;
	width: 100%;
}

header > div{
	float: left;
}

#logo{
	width: 30%;
    display: flex;
    align-items: center;
    height: 100%;
    background-color: #f2f2f2;
}

#logo > div{
	margin: 0 auto;
}

#logo > div > img{
	height: 91px;
}
/*****  FIN ENCABEZADO  *****/

/*****  MENU  *****/
#menu{
	height: 100%;
    width: 70%;
    background-color: #005cb9;
    color: white;
}

nav{
	margin-right: 8%;
    margin-top: 80px;
    font-size: 18px;
}

.menu{
	padding-inline-start: 0;
	text-align: right;
	margin: 0;
}

.menu > li{
	display: inline-block;
    height: 40px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
	padding: 0px 20px;
}

.menu > li:hover{
	background-color: #80bc00;
	color: white;
}
/*****  FIN MENU  *****/

/*****  BANNER  *****/
#banner-pharma{
	background-image: url(../img/banner-home.png);
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	height: 700px;
	background-position: center;
}
/*****  FIN BANNER  *****/

/*****  TITLE SECTION  *****/
.title-section{
	height: 150px;
    text-align: center;
	display: flex;
    align-items: center;
}

.title-section > div{
	margin: 0 auto;
}

.title-section > div > h1{
	margin: 0;
    text-transform: uppercase;
    font-size: 45px;
}

.title-section > div > hr{
	width: 100px;
    border: 5px solid #80bc00;
	background-color: #80bc00;
}
/*****  FIN TITLE SECTION  *****/

/*****  ABOUT US  *****/
#about-us{
	width: 100%;
	height: 580px;
}

#pharma-description, #pharma-image{
	float: left;
	width: 50%;
	height: 430px;
	transition: all 0.3s ease;
}

#about-us:hover #pharma-description{
	width: 0%;
	opacity: 0;
}

#about-us:hover #pharma-description > div{
	display: none;
}

#about-us:hover #pharma-image{
	width: 100%;
}

#about-us:hover #pharma-image > div{
	opacity: 1;
}

#pharma-description{
	background-color: #f2f2f2;
    display: flex;
    align-items: center;
    font-size: 20px;
    color: #3c3c3b;
    line-height: 29px;
}

#pharma-description > div{
	width: 80%;
    margin: 0 auto;
}

#pharma-description > div > p{
	margin: 30px 0px;
}

#pharma-image{
	background-image: url(../img/about-us.png);
	background-position: center;
	background-size: cover;
}

#pharma-image > div{
	opacity: 0;
	background-color: rgba(0,0,0,0.55);
    width: 100%;
    height: 100%;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

#pharma-image > div > p{
	width: 65%;
	font-size: 19px;
}
/*****  FIN ABOUT US  *****/

/*****  CONTACT  *****/
#banner-contact{
	background-image: url(../img/contact.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 200px;
	color: white;
}

#banner-contact > .title-section{
	padding-top: 50px;
}

#map{
	width: 100%;
	height: 300px;
	margin-top: 30px;
    margin-bottom: 30px;
}

#map > div{
	width: 90%;
	height: 100%;
	margin: 0 auto;
}

#map > div > iframe{
	width: 100%;
	height: 100%;
}

#contact-data{
	width: 100%;
}

#contact-data > div{
	width: 90%;
	margin: 0 auto;
}

#contact-data h4{
	font-size: 25px;
    margin: 0;
    margin-bottom: 10px !important;
}

#mail, #address-and-schedule{
	float: left;
	width: 50%;
	color: #3c3c3b;
	margin-bottom: 30px;
}

form[name="contact"], #mail > h4, #address, #schedule{
	width: 305px;
	margin: 0 auto;
}

#mail > form > fieldset{
	border: none;
	padding: 0;
}

.input-text{
	border: 1px solid #b9b7b7;
    width: 300px;
    height: 35px;
    margin-bottom: 15px;
    text-indent: 10px;
    font-family: OpenSans-Regular;
    color: #005cb9;
	font-size: 16px;
	background-color: #f2f2f2;
	padding: 0;
}

.text-area{
	resize: none;
    border: 1px solid #b9b7b7;
    width: 280px;
    height: 80px;
    margin-bottom: 15px;
    color: #005cb9;
    font-family: OpenSans-Regular;
    padding: 10px;
    font-size: 16px;
    background-color: #f2f2f2;
}

#submit-button{
	color: white;
    background-color: #005cb9;
    border: none;
    font-size: 16px;
    padding: 8px 60px;
    cursor: pointer;
}

#address-and-schedule{
	font-size: 18px;
}

#schedule{
	margin-top: 60px;
}

#schedule a:hover{
	color: #80bc00;
}
/*****  FIN CONTACT  *****/

/*****  FOOTER  *****/
footer{
	background-color: #005cb9;
    color: white;
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
}

footer > div{
	width: 90%;
	margin: 0 auto;
}
/*****  FIN FOOTER  *****/

/***** CORREO  *****/
#correo-enviado{
	position: fixed;
    right: 20px;
    opacity: 0;
    background-color: #1cce1c;
    float: left;
    padding: 25px 50px;
    border-radius: 0px;
    color: white;
    top: 20px;
	z-index: -1;
}

#correo-enviado > img{
	height: 25px;
    position: relative;
}

#correo-enviado > label{
	color: white;
    font-weight: bold;
    font-size: 16px;
    position: relative;
    top: -6px;
}

.resultado-correo{
	animation: mostrar-aviso 3s ease;
	-webkit-animation: mostrar-aviso 3s ease;
	-moz-animation: mostrar-aviso 3s ease;
}

@keyframes mostrar-aviso {
    0%   {opacity: 1; z-index: 100;}
    100% {opacity: 0; z-index: 0;}
}
/***** FIN CORREO  *****/

@media only screen and (max-width: 599px) {
	header{
		height: auto;
	}
	
	header > div{
		float: initial;
		width: 100% !important;
	}
	
	#logo{
		height: 100px;
	}
	
	#logo > div > img{
		height: 80px;
	}
	
	nav{
		margin: initial;
		font-size: 13px;
	}
	
	.menu{
		text-align: center;
	}
	
	.menu > li{
		padding: 0px 10px;
	}
	
	#banner-pharma{
		background-position: center;
		height: 225px;
	}
	
	.title-section{
		height: 120px;
	}
	
	.title-section > div > h1{
		font-size: 28px;
	}
	
	.title-section > div > hr{
		border: 3px solid #80bc00;
	}
	
	#about-us{
		height: auto;
	}
	
	#pharma-description, #pharma-image {
		float: initial;
		width: 100%;
		height: auto;
	}
	
	#pharma-description{
		font-size: 15px;
		line-height: 22px;
		text-align: center;
	}
	
	#pharma-image{
		height: 200px;
	}
	
	#about-us:hover #pharma-image{
		height: 400px;
	}
	
	#pharma-image > div > p{
		width: 90%;
		font-size: 15px;
	}
	
	#pharma-description > div > p{
		margin: 22px 0px;
	}
	
	#banner-contact{
		height: 130px;
	}
	
	#banner-contact > .title-section{
		padding-top: 20px;
	}
	
	#map{
		height: 350px;
	}
	
	#mail, #address-and-schedule {
		float: initial;
		width: 100%;
	}
	
	#contact-data{
		text-align: center;
	}
	
	#contact-data h4{
		font-size: 22px;
	}
	
	form[name="contact"], #mail > h4, #address, #schedule{
		width: 100%;
	}
	
	#mail > form > fieldset{
		padding: 0;
		margin: 0;
		width: 100%;
	}
	
	.input-text{
		width: 99%;
		font-size: 14px;
		text-align: center;
	}
	
	.text-area{
		width: 99%;
		padding: 0;
		font-size: 14px;
		text-indent: 10px;
		text-align: center;
	}
	
	#address-and-schedule{
		font-size: 15px;
	}
	
	#schedule {
		margin-top: 35px;
	}
	
	footer{
		text-align: center;
		font-size: 13px;
	}
}

@media only screen and (min-width: 600px) and (max-width: 767px){
	header{
		height: auto;
	}
	
	header > div{
		float: initial;
		width: 100% !important;
	}
	
	#logo{
		height: 100px;
	}
	
	#logo > div > img{
		height: 80px;
	}
	
	nav{
		margin: initial;
		font-size: 14px;
	}
	
	.menu{
		text-align: center;
	}
	
	#banner-pharma{
		height: 400px;
	}
	
	.title-section{
		height: 130px;
	}
	
	.title-section > div > h1{
		font-size: 28px;
	}
	
	.title-section > div > hr{
		border: 3px solid #80bc00;
	}
	
	#about-us{
		height: auto;
	}
	
	#pharma-description, #pharma-image {
		float: initial;
		width: 100%;
		height: auto;
	}
	
	#pharma-description{
		font-size: 17px;
		line-height: 25px;
		text-align: center;
	}
	
	#pharma-image{
		height: 240px;
	}
	
	#about-us:hover #pharma-image{
		height: 400px;
	}
	
	#pharma-image > div > p{
		width: 80%;
		font-size: 17px;
	}
	
	#pharma-description > div > p{
		margin: 25px 0px;
	}
	
	#banner-contact{
		height: 150px;
	}
	
	#banner-contact > .title-section{
		padding-top: 30px;
	}
	
	#map{
		height: 350px;
	}
	
	#contact-data h4{
		font-size: 21px;
	}
	
	#mail{
		width: 60%;
	}
	
	#address-and-schedule{
		width: 40%;
	}
	
	form[name="contact"], #mail > h4, #address, #schedule{
		width: 100%;
	}
	
	#address-and-schedule {
		font-size: 15px;
	}
	
	.input-text, .text-area{
		font-size: 14px;
	}
	
	footer{
		text-align: center;
		font-size: 15px;
	}
}

@media only screen and (min-width: 768px) and (max-width: 991px){
	#logo{
		width: 35%;
	}
	
	#menu{
		width: 65%;
	}
	
	#logo > div > img{
		height: 80px;
	}
	
	nav {
		margin-right: 5%;
		margin-top: 65px;
		font-size: 16px;
	}
	
	#banner-pharma{
		height: 450px;
	}
	
	.title-section > div > h1{
		font-size: 38px;
	}
	
	#pharma-description{
		font-size: 18px;
		line-height: 25px;
	}
	
	#about-us{
		height: 620px;
	}
	
	#pharma-description, #pharma-image{
		height: 470px;
	}
	
	#map{
		height: 350px;
	}
	
	#address-and-schedule {
		font-size: 17px;
	}
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
	nav {
		margin-right: 5%;
		margin-top: 65px;
		font-size: 18px;
	}
	
	#banner-pharma{
		height: 550px;
	}
	
	.title-section > div > h1{
		font-size: 40px;
	}
	
	#pharma-description > div > p{
		margin: 20px 0px;
	}
	
	#pharma-description{
		font-size: 19px;
		line-height: 27px;
	}
	
	#address-and-schedule{
		font-size: 17px;
	}
}