body {
   position: relative;
}
a {
  transition: 0.3s;
}


/* ==================================================
  Hero Styling
================================================== */
/* ==================================================
  Hero Styling + Slider
================================================== */

.hero { display: table; position: relative; background-size: cover; background-position: top center; padding: 0px; z-index: 3; color: #fff; width: 100%;
    min-height: 100vh; -webkit-animation: fadein 1s ease-out; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 1s ease-out; /* Firefox < 16 */ -ms-animation: fadein 1s ease-out; /* Internet Explorer */
    -o-animation: fadein 1s ease-out; /* Opera < 12.1 */ animation: fadein 1s ease-out; }
  
.hero .hero2:after { content: '';  z-index: 1; position: absolute; background-image: linear-gradient(rgba(36,54,25,0), rgba(36,54,25,0.8) 20%);
  width: 100%; height: 45%; left: 0; bottom: 0; }
.carousel-item { height: 100vh; min-height: 350px; background: no-repeat center center scroll; -webkit-background-size: cover;
-moz-background-size: cover; -o-background-size: cover; background-size: cover; }
.carousel-control-next-icon, .carousel-control-prev-icon { width: 30px; height: 30px; }

#home .align-items-start { position: absolute; top: 0; z-index: 3; width: 100%; padding: 0px 20px; margin: 0 !important; }
#home .align-items-end { position: absolute; bottom: 0; z-index: 2; width: 100%; text-align: center; margin: 0 !important; }
.carousel-control-next, .carousel-control-prev { z-index: 2; }

@media (max-width: 576px) {
  .carousel-control-next, .carousel-control-prev { z-index: 3 !important; }
}

@media (min-width: 992px) {
  .hero .hero2:after { content: ''; z-index: 1; position: absolute; background-image: linear-gradient(rgba(36,54,25,0), rgba(36,54,25,0.8) 45%);
    width: 100%; height: 30%; left: 0; bottom: 0; }
}
  
.hero .container { position: relative; z-index: 1; text-align: center; display: table-cell; width: 100%; }
.hero .row{ height:45vh; }

@media (min-width: 992px) {
  .hero .row{ height:40vh; }
}

.hero-brand { margin-top: 20px; display: inline-block; }
.hero-brand:hover { opacity:0.75; }


@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

  
  .hero .btn-splash{
    font-family: 'Montserrat', sans-serif;
    font-size:1.7rem;
    color:white;
    font-weight:700;
    text-shadow: 2px 2px 1px #444;
  }
  .hero .btn-splash span{
    font-size:1em;
    color:white;
    text-transform: uppercase;
    font-weight:400;
    display: inline-block;
    width: 100%;
  }
   .hero .btn-splash:hover {
    text-decoration:none;
    opacity:0.75;
  }
  
  .hero .btn-splash span.frase_3{ font-size: 0.5em; text-transform: initial; display: inline-block; margin-top: 10px; 
  max-width: 650px !important; line-height: initial; }

  @media (min-width: 992px) {
   .hero .logo-promo{
    text-align:left !important;
  } 
  .hero .logo-lobe{
    text-align:right !important;
  }
  .logo-promo .hero-brand img{
    width:350px;
    margin-top:0.5em;
  }
}
.hero h1{
  line-height: 1;
}
  /* .hero .bottom-btn{
    position: absolute;
    bottom: 0;
    left:50%;
    transform: translateX(-50%);
  } */
  
  /* ==================================================
    Header Styling
  ================================================== */
  
  #header {
    background: white;
    height: 75px;
    box-shadow: 10px 0px 20px #ccc;
    z-index: 9999;
  }
  
  #header #logo {
    margin: 5px 25px 12px 0;
  }
  
  
  #header #logo img {
    padding: 0;
    margin: 0;
    height: 65px;
  }
  

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

/* Nav Menu Essentials */

.nav-menu,
.nav-menu * {
  margin: 0;
  margin-top:3px;
  padding: 0;
  list-style: none;
}

.nav-menu ul {
  position: absolute;
  display: none;
  top: 100%;
  left: 0;
  z-index: 99;
}

.nav-menu li {
  position: relative;
  white-space: nowrap;
}

.nav-menu > li {
  float: left;
}

.nav-menu li:hover > ul,
.nav-menu li.sfHover > ul {
  display: block;
}

.nav-menu ul ul {
  top: 0;
  left: 100%;
}

.nav-menu ul li {
  min-width: 180px;
}

/* Nav Menu Arrows */

.sf-arrows .sf-with-ul {
  padding-right: 30px;
}

.sf-arrows .sf-with-ul:after {
  content: "\f107";
  position: absolute;
  right: 15px;
  font-family: 'FontAwesome';
  font-style: normal;
  font-weight: normal;
}

.sf-arrows ul .sf-with-ul:after {
  content: "\f105";
}

/* Nav Meu Container */

#nav-menu-container {
  margin: 0;
}

/* Nav Meu Styling */

.nav-menu a {
  padding: 22px 15px 18px 15px;
  text-decoration: none;
  display: inline-block;
  color: #595959;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 1em;
  text-transform: uppercase;
  outline: none;
}


.nav-link:hover,
.nav-link.active{
  color: #888;
}


 .nav-menu ul {
  margin: 4px 0 0 15px;
  box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.08);
}

.nav-menu ul li {
  background: #fff;
  border-top: 1px solid #f4f4f4;
}

.nav-menu ul li:first-child {
  border-top: 0;
}

.nav-menu ul li:hover {
  background: #199EB8;
  transition: 0.3s;
}

.nav-menu ul li a {
  color: #333;
  transition: none;
  padding: 10px 15px;
}

.nav-menu ul li a:hover {
  color: #fff;
}

.nav-menu ul ul {
  margin: 0;
} 

