/* ibm-plex-sans-300 - latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 300;
  src: local(''), url('../fonts/ibm-plex-sans-v8-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../fonts/ibm-plex-sans-v8-latin-300.woff') format('woff');
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* ibm-plex-sans-regular - latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  src: local(''), url('../fonts/ibm-plex-sans-v8-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../fonts/ibm-plex-sans-v8-latin-regular.woff') format('woff');
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* ibm-plex-sans-500 - latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  src: local(''), url('../fonts/ibm-plex-sans-v8-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../fonts/ibm-plex-sans-v8-latin-500.woff') format('woff');
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* ibm-plex-sans-700 - latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  src: local(''), url('../fonts/ibm-plex-sans-v8-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../fonts/ibm-plex-sans-v8-latin-700.woff') format('woff');
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* nunito-regular - latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  src: local(''), url('../fonts/nunito-v25-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../fonts/nunito-v25-latin-regular.woff') format('woff');
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* nunito-700 - latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  src: local(''), url('../fonts/nunito-v25-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../fonts/nunito-v25-latin-700.woff') format('woff');
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* nunito-italic - latin */
@font-face {
  font-family: 'Nunito';
  font-style: italic;
  font-weight: 400;
  src: local(''), url('../fonts/nunito-v25-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../fonts/nunito-v25-latin-italic.woff') format('woff');
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* nunito-700italic - latin */
@font-face {
  font-family: 'Nunito';
  font-style: italic;
  font-weight: 700;
  src: local(''), url('../fonts/nunito-v25-latin-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../fonts/nunito-v25-latin-700italic.woff') format('woff');
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
::-webkit-input-placeholder {
  color: #d8ddf0;
}
:-moz-placeholder {
  color: #d8ddf0;
}
::-moz-placeholder {
  color: #d8ddf0;
}
:-ms-input-placeholder {
  color: #d8ddf0;
}
body {
  font-family: 'Nunito', sans-serif;
  overflow-y: auto;
  overflow-x: hidden;
}
::-webkit-scrollbar-track {
  background: #eee1f5;
  cursor: default;
}
::-webkit-scrollbar-thumb {
  background: #361247;
  cursor: default;
}
.btn {
  background-color: #361247;
}
.btn.btn-circle {
  background-color: #f7b801;
}
.btn.btn-arancione {
  background-color: #ff8d4f;
  color: #1e202b;
  height: 50px;
}
.btn.btn-arancione.is-disabled {
  color: #ff8d4f;
  background-color: #1e202b;
}
.btn.btn-verde-acqua {
  background-color: #3ccfbd;
  color: #1e202b;
  height: 50px;
}
.btn.btn-verde-acqua.is-disabled {
  color: #3ccfbd;
  background-color: #1e202b;
}
.btn.btn-verde-limone {
  background-color: #b2c91e;
  color: #1e202b;
  height: 50px;
}
.btn.btn-verde-limone.is-disabled {
  color: #b2c91e;
  background-color: #1e202b;
}
.btn.btn-blu-chiaro {
  background-color: #8194f7;
  color: #1e202b;
  height: 50px;
}
.btn.btn-blu-chiaro.is-disabled {
  color: #8194f7;
  background-color: #1e202b;
}
.timeline-wrapper {
  height: auto;
}
.timeline {
  background: linear-gradient(180deg, #eee1f5 100px, #fff 101px, #fff 100%);
}
.timeline .row-eventi,
.timeline .row-arte-e-cultura,
.timeline .row-scienza-e-tecnologia {
  position: relative;
  height: calc((100vh - 100px - 20px) / 4);
}
.timeline .row-eventi.is-hidden,
.timeline .row-arte-e-cultura.is-hidden,
.timeline .row-scienza-e-tecnologia.is-hidden {
  opacity: 0;
  pointer-events: none;
  height: 0 !important;
}
.timeline .y-col {
  height: auto;
  min-height: calc(100vh - 20px);
  background: linear-gradient(90deg, #eee1f5 1px, transparent 2px, transparent 100%);
}
.timeline .row-eventi {
  height: calc((100vh - 100px - 20px) / 10 * 3);
}
.timeline .row-arte-e-cultura {
  height: calc((100vh - 100px - 20px) / 10 * 3);
}
.timeline .row-scienza-e-tecnologia {
  height: calc((100vh - 100px - 20px) / 10 * 3);
}
.timeline.zoom-3 .event .event-image {
  background-color: #fff !important;
}
.timeline.zoom-2 .y-col {
  min-height: calc(100vh - 20px);
}
.timeline.zoom-2 .y-col:nth-child(10n + 1) {
  background: linear-gradient(90deg, #eee1f5 1px, transparent 2px, transparent 100%);
}
.timeline.zoom-2 .event.event-eventi.event-range {
  background-color: #ff8d4f;
}
.timeline.zoom-2 .event.event-arte-e-cultura.event-range {
  background-color: #3ccfbd;
}
.timeline.zoom-2 .event.event-scienza-e-tecnologia.event-range {
  background-color: #b2c91e;
}
.timeline.zoom-1 .y-col {
  min-height: calc(100vh - 20px);
}
.timeline.zoom-1 .y-col .y-col-header {
  font-size: 14px;
  line-height: 14px;
  letter-spacing: -2px;
}
.timeline.zoom-1 .y-col .y-col-header span {
  display: none;
}
.timeline.zoom-1 .y-col .y-col-header span small {
  font-size: 10px;
  line-height: 10px;
}
.timeline.zoom-1 .y-col:nth-child(100n + 51) .y-col-header span {
  display: block;
}
.timeline.zoom-1 .y-col.ac:nth-child(50n + 2) {
  background: linear-gradient(90deg, #eee1f5 1px, transparent 2px, transparent 100%);
}
.timeline.zoom-1 .y-col.dc:nth-child(50n + 25) {
  background: linear-gradient(90deg, #eee1f5 1px, transparent 2px, transparent 100%);
}
.timeline.zoom-1 .y-col:last-child {
  background: linear-gradient(90deg, #eee1f5 1px, transparent 2px, transparent 100%);
}
.timeline.zoom-1 .event.event-range {
  width: 8px !important;
}
.timeline.zoom-1 .event .event-image {
  background-color: #fff;
  background-image: none !important;
  border-width: 4px;
}
.timeline.zoom-1 .event.event-eventi.event-range {
  background-color: #ff8d4f;
}
.timeline.zoom-1 .event.event-arte-e-cultura.event-range {
  background-color: #3ccfbd;
}
.timeline.zoom-1 .event.event-scienza-e-tecnologia.event-range {
  background-color: #b2c91e;
}
.timeline .event.event-eventi.event-range {
  background-color: rgba(255, 141, 79, 0.5);
}
.timeline .event.event-eventi .event-image {
  background-color: #ff8d4f;
  border-color: #ff8d4f;
}
.timeline .event.event-arte-e-cultura.event-range {
  background-color: rgba(60, 207, 189, 0.5);
}
.timeline .event.event-arte-e-cultura .event-image {
  background-color: #3ccfbd;
  border-color: #3ccfbd;
}
.timeline .event.event-scienza-e-tecnologia.event-range {
  background-color: rgba(178, 201, 30, 0.5);
}
.timeline .event.event-scienza-e-tecnologia .event-image {
  background-color: #b2c91e;
  border-color: #b2c91e;
}
.sidebar {
  background-color: #60216b;
  border-right: 5px solid #f7b801;
}
.sidebar .sidebar-search .sidebar-search-ere .sidebar-search-ere-close {
  color: #f7b801;
}
.sidebar .sidebar-search .sidebar-search-ere .era-wrapper .era-title {
  color: #fff;
  border-bottom: 1px solid transparent;
}
.sidebar .sidebar-search .sidebar-search-ere .era-wrapper .era-periodi .periodo {
  border-bottom: 1px solid transparent;
}
.sidebar .sidebar-search .sidebar-search-ere .era-wrapper.is-open .era-title {
  border-bottom: 1px solid #f7b801;
}
.sidebar .sidebar-toggle {
  background-color: #f7b801;
}
#toolTip {
  background-color: #361247;
}
#toolTip:after {
  border-color: transparent transparent #361247 transparent;
}
#toolTip.tooltip-eventi .event-tooltip-immagine {
  border-color: #ff8d4f;
}
#toolTip.tooltip-eventi .event-tooltip-info .event-tooltip-date {
  color: #ff8d4f;
}
#toolTip.tooltip-arte-e-cultura .event-tooltip-immagine {
  border-color: #3ccfbd;
}
#toolTip.tooltip-arte-e-cultura .event-tooltip-info .event-tooltip-date {
  color: #3ccfbd;
}
#toolTip.tooltip-scienza-e-tecnologia .event-tooltip-immagine {
  border-color: #b2c91e;
}
#toolTip.tooltip-scienza-e-tecnologia .event-tooltip-info .event-tooltip-date {
  color: #b2c91e;
}
#zoomTool {
  background-color: #361247;
}
#zoomTool img {
  width: auto;
  height: 50px;
}
#zoomTool .zoom-dots .zoom-dot:after {
  background-color: #f7b801;
}
#zoomTool .zoom-dots .zoom-dot.is-active:after {
  background: #f7b801 url('../img/icon-slide.svg') no-repeat center center;
}
#zoomTool .zoom-dots:before {
  background-color: #f7b801;
}
#modal_detail_container #modal_detail_window ::-webkit-scrollbar-thumb {
  background: #361247;
}
#modal_detail_container #modal_detail_content h1 {
  font-weight: 700;
}
#modal_detail_container #modal_detail_content .event-detail[event-type="eventi"] .event-detail-date {
  color: #ff8d4f;
}
#modal_detail_container #modal_detail_content .event-detail[event-type="eventi"] .event-detail-title {
  color: #ff8d4f;
}
#modal_detail_container #modal_detail_content .event-detail[event-type="eventi"] .event-detail-title:after {
  background-color: #ff8d4f;
}
#modal_detail_container #modal_detail_content .event-detail[event-type="eventi"] h3:after {
  background-color: #ff8d4f;
}
#modal_detail_container #modal_detail_content .event-detail[event-type="eventi"] svg {
  fill: #ff8d4f;
}
#modal_detail_container #modal_detail_content .event-detail[event-type="arte-e-cultura"] .event-detail-date {
  color: #3ccfbd;
}
#modal_detail_container #modal_detail_content .event-detail[event-type="arte-e-cultura"] .event-detail-title {
  color: #3ccfbd;
}
#modal_detail_container #modal_detail_content .event-detail[event-type="arte-e-cultura"] .event-detail-title:after {
  background-color: #3ccfbd;
}
#modal_detail_container #modal_detail_content .event-detail[event-type="arte-e-cultura"] h3:after {
  background-color: #3ccfbd;
}
#modal_detail_container #modal_detail_content .event-detail[event-type="arte-e-cultura"] svg {
  fill: #3ccfbd;
}
#modal_detail_container #modal_detail_content .event-detail[event-type="scienza-e-tecnologia"] .event-detail-date {
  color: #b2c91e;
}
#modal_detail_container #modal_detail_content .event-detail[event-type="scienza-e-tecnologia"] .event-detail-title {
  color: #b2c91e;
}
#modal_detail_container #modal_detail_content .event-detail[event-type="scienza-e-tecnologia"] .event-detail-title:after {
  background-color: #b2c91e;
}
#modal_detail_container #modal_detail_content .event-detail[event-type="scienza-e-tecnologia"] h3:after {
  background-color: #b2c91e;
}
#modal_detail_container #modal_detail_content .event-detail[event-type="scienza-e-tecnologia"] svg {
  fill: #b2c91e;
}
#modal_search_container #modal_search_content .event-search.event-eventi {
  color: #ff8d4f;
}
#modal_search_container #modal_search_content .event-search.event-arte-e-cultura {
  color: #3ccfbd;
}
#modal_search_container #modal_search_content .event-search.event-scienza-e-tecnologia {
  color: #b2c91e;
}
#modal_zoom_container #modal_zoom_window {
  background: #361247;
}
#modal_zoom_container #modal_zoom_window ::-webkit-scrollbar-thumb {
  background: #f7b801;
  border-radius: 999px;
}
#modal_zoom_container #modal_zoom_content .zoom-image[event-type="eventi"] {
  color: #ff8d4f;
}
#modal_zoom_container #modal_zoom_content .zoom-image[event-type="arte-e-cultura"] {
  color: #3ccfbd;
}
#modal_zoom_container #modal_zoom_content .zoom-image[event-type="scienza-e-tecnologia"] {
  color: #b2c91e;
}
input {
  font-family: 'Nunito', sans-serif;
  background-color: #361247;
  color: #fff;
}
@media (max-height: 768px) {
  .timeline .row-eventi {
    height: calc((100vh - 100px - 30px) / 2);
  }
  .timeline .row-arte-e-cultura,
  .timeline .row-scienza-e-tecnologia {
    height: calc((100vh - 100px - 30px) / 4);
  }
  .timeline.zoom-4 .row-eventi {
    height: calc((1020px - 100px - 30px) / 10 * 4);
  }
  .timeline.zoom-4 .row-arte-e-cultura {
    height: calc((1020px - 100px - 30px) / 10 * 3);
  }
  .timeline.zoom-4 .row-scienza-e-tecnologia {
    height: calc((1020px - 100px - 30px) / 10 * 3);
  }
}
@media (max-height: 475px) {
  .timeline .row-eventi {
    height: calc((430px - 35px - 30px) / 2);
  }
  .timeline .row-arte-e-cultura,
  .timeline .row-scienza-e-tecnologia {
    height: calc((430px - 35px - 30px) / 4);
  }
  .timeline.zoom-3 .row-eventi {
    height: calc((600px - 35px - 30px) / 10 * 4);
  }
  .timeline.zoom-3 .row-arte-e-cultura {
    height: calc((600px - 35px - 30px) / 10 * 3);
  }
  .timeline.zoom-3 .row-scienza-e-tecnologia {
    height: calc((600px - 35px - 30px) / 10 * 3);
  }
  .timeline.zoom-1 .row-eventi {
    height: calc((635px - 35px - 30px) / 10 * 4);
  }
  .timeline.zoom-1 .row-arte-e-cultura {
    height: calc((635px - 35px - 30px) / 10 * 3);
  }
  .timeline.zoom-1 .row-scienza-e-tecnologia {
    height: calc((635px - 35px - 30px) / 10 * 3);
  }
}
