@font-face {
  font-family: "ZonaPro-Bold";
  src: url('../fonts/ZonaPro-Bold.otf') format('truetype');
}

@font-face{
  font-family: "ZonaPro-Thin";
  src:url('../fonts/ZonaPro-Thin.otf') format('truetype');
}

.font-bold{
  font-family: "ZonaPro-Bold";
}

body{
  font-family: ZonaPro-Thin;
  overflow-x: hidden;
  font-size: 18px;
}

ul {
  list-style: none;
}
/*******************Colores***************/
.blue-light{
  color:#0274c5;
}

.blue-dark{
  color:#084f70;
}

.green{
  color: #c4d600;
}

.gray{
  color:#5e676f;
}

.yellow{
  color:#c7d51f;
}

.bg-blue-light{
  background-color:#0274c5;
}

.bg-blue-dark{
  background-color:#084f70;
}

.bg-gray{
  background-color:#5e676f;
}

.bg-yellow{
  background-color:#c7d51f;
}

/*************************************/

.desk{
  display: block;
  width: 8vw;
}

.deskC{
  display: initial;
}

.movil {
  display: none;
}

@media (min-width: 320px) and (max-width: 767px) { 

  .movil {
    display: block;
  }

  .desk{
    display: none;
  }

  .deskC{
    display:inline;;
    font-size: 12px;
  }
}

/********************MENU************************/
  .navbar {
    font-size: 18px;
    font-family: ZonaPro-Bold;
    padding-top: 1rem;

    position: absolute;
    z-index: 1000;
    width: 100%;
  }

/* SECTION New Map containers */

.maps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
  gap: 20px; /* Space between boxes */
}

/* Individual card styling */
.card-maps {
  flex: 1 1 22%; /* Ensures balanced width for 4 cards */
  padding: 20px;
  min-height: 250px;
  background-color: #f8f9fa;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-evenly;
}

  /* Typography */
  .font-bold {
      font-weight: bold;
  }

  .gray {
      color: gray;
  }

  /* Button styling */
  .btn-map {
    display: inline-block;
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    text-align: center;
    border-radius: 5px;
  }

  /* Responsive layout for a 2x2 grid */
  @media screen and (max-width: 1024px) {
      .card-maps {
          flex: 1 1 48%; /* Two cards per row */
      }
  }

  /* Stacks cards vertically on small screens */
  @media screen and (max-width: 600px) {
      .card-maps {
          flex: 1 1 100%; /* Single column layout */
      }
  }

  
  /* !SECTION */
  
  /* SECTION New Dropdown Mobile */

  .dropdown-new {
    position: relative;
    display: inline-block;
  }

  .dropdown-new p {
    margin: 0;
  }

  .dropdown-content-new {
    display: block;
    min-width: 160px;
    padding: 0.5em;
    z-index: 1;
    margin-left:0;
    text-decoration: none;
  }

  .dropdown-content-new ul li {
    font-size: 0.8em !important;
  }

  .dropdown-content-new ul {
    padding-left: 0;
  }

  /* !SECTION */

  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 0.6rem;
    padding-left: 0.6rem;
    font-size: 1em;
  }

  @media(min-width: 766px)
  {
    .navbar-expand-md .navbar-nav .nav-link{
      font-size: 1.25vw;
    }

    /* SECTION New Dropdown  */

    .dropdown-new {
      position: relative;
      display: inline-block;
    }

    .dropdown-new p {
      margin: 0;
    }

    .dropdown-content-new {
      position: absolute;
      display: none;
      background: #004e72;
      min-width: 160px;
      padding: 0.5em;
      z-index: 1;
      margin-left:0;
      text-decoration: none;
    }

    .dropdown-content-new ul {
      padding-left: 0;
    }

    /* !SECTION */

  }

  .navbar-nav {
    background: #004e72;
    border-radius: 0;
    /*padding-bottom: 4px;*/
  }

  .navbar-light .navbar-toggler {
    color: #ffffff;
    border-color: rgba(0, 0, 0, 0);
  }

  .fa-bars {
    font-size: 2em;
    vertical-align: middle;
  }

  .fa-bars{
    color: #0075c9;
  }

  /*.navbar-brand {
    padding-top: 2rem;
  }*/

  /*****hover****/
