:root {
  --color1: #000;
  --color2: #333;
 --color21: #111;
  --color3: #666;
  --color4: #c22c2c;
  --color5: #ccc;
  --color51: #ddd;
  --color52: #eee;
  --color6: #fff;
  --color7: #f9f9f9;
  --color8: #f6f6f6;
  --color9: #f3f3f3;
  
  --color11: #585858;
--color12: #c22c2c;
--color13: #fd5929;
}

* {
font-family: "REM", Arial, sans-serif!important;
-moz-box-sizing: border-box !important;
-webkit-box-sizing: border-box !important;
box-sizing: border-box !important;
font-size: 18px;
padding: 0;
margin: 0;
line-height: 1.5;
font-weight: 300;
}

a, a:focus {color: var(--color11); text-decoration: none;}
a:hover { text-decoration: underline; color: var(--color2);}
a img { margin: 0 !important; }

a, #menu ul, .galleryItem, .button, .intro td, .full-aktuality ul>li, #max-header, .ikony td, div.owl-item>div, .ikony .mdi:before {
-webkit-transition: all 0.2s ease-in;
-moz-transition: all 0.2s ease-in;
-ms-transition: all 0.2s ease-in;
-o-transition: all 0.2s ease-in;
transition: all 0.2s ease-in;
}

img {
margin: 0!important;
}

/* LAYOUT */

html {
background: var(--color6);
margin: 0;
padding: 0;
}

body {
width: 100%;
margin: 0 auto;
color: var(--color2);
background: var(--color6);
padding: 0;
-moz-box-sizing: content-box !important;
-webkit-box-sizing: content-box!important;
box-sizing: content-box !important;
}

body.fixed {
padding-top: 60px;
}

#wrap {
margin: 0px auto 0;
width: 100%;
padding: 0;
position: relative;
}

/* HEADER */

#max-header {
width: 100%;
z-index: 500;
position: relative;
background: none;
height: 90px;
}

.fixed #max-header {
position: fixed;
background: var(--color6);
top: 0;
-webkit-box-shadow: 0 3px 10px rgba(0,0,0, 0.15);
box-shadow: 0 3px 10px rgba(0,0,0, 0.15);
height: 75px;
}

#header {
width: 1200px;
margin: 0 auto;
padding: 0px 0 0 0px;
position: relative;

}

#logo {
display: inline-block;
    position: relative;
top: 10px;
}

#logo {
  top: 10px;
}

#logo a {
background: url(userFiles/img/logo.png) no-repeat left center;
    background-size: contain;
font-size: 28px;
font-weight: 900 !important;
color: var(--color11);
padding: 0px 0 0 0px;
display: block;
margin: 0;
line-height: 70px;
height: 80px;
width: 200px;
}

.uvod #logo a {
background-image: url(userFiles/img/logo-w.png);
color: var(--color6);
}

.fixed #logo a {
background: url(userFiles/img/logo.png) no-repeat left center;
    background-size: contain;
color: var(--color11);
line-height: 50px;
height: 56px;
}

#logo a:hover {
text-decoration:none;
}

#slogan {
font-size: 32px;
font-weight: 200 !important;
padding: 10px 0 10px 20px;
margin: 0 0px 0 20px;
display: inline-block;
position: relative;
color: var(--color11);
border-left: 1px solid rgba(0,0,0,0.2);
top: 5px;
}

.fixed #slogan {
  font-size: 24px;
  padding: 5px 0 5px 20px;
}

#kont {
width: 280px;
display: block;
line-height: 17px;
height: 40px;
font-size: 32px;
position: absolute;
top: -137px;
color: var(--color4);
font-weight: normal !important;
padding: 0 0 0 2px;
text-shadow: 1px 1px white;
margin: 0px 0 0 505px;
text-transform: uppercase;
}

#menu .boxed, #info .boxed {
width: 300px;
position: absolute;
top: 0px;
right: 0px;
z-index: 501;
}

.hledani input {
background: none;
color: var(--color3)!important;
}

#menu .boxed input, #info .boxed input, #main input, #main textarea {
margin: 0;
padding: 8px 20px;
border: 1px solid var(--color61);
font-weight: 400;
color: var(--color6);
background: rgba(255,255,255,0.2);
}

#main input {
padding: 12px 20px!important;
}

#menu .boxed input, #info .boxed input {
border: 1px solid rgba(255,255,255,0.05);
color: var(--color6)!important;
}

#menu .boxed input.button, #info .boxed input.button  input.button  {
margin: 0!important;
padding: 3px 7px;
}

#menu .boxed .button, #info .boxed .button {
background: url("userFiles/img/ico-src.png") no-repeat center center!important;
background: var(--color11);
color: var(--color6)!important;
border: none!important;
padding: 8px 20px!important;
text-transform: none;
    font-size: 16px!important;
    font-weight: 300!important;
}

textarea {
height: 120px !important;
}

#menu .boxed h2, #info .boxed h2 {
font-size: 20px;
    padding: 0;
    text-align: center;
display: none;
}

.more, .button, input.button {
    display: block;
    font-size: 12px!important;
    color: var(--color11)!important;
padding: 12px 24px !important;
margin: 8px 0;
    font-weight: 700!important;
    background: transparent!important;
    -webkit-border-radius: 0;
    border-radius: 0;
    border: 1px solid var(--color11)!important;
text-transform: uppercase;
letter-spacing: 1px;
}

.more.inverse, .form-basic input.button {
    color: var(--color6)!important;
    background: transparent!important;
    border: 1px solid var(--color6)!important;
}

.button:hover, .more:hover, input.button:hover, table.produkty td:hover a.more, #header .boxed .button:hover {
color: var(--color6)!important;
text-decoration: none;
    background: var(--color11)!important;
    border: 1px solid var(--color11)!important;
}

.more.inverse:hover, .form-basic input.button:hover {
    color: var(--color11)!important;
    background:var(--color6)!important;
    border: 1px solid var(--color6)!important;
}

/* MENU */

#pull {
display: none;
}

#menu {
padding: 0;
    width: auto;
    margin: 0;
    position: absolute;
    left: 240px;
    top: 10px;
}

.fixed #menu {
    top: 5px;
    left: 240px;
}

#menu>ul {
list-style-type: none;
height: 100%;
padding: 0;
display: block;
}

#menu>ul>li {
display: inline-block;
  height: 100%;
  margin: 0 0 0 1px;
