@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&display=swap');

html {
	margin: 0px;
	padding: 0px;
	width: 100%;
	height: 100%;
}
body {
	margin: 0px;
	padding: 0px;
	min-height: 100%;
	font-family: 'Montserrat', Arial, sans-serif;
	font-size: 1em;
	background-color: #fefefe;
	color: #444;
}
div {
	margin: 0;
	padding: 0;
}
.cleaner {
	clear: both;
}
.cleaner_left {
	clear: left;
}
.no_screen {
	display: none;
}
.no_print {
	display: block;
}
.center {
	text-align: center;
}
.display_block {
	display: block !important;
}
.display_none {
	display: none !important;
}
dl dt {
	font-weight: bold;
}
dl dd {
	margin-bottom: 1em;
	margin-top: -1.5em;
}
.hidden {
	position: absolute;
	left: -2000px;
	font-size: 70%;
}
.hidden-no {
	display: block;
	font-size: 60%;
	font-weight: normal;
	margin: 0;
}
.hidden a:focus {
	left: 2000px;
	top: 0;
	z-index: 100;
	background-color: #FEFEFE;
	position: absolute;
}
a:focus,
input:focus {
	border: 1px dotted #1E3A88;
}
.articleContent a[target=_blank],
#content-1 a[target=_blank] {
	padding-right: 15px;
	background: url('img/exter-blue.png') no-repeat right center;
}
#foot a[target=_blank] {
	padding-right: 15px;
	background: url('img/exter-white.png') no-repeat right center;
}
#advb-envelope a[target=_blank] {
	padding-right: 15px;
	background: url('img/exter-blue.png') no-repeat right center;
}
#advb-envelope a[target=_blank]:hover {
	background-image: url('img/exter-orange.png');
}
#left-0 ul li a[target=_blank] {
	padding-right: 0px;
	background: url('img/exter-grey.png') no-repeat left 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%;
	background: url('img/vlak-bg.png') no-repeat center right, url('img/ozubene-kolo.png') left 80% no-repeat;
}
img#loader {
	display: block;
	position: absolute;
	top: 10px;
	left: 50%;
	z-index: 100;
}
div#content-1 {
	line-height: 1.7;
}
div#content-subpage {
	overflow: hidden;
	clear: both;
}
div#content-subpage div#content-1 {
	width: 100%;
}
div#sloupec {
	width: 50px;
	overflow: hidden;
	float: left;
	box-sizing: border-box;
}
a {
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}
a, h1, h2, h3,
div.text-article-preview h2 a,
.barva {
	color: #1E3A88;
}
.marker { color: #dc931a; font-weight: bold; }
.marker2 { background-color: #dc931a; color: #FFF; }

h1, h2, h3 {
	font-weight: 600;
}
h1.info,
h1.title, h2.title,
div.text-article-preview h2 {
	position: relative;
	line-height: 1.2;
	margin-top: 0;
	display: inline-block;
}
h1.info {
	margin-bottom: 1.5em;
	text-transform: uppercase;
}
h1.info::before,
h1.title::before, h2.title::before,
div.text-article-preview h2::before {
	height: 4px;
	content: "";
	position: absolute;
	background-color: #DC931A;
	width: 60%;
	bottom: -10px;
}
#content-1 h1.title {
	margin-top: 1em;
	display: inline-block;
}
a:hover, div.photosArea a:hover {
	color: #dc931a;
}
ul.no_list {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
ul.no_list li {
	display: inline-block;
	margin: 0;
	padding: 0;
}
a.tlacitko {
	display: inline-block;
	padding: 0em 2em;
	line-height: 24px;
	text-decoration: none;
	border: 1px solid #1e3a88;
	background-color: #1e3a88;
	color: #FFF;
	border-radius: 10px;
}
a.tlacitko:focus,
a.imaged_button:focus,
a.tlacitko:hover {
	border: 1px dotted #1e3a88;
	background-color: #dc931a;
}
a.imaged_button {
	border: 2px solid #dc931a;
	border-radius: 5px;
	display: block;
	text-decoration: none;
	box-sizing: border-box;
	position: relative;
	background-color: #FFF;
}
a.imaged_button:hover,
.active a.imaged_button {
	background-color: #dc931a;
	color: #FFF !important;
}
a.imaged_button .ico {
	display: block;
	width: 80px;
	height: 100%;
	position: absolute;
}
a.imaged_button .ico img {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: filter 0.5s;
}
a.imaged_button .name {
	display: table-cell;
	vertical-align: middle;
	padding: 0 0.5em 0 80px;
}










#sloupec li a.imaged_button {
	text-align: center;
	padding: 1em 0;
	text-transform: uppercase;
	font-weight: bold;
}
#sloupec a.imaged_button .ico,
#sloupec a.imaged_button .ico img,
#sloupec a.imaged_button .name {
	display: inline-block;
	width: auto;
	padding: 0;
	position: relative;
	transform: none;
	top: auto;
	left: auto;
	vertical-align: middle;
}
#sloupec a.imaged_button .ico {
	height: auto;
}
#sloupec a.imaged_button .ico img {
	height: 49px;
	margin-right: 1em;
}
#sloupec a.imaged_button .name {
	height: auto !important;
}





#sloupec ul.no_list li {
	display: block;
}
#sloupec a.imaged_button {
	font-size: 120%;
	margin: 1em 0;
}
#disciplines ul {
	text-align: center;
}
#disciplines li {
	width: 16.5%;
}
#disciplines a {
	color: #FFF;
	margin: 0.5rem;
	background: #1e3a88;
	display: block;
	padding: 0.5rem 0;
	border-radius: 20px;
	height: 4rem;
	text-decoration: none;
	position: relative;
	overflow: hidden;
}
#disciplines a:hover {
	box-shadow: 5px 5px 5px #ddd;
}
#disciplines a span.nazev {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	text-shadow: 1px 1px 1px #000;
}
#disciplines a span.pismeno {
	position: absolute;
	bottom: 0;
	right: 0;
	font-size: 5.6rem;
	line-height: 3.9rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.5);
}
#disciplines li.typ_1 a { background: linear-gradient(101.76deg, #1E3A88 0%, #6E91F3 100%); }
#disciplines li.typ_3 a { background: linear-gradient(101.76deg, #838383 0%, #E3E3E3 100%); }
#disciplines li.typ_2 a { background: linear-gradient(101.76deg, #DC931A 0%, #FCD493 100%); }

#sloupec a.imaged_button:hover img,
#sloupec .active a.imaged_button img {
	filter: brightness(0) invert(100%);
}

