@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');
@import url('https://fonts.googleapis.com/css?family=Open+Sans');



html {
	margin: 0px;
	padding: 0px;
	width: 100%;
	height: 100%;
}
body {
	margin: 0px;
	padding: 0px;
	min-height: 100%;
	font-family: 'Open Sans', sans-serif;
	color: #000;
	background-color: #FFF;
	font-size: 1em;
	padding: 0px;
}
div {
	margin: 0;
	padding: 0;
}
.cleaner {
	clear: both;
}
.cleaner_left {
	clear: left;
}
.no_screen {
	display: none;
}
.no_print {
	display: block;
}
.center {
	text-align: center;
}
div#background_element {
	position: absolute;
	top: 0px;
	left: 0px;
	padding: 0px;
	margin: 0px;
	width: 100%;
	height: 100%;
	display: none;
	z-index: 20;
}
div#pageContent {
	margin: 0px;
	padding: 0px;
	position: relative;
	overflow: hidden;
	width: auto;
	height: auto;
	min-height: 100%;
}
div#content {
	position: relative;
	top: 0px;
	margin: 0px auto 0px auto;
	width: 100%;
}
img#loader {
	display: block;
	position: absolute;
	top: 10px;
	left: 50%;
	z-index: 100;
}
a {
	text-decoration: underline;
}
a:hover { text-decoration: none; }
h1, h2, h3 {
	font-family: 'Montserrat', sans-serif;
}
h1, h2, h3, h4 { margin-bottom: 0.3em; }
p, ul, table { margin: 0.3em 0 1em; }

a, .barva {
	color: #008bd2;
}
input[type=text], input[type=password] {
	height: 28px;
	padding: 1px 5px;
	line-height: 28px;
	border-top: 1px solid #CCC;
	border-left: 1px solid #CCC;
	border-right: 1px solid #eee;
	border-bottom: 1px solid #eee;
}
input[type=submit], input[type=button] {
	border-radius: 4px;
	height: 34px;
	font-weight: normal;
	font-size: 12px;
	text-transform: uppercase;
	color: #FFF;
	padding: 0 15px;
	background-color: #008bd2;
	text-decoration: none;
	border: 1px solid #FFF;
	transition: background-color 0.3s, color 0.3s;
	font-family: Open Sans, sans-serif;	
}
input[type=submit]:hover, input[type=button]:hover {
	background-color: #FFF;
	color: #008bd2;
	border-color: #008bd2;
}

#banhead {
	max-width: 1110px;
	margin: 0 auto;
	padding: 1px 15px;
	height: 148px;
	position: relative;
}
#banhead h1 {
	margin: 0;
	padding: 0;
	font-size: 36px;
	font-weight: normal;
	position: absolute;
	top: 35px;
	left: 15px;
}
#banhead h1 a {
	display: inline-block;
	height: 84px;
	line-height: 84px;
	padding-left: 90px;
	background: url('img/logo-blue.png') no-repeat left center;
	text-decoration: none;
}
#banhead h1 a b {
	text-transform: uppercase;
}
a#login-bak {
	display: inline-block;
	height: 72px;
	line-height: 72px;
	border-radius: 4px;
	box-sizing: border-box;
	position: absolute;
	top: 42px;
	right: 15px;
	border: 1px solid #e6e6e6;
	color: #000;
	padding: 0 35px 0 80px;
	background: url('img/bak.png') no-repeat 15px center #FFF;
	text-decoration: none;
}
a#login-bak:hover {
	border-color: #008bd2;
	color: #008bd2;
}
#horizont-0 {
	z-index: 12;
	position: relative;
	background-color: #f1f1f1;
}
#horizont-0-in {
	margin: 0 auto;
	width: 1110px;
	padding: 0 15px;
	line-height: 60px;
	min-height: 60px;
}
ul.menu-hor-0 {
	margin: 0;
	padding: 0;
}
ul.menu-hor-0 li {
	display: block;
	height: 100%;
	float: left;
	list-style-type: none;
	margin: 0;
	padding: 0;
	position: relative;
}
ul.menu-hor-0 li a {
	text-decoration: none;
	display: block;
	height: 100%;
	text-align: center;
	line-height: 60px;
	overflow: hidden;
	padding: 0 1em;
	background-color: transparent;
	color: #000;
}
ul.menu-hor-0 li a:hover {
	color: #008bd2;
}
ul.menu-hor-0 li ul {
	display: none;
	width: 280px;
	margin: 0;
	padding: 0;
	position: absolute;
	background-color: #FFF;
	border: 1px solid #f1f1f1;
	z-index: 10;
}

ul.menu-hor-0 li ul li {
	float: none;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	position: relative;
}

