/* spolecny styl aplikace */
#all_cont div.cont_video,
#all_cont div.cont_img,
#cont_thumbs,
#all_cont .contenteditable {
	z-index: 7;
	position:relative;
}

#all_cont #bg {
	opacity: 0;
}

#all_cont {
	min-height: 1086px;
	text-align: center;
	background-position: center top;
	background-size: cover;
	margin: 0 auto;
}
#all_cont #content_cont {
	padding: 25px 29px;
}
#all_cont img {
   display: block;
   position: relative;
}

#all_cont img#bg {
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 0;
	opacity: 0;
	width: 100%;
	height: 100%;
}



#all_cont div.cont_video {
	height: 0px;
/*	width: 100%; */
	text-align: center;
	margin: 10px 0 0 0;
/*	background: #000000; */
    float: none;
    clear: both;
    padding-bottom: 56.25%;
    padding-top: 0px;
    height: 0

	-moz-box-sizing:    border-box;
	-webkit-box-sizing: border-box;
	box-sizing:        border-box;
}
#all_cont div.cont_video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#all_cont div#cont_fan,
#all_cont div#title {
	float: left;
	height: auto;
}
#all_cont div#cont_fan {
	float: right;
	padding: 0 14px 5px 14px;
}	
#all_cont div#cont_fan img {
	display: relative;
}
#all_cont div#title {
	width: 100%;
	padding: 10px 30px;
	margin-right: 10px;
	text-align: left;
	-moz-box-sizing:    border-box;
	-webkit-box-sizing: border-box;
	box-sizing:        border-box;
}

#all_cont #title h1 {
	margin: 0.4em 0;
	font-size: 245%;
	color: #ffffff;
}
#all_cont #title p {
	font-size: 140%;
	color: #ffffff;
}
#cont_thumbs,
#all_cont #cont_images {
	margin-top: 10px;
	margin-bottom: 0px;
}
#cont_thumbs {
	margin: 20px auto;
}
#all_cont .thumbx {
	position: relative;
	float: left;
	margin-right: 8px;
}
#all_cont #thumb3 {
	margin-right: 0;
}
#cont_long_text {
	min-height: 335px;
	-moz-box-sizing:    border-box;
	-webkit-box-sizing: border-box;
	box-sizing:        border-box;
	position: relative;
}
.cont_opacity {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: #000000;
	-moz-box-sizing:    border-box;
	-webkit-box-sizing: border-box;
	box-sizing:        border-box;
	opacity: 0.2;
    filter: alpha(opacity=20);

}
#all_cont #long_text {
	color: #ffffff;
	font-size: 130%;
	max-width: 700px !important;
	text-align: center;
	margin: 0px auto 15px auto;
	padding: 20px 20px 0 20px;
/*	border: 1px solid green; */
	overflow: auto;
}
#all_cont.tema_1 #long_text {
	margin-top: 0;
}
#all_cont #long_text p {
	text-align: center;
}	
#all_cont #button_more {
	display: inline-block;
	width: auto;
	margin: 0 auto;
	padding-bottom: 15px;
}
/* spolecny styl aplikace */

#button_more_admin #button_text_edit {
	border: 0;
}


