/*### Remake website ### */

/* Variables */
:root {
  --max-w-2xl: 1503px;
  --max-w-xl: 1200px;
  --max-w-lg: 992px;
  --max-w-md: 768px;
  --max-w-sm: 576px;

  /*--red-color: #e41e2f; */
  --hero-bg: #f5f5f5;
  --text-secondary: #898787;
  --text-avisos: #383838;

  --border-default: #d3d0d0;

  --red-color: #3E9BC7;
}

/* Leaderboard */
div#leaderboard {
  display: none;
}

/* Navbar */
div#rid-navbar {
  background-color: var(--red-color);
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;

  & #superfish-main--2-toggle {
    color: white;
    & > span {
      display: none;
    }
  }

  & .sf-accordion-toggle {
    display: flex;
    padding: 10px;
  }

  & .sf-accordion-toggle > a::after {
    font-size: 3rem;
  }

  & .sf-accordion {
    & > li {
      background-color: var(--red-color);
      padding: 5px 10px;
    }

    & ul {
      color: black;
    }
  }
}

/* Header */
header#masthead {
  padding: 0px !important;
  margin: 0px;

  & > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px 24px;
  }

  & #block-menuprincipal {
    display: none;
  }

  & #block-ayuntamientologo img {
    margin: 0px !important;
  }
}

/* Footer */
.pr-footer {
  background-color: black !important;
}

/* Default settings container */
.path-frontpage .block-region-top {
  /* Unused block */
  & #block-content1a80fc21-5999-4658-8941-1a1301bdf16b {
    display: none;
  }

  /* Carrusel */
  & div.block-views-css-class--carrusel-actualidad {
    position: relative;
    display: block;
    margin-block: auto;
    width: 100%;

    & nav.slick__arrow {
      & > button {
        box-shadow: none;
      }

      & > button::before {
        background-color: #383838;
        padding: 5px;
        margin: 0px;
        color: white;
      }
      & > button.slick-next::before {
        color: white !important;
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-chevron-right'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") !important;
      }
      & > button.slick-prev::before {
        color: white !important;

        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-chevron-left'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E") !important;
      }
    }

    & .conjunto-carrusel {
      width: 100% !important;
      position: relative;

      & .views-field-fieldset-2 {
        position: absolute;
        bottom: 0px;
        background-color: transparent !important;
        width: 100%;

        & .grupo-info {
          background-color: rgb(53, 53, 53, 0.8);
          padding: 12px 15px;

          & a {
            font-size: 12px;
            font-weight: 400;
            line-height: 12px;
            height: auto !important;
          }
        }
      }
    }
  }

  /* Destacados section */
  div#views-blockcarteles-block-1 {
    display: block;
    margin-block: auto;
    width: 100%;
    height: 100%;
    background-color: transparent !important;

    & > div.block__inner {
      padding: 0;

      /* Hide title */
      & > h2.block__title {
        display: none;
      }

      & > div.block__content {
        display: block;
        margin-block: auto;
        width: 100%;
        height: 100%;
      }

      & .view-rows {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: 18px;
        background-color: var(--hero-bg);
        padding: 22px 12px;
      }

      & .views-row {
        background-color: white;
        border-radius: 15px;
        border: 1px solid #d3d0d0;
        display: flex;
        flex-direction: column;
        width: 100% !important;
        margin: 0px;
        position: relative;
        min-height: 60px;
        padding: 12px 12px 12px 68px;

        & .views-field-field-imagen .field-content {
          width: auto;
          height: 100%;
          border-radius: 15px;
          background-color: var(--red-color);
          position: absolute;
          aspect-ratio: 1/1;
          transform: translate(-68px, -12px);
          width: 60px;

          & img {
            width: 32px;
            aspect-ratio: 1/1;
          }
        }

        & > div {
          text-align: left;
          margin: 0px;
          padding: 0px;
        }

        & .views-field-title {
          font-size: 9px;
          line-height: 10px;
          font-weight: 600;
          color: black;
          text-transform: none;
        }

        & .views-field-body p {
          font-size: 8px;
          line-height: 9px;
          font-weight: 400;
          color: var(--text-secondary);
        }
      }
    }
  }
}