a.button_animated { transition: transform 1s, background-color 0.5s, color 0.5s, opacity 1s, box-shadow 2s; opacity: 1; }
a.button_animated.a_off { transform: scale(0.5); opacity: 0; }

#disciplines {
	/*background: url('img/podkres.png') no-repeat 10% 0% #fefefe;
	background-size: contain;*/
	padding: 0 0.5rem 2rem 0.5rem;
	margin: 3rem 0;
}
#disciplines h2 {
	font-family: "Open Sans", sans-serif;
	text-transform: lowercase;
	font-size: 130%;
}
div#home_info {
	padding: 3em 0;
	overflow: hidden;
	line-height: 1.7;
}
div#home_info_in {
	overflow: hidden;
}
div#categories_bg.home {
	background-color: #fafafa;
	padding-top: 1px;
}


#topline {
	background-color: #FEFEFE;
}
#topline-in {
	overflow: hidden;
}
#topline-in h1 {
	width: 210px;
	height: 34px;
	overflow: hidden;
	float: left;
	margin: 2rem 0;
	transform: scale(0.95);
	transition: transform 0.3s;
}
#topline-in h1 a {
	padding-top: 34px;
	display: block;
	background: url('img/logo.png') no-repeat;
}
#topline-in h1:hover {
	transform: scale(1);
}
#color-links {
	float: right;
	margin-top: 2rem;
}
#color-links a,
.white-links a {
	display: inline-block;
	font-weight: 100;
	text-decoration: none;
	color: #333;
	margin-left: 2rem;
	font-size: 90%;
	line-height: 1.2;
	vertical-align: top;
}

#color-links a.link_button,
.white-links a.link_button {
	border-radius: 10px;
	padding: 0em 2em;
	line-height: 29px;
	color: #FFF;
}
#color-links a.link_icon,
.white-links a.link_icon {
	width: 29px;
	height: 29px;
	background: no-repeat center top;
	overflow: hidden;
	box-sizing: border-box;
	padding-top: 29px;
}
#color-links a.color_link_1 { background-color: #DC931A; }
#color-links a.color_link_2 { background-color: #1E3A88; }
#color-links a.color_link_3 { background-image: url('img/teams.png');}
#color-links a.color_link_4 { background-image: url('img/facebook.png') }
#color-links a.color_link_80 { background-image: url('img/80let.svg') }
.white-links a.color_link_3 { background-image: url('img/teams-white.png') !important}
.white-links a.color_link_4 { background-image: url('img/facebook-white.png') !important}

#color-links a.link_icon.color_link_80 { width: 85px; height: 45px; padding-top: 45px; margin-top: -9px; cursor: default; }

#color-links a.link_button:hover {
	background-color: #999;
}
#color-links a.link_icon:hover {
	filter: grayscale(100%);
	opacity: 0.63;
}
#color-link_4 a.link_icon:hover {
	opacity: 0.61;
}
#color-links a.link_icon.color_link_80:hover { filter: none; opacity: 1; }

#horizont-0 {
	z-index: 10;
	position: relative;
	background-color: #E3E3E3;
	box-shadow: 0px 6px 6px #DDD;
}

#horizont-0-in {
	height: 100%;
	width: 100%;
	text-align: center;
	display: inline-block;
}
#horizont-0.menuFixed {
	position: relative;
	/*top:0;
	left: 0;
	right: 0;*/
}
ul#m0 li {
	/*position: relative;*/
}
a#hor-res-menu-button {
	display: none;
	background-color: #dc931a;
}


form#search-form {
	width: 220px;
	height: 29px;
	position: relative;
	margin: 2rem 0;
	float: right;
}
input#search_box,
input#search_btn {
	box-sizing: border-box;
	border: 0 none;
	position: absolute;
	top: 0;
	right: 0;
	border-radius: 10px;
}
div#search_box_envelope {
	background: #DDD;
	border-radius: 10px;
	overflow: hidden;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}
input#search_box {
	width: 100%;
	height: 100%;
	color: #333;
	background-color: #DDD;
	box-sizing: border-box;
	font-style: italic;
	padding: 0 30px 0 10px;
}
input#search_btn {
	width: 29px;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 3;
	background: url('img/lupa_small.png') no-repeat center #1e3a88;
	color: #FFF;
	font-size: 0px;
	padding: 0;
}
input#search_btn:focus {
	background-color: pink;
}
label#c1 {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	padding-left: 10px;
	box-sizing: border-box;
	color: #333;
	font-style: italic;
	z-index: 1;
	font-size: 80%;
	line-height: 29px;
}
input#search_box:focus,
input#search_box.nem {
	z-index: 2;
}

#search-envelope.no_script {
	position: relative;
	width: 100%;
	background:transparent;
	display: block;
}
#search-envelope.no_script #search {
	width: 100%;
	height: 100%;
	padding: 0.5em;
	margin: 0;
	position: relative;
	max-width: 100%;
	max-height: 100%;
	top: auto;
	bottom: auto;
	left: auto;
	right: auto;
}
#search-envelope.no_script h3 {
	display: none;
}
#search-envelope.no_script div#search_box_envelope {
	margin: 0;
	width: 60%;
	display: inline-block;
}
#search-envelope.no_script input#search_box {
	height: 4em;
}
#search-envelope.no_script input#search_btn {
	width: 30%;
}

div#head_animation_envelope {
	overflow: hidden;
	padding: 2rem 0;
}

#head-sogan {
	float: left;
	width: 45%;
	box-sizing: border-box;
	z-index: 1;
	position: relative;
	border-radius: 40px;
}
#head-sogan > div,
#head-slogan > div {
	padding: 1em;
	font-weight: bold;
	font-size: 150%;
	color: #000;
}
#head-slogan > div {
	text-align: center;
	background-color: #1e3a88;
	color: #FFF;
	font-weight: normal;
	text-transform: uppercase;
}
div#head-sogan div#fconElement,
div#head-sogan div#fconElement div {
	font-weight: normal;
	font-size: 100%;
}
div#head-sogan div#fconElement {
	box-sizing: border-box;
	margin-top: 2rem;
}
div#head-sogan div#fconElement div {
	margin: 2em 0;
	line-height: 1.7;
}
div#head-sogan div#fconElement h2 {
	font-size: 300%;
}
div#head-sogan div#fconElement h2::before {
	display: none;
}

#banhead {
	position: relative;
	clear: both;
}
.mhdr {
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
#user-info {
	text-align: right;
}

#simle_links {
	padding-bottom: 1em;
}