#button_more_admin #button_text_edit,
#all_cont #button_more a {
	display: block;
	padding: 26px 46px;
	font-size: 180%;
	color: #ffffff;
	border-radius: 5px;
	text-decoration: none;
}	
#button_more_admin #button_text_edit {
	text-align: center;
}
.color1,
#button_more_admin #button_text_edit.color1,
#all_cont #button_more a.color1 {
	background: -webkit-linear-gradient(to bottom, #14c7b1 , #009e87); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(to bottom, #14c7b1, #009e87); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(to bottom, #14c7b1, #009e87); /* For Firefox 3.6 to 15 */
	background: linear-gradient(to bottom, #14c7b1 , #009e87); /* Standard syntax (must be last) */
	color: #ffffff;
}
.color2,
#button_more_admin #button_text_edit.color2,
#all_cont #button_more a.color2 {
	background: -webkit-linear-gradient(to bottom, #01c973 , #3cbc81); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(to bottom, #01c973, #3cbc81); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(to bottom, #01c973, #3cbc81); /* For Firefox 3.6 to 15 */
	background: linear-gradient(to bottom, #01c973 , #3cbc81); /* Standard syntax (must be last) */
}
.color3,
#button_more_admin #button_text_edit.color3,
#all_cont #button_more a.color3 {
	background: -webkit-linear-gradient(to bottom, #3d9ac6 , #42ade3); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(to bottom, #3d9ac6, #42ade3); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(to bottom, #3d9ac6, #42ade3); /* For Firefox 3.6 to 15 */
	background: linear-gradient(to bottom, #3d9ac6 , #42ade3); /* Standard syntax (must be last) */
}
.color4,
#button_more_admin #button_text_edit.color4,
#all_cont #button_more a.color4 {
	background: -webkit-linear-gradient(to bottom, #9e5eb5 , #904aac); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(to bottom, #9e5eb5, #904aac); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(to bottom, #9e5eb5, #904aac); /* For Firefox 3.6 to 15 */
	background: linear-gradient(to bottom, #9e5eb5 , #904aac); /* Standard syntax (must be last) */
}	
.color5,
#button_more_admin #button_text_edit.color5,
#all_cont #button_more a.color5 {
	background: -webkit-linear-gradient(to bottom, #facb3d , #fd9a01); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(to bottom, #facb3d, #fd9a01); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(to bottom, #facb3d, #fd9a01); /* For Firefox 3.6 to 15 */
	background: linear-gradient(to bottom, #facb3d , #fd9a01); /* Standard syntax (must be last) */
}
#button_more_admin .color-fill-icon_cont-text .color5 {
	background: #ffffff;
}
.color6,
#button_more_admin #button_text_edit.color6,
#all_cont #button_more a.color6 {
	background: -webkit-linear-gradient(to bottom, #ee7d15 , #dc5400); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(to bottom, #ee7d15, #dc5400); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(to bottom, #ee7d15, #dc5400); /* For Firefox 3.6 to 15 */
	background: linear-gradient(to bottom, #ee7d15 , #dc5400); /* Standard syntax (must be last) */
}	
.color7,
#button_more_admin #button_text_edit.color7,
#all_cont #button_more a.color7 {
	background: -webkit-linear-gradient(to bottom, #f24c34 , #c83a22); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(to bottom, #f24c34, #c83a22); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(to bottom, #f24c34, #c83a22); /* For Firefox 3.6 to 15 */
	background: linear-gradient(to bottom, #f24c34 , #c83a22); /* Standard syntax (must be last) */
}	
.color8,
#button_more_admin #button_text_edit.color8,
#all_cont #button_more a.color8 {
	background: -webkit-linear-gradient(to bottom, #ecf0f1 , #bbc3c6); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(to bottom, #ecf0f1, #bbc3c6); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(to bottom, #ecf0f1, #bbc3c6); /* For Firefox 3.6 to 15 */
	background: linear-gradient(to bottom, #ecf0f1 , #bbc3c6); /* Standard syntax (must be last) */
	color: #000000;
}	
#button_more_admin .color-fill-icon_cont-text .color8 {
	background: #000000;
}



#all_cont #cont_images img,
#all_cont #cont_images img:hover {
	border: 0;
}
#uprav_app div.cont_video,
#uprav_app div.cont_img {
	position: relative;
}
#uprav_app div.cont_img {
}	

#cont_long_text::before {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	background: #000;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	top: 0;
	left: 0;
	opacity: 0.2;
}

/* basic responsive */
@media only screen and (max-width: 806px) {
	#all_cont .thumbx { float: none; margin: 10px auto;}
	#all_cont #thumb3 {
		margin-right: auto;
	}
}

