@font-face {
  font-family: 'fontello';
  src: url('../fonts/fontello.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}


html, body {
  background-color: #F7F9FA;
  font-family: Helvetica,sans-serif!important;
  font-size: 16px;
  font-weight: normal;
  font-style: normal;
  color: #8d8d8d;
  overflow-x: hidden;
  line-height: 1.8;
  scroll-behavior: smooth;
}

header {
    height: auto;
    position: relative;
    z-index: 100;
    background-color: #9F1319;
    }
.logo {
    background-color: #9F1319;
    text-align: center;
}
.logo img {
  width: 9rem;
}  

.call-to-action a {
  color: white;
  line-height: 48px;
  margin-right: 0.5rem;
}

.datos_contacto_head {
  line-height: 66px;
  font-size: 18px;
    font-weight: bold;
}


nav ul a {
  font-size: 14px;
  text-transform: uppercase!important;
  color: #ffffff !important;
  font-weight: bold;
}
nav ul a:hover {
  color:#30618f;
}
nav.wsmenu ul li::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: #ffffff;
    -webkit-transition: width .3s;
    transition: width .3s;
}
nav.wsmenu ul li:hover::after {
    width: 100%;
}
nav.wsmenu ul li a:hover {
color:#025aad;
}
.wsmenu>.wsmenu-list>li>ul.sub-menu {
  background-color: #9F1319;
  border:0;
}
.wsmenu>.wsmenu-list>li>ul.sub-menu li::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: #ffffff;
    -webkit-transition: width .3s;
    transition: width .3s;
}
.wsmenu>.wsmenu-list>li>ul.sub-menu li:hover::after {
    width: 100%;
}
.wsmenu>.wsmenu-list>li>ul.sub-menu:hover {
 background-color: #9F1319;
}
.sub-menu li a {
  color: #ffffff!important;
}
span.smllogo {
  margin-top: 0!important;
}
.wsmobileheader {
  background-color: #9F1319;
}
.wsanimated-arrow span, .wsanimated-arrow span:after, .wsanimated-arrow span:before {
  background-color: #ffffff;
}

  .scroll {
    -ms-overflow-style: scrollbar ;
  }
  

a {
  color:#9f1319;
  overflow-wrap:break-word;
}

a:hover {
  color:#8b0e14;
}

h1 {
  font-size: 35px;
  color: #484848;
}

h2 {
font-size: 18px;
color: #484848;
line-height: 1.2;
font-family: Lato, sans-serif!important;
letter-spacing: -1px;
}


h3 {
  font-size: 18px;
}

h4 {
  font-size: 18px;
  color:#595959;
}

ul {
  padding-left: 2rem;
}

table {
  border:1px solid #e6e6e6;
}
td {
  padding: 0.5rem;
}
tr:nth-child(even) {
  background-color: #f2f2f2;
}

/*helper clases */

.wp-block-column ul li {
list-style-type: none;
}
.wp-block-column ul li:before {
 content: "\e805"; 
 font-family: 'fontello';
 margin-right: 0.5rem;
 color:#9F1319;
 font-size: 12px;
vertical-align: middle;
}

