/*Add CSS for TIMELINE*/

/* Ligthbox */
#dp-lightbox-wrapper, #dp-lightbox-overlay {
top: 0;
left: 0;
z-index: 9999;
}
#dp-lightbox-overlay {
/*opacity: 0;*/
position: fixed;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, .7);
}
#dp-lightbox-wrapper {
display: none;
position: absolute;
background: #FFF;
top: 0;
left: 0;
padding: 0;
}
#dp-lightbox-loading {
background: #000000;
position: fixed;
top: 50%;
left: 50%;
margin-top: -22px;
margin-left: -22px;
opacity: 0.8;
cursor: pointer;
width: 44px;
height: 44px;
z-index: 9910;
}
#dp-lightbox-loading div {
  width: 44px;
  height: 44px;
  background: url('../images/loading.gif') center center no-repeat;
}
.dp-close {
  background: url('../images/lighbox_sprite.png');
  width: 33px;
  height: 33px;
  display: block;
  position: absolute;
  top: -20px;
  right: -20px;
  z-index: 9950;
}
.dp-lightbox-content .dp-lightbox-html {
  overflow: auto;
}
#inline_content label {
  display: block;
  width:100px;
  height: 100px;
  background: #CCC;
}
.dp-lightbox-non-scale{
  overflow-y: scroll;
}
.dp-lightbox-non-scale img {
  height: auto;
}

/* slide styles */
.bx-wrapper {
  position: relative;
  margin: 0 auto 60px;
  padding: 0;
  *zoom: 1;
}
.bx-wrapper .slider-box {
  width: 312px !important;
}
.bx-wrapper .slider-box > img {
  max-width: none;
  width: auto;
  height: auto;
  display: block;
}
/** THEME
===================================*/
.bx-wrapper .bx-viewport {
  left: 0;
  background: #fff;
  min-height: 474px;
  /*fix other elements on the page moving (on Chrome)*/
  -webkit-transform: translatez(0);
  -moz-transform: translatez(0);
  -ms-transform: translatez(0);
  -o-transform: translatez(0);
  transform: translatez(0);
}
.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
  position: absolute;
  bottom: -30px;
  width: 100%;
}
/* LOADER */
.bx-wrapper .bx-loading {
  min-height: 50px;
  background: url(../images/bx_loader.gif) center center no-repeat #fff;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2000;
}
/* PAGER */
.bx-wrapper .bx-pager {
  text-align: center;
  font-size: .85em;
  font-family: Arial;
  font-weight: bold;
  color: #666;
  padding-top: 20px;
}
.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
  display: inline-block;
  *zoom: 1;
  *display: inline;
}
.bx-wrapper .bx-pager.bx-default-pager a {
  background: #666;
  text-indent: -9999px;
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  outline: 0;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
  background: #000;
}
/* DIRECTION CONTROLS (NEXT / PREV) */
.bx-wrapper .bx-prev {
  left: 10px;
  background: url(../images/controls.png) no-repeat 0 -32px;
}
.bx-wrapper .bx-next {
  right: 10px;
  background: url(../images/controls.png) no-repeat -43px -32px;
}
.bx-wrapper .bx-prev:hover {
  background-position: 0 0;
}
.bx-wrapper .bx-next:hover {
  background-position: -43px 0;
}
.bx-wrapper .bx-controls-direction a {
  position: absolute;
  top: 50%;
  margin-top: -16px;
  outline: 0;
  width: 32px;
  height: 32px;
  text-indent: -9999px;
  z-index: 9999;
}
.bx-wrapper .bx-controls-direction a.disabled {
  display: none;
}
/* AUTO CONTROLS (START / STOP) */
.bx-wrapper .bx-controls-auto {
  text-align: center;
}
.bx-wrapper .bx-controls-auto .bx-start {
  display: block;
  text-indent: -9999px;
  width: 10px;
  height: 11px;
  outline: 0;
  background: url(../images/controls.png) -86px -11px no-repeat;
  margin: 0 3px;
}
.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active {
  background-position: -86px 0;
}
.bx-wrapper .bx-controls-auto .bx-stop {
  display: block;
  text-indent: -9999px;
  width: 9px;
  height: 11px;
  outline: 0;
  background: url(../images/controls.png) -86px -44px no-repeat;
  margin: 0 3px;
}
.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
  background-position: -86px -33px;
}
/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
  text-align: left;
  width: 80%;
}
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
  right: 0;
  width: 35px;
}
/* IMAGE CAPTIONS */
.bx-wrapper .bx-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #666\9;
  background: rgba(80, 80, 80, 0.75);
  width: 100%;
}
.bx-wrapper .bx-caption span {
  color: #fff;
  font-family: Arial;
  display: block;
  font-size: .85em;
  padding: 10px;
}

