/* reset */
.container-fluid {
  max-width: 1320px;
}

@media (min-width: 576px) {
  .d-sm-initial {
    display: initial !important;
  }
}

@media (min-width: 768px) {
  .d-md-initial {
    display: initial !important;
  }
}

@media (min-width: 992px) {
  .d-lg-initial {
    display: initial !important;
  }
}

/*
 * Typos
 */
body {
  font-family: 'Montserrat', sans-serif;
}

h1 {
  font-size: 35px;
  font-weight: 500;
  position: relative;
  padding-bottom: 20px;
}

h1:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -50px;
  width: 100px;
  height: 5px;
  background-color: #D93731;
  content: '';
}

@media all and (min-width: 992px) {
  h1 {
    font-size: 48px;
  }
}

.navbar {
  background-color: #fff !important;
}

/*
 * Menu
 */
.navbar-light .navbar-nav .nav-item {
  padding-left: 5px;
  padding-right: 5px;
}

.navbar-light .navbar-nav .nav-link {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: #221F20;
}

.navbar-light .navbar-nav .nav-link.active {
  color: #D93731;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: #D93731;
}

@media all and (min-width: 992px) {
  .navbar-light .navbar-nav .nav-link.active {
    position: relative;
  }
  .navbar-light .navbar-nav .nav-link.active:before {
    position: absolute;
    content: '';
    height: 5px;
    width: 100%;
    bottom: -28px;
    left: 0;
    background-color: #D93731;
  }
}

.dropdown-menu {
  padding: 0;
  border-radius: 0;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
          box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: #D93731;
}

.dropdown-item {
  padding-top: 10px;
  padding-bottom: 10px;
}

.btn-primary {
  background-color: #D93731;
  border-color: #D93731;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
  background-color: #AE2621;
  border-color: #AE2621;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
}

.carousel-item {
  min-height: 650px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.carousel-item .d-flex {
  min-height: 650px;
}

.carousel-item .d-flex > div {
  width: 100%;
}

.carousel-item.n1 {
  background-image: url("./../images/hero/hero-01.png");
}

.carousel-item.n2 {
  background-image: url("./../images/hero/hero-02.png");
}

.carousel-item.n3 {
  background-image: url("./../images/hero/hero-03.png");
}

.carousel-item h2 {
  color: #fff;
  padding-bottom: 30px;
  font-size: 36px;
  line-height: 44px;
  font-weight: 500;
}

.carousel-item .video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.carousel-item .video-wrapper video {
  position: relative;
  -webkit-transform: translate(-70%, -60%);
          transform: translate(-70%, -60%);
  top: 50%;
  left: 50%;
}

.carousel-item .video-wrapper:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("./../images/bg/trama.png");
  z-index: 1;
  background-size: 2px 2px;
}

@media all and (min-width: 768px) {
  .carousel-item .video-wrapper video {
    -webkit-transform: translate(-50%, -60%);
            transform: translate(-50%, -60%);
  }
}

.sobre-nosotos {
  background-color: #F3F3F3;
  padding-top: 65px;
  padding-bottom: 55px;
}

.sobre-nosotos h1 {
  margin-bottom: 50px;
}

.sobre-nosotos h1:after {
  left: 0;
  margin-left: 0;
}

.sobre-nosotos p {
  font-size: 18px;
  line-height: 25px;
}

.sobre-nosotos ul {
  font-size: 18px;
  margin-bottom: 0;
  margin-left: 0;
  padding-left: 0;
}

.sobre-nosotos ul li {
  padding-bottom: 10px;
  list-style: none;
  position: relative;
  padding-left: 30px;
}

.sobre-nosotos ul li:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  background: url("./../images/icons/icon-check.svg") no-repeat;
  background-size: 15px 15px;
  content: '';
}

@media all and (min-width: 768px) {
  .sobre-nosotos {
    padding-top: 100px;
    padding-bottom: 90px;
  }
}

@media all and (min-width: 992px) {
  .sobre-nosotos h1 {
    margin-bottom: 0;
  }
}

.servicios {
  padding-top: 75px;
  padding-bottom: 75px;
}

.servicios h1 {
  margin-bottom: 50px;
}

.servicios .box {
  margin-bottom: 100px;
}

.servicios h4 {
  font-size: 24px;
  font-weight: 500;
  color: #D93731;
  padding-top: 25px;
  padding-bottom: 25px;
  margin: 0;
}

.servicios .icon {
  width: 80px;
  height: 80px;
  border: 2px solid #D93731;
  display: inline-block;
  border-radius: 100%;
}

.servicios .box.n8 {
  margin-bottom: 0;
}

