.ttAll2{
	padding-left:1em;
	padding-right:1em;
}

.btn{
	text-decoration:none;
}

#galleryDiv .a_right{
	margin-right:0px;
}

#galleryDiv .a_left a{
	margin:0px;
}

#galleryDiv .otevrit{
	width:125px;
}

.blogContent .otevrit{
	width:125px;
	height:25px;
	float:right;
}

.blogContent .a_right{
	margin-right:0px;
	height:25px;
}

#contactDiv .contact-padding2{
		width:100%
	}
	
.showOn4{
	display:none;
}

.fullcalendar-item {
    margin-bottom: 7px;
    border-bottom: 1px solid #d8d8d8;
    padding-bottom: 12px;
}

.fullcalendar-item div.flex9:first-child{
	padding-left:10px;
}

.fullcalendar-item div.flex9 div:first-child{
	padding-right:15px;
}

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

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



#menu, .sf-menu{
		display:block;
	}
	
#page-padding{
	display:flex;	
}	

#left{
	order:1;
	margin-right:1em;
}

#right{
	order:3;
}

#container{
	order:2;
	margin-right:1em;
}

.layout-box{
	display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 0.5em;
}


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

	#eventsFiltr {
    	display: flex;
    	flex-direction: column;	
    }
    
    #eventsFiltr .classes-select{
    	order:3;
    }
    
    #eventsFiltr div:nth-child(3){
    	margin-bottom:1em;
    	display:flex;
    }
    
    #eventsFiltr div:nth-child(3) button{
    	flex:1;
    }
    
    #eventsFiltr .dropdown-toggle::after{
    	float: right;
		margin-top: 0.6em;
		margin-left: 0 !important;
    }
    
    #eventsFiltr #dropdownMenuButton{
    	width:100%;
    }
    
     #eventsFiltr .dropdown-menu{
     	width:100%;
     }

	#layout{
		background: none;
	}

	#top-panel{
		display:none;
	}

	.desc .dayActions{
		display:none !important;
	}
	
	#slider{
		display:none;
	}
	
	#page{
		width:100% !important;
	}
	
	#layout{
		background-image:none !important;
	}
	
	#layout-padding{
		width:100% !important;
	}
	
	#header{
		width:100% !important;
		height:auto;
	}
	
	#header{
		display:none;
	}
	
	#header-mobile{
		display:flex;
		padding:0.5em;
		align-items:center;
		background:#808080;
	}
	
	#navigation{
		width:100% !important;
		background-image:none;
	}
	
	#navigation-padding{
		width:100% !important;
	}
	
	#inputString{
		display:none;
	}
	
	#search{
		position:relative;
		float:none;
		order:3;
		text-align:right;
		margin-right: 0.6em;
	}
	
	#title{
		flex:1;
		order:2;
		margin-top:0px;
		margin-bottom:0px;
		margin-right:2em;
	}
	
	#headerText{
		position:relative;
		order:1;
		height:3em;
		margin:0;
		margin-right:2em;
	}
	
	#title-padding{
		width:auto !important;
	}
	
	.header{
		max-height:3em;
		width:auto;
	}
	
	#menu, .sf-menu{
		display:none;
	}
	
	#openMenu{
		display:block !important;
		order:4;
		border-left: 1px solid;
	}
	
	#openMenu img{
		height:3em;
		margin-left:0.3em;
	}
	
	.helpMagnif{
		height:1.8em;
	}
	
	#menuMobile{
		display:block !important;
	}
	
	#navigation{
		display:none;
		margin-top:0px !important;
	}
	
	#navigation-padding{
		height:auto;
		padding-left:0px;
	}
	
	.menuMobileUl li div a{
		font-size:1.2em;
		text-decoration:none;
		line-height:1.3em;
	}
	
	.menuMobileUl li{
		padding:0.6em;
	}
	
	.submenuMobileUl li{
		padding-left:1em;
	}
	
	.subsubmenuMobileUl li{
		padding-left:1.4em;
	}
	
	.transform90deg{
		transform: rotate(90deg);
	}
	
	#mod_submenu li>a{
		width:auto;
		display:block;
		float:none;
	}
	
	#mod_submenu ul li>a{
		width:auto !important;
		float:none;
		display:block;
	}
	
		.custom-fixed-banner, .custom-fixed-banner-gplus{
		display:none;
	}
	
	.custom-fixed-banner2{
		display:none;
	}
	
	#inputString{
		width: 71%;
	}
	
	#contactForm textarea, #form-recommend textarea{
		box-sizing: border-box;
		width: 100%;
	}
	
	#admin{
		display:none;
	}
	
	.timetableFront{
		    overflow: scroll;
	}
	
	.regScheduler{
		    overflow: scroll;
	}
	
	#kotva{
		top:inherit !important;
		left:inherit !important;
		bottom:0.1em !important;
		right:5% !important;
	}
	
	#copyright-padding{
		    font-size: 1rem;
	}
	
	#class-tt{
		overflow:scroll;
	}
	
}