.hover-nav {
    display: inline;
    padding-bottom: 2px;
    background-image: linear-gradient(#63bcfc, #63bcfc);
    background-repeat: no-repeat;
    inset: 0;
    background-position: 0 100%;           /* start at left bottom */
    background-size: 0% 105%;               /* hidden initially */
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;           /* underline each wrapped line */
    transition: background-size 0.5s ease, 
                background-position 0.5s ease;
  }

  .hover-nav:hover {
    background-size: 100% 105%;              /* underline full width */
    background-position: 0 100%;            /* keep start at left */
  }
  /**************/


  /************dropdown****************/
  .navbar-light .navbar-nav .nav-link {
    color: #fff;
  }
  .navbar-light .navbar-nav .show>.nav-link {
    color: #fff;
  }
  .navbar-light .navbar-nav .nav-link:hover {
    color: rgb(255, 255, 255);
    /*background: #2c9ded;*/
  }
  .dropdown:hover>.dropdown-menu {
    display: block;
  }
  /* rows */
  div.dropdown-multicol{
    width: 35em;
  }
  div.dropdown-row>a.dropdown-item{
    display:inline-block;
    width: 30%;
  }
  .dropdown-menu {
    left: -15.3em;
    color: #fff;
    background-color: #1384d5;
    border: 1px solid #1384d526;
    border-radius: 1px /*8px*/;
    padding: 2px;
    font-size: 14px;
    margin-top: -1px;
  }

  .dropdown-item {
    color: #fff;
  }

  .dropdown-item:hover {
    color: rgb(99, 188, 252);
    text-decoration: none;
    background-color: #1384d500;
  }

  .dropdown-toggle::after {
    font-family: "FontAwesome" !important;
    content: "\f107" !important;
    margin-left: 0.1em !important;
    /*margin-right: 0.5em !important;*/
    vertical-align: 0em !important;
    border-top: 0em solid !important;
    border-right: 0em solid transparent !important;
    border-bottom: 0 !important;
    border-left: 0em solid transparent !important;  
    position: relative;
  }
  /*************************************/

  .navbar-light .navbar-nav .nav-link:focus {
    color: rgb(0, 117, 201);
  }
  
  .navbar-light .navbar-nav .nav-link.active {
    color:#fff;
    background-color: #2c9ded00;
  }
  @media (min-width: 320px) and (max-width: 767px) { 
    .navbar{
      padding: 0.5rem;
      /*background:#002133;*/
      background: #fff;
    }

    .navbar-light .navbar-nav .nav-link.active {
      color: #0075c9;
      background-color: #2c9ded00;
    }

    .navbar-expand-md .navbar-nav .nav-link {
      padding-left: 0.5rem;
      color: #0075c9;
      background-color: #2c9ded00;
    } 

    .navbar-light .navbar-nav .nav-link:hover {
      color: rgb(19, 132, 213);
      /* background: #2c9ded; */
    }

    .navbar-nav {
      background: #fff;
    }

    .navbar-brand {
      padding-top: 0rem;
    }
    div.dropdown-multicol {
      width: 100%;
    }

    div.dropdown-row>a.dropdown-item {
      width: 40%;
    }
    .dropdown-item {
      padding: .25rem 1rem;
    }

    .dropdown-menu {
      font-size: 0.8rem;
      background-color: #1384d5;
      border: 1px solid #1384d526;
    }
  }
/***************************************************/ 

/************************slides*********************/
  svg {
    display: block;
    overflow: visible;
  }

  .slider-container {
    position: relative;
    height: 100vh;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    cursor: all-scroll;
    overflow-x: hidden;

  }

  .slider-control {
    z-index: 2;
    position: absolute;
    top: 0;
    width: 12%;
    height: 100%;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
    will-change: opacity;
    opacity: 0;
  }
  .slider-control.inactive:hover {
    cursor: auto;
  }
  .slider-control:not(.inactive):hover {
    opacity: 1;
    cursor: pointer;
  }
  .slider-control.left {
    left: 0;
    background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.18)), to(rgba(0, 0, 0, 0)));
    background: linear-gradient(to right, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 100%);
  }
  .slider-control.right {
    right: 0;
    background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.18)));
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.18) 100%);
  }

  .slider-pagi {
    position: absolute;
    z-index: 3;
    left: 1%;
    bottom: 2rem;
    font-size: 0;
    list-style-type: none;
  }

  @media (max-width: 991px) {
    .slider-pagi {
      bottom: 0rem;
      left: 20%;
    }
  }
  .slider-pagi__elem {
    position: relative;
    display: block;
    vertical-align: top;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.5rem;
    border-radius: 0%;
    border: 2px solid #fff;
    cursor: pointer;
  }
  .slider-pagi__elem:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1.2rem;
    height: 1.2rem;
    background: #fff;
    border-radius: 0%;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
    -webkit-transform: translate(-50%, -50%) scale(0);
            transform: translate(-50%, -50%) scale(0);
  }
  .slider-pagi__elem.active:before, .slider-pagi__elem:hover:before {
    -webkit-transform: translate(-50%, -50%) scale(1);
            transform: translate(-50%, -50%) scale(1);
  }

  @media (max-width: 991px) {
    .slider-pagi__elem {
      width: 2rem;
      height: 2rem;
      display: inline-block;
      margin: 5px;
    }
    .slider-pagi__elem:before {
      content: "";
      width: 1rem;
      height: 1rem;
    }
  }

  .slider {
    z-index: 1;
    position: relative;
    height: 100%;
  }
  .slider.animating {
    -webkit-transition: -webkit-transform 0.5s;
    transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    transition: transform 0.5s, -webkit-transform 0.5s;
    will-change: transform;
  }
  .slider.animating .slide__bg {
    -webkit-transition: -webkit-transform 0.5s;
    transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    transition: transform 0.5s, -webkit-transform 0.5s;
    will-change: transform;
  }

  .slide {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .slide.active .slide__overlay,
  .slide.active .slide__text {
    opacity: 1;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  .slide__bg {
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background-size: cover;
    will-change: transform;
    background-position: center;
  }
  .slide:nth-child(1) {
    left: 0;
  }
  .slide:nth-child(1) .slide__bg {
    left: 0;
    background-image: url("../image/slides/slide1.jpg");
  }
  .slide:nth-child(1) .slide__overlay-path {
    fill: #0274c5;
  }
  @media (max-width: 991px) {
    .slide:nth-child(1) .slide__text {
      background-color: rgba(2, 116, 197, 0.8);
    }
  }
  .slide:nth-child(2) {
    left: 100%;
  }
  .slide:nth-child(2) .slide__bg {
    left: -50%;
    background-image: url("../image/slides/slide2.jpg");
  }
  .slide:nth-child(2) .slide__overlay-path {
    fill: #084f70;
  }
  @media (max-width: 991px) {
    .slide:nth-child(2) .slide__text {
      background-color: rgba(8, 79, 112, 0.8);
    }
  }
  .slide:nth-child(3) {
    left: 200%;
  }
  .slide:nth-child(3) .slide__bg {
    left: -100%;
    background-image: url("../image/slides/slide3.jpg");
  }
  .slide:nth-child(3) .slide__overlay-path {
    fill: #0274c5;
  }
  @media (max-width: 991px) {
    .slide:nth-child(3) .slide__text {
      background-color: rgba(94, 103, 111, 0.8);
    }
  }
  .slide:nth-child(4) {
    left: 300%;
  }
  .slide:nth-child(4) .slide__bg {
    left: -150%;
    background-image: url("../image/slides/slide4.jpg");
  }
  .slide:nth-child(4) .slide__overlay-path {
    fill: #0274c5;
  }
  @media (max-width: 991px) {
    .slide:nth-child(4) .slide__text {
      background-color: rgba(2, 116, 197, 0.8);
    }
  }

  .slide:nth-child(5) {
    left: 400%;
  }
  .slide:nth-child(5) .slide__bg {
    left: -200%;
    background-image: url("../image/slides/slide5.jpg");
  }
  .slide:nth-child(5) .slide__overlay-path {
    fill: #084f70;
  }
  @media (max-width: 991px) {
    .slide:nth-child(5) .slide__text {
      background-color: rgba(2, 116, 197, 0.8);
    }
  }

  .slide__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .slide__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    min-height: 810px;
    -webkit-transition: opacity 0.2s 0.5s, -webkit-transform 0.5s 0.5s;
    transition: opacity 0.2s 0.5s, -webkit-transform 0.5s 0.5s;
    transition: transform 0.5s 0.5s, opacity 0.2s 0.5s;
    transition: transform 0.5s 0.5s, opacity 0.2s 0.5s, -webkit-transform 0.5s 0.5s;
    will-change: transform, opacity;
    -webkit-transform: translate3d(-20%, 0, 0);
            transform: translate3d(-20%, 0, 0);
    opacity: 0;
  }
  @media (max-width: 991px) {
    .slide__overlay {
      display: none;
    }
  }
  .slide__overlay path {
    opacity: 0.8;
  }
  .slide__text {
    position: absolute;
    width: 30%;
    bottom: 31%;
    right: 10%;
    color: #fff;
    -webkit-transition: opacity 0.5s 0.8s, -webkit-transform 0.5s 0.8s;
    transition: opacity 0.5s 0.8s, -webkit-transform 0.5s 0.8s;
    transition: transform 0.5s 0.8s, opacity 0.5s 0.8s;
    transition: transform 0.5s 0.8s, opacity 0.5s 0.8s, -webkit-transform 0.5s 0.8s;
    will-change: transform, opacity;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    opacity: 0;
  }
  @media (max-width: 991px) {
    .slide__text {
      left: 0;
      bottom: 0;
      width: 100%;
      height: 12rem;
      text-align: center;
      -webkit-transform: translateY(50%);
              transform: translateY(50%);
      -webkit-transition: opacity 0.5s 0.5s, -webkit-transform 0.5s 0.5s;
      transition: opacity 0.5s 0.5s, -webkit-transform 0.5s 0.5s;
      transition: transform 0.5s 0.5s, opacity 0.5s 0.5s;
      transition: transform 0.5s 0.5s, opacity 0.5s 0.5s, -webkit-transform 0.5s 0.5s;
      padding: 0 1rem;
    }
  }
  .slide__text-heading {
    font-family: ZonaPro-Bold;
    font-size: 3.3rem;
    margin-bottom: 2rem;
    line-height: 1;
  }

  .slide__text-heading2 {
    font-family: ZonaPro-Bold;
    font-size: 2.3rem;
    margin-bottom: 2rem;
    line-height: 1;
  }

  .barra{
    margin-top: -20px;
    border-bottom: 8px #c4d600 solid;
    width: 50%;
    margin-left: 0;
  }

  .barra-right {
    position: absolute;
    right: 3em;
    margin-top: -20px;
    border-bottom: 8px #c4d600 solid;
    width: 50%;
    margin-left: 0;
  }
  
  @media (max-width: 991px) {
    .slide__text-heading {
      line-height: 1;
      font-size: 2.3rem;
      margin-top: 10px;
    }
  }
  .slide__text-desc {
    font-family: ZonaPro-Thin;
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  @media (max-width: 991px) {
    .slide__text-desc {
      display: none;
    }
  }
  .slide__text-link {
    z-index: 5;
    display: inline-block;
    position: relative;
    padding: 0.5rem;
    cursor: pointer;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 2.3rem;
    -webkit-perspective: 1000px;
            perspective: 1000px;
  }
  @media (max-width: 991px) {
    .slide__text-link {
      display: none;
    }
  }
  .slide__text-link:before {
    z-index: -1;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    -webkit-transform-origin: 50% 100%;
            transform-origin: 50% 100%;
    -webkit-transform: rotateX(-85deg);
            transform: rotateX(-85deg);
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
    will-change: transform;
  }
  .slide__text-link:hover:before {
    -webkit-transform: rotateX(0);
            transform: rotateX(0);
  }
/*****************************************************/

/*********************somos**************************/
.bg-somos{
  background: url('../image/back-nosotros.jpg') no-repeat center;
  background-size: cover;
}

.bg-blue-seg{
  background:#1276c3;
}

.shadow-seg {
  box-shadow: inset 0px 5px 9px 0px #080417;
  margin-top: -9px;
}
/*****************************************************/

/************************quienes**********************/
.bg-quienes{
  background: url('../image/back-productos-home.jpg') no-repeat center;
  min-height: 70vh;
  background-size: cover;
}

:focus {
  outline: -webkit-focus-ring-color auto 0px !important;
}

.slick-prev:before {
  content: '\f104';
  font-family: "FontAwesome";
  color: #fff;
  font-size: 45px;
  margin-right: 5px;
}

.slick-next:before {
  content: '\f105';
  font-family: "FontAwesome";
  color: #fff;
  font-size: 45px;
  margin-left: 5px;
}

.fa-2x {
  font-size: 0.4em;
  vertical-align: middle;
}

.slick-prev, .slick-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    outline: none;
    background: #5e676f;
    z-index: 1;
  }
/*.slick-prev {
  left: -11%;
  border-bottom-right-radius: 90px;
  border-top-right-radius: 90px;
}

.slick-next{
  right: -11%;
  border-bottom-left-radius: 90px;
  border-top-left-radius: 90px;
  .Denisse12345
  Denisse12345.
}*/

.slick-prev:hover, .slick-prev:focus, .slick-next:hover, .slick-next:focus {
    color: #5e676f;
    outline: none;
    background: #5e676f;
}

@media (max-width: 991px) {
  .slick-prev {
    left: 0%;
    /*border-bottom-right-radius: 50px;
    border-top-right-radius: 50px;*/
  }

  .slick-next{
    right: 0%;
    /*border-bottom-left-radius: 50px;
    border-top-left-radius: 50px;*/
  }
}
/*************************************************/

.seccont{
  min-height: 85vh;
}
.bg-triangulo-izq{
  background: url('../image/fig-izq-contacto.png') no-repeat center;
  min-height: 90vh;
  background-size: 65%;
  margin-left: -11px;
  position: absolute;
  background-position: left top;
}

.bg-triangulo-der{
  background: url('../image/fig-der-contacto.png') no-repeat center;
  min-height: 102vh;
  background-size: contain;
  position: absolute;
  background-position: right;
  right: 0;
  z-index: -1;
}

.m-contact{
  margin-top: 3rem;
}

.btnC{
  background: #41b2ed;
  border-radius: 0;
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 991px) {
  .m-contact{
    margin-top: 4rem;
  }
}

@media (min-width: 320px) and (max-width: 767px) { 
  .bg-triangulo-izq{
    background-size: 45%;
  }
  
}

/*inputs estilos*/
.form-control {
  color: #333;
  background-color: rgb(255, 255, 255, 0.1);
  background-clip: padding-box;
  border: 1px solid #23374600;
  border-bottom: 1px solid #333;
  border-radius: 0;
  transition: border-color .55s ease-in-out,box-shadow .55s ease-in-out;
}

.form-control:focus {
    color: #333;
  background-color: #fff;
  border-color: #333;
    outline: 0;
    box-shadow: 0 0 0 0.2rem #d4b58640;
}

::-webkit-input-placeholder { color: #333 !important; } 

:-moz-placeholder { /* Firefox 18- */ color: #333 !important; } 

::-moz-placeholder { /* Firefox 19+ */ color: #333 !important; } 

:-ms-input-placeholder { color: #333 !important; }

/***************MAPAS********************/
/*.mapa1:before{
  content: '\f0d7';
  font-family: "FontAwesome";
  color: #c2d600;
  font-size: 5rem;
  position: absolute;
  height: 65px;
  left: 10%;
  margin-top: 65px;
}

.mapa2:before{
  content: '\f0d7';
  font-family: "FontAwesome";
  color: #c2d600;
  font-size: 5rem;
  position: absolute;
  height: 65px;
  left: 45%;
  margin-top: 65px;
}*/

  .btn-map{
    background-color: #084f70;
    border-color: #084f70;
    box-shadow: 0 0 0 0.2rem #084f7080;
  }

  .btn-map:hover{
    background-color: #41b2ed;
    border-color: #41b2ed;
  }

.bordermap{
  border-bottom: 10px #c2d600 solid;
  /*border-left: 1px #c2d600 solid;
  border-right: 1px #c2d600 solid;*/
}

#mapa2{
  display: none;
}

@media (max-width: 991px) {
  .mapa1:before{
    content: '\f0d7';
    display: none;
  }

  .mapa2:before{
    content: '\f0d7';
    display: none;
  }

  .mtm-5{
    margin-top: 4em;
  }
}
/******************************************/
/*****************FOOTER******************/

.social-fixed {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.5rem;
    background: rgba(255,255,255,0.8);
    border-radius: 8px 0 0 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 1000;
  }
  .social-fixed a {
    text-decoration: none;
  }
  .social-fixed i {
    transition: transform 0.2s;
  }
  .social-fixed i:hover {
    transform: scale(0.9);
  }

    /* Colores oficiales de cada red */
.fa-facebook-square {
  color: #1877F2;
}
.fa-linkedin-square {
  color: #0A66C2;
}
.fa-instagram {
  color: #E1306C;
}

.fa-whatsapp {
  color: #25D366;
}

.glitch-svg {
  display: inline-block;
}

.glitch-svg img {
  display: block;
  width: 1.8em;
  height: auto;
  filter:
    drop-shadow(-2px 0 0 #ff0050)
    drop-shadow(2px 0 0 #00f2ea);
}

.glitch-svg img:hover {
    transform: scale(0.9);
  }

.shadow-footer {
  box-shadow: inset 0px 5px 15px 0px #333;
  margin-top: -9px;
}

.social{
  /*las imágenes usadas tienen width de 48px*/
  width: 48px;
  position: fixed;
  top: 20%;
  right: 0;
  z-index: 1000;
  /*background: #ffffff6e;*/
  text-align: center;
}

/**********BOTON WHATSAPP**************/
.whatsapp {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 45px;
  right: 15px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 40px;
  z-index: 100;
}

.whatsapp:hover{
  color:#fff;
}

.whatsapp-icon {
  margin-top:0px;
}
/**************************************/


@media (max-width: 991px) {
  .social{
    /*las imágenes usadas tienen width de 48px*/
    width: 100%;
    height: 50px;
    position: fixed;
    top: 90%;
    right: 0;
    z-index: 1000;
    background: #ffffff6e;
    text-align: center;
  }
}

/****************************************/

/****************SECCION NOSOTROS*************************/
  .bg-nosotros{
    background: url('../image/nosotros/slide1.jpg') no-repeat top;
    min-height: 90vh;
    background-size: cover;
  }

  .padre {
    display: flex;
    align-items: center;
  }

  .hijo {
    line-height: 200px;
  }

  .cert-title h3 {
      margin: 0 1em;
  }

  .cert-title {
      display: flex;
      flex-flow: row nowrap;
      align-items: center;
      justify-content: center;
      width: 100%;
  }

  .bg-trizq{
    background: url(../image/nosotros/trizq.png) no-repeat;
    min-height: 60vh;
    background-size: contain;
    background-position: left top;
  }

  .bg-trider{
    background: url(../image/nosotros/trider.png) no-repeat right;
    min-height: 60vh;
    background-size: contain;
    /* margin-left: 0px; */
    /* position: absolute; */
    background-position: right top;
  }

  .bg-tubecoN{
    background: url(../image/nosotros/tubecoF.png) no-repeat center;
    min-height: 60vh;
    background-size: contain;
    /* margin-left: 0px; */
    padding-top: 555px;
    background-position: center bottom;
  }

  #muro-texto {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .contenedor-video {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto; 
    background-color: #000;
    margin-top: 4vw;
  }

  video {
    max-width: 100%;
    height: auto;
  }

  #texto-presf {
    padding: 1.5em;
    width: 90%;
  }

  #texto-presf p {
    width: 100%;
  }

  section#nosotros {
    padding-top: 100px;
  } 

  .certificados-container {
    display: flex;
    flex-flow: row wrap;
    margin-top: 4em;
  }

  .iso {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-width: 300px;
  }

  .iso img {
    width: 90%;
  }

  .list-nosotros {
    font-size: 16px;
    margin-top: 30px;
  }

  .list-fortalezas {
    padding: 0;
  }

  .list-fortalezas li {
    font-size: 1em;
    display: flex;
    justify-content: flex-start;
    margin: 0.5em 0;
  }

  .list-fortalezas i {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.25em;
  }

  .list-fortalezas p {
    flex: 4;
    margin: 0.5em 0;
    align-self: center;
  }

  .fa-3x {
    font-size: 2.3em;
    vertical-align: middle;
  }

  /*ul>li{
    margin-bottom: 10px;
  }*/

  /*****BULLETS DE LISTAS******/
  i.palomita {
    background: url(../image/nosotros/ventajas.svg) no-repeat;
    height: 50px;
    font-size:20px;
    padding-left: 25px;
    margin-bottom: 8px;
  }

  i.socios {
    background: url(../image/nosotros/fortaleza1.svg) no-repeat;
    height: 50px;
    font-size:18px;
    padding-left: 25px;
    margin-bottom: 8px;
  }

  i.compro {
    background: url(../image/nosotros/fortaleza2.svg) no-repeat;
    height: 50px;
    font-size:18px;
    padding-left: 25px;
    margin-bottom: 8px;
  }

  i.aseso {
    background: url(../image/nosotros/fortaleza3.svg) no-repeat;
    height: 50px;
    font-size:18px;
    padding-left: 25px;
    margin-bottom: 8px;
  }

  i.certi {
    background: url(../image/nosotros/fortaleza4.svg) no-repeat;
    height: 50px;
    font-size:18px;
    padding-left: 25px;
    margin-bottom: 8px;
  }

  i.experi {
    background: url(../image/nosotros/fortaleza5.svg) no-repeat;
    height: 50px;
    font-size:18px;
    padding-left: 25px;
    margin-bottom: 8px;
  }
  /*****************************/

  .bg-nosotros-tubos{
    background: url('../image/nosotros/ventajas.jpg') no-repeat top;
    min-height: 60vh;
    background-size: cover;
    background-position: center;
  }

  @media (max-width: 991px) {
    .padre {
      display: block;
    }
  }
/*********************************************************/

/*********************PRODUCTOS****************************/

  .bg-barrera{
    background: url('../image/productos/barrera/back_barrera.jpg') no-repeat top;
    min-height: 70vh;
    background-size: cover;
  }

  .bg-cajon{
    background: url('../image/productos/cajon-concreto/back_cajon_concreto.jpg') no-repeat top;
    min-height: 70vh;
    background-size: cover;
  }

  .bg-especiales{
    background: url('../image/productos/especiales/back_especiales.jpg') no-repeat top;
    min-height: 70vh;
    background-size: cover;
  }

  .bg-pozos{
    background: url('../image/productos/pozos/back_pozo.jpg') no-repeat top;
    min-height: 70vh;
    background-size: cover;
  }

  .bg-presforzados{
    background: url('../image/productos/presforzados/back_presforzados.jpg') no-repeat top;
    min-height: 70vh;
    background-size: cover;
  }

  .bg-registros{
    background: url('../image/productos/registros/back_registros.jpg') no-repeat top;
    min-height: 70vh;
    background-size: cover;
  }

  .bg-hinca{
    background: url('../image/productos/tub-hinca/back_tub_hinca.jpg') no-repeat top;
    min-height: 70vh;
    background-size: cover;
  }

  .bg-recubierta{
    background: url('../image/productos/tub-recubierta/back_tub_concreto_re.jpg') no-repeat top;
    min-height: 70vh;
    background-size: cover;
  }

  .bg-reforzada{
    background: url('../image/productos/tub-reforzada/back_tub_concretor.jpg') no-repeat top;
    min-height: 70vh;
    background-size: cover;
  }

  .bg-simple{
    background: url('../image/productos/tub-simple/back_tub_concretos.jpg') no-repeat top;
    min-height: 70vh;
    background-size: cover;
  }

  .bg-trizqP{
    background: url(../image/productos/triangulo-izq.png) no-repeat;
    min-height: 70vh;
    background-size: contain;
    /* margin-left: -11px; */
    /* position: absolute; */
    background-position: left bottom;
  }

  .bg-triderP{
    background: url(../image/productos/triangulo-der.png) no-repeat right;
    min-height: 70vh;
    background-size: cover;
    /* margin-left: 0px; */
    /* position: absolute; */
    background-position: right top;
  }

  .btn-ficha{
    border-radius: .5rem;
    box-shadow: -5px 8px 11px;
  }

  .btn-tub{
    background-color: #41b2ed;
    border-color: #41b2ed;
    box-shadow: 0 0 0 0.2rem rgba(38,143,255,.5);
  }

  .btn-tub:hover{
    background-color: #41b2ed;
    border-color: #41b2ed;
  }

  /****************************** GALERIA **********************************/

  #gallery {
    background: url('../image/back-galeria.jpg') no-repeat top;
    background-size: cover;
  }

  #gallery h1 {
    padding-top: 1.5em;
  }
  
    .grid-container {
      display: grid;
      gap: 1.25rem;
      padding: 1rem 1rem 1.5rem 1rem;
    }

    #tubos-grid {
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: repeat(5, 1fr);
    }

    #tubos-grid > :last-child {
      grid-column: 1/-1;
    }

    #tubos-grid > :last-child img {
      width: 100%;
    }
    
    #presfo-grid {
      grid-template-columns: repeat(4, 1fr);
      grid-template-rows: repeat(5, 1fr);
    }

    #presfo-grid > :last-child {
      grid-column: 1/-1;
    }

    #barreras-grid {
      grid-template-columns: repeat(3, 1fr);
    }

    #cajones-grid {
      grid-template-columns: repeat(12, 1fr);
    }

    #cajones-grid > div {
      grid-column: span 4;
    }

    #cajones-grid > div:nth-last-child(-n+2) {
      grid-column: span 6;
    }

    #pozos-grid {
      grid-template-columns: repeat(5, 1fr);
    }

    #registros-grid {
      grid-template-columns: repeat(4, 1fr);
    }
    
    #piezas-grid {
      grid-template-columns: repeat(4, 1fr);
    }

    .grid-container .tile {
      display: flex;
      cursor: pointer;
      position: relative;
      overflow: hidden;
      align-items: center;
      justify-content: center;
    }
    .grid-container .tile img {
      display: block;
      width: 90%;
      height: auto;
      max-height: 300px;
      transition: transform 0.3s ease;
      
    }
    .grid-container .tile:hover img {
      transform: scale(1.05);
    }

    /* Modal styles */
    .modal {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.8);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }
    .modal:target {
      opacity: 1;
      pointer-events: auto;
    }
    .modal img {
      max-width: 90%;
      max-height: 90%;
      box-shadow: 0 0 10px rgba(0,0,0,0.5);
    }
    .modal-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      font-size: 2rem;
      color: white;
      text-decoration: none;
      line-height: 1;
    }
  
  .bg-galeria{
    background: url('../image/back-galeria.jpg') no-repeat top;
    min-height: 70vh;
    background-size: cover;
  }

  /*#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
  }*/

  /*.myImg:hover {opacity: 0.7;}*/
  .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #5a6770cc;
  }

  .myImg:hover .overlay {
    opacity: 1;
  }

  .text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
  }

  /* Caption of Modal Image */
  /*#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
  }*/

  @-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
  }

  @keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
  }

  /* The Close Button */
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }

  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }

  /* 100% Image Width on Smaller Screens */
  @media only screen and (max-width: 700px){
  }


  .bg-aviso{
    background: url('../image/back-aviso.jpg') no-repeat top;
    min-height: 100vh;
    background-size: cover;
    background-attachment: fixed;
  }

  /******************404************************/
  .error404{
    min-height: 100vh;
  }
  .bg-404{
    background: url('../image/404.png') no-repeat center;
    padding-top: 5rem;
    background-size: contain;
  }
  .titulo404{
    bottom: 8%;
    position: absolute;
    right: 0%;
  }

  /******catalogo******/

  .catalogo-prev, .catalogo-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    outline: none;
    background: #5e676f;
    z-index: 1;
  
  }
  .catalogo-next:before {
    content: '\f105';
    font-family: "FontAwesome";
    color: #fff;
    font-size: 28px;
    margin-left: 16px;
  }

  .catalogo-prev:before {
    content: '\f104';
    font-family: "FontAwesome";
    color: #fff;
    font-size: 28px;
    margin-left: 13px;
  }

  @media (min-width: 320px) and (max-width: 767px) { 
    .magazine-viewport .magazine {
      left: -214px;
    }

    .magazine-viewport .previous-button {
      height: 40px;
      top: 110%;
      left: 35%;
    }

    .magazine-viewport .next-button {
      width: 40px;
      height: 40px;
      position: absolute;
      top: 110%;
      left: 55%;
  }
}