/**************************/
/******** TLAČÍTKA ********/
/**************************/

.btn{
	padding: .6rem .75rem;
	cursor:pointer;
	border: none;
    font-size: inherit;
	text-decoration:none;
}

.btn.focus, .btn:focus{
	box-shadow:none !important;
}

.btn-primary{
	font-weight:bold;
	font-size:inherit;
}

/*************************/
/******** GALERIE ********/
/*************************/

/* Kategorie galerií */
#gallery-category .g-c-row {
	display: flex;
	padding: 0.8em;
	background-color: #EDEDED;
	border: 1px solid #CDCDCD;
}

/* Kategorie galerií po najetí */
#gallery-category .g-c-row:hover{
	background-color: #ddd;
}

/* Náhledový obrázek kategorie galerií */
#gallery-category .g-c-row .g-c-image {
	margin-right: 1em;
}

.g-c-image div{
	width: 120px;
	height: 90px;
	background-size: cover;
	background-position: center center;
}

/* Náhledové obrázek galerie */
.g-image{
	float:left;
	margin-right:0.5em;
}

.thumb-image{
	width:160px;
	height:120px;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

/* Tlačítko otevřít galerii */
.open-gallery{
	text-decoration: none;
	font-weight: bold;
	background: #d8d8d8;
	padding: 0.4em 0.6em;
	border-radius: 20px;
	color: #424242 !important;
	transition: all 300ms cubic-bezier(0, 0, 0.17, 0.8);
	border: 1px solid #a9a9a9;
	display:block;
}

/* Tlačítko otevřít galerii po najetí */
.open-gallery:hover{
    background: #bfbfbf;
}

/* Tlačítko stáhnout galerii */
.download-gallery{
	text-decoration: none;
	font-weight: bold;
	background: #d8d8d8;
	padding: 0.4em 0.6em;
	border-radius: 20px;
	color: #424242 !important;
	transition: all 300ms cubic-bezier(0, 0, 0.17, 0.8);
	border: 1px solid #a9a9a9;
	display:block;
}

/* Tlačítko stáhnout galerii po najetí */
.download-gallery:hover{
    background: #bfbfbf;
}

/* Samotný div s fotkou */
.photo {
  background: #ffffff;
  margin:0.2em;
}

.photo-inner{
	width: 175px;
	height: 175px;
	overflow: hidden;
	opacity: 1;
}

.photo-inner:hover{
	opacity:0.7;
}

/* Div s galerií v seznamu */
.gallery{
	width:100%;
	margin-bottom:1em;
}

.gallery-padding{
	padding: 1em;
	border-bottom: 3px solid #bfbfbf;
	background: #f9f9f9;
}

/* Div po najetí */
.gallery-padding:hover{
	background: #efefef;
}

/* Název galerie v seznamu */
.gallery h2 a {
    text-decoration: none;
    font-weight: bold;
    color: #4c4c4c;
}

/* Po najetí */
.gallery h2 a:hover {
   color: #4f527b;
   transition:all 300ms cubic-bezier(0, 0, 0.17, 0.8);
}

/************************/
/******** ČLÁNKY ********/
/************************/

/* Div s článkem v seznamu */
.blogDiv {
	width:100%;
	margin-bottom:1em;
}

.blogDiv-padding {
	padding: 1em;
	border-bottom: 3px solid #bfbfbf;
	background: #f9f9f9;
}

/* Div po najetí */
.blogDiv-padding:hover {
	background: #efefef;
}

.open-post{
	text-decoration: none;
	font-weight: bold;
	background: #d8d8d8;
	padding: 0.4em 0.6em;
	border-radius: 20px;
	color: #424242 !important;
	transition: all 300ms cubic-bezier(0, 0, 0.17, 0.8);
	border: 1px solid #a9a9a9;
	display:block;
}

.open-post:hover{
	background: #bfbfbf;
}

/* Úvodník */
.blog-perex{
	min-height:35px;
}

/* Náhledový obrázek */
.blogImg.left {
	margin-right:10px;
	border-radius: 6px;
	width: 160px;
    height: 128px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

/* Info o článku (autor atd.) */
.info {
	color:#000000;
	font-size:11px;
	text-align:left;
	margin-bottom:0.5em;
}

/* Název článku v seznamu */
.blogDiv h2 a {
    text-decoration: none;
    font-weight: bold;
    color: #4c4c4c;
}

/* Po najetí */
.blogDiv h2 a:hover {
   color: #4f527b;
   transition:all 300ms cubic-bezier(0, 0, 0.17, 0.8);
}


/**************************/
/******** KONTAKTY ********/
/**************************/

/* Fotka kontaktu */
.contact .photo-padding2 {
	height: 162px;
	overflow: hidden;
	width: 160px;
	margin-right: 10px;
	margin-bottom: 10px;
}

/* Seznam v kontaktu */
.contactText ul {
	list-style-type: disc;
}

/* Div v seznamu kontaktů */
#contactDiv .contact {
   border-bottom: 3px solid #bfbfbf;
   background: #f9f9f9;
   padding: 10px;
   width:100%;
   margin-bottom:0.5em;
}

.contact-photo{
	width: 100%;
    height: 250px;
    background-size: cover;
    background-repeat: no-repeat;
}


/***********************/
/******** OBSAH ********/
/***********************/

/* Tělo webu */
body{
  margin:0 auto;
  padding:0px;
}

/* Hlavní div obsahu */
#content-padding{
	display:flex;
}

