/* =event widget
-------------------------------------------------------*/
#eventContainer {
    height: 190px;
    overflow: hidden;
    position: relative;
    margin: 8px;
}

#eventData {
    margin: 8px;
}

#eventTitleDiv {
    margin: 0;
    position: relative;
    width: 278px;
    padding: 5px;
}

#eventTitleDiv a {
    color: #fff;
    font-weight: normal;
}

#eventTitleDiv a:hover {
    color: #cf3;
}

#eventTitleDiv #eventTitle,
#eventTitleDiv #eventDate,
#eventTitleDiv #eventLocation {
    display: block;
}

.eventBox {
    background: #363636;
    border: 1px solid #333;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: inset 2px 2px 5px rgba(255, 255, 255, .3), 3px 3px 3px 0 rgba(0, 0, 0, .3);
    -webkit-box-shadow: inset 2px 2px 5px rgba(255, 255, 255, .3), 3px 3px 3px 0 rgba(0, 0, 0, .3);
    box-shadow: inset 2px 2px 5px rgba(255, 255, 255, .3), 3px 3px 3px 0 rgba(0, 0, 0, .3);
    color: #fff;
    float: left;
    font-size: 1em;
    font-weight: normal;
    text-align: center;
    min-height: 40px;
}

#eventTitle {
    font-size: 1.45em;
    margin: 0 0 .5em 0;
}

#eventList {
    border-top: 1px solid #ddd;
    list-style: none;
    margin: 30px 2px 0 2px;
    padding: 0;
    position: absolute;
    width: 286px;
}

#eventList li {
    border-bottom: 1px solid #ddd;
}

#eventList li:hover {
    background: #d5d5d5 !important;
}

#eventList a {
    color: #000;
    display: block;
    padding: 8px 5px;
    font-weight: normal;
    margin: 0 0 0 42px;
}

#eventList a:hover {
    text-decoration: none;
}

#eventList img {
    float: left;
    height: 32px;
    margin: 5px;
    width: 32px;
}

#eventList .eventName {
    color: #434B83;
    display: block;
    font-weight: bold;
}

.box {
    width: 100%;
    height: 300px;
    overflow-y: hidden;
    background: white;
}

.box::-scrollbar {
    display: none;
}

.box::-moz-scrollbar, .box::-webkit-scrollbar {
    display: none;
}

.button {
    border: none;
    color: white;
    padding: 2px;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
}

#scroll-up-button {
    background: #007aa9 url(../../images/graphics/spritesArrowsModule.png) 50% 5px no-repeat;
}

#scroll-down-button {
    background: #007aa9 url(../../images/graphics/spritesArrowsModule.png) 50% -114px no-repeat;
}

#scroll-right-button {
    background: #007aa9 url(../../images/graphics/spritesArrowsModule.png) 50% 5px no-repeat;
    transform: rotate(90deg);
    position: relative;
    left:10.2em;
    bottom:25.6em;
}

#scroll-left-button {
    background: #007aa9 url(../../images/graphics/spritesArrowsModule.png) 50% -114px no-repeat;
    transform: rotate(90deg);
    position: relative;
    right:10.2em;
    top:11.8em;
}

.event-cell {
    width: 100%;
    border-bottom: 1px solid #000;
}

.events {
    width: 290px;
    margin: auto;
}

#timelineButtons{
    color: #FFFFFF;
    font-size:0.8em;
    overflow: auto;
}

#timelineButtons .button {
    background-color: #373737;
    border-left: 1px solid #FFFFFF !important;
    border-right: 1px solid #FFFFFF !important;
    cursor: pointer;
    font-weight: bold;
    padding: 5px 5px;
    text-align: center;
    width: 15.42%;
    -moz-user-select: none;
}
.newScrollButton {
    background-color: #000000;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    cursor: pointer;
    opacity: 0.1;
    position: absolute;
    top: 1.4em;
    width: 30px;
    z-index: 100;
    display:block;
}
.newScrollR {
    background-image: url(../../images/controls/rightOffLarge.png);
    right: 0;
}
.newScrollR:hover {
    background-image: url(../../images/controls/rightOnLarge.png);
    opacity: 0.7 !important;
}
.newScrollL {
    background-image: url(../../images/controls/LeftOffLarge.png);
    left: 0;
}
.newScrollL:hover {
    background-image: url(../../images/controls/LeftOnLarge.png);
    opacity: 0.7 !important;
}
.newScrollButton div {
    display: block;
    height: 100%;
    width: 100%;
}
#timeline{
    width:auto;
    height:12em;
    position:relative;
    clear:both;
    overflow:hidden;
    font-size:1.2em;
}
#timeline:after{
    clear:both;
    content:"";
    display:block;
    height:0;
}
#timelineBand{
    position:absolute;
    background-image: url("../../images/graphics/timelineBg.png");
    background-repeat:repeat;
    top:4em;
    height:100%;
    width:100%;
    cursor:move;
}
#dayBand {
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    width:100%;
    height:100%;
}
.day{
    position:absolute;
    top:0;
    margin-top:-1.4em;
    margin-left:0.2em;
    font-weight:bold;
    font-size:0.8em;
}
.vis-item-overflow{
    white-space: nowrap;
    position:absolute;
    display:block;
    height:1.5em;
    background-color:#78c2ea;
    color:#fff;
    border-left:1px #eee solid;
    border-right:1px #eee solid;
}
.vis-item-overflow p {
    margin:0;
    padding:0 0.4em;
    width:90%;
    white-space: nowrap;
    overflow:hidden;
    text-overflow: ellipsis;
}
.event.national {
    background-color:#031F73;
}
.vis-item-overflow:hover {
    background-color:#000!important;
    cursor:pointer;
    background-image: url("../../images/graphics/infoKeyRollover.png");
    background-repeat: no-repeat;
    background-position:right;
}

