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


/* ==================================================
  Hero Styling
================================================== */
/* ==================================================
  Hero Styling + Slider
================================================== */
.container-menu { max-width: 1240px; }

.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.6) 80%);
  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; background-position: bottom; }
.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: 1500px) {
  .container-menu { max-width: 1340px; }

@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.5) 65%);
    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:40vh; }
}

.hero-brand { margin-top: 30px; display: inline-block; }
.hero-brand:hover { opacity:0.75; }
#logo-promo.hero-brand { margin-top: 30px; }

@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: 95% !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:330px;
  }
}
.hero h1{
  line-height: 1;
}

@media (max-width: 768px) {
  .logo-lobe { text-align: right !important; }
  .logo-lobe .hero-brand img { width: 80%; }
  .hero { min-height: auto; }
  .carousel-item { height: auto; }
  .hero .hero2::after { background-image: none; position: relative; }
  #home .align-items-start { position: relative; height: auto; padding: 20px; -ms-flex-align: center !important;
  align-items: center !important; }
  #home .align-items-end { position: relative; height: auto; background: #0d473b; padding: 20px 0; }
  .hero-brand { margin: 0; }
  .hero .btn-splash span.frase_3{ font-size: 0.4em; }
}

@media (max-width: 576px) {
  .logo-lobe { text-align: center !important; }
  .logo-lobe .hero-brand img { width: 70%; }
  .carousel-item { min-height: 270px; }
  #home .align-items-start { position: relative; padding: 10px; } 
  #home .align-items-end { padding: 5px 0; }
  .hero .btn-splash span { font-size: 0.8em; }
  .mt-2.div-bar { margin-top: 0 !important; }
}

@media (max-width: 500px) {
  .hero .btn-splash span, .hero .btn-splash span.frase_desc { font-size: 0.7em !important; }
}
@media (max-width: 400px) {
  .hero .btn-splash span, .hero .btn-splash span.frase_desc { font-size: 0.6em !important; }
}

.idioma img { border-radius: 30px; max-width: 20px; margin: 25px 5px 0 10px !important; }
.idioma img.activo { opacity: 0.6; }
.idioma img.eng { margin-left: 4px !important; }
.nav-menu .idioma a, .nav-menu .idioma div { padding: 0; margin: 0; }

  /* .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: 4px 0px 0px 0;
  }
  
  
  #header #logo img {
    padding: 0;
    margin: 0;
    height: 66px;
  }
  

/*--------------------------------------------------------------
# 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:#0d473b !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: #0d473b;
  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:#0d473b;
}
#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;
}

.quicklinks .media { text-align: left !important; }
.quicklinks .col { flex-basis: auto; max-width: 25%; width: 25% !important; }

@media (max-width: 991px) {
  .quicklinks .col { max-width: 33%; width: 33% !important; }
  .quicklinks .media { text-align: left !important; }
}

@media (max-width: 768px) {
  .quicklinks .col { max-width: 50%; width: 50% !important; }
  .quicklinks .media { text-align: left !important; }
}

@media (max-width: 576px) {
  .quicklinks .media { text-align: center !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;
}
@media (max-width: 576px) {
  #footer .row.pt-5.pb-4.mt-5{
    margin-top: 0 !important;
    padding-top: 10px !important;
  }
}
#footer h4{
  font-weight:bold;
  font-size:1em;
}

.btn-cita-previa { background: #fff; border-radius:8px; text-transform: uppercase; padding: 6px 15px; display: inline-block; color:#4b4949; 
  margin: 5px 0; font-weight:bold; font-size:1.2em; }

.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;
  }
}

.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; }

.noticia a { background:url("../img/icono-news.png") no-repeat top left; background-size: 50px; padding: 0px 0 0 70px;
  display: block; min-height: 70px; font-family: 'Montserrat', sans-serif; font-size:1.1em; font-weight:bold;
  color:#444; text-decoration:underline; }
.noticia a:hover { opacity:0.6; }

.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: #0d473b;
}
#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;
    }
  
    
    .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: #0d473b;
  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:#0d473b;
}
.btn-plano-hipoteca{
  color:#0d473b;
  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: #0d473b; border: 1px solid #0d473b; 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 */


