@media (orientation: landscape) and (max-width: 1400px) {}

@media (max-width: 1400px) {
  header {
	  height: 300px;
	}
  #head {
	  left: 3.5em;
    top: 110px;
	}
  #buton {
  	top: 3em;
	  left: inherit;
  	right: 3em;
	}
  #logo img {
	  height: 122px;
	  width: auto;
	}
  .line1, .line3 {
	  font-size: 21px;
	}
	.line2 {
	  font-size: 73px;
	}
	#voda {
	  height: 300px;
	}
  #topmenu li a, #topmenu li a:visited {
  	font-size: 21px;
  	padding-right: 1.1em;
	}
  #topmenu li a::before {
  	height: 15px;
  	width: 18px;
  	margin-right: 7px;
	}
  main {
  	padding: 0;
	}
  #content {
  	padding-right: 0;
	}
	.container {
		width:100%;
	}
  #sidemenu {
	  width: 350px;
  	padding-right: 1em;
	}
  #content .list-1::before, #content .list-2::before, #content .list-3::before, #content .list-4::before, #content .list-5::before, #content .list-6::before {
  	width: 50px;
  	height: 30px;
  	margin-left: -60px;
	}
  h1 {
	  font-size: 42px;
	  margin: 1em 0 0.5em 0;
	}
  h2 {
  	font-size: 26px;
		margin-top:1em;
	}
  h3 {
  	font-size: 23px;
	}
  #content ul, #content ol {
  	margin-left:2em;
	}
}

@media (max-width : 1260px) {
  #topmenu li a, #topmenu li a:visited {
  	font-size: 20px;
  	padding-right: 1em;
	}
  #topmenu li a::before {
  	height: 12px;
  	width: 15px;
  	margin-right: 5px;
	}
}

@media (max-width : 1150px) {
 	nav {
		padding:0.7em 0;
    background: none;
	}
  nav .container {
  	text-align: right;
		width:100%;
	}
  h1 {
    margin-top: 10px;
	}
	#topmenu {
		display:none;
	}
	#menu_icon {
		display:inline-block;
	}
  #menu_icon img {
		width:28px;
    vertical-align: middle;
	}
  #fullmenu {
		display:block;
	}
	.mm-page {
		min-height:initial !important;
	}
  .mm-menu {
    padding-top:1em;
		z-index: 99999;
		--mm-color-background:var(--cerna);
    --mm-color-text: #fff;
    --mm-listitem-size:37px;
    --mm-navbar-size:37px;
    --mm-color-icon:var(--zlata);
	}
  .mm-wrapper__blocker {
	  z-index: 9999;
	  background: rgba(0, 0, 0, 1);
	}
  .mm-listitem {
  	text-align: left;
	  color: initial;
	}
  .mm-listitem:has(a[title="Služby"]) {
		display:none;
	}
  .mm-listitem__text {
	  padding-left: 40px;
	  padding-right: 40px;
	}
  .mm-btn--prev::before {
	  inset-inline-start: 42px;
	}
  .mm-listitem a, .mm-listitem a:visited {
		line-height: 1.2em;
		font-size:21px !important;
    color:#fff !important;
	}
  .mm-listitem a:hover {
	  color: var(--zlata);
	}
	.mm-listitem--selected a, .mm-listitem--selected a:visited,
	.mm_selected_group {
	  font-weight: bold;
    color: var(--zlata) !important;
	}
  .mm-listitem--selected > .mm-listitem__text {
	  color: var(--zlata);
		background:none;
	}
  .mm-listitem::after {
	  box-sizing: border-box;
	}
  .mm-spn .mfp-close {
	  width: 50px;
	  height: 50px;
	  line-height: 50px;
	}
  .mm-listitem__btn:not(.mm-listitem__text) {
  	border-left: none;
	}
  .mm-btn--next::after {
	  right: 33px !important; /* osetreni inset-inline-end na starsich android browserech */
	}
  .mm-btn--next::after, .mm-btn--prev::before {
	  width: 12px;
    height: 12px;
    border-left-width: 5px;
    border-top-width: 5px;
    opacity:1;
	}
  .mm-btn--close::before {
		color:var(--zlata);
		font-weight:bold;
    font-size: 200%;
	}
  .mm-navbars .mm-navbar {
  	justify-content: right !important;
    text-align: right !important;
	}
  .mm-navbars--top {
  	width: 100%;
	  height: 32px;
	}
  .mm-navbar__title > span {
  	color: var(--zlata) !important;
	}
	.mm-menu a.mm-listitem__btn, .mm-menu a.mm-listitem__btn:visited {
		color:#fff;
	}
  .mm-menu .mm_selected_group a, .mm-menu .mm_selected_group a:visited {
		color:var(--zlata) !important;
	}
  .mm-btn--close::before {
	  margin-right: 20px;
	}
}

/** ----------------------------------------- SCREEN SIZE: tablets landscape / very old desktop --------------------*/
@media (max-width : 1024px) {
	.container {
		padding: 0px 2em 0 3.5em;
	}
	#titul {
    width: 560px;
	}
	#logo {
    padding-right: 1em;
	}
  #logo img {
	  height: 80px;
	}
	.line2 {
	  font-size: 60px;
	}
  #buttons, .wp-block-buttons {
  	margin: 1em 0;
	}
  #sidemenu {
		display:none;
	}
  #sidemenu.roky {
    display: block;
    width: 100%;
    padding: 3em 0 0 0;
  }
  main .container {
  	flex-direction: column;
	}
  #content {
  	width: 100%;
	}
  h1 {
    font-size: 40px;
    line-height: 1.2em;
    text-align: center;
	}
  h2 {
    font-size: 25px;
	}
  h3 {
    font-size: 22px;
  }
}

