:root {
  --container-margin: (100vw - 1260px) / 2;
  --navbar-height: 62px;
}

@media (max-width: 1300px) {
  :root {
    --container-margin: (100vw - 1000px) / 2;
    --navbar-height: 64px;
  }
}

@media (max-width: 1100px) {
  :root {
    --container-margin: (100vw - 700px) / 2;
    --navbar-height: 52px;
  }
}

@media (max-width: 768px) {
  :root {
    --container-margin: (100vw - 500px) / 2;
  }
}

@media (max-width: 576px) {
  :root {
    --container-margin: 15px;
  }
}

.green {
  color: #3cb5a1;
}

.yellow {
  color: #f0af36;
}

.red {
  color: #ff6767;
}

.subtEventi {
  margin-top: 30px;
}

.subtEventi .addedSubtitleEvents {
  color: #304a70;
  font-size: 30px;
  font-weight: 700;
  line-height: 36.57px;
  text-align: left;
}

.subtEventi .addedButtonEvents {
  z-index: 1;
  position: relative;
  font-size: 16px;
  line-height: 1.25;
  color: #ffffff !important;
  background-color: #f0af36;
  padding: 16px 15px;
  font-weight: 700;
  display: block;
  text-align: center;
  margin-bottom: 20px;
  max-width: 160px;
}

.subtEventi .addedButtonEvents:hover {
  color: #ffffff;
  background-color: #f0af36;
  text-decoration: none;
}

@media (max-width: 765px) {
  .subtEventi .addedSubtitleEvents {
    font-size: 26px;
    line-height: 30px;
  }
}

.agenda-section {
  position: relative;
  z-index: 2;
  color: #304a70;
  background-color: #ffffff;
  padding: 18px 0;
}

.agenda-section:first-of-type {
  margin-top: -120px;
  padding: 48px 0;
}

.agenda-section .section-title {
  font-size: 2rem;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 32px;
}

.agenda-section .yellow-button {
  font-size: 1rem;
  line-height: 1.25;
  color: #ffffff !important;
  background-color: #f0af36;
  padding: 12px;
  font-weight: 700;
  width: 100%;
  display: block;
  text-align: center;
}

.agenda-section .subsection-title {
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
}

.agenda-section .decorative-text {
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 700;
  padding-left: 20px;
  padding-top: 48px;
  padding-bottom: 48px;
  padding-right: 130px;
  position: relative;
}

.agenda-section .decorative-text::after {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 42%;
  content: "";
  background-color: #ebf8f6;
  z-index: -1;
}

.agenda-section .little-blue-text {
  font-size: 1.5rem;
  line-height: 29.26px;
  font-weight: 700;
  padding-top: 32px;
  padding-left: 6px;
  padding-bottom: 32px;
  position: relative;
}

.agenda-section .little-blue-text::after {
  position: absolute;
  top: 0;
  left: -10px;
  height: 100%;
  width: 37%;
  content: "";
  background-color: #ebf8f6;
  z-index: -1;
}

.agenda-section .decorative-textsecond {
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 700;
  padding: 48px 18px;
  position: relative;
}

.agenda-section .decorative-textsecond::after {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  content: "";
  background-color: #ebf8f6;
  z-index: -1;
}