/* hover effect */
figure.hov {
  position: relative;
  overflow: hidden;
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  width: 100%;
}
figure.hov * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
}
figure.hov img {
  opacity: 0.9;
  width: 100%;
  height: 100%;
}
figure.hov img:hover {
  opacity: 0.8;
}
figure.hov:hover {
  outline: 2px solid white;
  outline-offset: -14px;
}
figure.hov:after {
  width: 0;
  height: 6px;
  position: absolute;
  left: 0;
  top: 0;
  content: '';
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
figure.hov figcaption {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  padding: 0 30px;
  z-index: 1;
  font-size: 36px;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
figure.hov figcaption.project_preview {
  top:20%;
}
figure.hov figcaption.project_preview h3 {
  font-size: 26px;
  line-height: 1;
  color:white;
}

figure.hov figcaption h3 a:hover {
  color:white;
}

figure.hov a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

figure.hov:hover img,
figure.hov:hover img {
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -o-transform: scale(1.2);
  transform: scale(1.2);
color:white;
}
figure.hov:hover:after,
figure.hov:hover:after {
  width: 100%;
  }



/* animacion imágen */


input, textarea {
  color:#333333;
}


select {
  display: block;
}
/*formulario de contacto*/

input, select, textarea {
  width: 100%!important;
  padding: 0.3rem;
  border: 0!important;
  }
  
  form span {
  margin-bottom: 1rem;
  display: block;
  }
 
 .wpcf7-form-control-wrap.your-message, textarea {
    width: 98.5%;
  }
  input#searchsubmit {
    background-color: #2a7bc6;
    border:0;
    color: white;
  }
  span.wpcf7-not-valid-tip {
  color: red;
  text-align: left;
  margin-bottom: 0;
  font-size: 11px;
  }
  div.wpcf7-mail-sent-ng, div.wpcf7-aborted {
  border: 0;
  clear: both;
  color: blue;
  line-height: 1;
  font-size: 12px;
  text-align: left;
  margin-top: 1rem; 
  }
  div.wpcf7-response-output {
  margin: 1rem 0 0 0;
  padding: 0;
  border: 0;
  }
  .form {
    margin-top: 2rem;
  }
  ::placeholder {
  color:#444;
  padding-left: 0.3rem;
}

/*formulario de registro*/

.um-left.um-half input[type=submit].um-button, .um input[type=submit].um-button:focus {
background-color: #9f1319!important;
}

/*formulario de contacto*/
/*form search*/
input:-webkit-autofill, textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}


/* listing template */

.listings-template h1 {
    font-size: 24px;
    color: #484848;
}

.listings-template h2 {
    font-size: 15px;
    color: #484848;
    letter-spacing: 0.5px;
    font-weight: bold;
    text-transform: uppercase;
}

.list_detail {
 margin: 2rem 0;
 }

 .list_detail p {
 text-align: justify;
 font-size: 14px;
line-height: 1.5rem;
 }

 .list_left {
  padding-left: 0;
 }
 .list_detail ul li span {
 color:#a0a3af;
 }

 .precio {
  color: #484848;
  font-weight: bold;
  font-size: 34px;
  margin: 2rem 0;
 }

.listings-template .swiper-slide img {
      height: 220px;
      }

.wrapper_contact_listing {
    margin: 1rem;
    border: 1px solid #e0e0e0;
    padding: 1rem;
}
.amail_listing_detail p {
display: inline-block;
}

.icon-email:before {
  font-size: 46px;
  color: #9F1319;
  display: inline-block;
}
.icon-share-2:before {
  font-size: 39px;
  color: #9F1319;
  display: inline-block;
}
.share_listing_detail p {
    display: inline-block;
    width: 69%;
}
h2.get_contact {
  text-transform: inherit;
  font-size: 24px;
  letter-spacing: 0;
}
.cero {
  padding: 0;
}
ul.nav.nav-pills li.active a {
  color: #9f1319;
  padding-right: 5px;
}

/* all properties */
.list_view .swiper-slide img, .tag .swiper-slide img {
  height: 100%!important;
}
.list_detail_preview {
  margin-bottom: 1rem;
}
.list_detail_preview p {
  line-height: 22px;
}
.grid_detail_preview {
  margin-bottom: 1rem;
}
.grid_detail_preview .carrusel {
position: relative;
}
.grid_detail_preview .detail {
position: absolute;
bottom: 0;
z-index: 19;
padding: 1rem;
color:#ffffff;
}
.grid_detail_preview .detail_price {
font-size: 24px;
}
.grid_detail_preview .swiper-slide {
background-color: #000000;
}
.grid_detail_preview .swiper-slide img {
opacity: 0.7;
}
.grid_detail_preview p {
line-height: 20px;
margin-top: 0.5rem;
}
.grid_detail_preview p a {
color:#ffffff;
}
.grid_detail_preview .swiper-button-next, .swiper-button-prev {
background-color: rgba(0, 0, 0, 0.1);
}
.swiper-pagination-fraction {
color: #fff;
text-align: right;
padding-right: 15px;
font-size: 12px;
}
a.disable {
color:#8b93a7;
}
.tab-pane head {
display: flex;
}
.list_detail_preview:hover {
  background-color: #f0f0f0;
}

ul.nav.nav-pills {
margin-bottom: 1rem;
}

/* lightbox */
.lightbox .lb-image {
  border-radius: 0!important;
  border: 0!important;
}

