/*///////////////////////// GENERALES /////////////////////////*/
* {
  scroll-behavior: smooth;
}
body {
  font-family: 'Source Sans Pro', sans-serif;
  color: #606060;
  background-color: white;
}

img {
  width: 100%;
}

.wrapper {
  overflow: hidden;
}

.img-rounded {
  border-radius: 25px;
}

a:hover {
  text-decoration: none;
}

strong {
  font-weight: 700;
}

.fw-200 {
  font-weight: 200;
}

.fw-300 {
  font-weight: 300;
}

.fw-400 {
  font-weight: 400;
}

.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.fw-800 {
  font-weight: 800;
}

.primary {
  color: #1C5397 !important;
}

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

.secondary {
  color: #004F78;
}

.secondary-bg {
  background-color: #004F78;
}

.black {
  color: #000000;
}

.pink {
  color: #BD4367;
}

.red {
  color: #BD4367;
}

.no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.no-wrap {
  white-space: nowrap;
}

.rotate {
  transform: scaleX(-1);
}

/*///////////////////// BOTONES QUE PISAN BS //////////////////*/

.btn {
  border-radius: 0px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 15px 25px;
  transition: all 150ms ease-out;
  text-decoration: none !important;
  display: flex;
  width: fit-content;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  overflow: visible;
}

.btn-primary {
  border-radius: 10px;
  text-transform: uppercase;
  border: none;
  color: white;
  background-color: #1C5397;
  padding: 10px 20px;
  font-weight: 700;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
  background-color: #164175;
  transition: all ease .25s;
  color: white;
}

.btn-deco {
  background-image: url("../images/btn-deco.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center left;
  transition: all .3s;
  width: 320px;
}

.btn-deco:hover {
  color: #194A80;
}

/* FLOAT BTN */
.wsp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0px 10px 15px -7px rgba(0, 0, 0, 0.52);
  -webkit-box-shadow: 0px 10px 15px -7px rgba(0, 0, 0, 0.52);
  -moz-box-shadow: 0px 10px 15px -7px rgba(0, 0, 0, 0.52);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s;
}

.wsp-float:hover {
  text-decoration: none;
  color: white;
  background-color: #18b853;
}

/*///////////////////////// HEADER /////////////////////////*/
*:focus {
  outline: none !important;
}
header {
  position: absolute;
  width: 100%;
}

.header-logo {
  max-width: 230px;
}

.navbar {
  z-index: 5;
  width: 100%;
  padding: 1.6rem 3rem;
}

.bsnav-sticky.bsnav-sticky-slide {
  position: relative;
  background-color: white;
}

.nav-link {
  font-size: 20px;
  font-weight: 600;
  color: #606060 !important;
  margin-right: 1rem !important;
  margin-left: 1rem !important;
  position: relative;
  padding: 10px 0px !important;
}

.navbar .nav-item:hover .nav-link, .navbar .nav-item:focus .nav-link {
  color: #1C5397 !important;
}

.navbar .nav-item a::after,
.navbar-light .navbar-nav .active>.nav-link::after {
  content: "";
  background-color: #1C5397;
  height: 3px;
  width: 35px;
  border-radius: 5px;
  position: absolute;
  left: -15px;
  right: 0;
  margin: 0 auto;
  bottom: 0;
  z-index: -5;
  margin-bottom: 5px;
  opacity: 0;
  transition: all .3s;
}

.navbar .nav-item a:hover::after, .navbar .nav-item a:focus::after,
.navbar-light .navbar-nav .active>.nav-link::after {
  content: "";
  left: 0;
  opacity: 1;
}

.navbar .nav-item .nav-link.active-nav::after {
  content: "";
  background-color: #1C5397;
  height: 3px;
  width: 35px;
  border-radius: 5px;
  position: absolute;
  left: -15px;
  right: 0;
  margin: 0 auto;
  bottom: 0;
  z-index: -5;
  margin-bottom: 5px;
  opacity: 1;
  transition: all .3s;
}

.navbar.bsnav-sticky.bsnav-sticky-slide.sticked.in {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 8px 15px -5px,
    rgba(0, 0, 0, 0.25) 0px 4px 10px -8px;
}


.navbar-toggler {
  right: 20px;
}

.bsnav-light .navbar-toggler .navbar-toggler-icon,
.bsnav-light .navbar-toggler .navbar-toggler-icon::after,
.bsnav-light .navbar-toggler .navbar-toggler-icon::before {
  background-color: #004F78 !important;
}

/* Bs nav para el menú mobile */

