/*1024*/
@media (max-width: 1024px) {
  .body-main {
    margin: 0;
    width: 100%;
  }

  .novedades {
    width: auto;
    height: 100%;
    margin: 0;
    padding: 0;
    padding-top: 1em;
  }

  .triangulo4 {
    left: -10px;
  }

  .triangulo10 {
    display: none;
  }

  /* .links {
    display: none;
  } */

  .introduccion p {
    text-align: center;
  }

  .novedades-flaglink {
    width: 100%;
    height: auto;
  }

  .footer-box {
    padding-right: 0;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .contenedor-autoridades h2 {
    font-size: 1.5em;
    text-align: center;
    padding-left: 0px;
    padding-right: 0px;
  }

  .contenedor-autoridades p {
    text-align: center;
    padding-left: 0px;
    padding-right: 0px;
    font-size: 1em;
  }

  .contenedor-autoridades h1 {
    font-size: 1.5em;
    padding-left: 0px;
    padding-right: 0px;
    text-align: center;
  }

  .container-slider {
    width: 100%;
    max-width: 100vw;
  }

  #slider {
    height: auto;
  }
  
}

/*1020*/
@media (max-width: 1020px) {
  .body-main {
    margin: 0;
    width: 100%;
  }

  .box h1 {
    margin-top: 35px;
  }

  .container-slider {
    width: 100%;
  }

  #slider {
    height: auto;
  }

  .important-link {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
  }

  .novedades-flaglink {
    height: auto;
    width: auto;
    right: 0;
  }

  .noticias {
    width: 40%;
  }

  .titulo2 {
    font-size: 1em;
  }

  .titulo1 {
    font-size: 0.5em;
  }

  .bottom-bar {
    margin-top: 1px;
    height: 35px;
    margin-top: 25px;
  }

  .triangulo1 {
    display: none;
  }

  .triangulo2 {
    display: none;
  }

  .triangulo3 {
    display: none;
  }

  .triangulo4 {
    display: none;
  }

  .triangulo5 {
    display: none;
  }

  .esquina-externa {
    display: none;
  }

  .footer-box {
    padding: 0px;
  }

  .grid-item-cat {
    margin-bottom: 8px;
  }

  .grid-item-cat h4 {
    font-size: 1em;
    margin: 2px;
  }

  .grid-item-cat h3 {
    font-size: 1.1em;
    margin: 0;
  }

  .grid-item-cat p {
    font-size: 0.8em;
    text-align: left;
  }

  .submenu-izq-lat {
    white-space: inherit;
  }

  .contenedor-articulo {
    padding-left: 5px;
    padding-right: 5px;
  }

  .menu-izq-lat {
    font-size: calc(1em + 0.5em);
  }
}

/* 768 */
@media (max-width: 768px) {
  .slider_section h1 a {
    font-size: 2em;
  }

  .body-main {
    margin: 0;
    flex-direction: column;
    width: 100%;
  }

  .top-content {
    flex-direction: column;
    margin: 0;
    height: auto;
  }


  .introduccion p {
    text-align: center;
  }

  .box .sub-box {
    margin-bottom: 5px;
  }

  .novedades {
    width: auto;
    height: 100%;
    margin: 0;
    padding: 0;
    padding-top: 1em;
  }

  .novedades-flagbox {
    top: 0;
    margin-bottom: 0;
  }

  /* .novedades-flagbox {
    height: auto;
    border-radius: 0;
  } */

  .container-slider {
    width: 100%;
    max-width: 100vw;
  }

  #slider {
    height: auto;
  }

  .slider_section h1 {
    font-size: calc(1.7vw + 1.7vh);
  }

  .box {
    height: auto;
    font-size: 90%;
  }

  .contenerdor-categorias {
    width: 100%;
    flex-direction: column;
  }

  .links {
    width: 100%;
    height: auto;
    margin: 0;
  }

  .novedades-flaglink {
    height: 2em;
    right: 0;
    width: auto;
    padding-left: 2%;
  }


  .titulo1 {
    margin-left: 15%;
    font-weight: 100;
    font-size: 1em;
  }

  .titulo2 {
    font-weight: 700;
    font-size: calc(1.5em + 0.5em);
  }

  .links-box {
    width: 100%;
    height: auto;
    overflow-y: hidden;
    max-height: fit-content;
  }

  .aside-link {
    width: 100%;
  }

  .aside-link-noticias {
    flex-direction: column;
  }

  .bottom-bar {
    margin-top: 1px;
    height: 10vh;
    width: 100%;
    margin-bottom: 0px;
    left: 0;
  }

  .bottom-bar h1 {
    width: 50%;
  }

  .noticias {
    width: 40%;
  }

  .noticias h1 {
    font-size: calc(0.8em + 0.8em);
  }

  .grid-item {
    flex: 1 1 calc(100%);
  }

  .important-link {
    flex-direction: column;
  }

  .footer {
    display: flex;
    flex-direction: column;
  }

  .footer-box {
    width: 100%;
    height: 80px;
    padding-left: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 0px;
  }

  .triangulo1 {
    display: none;
  }

  .esquina-externa {
    display: none;
  }

  .menu-izq {
    display: none;
  }

  .menu-izq-lat {
    font-size: calc(1em + 0.5em);
  }

  .contenedor-autoridades {
    width: fit-content;
    margin: 0;
  }

  .grid-categorias {
    flex-direction: column;
  }

  .sub-contenedor-categorias {
    width: 100%;
  }

  .grid-item-cat {
    height: 200px;
  }

  .contenedor-articulo {
    height: 150px;
  }

  .flag-categorias {
    font-size: calc(2.4vw + 2.4vw);
    left: -2%;
  }
  
  .slider_img .soloMobile {
      min-width: 860px;
      min-width: 400px;     
  }

  /* .contenedor-imp {
    flex-direction: column;
  } */
  
}

/*425*/
@media (max-width: 425px) {
  .bottom-bar {
    height: 35px;
  }

  .top-content {
    flex-direction: column;
    margin: 0;
    height: auto;
  }

  #slider {
    height: auto;
  }

  .container-slider {
    width: 100%;
  }

  .novedades-flagbox {
    height: auto;
    border-radius: 0;
  }
  
  .slider_img .soloMobile {
      min-width: 560px;
      min-width: 400px;     
  }

  /* .contenedor-imp {
    flex-direction: column;
  } */
}

/*375*/
@media (max-width: 375px) {

  .introduccion p {
    text-align: center;
  }

  .introduccion {
    text-align: center;
  }

  .bottom-bar {
    margin-top: 1px;
    height: 35px;
  }

  .titulo2 {
    font-weight: 700;
    font-size: calc(1.2em + 0.5em);
  }

  .novedades-flagbox {
    height: auto;
    border-radius: 0;
  }

  .sub-contenedor-categorias {
    margin-left: 0;
    width: auto;
  }

  .sub-contenedor-categorias .flag-categorias {
    width: 100%;
  }

  .contenedor-articulo {
    padding-left: 5px;
    padding-right: 5px;
  }

  .grid-item-cat h4 {
    font-size: 1em;
  }

  .grid-item-cat h3 {
    font-size: 1.2em;
  }

  .grid-item-cat p {
    font-size: 11px;
    text-align: left;
  }

  .container-slider {
    width: 100%;
  }

  #slider {
    height: auto;
  }
  
  .slider_img .soloMobile {
      min-width: 560px;
      min-width: 400px;     
  }

  /* .contenedor-imp {
    flex-direction: column;
  } */
  
}