 @import url(https://fonts.googleapis.com/css?family=Raleway:400,300,500,600,700,800);
@font-face {
	font-family: 'FontAwesome';
	src: url('fonts/awesome/fontawesome-webfontba72.eot?v=4.0.3');
	src: url('fonts/awesome/fontawesome-webfontd41d.eot?#iefix&v=4.0.3') format('embedded-opentype'), 
	url('fonts/awesome/fontawesome-webfontba72.woff?v=4.0.3') format('woff'), 
	url('fonts/awesome/fontawesome-webfontba72.html?v=4.0.3') format('truetype'), 
	url('fonts/awesome/fontawesome-webfontba72.svg?v=4.0.3#fontawesomeregular') format('svg');
	font-weight: normal;
	font-style: normal;
}
/* -----------------------------------
 TIMELINE FLAT PORTFOLIO 
 ---------------------------------- */

.timelineFlat.timelineFlatPortfolio .item .read_more {
	margin-top: 20px;
}
.timelineFlat.timelineFlatPortfolio .item, .timelineFlat.timelineFlatPortfolio .item_open {
	height: 427px;
}
/* -----------------------------------
 TIMELINE FLAT BLOG 
 ---------------------------------- */
.timelineFlat.timelineFlatBlog .item, .timelineFlat.timelineFlatBlog .item_open {
	height: 361px;
}
.timelineFlat.timelineFlatBlog .item .post_date {
font-family: Arial, Helvetica, sans-serif;
    background: #1A1B52;
    color: #ffffff;
    padding: 5px 15px;
    text-align: center;
    font-size: 20px;
    line-height: 22px;
    margin: -40px 8px 0 0;
    float: right;
    position: relative;
    z-index: 2;
-moz-border-radius-topleft: 15px;
-webkit-border-top-left-radius: 15px;
 border-top-left-radius: 15px;
-moz-border-radius-bottomright: 15px;
-webkit-border-bottom-right-radius: 15px;
border-bottom-right-radius: 15px;	
}
.timelineFlat.timelineFlatBlog .item .post_date span {
	display: block;
	width: auto;
	height: auto;
	font-size: 13px;
	line-height: 12px;
	margin: 0;
	text-align: center;
}
/* -----------------------------------
 TIMELINE FLAT BASE DESIGN
 ---------------------------------- */

.timelineFlat {
	display: none;
}
.timelineLoader {
	width: 100%;
	text-align: center;
	padding: 150px 0;
}
/* fixed line holder */
.timelineFlat .timeline_line {
	margin-top: 0px;
	margin-bottom: 10px;
	width: 900px;
	height: 110px;
	background:url(../images/timeline/light/portfolio_bg.png) no-repeat top center;
}
/* full (including months that are not shown) line holder */
.timelineFlat .t_line_holder {
	padding: 12px 0 0 0;
	height: 90px;
	/*background: url('../images/timeline/light/line.jpg') repeat-x 0px 49px;*/
}
/* 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 #000;
	border-right: 1px solid transparent;
}
/* month caption */
.timelineFlat h4.t_line_month {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	margin: -30px 0 0;
	color: rgba(39, 41, 116, 1);
	border: none;
	display: block;
}
/* node on the timeline */
.timelineFlat a.t_line_node {
	text-decoration: none;
	padding: 43px 0 4px;
	font-family: Arial, Helvetica, sans-serif;
	height: 10px;
	font-size: 13px;
	top: -25px;
	position: relative;
	color: rgba(255, 255, 255, 0);
}
.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: #272974;
}
.timelineFlat a.t_line_node.active {
	color: rgba(255, 255, 255, 0);
	outline: none;
}
.timelineFlat a.t_line_node.active:after {
	border:3px solid #272974;
}
/* 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: #272974;
	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 #272974;
	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: #000;
	position: relative;
}
.timelineFlat #t_line_left:hover, .timelineFlat #t_line_right:hover {
	color: #1446A2;
}
/* line arrow left */
.timelineFlat #t_line_left {
	left: -25px;
}
.timelineFlat #t_line_left:after {
	content: "\f104";
	position: absolute;
	right: 0;
	top: 0;
}
/* line arrow right */
.timelineFlat #t_line_right {
	right: -25px;
}
.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;
}
/* items container */
.timelineFlat .timeline_items {
	padding: 0;
}
/* single item (margines set from javascript) */
.timelineFlat .item {
	width: 290px;
	height: 410px;
	background: #fff;
	color: #000;
	font-size: 14px;
	line-height: 14px;
	position: relative;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(50, 50, 50, 0.75);
-moz-box-shadow:    0px 0px 5px 0px rgba(50, 50, 50, 0.75);
box-shadow:         0px 0px 5px 0px rgba(50, 50, 50, 0.75);
}
.timelineFlat .item.item_node_hover:before {
	content: "";
	position: absolute;
	height: 4px;
	background: #272974;
	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 #272974;
}
/* ----- content - non-plugin elements ----- */
.timelineFlat .item img {
	margin-top: 0;
	width: 100%;
	padding:0px;
	margin:0px;
}
.timelineFlat .item h2 {
    font-family: Arial, Helvetica, sans-serif;
    padding: 3px 15px;
    margin: 3px 0px;
    font-size: 14px;
    font-weight: bold;
    line-height: 16px;
    color: #272974;
}
.timelineFlat .item span {
	display: block;
	margin: 0px 10px 10px;
	height: 75px;
	text-align: justify;
	line-height: 20px;
}
.description {
    width: 100%;
    margin: 0px;
    padding: 2px 15px;
    height: auto;
    float: left;
    font-size: 13px;
    line-height: 18px;
    color: #1A1B52;
	font-weight:normal;
	font-family: 'Raleway', sans-serif;
}
.description i {
	min-width: 58px;
	text-align: left;
	float: left;
	color:#1A1B52;
	font-weight:bold;
	font-style: normal;
}
.timelineFlat .item .read_more {
	font-family: Arial, Helvetica, sans-serif;
	padding: 5px 10px;
	font-size: 14px;
	line-height: 12px;
	float: right;
	color: #ffffff;
	cursor: pointer;
	margin: 10px 15px;
	border-radius: 2px;
	background: #272974;
	transition: background-color 300ms;
	-webkit-transition: background-color 300ms;
	-moz-transition: background-color 300ms;
}
.timelineFlat .item .read_more:hover {
	background: #f75f5f;
}
/* ----------------------------------------- */

/* 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: #272974;
}
/* 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: #272974;
}
.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: #272974;
	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: 25px;
	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/timeline/clean/blck-arrow-left.png') no-repeat center center;
}
.timelineFlat .t_left:hover {
	background: rgba(255,255,255, 0.7) url('../images/timeline/clean/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/timeline/clean/blck-arrow-right.png') no-repeat center center;
}
.timelineFlat .t_right:hover {
	background: rgba(255,255,255, 0.7) url('../images/timeline/clean/blck-arrow-right.png') no-repeat center center;
}

/* -----------------------------------------------------------------------*/
/* ------------------------------ 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;
}
}


/* --- 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;
}
}