ul.menu-hor-0 li ul li a {
	color: #000;
	display: block;
	width: 100%;
	box-sizing: border-box;
	overflow: hidden;
	padding: 0 0 0 30px;
	height: 40px;
	line-height: 40px;
	position: relative;
	text-align: left;
}
ul.menu-hor-0 li ul li a:hover {
	color: #008bd2;
}





#content-0 {
	padding-top: 50px;
}
#content-1 {
	max-width: 1110px;
	padding: 0 15px;
	margin: 0 auto;
}
#right-1 {
	z-index: 11;
	position: relative;
	float: right;
	width: 350px;
	min-height: 10px;
}

#content-2 {
	float: left;
	width: 730px;
	overflow: hidden;
}
#content-2-in {
	min-height: 100px;
	padding-bottom: 1em;
}
div#content-2-in blockquote {
	font-family: Georgia,Times,"Times New Roman",serif;
	font-style: italic;
	border-left: 5px solid #CCC;
	padding-left: 20px;
	padding-right: 8px;
}
table.datatable {
	border-collapse: collapse;
	border: none;
	font-size: 90%;
}
table.datatable td {
	padding: 0 3px;
	border-color: #aaa;
}
table.datatable th {
	padding: 3px;
	background-color: #008bd2;
	color: #FFF;
	border-color: #aaa;
}

#submenuEnvelope {
	border: 1px solid #008bd2;
	padding: 20px 25px;
	font-size: 16px;
	margin-bottom: 50px;
}
#submenuEnvelope h3 {
	text-transform: uppercase;
	font-weight: normal;
	color: #008bd2;
	font-size: 18px;
	margin: 0 0 1em 0;
}
#submenuEnvelope ul {
	margin: 0;
	padding: 0 20px;
	overflow: hidden;
}
#submenuEnvelope li {
	color: #666;
	padding-bottom: 1em;
}
#submenuEnvelope li:hover {
	color: #008bd2;
}
#submenuEnvelope a {
	text-decoration: none;
	color: #666;
}
#submenuEnvelope a:hover {
	text-decoration: underline;
	color: #008bd2;
}
#submenuEnvelope li {
	list-style-type: disc;
}

#right-menu {
	overflow: hidden;
}
#right-menu ul,
#horizont-0-bot ul {
	margin: 0;
	padding: 0;
}
#right-menu ul li,
#horizont-0-bot ul li {
	list-style-type: none;
	display: block;
	width: 100%;
	padding: 0;
	margin: 0 0 1px 0;
}
#right-menu ul li a,
#horizont-0-bot ul li a {
	display: block;
	height: 59px;
	line-height: 59px;
	overflow: hidden;
	position: relative;
	background-color: #ffab00;
	background-repeat: no-repeat;
	background-position: 25px center;
	color: #FFF;
	text-decoration: none;
	padding: 0 0 0px 80px;
}
#right-menu ul li#right-menu-1 a { background-image: url('img/symbol_1.png'); }
#right-menu ul li#right-menu-2 a { background-image: url('img/symbol_2.png'); }
#right-menu ul li#right-menu-3 a { background-image: url('img/symbol_3.png'); }
#right-menu ul li#right-menu-4 a { background-image: url('img/symbol_4.png'); }
#right-menu ul li#right-menu-5 a { background-image: url('img/symbol_5.png'); }
#horizont-0-bot ul li#right-menu-1 a { background-image: url('img/symbol_1.png'); }
#horizont-0-bot ul li#right-menu-2 a { background-image: url('img/symbol_2.png'); }
#horizont-0-bot ul li#right-menu-3 a { background-image: url('img/symbol_3.png'); }
#horizont-0-bot ul li#right-menu-4 a { background-image: url('img/symbol_4.png'); }
#horizont-0-bot ul li#right-menu-5 a { background-image: url('img/symbol_5.png'); }

#right-menu ul li a:hover,
#right-menu ul li a.a_active,
#horizont-0-bot ul li a:hover,
#horizont-0-bot ul li a.a_active {
	background-color: #e99c00;
}
#right-menu ul li#right-menu-profiles a,
#horizont-0-bot ul li#right-menu-profiles a {
	height: 70px;
	line-height: 70px;
	background: url('img/teacher.png') no-repeat 15px center #008bd2;
	margin: 50px 0 0 0;
	text-transform: uppercase;
}
#right-menu ul li#right-menu-profiles a:hover,
#horizont-0-bot ul li#right-menu-profiles a:hover {
	background-color: #0080c1;
}