/* Styles for tooltip */
/*
* qTip2 - Pretty powerful tooltips - v2.2.1
* http://qtip2.com
*
* Copyright (c) 2014
* Released under the MIT licenses
* http://jquery.org/license
*
* Date: Sat Sep 6 2014 11:12 GMT+0100+0100
* Plugins: tips modal viewport svg imagemap ie6
* Styles: core basic css3
*/
.qtip{
  position: absolute;
  left: -28000px;
  top: -28000px;
  display: none;
  max-width: 380px;
  min-width: 380px;
  font-size: 10.5px;
  line-height: 12px;
  direction: ltr;
  box-shadow: none;
  padding: 0;
}
.qtip-content{
  position: relative;
  padding: 0;
  /*overflow: hidden;*/
  text-align: left;
  word-wrap: break-word;
}
.qtip-titlebar{
  position: relative;
  padding: 5px 35px 5px 10px;
  overflow: hidden;
  border-width: 0 0 1px;
  font-weight: bold;
}
.qtip-titlebar + .qtip-content{ border-top-width: 0 !important; }
/* Default close button class */
.qtip-close{
  position: absolute;
  right: -9px; top: -9px;
  z-index: 11; /* Overlap .qtip-tip */
  cursor: pointer;
  outline: medium none;
  border: 1px solid transparent;
}
.qtip-titlebar .qtip-close{
  right: 4px; top: 50%;
  margin-top: -9px;
}
* html .qtip-titlebar .qtip-close{ top: 16px; } /* IE fix */
.qtip-titlebar .ui-icon,
.qtip-icon .ui-icon{
  display: block;
  text-indent: -1000em;
  direction: ltr;
}
.qtip-icon, .qtip-icon .ui-icon{
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  text-decoration: none;
}
.qtip-icon .ui-icon{
  width: 18px;
  height: 14px;
  line-height: 14px;
  text-align: center;
  text-indent: 0;
  font: normal bold 10px/13px Tahoma,sans-serif;
  color: inherit;
  background: transparent none no-repeat -100em -100em;
}
/* Applied to 'focused' tooltips e.g. most recently displayed/interacted with */
.qtip-focus{}
/* Applied on hover of tooltips i.e. added/removed on mouseenter/mouseleave respectively */
.qtip-hover{}
/* Default tooltip style */
.qtip-default{}
.qtip-default .qtip-titlebar{
  background-color: #FFEF93;
}
.qtip-default .qtip-icon{
  border-color: #CCC;
  background: #F1F1F1;
  color: #777;
}
.qtip-default .qtip-titlebar .qtip-close{
  border-color: #AAA;
  color: #111;
}
/*! Light tooltip style */
.qtip-light{
  background-color: white;
  border-color: #E2E2E2;
  color: #454545;
}
.qtip-light .qtip-titlebar{
  background-color: #f1f1f1;
}
/*! Dark tooltip style */
.qtip-dark{
  background-color: #505050;
  border-color: #303030;
  color: #f3f3f3;
}
.qtip-dark .qtip-titlebar{
  background-color: #404040;
}
.qtip-dark .qtip-icon{
  border-color: #444;
}
.qtip-dark .qtip-titlebar .ui-state-hover{
  border-color: #303030;
}
/*! Cream tooltip style */
.qtip-cream{
  background-color: #FBF7AA;
  border-color: #F9E98E;
  color: #A27D35;
}
.qtip-cream .qtip-titlebar{
  background-color: #F0DE7D;
}
.qtip-cream .qtip-close .qtip-icon{
  background-position: -82px 0;
}
/*! Red tooltip style */
.qtip-red{
  background-color: #F78B83;
  border-color: #D95252;
  color: #912323;
}
.qtip-red .qtip-titlebar{
  background-color: #F06D65;
}
.qtip-red .qtip-close .qtip-icon{
  background-position: -102px 0;
}
.qtip-red .qtip-icon{
  border-color: #D95252;
}
.qtip-red .qtip-titlebar .ui-state-hover{
  border-color: #D95252;
}
/*! Green tooltip style */
.qtip-green{
  background-color: #CAED9E;
  border-color: #90D93F;
  color: #3F6219;
}
.qtip-green .qtip-titlebar{
  background-color: #B0DE78;
}
.qtip-green .qtip-close .qtip-icon{
  background-position: -42px 0;
}
/*! Blue tooltip style */
.qtip-blue{
  background-color: #E5F6FE;
  border-color: #ADD9ED;
  color: #5E99BD;
}
.qtip-blue .qtip-titlebar{
  background-color: #D0E9F5;
}
.qtip-blue .qtip-close .qtip-icon{
  background-position: -2px 0;
}
.qtip-shadow{
  -webkit-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.15);
  box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.15);
}
/* Add rounded corners to your tooltips in: FF3+, Chrome 2+, Opera 10.6+, IE9+, Safari 2+ */
.qtip-rounded,
.qtip-tipsy,
.qtip-bootstrap{
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
.qtip-rounded .qtip-titlebar{
  -moz-border-radius: 4px 4px 0 0;
  -webkit-border-radius: 4px 4px 0 0;
  border-radius: 4px 4px 0 0;
}
/* Youtube tooltip style */
.qtip-youtube{
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  -webkit-box-shadow: 0 0 3px #333;
  -moz-box-shadow: 0 0 3px #333;
  box-shadow: 0 0 3px #333;
  color: white;
  border: 0 solid transparent;
  background: #4A4A4A;
  background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0,#4A4A4A),color-stop(100%,black));
  background-image: -webkit-linear-gradient(top,#4A4A4A 0,black 100%);
  background-image: -moz-linear-gradient(top,#4A4A4A 0,black 100%);
  background-image: -ms-linear-gradient(top,#4A4A4A 0,black 100%);
  background-image: -o-linear-gradient(top,#4A4A4A 0,black 100%);
}
.qtip-youtube .qtip-titlebar{
  background-color: #4A4A4A;
  background-color: rgba(0,0,0,0);
}
.qtip-youtube .qtip-content{
  padding: .75em;
  font: 12px arial,sans-serif;
  filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#4a4a4a,EndColorStr=#000000);
  -ms-filter: "progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#4a4a4a,EndColorStr=#000000);";
}
.qtip-youtube .qtip-icon{
  border-color: #222;
}
.qtip-youtube .qtip-titlebar .ui-state-hover{
  border-color: #303030;
}
/* jQuery TOOLS Tooltip style */
.qtip-jtools{
  background: #232323;
  background: rgba(0, 0, 0, 0.7);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#717171), to(#232323));
  background-image: -moz-linear-gradient(top, #717171, #232323);
  background-image: -webkit-linear-gradient(top, #717171, #232323);
  background-image: -ms-linear-gradient(top, #717171, #232323);
  background-image: -o-linear-gradient(top, #717171, #232323);
  border: 2px solid #ddd;
  border: 2px solid rgba(241,241,241,1);
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  -webkit-box-shadow: 0 0 12px #333;
  -moz-box-shadow: 0 0 12px #333;
  box-shadow: 0 0 12px #333;
}
/* IE Specific */
.qtip-jtools .qtip-titlebar{
  background-color: transparent;
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171,endColorstr=#4A4A4A);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171,endColorstr=#4A4A4A)";
}
.qtip-jtools .qtip-content{
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A,endColorstr=#232323);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A,endColorstr=#232323)";
}
.qtip-jtools .qtip-titlebar,
.qtip-jtools .qtip-content{
  background: transparent;
  color: white;
  border: 0 dashed transparent;
}
.qtip-jtools .qtip-icon{
  border-color: #555;
}
.qtip-jtools .qtip-titlebar .ui-state-hover{
  border-color: #333;
}
/* Cluetip style */
.qtip-cluetip{
  -webkit-box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.4);
  box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.4);
  background-color: #D9D9C2;
  color: #111;
  border: 0 dashed transparent;
}
.qtip-cluetip .qtip-titlebar{
  background-color: #87876A;
  color: white;
  border: 0 dashed transparent;
}
.qtip-cluetip .qtip-icon{
  border-color: #808064;
}
.qtip-cluetip .qtip-titlebar .ui-state-hover{
  border-color: #696952;
  color: #696952;
}
/* Tipsy style */
.qtip-tipsy{
  background: black;
  background: rgba(0, 0, 0, .87);
  color: white;
  border: 0 solid transparent;
  font-size: 11px;
  font-family: 'Lucida Grande', sans-serif;
  font-weight: bold;
  line-height: 16px;
  text-shadow: 0 1px black;
}
.qtip-tipsy .qtip-titlebar{
  padding: 6px 35px 0 10px;
  background-color: transparent;
}
.qtip-tipsy .qtip-content{
  padding: 6px 10px;
}
.qtip-tipsy .qtip-icon{
  border-color: #222;
  text-shadow: none;
}
.qtip-tipsy .qtip-titlebar .ui-state-hover{
  border-color: #303030;
}
/* Tipped style */
.qtip-tipped{
  border: 3px solid #959FA9;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  background-color: #F9F9F9;
  color: #454545;
  font-weight: normal;
  font-family: serif;
}
.qtip-tipped .qtip-titlebar{
  border-bottom-width: 0;
  color: white;
  background: #3A79B8;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#3A79B8), to(#2E629D));
  background-image: -webkit-linear-gradient(top, #3A79B8, #2E629D);
  background-image: -moz-linear-gradient(top, #3A79B8, #2E629D);
  background-image: -ms-linear-gradient(top, #3A79B8, #2E629D);
  background-image: -o-linear-gradient(top, #3A79B8, #2E629D);
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8,endColorstr=#2E629D);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8,endColorstr=#2E629D)";
}
.qtip-tipped .qtip-icon{
  border: 2px solid #285589;
  background: #285589;
}
.qtip-tipped .qtip-icon .ui-icon{
  background-color: #FBFBFB;
  color: #555;
}
/* IE9 fix - removes all filters */
.qtip:not(.ie9haxors) div.qtip-content,
.qtip:not(.ie9haxors) div.qtip-titlebar{
  filter: none;
  -ms-filter: none;
}
.qtip .qtip-tip{
  margin: 0 auto;
  overflow: hidden;
  z-index: 10;
}
/* Opera bug #357 - Incorrect tip position
https://github.com/Craga89/qTip2/issues/367 */
x:-o-prefocus, .qtip .qtip-tip{
  visibility: hidden;
}
.qtip .qtip-tip,
.qtip .qtip-tip .qtip-vml,
.qtip .qtip-tip canvas{
  position: absolute;
  display: none;
  color: #123456;
  background: transparent;
  border: 0 dashed transparent;
}
.qtip .qtip-tip canvas{ top: 0; left: 0; }
.qtip .qtip-tip .qtip-vml{
  behavior: url(#default#VML);
  display: inline-block;
  visibility: visible;
}
#qtip-overlay{
  position: fixed;
  left: 0; top: 0;
  width: 100%; height: 100%;
}
/* Applied to modals with show.modal.blur set to true */
#qtip-overlay.blurs{ cursor: pointer; }
/* Change opacity of overlay here */
#qtip-overlay div{
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: black;
  opacity: 0.7;
  filter:alpha(opacity=70);
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
}
.qtipmodal-ie6fix{
  position: absolute !important;
}
.tooltip-list {
  position: absolute;
  top: 0;
  left: 0;
}

/* Styles for timeline home */
.dp-close {
  position: absolute;
  top: -8px;
  right: -12px;
  width: 29px;
  height: 29px;
  text-indent: -9999px;
  overflow: hidden;
  border-radius: 100%;
  background: #fff;
  z-index: 10;
  font-size: 0;
  line-height: 0;
}
.dp-close:after {
  content: 'x';
  position: absolute;
  top: -6px;
  left: 7px;
  width: 29px;
  height: 29px;
  color: #231f20;
  text-indent: 0;
  font: bold 30px "Trebuchet MS", Helvetica, sans-serif;
}
.dp-close:hover,
.dp-close:hover:after {text-decoration: none;}
#timeline-gallery .gallery-holder {
  width: 100%;
  overflow: hidden;
}
#timeline-gallery .bx-prev,
#timeline-gallery .bx-next {
  position: absolute;
  bottom: 34px;
  left: 20px;
  width: 13px;
  height: 19px;
  top: auto;
  text-indent: -9999px;
  overflow: hidden;
  background: url(../images/gallery-arrows.png) no-repeat;
  z-index: 10;
}
#timeline-gallery .bx-next {
  left: auto;
  right: 20px;
  background-position: 0 -29px;
}
#timeline-gallery .gallery {
  width: 9999px;
  margin: 0;
  padding: 0;
  list-style-type: none;
  overflow: hidden;
}
#timeline-gallery .gallery > li {
  float: left;
  width: 940px;
  letter-spacing: -6px;
}
#timeline-gallery .time-period {
  display: inline-block;
  vertical-align: top;
  width: 312px;
  letter-spacing: 0;
  position: relative;
}
/*#timeline-gallery .time-period.wide {width: 320px;}*/
#timeline-gallery .time-period > img {
  width: 312px;
  height: 474px;
  position: relative;
  z-index: 10000;
}
#timeline-gallery .time-period.wide > img {width: 320px;}
#timeline-gallery .info-list {
  position: absolute;
  bottom: 86px;
  left: 28px;
  right: 28px;
  margin: 0;
  padding: 0;
  text-align: center;
  letter-spacing: -6px;
  z-index: 100001;
}
#timeline-gallery .info-list li {
  display: inline-block;
  vertical-align: top;
  letter-spacing: 0;
  margin: 0 5px 12px;
  position: relative;
}
#timeline-gallery .info-list li a {
  display: block;
  width: 13px;
  height: 13px;
  text-indent: -9999px;
  overflow: hidden;
  border-radius: 2px;
  background: #fff;
}
#timeline-gallery .info-list > li.active a,
#timeline-gallery .info-list li a:hover,
#timeline-gallery .info-list li:hover a {background: #888;}
#timeline-gallery .hidden {
  display: none;
}
.js-tooltip-content.popup {
  padding: 13px 20px 20px;
  background: #fff;
  border-radius: 5px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 10;
  -webkit-box-shadow: 5px 5px 8px rgba(0,1,1,.5);
  box-shadow: 5px 5px 8px rgba(0,1,1,.5);
}
.js-tooltip-content.popup:before {
  position: absolute;
  content: '';
  bottom: -9px;
  left: 28px;
  width: 17px;
  height: 17px;
  background: #fff;
  z-index: 1;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-box-shadow: 6px 6px 5px rgba(0,1,1,.5);
  box-shadow: 6px 6px 5px rgba(0,1,1,.5);
}
.js-tooltip-content.tooltip-right.popup:before {
  left: auto;
  right: 28px;
}
.js-tooltip-content.popup .alignleft {
  float: left;
  margin: 9px 18px 0 0;
}
.js-tooltip-content.popup .alignright {
  float: right;
  margin: 9px 0 0 18px;
}
.js-tooltip-content.popup .description {
  font: 15px/18px 'Roboto', Arial, Helvetica, sans-serif;
  text-align: left;
  color: #000;
  overflow: hidden;
}
.js-tooltip-content.popup .description p {margin: 0;}
.js-tooltip-content.popup .year {
  display: block;
  margin: 0 0 -8px;
  font: 38px/60px 'filmotype_gayregular', Arial, Helvetica, sans-serif;
  color: #0075bc;
}
#timeline-gallery .info-list > li.active .popup {display: none;}
#timeline-gallery .bottom-row {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 86px;
  padding: 4px 0 0;
  font-family: 'filmotype_gayregular', Arial, Helvetica, sans-serif;
  border-top: 1px solid #fff;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 100002;
}
#timeline-gallery .bottom-row .title {
  display: block;
  text-align: center;
  font-weight: normal;
  font-size: 78px;
  line-height: 81px;
  color: #fff;
  text-shadow: 3px 3px 5px rgba(0,1,1,.75);
}
