.timelineFlat { display:none; }
.timelineLoader { width:100%; text-align:center; padding:150px 0;}
/* fixed line holder */
.timelineFlat .timeline_line { margin-top:10px; padding:0; height:80px; width:900px;background:#fff; display: block;
-webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;
-webkit-box-shadow: 0 -1px 2px #cdcdcd; -moz-box-shadow: 0 -1px 2px #cdcdcd; box-shadow: 0 -1px 2px #cdcdcd; 
 background-image: -webkit-linear-gradient(top, rgba(0,0,0,.02), rgba(255,255,255,.02)); 
 background-image: -moz-linear-gradient(top, rgba(0,0,0,.02), rgba(255,255,255,.02)); 
 background-image: -o-linear-gradient(top, rgba(0,0,0,.02), rgba(255,255,255,.02)); 
 background-image: linear-gradient(to bottom, rgba(0,0,0,.02), rgba(255,255,255,.02)); }
/* full (including months that are not shown) line holder */
.timelineFlat .t_line_holder { height:80px; padding:10px 0 0 0; background:url(../images/line_timeline.png) repeat-x 0px 49px;border: solid 1px #eee;
	-webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;}
/* 2 months are stored in one view */
.timelineFlat .t_line_view { height:20px; width:900px; }
/* holder for 1 month (constist of nodes and month caption) - we use borders to separate months thats why it has width 2px less then 50% */
.timelineFlat .t_line_m { margin-top:35px; height:10px; border-left:1px solid transparent; border-right:1px solid #b7b6b6; width:448px;}
/* month on the right side - has left set at 459 so border would overlap border from first element (to evade duplicated borders) */
.timelineFlat .t_line_m.right { left:449px; width:449px; border-left:1px solid #b7b6b6; border-right:1px solid transparent;}
/* month caption */
.timelineFlat h4.t_line_month { margin:-30px 0 0; font:700 1em/1em 'Roboto'; text-transform: uppercase; color:#3b4a5d;}
/* node on the timeline */
.timelineFlat a.t_line_node { text-decoration:none; padding:38px 0 4px; font:300 0.85em/1em 'Roboto'; height:10px; top:-25px;position: relative;
color:#b5b5b5; }
.timelineFlat a.t_line_node:after { content: ""; border-radius: 22px; height: 10px; width: 10px; border: 2px solid #ffffff;
position: absolute; top: 23px; left: 50%; margin: 0 0 0 -7px; background:#85b9f8;}
.timelineFlat a.t_line_node.active { color:#85b9f8; }
.timelineFlat a.t_line_node.active:after { border: 2px solid #b7b6b6; }
/* node description */
.timelineFlat .t_node_desc { white-space: normal !important; top:-50px; opacity: 0; filter: alpha(opacity=0); left: 50%; color:#fff; 
display: inline-block !important; position: relative; transition:top 200ms, opacity 500ms; 
-webkit-transition:top 200ms, opacity 500ms; -moz-transition:top 200ms, opacity 500ms;}
.timelineFlat a.t_line_node:hover .t_node_desc { top:0; opacity: 1; filter: alpha(opacity=100);}
.timelineFlat .t_node_desc span { white-space: nowrap; margin-left: -50%; margin-right: 50%; margin-top: -16px; display: block !important; 
padding:8px; border-radius: 3px; background: #85b9f8; position: relative;}
.timelineFlat .t_node_desc span:after { content: ""; width: 0; height: 0; display: block; position: absolute; bottom: -10px; 
border:5px solid transparent; border-top:5px solid #85b9f8; left:50%; margin-left: -5px;}
.timelineFlat #t_line_left,
.timelineFlat #t_line_right { display: inline-block; font-family: FontAwesome; font-style: normal; font-weight: normal; line-height: 1; 
-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; cursor:pointer; top:39px; width:14px; height:21px; font-size: 21px; 
color: #b7b6b6; position: relative;}
.timelineFlat #t_line_left:hover,
.timelineFlat #t_line_right:hover {color: #85b9f8;}
/* line arrow left */
.timelineFlat #t_line_left {left:-30px;}
.timelineFlat #t_line_left:after {content: "\f104"; position: absolute; right: 0;top:0;}
/* line arrow right */
.timelineFlat #t_line_right { right:-30px; }
.timelineFlat #t_line_right:after { content: "\f105"; position: absolute; left: 0; top:0; }
.timelineFlat { display:none; }
.timeline_items_wrapper { position: relative; width: 100%; margin: 10px 0; background: #fff url(../images/bg_timeline_items_wrapper.jpg) top center no-repeat; background-size: cover;}
/* items container */
.timelineFlat .timeline_items { padding:0; }
/* single item (margines set from javascript) */
.timelineFlat .item { width:32em; height:29em; padding:4.2em 0 ; overflow: hidden; background:none transparent;  color:#000; font-size:14px; line-height:14px; position: relative; }
.timelineFlat .item.item_node_hover:before { content: ""; position: absolute; height: 4px; background: #85b9f8; width: 100%; z-index: 2; top:0; left:0; }
.timelineFlat .item.item_node_hover:after { content: ""; position: absolute; height: 0; width: 0; z-index: 2; top:0; left:50%; margin: 4px 0 0 -6px; 
border: 6px solid transparent; border-top: 6px solid #85b9f8;}
/* ----------------------------------------- */
/* item details (margines set from javascript) */
.timelineFlat .item_open { width:410px; height:410px; background:#eaeaea;  position:relative; color:#777777; z-index:2;}
.timelineFlat .item_open h2 { font-family: Montserrat; margin:0 0 10px; padding-top:0; font-size:12px; line-height:12px; color: #85b9f8; }
/* item details content wrapper (used for animation - shuld have same width as .item_open) */
.timelineFlat .item_open_cwrapper { width:410px; height:100%; }
.timelineFlat .item_open_content { width:100%; height:100%; position:relative; }
.timelineFlat .item_open_content .ajaxloader { position:absolute; top:50%; left:50%; margin:-10px 0 0 -100px; }
/* ----- content - non-plugin elements ----- */
.timelineFlat .timeline_open_content { padding:20px; }
.timelineFlat .mCSB_container { margin-right: 16px; }
.timelineFlat .mCS-light-thin > .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar  { background: #85b9f8; }
.timelineFlat .mCS-light-thin > .mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar { color:#f75f5f; }
.timelineFlat .mCS-light-thin > .mCSB_scrollTools .mCSB_draggerRail { background: #aaaaaa; }
.timelineFlat .mCustomScrollBox > .mCSB_scrollTools { width: 8px; }
.timelineFlat .item_open .t_close { position:absolute; top:20px; right:16px; padding:0 2px 2px 2px; width: 12px; height: 12px; font-size:16px; line-height: 12px; 
color: #85b9f8; cursor:pointer; z-index:2; text-align: center; transition:color 300ms; -webkit-transition: color 300ms; -moz-transition: color 300ms; }
.timelineFlat .item_open .t_close:hover { color:#f75f5f; }
/* ----------------------------------------- */
/* left/right controles */
.timelineFlat .t_controles { margin:0; }
.timelineTouch.timelineFlat .t_left,
.timelineTouch.timelineFlat .t_right { display: none; }
.timelineFlat:hover .t_left,
.timelineFlat:hover .t_right { opacity: 1; filter: alpha(opacity=100); }
.timelineFlat .t_left,
.timelineFlat .t_right { position: absolute; display:block; height:100%; width:75px; margin:0; cursor:pointer; top:0; z-index: 10; opacity: 0; 
filter: alpha(opacity=0); transition:background-color 300ms, opacity 300ms; -webkit-transition: background-color 300ms, opacity 300ms; 
-moz-transition: background-color 300ms, opacity 300ms; }
.timelineFlat .t_left,  
.timelineFlat .t_left:hover:active { left:0; background: rgba(255,255,255, 0.5) url('../images/blck-arrow-left.png') no-repeat center center; }
.timelineFlat .t_left:hover { background: rgba(255,255,255, 0.7) url('../images/blck-arrow-left.png') no-repeat center center; }
.timelineFlat .t_right, 
.timelineFlat .t_right:hover:active{ right:0; background: rgba(255,255,255, 0.5) url('../images/blck-arrow-right.png') no-repeat center center; }
.timelineFlat .t_right:hover { background: rgba(255,255,255, 0.7) url('../images/blck-arrow-right.png') no-repeat center center; }
/* item style content */
.timelineFlat figure        { height:100%;overflow:hidden;}
.timelineFlat figure img    { display:inline-block; max-height:100%; max-width:100%}
.timelineFlat .item  p.date  { font:400 0.85em/1em "Roboto",sans-serif; color:#7e7e7e;}
.timelineFlat .item q  { min-height:8em; font:500 italic 1em/1em "Roboto",sans-serif; color:#4f4f4f; display: block;}
.timelineFlat .item cite  { margin:1em 0 0 0; padding:0.5em 0 0 0; border-top:1px solid #f5f5f5; font:400 0.85em/1em "Roboto",sans-serif; color:#4f4f4f; display: block;}
.timelineFlat .item cite span  { font:400 bold 1em/1em "Roboto",sans-serif; color:#585858; display: block;}

/* -----------------------------------------------------------------------*/
/* ------------------------------ RESPONSIVE -----------------------------*/
/* -----------------------------------------------------------------------*/
/* --- 768px --- */
@media screen and (max-width:980px) { 
	.timelineFlat .timeline_line { width:680px; }
	.timelineFlat .t_line_view { width:680px; }
	.timelineFlat .t_line_m { width: 338px; }
	.timelineFlat .t_line_m.right { left: 339px; width: 339px; }
}
@media screen and (max-width:1050px) { 
	.timelineFlat figure        { height:12em;overflow:hidden;}
	.timelineFlat .item { width:25em; height:17em; padding:1em 0 0 0; background:none transparent;  color:#000; font-size:14px; line-height:14px; position: relative; }
	.timelineFlat .item q  { min-height:8em; font:400 italic 0.9em/1em "Roboto",sans-serif; color:#4f4f4f; display: block;}

}
@media (min-width:1051px) and (max-width:1680px) { 
	.timelineFlat figure        { height:12em;overflow:hidden;}
	.timelineFlat .item { width:25em; height:20em; padding:2em 0 0 0; background:none transparent;  color:#000; font-size:14px; line-height:14px; position: relative; }
}/* --- 610px --- */
@media screen and (max-width:767px) {
	.timelineFlat .timeline_line { width:530px; }
	.timelineFlat .t_line_view { width:1060px; }
	.timelineFlat .t_line_m { width: 528px; }
	.timelineFlat .t_line_m.right { left: 530px; width: 528px; }
	.timelineFlat .t_line_node span {}
	.timelineFlat .t_node_desc { font-size:8px; }
	.timelineFlat .t_line_m.right .t_node_desc {right:auto;left:0;}
}
/* --- 300px --- */
@media screen and (max-width:609px) {
	.timelineFlat .timeline_line {width:240px;}
	.timelineFlat .t_line_view {width:480px;}
	.timelineFlat .t_line_m {width: 238px;}
	.timelineFlat .t_line_m.right {left: 240px;width: 238px;}
	.timelineFlat .item_open { width:280px; height:390px; }
	.timelineFlat .item_open img {max-width:280px;} 
	.timelineFlat .item_open_cwrapper {width:280px;}
}