@import url("https://fonts.googleapis.com/css?family=Montserrat|Open+Sans");

* {
  box-sizing: border-box;
}
body {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  background: white;
}
h1,
h2,
h3,
h4 {
  font-family: "Montserrat", sans-serif;
}
img {
  display: block;
  max-width: 100%;
}
.lg {
  position: absolute;
  padding: 0px;
  margin: 0px;
  width: 12%;
  right: 60px;
  margin-top: -160px;
}
.contenidop {
  width: 90%;
  margin: 0px auto;
  padding: 0;
  background: white;
  margin-top: 100px;
}

/*------------------------------Estilos del Header------------------------------*/
.header {
  background: #00255c;
  margin-top: -5px;
  z-index: 2000;
}

.header.contenedor {
  display: flex;
}

.logo {
  width: 100%;
  margin-top: 25px;
  box-shadow: none !important;
}

.icon-menu {
  display: block;
  width: 40px;
  height: 40px;
  font-size: 30px;
  background: #1b2746;
  color: white;
  text-align: center;
  line-height: 45px;
  border-radius: 5px;
  cursor: pointer;
  position: absolute;
  z-index: 500;
  right: 5px;
  top: 5px;
  box-shadow: 3px 3px 6px #555;
}

/*-------------------------------Estilos para la barra-------------------------------*/
.barra {
  margin: 0px;
  padding: 0px;
  position: fixed;
  z-index: 2000;
}
.barra ul {
  list-style: none;
}
.barra ul li .bar1 {
  left: -20px;
}

.barra ul li a {
  display: inline-block;
  background: #333;
  text-decoration: none;
  padding: 10px 15px;
  font-size: 20px;
  text-align: center;
  line-height: 45px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.4s ease;
  font-size: 20px;
  color: #fff;
}

.barra ul li .icon-lupa {
  color: white;
  margin-left: 20px;
}

.barra ul li .icon-envelope {
  color: white;
  margin-left: 20px;
}
.barra ul li .icon-laptop {
  color: white;
  margin-left: 20px;
}
.barra ul li .icon-picture-o {
  color: white;
  margin-left: 20px;
}

.barra ul li a:hover {
  padding-left: 12em;
  background: #222;
}

.pulso {
  -webkit-animation-name: pulso;
  animation-name: pulso;
  animation: pulso 4s infinite;
}
@-webkit-keyframes pulso {
  from,
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  5%,
  25%,
  45%,
  65%,
  85% {
    -webkit-transform: translate3d(-3px, 0, 0);
    transform: translate3d(-3px, 0, 0);
  }

  15%,
  35%,
  55%,
  75% {
    -webkit-transform: translate3d(3px, 0, 0);
    transform: translate3d(3px, 0, 0);
  }
  86%,
  100% {
    animation-delay: 2s;
  }
}

/*---------------Estilos del menu---------------------*/

.nav {
  position: absolute;
  top: 5em;
  left: -110%;
  width: 100%;
  transition: all 0.4s;
}
.menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu_link {
  display: block;
  padding: 15px;
  background: #1b2746;
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.menu_link:hover {
  color: #0069ff !important;
  transition: 0.45s;
}
.mostrar {
  left: 0%;
}

/*--------------------------Estilos de atajos--------------------------*/
.atajo {
  width: 100%;
  position: relative;
  margin: 0px;
  padding: 0px;
  left: 0;
  z-index: 500;
}

.banner_a {
  list-style: none;
  margin: 0;
  padding: 0;
}

.banner_a li {
  position: relative;
  margin: 0px;
  margin-top: 60px;
  left: 0;
  width: 20%;
  height: 150px;
  padding: 25px 30px 20px;
  float: left;
  color: #fff;
  background: rgb(207, 204, 204);
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  vertical-align: bottom;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}

.banner_a li:hover {
  margin-top: -15px;
  height: 180px;
  padding-bottom: 20px;
}
.banner_a p {
  line-height: 25px;
  color: #1b2746;
}
.banner_a h3 {
  color: #1b2746;
}

.icon_banner {
  font-size: 50px;
  color: #1b2746;
}
.banner_vinculo {
  text-decoration: none;
  text-align: center;
}

.banner_a li:nth-child(1) {
  background: rgb(207, 204, 204);
}
.banner_a li:nth-child(2) {
  background: rgb(207, 204, 204);
}
.banner_a li:nth-child(3) {
  background: rgb(207, 204, 204);
}
.banner_a li:nth-child(4) {
  background: rgb(207, 204, 204);
}

/*----------------Estilos del banner de empresas---------------*/
.publicidad {
  margin-top: -1em;
  display: inline-flex;
  position: relative;
  width: 95%;
  height: auto;
  margin-left: 2%;
  padding: 20px;
}

.box1 {
  position: relative;
  background: white;
  width: 50%;
  height: auto;
  border-right: 2px solid;
  border-color: #333;
  z-index: 1000;
}
.box1 img {
  width: 90%;
}
.contbox {
  width: 40%;
  height: auto;
  display: inline-block;
}
.box2 {
  position: relative;
  background: white;
  width: 100%;
  height: auto;
  border-bottom: 2px solid;
  border-right: 2px solid;
  border-color: #333;
  z-index: 1000;
}

.box3 {
  position: relative;
  background: white;
  width: 100%;
  height: auto;
  border-right: 2px solid;
  border-color: #333;
  z-index: 1000;
}
.box4 {
  position: relative;
  background: white;
  width: 100%;
  height: auto;
  border-bottom: 2px solid;
  border-color: #333;
  z-index: 1000;
}
.box4 img {
  margin: 0px;
  padding: 0px;
  width: 150px;
  border-radius: 50%;
  background-size: 100% auto;
}

/*------------------------Estilos de Footer------------------------*/
.copy {
  text-align: center;
  display: block;
  margin-top: 0px;
  font-size: 12px;
}
.footer {
  margin-top: 5em;
  position: relative;
  background: #222;
  color: white;
  padding: 5px;

  -webkit-box-shadow: 0px -1px 5px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px -1px 5px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 0px -1px 5px 0px rgba(0, 0, 0, 0.75);
}
.footer [class^="icon-"] {
  display: inline-block;
  color: white;
  text-decoration: none;
  font-size: 30px;
  padding: 8px;
  border-radius: 25%;
  background: #333;
  line-height: 15px;
  margin-left: 10px;
}
.footer [class^="icon-"]:hover {
  transition: 0.3s;
  color: #0069ff;
}
.social {
  width: 200px;
  position: relative;
  left: 85%;
  margin-top: 0px;
}
.listafooter {
  list-style: none;
  color: gray;
  font-size: 18px;
  display: inline-block;
  margin-top: auto;
  margin-left: 15px;
}
.enlacefooter {
  text-decoration: none;
  color: white;
  font-size: 12px;
  font-weight: bolder;
  padding: 0%;
  margin: 0%;
}
.enlacefooter:hover {
  transition: 0.4s;
  color: #0069ff;
}
/* Estilo para el div negro transparente */
.modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 1000000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}
/*****************************MODAL PARA AVISO ENCIMA DE INDEX PRINCIPAL*****************************/
/* Estilo para el contenido del modal */
.modal-content {
  position: relative;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  max-width: 800px;
  text-align: center;
}