@media (max-width : 800px) {
  .line2 {
    font-size: 41px;
  }
	 #titul {
    width: 385px;
  }
	#topmenu li a, #topmenu li a:visited {
    height:auto;
	}
  #topmenu.responsive {
    padding-top: 9vw;
	}
	#topmenu.responsive li a {
    line-height: 1em;
  }
  #topmenu li.icon img {
    padding-top:0;
  }
	.map-responsive {
    width:100%;
  }
  .wpcf7-form {
    padding: 0 2vw;
  }
  .wpcf7-form .blok {
    width: 100%;
		padding-right:0;
	}
}

@media (max-width : 680px) {
  header,
	#voda {
    height: 250px;
  }
  #buton {
    right: 2em;
	}
  #head {
    left: 2em;
    top: 95px;
	}
  #logo {
  	flex: 0 0 90px;
	}
  .container {
    padding: 0px 2em;
  }
  #content .list-1::before, #content .list-2::before, #content .list-3::before, #content .list-4::before, #content .list-5::before, #content .list-6::before {
    display: none;
  }
  h1 {
    font-size: 38px;
	}
  #buton a, #buton a:visited {
  	padding: 12px 15px;
	}
  #buton a::before {
	  width: 25px;
  	height: 25px;
  	margin-right: 4px;
	}
	#cookies-alert {
  	padding: 1.5em 2em 2em 2em;
	}
	.wpcf7-form .blok {
    width: 100%;
  }
  table, table thead, table tbody, table tr, table th, table td {
		display:block;
		width:100%;
	}
  table tr th, table tr td {
		box-sizing:border-box;
	}
	table tr td {
  	width: 100%;
  }
  table tr td:nth-child(1) {
		padding-bottom:0;
    border-bottom: none;
	}
  table tr td:nth-child(2) {
		padding-top:0;
    border-top: none;
	}
}

/* ----------------------------------------- SCREEN SIZE: phone landscape / tablets portrait --------------------*/
@media (max-width : 600px) {
  #head {
    top: 46px;
    flex-direction: column;
	}
  #logo {
    padding-right: 0;
    flex: inherit;
    margin-bottom: 10px;
	}
  #logo img {
    height: 45px;
  }
  #titul {
    width: calc(100% - 2em);
  }
  .line2 {
    font-size: 44px;
  }
	h2 {
  	font-size: 30px;
	}
	#topmenu li a, #topmenu li a:visited, #languages li a, #languages li a:visited {
    padding:15px;
	}
  #topmenu li.icon img {
    padding-top:5px;
	}
  #topmenu.responsive {
    padding-top:11vw;
	}
  #topmenu.responsive li a {
    line-height: 1.2em;
	}
  #cookies-alert {
  	padding: 1.5em 1em 2em 1em;
	}
	#cookies-settings .group p,
	.buttons {
  	padding-left: 0;
	}
  .wpcf7-form .two {
  	flex-direction: column;
    gap: 0;
	}
  .wpcf7-form .two div {
  	width: 100%;
	}
  #odbornici p {
	  width: 100%;
	}
}

@media (max-width : 480px) {
	header {
		background:url('voda_static2.jpg') top center no-repeat;
	}
	#voda {
		display:none;
	}
	#head {
    top: 34px;
    left: 1.5em;
	}
	#buton {
    top: 2.5em;
    right: 1.5em;
	}
	.line2 {
    font-size: 9.2vw;
  }
  .container {
    padding: 0px 1.5em;
  }
	h1 {
    text-align: center;
    font-size: 34px;
  }
  h2 {
    font-size: 27px;
  }
  #content ul, #content ol {
    margin-left: 1.5em;
  }
  #content ul ul {
	  margin-left:1em;
	}
  .mm-menu {
	  width: 100%;
	}
  #cookies-settings .group p {
	  padding-left: 0;
	}
  #cookies-alert .button {
	  border:none;
		margin:0;
    padding: 7px;
		display: inline-block;
	}
  .switch, .switch-item {
	  display: block;
    margin-bottom: 15px;
	}
  .buttons {
  	padding-left: 0;
    line-height: 2em;
	}
  #buttons, .wp-block-buttons {
    margin: 0 0 1em 0;
  }
  #cookies-settings .button {
	  margin: 0 15px 15px 0px;
	  padding: 5px 10px;
		display:inline-block;
	}
  #sidemenu.roky li {
  	padding: 0 1.2em 0.8em 0;
	}
}

@media (max-width : 450px) {
  #buton {
    right: 1em;
  }
}

@media (max-width : 400px) {
	.line2 {
    font-size: 8.5vw;
  }
}

/** ----------------------------------------- SCREEN SIZE: phone portrait --------------------*/
@media (max-width : 380px) {
  #head {
    left: 1em;
	}
  .line2 {
    font-size: 9vw;
  }
	.container {
    padding: 0px 1em;
  }
}