text-align: left;
position: relative;
}

/*#menu>ul>li:hover, #menu>ul>li.current {
border-bottom: 1px solid var(--color6);
}

.fixed #menu>ul>li:hover, .fixed #menu>ul>li.current {
border-bottom: 1px solid var(--color11);
}*/

#menu>ul>li>a, #locales a {
    display: block;
    padding: 0px 20px;
    margin: 0;
    font-weight: 500;
    line-height: 70px;
font-size: 18px;
color: var(--color11);
letter-spacing: 0.5px;
}

.fixed #menu>ul>li>a, .fixed #locales a {
    line-height: 65px;
font-size: 18px;
}

.uvod #menu>ul>li>a, #locales a {
color: var(--color6);
}

#menu>ul>li:hover>a, #menu>ul>li>a:hover, #menu>ul>li.current>a, #locales a:hover, #locales a.locales_select {
text-decoration: none;
}

.fixed #menu>ul>li>a, .fixed #menu>ul>li:hover>a, .fixed #menu>ul>li>a:hover, .fixed #menu>ul>li.current>a {
color: var(--color11);
}

#locales {
position: relative;
right: 0;
top: 2px;
color: transparent;
padding-left: 11px;
display: inline-block;
}

#locales a {
display: inline-block;
margin-left: -11px;
}



#menu>ul>li:hover, #menu>ul>li.current {
text-decoration: none;

}

#menu>ul>li>ul {
list-style-type: none;
min-width: 200px;
left: 0;
position: absolute;
margin: 1px 0 0 0;
padding: 0px;
visibility: hidden;
background: var(--color6);
border-top: none;
}

#menu>ul>li.aktivni>ul, #menu>ul>li.current>ul, #menu>ul>li.aktivni>ul>li, #menu>ul>li.current>ul>li {
/*visibility: visible!important;*/
}

#menu>ul>li>ul>li, #menu>ul>li>ul>li>ul>li {
position: relative;
display: block;
border-bottom: 1px solid rgba(0,0,0,0.1);
}

#menu>ul>li.aktivni>ul>li {
position: relative;
display: block;
}

#menu>ul>li:hover>ul {
visibility: visible;
z-index: 100;
color: var(--color2);
line-height: 3;
-webkit-box-shadow: 0 3px 7px 0px rgba(0, 0, 0, 0.2);
box-shadow: 0 3px 10px 0px rgba(0, 0, 0, 0.2);
}

#menu>ul>li>ul>li>a {
display: block;
text-decoration: none;
padding: 15px 10px;
margin: 0 0px 0px;
color: transparent;
line-height: 1.25;
color: var(--color3);
font-size: 18px;
}

#menu>ul>li>ul>li>a:hover {
color: var(--color2);
}

#menu>ul>li>ul>li:hover>a, #menu>ul>li>ul>li>ul>li:hover>a, #menu>ul>li>ul>li:hover, #menu>ul>li>ul>li>ul>li:hover {
background: rgba(0,0,0,0.015);
}

#menu>ul>li>ul>li>ul {
float:left;
list-style-type: none;
width: 0px;
position: absolute;
margin: 0px 0;
padding: 0px 0px;
z-index: 10;
overflow: hidden;
background: var(--color6);
left: 160px;
top: 10px;
}

#menu>ul>li>ul>li:hover>ul {
width: 200px;
}

#menu>ul>li>ul>li>ul>li>a {
display: block;
text-decoration: none;
padding: 3px 10px;
margin: 0 0px 0px;
line-height: 25px;
width: 200px;
color: var(--color3);
}

#menu>ul>li>ul>li>ul>li>a:hover {
color: var(--color2);
background: var(--color6);
}

#sluzby-menu {
margin-top: -25px;
}

#sluzby-menu a {
color: var(--color3);
}

/* SIDEBAR */

#max-sidebar {
margin: 0;
padding: 40px 0;
width: 100%;
background: var(--color7);
clear: both;
display: none;
}

#sidebar {
margin: 0 auto;
padding: 0;
width: 1200px;
}

.boxed ul {
list-style-type: square;
}

.boxed ul li {
list-style-position: inside;
padding: 2px 0;
}

.sidemenu {
list-style-type: none;
margin: 0 0 0 0px;
padding: 0 0px;
display: none;
}

#rightbar .sidemenu {
display: block;
}

.sidemenu li {
display: block;
}

.sidemenu li.current * {
/*color: var(--color3)!important;*/
}

#sidebar>..sidemenu>li {
margin: 0 0 30px 0;
}

.sidemenu a {
font-weight: 300;
display: block;
}

#sidebar ul.sidemenu {
margin-top:10px;
}

#sidebar>.sidemenu>li>a {
font-size: 16px;
color: var(--color5);
text-shadow: 1px 1px rgba(255,255,255,0.3);
margin: 0;
padding: 0px;
text-transform: uppercase;
font-weight: 700;
}

#sidebar>.sidemenu>li>a:hover {
text-decoration: none;
}

#sidebar>.sidemenu>li>ul>li {
padding: 2px 4px;
}

#sidebar>.sidemenu>li>ul>li>a {
font-size: 14px;
padding: 3px 0;
margin: 0 20px 0 0;
font-weight: 400;
line-height: 20px;
}

#sidebar>.sidemenu>li>ul>li>a:hover, #sidebar>.sidemenu>li>ul>li.current>a  {
color: var(--color11);
text-shadow: 0 0 2px 0 rgba(0,0,0,0.15);
text-decoration: none;
}

#sidebar>.sidemenu>li>ul>li>ul>li>a {
margin: 0 20px 0 0;
padding: 0 0 0 25px;
}

#sidebar .boxed {
padding: 0;
margin: 30px 0 0;
position: relative;
}

#sidebar .boxed:first-child {
display: none;
}

#sidebar .boxed>ul {
text-align: left;
}

#sidebar h2 {
padding: 0 0 10px 0!important;
}

#sidebar>h2 {
display: none;
}

#sidebar h3 {
margin: 0;
padding: 0;
}

#sidebar p {
margin: 7px 0;
padding: 0;

}

#sidebar .boxed>h2 {
padding: 0!important;
    font-weight: 200!important;
    font-size: 44px!important;
    margin-bottom: 30px!important;
position: relative;
    display: block;
text-align: center;
color: var(--color3);
}

.news {
    margin: 0px auto!important;
    width: 1200px;
}

