.layout_article div.article {
overflow:hidden;
}

.blind, #browser label {
	display: none;
}

#browser li, #browser ul, #suggestions, #browser {
	display: inline-block;
	white-space: nowrap;
	margin: 0;
	padding: 0;
}

#browser input {padding: 3px;
font-size: 10.5pt;
width:10em;}

#browser {
	display: block;
	overflow: hidden;
	margin-top: -3em!important;
	background: #efefee;
	height: 2em;
	line-height: 2;
	margin: 0 -40px;
}

#suggestions li, #tokens li {
	margin: 0 .4em;
}

#suggestions a, #tokens a {
	color: #555;
	font-size: 80%;
	cursor: pointer;
}

#suggestions a:hover, #tokens a {
	background: none;
	text-decoration: underline!important;
}

#tokens a:before {
	display: inline-block;
	content: "×";
	text-decoration: none!important;
	color: red;
	margin-right: .4em;
}

.widget_search-list .article, .widget_seznam-akci .article, .widget_seznam-blogu .article {
overflow: hidden;
margin-bottom: 2em;
}

.articles h2 {margin: 0}

.articles p {font-size: 88%}

.flash_messages .flash {
  position: fixed;
  z-index: 1005;
  background: #333;
  background: rgba(33,33,33,.9);
  width: 50%;
  color: #fff;
  text-align: center;
  padding: 1em 0;
  left: 25%;
  top: 35%;
}

.flash_messages .error {
  color: rgb(255, 73, 63);
}

.flash_messages a.close {
  float: right;
  margin-right: 1em;
  margin-left: -1em;
  font-size: 144%;
  line-height: 1.2;
}

.article_akce .article_assets .jpg {
display:none
}

.tag_external_event .not-for-external_event {display:none;}

.widget_search-list ul, .widget_nadchazejici-akce ul, .widget_seznam-akci ul, .widget_seznam-blogu ul, .widget_lektori ul {
	list-style: none;
	padding-left: 0;
	margin-right: 1.5em;
}

#lang-chooser {
float: right;
margin-top: -2.5em;
color: #aaa;
}

.widget_nadchazejici-akce ul, .widget_kalendar-akci ul, .widget_kalendar-akci-next ul, .widget_kalendar-akci-next-next ul {
	display: table;
width: 100%;
font-size: 90%;
}

.widget_nadchazejici-akce li, .widget_kalendar-akci li, .widget_kalendar-akci-next li, .widget_kalendar-akci-next-next li {
	display: table-row;
}

.widget_nadchazejici-akce span, .widget_kalendar-akci span, .widget_kalendar-akci-next span, .widget_kalendar-akci-next-next span {
	display: table-cell;
	padding-right: 1em;
border-bottom: 1px solid #e3e3e3;
}

span:last-child {
	padding-right: 0;
}

#link-back {
	margin-top: -3em;
	display: block;
	font-size: 90%;
}

.hidden {
	display: none;
}

.article.tag_full_event.widget_prihlaska {
	display: none;
}

.tag_full_event .full_event_notice {
	display: block;
}

.widget_nadchazejici-akce .tag_full_event a, .widget_kalendar-akci .tag_full_event a:last-child, .widget_kalendar-akci-next .tag_full_event a:last-child, .widget_kalendar-akci-next-next .tag_full_event a:last-child {
	color: #ccc;
}

.widget_nadchazejici-akce .tag_full_event a:after, .widget_kalendar-akci .tag_full_event a:last-child:after, .widget_kalendar-akci-next .tag_full_event a:last-child:after, .widget_kalendar-akci-next-next .tag_full_event a:last-child:after {
	content: " [zaplněno]";
}

.article form label {
display:block;
}

.article form input, .article form textarea {
font: inherit;
width: 18em;
}

.article form input[type=checkbox] {
width: initial;
}

.article form input[type=submit] {
width: initial;
}

.widget_souvisejici {
max-height: 10em;
overflow: hidden;
}

#fb-like {
margin: .4em 0 .6em 1.5em;
}

.article p, .article hr, .article .p {
	margin-left: 2.1em;
}

.articles .article p, .articles .article hr {
	margin-left: 0;
}

.widget_seznam-akci, .widget_seznam-blogu, .widget_lektori {
	list-style: none;
}
.articles img {
	float: left;
	margin-right: 1.5em;
}

.articles p {
	float: left;
}

.articles li {
	clear: left;
}

.file_name {background-repeat:no-repeat;padding-left: 24px}

#admin {
margin 0 -4em!important;
}

.main-menu a + a {
	margin-left: 1em;
}

#header {font-weight:400}
#header .main-menu {
	float: right;
	margin: 0 1em;
}

