/* Modern CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

*:focus {
  outline: none;
}

a {
  text-decoration: none;
}

body {
  background: white;
}

/* Inicio globales */
body {
  overflow-x: hidden;
}

.titulos,
.titulosLinea {
  font-family: 'Br Black';
  font-size: 45px;
  color: #27509a;
  background-color: transparent;
  transition: ease-in-out 0.3s;
  text-align: center;
}

.titulosLinea {
  position: relative;
  display: inline-block;
}

.titulosLinea::after {
  content: '';
  width: 50%;
  border-bottom: 4px solid #f9b31c;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.subTitulos {
  font-family: 'Br Black';
  font-size: 30px;
  color: #9fa1a3;
  background-color: transparent;
  transition: ease-in-out 0.3s;
  text-align: center;
}

.contenido {
  font-family: 'Br Light';
  font-size: 20px;
  color: black;
  background-color: transparent;
  text-align: center;
  transition: ease-in-out 0.3s;
}

.palabrasResaltantes {
  background-color: transparent;
  color: white;
  font-family: 'Br Bold';
}

.buttonDefaultStyle {
  font-family: 'Br Medium';
  font-size: 25px;
  background-color: #f9b31c;
  color: #375382;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: ease-in-out 0.5s;
  width: auto;
  padding: 5px 30px;
  display: inline-block;

  &:hover {
    background-color: #375382;
    color: #f9b31c;
  }
}

.input-error {
  outline: none !important;
  border: 1px solid red !important;
}

.input-error,
.input-error::placeholder {
  color: red !important;
}

/* Fin globales */

/* Inicio Header */
.navbar {
  &.desktop {
    display: flex;
    height: 90px;
    border-bottom: 1px blue solid;

    @media screen and (max-width: 1024px) {
      display: none;
    }

    ul {
      display: flex;
      margin: auto;
      list-style: none;
    }

    .icono {
      margin: auto;

      img {
        margin: 0 0 0 25px;

        @media (width >=1200px) {
          margin: 0 0 0 50px;
        }

        @media (width >=1400px) {
          margin: 0 0 0 150px;
        }

        @media (width >=1800px) {
          margin: 0 0 0 200px;
        }
      }
    }

    .opciones {
      display: flex;
      flex: 1 1 auto;

      li {
        padding: 0 10px;
      }

      a {
        font-family: 'Br Bold';
        color: black;
        padding: 5px;
        border-radius: 10px;

        &:hover {
          cursor: pointer;
          color: #102751;
        }

        &:active {
          color: blue;
        }
      }
    }

    .iconoIdiomas {
      display: flex;

      ul {
        padding: 0 25px 0 25px;

        @media (width >=1200px) {
          padding: 0 50px 0 25px;
        }

        @media (width >=1400px) {
          padding: 0 75px 0 25px;
        }

        @media (width >=1800px) {
          padding: 0 100px 0 25px;
        }
      }

      button {
        background: white;
        font-family: 'Br Bold';
        border: 0;
        padding: 5px;
        border-radius: 10px;

        &:hover {
          cursor: pointer;
          color: #102751;
        }

        &:active {
          color: blue;
        }



      }
    }
  }

  &.mobile {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border: 10px solid #f3f3f3;
    background: white;

    #hamburgerButton {
      border: none;
      padding: 10px;
      background: white;
    }

    #mobileMenu {
      position: absolute;
      width: 100vw;
      height: 100vh;
      background: white;
      padding: 25px;
      z-index: 999;
      left: 0;
      top: 0;

      #closeMenuBtn {
        position: absolute;
        top: 5px;
        right: 5px;
        width: 50px;
        height: 50px;
        border: 2px solid black;
        border-radius: 25px;
        background: white;
        font-weight: 900;
        font-size: 28px;
        font-family: 'Br Medium';
      }

      .opciones {
        ul {
          list-style: none;
        }

        li {
          margin: 15px 0;
        }
      }
    }

    @media screen and (min-width: 1025px) {
      display: none;
    }
  }
}

.navbar.desktop .sub-menu {
  position: absolute;
  background: white;
  display: none !important;
  z-index: 99;
  padding-top: 25px;

  li {
    padding: 10px !important;

    a {
      font-family: 'Br Light';
    }
  }
}

.navbar.mobile .sub-menu {
  margin-left: 25px;
}

.navbar.desktop .menu li:hover .sub-menu {
  display: block !important;
}

/* Final Header */

