﻿/*html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; }*/
/* DEBUG * {
  opacity: 1 !important;
}*/
.tl-wrapper {
    position: relative; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.3); 
    border-top: 1px solid #CCC; 
    background: #F9F9F9;
    z-index: 3; 
}
#tl-container {
    /*position: relative;*/
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: 0;
    margin-left: 250px;
    height: 40px;
    overflow: hidden;
    box-shadow: 0 1px 0 0 #CCC,  
                inset 0 -40px 0 0 #FFF; 
    font-size: 16px;
    line-height: 1.5em;
    /*-webkit-transition: height 0.6s cubic-bezier(.36,.005,.035,1.005);
            transition: height 0.6s cubic-bezier(.36,.005,.035,1.005);*/
}
/*#tl-container.timeline-expanded .mainPanel {
  top: 90px;
  transition: all 0.6s cubic-bezier(0, 1, 0.5, 1);
}*/

#tl-actions {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
}
#tl-actions .timeline-close {
  display: none;
  opacity: 0;
  padding: 0;
  width: 50px;
  height: 50px;
  background: transparent;
  border: none;  
  -webkit-transition: background 0.28s linear,
              opacity 0.6s cubic-bezier(.36,.005,.035,1.005);  
          transition: background 0.28s linear,
              opacity 0.6s cubic-bezier(.36,.005,.035,1.005);
}
#tl-actions .timeline-close:hover {
  background: rgba(255,255,255,0.8);
}
#tl-actions .timeline-close i {
}
#tl-container.timeline-expanded #tl-actions .timeline-close {
  opacity: 1;
  -webkit-transition: opacity 0.6s cubic-bezier(.36,.005,.035,1.005);
          transition: opacity 0.6s cubic-bezier(.36,.005,.035,1.005);
}

#tl-scroll {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
#tl-scroll-frame {
  position: absolute;
  height: 100%;
  z-index: 1;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-text-size-adjust: none;
  -ms-text-size-adjust: none;
  -o-text-size-adjust: none;
  text-size-adjust: none; 
}

#tl-scaffold {
  position: relative;
  top: 17px;
  top: 0;
  z-index: 2;
}
#tl-interface {
  /*position: relative;*/
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  cursor: pointer;
}
#tl-scaffold .timeline-event {
  visibility: hidden;
}
#tl-scaffold div.timeline-event-range .timeline-event-content .content-title,
#tl-scaffold div.timeline-event-range .timeline-event-content .content-date {
  visibility: hidden;
}
/* DEBUG: VIEW SCAFFOLD - toggleScaffold() */
#tl-container.view-scaffold #tl-scaffold { z-index: 4; opacity: 1; } 
#tl-container.view-scaffold #tl-scaffold .timeline-event.event-item {visibility:visible;border: 1px dashed red; box-sizing: border-box; opacity: 1;} 
#tl-container.view-scaffold #tl-scaffold .timeline-event.event-item .content-title, #tl-scaffold .timeline-event.event-item .content-date {visibility:visible !important;}
#tl-container.view-scaffold #tl-interface { opacity: 0; }

#tl-header {
}
#tl-header .icon {
}
#tl-header .icon.collapse {
}
#tl-header .icon.collapse i {
}