/* Middle region */
.layout__region--middle {
  background-color: white !important;
  display: block;
  padding-block: 38px;

  .block-region-middle {
    margin-block: 0px;
  }

  /* Actualidad section */
  div#views-blocknoticias-block-3 {
    padding: 20px;
    background-color: transparent !important;
    box-shadow: none;

    & .block__inner {
      & > .block__title {
        font-size: 10px;
        line-height: 13px;
        font-weight: 700;
        margin-bottom: 8px;
        text-align: left;
        color: black;
        text-transform: capitalize;
      }
    }

    & .slick__slide ul {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      height: 100%;
      & > li {
        background-color: white;
        padding: 0px;
        width: 100%;
        height: 100%;
        margin: 0px !important;

        & .slide__caption,
        & .slide__link {
          padding: 0px;
          margin: 0px;
        }

        & .slide__link {
          border: 1px solid #d7cfcf;
          padding: 10px;
          font-size: 9px;
          line-height: 10px;
          font-weight: 700;
        }
        & .slide__link > a {
          color: black;
        }
      }
    }

    & nav.slick__arrow {
      & > button::before {
        background-color: var(--red-color);
        padding: 5px;
        margin: 0px;
        color: white;
      }

      & .slick-next {
        right: -25px;
      }

      & .slick-prev {
        left: -25px;
      }

      & > button.slick-next::before {
        color: white !important;
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-chevron-right'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") !important;
      }
      & > button.slick-prev::before {
        color: white !important;

        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-chevron-left'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E") !important;
      }
    }

    & .more-link {
      display: none;
      margin-top: 0px;

      & a {
        background-color: var(--red-color);
        color: white;
        border-radius: 15px;
        border: none !important;
        padding: 12px 24px;
        font-size: 18px;
        line-height: 26px;
        font-weight: 700;
        text-transform: none;
      }
    }
  }

  /* Carrusel avisos */
  div#views-blockcarrusel-block-2 {
    .carrusel-avisos {
      background-color: white !important;
      margin-bottom: 64px;
      padding-inline: 16px;
    }
    .view-rows > div {
      margin: 0px;

      border: solid 1px var(--border-default);
      padding: 12px;
    }

    .slick-track {
      height: 100%;
      display: block;
      margin-block: auto;
    }

    button[type="button"].slick-arrow {
      display: none !important;
    }

    ul.slick-dots {
      bottom: -38px;
      & > li button::before {
        color: var(--red-color);
      }

      & > li {
        margin: 0;
      }
    }

    .views-view-responsive-grid__item {
      position: relative;
      & > figure,
      & > img {
        width: 25px;
        height: 25px;
        object-fit: contain;
      }
      & .views-view-responsive-grid__item-inner {
        height: 100%;
        position: relative;
      }
      & .views-field-nothing {
        position: absolute;
        display: flex;
        padding: 0px !important;
        top: -5px;

        & > span {
          display: flex;
          justify-content: center;
          align-items: center;
        }
        & > span > img {
          width: 30px;
          height: 30px;
          object-fit: contain;
        }
      }
      & .views-field-nothing-1 > .field-content {
        height: 100%;
        display: flex;
        flex-direction: column;
        gap: 4px;

        color: var(--text-avisos);
        font-size: 8px;
        line-height: 8px;

        & .resumen {
          flex-grow: 1;
        }

        & > a {
          color: #c54752 !important;
          font-weight: 500;
          font-size: 8px;
          line-height: 10px;
          margin-top: 4px;
        }

        & .title {
          padding-left: 40px;
        }

        & .title > a {
          color: black !important;
          font-weight: 700;
          font-size: 10px;
          line-height: 1rem;
        }
      }
    }
  }

  .trescolumn-actualidad {
    max-width: 100%;
  }

  div#calendario-block {
    padding: 25px 20px;
    & .block__title {
      display: none;
    }
    & .block__inner {
      padding: 0px !important;
    }

    & .block__content {
      & .clndr-controls {
        background-color: var(--red-color);
      }

      & .event-item {
        display: grid;
        grid-template-columns: minmax(100px, 1fr) minmax(0, 2fr);

        & > .event-item-name-imagen {
          float: none;
          margin: 0px;
          width: 100%;
          height: 100%;

          & > img {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }
      }

      & .grupo-content-calendar > .event-item-name-fecha {
        padding: 7px 14px;
        color: #212121;
      }
      & .grupo-content-calendar > .event-item-name-titulo {
        padding: 7px 14px;
        color: var(--red-color);
        font-size: 1rem;
        line-height: 1.75rem;
      }

      & > .more-link {
        display: none;
      }
    }

    & #full-clndr .clndr-grid .days .day.event .day-number,
    #full-clndr .clndr-grid .days .empty.event .day-number {
      width: 50%;
    }

    & #full-clndr span.day-number {
      font-size: 0.875rem;
      line-height: 1.25rem;
    }

    & #full-clndr .clndr-grid .days .today {
      border-color: var(--red-color);
      color: var(--red-color);
    }

    & #full-clndr .clndr-grid .days .day:hover {
      background-color: var(--red-color);
      color: white;
    }
  }
}