@media all and (min-width: 576px) {
  .servicios h4 {
    min-height: 106px;
  }
  .servicios .box.n3 p {
    min-height: 168px;
  }
  .servicios .box.n5 p {
    min-height: 192px;
  }
  .servicios .box.n7 p {
    min-height: 240px;
  }
}

@media all and (min-width: 768px) {
  .servicios {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .servicios h4 {
    min-height: auto;
  }
  .servicios .box.n3 p,
  .servicios .box.n4 p {
    min-height: 144px;
  }
  .servicios .box.n5 p,
  .servicios .box.n6 p {
    min-height: 120px;
  }
  .servicios .box.n5 p,
  .servicios .box.n7 p {
    min-height: 142px;
  }
  .servicios .box.n5 h4 {
    min-height: 106px;
  }
}

@media all and (min-width: 992px) {
  .servicios .box.n1 p,
  .servicios .box.n2 p,
  .servicios .box.n3 p {
    min-height: 120px;
  }
  .servicios .box.n4 p,
  .servicios .box.n5 p,
  .servicios .box.n6 p {
    min-height: 144px;
  }
  .servicios .box.n7 p,
  .servicios .box.n8 p {
    min-height: 144px;
  }
  .servicios .box.n4 h4 {
    min-height: 106px;
  }
}

.icon {
  background-position: center center;
  background-repeat: no-repeat;
}

.icon-lab-materiales {
  background-image: url("./../images/icons/icon-lab-materiales.svg");
  width: 33px;
  height: 36px;
  background-size: 33px 36px;
}

.icon-estudio-suelos {
  background-image: url("./../images/icons/icon-estudio-suelos.svg");
  width: 36px;
  height: 36px;
  background-size: 36px 36px;
}

.icon-geotecnia {
  background-image: url("./../images/icons/icon-geotecnia.svg");
  width: 36px;
  height: 36px;
  background-size: 36px 36px;
}

.icon-gestion-ambiental {
  background-image: url("./../images/icons/icon-gestion-ambiental.svg");
  width: 32px;
  height: 36px;
  background-size: 32px 36px;
}

.icon-geofisica {
  background-image: url("./../images/icons/icon-geofisica.svg");
  width: 36px;
  height: 36px;
  background-size: 36px 36px;
}

.icon-perforacion {
  background-image: url("./../images/icons/icon-perforacion.svg");
  width: 36px;
  height: 36px;
  background-size: 36px 36px;
}

.icon-mineria {
  background-image: url("./../images/icons/icon-mineria.svg");
  width: 36px;
  height: 36px;
  background-size: 36px 36px;
}

.icon-hidrogeologia {
  background-image: url("./../images/icons/icon-hidrogeologia.svg");
  width: 36px;
  height: 36px;
  background-size: 36px 36px;
}

.seccion-4 {
  position: relative;
  min-height: 500px;
}

.seccion-4:before {
  content: '';
  position: absolute;
  width: 100%;
  min-height: 500px;
  left: 0;
  top: 0;
  background: url("../images/bg/bg-section-4.png") no-repeat center center;
  background-size: cover;
}

.seccion-4 h3 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
}

.seccion-4 .floating-content .d-flex {
  min-height: 500px;
  position: relative;
}

.seccion-4 .floating-content .info-content {
  position: relative;
  margin-top: 25%;
  background: #fff;
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
          box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  padding: 25px;
}

.seccion-4 .floating-content h3 {
  padding-top: 20px;
  padding-bottom: 20px;
}

@media all and (min-width: 992px) {
  .seccion-4 h3 {
    font-size: 25px;
    line-height: 35px;
  }
  .seccion-4 .floating-content .info-content {
    padding: 50px;
  }
}

.seccion-5 {
  padding-top: 50px;
  padding-bottom: 50px;
}

.seccion-5 h1 {
  margin-bottom: 25px;
}

.seccion-5 h5 {
  padding-bottom: 25px;
}

.seccion-5 .images-box {
  position: relative;
  overflow: hidden;
}