.contact {
	/*background: rgba(80,72,56,0.23);*/
	margin: -14px 0;
	padding: 8px;
	font-weight: 400!important;
	line-height: 1.4!important;
	display: inline-block;
	/*padding-bottom: 18.5em;*/
}

#logo {
	margin-top: -30px;
	margin-left: 12px;
}

#logo {
	float: left;
	margin-right: .5em;
}

body {
	max-width: 1200px;
	margin: 0 auto;
	line-height: 1.8;
	font-size: 14pt;
	color: #333;
	background: #f9f9f9;
	font-family: 'Fira Sans', sans-serif;
	font-weight: 300;
	padding: 0 40px;
}

#header {
	margin: 0 -40px;
	position: relative;
	height: 450px;
	padding: 20px 0em;
	color: #f9f9f9;
	-webkit-transition: height .5s ease-in-out;
	-moz-transition: height .5s ease-in-out;
	-ms-transition: height .5s ease-in-out;
	transition: height .5s ease-in-out;
	text-shadow: 0 0 5px rgba(30,30,30,.5);
	margin-bottom: 3em;
}

#slider {
	background: #aaa;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
        left:0;
	z-index: -1;
	overflow: hidden;
}

#slider img {
	object-fit: cover;
        width: 100%;
        height: 490px;
}

h1, h2, h3, #header .contact {
	line-height: 1.5;
	font-weight: bold;
}

h1 {
	font-size: 200%;
}

h2 {
	color: #efa107;
	font-size: 140%;
	margin: 1.5em 0 .75em 0;
}

h2 span {
	font-weight: 300;
}

h3 {
	font-size: 100%;
}

a {
	text-decoration: none;
	color: #ab342d;
}

a:visited {
color: #a15b58;
}

a:hover {
	text-decoration: underline;
}

p, hr {
max-width: 40rem;
}

p, hr {
	margin: 0 0 1.5em 0;
	text-align: justify;
}



#header h1 {
	position: absolute;
	bottom: .5em;
	margin: 0;
	left: 1.0em;
	right: 1.0em;
	color: inherit;
}

.header a {
	color: inherit;
}

a.latent {
  text-decoration: none;
}

.lead {
	text-align: center;
	margin: 3em auto!important;
}

#gmap {
	margin-top: 1.5em;
	float: right;
        margin-left: 1.5em;
}

#gmap img {
	display: block;
}

.article_assets {
	list-style: none;
	padding: 0;
	margin: 1.5em 0;
	overflow: auto;
clear: both;
}

.article_assets li {
	float: left;
	margin-right: 1em;
	margin-bottom: 1em;
}

.article_assets li img, .articles img, #gmap img {
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	-ms-border-radius: 2px;
	border-radius: 2px;
	border: 4px double #f3a100;
}

#footer {
	clear: both;
	margin-top: 5em;
	color: #aaa;
	margin-bottom: 1.5em;
}

#footer p {
	text-align: center;
	max-width: initial;
	margin-bottom: 1em;
}

#footer p.last a, #footer small a {
	color: inherit;
white-space: nowrap;
}

#footer small {
display: block;
font-size: 10.5pt;
margin-bottom: 1em;
text-align: center;
}

@media screen and (max-width: 1281px) {

#header {
	margin-bottom: 3em;
}
	
}


@media screen and (max-width: 1025px) {

.articles img {
	float: none;
	margin-top: 2em;
	margin-bottom: -1em;
}

.articles h2 {margin-top: 1em}



body {
	font-size: 14pt;
}

#header {
	height: 340px;
}

#slider {
	top: 0;
}

#slider img {
margin: 0 auto;
text-align: center;
width: 100vw;
height: 380px;
object-fit: cover;
}

.article p, .article hr {
	margin-left: 0;
}

#header .main-menu .wide-only {
display: none;	
}

}


@media screen and (max-width: 500px) {


h1, h2, h3 {
	line-height: 1.25;
}

	
body {
	font-size: 12.5pt;
}

#header {
	height: 240px;
}

#slider {
	top: 0;
left: 0;
margin-left: 0;
}

#slider img {
height: 280px;
width: 100vw;
object-fit: cover;
}

#gmap {
	float: none!important;
}

#header .main-menu {
display: none;	
}
}

@media screen and (max-width: 380px) {
#logo {margin-left: -2px;margin-right: -2px}

h1 {font-size: 172%}

.widget_nadchazejici-akce span:nth-child(3),.widget_nadchazejici-akce span:nth-child(4) {display:none}

}

#admin {
	margin: 0 -40px;
}

input[type=checkbox] + label {
  display: inline;
  cursor: pointer;
}