#home-graphisc-part {
	max-width: 730px;
}
#slide-part {
	width: 730px;
	height: 300px;
	overflow: hidden;
	position: relative;
	background: #ddd;
}
.prvek {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
}
.prvek img {
	width: 100%;
	position: absolute;
	right: 0;
}
.prvek .info-text {
	position: absolute;
	left: 0px;
	right: 0;
	bottom: 0px;
	background-color: rgba(0,0,0, 0.3);
	text-transform: uppercase;
	color: #FFF;
	height: 65px;
	padding: 5px 170px 0 5px;
	overflow: hidden;
}
.prvek a.info-text-more {
	display: block;
	text-align: center;
	width: 160px;
	height: 55px;
	font-size: 16px;
	line-height: 55px;
	border: 1px solid #FFF;
	background-color: #008bd2;
	color: #FFF;
	margin: 30px 0 0;
	box-sizing: border-box;
	border-radius: 3px;
	text-decoration: none;
	transition: background-color 0.3s;
	position: absolute;
	right: 5px;
	bottom: 5px;
}
.prvek a.info-text-more:hover {
	background-color: #FFF;
	color: #008bd2;
	border-color: #008bd2;
}
.prvek .info-text .head-text {
	font-size: 28px;
	font-family: 'Montserrat';
}
.prvek .info-text .desc-text {
	font-size: 20px;
	display: block;
}
#number-envelope {
	position: absolute;
	top: 10px;
	right: 8px;
}
#number-envelope span {
	display: inline-block;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
	background-color: rgba(0, 0, 0, 0.4);
	color: #999;
	border-radius: 50%;
	margin-left: 5px;
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s;
}
#number-envelope span.active {
	background-color: rgba(255, 255, 255, 0.4);
	color: #000;
}
#number-envelope span:hover {
	color: #FFF;
}

/* mikročlánky */
#newsElement {
	margin: 50px 0;
	padding: 30px;
	background-color: #f3fbff;
}
#newsElement h2 {
	padding: 80px 0 0 0;
	background: url('img/news.png') no-repeat center top;
	font-size: 22px;
	font-weight: normal;
	text-transform: uppercase;
	text-align: center;
	border-bottom: 1px solid;
}
#newsElement a,
#newsElement h3 {
	color: #ffab00;
}
#newsElement h3 {
	font-family: Open Sans;
	font-size: 16px;
	padding: 30px 0 0 0;
	background: url('img/buble.png') no-repeat left top;
}
.micro_art_unique {
	padding: 1em 0;
	overflow: hidden;
}
.micro_art_unique p, 
.micro_art_unique h1, .micro_art_unique h2, .micro_art_unique h3 {
	margin: 0.3em 0;
	padding: 0;
}
.micro_art_unique ul, .micro_art_unique ol {
	margin: 0;
	padding-left: 20px;
}
.micro_art_unique ul.downloadElement,
.micro_art_unique ul.downloadElement li {
	padding: 0;
}
.micro_art_unique ul.downloadElement li a {
	height: auto;
}
.micro_art_unique a img {
	border: none;
}
.micro_art_unique div.download form {
	text-align: center;
	margin: 5px 0;
}
.micro_art_unique div.download input[type="password"],
.micro_art_unique div.download input[type="text"] {
	margin: 0;
	width: 150px;
}
.micro_art_unique div.download form.downloadsInputError {
	padding: 2px 0;
	margin: 3px 0;
	color: #7c0000;
	border: 1px solid #F00;
	background-color: #e56666;
	border-radius: 3px;
	max-width: 280px;
}

/* +adv */
div#advb-envelope {
	clear: both;
}
div#advb-envelope h2 {
	font-size: 18px;
	height: 60px;
	line-height: 60px;
	text-align: center;
	text-transform: uppercase;
	padding: 0;
	margin: 0;
	background-color: #f1f1f1;
}
div#advb-in {
	text-align: center;
	margin-bottom: 2em;
}
div#advb-in a {
	display: inline-block;
	vertical-align: middle;
	margin: 1em;
	line-height: 0px;
}
div#advb-in a img {
	max-height: 160px;
	max-width: 200px;
	border: 1px solid #FFF;
}
div#advb-in a:hover img {
	border-color: #008bd2;
}

#foot a {
	text-decoration: none;
	color: #FFF;
}
#foot a:hover {
	text-decoration: underline;
}
#foot {
	background: url('img/logo-white.png') no-repeat center 25px #008bd2;
	padding: 200px 0 1em 0;
	color: #FFF;
}
#foot-in,
#foot-signature-in {
	padding: 0 15px;
	max-width: 1110px;
	margin: 0 auto;
}
#foot-signature {
	border-top: 1px solid #4caddb;
	text-align: center;
	padding: 3em 0 1em;
	clear: both;
	font-size: 80%;
}
#scrollToHome {
	position: fixed;
	right: 1em;
	bottom: 1em;
	width: 3em;
	height: 3em;
	line-height: 3em;
	border: 1px solid;
	border-radius: 3px;
	text-decoration: none;
	text-align: center;
	background-color: rgba(83,102,121,0.5);
	z-index: 15;
	display: none;
}
.foot-column {
	width: 32%;
	box-sizing: border-box;
	min-height: 100px;
	float: left;
	position: relative;
	overflow: hidden;
	margin-bottom: 1em;
}
.foot-column.mid {
	margin: 0 2%;
}
.foot-column h2 {
	text-transform: uppercase;
	font-weight: normal;
	font-size: 22px;
	margin: 0;
	padding: 0 0 40px 0;
}
.foot-column p, .foot-column ul {
	margin: 0 0 0.5em 0;
}
.foot-column h3 {
	margin: 0 0 0.5em 0;
	font-weight: normal;
}