/* titulo h2 Promociones de viviendas inteligentes escondido */

.hidden {
  visibility: hidden;
}

.retocado {
  color:#343a40!important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
}
.bg-hipoteca .retocado { color:#fff !important; }

.verde {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #888;
  text-align: center;
  padding-bottom: 1%;
}

/* Mobile Nav Toggle */

#mobile-nav-toggle {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 999;
  margin: 8px 10px 0 0;
  border: 0;
  background: none;
  font-size: 24px;
  display: none;
  transition: all 0.4s;
  outline: none;
  cursor: pointer;
}

#mobile-nav-toggle i {
  color: #888;
}

/* Mobile Nav Styling */

#mobile-nav {
  position: fixed;
  top: 0;
  padding-top: 18px;
  bottom: 0;
  z-index: 998;
  background: rgba(73, 94, 104, 0.9);
  left: -260px;
  width: 260px;
  overflow-y: auto;
  transition: 0.4s;
}

#mobile-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#mobile-nav ul li {
  position: relative;
}

#mobile-nav ul li a {
  color: #fff;
  font-size: 1.5em;
  overflow: hidden;
  padding: 10px 22px 10px 15px;
  position: relative;
  text-decoration: none;
  width: 100%;
  display: block;
  outline: none;
}

#mobile-nav ul li a:hover {
  color: #fff;
}

#mobile-nav ul li li {
  padding-left: 30px;
}

#mobile-nav ul .menu-has-children i {
  position: absolute;
  right: 0;
  z-index: 99;
  padding: 15px;
  cursor: pointer;
  color: #fff;
}

#mobile-nav ul .menu-has-children i.fa-chevron-up {
  color: #199EB8;
}

#mobile-nav ul .menu-item-active {
  color: #199EB8;
}

#mobile-body-overly {
  width: 100%;
  height: 100%;
  z-index: 997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(255, 255, 255, 0.8);
  display: none;
}

/* Mobile Nav body classes */

body.mobile-nav-active {
  overflow: hidden;
}

body.mobile-nav-active #mobile-nav {
  left: 0;
}

body.mobile-nav-active #mobile-nav-toggle {
  color: white;
}

p, li{
  font-family: 'Titillium Web', sans-serif;
  letter-spacing: 0.01em;
}
h3{
  font-family: 'Montserrat', sans-serif;
  font-weight:700;
  color:#888;
}
#promo .container-fluid{
  background-color: #ececec;
}
.border-primary {
  border-color: #888 !important;
}
.stretched-link:hover, .stretched-link:hover h3{
  text-decoration:none;
  opacity:.5 !important;
}
#promo .media-body h3{
  font-family: 'Montserrat', sans-serif;
  font-weight:700;
  font-size:1.2em;
  color:black;
}
#promo .media-body h3 span{
  font-weight:400;
  font-size:0.9em;
  text-transform: uppercase;
}
.quicklinks{
  background-color: white !important;
}
#footer{
  color:white;
  font-family: 'Titillium Web', sans-serif;
  letter-spacing: 0.03em;
  background-image: url('../img/bg_footer.jpg');
  background-size:cover;
  background-repeat: no-repeat;
  background-color:#888;
}
#footer h4{
  font-weight:bold;
  font-size:1em;
}
.media img { align-self: auto !important; }

@media (min-width: 992px) {
  #footer .logo-promo{
    text-align:right !important;
  }
  #footer .logo-promo img{
    width:300px !important;
    margin-top:0.5em;
  }
}

.showcase .showcase-text {
  padding: 3rem 4rem 3rem 4rem;
}

.showcase .showcase-img {
  min-height: 25rem;
  background-size: cover;
  background-position: center center;
}

.showcase .showcase-text p {
  max-width:90%;
}
.showcase .showcase-text span {
  color:#888;
}

.showcase-img p { position: absolute; bottom: 0px; left: 0; padding: 0 10px; font-size: 0.9em; background: rgba(256,256,256,0.8); color: #000; margin-bottom: 0; }

.configurador{
  background-image: url("../img/bg_configurador.gif");
  background-repeat: no-repeat;
  background-position:top left;
  background-size: cover;
  background-color:#888;
}
.configurador img{
  opacity:1;
  transition: all 0.3s ease 0s;
}
.configurador img:hover{
  transform: translateY(10px);
  transform: rotateZ(5deg);
  opacity:.75;
}

.configurador a:hover{
  text-decoration: none; 
}

.configurador h5{
  font-family: 'Titillium Web', sans-serif;
  letter-spacing: 0.03em;
  font-weight:bold;
}
@media (min-width: 992px) {
  .configurador .izda p,.configurador .izda h5{
    text-align:left!important;
  }
}

.hr-lobe {
  display: flex;
}
.hr-line {
width: 100%;
position: relative;
margin: 15px;
border-bottom: 1px solid #595959;
}
.hr-icon img{
  width:2rem;

}
.hr-icon {
position: relative;
top: 3px;
background-color: #888;
border-radius: 50%;
display: inline-block;
padding:0.5rem;
}
#passivhaus .bg-passiv{
  background-image: url("../img/bg_passiv.jpg");
  background-repeat: no-repeat;
  background-position:top left;
  background-size: auto;
  min-height: 30rem;
}

@media (min-width: 992px) {
  #passivhaus .bg-passiv{
    background-image: url("../img/bg_passiv_desktop.jpg");
    }
  #passivhaus h2, #passivhaus p{
    text-align:right !important;
  }
}