/* Levá strana */
#left{
	order:1;
	margin-right:1em;
	overflow:hidden;
}

/* Pravá strana */
#right{
	order:3;
}

/* Prostřední část */
#container{
	order:2;
	margin-right:1em;
	flex:1;
	overflow:hidden;
	-webkit-border-radius: 10px 10px 10px 10px;
	border-radius: 5px 5px 5px 5px;
	padding-bottom:50px;
}

#container-padding {
	padding: 10px 10px 0 10px;
	margin-top:10px;
}

/* Další obsah */
#layout {
  margin:0 auto;
  padding:0px;
  text-align:left;
  width:100%;
}

#layout-padding {
  margin:0 auto;
  padding:0px;
  text-align:left;
}

/* Patička */
#footer {
	width:100%;
	height:250px;
	overflow:hidden;
	margin-top: 31px;
}

#footer-padding {
	width:1050px;
	line-height:40px;
	margin:0 auto;
	margin-top:30px;
	color:#ffffff;
}

#copyright {
	margin:auto;
    text-align:center;
    padding: 10px 0 25px 0;
    background-color: #333;
    color: #fff;
}

#copyright a, #footer a {
	text-decoration: underline;
	color: coral;
}

/* Odkazy */
a, a:visited{
	text-decoration:underline;
}

/* Odkaz po najetí */
a:hover, a:visited:hover{
	text-decoration:none;
}

/* Část s obsahem článků atd. */
#content {
  margin-left:auto;
  margin-right:auto;
  background:transparent;
  position: relative;
}

#content-padding {
  padding:15px;
  padding-left:5px;
  padding-right:5px;
  padding-top:20px;
  border-radius: 5px;
  display:flex;
}

/* Inputy */
#layout input, #layout option,#layout textarea {
  font-size:12px;
  border:1px solid #aaaaaa;
  padding:7px;
  color:#000000;
  font-weight:normal;
  margin:0px;
}

/*************************/
/******** NADPISY ********/
/*************************/

h1{
	margin-top:25px;
	text-align:left;
	font-size:20px;
	line-height:24px;
	margin-bottom:20px;
}

h2{
	padding:0px;
	margin:0px;
	text-align:left;
	font-size:16px;
	line-height:24px;
	margin-bottom:10px;
}

h3{
	padding:0px;
	margin:0px;
	text-align:left;
	font-size:14px;
	line-height:24px;
	margin-bottom:10px
}

h4{
	padding:0px;
	margin:0px;
	text-align:left;
	font-size:13px;
	line-height:24px;
	margin-bottom:10px;
}

h5{
	padding:0px;
	margin:0px;
	text-align:left;
	font-size:12px;
	line-height:24px;
	margin-bottom:10px;
}

h6{
	padding:0px;
	margin:0px;
	text-align:left;
	font-size:11px;
	line-height:24px;
	margin-bottom:10px;
}

/**************************/
/******** HLAVIČKA ********/
/**************************/

/* Hlavní div hlavičky */
#header {
	height:357px;
	padding:0px;
	text-align:left;
	margin-left: auto;
	margin-right:auto;
}

#header-padding {
  padding-top:30px;
}

/* Nadpis */
#title{
	width:100%;
	margin:0 auto;
	padding:0px;
	text-align:center;
}

#title-padding{
	padding:0px;
    text-align:left;
}

/* logo */
#logo {
	position:relative;
  	height:100%;
  	width:fit-content;
	margin-right: 1em;
	padding:0.5em;
}

#logo img{
	width:auto;
	height:100%;
}

/**********************/
/******** MENU ********/
/**********************/

#navigation {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  margin-top:0px;
  position: relative;
}