#search {
	margin-bottom: 2em;
}
#search #search_box {
	margin: 0;
	width: 100%;
	box-sizing: border-box;
	height: 50px;
	line-height: 50px;
	padding: 0 1em;
	border: 1px solid #FFF;
	background-color: #0887c8;
	color: #FFF;
	font-style: italic;
}
#search #search_btn {
	width: 160px;
	height: 55px;
	line-height: 55px;
	border: 1px solid #FFF;
	color: #008bd2;
	background-color: #FFF;
	text-transform: uppercase;
	margin: 2em 0 0;
	box-sizing: border-box;
	border-radius: 3px;
	transition: background-color 0.3s;
}
#search #search_btn:hover {
	background-color: transparent;
	color: #FFF;
}
span.search_result_search_string::before,
span.search_result_search_string::after {
	content: "\"";
}
span.search_result_search_string {
	font-weight: bold;
}
h3.search_result_title {
	margin-bottom: 5px;
}
h3 span.search_result_title_type {
	font-weight: normal;
	font-size: 80%;
	display: inline-block;
	width: 5.5em;
}
div.search_result_description {
	margin-left: 5.5em;
}

#simle_links {
	column-count: 2;
	column-gap: 20px;
}
#simle_links a {
	display: inline-block;
	min-width: 51%;
	margin-bottom: 1em;
}
#simle_links a:hover::after {
	content: " >";
}

a#hor-res-menu-button {
	display: none;
	color: #FFF;
	border: 1px solid #f1f1f1;
	box-sizing: border-box;
	width: 50px;
	height: 45px;
	position: absolute;
	top: 0;
	right: 10px;
	line-height: 13px;
	font-size: 10px;
	text-decoration: none;
	text-align: center;
	padding: 20px 10px 0;
	background-image: url('img/hor_res_menu_button.png');
	background-repeat: no-repeat;
	background-color: #008bd2;
	background-position: center 5px;
}

#user-info {
	text-align: right;
	font-size: 12px;
}
div#top_area_path_part {
	font-size: 12px;
	padding-bottom: 2em;
	font-style: italic;
}
div#top_area_path_part a {
	text-decoration: none;
}
div#top_area_path_part a:hover {
	text-decoration: underline;
}
div#top_area_path_part, div#top_area_path_part a {
color: #008bd2;
}

/* vypis clanku */
div.article-preview {
	position: relative;
	overflow: hidden;
	margin: 3em 0;
}
div.img-article-preview {
	width: 36%;
	float: left;
	position: static;
	overflow: hidden;
}
div.img-article-preview a {
	display: block;
	max-width: 100%;
	line-height: 0;
}
div.img-article-preview img {
	width: 256px;
	max-width: 100%;
}
div.text-article-preview {
	float: left;
	width: 63%;
	margin-left: 1%;
}
.no-image div.text-article-preview {
	float: none;
	width: 100%;
	margin-left: 0;
}
div.text-article-preview .vice {
	text-decoration: none;
}
div.text-article-preview .vice:hover {
	text-decoration: underline;
}
div.text-article-preview h2 { 
	margin: 0;
	font-size: 120%;
	font-weight: normal;
	text-transform: uppercase;
	
}
div.text-article-preview h2 a {
	text-decoration: none;
	color: #000;
}
div.text-article-preview h2 a:hover {
	text-decoration: underline;
	color: #008bd2;
}
div.text-article-preview p {
	margin: 0.5em 0;
}

/* todo: udělat podle nových velikostí obrázků*/
.article-preview-gallery {
	width: 190px;
	height: 150px;
	float: left;
	margin: 30px 20px 0 20px;
	position: relative;
	background-color: #EEE;
}
.article-preview-gallery h2 {
	margin: 0;
	line-height: 20px;
	text-align: center;
	height: 100%;
}
.article-preview-gallery h2 a {
	text-decoration: none;
	display: block;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}