.btn-lobe{
  left:50%;
  transform: translateX(-50%);
  margin-top:-30px;
  z-index:10;
  border-radius:0;
  background-color:white;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease 0s;
}
.btn-lobe span{
  text-transform: uppercase;
  font-weight:700;
}
.btn-lobe:hover{
  box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.4);
  color: #fff;
  transform: translateY(-10px) translateX(-50%);
}
#passivhaus .btn-lobe:hover{
  background-color: #95be76;
}
#smarthome .btn-lobe:hover{
  background-color: #91c7ff;
}
#smarthome .bg-smart{
  background-image: url("../img/bg_smart.jpg");
  background-repeat: no-repeat;
  background-position:top right;
  background-size: auto;
  min-height: 30rem;
}
@media (min-width: 992px) {
  #smarthome .bg-smart{
    background-image: url("../img/bg_smart_desktop.jpg");
  }
}
#contacto h3 span{
  text-transform:uppercase;
  font-size:1.5rem;
  font-weight:400;
}
#contacto input{
  background-size: 1.5rem;
  background-repeat: no-repeat;
  background-position:5px 5px;
}
#contacto input#name{
  background-image: url("../img/icon_user.svg");
}
#contacto input#phone{
  background-image: url("../img/icon_phone.svg");
}
#contacto input#email{
  background-image: url("../img/icon_mail.svg");
}
#contacto input{
  text-indent:25px;
  font-family: 'Titillium Web', sans-serif;
  letter-spacing: 0.01em;
}
#contacto input.btn-submit {
  text-indent: inherit;
  font-family: 'Montserrat', sans-serif;
}
.btn-submit{
  border-radius:0;
  background-color:white;
  font-family: 'Montserrat', sans-serif;
  font-weight:700;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease 0s;
  text-transform: uppercase;
}
.btn-submit:hover{
  box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.4);
  color: #888;
  transform: translateY(-10px);
}
.help-block ul li{
  list-style: none;
}
.text-peq, .text-peq a{
  font-size:0.8rem;
  color:#ccc;
}
.btn-promo{
  background-color:#888;
  border:none;
  color:white;
}
.btn-promo:hover{
  color:#888;
  background-color:white;
  border:1px solid #888;
}
.link-normal{
  font-family: 'Titillium Web', sans-serif;
  letter-spacing: 0.01em;
  color:#595959;
  transition: all 0.3s ease 0s;
}
.link-normal:hover{
  color:#888;
  text-decoration:none;
}


/* TOOLTIP */
div.btn-plano:hover { border: none; }
.tooltip_ps { position: relative; display: inline-block; padding: 0; }
.tooltip_ps a { padding: .375rem .75rem; display: block; color: #fff; background: #7299aa; border: 1px solid #7299aa; border-radius: .25rem; }
.tooltip_ps a:hover { color: #7299aa; background: #fff; text-decoration: none; }
.tooltip_ps .tiptext_ps { visibility: hidden; width: 120px; background-color: black; color: #fff; text-align: center; border-radius: 3px;
    padding: 5px 0; position: absolute; z-index: 1; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); cursor: pointer; }
.tooltip_ps .tiptext_ps:hover { text-decoration: underline; }
.tooltip_ps .tiptext_ps::after { content: ""; position: absolute; border-width: 5px; border-style: solid; }
.tooltip_ps:hover .tiptext_ps { visibility: visible; }
.tooltip_ps.left .tiptext_ps{ top: 3px; right: 102%; font-size: 0.9em; }
.tooltip_ps.left .tiptext_ps::after{ margin-top: -5px; top: 50%; left: 100%; border-color: transparent transparent transparent #2E2E2E; }

.tooltip_ps.right .tiptext_ps{ top: 3px; left: 102%; font-size: 0.9em; }
.tooltip_ps.right .tiptext_ps::after{ margin-top: -5px; top: 50%; right: 100%; border-color: transparent #2E2E2E transparent transparent; }

@media (max-width: 576px) {
  .tooltip_ps { float: left; clear: both; }
  .tooltip_ps.left .tiptext_ps { top: 3px; left: 102%; font-size: 0.9em; }
  .tooltip_ps.left .tiptext_ps::after{ left: -8%; margin-top: -5px; top: 50%; right: 100%; border-color: transparent #2E2E2E transparent transparent;
    border-top-color: transparent; border-right-color: rgb(46, 46, 46); border-bottom-color: transparent; border-left-color: transparent; }
  .piso-tit { font-size: 1.25em; margin-bottom: 10px !important; }
}

#tipologia_id { font-weight: bold; }


/* ==================================================
  Responsive Styling
  ================================================== */
  @media (max-width: 1010px) {
    .nav-menu a { padding: 22px 14px 18px 14px; }
  }
  
  @media (max-width: 768px) {
    #header {
      height: 50px;
    }
  
    #header #logo {
      margin: 10px 0 0 0;
    }
  
    #header #logo h1 {
      padding: 2px 0;
      font-size: 26px;
    }
  
    #header #logo img {
      max-height: 30px;
    }
  
    #nav-menu-container {
      display: none;
    }
  
    #mobile-nav-toggle {
      display: inline;
    }
  }
  
  @media (max-width: 767px) {
    .block {
      padding-left: 30px;
      padding-right: 30px;
    }
  }
  
  @media (max-width: 61.9em) {
    section,
    .block,
    .cta {
      padding: 35px 0;
    }
  
    .features {
      padding-bottom: 5px;
    }
  
    p,
    .block p {
      margin: 0;
    }
  
    .hero-brand {
      margin-bottom: 35px;
    }
  
    .tagline {
      margin: 35px 0;
    }
  
    h1 {
      font-size: 32px;
      margin: 0;
    }
  
    h2,
    .tagline {
      font-size: 24px;
    }
  
    h2 {
      margin-bottom: 25px;
    }
  
    h3 {
      font-size: 1.5em;
    }
  
    .hero {
      padding: 75px 0;
    }
  
    .stats-col {
      margin-bottom: 25px;
    }
  
    .block {
      height: auto;
    }
  
    .feature-col {
      padding-bottom: 30px;
    }
  
    .portfolio-grid .card h3.card-title {
      font-size: 18px !important;
    }
  
    .portfolio-grid .card .card-text {
      font-size: 13px;
    }
  
    .team .team-over {
      padding-top: 20px;
    }
  
    .team .card .social-nav {
      margin-bottom: 15px;
      padding: 0;
    }
  
    .site-footer .social-nav {
      margin-bottom: 35px;
    }
  
    .site-footer .list-inline {
      text-align: center;
      padding-bottom: 15px;
    }
  
    .site-footer .list-inline li {
      display: inline-block;
    }
  }

  /*RECAPTCHA HIDDEN*/
  .grecaptcha-badge{
    visibility: collapse !important;  
  }
  .p-google{
    font-size:0.7em;
    color:gray;
  }

  /*GALLERY HOVER COLOR*/
  .tz-gallery .lightbox:after {
    background-color: rgba(68,73, 73, 0.7) !important;
  }


  /*HIPOTECA*/