/* Inicio Containers */
.containers {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;

  @media screen and (max-width: 1024px) {
    padding: 0;
  }
}

/* Final Containers */

/* Inicio Seccion Inial */
.imageData {
  position: relative;
  display: flex;
  height: calc(100vh - 90px);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  @media screen and (max-width: 1024px) {
    height: calc(100vh - 110px);
  }

  .titulo {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
  }
}

/* Final Seccion Inial */

/* Inicio Informacion Alcalde */
.seccion2Config {
  padding: 50px 15px 0 15px;

  @media screen and (max-width: 1024px) {
    flex-direction: column;
    padding: 10px 0 0 0;
  }

  .contenidoSeccion2 {
    margin: auto;
    padding: 0 25px;
    text-align: center;

    .titulos {
      padding-bottom: 25px;
    }

    .contenido {
      line-height: 2;
      padding: 50px 0;
    }
  }

  img {
    width: 50%;

    @media screen and (max-width: 1024px) {
      margin: auto;
    }
  }
}

/* Final Informacion Alcalde */

/* Inicio Servicios */
.ordenSection3 {
  flex-direction: column;
  padding: 50px 15px;

  .contenido {
    padding: 15px;
  }

  .articulosEstadoSeccion {
    display: flex;

    @media screen and (max-width: 1024px) {
      width: 50%;
    }

    .contenido2 {
      margin: auto;

      a {
        display: block;
        text-align: center;
      }

      @media screen and (max-width: 1024px) {
        margin: 0;
      }
    }
  }

  .contenedorArticulos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 50px 0;

    @media screen and (max-width: 1024px) {
      gap: 50px;
    }
  }

  .articulosSeccion3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 220px;
    height: 270px;
    box-shadow: 5px 0 10px rgba(0, 0, 0, 0.5);
    background-color: #194493;
    border-radius: 10px;

    &:first-child {
      background-color: #00ace8;
    }

    @media screen and (max-width: 1024px) {
      
    }
  }

  .seccionContenido {
    display: flex;
    flex-direction: column;
    background: white;
    width: calc(100% - 40px);
    padding: 10px;
    height: 160px;
    margin-bottom: -20px;
    border-radius: 10px;
    border: 1px solid #bcb9b9;
  }

  .imageSeccion3 {
    margin: 15px 0;
  }

  .contenidoInformacionCard {
    margin: auto 0;
    font-family: "Br Black";
    font-size: 12px;
    text-align: center;
  }

  .buttonStyleArticulo {
    font-family: "Br Bold";
    border-radius: 3px;
    padding: 6px;
    border: 2px #bcb9b9 solid;
    color: #194493;
    cursor: pointer;
    transition: ease-in-out 0.5s;
    margin: 10px;

    &:hover {
      background-color: #194493;
      color: white;
    }
  }

  .palabrasResaltantes2 {
    font-size: 14px;
    color: #194493;
    display: block;
    margin-bottom: 6px;
    background-color: transparent;
  }

  .imageEstadoSeccion {
    width: 60px;
    height: 60px;
    background-color: transparent;
  }

  .sectionEstadoSeccion {
    display: flex;
    justify-content: space-evenly;

    @media screen and (max-width: 1024px) {
      flex-wrap: wrap;
      row-gap: 20px;
      justify-content: space-between;
    }
  }
}

/* Final Servicios */

/* Inicio Noticias */
.seccion4Informacion {
  flex-direction: column;
  padding: 50px 15px 0 15px;

  .containerInformacion4 {
    display: flex;
    margin: 50px 25px;

    @media screen and (max-width: 1024px) {
      flex-direction: column;
      margin: 0;
    }
  }

  .contenidoInformacionSeccion4 {
    padding-left: 25px;
  }

  .imageSeecion4Wrapper,
  .contenidoInformacionSeccion4 {
    width: 50%;

    @media screen and (max-width: 1024px) {
      width: 100%;
      margin: 10px 0;
    }
  }

  .tituloContenidoInformacionSeccion4 {
    font-family: "Br Light";
    font-size: 30px;
    background-color: transparent;
    color: #194493;
  }

  .subTituloContenidoInformacionSeccion4 {
    display: block;
    margin: 25px 0;
    font-family: "Br Light";
    font-size: 18px;
    background-color: transparent;
    color: #97989b;
  }

  .alineado {
    line-height: 1.5;
    text-align: justify;
  }

  .buttonDefaultStyle {
    margin: 25px 0;
  }

}

