.clr{clear:both;}
@font-face{
	font-family:"Myriad Pro";
	src:url('../fonts/MyriadPro-Regular_0.eot');
	src:local('☺'),
		url('../fonts/MyriadPro-Regular_0.ttf') format('truetype'),
		url('../fonts/MyriadPro-Regular_0.svg') format('svg');
	font-weight:normal;
	font-style:normal;
}

/* prebiti cookie consentu */
.cqcc a { color: #5948ad !important; }
.cqcc__switch--active .cqcc__switch-gauge { background: #5948ad !important; }
.cqcc__cat .cqcc__h::after { border-top-color: #5948ad !important; }

body {font-family: Tahoma, Arial, Trebuchet MS, Helvetica,Arial,sans-serif; font-size:14px; color:#4b4b4b; margin:0; padding:0;}
h1 {font-size:40px; font-family: "Myriad Pro", Arial; color: #000; font-weight:normal; padding:0; margin:0 0 20px 0; }
h2 {font-size:26px; font-family: "Myriad Pro", Arial; color: #000; font-weight:normal; padding:0px; margin: 20px 0; }
h3 {font-size:20px; font-family: "Myriad Pro", Arial; color: #000; font-weight:normal; padding:0px; margin: 10px 0; }
h4 {font-size:14px; font-family: "Myriad Pro", Arial; color: #000; font-weight:normal; padding:0px; margin: 10px 0; }
body.homepage h1 { display: none; }
hr { background: #eee; border: none; height: 4px; margin: 40px 0; }

a {color: #5948ad; text-decoration: none;}
a:hover {color: #000; text-decoration: underline;}
p { margin: 4px 0 12px; padding:0px; line-height: 24px;}
p a { color: inherit; text-decoration: underline; }
p a:hover { color: inherit; text-decoration: none; }

.width { width: 100%; max-width: 1000px; box-sizing: border-box; margin: 0 auto;}

#bodyHeader { padding: 20px; padding-bottom: 0; background: #fff; }
#bodyHeader .header_main { display: flex; justify-content: space-between; align-items: flex-start; }
#bodyHeader .logo { font-size: 12px; color: #4f4c4d; }
#bodyHeader .logo:hover { text-decoration: none; opacity: 0.7; }
#bodyHeader .logo img { margin-bottom: 2px; height: 40px; }
#bodyHeader .r { margin-left: 50px; text-align: right; }
#bodyHeader nav { margin-top: 20px; }
#bodyHeader .btns { display: flex; margin-top: 10px; }
#bodyHeader .btns > * { width: 40px; height: 40px; padding: 0; margin-left: 10px; }
#bodyHeader .btns button { border-radius: 20px; background: #5948ad; }
#bodyHeader .btns button img { width: 20px; }
#bodyHeader .btns a { display: flex; width: 40px; height: 40px; justify-content: center; align-items: center; }
#bodyHeader .btns a img { width: 40px; height: 40px; }
#bodyHeader .btns a.soc img { height: 24px; width: 24px; }

#desktopMenu ul {margin:0px; padding: 0px; height: auto; position: relative; display:flex; }
#desktopMenu li {padding:0px; margin:0px; list-style: none; position: relative; width:10px; flex-grow: 1; }
#desktopMenu li a{ display: block; border-top:4px solid #000; background-color:#383838; font-size:13px; line-height:14px; padding:14px 0; text-align: center; text-decoration: none; text-transform:uppercase; font-weight: bold; color: #fff; position: relative; }
#desktopMenu li a::after { display: block; content: ''; width: 1px; height: 100%; position: absolute; right: 0; bottom: 0; background: #444; }
#desktopMenu li a:hover,
#desktopMenu li a.active { background-color:#000; }
#desktopMenu li.univerzita a { border-top:4px solid #5948ad; }
#desktopMenu li.veda a { border-top:4px solid #00a1e4; }
#desktopMenu li.udalosti a { border-top:4px solid #ffde00; }
#desktopMenu li.sport a { border-top:4px solid #77d200; }
#desktopMenu li.lide a { border-top:4px solid #ff8100; }
#desktopMenu li.kultura a { border-top:4px solid #ae00a4; }
#desktopMenu li.home a {width:56px; border-radius:0 0 5px 0; background-image:url('../images/home.png'); background-position:center; background-repeat:no-repeat; text-indent:-9999px; }
#desktopMenu li.home { display:none; }
#mobileMenu { display: none; }

#bodyMain { display: block /* IE */; width: 100%; max-width: 800px; margin: 0 auto; box-sizing: border-box; padding: 40px 20px; background: #fff; }

nav.path { margin-bottom: 10px; }
nav.path ul { padding: 0; margin: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; }
nav.path li { padding: 0; margin: 0; display: inline; }
nav.path a { color: #383838; text-decoration: none; display: inline-block; padding-right: 15px; margin-right: 10px; position: relative; }
nav.path a:hover { text-decoration: underline; }
nav.path a::after { display: block; content: ''; width: 5px; height: 5px; border-right: 2px solid #000; border-bottom: 2px solid #000; opacity: 0.2; transform: rotate(-45deg); position: absolute; right: 0; bottom: 4px; }
nav.path li:last-child a::after { transform: rotate(45deg); bottom: 5px; }

#stayintouch { background: #eee; padding: 40px 20px; }
#stayintouch h2 { padding: 0; margin: 0 0 40px 0; text-align: left; font-size: 32px; }
#stayintouch .cols { display: flex; }
#stayintouch .col--first { width: 225px; border-right: 1px solid #fff; padding-right: 40px; margin-right: 40px; }
#stayintouch .col--last { width: 1px; flex-grow: 1; }
#stayintouch .more { padding: 20px 0 10px 0; text-align: center; }
#stayintouch .news_list .telo_clanku { margin: 0 0 20px 0; padding: 0; }
#stayintouch .news_list .clanek_image { width: 120px; }
#stayintouch .news_list .nadpis { font-size: 20px; line-height: 26px; margin-bottom: 20px; }
#stayintouch .news_list .clanek_text { display: none; }
@media only screen and (max-width: 700px) {
	#stayintouch .cols { flex-direction: column; }
	#stayintouch .cols > * { width: 100%; margin: 20px 0; border: none; padding: 0 !important; box-sizing: border-box; }
	#stayintouch h2,
	#stayintouch h3 { text-align: center; margin: 20px 0; }
	#stayintouch h2 br,
	#stayintouch h3 br { display: none; }
	#stayintouch .publikace { display: block; }
	#stayintouch .publikace > * { width: 200px; margin: 0 auto; }
}
@media only screen and (max-width: 500px) {
	#stayintouch .news_list .clanek_image { width: 100%; }
	#stayintouch .news_list .telo_clanku { margin: 0; padding: 20px 0; }
}

#bodyFooter { padding: 40px 20px; background: #000; color: #fff; }
#bodyFooter a { color: inherit; }
#bodyFooter a:hover { color: #999; text-decoration: none; }
#bodyFooter .logos { display: flex; justify-content: space-between; align-items: center; padding: 0 0 40px 0; border-bottom: 1px solid #333; margin-bottom: 40px; }
#bodyFooter .logos a:hover { opacity: 0.7; }
#bodyFooter .logos .l img { height: 40px; }
#bodyFooter .logos .r img { height: 24px; }
#bodyFooter .cols { display: flex; padding: 0 0 40px 0; border-bottom: 1px solid #333; margin-bottom: 40px; }
#bodyFooter .col { width: 1px; flex-grow: 1; margin-right: 30px; }
#bodyFooter .col:last-child { margin-right: 0; }
#bodyFooter h2 { color: inherit; font-size: 18px; margin: 30px 0 10px 0; padding: 0; font-weight: bold; }
#bodyFooter h2:first-child { margin-top: 0; }
#bodyFooter ul { margin: 0; padding: 0; list-style: none; }
#bodyFooter ul a { display: inline-block; padding: 5px 0; }
#bodyFooter .copy { display: flex; justify-content: space-between; align-items: center; }
#bodyFooter .sep { display: inline-block; vertical-align: middle; margin: 0 10px; width: 1px; height: 13px; background:#707070; }

.slides {margin-bottom:20px; height:300px; position:relative;}
.slides .slides_container {overflow:hidden; position:relative; z-index:1; display:none; background:white; width:454px; height:300px;}
.slides .slides_container a {width:454px; height:300px; display:block;}
.slides .slides_container a img {display:block;}
.slides .pagination {margin:0px; height:300px; background:#FFF; z-index:2; position:absolute; right:0px; top:0px; width:50%; padding:0px;}
.slides .pagination li {list-style:none; padding:0px; margin: 0px 0px 9px 0px;}
.slides .pagination li a {font-size:18px; display:block; height:44px; padding:25px; color:grey; text-decoration:none; background: #F2F2F2; position:relative;}
.slides .pagination li.current a {background:#E0E0E0; color:#5948ad;}
.slides .pagination li.current a .arrow { position:absolute; top:0; left:-18px; width:18px; height:100%; background:url('../images/slides_arrow.gif') center no-repeat #5948ad; display:block; }
.slides .pagination li.current a .aoverlay { position:absolute; top:0; left:0; width:100%; height:100%; background:transparent; display:block; }

.bleskovky { margin: 40px 0px;}
.bleskovka { background: #5948ad; color:#fff; margin: 2px 0; border-radius: 3px; padding: 20px; box-sizing: border-box; position: relative; }
.bleskovka p { margin: 0; }
.bleskovka .tools { position: absolute; top:15px; right: 20px; }
@media only screen and (max-width: 500px) {
	.bleskovka { margin-right: 0; margin-left: 0; }
}


.news_list article { position: relative; }
.news_list .nadpis {font-size:24px; margin-top: 0; line-height:26px; }
.news_list .telo_clanku { display: flex; align-items: flex-start; padding-top: 8px; position: relative; margin: 40px 0;}
.news_list .clanek_image { position: relative; width: 200px; margin-right: 20px; }
.news_list .clanek_image::before { display: block; content: ''; width: 100%; padding-top: 75%; }
.news_list .clanek_image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;}
.news_list .clanek_image .tag { position: absolute; top: 5px; left: 5px; padding: 5px 10px; background: #fff; border-radius: 3px; font-size: 10px; color: #000; }
.news_list .clanek_image.portrait::before { display: none; }
.news_list .clanek_image.portrait img { position: static;height: auto; }
.news_list .clanek_obsah { width:1px; flex-grow: 1; }
.news_list .clanek_text {margin: 0 0 20px 0; text-align: justify;}
.news_list .clanek_lista { font-size: 12px; }
.news_list .tools { position:absolute; top:0; right:0; }
.news_list .tools button { width: 40px; height: 40px; padding: 0; }
.news_loadMore { text-align: center; }
.news_loadMore button,
.news_loadMore .button { display: inline-block; background: #5948ad; color: #fff; padding: 20px 40px; }
.news_medailonky .clanek_image { border-radius: 50%; overflow: hidden; width:  150px; }
.news_medailonky .clanek_image::before { padding-top: 100%; }
@media only screen and (min-width: 800px) {
	.news_list .vykopavak .nadpis { font-size: 32px; line-height: 36px; }
	.news_list .vykopavak .clanek_image { width: 50%; }
}


.news_item > header { margin-bottom: 10px; }
.news_item .perex { padding: 20px 0; font-size: 20px; line-height: 32px; }
.news_item .news_item_mainimg { position:relative; }
.news_item .news_item_mainimg::before { display: block; content: ''; width: 100%; padding-top: 75%; }
.news_item .news_item_mainimg img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.news_item .news_item_mainimg .popisek {position: absolute; bottom: 5px; right: 5px; max-width: calc( 100% - 10px ); box-sizing: border-box; background: #ffffffcc; text-align: right; font-style: italic; padding:10px; }
.news_item .news_item_mainimg .tools { position:absolute; top:10px; right:10px; }
.news_item .news_item_mainimg .tools button { padding: 0; width: 40px; height: 40px; }
.news_item .news_item_mainimg.portrait::before { display: none; }
.news_item .news_item_mainimg.portrait img { position: static;height: auto; }
.news_item .news_item_mainimg.medailonek img { border-radius: 50%; }
.news_item .news_item_mainimg.medailonek::before { padding-top: 100%; }
.news_item .news_item_mainimg.medailonek .popisek { display: none; }
.news_item > footer { display: flex; justify-content: space-between; align-items: center; margin: 15px 0px; padding:15px 0px; border-top:1px dotted #ccc; }
.news_item > footer .share { display: flex; align-items: center; }
.news_item > footer .share a { display: flex; width: 40px; height: 40px; justify-content: center; align-items: center; margin-left: 10px; }
.news_item > footer .share img { height: 24px; width: 24px; }
.news_item a { color: #5948ad; }
.p_highlight { background: transparent; padding: 20px 0; border: 4px solid #5948ad; border-left: none; border-right: none; color: #5948ad; font-weight: bold; font-size: 20px; line-height: 32px; margin: 40px 0; }
.p_highlight a { color: inherit; text-decoration: underline; }
.p_highlight2 { background: #5948ad; color:#fff; border-radius: 3px; padding: 20px; margin: 40px 0; }
.p_highlight2 a { color: inherit; text-decoration: underline; }
@media only screen and (min-width: 500px) {
	.news_item .news_item_mainimg.floatRight { float:right; width:200px; margin:0px 0px 5px 20px; }
	.news_item .news_item_mainimg.portrait { float:right; width:200px; margin:0px 0px 5px 20px; }
}


/*
--wp--preset--color--tul: #5948ad;
--wp--preset--color--fs: #54595f;
--wp--preset--color--ft: #924c14;
--wp--preset--color--fp: #0076D5;
--wp--preset--color--ef: #4a7c0e;
--wp--preset--color--fua: #006443;
--wp--preset--color--fm: #CC4400;
--wp--preset--color--fzs: #007780;
--wp--preset--color--cxi: #C20019;
*/

.akce .akce_datum { border-top:4px solid #5948ad; width:89px; padding:10px 0; text-align:center; font-size:13px; margin-right: 20px; }
.akce .akce_datum .d { color:#5948ad; font-size:32px; }
/* FS */
.akce .department_0 .akce_datum { border-color:#54595f; }
.akce .department_0 .akce_datum .d { color:#54595f; }
/* FT */
.akce .department_1 .akce_datum { border-color:#924c14; }
.akce .department_1 .akce_datum .d { color:#924c14; }
/* FP */
.akce .department_2 .akce_datum { border-color:#0076D5; }
.akce .department_2 .akce_datum .d { color:#0076D5; }
/* EF */
.akce .department_3 .akce_datum { border-color:#4a7c0e; }
.akce .department_3 .akce_datum .d { color:#4a7c0e; }
/* FA */
.akce .department_4 .akce_datum { border-color:#006443; }
.akce .department_4 .akce_datum .d { color:#006443; }
/* FM */
.akce .department_5 .akce_datum { border-color:#CC4400; }
.akce .department_5 .akce_datum .d { color:#CC4400; }
/* UZS */
.akce .department_6 .akce_datum { border-color:#007780; }
.akce .department_6 .akce_datum .d { color:#007780; }
/* CDV */
/*.akce .department_7 .akce_datum { border-color:rgb(0, 106, 179); }
.akce .department_7 .akce_datum .d { color:rgb(0, 106, 179); }*/
/* CXI */
.akce .department_8 .akce_datum { border-color:#C20019; }
.akce .department_8 .akce_datum .d { color:#C20019; }
/* TUL */
.akce .department_9 .akce_datum { border-color:#5948ad; }
.akce .department_9 .akce_datum .d { color:#5948ad; }

.ctenari p { text-align:left; }

blockquote {display:block; position:relative; font-style:italic; padding:30px 70px; margin:15px 10px; background-image: url("../images/uvozovky.gif") , url("../images/uvozovky.gif") ; background-repeat: no-repeat; background-position: right bottom, left top;}
blockquote .tail { display:block; background:url("../images/uvozovky.gif") no-repeat; width:45px; height:36px; position:absolute; bottom:0; right:0; }

.dotted_box {margin:20px 0px; padding: 15px 0px; border-top: 1px dotted #CCC; border-bottom:1px dotted #CCC; position: relative;}
.dotted_nadpis {display: block; height: 20px; line-height: 20px; padding: 0px 10px; background: white; position: absolute; top:-12px; left:10px; font-weight: bold;}
.dotted_box.more p {padding: 2px 0px;}
.dotted_box.more a {padding-left: 14px; border-left: 3px solid #5948ad; font-weight: bold; color:#5948ad; }
.dotted_box.viztake a {padding-left: 14px; border-left: 3px solid #5948ad; font-weight: bold; color: #5948ad; display:block;}
.dotted_box.viztake p { padding: 2px 0px; margin:0; }

.tunigallery { margin: 20px 0; }
/* fallback kvuli IE */
.tunigallery { display: flex; flex-wrap: wrap; }
.tunigallery > * { margin: 0 10px 10px 0; width: 200px; }
@supports (display: grid) {
	/* prebiti gridem */
	.tunigallery { display: grid; grid-gap: 10px; grid-template-columns: repeat( 4 , 1fr); }
	.tunigallery > * { margin: 0; width: auto; }
}
.tunigallery .item,
.tunigallery .IS_placeholder { position:relative; }
.tunigallery .item > a { display:block; padding-top: 75%; }
.tunigallery .item > a > img { position:absolute; top:0; left:0; width:100%; height:100%; object-fit: cover; }
.tunigallery .item .label { display:none; }
.tunigallery .item .icon { display:block; position:absolute; left:50%; top:50%; width:64px; height:64px; margin:-32px 0 0 -32px; background: rgba(0,0,0,0.25); color:#fff; text-align: center; line-height: 64px; border-radius: 50%; font-size: 32px; }
.tunigallery .item .tools { position:absolute; top:5px; right:5px; z-index: 10; }
.tunigallery .item .tools button,
.tunigallery .item .tools span { display:block; width:30px; height:30px; line-height:30px; padding:0px; margin:0 0 2px 0; background:#1d3557; color:#fff; text-align: center; }
.tunigallery .item .gallery_file { background: #eee; }
.tunigallery .item .moreBtn a { color: inherit; text-decoration: none; }
.tunigallery .item .moreBtnTitle { display:flex; align-items: flex-end; position:absolute; left:0; top:0; width:100%; height:100%; background: #5948ad; color: #fff; box-sizing: border-box; padding: 20px; }
.tunigallery .item .moreBtnTitle i { display: block; font-size: 32px; margin-bottom: 10px; }
.tunigallery .item.addBtn { border: 1px dashed rgba(29,53,87,0.3); box-sizing: border-box; background: rgba(255,255,255,0.1); }
.tunigallery .item.hidden { display: none; }
@media only screen and (max-width: 600px) {
	.tunigallery { grid-template-columns: repeat( 2, 1fr); }
}


.gallery.classicGallery .item,
.gallery.classicGallery .IS_placeholder { width:165px; height:110px; }
.gallery.classicGallery .item .img { height:110px; }
.gallery.classicGallery .item .img span { display:none; }
.gallery.classicGallery .item p { display:none; }
.gallery.fileGallery .item,
.gallery.fileGallery .IS_placeholder { width:165px; height:150px; }
.gallery.fileGallery .item .img { height:110px; }
.gallery.fileGallery .item .img span { display:none; }
.gallery .item .img { position:relative; }
.gallery .item .img .icon.pdf { display:block; position:absolute; right:5px; bottom:5px; width:32px; height:32px; background:url('/sites/default/images/ico/pdf.png') no-repeat; }

.calendar .cal_head { padding:7px 5px; font-size:13px; color:#605e5e; }
.calendar .cal_head .nav { float:right; }
.calendar .cal_head .nav a { background:#e5e5e5; padding:2px; border-radius:2px; color:#666; text-decoration:none; }
.calendar .cal_head .nav a:hover { background:#ddd; }
.calendar table { width:100%; border-collapse:collapse; border-bottom:1px dotted #d3d3d3; border-top:1px dotted #d3d3d3; margin-bottom:10px; }
.calendar th { text-align:center; color:#5948ad; padding:6px 0; }
.calendar td { text-align:center; border:none; padding:0; }
.calendar td a,
.calendar td span { display:block; padding:6px 0; }
.calendar td a { color:#5948ad; text-decoration:none; font-weight:bold; }
.calendar td.today,
.calendar td a:hover { background:#5948ad; color:#fff; }
.calendar td.today a { color:#fff; }
.pw { min-width:200px; text-align:center; padding:60px 0 10px 0; background:url('/sites/default/images/pw/wait.gif') center 10px no-repeat; }
.calendar .cal_foot .row { display:block; margin-bottom:5px; }
.calendar .cal_foot .date { float:left; margin-right:3px; background:url('../images/calendar_date.gif') right center no-repeat #e5e5e5; padding:1px 8px 1px 5px; }
.calendar .cal_foot a { color:#7d7d7d; }

.videa .videa_item { float:left; width:219px; margin:0 28px 20px 0; }
.videa .videa_item.last { margin-right:0; }
.videa .videa_item h2 { font-size:15px; line-height:15px; height:30px; overflow:hidden; margin:0px; display:table-cell;vertical-align:bottom; }
.videa .videa_item h2 a { color:#000; }
.videa .videa_item h2 a:hover { color:#5948ad; }
.videa .videa_item img { width:100%; }
.videa .videa_created { color:#909090; font-size:10px; padding:7px 0; }
.video iframe { margin-bottom:17px; }
.video .video_back { color: white; padding:2px 10px; font-size:12px; text-decoration:none; background:url("../images/video_back.png") left center no-repeat #b3b2b2; padding-left: 20px;}
.video .video_back:hover {background-color:#000 !important;}

.CE_search_item { padding:10px 10px; }
.CE_date { color:#5948ad; float:left; margin-right:10px; }

.gallery3 .item .label { display: none; }


body > .cookies { background: #5948ad; color:#fff; padding: 28px 0; margin: 0 0 20px 0; }
body > .cookies .width { display: flex; align-items: center; flex-direction: column; padding:0 20px; }
body > .cookies >.width > img { display: none; }
body > .cookies .b { font-weight: bold; }
body > .cookies .txt { text-align: center; }
body > .cookies .btns { font-weight: bold; display: flex; align-items: center; margin: 22px 0 0 0; }
body > .cookies .btns a { color: inherit; display: flex; align-items: center; text-decoration: underline; }
body > .cookies .btns a:hover { text-decoration: none; }
body > .cookies .sep { margin: 0 13px; width: 1px; height: 17px; background: #fff; }
body > .cookies .btns a img { margin-left: 6px; }
@media only screen and (min-width: 800px) {
	body > .cookies .width { flex-direction: row; }
	body > .cookies .txt { width: 1px; flex-grow: 1; text-align: left; }
	body > .cookies .btns { margin: 0 0 0 100px; }
	body > .cookies >.width > img { display: block; margin-right: 22px; }
}


#rfmenu { position: fixed; z-index: 99; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; background: #fff; }
#rfmenu_close { position: fixed; z-index: 99; right: 0; top: 0; width: 52px; height: 52px; background: transparent; color:#000; font-size: 24px; }
#rfmenu_close::after { content: '×'; display: inline; }
#rfmenu_close:focus { background-color: #eee; }
.rfmenu_list { display: flex; flex-direction: column; width: 100%; height: 100%; position: absolute; top:0; left: 100%; background: #fff; transition: all 300ms; }
.rfmenu_list.inview { left: 0%; }
.rfmenu_header { width: 100%; padding: 0 60px 0 20px; border-bottom: 1px solid #ddd; box-sizing: border-box; line-height: 52px; font-size: 18px; }
.rfmenu_header button { background: transparent; border: none; color: inherit; font-style: inherit; font-size: inherit; padding:0; height: 52px; }
.rfmenu_header button::before { content: ''; display: inline-block; vertical-align: middle; width: 8px; height: 8px; border-top: 2px solid #000; border-left: 2px solid #000; transform: rotate(-45deg); margin-left: 4px; margin-right: 10px; }
.rfmenu_header button:focus { background-color: #eee; }
.rfmenu_body { height: 1px; flex-grow: 1; overflow-y: auto; padding-top: 8px; }
.rfmenu_body ul { list-style: none; padding:0; margin: 0; }
.rfmenu_body ul ul { display: none; }
.rfmenu_footer { padding: 20px 22px; background: #f6f6f6; display: flex; flex-wrap: wrap; justify-content: center; }
.rfmenu_footer h2 { border-right: 2px solid #eee; padding-right: 20px; margin: 0 20px 0 0; }
.rfmenu_footer ul { list-style: none; padding: 0; margin: 0; }
.rfmenu_footer ul a { display: inline-block; padding: 10px 0; }
.rfmenu_row { display: flex; }
.rfmenu_row > a { width: 1px; flex-grow: 1; min-height: 48px; display: flex; align-items: center; padding:5px 22px; box-sizing: border-box; text-decoration: none; font-size: 18px; font-weight: bold;}
.rfmenu_row > button { padding: 0; width:48px; height: 48px; background:transparent; color: #000; font-size: 24px;}
.rfmenu_row > button::after { content: '+'; display: inline; }
.rfmenu_row > button:focus { background:#eee; }
body.rfmenuVisible { overflow:hidden; }


#srchPopup { display: none; position: fixed; z-index: 99; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; }
#srchPopup_wnd { position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: #5948ad; transition: all 500ms; display: flex; justify-content: center; align-items: center; }
#srchPopup_wnd > button { position: absolute; top: 36px; right: 0; height: 80px; padding:0 24px 0 36px; background: #fff; color: #000;  font-family: 'Poppins', sans-serif; font-weight: bold; font-size: 20px; border-radius: 40px 0 0 40px; }
#srchPopup_wnd > button::after { display: inline-block; content: '+'; transform: rotate(45deg); font-size: 56px; margin-left: 5px; font-weight: normal; vertical-align: middle; }
#srchPopup.visible { display: block; }
#srchPopup_wnd.visible { top: 0; }
#srchPopup .srchWrap { width: 1310px; max-width: 95%; }
#srchPopup .srchInput { display: flex; width: 100%; align-items: stretch; border-radius: 5px; box-shadow: 0 4px 3px rgba(0,0,0,0.1); margin-bottom: 20px; }
#srchPopup .srchInput input { width: 1px; flex-grow: 1; height: 60px; line-height: 60px; padding: 0 24px; border: none; background: #fff; border-radius: 5px 0 0 5px; font-size: 18px; }
#srchPopup .srchInput button { background: #000; color: #fff; border-radius: 0 5px 5px 0; height: 60px; padding:0 40px; font-family: 'Poppins', sans-serif; font-weight: bold; font-size: 18px; }
#srchPopup .srchInput input::placeholder { color: #e0e0e0; }
body.srchPopupVisible { overflow:hidden; }
@media only screen and (max-width: 800px) {
	#srchPopup_wnd { padding-top: 30px; }
	#srchPopup_wnd > button {  top: 5px; height: 46px; border-radius: 23px 0 0 23px; }
	#srchPopup_wnd > button::after { font-size: 34px; }
	#srchPopup .srchInput { margin-bottom: 10px; }
	#srchPopup .srchInput button { background: url('../images/search_w.svg') center no-repeat #000; background-size: 22px; padding: 0; width: 60px; }
	#srchPopup .srchInput button span { display: none; }
	#srchPopup .srchOpt label { margin: 5px 10px; }
}


.searchForm { display: flex; width: 100%; max-width: 500px; align-items: stretch; border-radius: 5px; margin: 20px auto; }
.searchForm input { width: 1px; flex-grow: 1; height: 46px; line-height: 46px; padding: 0 24px; border: none; background: #f6f6f6; border-radius: 5px 0 0 5px; font-size: 18px; }
.searchForm button { background: #000; color: #fff; border-radius: 0 5px 5px 0; height: 46px; padding:0 40px; font-weight: bold; font-size: 18px; }



/* fallback kvuli IE */
.publikace { display: flex; flex-wrap: wrap; }
.publikace > * { margin: 0 10px 10px 0; width: 200px; }
@supports (display: grid) {
	/* prebiti gridem */
	.publikace { display: grid; grid-gap: 10px; grid-template-columns: repeat( auto-fill, minmax(200px, 1fr) ); }
	.publikace > * { margin: 0; width: auto; }
}
.publikace > * { position: relative; }
.publikace .aspect { display: block; width: 100%; padding-top: 119%; position: relative; }
.publikace .aspect > img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.publikace .label { display: block; text-align: center; margin-top: 10px; color:#000; text-decoration: none; }
.publikace .tools { position: absolute; top: 10px; right: 10px; }




@media only screen and (max-width: 1000px) {

	body { margin: 0; }
	body > .cookies { margin: 0; }

	#desktopMenu { display: none; }
	#bodyHeader #mobileMenu { display: inline-block; width: auto; padding: 0 20px; }
	#mobileMenu::before { display: inline-block; vertical-align: middle; content: ''; width:16px; height: 2px; background: #fff; margin-right: 11px; box-shadow: 0 6px #fff, 0 -6px #fff; position: relative; top:-1px; }

	#bodyHeader .btns a.soc { display: none; }

	#bodyFooter .copy { flex-direction: column; }
	#bodyFooter .copy .l { margin-bottom: 20px; text-align: center; line-height: 32px; }

	
	.bleskovky .blesk_datum { width:18%; }
	.bleskovky .blesk_text { width:78% }
	
	.galleryList .gallery.classicGallery .item { max-width:23%; margin-right:0.9%; }
	
	#news_siblings_wrapper { width:90%; margin-left:5%; }
	#news_siblings_wrapper_item { width:100%; }
	.news_item .sibling { width:23%; margin-right:1%; text-align:center; }
	.news_item .sibling img { max-width:100%; height:auto; }
	
	.news_list .top_clanek .top_img { width:48%; }
	.news_list .top_clanek .top_img img { max-width:100%; }
	.news_list .top_clanek .top_text { width:48%; }
	.news_list .top_clanek .clanek_lista { width:100%; }

	.gallery.classicGallery { text-align:center; }
	.gallery.classicGallery .item,
	.gallery.classicGallery .IS_placeholder { display:inline-block; float:none; }
	
	.calendar td a, .calendar td span { padding:12px 0; }
	
	.akce .akce_datum { width:18%; }
	.akce .akce_obsah { width:80%; }
}
@media only screen and (max-width: 700px) {

	#bodyHeader .header_main { flex-direction: column; align-items: center; }
	#bodyHeader .logo { text-align: center; }
	#bodyHeader .r { margin: 20px 0 0 0; text-align: center; }
	#bodyHeader .r .datum { display: none; }
	#bodyHeader .btns { justify-content: center; }


	#bodyFooter .cols { flex-wrap: wrap; }
	#bodyFooter .col { width: 45%; flex-grow: 0; margin:20px 5% 20px 0; }

	.news_list .clanek_image { width: 100px; }

	.slides { display:none; }


	.news_list .top_clanek .top_img { width:100%; text-align:center; margin-bottom:10px; }
	.news_list .top_clanek .top_text { width:100%; height:auto; padding-bottom:35px; }
	
	.akce .akce_datum { width:30%; }
	.akce .akce_obsah { width:68%; }

}

@media only screen and (max-width: 500px) {

	#bodyMain { padding: 20px; }

	#bodyHeader .logo img { height: 50px; }

	#bodyFooter .logos { flex-direction: column; }
	#bodyFooter .logos > * { margin: 20px 0; }
	#bodyFooter .col { width: 100%; margin:20px 0; }

	.news_list .telo_clanku { flex-direction: column; border-bottom: 4px solid #ccc; padding-bottom: 40px; }
	.news_list .clanek_image { width: 100%; margin: 0 0 20px 0; }
	.news_list .clanek_obsah { width: 100%; }


	.news_item > footer { flex-direction: column; }
	.news_item > footer > * { margin-bottom: 20px; }
}