/* Region bottom  */
.layout__region--bottom {
  & .prefooter {
    width: 100%;
    padding: 2rem;

    background-color: var(--hero-bg);
    & .container {
      max-width: var(--max-w-xl);
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1.15rem;
      margin-inline: auto;
    }

    & .conecta {
      position: relative;
      background-image: url("/sites/pregodella.pro10.portalesmunicipales.es/files/Recursos/flaticon/svg/Blancos/conecta-bg.webp");
      background-position: center;
      background-size: cover;
      display: flex;
      width: 100%;
      align-items: center;
      justify-content: center;
      color: white;
      flex-direction: column;

      & .social {
        display: flex;
        gap: 8px;
        flex-direction: row;

        & > a {
          width: 24px;
        }
      }

      & > * {
        z-index: 20;
      }

      & > h3 {
        max-width: 100px;
        font-size: 10px;
        line-height: 12px;
        font-weight: 700;
        margin: 0px;
        margin-bottom: 4px;
        text-align: center;
      }

      & > p {
        max-width: 400px;
        font-size: 10px;
        font-weight: 400;
        line-height: 12px;
        text-align: center;
        margin-bottom: 4px;
      }
      & > .opacity-layer {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.4);
        z-index: 10;
      }
    }
  }
}

@media screen and (min-width: 768px) {
  /* Navbar */
  div#rid-navbar {
    display: none;
  }
  /* Leaderboard */
  div#leaderboard {
    background-color: var(--red-color);
    display: block;

    & > .regions {
      background-color: transparent !important;
    }

    div#block-buscadorblock {
      & a {
        color: transparent !important;
        background: url("https://pregodella.pro10.portalesmunicipales.es/sites/pregodella.pro10.portalesmunicipales.es/files/Recursos/flaticon/svg/Blancos/buscador-icon.png")
          no-repeat center center;
      }
    }
    & #rid-leaderboard {
      display: flex;
      flex-direction: row;
      justify-content: end;
      max-width: var(--max-w-xl);
      margin-inline: auto;
      align-items: center;
      color: black;
      gap: 20px;
    }
    & ul.menu li {
      padding: 15px 20px;
      margin: 0px !important;
    }

    & a {
      margin: 0px !important;
      color: white;
    }

    #block-languageswitcher {
      & ul.links li a {
        color: white !important;
      }
    }
  }

  /* Header */
  header#masthead {
    padding: 0px;

    & > div.container {
      max-width: var(--max-w-xl) !important;
      display: grid;
      grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);

      & > .region {
        width: 100%;
        display: flex;
        align-items: center;
      }
    }

    div#block-menuprincipal {
      flex-grow: 1;
      display: flex;
      justify-content: center;
      font-size: 17px;
      line-height: 21px;
      font-weight: 500;

      & ul {
        display: flex;
        flex-direction: row;

        & ul {
          flex-direction: column;
          gap: 0px;
          background-color: var(--red-color);
          padding: 10px 0px;
        }
        & ul li {
          background-color: transparent;
          padding: 5px 15px;
        }
        & ul li a {
          color: white !important;
          text-transform: uppercase;
          font-size: 0.875rem;
          line-height: 1.25rem;
          font-weight: 400;
        }
      }
      & li {
        padding: 10px 15px;
        cursor: pointer;
      }

      & li:hover {
        background-color: rgba(0, 0, 0, 0.1);
      }

      & span.sf-sub-indicator {
        display: none !important;
      }

      & li > span,
      & li > a {
        color: black !important;
        padding: 0px;
      }
    }

    #rid-header-first {
      align-items: center;
    }
  }

  /* Main container top region */
  div.layout__region--top {
    display: block;
    background-color: var(--hero-bg) !important;
    padding: 36px 0px 33px 0px;
  }

  /* Default settings container */
  .path-frontpage .block-region-top {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 103px;
    grid-auto-flow: row;
    margin-inline: auto;
    max-width: var(--max-w-xl);

    /* Unused block */
    & #block-content1a80fc21-5999-4658-8941-1a1301bdf16b {
      display: none;
    }

    /* Carrusel */
    & div.block-views-css-class--carrusel-actualidad {
      position: relative;
      display: block;
      margin-block: auto;
      width: 100%;

      & nav.slick__arrow {
        & > button {
          box-shadow: none;
        }

        & > button::before {
          background-color: #383838;
          padding: 5px;
          margin: 0px;
          color: white;
        }
        & > button.slick-next::before {
          color: white !important;
          content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-chevron-right'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") !important;
        }
        & > button.slick-prev::before {
          color: white !important;

          content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-chevron-left'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E") !important;
        }
      }

      & .conjunto-carrusel {
        width: 1050px !important;

        & .views-field-fieldset-2 {
          position: relative;

          & .grupo-info {

            font-size: 1rem;
            line-height: 1.25rem;
            width: 700px;
            height: auto;
          }
        }
      }
    }

    /* Destacados section */
    div#views-blockcarteles-block-1 {
      display: block;
      margin-block: auto;
      width: 100%;
      height: 100%;
      background-color: transparent !important;

      & > div.block__inner {
        padding: 0;

        /* Hide title */
        & > h2.block__title {
          display: none;
        }

        & > div.block__content {
          display: block;
          margin-block: auto;
          width: 100%;
          height: 100%;
        }

        & .view-rows {
          display: grid;
          grid-template-columns: repeat(2, minmax(0, 1fr));
          grid-template-rows: auto;
          gap: 44px;
        }

        & .views-row {
          background-color: white;
          border-radius: 15px;
          border: 1px solid #d3d0d0;
          display: flex;
          flex-direction: column;
          width: 273px;
          margin: 0px;
          position: relative;
          height: 103px;

          padding: 13px 5px 10px 80px;

          & .views-field-field-imagen .field-content {
            width: auto;
            height: 100%;
            border-radius: 15px;
            background-color: var(--red-color);
            aspect-ratio: 15/18;
            position: absolute;
            transform: translate(-98px, -13px);

            & img {
              width: 52px;
              aspect-ratio: 1/1;
            }
          }

          & > div {
            text-align: left;
            margin: 0px;
            padding: 0px;
          }

          & .views-field-title {
            font-size: 15px;
            line-height: 18px;
            font-weight: 600;
            color: black;
            text-transform: none;
          }

          & .views-field-body p {
            font-size: 13px;
            line-height: 16px;
            font-weight: 400;
            color: var(--text-secondary);
          }
        }
      }
    }
  }

  /* Middle region */
  .layout__region--middle {
    background-color: white !important;
    display: block;
    padding-block: 38px;

    .block-region-middle {
      max-width: var(--max-w-xl);
      margin-inline: auto;
      margin-block: 0px;
    }

    /* Actualidad section */
    div#views-blocknoticias-block-3 {
      padding: 0px;
      background-color: transparent !important;
      box-shadow: none;

      & .block__inner {
        & > .block__title {
          font-size: 25px;
          line-height: 30px;
          font-weight: 700;
          margin-bottom: 22px;
          text-align: left;
          color: black;
          text-transform: capitalize;
        }
      }

      & .slick__slide ul {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 35px;
        height: 100%;

        & > li {
          background-color: white;
          padding: 0px;
          width: 100%;
          height: 100%;
          margin: 0px !important;

          & .slide__caption,
          & .slide__link {
            padding: 0px;
            margin: 0px;
          }

          & .slide__link {
            border: 1px solid #d7cfcf;
            padding: 8px 18px 25px 18px;
            font-size: 18px;
            line-height: 26px;
            font-weight: 700;
          }
          & .slide__link > a {
            color: black;
          }
        }
      }

      & nav.slick__arrow {
        & > button::before {
          background-color: var(--red-color);
          padding: 5px;
          margin: 0px;
          color: white;
        }
        & > button.slick-next::before {
          color: white !important;
          content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-chevron-right'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") !important;
        }
        & > button.slick-prev::before {
          color: white !important;

          content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-chevron-left'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E") !important;
        }
      }

      & .more-link {
        display: block;
        margin-top: 0px;

        & a {
          background-color: var(--red-color);
          color: white;
          border-radius: 15px;
          border: none !important;
          padding: 12px 24px;
          font-size: 18px;
          line-height: 26px;
          font-weight: 700;
          text-transform: none;
        }
      }
    }

    /* Carrusel avisos */
    div#views-blockcarrusel-block-2 {
      .carrusel-avisos {
        background-color: white !important;
        margin-bottom: 64px;
        padding-inline: 16px;
      }
      .view-rows > div {
        margin: 0px;

        border: solid 1px var(--border-default);
        padding: 22px 33px 22px 14px;
      }

      .slick-track {
        height: 100%;
        display: block;
        margin-block: auto;
      }

      button[type="button"].slick-arrow {
        display: none !important;
      }

      ul.slick-dots {
        bottom: -38px;
        & > li button::before {
          color: var(--red-color);
        }

        & > li {
          margin: 0;
        }
      }

      .views-view-responsive-grid__item {
        & > figure,
        & > img {
          width: 60px;
          height: 60px;
          object-fit: contain;
        }
        & .views-view-responsive-grid__item-inner {
          height: 100%;
          display: grid;
          grid-template-columns: 106px 1fr;
        }
        & .views-field-nothing {
          position: relative;
          display: flex;
          padding: 0px !important;
          height: 100%;

          & > span {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 100%;
          }
          & > span > img {
            width: 60px;
            height: 60px;
            object-fit: contain;
          }
        }
        & .views-field-nothing-1 > .field-content {
          height: 100%;
          display: flex;
          flex-direction: column;
          gap: 4px;

          color: var(--text-avisos);
          font-size: 15px;
          line-height: 25px;

          & .resumen {
            flex-grow: 1;
          }

          & > a {
            color: #c54752 !important;
            font-weight: 500;
            font-size: 13px;
            line-height: 15px;
            margin-top: 4px;
          }
          & .title {
            padding-left: 0px;
          }

          & .title > a {
            color: black !important;
            font-weight: 700;
            font-size: 16px;
            line-height: 19px;
          }
        }
      }
    }

    .trescolumn-actualidad {
      max-width: 100%;
    }

    div#calendario-block {
      padding-block: 100px;

      & .block__content {
        & .event-item {
          display: block;

          & > .event-item-name-imagen {
            float: left;
            margin-right: 18px;
            width: auto;
            height: auto;

            & > img {
              width: auto;
              height: auto;
              object-fit: cover;
            }
          }
        }

        & .grupo-content-calendar > .event-item-name-fecha {
          padding: 0px;
        }
        & .grupo-content-calendar > .event-item-name-titulo {
          color: var(--red-color);
          font-size: 1.25rem;
          line-height: 1.75rem;
        }
      }

      & #full-clndr .clndr-grid .days .day.event .day-number,
      #full-clndr .clndr-grid .days .empty.event .day-number {
        width: 40%;
      }

      & #full-clndr span.day-number {
        font-size: 1.25rem;
        line-height: 1.75rem;
      }
    }
  }

  /* Region bottom  */
  .layout__region--bottom {
    & .prefooter {
      width: 100%;
      padding: 2rem;

      background-color: var(--hero-bg);
      & .container {
        max-width: var(--max-w-xl);
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.15rem;
        margin-inline: auto;
      }

      & .conecta {
        position: relative;
        background-image: url("/sites/pregodella.pro10.portalesmunicipales.es/files/Recursos/flaticon/svg/Blancos/conecta-bg.webp");
        background-position: center;
        background-size: cover;
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
        color: white;
        flex-direction: column;

        & .social {
          display: flex;
          gap: 1rem;
          flex-direction: row;
          & > a {
            width: auto;
          }
        }

        & > * {
          z-index: 20;
        }

        & > h3 {
          max-width: 350px;
          font-size: 2.5rem;
          line-height: 2.75rem;
          font-weight: 700;
          text-align: center;
          margin-bottom: 1rem;
        }

        & > p {
          max-width: 400px;
          font-size: 2rem;
          font-weight: 400;
          line-height: 2.5rem;
          text-align: center;
          margin-bottom: 1rem;
        }
        & > .opacity-layer {
          position: absolute;
          width: 100%;
          height: 100%;
          top: 0;
          left: 0;
          background-color: rgba(0, 0, 0, 0.4);
          z-index: 10;
        }
      }
    }
  }

  /* Social flotantes */
  .redes-flotante .boton {
    border-radius: 0px;
    background-color: var(--red-color);
  }
}
@media screen and (min-width: 1503px) {
  /* Leaderboard */
  #rid-leaderboard {
    max-width: var(--max-w-2xl) !important;
  }

  /* Header */
  header#masthead {
    padding: 0px !important;

    & > div.container {
      max-width: var(--max-w-2xl) !important;
    }
  }

  .path-frontpage .block-region-top {
    max-width: var(--max-w-2xl);
  }
  .layout__region--middle {
    .block-region-middle {
      max-width: var(--max-w-2xl);
    }
  }
  /* Region bottom  */
  .layout__region--bottom {
    & .prefooter {
      & .container {
        max-width: var(--max-w-2xl);
      }
    }
  }
}
