/*!
 * Start Bootstrap - Stylish Portfolio v5.0.4 (https://startbootstrap.com/template-overviews/stylish-portfolio)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-stylish-portfolio/blob/master/LICENSE)
 */

body,
html {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Open Sans', sans-serif;
}

.btn-xl {
  padding: 1.25rem 2.5rem;
}

.content-section {
  /*
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
  */
}

.content-section-heading h2 {
  font-size: 3rem;
}

.content-section-heading h3 {
  font-size: 1rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

.text-faded {
  color: rgba(255, 255, 255, 0.7);
}

/* Map */
.map {
  height: 30rem;
  /*min-height: 700px!important;*/
  max-height: 1000px !important;
}
.map.desktop {
    display: block !important;
}
.map.tablet {
  display: none !important;
}
.map.mobile {
  display: none !important;
}
/*
@media (max-width: 992px) {
  .map {
    height: 75%;
  }
}
*/

.map.desktop .container {
  width: 1024px !important;
}
.map.tablet .container {
  width: 768px !important;
}
.map.mobile .container {
  width: 350px !important;
}

.map iframe {
  pointer-events: none;
}

.scroll-to-top {
  position: fixed;
  right: 15px;
  bottom: 15px;
  display: none;
  width: 50px;
  height: 50px;
  text-align: center;
  color: white;
  background: rgba(52, 58, 64, 0.5);
  line-height: 45px;
}

.scroll-to-top:focus, .scroll-to-top:hover {
  color: white;
}

.scroll-to-top:hover {
  background: #343a40;
}

.scroll-to-top i {
  font-weight: 800;
}


.container {
  width: 100% !important;
}

.masthead {
  position: relative;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  z-index: 999;
  margin-bottom: 7px;
}
/*
.masthead2 img, .masthead2 a {
  height: calc(100% - 100px) !important;
}
*/
.masthead .block-green {
  width: 100%;
  background-color: #d4d756;
  position: absolute;
  bottom: 0px;
  height: 66px;
  z-index: 1;
}
.masthead .container {
  background: url("../img/header.jpg");
  background-repeat: no-repeat;
  background-size: contain;
  height: 150px;
  z-index: 9;
}
.masthead .cucarda {
  background: url("../img/cucarda.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 150px;
  height: 150px;
  position: absolute;
  right: 20%;
  bottom: -40px;
  z-index: 9999;
}

.masthead h1 {
  font-size: 4rem;
  margin: 0;
  padding: 0;
}
/*
.masthead {
  position: relative;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  z-index: 999;
  margin-bottom: 7px;
}
.masthead .block-green {
  width: 100%;
  background-color: #d4d756;
  position: absolute;
  bottom: 0px;
  height: 99px;
  z-index: 1;
}
.masthead .container {
  background: url("../img/header.jpg");
  background-repeat: no-repeat;
  background-size: contain;
  height: 224px;
  z-index: 9;
}
.masthead .cucarda {
  background: url("../img/cucarda.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 200px;
  height: 200px;
  position: absolute;
  right: 20%;
  bottom: -40px;
  z-index: 9999;
}

.masthead h1 {
  font-size: 4rem;
  margin: 0;
  padding: 0;
}
*/

.masthead2 {
  position: relative;
  display: table;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.masthead h1 {
  font-size: 4rem;
  margin: 0;
  padding: 0;
}

.sostenible {
  position: relative;
  display: table;
  width: 100%;
  margin: 0 auto;
}
.sostenible .container {
  max-width: 100%;
}

.sostenible h2 {
  font-size: 35px;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: bold;
  text-align: center;
  color: #18563e;
  padding: 0 90px;
  width: 70%;
  margin: 0 auto;
  padding-top: 50px;
}
.sostenible .texto {
  font-size: 20px;
  text-align: justify;
  padding: 0 90px;
  width: 70%;
  margin: 0 auto;
  padding-top: 40px;
}
.sostenible .boton {
  background: url("../img/boton-ver-mas.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 150px;
  height: 44px;
  display: block;
  text-indent: -500px;
  overflow: hidden;
  margin: 0 auto;
}
#portfolio .boton {
  background: url("../img/boton-ver-videos.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 215px;
  height: 44px;
  display: block;
  text-indent: -500px;
  overflow: hidden;
  margin: 0 auto;
  margin-top: 20px;
}
img.map, map area{
    outline: none;
}

#contact .container {
  padding: 0px !important;
}



.footer .container {
  background: url("../img/footer.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 170px;
}
.footer-ficha .container {
  background: url("../img/footer-ficha.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 340px;
}
.footer .container p, .footer .container p a {
  color: #185640 !important;
}
.footer .container p{
  padding-top: 160px;
}
.footer-ficha .container p {
  padding-top: 340px;
}

  #content-slideshow {
    width: 100%;
    margin: 0 auto;
  }

    .content-slide a, .content-slide a:hover {
      width: 100%;
      height: 422px;
      text-decoration: none;
      display: block;
      background-color: #185640;
      opacity: 0.8;
    }
    .slider {
        width: 100%;
        margin: 100px auto;
    }

    .slick-slide {
      margin: 0px 5px;
      width: 640px;
      min-height: 422px !important;
    }

    .slick-slide img {
      width: 100%;
      position: absolute;
    }

    .variable .slick-prev, .variable .slick-next {
      background: url("../img/boton-slide.png");
      background-position: center center;
      background-repeat: no-repeat;
      background-size: cover;
      width: 50px;
      height: 50px;
      z-index: 9999;
    }
    .variable .slick-prev:hover, .variable .slick-prev:focus, .variable .slick-next:hover, .variable .slick-next:focus {
      opacity: 0.7;
      background: url("../img/boton-slide.png");
      background-position: center center;
      background-repeat: no-repeat;
      background-size: cover;
      width: 50px;
      height: 50px;
      z-index: 9999;
    }
    .variable .slick-prev {
      left: 10px;
    }
    .variable .slick-next {
      right: 10px;
    }

    .variable .slick-prev {
      -webkit-transform: rotate(180deg);     /* Chrome and other webkit browsers */
      -moz-transform: rotate(180deg);        /* FF */
      -o-transform: rotate(180deg);          /* Opera */
      -ms-transform: rotate(180deg);         /* IE9 */
      transform: rotate(180deg); 
    }

    .slick-prev:before,
    .slick-next:before {
      /* color: black; */
      display: none;
    }


    .slick-slide {
      transition: all ease-in-out .3s;
      opacity: 1;
    }
    
    .slick-active {
      opacity: 1;
    }

    .slick-current {
      opacity: 1;
    }

    .slick-dots {
      bottom: -35px !important;
    }
    .slick-dots li button:before {
      width: 15px !important;
      height: 15px !important;
      content: '' !important;
      opacity: 1 !important;
      color: #185640 !important;
      background-color: #185640 !important;
      border-radius: 12px;
    }
    .slick-dots li.slick-active {
      opacity: 1 !important;
    }
    .slick-dots li.slick-active button:before {
      opacity: 1 !important;
      color: #d2d655 !important;
      background-color: #d2d655 !important;
    }
    

    .content-slide span.caption {
      font-family: 'Josefin Sans', sans-serif;
      font-size: 35px;
      width: 95%;
      padding: 10% 10% 5% 10%;
      color: #FFFFFF;
      display: block;
      line-height: 40px;
      text-transform: uppercase;
    }
    .content-slide span.lugar {
      font-family: 'Josefin Sans', sans-serif;
      font-size: 35px;
      width: 90%;
      padding: 0 10%;
      color: #d2d655;
      display: block;
      line-height: 40px;
      text-transform: uppercase;
    }







/* Side Menu */
#sidebar-wrapper {
  position: fixed;
  z-index: 2;
  right: 0;
  width: 250px;
  height: 100%;
  -webkit-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
  -webkit-transform: translateX(250px);
  transform: translateX(250px);
  background: #1D809F;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav {
  position: absolute;
  top: 0;
  width: 250px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-nav li.sidebar-nav-item a {
  display: block;
  text-decoration: none;
  color: #fff;
  padding: 15px;
}

.sidebar-nav li a:hover {
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
  text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
  font-size: 1.2rem;
  background: rgba(52, 58, 64, 0.1);
  height: 80px;
  line-height: 50px;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 15px;
}

.sidebar-nav > .sidebar-brand a {
  color: #fff;
}

.sidebar-nav > .sidebar-brand a:hover {
  color: #fff;
  background: none;
}

#sidebar-wrapper.active {
  right: 250px;
  width: 250px;
  -webkit-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
}

.menu-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  width: 50px;
  height: 50px;
  text-align: center;
  color: #fff;
  background: rgba(52, 58, 64, 0.5);
  line-height: 50px;
  z-index: 999;
}

.menu-toggle:focus, .menu-toggle:hover {
  color: #fff;
}

.menu-toggle:hover {
  background: #343a40;
}

.service-icon {
  background-color: #fff;
  color: #1D809F;
  height: 7rem;
  width: 7rem;
  display: block;
  line-height: 7.5rem;
  font-size: 2.25rem;
  -webkit-box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.callout {
  padding: 15rem 0;
  background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0.1)), to(rgba(255, 255, 255, 0.1))), url("../img/bg-callout.jpg");
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), url("../img/bg-callout.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.callout h2 {
  font-size: 3.5rem;
  font-weight: 700;
  display: block;
  max-width: 30rem;
}

