/* CCPA */

#moove_gdpr_cookie_info_bar {
  border: 1px solid #666 !important;
  border-radius: 0 !important;
}

.change-settings-button {
  height: auto !important;
  display: inline !important;
  margin-bottom: 0 !important;
  float: none !important;
}

.moove-gdpr-button-holder button {
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
}

#moove-gdpr-menu li button {
  float: none !important;
  font-weight: 500 !important;
  letter-spacing: .02em !important;
  font-size: 16px !important;
}

.moove-gdpr-modal-footer-content button {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  height: 40px !important;
  line-height: 40px !important;
}

#moove_gdpr_save_popup_settings_button:not(.gdpr-floating-button-custom-position) {
  bottom: 60px !important;
}


/* MEDIA */
@media screen and (max-width: 768px) {
  .mgbutton.moove-gdpr-infobar-settings-btn.change-settings-button {
    height: 40px !important;
    margin-top: 0 !important;
  }
}

@media screen and (max-width: 440px) {
  .moove-gdpr-modal-footer-content button {
    padding-right: 4px !important;
    padding-left: 4px !important;
  }
}

@media screen and (max-width: 1420px) {
  .logo-stazione {
    display: none !important;
  }
}

.logo-stazione {
  position: fixed;
  right: 0;
  bottom: 240px;
  z-index: 2;
  max-width: 200px;
}

@media screen and (max-width: 1620px) {
  .logo-stazione {
    width: 110px;
  }
}

/* Smart Chiasso Integration */

.loader {
  width: 48px;
  height: 48px;
  border: 5px solid #ccc;
  border-top-color: #2790ba;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 50px auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.smartapp-latest-news.loading {
  display: block;
}

.smartapp-latest-news {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 10px;
  margin: 20px auto;
  padding: 10px;
}

.news-content h3 {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  color: #527182;
  font-size: 26px;
  line-height: 36px;
  margin: 0 0 5px;
}

.news-content .news-description {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #191919;
  line-height: 28px;
  letter-spacing: 0.2px;
  display: block;
  max-height: 166px;
  overflow: hidden;
  margin-bottom: 25px;
}

.news-content a {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  transition: all .2s ease;
  line-height: 21px;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease-out;
  color: #2790ba !important;
}

.news-content a:hover {
  border-bottom-color: #2790ba;
}

.smartapp-all-news {}

.smartapp-all-news .news-item {
  width: 100%;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #d2d4d9;
}

.smartapp-all-news .news-item .news-date {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #7b7b7b;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  position: relative;
}

.entry-date-appchiasso {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  font-size: 18px;
  font-style: italic;
  margin-top: -30px;
  display: block;
}

.page-template-news-singlepage #dataSmartAppContent img {
  object-fit: cover;
}

#dataSmartAppNotices {
  display: block !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important
}

#dataSmartAppNotices .notices-content a {
  color: #349ec8;
  font-size: 14px;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  transition: all 0.2s;
}

#dataSmartAppNotices .notices-item {
  border-bottom: 1px solid #d7d7d7;
  margin-bottom: 15px;
}

#dataSmartAppNotices .notices-content .notice-date {
  color: #332424;
  font-size: 12px;
  line-height: 21px;
  margin-bottom: 14px;
  font-weight: 500;
}

#dataSmartAppContent img {
  object-fit: cover;
}

.all-event-link {
  font-weight: 600 !important;
}

#dataSmartAppContent img {
  object-fit: cover;
}

#dataSmartAppContentEvents img {
  object-fit: cover;
}

.app-event-image img {
  object-fit: cover !important;
}