#categories_envelope_galery {
	overflow: hidden;
	margin-top: 2em;
	margin-bottom: 2em;
	display: flex;
	flex-wrap: wrap;
}
.article-preview-gallery {
	width: 31%;
	margin: 0 1% 4em;
}
.article-preview-gallery h2 {
	margin: 0;
	height: 3em;
	overflow: hidden;
	text-align: center;
	font-size: 120%;
	line-height: 1;
	border-bottom: 2px solid #dc931a;
	margin-bottom: 1px;
}
.article-preview-gallery h2 a {
	text-decoration: none;
	display: inline-block;
	width: 100%;
	color: #333;
}
.img-article-preview-gallery {
	width: 100%;
	overflow: hidden;
}
.img-article-preview-gallery a {
	border: 1px solid;
	display: block;
}
.img-article-preview-gallery img {
	border: none;
	width: 100%;
	display: block;
	margin: 0 auto;
}

.categories_envelope {
	display: flex;
	margin-bottom: 2em;
	flex-wrap: wrap;
}
div.article-preview-envelope {
	width: 23%;
	margin: 1%;
	border-radius: 25px;
	overflow: hidden;
	background-color: #F7F7F7;
	box-shadow: 0px 8px 8px 2px #DDD;
	position: relative
}
div.img-article-preview,
div.text-article-preview {
	float: none;
	width: 100%;
}
div.text-article-preview {
	padding: 1em 1em 3em 1em;
	box-sizing: border-box;
}
div.text-article-preview h2 {
	color: #1e3a88;
	margin: 0;
	font-weight: normal;
	font-size: 110%;
}
div.text-article-preview h2::before {
	display: none;
}
div.text-article-preview p {
	margin: 0.5rem 0;
	line-height: 1.2;
	font-size: 90%;
}
div.article-preview a.tlacitko {
	position: absolute;
	bottom: 1em;
}

div.article-preview {
	overflow: hidden;
}
div.img-article-preview {
	box-sizing: border-box;
}
div.img-article-preview img {
	border: none;
	width: 100%;
	display: block;
}
div.img-article-preview img.balast,
.img-article-preview-gallery img.balast {
	max-width: 161px;
	margin: 0 auto;
}

div.articleContent {
	min-height: 5em;
	overflow: hidden;
	padding-bottom: 4em;
}
div.articleContent blockquote {
	font-family: Georgia,Times,"Times New Roman",serif;
	font-style: italic;
	border-left: 5px solid #CCC;
	padding-left: 20px;
	padding-right: 8px;
}
div.articleContent img {
	max-width: 100%;
}

ul.downloadElement, div.photosArea {
	padding: 0;
	margin: 15px 0;
}
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,
div.photogalery form.photosInputError {
	padding: 2px 0;
	margin: 3px 0;
	color: #7c0000;
	border: 1px solid #F00;
	background-color: #e56666;
	border-radius: 3px;
	max-width: 400px;
}
.articleContent span.errorDescription {
	display: block;
	color: red;
	font-weight: bold;
}

ul.downloadElement {
	margin: 0;
	padding: 0 0 20px 0;
}
ul.downloadElement li {
    list-style-type: none;
    margin: 0;
    padding: 0 0 10px;
}
ul.downloadElement li a {
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 30px;
	min-height: 27px;
	height: 2em;
	line-height: 2em;
	display: inline-block;
}
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') }
a.dtype_image { background-image: url('img/dtype_image.png') }
ul.downloadElement li span {
	display: block;
	font-style: italic;
	padding-left: 46px;
}

div.photosArea a {
	display: block;
	float: left;
	margin: 1%;
	box-sizing: border-box;
	width: 23%;
	border: 1px solid #FFF;
	overflow: hidden;
	background-color: #dc931a;
	position: relative;
}
div.photosArea.photogallery_vertical a {
	margin: 1%;
	width: 23%;
}
div.photosArea a img {
	display: block;
	border: none;
	width: 100%;
	box-sizing: border-box;
	transition: transform 0.3s, opacity 0.3s;
}
div.photosArea a:hover img,
div.photosArea a:focus img {
	opacity: 0.7;
	transform: scale(1.3);
}
div.photosArea a span {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: url('img/plus.png') no-repeat center;
	opacity: 0;
	transition: opacity 0.5s;
}
div.photosArea a:hover span,
div.photosArea a:focus span {
	opacity: 1;
}



div.sPhotos_element {
	position: relative;
	overflow: hidden;
	margin: 1em 0;
	width: 100%;
	min-height: 153px;
}
div.sPhotos_element.sPhotos_element_vertical {
	min-height: 200px;
}
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: 190px;
	height: 143px;
}
div.sPhotos_element_vertical div.sPhotos_envelope a {
	width: 143px;
	height: 190px;
}
div.sPhotos_envelope a img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	border: none;
}

div.error404 {
	margin: 10em auto;
	max-width: 500px;
	text-align: center;
	border: 1px dotted #F00;
	padding: 10px;
	text-align: center;
}

div.offsetPart {
	text-align: center;
	padding: 0;
	margin: 1em auto;
	width: 100%;
	clear: both;
}
div.offsetPart a {
	display: inline-block;
	margin: 0.2em;
	height: 3em;
	width: 3em;
	line-height: 3em;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	transform: rotate(90deg);
}
div.offsetPart a.loading {
	border-radius: 50%;
	opacity: 0.5;
}

#map_area ul li a {
	margin: 0 0 1em 0;
	display: inline-block;
}

h3.search_result_title {
	margin-bottom: 0;
}
div#data-center-text {
	margin-bottom: 2em;
}


input.form_stext, label.form_stext {
	display: 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;
}


/* reklamni okno */
div#ppb_b {
	display: none;
	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;
}

span#login_form_icon {
	position: absolute;
	top: -16px;
	left: -15px;
	display: block;
	width: 32px;
	height: 32px;
	background-image: url('./img/encrypted.png');
}
img#login_form_icon {
	position: absolute;
	top: -16px;
	left: -15px;
}
div#login_form_message {
	margin: 3em auto;
	padding: 0 1em;
	text-align: center;
}
div#login_form_envelope {
	max-width: 22em;
	margin: 3em auto;
	padding: 1em;
	width: auto;
	position: relative;
	border: 1px solid #b90000;
	background-color: #902b2b;
	color: #ffffff;
	text-align: right;
}
#login_form label {
	padding: 0 1em 0 0;
}
input#user_login, input#user_password {
	height: 2em;
	line-height: 2em;
	margin: 0 0 1em 0;
	padding: 0 0.5em;
	width: 10em;
	background-color: #ffffff;
	border: 1px solid #b90000;
	color: #000000;
}
input.input_button {}

#cs_bx_envl {
	/*display: flex;*/
	display: none;
	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;
}