#hipoteca .bg-hipoteca{
  background-image: url("../img/bg_hipoteca.jpg");
  background-repeat: no-repeat;
  background-position:top center;
  background-size: cover;
  background-color:white;
}
#hipoteca h2{
  font-family: 'Titillium Web', sans-serif;
  font-size:1.2em;
  font-weight:normal;
}
#hipoteca h3{
  font-family: 'Titillium Web', sans-serif;
  font-size:2em;
  font-weight:bold;
}
#hipoteca form{
  font-family: 'Montserrat', sans-serif;
}
#hipoteca label{
  font-weight: 700;
  font-size:2em;
}
#hipoteca .form-group{
  border-bottom:1px solid #e1e1df;
  margin-bottom:30px;
}
#hipoteca .custom-select { 
  background-image: url("../img/icon_form_arrow.svg"); 
  background-size:auto; 
  background-color:transparent;  
  border:0;
  width:75%;
  display:inline-block;
  font-weight:400;
  font-size:1.1em;
  text-transform: uppercase;
  color:gray; 
}
#hipoteca input{
  background-color:transparent;  
  border:0;
  width:80%;
  padding-right:70px;
  display:inline-block;
  font-weight:400;
  font-size:1.1em;
  text-transform: uppercase;
  color:gray;  
  background-size:auto;
  background-repeat:no-repeat;
  background-position: right center; 
}
@media (min-width: 767px) {
  #hipoteca .custom-select, #hipoteca input{
    font-size:1.5em;
  }
}
#hipoteca .ahorro{
  background-image: url("../img/icon_form_euro.svg");
}
#hipoteca .interes{
  background-image: url("../img/icon_form_percent.svg");
}
#hipoteca .plazo{
  background-image: url("../img/icon_form_years.svg");
}
#hipoteca .btn-primary{
  background-color: #83b2ca;
  border:0;
  border-radius:0;
  font-weight:700;
  text-transform:uppercase;
  font-size:1.5em;
}
#hipoteca .resultado{
  font-family: 'Montserrat', sans-serif;
  font-weight:700;
  font-size:2.5em;
  color:#83b2ca;
}
.btn-plano-hipoteca{
  color:#83b2ca;
  font-family: 'Titillium Web', sans-serif;
  font-size:1.2em;
  font-weight:bold;
}
.btn-plano-hipoteca img{
  width:1.2em;
  filter: invert(60%) sepia(45%) saturate(256%) hue-rotate(153deg) brightness(89%) contrast(83%);
}
.btn-plano-hipoteca:hover{
  text-decoration:none;
  color:grey;
}
.btn-plano-hipoteca:hover img{
  filter: invert(81%) sepia(1%) saturate(159%) hue-rotate(320deg) brightness(101%) contrast(94%);
}
#interesadoTipologia { font-size: 1.1em; }
#tipologia_id { font-size: 1.2em; margin-left: 10px; }
input#nombre_precio { background-image: url("../img/icon_user.svg"); }
input#email_precio { background-image: url("../img/icon_mail.svg"); }
input#telefono_precio { background-image: url("../img/icon_phone.svg"); }
#submit_precio { background: #83b2ca; border: 1px solid #83b2ca; padding: 10px 10px; font-size: 1.0em; width: 200px; }
.modal-footer { justify-content: center; }
#form_precio input { background-size: 1.5rem; background-repeat: no-repeat; background-position: 5px 5px; text-indent: 25px; font-family: 'Titillium Web', sans-serif; 
  letter-spacing: 0.01em; }
#form_precio .link-normal { text-decoration: underline; }


/* ESTILOS BANNER CONFIGURADOR */
#configurador_app { color: #fff; width:100%; background: url(../img/bg_configurador.jpg) no-repeat center center; background-size:cover; position: relative;
  top: 30px; margin-bottom: 50px; }
#configurador_app p { font-size: 1.4em; font-family: 'Titillium Web', sans-serif; }
#configurador_app img{ width:20%; min-width: 350px; }
#configurador_app .btn{ font-weight:bold; text-transform: none; padding:10px 15px; background-color: white; font-size:1.4em; color:#d41217; z-index: 10;
    border-radius:0; position:relative; top:15px; transition: all 0.3s ease 0s; -webkit-box-shadow: 2px 2px 15px 0px rgba(0,0,0,0.4);
    -moz-box-shadow: 2px 2px 15px 0px rgba(0,0,0,0.4); box-shadow: 2px 2px 15px 0px rgba(0,0,0,0.4); }
#configurador_app .btn:hover{ color:white; background-color:#d41217; top:0px; }
@media(max-width: 400px) {
  #configurador_app img{ min-width: 100%; }
}
/* FIN ESTILOS BANNER CONFIGURADOR */
/*#hipoteca .hr-lobe { margin-top: 80px !important; }*/