#navigation-padding {
  padding:5px;
  font-weight:bold;
  font-size:14px;
}

/* Domeček */
.homepage svg {
	height: 27px;
}

#navigation .sf-menu .homepage a {
    padding: 7px;
	display: block;
}

/* Vyjíždějící submenu */
#navigation ul li>ul.submenu {
	margin-left:0px;
	font-size:14px;
	font-weight:bold;
	border:0px;
	line-height:24px;
	z-index:2000;
}

/* Podstatný styl pro celé menu */
#navigation .sf-menu, #navigation .sf-menu * {
	margin:0;
	padding:0;
	list-style:none;
}

/* Položky menu */
#navigation .sf-menu li {
	position:relative;
}

/* Všechna ul v menu */
#navigation .sf-menu ul {
	position:absolute;
	display:none;
}

/* Tlačítka */
#navigation .sf-menu>li>a {
    padding: 1em 2em;
    text-decoration: none;
    text-align:left;
    color: #000000;
    font-size: 14px;
    font-weight: bold;
    margin-right: 0.1em;
    border-radius:0.1em;
    align-items:center;
    flex-direction:column;
	position:relative;
}

/* Jedno ze submenu */
#navigation .sf-menu ul ul {
	top:0;
	left:100%;
}

/* Tlačítka vyjíždějícího menu */
#navigation .sf-menu ul a {
	zoom:1;
	padding:0.5em;
	text-decoration:none;
	font-size:14px;
	font-weight:normal;
	text-align:left;
	display:flex;
	align-items:baseline;
}

/* Položky menu s šipečkou indikující podpoložky */
#navigation .sf-arrows .sf-with-ul {
	padding-right: 2.5em;
}

/* Šipečka */
#navigation .sf-arrows .sf-with-ul:after {
	content:'';
	position:absolute;
	top:50%;
	right:1em;
	margin-top:-3px;
	height:0;
	width:0;
	border: 5px solid transparent;
	border-top-color: #dFeEFF;
	border-top-color:rgba(255,255,255,.5);
}

/* Taky cosi s šipečkou */
#navigation .sf-arrows > li > .sf-with-ul:focus:after, .sf-arrows > li:hover > .sf-with-ul:after, .sf-arrows > .sfHover > .sf-with-ul:after {
	border-top-color: white;
}

/* Furt šipečka */
#navigation .sf-arrows ul .sf-with-ul:after {
	margin-top:-5px;
	margin-right:-3px;
}

/* Já nevím, seriózně nevím. Prostě něco v menu po nejetí */
#navigation .sf-menu li:hover>a, #navigation .sf-menu li.active>a {
    text-decoration: none;
}

/* To samé -*/
#navigation .sf-menu .submenu li:hover>a, #navigation .submenu li.active>a {
    -webkit-border-radius: 0px 0px 0px 0px;
    border-radius: 0px 0px 0px 0px;
    text-decoration: none;
}

/*************************/
/******** SUBMENU ********/
/*************************/

/* Hlavní element submenu */
#mod_submenu{
	list-style: none;
	margin: 0;
	padding: 0;
	display:block;
}

/* Vnější element položek submenu */
#mod_submenu li{
	display:block;
}

/* Položka submenu */
#mod_submenu li>a{
	display:block;
    padding:10px;
    text-decoration:none;
    border: 1px solid rgb(234, 234, 234);
}

/* Hlavní element druhé úrovně submenu */
#mod_submenu ul{
	display: block;
	margin: 0;
	padding: 0;
}

/* Položka druhé úrovně submenu */
#mod_submenu ul li>a{
	padding-left:2em;
}

/* Ikonka u položky druhé úrovně submenu */
#mod_submenu svg{
	width:10px;
	margin-right: 0.5em;
}

/* Položka submenu po najetí */
#mod_submenu li>a:hover, #mod_submenu li.active>a, #mod_submenu ul li>a:hover, #mod_submenu ul li.active>a {
  border-radius: 2px 2px 2px 2px;
}

/* Ikonka */
.submenu-arrow{

}

.menu-icon-hover img{
	visibility: hidden;
}

