/* General */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
  }

  /* Header and Navigation */
nav {
  background: #131c46;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
      rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  z-index: 2;
}

nav .logo {
  display: flex;
  align-items: center;
}

nav .logo img {
  height: 150px;
  width: auto;
  margin-right: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 95%;
  font-weight: 400;
  padding: 4px 8px;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #131c46;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: #131c46;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s, color 0.3s;
}

.dropdown-content a:hover {
  background-color: #fff;
  color: #131c46;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Mobile Navigation */
.menu-icon {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-icon {
      display: block;
  }

  nav ul {
      display: none;
      flex-direction: column;
      background-color: #131c46;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      z-index: 999;
  }

  nav ul.active {
      display: flex;
  }

  nav ul li {
      margin: 0;
      text-align: center;
  }
}
  
  .inicio {
    text-align: center;
    padding: 20px;
    background-color: white;
    color: #131c46;
  }
  
  .inicio h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }
  
  .inicio input {
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 80%;
    max-width: 400px;
  }
  
  .tramites-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .tramite-card {
    display: grid;
    background: white;
    border: 1px solid #ddd;
    grid-template-rows: auto 1fr auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    align-items: center;
    justify-items: center; /* Centra los elementos horizontalmente */
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .tramite-card img {
    height: 80px;
    margin-bottom: 10px;
    align-self: center; /* Centra verticalmente la imagen */
    justify-self: center; /* Centra horizontalmente la imagen */
  }
  
  
  .tramite-card h3 {
    font-size: 1.2rem;
    color: #131c46;
    margin-bottom: 10px;
  }
  
  .tramite-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
  }
  
  .tramite-card a {
    text-decoration: none;
    color: white;
    background-color: #131c46;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  
  .tramite-card a:hover {
    background-color: #131c46;
  }
  
  .tramite-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
 

/* ------------------------------------------------
   Footer
-------------------------------------------------- */
.footer {
  background-color: #131c46;
  color: #fff;
  padding: 40px 20px;
  font-size: 1rem;
}

.acomodo{
  display: grid;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
}

.footer-info {
  flex: 1;
  min-width: 250px;
}

.footer-navigation,
.footer-social {
  flex: 1;
  min-width: 250px;
}

.footer-navigation h4,
.footer-social h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-logo {
  width: 250px;
  margin-bottom: 10px;
}

.footer-menu li {
  margin: 5px 0;
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: #131c46;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links img {
  width: 30px;
  transition: transform 0.3s ease;
}

.social-links img:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 10px;
}

/* Responsividad en el footer */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-navigation,
  .footer-social {
    margin-top: 20px;
  }
}



 /* Menu */
 #menuglobal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background-image: url("/assets/purificacion.JPG");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #183889;
  color: #fff !important;
  width: 100%;
  min-height: 100vh;
  z-index: 8888;
}

.globalmenu_telemergencia {
  position: absolute;
  top: 25px;
  right: 100px;
  width: 400px;
  height: 96px;
  border: 1px solid white;
}

.ico_emergencia {
  width: 38px;
  height: 38px;
  background-image: url(../images/icons/icon_telefono.png);
  background-position: center;
  background-size: 90%;
  background-repeat: no-repeat;
}

.globalmenu_telemergencia div {
  text-align: left;
  padding-left: 5px;
  padding-right: 5px;
  float: left;
  border: 1px solid white;
}

.globalmenu_telemergencia div h3 {
  font-size: 10pt;
  color: #fff;
}

.globalmenu_btn_close {
  position: absolute;
  top: 25px;
  right: 75px;
  width: 48px;
  height: 48px;
  background-image: url("/assets/ico_menu_btn_close.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 94%;
  cursor: pointer;
  border-bottom: 4px solid transparent;
  z-index: 99;
}

.globalmenu_btn_close:hover {
  border-bottom: 4px solid #3B8DD1;
}

#menuglobal-scrollarea {
  position: relative;
  width: 100% !important;
  height: 100vh !important;
  overflow: auto;
}

#menuglobal-cont {
  position: relative;
  width: 70% !important;
  height: auto;
  padding-right: 17px;
  margin: auto !important;
  padding-top: 90px;
}

.menuglobal-contlst {
  width: 100%;
  height: auto;
}

.menuglobal-listas {
  position: relative;
  height: auto;
  padding-top: 25px !important;
}

.menuglobal-listas-small {
  width: 50%;
  min-height: 20vh;
}

.menuglobal-listas-large {
  width: 100%;
  min-height: 20vh;
}

.menuglobal-lista {
  float: left;
}

.menuglobal-lista hr {
  width: 90%;
  height: 2px;
  border: none;
  background-color: #fff;
  margin-top: 8px;
}