.news li {
display: block;
width: 100%;
margin: 0;
padding: 20px 0 !important;
border-bottom: 1px solid rgba(0,0,0,0.1);
}

.full-aktuality .novinky {
border-collapse: separate;
    border-spacing: 10px;
display: table;
margin: 0 !important;
}

#max-sidebar .news li, body.uvod .full-aktuality .novinky li  {
display: none;
}

#max-sidebar .news li:first-child, #max-sidebar .news li:nth-child(2), #max-sidebar .news li:nth-child(3), .uvod .full-aktuality .novinky li:first-child, .uvod .full-aktuality .novinky li:nth-child(2), .uvod .full-aktuality .novinky li:nth-child(3) {
display: table-cell;
width: 32.45%;
border: none;
margin: 0 0.25% !important;
}

.full-aktuality .novinky li img {
width: calc(100% + 30px);
margin: 0 0 0 -15px!important;
display: none !important;
}

.full-aktuality ul>li {
  list-style-type: none !important;
  border-bottom: none;
    padding: 15px!important;
margin: 0;
position: relative;
  font-weight: 400;
    vertical-align: top;
overflow: hidden;
background: var(--color6);
-webkit-box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.3);
box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.3);
}

.full-aktuality ul>li:hover {
-webkit-box-shadow: 0 20px 30px 0 rgba(0,16,45,.18);
box-shadow: 0 20px 30px 0 rgba(0,16,45,.18);
-ms-transform: translateY(-10px) !important;
transform: translateY(-10px) !important;
}

body:not(.uvod) .full-aktuality .novinky li {
display:inline-block;
width: 32.3%;
border: none;
margin: 0 0.25% 15px 0.25% !important;
}

.novinky li p {
font-size: 18px;
}

.news>h2 {
display: block;
}

.news h3 {
padding: 0 0 10px 0!important;
    font-weight: 700!important;
}

.news img {
    width: calc(100% + 40px);
    margin: 10px 0 10px -20px!important;
}

#aktuality-vsechny>ul {
margin: 0!important;
}

#aktuality-vsechny>ul>li {

}

#allnews {
    text-align: center;
margin: 20px 0;
}

#allnews a {
    display: inline-block;
}

/* MAIN */

#main{
padding: 0;
margin: 0;
width: 100%;
float: none;
}

#main img {

}

#main>ul {
margin: 0 0px 0 0px;
padding: 0;
}

.post {
padding: 60px 0;
margin: 0px;
background: var(--color6);
}

.post.post_formulare {
background: var(--color7) url(userFiles/img/bg-squares.jpg) no-repeat center;
background-size: cover;
border-top: 2px solid rgba(0,0,0,0.025);
border-bottom: 2px solid rgba(0,0,0,0.025);
}

.post.img-full {
  height: 100vh;
  overflow: hidden;
    padding: 25vh 10vw 0 10vw !important;
z-index: 0;
position: relative;
}

.post.img-full:after {
content: " ";
width: 100%;
height: 100%;
background: rgba(0,0,0,0.3);
display: block;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}

.bg-blue * {
color: var(--color6);
}

.bg-postup {
background: url(userFiles/img/bg-top.jpg) no-repeat center top fixed!important;
background-size: cover !important;
}

.bg-light {
  background: var(--color7);
}

.img-full img.bg-img {
width: 100%;
height: 56vw;
position: absolute;
top: 0;
left: 0;
margin: 0 !important;
z-index: -1;
}

.post.img-full .post_body {
    margin-top: -6px;
}

.post.img-full .post_body p {
color: var(--color6);
display: block !important;
font-size: 2.25vw;
font-weight: 300 !important;
text-shadow: 2px 1px 2px rgba(0,0,0,0.75);
padding: 0 50% 0 0 !important;
line-height: 1.15;
}

#main .post_top, #main .post_body {
width: 1200px;
margin: 0 auto;
}

.post.w-100 .post_top, .post.w-100 .post_body, .boxed.w-100 {
width: 100%!important;
margin: 0 auto;
}

.post_title {
position: relative;
    text-align: center;
}

.post.post_formulare .post_title {
    text-align: left;
width: 270px;
}

.post-center {
    text-align: center;
}

.post_body hr {
    border: none;
    border-top: rgba(0,0,0,0.1) 1px solid;
    margin: 30px 0;
}

#main ul li {
padding: 2px 8px;
list-style-type: square;
}

/*#main ul li::marker {
color: var(--color11);
content: "\F0E1E";
font-family: "Material Design Icons" !important;
font-size: 24px;
}*/

#main table td {
vertical-align: top;
}


#main h1, #main h1 span, .post_title h2, .boxed h1 {
    padding: 10px 0!important;
    font-weight: 700!important;
    font-size: 36px!important;
    margin-bottom: 10px!important;
color: var(--color4);
position: relative;
    display: inline-block;
line-height: 1.1;
text-transform: none;
}


.boxed h1, x#main .post_formulare h1 {
color: var(--color6);
}

#main .post.img-full  h1 {
    padding: 0!important;
    font-weight: 800!important;
    font-size: 2.75vw!important;
text-shadow: 2px 1px 2px rgba(0,0,0,0.75);
    margin-bottom: 8px!important;
color: var(--color6);
}

#main>h1 {
margin: 20px 0 10px 0!important;
}

#main>ul>li {
display: block;
padding: 5px;
clear: both;
margin: 0;
}

#main>ul>li img {
width: 100px;
float: left;
margin: -30px 10px 0 0;
border: 1px solid var(--color5)!important;
padding: 1px!important;
z-index: 100;
}

#main>ul>li>p {
/*margin-top: -30px;
min-height: 100px;*/
/*border-bottom: 1px solid var(--color5);*/
}

#main>ul>li>p div{
}


#main>ul>li h2, #main>ul>li h3 {
/*margin-left: 115px!important;*/
}

#main>ul>li .more {
float: right;
margin-top: 10px;
}



#most>div {
width: 20%;
float: left;
text-align: center;
padding: 0 0px 20px;
margin: 5px 0 25px;
min-height: 300px;
position: relative;
}

#main .more {
display: inline-block;
}

.mimg {

margin: 10px auto;
text-align: center;
}


h2, #main h2 span {
font-weight: 300;
font-size: 32px;
padding: 15px 0 5px;
margin: 7px 0;
color: var(--color2);
text-transform: uppercase;
line-height: 1.15;
}