.menu-icon-hover{
	background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/**********************/
/******** BOXY ********/
/**********************/

/* Hlavní div boxů */
.box {
  margin-bottom:10px;
  width:240px;
}

/**********************/
/******** BOXY ********/
/**********************/

/* Hlavní div boxů */
.box {
  margin-bottom:10px;
  width:240px;
}

/* Nadpis boxu */
.boxHead {
	width:100%;
	border:0px;
	margin-bottom:0px;
	-webkit-border-radius: 10px 10px 10px 10px;
	border-radius: 5px 5px 0px 0px;
}

.boxHead-padding {
	padding:10px;
	font-weight:bold;
	font-size:14px;
	text-align:center;
	display:flex;
	align-items: center;
}

/* Vnitřek boxu */
.boxContent {
	-webkit-border-radius: 10px 10px 10px 10px;
	border-radius: 0px 0px 5px 5px;

}

.boxContent-padding {
	padding:10px;
}

/* Vnitřek boxu submenu */
.submenuBoxContent {
	width:100%;
	background:#fff;
	color:#000000;
	-webkit-border-radius: 10px 10px 10px 10px;
	border-radius: 0px 0px 5px 5px;
}

.box-icon{

}

.box-name{
	flex:1;
}

.box-icon-position{
	width: 30px;
}

.box-icon img{
	width:100%;
}

/************************************/
/******** VYJÍŽDĚJÍCÍ PANELY ********/
/************************************/

.side-box{
	position: fixed;
	top: 50%;
	width: 250px;
	min-height: 230px;
	max-height: calc(100% - 240px);
  	background: #fff;
  	color: #452301;
	z-index: 600;
  	border-top: solid 1px #000;
	border-bottom: solid 1px #000;
	transform: translateY(-50%);
}

.side-box-right{
	right: -250px;
	border-left: solid 1px #000;
}

.side-box-left{
	left: -250px;
	border-right: solid 1px #000;
}

.side-box .side-box-name{
	width: 228px;
	position: absolute;
	padding: 0.3em 0em;
	top: 50%;
	z-index: 500;
	overflow: hidden;
	transform-origin: left top 0;
	background: #000;
  	color: #fff;
  	text-align: center;
  	font-size: 25px;
	transform: rotate(270deg) translateX(-50%);
}

.side-box-right .side-box-name{
	left: -53px;
}

.side-box-left .side-box-name{
	left: 250px;
}

.side-box .side-box-text-inner{
	padding:0.2em;
}

.side-box .side-box-text{

}

/* Partneři zevnitř */
.custom-fixed-banner {
	position: fixed;
	right: -250px;
	top: 50%;
	width: 250px;
	margin-top: -135px;
	min-height: 230px;
  	background: #fff;
  	color: #452301;
	z-index: 600;
  	border-left: solid 1px #000;
  	border-top: solid 1px #000;
	border-bottom: solid 1px #000;
}

.custom-fixed-banner-padding {
	padding: 10px;
}

/* Partneři zvenku */
.custom-fixed-banner .show-me {
	width: 228px;
	position: absolute;
	left: -53px;
	padding: 0.3em 0em;
	top: 100%;
	z-index: 500;
	overflow: hidden;
	transform: rotate(270deg);
	transform-origin: left top 0;
	background: #000;
  	color: #fff;
  	text-align: center;
  	font-size: 25px;
}

/*****************************/
/******** HORNÍ PANEL ********/
/*****************************/

/* Drobečková navigace */
#breadcrumbs-padding {
	padding: 12px;
	background-color: #e4e4e4;
}

#breadcrumbs a {
    text-decoration: none;
	color: #b53d00;
}

/* Tlačítko zpět */
#previous a {
    text-decoration: none;
    font-weight: bold;
    background: #d8d8d8;
    padding: 5px 10px 5px 10px;
    border-radius: 20px;
    color: #424242;
    transition: all 300ms cubic-bezier(0, 0, 0.17, 0.8);
    border: 1px solid #a9a9a9;
}

/* Tlačítko zpět po najetí */
#previous a:hover {
    background: #bfbfbf;
}

/***************************/
/******** Formuláře ********/
/***************************/

#contactForm table{
	width:100%;
}

#contactForm td{
	vertical-align:middle;
	margin:3px;
	padding:7px;
	padding-left:10px;
	padding-right:10px;
	border:1px solid #aaaaaa;
	background:#e1e1e1;
	font-weight:bold;
}

#contactForm input, #contactForm option, #contactForm textarea {
	font-size:14px;
	border:1px solid #aaaaaa;
	padding:7px;
	color:#000000;
	font-weight:normal;
}

#contactForm textarea{
	width:300px;
	height:200px;
}

/*******************************/
/******** Nepřehlédněte ********/
/*******************************/

/* Div s celou aktualitou */
.itemNews {
	margin-bottom:1em;
	line-height:16px;
	border-bottom: solid 1px #e2e2e2;
}

/* Nadpis aktuality */
.itemNews .name {
	font-weight:bold;
}