.article-preview-gallery h2 a span {
	display: block;
	min-height: 20px;
	max-height: 40px;
	overflow: hidden;
	background-color: #008bd2;
	border-top: 1px solid #008bd2;
	border-bottom: 1px solid #008bd2;
	color: #FFF;
	font-size: 12px;
	transition: background-color 0.3s, color 0.3s;
}
.article-preview-gallery h2 a:hover span {
	background-color: #FFF;
	color: #008bd2;
}
.img-article-preview-gallery {
	position: absolute;
	bottom: 0;
	left: 0;
}
.img-article-preview-gallery a {
	width: 190px;
	height: 130px;
	display: block;
}
.img-article-preview-gallery img {
	border: none;
	width: 190px;
	height: 130px;
}




/* offset */
div.offsetPart a {
	background-color: #008bd2;
	color: #FFF;
}
div.offsetPart span {
	background-color: #EEE;
}

/* profily ucitelu */
div#teacher-profiles {
	overflow: hidden;
	margin-bottom: 30px;
}
.teacher-profile {
	width: 160px;
	height: 210px;
	position: relative;
	float: left;
	margin: 0 20px 20px 0;
	background-color: #EEE;
}
.teacher-profile.fourth {
	margin-right: 0;
}
.teacher-profile .teacher-img {
	width: 160px;
	height: 160px;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	background: url('img/default_photo.png') no-repeat center;
}
.teacher-profile a {
	color: #FFF;
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
	font-size: 12px;
	font-weight: bold;
	position: absolute;
	top: 0;
	left: 0;
}
.teacher-profile a .teacher-name {
	display: block;
	width: 140px;
	min-height: 32px;
	line-height: 15px;
	padding: 9px 10px;
	background-color: #008bd2;
	position: absolute;
	bottom: 0;
	left: 0;
}
.teacher-profile a img {
	border: none;
	width: 160px;
	height: 160px;
}
.teacher-profile a .deckel {
	background: url('img/hover.png') no-repeat center 160px transparent;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transition: background-color 0.3s, background-position 0.3s;
}
.teacher-profile a:hover .deckel {
	background-position: center;
	background-color: rgba(0, 139, 210, 0.3);
}

/* download */
ul.downloadElement li {
	list-style-image: none !important;
    margin: 0;
    padding: 0 0 10px;
    list-style-type: none;
    margin: 0;
    padding: 0 0 10px;
}
ul.downloadElement li a {
	padding-left: 27px;
	height: 27px;
	background-repeat: no-repeat;
	background-position: left top;
	display: inline-block;
	text-decoration: none;
	line-height: 27px;
	font-weight: bold;
}
ul.downloadElement li a:hover {
	text-decoration: underline;
}
ul.downloadElement li span {
	font-style: italic;
	color: #666;
}
ul.downloadElement li span:before {
	content: " - ";
}
a.dtype,
a.main_download_link { background-image: url('img/dtype.png') }
a.dtype_doc { background-image: url('img/dtype_doc.png') }
a.dtype_xls { background-image: url('img/dtype_xls.png') }
a.dtype_pdf { background-image: url('img/dtype_pdf.png') }
a.dtype_audio { background-image: url('img/dtype_audio.png') }
a.dtype_video { background-image: url('img/dtype_video.png') }

ul.downloadElement, div.photosArea {
	padding-bottom: 20px;
}
div.photogalery form,
div.download form {
	line-height: 32px;
}
div.download input[type="password"],
div.download input[type="text"],
div.photogalery input[type="password"],
div.photogalery input[type="text"] {
	margin: 0 10px;
	width: 150px;
}
div.download form.downloadsInputError input[type=password],
div.download form.downloadsInputError input[type=text],
div.photogalery form.photosInputError input[type=password],
div.photogalery form.photosInputError input[type=text] {
	border-color: red;
}

/* + Prihlasovani k zamcene strance */
div#login_form_message {
	margin: 50px 0px 50px 0px;
}
div#login_form_envelope {
	position: relative;
	margin: 50px auto 50px auto;
	width: 280px;
	border: 1px solid #e6e6e6;
	background-color: #F9F9F9;
	padding: 10px;
	text-align: right;
	font-size: 14px;
}
input#user_login,input#user_password {
	width: 125px;
	margin: 2px 5px 2px 10px;
	background-color: #ffffff;
	color: #000000;
}
span#login_form_icon {
	position: absolute;
	top: -16px;
	left: -15px;
	display: block;
	width: 32px;
	height: 32px;
	background-image: url('./img/encrypted.png');
}
/* - Prihlasovani k zamcene strance */


