﻿/* -----------------------------------
 TIMELINE FLAT BASE DESIGN
 ---------------------------------- */

.timelineFlat {
	display:none;
}
.timelineLoader {
	width:100%;
	text-align:center;
	padding:150px 0;
}


/* fixed line holder */
.timelineFlat .timeline_line {
	margin-top:5px;
	margin-bottom:5px;
	width:1160px;
	padding: 0;
}

/* full (including months that are not shown) line holder */
.timelineFlat .t_line_holder {
	padding: 15px 0 0 0;
	height:80px;
	background:url('../img/line.png') repeat-x 0px 49px;
}

/* 2 months are stored in one view */
.timelineFlat .t_line_view {
	height:20px;
	width:1160px;
	padding: 0;
}



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

/* 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:551px;
	width:551px;
	border-left:1px solid #b7b6b6;
	border-right:1px solid transparent;
}

/* month caption */
.timelineFlat h4.t_line_month {
	font-family: 'Oswald', sans-serif;
	font-size: 16px;
	margin:-30px 0 0;
	color:#fff;
}


/* node on the timeline */
.timelineFlat a.t_line_node {
	text-decoration:none;
	padding:46px 0 4px;
	font-family: 'Oswald', sans-serif;
	height:10px;
	font-size:16px;
	top:-28px;
	position: relative;
	color:#b7b6b6;
	background:url('../img/point-act.png') no-repeat center 24px;
}
/* aktywny tytuł na osi */
.timelineFlat a.t_line_node.active {
	color:#fff;
	background:url('../img/point-deact.png') no-repeat center 24px;
}
/* obwódka punktu aktywnego tytułu na osi */
.timelineFlat a.t_line_node.active:after {
	/*border: 2px solid #b7b6b6;*/
	background:url('../img/point-deact.png') no-repeat center 24px;
}

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

/*krótki opis gry*/
.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: #ad0000;
	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 #ad0000;
	left:50%;
	margin-left: -5px;
}


.timelineFlat #t_line_left,
.timelineFlat #t_line_right {
	display: inline-block;
	/*font-family: FontArial;*/
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	cursor:pointer;
	top:42px;
	width:16px;
	height:25px;
	color: #b7b6b6;
	position: relative;
}

.timelineFlat #t_line_left:hover,
.timelineFlat #t_line_right:hover {
	color: #ad0000;
}

/* line arrow left */
.timelineFlat #t_line_left {
	left:0px;
    z-index: 20;
	background-image:url('../img/prev.png')
}


/* line arrow right */
.timelineFlat #t_line_right {
	right:2px;
        z-index: 20;
	background-image:url('../img/next.png')
}

.timelineFlat {
	display:none;
}

.timeline_items_wrapper {
	position: relative;
	width: 100%;
}

/* items container */
.timelineFlat .timeline_items {
	padding:0;
}

/* single item (margines set from javascript) */
.timelineFlat .item {
	width:141px;
	height:200px;
	background:#eaeaea;
	color:#777777;
	font-size:14px;
	line-height:14px;
	position: relative;
	border-radius: 15px;
}
/* ----- content - non-plugin elements ----- */
.timelineFlat .item img {
	margin-top:0;
}

.timelineFlat .item h2 {
	/*font-family: Montserrat;*/
	padding: 20px 20px 10px;
	margin: 0;
	font-size:12px;
	line-height:12px;
	color: #ad0000;

}
.timelineFlat .item span{
	display:block;
	margin:0px 20px 10px;
	height:75px;
}
.timelineFlat .item .read_more:hover {
	background:#ad0000;
}
/* ----------------------------------------- */

/* item details (margines set from javascript) */
/* zawartość rozszerzonej karty */
.timelineFlat .item_open {
	width:410px;
	height:200px;
	position:relative;
	color:#777777;
	z-index:2;
}