.bsnav-mobile .navbar {
  left: 0 !important;
  transform: translate3d(-300px, 0, 0) !important;
}

.bsnav-mobile.in .navbar {
  transform: translate3d(0px, 0, 0) !important;
}

.bsnav-mobile .navbar.bsnav-dark {
  background: #ffff !important;
  color: #1C5397 !important;
  padding: 0px 0 15px;
  box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.65);
  -webkit-box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.65);
  -moz-box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.65);
  border-bottom: 4px solid #1C5397;
}


/*//////////////////////// MAIN-HERO ////////////////////////////*/
.main-section {
  min-height: 100vh;
  /* background-image: url("../images/slide-01-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center; */
  display: flex;
  align-items: center;
  position: relative;
  /* margin-top: -107px; */
  margin-bottom: 1rem;
}

.main-section .container {
  position: relative;
  z-index: 2;
}

#heroCarousel.carousel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}
#heroCarousel.carousel .carousel-item,
#heroCarousel.carousel .carousel-item.active{
 height: 100%;
 min-height: 100vh;
}
#heroCarousel.carousel .carousel-item>div,
#heroCarousel.carousel .carousel-item.active>div{
  height: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-images-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.hero-images {
  width: 75%;
  margin: 0 auto;
  display: block;
}

.main-section .carousel-control-next,
.main-section .carousel-control-prev {
  position: absolute;
  top: 50%;
  bottom: 0;
  color: #fff;
  text-align: center;
  opacity: .6;
  transition: opacity .15s ease;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #0000009d;
  outline: none;
  border: 0;
  transition: all .3s;
}

.main-section .carousel-control-next:hover,
.main-section .carousel-control-prev:hover {
  opacity: .9;
}

/*///////////////////////// Carousel productos //////////////////////////*/

.carousel-productos {
  padding: 100px 0px;
}

.carousel-productos .carousel-control-next,
.carousel-productos .carousel-control-prev {
  position: absolute;
  top: 50%;
  bottom: 0;
  z-index: 1;
  color: #1C5397;
  opacity: 1;
  transition: all .3s ease;
  width: 75px;
  height: 75px;
  background-color: transparent;
  font-size: 28px;
  outline: none;
  border: 0;
}

.carousel-productos .carousel-control-next:hover,
.carousel-productos .carousel-control-prev:hover {
  color: #C8AC3F;
}

.carousel-productos .carousel-productos-container {
  height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}

.carousel-productos-images {
  width: 80%;
  height: 90%;
  margin: 0 auto;
  display: block;
  object-fit: contain;
  transition: .3s;
}

