* {
	font-family: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
}



:root {
	--primary: #5b4695;
	--primary-w-alpha: #5b4695f7;
	--secondary: #febf12;
	--secondary-w-alpha: #febf12f7;
	--tertiary: #ffffff;
	--grey-bg: #fafaf8;
}

/* Clases generales */

html, body {
	height: 100%;
}

.primary {
	color: var(--primary);
}

.secondary {
	color: var(--secondary);
}

.tertiary {
	color: var(--tertiary);
}

.strong {
	font-weight: 900;
}

.h2, h2 {
    font-size: 1.5rem;
}

.h3, h3 {
    font-size: 1.25rem;
    
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

#description {
  font-family: Roboto;
  font-size: 15px;
  font-weight: 300;
}

#infowindow-content .title {
  font-weight: bold;
}

#infowindow-content {
  display: none;
}

#map #infowindow-content {
  display: inline;
}


/*BUSCADOR DE MAPA  */

.pac-card {
  margin: 10px 10px 0 0;
  border-radius: 2px 0 0 2px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  outline: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  background-color: #fff;
  font-family: Roboto;
}

#pac-container {
  padding-bottom: 12px;
  margin-right: 12px;
}

.pac-controls {
  display: inline-block;
  padding: 5px 11px;
}

.pac-controls label {
  font-family: Roboto;
  font-size: 13px;
  font-weight: 300;
}


#pac-input {
  all: unset;
  background-color: var(--primary);
  color: white;
  font-family: Roboto;
  font-size: 20px;
  font-weight: 300;
  margin: 10px auto;
  padding: 10px 25px;
  text-overflow: ellipsis;
  width: 50%;
  border-radius: 20px;
  transition: all .2s;
}

#pac-input::placeholder {
	color:white;
}

@media(max-width: 768px) {
	#pac-input {
		margin-left: -200px;
		margin-top: 100px;
	    width: 75%;
		
	}
}

#pac-input:focus {
	transform: scale(1.01);
	filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, .4));
	transition: all .2s;
}

#pac-input:focus {
  border-color: #4d90fe;
}

#title {
  color: #fff;
  background-color: #4d90fe;
  font-size: 25px;
  font-weight: 500;
  padding: 6px 12px;
}

#target {
  width: 345px;
}


/*FIN DE BUSCADOR DE MAPA  */



/* Fin de clases generales */

/* Menu */

nav.navbar{
   -webkit-transition: all 0.4s ease;
   transition: all 0.4s ease;
   margin-bottom: 30px;
}

.navbar-toggler {
	color: #FFFFFF;
}

.navbar-brand>.yes-logo {
	height: auto;
	width: 30%;
}

.navbar-inverse {
    background-color: var(--primary-w-alpha)!important;
    border-color: unset;
}

nav.navbar.transparent {
	background-color: rgba(0,0,0,0);
}

.nav-link {
	color: white;
}

nav .nav-item {
	padding-left: 5px;
	padding-right: 5px;
	font-weight: 500;
}

.nav-link:hover {
	color: var(--secondary);
}

.nav-link .comercio {
	border: 1px solid var(--primary); 
}

/* fin menu */

/* Portada */


#hero2{
	
	font-size: 0.7em;
	font-weight: bolder;
	text-transform: uppercase;
}
#hero2 {
	background-image: url(../../img/landing/hero-ondas-bottom.png);
	background-repeat: no-repeat;
	background-position: bottom;
	background-size: 101%;
	padding-bottom: 1px;
	
}

#hero2>.bg-wrapper {
	background-color: var(--primary);
	padding-top: 10rem;
	margin-bottom: 23rem;
}

#hero2 .title2 {
	font-size: 2.5em;
	font-weight: bolder;
	text-transform: uppercase;
}

.hero2-image {
	width: 100%;
	height: auto;
	position: absolute;
	bottom: -80%;
}





#hero {
	
}

#hero>.bg-wrapper {
	background-color: var(--primary);
	padding-top: 10rem;
}


#hero .title {
	font-size: 2.5em;
	font-weight: bolder;
	text-transform: uppercase;
}

#hero .container-ola {
	width: 100%;
	overflow: hidden;
	margin-top: -1px;
	background-color: var(--grey-bg);
}

#hero .container-ola .img-ola {
	margin-top: 0;
	width: 100%;
}

.hero-ola {
	background-image: url(../../img/landing/hero-ondas-bottom.png);
	background-repeat: no-repeat;
	background-size: 101%;
	background-color: var(--grey-bg);	
	
}


.hero-image {
	width: 100%;
	height: auto;
	position: absolute;
	bottom: -80%;
}

.store-badge>p {
	margin-bottom: 0;
}

/* Fin portada */


/* Descripcion */

.container-descripcion {
	display: flex;
	background-color: var(--grey-bg);	
	justify-content: center;
	align-items: center;
}

.container-descripcion .descripcion {
	width: 88%;
	max-width: 1200px;
	margin-bottom: 50px;
}

.container-descripcion .descripcion .container-logo {
	width: 200px;
	margin-bottom: 50px;
}

.descripcion-logo {
	width: 100%;
	height: auto;
}

#descripcion .info-a {
	color: #000000D9;
	font-weight: 200;	
}

#descripcion .info-b {
	color: #000000D9;
	font-weight: 800;
}

/* fin descripcion */


/* Institucional */

#institucional {
	background-color: var(--secondary);
	color: var(--tertiary);
}