#portfolio .container {
  padding: 0px !important;
  max-width: 100%;
}
#portfolio .container .row {
  margin: 0px !important;
}

#portfolio .container .right .portfolio-item {
  float: right;
}

.portfolio-item {
  display: block;
  position: relative;
  overflow: hidden;
  max-width: 530px;
  width: 100%;
  margin-bottom: 0rem;
}

.portfolio-item .caption {
  display: none;
  /*
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  */
  height: 100%;
  width: 100%;
  background-color: rgba(33, 37, 41, 0.2);
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
}

.portfolio-item .caption .caption-content {
  color: #fff;
  margin: auto 2rem 2rem;
}

.portfolio-item .caption .caption-content h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.portfolio-item .caption .caption-content p {
  font-weight: 300;
  font-size: 1.2rem;
}

@media (min-width: 992px) {
  .portfolio-item {
    max-width: none;
  }
  .portfolio-item .caption {
    -webkit-transition: -webkit-clip-path 0.25s ease-out, background-color 0.7s;
    -webkit-clip-path: inset(0px);
    clip-path: inset(0px);
  }
  .portfolio-item .caption .caption-content {
    -webkit-transition: opacity 0.25s;
    transition: opacity 0.25s;
    margin-left: 5rem;
    margin-right: 5rem;
    margin-bottom: 5rem;
  }
  .portfolio-item img {
    -webkit-transition: -webkit-clip-path 0.25s ease-out;
    -webkit-clip-path: inset(-1px);
    clip-path: inset(-1px);
  }
  .portfolio-item:hover img {
    -webkit-clip-path: inset(0.2rem);
    clip-path: inset(0.2rem);
  }
  .portfolio-item:hover .caption {
    background-color: rgba(29, 128, 159, 0.9);
    -webkit-clip-path: inset(2rem);
    clip-path: inset(2rem);
  }
}