@media screen and (max-width: 850px) {
	.showOn4{
		display:block;
	}
	
	.box{
		
		width:100%;	
		
	}

	/*#page-padding{
		grid-template-columns: 1fr;
    	grid-template-rows: auto auto auto;
	}*/
	
	.layout-box{
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
	}
	
	#container{
		order:1;
		margin-right:0px;
	    margin-bottom:1em;
	}
	
	/*#left{
		order:1;
		width:100%;
		margin-top:1em;
	}*/
	
	/*#right{
		order:2;
	}*/
	
	#page-padding{
		flex-direction:column;
	}
	
	#right{
	}
	
	#left{
		order:2;
		margin-left:0px;
		margin-bottom:1em;
	}
	
	.btn-responsive-100{
		display:block;
	}
	
	.itemNews{
		width:100%;
	}

	.pollResult{
		width:auto;
	}
	
	.pollResult-padding{
		box-sizing: border-box;
	}
	
	.responsive-padding-0{
		padding-left:0;
		padding-right:0;
	}
	
	#page #mod_calendar{
		width:auto;
		margin-left:0px;
	}
	
	#page #mod_calendar-padding{
		width:auto;
	}
	
	#mod_calendar-left{
		width:auto;
	}
	
	#page #calendarMonth{
		width:auto;
	}
	
	#page #calendarDays{
		width:auto;
		margin-left:auto;
		margin-right:auto;
	}
	
	#foodContent .itemFood{
		width:auto;
	}
	
	.zoom1{
		font-size:2em;
	}
	
	#photoDiv{
		display:flex;
		flex-flow:row wrap;
	}
	
	.photo{
		width:auto;
		height:auto;
		float:none;
		margin:0px;
		flex-basis:calc(100% / 3) ;
		margin-bottom:0px;
		margin-top:0px;
	}
	
	.photo .photo-padding2{
		height:25vw;
	}
	
	.photo-padding3{
		padding:0.2em;
	}
	
	.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;
	}
	
	.postText img{
	    max-width: 100%;
	    height: auto;
	    box-sizing: border-box;
		margin:0px;
	}
	
	.linkIcon{
	    vertical-align: middle !important;
	}
	
	.postText table{
		word-break: break-all;	
	}
	
	.eventsFiltr-input{
		margin-bottom:1em;
	}

	#galSzn{
		display:none;
	}
	
	#classes-list-widget.layout-box a.classes-list-main{
		margin-right: 1em !important;
	}
	
	#classes-list-widget.layout-box{
		text-align:center;
	}
	
}


@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;
	}
}

@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;
	}
}

@media screen and (max-width: 400px) {
	#block-recommend2{
		display:none;
	}
	
	#zoom{
		display:none;
	}
	
	.layout-box{
		grid-template-columns: 1fr 1fr 1fr;
	}

}

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

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

    #searchImg{
	   fill:#000;
       height: 30px;
       width: 30px;
       padding-left: 5px;
   }
   
   	
	#eventsFiltr {
    	display: flex;
    	align-items: center;
    	background: #d5d5d5;
	}
	
	.eventsFiltr-input {
    	flex: 2;
	}
	
	#eventsFiltr div:first-child {
    	flex: 1;
	}
	
	#navigation.fixedNav{
	    position: fixed;
	    top: 0;
	    margin: 0 auto;
	    margin-top: 0px;
	    left: 0px;
	    right: 0px;
	    z-index: 999;
	}
	
	#top-panel{
		height: 100px;
    	width: 100%;
    	background-color: #474747;
    	position:fixed;
   	    z-index: 999;
	}
	
	#top-panel-inner{
		width: 1100px;
    	margin-left: auto;
    	margin-right: auto;
    	display: flex;
	    align-items: center;
    	height: 100%;
	}
	
	#navigation.fixedNav{
	    top: 50px;
	}
	
	#search{
		order:3;
	}
	
	#title-padding{
		width:100% !important;
	}
	#title{
		flex:1;
		margin:0px;
	}
	
	#headerText{
		position:relative;
		height:100%;
		width:fit-content;
	}
	
	.header{
		width:auto;
		height:100%;
	}
}