#main h3, #main h3 span {
font-weight: 700;
padding: 0px 0;
margin: 15px 0 5px;
font-size: 24px;
color: var(--color11);
}

#main ul, #main ol {
padding: 5px 0px;
margin: 0 0px 0 20px;
list-style-position: outside;
}
#main p {
padding: 5px 0;
text-indent: 0;

margin: 0px 0 0px;
}

strong {
font-weight: 700!important;
font-size: inherit;
}

#main ._round-cont {

margin: 0!important;
}

#main .nolink, #main-table iframe {
margin: 0 0px 0px 0 !important;
}

#main-table img.nolink {
margin: 8px 9px 0 0 !important;
}

#main-table h2 {
margin: 0 0 -5px 0 !important;
}

.post.bg-nabidka:after {
content: " ";
width: 100%;
height: 100%;
background: rgba(0,0,0,0.6);
display: none;
position: absolute;
top: 0;
left: 0;
z-index: 0;
}

.post.mapa {
padding: 0!important;
}

.post.mapa .post_body {
width: 100%;
}

.mapa iframe {
  height: 25vw;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  opacity: 1;
  margin-bottom: -11px;
}

/* RIGHTBAR */

#max-rightbar {
padding: 30px 0;
clear: both;
margin: 0;
width: 100%;
text-align: left;
position: relative;
background: rgba(0,0,0,0.3);
}

#rightbar {
padding: 0;
clear: both;
margin: 0 auto;
width: 100%;
text-align: center;
}

#rightbar a, #rightbar a:hover, #rightbar .content2 p {
color: var(--color6);
position: relative;
font-size: 16px;
}


#rightbar .boxed, x#rightbar .post_formulare {
margin: 0;
padding: 30px 0;
width: 600px;
display: inline-block;
text-align: center;
vertical-align: top;
}

#rightbar h2 {
padding: 0 !important;
font-weight: 200 !important;
font-size: 24px !important;
margin-bottom: 20px !important;
position: relative;
display: block;
color: var(--color6);
text-transform: none;
}

#rightbar .boxed .content2 {

}

.boxed ul {
  list-style-type: none;
}

small {
font-size: 16px;
margin: 3px 0;
font-weight: 700;
color: var(--color11);
}

#footer {
margin: 0 auto -30px;
width: 100%;
text-align:center;
padding: 0;
clear: both;
background: var(--color4) url(userFiles/img/bg-city.png) no-repeat center bottom;
    background-size: contain;
}

#footer-content  {
background: rgba(0,0,0,0.3);
}

#footer-content * {
width: 100%;
margin: 0 auto;
clear: both;
font-size: 12px;
color: var(--color6);
}

/* SLIDER */

#max-slide{
z-index: 0;
width: 100%;
border: none;
margin: -90px 0 0;
display: none;
position: relative;
overflow: hidden;
}

.uvod #max-slide {
display: block;
}

.slider-wrapper {
position: relative;
width: 100%;
height: 100vh;
border: none;
top: 0px;
margin: 0 auto;
display: none;
}

.uvod .slider-wrapper {
display: block;
}


.theme-default #slider {
    margin:0px auto 0 auto;
}
.theme-default .nivoSlider {
position:relative;
background: rgba(0,0,0,0);
-webkit-box-shadow: none;
box-shadow: none;
margin-bottom: 0;
/*height: calc(100vh - 50px);*/
}

.theme-default .nivoSlider img {
width: 100%;
}


.theme-default .nivo-controlNav {
text-align: left;
padding: 0px 0;
position: relative;
bottom: 50px;
z-index: 100;
left: calc(50vw - 600px);
width: 600px!important;
}

.theme-default .nivo-controlNav a {
display:inline-block;
width: 16px;
height: 16px;
background: var(--color11);
border: 1px solid var(--color11);
text-indent:-9999px;
border:0;
margin: 0 5px;

}

.theme-default .nivo-controlNav a.active {
background: transparent;
border: 1px solid var(--color11);
}

.theme-default .nivo-directionNav a {
display:block;
width: 30px;
height: 30px;
background: url(userFiles/system/arrow.png) no-repeat;
text-indent:-9999px;
border:0;
top: 48%!important;
color: transparent;
/*display: none!important;*/
}

.theme-default a.nivo-nextNav {
background-position:-30px 0;
right: 5px!important;
}

.theme-default a.nivo-prevNav {
left: 5px;
}

.theme-default .nivo-caption {
position: absolute!important;
top: 0;
bottom: 0;
height: auto;
padding: calc(100px + 6vw) 0 0 6vw !important;
width: 100%!important;
margin: 0;
margin: 0 auto;
text-align: left;
background: rgba(0,0,0,0.3);
display: inline-block!important;
opacity: 1;
}

.nivo-caption h2 {
font-size: 4vw;
line-height: 1;
font-weight: 700;
display: block;
margin: 0 auto;
padding: 0 55% 1vw 0;
color: var(--color6)!important;
}

.nivo-caption h3, #sidebar .nivo-caption h3 * {
font-size: 24px!important;
margin: 10px 0;
font-weight: 300;
}

.nivo-caption p {
font-size: 2.6vw;
line-height: 1.15;
font-weight: 200;
display: none;
padding: 10px 55% 0 0!important;
color: var(--color6);
margin: 0 auto;
}

.uvod .nivo-caption h2, .uvod .nivo-caption p {
display: block!important;
opacity: 1;
}

.nivo-caption a.more {
border: none;
padding: 6px 24px!important;
font-size: 16px!important;
display: inline-block!important;
line-height: 3;
}

div.galleryItem {
vertical-align: top;
float: left;
display: block;
border: none !important;
margin: 0 25px 20px 0;
padding: 0;
background: none;
border:none;
}

div.galleryItem:hover {
background: rgba(255, 255, 255, 0.2);
}

div.galleryItem .frameh, div.galleryItem .frame {
width: 156px;
padding: 0;
margin: 0;
}

div.galleryItem .frame img {
border: none !important;
max-width: 300px;
max-height: 200px;
width: 156px;
height: auto;
}

.galleryItem .popisek.horni {
color:var(--color6);
font-weight: 300;
/*text-transform: uppercase;*/
font-size: 15px;
}
div.galleryProgress {
background-color:
transparent !important;
border: 0px !important;
}
.galleryItemBigCont {
 text-align: center !important;
}
div.galleryItemBigCtrls {
clear: both !important;
float: none  !important;
display: inline;
white-space: nowrap;
text-align: center;
}
.galleryItemBig {
text-align: center !important;
}