/* Datum aktuality */
.itemNews .date {
	font-weight:bold;
	font-size:11px;
}

/* Box s aktualitami */
#newsBox {
	position:relative;
	overflow:hidden;
}

/************************/
/******** Ankety ********/
/************************/

/* Otázka v anketě */
.itemPoll .name {
	font-weight:bold;
	margin-bottom:10px
}

/* Pruh s procenty */
.pollResult {
	background:#d6d6d6;
}

.pollResult-padding{
	-webkit-border-radius: 10px 10px 10px 10px;
	border-radius: 3px 3px 3px 3px;
	padding:0.5em;
	font-weight:bold;
}

/* Text odpovědi */
.poll-item {
	margin-bottom:1em;
}

/* Celkem hlasovalo */
.pollCount {
	text-align:center;
	margin-top:5px;
}

/**************************/
/******** Kalendář ********/
/**************************/

/* Tlačítka po najetí */
#content #nextMonth:hover, #content #prevMonth:hover, #content #todayMonth:hover {
	background:#000;
	color:#fff;
}

/* Akce po najetí */
#content #mod_calendar .dayEvent:hover {
	background:#7f7f7f;
	color:#fff;
}

/*************************/
/******** Jídelna ********/
/*************************/

/* Celý div s dnem */
.itemFood {
	margin-top:1em;
	margin-bottom: 1em;
	padding-bottom: 1em;
	line-height: 1.5em;
	border-bottom: solid 1px #e2e2e2;
}

/* Datum */
.itemFood .date {
	font-weight:bold;
	font-size:11px;
	padding-bottom:3px;
}

/* Text */
.itemFood .text {
	line-height: 18px;
}

/* Název typu jídla */
.foodLabel{
  	font-weight: bold;
  	float:left;
}

/* Něco kvůli tomu scrollování */
#foodContent {
	overflow:hidden;
	max-height: 290px;
	height: auto;
}

/* Scrollovátko */
.slimScrollBar {
	cursor:pointer;
}

/* Vlastní text k jídelně */
.foodDescription {
	padding: 10px;
}

/* Tabulka s jídlem na celý týden */
.mainFoodTable{
  font-family: Tahoma, sans-serif;
}

/* Datum v tabulce s celým jídelníčkem */
.mainFoodTableDate{
	padding: 5px;
	border: 1px solid #bbbbbb;
    width: 338px;
}

/* "Obsahuje alergeny" */
.mainFoodTableAler{
	padding: 5px;
	border: 1px solid #bbbbbb;
}

/* Buňka s názvem jídla */
td.mainFoodTableTd{
	padding: 5px;
	border: 1px solid #bbbbbb;
	color: #616161;
}

/* Buňka s alergeny */
td.mainFoodTableTdRight{
	padding: 5px;
	border: 1px solid #bbbbbb;
	width: 140px;
	color: #616161;
}

/* Buňka s nezadaným jídlem */
td.mainFoodTableNo{
  	padding: 5px;
	border: 1px solid #bbbbbb;
  	color: #CE6262;
}

/* Řádek s nadpisy */
tr.mainFoodTableTr{
  	background-color: #dedede;
}

/* Název dne */
th.mainFoodTableTh{
  	border: 1px solid #bbbbbb;
  	padding: 5px;
  	color: #674b40;
  	background-color: #DEDEDE;
  	text-align: center;
  	width: 45px;
}

.mainFoodTableSpan{
  	color: #000000;
  	font-weight: bold;
}

/*******************************/
/******** Rozvrhy hodin ********/
/*******************************/