/* Estilo para la imagen */
.modal-image {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

/* Estilo para el botón de cierre */
.close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #e8521c;
  text-decoration: none;
  cursor: pointer;
}
/*********************************/
/***********Estilos para el contenido de detalle******************/
.detalle {
  background-color: #222;
  padding: 3em;
  margin: 1em;
  margin-top: 9em;
  border-radius: 30px 30px 30px 30px;
  -moz-border-radius: 30px 30px 30px 30px;
  -webkit-border-radius: 30px 30px 30px 30px;
  border: 0px solid #000000;
}
.detalle h3 {
  color: #fff;
}
.detalle:hover {
  -webkit-box-shadow: 9px 12px 12px 0px rgba(168, 168, 168, 1);
  -moz-box-shadow: 9px 12px 12px 0px rgba(168, 168, 168, 1);
  box-shadow: 9px 12px 12px 0px rgba(168, 168, 168, 1);
}

.detalle p {
  color: #fff;
}
/***********Estilos para el contenido de detalle de la GUIA******************/
.conetenedorguia {
}
.detalleguia {
  width: 90%;
  background-color: white;
  padding: 1em;
  margin: 1em;
  border-bottom-width: 2px;
  border-bottom-style: solid;
  border-bottom-color: #333;
}
.detalleguia h3 {
  color: #333;
}

.detalleguia p {
  color: #333;
}
.inputguia {
  margin-left: 1em;
  color: white;
  background-color: #333;
  width: 50%;
  padding: 8px;
  box-sizing: border-box;
  font-size: 17px;
  border: #e8521c solid;
  border-radius: 21px;
  -moz-border-radius: 21px;
  -webkit-border-radius: 21px;
}
/*--------ESTILOS PARA LA PAGINACION-------------*/
.conetenedorguia {
  margin: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  background-color: #f9f9f9;
}

.detalleguia {
  margin: 10px 0;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.detalleguia:last-child {
  border-bottom: none; /* Elimina el borde en el último elemento */
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px 0;
  padding: 10px;
  list-style-type: none;
}

.pagination a,
.pagination span {
  margin: 5px;
  padding: 10px 15px;
  text-decoration: none;
  background-color: #333;
  color: white;
  border-radius: 5px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.pagination a:hover {
  background-color: #999;
}

.pagination .current {
  background-color: #e8521c;
  font-weight: bold;
}

/* Para pantallas pequeñas */
@media (max-width: 768px) {
  .pagination a,
  .pagination span {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* Para pantallas más pequeñas, como teléfonos móviles */
@media (max-width: 480px) {
  .pagination {
    justify-content: space-between;
  }

  /* Mostrar siempre botones "anterior" y "siguiente", ocultando algunas páginas */
  .pagination a:not(:first-child):not(:last-child),
  .pagination span:not(:first-child):not(:last-child) {
    display: none;
  }

  /* Solo mostramos la página actual y los botones de navegación */
  .pagination .current {
    display: inline-block;
  }
}

/*********ESTILOS PARA LA PAGINA DE VENTAS********/
.ventaref {
  position: relative;
  margin-top: 15em;
  margin-bottom: 10em;
}
.ventaref a {
  text-decoration: none;
  color: #fff;
  padding: 20px;
  background-color: #e8521c;
  border-radius: 10px 10px 10px 10px;
  -moz-border-radius: 10px 10px 10px 10px;
  -webkit-border-radius: 10px 10px 10px 10px;
  border: 0px solid #000000;
}