footer.footer {
  padding-top: 0.5rem;
  padding-bottom: 5rem;
}

footer.footer .social-link {
  display: block;
  height: 4rem;
  width: 4rem;
  line-height: 4.3rem;
  font-size: 1.5rem;
  background-color: #1D809F;
  -webkit-transition: background-color 0.15s ease-in-out;
  transition: background-color 0.15s ease-in-out;
  -webkit-box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
}

footer.footer .social-link:hover {
  background-color: #155d74;
  text-decoration: none;
}

a {
  color: #1D809F;
}

a:hover, a:focus, a:active {
  color: #155d74;
}

.btn-primary {
  background-color: #1D809F !important;
  border-color: #1D809F !important;
  color: #fff !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: #155d74 !important;
  border-color: #155d74 !important;
}

.btn-secondary {
  background-color: #ecb807 !important;
  border-color: #ecb807 !important;
  color: #fff !important;
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
  background-color: #ba9106 !important;
  border-color: #ba9106 !important;
}

.btn-dark {
  color: #fff !important;
}

.btn {
  -webkit-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.1);
  font-weight: 700;
}

.bg-primary {
  background-color: #1D809F !important;
}

.text-primary {
  color: #1D809F !important;
}

.text-secondary {
  color: #ecb807 !important;
}