#tl-footer {
  position: absolute;
  bottom: 0;
  right: 0;
  width: auto;
  height: 40px;
  z-index: 1;
}
.tl--btn-group {
  /*padding: 5px 5px 0;*/
}
#tl-footer .icon {
}
#tl-footer .icon.toggle-view {
  position: relative;
  /*padding: 4px 6px;
  width: 32px;
  border-radius: 3px;
  border: 1px solid #e2e2e2;
  border-bottom-color: #cecece;
  box-shadow: 0 3px 2px 0 rgba(0,0,0,0.06),
              inset -1px -1px 1px 0 rgba(0,0,0,0.02);*/
  border: none;
  border-left: 1px solid #e2e2e2;
  text-align: center;
  font-size: 0.75em;
  /*letter-spacing: 0.5px;*/
  color: #333;
  cursor: pointer;
  outline: 0;
  background: #FFF;
  -webkit-transition: background-color 0.2s;
          transition: background-color 0.2s;
}
#tl-container.timeline-expanded #tl-footer .icon.toggle-view {
  background-color: #F9F9F9;
}
#tl-footer .icon.toggle-view:hover {
  background-color: #F9F9F9;
}
#tl-container.timeline-expanded #tl-footer .icon.toggle-view:hover {
  background-color: #FFF;
}
.tl--btn-label {
    display: block;
    float: left;
    min-width: 110px;
    font-weight: bold;
    line-height: 40px;
}
#tl-footer .icon.toggle-view i {
  display: none;
  position: relative;
  padding: 11px 6px;
  font-size: 18px;
  /*padding: 8px 18px;
  color: #969696;*/
}
@media screen and (max-width: 768px) {
    #tl-footer .icon.toggle-view i {
        display: inline-block;
    }
    .tl--btn-label {
        display: none;
    }
}
#tl-footer .icon.toggle-view i.play_arrow-up {
    -webkit-transform: rotate(-90deg);
            transform: rotate(-90deg);
}
#tl-footer .icon.toggle-view i.play_arrow-down {
    -webkit-transform: rotate(90deg);
            transform: rotate(90deg);
}
.sort-options {
    position: absolute;
    right: 77px;
    top: 8px;
    padding: 3px 0 3px 12px;
    border-left: 1px solid #EEE;
    /*border-right: 1px solid #EEE;*/
}
.sort-options .sort-by {
    font-size: 12px;
}
.sort-options .sort-select {
    margin: 0;
    padding: 4px;
    border: 0;
    border-bottom: 1px solid #8493A8;
    background: #FAFAFA;
    color: #8493A8;
    outline: none;
}

@media (max-width: 767px) {
  /*.tl--btn-label {
    display: none;
  }*/
}
@media (max-width: 1024px) {
  #tl-container.timeline-expanded #tl-actions .timeline-close {
    display: none;
  }
}
/* touchstart test */
#tl-container.touchstart.timeline-expanded #tl-actions .timeline-close {
  display: none;
}

div.timeline-frame {
  box-sizing: border-box;
  position: relative;
}

div.timeline-content {
  position: relative;
  cursor: move;
}
/*#tl-interface div.timeline-content:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transition: background-color 0.28s linear;
}*/
#tl-container.timeline-expanded #tl-interface div.timeline-content {
  /*box-shadow: inset 0 3px 0 0 rgb(200, 201, 203);  */
  -webkit-transition: box-shadow 0 linear 0.28s,
              background-color 0 linear;
  transition: box-shadow 0 linear 0.28s,
              background-color 0 linear;
}
div.timeline-axis {
    /*border-color: rgba(0, 0, 0, 0.3);
    border-top-style: solid;
    border-width: 2px;*/
    box-sizing: border-box;
  border: none;
}
#tl-interface div.timeline-axis {
  /*border-color: transparent;*/
  /*background-color: #D3D4D5;*/
  background-color: transparent;
}
#tl-scaffold div.timeline-axis {
  /*background: rgb(54, 66, 74);
  background-color: #D3D4D5;*/
}
/*#tl-scaffold div.timeline-axis:after {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: #D3D4D5;
}*/

div.timeline-axis-grid {
    border-left-style: solid;
    border-width: 1px;
    box-sizing: border-box;
}

div.timeline-axis-grid-minor {
    border-color: #3d4b54;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
#tl-interface div.timeline-axis-grid-minor {
  border-color: transparent;
}
#tl-scaffold div.timeline-axis-grid-minor {
  /*border-color: #E3E4E5;
  border-color: #EEE;*/
  border-color: #FFF;
  /*z-index: 1;*/
}
#tl-scaffold div.timeline-axis-grid-minor:after {
	content: "";
	position: absolute;
	top: 100%;
	left: -1px;
	width: 1px;
    height: 18px;
	background: #EEEEEE;
    transition: height 0.6s cubic-bezier(.36,.005,.035,1.005);
}
#tl-container.timeline-expanded #tl-scaffold div.timeline-axis-grid-minor:after {
	height: 51px;
	transition: height 1.4s cubic-bezier(.36,.005,.035,1.005) 0.2s;
}