/* fotogalerie */
div.photosArea a {
	display: block;
	float: left;
	width: 160px;
	height: 120px;
	margin: 7px;
	position: relative;
}
div.photosArea.photogallery_vertical a {
	width: 120px;
	height: 160px;
}
div.photosArea a span, div.sPhotos_envelope a span {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: url('img/hover.png') no-repeat center 190px transparent;
	transition: background-color 0.3s, background-position 0.3s;
}
div.photosArea a:hover span, div.sPhotos_envelope a:hover span {
	background-position: center;
	background-color: rgba(0, 139, 210, 0.3);
}
div.photosArea a img {
	display: block;
	width: 100%;
	height: 100%;
	border: none;
}

div.sPhotos_element {
	position: relative;
	overflow: hidden;
	margin: 10px 0 10px 0;
	width: 100%;
	min-height: 140px;
}
div.sPhotos_element.sPhotos_element_vertical {
	min-height: 180px;
}
div.sPhotos_element img {
	position: relative;
	float: right;
}
div.sPhotos_element div.cleaner {
	clear: left;
}
div.sPhotos_envelope {
	position: absolute;
	bottom: 10px;
	left: 10px;
	width: 100%;
}
div.sPhotos_envelope a {
	display: block;
	position: relative;
	float: left;
	margin: 0;
	padding: 0;
	width: 160px;
	height: 120px;
}
div.sPhotos_element_vertical div.sPhotos_envelope a {
	width: 120px;
	height: 160px;
}
div.sPhotos_envelope a img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	border: none;
	width: 100%;
	height: 100%;
}

/* podkategorie */
#map_area ul li a,
ul.submenuArea li a {
	margin: 0 0 1em 0;
	display: inline-block;
	font-weight: bold;
}
ul.submenuArea li a {
	text-decoration: none;
}
ul.submenuArea li a:hover {
	text-decoration: underline;
}

/* reklamni okno */
div#ppb_b {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
	background: url('img/bbp_bg.png') transparent;
}
div#ppb_b-in {
	position: relative;
	width: 400px;
	max-width: 100%;
	height: 250px;
	margin: 70px auto 0 auto;
	padding: 0;
}
a.ppb_close {
	display: block;
	position: absolute;
	top: -40px;
	right: 0;
	background: url('img/ppb_close.png') no-repeat right center;
	padding: 0 35px 0 0;
	height: 32px;
	line-height: 32px;
}
div.ppb_cnt {
	position: relative;
	width: 100%;
	height: 100%;
}
img#ppb_img {
	margin: 0px auto;
	display: block;
}
div#ppb_no_img {
	background-color: #FFF;
	width: 100%;
	height: 100%;
}
a#ppb_link {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	text-decoration: none;
	background: url('img/blank.gif') transparent;
}
div#ppb_text_envelope {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
div#ppb_text {
	position: relative;
	margin: 15px;
}
div#ppb_mb {
	position: fixed;
	top: 20%;
	right: 0px;
	z-index: 1000;
}
div#ppb_mb a img {
	border: none;
}
/* - reklamni okno */

div.error404 {
	margin: 100px;
	border: 1px dotted #F00;
	padding: 10px;
	text-align: center;
}

div.offsetPart {
	text-align: center;
	padding: 0;
	margin: 1em 0;
	clear: both;
}
div.offsetPart a, div.offsetPart span {
	display: inline-block;
	margin: 0 0.2em;
	height: 1.5em;
	line-height: 1.5em;
	width: 1.5em;
	text-align: center;
	text-decoration: none;
}

div.sPhotos_element {
	position: relative;
	overflow: hidden;
	margin: 10px 0 10px 0;
	width: 100%;
	min-height: 104px;
}
div.sPhotos_element.sPhotos_element_vertical {
	min-height: 132px;
}
div.sPhotos_element img {
	position: relative;
	float: right;
}
div.sPhotos_element div.cleaner {
	clear: left;
}
div.sPhotos_envelope {
	position: absolute;
	bottom: 10px;
	left: 10px;
	width: 100%;
}
div.sPhotos_envelope a {
	display: block;
	position: relative;
	float: left;
	margin: 0;
	padding: 0;
	width: 112px;
	height: 84px;
}
div.sPhotos_element_vertical div.sPhotos_envelope a {
	width: 84px;
	height: 112px;
}
div.sPhotos_envelope a img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	border: none;
}
div.ssPhotos_element {
	width: 100%;
	overflow: hidden;
}
div.ssPhotos_envelope {
	position: relative;
	width: 100%;
	height: 100%;
}
div.ssPhotos_envelope img {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
	height: 100%;
	max-width: none;
}

#cs_bx_envl {
	display: flex;
	background: rgba(0,0,0,0.4);
	z-index: 900;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#cs_bx {
	background-color: #FFF;
	color: #000;
	border-top: 1px solid #888;
	padding: 30px 30px 0;
	box-sizing: border-box;
	margin: auto;
	position: relative;
	text-align: center;
	border-radius: 2px;
	box-shadow: 0px 0px 20px #000;
}
#cs_bx p {
	padding: 0;
}
#cs_bx a#cs_l {}