/* Final Noticias */

/* Inicio Formulario */
.seccion7Informacion {
  flex-direction: column;
  padding: 50px 15px 25px 15px;

  .titulosLinea {
    margin-bottom: 50px;
  }

  .containerInformacion7 {
    display: flex;

    @media screen and (max-width: 1024px) {
      flex-direction: column;
    }
  }

  .articleInfoSeccion7 {
    position: relative;
    width: 40%;

    @media screen and (max-width: 1024px) {
      width: 100%;
    }

    .informacionSeccion7 {
      position: absolute;
      top: 0;
      width: 100%;
      height: 100%;
      display: flex;

      h3 {
        margin: auto;
        font-family: "Br Black";
        background-color: transparent;
        transition: ease-in-out 0.3s;
        color: #ffffff;
        font-size: 30px;
      }
    }
  }

  .articleFormSeccion7 {
    width: 60%;

    @media screen and (max-width: 1024px) {
      width: 100%;
    }
  }

  .articleFormSeccionDiv {
    width: 95%;
    height: 100%;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column nowrap;

    @media screen and (max-width: 1024px) {
      width: 100%;
    }
  }

  .formularioInformarion {
    width: 80%;
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    gap: 20px;

    @media screen and (max-width: 1024px) {
      width: 100%;
    }
  }

  .formularioInformarion div {
    width: 100%;
    height: auto;
    min-height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background-color: transparent;
  }

  .inputsType {
    font-family: 'Br Medium';
    width: 100%;
    height: 30px;
    background-color: #F1F1F1;
    border: 2px solid #A6A6A6;
    padding: 25px;
    border-radius: 10px;
    font-size: 20px;
  }

  .areaType {
    height: 150px;
  }

  .buttonFormStyle {
    width: auto;
  }

  .contenidoForm {
    font-size: 28px;
  }
}

.mensaje-ok,
.mensaje-error {
  position: fixed;
  top: 75px;
  right: 75px;
  background: rgb(72, 199, 142);
  padding: 25px;
  border-radius: 25px;
  font-family: 'Br Medium';
  color: rgb(10, 31, 21);
}

.mensaje-error {
  background: rgb(255, 102, 133);
}

/* Final Formulario */

/* Inicio Comentarios */
.seccion6Info {
  width: 100%;
  flex-direction: column;

  .articleSeccion6,
  .carousel-dots {
    display: flex;
  }
}

/* Final Comentarios */

/* Inicio Opiniones */
.espaciadoInformacion {
  width: 80%;
  height: 70%;
  overflow: hidden;
  word-wrap: break-word;
  text-align: center;
}

.seccion6Info {
  padding: 50px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  gap: 25px;

  @media screen and (max-width: 1024px) {
    padding: 50px 15px;
  }
}

.articleSeccion6 {
  width: 100%;
  height: auto;
  min-height: 380px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}

.buttonArrows {
  width: 50px;
  height: 50px;
  border: none;
  cursor: pointer;
  background: transparent;
}

.flechaIzSeccion6,
.flechaDerSeccion6 {
  width: 100%;
  height: 100%;
}

.itemsSeccion6 {
  width: 90%;
  height: 100%;
  display: flex;
  flex-flow: row;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  gap: 15px;
}

.item {
  width: 280px;
  height: 280px;
  min-width: 250px;
  box-sizing: border-box;
  box-shadow: 5px 0 10px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  background-color: transparent;
  transition: ease-in-out 0.5s;
}

.seccionSuperiorItemSeccion6 {
  width: 100%;
  height: 75%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: center;
  background-color: transparent;
}

