
@font-face {
  font-family: "Eras Medium ITC";
  src: url("../fonts/Eras\ Medium\ ITC.ttf");
  src: url("../fonts/Eras\ Medium\ ITC.ttf?iefix") format('truetype'),
       url("../fonts/Eras\ Medium\ ITC.woff") format('woff')
       url("../fonts/Eras\ Medium\ ITC.eot") format('embedded-opentype');
}

#divcap {
  display: flex; /* Convertimos el div en un elemento flex */
  flex-wrap: wrap; /* Envuelve los divs en múltiples líneas si es necesario */
  justify-content: center; /* Centramos horizontalmente los divs */
  align-items: center; /* Centramos verticalmente los divs */
}


.titulo h3 {
  text-transform: uppercase;
  color: #357289;
  position: relative;
}


.titulo h2,
.titulo p,
.titulo {
  margin-top: 25px;
}
.galeria{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  width: 95%;
  margin: auto;
  grid-gap: 10px;
  padding: 40px 0;
  overflow: hidden;
}

.galeria > a{
  display: block;
  position: relative;
  overflow:hidden;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
}

.galeria img{
  width: 100%;
  vertical-align: top;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s;
}

.galeria a:hover img{
  /*filter: blur(0.5px);*/
  transform:rotate(7.5deg) scale(1.4);
}
.light-box{
  position: fixed;
  top: 13.5vh;
  left: 0;
  background: rgba(255, 255, 255, 1);
  /*background-color: transparent;
  /*transition: transform 0.3s ease-in-out;*/
  width: 100%;
  height: 87.5vh;
  z-index: 49;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0);
}
.light-box img{
  max-width:50vw;
  max-height: 70vh;
  margin-top:-5%
}

.light-box:target{
  transform: scale(1);
}
.close, .close:hover{
  z-index: 2001;
  display: block;
  position: absolute;
  top: 15%;
  right: 5%;
  background-color: rgba(5,84,114,1);
  color: #ffffff;
  text-decoration: none;
  width: 50px;
  height: 50px;
  text-align: center;
  /*line-height: 40px;*/
  border-radius: 50%;

}

.close:hover{
  /* Elimina cualquier estilo hover */
  color: #fff;
  background-color: rgba(5,84,115,1);
  border-color: inherit;
  text-decoration: none;
}
.next{
  z-index: 2001;
  display: block;
  position: absolute;
  background: #357289;
  color: #fff;
  height: 50px;
  width: 50px;
  line-height: 30px;
  text-align: center;
  text-decoration: none;
  margin-right: -60%;
  margin-top: -5%;
  border-radius: 50%;
}
.prev{
  z-index: 2001;
  display: block;
  position: absolute;
  background: #357289;
  color: #fff;
  height: 50px;
  width: 50px;
  line-height: 30px;
  text-align: center;
  text-decoration: none;
  margin-left: -60%;
  margin-top: -5%;
  border-radius: 50%;
}

.light-box button{
  background-color: #357289;
  border: none;
  opacity: 1;
}

.light-box figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 1);
  color: #357289;
  font-size: 1rem;
  padding: 10px;
  text-transform: uppercase;
}