div.timeline-axis-grid-major {
  /*border-color: #E3E4E5;*/
  border-color: #EEE;
}
#tl-interface div.timeline-axis-grid-major {
  /*border-color: #36424a;*/ /*#333;*/
}
#tl-container.timeline-expanded #tl-interface div.timeline-axis-grid-major {
  height: 40px !important;
}
#tl-scaffold div.timeline-axis-grid-major {
  /*border-color: #FFF;
  border-color: #EEE;*/
}
#tl-scaffold div.timeline-axis-grid-minor + div.timeline-axis-text,
#tl-scaffold div.timeline-axis-grid-major + div.timeline-axis-text {
  /* prevent the last day of the previous month to overlap the first day of the next month 
  background-color: rgba(200, 201, 203, 0.6);*/
}

div.timeline-axis-text {
  color: #7d7d7d;
    padding: 3px;
    white-space: nowrap;
}
#tl-interface div.timeline-axis-text {
  padding: 4px 0 0 4px;
  line-height: 1;  
  color: #757575;
  font-size: 0.750em;
  /*font-family: "HelveticaRounded_Bold";*/
}
#tl-scaffold div.timeline-axis-text {
  /*display: none;*/
  visibility: hidden;
  height: 0px;
}

div.timeline-axis-text-minor {
}
#tl-interface div.timeline-axis-text-minor {
  /*display: none;
  visibility: hidden;
  height: 1px;
  background-color: rgba(25, 31, 35, 0.6);*/
}
#tl-scaffold div.timeline-axis-text-minor {
  /*display: none;
  opacity: 1;
  padding: 4px 0 2px 4px;
      z-index: 1;
  font-size: 0.875em;
  line-height: 1;
  color: #58595b;
	color: #8A8A8A;
  font-family: "HelveticaRounded_Bold";
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);*/
}
div.timeline-axis-text-major {
}
#tl-interface div.timeline-axis-text-major {
  top: 0 !important; /* to show months and year */
  top: 14px !important; /* to show year */
  /*font-size: 1.250em;*/
  padding: 4px 0 0 4px;
}
#tl-container.timeline-expanded #tl-interface div.timeline-axis-text-major {
  /*line-height: 2;
      top: 13px !important;*/
}
#tl-scaffold div.timeline-axis-text-major {
  display: none;
}

#tl-scaffold div.timeline-event:hover {
  /*background-color: #1b92c0;
  border-color: #1b92c0;*/
  color: #FFF;
  color: #36424a;
  transition: all 0.28s linear;
  /*z-index: 1000;*/
}
#tl-scaffold div.timeline-event-range.custom.timeline-event-selected:hover {
  box-shadow: none;
}

/* TODO: use another color or pattern? */
div.timeline-event-cluster {
    background: url('img/cluster_bg.png') #97b0f8;
    color: #ffffff;
}

div.timeline-event-cluster div.timeline-event-dot {
    border-color: #d5ddf6;
}
div.timeline-event-dot {
    display: none;
    border-style: solid;
    border-width: 5px;
    border-color: rgba(97,119,133,0.8);
    background-color: transparent;
}
div.timeline-event-range {
  display: block;
  /*font-family: "HelveticaRounded_Bold";*/
  color: #36424a;
  cursor: pointer;  
}
/*div.timeline-event-range:hover {
  box-shadow: inset 0 -4px 0 0 #00aad2,
              inset 0 -8px 0 0 #F2F2F2;
  transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}*/
