/*Mobile*/

@media only screen and (max-width: 991.9px) {
  
  /* For mobile phones & tablets: */
.of-hidden{
  overflow: hidden!important;
}

html{
  width: 100%;
  /* overflow-x: hidden; */
}

/* HEADER */

.nav-bar{
  position: fixed;
}

.nav-bar.hide{
  top: 0;
}

.nav-bar-container {
    padding: 0 30px;
}

.btn-menu{
  display: block!important;
}

.menu{
  padding: .25rem;
  position: fixed;
  right: 30px;
  top: 25px;
  z-index: 12;
  width: 30px;
  height: 20px;
}

.menu .bar{
  height: 3px;
	width: 30px;
	background-color: #FFF;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	transition: all .2s linear;
}

.menu .bar:before,
.menu .bar:after{
	content: '';
	height: 3px;
	width: 30px;
	background-color: #FFF;
	position: absolute;
	transition: all .2s linear;
}

.menu .bar:before{
	top: .65rem;
}
   
.menu .bar:after{
	bottom: .65rem;
}

.menu .bar.open{
  background-color: transparent;
}

.menu .bar.open:before{
  left: .3rem;
  transform: rotate(-45deg);
  transform-origin: left;
}
  
.menu .bar.open:after{
  left: .3rem;
  transform: rotate(45deg);
  transform-origin: left;
}
  
.menu-wrapper{
	height: calc(100vh - 80px);
	width: 100%;
	position: fixed;
	top: -100vh;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: -1;
  background-color: #360767;
  transition: all .5s linear;
  text-align: center;
}

.menu-wrapper.active{
  top: 80px;
}

.nav-bar-items{
  flex-direction: column;
  padding-left: 0;
  z-index: -1;
}

.nav-bar-item{
  z-index: -1;
  margin: .75rem 0;
}

.nav-bar-item a{
  z-index: -1;
  font-size: 1.3rem;
}

/* BODY */

.hero-slider{
  width: 100%;
  overflow-x: hidden;
}

.hero-slider-logo{
  width: 80%;
  max-width: 500px;
}

.hero-slider-logo img{
  width: 100%;
}

.desordenx .d{
  left: 0;
}

.desordenx img{
  max-width: 100%;
}

.mapa svg{
  width: 100%;
}

#section-barrio .section-content{
  background-size: 90%;
}

#section-proyectos .special-section{
  flex-wrap: wrap;
}

#section-proyectos .internal-section{
  min-height: 0;
  width: 80%;
  margin: 1.5rem auto;
}

#section-proyectos .internal-section:last-of-type{
  margin-bottom: 150px;
}

#section-proyectos .internal-section .meinteresa{
  position: relative;
  width: fit-content;
  left: 50% !important;
  transform: translateX(-50%);
  bottom: auto;
}

#section-proyectos .internal-section .meinteresa img{
  min-width: 150px;
}

.modal-cot-content-body {
  height: calc(100% - 85px);
}

.section-content .membrete{
  width: 50%;
  left: auto;
  margin-right: -4%;
}

.section-content .r-text {
    width: 80%;
    height: auto;
}

#section-barrio .r-text{
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
}

.section-content .membrete{
  position: relative;
  width: 50%;
  left: auto;
  margin-right: -4%;
}

.section-content .membrete img {
  width: 100%;
}

.flecha{
  bottom: -15%;
}

#section-ubicacion .section-content{
  min-height: auto;
}

.mapa svg {
  height: auto;
}

#section-entorno .section-content {
  position: relative;
  width: 80%;
  left: -2%;
}

.cot-lavel-program-selector .title {
    padding: 10%;
}

.modal-cot-content-body{
  width: 100%;
  left: 0;
  top: 83px;
  border-top-left-radius: 0;
}

.modal-cot-content form .input-form input {
    margin: .75rem 0;
    width: calc(100% - 27px);
}

.modal-cot-content form .input-form input[type="checkbox"]{
  width: auto;
  margin-right: 1rem;
}

.modal-cot-content form .wpcf7-list-item{
  margin: 0;
}

.modal-cot .form-group-doble{
  flex-wrap: wrap;
}

.modal-cot .input-gemelo{
  width: 100%;
}

.modal-cot-content form .input-form-submit{
  margin-top: 25px;
}

/* .modal-cot-content form .input-gemelo input{
  margin: .5rem 0;
} */

/* .section-content .texto-imagen{
  height: auto;
} */
  
  /* FOOTER */
footer .footer-column{
    justify-content: center;
  }
}

@media only screen and (max-width: 767px) {
  /* For mobile phones: */
/* HEADER */
/* BODY */

#section-barrio{
  height: 0;
  padding: 0;
  padding-top: 181.572%;
  position: relative;
  overflow: hidden;
}

#section-barrio .section-content{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100vh - 6rem);
  padding: 0;
  background-size: 110%;
  background-position-y: 85% !important;
}

#section-barrio .r-text{
  width: calc(100% - 2rem);
  height: auto;
  right: auto;
  left: 0;
  padding: 3rem 1rem;
  padding-bottom: 1rem;
}

#section-barrio .texto-imagen{
  width: 100%;
  height: auto;
}

#section-barrio .flecha{
  right: 1rem;
  bottom: -40%;
  width: 30%;
  height: auto;
}

#section-barrio .flecha img{
  width: 100%;
  height: auto;
}

/* .project-cot-container{
  height: fit-content;
} */

#section-proyectos .internal-section{
  min-height: 0;
  width: calc(100% - 20px);
  /* margin: 0 10px; */
}

/* FOOTER */
footer .footer-column{
	justify-content: center;
}


.numproj-1 .abajo{
  width: 100%;
}


.cot-button-front.meinteresa{
  bottom: 34px;
    left: calc(50% - 80px);
}

.cot-button-front.meinteresa img{
  width: 160px;
}

}

