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

Primary style

-------------------------------- */
/*html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}*/

#site-container {
  font-size: 100%;
  font-family: "Droid Serif", serif;
  color: #7f8c97;
  background-color: #FAE1FA;
}

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

Modules - reusable parts of our design

-------------------------------- */
.tl-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: 90%;
  max-width: 1170px;
  margin: 0 auto;
}
.tl-container:after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}

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

Main components 

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

#cu-timeline, #cu-milestones-timeline, #cu-leaders-timeline {
  position: relative;
  padding: 3em 0;
}
#cu-timeline:before, #cu-milestones-timeline:before, #cu-leaders-timeline:before {
  /* this is the vertical line */
  content: '';
  position: absolute;
  display:block;
  top: 0;
  left: 13px;
  height: 100%;
  width: 4px;
  background: #d7e4ed;
}
@media only screen and (min-width: 769px) {
  #cu-timeline, #cu-milestones-timeline, #cu-leaders-timeline {
    
  }
  #cu-timeline:before, #cu-milestones-timeline:before, #cu-leaders-timeline:before {
    left: 50%;
    margin-left: -2px;
  }
}

.tl-item {
  position: relative;
  margin: 2em 0;
}
.tl-item:after {
  content: "";
  display: table;
  clear: both;
}
.tl-item:first-child {
  margin-top: 0;
}
.tl-item:last-child {
  margin-bottom: 0;
}
@media only screen and (min-width: 769px) {
  .tl-item {
    margin: -8em 0 4em;
  }
  .tl-item:first-child {
    margin-top: 0;
  }
  .tl-item:last-child {
    margin-bottom: 0;
  }
}

.tl-node {
  background: #FFFFFF;
  position: absolute;
  top: 8px;
  left: -1px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #E19C00, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
}

/*
.tl-item.vc {
  margin: -16em 0 4em;
}

.tl-item.vc:first-child {
margin-top: 0;
}
.tl-item.vc:last-child {
margin-bottom: 0;
}

.tl-item.cuc {
  margin: -16em 0 4em;
}

.tl-item.cuc:first-child {
margin-top: 0;
}
.tl-item.cuc:last-child {
margin-bottom: 0;
}
*/
.tl-item.vc .tl-node {
  box-shadow: 0 0 0 4px #760F6D, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
}

.tl-item.cuc .tl-node {
  box-shadow: 0 0 0 4px #1abc9c, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
}


@media only screen and (min-width: 769px) {
  .tl-node {
  
    left: 50%;
    margin-left: -20px;
	width: 40px;
	height: 40px;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
  }
  .cssanimations .tl-node.is-hidden {
    visibility: hidden;
  }
  .cssanimations .tl-node.bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-1 0.6s;
    -moz-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);
  }

  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);
  }
}
.tl-content {
  position: relative;
  margin-left: 52px;
  background: white;
  border-radius: 0.25em;
  padding: 1em;
  box-shadow: 0 3px 0 #d7e4ed;
}
.tl-content:after {
  content: "";
  display: table;
  clear: both;
}
.tl-content h2 {
  color: #303e49;
}
.tl-content .tl-date {
	display: inline-block;
	font-family: "Arvo", sans-serif;
	font-size: 13px;
	font-size: 0.8125rem;
	color:#D55CCB;
	letter-spacing: .2em;
	border: 1px solid #FAE1FA;
	border-radius: 8px;
	padding: 6px 12px;
	margin-bottom: .4em;
}

.tl-content .tl-type {
	display: none;
}

.tl-content .tl-event, .tl-content .tl-leader-name, .tl-content .tl-leader-title, .tl-content .tl-leader-term {
	font-family: "Droid Serif", serif;
	color:#320028;
}

.tl-content .tl-event, .tl-content .tl-leader-name {
	margin-top: .8em;
}

.tl-content .tl-leader-name {
	margin-top: .8em;
	font-size: 1.8em;
}

.tl-content .tl-event, .tl-content .tl-leader-title {
	margin-top: .8em;
	line-height: 1.6;
	border-left: 3px solid #FFD034;
	padding: 10px;
	background-color: #FFFFF7;
}

.tl-item.vc .tl-content .tl-leader-title {
	border-left-color:#760F6D;
	background-color:#FFDDFF;
	
}

.tl-item.cuc .tl-content .tl-leader-title {
	border-left-color:#1abc9c;
	background-color:#ecfdfa;
	
}

.tl-leader-title, .tl-content .tl-leader-term {
	margin: 0.3em 0px;
}

.tl-leader-bios {
	display: inline-block;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 4px;
	border: 1px solid #B34CAA;
	padding: 10px 18px;
	margin: 1em 0px;
	color: #760F6D;

}

.tl-content .tl-img {
	margin-top: .3em;
	width:100%;
}

.tl-content .tl-leader-img {
	margin-top: .3em;
	width:90%;
}

.tl-content:before {
  content: '';
  position: absolute;
  top: 16px;
  right: 100%;
  height: 0;
  width: 0;
  border: 7px solid transparent;
  border-right: 7px solid white;
}
@media only screen and (min-width: 768px) {
  .tl-content h2 {
    font-size: 20px;
    font-size: 1.25rem;
  }
  .tl-content p {
    font-size: 16px;
    font-size: 1rem;
  }
  .tl-content .tl-date {
    font-size: 14px;
    font-size: 0.875rem;
  }
}
@media only screen and (min-width: 769px) {
  .tl-content {
    margin-left: 0;
    padding: 1.6em;
    width: 44%;
  }
  .tl-content:before {
    top: 20px;
    left: 100%;
    border-color: transparent;
    border-left-color: white;
  }
  .tl-content .tl-date {
   /* position: absolute;
    width: 100%;
    left: 122%;
    top: 6px;*/
    font-size: 16px;
    font-size: 1.5rem;
  }
  .tl-item:nth-child(even) .tl-content {
    float: right;
  }
  .tl-item:nth-child(even) .tl-content:before {
    top: 24px;
    left: auto;
    right: 100%;
    border-color: transparent;
    border-right-color: white;
  }
  .tl-item:nth-child(even) .tl-content .cd-read-more {
    float: right;
  }
  .tl-item:nth-child(even) .tl-content .tl-date {
    left: auto;
    right: 122%;
    text-align: right;
  }
  .cssanimations .tl-content.is-hidden {
    visibility: hidden;
  }
  .cssanimations .tl-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;
  }
}

@media only screen and (min-width: 769px) {
  /* inverse bounce effect on even content blocks */
  .cssanimations .tl-item:nth-child(even) .tl-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;
  }
}
@-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);
  }
}