.addthis_container {
text-align: right !important;
margin: 0px 0 0 0!important;
clear: both;
position: relative;
bottom: 8px;

z-index: 10;
width: 155px;

}
.uvod .addthis_container {
display: block;
}

.addthis_container a {

}

.addthis_toolbox {

width: 170px;
}

#linkovani_fb {
clear: both;
margin: 0px 0px 0;
padding: 20px 0 0;
overflow: hidden;
}

.fb_iframe_widget {
position: relative;
bottom: 17px;
display: block!important;
width: 400px!important;
margin: 10px auto !important;
padding: 5px 3px 0;
}

.fb-like-box span iframe {
width: 100%!important;
}

div.rsslink {
position: absolute;
right: 0;
font-size: 11px;
display: block;
clear: both;
color: var(--color2) !important;
background: var(--color6)556;
display: none;

}
div.rsslink a{

font-size: 11px;

color: var(--color2) !important;
}
#rightbar ._round-cont {
margin: 5px 3px 0px 0 !important;
}.paticka_vzhled {display:none;}




.intro {
border: none;
border-collapse: separate;
border-spacing: 10px;
padding: 0;
margin: 0;
width: 1200px;
background: transparent;
}

table.katalog {
border-spacing: 0;
}

table.produkty {
border: none;
border-collapse: separate;
border-spacing: 5px;
padding: 0;
margin: 30px 0;
width: 1200px;
background: transparent;
text-align: center;
}

.ikony {
width: 100%;
border: none;
border-collapse: separate;
border-spacing: 10px;
margin: 30px auto 0!important;
}

.ikony td {
padding: 15px;
text-align: center;
font-weight: 200;
position: relative;
min-height: 230px;
}

.ikony td:hover, div.owl-item>div:hover {
-webkit-box-shadow: 0 20px 30px 0 rgba(0,16,45,.18);
box-shadow: 0 20px 30px 0 rgba(0,16,45,.18);
-ms-transform: translateY(-10px) !important;
transform: translateY(-10px) !important;
z-index: 2;
}

.ikony h2 {
margin: 0 !important;
padding: 0px 0 !important;
font-weight: 700 !important;
font-size: 20px !important;
text-transform: none;
}

.ikony img {
height: 80px;
display: block;
margin: 0 auto!important;

}

.referencni, table.kontakty {
border: none;
border-collapse: separate;
border-spacing: 10px 30px;
padding: 0;
margin: 0;
width: 100%;
}

.intro h2 {
font-weight: 700 !important;
font-size: 24px !important;
padding: 10px 0 0 !important;
text-transform: none;
margin: 0;
}

/*div.intro h2 {
color: var(--color6);
background: var(--color11);
padding: 5px 10px !important;
font-size: 16px !important;
margin: 10px 0 5px -15px;
display: inline-block;
}*/

.intro p {
font-size: 16px!important;
}

table.produkty h2 {
font-size: 28px;
padding: 10px 0 0!important;
font-weight: 700!important;
}

table.produkty td:hover h2, table.produkty td:hover p {
color: var(--color6);
opacity: 1;
}

.intro h3 {
font-weight: 300!important;
font-size: 18px!important;
padding: 0!important;
text-transform: uppercase;
}

.intro td {
    padding: 15px;
margin: 0;
position: relative;
  font-weight: 400;
    vertical-align: top;
overflow: hidden;
background: var(--color6);
-webkit-box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.3);
box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.3);
}

.intro td {
min-height: 436px;
}

/*div.owl-item>div>div {
width: calc(100% + 30px);
margin: -15px 0 0 -15px;
height: 230px;
overflow: hidden;
}*/

.post.active-link .more {
  position: absolute;
  left: 0;
  width: 100%;
  top: -10px;
  height: 100%;
  font-size: 0 !important;
  color: transparent;
  border: none !important;
}

.post.active-link .more:hover {
  background: none !important;
}

table.produkty td {
    padding: 20px;
margin: 0 0 33px 0px;
position: relative;
  font-weight: 400;
    vertical-align: top;
overflow: hidden;
background: var(--color6);
-webkit-box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.3);
box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.3);
}


table.katalog td {
width: calc(33% - 14px);
display: inline-block;
margin: 5px;
}

table.produkty td {
background: rgba(0,0,0,0);
padding: 10px;
height: 220px;
}

table.produkty td:hover {
background: rgba(0,0,0,1);
}

table.kontakty td {
text-align: center;
padding: 0 30px;
color: var(--color6);
vertical-align: top;
}

table.kontakty strong, table.kontakty a {
    font-size: 20px!important;
    font-weight: 700;
    margin: 0 0 10px 0;
}

table.kontakty .mdi:before {
color: var(--color6);
    padding: 10px 0;
font-size: 40px;
    line-height: 1;
    display: inline-block;
}

.col-2 td {
width: 50%;
}

.col-3 td, .col-21 td:last-child {
width: 33%;
}

.post.col-3 td {
width: calc(33% - 10px);
display: inline-block;
vertical-align: middle;
margin: 8px 5px;
}

.col-4 td {
width: 25%;
}


.post.col-4 td {
width: calc(25% - 18px);
display: inline-block;
vertical-align: middle;
margin: 8px 5px;
}

.intro img {
width: calc(100% + 30px);
margin: -15px 0 0 -15px!important;
-webkit-box-shadow: none!important;
box-shadow: none!important;
display: block;
}

table.produkty img, .referencni img {
width: 100%;
margin: 0!important;
-webkit-box-shadow: none;
box-shadow: none;
display: block;
padding: 2px;
}

.referencni td {
padding: 0 7px;
}

.referencni h2, .referencni td {

}

.intro img, table.produkty img {
transition: transform 0.5s ease-out;
}

.intro td:hover {
-webkit-box-shadow: 0 20px 30px 0 rgba(0,16,45,.18);
box-shadow: 0 20px 30px 0 rgba(0,16,45,.18);
-ms-transform: translateY(-10px) !important;
transform: translateY(-10px) !important;
}

table.produkty img {
position: absolute;
top: 0;
left: 0;
}

table.produkty td:hover img {
opacity: 0.2;
}

.profil {
min-height: 260px;
}