/* Název třídy */
.ttHeader{
  	margin-top: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Buňka s hodinou */
.ttPostTable th{
    padding: 5px;
    border: 1px solid #bbbbbb;
    background: #dedede;
    font-weight: bold;
    font-size: 13px;
    vertical-align: middle;
    width: 70px;
    text-align: center;
}

/* Buňka s předmětem */
.ttPostTable td{
    border: 1px solid #bbbbbb;
    color: #000;
    text-align: center;
    width: 70px;
    padding-top: 15px;
}

/* Ikonka s učitelem */
.ttTeach{
	font-size: 10px;
    width: 100%;
    text-align: left;
    margin-left: 2px;
    color: #616161;
    line-height: 11px;
    margin-right: 2px;
}

/*******************************/
/******** Výpis souborů ********/
/*******************************/

.file-size{
	font-size:11px;
}

img.linkIcon{
	width:20px;
	height:17px;
}

/*********************************************************************************************/
/*                                                                                           */
/*  PLATÍ PRO VŠECHNA ROZLIŠENÍ S MAXIMÁLNÍ ŠÍŘKOU 1100 (VŠECHNY MOBILY, VĚTŠINA TABLETŮ...) */
/*                                                                                           */
/*********************************************************************************************/

@media screen and (max-width: 1100px) {

	/**************************/
	/******** KALENDÁŘ ********/
	/**************************/

	/* Filtr */
	#eventsFiltr {
    	display: flex;
    	flex-direction: column;
    }

	/* Vybírátko třídy */
    #eventsFiltr .classes-select{
    	order:3;
    }

	/* Samotný select */
	#eventsFiltr #dropdownMenuButton{
		width:100%;
	}

	/* Šipka u selectu */
	#eventsFiltr .dropdown-toggle::after{
		float: right;
		margin-top: 0.6em;
		margin-left: 0 !important;
	}

	#eventsFiltr .dropdown-menu{
		width:100%;
	 }

	/* Oblast tlačítek filtru */
    #eventsFiltr div:nth-child(3){
    	margin-bottom:1em;
    	display:flex;
    }

	/* Samotná tlačítka filtru */
    #eventsFiltr div:nth-child(3) button{
    	flex:1;
    }

	/***********************/
	/******** OBSAH ********/
	/***********************/

	/* Celý layout */
	#layout{
		background: none;
	}

	/* Divy, které mají jedinou funkci, že nejsou na mobilu vidět*/
	#top-panel, #header, #menu, .sf-menu, #inputString, .custom-fixed-banner, .custom-fixed-banner-gplus, .custom-fixed-banner2, #admin{
		display:none;
	}

	/* Divy, které mají jedinou funkci, roztažení na 100% */
	#content, #layout-padding, #navigation-padding{
		width:100% !important;
	}

	/**************************/
	/******** HLAVIČKA ********/
	/**************************/

	/* Hlavička na mobilu */
	#header-mobile{
		display:flex;
		padding:0.5em;
		align-items:center;
		background:#808080;
	}

	/* Vyhledavač */
	#search{
		position:relative;
		float:none;
		order:3;
		text-align:right;
		margin-right: 0.6em;
	}

	/* Input vyhledavače */
	#inputString{
		width: 71%;
	}

	/* Název webu */
	#title{
		flex:1;
		order:2;
		margin-top:0px;
		margin-bottom:0px;
		margin-right:2em;
	}

	#title-padding{
		width:auto !important;
	}

	/* Logo */
	#logo{
		position:relative;
		order:1;
		height:3em;
		margin:0;
		margin-right:2em;
	}

	/* Obrázek loga */
	#logo img{
		max-height:3em;
		width:auto;
	}

	/**********************/
	/******** MENU ********/
	/**********************/

	/* Menu na mobilu */
	#navigation{
		width:100% !important;
		background-image:none;
	}

	/* Tlačítko pro otevření menu */
	#openMenu{
		display:block !important;
		order:4;
		border-left: 1px solid;
	}

	/* Ikonka otevření menu */
	#openMenu img{
		height:3em;
		margin-left:0.3em;
	}

	/* Menu */
	#menuMobile{

	}

	/* Další věc kvůli měnu na mobilu */
	#navigation{
		display:none;
		margin-top:0px !important;
	}

	/* A další */
	#navigation-padding{
		height:auto;
		padding-left:0px;
	}

	/* Různá odsazení kvůli menu */
	.menuMobileUl li div a{
		font-size:1.2em;
		text-decoration:none;
		line-height:1.3em;
		display:flex;
		align-items: center;
	}

	.menuMobileUl li>div{
		padding:0.6em;
	}

	.submenuMobileUl li{
		padding-left:1em;
	}

	.subsubmenuMobileUl li{
		padding-left:1.4em;
	}

	.menuMobileUl{
		list-style: none;
    	padding-left: 0px;
	}

	.menu-icon{
		margin-right:0.5em;
	}

	.submenuMobileUl, .subsubmenuMobileUl{
		list-style:none;
		padding:0;
	}

	/* Submenu */
	#mod_submenu li>a{
		width:auto;
		display:block;
		float:none;
	}

	.menu-icon-hover img{
		width:20px;
	}

	/* Formuáláře */
	#contactForm textarea, #form-recommend textarea{
		box-sizing: border-box;
		width: 100%;
	}

	/* Rozvrh hodin */
	.timetableFront, .regScheduler, #class-tt{
		    overflow: scroll;
	}

	/* Registrační kalendář */
	.regScheduler{
		    overflow: scroll;
	}

	/* Kotva */
	#kotva{
		top:inherit !important;
		left:inherit !important;
		bottom:0.1em !important;
		right:5% !important;
	}

	/* Copyright */
	#copyright{
	    font-size: 1rem;
	}

	.side-box{
		display:none;
	}

}