.estrellas {
  width: 90%;
  height: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.estrellasIcon {
  width: 20px;
  height: 20px;
  transition: ease-in-out 0.5s;
}

.seccionInferiorItemSeccion6 {
  width: 100%;
  height: 25%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background-color: #194493;
  border-radius: 0px 0px 10px 10px;
}

.nombreUsuario,
.rolUsuario {
  background-color: transparent;
  color: white;
  transition: ease-in-out 0.5s;
}

.nombreUsuario {
  font-family: "Br Bold";
  font-size: 15px;
}

.rolUsuario {
  font-family: "Br Light";
  font-size: 12px;
}

.pointersImage {
  width: 20%;
  height: 50%;
  transition: ease-in-out 0.5s;
}

.carousel-page {
  display: flex;
  flex-flow: row wrap;
}

.comentarioUsuario {
  font-size: 16px;
}

@media (max-width: 750px) {

  .itemsSeccion6 {
    width: 90%;
  }

  .item {
    max-width: 300px;
    height: 300px;
  }

  .seccion6Info {
    gap: 30px
  }

  .titulosLinea {
    text-align: center;
  }

  .itemsSeccion6 {
    gap: 35px;
  }
}

/* Final Opiniones */

/* Inicio Footer */
footer {
  width: 100vw;
  height: auto;
  min-height: 500px;
  background: #194493;
  box-sizing: border-box;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  padding: 50px;

  .articleIconosFooter {
    width: 100%;
    height: 30%;
    background-color: transparent;
    display: flex;
    flex-flow: row;
    justify-content: space-around;
    align-items: flex-end;
    z-index: 2;
  }

  .iconoMunicipioFooter {
    background: transparent;
    width: 200px;
    height: 100px;
    object-fit: cover;
  }

  .redesSociales {
    background: transparent;
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  .redesSociales button {
    background: transparent;
    cursor: pointer;
    border: 0;
  }

  .iconoRedSocialFooter {
    background: transparent;
    fill: transparent;
    width: 50px;
    height: 50px;
  }

  footer hr {
    width: 80%;
    border: 1px white solid;
    align-items: center;
  }

  .articleAccesosFooter {
    width: 80%;
    height: 50%;
    background-color: transparent;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
  }

  .articleAccesosColumna {
    width: 20%;
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: start;
    background-color: transparent;
    min-width: 100px;
    z-index: 2;
  }

  .articleAccesosColumna h6 {
    font-family: 'Br Light';
    font-size: 13px;
    background-color: transparent;
    color: white;
    margin-top: 50px;
    margin-bottom: 10px;
  }

  .articleAccesosColumna ul {
    font-family: 'Br Light';
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    align-items: start;
    justify-content: center;
    gap: 12px;
    background-color: transparent;
  }

  .articleAccesosColumna ul li {
    background-color: transparent;
    color: rgb(228, 228, 228);
    font-size: 12px;
  }

  .articleAccesosColumna:last-child {
    width: 40%;
    height: 100%;
  }

  .articleDerechosFooter {
    width: 100%;
    height: 10%;
    background-color: #194493;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    position: absolute;
    bottom: 0;
  }

  .articleDerechosFooter h6,
  .articleDerechosFooter span {
    font-family: 'Br Light';
    font-size: 15px;
    background-color: transparent;
    color: white;
  }

  .articleDerechosFooter span {
    font-size: 12px;
  }

  .pantallaFooter {
    background: #000000;
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0.7;
    top: 0;
  }
}

@media (max-width: 600px) {
  footer {
    min-height: 1150px;
    padding: 20px;

    .articleIconosFooter {
      flex-flow: column nowrap;
      justify-content: center;
      align-items: center;
    }

    .iconoMunicipioFooter {
      width: 250px;
      height: 120px;
    }

    .iconoRedSocialFooter {
      width: 40px;
      height: 40px;
    }

    .articleAccesosFooter {
      height: 200px;
      gap: 8px;
      margin-top: 10px;
      margin-bottom: 0px;

      @media screen and (max-width: 1024px) {
        width: 100%;
      }
    }

    .articleAccesosColumna {
      width: 100%;
      height: 100%;
      justify-content: center;
      align-items: center;
    }

    .articleAccesosColumna h6 {
      margin-top: 0px;
      font-size: 20px;
    }

    .articleAccesosColumna ul {
      justify-content: center;
      align-items: center;
    }

    .articleAccesosColumna ul li {
      font-size: 12px;
    }

    .articleAccesosColumna:last-child {
      width: 100%;
    }

    .articleDerechosFooter h6,
    .articleDerechosFooter span {
      width: 80%;
      padding: 1px 5px;
      text-align: center;
    }
  }

}

.carousel-desktop,
.carousel-mobile {
  display: flex;
  height: 100vh;

  .seccion6Info {
    margin: auto;
  }
}

.desktop-only,
.carousel-desktop {
  @media screen and (max-width: 1024px) {
    display: none;
  }
}

.mobile-only,
.carousel-mobile {
  @media screen and (min-width: 1025px) {
    display: none;
  }
}

/* Final Footer */

/* Inicio mensajes */
.mensaje-ok,
.mensaje-error {
  display: none;
}

.mensaje-visible {
  display: block;
}

/* Final mensajes */