* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

html {
	background-position:center;
	background-size:cover;
	background-repeat:no-repeat;
	background-attachment: fixed;
}

body {
	font-size: 45px;
	color: #fff;
	font-family: Arial,Helvetica Neue,Helvetica,sans-serif;
	font-weight: bold;
	height: 100%;
	width: 100%;
	transform-origin: top left;
	display: block;
	overflow: hidden;
	position: relative;
}

iframe {
	border: 0;
}

.box {
	background:#3b3b3b;
	border-radius:285px;
	padding:16px 50px;
	z-index:9999;
	position:relative;
}

/* DEFINICE BOXŮ */
.boxy {
	position: absolute;
	top: 47px;
	width: 100%;
	text-align: center;
}
.box.mesto {
	position:absolute;
	left:47px;
}
.box.datum {
	position:absolute;
	right:47px;
}
.box.cas {
	display: inline-block;
}

/* DEFINICE LINKY */
.timeline {
	position:absolute;
	bottom:0;
	left:0;
	width:100%;
	min-height:380px;
	height: 30%;
	z-index:90;
}
.timeline .window {
	position:absolute;
	top:0;
	width:1920px;
	left:50%;
	transform:translateX(-50%);
	height: 100%;
}
.timeline .vlna {
	width: 100%;
	height: 100%;
}
.timeline_content {
	position:relative;
	display:block;
	margin:0 auto;
	width:1360px;
	top:0;
	height:100%;
}

.timeline .point .point_content {
	max-width: 340px;
	padding: 10px 30px;
	background: #3b3b3b;
	border-radius: 285px;
	display: inline-block;
	border: 5px solid #fff;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
}
.timeline .point .point_content .point_box {
	padding: 0;
}

.timeline .point .img {
	max-width:160px;
	display:block;
	margin:0 auto;
}

.timeline .point_point {
	position:relative;
}
.timeline .point_point:before {
	content: "";
	width: 14px;
	height: 14px;
	display: block;
	left: calc(50% - 10px);
	background: #3b3b3b;
	border: 6px solid #fff;
	border-radius: 20px;
	position: absolute;
	top: 0;
	box-shadow: 0px 0px 20px rgba(0,0,0,0.6);
	z-index: 5;
}

.timeline .point_after {
	content: "";
	width: 3px;
	border-radius:2px;
	display: block;
	left: 50%;
	background: #3b3b3b;
	top: 0;
	bottom: 250px;
	position: absolute;
}

.timeline .point {
	bottom: calc(100% - 380px);
}

/*První*/
.timeline .point:nth-child(1) {
	width: 340px;
	text-align:center;
	left:0;
	position:absolute;
}
.timeline .point .point_content .point_box:nth-child(1) {
	margin-right: 10px;
}

/*Druhý*/
.timeline .point:nth-child(2) {
	width: 340px;
	text-align:center;
	left:340px;
	position:absolute;
}

.timeline .point .point_content .point_box:nth-child(2) {
	margin-right: 10px;
}
/*Třetí*/
.timeline .point:nth-child(3) {
	width: 340px;
	text-align:center;
	left:680px;
	position:absolute;
}

.timeline .point .point_content .point_box:nth-child(3) {
	margin-right: 10px;
}
/*Čtvrtý*/
.timeline .point:nth-child(4) {
	width: 340px;
	text-align:center;
	left:1020px;
	position:absolute;
}

.timeline .point .point_content .point_box:nth-child(4) {
	margin-right: 10px;
}

/* HÝBACÍ POINT */
.current {
	z-index:100;
	width: 33px;
	height: 33px;
	background-color: #fff;
	border: 9px solid #3b3b3b;
	border-radius: 50px;
	transition: .3s;
	position:absolute;
	top:0;
	left:0;
	transform: translateX(-50%);
}

#loading-image {
	background-position: center;
	background-repeat: no-repeat;
	background-image: url('../images/ajax-loader.gif');
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #fff;
	z-index: 99999999999999999;
	background-size: 200px;
}

#cur {
	display: inline-block;
	position:absolute;
	bottom: 70px;
	transition:.3s;
	transform:translateX(-50%);
}
#cur:after {
	position: absolute;
	border-left: 30px solid transparent;
	border-right: 30px solid transparent;
	border-top: 20px solid rgba(59, 59, 59, 1);
	bottom: -19px;
	content: "";
	left: 50%;
	transform: translateX(-50%);
}
#cur.start {transform:translateX(-40%);}
#cur.start:after {
	position: absolute;
	content: "";
	left: calc(20% + 10px);
	transform: translateX(0%);
}
#cur.stop {transform:translateX(-65%);}
#cur.stop:after {
	position: absolute;
	content: "";
	left: calc(45% + 10px);
	transform: translateX(0%);
}

.c_place {
	position:absolute;
	z-index:999999999;
	bottom:450px;
	left:0;
	right:0;
	top:47px;
	width:100%;
	text-align:center;
	vertical-align: middle;
}
.c_place:before {
	display: inline-block;
	content: "";
	height: 100%;
	vertical-align: middle;
}
.big_box {
	line-height: 160px;
	height: 160px;
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
	padding: 0 45px;
	border-radius: 285px;
	font-size: 110px;
	vertical-align: middle;
	top: 150px;
	position: absolute;
}
.big_box.picture {
	color: #3b3b3b;
	background:rgba(255, 255, 255, 0.7);
}
.big_box.season {
	color: #fff;
	background:rgba(59, 59, 59, 0.9);
}
.big_box_text {
	float:left;
}
.big_box_img {
	float:left;
}
.big_box_img .img {
	height: 620px;
	width: 620px;
	position: relative;
	top: -30px;
}

