@charset "UTF-8";

#accordionTime .card {
  margin-bottom: 1px;
  border: 0;
}

#accordionTime .card-header {
  padding: 0;
  border-bottom: 0;
  background-color: #fafafa;
}

#accordionTime .card-body {
  padding: 1.25rem 0;
}

#accordionTime .btn-link {
  font-weight: 600;
  border: 0;
  border-left: 3px solid #dddddd;
  display: block;
  padding: 0.7rem;
}

#accordionTime .btn-link[aria-expanded="true"] {
  border-left: 3px solid #e01837;
}

/* --------------------------------

Vertical Timeline - by CodyHouse.co

-------------------------------- */
.cd-timeline {
  overflow: hidden;
  margin: 2em auto;
}

.cd-timeline__container {
  position: relative;

  /* width: 90%; */
  /* max-width: 1170px; */
  margin: 0 auto;
  padding: 2em 0;
}

.cd-timeline__container::before {
  /* this is the vertical line */
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  height: 100%;
  width: 4px;
  background: #eeeeee;
}

@media only screen and (min-width: 1170px) {
  .cd-timeline {
    margin-top: 0;
    margin-bottom: 3em;
  }

  .cd-timeline__container::before {
    left: 50%;
    margin-left: -2px;
  }
}

.cd-timeline__block {
  position: relative;
  margin: 2em 0;
}

.cd-timeline__block:after {
  /* clearfix */
  content: "";
  display: table;
  clear: both;
}

.cd-timeline__block:first-child {
  margin-top: 0;
}

.cd-timeline__block:last-child {
  margin-bottom: 0;
}

@media only screen and (min-width: 1170px) {
  .cd-timeline__block {
    margin: 2em 0;
  }
}

.cd-timeline__img {
  position: relative;
  top: 45px;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  -webkit-box-shadow: 0 0 0 4px white, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
  box-shadow: 0 0 0 4px white, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
}

.cd-timeline__img img {
  display: block;
  width: 24px;
  height: 24px;
  position: relative;
  left: 50%;
  top: 50%;
  margin-left: -12px;
  margin-top: -12px;
}

.cd-timeline__img.cd-timeline__img--picture {
  background: #e01837;
}

.cd-timeline__img.cd-timeline__img--movie {
  background: #e01837;
}

.cd-timeline__img.cd-timeline__img--location {
  background: #e01837;
}

@media only screen and (min-width: 1170px) {
  .cd-timeline__img {
    width: 30px;
    height: 30px;
    left: 50%;
    margin-left: -15px;

    /* Force Hardware Acceleration */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    clear: both;
  }

  .cd-timeline__img.cd-timeline__img--bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-1 0.6s;
    animation: cd-bounce-1 0.6s;
  }
}

@-webkit-keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.cd-timeline__content {
  position: relative;
  margin-left: 60px;
  background: #fafafa;
  border-radius: 0.25em;
  padding: 1em;
  -webkit-box-shadow: 0 3px 0 #eeeeee;
  box-shadow: 0 3px 0 #eeeeee;
}

.cd-timeline__content:after {
  /* clearfix */
  content: "";
  display: table;
  clear: both;
}

.cd-timeline__content::before {
  /* triangle next to content block */
  content: '';
  position: absolute;
  top: 16px;
  right: 100%;
  height: 0;
  width: 0;
  border: 15px solid transparent;
  border-right: 15px solid white;
}

.cd-timeline__content h2 {
  color: #303e49;
  font-size: 1.3rem;
}

/* .cd-timeline__content p,
.cd-timeline__read-more,
.cd-timeline__date {
	font-size: 1.3rem;
} */
.cd-timeline__content p {
  margin: 1em 0 0;

  /* line-height: 1.6; */
}

.cd-timeline__read-more,
.cd-timeline__date {
  display: inline-block;
}

.cd-timeline__read-more {
  float: right;
  padding: .8em 1em;
  background: #acb7c0;
  color: white;
  border-radius: 0.25em;
}

.cd-timeline__read-more:hover {
  background-color: #bac4cb;
}

.cd-timeline__date {
  float: left;
  padding: .5em 0;
  opacity: .7;
}