.L {
    background-image: url("../../images/controls/LeftOff.png");
    background-position: 3% 50% !important;
    background-repeat: no-repeat !important;
    float: left;
}
.L:hover {
    color:#CF3;
    background-image: url("../../images/controls/LeftOn.png");
}
.R {
    background-image: url("../../images/controls/RightOff.png");
    background-position: 97% 50% !important;
    background-repeat: no-repeat !important;
    float: right;
}
.R:hover {
    color:#CF3 !important;
    background-image: url("../../images/controls/RightOn.png") !important;
}

.Linactive, .Linactive.button:hover {
    background-image: url("../../images/controls/LeftOff.png");
    background-position: 3% 50% !important;
    background-repeat: no-repeat !important;
    float: left;
    cursor: default !important;
    color: #FFFFFF;
    background-color: #BBBBBB !important;
    color: #EEEEEE !important;
}
.Rinactive, .Rinactive.button:hover {
    background-image: url("../../images/controls/RightOff.png");
    background-position: 97% 50% !important;
    background-repeat: no-repeat !important;
    float: right;
    cursor: default !important;
    color: #FFFFFF;
    background-color: #BBBBBB !important;
    color: #EEEEEE !important;
}
.newScrollR {
    background-image: url("../../images/controls/rightOffLarge.png");
    right: 0;
    height: 100%;
}
.newScrollR:hover {
    background-image: url("../../images/controls/rightOnLarge.png");
    opacity: 0.7 !important;
}
.newScrollL {
    background-image: url("../../images/controls/LeftOffLarge.png");
    left: 0;
    /*top: 22em;*/
    height: 100%;
}
.newScrollL:hover {
    background-image: url("../../images/controls/LeftOnLarge.png");
    opacity: 0.7 !important;
}
.newScrollButton div {
    display: block;
    height: 100%;
    width: 100%;
}

/*------------------- Horizontal / Vertical lines ----------------*/

