.timeline-content {
  width: 100%;
  height: 800px;
  font-family: Roboto,"Helvetica Neue",Helvetica,Arial,sans-serif;
  overflow-x: hidden;
  overflow-y: visible !important;
  padding: 0;
}
.timeline-content .tc-wrap {
  margin: 0;
  padding: 0;
  height: 100%;
  list-style: none;
}


.timeline-content .tc-wrap .timeline-item {
  cursor: pointer;
  float: left;
  margin: 0 0 0 0;
  padding: 0;
  width: 450px;
  height: 100%;
}

.scrollbar {
  background-image: url('../images/grey_repeat.png');
  background-repeat: repeat-x;
  width: 100%;
  height: 30px;
  position: relative;
}
.scrollbar .handle {
	width: 30px; /* overriden if dynamicHandle: 1 */
	height: 30px;
	background-image: url('../images/handle_ball.png');
	background-repeat: no-repeat;
	overflow: hidden;
}

.scrollbar .before-handle {
  background-image: url('../images/orange_repeat.png');
  position: absolute;
  width: 200px;
  height: 30px;
  top: 0px;
  pointer-events: none;
}

/*
.scrollbar .handle:after {
  content: '';
  background-image: url('../images/grey_repeat.png');
  background-repeat: repeat-x;
  width: 10000%;
  position: absolute;
  right: -10000%;
  height: 30px;
  overflow: hidden;
}
*/

.timeline-item-wrapper {
  height: 100%;
}

@media(min-width: 601px) {
  #block-views-timeline-mobile {
    display: none;
  }
}
@media(max-width: 600px) {
  #block-views-timeline-desktop {
    display: none;
  }
}


/* Timeline Item Theme */

.timeline-item:hover {
  -webkit-transition: all 200ms ease;
  -webkit-transform: scale(1.02);
  -ms-transition: all 200ms ease;
  -ms-transform: scale(1.02);
  -moz-transition: all 200ms ease;
  -moz-transform: scale(1.02);
  transition: all 200ms ease;
  transform: scale(1.02);
}

.timeline-item {
  margin: 20px 20px;
  position: relative;
  z-index: 2;
  -webkit-transition: all 200ms ease;
  -webkit-transform: scale(1);
  -ms-transition: all 200ms ease;
  -ms-transform: scale(1);
  -moz-transition: all 200ms ease;
  -moz-transform: scale(1);
  transition: all 200ms ease;
  transform: scale(1);
}

.timeline-item-container img {
  width: 100%;
  height: auto;
}

.timeline-item-container .timeline-item-top {
  position: relative;
}

.timeline-item-container .timeline-date {
  position: absolute;
  color: white;
  font-size: 20px;
  background-color: black;
  font-weight: bold;
  top: 0;
  padding: 5px 14px;
  text-align: center;
}

.timeline-item-container .timeline-item-bottom {
  padding: 25px;
}

.timeline-item-container .title {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
}

.timeline-item-container .title a {
  border-bottom: none;
  text-decoration: none;
}

.timeline-item-container .timeline-body {
  margin-top: 10px;
}

.timeline-item-container .timeline-link {
}


.mobile-timeline-item  {
  position: relative;
}
.mobile-timeline-item .desc-container {
  padding: 10px 25px 20px 25px;
}

.mobile-timeline-item .toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  background: #000;
  color: #000;
  display: block;
  overflow: hidden;
}
.mobile-timeline-item .toggle:after {
  content: "+";
  font-size: 35px;
  position: absolute;
  color: #fff;
  font-weight: bold;
  left: 6px;
  top: 1px;
  line-height: 25px;
}

.mobile-timeline-item .toggle.opened:after {
  transform: rotate(45deg);
  left: 7px;
  top: 1px;
}

.view-timeline {
  font-family: Roboto,"Helvetica Neue",Helvetica,Arial,sans-serif;
}

.view-timeline .views-exposed-widget.views-widget-filter-tid {
  clear: both;
  padding: 0 !important;
  width: 100%;
  margin-top: 1em;
}
.view-timeline .views-exposed-widget.views-widget-filter-tid .views-widget {
  border-top: 1px solid #e3e3e3;
  margin-top: 20px;
}
.view-timeline .views-exposed-widget.views-widget-filter-tid .views-widget .form-type-radio{
  margin-top: 5px;
  font-size: 20px;
  line-height: 26px;
  font-family: Roboto,"Helvetica Neue",Helvetica,Arial,sans-serif;
  padding: 5px;
}
.view-timeline .views-exposed-widget.views-widget-filter-tid .views-widget .form-type-radio:hover {
  background: #dedede;
  cursor: pointer;
}