#modal_ubicacion .modal-lg, #modal_ubicacion .modal-xl { max-width: 100%; }
#modal_ubicacion .modal-lg { width: 90%; }
#modal_ubicacion .modal-header { padding-top: 0; padding-bottom: 0; border:0 !important;  }
#modal_ubicacion .modal-body { padding-top: 0; }
#modal_ubicacion .close { font-size: 2rem; }
#map { min-height: 600px; width: 100%; }

/* 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: 100%; }
  .nav-menu ul { left: -50px; }
}
@media(max-width: 1150px) {
  .nav-menu a { padding: 22px 12px 18px 12px; font-size: 0.9em; }
}
@media(max-width: 1070px) {
  .nav-menu a { padding: 22px 10px 18px 10px; font-size: 0.8em; }
}
@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; }

    .idioma { position:absolute !important; top:0; left:20px; }
    .idioma-eng { left:60px; }
    #mobile-nav ul li.idioma a { padding:0; }
    .idioma img { border-radius: 30px; max-width: 30px; margin: 25px 5px 0 10px !important; }
    .idioma img.activo { opacity: 0.6; }
    .idioma img { margin-left: 0px !important; }

}
@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: #0d473b; border: 1px solid #0d473b; }
.tooltip_ps { padding: .375rem .75rem; display: inline-block; color: #fff; border-radius: .25rem; }
.tooltip_ps:hover { background: #fff; color:#0d473b; border: 1px solid #0d473b; text-decoration: none; }

/*.card .tooltip_ps { background: #809baa; }*/

.btn-plano-diseno { margin-top:10px; max-width: 162px; }

@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; }
  #modal_precios { padding: 0; }
}