#cs_bx a#cs_bu_y,
#cs_bx a#cs_bu_n,
#cs_bx a#cs_bu_close {
	background-color: #eee;
	border: 1px solid #777;
	border-radius: 2px;
	color: #000;
	margin: 0;
	text-decoration: none;
	white-space: nowrap;
	display: inline-block;
}
#cs_bx a#cs_bu_close {
	position: absolute;
	top: -1px;
	right: -1px;
	margin: 0;
	line-height: 19px;
	padding: 4px 8px;
}
#cs_bx a#cs_bu_y,
#cs_bx a#cs_bu_n {
	display: inline-block;
	width: 45%;
	line-height: 3em;
}

/*** tema bez barvy */


















/*vypisy*/
div#area-0 {
	position: static;
}


















div.articleContent img {
	max-width: 100%;
}

@media(max-width: 1130px) {
	#banhead {
		height: auto;
		text-align: center;
		overflow: hidden;
		padding: 1em 70px 1em 15px;
	}
	#banhead h1 {
		position: relative;
		top: auto;
		left: auto;
		float: left;
		max-width: 70%;
	}
	#banhead h1 a {
		height: auto;
		min-height: 84px;
		height: auto;
		line-height: normal;
	}
	a#login-bak {
		position: relative;
		top: auto;
		right: auto;
		height: auto;
		min-height: 32px;
		line-height: 32px;
		padding: 0 10px 0 40px;
		background-size: 22px;
		float: right;
		max-width: 30%;
	}
	#content-2 {
		width:70%;
		max-width: 730px;
	}
	#right-1 {
		width: 29%;
	}
	#slide-part {
		width: 580px;
		height: 238px;
		margin: 0 auto;
	}
	.prvek .info-text {
		padding-right: 110px;
		height: 40px; 
	}
	.prvek a.info-text-more {
		width: 100px;
		height: 30px;
		line-height: 30px;
		border: 1px solid #FFF;
		margin: 30px 0 0;
		font-size: 13px;
	}
	.prvek .info-text .head-text {
		font-size: 18px;
	}
	.prvek .info-text .desc-text {
		font-size: 13px;
	}
}

@media(max-width: 970px) {
	#advb-in {
		overflow: hidden;
	}
	div#advb-in a {
		vertical-align: middle;
		display: inline-block;
		margin: 0.5em;
	}
	div#advb-in a img {
		width: auto;
		max-width: 10em;
		height: auto;
		max-height: 7em;
	}
	table.datatable {
		overflow-x: auto;
		overflow-y: hidden;
		display: block;
		width: 100% !important;
	}
}

@media(max-width: 860px) {
	#banhead h1 {
		float: none;
		max-width: none;
		margin: 0 auto 1em auto;
		font-size: 1.5em;
	}
	#banhead h1 a {
		min-height: 65px;
		height: auto;
		line-height: normal;
		background-size: 60px;
	}
	a#login-bak {
		float: none;
		max-width: none;
		margin: 0 auto;
	}
	
	#horizont-0 {
		height: auto;
		min-height: 2em;
		line-height: 2em;
	}
	#horizont-0-bot {
		overflow: hidden;
		margin: 2em 0 1em;
	}
	#content-2, #right-1 {
		width: 100%;
		float: none;
	}
	#submenuEnvelope li {
		width: 50%;
		float: left;
	}
	#submenuEnvelope a {
		line-height: 2em;
	}
	#right-menu ul li,
	#horizont-0-bot ul li {
		width: 50%;
		float:left;
		box-sizing: border-box;
		padding: 0 0.5em; 
	}
	#right-menu ul li a,
	#right-menu ul li#right-menu-profiles a,
	#horizont-0-bot ul li a,
	#horizont-0-bot ul li#right-menu-profiles a {
		margin: 0;
		height: 3em;
		line-height: 3em;
	}
	#newsElement {
		padding: 1em;
		width: 90%;
		overflow: hidden;
		margin: 50px auto;
	}
	#newsElement h2 {
		text-align: left;
		padding: 0 0 0 30px;
		background-position: left center;
		background-size: 24px;
		margin: 0;
		font-size: 18px;
	}
	#newsElement h3 {
		font-size: 16px;
		padding: 0 0 0 30px;
		background-position: left center;
		background-size: 20px;
	}
	.micro_art_unique {
		width: 50%;
		box-sizing: border-box;
		padding: 10px;
		float: left;
		font-size: 80%;
	}
	#foot {
		padding-top: 80px;
		background-size: 60px;
		background-position: center 5px;
	}
	.foot-column,
	.foot-column.mid {
		width: 100%;
		margin: 1em 0;
	}
	.foot-column h2 {
		font-size: 18px;
		padding-bottom: 15px;
	}
}