div.timeline-event-range.highlight-nearest-event {
  background-color: #8bbc2e;
  border-color: #8bbc2e;
  color: #BF5B00;
  z-index: 999;
}
div.timeline-event-range .timeline-event-content .content-title,
div.timeline-event-range .timeline-event-content .content-date {
  position: relative;
  float: left;
  /*text-shadow: 0 0 5px rgba(242,242,242,1);*/
}
div.timeline-event-range .timeline-event-content .content-title {
  display: inline-block;
  margin-top: 20px;
  margin-top: 4px;
  font-size: 0.813em;
  line-height: 1;
  -webkit-transition: margin 0.28s cubic-bezier(.36,.005,.035,1.005),
                      color 0.28s cubic-bezier(.36,.005,.035,1.005);
          transition: margin 0.28s cubic-bezier(.36,.005,.035,1.005),
                      color 0.28s cubic-bezier(.36,.005,.035,1.005);
}
div.timeline-event-range.month-item .timeline-event-content .content-title {
    box-sizing: border-box;
    padding: 4px;
  width: 100%;
  text-align: center;
  /*font-size: 0.750em;*/
  line-height: 1.3;
  text-shadow: none;
  color: transparent;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
    /*margin-top: 4px;*/
    font-family: Lato;
    font-size: 12px;
}
#tl-container div.timeline-event-range.month-item:hover .timeline-event-content .content-title {
  margin-top: 0;
}
div.timeline-event-range.timeline-event-selected .timeline-event-content .content-title,
div.timeline-event-range.highlight-nearest-event .timeline-event-content .content-title {
  color: #6D9324;
}
div.timeline-event-range.month-item.timeline-event-selected .timeline-event-content .content-title,
div.timeline-event-range.month-item.highlight-nearest-event .timeline-event-content .content-title {
  color: transparent !important;
}
div.timeline-event-range.month-item:hover .timeline-event-content .content-title {
  color: #535353;
}
/*#tl-container.cssanimations div.timeline-event-range:hover .timeline-event-content .content-title,
#tl-container.cssanimations div.timeline-event-range.timeline-event-selected .timeline-event-content .content-title,
#tl-container.cssanimations div.timeline-event-range.highlight-nearest-event .timeline-event-content .content-title {
  margin-top: 4px;
}*/
div.timeline-event-range .timeline-event-content .content-date { 
  opacity: 0;
  opacity: 1;
  clear: left;
  margin-top: -2px;
  font-size: 0.750em; 
  color: #757575;
  -webkit-transition: opacity 0.2s cubic-bezier(.36,.005,.035,1.005);
          transition: opacity 0.2s cubic-bezier(.36,.005,.035,1.005);
}
#tl-container.timeline-expanded div.timeline-event-range .timeline-event-content .content-date {
  display: block;
}
/*#tl-container.cssanimations div.timeline-event-range:hover .timeline-event-content .content-date,
#tl-container.cssanimations div.timeline-event-range.timeline-event-selected .timeline-event-content .content-date,
#tl-container.cssanimations div.timeline-event-range.highlight-nearest-event .timeline-event-content .content-date {
  opacity: 1;
}*/
div.timeline-event-range.month-item .timeline-event-content .content-date { 
  opacity: 0;
  position: absolute;
  /*bottom: 30px;*/
  top: 6px;
  left: 0;
  padding-left: 4px;
  color: #757575;
  font-family: Lato;
  font-size: 12px;
  line-height: 1;
  /*text-shadow: none;*/
}
div.timeline-event-range.month-item:hover .timeline-event-content .content-date {
  opacity: 0 !important;
}
div.timeline-event-range.month-item.timeline-event-selected .timeline-event-content .content-date,
div.timeline-event-range.month-item.highlight-nearest-event .timeline-event-content .content-date {
    opacity: 1 !important;
    color: #46545F !important;
    font-weight: bold;
}
#tl-scaffold div.timeline-event-range.custom {
  height: 44px; /* interface event height is set via javascript, hardcoded to this value */
}
#tl-scaffold div.timeline-event-range.custom.month-item {
  display: block;
  line-height:0;
  height: 0;
  overflow: hidden;
}
div.timeline-event-range.custom.month-item {
  opacity: 0;
  /*line-height: 0;*/
  height: 0;
  z-index: 2000;
  margin: 0;
  top: auto !important;
  bottom: -40px !important;
}
div.timeline-event-range.custom.month-item:hover {
  opacity: 1;
  background: #e2f1c5;
}
div.timeline-event-range.custom.month-item.timeline-event-selected {
  opacity: 1;
  background: #f0f7e0;/*#6D9324;*/
  /*box-shadow: inset 1px 0px 0px 0px #EEE, 
              inset -1px 0px 0px 0px #EEE;*/
  z-index: 1000;
}
/*div.timeline-event-range.custom.month-item.timeline-event-selected {
  opacity: 1;
  background: #36424A;
}*/
div.timeline-event-range.custom {
  /*overflow: hidden;*/
  opacity: 0;
  margin-top: 17px;
  margin-top: 9px;
  height: 7px;
  z-index: 1000;
}
/*#tl-container div.timeline-event-range.custom {
  -webkit-transition: height 0.6s cubic-bezier(.36,.005,.035,1.005),
                      top 0.6s cubic-bezier(.36,.005,.035,1.005),
                      opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);
          transition: height 0.6s cubic-bezier(.36,.005,.035,1.005),
                      top 0.6s cubic-bezier(.36,.005,.035,1.005),
                      opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
#tl-container.timeline-expanded div.timeline-event-range.custom,
#tl-container div.timeline-event-range.custom.month-item {
  -webkit-transition: height 0.6s cubic-bezier(.36,.005,.035,1.005),
                      top 1s cubic-bezier(.36,.005,.035,1.005),
                      background-color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                      opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
          transition: height 0.6s cubic-bezier(.36,.005,.035,1.005),
                      top 1s cubic-bezier(.36,.005,.035,1.005),
                      background-color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                      opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}*/