#modal_ubicacion .modal-lg, #modal_ubicacion .modal-xl {
    max-width: 100%;
}
#modal_ubicacion .modal-lg {
    width: 90%;
}

/* Actualizar CSS menú */
.sf-arrows .sf-with-ul::after { right: auto; }
.dropdown-toggle::after { border-top: none; border-right: none; }

@media(max-width: 1299px) {
  #header .container { max-width: 95%; }
  .nav-menu ul { left: -50px; }
}
@media(max-width: 1070px) {
  .nav-menu a { font-size: 0.9em; }
}
@media (max-width: 991px) {
    #nav-menu-container { display: none; }
    #mobile-nav-toggle { display: inline; margin: 18px 18px 0 0; }
    .hero { padding: 0; }
    #mobile-nav ul { display: block !important; background: none; border: none; }
    #mobile-nav ul.dropdown-menu { position: relative; }
    #mobile-nav li.dropdown a { padding-bottom: 3px; }
    #mobile-nav ul.dropdown-menu li a { font-size: 1.3em; padding-top: 3px; padding-bottom: 3px; }
}
@media (max-width: 768px) {
    #mobile-nav-toggle { margin: 8px 10px 0 0; }
}


/********** PLANOS **********/
#modal_planos .modal-lg, .modal-xl { max-width: 1110px; }
#tipologia_planos .card.last_card { border-bottom: 1px solid rgba(0, 0, 0, 0.125) !important; }

#tipologia_planos h5 { margin-top: 45px; margin-bottom: 15px; font-size: 1.6em; }
#tipologia_planos h5.fs_h5 { margin-top: 0px; }
#tipologia_planos .btn_precio { cursor: pointer; padding: .375rem .75rem; display: inline-block; color: #fff; font-size: 0.95em; background: #999; 
  border: 1px solid #999; border-radius: .25rem; }