#scrollToHome {
	position: fixed;
	right: 10px;
	bottom: 10px;
	width: 50px;
	height: 50px;
	padding-top: 50px;
	box-sizing: border-box;
	overflow: hidden;
	border: 1px solid;
	border-radius: 15px;
	text-decoration: none;
	background-color: #dc9318;
	color: #FFF;
	z-index: 15;
	text-align: center;
	font-size: 10px;
	box-shadow: 0 0 3px #000;
	display: none;
}
#scrollToHome::after {
	content: "";
	width: 19px;
	height: 19px;
	border-top: 5px solid #FFF;
	border-right: 5px solid #FFF;
	transform: rotate(-45deg);
	position: absolute;
	top: 18px;
	left: 12px;
	transition: 0.3s;
}
#scrollToHome:hover::after {
	top: 14px;
}



/* + kalendář */
.fCalendarEnvelope {
	width: 100%;
	position: relative;
}
.fCalendarTitle {
	position: relative;
	height: 15%;
	background-color: #dc931a;
}
.fCalendarIn {
	position: relative;
	height: 85%;
}
.fCalendarPredMonth,
.fCalendarNextMonth {
	display: inline-block;
	position: absolute;
	top: 0;
	width: 20%;
	box-sizing: border-box;
	height: 100%;
	line-height: 3;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	color: #FFF;
	background-color: #1e3a88;
}
.fCalendarPredMonth {
	border-right: 1px solid #fff;
	left: 0;
}
.fCalendarNextMonth {
	border-left: 1px solid #fff;
	right: 0;
}
.fCalendarNextMonth:after {
	content: ">";
}
.fCalendarPredMonth:after {
	content: "<";
}
.fCalendarPredMonth:hover,
.fCalendarNextMonth:hover {
	background-color: #1e3a88;
	/*background-color: #019ac4;*/
	color: #FFF;
}
a.fCalendarPredMonth:focus,
a.fCalendarNextMonth:focus {
	box-shadow: 0 0 4px #d67900;
}

.fCalendarTitle a.fCalendarActions {
	position: absolute;
	left: -2000px;
}
.fCalendarTitle a.fCalendarActions:focus {
	left: 0;
	top: 0;
	background: #fefefe;
}
.fCalendarActMonth {
	display: inline-block;
	position: relative;
	margin: 0 auto 0 auto;
	width: 100%;
	height: 100%;
	text-align: center;
	text-transform: uppercase;
	color: #000;
	line-height: 3;
}
.fCalendarInTitles {
	display: block;
	height: 15%;
	background-color: #333;
}
.fCalendarInTitles:before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}
.fCalendarInTitles span {
	display: inline-block;
	vertical-align: middle;
	width: 14%;
	cursor: default;
	color: #fff;
	text-align: center;
}
.fCalendarInTitlesWeekend {
	width: 15% !important;
}
.fCalendarInTitles span span {
	text-align: center;
}
.fCalendarInDays:before {
	content: "";
	display: inline-block;
	vertical-align: middle;
}
.fCalendarInDays {
	height: 85%;
	width: 100%;
	vertical-align: middle;
	display: inline-block;
}
.fCalendarInDays span {
	display: block;
	width: 14%;
	line-height: 2.45;
	text-align: center;
	float: left;
	position: relative;
	cursor: default;
	overflow: hidden;
}
.fCalendarInDays span.fCalendarInWholeDay,
.fCalendarInDayWeekend.fCalendarInWholeDay {
	box-shadow: 0 0 10px #dc931a inset;
}
.fCalendarInDays span span {
	display: inline-block;
	width: 100%;
	height: 100%;
	background-color: #fafafa;
	vertical-align: middle;
	border-left: 1px solid #bbbcbb;
	border-top: 1px solid #bbbcbb;
}
.fCalendarInDaysWeekend {
	width: 15% !important;
}
.fCalendarInDayWeekend,
.fCalendarInDayTmpweekend {
	background-color: #eee !important;
}
.fCalendarInDayTmp,
.fCalendarInDayTmpweekend {
	color: #999;
}
.fCalendarInDay {
	color: #2e2e2e ;
}
.fCalendarInDay:hover,
.fCalendarInDayWeekend:hover,
.fCalendarInDayWeekend.fCalendarInWholeDay:hover,
.fCalendarInDay.fCalendarInWholeDay:hover,
.fCalendarToday:hover,
.fCalendarInDaySelected {
	box-shadow: 0 0 10px #1e3a88 inset !important;
}
.fCalendarToday {
	color: #000;
	background-color: transparent !important;
	font-weight: bold;
	box-shadow: 0 0 10px blue inset !important;
}
.fCalendarInDays span span.fCalendarTodayIsIt {
	display: block;
	width: 90%;
	height: 20%;
	background-color: #dc931a;
	position: absolute;
	bottom: 0;
	right: 5%;
}
span.fCalendarInDay:hover span.fCalendarTodayIsIt,
span.fCalendarInDaySelected span.fCalendarTodayIsIt,
span.fCalendarInActDay span.fCalendarTodayIsIt {}

div.fCalendarHint {
	display: none;
	position: absolute;
	background-color: #fefefe;
	border: 1px solid #888;
	box-shadow: 0 0 4px #888888;
	padding: 0.5em;
	font-size: 14px;
	color: #666;
	z-index: 11;
}
div.fCalendarInEnvp,
a.fCalendarInLink {
	margin: 10px 0;
	display: block;
	text-decoration: none;
	color: #666;
}
a.fCalendarInLink,
a.fCalendarInLink span {
	cursor: pointer;
}
div.fCalendarHint h2 {
	font-size: 120%;
	color: #333333;
	margin: 0;
	text-align: center;
}
div.fCalendarHint span {
	width: 100%;
	display: block;
	line-height: 1.5;
	float: none;
	text-align: left;
}
div.fCalendarHint span.timestamp {
	font-size: 80%;
	margin-right: 5px;
	border-top: 1px solid #AAA;
}
div.fCalendarHint span.description {
	margin-left: 5px;
}
div.fCalendarHint span.title {
	font-weight: bold;
}
a.fCalendarInLink span.title {
	text-decoration: underline;
}
a.fCalendarInLink:hover span.title {
	text-decoration: none;
}

div.fCalendarInDaysText {
	font-size: 1rem;
	margin: 1em 0 2em;
}
div.fCalendarInDaysText p {
	border-bottom: 1px solid;
	line-height: 1.2;
}
div.fCalendarInDaysText span.dat {
	font-weight: bold;
	display: block;
}
div.fCalendarInDaysText span.desc {
	font-style: italic;
	padding-left: 1em;
}
div.fCalendarInDaysText span.desc::before {
	content: " - ";
}
/* - kalendář*/