@media screen and (orientation: portrait) {
	.big_box {
		line-height: 270px;
		height: 350px;
		padding: 40px 45px 40px 150px;
	}
	.big_box_text {
		font-size: 270px;
	}
	.big_box_img .img {
		height: 270px;
	}
	.box.mesto, .box.datum, .box.cas {
		font-size: 95px;
	}
	.timeline .boxes .point {
		bottom: 0;
	}
	.timeline .point .point_content .point_box:nth-child(2) {
		margin-top: 120px;
		font-size: 70px;
	}
	.timeline .lines .point {
		top: 380px;
		bottom: 250px;
	}
	.timeline .point .point_content {
		padding: 0;
		background: none;
		border: none;
		box-shadow: none;
		background-color: transparent!important;
	}
	.timeline .point .point_content .point_box {
		max-width: 340px;
		padding: 10px 30px;
		background: #3b3b3b;
		border-radius: 285px;
		display: block;
		border: 5px solid #fff;
		box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
		font-size: 70px;
	}
	.timeline .point .point_content .point_box:nth-child(2)::after {
		content: "";
		width: 3px;
		border-radius: 2px;
		top: -120px;
		height: 110px;
		display: block;
		left: 50%;
		background: #3b3b3b;
		position: absolute;
		z-index: 2;
	}
	.timeline .point .img {
		max-width: 260px;
		display: block;
	}
}

/* STYL BOXŮ */
.picture .boxy .box, .picture #cur,
.color .boxy .box, .color #cur {
	background-color: rgba(255,255,255,0.91);
	color: #3b3b3b;
}

.color #cur:after, .picture #cur:after {
	border-top-color: rgba(255,255,255,0.91);
}

.color .big_box_img,
.color .big_box_text {
	float: none;
}

.color .box.cas,
.color #cur .cur_temp,
.color #cur .cur_img {
	display: none;
}

.season #cur .cur_time,
.season .big_box,
.picture #cur .cur_time,
.picture .big_box {
	display: none;
}

.picture #cur, .season #cur {
	width: 560px;
	display: inline-flex;
	bottom: 120px;
}

.picture #cur::after, .season #cur::after {
	border-top-width: 40px;
	bottom: -39px;
}

.picture #cur.start::after, .season #cur.start::after {
	left: 41%;
}

.picture #cur.stop::after, .season #cur.stop::after {
	left: 66%;
}


.picture #cur .cur_img, .season #cur .cur_img {
	display: inline-block;
	margin-left: 20px;
	position: relative;
}

.picture #cur .cur_img .img, .season #cur .cur_img .img {
	height: 150px;
	width: 150px;
	display: block;
}

.picture #cur .cur_temp, .season #cur .cur_temp {
	display: inline-block;
	font-size: 130px;
	line-height: 150px;
	float: left;
}

.color .big_box {
	font-size: 260px;
}

.picture #cur, .season #cur {
	width: 740px;
	bottom: 120px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
	padding-top: 50px;
	padding-bottom: 50px;
	font-weight: 600;
	padding-right: 300px;
}

.picture #cur::after, .season #cur::after {
	position: absolute;
	border-left: 50px solid transparent;
	border-right: 50px solid transparent;
	border-top-width: 60px;
	bottom: -59px;
	content: "";
	left: 50%;
	transform: translateX(-47%);
}

.picture #cur .cur_img .img, .season #cur .cur_img .img {
	height: 300px;
	width: 300px;
	display: block;
	position: absolute;
	right: -300px;
	top: -150px;
}


@media screen and (orientation: portrait) {
	.color .big_box_text {
		padding: 0;
		font-size: 500px;
	}
	.color .big_box {
		padding: 0;
	}

	.big_box_img .img {
		width: 1000px;
		height: 1000px;
	}
	.color .c_place {
		bottom: 1180px;
	}

	.picture #cur .cur_temp, .season #cur .cur_temp {
		display: inline-block;
		font-size: 300px;
		line-height: 300px;
		float: left;
	}

	.picture #cur, .season #cur {
		width: 1330px;
		bottom: 120px;
		display: -webkit-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		-webkit-justify-content: center;
		justify-content: center;
		-webkit-box-align: center;
		-ms-flex-align: center;
		-webkit-align-items: center;
		align-items: center;
		padding-top: 50px;
		padding-bottom: 50px;
		font-weight: 600;
		padding-right: 300px;
	}
	.picture #cur .cur_img .img, .season #cur .cur_img .img {
		height: 400px;
		width: 400px;
		display: block;
		position: absolute;
		right: -350px;
		top: -200px;
	}
	.picture #cur::after, .season #cur::after {
		position: absolute;
		border-left: 50px solid transparent;
		border-right: 50px solid transparent;
		border-top-width: 60px;
		bottom: -59px;
		content: "";
		left: 50%;
		transform: translateX(-47%);
	}

	.big_box {
		line-height: 160px;
		height: 160px;
		width: 1400px;
		display: inline-block;
		padding: 0 45px;
		border-radius: 285px;
		font-size: 110px;
		vertical-align: middle;
		top: 0;
		position: relative;
	}

	/*START*/
.picture #cur.start, .season #cur.start {
	left: 250px;
}

.picture #cur.start::after, .season #cur.start::after {
	position: absolute;
	border-left: 50px solid transparent;
	border-right: 50px solid transparent;
	border-top-width: 60px;
	bottom: -59px;
	content: "";
	left: 280px;
	transform: translateX(-47%);
}

/*STOP*/
.picture #cur.stop, .season #cur.stop {
	left: -200px;
}

.picture #cur.stop::after, .season #cur.stop::after {
	position: absolute;
	border-left: 50px solid transparent;
	border-right: 50px solid transparent;
	border-top-width: 60px;
	bottom: -59px;
	content: "";
	left: calc(100% - 200px);
	transform: translateX(-100%);
}

}