.profil img {
  padding: 0px;
  width: 150px;
  height: 150px;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  -webkit-box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.1);
}


img.img-float-left {
  float: left;
margin: 0px 50px 20px 0px !important;
}

img.img-float-right {
  float: right;
margin: 0px 0px 20px 50px !important;
}

.bg-profil p {
color: var(--color6);
}

.karta {
border: none;
border-collapse: separate;
border-spacing: 0 10px;
padding: 0;
margin: 0;
width: 100%;
}

.karta h2 {
padding: 0!important;
margin: 0!important;
}

.border-tr .karta tr {
background: var(--color6);
-webkit-box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.3);
box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.3);
}

.border-tr .karta span {
width: 180px;
display: inline-block;
}

.border-tr .karta h2 {
color: var(--color11);
font-weight: 700;
font-size: 26px;
}

.karta td {
padding: 0;
}

.karta tr:nth-child(2n+1) td:first-child, .karta tr:nth-child(2n) td:last-child {
padding: 40px;
}

.border-tr .karta tr:nth-child(2n+1) td:first-child, .border-tr .karta tr:nth-child(2n) td:last-child {
padding: 40px 120px;
}

.karta.reverse tr:nth-child(2n+1) td:first-child, .karta.reverse tr:nth-child(2n) td:last-child {
padding: 0;
}

.karta.reverse tr:nth-child(2n+1) td:last-child, .karta.reverse tr:nth-child(2n) td:first-child {
padding: 20px;
}



.karta img {
width: 100%;
margin: 0!important;
-webkit-box-shadow: none;
box-shadow: none;
display: block;
}

.tabulka {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
}

.tabulka th {
font-weight: 700;
padding: 7px 12px;
text-align: left;
/*border: 1px solid rgba(0,0,0,0.075);*/
border-bottom: 4px solid var(--color11);
}

.tabulka tr:hover{
background: none!important;
}

.tabulka tr td {
border: 1px solid rgba(0,0,0,0.075);
border-left: none;
border-right: none;
text-align: left;
padding: 7px 12px;
}

.tabulka tr.licha td {
background: rgba(0,0,0,0.01);
}

table.ordinacni-hodiny {
/*width: 100%;*/
border-collapse: collapse;
margin: 0;
}

table.ordinacni-hodiny tr td {
border: 1px solid rgba(255,255,255,0.075);
text-align: left;
padding: 5px 10px;
font-size: 14px;
min-width: 80px;
}

table.ordinacni-hodiny tr td:not(:first-child) {
text-align: center!important;
}

#ordinacni-hodiny table.ordinacni-hodiny {
width: 50%;
}

#ordinacni-hodiny table.ordinacni-hodiny tr td {
border: 1px solid rgba(0,0,0,0.1);
font-size: 18px;
}

/*.cenik table tr:not(:first-child) td:last-child {
text-align: right;*/

#TB_window {
z-index: 900;
}

._round-cont div {
background: none!important;
}

#max-info {
position: absolute;
display: block;
right: 0;
top: 0;
background: var(--color11);
padding: 0 0 0 0;
height: 40px;
display: none;
}

#max-info:before {
content: " ";
width: 0;
height: 0;
display: block;
position: absolute;
top: 0px;
left: -40px;
z-index: 0;
border-style: solid;
border-width: 0px 40px 40px 0;
border-color: transparent var(--color11) transparent transparent;
}

#max-info .social-icon, #max-info .contacts-icon {
  position: relative;
  display: inline-block;
  padding: 0;
margin: 0 0 0 10px;
}

#max-info .contacts-icon .mdi {
display: inline-block;
  color: inherit;
  font-size: 14px;
margin-right: 10px;
color: var(--color6);
line-height: 40px;
}

#max-info .contacts-icon .mdi a {
  font-size: 14px;
color: var(--color6);
}

#max-info .contacts-icon .mdi::before {
font-size: 18px;
color: var(--color6);
display: inline-block;
margin: 0 3px 0 0;
line-height: 1;
vertical-align: middle;
}

#max-info p a:before {
color: var(--color6) !important;
font-size: 16px;
line-height: 1;
margin: 0 10px 0 0px !important;
}

.contacts-icon .mdi {
line-height: 2;
color: var(--color6);
display: block;
margin: 0 10px 0 0;
vertical-align: middle;
}

.contacts-icon .mdi::before {
font-size: 18px;
color: var(--color6);
display: inline-block;
margin: 0 10px 0 0;
vertical-align: middle;
}

.social-icon {
position: relative;
display: inline-block;
z-index: 10;
padding: 0;
}

#header .social-icon {
  margin-left: 20px;
}


.social-icon .mdi {
    color: transparent!important;
}

.social-icon p {
display: inline-block;
}

.social-icon .mdi:before {
font-size: 18px;
color: var(--color12);
line-height: 2;
display: inline-block;
margin: 0 10px 0 0 !important;
vertical-align: middle;
}

#header .social-icon .mdi:before {
margin: 0 5px !important;
}


a[name] {
display: block;
position: relative;
top: -200px;
visibility: hidden;
}

form>table {
border-spacing: 10px;
}

form>table label {
display: block;
}

table label>span {
    margin: 2px 15px 2px 5px;
}

.ikony .mdi, table.kontakty .mdi {
color: transparent!important;
    text-align: center;
}

.ikony .mdi:before {
color: var(--color12);
font-size: 54px;
line-height: 64px;
padding: 18px;
margin: 0 !important;
display: inline-block;
position: relative;
/*background: var(--color6);*/
border-radius: 100px;
/*-webkit-box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.1);
box-shadow: 5px 5px 0px 0px rgba(0, 0, 0, 0.1);*/
}

form table input {
width: 100%;
}

form table input.button {
width: auto;
}

#max-rightbar .post_formulare {
box-shadow: 0px 0px 20px 10px rgba(0,0,0,0.3);
padding: 30px;
background: rgba(0,0,0,0.6);
margin: 30px auto 0;
}

.bform.form-basic {
  width: 650px;
margin: -210px auto 0;
  background: var(--color11);
  padding: 20px;
  z-index: 1;
  position: relative;
  -webkit-box-shadow: 0 0px 20px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0px 20px 10px rgba(0, 0, 0, 0.2);
}

.bform label {
    padding: 0;
    display: inline-block;
    width: 25%;
    vertical-align: top;
color: var(--color6);
}

.bform>form>div>div {
  padding: 0;
  margin: 15px 0;
}