#institucional #video {
/* 	height: 400px; */
	background-color: var(--tertiary);
	border-radius: 10px;
	max-width: 1200px;
}

#institucional h1 {
	font-weight: bolder;
}

#institucional h3 {
	font-weight: 200;
}

/* Fin institucional */


/* Funciones */

.funciones {
	background-color: var(--grey-bg);
	display: flex;
	flex-direction: column;
	align-items: center;
}

.funciones .container-funciones {
	width: 90%;
	max-width: 800px;
}

.funciones .container-titulo-funciones {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 85px;
}

.funciones .container-titulo-funciones .titulo-funciones {
	width: 70%;
	max-width: 1000px;
	color: var(--primary);
	font-size: 24px;
	font-weight: 900;
}

.funciones .container-funciones .funcion {
	margin: 3rem 0; 
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 768px) {
	.funciones .container-funciones .funcion {
		flex-direction: column;
	}
	
	.funciones .container-titulo-funciones .titulo-funciones {
		text-align: center;
	}
}

.funciones .container-funciones .funcion .container-img-funcion {
	padding: 20px;
}

.funciones .container-funciones .funcion .container-img-funcion .img-funcion {
	width: 100px;
}

.arrow-down {
	margin-bottom: 5rem!important;
	position: relative;
}

.arrow-down .arrow {
	width: 40%;
	position: absolute;
	top: 125%;
	left: 30%;
	
}

/* fin funciones */

/* Mapa */

.container-mapa {
	width: 100%;
	max-height: 1200px;
	padding: 0 40px;
	overflow: hidden;
}

.container-mapa .mapa {
	max-width: 1200px;
	margin: 0 auto;
}

#mapa {
	background-color: var(--primary);
	min-height: 100%;
}

#farmacias-map {
	min-height: 80vh;
	border-radius: 10px;
}

/* .info-marker {
	background-color: var(--secondary);
}
.info-marker>h5 {
	color: var(--tertiary);
	font-weight: 600;
}
.info-marker>h5 {
	color: var(--tertiary);
} */
/* fin mapa */


/* Formulario de contacto */

#contacto {
	background-color: var(--secondary);
	color: var(--tertiary);
}

#contacto h3 {
	font-weight: bolder;
}

#contacto p{
	font-size: 1.25rem;
}

#contacto a{
	color: #FFFFFF;
}

#contacto a:hover{
	text-decoration:underline;
}

.contacto-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: var(--secondary);
    border-radius: 10px;
    color: #ffffff;
    padding: 10px;
    transition: 0.2s;
    height: 55px;
    /* margin: 0 5px; */
}

.contacto-block:hover {
/*     background-color: var(--primary); */
    color: #29b6f6;
    border-color: var(--primary)
}

.contacto-block:focus {
    background-color: transparent;
    color: #29b6f6;
    box-shadow: 0px 0px 8px 1px var(--primary-alpha);
}

.contacto-block .icon {
    background-color: #ffffff;
    color: #29b6f6;
    padding: 0 9px;
    border-radius: 70%;
}

.contact-input {
	font-weight: 600;
	font-size: 1.2em;
	background-color: transparent;
	color: var(--tertiary);
    border: 2px solid var(--tertiary);
    border-radius: 10px;
}

.contact-input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
	color: #ffffff;
	opacity: 1; /* Firefox */
	font-weight: 600;
}

.contact-input:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: #ffffff;
	font-weight: 600;	
}

.contact-input::-ms-input-placeholder { /* Microsoft Edge */
	color: #ffffff;
	font-weight: 600;	
}


#contacto .btn-send {
	padding: 10px 0;
	text-transform: uppercase;
	font-weight: 700;
	background-color: transparent!important;
	border-color: var(--primary);
	color: var(--primary);
	border-radius: 10px;
}

#contacto .btn-send:hover {
	background-color: var(--primary)!important;
	color: var(--tertiary)!important;
}

.is-valid {
	border-color: green;
}

.is-invalid {
	border-color: red;
}

#tipo-select.is-invalid {
	background-color: transparent!important;
}

/* Fin formulario de contacto */

/* Footer */

footer {
	background-color: #000000;
}

footer .redes {
	height: auto;
	width: 30px;
}

/* Fin footer */

/* Ajustes mobile */
@media screen and (max-width: 768px) {
	#hero>.bg-wrapper {
		padding-top: 5rem;
	
	}
	
	#hero .title {
		font-size: 150%;
	}
	.hero-image {
		position: unset;
	}
	#hero2>.bg-wrapper {
		padding-top: 5rem;
		margin-bottom: 4rem;
	}
	
	#hero2 .title {
		font-size: 150%;
	}
	.hero2-image {
		position: unset;
	}
	#institucional h1 {
		font-size: 180%;
	}
	
	.navbar-brand>.yes-logo {
		width: 100px;
	}
	
	.container-mapa {
		padding: 0 20px;
	}
	
}

@media (min-width: 768px) and (max-width: 1200px) {
	footer .redes {
		width: 30px;
	}
	
}

@media screen and (min-width: 768px) {
	
	#descripcion {
/* 		margin-top: -10rem; */
		background-color: var(--grey-bg);
	}
	
	#descripcion .text-wrapper {
		margin-top: 4rem!important;
	}
	
	footer .redes {
	width: 40px;
	}
	
}

/* Fin ajustes mobile */