.agenda-section .section-tag {
  font-size: 0.875rem;
  line-height: 1.25;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.agenda-section .event-title {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 24px;
}

.agenda-section .event-title1 {
  font-size: 30px;
  font-weight: 700;
  line-height: 36.57px;
  margin-bottom: 24px;
}

@media (max-width: 767px) {
  .agenda-section .event-title1 {
    font-size: 26px;
  }
}

.agenda-section .event-paragraph {
  font-size: 1rem;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.agenda-section .event-paragraph .contentevent {
  line-height: 19.5px;
}

.agenda-section .ParagraphEvent {
  font-size: 1rem;
  margin-bottom: 18px;
  padding-top: 110px;
}

.agenda-section .ParagraphEvent .contentevent {
  line-height: 19.5px !important;
}

@media (max-width: 676px) {
  .agenda-section .ParagraphEvent {
    padding-top: 40px;
  }
}

.agenda-section .section-info {
  z-index: 2;
  pointer-events: none;
}

.agenda-section .section-info h2 {
  font-weight: 700;
  font-size: 2em;
  line-height: 1.2;
  margin-top: 4px;
  margin-bottom: 16px;
}

.agenda-section .section-info p {
  font-size: 0.9em;
  line-height: 1.2;
  padding-right: 12px;
}

.sub-t-wrapp {
  padding: 60px 0;
  position: relative;
  margin-top: -60px;
}

.sub-t-wrapp::after {
  position: absolute;
  background-color: #ffffff;
  top: 0;
  right: 50px;
  content: "";
  height: 90%;
  width: 100vw;
}

.sub-t-wrapp .text-sub {
  font-weight: 400;
  font-size: 30px;
  line-height: 36.57px;
  color: #304a70;
  z-index: 1;
  position: relative;
  padding-right: 80px;
}

@media (max-width: 764px) {
  .sub-t-wrapp {
    padding: 30px 5px;
  }

  .sub-t-wrapp::after {
    position: absolute;
    background-color: #ffffff;
    top: 0;
    right: 0;
    content: "";
    height: 90%;
    width: 100vw;
  }

  .sub-t-wrapp .text-sub {
    font-size: 22px;
    line-height: 23px;
    padding-right: 5px;
  }
}

.videoWrapperEvents {
  margin-top: 30px;
}

.agenda-card-container {
  background-color: #ffffff;
  box-shadow: 0px 6.10837px 18.3251px rgba(0, 0, 0, 0.25);
}

.agenda-card-container .image-container img {
  width: 100%;
}

.agenda-card-container .content {
  padding: 18px;
  padding-bottom: 26px;
  display: flex;
  flex-direction: column;
}

.agenda-card-container .content .content-section {
  display: flex;
  flex-direction: column;
}

.agenda-card-container .content .content-section .date {
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 6px;
}

.agenda-card-container .content .content-section .title {
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 0;
}

.agenda-card-container .content .contentother {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 30px;
  padding-bottom: 10px;
}

.agenda-card-container .content .contentother .subtitle {
  color: #f0af36;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  margin-bottom: -13px;
}

.agenda-card-container .content .contentother .butonat .button1 {
  font-size: 16px;
  font-weight: 700;
  color: #f0af36;
  border: solid 1px #f0af36;
  padding: 12px 5px;
  text-decoration: none;
  font-weight: 700;
  margin-left: 12px;
  transition: 0.3s ease;
}

.agenda-card-container .content .contentother .butonat .button1:hover {
  background-color: #f0af36;
  color: #ffffff;
}

.agenda-card-container .content .contentother .butonat .button2 {
  font-size: 16px;
  font-weight: 700;
  min-width: -moz-fit-content;
  min-width: fit-content;
  color: #f0af36;
  border: solid 1px #f0af36;
  padding: 12px 5px;
  text-decoration: none;
  font-weight: 700;
  margin-left: 12px;
  transition: 0.3s ease;
}

.agenda-card-container .content .contentother .butonat .button2:hover {
  background-color: #f0af36;
  color: #ffffff;
}

@media (max-width: 766px) {
  .agenda-card-container .content .contentother .butonat {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .agenda-card-container .content .contentother .butonat .button1 {
    margin-bottom: 15px;
  }
}

@media (max-width: 765px) {
  .agenda-card-container .content .contentother {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .agenda-card-container .content .contentother .subtitle {
    margin-bottom: 30px;
  }

  .agenda-card-container .content .contentother .butonat {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .agenda-card-container .content .contentother .butonat .button1 {
    margin-bottom: 15px;
  }
}

.small-agenda-card-container {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  height: 100%;
  transition: 0.3s ease;
}

.small-agenda-card-container:hover {
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
}

.small-agenda-card-container .image-container {
  width: 100%;
  padding-bottom: 56.25%;
  position: relative;
}

.small-agenda-card-container .image-container img {
  position: absolute;
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.small-agenda-card-container .content {
  padding: 18px;
  flex: 1;
  flex-direction: column;
}

.small-agenda-card-container .content .title {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 18px;
}

.small-agenda-card-container .content .description {
  font-size: 0.875rem;
  line-height: 1.2;
  margin-bottom: 18px;
}

.slider-section {
  position: relative;
  width: 100%;
  z-index: 1;
}

@media (max-width: 768px) {
  .slider-section {
    overflow-x: hidden;
  }
}

.slider-section .slider-container {
  position: relative;
  width: 100%;
  min-height: 400px;
  position: relative;
}

.slider-section .slider-container::before {
  position: absolute;
  height: 100%;
  width: 100%;
  right: calc(100% + 8px);
  top: -10px;
  content: "";
  background-color: #ffffff;
  z-index: 2;
}

@media (max-width: 1099px) {
  .slider-section .slider-container::before {
    display: none;
  }
}

.slider-section .slider-container .swiper-wrapper {
  height: initial;
  position: relative;
  left: 0;
}

.slider-section .slider-container .swiper-wrapper .swiper-slide {
  transition: 0.3s ease;
}

.slider-section .slider-container .swiper-wrapper .swiper-slide .video-card {
  transition: 0.3s ease;
}

.slider-section .slider-container .swiper-wrapper .swiper-slide .video-card .thumbnail-container {
  transition: 0.3s ease;
}

.slider-section .slider-container .swiper-wrapper .swiper-slide .video-card .thumbnail-container .video-thumbnail {
  transition: 0.3s ease;
}

.slider-section .controls-wrapper {
  position: absolute;
  top: 64px;
  right: 0;
  transform: translateX(50%);
  z-index: 100;
}

@media (max-width: 576px) {
  .slider-section .controls-wrapper {
    transform: translateX(0);
  }
}

.slider-section .controls-wrapper .swiper-button-disabled {
  opacity: 0.8;
}

.slider-section .controls-wrapper * {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 48px;
  background-color: #3cb5a1;
  padding: 16px;
  border-radius: 24px;
  cursor: pointer;
}

.slider-section .controls-wrapper .next-slide {
  margin-top: 18px;
}