.carousel-productos-images:hover {
  transform: scale(1.1);
  filter: drop-shadow(2px 2px 6px #31313156);
}

/*///////////////////////// CATALOGO //////////////////////////*/
.catalogo {
  background: url(../images/catalogo-bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 0px;
  margin: 1rem 0rem;
}

.catalogo .h1 {
  font-size: 72px;
}

.catalogo img {
  max-height: 60vh;
  object-fit: contain;
}

/*///////////////////////// LINEAS //////////////////////////*/
.lineas {
  background: url(../images/linea-favorita-bg.jpg) #DCDCDC;
  background-size: cover;
  background-position: center;
  background-position-x: 70%;
  background-repeat: no-repeat;
  padding: 120px 0px;
}

.lineas-logos {
  max-width: 250px;
  margin: 50px auto;
  display: flex;
}

.video-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  position: absolute;
  width: 130px;
  left: 0;
  right: 0;
  margin: auto;
  top: 0;
  bottom: 0;
  transition: all .3s;
}

.play-btn:hover {
  transform: scale(1.1);
}

.color-divider {
  width: 100%;
  height: 25px;
  background: linear-gradient(to right,
      #2C2926 5.5%,
      #555859 0 11%,
      #A9ABAB 0 16.5%,
      #E1DDBE 0 22%,
      #EAE085 0 27.5%,
      #E9C147 0 32%,
      #FFED5F 0 37.5%,
      #A68B49 0 42%,
      #E1843E 0 47.5%,
      #A87543 0 52%,
      #DD5F5C 0 57.5%,
      #A26574 0 62%,
      #802C64 0 67.5%,
      #9A6E7A 0 72%,
      #438180 0 78.5%,
      #44874E 0 85%,
      #418BC8 0 93.5%,
      #2B72B7 0 100%);
}

/*///////////////////////// DECO SABONIS //////////////////////////*/
.deco-sabonis {
  background: url(../images/deco-sabonis-logo.svg), url(../images/wall-bg.jpg);
  background-size: contain, cover;
  background-position: bottom center, center;
  background-repeat: no-repeat;
  padding: 120px 0px 150px 0px;
}

/*///////////////////////// IG //////////////////////////*/
.contenido-ig {
  background-color: #000000;
  padding-top: 5px;
}

.ig-img-container {
  height: 280px;
  width: 100%;
  overflow: hidden;
}

.ig-img-container img {
  transition: .3s;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ig-img-container:hover img {
  transform: scale(1.1);
}

/*///////////////////////// FOOTER //////////////////////////*/

footer {
  background-color: #000000
}

.footer-logo {
  max-width: 250px;
  margin-left: auto;
  margin-top: auto;
  display: flex;
}

footer a {
  color: #E95948;
  transition: all .3s;
}

footer a:not(.scroll-top):hover {
  color: #51A9D5;
  margin-left: 8px;
}

.scroll-top {
  position: absolute;
  right: 15px;
  top: 0;
  transition: .3s;
}

.scroll-top:hover {
  transform: scale(1.1);
}

.social-media {
  width: 25px;
  height: 25px;
  border: 1px solid white;
  border-radius: 50%;
  color: #fff;
  padding: 18px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s;
}

.social-media-container a:hover {
  text-decoration: none;
  color: #51A9D5 !important;
}

.social-media-container a i {
  transition: .3s;
}

.social-media-container a:hover i {
  color: #51A9D5 !important;
  transform: scale(1.2);
}

.social-media:hover {
  background: #fff;
  transform: scale(1.2);
}

footer .form-group {
  display: flex;
}

footer .form-control {
  color: white;
  background-color: black;
  background-clip: padding-box;
  border: 1px solid white;
  border-radius: 0rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

footer .form-group button {
  background-color: #1C5397;
  outline: 1px solid #1C5397;
  border: 0;
  color: white;
  width: 45px;
  transition: all .3s;
}

footer .form-group button:hover {
  background-color: #51A9D5;
  outline: 1px solid #51A9D5;
}

.copy-end {
  background-color: #1c1f2c;
  font-size: 14px;
}

/*///////////////////////// NOSOTROS //////////////////////////
////////////////////////////////////////////////////*/
.hero-nosotros {
  background: url(../images/nosotros-hero-bg.jpg) #E2EAEC;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.carousel-nosotros {
  background: url(../images/catalogo-bg.jpg) #E2EAEC;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}

.carousel-nosotros .container {
  max-width: 80%;
}

/* Ajustes versión mobile del carousel */

.carousel-nosotros-mobile-info {
  position: absolute;
  z-index: 5;
  bottom: 12%;
  width: 100%;
}

.carousel-nosotros-mobile .h2 {
  font-size: 1.3rem;
  margin-bottom: 0rem;
}

.carousel-nosotros-mobile .h3 {
  font-size: 1.1rem;
}

.carousel-nosotros-mobile .provincia {
  max-width: 45px;
  margin-right: 15px;
}

.carousel-nosotros-nav {
  width: 100%;
  position: absolute;
  top: 45%;
}

.carousel-nosotros .h1 {
  font-size: 52px;
  line-height: 1;
}

.provincia {
  max-width: 120px;
  margin-right: 20px;
}

.carousel-nosotros .divider {
  width: 100%;
  height: 1px;
  background-color: white;
}

.carousel-nosotros .carousel-control-next,
.carousel-nosotros .carousel-control-prev {
  position: absolute;
  top: 50%;
  bottom: 0;
  z-index: 1;
  color: #fff;
  opacity: 1;
  transition: all .3s ease;
  width: 75px;
  height: 75px;
  background-color: transparent;
  font-size: 28px;
  outline: none;
  border: 0;
}

.carousel-nosotros .carousel-control-next:hover,
.carousel-nosotros .carousel-control-prev:hover {
  color: #C8AC3F;
}

.carousel-nosotros-image {
  width: 100%;
  margin: 0 auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(15px 15px 10px rgba(7, 7, 7, 0.934));
}

.carousel-nosotros::after {
  content: "";
  width: 100%;
  height: 88px;
  background-image: url("../images/cut-top-white.svg");
  position: absolute;
  bottom: -50px;
  left: 0;
  z-index: 1;
}

.referentes {
  padding: 100px 0px 140px 0px;
  position: relative;
  overflow-x: hidden;
}


.referentes .custom-select {
  background: url("../images/chevron.svg") #fff right .75rem center/18px 10px no-repeat;
  border: 1px solid #1C5397;
  border-radius: 0rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.referentes-nombre {
  border-bottom: 1px solid #BD4367;
  text-transform: uppercase;
  font-size: 24px;
  margin-bottom: 0;
}

.referentes-contacto {
  display: flex;
  align-items: center;
}

.referentes-contacto img {
  transition: .3s;
}

.referentes-contacto a:hover img {
  transform: scale(1.1);
}

.medioambiente-title {
  margin-left: -120px;
}

.mision {
  background: url(../images/mision-bg.jpg) #E2EAEC;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
}

.vision,
.medioambiente {
  background: #E2EAEC;
  min-height: 650px;
  display: flex;
  align-items: center;
  position: relative;
}

.vision .h1,
.mision .h1 {
  font-size: 72px;
  line-height: 1;
}

.mision-vision-titles {
  width: 300px;
  position: absolute;
  top: 15%;
  left: 0;
}

.cut-deco::after {
  content: "";
  width: 100%;
  height: 81px;
  background-image: url("../images/cut-bottom.svg");
  position: absolute;
  bottom: -50px;
  left: 0;
  z-index: 1;
}

.cut-deco::before {
  content: "";
  width: 100%;
  height: 88px;
  background-image: url("../images/cut-top.svg");
  position: absolute;
  top: -50px;
  left: 0;
  z-index: 1;
}

.deco-sabonis-nosotros {
  min-height: 590px;
}

.state-detail{
  transition: all 1000ms ease-out 5s;
}

/*////////////////////// RESPONSIVE //////////////////*/

@media (max-width: 1200px) {
  .header-logo {
    max-width: 200px;
  }
  .carousel-nosotros .container {
    max-width: 90%;
  }
}

@media (max-width: 1024px) {
  .ig-img-container {
    height: 220px;
  }

}

@media (max-width: 768px) {
  .navbar {
    padding: 0.8rem 1rem;
  }

  .hero-images {
    width: 100%;
  }

  .color-divider {
    height: 15px;
  }

  .carousel-nosotros .container {
    max-width: 80%;
  }

  .carousel-nosotros .h1 {
    font-size: 36px;
  }

  .carousel-nosotros-desktop .h2 {
    font-size: 1.4rem;
  }

  .carousel-nosotros-desktop .h3 {
    font-size: 1.2rem;
  }

  .carousel-nosotros-desktop .provincia {
    max-width: 80px;
  }
  .deco-sabonis-nosotros {
    min-height: 490px;
}
}

@media (max-width: 525px) {

  .navbar-brand,
  .bsnav-sticky.bsnav-sticky-slide.sticked.in .navbar-brand {
    width: 75%;
  }

  .deco-sabonis {
    padding: 60px 0px 80px 0px;
  }

  .catalogo {
    padding: 80px 0px;
  }

  .ig-img-container {
    height: 115px;
  }

  .carousel-nosotros .container {
    max-width: 95%;
  }

  .medioambiente-title {
    margin-left: 0;
  }

  .vision .h1,
  .mision .h1 {
    font-size: 48px;
    line-height: 1;
  }

  .mision-vision-titles {
    width: 240px;
    top: 10%;
  }

  .deco-sabonis-nosotros {
    min-height: 300px;
  }

  .footer-logo {
    margin-right: auto;
    margin-left: 0;
  }

  .copyright {
    flex-wrap: wrap;
  }

  .copyright a {
    margin: 5px auto 0px auto;
  }

}

@media (max-width: 375px) {}

@media (max-width: 320px) {}



/*///////////////////////// animation zoom /////////////////////////*/

.animaZoom {
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 100%;
}

.infinite-zoom {
  -webkit-animation: zoomSlow 35s infinite linear;
  -moz-animation: zoomSlow 35s infinite linear;
  animation: zoomSlow 35s infinite linear;
}

@-webkit-keyframes zoomSlow {
  0% {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -moz-transform: scale(1.3) rotate(0.1deg);
    -webkit-transform: scale(1.3) rotate(0.1deg);
    transform: scale(1.3) rotate(0.1deg);
  }

  100% {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@-moz-keyframes zoomSlow {
  0% {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -moz-transform: scale(1.3) rotate(0.1deg);
    -webkit-transform: scale(1.3) rotate(0.1deg);
    transform: scale(1.3) rotate(0.1deg);
  }

  100% {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes zoomSlow {
  0% {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -moz-transform: scale(1.3) rotate(0.1deg);
    -webkit-transform: scale(1.3) rotate(0.1deg);
    transform: scale(1.3) rotate(0.1deg);
  }

  100% {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}