.menuglobal-lista a {
  color: #fff !important;
  background-image: linear-gradient(#fff, #fff);
  background-size: 0 100%;
  background-repeat: no-repeat;
  transition: .6s;
  padding-left: 2px;
  padding-right: 2px;
  text-shadow: 1px 1px 1px #000;
}

.menuglobal-lista a:hover {
  background-size: 100% 100%;
  color: black !important;
  text-shadow: none;
}

.menulst-dos {
  width: 50%;
}

.menulst-dos div {
  width: 50%;
  float: left;
}

.menulst-uno {
  width: 100%;
}

.menulst-uno div {
  width: 50%;
  float: left;
}

.menuglobal-lista h2 {
  font-size: 24pt;
  color: #fff !important;
}

.menuglobal-lista ul {
  list-style: none;
  padding-left: 33px;
}

.menuglobal-lista ul li {
  font-size: 14pt;
  font-weight: 400;
  word-spacing: 1px;
  padding-top: 8px !important;
  cursor: pointer;
}

#menuglobal-info {
  width: 50%;
  height: auto;
  min-height: 20vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#menuglobal-info div {
  text-align: center;
}

#menuglobal-info div h3 {
  font-size: 11pt;
  font-weight: 400;
  color: #fff !important;
}

#menuglobal-info div h3 a {
  color: #fff;
  background-image: linear-gradient(#8574a5, #1000e9);
  background-size: 0 100%;
  background-repeat: no-repeat;
  transition: .4s;
  padding-left: 2px;
  padding-right: 2px;
}

#menuglobal-info div h3 a:hover {
  background-size: 100% 100%;
  color: black !important;
}

#menuglobal-info div img {
  width: 340px;
}

.menuglobal-cont-div {
  float: left;
}

#menuglobal-destacadas {
  width: 100%;
  min-height: 34vh;
  height: auto;
}

#menuglobal-destacadas hr {
  width: 95%;
  height: 2px;
  border: none;
  background-color: #fff;
  margin-bottom: 25px;
}

.destacadaGroup {
  width: auto;
  padding-left: 12px;
  padding-right: 12px;
  padding-bottom: 4px;
  float: left;
}

.destacadaGroup h2 {
  color: #fff;
  font-size: 18pt !important;
  margin-bottom: 12px;
}

.group-cuatro {
  width: 30%;
  max-width: 30%;
}

.group-tres {
  width: 40%;
  max-width: 40%;
}

.group-dos {
  width: 30%;
}

.group-border {
  border-right: 1px solid #c1c1c1;
}

.menuglobal-destacada {
  width: 150px;
  height: 112px;
  text-align: center;
  padding: 10px;
  cursor: pointer;
  float: left;
}

.menuglobal-destacada:hover {
  color: #33ccff;
}

.destacada-bg {
  margin: 0 auto;
  width: 50px;
  height: 50px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 8px;
}

.menuglobal-destacada span {
  font-size: 11pt;
}

.globalnav-vermas {
  color: #fff;
  background-size: 0%;
  background-position: center;
  background-repeat: no-repeat;
}

.globalnav-vermas span {
  transition: all 0.6s;
}

.globalnav-vermas:hover span {
  color: transparent;
  cursor: pointer;
}

.globalnav-vermas:hover {
  background-size: 26px;
}


@media only screen and (max-width: 1500px) {
  #menuglobal-cont {
      width: 90% !important;
  }
}

@media only screen and (max-width: 700px) {
  #menuglobal-cont {
      position: absolute;
      width: 98% !important;
      top: 0;
      bottom: 0;
      left: 0;
      right: -15px;
  }

  .globalmenu_btn_close {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 48px;
      height: 48px;
      background-size: cover;
      border-bottom: none;
  }

  .globalmenu_btn_close:hover {
      border-bottom: none;
  }

  .menuglobal-listas {
      width: 100%;
      height: auto;
      padding-top: 25px;
  }

  .menulst-dos {
      width: 100%;
      margin-top: 25px;
  }

  .menuglobal-lista h2 {
      font-size: 16pt;
  }

  .menuglobal-lista hr {
      width: 100%;
      margin-top: 5px;
      margin-bottom: 12px;
  }

  .menuglobal-lista ul li {
      font-size: 13pt;
  }

  #menuglobal-destacadas {
      height: auto;
      margin-top: 20px;
      margin-bottom: 25px;
  }

  .menuglobal-destacada {
      width: 33%;
      height: 98px;
      font-size: 10pt;
      padding: 5px;
  }

  .destacada-bg {
      width: 38px;
      height: 38px;
  }

  .destacadaGroup h2 {
      font-size: 16pt !important;
      margin-top: 10px;
  }

  .group-cuatro {
      width: 100%;
      max-width: 100%;
  }

  .group-tres {
      width: 100%;
      max-width: 100%;
  }

  .group-dos {
      width: 100%;
      max-width: 100%;
  }

  .group-border {
      border-right: 0px solid #c1c1c1;
  }
}

.sticky-container {
  padding: 0px;
  margin: 0px;
  position: fixed;
  right: -150px;
  top: 230px;
  width: 210px;
  z-index: 1100;
}

.sticky li {
  list-style-type: none;
  background-color: #ffffff00;
  color: transparent;
  height: 43px;
  padding: 0px;
  margin: 0px 0px 1px 0px;
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  cursor: pointer;
}

.sticky li:hover {
  margin-left: -30px;
}

.sticky li img {
  float: left;
  margin: 5px 4px;
  margin-right: 5px;
}

.sticky li p {
  padding-top: 5px;
  margin: 0px;
  line-height: 16px;
  font-size: 11px;
}

.sticky li p a {
  text-decoration: none;
  color: #2C3539;
}

.sticky li p a:hover {
  text-decoration: underline;
}