/*********************************************************************************************/
/*                                                                                           */
/*  PLATÍ PRO VŠECHNA ROZLIŠENÍ S MAXIMÁLNÍ ŠÍŘKOU 850 (VŠECHNY MOBILY, TABLETY...)          */
/*                                                                                           */
/*********************************************************************************************/

@media screen and (max-width: 850px) {

	/* Zobrazení divů jen pro toto rozlišení */
	.showOn4{
		display:block;
	}

	/* Věci, co se musí jen rozšířit na 100% width */
	.box, .itemNews{
		width:100%;
	}

	/* Boxové zobrazení tříd v modulu*/
	.layout-box{
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
	}

	/* Hlavní div obsahu */
	#container{
		order:1;
		margin-right:0px;
	    margin-bottom:1em;
	}

	/* Další div kvůli obsahu */
	#content-padding{
		flex-direction:column;
	}

	/* Moduly z levé části */
	#left{
		order:2;
		margin-left:0px;
		margin-bottom:1em;
		margin-right: 0px;
	}

	/* Univerzální styl */
	.btn-responsive-100{
		display:block;
	}

	/* Styly, co jen potřebují width auto */
	.pollResult, #content #mod_calendar-padding, #mod_calendar-left, #content #calendarMonth, #foodContent .itemFood{
		width:auto;
	}

	/* Anketta */
	.pollResult-padding{
		box-sizing: border-box;
	}

	/* Univerzální styl */
	.responsive-padding-0{
		padding-left:0;
		padding-right:0;
	}

	/* Kalendář */
	#content #mod_calendar{
		width:auto;
		margin-left:0px;
	}

	#content #calendarDays{
		width:auto;
		margin-left:auto;
		margin-right:auto;
	}

	/* Zoom */
	.zoom1{
		font-size:2em;
	}

	/* Seznam fotek */
	#photoDiv{
		display:flex;
		flex-flow:row wrap;
	}

	/* Div s konkrétní fotkou */
	.photo{
		width:auto;
		height:auto;
		float:none;
		margin:0px;
		flex-basis:calc(100% / 3) ;
		margin-bottom:0px;
		margin-top:0px;
	}

	/* Další div s fotkami */
	.photo .photo-padding2{
		height:25vw;
	}

	/* A další */
	.photo-padding3{
		padding:0.2em;
	}

	/* Divy kvůli kontaktům */
	.contact-padding .left{
		float:none;
	}

	#contactDiv .contact .photo-padding2{
		width:100%;
		height:60vw;
		max-height:250px;
	}

	#contactDiv .contact{
		max-width:250px;
		display:inline-block;
	}

	#contactDiv .contact-padding2{
		width:auto;
	}

	/* Obrázky v články */
	.postText img{
	    max-width: 100%;
	    height: auto;
	    box-sizing: border-box;
		margin:0px;
	}

	/* Ikonka odkazu */
	.linkIcon{
	    vertical-align: middle !important;
	}

	/* Tabulky v textu */
	.postText table{
		word-break: break-all;
	}

	/* Submenu */
	.submenu-box{
		display:none;
	}

	/* Něco kvůli třídám v modulu */
	#classes-list-widget.layout-box a.classes-list-main{
		margin-right: 1em !important;
	}

	#classes-list-widget.layout-box{
		text-align:center;
	}

}

/*********************************************************************************************/
/*                                                                                           */
/*  PLATÍ PRO VŠECHNA ROZLIŠENÍ S MAXIMÁLNÍ ŠÍŘKOU 607 (VŠECHNY MOBILY, NĚKTERÉ TABLETY...)  */
/*                                                                                           */
/*********************************************************************************************/

@media screen and (max-width: 607px) {
	#contactDiv .contact{
		max-width:unset;
		width:100%;
		box-sizing: border-box;
	}

	#contactDiv .contact-padding2{
		width:100%
	}

	#contactDiv .contact .photo-padding2{
		max-height:unset;
	}
}

/*********************************************************************************************/
/*                                                                                           */
/*  STYLY PRO SEZNAM TŘÍD PŘI BOXOVÉM ROZLIŠENÍ PRO JEDNOTLIVÁ ROZLIŠENÍ                     */
/*                                                                                           */
/*********************************************************************************************/

@media screen and (max-width: 650px) {

	.layout-box{
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
	}

}

@media screen and (max-width: 570px) {

	.layout-box{
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr ;
	}
}