#tipologia_planos .btn_precio:hover { background: #fff; border: 1px solid #999; color: #999; }
#tipologia_planos .btn_precio:hover .fa { color: #999; }
a.tooltip_ps:hover { background: #fff; text-decoration: none; }
.btn_hipoteca { font-size: 0.95em; }

.btn-success { margin-top: 0; }
.btn-success:hover { background: #fff; color: #28a745; border: 1px solid #28a745; }
.btn-success:hover .fa { color: #28a745; }

.tooltip_ps { position: relative; display: inline-block; padding: .375rem .75rem; font-size: 0.95em; margin-top: 0; border: 1px solid; 
  background: #5f91c9; border: 1px solid #5f91c9; }
.tooltip_ps { padding: .375rem .75rem; display: inline-block; color: #fff; border-radius: .25rem; }
.tooltip_ps:hover { background: #fff; color:#5f91c9; border: 1px solid #5f91c9; text-decoration: none; }

@media (max-width: 576px) {
  #tipologia_planos .btn-plano { margin-top: 5px; margin-left: 0px; width: 100%; }
  #tipologia_planos .text-right { text-align: left !important; padding: 0; }
  .col-planos-tipo div { text-align: center; }
  #tipologia_planos .btn_precio { margin-top: 5px; width: 100%; }
  .tooltip_ps { float: none; clear: both; }
}


/* AÑADIR FOLLETO */
.btn-folleto { border-radius: 8px; background: #00baab; color: #fff; font-family: 'Montserrat', sans-serif; padding: 10px 15px; font-weight: bold; 
  margin-top: 20px; display: block; width: max-content; }
.btn-folleto:hover { color: #fff; opacity:0.7; }

@media (max-width: 1650px) {
  .p-ico { margin-bottom: 50px; }
}

@media (max-width: 1250px) {
  .p-ico { margin-top: 20px !important; }
}

@media (max-width: 991px) {
  .btn-folleto { text-align: center; font-size: 1.3em; }
}
@media (max-width: 576px) {
  .btn-folleto { width: auto; }
  .p-ico { margin-bottom: 20px; }
}
@media (max-width: 400px) {
  .btn-folleto { font-size: 1.1em; }
}
@media (max-width: 360px) {
  .btn-folleto { font-size: 1.0em; }
}

@media (min-width: 992px) {
  #passivhaus .bg-passiv{
    background-image: url("../img/bg_passiv_desktop.jpg");
    }
  #passivhaus h2, #passivhaus p{
    text-align:right !important;
  }
}




@media (max-width: 576px) { 
  .showcase .showcase-text { padding: 3rem 2rem 3rem 2rem; }
  #passivhaus { padding: 0 0 35px 0; }
  #passivhaus .hr-lobe { margin-bottom: 30px !important; }
  .btn-lobe { width: 70%; }
  .col-smarthome { padding: 0 25px !important; }
  .p-incluye { font-size: 0.9em; }
  #smarthome .btn-lobe { margin-top: -80px; }
  .tz-gallery { padding: 40px 20px !important; }
}


/* HIPOTECA */
@media(max-width: 576px) {
  #hipoteca { padding-top: 0px; }
}

@media(max-width: 450px) {
  #main_hipoteca { padding: 1.0em !important; }
  #main_hipoteca h3 { font-size: 1.5em; }
  .retocado { font-size: 1.6rem; }
  #hipoteca label { font-size: 1.5em; }
  #hipoteca input { width: 78%; padding-right: 45px; padding-left: 5px; }
  #hipoteca .custom-select { padding-left: 5px; }
  #form_hipoteca .form-group img { width: 25px; }
  #hipoteca .custom-select, #hipoteca input#cuotas, #hipoteca input#interes { font-size: 0.85em; }
  #hipoteca .plazo { background-size: 43px; }
  #hipoteca .custom-select { width: 72%; font-size: 1.0em; }
}

.aviso-garaje { padding-left: 20px; padding-top: 10px; display: block; width: 100%; margin: 0; }


/*** PASSIVHAUS ***/
#passivhaus h2, #passivhaus p, #passivhaus ul { text-align: left !important; }
.col-tit-passivhaus { text-align: left !important; }
#passivhaus .bg-passiv { min-height: auto; }
@media (max-width: 1399px) {
    .col-tit-passivhaus { padding-top: 20px !important; flex: 0 0 47%; max-width: 47%;}
    .col-space-psv { flex: 0 0 1%; max-width: 1%; }
}
@media (max-width: 1250px) {
    .col-tit-passivhaus { padding-top: 0px !important; }
    .p-ico { margin-top: 10px !important; }
}
@media (max-width: 1250px) {
    .col-tit-passivhaus { padding: 0 0 0 20px !important; }
    .p-ico { padding-bottom: 20px !important; }
}
@media (max-width: 999px) {
    .col-tit-passivhaus { flex: 0 0 46%; max-width: 46%;}
}
@media (max-width: 991px) {
    .col-tit-passivhaus { flex: 0 0 98%; max-width: 98%; padding: 0 20px 0 20px !important; }
    .p-ico { margin-top: 25px !important; }
    .col-space-psv { padding: 0; }
    .col-items-center { padding: 0; margin-right: 0; margin-left: 0; }
}



/* TE LLAMAMOS */
#te-llamamos { width:435px; background: #d41217; position: fixed; bottom: 0; right: 100px; z-index: 10; color: #fff; border-top-left-radius: 20px; border-top-right-radius: 20px; 
  padding: 12px 20px 10px 0px; box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.4); opacity: 0.0; transition: all 0.6s ease 0s; }
.visible { opacity: 1.0 !important; }
#te-llamamos .col-duda { padding-right: 0; text-align: center; }
#te-llamamos .col-5, #te-llamamos .col-7 { padding: 0; text-align: center; }
#te-llamamos h2 { font-size: 1.2em; padding: .275rem 0; margin: 0; font-family: 'Titillium Web', sans-serif; font-weight: bold; }
#te-llamamos button.btn-llamamos { background: url("../img/auriculares.png") no-repeat left 10px center; border: 1px solid #fff; font-family: 'Titillium Web', sans-serif; 
  font-size: 1.2em; padding: 0 10px 0 35px; border-radius: 0; margin: 0; color: #fff; transition: all 0.5s ease 0s; }
#te-llamamos button.btn-llamamos:hover { opacity: 0.85; }
#te-llamamos .btn:focus { box-shadow: none; }

#modal-llamamos .modal-dialog { max-width: 540px; }
#modal-llamamos .modal-content { background: #d41217; color: #fff; border-radius: 1.0rem; }
#modal-llamamos .modal-header { border: 0; font-weight: bold; text-align: left; }
#modal-llamamos .modal-header h3 { font-size: 1.9em; font-weight: bold; margin-bottom: 5px; color: #fff; }
#modal-llamamos .modal-header p { font-size: 1.1em; }
#modal-llamamos .modal-body { text-align: center; padding-top: 0; padding-bottom: 30px; }
#modal-llamamos .auriculares { position: absolute; right: 20px; color: #fff; text-shadow: 0 1px 0 #000; font-size: 2rem; }
#modal-llamamos input#telefono-gratis { margin: 0 auto 10px; border-radius: 0; border: 1px solid #fff; color: #fff; padding-left: 50px; font-size: 1.5em;
  background:  url("../img/telefono.png") no-repeat left 10px center transparent; padding-top: .2rem; padding-bottom: .2rem; }
#modal-llamamos .form-control::placeholder { color: #fff; font-size: 0.75em; }
#modal-llamamos input.btn-llamamos-2 { background: #fff; color: #d41217; border-radius: 0; border: 1px solid #fff; font-family: 'Titillium Web', sans-serif; font-size: 1.4em; 
  padding: 0 10px; transition: all 0.3s ease 0s; }
#modal-llamamos input.btn-llamamos-2:hover { opacity: 0.85; }
.visibility-hide { display: none !important; }

#llamar { position: fixed; bottom: 60px; right: 20px; z-index: 999; }
#llamar a { display: block; height: 50px; width: 50px; }

#whatsapp { position: fixed; bottom: 60px; right: 80px; z-index: 999; }
#whatsapp a { display: block; height: 50px; width: 50px; }

@media(max-width: 991px) {
  #te-llamamos { right: 50px; }
}
@media(max-width: 767px) {
  #te-llamamos { right: 25px; } 
}
@media(max-width: 576px) {
  #te-llamamos { right: 0; width: 100%; border-top-left-radius: 0; border-top-right-radius: 0; padding: 6px 0px 4px 0px; }
  #te-llamamos .col-12 { text-align: center; }
  #te-llamamos button.btn-llamamos { border: 0; background: url("../img/auriculares.png") no-repeat left 20% center; display: inline-block; width: 100%; }
  .close-llamamos { position: absolute; right: 10px; color: #fff; font-size: 3em; text-shadow: 0 1px 0 #aaa; opacity: .8; line-height: 18px; }
  .close-llamamos:hover { color: #fff; opacity: 1.0; }
}
@media(max-width: 450px) {
  #modal-llamamos .modal-header h3 { font-size: 1.6em; }
  #modal-llamamos .modal-header p { padding-right: 70px; }
}

/* AJUSTES FOOTER Y PASSIVHAUS */
@media(max-width: 991px) {  
  .col-space-psv { padding: 0; }
  .bg-passiv .col-items-center { padding: 0; margin-right: 0; margin-left: 0; }
}

@media(max-width: 575px) {
  .media { text-align: center; display: block; }
  .media img { width: 80px; }
  .media-body { text-align: center; margin-top: 15px; }
  .media-body .text-left { text-align: center !important; }
  #te-llamamos .pr-0 { padding: 0; }
}

/* AJUSTES TE LLAMAMOS */
#te-llamamos { width: 315px; max-width: 200px; padding: 12px 0px 10px 0px; }
#te-llamamos .col-duda { padding-left: 0; }
.col-duda h2 a:hover { color: #ddd; }
.col-duda h2 { font-size: 1.4em; }
.tlf { font-size: 1.2em; }
#te-llamamos .fa-envelope, #te-llamamos .fa-phone { font-size: 1.8em; }

#escribir { position: fixed; bottom: 90px; right: 20px; z-index: 999; }
#llamar { position: fixed; bottom: 90px; right: 80px; z-index: 999; }
#whatsapp { position: fixed; bottom: 90px; right: 140px; z-index: 999; }

@media (max-width: 575px) {
    #te-llamamos { max-width: 100%; width: 100% !important; z-index: 9999 !important; padding: 0; }
    #te-llamamos .row { margin: auto; }
    #te-llamamos a.info { color: #fff; display: block; }
    #te-llamamos a.info:hover { opacity: 0.85; text-decoration: none; }
    .btn-llamamos { display: inline-block !important; }
    #te-llamamos button.btn-llamamos { background: none; padding: 4px 10px 4px 30px; font-size: 1.4em; width: 100%; }
    .col-duda { padding-bottom: 0 !important; }
}


/** TOOLTIP **/
.tooltip-inner { max-width: 300px; width: 280px; background-color: #d51317; color:#fff; }
/*#passivhaus .tooltip.show {opacity: 1; }*/
.bs-tooltip-auto[x-placement^=top] .arrow::before, .bs-tooltip-top .arrow::before { border-top-color: #d51317; }
.bs-tooltip-auto[x-placement^=right] .arrow::before, .bs-tooltip-right .arrow::before { border-right-color: #d51317; }
.bs-tooltip-auto[x-placement^=bottom] .arrow::before, .bs-tooltip-bottom .arrow::before { border-bottom-color: #d51317; }
.bs-tooltip-auto[x-placement^=left] .arrow::before, .bs-tooltip-left .arrow::before { border-left-color: #d51317; }

ul.iconos-passiv { padding-bottom: 30px; }
ul.iconos-passiv a { cursor: pointer; }
ul.iconos-passiv a img { height: auto; width: auto; padding: 0 0px; }
ul.iconos-passiv li { list-style: none; display: inline-block; width: 19%; }

.modal-passiv .modal-content { background: #d51317; color: #fff; }
.modal-passiv .close { opacity: 1; font-size: 2.5rem; color: #fff; text-shadow: 0 1px 0 #000; padding: .5rem .5rem; }
.modal-passiv .modal-content img { width: 95%; }
.iconos-passiv { padding-left: 0; }
.col-tit-passivhaus2 ul li { list-style: none; }
.col-tit-passivhaus2 ul li img { position: relative; top: 0px; }

.col-xl-5.col-tit-passivhaus { flex: 0 0 48%; max-width: 48%; }
.col-xl-1.col-space-psv { flex: 0 0 2%; max-width: 2%; }

@media (max-width: 991px) {
    .col-xl-5.col-tit-passivhaus {
      flex: 0 0 100%;
      max-width: 100%;
    }
}
@media (max-width: 768px) {
    
    ul.iconos-passiv li { width: 49%; padding-bottom: 30px; text-align: center; }
    ul.iconos-passiv a img { padding: 0; }
}
/* ACTUALIZACIÓN PASSIVHAUS */
.btn_popup { display: inline-block; cursor: pointer; font-family: 'Montserrat'; font-size: 0.9em; min-width: 124px; }
.btn_popup:hover { text-decoration: none; }
#video_01, #video_02, #video_03, #video_04, #video_05 { position: relative; z-index: 9999; }

.col-tit-passivhaus2 ul li { display: flex; }
.col-tit-passivhaus2 ul.iconos-passiv li { display: inline-block; }
p.loading {position: absolute; top: 50%; left: 50%; -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); }

#text-ul li img { padding-right: 0px; }
#text-ul li strong { border-bottom: 1px dotted #444; }
#text-ul p { margin-top: 9px; }
#text-ul p.p1 { margin-left: 10px; }
.ul-popup { z-index: 999; position: absolute; border-radius: 8px; background: #d51317;height: 208px;width: 360px; padding: 5px; display:inline-block; left: 0px; top: 50px; }

iframe#iframe_video { height: 495px; width: 100%; }
.btn-close { background: url("../img/cerrar.png") no-repeat center center; border: 0; cursor: pointer;
width: 51px; height: 51px; position: absolute; top: -20px; right: -20px; opacity: 1; }
#modal-video-intro.modal-lg { max-width: 900px; }
#video-passiv .modal-header { border-bottom: none; }
.iconos-passiv { transform: translatey(0px); animation: float 3s ease-in-out infinite; }
#passivhaus .bg-passiv { background-image: none !important; background-color: #ececec !important; }
.relative { position: relative; }

@keyframes float {
    0% {
        transform: translatey(0px);
    }
    50% {
        transform: translatey(-15px);
    }
    100% {
        transform: translatey(0px);
    }
}

@media (max-width: 991px) {
    #text-ul { margin-top: 20px; }
    .ul-popup { margin-top: 10px; }
    
}

@media (max-width: 768px) {
    .ul-popup { left: 0; top: 50px; }
    ul.iconos-passiv li { width: 32%; }
}
@media (max-width: 576px) {
  ul.iconos-passiv li { width: 49%; }
}
@media (max-width: 390px) {
    .ul-popup { max-width: max-content; width: 100%; }
    .video-p { width: 100%; }
}

/***************** AJUSTAR TEXTOS LEGALES *****************/
#footer p.p_legal { font-size:0.8em; max-width: 70%; margin: auto 15% 10px; }
@media (max-width: 1400px) {
  #footer p.p_legal { font-size: 0.8em; max-width: 75%; margin: auto 25% 10px 0; text-align: left; }
}

@media (max-width: 991px) {
  #footer p.p_legal { margin: auto 5% 90px; max-width: 90%; text-align:center; }
}




/******** GALERIA CON VÍDEO ********/
.btn-close { z-index: 999; }
.sp-video img { cursor:pointer; }
/*.sp-video img:hover { opacity: 0.5; }*/
.btn-close { background: url("../img/cerrar.png") no-repeat center center; width: 51px; height: 51px; 
  position: absolute; top: -20px; right: -20px; opacity: 1; }
.modal-video .modal-header { border: none !important; }  
.modal-video .modal-content { border-radius:8px !important; }
.col-video { background:#999; position:relative; }
.play-youtube { position: absolute; max-width: 33%; top: 33%; left: 33%; z-index:9; }
.img-mini-video-hover { opacity:0.4; transition: 0.4s; }
.col-video p { position: absolute; bottom: 0; left: 0; margin: 0; padding: 5px 10px 7px; width: 100%; background: rgba(0,0,0,0.7); color: #fff; text-align: center; }
.col-video p:hover { cursor:pointer; }



/***************** GRID GALERIA *****************/
#aviso-cita, #hipoteca, #passivhaus, #contacto, #footer { z-index: 1; position: relative; }
#header { position:relative; z-index: 3; }
#promo { position:relative; z-index: 2; }
#galeria { position:relative; z-index: 1; display:none; }
.grid { width: 100%; }
.element-item { width: 33%; margin: 0; padding: 2px; line-height: 1.2em; }
.element-item-titulo { width: 100%; }
.element-item-titulo h4 { font-family: 'Montserrat', sans-serif; font-size: 1.3em; }
.element-item img { width: 100%; padding:0px; }

.filters-button-group { margin: 10px auto 30px; }
.filters-button-group div { text-align:center; }
.filters-button-group div button { font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 1em; text-transform: uppercase; outline: none; }

.filters-button-group div button { background: none; border: none; border-bottom-color: currentcolor; border-bottom-style: none; 
  border-bottom-width: medium; border-bottom: 3px solid #dcdcdc; padding: 5px 25px 4px; }
.filters-button-group div button.is-checked { border-bottom: 3px solid #749FCB; }
.filters-button-group div button:hover { border-bottom: 3px solid #666; }
.filters-button-group div button.is-checked:hover { border-bottom: 3px solid #749FCB; }

@media (max-width: 576px) {
    .element-item { width: 50%; }
}



/***************** BARRA DE PROGRESO *****************/
.w3-light-grey,.w3-hover-light-grey:hover,.w3-light-gray,.w3-hover-light-gray:hover{color:#000!important;background-color:#dedede!important}
.w3-container:after,.w3-container:before,.w3-panel:after,.w3-panel:before,.w3-row:after,.w3-row:before,.w3-row-padding:after,.w3-row-padding:before,
.w3-container,.w3-panel{padding:0;}.w3-panel{margin-top:16px;margin-bottom:16px}
.w3-red,.w3-hover-red:hover{color:#fff!important;background-color:#d41217!important}
.w3-red { height:8px; }

#myBar { animation: load 1s normal forwards; }


.col-bar { max-width: 200px; display: inline-block; width: 200px; height: 20px; padding: 5px; border: 1px solid #fff;
background: transparent !important; margin: 2px 20px 0px 20px !important; }
.frase_2 { margin:0; }
.hero .btn-splash span.frase_desc { font-size:0.8em; font-weight:bold; text-transform:initial; }
.div-bar { display: flex; justify-content: center; }
.hero .btn-splash span.frase_desc { width:auto; }

.flecha_splash { display: block; }
.flecha_splash img { width: 30px; }

div.col-progress { position: relative; top:-15px; left:-10px; display:inline-block; }
div.col-progress2 { position: relative; top:-2px; left:15px; }
div.progress { display: flex; width: 80px; height: 80px; border-radius: 50%; background: conic-gradient(red var(--progress), #ccc 0deg); font-size: 0; text-indent: -9999px; }
.progress img { width: 40px; position: absolute; top: 18px;left: 20px; }
div.progress::after { content: attr(data-progress) '%'; display: flex; justify-content: center; flex-direction: column; width: 100%; margin: 10px; border-radius: 50%; background: white; font-size: 1rem; text-align: center; }
div.progress2 { display: flex; width: 60px; height: 60px; border-radius: 50%; background: conic-gradient(red var(--progress), #ccc 0deg); font-size: 1em; color: #444; }
div.progress2::after { content: attr(data-progress) '%'; display: flex; justify-content: center; flex-direction: column;
  width: 100%; margin: 10px; border-radius: 50%; background: white; font-size: 1rem; text-align: center; font-family: 'Montserrat', sans-serif; }

@media (max-width: 576px) { 
  div.col-progress { position: relative; top: auto; left: auto; }
  .div-bar { display:block; }
  .hero .btn-splash span.frase_desc { width:100%; }
  .col-bar { width: 100%; }
}




/**************** EFECTO CARRUSEL ZOOM ****************/
@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(1, 1);
  }
  to {
    -webkit-transform: scale(1.5, 1.5);
  }
}

@keyframes zoom {
  from {
    transform: scale(1, 1);
  }
  to {
    transform: scale(1.5, 1.5);
  }
}

.carousel-inner .carousel-item { -webkit-animation: zoom 10s; animation: zoom 10s; }