div.timeline-event-range.custom .range-overlay {
  display: block;
  content: "";
  position: absolute;
  left: 0; /* compensate for margin*/
  top: 0; /* compensate for margin*/
  top: auto;
  height: 7px;
  bottom: 0; /* compensate for margin*/
  /*min-width: 8px;*/
  background-color: #617785;
  z-index: 1;
  /*transition: background-color 0.28s linear;  */
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);  
}
div.timeline-event-range.custom.month-item .range-overlay {
  visibility: hidden;
  line-height:0;
  height: 0;  
}

div.timeline-event-range.month-item {
  /*display: none;
  height: 1px;*/
}
/* Ministry category theme
div.timeline-event-range.category-ministry .content-title {
  color: #844710;
}
div.timeline-event-range.category-ministry .range-overlay {
  background-color: #d06f19;
} */

/*#tl-scaffold div.timeline-event-range.custom .range-overlay {
  box-shadow: 0 -4px 0 0 #F2F2F2;
}*/
/*#tl-interface div.timeline-event-range.custom .range-overlay {
  box-shadow: 0 -4px 0 0 #FFFFFF;
}*/
/*#tl-scaffold div.timeline-event-range.custom:hover .range-overlay {
  background-color: #1b92c0;
	box-shadow: none;
  transition: background-color 0.28s linear;  
}*/
/*div.timeline-event-range.custom:hover .range-overlay,
div.timeline-event-range.custom.timeline-event-selected .range-overlay,
div.timeline-event-range.custom.highlight-nearest-event .range-overlay {
  height: 5px;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}*/