.bform .form_checkbox_option, textarea, .bform .form_radio_option {
  padding: 6px;
  display: block;
  width: 100%;
color: var(--color6);
}

.bform .form_textbox, .bform input#email_odesilatel, .bform input.form_email, textarea {
padding: 8px 12px;
display: block;
width: 100%;
background: none;
border: 1px solid rgba(255,255,255,0.7);
color: var(--color6);
}

.bform .form_checkbox_option>input, .bform .form_radio_option>input {
margin: 0 5px !important;
}


.bform .form_checkbox_option>label, .bform .form_radio_option>label {
padding: 0 0 0 5px!important;
width: calc(100% - 30px);
}

#acheckbox_236_98136{
  display: block;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 10px;
}

#acheckbox_236_98136>label {
  font-weight: 600;
  padding-bottom: 5px;
}

.bform .form_souhlas {
margin: 20px 0 !important;
float: none;

}

.bform input#souhlas {
    display: inline-block;
    width: 30px;
/*height: 18px;*/
    position: relative;
float: none;
}

.bform input#souhlas + label {
display: inline-block;
width: calc(100% - 40px);
float: none;
color: var(--color52);
font-size: 16px;
}

.bform form input.button{
    margin: 0 auto !important;
}

.bform .form_radio_option>label {
    margin: 3px 0;
}

.bform.form-basic .form_textbox_label, .bform.form-basic .form_email_label, .bform.form-basic .form_textarea_label {
display: none !important;
}

.post.none, .boxed.none {
display: none!important;
}

/* Slider úvod - reference */

.section-padding {
padding:20px 0;
}

.brand-carousel {
background: none;
margin-top: 0px;
}

.owl-dots {
text-align: center;
margin-top: 1%;
}

div.owl-item>div {
    padding: 15px;
margin: 0;
position: relative;
  font-weight: 400;
    vertical-align: top;
overflow: hidden;
background: var(--color6);
-webkit-box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.3);
box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.3);
min-height: 240px;
}

div.owl-item h2 {
font-size: 18px;
margin: 0 !important;
padding: 15px 0 0 0;
}

div.owl-item h2:before {
content: "\F1022";
font-family: "Material Design Icons" !important;
position: relative;
font-weight: 400;
font-size: 36px;
line-height: 1;
display: block;
color: var(--color5);
margin: 0 auto 20px;
text-align: center;
}

.owl-dot {
display: inline-block;
height: 10px !important;
width: 50px !important;
background-color: var(--color4)!important;
opacity: 1;
border-radius: 0;
margin: 0 5px;
}

.owl-dot.active {
background-color: var(--color11)!important;
}

.owl-carousel .owl-item {
padding: 5px 1px 40px 1px!important;
/*text-align: center;*/
border-right: 0px solid rgba(0,0,0,0.2);
}

/*.owl-carousel .owl-item img {
width: 100%;
display: block;
margin: 0 auto !important;
}*/

.owl-carousel .owl-item h3 {
color: var(--color11)!important;
font-weight: 400!important;
font-size: 22px!important;
margin: 10px 0 2px 0 !important;
}

.owl-carousel .owl-item p.intro-link {
background: var(--color8) !important;
color: gray !important;
font-weight: 300 !important;
font-size: 13px !important;
display: inline-block;
padding: 2px 12px !important;
margin-bottom: 10px !important;
}

.owl-carousel .owl-item .mdi:before {
color: var(--color11);
font-size: 18px;
margin: 0 6px 0 0;
vertical-align: middle;
}

.owl-carousel .owl-item .ico-seznam {
background: url(userFiles/icons/ico-seznam.png) left center no-repeat;
background-size: 18px;
padding-left: 26px !important;
display:inline-block;
}

.owl-carousel .owl-dots.disabled {
display: block;
}

.owl-carousel .owl-item img {
width: 120px;
height: 120px;
margin: 0 auto !important;
-webkit-box-shadow: none !important;
box-shadow: none !important;
display: none;

}

#footer .paticka_cookies {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color4);
  padding: 15px 0;
  font-weight: 300;
  color: var(--color6);
z-index: 100;
}

#footer .paticka_cookies_close span {
  float: none;
  margin: 0 20px;
  color: var(--color6);
background: rgba(0,0,0,0.3);
padding: 6px 9px;
}

.paticka_cookies a.cookies-info, #footer .paticka_cookies .paticka_cookies_deny, #footer .paticka_cookies .paticka_cookies_allow {
  color: var(--color6)!important;
background: rgba(0,0,0,0.3);
  text-decoration: none;
margin: 0 5px;
border: none;
padding: 6px 9px;
border-radius: 0;
}

#footer .paticka_cookies .paticka_cookies_deny:hover, #footer .paticka_cookies .paticka_cookies_allow:hover, .paticka_cookies a.cookies-info:hover {
background: rgba(0,0,0,0.6);
  color: var(--color6)!important;
}

/* ===================================================================== */
/* --- OPRAVY: SLIDER, MEZERY A KOMPLETNÍ RESPONZIVITA (MOBIL I PC) ---  */
/* ===================================================================== */

#pull, #kont { display: none !important; }

/* 1. OPRAVA DVOJITÉHO POSUVNÍKU NA PC */
html { overflow-y: visible !important; overflow-x: visible !important; }
body { overflow-x: hidden !important; max-width: 100vw !important; }

/* 2. ZÁKLADNÍ OPRAVA SLIDERU A MEZER */
#max-slide { display: block !important; margin: 0 !important; padding: 0 !important; width: 100% !important; clear: both !important; }
.slider-wrapper, .theme-default #slider { width: 100% !important; max-width: 100% !important; height: auto !important; margin: 0 !important; }
.theme-default .nivoSlider { -webkit-box-shadow: none !important; box-shadow: none !important; margin-bottom: 0 !important; }
.theme-default .nivoSlider img { width: 100% !important; height: auto !important; max-width: none !important; }

/* 3. OPRAVA NEVIDITELNÉHO MENU NA PC (Tmavý text a bílé pozadí natvrdo) */
#max-header { 
    margin-bottom: 0 !important; 
    height: auto !important; 
    background: #ffffff !important; 
    z-index: 99999 !important;
}
.uvod #menu>ul>li>a, #menu>ul>li>a, #locales a { 
    color: #585858 !important; /* Vynucení tmavého textu hned odshora */
}
.uvod #logo a { 
    background-image: url(userFiles/img/logo.png) !important; /* Vynucení barevného loga */
    color: #585858 !important; 
}

