
@media (min-width: 2600px) {
}

@media (max-width: 800px) {
	.uvod {padding: 0 45% 80px 0; z-index: 999;}
	.kompas:after, .duchovni:after, .skupiny:after, .pohled:after, .strednik:after {
	height: 200px;
	width: 110px;
	
	}

	.logo {
		font-size: 50px;
		display: block;
		margin-bottom: 20px;
	}
				figure.wp-block-gallery .wp-block-image {
    width: 90% !important; 
	}
	
	.kompas:after,  .skupiny:after {
		top:10px;
	}
	
	.duchovni:after {
		top: 5px;
	}
	.pohled:after {
		top:-10px
	}
	
}

@media (max-width: 1600px) {
	header .container {padding: 25px 60px 15px 60px;}
	.home ul li a {
		background-position: left 10px bottom;
		background-size: 100px auto;
	}
	.home ul li a:hover {background-position: left 10px bottom 16px;}
	.sidemenu ul li a {
		background-size: 70px auto;
		padding: 30px 0;
	}
	.sidemenu ol li {padding: 0 5px;}
	
}

@media only screen and (max-width : 1000px) {	
}
/* iPad landscape ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1366px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1180px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
	.container {max-width: 100%;}
}

/* ipad portrait ----------------------------------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
	.logo {
		font-size: 40px;
		display: block;
		margin-bottom: 20px;
	}
	.home {padding: 270px 0 60px 0;}
	.subpage {padding: 270px 0 60px 0;}
	.home ul li a {
		font-size: 16px;
        background-size: 70px auto;
    }
	.sidemenu ul {padding: 10px 25px;}
	.sidemenu ul li a {
		font-size: 16px;
		background-size: 40px auto;
		padding: 30px 0;
	}
	.sidemenu ul li a br {display: none;}
	.sidemenu .fb, .sidemenu .ig, .sidemenu .yb, .sidemenu .x {
		height: 28px;
		width: 28px;
	}

}

@media only screen and (min-device-width : 768px) and (max-device-width : 900px) and (orientation : portrait) {
	.container {max-width: 100%;}
	.logo {
		font-size: 40px;
		display: inline-block;
		margin-bottom: 0;
		padding-right: 100px;
	}
	.logo:before {
		top: -5px;
		right: -10px;
		width: 90px;
		height: 90px;
	}
	.hamburger {
		right: -10px;
		top: -45px;
	}
	header .active .nav-link:after {
		height: 3px;
		bottom: 0;
	}
	header .nav-item {padding: 0;}
	.fb, .ig, .yb, .x {margin: 5px;}
	.home {padding: 180px 0 0 0;}
	.homemenu01, .homemenu02, .homemenu03, .homemenu04, .homemenu05 {
		font-size: 16px;
		padding: 20px 15px;
	}
	.home ul li a {
        font-size: 14px;
        background-size: 50px auto;
		padding: 0 5px;
    }
	footer {font-size: 12px;}
	.sidemenu ul li a {
		font-size: 14px;
		background-size: 30px auto;
	}
	.sidemenu .fb, .sidemenu .ig, .sidemenu .yb, .sidemenu .x {
		height: 20px;
		width: 20px;
	}


}
	
/* mobile landscape ----------------------------------- */
@media (min-width: 481px) and (max-width: 896px) and (orientation: landscape) {
	body {
		height: 100vh !important;
		overflow: hidden;
	}
	.landscape {
		display: block;
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100vh;
		background: #fff;
		z-index: 20;
		text-align: center;
	}
	.landscape h6 {font-size: 20px;}
	.landscape div {
		position: absolute;
		left: 50%;
		top: 50%;
		margin: 0;
		transform: translate(-50%,-50%);
		width: 90%;
	}
	.landscape img {
		margin-bottom: 20px;
		width: 260px;
	}
	.viewport {opacity: 0;}
	
	


}

/* mobile portrait ----------------------------------- */
@media(max-width:480px) and (orientation : portrait) {
	.viewport {
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		bottom: auto;
	}
	header {padding: 15px 0;}
	header .container {padding: 25px 30px 15px 30px;}
	.logo {
		font-size: 20px;
		display: inline-block;
		padding-right: 50px;
	}
	.logo:before {
		top: -10px;
		width: 40px;
		height: 60px;
	}
	header .nav-item:first-child {padding-left: 15px;}
	header .active .nav-link:after {
		height: 2px;
		bottom: 0;
	}
	.home {padding: 110px 0 0 0;}
	.home .col-sm-2, .home .col-sm-3, .home .col-sm-4, .home .col-sm-7 {padding-bottom: 15px;}
	.homemenu01, .homemenu02, .homemenu03, .homemenu04, .homemenu05 {min-height: 94px;}
	.homemenu01 br, .homemenu02 br, .homemenu03 br, .homemenu04 br, .homemenu05 br {display: none;}
	.homemenu01:before {
		height: 170px;
		width: 70px;
		top: -15%;
		left: auto;
		right: 10%;
	}
	.homemenu02:before {
		height: 90px;
		width: 100px;
		top: 2%;
		left: auto;
		right: 5%;
	}
	.homemenu03:before {
		height: 190px;
		width: 90px;
		top: -40%;
		left: auto;
		right: 2%;
	}

	.homemenu04:before {
		height: 75px;
		width: 100px;
		top: 9%;
		left: auto;
		right: 5%;
	}
	.homemenu05:before {
		height: 120px;
		width: 150px;
		top: 1%;
		right: 0;
	}
	.home ul {padding: 25px 5px;}
	.home ul li {
		width: 50%;
		margin: 15px 0;
		min-height: 200px;
		padding: 0 15px;
	}
	.home ul li:nth-child(2):before {display: none;}
	.home ul li:before {right: 0;}
	.home ul li a {
		background-position: left 20px bottom 10px;
		background-size: 90px auto;
		font-size: 20px;
	}
	.home ol {
		padding: 30px 15px;
	}
	.home ol li {display: inline-block;}
	.fb, .ig, .yb, .x {margin: 5px 15px;}
	
	footer {color: #4F6D6E;
		font-size: 12px;
		padding: 30px 0;
	}
	footer ul li {padding: 0 0 4px 0;}
	footer .col-md-7 {
		padding-left: 72px;
		padding-top: 20px;
	}
	footer span {
		font-size: 11px;
		padding-left: 60px;
	}
	.subpage {padding: 110px 0 10px 0;}
	.subpage .col-sm-3 {padding-bottom: 12px;}
	.strednik, .pohled, .kompas, .skupiny, .duchovni {margin-top: 0;}
	.strednik:after {transform: scale(.7) translate(20px,-70px);}

	.uvod {padding: 0 28% 20px 0;}
	.subpage iframe {width: 100% !important;}
	.sidemenu .homemenu05:after {padding-bottom: 40%;}
	
	.sidemenu ul {padding: 10px 25px;}
	.sidemenu ul li a {
		font-size: 18px;
		background-size: 60px auto;
		padding: 30px 0;
	}
	.sidemenu ul li a br {display: none;}
	
	figure.wp-block-gallery .wp-block-image {
    width: 90% !important; 
	}
	
}


/* tom 2024 ----------------------------------- */