.timelineFlat .item_open a {
	font-family: 'Oswald', sans-serif;
	padding:10px;
	font-size:14px;
	line-height:14px;
	opacity: 1;
	filter: alpha(opacity=100);
	float:left;
	color:#fff;
	cursor:pointer;
	margin: 0 8px 10px;
	/*border-radius: 2px;*/
	background: linear-gradient(to bottom right, #581730, #b51d27);
	transition:background-color 300ms;
	-webkit-transition: background-color 300ms;
	-moz-transition: background-color 300ms;
	border-radius: 20px;
}

/* tytuł gry na szerokiej karcie */
.timelineFlat .item_open h2 {
	font-family: 'Oswald', sans-serif;
	margin:0 0 15px 10px;
	padding-top:0;
	font-size:18px;
	line-height:18px;
	color: #fff;
}

/* 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 {
	height: 100%;
	position:relative;
	padding: 10px;
	border-radius: 15px;
}

.timelineFlat .item_open_content .ajaxloader {
	position:absolute;
	top:20%;
	left:20%;
	margin:0px 0 0 0px;

}

/* ----- content - non-plugin elements ----- */
/* scrool na szerokiej karcie */
.timelineFlat .mCSB_container {
	margin-right: 16px;
}
.timelineFlat .mCS-light-thin > .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar  {
	background: #ad0000;
}
.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;
}
/* znak X na szerokiej karcie */
.timelineFlat .item_open .t_close {
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
	position:absolute;
	top:10px;
	right:2px;
	padding: 4px;
	font-size: 14px;
	line-height: 12px;
	color: #d5d4d4;
	cursor:pointer;
	z-index: 2;
	text-align: center;
	margin: 0 8px 10px;
	transition:color 300ms;
	-webkit-transition: color 300ms;
	-moz-transition: color 300ms;
}
.timelineFlat .item_open .t_close:hover {
	color:#fff;
}
/* ----------------------------------------- */

/* 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:200px;
	width:50px;
	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_bg {
	left:0;
	height: 200px;
    width: 50px;
	background: linear-gradient(0deg, #7c0400,#961600);
}
.timelineFlat .t_left,
.timelineFlat .t_left:hover:active {
	left:0;
	background: #fff;
	-webkit-clip-path: polygon(70% 45%, 50% 50%, 70% 55%, 70% 60%, 30% 50%, 70% 40%);
	clip-path: polygon(70% 45%, 50% 50%, 70% 55%, 70% 60%, 30% 50%, 70% 40%);
}
.timelineFlat .t_left:hover {
	background: #fff;
	-webkit-clip-path: polygon(70% 45%, 50% 50%, 70% 55%, 70% 60%, 30% 50%, 70% 40%);
	clip-path: polygon(70% 45%, 50% 50%, 70% 55%, 70% 60%, 30% 50%, 70% 40%);
}

.timelineFlat .t_right_bg {
	right:0;
	height: 200px;
    width: 50px;
	background: linear-gradient(0deg, #7c0400,#961600);
}
.timelineFlat .t_right,
.timelineFlat .t_right:hover:active{
	right:0;
	background: #fff;
	-webkit-clip-path: polygon(30% 45%, 50% 50%, 30% 55%, 30% 60%, 70% 50%, 30% 40%);
	clip-path: polygon(30% 45%, 50% 50%, 30% 55%, 30% 60%, 70% 50%, 30% 40%);
}

.timelineFlat .t_right:hover {
	background: #fff;
	-webkit-clip-path: polygon(30% 45%, 50% 50%, 30% 55%, 30% 60%, 70% 50%, 30% 40%);
	clip-path: polygon(30% 45%, 50% 50%, 30% 55%, 30% 60%, 70% 50%, 30% 40%);
}

/** CUSTOM **/
@media screen and (max-width: 767px) {
	.timelineFlat .item_open,
	.timelineFlat .item_open_cwrapper {
		width: 280px;
	}
}
.timelineFlat .item img {
    pointer-events: none;
}