#main { margin-top: 0 !important; padding-top: 0 !important; clear: both !important; }
.post:first-of-type { padding-top: 20px !important; }

/* 4. ROZTAŽENÍ SLIDERU POUZE PRO PC */
@media screen and (min-width: 993px) {
    #max-slide, .slider-wrapper {
        width: 100vw !important; max-width: 100vw !important;
        position: relative !important; left: 50% !important; right: 50% !important;
        margin-left: -50vw !important; margin-right: -50vw !important;
    }
}

/* 5. NATVRDO ZOBRAZENÁ NABÍDKA NA MOBILU (Nad sliderem) */
@media screen and (max-width: 992px) {
    #main .post_top, #main .post_body, #sidebar, .news, .intro, table.produkty, #wrap {
        width: 100% !important; max-width: 100% !important; padding-left: 15px !important; padding-right: 15px !important; box-sizing: border-box !important;
    }

    /* Hlavička hezky nad fotkou, fotka se přirozeně posune pod ni */
    #max-header {
        position: relative !important; 
        width: 100% !important;
        display: block !important;
        min-height: 50px !important;
        padding-bottom: 10px !important;
    }
    
    #header { display: block !important; width: 100% !important; padding: 10px 0 0 0 !important; }
    #logo { display: block !important; width: 100% !important; text-align: center !important; margin: 0 !important; }
    #logo a { display: inline-block !important; background-position: center top !important; height: 60px !important; width: 200px !important; }
    
    /* Vynucené odblokování menu */
    #menu { 
        display: block !important; 
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important; 
        width: 100% !important; 
        margin: 5px 0 0 0 !important; 
        padding: 0 !important; 
        height: auto !important;
        transform: none !important;
        background: #ffffff !important;
        z-index: 999999 !important;
    }
    
    #menu > ul { 
        display: flex !important; 
        flex-wrap: wrap !important; 
        justify-content: center !important; 
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        background: #ffffff !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    #menu > ul > li { display: inline-block !important; margin: 5px 8px !important; width: auto !important; visibility: visible !important; }
    
    #menu > ul > li > a { 
        display: block !important; 
        padding: 5px 10px !important; 
        color: #333333 !important; 
        font-size: 15px !important; 
        font-weight: 700 !important; 
        background: none !important;
        text-transform: uppercase !important;
        visibility: visible !important;
    }

    #max-rightbar, #rightbar, #rightbar .boxed, #footer, #footer-content { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; padding-left: 10px !important; padding-right: 10px !important; display: block !important; }
}

@media screen and (max-width: 768px) {
    table.kontakty td, .col-2 td, .col-3 td, .col-4 td { display: block !important; width: 100% !important; box-sizing: border-box !important; padding: 10px 0 !important; }
    #main h1, .boxed h1 { font-size: 24px !important; }
    .mapa iframe { width: 100% !important; height: 300px !important; }
    img { max-width: 100% !important; height: auto !important; }
}/*-------------STYLE-------------*/@media screen and (max-width: 1200px) {
    body, body.uvod, #wrap, #footer, #footer-content, #header, #sidebar, .post, .produkty, .intro {
        width: 100% !important;
    }
    
    #main, .uvod .post:first-child .post_top, #main .post:first-child h1 {
        width: 100%;
    }

    /* Logo a Slogan */
    #logo { left: 60px; }
    #slogan { left: 60px; display: inline-block; }

    /* Menu Mobilní - Start */
    #pull {
        height: 40px; width: 40px; display: inline-block; cursor: pointer;
        color: var(--color11); position: relative; top: -3px; left: 5px; z-index: 100;
    }
    #pull:after {
        content: "\F035C"; font-family: "Material Design Icons" !important;
        font-size: 38px; color: var(--color11);
    }
    .uvod #pull:after { color: var(--color6); }
    
    #menu { width: 100%; position: absolute; top: 26px; left: 0; z-index: 600; }
    #menu>ul {
        display: block; position: absolute; left: 0; top: 70px;
        background: var(--color6); width: 300px; margin-left: -300px;
        transition: margin 0.3s ease;
    }
    #menu>ul>li { display: block; width: 100%; border-bottom: 1px solid rgba(0,0,0,0.05); }
    #menu>ul>li>a { line-height: 60px; padding-left: 20px; color: var(--color11); }

    /* Ostatní úpravy pro tablety */
    .post.col-3 td { width: calc(33% - 12px); }
    .mapa iframe { height: 50vw; }
    
    /* Slider Tablet */
    .theme-default .nivo-caption { padding: calc(90px + 8vw) 5vw 0 5vw !important; }
    .nivo-caption h2 { font-size: 8vw; }
}/*-------------STYLE-------------*/@media screen and (max-width: 600px) {
    /* 1. Odstranění bílé díry pod úvodem */
    .post.img-full {
        height: auto !important; 
        min-height: 350px !important;
        padding: 80px 20px 30px 20px !important; /* Zrušíme to 25vh, co dělalo tu díru */
    }

    /* 2. Oprava uříznutého textu (původně tam bylo padding 50%) */
    .post.img-full .post_body p {
        padding: 0 !important;
        width: 100% !important;
        font-size: 20px !important;
        text-align: center !important;
    }

    /* 3. Vaše původní nastavení (ponecháno a upraveno) */
    #slogan { display: none; } /* Na mobilu raději skrýt, plete se do loga */
    
    .post.col-3 td, .post.col-4 td { 
        width: 100% !important; /* Na mobilu je lepší mít sloupce pod sebou */
        display: block !important;
        margin-bottom: 20px;
    }
    
    table.kontakty td { width: 100%; display: block; padding: 0; margin-bottom: 40px; }
    
    /* 4. Oprava té "ustřelené" hnědé patičky z fotky */
    .bform.form-basic, #max-rightbar .post_formulare { 
        width: calc(100% - 20px) !important; 
        margin: 20px auto !important;
        float: none !important;
        left: 0 !important;
    }

    /* 5. Oprava mapy a iframe, aby nepřetékaly */
    .mapa iframe {
        height: 300px !important;
        width: 100% !important;
    }
}/*-------------STYLE-------------*/@media screen and (max-width: 380px) {
    #logo { left: 50px; }
    #logo a { width: calc(90vw - 70px); height: 65px; }
}