/* formulario de contacto */
div.wpcf7 {
  padding: 1rem;
  margin: 1rem 0;
  background-color: #F5F5F5;
  }
  div.wpcf7 input[type="submit"] {
  color: white;
  width: 105px!important;
  margin: 0 auto;
  text-align: center;
  text-transform: uppercase;
  font-weight: 100;
  background-color: #9F1319!important;
  float: left;
  border-radius: 6px;
  }
  div.wpcf7 input[type="submit"]:hover {
    background-color: #890f15 !important;
  }
  textarea {
  height: 90px;
  border-radius: 2px;
  }
  select {
    color: #333333;
  }
  iframe {
    width: 100%;
  }
  #contacto input[type='submit'] { 
  margin-top: 1rem;
  }
  div.wpcf7-validation-errors,div.wpcf7-mail-sent-ok {
    color: #2525a0;
    padding: 0;
    border: 0;
    line-height: 1;
    font-size: 14px;
    text-align: left;
    clear: both;
    margin-top: 1rem;
  }
  label {
    color:#6f6f85;
  }
  

footer {
 font-size: 14px;
 background-color: #9F1319;
 color: #ffffff;
 padding: 4rem 0;
  }
  footer a {
    font-size: 14px;
    text-decoration: none;
  }
  footer a:hover {
    text-decoration: underline;
  }
  footer i:before {
  color: #9F1319;
  }
  footer h4 {
    margin-bottom: 1rem;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 400;
    display: inline-block;
  }
  footer .head_contact {
    width: 100%;
  }
  
  footer .icon-facebook:before {
  color:#ffffff;
  }
  .divider {
    width: 100%;
    height: 2px;
    background-color: #89181d;
    margin: 2rem 0;
    box-shadow: 0 1px #b04444;
  }
  .pie {
    padding: 0 0 2rem;
  }
  footer i:before {
 color:#ffffff;
  }
  
  
/*animation*/
@-webkit-keyframes scroll{
  100%{
    background-position:0px -3000px;
  }
}

@-moz-keyframes scroll{
  100%{
    background-position:0px -3000px;
  }
}

@-o-keyframes scroll{
  100%{
    background-position:0px -3000px;
  }
}

@-ms-keyframes scroll{
  100%{
    background-position:0px -3000px;
  }
}

@keyframes scroll{
  100%{
    background-position:0px -3000px;
  }
}
 
select {
    background:#fff url(../../img/expand-icon.png) right no-repeat;
    -webkit-border-radius:2px;
    -moz-border-radius:2px;
    border-radius:2px;
}

select:focus {
    outline:none;
    box-shadow:0 0 10px rgba(0, 0, 0, 0.3), inset 0 0 7px rgba(100,100,100,0.3);
    border-color:#00c0f3;
}
select ::-ms-expand {
 display:none;
}
select:after{
    content:"";
    position:absolute;
    z-index:2;
    right:8px;
    top:50%;
    margin-top:-3px;
    height:0;
    width:0;
    border-top:6px solid #f99300;
    border-left:6px solid transparent;
    border-right:6px solid transparent;
    pointer-events:none;
}

/*formulario search home*/
input, select, textarea {
   -webkit-appearance:none;
    -moz-appearance:none;
    -ms-appearance:none;
    appearance:none;
  }