.cd-timeline__block .timeline-img {
  max-width: 250px;
  margin: 0 auto;
  display: block;
}

/* @media only screen and (min-width: 768px) {
	.cd-timeline__content h2 {
		font-size: 2rem;
	}
	.cd-timeline__content p {
		font-size: 1.6rem;
	}
	.cd-timeline__read-more,
	.cd-timeline__date {
		font-size: 1.4rem;
	}
} */
@media only screen and (min-width: 1170px) {
  .cd-timeline__content {
    margin-left: 0;
    padding: 1.6em;
    width: 45%;

    /* Force Hardware Acceleration */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  .cd-timeline__content::before {
    top: 24px;
    left: 100%;
    border-color: transparent;
    border-left-color: #fafafa;
  }

  .cd-timeline__read-more {
    float: left;
  }

  .cd-timeline__date {
    position: absolute;
    width: 100%;
    left: 120%;
    top: 0px;
    font-size: 1.6rem;
  }

  .cd-timeline__block:nth-child(even) .cd-timeline__content {
    float: right;
    clear: both;
  }

  .cd-timeline__block:nth-child(even) .cd-timeline__content::before {
    top: 24px;
    left: auto;
    right: 100%;
    border-color: transparent;
    border-right-color: #fafafa;
  }

  .cd-timeline__block:nth-child(even) .cd-timeline__read-more {
    float: right;
  }

  .cd-timeline__block:nth-child(even) .cd-timeline__date {
    left: auto;
    right: 120%;
    text-align: right;
  }

  .cd-timeline__content.cd-timeline__content--bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-2 0.6s;
    animation: cd-bounce-2 0.6s;
  }

  .cd-timeline__block .timeline-img {
    max-width: 350px;
    margin: 20px 105px;
  }

  .cd-timeline__block:nth-child(even) .timeline-img {
    float: right;
  }

  .cd-timeline__block:nth-child(even) .cd-timeline__img {}
}

@media only screen and (min-width: 1170px) {
  /* inverse bounce effect on even content blocks */
  .cd-timeline__block:nth-child(even) .cd-timeline__content.cd-timeline__content--bounce-in {
    -webkit-animation: cd-bounce-2-inverse 0.6s;
    animation: cd-bounce-2-inverse 0.6s;
  }
}

/* 201909 Scroll Timeline (jQuery) by Viktor — https://codepen.io/seomoneyaff/pen/KQZYjo */

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

.timeline .wrapper {
  margin: 0 auto;
  padding: 0 50px 50px 150px;
  width: 100%;
}

article.timeline {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.timeline h2.milestone {
  color: #e01837;
  margin: 25px 0 5px;
  font-size: 2rem;
}

article.timeline img.timeline-img {
  position: relative;
  margin: -10px 20px 0 0;
  max-width: 30%;
  float: left;
}

.distanziatore {
  height: 30px;
  clear: both;
}

.distanziatore.bordino {
  border-bottom: 1px solid #dddddd;
}

.timeline h3 {
  font-weight: bold;
  font-size: 1.4em;
  margin: 12px 0 7px;
}

article.timeline p {
  position: relative;
}

.timeline__nav {
  position: fixed;
  z-index: 99;
  top: 0;
  transition: top .3s ease-out;
}

.timeline__nav ul {
  list-style: none;
  list-style-position: inside;
  margin: 15px 0;
}

.timeline__nav ul li {
  margin: 15px 0;
  padding-left: 0;
  list-style-type: none;
  color: #bfc1c3;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all .3s ease-out;
}

.timeline__nav ul li.active {
  font-weight: bold;
  color: #e01837;
  border-bottom: 1px dotted transparent;
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

.timeline__nav ul li:hover {
  color: #000;
}

@media only screen and (max-width: 1000px) {
  .timeline .wrapper {
    padding-right: 0;
  }
}

@media only screen and (max-width: 768px) {
  article.timeline img.timeline-img {
    display: block;
    margin: -10px auto 0;
    max-width: 100%;
    float: none;
  }

  .timeline .wrapper {
    padding: 0 0 50px;
  }

  .timeline__nav {
    display: none;
  }
}