#tl-interface div.timeline-event-range.custom.timeline-event-selected .range-overlay,
#tl-interface div.timeline-event-range.custom.highlight-nearest-event .range-overlay {
  height: 7px;
}
/*#tl-scaffold */div.timeline-event-range.custom.timeline-event-selected .range-overlay {
	background-color: #8bbc2e;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
	/*box-shadow: 0 0 0 2000px rgba(54, 66, 74, 0);
  transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);  */
}
/*#tl-scaffold */div.timeline-event-range.custom.highlight-nearest-event .range-overlay {
	background-color: #8bbc2e;
	/*box-shadow: none;
  transition: background-color 0.28s linear;  */
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
/*#tl-scaffold */div.timeline-event-range.custom.timeline-event-selected:hover .range-overlay {
  background-color: #8bbc2e;
  /*transition: none;*/
}
div.timeline-event-range.custom .range-overlay:after,
div.timeline-event-range.custom.highlight-nearest-event .range-overlay:after {
  content: "";
  position: absolute;
  top: 0;
  left: 100%;
  bottom: 0;
  width: inherit;  
  background-color: transparent;
  transition: background-color 0.28s linear; 
}
div.timeline-event-range .timeline-event-content {
  overflow: visible;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  margin-bottom: 0;
  height: 100%;
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  z-index: 0;
  transition: bottom 0.28s cubic-bezier(0.4, 0, 0.2, 1),
		      opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
div.timeline-event-range.custom .timeline-event-content:after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  height: 1px;
  width: 100%;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
div.timeline-event-range.custom.month-item .timeline-event-content:after {
  border: none;
}
#tl-interface div.timeline-event-range.custom .timeline-event-content {
  background: rgba(249,249,249,0.75);
	opacity: 0;
	/*transition: opacity 0.4s linear 0.5s;*/
}
#tl-interface div.timeline-event-range.custom.month-item .timeline-event-content {
  background: none;
}
#tl-container.timeline-expanded div.timeline-event-range.custom .timeline-event-content,
div.timeline-event-range.custom.month-item .timeline-event-content {
  -webkit-transition: /*opacity 2s cubic-bezier(.36,.005,.035,1.005),*/
                      background .28s cubic-bezier(.36,.005,.035,1.005);
          transition: /*opacity 2s cubic-bezier(.36,.005,.035,1.005),*/
                      background .28s cubic-bezier(.36,.005,.035,1.005);
}
div.timeline-event-range:hover .timeline-event-content,
div.timeline-event-range.timeline-event-selected .timeline-event-content,
div.timeline-event-range.highlight-nearest-event .timeline-event-content {
  background: rgba(245,245,245,0.75);
  cursor: pointer;
}
div.timeline-event-range.month-item:hover .timeline-event-content,
div.timeline-event-range.month-item.timeline-event-selected .timeline-event-content,
div.timeline-event-range.month-item.highlight-nearest-event .timeline-event-content {
  background: transparent;
}

.timeline-event-content {
  margin: 0;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
}
/*#tl-interface .timeline-event-content {
  opacity: 0;
  margin: 0;
  height: 100%;
}*/

div.timeline-groups-axis {
    border-color: #bebebe;
    border-width: 1px;
    box-sizing: border-box;
		background: rgba(0,0,0,0.1);
}

div.timeline-groups-axis-onleft {
    border-style: none solid none none;
}

div.timeline-groups-axis-onright {
    border-style: none none none solid;
}

div.timeline-groups-text {
    color: #4d4d4d;
    padding-left: 10px;
    padding-right: 10px;
}
#tl-interface div.timeline-groups-text {
	visibility: hidden;
}

/* parent element of the "currenttime" element */
#tl-interface .timeline-content > div:nth-child(2) {
  /*z-index: 2;*/
}
/* parent element of the "event" elements */
#tl-interface .timeline-content > div:nth-child(3) {
  /*z-index: 1;
  top: -3px !important;
  transition: top 0.28s cubic-bezier(0.4, 0, 0.2, 1);*/
}
#tl-container.timeline-expanded #tl-interface .timeline-content > div:nth-child(3) {
  /*top: -18px !important;
  transition: top 0.28s cubic-bezier(0.4, 0, 0.2, 1);*/
  z-index: 1;
}

