div.timeline-frame {
    -moz-box-sizing: border-box;
    border:none !important;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

div.timeline-content {
    overflow: hidden;
    position: relative;
	background:#FAFAFA;
	color:#333;
}

div.timeline-axis {
    -moz-box-sizing: border-box;
    border-color: #4e515c;
    border-top-style: solid;
    border-width: 1px;
    box-sizing: border-box;
	background:#f1f1f1;
}

div.timeline-axis-grid {
    -moz-box-sizing: border-box;
	border:0px;
	border-bottom:1px dashed #4e515c;
    border-left:1px dashed #4e515c;
    box-sizing: border-box;
}

div.timeline-axis-grid-minor {
    border-color: #ccc;
	border-style:dashed;
}

div.timeline-axis-grid-major {
    border-color: #4e515c;
}

div.timeline-axis-text {
    padding: 5px 10px;
    white-space: nowrap;
}

div.timeline-axis-text-minor {
	font-weight:bold;
}

div.timeline-axis-text-major {
	background:#333;
	font-weight:bold !important;
	z-index:2;
	color:#fff;
	padding:5px 20px;
}

div.timeline-event {
    -moz-box-sizing: border-box;
    background-color: #d5ddf6;
    border-color: #222 !important;
    box-sizing: border-box;
    display: inline-block;
}

div.timeline-event-selected {
    background-color: #fff785;
    z-index: 10;
}

/* TODO: use another color or pattern? */
div.timeline-event-cluster {
    background: url('img/cluster_bg.png') #97b0f8;
}

div.timeline-event-cluster div.timeline-event-dot {
    border-color: #d5ddf6;
}

div.timeline-event-box {
    -moz-border-radius: 5px; /* For Firefox 3.6 and older */
    border-radius: 5px;
    border-style: solid;
    border-width: 1px;
    text-align: center;
}

div.timeline-event-dot {
    -moz-border-radius: 5px; /* For Firefox 3.6 and older */
    border-radius: 5px;
    border-style: solid;
    border-width: 5px;
}

div.timeline-event-range {
    -moz-border-radius: 4px; /* For Firefox 3.6 and older */
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
}

div.timeline-event-range-drag-left {
    cursor: w-resize;
    z-index: 1000;
}

div.timeline-event-range-drag-right {
    cursor: e-resize;
    z-index: 1000;
}

div.timeline-event-line {
    -moz-box-sizing: border-box;
    border-left-style: solid;
    border-left-width: 1px;
    box-sizing: border-box;
}

div.timeline-event-content {
    overflow: hidden;
    white-space: nowrap;
	color:#333;
	font-size:16px !important;
	text-overflow: ellipsis;
}

div.timeline-groups-axis {
    -moz-box-sizing: border-box;
    border-color: #bebebe;
    border-width: 1px;
    box-sizing: border-box;
}

div.timeline-groups-axis-onleft {
    background:#FAFAFA;
	color:#333;
    border-right:1px solid #333;
}

div.timeline-groups-axis-onright {
    border-style: none none none solid;
}

div.timeline-groups-text {
    padding-top: 20px;
    padding-bottom: 20px;
	position:relative;
	width:110px;
	font-weight:bold;line-height:1;
    display:flex;justify-content:center;align-items:center;
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
}

div.timeline-groups-text i{display:block;margin:0 0 10px;border-radius:5px;}

div.timeline-currenttime {
    -moz-box-sizing: border-box;
    background-color: #ff7f6e;
    box-sizing: border-box;
    width: 2px;
	top:70px !important;bottom:0;height:auto !important;
}

div.timeline-customtime {
    -moz-box-sizing: border-box;
    background-color: #6e94ff;
    box-sizing: border-box;
    cursor: move;
    width: 2px;
}

div.timeline-navigation {
    -moz-border-radius: 2px; /* For Firefox 3.6 and older */
    -moz-box-sizing: border-box;
    background-color: #f5f5f5;
    border: 1px solid #bebebe;
    border-radius: 2px;
    box-sizing: border-box;
    color: #fff;
    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 {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    float: left;
    height: 40px;
    padding: 15px;
    text-decoration: none;
    width: 40px;
}
div.timeline-navigation > div:hover{background-color:#111;}
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;
}

div.timeline-navigation-delete {
    background: url('img/16/delete.png') no-repeat center;
}

div.timeline-navigation-zoom-in {
    background: url('img/16/zoomin.png') no-repeat center;
}

div.timeline-navigation-zoom-out {
    background: url('img/16/zoomout.png') no-repeat center;
}

div.timeline-navigation-move-left {
    background: url('img/16/moveleft.png') no-repeat center;
}

div.timeline-navigation-move-right {
    background: url('img/16/moveright.png') no-repeat center;
}

.ui-state-highlight .ui-icon, .ui-button .ui-state-highlight.ui-icon {
    background-image:none;
}
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight{border:0;background:#333 !important;color:#fff;border-radius:5px;overflow:hidden;}

.context{padding:5px 5px 5px 15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;position:relative;}
.context em{font-size:12px;opacity:0.7;display:inline-block;margin:0 5px 0 0;}