div.obsah {
	width: 100%;
	max-width: 970px;
	box-sizing: border-box;
}

#dokument .temp-list-up {
	position: relative;
	margin-top: 30px;
	width: 95%;
}

#dokument .temp-list-up table {
	width: 100%;
}

#dokument .temp-list-down {
	position: relative;
	margin-top: 40px;
	width: 95%;
}

#dokument .temp-list-up td:nth-of-type(2) b {
	white-space: nowrap;
	position:absolute;
	top: -30px;
	left: calc(50% - 100px);
}

#dokument .fotogalerie-horal {
	max-width: 900px;
}

#dokument .fotogalerie-horal table {
	display: inline-table;
	width: 150px;
	margin-bottom: 20px;
}

#dokument .temp-list-down td:nth-of-type(1) {
	position:absolute;
	top: -40px;
	left: 0;
}

#dokument .temp-list-down td:nth-of-type(3) {
	position:absolute;
	top: -40px;
	right: 0;
}

.temp-odkazy table {
	width: 95%;
	max-width: 494px;
}

.temp-panorama img {
	width: auto;
	max-width: 98%;
	height: auto;
}

@media screen and (max-width: 976px) {

div.obsah {
	border: 0;
}

}

/*TEMP*/
#pocasi .temp-odkazy {
	font-size: 12px;
	margin-top: 25px;
}

#pocasi .temp-odkazy > table{
	margin: 0 auto;
	border: 1px solid;
	background: rgba(255, 255, 255, 0.6);
}

@media screen and (max-width: 540px) {
	#pocasi .temp-odkazy > table > tbody > tr > td:nth-child(2){
		text-align: left;
		box-sizing: border-box;
		padding: 0 10px;
	}

	#pocasi .temp-odkazy > table > tbody > tr > td > table > tbody > tr > td {
		display: inline-block;
		width: 100%;
	}

	#pocasi .temp-odkazy > table > tbody > tr > td > table > tbody > tr > td:nth-child(odd) {
		display: none;
	}

	#pocasi .temp-odkazy > table > tbody > tr > td > table > tbody > tr > td:nth-child(even) {
		padding: 4px 0;
	}

	#pocasi .temp-odkazy a, #pocasi .temp-odkazy .odkazy_desc {
		display: inline-block;
	}
}