div.timeline-currenttime {
  box-sizing: border-box;
  border: 2px dashed #AFAFAF;
  width: 2px;
}
#tl-interface div.timeline-currenttime {
  border-color: transparent;
}
#tl-interface div.timeline-currenttime:after {
  content: "Today";
  overflow: hidden;
  box-sizing: border-box;
  position: absolute;
  bottom: 0;
  bottom: -3px;
  left: 50%;
  margin-left: -24px;
  margin-left: -1px;
  padding: 4px 0;
  width: 48px;
  width: 2px;
  height: 20px;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  color: #FFF;
  font-size: 12px;
  /*font-family: "HelveticaRounded_Bold";*/
  background-color: #AFAFAF;
  opacity: 0;
  -webkit-transform: translateY(32px);
      -ms-transform: translateY(32px);
          transform: translateY(32px);
  -webkit-transition: all 0.8s cubic-bezier(.36,.005,.035,1.005),
                      opacity 0.28s cubic-bezier(.36,.005,.035,1.005);
          transition: all 0.8s cubic-bezier(.36,.005,.035,1.005),
                      opacity 0.28s cubic-bezier(.36,.005,.035,1.005);
  -webkit-animation: fadeToday 0.28s cubic-bezier(0.4, 0, 0.2, 1); /* this animation will only work nicely in Chrome */
}
@keyframes fadeToday {
  0% {content: attr(data-current-date);}
  50% {color: #AFAFAF;}
  100% {content: "Today";}
}
@keyframes fadeDate {
  0% {content: "Today";}
  50% {color: #AFAFAF;}
  100% {content: attr(data-current-date);}
}
#tl-container.timeline-expanded #tl-interface div.timeline-currenttime:after {
  opacity: 1;
  opacity: 0;
  -webkit-transform: translateY(-41px);
      -ms-transform: translateY(-41px);
          transform: translateY(-41px);
  -webkit-transition: transform 1s cubic-bezier(.36,.005,.035,1.005),
                      opacity 1s cubic-bezier(.36,.005,.035,1.005),
                      margin 0.28s cubic-bezier(.36,.005,.035,1.005),
                      width 0.28s cubic-bezier(.36,.005,.035,1.005);
          transition: transform 1s cubic-bezier(.36,.005,.035,1.005),
                      opacity 1s cubic-bezier(.36,.005,.035,1.005),
                      margin 0.28s cubic-bezier(.36,.005,.035,1.005),
                      width 0.28s cubic-bezier(.36,.005,.035,1.005);
}
#tl-container.timeline-expanded #tl-interface div.timeline-currenttime.show-date:after {
  opacity: 1;
  content: attr(data-current-date);
  margin-left: -41px;
  width: 82px;
  -webkit-transition: all 0.28s cubic-bezier(.36,.005,.035,1.005);
          transition: all 0.28s cubic-bezier(.36,.005,.035,1.005);
  -webkit-animation: fadeDate 0.28s cubic-bezier(.36,.005,.035,1.005); /* this animation will only work nicely in Chrome */
}
#tl-interface div.timeline-currenttime:before {
  content: "";
  position: absolute;
  bottom: -12px;
  bottom: 38px;
  left: 50%;
  margin-left: -8px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 8px 8px 8px;
  border-color: transparent transparent #AFAFAF transparent;
  opacity: 0;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
  -webkit-transition: all 0.8s cubic-bezier(.36,.005,.035,1.005),
                      opacity 0.28s cubic-bezier(.36,.005,.035,1.005);
          transition: all 0.8s cubic-bezier(.36,.005,.035,1.005),
                      opacity 0.28s cubic-bezier(.36,.005,.035,1.005);
}
#tl-container.timeline-expanded #tl-interface div.timeline-currenttime:before {
  opacity: 0;
}
#tl-container.timeline-expanded #tl-interface div.timeline-currenttime.show-date:before {
  opacity: 1;
  /*-webkit-transform: translateY(-68px);
      -ms-transform: translateY(-68px);
          transform: translateY(-68px);*/
  -webkit-transform: translateY(-20px);
      -ms-transform: translateY(-20px);
          transform: translateY(-20px);
  /*-webkit-transition: all 1s cubic-bezier(.36,.005,.035,1.005);
          transition: all 1s cubic-bezier(.36,.005,.035,1.005);*/
  -webkit-transition: all 0.28s cubic-bezier(.36,.005,.035,1.005);
          transition: all 0.28s cubic-bezier(.36,.005,.035,1.005);
}

/* Journey Colors */

/* Early Childhood (pink) */
#tl-interface.wrapper-early-childhood div.timeline-event-range,
#tl-interface.wrapper-early-childhood div.timeline-event-range > a {
  color: #EC098C;
}
#tl-interface.wrapper-early-childhood div.timeline-event-range > .range-overlay {
  background-color: #EC098C;
}
#tl-interface.wrapper-early-childhood div.timeline-event-range.custom.month-item.timeline-event-selected {
    background: #FEF0F8 !important;
}
#tl-interface.wrapper-early-childhood div.timeline-event-range.custom.month-item:hover {
    background: #FFF8FC;
}