.seccion-5 .images-box .alt-image {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-transition: top 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: top 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.seccion-5 .images-box .alt-image p {
  color: #fff;
  padding: 15px;
  margin: 0;
  font-weight: 500;
}

.seccion-5 .images-box:hover .alt-image {
  top: 0;
}

@media all and (min-width: 768px) {
  .seccion-5 {
    padding-top: 75px;
    padding-bottom: 100px;
  }
}

.secundaria .seccion-5 {
  background-color: #F3F3F3;
}

@media all and (min-width: 768px) {
  .secundaria .seccion-5 .images-box {
    margin-bottom: 20px;
  }
}

footer {
  background: url("../images/bg/bg-footer.jpg") no-repeat center center;
  background-size: cover;
  padding-top: 50px;
  padding-bottom: 50px;
  color: #fff;
}

footer h1 {
  padding: 0;
  margin: 0;
}

footer h1:after {
  display: none;
}

footer p {
  font-size: 16px;
}

@media all and (min-width: 768px) {
  footer {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

footer ul {
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 50px 0;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

footer ul li {
  padding: 0 15px;
}

footer ul a:hover .icon {
  background-color: #373D43;
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

footer .icon {
  display: block;
  position: relative;
  z-index: 0;
  width: 45px;
  height: 45px;
  background-color: #56606A;
  border-radius: 100%;
  -webkit-transition: 0.3s all cubic-bezier(0.075, 0.82, 0.165, 1);
  transition: 0.3s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

footer .icon:before {
  position: absolute;
  content: '';
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.icon-email:before {
  background-image: url("./../images/icons/icon-email.svg");
  background-size: 24px 18px;
  width: 24px;
  height: 18px;
}

.icon-whatsapp:before {
  background-image: url("./../images/icons/icon-whatsapp.svg");
  background-size: 24px 24px;
  width: 24px;
  height: 24px;
}

.icon-facebook:before {
  background-image: url("./../images/icons/icon-facebook.svg");
  background-size: 24px 24px;
  width: 24px;
  height: 24px;
}

.icon-instagram:before {
  background-image: url("./../images/icons/icon-instagram.svg");
  background-size: 24px 24px;
  width: 24px;
  height: 24px;
}

@media all and (min-width: 576px) {
  footer .icon {
    width: 60px;
    height: 60px;
  }
}

.contacts-list {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding-top: 0;
}

.contacts-list b {
  color: #D93731;
}

.contacts-list li {
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
}

.contacts-list a {
  color: #fff;
}

@media all and (min-width: 768px) {
  .contacts-list {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    width: 100%;
  }
  .contacts-list li {
    width: 33%;
    padding: 0;
  }
}

footer form .form-control {
  background-color: #56606A;
  border-color: #373D43;
  color: #9d9d9d;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

footer form .form-control:hover {
  -webkit-box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.6);
          box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.6);
}

footer form .form-control:focus {
  background-color: #373D43;
  border-color: #2b2f33;
  color: #fff;
  -webkit-box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.6);
          box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.6);
}

footer form button {
  margin-top: 25px;
  width: 100%;
}

footer form label {
  text-align: left;
}

footer form textarea {
  min-height: 148px !important;
}

footer form small.invalid-feedback {
  display: block;
  visibility: hidden;
}

footer form .is-invalid ~ .invalid-feedback {
  visibility: visible;
}

.hero {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero.lab-materiales {
  background-image: url("../images/hero/hero-secundaria-lab-materiales.jpg");
}

.hero .d-flex {
  min-height: 200px;
  text-align: center;
  width: 100%;
}

.hero h2 {
  display: block;
  width: 100%;
  color: #fff;
}

@media all and (min-width: 768px) {
  .hero .d-flex {
    min-height: 300px;
  }
}

.secundaria .sub-header {
  padding-top: 50px;
  padding-bottom: 50px;
}

@media all and (min-width: 992px) {
  .secundaria .sub-header {
    padding-top: 75px;
    padding-bottom: 75px;
  }
  .secundaria .sub-header h1:after {
    left: 0;
    margin-left: 0;
  }
}

.servicio-details {
  position: relative;
  z-index: 0;
}

.servicio-details:before {
  width: 70%;
  height: 450px;
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  background-color: #F3F3F3;
  z-index: -1;
}

.servicio-details .number {
  font-weight: 700;
  font-size: 48px;
  color: #D93731;
  display: block;
  line-height: 48px;
  padding-top: 25px;
}

.servicio-details h3 {
  color: #221F20;
}

.servicio-details p, .servicio-details ul {
  font-size: 16px;
  font-weight: 400;
}

.servicio-details li {
  padding-bottom: 10px;
  list-style: none;
  position: relative;
  padding-left: 30px;
}

.servicio-details li:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  background: url("./../images/icons/icon-check.svg") no-repeat;
  background-size: 15px 15px;
  content: '';
}

.servicio-details .col-image {
  padding-top: 55px;
}

.servicio-details.n2 {
  margin-top: 25px;
  padding-bottom: 50px;
}

.servicio-details.invert > .row {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
}

@media all and (min-width: 768px) {
  .servicio-details {
    padding-top: 50px;
  }
  .servicio-details p, .servicio-details ul {
    font-size: 20px;
  }
  .servicio-details .number {
    padding-top: 0;
  }
  .servicio-details.n2 {
    margin-top: 100px;
    padding-bottom: 75px;
  }
}

.servicio-info {
  padding-bottom: 50px;
}

#msj-success {
  color: green;
  font-weight: bold;
}