table.datatable {
	border-collapse: collapse;
	height: auto !important;
	margin: 2em auto;
}
table.datatable td,
table.datatable th {
	border: 1px solid;
	padding: 0.5em;
}
/*** - mainscreen_pres */

/*** barva pro tema */

/* formuláře */
input[type=button], input[type=submit] {
	cursor: pointer;
	border: 1px solid;
	border-radius: 5px;
	padding: 1rem;
	font-size: 100%;
	background-color: #FFF;
	color: #000;
}
input[type=button]:hover, input[type=submit]:hover,
input[type=button]:focus, input[type=submit]:focus {
	background-color: #dc931a;
	color: #FFF;
}
input[type=text], input[type=password], textarea {
	border: 1px solid #CCC;
	color: #000;
	background-color: #FFF;
	box-sizing: border-box;
	color: #000;
	border-radius: 5px;
	padding: 1rem;
	font-size: 100%;
}
input:focus, textarea:focus {
	box-shadow: 0px 0px 4px #dc931a;
	border-color: #dc931a !important;
}
iframe.virtual {
	width: 100%;
	height: 400px;
	box-sizing: border-box;
}

/* offset */
div.offsetPart a {
	background-color: #1e3a88;
	color: #FFF;
}
div.offsetPart a:hover,
div.offsetPart a:focus {
	background-color: #dc931a;
}
div.offsetPart span {
	background-color: #EEE;
}

div#top_area_path_part a {
	color: #1e3a88;
}
div#top_area_path_part, div#top_area_path_part strong a {
	color: #999;
	font-style: italic;
}


/*** tema pres bez barvy */

#foot a, #foot {
	color: #FFF;
}
#foot {
	background: linear-gradient(92.69deg, #1E3A88 -3.51%, #6E91F3 187.91%);
	color: #FFF;
}
div#foot_div_envelope {
	display: flex;
	flex-wrap: wrap;
}
div.foot_div {
	box-sizing: border-box;
	width: 25%;
	padding: 0 1rem 1rem;
	font-size: 90%;
}
.foot_div h2 {
	position: relative;
	line-height: 1;
	margin: 0 0 3rem;
	display: inline-block;
	color: #FFF;
	text-transform: uppercase;
	font-size: 1rem;
}
.foot_div h2::before {
	height: 2px;
	content: "";
	position: absolute;
	background-color: #DC931A;
	width: 50%;
	bottom: -10px;
}
div#logo_bottom {
	background: url('img/logo_bottom.png') no-repeat center left;
	min-height: 100px;
	height: 100%;
	width: 100%;
	max-width: 227px;
	background-size: contain;
	margin-left: -1rem;
}
.foot_div p {
	margin-top: 0;
}
.foot_div .foot_day {
	width: 30%;
	display: inline-block;
}
div.foot_div li {
	padding: 0 0 0.5rem 0;
	display: block;
}
div.foot_div li::before {
	content: "> ";
	color: orange;
}
div#foot-content {
	font-size: 80%;
	font-weight: 100;
	display: table-cell;
	vertical-align: bottom;
	height: 29px;
}
div#foot-logo {
	float: right;
}
div#advb_and_news {
	padding: 0.5rem;
}
div#advb-envelope,
div#home_news {
	width: 50%;
	display: inline-block;
	vertical-align: top;
	box-sizing: border-box;
}
div#advb-envelope { padding-right: 1em;}
div#home_news { padding-left: 1em;}

div#advb-in {
	margin-bottom: 1em;
	padding-bottom: 3em;
	text-align: center;
	overflow: hidden;
}
div#advb-in > div {
	width: 25%;
	display: inline-block;
	box-sizing: border-box;
	padding: 0 1rem 2rem;
}
div#advb-in a {
	vertical-align: top;
	display: inline-block;
}
div#advb-in img,
div#advb-in a img {
	border: none;
	width: auto;
	max-width: 100%;
	max-height: 160px;
}
div#advb-in .box span {
	display: block;
	width: 100%;
	font-size: 70%;
}
div#advb-in div.shadow {
	background-image: linear-gradient(to right,rgba(255,0,0,1), rgba(255,0,0,0));
}

div#home_news li {
	border-radius: 10px;
	background-color: #F7F7F7;
	box-shadow: 0 4px 4px #ddd;
	/*padding: 0.5rem 0.5rem 0.5rem 5.5rem;*/
	padding: 0.5rem;
	min-height: 5rem;
	position: relative;
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 1rem 0;
}
div#home_news div.date {
	float: left;
	padding: 1rem 1rem 1rem 0;
}
div#home_news div.desc {}
div#home_news div.news_more {
	clear: both;
	text-align: right;
}
div#home_news span.date {
	font-size: 180%;
	width: 4rem;
	/*position: absolute;
	left: 0.5rem;
	top: 1rem;*/
}
div#home_news span.day {
	color: #1e3a88;
	position: relative;
	top: -10px;
}
div#home_news span.month {
	color: #dc931a;
	position: relative;
	bottom: -10px;
}
div#home_news span.minus {
	vertical-align: top;
	font-weight: bold;
	padding: 0 5px;
}
div#home_news span.name {
	text-transform: uppercase;
	font-size: 90%;
	color: #000;
}
div#home_news span.desc {
	display: block;
	font-size: 80%;
}
div#home_news a {
	display: inline-block;
	font-size: 80%;
	margin-top: 10px;
}
div#home_news a::after {
	content: ' >';
}

.ec{position:relative}
.ec .ec__holder{
	overflow:hidden;
	margin: 0 40px;
}
.ec .ec__track{will-change:transform}
.ec .ec__track:after{content:'';display:table;clear:both}
.ec .ec__item{float:left;overflow:hidden}
.ec .ec__pagination{text-align:center;margin-top:10px}
.ec .ec__pagination .pagination__dot{width:8px;height:8px;background-color:transparent;display:inline-block;border:1px solid #000;margin:0 5px;border-radius:50%;cursor:pointer}
.ec .ec__pagination .pagination__dot--active{background-color:#000}
.ec .ec__nav{
	position:absolute;
	bottom:10px;
	border-top:8px solid #000;
	border-right:8px solid #000;
	width:25px;
	height:25px;
	cursor:pointer;
	top: 50px;
	opacity: 0.5;
	transition: opacity 0.2s;
}
.ec .ec__nav:hover {
	opacity: 1;
}
.ec .ec__nav:before{content:''}
.ec .ec__nav--prev{transform:rotate(-135deg);left:10px}
.ec .ec__nav--next{transform:rotate(45deg);right:10px}


/* drobeckova navigace */
div#top_area_path_part {
	font-size: 0.8em;
	padding: 0.5em 0 1em;
}
div#top_area_path_part a {
	text-decoration: none;
}
div#top_area_path_part a:hover {
	text-decoration: underline;
	color: #dc931a;
}