/* Elementary (blue) */
#tl-interface.wrapper-elementary div.timeline-event-range,
#tl-interface.wrapper-elementary div.timeline-event-range > a {
  color: #00AFDC;
}
#tl-interface.wrapper-elementary div.timeline-event-range > .range-overlay {
  background-color: #00AFDC;
}
#tl-interface.wrapper-elementary div.timeline-event-range.custom.month-item.timeline-event-selected {
    background: #C0EBF7 !important;
}
#tl-interface.wrapper-elementary div.timeline-event-range.custom.month-item:hover {
    background: #E6F7FC;
}

/* Junior High (yellow) */
#tl-interface.wrapper-junior-high div.timeline-event-range,
#tl-interface.wrapper-junior-high div.timeline-event-range > a {
  color: #EDB700;
  border-color: #FFD400;
}
#tl-interface.wrapper-junior-high div.timeline-event-range > .range-overlay {
  background-color: #FFD400;
}
#tl-interface.wrapper-junior-high div.timeline-event-range.custom.month-item.timeline-event-selected {
    background: #FFF5C0 !important;
}
#tl-interface.wrapper-junior-high div.timeline-event-range.custom.month-item:hover {
    background: #FFFBE6;
}

/* High School (green) */
#tl-interface.wrapper-high-school div.timeline-event-range,
#tl-interface.wrapper-high-school div.timeline-event-range > a {
  color: #8CC63E;
}
#tl-interface.wrapper-high-school div.timeline-event-range > .range-overlay {
  background-color: #8CC63E;
}
#tl-interface.wrapper-high-school div.timeline-event-range.custom.month-item.timeline-event-selected {
    background: #E3F1CF !important;
}
#tl-interface.wrapper-high-school div.timeline-event-range.custom.month-item:hover {
    background: #F4FAEC;
}

/* Ministry (orange) */
#tl-interface.wrapper-ministry div.timeline-event-range,
#tl-interface.wrapper-ministry div.timeline-event-range > a {
  color: #D06F19;
}
#tl-interface.wrapper-ministry div.timeline-event-range > .range-overlay {
  background-color: #D06F19;
}
#tl-interface.wrapper-ministry div.timeline-event-range.custom.month-item.timeline-event-selected {
    background: #F4DBC6 !important;
}
#tl-interface.wrapper-ministry div.timeline-event-range.custom.month-item:hover {
    background: #FBF1E8;
}

/* School Administration (grey) */
#tl-interface.wrapper-school-administration div.timeline-event-range,
#tl-interface.wrapper-school-administration div.timeline-event-range > a {
  color: #69737B;
}
#tl-interface.wrapper-school-administration div.timeline-event-range > .range-overlay {
  background-color: #69737B;
}
#tl-interface.wrapper-school-administration div.timeline-event-range.custom.month-item.timeline-event-selected {
    background: #DADCDE !important;
}
#tl-interface.wrapper-school-administration div.timeline-event-range.custom.month-item:hover {
    background: #F0F1F2;
}
  
div.timeline-customtime {
  box-sizing: border-box;
  width: 2px;
  background-color: #6e94ff;
  cursor: move;
}

div.timeline-navigation {
    background-color: #f5f5f5;
    border: 1px solid #bebebe;
    border-radius: 2px;
    box-sizing: border-box;
    color: #808080;
    font-family: arial;
    font-size: 20px;
    font-weight: bold;
}

div.timeline-navigation-new,
div.timeline-navigation-delete,
div.timeline-navigation-zoom-in,
div.timeline-navigation-zoom-out,
div.timeline-navigation-move-left,
div.timeline-navigation-move-right {
    box-sizing: border-box;
    cursor: pointer;
    float: left;
    height: 36px;
    padding: 10px;
    text-decoration: none;
    width: 36px;
}

div.timeline-navigation-new {
    background: url('img/16/new.png') no-repeat center;
}

/* separator between new and navigation buttons */
div.timeline-navigation-new-line {
    border-right: 1px solid #bebebe;
}

/* HELPERS */
#tl-container .u-hidden {
  visibility: hidden;
}

/* clearfix */
.group:after {
  content: "";
  display: table;
  clear: both;
}