@media screen and (max-width: 900px) and (min-width: 751px){
  .galeria{
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .close{
    top: 15%;
    right: 5%;
  }
  .light-box figcaption {
    font-size: 10px;
  }
  .logo_box {
    max-width: 150px; 
    margin-top: 0; 
  }

  .logo_box img {
    max-height: 40px; 
    width: auto; 
  }
  
  .navbar-nav .nav-item {
    margin-right: 10px;
  }
  
  .navbar-nav .nav-link {
    font-size: 14px;
  }
  
  .navbar-collapse {
    max-height: 300px; 
    overflow-y: auto; 
  }
  .custom_nav-container .navbar-toggler  {
        border:none;
  }
  
}

@media screen and (max-width: 750px) {
  .galeria{
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .close{
    top: 15%;
    right: 5%;
  }
  .light-box figcaption {
    font-size: 14px;
  }
  .prev{
      margin-left: -80%;
  }
  .next{
      margin-right: -80%;
  }
  .custom_nav-container .navbar-toggler  {
        border:none;
  }
  
}



body {
  /*font-family: "Open Sans", sans-serif;
  background-color: #fffcf4;
  background-color: #E2E2E2;*/
  font-family: "Eras Medium ITC";
  background-color: #ECECEC;
 
}

.layout_padding {
  padding: 75px 0;
}

.layout_padding-top {
  padding-top: 75px;
}

.layout_padding-bottom {
  padding-bottom: 75px;
}


ul li {
  list-style-image: url(images/LOGO GF.png);
  /*style="list-style-image:url(images/logo.ico)"*/
}

/*header section*/

.header_section {
  /*font-family: "Roboto", sans-serif;*/
  font-family: "Eras Medium ITC";
  background-color: #357289;
  color: #ffffff;
  min-height: 90px;
  padding: 1% 0;
  margin:0;
  position:relative;
}

.custom_nav-container.navbar-expand-lg .navbar-nav .nav-link {
  color: #fff;
  padding-left: 12px;
  padding-right: 12px;
}

/*a,
a:hover,
a:focus {
  text-decoration: none;
}*/

.btn,
.btn:focus {
  outline: none !important;
  box-shadow: none;
}

.custom_nav-container .navbar-toggler {
  border-color: #fff;
  outline: none;
}

.custom_nav-container .navbar-toggler .navbar-toggler-icon {
  background-image: url(../images/menu.png);
}

.custom_nav-container .nav_search-btn {
  background-image: url(../images/search-icon.png);

  background-size: 22px;
  background-repeat: no-repeat;
  background-position-y: 7px;
  width: 35px;
  height: 35px;
  padding: 0;
  border: none;
}

.navbar {
}
.dropdown-item{
  background-color: white;
  color: #548192;
}
.nav-item a:hover {
  background-color: rgba(84,129,146,0.5);
  
}
a:hover {
  color: #357289;
}

.logo_box {
  width: 220px;
  margin-top: 0%;
}

.logo_box img {
  width: 100%;

}

.call_to_btn {
  display: inline-block;
  color: #fefefe;
  padding: 10px 35px;
  background-color: #f6bb08;
  margin-top: 5%;
  margin-bottom: 20%;
  border-radius: 0;
}

/*end header section*/

/* slider section */

.slider_section {
  height: calc(100vh - 90px);
  margin-top: 90px;
}

.slider_section .carousel-indicators {
  top: 50%;
  left: -75px;
  transform: translateY(-50%);
  display: block;
  bottom: unset;
  right: unset;
}

.slider_section .carousel-indicators li {
  width: 16px;
  height: 16px;
  opacity: 1;
  margin: 0 auto;
}

.slider_section .carousel-indicators .active {
  width: 24px;
  height: 24px;
  background-color: #357289;
}

.carousel-control-prev,
.carousel-control-next {
  display: none;
}

.vert .carousel-item-next.carousel-item-left,
.vert .carousel-item-prev.carousel-item-right {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.vert .carousel-item-next,
.vert .active.carousel-item-right {
  -webkit-transform: translate3d(0, 100%, 0);
  transform: translate3d(0, 100% 0);
}

.vert .carousel-item-prev,
.vert .active.carousel-item-left {
  -webkit-transform: translate3d(0, -100%, 0);
  transform: translate3d(0, -100%, 0);
}

.slider_section .slider_box {
  display: flex;
  position: relative;
  height: calc(100vh - 90px);
  background-image: url(../images/banner2.JPG);
  background-size: cover;
  background-repeat: no-repeat;
}

.slider_section .slider_box .fixed_company-detail {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translate(-50%, -50%);
}

.slider_section .slider_box .fixed_company-detail p {
  width: 12px;
  text-align: center;
  word-break: break-word;
  color: #fff;
  text-transform: uppercase;
}

.slider_section .slider_box .slider-detail {
  color: #fff;
  width: 60%;
  margin-top: 14%;
  margin-left: 20%;
  text-shadow: black 0.1em 0.1em 0.2em
}

.slider_section .slider_box .slider-detail .slider_detail-heading h2 {
  font-weight: 100;
  text-transform: uppercase;
  text-shadow: black 0.1em 0.1em 0.2em
}

.slider_section .slider_box .slider-detail .slider_detail-heading h1 {
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: black 0.1em 0.1em 0.2em
}

.slider_section .slider_box .slider-detail .slider_detail-text {
  width: 55%;
  color: #f8fafd;
  text-shadow: black 0.1em 0.1em 0.2em
}

.slider_section .slider_box .slider-detail .slider_detail-btn {
  display: flex;
}

.slider_section .slider_box .slider-detail .slider_detail-btn a {
  margin-top: 28px;
  padding: 16px 20px;
  background-color: #357289;
  color: #fff;
}

/*SLIDE 1-------------------------------------------------------------*/
.slider_section .slider_box1 {
  display: flex;
  position: relative;
  height: calc(100vh - 90px);
  background-image: url(../images/HPIM0093.JPG);
  background-size: cover;
  background-repeat: no-repeat;
}

.slider_section .slider_box1 .fixed_company-detail {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translate(-50%, -50%);
}

.slider_section .slider_box1 .fixed_company-detail p {
  width: 12px;
  text-align: center;
  word-break: break-word;
  color: #fff;
  text-transform: uppercase;
}

.slider_section .slider_box1 .slider-detail {
  color: #fff;
  width: 60%;
  margin-top: 14%;
  margin-left: 20%;
}

.slider_section .slider_box1 .slider-detail .slider_detail-heading h2 {
  font-weight: 100;
  text-transform: uppercase;
  text-shadow: black 0.1em 0.1em 0.2em
}

.slider_section .slider_box1 .slider-detail .slider_detail-heading h1 {
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: black 0.1em 0.1em 0.2em
}

.slider_section .slider_box1 .slider-detail .slider_detail-text {
  width: 55%;
  color: #f8fafd;
  text-shadow: black 0.1em 0.1em 0.2em
}

.slider_section .slider_box1 .slider-detail .slider_detail-btn {
  display: flex;
}

.slider_section .slider_box1 .slider-detail .slider_detail-btn a {
  margin-top: 28px;
  padding: 16px 20px;
  background-color: #357289;
  color: #fff;
}

/*SLIDE 2-------------------------------------------------------------*/
.slider_section .slider_box2 {
  display: flex;
  position: relative;
  height: calc(100vh - 90px);
  background-image: url(../images/car2.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

.slider_section .slider_box2 .fixed_company-detail {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translate(-50%, -50%);
}

.slider_section .slider_box2 .fixed_company-detail p {
  width: 12px;
  text-align: center;
  word-break: break-word;
  color: #fff;
  text-transform: uppercase;
}

.slider_section .slider_box2 .slider-detail {
  color: #fff;
  width: 60%;
  margin-top: 14%;
  margin-left: 20%;
}

.slider_section .slider_box2 .slider-detail .slider_detail-heading h2 {
  font-weight: 100;
  text-transform: uppercase;
  text-shadow: black 0.1em 0.1em 0.2em
}

.slider_section .slider_box2 .slider-detail .slider_detail-heading h1 {
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: black 0.1em 0.1em 0.2em
}

.slider_section .slider_box2 .slider-detail .slider_detail-text {
  width: 55%;
  color: #f8fafd;
  text-shadow: black 0.1em 0.1em 0.2em
}

.slider_section .slider_box2 .slider-detail .slider_detail-btn {
  display: flex;
}

.slider_section .slider_box2 .slider-detail .slider_detail-btn a {
  margin-top: 28px;
  padding: 16px 20px;
  background-color: #357289;
  color: #fff;
}

/* end slider section */

/* welcome section */
.welcome_section {
  position: relative;
}

.welcome_section::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/IMG_2549.JPG');
  background-size: cover;
  opacity: 0.25; /* Ajusta el nivel de transparencia aquí */

}

.welcome_section .col-md-6 {
  padding: 0 4%;
}

.welcome_detail {
  width: 75%;
}

.welcome_detail h2 {
  text-transform: uppercase;
  color: #0c0b09;
  font-weight: bold;
}

.welcome_detail h3 {
  text-transform: uppercase;
  color: #357289;
  position: relative;
}

.welcome_detail h3::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  height: 2px;
  width: 150px;
  background-color: #4B4B4B; /*subrayado*/
}
.titulo h3{
  text-transform: uppercase;
  color: #357289;
  position: relative;
  text-align: center;
}
.titulo h3::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  height: 2px;
  width: 130px;
  background-color: #4B4B4B; /*subrayado*/
}

.welcome_detail h2,
.welcome_detail p,
.welcome_detail .welcome_detail-btn {
  margin-top: 25px;
}

.welcome_section .welcome_detail-btn a,
.welcome_section .welcome_detail-btn a:hover {
  text-transform: uppercase;

  color: #0c0b09;
}

.welcome_section .welcome_detail-btn a img {
  width: 25px;
}

/* end welcome section */

/* service section */

.service_section .container {
  padding: 0 50px;
}

.service_detail h2 {
  text-transform: uppercase;
  color: #0c0b09;
  font-weight: bold;
}

.service_detail h3 {
  text-transform: uppercase;
  color: #357289;
  position: relative;
}

.service_detail h3::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  height: 2px;
  width: 185px;
  background-color: #4B4B4B; /*subrayado*/
}

.service_section .-container {
  display: flex;
  flex-wrap: wrap;
  padding-top: 40px;
}

.service_section .service_img-container .service_img-box {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
  /**height: 325px;**/
  height: 400px;
  background-size: cover;
}

.service_img-container .service_img-box.i-box-1 {
  width: 32%;
  min-height: 50%;
  background-image: url(../images/snav.jpg);
  display: inline-flex;
}

.service_img-container .service_img-box.i-box-2 {
  width: 32%;
  min-height: 100%;
  background-image: url(../images/sedif.jpg);
  display: inline-flex;
}

.service_img-container .service_img-box.i-box-3 {
  width: 32%;
  min-height: 50%;
  background-image: url(../images/sesp.JPG);
  display: inline-flex;
}

.service_img-container .service_img-box.i-box-4 {
  width: 32%;
  min-height: 55%;
  background-image: url(../images/scub.png);
  display: inline-flex;
}

.service_section .service_img-container a,
.service_section .service_img-container a:hover {
  color: #fff;
  text-transform: uppercase;
  padding: 15px 40px;
}

.service_section .service_img-container .service_img-box:hover {
  cursor: pointer;
}

.service_section .service_img-container .service_img-box:hover a {
  background-color: #357289;
}

.service_btn {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.service_btn a,
.service_btn a:hover {
  text-transform: uppercase;

  color: #0c0b09;
}

.service_btn a img {
  width: 25px;
}

/* end service section */

/* security section */
.security_section {
}

.security_section h2 {
  text-transform: uppercase;
  color: #0c0b09;
  font-weight: bold;
  text-align: center;
  margin-bottom: 35px;
}

.security_section h3 {
  text-transform: uppercase;
  color: #357289;
  position: relative;
  text-align: center;
}

.security_section h3::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  height: 2px;
  width: 160px;
  background-color: #4B4B4B; /*subrayado*/
}

.security_section .security_container {
  width: 90%;
  margin: 0 auto;
}

.security_section .security_img-box {
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  width: 330px;
  height: 490px;
  margin: 0 auto;
  z-index: 999;
}

.security_section .security_img-box.i-box-1 {
  background-image: url(../recientes/a/1.jpeg);
}

.security_section .security_img-box.i-box-2 {
  background-image: url(../recientes/b/1.jpeg);
}

.security_section .security_img-box.i-box-3 {
  background-image: url(../recientes/c/1.jpeg);
}

.security_section .security_img-box.i-box-4 {
  background-image: url(../recientes/d/1.jpeg);
}

.security_section .security_img-box.i-box-5 {
  background-image: url(../recientes/e/1.jpeg);
}

.security_section .security_img-box a {
  display: none;
  opacity: 0;
  text-transform: uppercase;
  padding: 8px 12px;
  /*border: 1.5px solid #f0f0f0;*/
  color: #fff;
}

.security_section .security_img-box:hover a {
  display: inline-block;
  opacity: 1;
  background-color: #357289; /*agregar color*/
}

.security_btn {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.security_btn a,
.security_btn a:hover {
  text-transform: uppercase;

  color: #0c0b09;
}

.security_btn a img {
  width: 25px;
}

.owl-carousel .owl-nav,
.owl-carousel .owl-nav.disabled {
  display: flex;
  justify-content: space-between;
  width: 100%;
  z-index: 0;
}

.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-nav .owl-prev {
  position: absolute;
  top: 50%;
  background-color: #357289;
  width: 70px;
  height: 40px;
  background-repeat: no-repeat;
  background-size: 22px;
  background-position: 50%;
  transform: translateY(-50%);
}

.owl-carousel .owl-nav .owl-next {
  right: -25px;
  background-image: url(../images/right-arrow.png);
}

.owl-carousel .owl-nav .owl-prev {
  left: -25px;
  background-image: url(../images/left-arrow.png);
}

/* end security section */

.story_section {
  padding: 0 5%;
}

.story_section .container-fluid {
  -webkit-box-shadow: 1px -1px 24px -13px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 1px -1px 24px -13px rgba(0, 0, 0, 0.75);
  box-shadow: 1px -1px 24px -13px rgba(0, 0, 0, 0.75);
}

.story_section .col-md-6 {
  padding: 0;
  display: flex;
  align-items: center;
  background-color: #fcfcfc;
}

.story_detail {
  margin-left: 40px;
}

.story_detail h2 {
  text-transform: uppercase;
  color: #0c0b09;
  font-weight: bold;
}

.story_detail h3 {
  text-transform: uppercase;
  color: #357289;

  margin: 0;
}

.story_detail {
  width: 85%;
}

.story_detail .story_detail-btn {
  margin-top: 25px;
}

.story_section .story_detail-btn a,
.story_section .story_detail-btn a:hover {
  text-transform: uppercase;

  color: #0c0b09;
}

.story_section .story_detail-btn a img {
  width: 25px;
}

.contact_form-container {
  background-image: url(../images/correo.png);
  background-repeat: no-repeat;
}

.contact_form-container form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact_form-container .contact_box {
  background-color: rgba(255, 255, 255, 0.95); /*#fff*/
  padding: 35px 40px;
  width: 85%;
  height: 60%;
  margin: 100px 50px;
  /*margin-top: 20%;
  margin-left: 15%;*/
}

.contact_form-container form input,
.contact_form-container form input:focus,
.contact_form-container form input:active {
  border: none;
  background-color: transparent;
  border-bottom: 1px solid #357289;
  width: 85%;
  margin-top: 12px;
  outline: none;
}

.contact_form-container form button {
  border: none;
  background-color: #357289;
  color: #fff;
  padding: 8px 20px;
  margin-top: 15px;
}

.contact_section .row .col-md-6 {
  padding: 0;
}

/* end contact section */

/* info section */
.info_section {
  background-color: #000202;
  /*font-family: "Roboto", sans-serif;*/
  font-family: "Eras Medium ITC";
}

.info_section .info_detail {
  display: flex;
  align-items: center;
}

.info_section .info_detail p {
  color: #fff;
}

.address_link-container {
  display: block;
}

.address_link-container a {
  display: flex;
  color: #000;
  margin: 15px 0;
  align-items: center;
}

.address_link-container a img {
  margin-right: 10px;
}

.info_section .news_container h3,
.info_section .address_container h3 {
  text-transform: uppercase;
  color: #fff;
  font-size: 22px;
}

.info_section .news_container form {
  margin: 28px 0;
}

.info_section .news_container form input {
  border: none;
  background-color: #fff;
  width: 70%;
  padding: 7px 10px;
}

.info_section .news_container form button {
  border: none;
  background-color: #357289;
  color: #fff;
  font-size: 14px;
  padding: 8px 15px;
  margin-top: 15px;
  text-transform: uppercase;
}

.info_section .news_container .social_container {
  width: 50%;
  display: flex;
  justify-content: space-between;
}

.info_section .news_container .social_container > div {
}




.contact_section .news_container h3,
.contact_section .address_container h3 {
  text-transform: uppercase;
  color: #fff;
  font-size: 22px;
}

.contact_section .news_container form {
  margin: 28px 0;
}

.contact_section .news_container form input {
  border: none;
  background-color: #000;
  width: 70%;
  padding: 7px 10px;
}

.contact_section .news_container form button {
  border: none;
  background-color: #357289;
  color: #000;
  font-size: 14px;
  padding: 8px 15px;
  margin-top: 15px;
  text-transform: uppercase;
}

.contact_section .news_container .social_container {
  width: 50%;
  display: flex;
  justify-content: space-between;
}

.contact_section .news_container .social_container > div {
}


.address_link-container{
  position: absolute;
  top: 20%;
  left: 15%;
  right: 15%;
}
/* end info section */

/* footer section*/

.footer_section {
  background-color: #357289; /*#254a93*/
  padding: 20px 0;
  /*font-family: "Roboto", sans-serif;*/
  font-family: "Eras Medium ITC";
}

.footer_section p {
  color: #fff;
  margin: 0;
  text-align: center;
}

.footer_section a {
  color: #fff;
}

/* end footer section*/
