.textrig { text-align:right;}
.textlef { text-align:left}
.cd-container { /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
width:100%; max-width: 1170px; margin: 0 auto; }
.cd-container::after { /* clearfix */
content: ''; display: table; clear: both; }
#cd-timeline { position: relative; padding:0; margin-top: 2em; margin-bottom: 2em; }
#cd-timeline::before {content: ''; position: absolute; top: 0; left: 18px; height: 100%; width: 1px; background: #b46f6e; }
.cd-timeline-block { position: relative; margin:0em 0; }
.cd-timeline-block:after { content: ""; display: table; clear: both; }
.cd-timeline-block:first-child { margin-top: 0; }
.cd-timeline-block:last-child { margin-bottom: 0; }
.cd-timeline-img { position: absolute; top: 0; left: 0; width:26px; height:26px; border-radius: 50%; border:#ff0000 1px solid; background:#93302f}
.cd-timeline-img span { display: block; width: 14px; height: 14px; border-radius: 50%; position: relative; left: 65%; top: 20%; margin-left: -11px; background: #ff0000 }
.cd-timeline-content { position: relative; color:#fbd4d4}
.cd-timeline-content h2 { color:#fff; font-size:30px }
.cd-timeline-content p {font-size:12px;line-height:18px; position:relative; padding:0 35px}
.cd-timeline-content p span { font-weight:bold; position:absolute;}
.cd-timeline-block .textlef p span { left:0}
.cd-timeline-block .textrig p span { right:0}

@media only screen and (min-width: 1170px) {
#cd-timeline { margin-top: 3em; margin-bottom: 3em; }
#cd-timeline::before { left: 50%; margin-left: -2px; }
.cd-timeline-block { margin:0em 0; }
.cd-timeline-block:first-child { margin-top: 0; }
.cd-timeline-block:last-child { margin-bottom: 0; }
.cd-timeline-img {left: 50%; margin-left: -14px; -webkit-transform: translateZ(0); -webkit-backface-visibility: hidden;}
.cssanimations .cd-timeline-img.is-hidden { visibility: hidden; }
.cssanimations .cd-timeline-img.bounce-in { visibility: visible; -webkit-animation: cd-bounce-1 0.6s; -moz-animation: cd-bounce-1 0.6s; animation: cd-bounce-1 0.6s; }
.cd-timeline-content { margin-left: 0; padding:0em; width: 45%; }
.cd-timeline-block:nth-child(even) .cd-timeline-content { float: right; }
.cd-timeline-block:nth-child(even) .cd-timeline-content::before { top: 24px; left: auto; right: 100%; border-color: transparent; border-right-color: #ffffff; }
.cssanimations .cd-timeline-content.is-hidden { visibility: hidden; }
.cssanimations .cd-timeline-content.bounce-in { visibility: visible; -webkit-animation: cd-bounce-2 0.6s; -moz-animation: cd-bounce-2 0.6s; animation: cd-bounce-2 0.6s; }
.cssanimations .cd-timeline-block:nth-child(even) .cd-timeline-content.bounce-in { -webkit-animation: cd-bounce-2-inverse 0.6s; -moz-animation: cd-bounce-2-inverse 0.6s; animation: cd-bounce-2-inverse 0.6s; }
}

@media only screen and (max-width:1170px){
#cd-timeline { margin-top: 3em; margin-bottom: 3em; }
#cd-timeline::before { margin-left:5px}
.cd-timeline-img { margin-left:10px}
.cd-timeline-content { margin-left:50px; margin-bottom:20px;}
.cd-timeline-block .textrig  { text-align:left}
.cd-timeline-content p { padding-right:10px}
.cd-timeline-block .textrig p span { left:0}
.cd-timeline-content h2 { font-size:1.3rem}
}
@media only screen and (max-width:768px){	
#cd-timeline { margin-top: 3em; margin-bottom: 3em; }
#cd-timeline::before { margin-left:5px}
.cd-timeline-img { margin-left:10px}
.cd-timeline-content { margin-left:50px; padding:10px 10px 15px 15px; background:#fff; border-radius:10px; color:#666; margin-bottom:15px; width:91%}
.cd-timeline-block .textrig  { text-align:left}
.cd-timeline-content p { padding-right:10px}
.cd-timeline-block .textrig p span { left:0}
.cd-timeline-content h2 { color:#333; font-size:1.1rem}
}




 @-webkit-keyframes cd-bounce-1 {  0% {
 opacity: 0;
 -webkit-transform: scale(0.5);
}
 60% {
 opacity: 1;
 -webkit-transform: scale(1.2);
}
 100% {
 -webkit-transform: scale(1);
}
}
@-moz-keyframes cd-bounce-1 {  0% {
 opacity: 0;
 -moz-transform: scale(0.5);
}
 60% {
 opacity: 1;
 -moz-transform: scale(1.2);
}
 100% {
 -moz-transform: scale(1);
}
}
@keyframes cd-bounce-1 {  0% {
 opacity: 0;
 -webkit-transform: scale(0.5);
 -moz-transform: scale(0.5);
 -ms-transform: scale(0.5);
 -o-transform: scale(0.5);
 transform: scale(0.5);
}
 60% {
 opacity: 1;
 -webkit-transform: scale(1.2);
 -moz-transform: scale(1.2);
 -ms-transform: scale(1.2);
 -o-transform: scale(1.2);
 transform: scale(1.2);
}
 100% {
 -webkit-transform: scale(1);
 -moz-transform: scale(1);
 -ms-transform: scale(1);
 -o-transform: scale(1);
 transform: scale(1);
}
}
  
@-webkit-keyframes cd-bounce-2 {  0% {
 opacity: 0;
 -webkit-transform: translateX(-100px);
}
 60% {
 opacity: 1;
 -webkit-transform: translateX(20px);
}
 100% {
 -webkit-transform: translateX(0);
}
}
@-moz-keyframes cd-bounce-2 {  0% {
 opacity: 0;
 -moz-transform: translateX(-100px);
}
 60% {
 opacity: 1;
 -moz-transform: translateX(20px);
}
 100% {
 -moz-transform: translateX(0);
}
}
@keyframes cd-bounce-2 {  0% {
 opacity: 0;
 -webkit-transform: translateX(-100px);
 -moz-transform: translateX(-100px);
 -ms-transform: translateX(-100px);
 -o-transform: translateX(-100px);
 transform: translateX(-100px);
}
 60% {
 opacity: 1;
 -webkit-transform: translateX(20px);
 -moz-transform: translateX(20px);
 -ms-transform: translateX(20px);
 -o-transform: translateX(20px);
 transform: translateX(20px);
}
 100% {
 -webkit-transform: translateX(0);
 -moz-transform: translateX(0);
 -ms-transform: translateX(0);
 -o-transform: translateX(0);
 transform: translateX(0);
}
}
@-webkit-keyframes cd-bounce-2-inverse {  0% {
 opacity: 0;
 -webkit-transform: translateX(100px);
}
 60% {
 opacity: 1;
 -webkit-transform: translateX(-20px);
}
 100% {
 -webkit-transform: translateX(0);
}
}
@-moz-keyframes cd-bounce-2-inverse {  0% {
 opacity: 0;
 -moz-transform: translateX(100px);
}
 60% {
 opacity: 1;
 -moz-transform: translateX(-20px);
}
 100% {
 -moz-transform: translateX(0);
}
}
@keyframes cd-bounce-2-inverse {  0% {
 opacity: 0;
 -webkit-transform: translateX(100px);
 -moz-transform: translateX(100px);
 -ms-transform: translateX(100px);
 -o-transform: translateX(100px);
 transform: translateX(100px);
}
 60% {
 opacity: 1;
 -webkit-transform: translateX(-20px);
 -moz-transform: translateX(-20px);
 -ms-transform: translateX(-20px);
 -o-transform: translateX(-20px);
 transform: translateX(-20px);
}
 100% {
 -webkit-transform: translateX(0);
 -moz-transform: translateX(0);
 -ms-transform: translateX(0);
 -o-transform: translateX(0);
 transform: translateX(0);
}
}
