/* Tourbus leg definitions element */
.tourbus-legs {
  display: none;
}

.tourbus-destroy {
  display: none;
}
/* Container for tourbus leg */
.tourbus-leg {
  position: absolute;
  visibility: hidden;
  top: 0;
  border: 1px solid #E5E5E5;
  border-top: 1px solid #f2f2f2;
  box-shadow: 1px 3px 2px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  background: white;
  background: -moz-linear-gradient(top, rgba(255,255,255,1) 34%, rgba(246,246,246,1) 77%, rgba(237,237,237,1) 90%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(255,255,255,1) 34%,rgba(246,246,246,1) 77%,rgba(237,237,237,1) 90%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(255,255,255,1) 34%,rgba(246,246,246,1) 77%,rgba(237,237,237,1) 90%);
  -webkit-user-select: none; 
	-moz-user-select: none; 
	-ms-user-select: none; 
 	user-select: none; 
}
/* Interior of leg, clearfixed */
.tourbus-leg-inner {
  padding: 15px;
  position: relative;
  zoom: 1;
}
.tourbus-leg-inner:before,
.tourbus-leg-inner:after {
  content: "\0020";
  display: block;
  height: 0;
  overflow: hidden;
}
.tourbus-leg-inner:after {
  clear: both;
}
/*
  remove top padding/margin on headings
  because the interior of the leg has padding
*/
.tourbus-leg h1,
.tourbus-leg h2,
.tourbus-leg h3,
.tourbus-leg h4,
.tourbus-leg h5,
.tourbus-leg h6 {
  margin-top: 0;
  padding-top: 0;
}
/* Tourbus leg arrow */
.tourbus-arrow:before,
.tourbus-arrow:after {
  border: solid rgba(0, 0, 0, 0);
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: transparent;
}
/* set the :after to be the _interior_ size of the arrow */
/* set the :before to be the _interior + desired border width_ */
.tourbus-arrow:after {
  border-width: 14px;
}
.tourbus-arrow:before {
  border-width: 16px;
}
/* Arrow background and border colors */
/*
  change margin-top/left values here to
  match the border width for :after above

  border colors here are for the _interior_ of the arrow
*/
.tourbus-arrow-right:after {
  border-right-color: rgba(237,237,237,1);
  margin-top: -14px;
  top: 50%;
}
.tourbus-arrow-left:after {
  border-left-color: #fdfdfd;
  margin-top: -14px;
  top: 50%;
}
.tourbus-arrow-bottom:after {
  border-bottom-color: #ffffff;
  margin-left: -14px;
  left: 50%;
}
.tourbus-arrow-top:after {
  border-top-color: rgba(237,237,237,1);
  margin-left: -14px;
  left: 50%;
}
/*
  change margin-top/left values here to
  match the border width for :before above

  border colors here are for the _border_ of the arrow
*/
.tourbus-arrow-right:before {
  border-right-color: #e5e5e5;
  margin-top: -16px;
  top: 50%;
}
.tourbus-arrow-left:before {
  border-left-color: #e5e5e5;
  margin-top: -16px;
  top: 50%;
}
.tourbus-arrow-bottom:before {
  border-bottom-color: #e5e5e5;
  margin-left: -16px;
  left: 50%;
}
.tourbus-arrow-top:before {
  border-top-color: #e5e5e5;
  margin-left: -16px;
  left: 50%;
}
/* you shouldn't need to change these */
.tourbus-arrow-right:after,
.tourbus-arrow-right:before {
  right: 100%;
}
.tourbus-arrow-left:after,
.tourbus-arrow-left:before {
  left: 100%;
}
.tourbus-arrow-bottom:after,
.tourbus-arrow-bottom:before {
  bottom: 100%;
}
.tourbus-arrow-top:after,
.tourbus-arrow-top:before {
  top: 100%;
}

.tourbusStop {
  margin-left: 90%;
}

.tourbus-next {
  float:right; 
  color:LimeGreen;
  font-size: 16px;
}

.tourbus-next:hover{
  color:rgb(26, 225, 26);
}

.tourbus-prev{
  font-size: 16px;
}

.tourbus-prev:hover, .tourbus-stop:hover{
  color: #212121;
}

.TyPic {
  width: 25px; 
  float: left; 
  margin-right: 10px;
}

/* attempt to add animation (not working)
.FlipVert {
  -webkit-animation-duration: .5s;
          animation-duration: .5s;
  -webkit-animation-name: flipInVerticalShake;
          animation-name: flipInVerticalShake;
  -webkit-animation-timing-function: ease-in-out;
          animation-timing-function: ease-in-out;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
}*/

@-webkit-keyframes flipInVerticalShake {
  0% {
    -webkit-transform: rotateX(-70deg);
            transform: rotateX(-70deg);
    opacity: 0;
  }
  60% {
    opacity: 1;
    -webkit-transform: rotateX(10deg);
            transform: rotateX(10deg);
  }
  90% {
    -webkit-transform: rotateX(-5deg);
            transform: rotateX(-5deg);
  }
  100% {
    -webkit-transform: rotateX(0deg);
            transform: rotateX(0deg);
  }
}
@keyframes flipInVerticalShake {
  0% {
    -webkit-transform: rotateX(-70deg);
            transform: rotateX(-70deg);
    opacity: 0;
  }
  60% {
    opacity: 1;
    -webkit-transform: rotateX(10deg);
            transform: rotateX(10deg);
  }
  90% {
    -webkit-transform: rotateX(-5deg);
            transform: rotateX(-5deg);
  }
  100% {
    -webkit-transform: rotateX(0deg);
            transform: rotateX(0deg);
  }
}