body.body-ficha .mobile {
  display: none !important;
}
body.body-ficha #portfolio .container {
  max-width: 80%;
}

body.body-ficha .info  {
  padding-top: 1.5rem;
}
body.body-ficha .info .titulo {
  color: #185640;
  display: block;
  float: none;
  clear: both;
  min-height: 80px;
  text-transform: uppercase;
}
body.body-ficha .info .titulo .name {
  font-family: 'Josefin Sans', sans-serif;
  width: 55%;
  float: left;
  font-weight: bold;
  margin: 10px 20px 0 0;
  line-height: 1rem;
}
body.body-ficha .info .titulo .icon {
  background: url('../img/icon-lugar.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 30px;
  height: 54px;
  float: left;
}
body.body-ficha .info .lugar {
  font-family: 'Josefin Sans', sans-serif;
  color: #d2d655;
  text-transform: uppercase;
  font-weight: bold;
}

body.body-ficha .info .listado {
  list-style: none;
  padding: 0px;
  padding-top: 1rem;
}
body.body-ficha .info .listado li {
  display: block;
  float: none;
  clear: both;
}
body.body-ficha .info .listado p {
  color: #a2a297;
  font-size: 0.9rem;
  float: left;
  width: 90%;
  padding-left: 1rem;
}
body.body-ficha .info .listado p strong {
  display: block;
  color: #185640;
}

body.body-ficha .info .listado .icon {
  width: 35px;
  height: 35px;
  float: left;
}

body.body-ficha .info .listado .icon.icon-casa {
  background: url('../img/icon-casa.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}
body.body-ficha .info .listado .icon.icon-olivar {
  background: url('../img/icon-olivar.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}
body.body-ficha .info .listado .icon.icon-accion {
  background: url('../img/icon-accion.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}






/* Mobile Lucas hasta 992 */
@media (max-width: 992px) {
  .container {
    width: 100%;
    max-width: 100%;
  }

  .masthead2 {
    min-height: 0rem;
    position: relative;
    width: 100%;
    height: 454px;
    margin: 0 auto;
    margin-bottom: 0rem;
  }

  .masthead .cucarda {
    right: 1%;
  }

  .sostenible {
    min-height: 30rem;
    position: relative;
    display: table;
    width: 100%;
    height: 800px;
    margin: 0 auto;
  }
  .sostenible h2 {
    padding: 50px 0 0 0;
    width: 100%;
  }

  .sostenible .texto {
    margin-top: 250px;
    font-size: 20px;
    text-align: justify;
    padding: 0 90px;
  }
  .sostenible .boton {
    background: url("../img/boton-ver-mas.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 150px;
    height: 44px;
    display: block;
    text-indent: -500px;
    overflow: hidden;
    margin: 0 auto;
  }

  .portfolio-item {
    width: 100%;
    max-width: 100%;
  }


  img.map, map area{
      outline: all;
  }

  .map {
    height: 614px !important;
  }

  .map.desktop {
    display: none !important;
  }
  .map.mobile {
    display: none !important;
  }
  .map.tablet {
    display: block !important;
  }

  #contact .container {
    padding: 0px !important;
  }


  .footer .container {
    background: url(../img/footer.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 170px;
  }
  .footer-ficha .container {
    background: url("../img/footer-ficha.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 340px;
  }
  .footer .container p, .footer .container p a {
    color: #185640 !important;
  }
  .footer .container p {
    padding-top: 160px;
  }

  #content-slideshow {
    width: 100%;
    margin: 0 auto;
  }

  .slider {
      width: 100%;
      margin: 100px auto;
  }

  /*
  .slick-slide {
    margin: 0px 5px;
    width: 100%;
    min-height: 100px !important;
    height: 380px !important;
    background-size: cover !important;
  }
  */

  .slick-slide img {
    width: 100%;
    position: absolute;
  }

  .variable .slick-prev, .variable .slick-next {
    /*display: none !important;*/
  }


  .content-slide span.caption {
    font-size: 25px;
    line-height: 30px;
  }
  .content-slide span.lugar {
    font-size: 25px;
    width: 90%;
    padding: 0 10%;
    color: #d2d655;
    display: block;
    line-height: 40px;
    text-transform: uppercase;
  }


  body.body-ficha .masthead a {
    float: left;
    width: 40%;
    padding: 30px;
    text-align: left;
  }
  body.body-ficha .masthead .cucarda {
    float: right;
    /*
    background: url(../img/header-ficha-mob.jpg);
    */
    background-position: center right;
    background-repeat: no-repeat;
    background-size: contain;
    width: 60%;
    position: static;
    bottom: 0;
    right: 0;
    z-index: 1;
    height: 110px;
    margin-right: 5px;
  }
  body.body-ficha .desktop {
    display: none !important;
  }
  body.body-ficha .mobile {
    display: flex!important;
  }
  body.body-ficha #portfolio {
    z-index: 99;
  }
  body.body-ficha #portfolio, body.body-ficha #imagenesficha {
    padding-top: 0px !important;
  }
  body.body-ficha .cont-slide {
    padding: 0px !important;
  }
  body.body-ficha .info  {
    padding: 0 3.5rem 3.5rem 3.5rem;
    margin-top: 4.5rem;
  }
  body.body-ficha .info .titulo {
    min-height: 60px;
  }

}




/* Mobile Lucas hasta 768 */
@media (max-width: 768px) {
  .container {
    width: 100%;
    max-width: 100%;
  }

  .masthead {
    position: relative;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    z-index: 999;
  }
  .masthead.classfooter {
    margin-top: 50px !important;
  }
  .masthead.classfooter .block-green{
    display: block !important;
    height: 37px;
  }
  .masthead .container {
    height: 84px;
  }
  .masthead .cucarda {
    width: 80px;
    height: 80px;
    right: 20px;
    bottom: -22px;
  }

  .masthead2 {
    height: auto;
    padding: 0px;
    margin-bottom: 0rem;
  }

  .masthead h1 {
    font-size: 4rem;
    margin: 0;
    padding: 0;
  }
  .masthead .block-green {
    height: 37px;
  }
  .sostenible {
    min-height: 0;
    position: relative;
    display: table;
    width: 100%;
    height: auto;
    padding-top: 0rem;
    padding-bottom: 1rem;
    margin: 0 auto;
  }
  .sostenible .texto {
    margin-top: 50px;
    font-size: 15px;
    text-align: justify;
    padding: 0 5px;
    margin-bottom: 18px !important;
    width: 100%;
  }
  .sostenible .boton {
    width: 119px;
    height: 34px;
  }

  .portfolio-item {
    width: 100%;
    max-width: 100%;
  }


  img.map, map area{
      outline: all;
  }

  .map {
    height: auto !important
  }

  .map.desktop {
    display: none !important;
  }
  .map.mobile {
    display: none !important;
  }
  .map.tablet {
    display: block !important;
  }

  #contact .container {
    padding: 0px !important;
  }



  .footer .container {
    height: 150px;
  }
  .footer-ficha .container {
    background: url("../img/footer-ficha.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 150px;
  }
  .footer .container p, .footer .container p a {
    color: #185640 !important;
  }
  .footer .container p {
    padding-top: 150px;
  }

  #content-slideshow {
    width: 100%;
    margin: 0 auto;
  }

  .slider {
      width: 100%;
      margin: 100px auto;
  }

  .slick-slide img {
    width: 100%;
    position: absolute;
  }

  .variable .slick-prev, .variable .slick-next {
    /*display: none !important;*/
  }
  .variable .slick-prev {
    left: 5px;
  }
  .variable .slick-next {
    right: 5px;
    top: 55.5%;
  }

  .content-slide span.caption {
    font-size: 25px;
    line-height: 30px;
  }
  .content-slide span.lugar {
    font-size: 25px;
    width: 90%;
    padding: 0 10%;
    color: #d2d655;
    display: block;
    line-height: 40px;
    text-transform: uppercase;
  }

  body.body-ficha .masthead a {
    float: left;
    width: 40%;
    padding: 30px;
    text-align: left;
  }
  body.body-ficha .masthead .cucarda {
    height: 88px;
    position: absolute;
    right: 10px;
    bottom: -20px;
  }
  body.body-ficha .masthead .container {
    width: 90% !important;
  }
  body.body-ficha .masthead .block-green {
    height: 37px;
  }
  
  body.body-ficha .desktop {
    display: none !important;
  }
  body.body-ficha .mobile {
    display: flex!important;
  }
  body.body-ficha #portfolio {
    z-index: 99;
  }
  body.body-ficha #portfolio, body.body-ficha #imagenesficha {
    padding-top: 0px !important;
  }
  body.body-ficha .cont-slide {
    padding: 0px !important;
  }
  body.body-ficha .info  {
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin-top: 0rem;
  }
  body.body-ficha .info .titulo {
    min-height: 60px;
  }
  body.body-ficha .info .listado p {
    width: 85%;
  }

  .slick-dots {
    bottom: 30px !important;
  }

  body.body-ficha .slick-slide {
    min-height: 480px !important;
  }


}


/* Mobile Lucas hasta 768 */
@media (max-width: 700px) {
  .masthead.classfooter .block-green{
    display: none !important;
  }
  .masthead .cucarda {
    right: 0px;
  }
  body.body-ficha .masthead .cucarda {
    height: 98px;
  }
  body.body-ficha .masthead .container {
    width: 100% !important;
  }
  body.body-ficha .masthead .block-green {
    display: none;
  }
  body.body-ficha #portfolio .container {
    width: 100% !important;
    max-width: 100% !important;
  }
  body.body-ficha .slick-slide {
    min-height: 330px !important;
  }
  body.body-ficha .masthead .cucarda {
    height: 68px;
    position: absolute;
    bottom: -10px;
  }
  .masthead .cucarda {
    width: 68px;
    height: 68px;
    right: 10px;
    bottom: -10px;
  }

  .map.desktop {
    display: none !important;
  }
  .map.tablet {
    display: none !important;
  }
  .map.mobile {
    display: block !important;
  }
}

/* Para monitores gigantes */
@media (min-width: 2001px) {
  .masthead2 a {
    display: block;
    text-align: center;
    margin: 0 auto;
  }

  .portfolio-item {
    text-align: right;
  }
  .right .portfolio-item {
    text-align: left;
  }
}

/* Para 320 como mucho */
@media (max-width: 350px) {
  body.body-ficha .masthead .cucarda {
      height: 58px;
      position: absolute;
      bottom: 4px;
  }
  .slick-dots {
      bottom: 70px !important;
  }
  .masthead .container {
    height: 74px;
  }
  .masthead .block-green {
    display: none !important;
  }
}






/* Para 1024 hasta 1300 como mucho */
@media (min-width: 1024px) and (max-width: 1300px) {
  /*
  .masthead .block-green {
      bottom: 19px;
      height: 91px;
  }
  */
  .masthead .cucarda {
      right: 3%;
  }
  .sostenible h2 {
    width: 100%;
  }
  .sostenible .texto {
    width: 100%;
  }
  .slick-dots {
    bottom: 115px !important;
  }
}





.modal-dialog {
  max-width: 1200px;
  margin: 30px auto;
  top: 100px;
}
.modal-body {
  position:relative;
  padding:0px;
}
button.close {
  position:absolute;
  right:-30px;
  top:0;
  z-index:999;
  font-size:2rem;
  font-weight: normal;
  color:#000;
  opacity:1;
  background: #fff !important;
  border-radius: 9px;
  width: 20px;
}

@media (min-width: 1024px) {
  .modal-dialog {
    width: 900px !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .masthead .cucarda {
    right: 2%;
  }
  /*
  .masthead .block-green {
    bottom: 11px;
  }
  */
}
/*
@media (min-width: 1025px) and (max-width: 1600px) {
  .masthead .cucarda {
    right: 10% !important;
  }
}
*/