@media screen and (max-width: 500px) {

	.layout-box{
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
}


/*********************************************************************************************/
/*                                                                                           */
/*  PLATÍ PRO VŠECHNA ROZLIŠENÍ S MAXIMÁLNÍ ŠÍŘKOU 400 (MOBILY...)                           */
/*                                                                                           */
/*********************************************************************************************/

@media screen and (max-width: 400px) {

	/* Zoom */
	#zoom{
		display:none;
	}

	/* Boxové zobrazení tříd */
	.layout-box{
		grid-template-columns: 1fr 1fr 1fr;
	}

}

/****************************************************************************************************/
/*                                                                                                  */
/*  PLATÍ PRO VŠECHNA ROZLIŠENÍ S MINIMÁLNÍ ŠÍŘKOU 1100 (Většina desktopů, hodně velké tablety...)  */
/*                                                                                                  */
/****************************************************************************************************/

@media screen and (min-width: 1100px) {

	/* Menu */
	#navigation .sf-menu{
		display:flex;
	}

	/* Ikonka lupy */
    #searchImg{
	   fill:#000;
       height: 30px;
       width: 30px;
       padding-left: 5px;
   }

   #searchForm{
	   display:flex;
   }

	/* Filtr akcí */
	#eventsFiltr {
    	display: flex;
    	align-items: center;
    	background: #d5d5d5;
	}

	/* Nápis filtr */
	#eventsFiltr div:first-child {
    	flex: 1;
	}

	/* Fixnuté menu */
	#navigation.fixedNav{
	    position: fixed;
	    top: 50px;
	    margin: 0 auto;
	    margin-top: 0px;
	    left: 0px;
	    right: 0px;
	    z-index: 999;
	}

	/* Nadpis webu */
	#title{
		position:relative;
	}

	/* Hledátko */
	#search{
		position:relative;
	}

	/* Zobrazovat pouze na mobilech */
	.showOn4{
		display:none;
	}

	#top-panel{
		height: 100px;
		width: 100%;
		background-color: #474747;
		position:fixed;
		z-index: 999;
		top:0;
	}

	#top-panel-inner{
		width: 1100px;
		margin-left: auto;
		margin-right: auto;
		display: flex;
		align-items: center;
		height: 100%;
	}
}

#posts-slider{
	background:#d5d5d5;
	border:5px solid #fff;
	width:1100px;
	height:350px;
	position:relative;
	margin-left:auto;
	margin-right:auto;
	margin-top:0.4em;
	box-sizing: border-box;
}

.post-slider{
	width:1090px;
	height:340px !important;
	display:inline-block;
}

.post-slider-box{
	width: 400px;
	background: rgba(0,0,0,0.7);
	color:#fff;
	padding:0.5em;
	margin-left: 50px;
	margin-top:-150px;
	position:absolute;
}

.post-slider-box-name{
	font-size: 1.5em;
	line-height: 1.5em;
	height: 5em;
}

.post-slider-box-button{
	text-align: right;
}

#posts-slider-inner .slick-arrow{
	position:absolute;
	font-size: 0;
	line-height: 0;
	position: absolute;
	top: 50%;
	transform: translate(0, -50%);
	cursor: pointer;
	color: transparent;
	border: none;
	outline: none;
	width: 52px;
	height: 52px;
	background: #fff;
	padding: 0px;
	border-radius: 100%;
	box-shadow: #3a3a3a 0px 0px 6px 3px;
}

#posts-slider-inner .slick-arrow:before{
	font-family: 'slick';
	font-size: 52px;
	line-height: 60px;
	opacity: .75;
	-webkit-font-smoothing: antialiased;
	color: #525252;
}

#posts-slider-inner .slick-prev{
	left: -30px;
	z-index: 1;
}

#posts-slider-inner .slick-next{
	right: -30px;
}

#posts-slider-inner{
	/*overflow: hidden;
	position: absolute;
	width: max-content;
	height: 340px;
	transform: translate3d(0px, 0px, 0px);*/
}

.slick-prev:before, .slick-next:before{
	color:#525252;
	font-size: 45px;
}

.slick-prev, .slick-next{
	width: 45px;
	height: 45px;
}

.slick-next{
	right:-50px;
}

.slick-prev {
	left: -50px;
}

/* Internet Explorer 10 - 11 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {

	#logo{
		display:inline-block;
		position:inherit;
	}

	.partner-slider{
		align-items:inherit;
		justify-content:inherit;
	}

	.partnerItem{
		width:220px;
	}

	#mod_submenu li > a{
		height:45px;
	}

}
