@media screen and (min-width: 1536px){
	div.nav-top{
		width: 65%;
	}
}

@media screen and (max-width: 1300px){
	section.cv{
		height: auto;
		text-align: center;
	}

	section.cv div.row input,
	.btn-contacto{
		width: 40%;
		margin-right: 20px;
	}

/*	section.cv div.row .inputfile{
		display: none;
	}*/

/*	.btn-contacto{
		text-align: center;
		position: static;
		bottom:0px;
		right: 0px;
		display: inline-block;
	}*/
}

@media screen and (max-width: 1024px){
	header{
		background-position-x:50%;
	}

	/*Ajustes sección Servicios*/
	.servicios{
		height: auto;
		text-align: center;
	}

	.servicios article{
		width: 64%;
		/*display: block;*/
	}

	.servicios article:nth-child(2){
		margin-left:0px;
	}
	
	.servicios article:first-child,
	.servicios article:nth-child(3),
	.servicios article:nth-child(2){
		float: none;
	}

	.servicios div.uno,
	.servicios div.dos,
	.servicios div.tres{
		width: 64%;
		float: none;
		position: relative;
		margin-top: 44px;
	}

	.servicios div.dos{
		margin-left: 0px;
		margin-top: 39px;	
	}

	.servicios div.tres{
		margin-top: 40px;
	}

	.servicios aside{
		/*width: 64%;*/
		height:auto;
		margin-top: -814px;
	}

	/*Ajustes sección Otros servicios*/
	.otros-servicios{
		text-align: center;
	}

	.otros-servicios article{
		/*float: none;*/
		display: inline;
		width: 50%;
		height: 340px;
	}
}

@media screen and (max-width: 960px){

	footer article.logo img{
		margin-left: 2%;
	}

	footer article div.datos{
		margin-right: 2%;
	}
}

@media screen and (max-width: 900px) {
	div.nav-top ul li:first-child,
	div.nav-top ul li:nth-child(2){
		display: none;
	}

	div.nav-top{
		width: 50%;
	}

	.ocultar{
		display: block;
	}

	nav{
		height: auto;
	}

	nav ul a +a{
	border:none;
	}
	
	nav ul li{
		display: block;
		border-bottom: solid 2px #706F6F;
		padding-top: 10px;
		padding-bottom: 10px;
	}

	nav ul li:hover{
		background-color: #B1B1B1;
	}

	.lista{
		text-align: left;
		margin-top:0px;
		margin-left: 138.17px;
		display: block;
		height: 0;
		overflow: hidden;
		transition: height 0.4s linear;
	}

	.abrir{
		height: 320px;
	}

	nav ul a{
		padding:0px;
		color: #706F6F;
	}

	.btn-menu{
		padding-top:15px;
		padding-bottom: 15px;
	}
	
	.btn-menu::before{
		content: url(../img/menu.png);
		float: right;
		margin-top: -2.5px;
	}

	.menubar{
		margin-left: 138.17px;
		cursor: pointer;
		padding-right: 10px;
		font-size: 1.25rem;
		font-weight: bolder;
		color:#B57EDC;
		z-index: 10;
	}

	.hospitales img{
		padding-top:80px;
	}

	section.formulario{
		height: auto;
	}

	section.formulario div.linea1{
		margin-top: 0px;
	}

	section.formulario input,
	.motivo,
	.custom-select,
	.texto-consulta textarea{
		width: 80%;
		margin-top:40px;
	}

	.texto-consulta textarea{
		margin-top: 0px;
	}

	section.formulario div.g-recaptcha{
		position: relative;
		bottom:0;
		display: inline-block;
	}

	section.institucional{
		height: auto;
		padding-bottom: 40px;
	}

	section.institucional img{
		width: 90%;
	}

	section.institucional details, 
	section.institucional p{
		width: 90%;
	}

	section.cobertura{
		height: auto;
	}

	/*Ajustes sección Otros servicios*/
	/*.otros-servicios{
		text-align: center;
	}*/
	
	.otros-servicios{
		margin-top:0px;
	}
	.otros-servicios article{
		float: none;
		display: block;
		width: 50%;
		height: auto;
		margin-top:60px;
		margin-right: auto;
		margin-left: auto;
		text-align: left;
	}

	/*Ajustes de la sección CV*/
	section.cv{
		height: auto;
		text-align: center;
	}

	section.cv div.row input,
	.btn-contacto{
		width: 90%;
		margin-right: 0px;
	}

	/*section.cv div.row .inputfile{
		display: none;
	}*/

	/*.btn-contacto{
		text-align: center;
		position: static;
		bottom:0px;
		right: 0px;
	}*/
	
	/*Ajustes a 900px de Ventana Modal*/
	header button{
		width:70%;
		margin-left:15%;
	}

	.modal-content{
		width: 100%;
		margin-left: 0;
	}

	/* .modal-content img{
		width: 60%;
		margin-left: 20%;
	} */

}


/*Ajustes a 720px del footer sección logos*/
@media screen and (max-width: 720px){
	footer article.logo img,
	footer article div.datos{
		display: block;
	}

	footer article div.datos,
	footer article.logo img{
		float: none;
		margin-right: auto;
		margin-left: auto;
	}
	
	footer article.logo img{
		padding-top: 20px;
	}

	footer article.decorativa{
		margin-bottom: 80px;
	}

	footer article.pie{
		height: auto;
	}

	div.logos{
		width: 40%;
		height: 40%;
	}
}

@media screen and (max-width: 570px){
	div.nav-top{
		width: 30%;
	}

	div.nav-top ul{
		padding-left: 0px;
	}

	div.nav-top ul li:last-child{
		padding-right: 15%;
		padding-left: 15%;
	}

	.servicios article{
		width: 90%;
	}

	.servicios div.uno,
	.servicios div.dos,
	.servicios div.tres{
		width: 90%;
	}


	.hospitales article{
		background-position-x: 50%;
	}

	/*Ajustes de etiquetas h*/

	.hospitales h1,
	section.formulario h2,
	.cv h2{
		font-size: 2.5rem;
	}

	section.institucional details, 
	section.institucional p{
		font-size: 1rem;
	}

	.otros-servicios article{
		font-size: 1.2rem;
	}

	footer article div.datos{
		font-size: 1rem;
	}

	.servicios h3{
		font-size: 2rem;
	}

	footer article div.datos p:last-child{
		margin-left: 24px;
	}

	/* Ajustes botón ventana modal */
	header button{
		width: 90%;
		margin-left: 5%;
	}

}

@media screen and (max-width: 420px){
	div.nav-top{
		width: 20%;
	}

	.menubar{
		margin-left: 125px;
	}

	.hospitales img{
		padding-top: 40px;
	}

	.lista{
		margin-left: 125px;
	}
	

} 	