@media(max-width:640px){
	#banhead {
		border-bottom: 20px solid #f1f1f1;
	}
	#banhead h1 a {
		padding-left: 65px;
	}
	#horizont-0, #horizont-0-in {
		overflow: visible;
		padding: 0;
	}
	#horizont-0 {
		position: absolute;
		height: 1px;
		min-height: initial;
		top: 0;
		right: 0;
	}
	#horizont-0-in {
		height: 0;
		width: auto;
		top: 0;
	}
	ul.menu-hor-0 {
		background-color: rgba(0, 139, 210, 0.3);
		position: fixed;
		top: 47px;
		right: 0;
		bottom: 0;
		height: auto;
		overflow: auto;
		max-width: 75%;
		min-width: 280px;
		display: none;
	}
	ul.menu-hor-0 li {
		background-color: #f5f5f5;
		border-bottom: 1px solid #CCC;
		float: none;
		margin: 0;
	}
	ul.menu-hor-0 li,
	ul.menu-hor-0 li a {
		line-height: 3em;
		height: 3em;
		text-align: left;
	}
	ul.menu-hor-0 li a {
		padding: 0 0 0 50px;
	}
	/* + další položky */
	ul.menu-hor-0 a#login-bak {
		display: block;
		line-height: 3em;
		height: 3em;
		border: none;
		padding: 0 0 0 50px;
	}

	ul.menu-hor-0 li#right-menu-1 a,
	ul.menu-hor-0 li#right-menu-2 a,
	ul.menu-hor-0 li#right-menu-3 a,
	ul.menu-hor-0 li#right-menu-4 a,
	ul.menu-hor-0 li#right-menu-5 a {
		display: block;
		height: 3em;
		line-height: 3em;
		background-color: #ffab00;
		background-repeat: no-repeat;
		background-position: 10px center;
		color: #FFF;
		padding: 0 0 0px 50px;
	}
	ul.menu-hor-0 li#right-menu-1 a { background-image: url('img/symbol_1.png'); }
	ul.menu-hor-0 li#right-menu-2 a { background-image: url('img/symbol_2.png'); }
	ul.menu-hor-0 li#right-menu-3 a { background-image: url('img/symbol_3.png'); }
	ul.menu-hor-0 li#right-menu-4 a { background-image: url('img/symbol_4.png'); }
	ul.menu-hor-0 li#right-menu-5 a { background-image: url('img/symbol_5.png'); }

	ul.menu-hor-0 ul li a:hover,
	ul.menu-hor-0 li a.a_active {
		background-color: #e99c00;
	}
	ul.menu-hor-0 li#right-menu-profiles a {
		height: 3em;
		line-height: 3em;
		background: url('img/teacher.png') no-repeat 10px center #008bd2;
		background-size: 30px;
		color: #FFF;
		text-transform: uppercase;
		padding: 0 0 0 50px;
	}
	ul.menu-hor-0 li#right-menu-profiles a:hover {
		background-color: #0080c1;
	}
	/* - další položky */

	a#hor-res-menu-button {
		display: block;
		position: absolute;
		top: 2px;
		right: 10px;
	}
	a#hor-res-menu-button.clicked {
		position: fixed;
	}
	#horizont-0-bot {
		display: none;
	}
	div#content-2-in {
		padding: 1em 0 2em;
		padding-right: 0;
	}
	div.text-article-preview h2 a {
		font-size: 100%;
	}
	.article-preview-gallery {
		margin: 1em;
	}
	div#ppb_mb {
		display: none !important;
	}
	#slide-part {
		width: auto;
		max-width: 100%;
		height: 235px;
		margin: 0 auto;
	}
	.prvek .info-text {
		padding-right: 5px;
		height: auto;
	}
	.prvek a.info-text-more {
		float: right;
		position: relative;
		display: inline-block;
		margin: 5px 0 0 5px;
		width: 80px;
		height: 24px;
		line-height: 24px;
		font-size: 10px;
	}
	.prvek .info-text .head-text {
		
	}
	.prvek .info-text .desc-text {
		display: inline;
		padding-left: 5px;
	}
	.prvek img {
		width: 130%;
	}
}

@media(max-width: 500px) {
	#right-1 {
		float: none;
		width: 100%;
	}
	#right-menu ul li,
	#submenuEnvelope li,
	.micro_art_unique {
		width: 100%;
		float: none;
	}
	#simle_links {
		column-count: 1;
		column-gap: 0px;
		padding-left: 1em;
	}
	#search {
		padding: 0 1em;
	}
	#slide-part {
		height: 190px;
	}
	div.img-article-preview {
		width: 25%;
	}
	div.text-article-preview {
		width: 74%;
	}
}