div.submenuArea {
	overflow: hidden;
	margin: 2em 0;
	padding-bottom: 2rem;
	display: flex;
	flex-wrap: wrap;
}
div.subcategory-envelope {
	box-sizing: border-box;
	width: 31.3%;
	margin: 1%;
}
div.subcategory {
	border: 1px solid #d6d6d6;
	margin: 0;
	height: 100%;
	box-sizing: border-box;
	overflow: hidden;
	padding: 2em 0;
	text-align: center;
	position: relative;
	border-radius: 25px;
	box-shadow: 0px 8px 8px 2px #DDD;
}
div.subcategory .description {
	overflow: hidden;
	padding: 0 1em 1em;
}
div.subcategory img {
	width: 100%;
	display: block;
}
.se_spec div.subcategory img {
	width: auto;
	display: inline;
	margin-top: 0.5em;
}
div.subcategory h2 {
	position: relative;
	line-height: 1.2;
	margin-left: 5px;
	margin-right: 5px;
	margin-top: 5px;
}
div.subcategory h2::before {
	height: 2px;
	content: "";
	position: absolute;
	background-color: #dc931a;
	width: 50%;
	bottom: -10px;
	left: 25%;
}
div.subcategory a {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	padding-top: 500%;
	width: 100%;
	height: 100%;
}
div.subcategory:hover {
	background-color: #f2f2f2 !important;
}
div.subcategory:hover img {
	opacity: 0.7;
}




/*** - tema pres bez barvy */



/*** rozlozeni pres */

#categories_envelope_galery,
#topline-in,
div#content-1,
#hor-envelope,
#head-sogan,
div#top_area_path_part,
#user-info,
div.submenuArea,
div.category_description, h1.title,
div.article-preview-envelope div.article-preview,
div.articleContent,
#foot-in,
div#login_form_message,
div#data-center-text,
div#disciplines-in,
div#categories_bg.home div.categories_envelope,
div#advb-in,
div#home_info-in,
div#content-subpage,
div#head_animation_envelope,
div#advb_and_news,
div#mainMenuElement div {
	max-width: 1110px;
	margin-left: auto;
	margin-right: auto;
}

#foot-in {
	padding: 3em 1em 1em;
	box-sizing: border-box;
	overflow: hidden;
}
#banhead {}
#banhead.mhdr_1 {
	min-height: 500px;
}
#banhead.mhdr_2 {
	min-height: 10px;
}

div#animation_line {
	border-bottom: 3px solid #CCC;
	border-right: 3px solid #CCC;
	box-sizing: border-box;
	position: absolute;
	width: calc(50% + 37px);
	height: 50%;
	bottom: 0;
	border-radius: 0 0 40px 0;
}
div#home_animation {
	width: 50%;
	height: 100%;
	float: right;
	padding: 50px 60px 60px 0;
	box-sizing: border-box;
}
div.border_1 {
	border-radius: 40px;
	border: 3px solid #CCC;
	width: 455px;
	height: 370px;
	position: relative;
	float: right;
}
a.anim {
	display: block;
	width: 219px;
	height: 219px;
	color: #FFF;
	text-decoration: none;
	font-size: 1.2rem;
	position: relative;
	box-sizing: border-box;
	border-radius: 40px;
	padding: 150px 10px 0 89px;
	position: absolute;
	transform: scale(0.9, 0.9);
	box-shadow: 0 0 0 transparent;
}
a.anim:hover {
	transform: scale(1, 1);
	box-shadow: 5px 5px 5px #ddd;
}
a.anim .img {
	display: block;
	width: 178px;
	height: 178px;
	position: absolute;
	background: no-repeat center;
	background-size: 100%;
	top: 20px;
	left: -89px;
}
a#anim_1 { background: url('img/obory_ico_1.png') no-repeat 100px 30px, linear-gradient(180deg, #6E91F3 0%, #1E3A88 100%); top: -50px; right: -50px;}
a#anim_3 { background: url('img/obory_ico_2.png') no-repeat 100px 30px, linear-gradient(180deg, #E3E3E3 0%, #838383 100%); bottom: -50px; right: -50px;}
a#anim_2 { background: url('img/obory_ico_3.png') no-repeat 100px 30px, linear-gradient(80deg, #FCD493 0%, #DC931A 100%);  bottom: -50px; left: -50px;}

a#anim_1 .img { background-image: url('img/obory_img_1.png'); }
a#anim_3 .img { background-image: url('img/obory_img_2.png'); }
a#anim_2 .img { background-image: url('img/obory_img_3.png'); }



/*** - rozlozeni pres */
#hor-envelope {
	position: relative;
	transition: 300ms;
	box-sizing: border-box;
}



ul#m0 {
	margin: 0;
	padding: 0 0 0 0;
}
ul#m0 li {
	list-style-type: none;
	padding: 1rem 1.5rem;
	display: inline-block;
	transition: 300ms;
}
ul#m0 li a {
	text-align: center;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 1.1rem;
	color: #444;
	position: relative;
	transition: 300ms;
}
ul#m0 li a::before {
	transition: 300ms;
	height: 4px;
	content: "";
	position: absolute;
	width: 0;
	top: 1.5em;
}
ul#m0 li a::before {
	background-color: #DC931A;
}

ul#m0 li a:hover::before,
ul#m0 li a:focus::before,
ul#m0 li a.a_active::before,
ul#m0 li.active a::before {
	width: 100%;
}
ul#m0 li a:hover,
ul#m0 li a:focus,
ul#m0 li.active > a,
ul#m0 li > a.a_active {
	text-decoration: none !important;
	color: #1e3a88;
}
ul#m0 li.next > a::after {
	content: "▼";
	padding-left: 3px;
	font-size: 80%;
}
ul#m0 li.next li.next a::after {
	content: "▶";
	padding-left: 3px;
}
/*
#horizont-0.menuFixedd {
	box-shadow: 0 0 3px #333;
	background-color: #fff;
}
#horizont-0.menuFixedd #hor-envelope {
	min-height: 40px;
}
#horizont-0.menuFixedd ul#m0 li {
	line-height: 40px;
}
#horizont-0.menuFixedd ul#m0 li a {
	font-size: 80%;
}
*/

