.row-dd {
  justify-content: center;

  .slider-wrapper {
    width: 800px;
    position: relative;
    margin-left: auto;
    margin-right: auto;

    @media (max-width: 850px) {
      width: 708px;
    }

    @media (max-width: 435px) {
      width: 330px;
    }

    .ddSwiper {
      .ddWrapper {
        .swiper-slide {
          .slide {
            display: flex;
            justify-content: center;
            .figure {
              position: relative;
              margin: 0 !important;

              .image {
                width: 100%;
                height: 342px;
                object-fit: cover;
                cursor: pointer;
                padding: 0 !important;

                @media (max-width: 435px) {
                  height: 199px;
                }
              }
              .button-zoom-image {
                position: absolute;

                background-color: transparent;
                border: none;

                bottom: 14px;
                right: 16px;

                @media (max-width: 435px) {
                  right: 10px;
                }
              }
            }
          }
        }
      }

      .button-wrapper {
        display: flex;
        justify-content: center;
        margin-top: 10px;
        margin-bottom: 32px;

        @media (max-width: 435px) {
          margin-top: 12px;
        }

        .button {
          border: solid 1px;
          padding: 30px 34px;
          cursor: pointer;

          @media (max-width: 435px) {
            padding: 20px 24px !important;
          }
        }
      }

      .progress-wrapper {
        position: absolute;
        width: 67px;
        display: flex;
        flex-direction: column;
        left: 50%;
        transform: translate(-50%, -100%);
        z-index: 20;
        justify-content: center;

        .swiper-pagination-dd {
          background-color: rgba(255, 255, 255, 0.1);
          --swiper-theme-color: #fff;
          height: 2px;
        }

        .swiper-pagination-fdd {
          display: flex;
          justify-content: center;
          gap: 2px;
          margin-top: 9px;
          font-size: 20px;
          line-height: 23px;
          color: white;

          .initial {
            display: block;
          }
          .divider {
            display: block;
          }
          .final {
            display: block;
          }
        }
      }
    }
  }
}

.new-slider-container {
  margin-bottom: 66px !important;
  @media (max-width: 800px) {
    margin-bottom: 20px !important;
  }

  a {
    h2 {
      margin: 0 !important;
      margin-bottom: 16px !important;
      -webkit-line-clamp: 3 !important;
    }
  }
  .imagem {
    margin-bottom: 12px !important;
  }
  .lista-tags {
    margin: 0 !important;
    min-height: auto !important;
    margin-bottom: 12px !important;

    li {
      margin-bottom: 0 !important;
    }
  }

  .categoria {
    margin-top: 0px !important;
    margin-bottom: 12px !important;
  }

  .botao-sem-border {
    color: #000;
    border-bottom: #000 solid 2px;
  }
}

.new-slider-container:hover {
  .botao-sem-border {
    color: #e7131a;
    border-bottom: #e7131a solid 2px;
  }
}

.is-disabled {
  opacity: 0.5;
}

.new-owl-carousel-front-page {
  @media (max-width: 450px) {
    height: 400px !important;
    .banner-general-video {
      height: 100% !important;
    }
    .videogif {
      object-fit: cover;
      height: 100% !important;
    }
  }
  .owl-stage-outer {
    @media (max-width: 450px) {
      height: 100% !important;
    }
    .owl-stage {
      @media (max-width: 450px) {
        height: 100% !important;
      }

      .owl-item {
        @media (max-width: 450px) {
          height: 100% !important;
        }

        div {
          @media (max-width: 450px) {
            height: 100% !important;
          }
        }
      }
    }
  }
}

.banner-eventos-seccao {
  .fundo-banner-eventos-seccao {
    .conteudo-banner {
      background-color: rgb(0, 0, 0, 0.6);
    }
  }
}

.new-events-carousel {
  width: 50vw;
  left: 40vw;

  .categoria {
    padding: 0 12px !important;
  }

  .new-slider-container {
    margin-bottom: 24px !important;
  }

  .caixa-noticias .barra-partilha-header {
    right: 4px !important;
    margin-top: -28px !important;
  }
  .tipo-eventos {
    h2 {
      height: auto !important;
      padding: 0 12px !important;
      margin-bottom: 12px !important;
      -webkit-line-clamp: 4 !important;
    }

    h3 {
      padding: 0 12px !important;
      margin: 0 !important;
    }
  }
}

.container-for-events {
  .new-slider-container {
    margin-bottom: 32px !important;
  }

  .caixa-noticias .barra-partilha-header {
    right: 10px !important;
  }
  a {
    h2 {
      height: auto !important;
      margin-bottom: 12px !important;
      -webkit-line-clamp: 3 !important;
    }

    h3 {
      padding: 0 !important;
      margin: 0 !important;
    }
  }
}

.banner-eventos-seccao {
  min-height: auto !important;
}

.carousel-competencias-homepage {
  .caixa-competencia {
    position: relative;
    display: inline-block;
  }

  .caixa-competencia::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00000099;
    pointer-events: none;
    z-index: 1;
  }
}

.hide-text {
  text-indent: -9999px;
  white-space: nowrap;
  overflow: hidden;
}

.reasons_row {
  .image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00000099;
    pointer-events: none;
    z-index: 1;
  }
}

.contact_slider {
  .imagebox::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00000099;
    pointer-events: none;
    z-index: 1;
  }
}