/* style for ethers */
.timeline-ether-lines{border-color:#FFF; border-style:solid; position:absolute;}

.timeline-horizontal .timeline-ether-lines{border-width:0 0 0 2px; height:100%; top: 0; width: 2px;}

.timeline-vertical .timeline-ether-lines{border-width:1px 0 0; height:1px; left: 0; width: 100%;}




/*---------------- Weekends ---------------------------*/

.timeline-ether-weekends{
    position:absolute;
    background-color:#FFFFE0;
}

.timeline-vertical .timeline-ether-weekends{left:0;width:100%;}

.timeline-horizontal .timeline-ether-weekends{top:0; height:100%;}



/*-------------------------- HIGHLIGHT DECORATORS -------------------*/
.timeline-highlight-decorator,
.timeline-highlight-point-decorator{
    position:absolute;
    overflow:hidden;
}
.timeline-horizontal .timeline-highlight-point-decorator,
.timeline-horizontal .timeline-highlight-decorator{
    width:10px;
    top:0;
    height:100%;
}

.timeline-vertical .timeline-highlight-point-decorator,
.timeline-vertical .timeline-highlight-decorator{
    height:10px;
    width:100%;
    left:0;
}

.timeline-highlight-decorator{background-color:#FFC080;}
.timeline-highlight-point-decorator{background-color:#ff5;}



/*---------------------------- LABELS -------------------------*/
.timeline-highlight-label{position:absolute;overflow:hidden;font-size:200%;font-weight:bold;color:#999;}


/*---------------- VERTICAL LABEL -------------------*/
.timeline-horizontal .timeline-highlight-label{top:0;height:100%;}
.timeline-horizontal .timeline-highlight-label td{vertical-align:middle;}
.timeline-horizontal .timeline-highlight-label-start{text-align:right;}
.timeline-horizontal .timeline-highlight-label-end{text-align:left;}


/*---------------- HORIZONTAL LABEL -------------------*/
.timeline-vertical .timeline-highlight-label{left:0;width:100%;}
.timeline-vertical .timeline-highlight-label td{vertical-align:top;}
.timeline-vertical .timeline-highlight-label-start{text-align:center;}
.timeline-vertical .timeline-highlight-label-end{text-align:center;}



/*-------------------------------- DATE LABELS --------------------------------*/
.timeline-date-label{
    position:absolute;
    color:#000;
    height:20px;
    background-image:URL(../../images/controls/handle.png);
    background-repeat:no-repeat;
    background-position:-0.01px 0.6em;
    font-weight:bold;
    font-size:1.1em;
}
.timeline-date-label-em{color:#000;}

/* horizontal */
.timeline-horizontal .timeline-date-label{padding-left:10px;}
.timeline-horizontal .timeline-date-label{border-width:0 0 0 1px;}
.timeline-horizontal .timeline-date-label-em{height:2em}

/* vertical */
.timeline-vertical .timeline-date-label{padding-top:2px;}
.timeline-vertical .timeline-date-label{border-width:1px 0 0;}
.timeline-vertical .timeline-date-label-em{width:7em}

/*------------------------------- Ether.highlight -------------------------*/
.timeline-ether-highlight{
    position:absolute;
    background-color:#444;
    border-left:#000 solid 2px;
    border-right:#000 solid 2px;
}
.timeline-horizontal .timeline-ether-highlight{top:2px;}
.timeline-vertical .timeline-ether-highlight{left:2px;}



/*------------------------------ EVENTS ------------------------------------*/
.timeline-event-icon, .timeline-event-label,.timeline-event-tape{
    font-size:12px;
    position:absolute;
    cursor:pointer;
    color:#FFF;
}
.timeline-event-label{
    top:5px;
}
.timeline-event-tape,
.timeline-small-event-tape,
.timeline-small-event-icon{
    overflow:hidden;
}

.timeline-small-event-tape,
.timeline-small-event-icon{
    position:absolute;
}

.timeline-event-tape{
    height:18px;
    opacity: 0.7;
    filter: alpha(opacity = 70);

}

.timeline-small-event-tape{height:2px;}
.timeline-small-event-icon{width:1px; height:6px;}



/*--------------------------------- TIMELINE-------------------------*/
.timeline-ether-bg{width:100%; height:100%;}
.timeline-band-0 .timeline-ether-bg{
    background-color:none;
}
#timeline-band-0 {
    top:20px;
}
.timeline-band-1 .timeline-ether-bg{background-color:#666}
.timeline-band-2 .timeline-ether-bg{background-color:#ccc}
.timeline-band-3 .timeline-ether-bg{background-color:#aaa}
.timeline-duration-event {
    position: absolute;
    overflow: hidden;
    border: 1px solid blue;
}

.timeline-instant-event2 {
    position: absolute;
    overflow: hidden;
    border-left: 1px solid blue;
    padding-left: 2px;
}

.timeline-instant-event {
    position: absolute;
    overflow: hidden;
}

.timeline-event-bubble-title {
    font-weight: bold;
    border-bottom: 1px solid #888;
    margin-bottom: 0.5em;
}

.timeline-event-bubble-body {
}

.timeline-event-bubble-wiki {
    margin:     0.5em;
    text-align: right;
    color:      #A0A040;
}
.timeline-event-bubble-wiki a {
    color:      #A0A040;
}

.timeline-event-bubble-time {
    color: #aaa;
}

.timeline-event-bubble-image {
    float: right;
    padding-left: 5px;
    padding-bottom: 5px;
}.timeline-container {
     position: relative;
     overflow: hidden;
 }

.timeline-copyright {
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: 1000;
    cursor: pointer;
}

.timeline-message-container {
    position:   absolute;
    top:        30%;
    left:       35%;
    right:      35%;
    z-index:    1000;
    display:    none;
}
.timeline-message {
    font-size:      120%;
    font-weight:    bold;
    text-align:     center;
}
.timeline-message img {
    vertical-align: middle;
}

.timeline-band {
    position:   absolute;
    z-index:    10;
}

.timeline-band-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.timeline-band-input {
    position:   absolute;
    width:      1em;
    height:     1em;
    overflow:   hidden;
    z-index:    0;
}
.timeline-band-input input{
    width:      0;
}

.timeline-band-layer {
    position:   absolute;
    width:      100%;
    height:     100%;
}

.timeline-band-layer-inner {
    position:   relative;
    width:      100%;
    height:     100%;
}
.vis-major{
    display: none;
}
.vis-even {
    background-color: #E8E8E8;
}

.vis-item:hover {
    cursor: pointer;
}