.btn-plano3d { display: block; width: max-content; margin: 0 auto; }
.btn-plano3d img { max-height: 150px; max-width: 300px; display: block; margin: 0 auto; }
.btn-plano3d span { display: block; margin: 10px auto 0; background: #0d473b; color: #fff; padding: .375rem .75rem; border-radius: .25rem; width: max-content; }
.btn-plano3d:hover { text-decoration: none; } 
.btn-plano3d:hover img { opacity: 0.6; }
.btn-plano3d:hover span.btn { color: #0d473b !important; background: #fff !important; border-color: #0d473b; }
.btn-plano3d:hover .fa-map { color: #0d473b; }

/* 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; }

#modal_legal { font-size: 0.9em; }
#modal_legal .retocado { font-size: 1.2em; }
#modal_legal .table .tr-grey { background: #efefef; }

/*  LOGOTIPOS */
@media(max-width: 991px) {
  #logo-promo img, .hero-brand img { max-height: 100px; }
}


/*** 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; }
}

.bg_movil { background-size: contain !important; background-repeat: no-repeat; background-color: #d6d6d1; }
.bg_ajustar { background-size: contain !important; background-repeat: no-repeat; background-color: #d6d6d1; }

/* 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; }

.pide-cita { background-color: #fff; color: #D41217; text-transform: uppercase; border: 1px solid #fff; padding: 5px 20px; position: relative; display: inline-block; margin: 0 0 15px; max-width: 170px; border-radius: 8px; box-shadow: 1px 1px 5px #444; }
.pide-cita:hover { background-color: #D41217; color: #fff !important; text-decoration: none; opacity: 1 }

#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 10px; font-size: 1.4em; width: 100%; }
    .col-duda { padding-bottom: 0 !important; }
}



#formControlRange { width: 100%; position: relative; top: 5px; }
#textInput { border: none; width: 100%; font-size: 1.2em; font-weight: bold; }
.container-check .promo { font-size: 1.1em; margin-left: 5px; }
#check_2, #check_4 { width: 20px; height: 20px; position: relative; top: 2px; }
.btn-mas { cursor: pointer; }
#tipologia_p { font-size: 1.2em; }

@media (max-width: 576px) {
  .container-check { font-size: 0.8em; }
  .form-group-info { width: 100%; }
  .form-group-info span { width: 100%; }
  #preguntas { padding-bottom: 200px !important; }
}






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

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: 126px; }
.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%; }
}



/******************** Videollamada ********************/
#videollamada { position: absolute; right: 0; top: 240px; z-index: 9999; }
.col-videollamada { background: rgba(256, 256, 256, 0.8); max-width: 400px; padding: 20px 20px; display: inline-flex; border-top-left-radius: 8px;
     border-bottom-left-radius: 8px; margin: 0; }
.hero .row.col-videollamada { height: auto; }
.col-videollamada img { max-width: 50px; }
.col-videollamada h2, .col-videollamada img { display: inline-block; }
.col-videollamada h2 { color: #000; font-family: 'Montserrat', sans-serif; font-size: 1.2rem; font-weight: 700; padding-left: 10px; margin-bottom: 15px; }
.col-reserva { text-align: right; }
.col-videollamada .reserva-cita { background: #d51317; text-transform: uppercase; color: #fff; font-size: 1.2em; padding: 2px 10px; border: 0; 
    font-family: 'Montserrat', sans-serif; margin-right: 40px; }
.col-videollamada .reserva-cita:hover,
#aviso-cita .reserva-cita:hover { background: #98241a; color: #fff; }

.col-videollamada .reserva-cita.english { background: #d51317; text-transform: uppercase; color: #fff; font-size: 1.0em; padding: 2px 10px; border: 0; font-family: 'Montserrat', sans-serif; margin-right: 40px; }

#aviso-cita { background: #d51317; padding: 6px 0; height: 50px; top: 0; width: 100%; z-index: 99; }
#aviso-cita p { font-size: 1.2em; font-weight: bold; font-family: 'Montserrat', sans-serif; color: #fff; }
#aviso-cita .reserva-cita { font-weight: 400; background: #fff; text-transform: uppercase; color: #d51317; font-size: 1.2em; padding: 2px 10px; border: 0; 
     margin-left: 20px; font-family: 'Montserrat', sans-serif; }

.mt50 { margin-top: 58px !important; }

#acepto_cita { margin-right:10px; }

@media (max-width: 1500px) {    
    #videollamada { top: 160px; }
}

@media (max-width: 991px) {
    #videollamada { display: none; }
    /*#mobile-nav-toggle { margin: 68px 18px 0 0; }*/
    #aviso-cita p { font-size: 1.0em; padding-top: 4px; }
    #aviso-cita .reserva-cita { font-size: 1.0em; }
}

@media (max-width: 768px) {
    /*#mobile-nav-toggle { margin: 56px 18px 0 0; }*/
    #aviso-cita { padding: 10px 10px 0; }
    #aviso-cita p { font-size: 1.0em; padding-top: 0px; }
    #aviso-cita .reserva-cita { font-size: 1.0em; padding: 0px 5px; margin-left: 5px; }
}
@media (max-width: 477px) {
    #aviso-cita { padding-top: 0px; }
}
@media (max-width: 360px) {
    #aviso-cita p { font-size: 0.9em; }
    #aviso-cita .reserva-cita { font-size: 1.0em; }
}

#modal-cita .modal-content { border-radius: 1.5rem; }
#modal-cita .modal-title { font-size: 1.4em; line-height: auto; }
#modal-cita .modal-header img { max-width: 55px; }
#modal-cita .modal-header h3 { color: #000; }
#modal-cita .modal-header { border-bottom: 0; }
#modal-cita .form-control { display: inline-block; margin-bottom: 15px; }
#modal-cita input#telefono-cita { margin: 0 auto 10px; border-radius: 0; border: 1px solid #000; color: #000; padding-left: 50px;
font-size: 1.3em; background: url("../img/telefono_b.png") no-repeat left 10px center transparent; }
#modal-cita input#email-cita { margin: 0 auto 10px; border-radius: 0; border: 1px solid #000; color: #000; padding-left: 50px;
font-size: 1.3em; background: url("../img/email_b.png") no-repeat left 10px center transparent; }
#modal-cita input#nombre-cita { margin: 0 auto 10px; border-radius: 0; border: 1px solid #000; color: #000; padding-left: 50px;
  font-size: 1.3em; background: url("../img/nombre_b.png") no-repeat left 10px center transparent; }
#modal-cita .btn-llamamos-cita { background: #d41217; color: #fff; margin-top: 15px; font-size: 1.1em; font-family: 'Montserrat', sans-serif; 
border-radius: 0; padding: 3px 8px; margin-bottom: 10px; }
#modal-cita .btn-llamamos-cita:hover { background: #98241a; color: #fff; }