/*fontello*/
[class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
 
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.icon-phone:before { content: '\e800'; } 
.icon-mail:before { content: '\e801'; } 
.icon-share:before { content: '\e802'; } 
.icon-heart:before { content: '\e803'; } 
.icon-heart-empty:before { content: '\e804'; } 
.icon-right-small:before { content: '\e805'; } 
.icon-tag:before { content: '\e806'; } 
.icon-chat:before { content: '\e807'; } 
.icon-star:before { content: '\e808'; } 
.icon-location:before { content: '\e809'; } 
.icon-calendar:before { content: '\e80a'; } 
.icon-search:before { content: '\e80b'; } 
.icon-user:before { content: '\e80c'; } 
.icon-plus:before { content: '\e80d'; } 
.icon-download:before { content: '\e80e'; } 
.icon-download-1:before { content: '\e80f'; } 
.icon-share-2:before { content: '\e81a'; } 
.icon-download-2:before { content: '\e81b'; } 
.icon-picture:before { content: '\e810'; } 
.icon-share-1:before { content: '\e811'; } 
.icon-th-list:before { content: '\e812'; } 
.icon-th:before { content: '\e813'; } 
.icon-ok:before { content: '\e814'; } 
.icon-clock-alt:before { content: '\e815'; } 
.icon-cancel:before { content: '\e816'; } 
.icon-eye:before { content: '\e817'; } 
.icon-phone-1:before { content: '\e818'; } 
.icon-email:before { content: '\e819'; } 
.icon-info-circled-alt:before { content: '\f086'; } 
.icon-link-ext:before { content: '\f08e'; } 
.icon-angle-right:before { content: '\f105'; } 
.icon-youtube:before { content: '\f167'; } 
.icon-instagram:before { content: '\f16d'; } 
.icon-file-pdf:before { content: '\f1c1'; } 
.icon-whatsapp:before { content: '\f232'; } 
.icon-facebook:before { content: '\f30c'; } 

/* right bounce */
@-webkit-keyframes bounceRight {
  0%,
  20%,
  50%,
  80%,
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  40% {
    -webkit-transform: translateX(-30px);
    transform: translateX(-30px);
  }
  60% {
    -webkit-transform: translateX(-15px);
    transform: translateX(-15px);
  }
}
@-moz-keyframes bounceRight {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(-30px);
  }
  60% {
    transform: translateX(-15px);
  }
}
@keyframes bounceRight {
  0%,
  20%,
  50%,
  80%,
  100% {
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
  40% {
    -ms-transform: translateX(-30px);
    transform: translateX(-30px);
  }
  60% {
    -ms-transform: translateX(-15px);
    transform: translateX(-15px);
  }
}
/* /right bounce */
/* assign bounce */
.icon-right-small:before  {
  -webkit-animation: bounceRight 2s infinite;
  animation: bounceRight 2s infinite;
}


/* medias queries */


@media only screen and (min-width: 800px) {
 
 label.mensaje {
    display: block;
    width: 99%;
  }
  label.double {
    width: 49%;
    margin-right: 8px;
  }
  .grid_detail_preview {
    margin-bottom: 2rem;
  }
  .list_detail_preview p {
  padding-top: 3rem;
}


}



@media only screen and (max-width: 320px) {
 body {
  font-size: 13px;
 }
 
 
}



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

h1, h2 {
  font-size: 30px;
}

h3, h4 {
  font-size: 16px;
}


}


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

header {
  margin-bottom: 52px;
}

div.wpcf7 input[type="submit"] {
  padding: 0.5rem;
}

div.wpcf7 {
  padding: 0;
}

.logo {
  display: none;
}
.text-right {
  text-align: center;
}
.tab-pane .head {
  display: none;
}
.top-link {
  margin-top: 0.5rem;
}
.list_detail_preview {
  margin-bottom: 1rem;
  background-color: #f5f5f5;
}
.list_detail_preview p {
  margin-bottom: 0.5rem;
}
.list_view .swiper-button-next, .swiper-button-prev {
  display: none;
}

}

@media only screen and (min-width: 1024px) {
 
.wsmenu {
  margin-top: 1rem;
}

.wp-block-cover .wp-block-cover__inner-container, .wp-block-cover-image .wp-block-cover__inner-container {
  width: 60%;
}

}


@media only screen and (min-width: 1600px) {


}
.wp-block-image img {
  height: auto;
}

.mySwiper-detail .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer; /* Indica que es clickeable */
}
 
.swiper {
        width: 100%;
        height: 100%;
      }
      .swiper-container {
        margin: 0.3rem 0;
      }

      .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #9F1319;

        
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
      }

      .swiper-slide img {
        display: block;
        width: 100%;
        height: 350px;
        object-fit: cover;
      }

      .swiper-button-next, .swiper-button-prev {
        color:#f8f9fa;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 1.5rem;
      }

      .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 25px;
      }


      .terreno .detail_bb {
        display: none;
      }


.lightbox-link {
  width: 100%;
}

td #swiper-container {
  max-width: 122px;
  overflow: hidden;
}

.property_type_h a {
  padding: 0;
}

.addtoany_share_save_container.addtoany_content.addtoany_content_bottom {
  display: none!important;
}