/* + podmenu */
ul#m0 ul {
	display: none;
}
div#mainMenuElement {
	background: #f4f4f4;
	position: absolute;
	left: 0;
	right: 0;
	padding: 1.5rem 0;
	box-shadow: 0px 6px 6px #DDD;
	display: block;
}
ul.d2 {
	width: 100%;
	box-sizing: border-box;
	margin: 0px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	border: 0 none;
	background: #f4f4f4;
}
ul.d2 li {
	display: block;
	width: 25%;
	height: auto;
	margin: 0;
	position: relative;
	box-sizing: border-box;
	text-align: left;
	padding: 0.5rem 0;
}
ul.d2 li a {
	display: inline;
	overflow: hidden;
	padding: 0;
	position: relative;
	text-align: left;
	font-weight: bold;
	font-size: 90%;
	box-sizing: border-box;
	color: #444;
	text-decoration: none;
}
ul.d2 li a::before {
	height: 0 !important;
}
ul#m0 li ul li.li_first a{}
ul#m0 li ul li.li_last a{}
ul#m0 li ul li a span {}

ul.d2 li a:hover {
	text-decoration: underline;
}
ul.d2 li a.moreOn,
ul.d2 li a.moreOff {
	display: inline-block;
	width: 18px;
	height: 18px;
	line-height: 18px;
	border: 2px solid;
	border-radius: 3px;
	vertical-align: top;
	margin-left: 5px;
	text-align: center;
	text-decoration: none;
}
ul.d2 li a.moreOff::after {
	content: "▼";
}
ul.d2 li a.moreOn::after {
	content: "▲";
}
ul.d2 li a.moreOff::after,
ul.d2 li a.moreOn::after {
	font-size: 10px;
	position: relative;
	top: -3px;
}
ul.d3 {
	margin: 0;
	opacity: 0;
	display: none;
	background: #333;
	z-index: 5;
	padding: 1rem;
	position: absolute;
	width: 100%;
	box-sizing: border-box;
	border-radius: 3px;
	box-shadow: 0px 6px 6px #DDD;
}
ul.d3.visible {
	display: block;
	opacity: 1;
}
ul.d3 li {
	width: 100%;
}
ul.d3 li a {
	color: #FFF;
}


#sloupec .iMe h2 {
	font-family: 'Open Sans', Arial, sans-serif;
	font-weight: 700;
}
#sloupec .iMe ul {
	margin: 0;
	padding: 0;
}
#sloupec .iMe ul li {
	padding: 0;
	margin: 1em 0;
	list-style-type: none;
}
#sloupec .iMe ul li a {
	text-decoration: none;
	font-weight: bold;
	color: #333;
	display: block;
	padding-left: 1.5em;
}
#sloupec .iMe ul li a:hover,
#sloupec .iMe ul li.active>a {
	color: #dc931a;
}
#sloupec .iMe ul>li>a::before {
	content: "";
	margin-right: 0.5em;
	margin-left: -1.5em;
	display: inline-block;
	width: 0.8em;
	height: 0.8em;
	border-radius: 50%;
	background-color: #333;
}
#sloupec .iMe ul > li > a:hover::before {
	background-color: #dc931a;
}
#sloupec .iMe ul li li {
	margin-left: 3em;
}
#sloupec .iMe ul li li a {
	font-weight: normal;
}
#sloupec .iMe ul li li a:hover {
	text-decoration: underline;
}
#sloupec .iMe ul li li a::before {
	content: none;
}

@media(max-width: 1200px){
	#scrollToHome {
		right: 1px;
		bottom: 1px;
	}
	#foot-in { padding-bottom: 50px;
}
@media(max-width: 1110px){
	div#content {
		background: none;
	}
	#horizont-0-in {
		padding: 0 1em;
		box-sizing: border-box;
	}
	#categories_envelope_galery,
	#topline-in,
	#user-info,
	div.articleContent,
	#data-center-text,
	#foot-in,
	#home_info_cal {
		padding-left: 1em;
		padding-right: 1em;
	}
	div#top_area_path_part, div.submenuArea, div.category_description, h1.title {}
	
	ul#m0 > li > a {
		font-size: 100%;
	}
	ul.d2 {
		padding: 0 0.5em;
	}
	ul.d2 li {
		width: 33.3%;
	}
	#horizont-0.menuFixedd ul#m0 li a {
		font-size: 70%;
	}
	#sloupec a.imaged_button .name {
		font-size: 90%;
	}
	#disciplines a.imaged_button {
		margin: 0.5rem;
	}
	#disciplines a.imaged_button .ico {
		width: 60px;
	}
	#disciplines a.imaged_button .name {
		padding-left: 60px;
		font-size: 90%;
	}
	div#animation_line {
		width: calc(100% - 518px);
	}
	#disciplines li {
		width: 25%;
	}
	div#home_news li {
		width: 98%;
	}
	div.article-preview-envelope {
		width: 31%;
	}
}








@media(max-width: 970px) {
	div.calendars {
		min-width: 30% !important;
	}
	div#advb-in {
		float: none;
		width: 100%;
	}
	#hor-envelope {
		height: auto;
	}
	ul#m0 li {
		line-height: 1;
		padding: 0.5rem 0.8rem;
	}
	#color-links a {
		margin-left: 1.5em;
		padding-left: 32px;
	}
	div#content-subpage {
		margin: 0 1em;
	}
	div#content-subpage div#content-1,
	div#sloupec {
		padding: 1em 0;
		float: none;
		width: 100%;
		overflow: hidden;
	}
	div#sloupec .tMe,
	div#sloupec .iMe {
		width: 50%;
		padding-right: 5%;
		box-sizing: border-box;
		float: left;
	}
	div#sloupec .tMe .iMe {
		width: 100%;
		float: none;
	}
	div#head-sogan div#fconElement {
		max-width: 100%;
	}
	div#ppb_mb {
		display: none !important;
	}
}