.view-timeline .views-exposed-widget.views-submit-button {
  display: none;
}

.view-timeline .views-exposed-widget.views-widget-filter-tid .views-widget .form-type-radio input.bef-select-as-radios {
/*   display: none; */
}
.view-timeline .views-exposed-widget.views-widget-filter-tid .views-widget .form-type-radio label {
  padding-right: 0;
  max-width: 90%;
}
.view-timeline .views-exposed-widget.views-widget-filter-tid .views-widget .form-type-radio label.option {
  font-weight: bold;
  display: block;
  cursor: pointer
}

.view-timeline .views-exposed-widget.views-widget-filter-tid .views-widget .form-type-radio label:before {
  content: "";
  background-image: url('../images/select_radio_arrow.png');
  width: 26px;
  height: 26px;
  display: block;
  background-size: 25px;
  float: left;
  margin-right: 10px;
  z-index: 1;
}

.period-wrapper {
  margin: auto;
  width: 96%;
}

.view-timeline .date-periods {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
  cursor: pointer;
}

.view-timeline .date-periods:before {
/*
  content: '';
  position: absolute;
  left: 0px;
  bottom: -30px;
  z-index: 1;
  border-top: 30px solid #fff;
  border-right: 30px solid transparent;
*/
}

.view-timeline .date-period-4 {
  text-align: right;
}

.view-timeline .date-period-3:before {
/*
  content: '';
  position: absolute;
  left: inherit;
  right: 0px;
  bottom: -30px;
  z-index: 1;
  border-top: 30px solid #fff;
  border-right: none;
  border-left: 30px solid transparent;
*/
}

.item-list .pager a {
  color: white;
  background-color: #8c1d40;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  white-space: nowrap;
  padding: 6px 19px;
  font-size: 16px;
  line-height: 1.44;
  border-radius: 4px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: all 0.25s ease-in-out;
  font-family: 'Roboto';
  margin-top: 10px;
}

/* Timeline Updates - FC 12/13/2017 */

body .timeline-content { position: relative; overflow-y: hidden !important; }
  .timeline-left, .timeline-right { position: absolute; top: 45%; z-index: 999; background: rgba(0,0,0,0.7); }
  .timeline-left:hover, .timeline-right:hover { cursor: pointer; }
  .timeline-left .fa, .timeline-right .fa { font-size: 5rem; color: #fff; line-height: 5rem; }
  .timeline-left { left: 12px; padding: 0 10px 5px 8px; }
  .timeline-right { right: 12px; padding: 0 8px 5px 10px; }

.timeline-left.tabfocus:after, .timeline-right.tabfocus:after {
  content: "Use the left or right arrow on your keyboard to move forward or backward in the timeline.";
  position: absolute;
  background: rgba(255,255,255,0.9);
  padding: 20px;
  top: -10px;
  width: 250px;
  box-shadow: 0 0 3px rgba(0,0,0,0.3);
}
.timeline-left.tabfocus:after {
  left: 65px;
}
.timeline-right.tabfocus:after {
  right: 65px;
}
.timeline-help-text {
  position: absolute;
  right: 10px;
  top: 12px;
  z-index: 999;
  background: rgba(0,0,0,0.84);
  color: #fafafa;
  padding: 20px 24px;
  display: none;
}
.timeline-help-text.visible {
  display: block;
}
.timeline-help-text div {
  font-size: 1.1em;
  margin-bottom: .7em;
}
.timeline-help-text ul {
  margin-bottom: 0;
}
.timeline-help-dismiss-link {
  display: inline-block;
  color: #FDC53D;
  font-size: 14px;
  margin-top: 1em;
  text-transform: uppercase;
}
.timeline-help-dismiss-link:hover {
  color: #FFF;
}

.period-wrapper {
  position: relative;
}
.period-wrapper .help-icon {
  position: absolute;
  right: -15px;
  top: -4px;
  font-size: 28px;
}
.period-wrapper .help-icon:hover {
  cursor: pointer;
}

@media screen and (max-width: 900px) {
  .period-wrapper .help-icon {
    right: 5px;
  }
}
