

.my-timeline{
    overflow: hidden;
    position: relative;
}
.my-timeline .timeline{ position: relative; }

.my-timeline .timeline:before,
.my-timeline .timeline:after{
    content: "";
    display: block;
    width: 100%;
    clear: both;
}
.my-timeline .timeline:before{
	/*    width: 10px;
		height: 10px;
		border-radius: 50%;
		border: 3px solid #fff;
		background: #f4a24c;
		box-sizing: content-box;
		margin: auto;
		position: absolute;
		top: 0;
		left: 1%;
		bottom: 0;
		right: 0;
		z-index: 2;*/
}
.my-timeline .timeline-icon{
    width: 5px;
    height: 100%;
	/* border-radius: 0 12px 12px 0;*/
    background: lightgray; /*#f4a24c;*/
    position: absolute;
    top: 0;
    left: 51%;
    z-index: 1;
    transform: translateX(-50%);
}
.my-timeline .timeline-icon:before{
    content: "";
    width: 47px;
    height: 4px;
    background: lightgray; /*#f4a24c;*/
    margin: auto 0;
    position: absolute;
    top: 0;
    left: 0px;
    bottom: 0;
}
.my-timeline .timeline-icon:after{
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: lightgray; /*#f4a24c;*/
    margin: auto 0;
    position: absolute;
    top: 0;
    left: 45px;
    bottom: 0;
}
.my-timeline .timeline-content{
    width: 50%;
    padding: 30px 15px 30px 10px;
	text-align: right;
}
.my-timeline .title{
    font-size: 24px;
    font-weight: bold;
    color: #f4a24c;
    text-align: center;
    margin: 0 0 7px 0;
}
.my-timeline .description{
    font-size: 13px;
    color: #959595;
    line-height: 20px;
    margin: 0;
}
.my-timeline b{
	font-weight: 600;
	color:#333;
	font-size: 14px;
}

.my-timeline .icon{
    width: 50%;
    height: auto;
    padding-left: 85px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
.my-timeline .icon i{
    display: inline-block;
    width: 85px;
    height: 85px;
    line-height: 87px;
    border-radius: 50%;
    background: #f4a24c;
    font-size: 54px;
    color: #fff;
    text-align: center;
    margin-right: 20px;
}
.my-timeline .year{
    display: inline-block;
    font-size: 30px;
    font-weight: bold;
    line-height: 36px;
    color: #797979;
    position: relative;
	font-family: 'oswald', sans-serif !important;
	/* top: -6px;*/
}
.my-timeline .timeline:nth-child(2n):before{ left: -2%; }
.my-timeline .timeline:nth-child(2n) .timeline-icon{
	/* border-radius: 12px 0 0 12px;*/
    left: 51%;
}
.my-timeline .timeline:nth-child(2n) .timeline-icon:before{ left: -47px; }
.my-timeline .timeline:nth-child(2n) .timeline-icon:after{ left: -62px; }
.my-timeline .timeline:nth-child(2n) .timeline-content{
    float: right;
    padding: 20px 10px 20px 30px;
	text-align: left;
}
.my-timeline .timeline:nth-child(2n) .icon{
    padding: 0 65px 0 0;
    text-align: right;
    right: auto;
    left: 0;
}
.my-timeline .timeline:nth-child(2n) .icon i{
    float: right;
    margin: 0 0 0 20px;
}
.my-timeline .timeline:nth-child(2n) .year{ /*top: 24px; */}
.my-timeline .timeline:nth-child(2n):before,
.my-timeline .timeline:nth-child(2n) .timeline-icon,
.my-timeline .timeline:nth-child(2n) .timeline-icon:before,
.my-timeline .timeline:nth-child(2n) .timeline-icon:after,
.my-timeline .timeline:nth-child(2n) .icon i{ background: lightgray /*#f26f77*/; }
.my-timeline .timeline:nth-child(2n) .title{ color: #f26f77; }
/*.main-timeline .timeline:nth-child(3n):before,
.main-timeline .timeline:nth-child(3n) .timeline-icon,
.main-timeline .timeline:nth-child(3n) .timeline-icon:before,
.main-timeline .timeline:nth-child(3n) .timeline-icon:after,
.main-timeline .timeline:nth-child(3n) .icon i{ background: lightgray #48aeba; }
.main-timeline .timeline:nth-child(3n) .title{ color: #48aeba; }
.main-timeline .timeline:nth-child(4n):before,
.main-timeline .timeline:nth-child(4n) .timeline-icon,
.main-timeline .timeline:nth-child(4n) .timeline-icon:before,
.main-timeline .timeline:nth-child(4n) .timeline-icon:after,
.main-timeline .timeline:nth-child(4n) .icon i{ background: lightgray #a3ba74; }
.main-timeline .timeline:nth-child(4n) .title{ color: #a3ba74; }*/
@media only screen and (max-width: 767px){
    .my-timeline .timeline:before,
    .my-timeline .timeline:nth-child(2n):before{
        margin: 0 auto;
        top: 4px;
        left: 0;
        right: 0;
    }
    .my-timeline .timeline-icon,
    .my-timeline .timeline:nth-child(2n) .timeline-icon{
        width: 100%;
        height: 5px;
        /*border-radius: 0 0 12px 12px;*/
        top: 0;
        left: 0;
        transform: translateX(0);
    }
    .my-timeline .timeline-icon:before,
    .my-timeline .timeline:nth-child(2n) .timeline-icon:before{
        width: 0px;
        height: 20px;
        margin: 0 auto;
        top: auto;
        left: 0;
        bottom: -20px;
        right: 0;
    }
    .my-timeline .timeline-icon:after,
    .my-timeline .timeline:nth-child(2n) .timeline-icon:after{
        margin: 0 auto;
        top: auto;
        left: 0;
        bottom: -32px;
        right: 0;
		display:none;
    }
    .my-timeline .timeline-content,
    .my-timeline .timeline:nth-child(2n) .timeline-content{
        float: none;
        width: 100%;
        padding: 80px 20px 30px 20px;
        text-align: center;
    }
    .my-timeline .icon,
    .my-timeline .timeline:nth-child(2n) .icon{
        width: 100%;
        text-align: center;
        padding: 0;
        top: 40px;
        right: 0;
        transform: translateY(0);
    }
    .my-timeline .icon i,
    .my-timeline .timeline:nth-child(2n) .icon i{
        float: none;
        width: 70px;
        height: 70px;
        line-height: 74px;
        font-size: 44px;
        margin: 0 20px 0 0;
    }
    .my-timeline .timeline:nth-child(2n) .year{ top: -6px; }
}

.passaggi{
	position: relative;
}

.passaggi b{
	font-weight: 700;
}
/*verticale numerato*/
.passaggi>li::before{
	content:'';
	position: absolute;
	width: 3px;
	background-color: #E7E7E7;
	top: 0;
	bottom: 0;
	left:-19px;
}

/*Circle*/
.passaggi>li::after{
    text-align: center;
    padding-top:12px;
	z-index: 10;
	content:counter(item);
	position: absolute;
	width: 50px;
	height: 50px;
	/*border:3px solid white;*/
	background-color: #E7E7E7;
	border-radius: 50%;
	top:0;
	left:-43px;
	font-size:20px;
	font-weight: 900;
	color:white;
}

/*Content*/
.passaggi>li{
	counter-increment: item;
	padding: 15px 15px;
	margin-left: 0px;
	min-height:70px;
	position: relative;
	background-color: white;
	list-style: none;
}
.passaggi>li:nth-last-child(1)::before{
	width: 0px;

}