@media (max-width: 970px) and (min-width: 640px) {
	#horizont-0 ul#m0 li a {
		font-size: 90%;
	}
}
@media(max-width: 860px) {
	body {
		font-size: 100%;
	}
	div#content-2-in {
		padding-right: 0;
	}
	div.text-article-preview h2 a {
		font-size: 100%;
	}
	.article-preview-gallery {
		margin: 1em;
	}
	div#ppb_mb {
		display: none !important;
	}
	table.datatable {
		overflow-x: auto;
		overflow-y: hidden;
		display: block;
		width: 100% !important;
	}
	div.calendars {
		min-width: 50% !important;
	}
	#banhead {
		overflow: hidden;
	}
	.article-preview-gallery {
		width: 30%;
		margin: 1% 1% 4em;
	}
	div.photosArea a,
	div.photosArea.photogallery_vertical a {
		width: 23%;
	}
	#banhead.mhdr_1 {
		min-height: 350px;
	}
	#banhead.mhdr_2 {}
	#head-sogan div {
		bottom: 1em;
	}
	a.imaged_button .ico img {
		max-height: 40px;
	}
	a.imaged_button .name {}
	#disciplines li {
		width: 33.3%;
	}
	a.imaged_button {
		margin: 0.3em;
	}
	div.subcategory-envelope {
		width: 48%;
		margin: 1%;
	}
	div#advb-envelope,
	div#home_news {
		display: block;
		width: 100%;
	}
	div.foot_div {
		width: 50%;
		margin-bottom: 2rem;
	}
	.foot_div h2 {
		margin-bottom: 2rem;
	}
	div#advb-in > div {
		width: 25%;
	}
	div.article-preview-envelope {
		width: 48%;
	}
	div#animation_line {
		display: none;
	}
	#head-sogan {
		width: 100%;
	}
	div#head-sogan div#fconElement div {
		margin: 1em 0;
		font-size: 90%;
	}
	div#head-sogan div#fconElement h2 {
		font-size: 110%;
	}
	div#home_animation {
		width: 100%;
		padding: 0.5rem;
	}
	div.border_1 {
		width: 100%;
		height: auto;
		border-radius: 0;
		border: none;
	}
	a.anim {
		position: relative;
		top: initial !important;
		left: initial !important;
		right: initial !important;
		bottom: initial !important;
		display: inline-block;
		width: 33%;
		padding: 150px 10px 10px 10px;
		vertical-align: top;
		background-position: center right !important;
	}
	a.anim .img {
		width: 70%;
		height: 70%;
		left: 0;
		top: 0;
	}
}
@media(min-width: 641px) {
	ul#m0 li.mobile {
		display: none;
	}
}
@media(max-width: 640px) {
	#hor-envelope,
	#horizont-0.menuFixedd #hor-envelope {
		height: 0;
		min-height: 0;
	}
	#hor-envelope.no_script {
		height: auto;
	}
	#horizont-0, #horizont-0-in {
		overflow: visible;
		padding: 0;
	}
	#horizont-0,
	#horizont-0.menuRelative,
	#horizont-0.menuFixed {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		min-height: initial;
		height: 1px;
	}
	#horizont-0-in {
		height: 0;
		width: auto;
		top: 0;
	}
	ul#m0 {
		display: none;
	}
	div#rmhandle {
		position: fixed;
		top: 97px;
		left: 0;
		bottom: 0;
		height: auto;
		overflow: auto;
		width: 100%;
		display: none;
		background-color: rgba(255,255,255,0.95);
		display: block;
	}
	#horizont-0.menuFixedd {
		position: relative;
	}
	div#rmhandle div {
		width: 94%;
		margin: 0 3%;
		background-color: transparent;
		border-bottom: 1px solid #CCC;
		padding: 0;
	}
	div#rmhandle div,
	div#rmhandle div a {
		line-height: 4em;
		height: 4em;
	}
	div#rmhandle > div > a {
		display: inline-block;
		text-decoration: none;
	}
	div#rmhandle a.link1,
	div#rmhandle a.link2,
	div#rmhandle a.next {
		box-sizing: border-box;
		vertical-align:top;
	}
	div#rmhandle a.link1,
	div#rmhandle a.link2 {
		width: 90%;
	}
	div#rmhandle a.next {
		width: 10%;
		text-align: center;
		border-left: 4px double;
	}
	div#rmhandle a.next::after {
		content: "▶";
	}
	div#rmhandle div.back {
		background-color: #DDD;
		width: 100%;
		margin: 0;
		padding: 0 3%;
	}
	div.back a.link {
		font-weight: bold;
		color: grey;
		display: block !important;
	}
	div.back a.link::before {
		content: "◀";
		padding-right: 0.5em;
	}
	a#hor-res-menu-button {
		position: absolute;
		right: 0px;
		top: 0;
		height: 97px;
		border: 1px solid #dc931a;
		background-position: center 5px;
		padding: 60px 0px 0;
		width: 70px;
		display: block;
		box-sizing: border-box;
		font-size: 90%;
		line-height: 1;
		line-height: 13px;
		text-decoration: none;
		text-align: center;
		background-image: url('img/hor_res_menu_button.png');
		background-repeat: no-repeat;
		background-color: #1e3a88;
		color: #FFF;
	}
	a#hor-res-menu-button.clicked {
		position: fixed;
		right: 0px;
		top: 0 !important;
	}
	a#hor-res-menu-button:focus {
		background-color: #dc931a;
	}
	#topline-in {
		text-align: center;
		height: auto;
		padding: 0.5rem calc(70px + 0.5rem) 0.5rem 0.5rem;
		border-bottom: 1px solid #ccc;
		box-shadow: 0 0 5px #666;
	}
	div#sicArea {
		float: none;
	}
	div.photosArea a {
		width: 48%;
	}
	div.photosArea.photogallery_vertical a {
		width: 31%;
	}
	div#login_form_envelope {
		text-align: left;
	}
	.login_form_label, input#user_login, input#user_password {
		display: block;
		width: 90%;
	}
	div.article-preview-envelope {
		width: 95%;
		margin: 1em auto;
	}
	.article-preview-gallery {
		width: 48%;
		margin: 1% 1% 4em;
	}
	div#content-subpage div#content-1,
	div#sloupec {
		float: none;
		margin-left: auto;
		margin-right: auto;
		float: none;
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}
	div.text-article-preview h2 {
		margin-top: 0.5em;
	}
	#color-links,
	form#search-form {
		float: none;
	}
	form#search-form {
		margin: 1rem auto;
		width: 80%;
	}
	#color-links a {
		margin: 0.3rem;
	}
	#topline-in h1 {
		float: none;
		margin: 10px auto;
	}
	div#sloupec .tMe, div#sloupec .iMe {
		width: 100%;
		float: none;
	}
	div#home_news li {
		width: 98%;
	}
	div.foot_div {
		width: 100%;
		margin-bottom: 2rem;
		text-align: center;
	}
	.foot_div h2 {
		margin-bottom: 2rem;
	}
	div.foot_div ul.no_list {
		text-align: left;
	}
	div#logo_bottom {
		margin: 0 auto;
	}
}

@media(max-width: 500px) {
	div.calendars {
		width: 100% !important;
	}
	div.subcategory-envelope {
		width: 98%;
		margin-bottom: 2em;
	}
	#disciplines li {
		width: 50%;
	}
	div#advb-in > div {
		width: 33.3%;
	}
	div#home_news div.date {
		font-size: 60%;
	}
}
/*** - mainscreenend_pres */