.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:#000; }
.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: 0; width: 100%; background: rgba(0,0,0,0.7); color: #fff; text-align: center; }
.col-video p:hover { cursor:pointer; }


/***************** AJUSTAR TEXTOS LEGALES *****************/
.sp-grupolobe { background: #363636; color: #fff; padding: 10px 20px; display: inline-block; font-size: 0.5em; border-radius: 8px; }
#modal_legal h1 a:hover { text-decoration: none; opacity: 0.8; }
#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% !important; }
.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 #0d473b; }
.filters-button-group div button:hover { border-bottom: 3px solid #e8d1a5; }
.filters-button-group div button.is-checked:hover { border-bottom: 3px solid #0d473b; }

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


/************ ACCESO PLATAFORMA COMERCIAL ************/
#header #logo .logo-brisa img { height: 50px; }
.plataforma { padding: 0px; display: inline-block; margin-right: 0px; }
#header #logo .plataforma img { padding: 2px 10px 2px 0; height: 46px; }
#header #logo .plataforma img:hover { opacity:0.7; }

@media (max-width: 991px) { #header #logo .plataforma img { padding: 5px 10px 5px 0; } }





/***************** 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%; }
  .flecha_splash { display: none !important; }
  .col-h1 { padding: 0 5px; }
}



/**************** NUEVO CONFIGURADOR 2024 ****************/
#configurador_app_24 { color: #fff; width:100%; background: rgb(7,192,186); padding: 0 !important;
background: linear-gradient(90deg, rgba(7,192,186,1) 0%, rgba(15,176,171,1) 50%, rgba(15,174,169,1) 100%); position: relative;
  top: 60px; margin-bottom: 30px !important; background: linear-gradient(90deg, rgb(7, 192, 186) 0%, rgb(15, 176, 171) 50%, rgb(15, 174, 169) 100%); }
#configurador_app_24 .bg-configurador { width:100%; height: 100%; position:absolute; }  
#configurador_app_24 p { font-size: 1.3em; font-family: 'Titillium Web', sans-serif; }
#configurador_app_24 img{ width:20%; min-width: 350px; }
#configurador_app_24 img.logo-casa{ width:20%; min-width: 200px; }
#configurador_app_24 .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:25px; 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); font-family: 'Montserrat', sans-serif; }
#configurador_app_24 .btn:hover{ color:white; background-color:#d41217; top:15px; }
#configurador_app_24 p.legal_configurador { font-size:0.8em; }
.logo-casa { position:absolute; left:10px; }
@media(max-width: 1300px) {
  #configurador_app_24 img.logo-casa{ width:15%; min-width: 200px; }
  #configurador_app_24 p { font-size: 1.2em; }
}
@media(max-width: 991px) {
  #configurador_app_24 .bg-configurador { position: relative; justify-content: center; margin-top: 30px; }
  #configurador_app_24 img { min-width: 240px; }
  #configurador_app_24 img.logo-casa { position: relative; left: auto; min-width: 130px; }
  #configurador_app_24 h2 { margin-top: 20px !important; }
}



/**************** 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.item-zoom { -webkit-animation: zoom 10s; animation: zoom 10s; }





/* SHOWROOM */
#visita360 .vivienda-ideal h2 { margin-top: 25px; font-family: 'Montserrat', sans-serif; }
#visita360 .claim-showroom { font-family: 'Titillium Web', sans-serif; font-size: 1.6em; padding: 0 15%; 
  font-style: italic; margin-bottom: 0px; }
.vivienda-ideal { padding-top: 0px; max-width: 1220px; }
.vivienda-ideal h2 { text-align: center; font-weight: bold; font-size: 2.5em; margin-bottom: 0; color: #d41217; }
.vivienda-ideal h3 { text-transform: uppercase; text-align: center; margin-top: 15px; font-size: 1.4em; }
.vivienda-ideal hr { margin-top: 50px; border-color: #212529; }

.btn-rojo { background: #d41217; display: inline-block; text-align: center; width: max-content; padding: 10px; 
  color: #fff; font-weight: bold; font-family: 'Montserrat', sans-serif; font-size:1.1em; }
.btn-rojo:hover { text-decoration: none; opacity: 0.7; color: #fff; }
.btn-rojo img { padding: 0 15px; }
#visita360 .claim-showroom strong { color: #d41217; font-weight: bolder; }
#visita360 .claim-showroom span, #visita360 .claim-showroom strong { color: #d41217; }
.p-advertencia { padding: 0 80px; }

@media(max-width: 1099px) {
  .btn-play img { width: 90%; }
}
@media(max-width: 991px) {
  .vivienda-ideal .col-sm-8 { padding: 0; }
  .vivienda-ideal h2 { font-size: 2.1em; }
  .vivienda-ideal h3 { padding: 0; font-size: 1.3em; }
  .btn-play img { width: 75%; }
}
@media(max-width: 767px) {
  .vivienda-mas h2 { font-size: 2.7em; }
  .vivienda-mas h3 { font-size: 1.2em; padding: 0; }
  .vivienda-videos { display: block !important; }
  .col-smart, .col-passiv { display: inline-block; text-align: center; }
  .and { display: none; }
  .en-grupo-lobe .container { margin: 0; max-width: 100%; }
  .btn-play img { width: 100%; }
}
@media(max-width: 576px) {
  .vivienda-mas { padding-top: 190px; }
  .vivienda-mas .col-1 { padding: 0; }
  .vivienda-mas p { font-size: 1.3em; }
  .vivienda-mas h2 { font-size: 2.9em; }
  .vivienda-mas h3 { font-size: 1.4em; padding: 0; }
  .vivienda-mas hr { margin-top: 35px; }
  .btn-smart, .btn-passiv { width: 250px; padding-top: 5px; padding-bottom: 5px; }
  .focus, .conocenos { text-align: center; display: block; }
  .en-grupo-lobe { margin: 15px 0 0 0 !important; }
  .en-grupo-lobe p { padding: 0; }
  .en-grupo-lobe .container { padding: 0 5px; }
  .q1 a { position: relative; top: 35px; left: 5px; }
  .q1 img { max-width: 40px; }
  .col-smart { padding-top: 40px !important; }
  .col-passiv { padding-top: 40px !important; }
}
@media(max-width: 450px) {
  .en-grupo-lobe .container { padding: 0; }
  .btn-play { transition: none; }
  .btn-play img { width: 60%; }
  .btn-play:hover img { width: 60%; }
}
@media(max-width: 400px) {
  .vivienda-mas h2 { font-size: 2.8em; }
  .vivienda-mas h3 { font-size: 1.3em; }
  .en-grupo-lobe h2 { padding: 0; font-size: 2em; }
  .construimos { font-size: 1.2em; margin: 0 0 5px; }
  .quick-news img { max-width: 35px; }
  .q1 { padding: 0 10px 0 10px; }
  .q2 { padding: 0 10px 0 5px; }
  .quick-links { padding: 10px 5px; }
  .hola, .ayuda { margin-left: 10px; margin-right: 10px; }
}
@media(max-width: 370px) {
  .vivienda-mas h2 { font-size: 2.6em; }
  .vivienda-mas h3 { font-size: 1.1em; }
}


/************ VISITA 360 ************/
#visita-360 { position: absolute; bottom:30px; left: 30px; z-index: 3; }
#visita-360 img { width:80px; }
#visita-360 a { color:#fff; opacity:0.6; display: block; }
#visita-360 a:hover { text-decoration:none; opacity:1; }
#visita-360 span { font-size: 1.1em; margin-left:5px; }


#visita-360 a { opacity:1; }
#visita-360 a:hover { opacity:0.6; }
#visita-360 span.sp_visita { text-shadow: 1px 1px 1px #000; }
.col-videollamada .reserva-cita { margin-left: 10px; width: 100%; }
#visita-360 img { width: 80px; position: relative; bottom: 10px; }
#visita-360 span.fnd_span { background: #d51317; color: #fff; padding: 0px !important; display: block; margin: 0; text-align: center; border-radius: 50px; height: 100px; width: 100px; margin-top: 8px;}
#visita-360 span strong { font-size: 1.5em; font-family: 'Montserrat', sans-serif; position: relative; top: 13px; left:5px; }

@media(max-width: 991px) {
    #visita-360 span.sp_visita { display: inline-block; width: 30%; margin: 0 35% !important; }
    #visita-360 span.fnd_span { display: inline-block; }
    #visita-360 { bottom:45%; width: 100%; text-align: center; left:auto; }
    #visita-360 a { opacity:1; }
    #visita-360 a:hover { opacity: 0,6; }
    #visita-360 span { font-size: 1.1em; margin-left: 5px; background: rgba(0,0,0,0.5); border-radius: 10px; padding: 5px; }
    .logo-promo { width: 50%; max-width: 50% !important; }
    .logo-lobe { width: 50%; max-width: 50% !important; }
    .btn-rojo { margin-top:20px; margin-bottom:10px; }
    .p-advertencia { padding:0 25px !important; }
    #visita360 .claim-showroom { font-size: 1.5em !important; padding: 0 3% !important; margin-bottom: 20px !important; }
    .col-showroom { padding: 0 !important; }
    .col-360-zgz { margin-top:40px; }
}
@media (max-width: 768px) {
    #visita360 .claim-showroom { font-size: 1.4em !important; margin-bottom: 10px !important; }
}
@media (max-width: 576px) {
    #visita360 .vivienda-ideal h2 { margin-top: 30px; font-size: 1.7em; }
    .btn-rojo { max-width:100%; padding-left:30px; padding-right:30px; }
    .flechas1, .flechas2 { display:none; }
    #visita-360 span.sp_visita { display: inline-block; width: 40%; margin: 0 30% !important; }
}
@media (max-width: 370px) {
    .btn-rojo { padding-left:15px; padding-right:15px; }
}




/* FLUID GALLERY */
.container.gallery-container { background-color: #fff; color: #35373a; min-height: 100vh; padding: 30px 50px; }
.gallery-container h1 { text-align: center; margin-top: 50px; font-family: 'Titillium Web', sans-serif; font-weight: bold; }
.gallery-container p.page-description { text-align: center; margin: 25px auto; font-size: 18px; color: #999; }
.tz-gallery { padding: 40px; }
/* Override bootstrap column paddings */
.tz-gallery .row > div { padding: 2px; }
.tz-gallery .lightbox img { width: 100%; border-radius: 0; position: relative; }
.tz-gallery .lightbox:before { position: absolute; top: 50%; left: 50%; margin-top: -13px; margin-left: -13px; opacity: 0; color: #fff; font-size: 26px; font-family: "FontAwesome"; content: "\f002"; pointer-events: none; z-index: 9000; transition: 0.4s; }
.tz-gallery .lightbox:after { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; background-color: rgba(46, 132, 206, 0.7); content: ''; transition: 0.4s; }
.tz-gallery .lightbox:hover:after,
.tz-gallery .lightbox:hover:before { opacity: 1; }
.baguetteBox-button { background-color: transparent !important; }

@media(max-width: 768px) {
    body { padding: 0; }
}