/*!
    Title: Vertical-Timeline
    Version: 2.0.0
    Last Change: 04/30/17
    Author: Ryan Fitzgerald
    Repo: https://github.com/RyanFitzgerald/vertical-timeline
    Issues: https://github.com/RyanFitzgerald/vertical-timeline/issues
	LICENSE: MIT
*/



.vtimeline {
  position: relative;
  padding: 30px;
  overflow: hidden; }
  .vtimeline:before {
    content: '';
    position: absolute;
    height: 100%;
    width: 29px;
    /* background: #000; */
    background-image: url("../img/road.svg");
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto; }

.vtimeline-point {
  position: relative;
  width: 100%;
  margin-bottom: 30px; }

.vtimeline-icon {
  position: absolute;
  top: 0px;
  height: 60px;
  width: 60px;
	background-image: url("../img/sign.svg");
	background-size: contain;
	background-repeat: no-repeat;
  left: 0;
  right: 0;
  margin: 0 auto;

 }

.vtimeline-block {
  width: 45%;
  margin: 0;
  transition: 0.5s ease all; }

  /* .vtimeline-block:after {
    content: '';
    position: absolute;
    top: 13px;
    left: 45%;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #eee;
    border-right: none; }
*/

  .vtimeline-block:after {
    content: '';
    position: absolute;
    top: 1.5em;
    left: 5%;
    width: 45%;
    height: 1;
    border: 1px solid #000;
	  z-index: -1
}

.vtimeline-right:after {
	/* orignal code 
	left: auto;
    right: 35%;
	width: 15%;
	*/
	left: 50%;
    width: 4em;
}

.vtimeline-right {
  margin-left: 55%; }
  .vtimeline-right.vt-animate-slide .vtimeline-content {
    -webkit-transform: translateX(100%);
            transform: translateX(100%); }
  .vtimeline-right .vtimeline-date {
	  /* orignal code 
    left: auto;
    right: 55%; 
	*/
	left: calc( 50vw + 2em );
    right: auto;
}
  /*.vtimeline-right:after {
    left: auto;
    right: 45%;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: none;
    border-right: 10px solid #eee; }
*/

.vtimeline-date {
  position: absolute;
	/* original code 
  left: 55%;
  top: 15px;
  font-size: 0.8em;
	*/
    position: absolute;
    left: 43%;
    top: -1em;
    font-size: 0.8em;
}

.vtimeline-content {
  transition: 0.5s ease all;
	padding: 10px;
}


.vt-animate-fade {
  opacity: 0; }

.vt-animate-slide {
  opacity: 0; }
  .vt-animate-slide .vtimeline-content {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%); }

.vt-noarrows:after {
  content: none; }

@media only screen and (max-width: 992px) {
	.vtimeline {
		padding: 30px 0 30px 30px;
	}
  .vtimeline:before {
    left: 30px;
    right: auto;
    margin: 0; }
  .vtimeline-icon {
    left: -15px;
    right: auto;
    margin: 0; }
  .vtimeline-block {
    width: 85%;
    margin-left: 15%; }
    .vtimeline-block:after {
      left: auto;
      right: 85%;
      border-top: 10px solid transparent;
      border-bottom: 10px solid transparent;
      border-left: none;
      border-right: 10px solid #eee; }
  .vtimeline-date {
    position: relative;
    display: block;
    top: 0;
    left: 0;
    right: auto;
    background: #fff; }
  .vtimeline-right .vtimeline-date {
    right: auto;
	left: auto}
  .vtimeline.basic .vtimeline-date {
    padding: 10px 10px 0 10px; }
  .vt-animate-slide .vtimeline-content {
    -webkit-transform: translateX(100%);
            transform: translateX(100%); } }
