/* CSS Document */

/* --- TYPOGRAFIE (sjednoceno na rem) ---------------------------------
   Základ: 1rem = 16px (výchozí nastavení prohlížeče)
   Všechny font-size v px / % / mm byly převedeny na rem pro lepší čitelnost na mobilu i PC.
----------------------------------------------------------------------- */
:root{
  /* Typografická škála pomocí clamp()
     - Na mobilu držíme minimální čitelnost (větší minima)
     - Na velkých obrazovkách se text mírně zvětší, ale neuteče
     Pozn.: 1rem = výchozí velikost prohlížeče (typicky 16px)
  */
  --fs-xs:   clamp(0.9rem, 0.80rem, 0.9rem); /* malé popisky (min ~15.2px) */
  --fs-sm:   clamp(1.00rem, 0.92rem, 1.10rem); /* drobnější text (min 16px) */
  --fs-base: clamp(1.05rem, 1rem, 1.1rem); /* běžný text (min ~16.8px) */
  --fs-md:   clamp(1.1rem, 1rem, 1.1rem); /* zvýrazněný text (min ~18.4px) */
  --fs-lg:   clamp(1.25rem, 1.05rem, 1.1rem); /* menu / tlačítka (min 20px) */
  --fs-xl:   clamp(1.2rem, 1.10rem, 1.2rem); /* H2 / větší nadpisy */
  --fs-xxl:  clamp(1.1rem,  1.1rem, 1.2rem); /* H1 */
  --fs-2xl:  clamp(1.3rem, 1.1rem, 1.20rem); /* speciální (cca 1.6rem dříve) */
}

/* Globální prevence overflow – MUSÍ být mimo media query, jinak prohlížeč expanduje viewport dříve */
html {
  font-size: var(--fs-base);
  overflow-x: hidden;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Všechny elementy nesmí přetéct – globálně, ne jen v media query */
*, *::before, *::after {
  box-sizing: border-box;
  min-width: 0;
}

img, video, iframe, table {
  max-width: 100%;
}
body{ line-height:1.6; } /* lepší čitelnost textu */

body{
 color: #343434;
 font-family: Arial, Verdena;
 font-size: var(--fs-base);
 text-decoration: none;
 text-align: center;
 padding: 0px;
 margin: 0px;
}
hr {
 height: 0px;
 border-bottom: 1px solid rgba(200,200,200,0.5);
 clear: both;
 opacity: 0.5;
}
a:hover {
 color: #000 !important;
 text-decoration: underline;
}
a:visited{color: #111 !important;}

.menu_odkaz a, a:hover, a:visited  {color: #222 !important;}

/* Plynulý přechod při změně třídy pozadí */
body[class*="truhlarstvi-bg_"] {
  transition: background-color 0.8s ease;
}

.truhlarstvi-bg_01{
 background: #99A8A2 url(../image/Truhlarstvi-pozadi-body_01.jpg) no-repeat fixed left top;
  background-attachment: fixed;
 background-size: 100% auto;
}
.truhlarstvi-bg_02{
 background: #99A8A2 url(../image/Truhlarstvi-pozadi-body_02.jpg) no-repeat fixed left top;
  background-attachment: fixed;
 background-size: 100% auto;
}
.truhlarstvi-bg_03{
 background: #99A8A2 url(../image/Truhlarstvi-pozadi-body_03.jpg) no-repeat fixed left top;
  background-attachment: fixed;
 background-size: 100% auto;
}
.truhlarstvi-bg_04{
 background: #99A8A2 url(../image/Truhlarstvi-pozadi-body_04.jpg) no-repeat fixed left top;
 background-attachment: fixed;
 background-size: 100% auto;
}
form{
 padding: 0px;
 margin: 0px;
}
h1{
 color: #eee;
 font-size: var(--fs-xxl);
 text-align: left;
 margin-left: 20px;
 margin-top: 20px;
}
h2{
 color: #eee;
 font-size: var(--fs-xl);
 text-align: left;
 margin: 0px;
 padding: 0px;
}
h3{
 text-align: left;
 margin: 0px;
 padding: 0px;
}
.zerogrid {
  background-image: url(../image/bg_000000_30.png), url(../image/sach_03_50.png);
  background-repeat : repeat,repeat;
  text-align: left;
  margin-bottom: 0px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 51px;
  padding: 0px;
  position: relative;
  width: 100%;
  border: 1px solid rgb(204,153,0);
  border-bottom: 2px solid rgb(255,153,0);
  border-radius: 9px;
}
.head_telefon{
color: #FFF;
font-size: var(--fs-xxl);
font-weight: bold;
height: 30px;
display: flex;
align-items: center;
gap: 8px;
white-space: nowrap;
}
.qr-kontakt{
display: inline-flex;
align-items: center;
justify-content: center;
width: 47px;
height: 47px;
padding: 4px;
background-color: rgba(255,255,255,0.9);
border: 1px solid rgba(5,5,5,0.5);
border-radius: 4px;
vertical-align: middle;
flex-shrink: 0;
}
.qr-kontakt img{
width: 100%;
height: 100%;
object-fit: contain;
display: block;
}
.logo {
 float: left;
 display: flex;
 flex-direction: column;
 align-items: flex-start;
 width: fit-content;
 min-width: 260px;
 height: 150px;
 margin-bottom: 15px;
 margin-left: 15px;
 margin-right: 15px;
 margin-top: 10px;
 padding: 1px;
}
/* Select */
.select-text {
 color: #EEE;
 margin: 15px;
 padding: 0px;
 float: right;
 border: 0px solid rgb(204,153,0);
}
.select-text form {
 display: flex;
 align-items: center;
 gap: 4px;
}
.select-text input[type=text]{
 width: 129px;
 color: #555;
 height: 30px;
 margin: 0px;
 padding: 0px;
 padding-left: 5px;
 border: 1px solid #000;
 border-radius: 5px;
}
.select-text input[type=submit]{
 width: 29px;
 height: 30px;
 margin: 0px;
 padding: 0px;
 background-image: url(../image/input-enter-01.png);
 background-repeat: no-repeat;
 border: 1px solid rgb(204,153,0);
 cursor: pointer;
 border-radius: 3px;
 flex-shrink: 0;
}
/* --- -------- ------ */
.col-1-2 {
 width: 350px;
 display: inline-block;
 margin: 10px;
}

.block-1 {
 border: 2px solid #BBB;
 border-radius: 8px;
 background-color: rgba(255,255,255,0.5);
}
.block-1-nadpis{
 color: #000;
 height: 40px;
 line-height: 40px;
 font-size: var(--fs-xl);
 font-weight: bold;
 margin-left: 0px;
 margin-right: 0px;
 background-image: url(../image/bground_22.jpg);
 background-repeat : repeat;
 border-bottom: 1px solid #444;
 border-radius: 8px;
 box-shadow:  2px 2px 5px 0px rgba(50, 50, 50, 0.54);
}
.color-1 {
 color: #1E1E1E;
 font-size: var(--fs-md);
 line-height: 120%;
 text-align: left;
 border: 0px solid red;
padding: 2px;
}
.color-1 a{
 color: #1E1E1E;
 display: block;
 text-align: left;
 text-decoration: none;
 background-image: url(../image/bg_ffffff_20.png);
 background-repeat : repeat;
 margin: 2px;
 margin-top: 4px;
 padding-left: 3px;
 padding-right: 3px;
 padding-top: 3px;
 border-left: 3px solid #eee;
 border-radius: 4px;
 transition: all 0.5s ease;
}
.color-1 a:hover{
 color: #000;
 background-image: url(../image/bg_ffffff_40.png);
 background-repeat: repeat;
}
a.link {
 color: #A83715;
 cursor: pointer;
}

a.button{
  color: #EEE;
  height: 45px;
  line-height: 45px;
  font-size: var(--fs-md);
  font-weight: bold;
  text-decoration: none;
  background-color: rgb(255,170,0);
  background-image:  url(../image/bground-footer_09-70.png), url(../image/odlesk-radius-fff-20.png);
  background-position:  left, -60px -400px;
  background-repeat:  repeat, no-repeat;
  margin-top: 10px;
  margin-right: 10px;
  padding-left: 20px;
  padding-right: 20px;
  display: inline-block;
  border: 1px solid #777;
  border-radius: 4px;
  box-shadow:    2px 2px 5px 0px rgba(50, 50, 50, 0.54);
 transition: all 0.5s ease;
}
a.button:hover{
  background-image:  url(../image/bground-footer_09-70.png), url(../image/odlesk-radius-fff-30.png);
  background-position:  left, -50px -400px;
  background-repeat:  repeat, no-repeat;
 border: 1px solid #999;
 box-shadow:    1px 1px 1px 0px rgba(50, 50, 50, 0.54);
 border-radius: 4px;
}

.Nadpis{
 width: 98%;
 margin: 0px;
 margin-left: 5px;
 margin-right: 5px;
 margin-top: 10px;
 padding:3px;
 float: left;
 border-bottom: 1px solid rgba(55, 55, 55, 0.6);
 border-radius: 4px;
 background-color: rgba(55,55,55,0.2);
 transition: all 1s ease;
}
.Nadpis:hover{
 background-color: rgba(55,55,55,0.5);
}
.Nadpis a{
 color: #EEE;
 font-size: var(--fs-xl);
 width: 99%;
 margin: 0px;
 margin-left: 5px;
 margin-right: 5px;
 margin-top: 10px;
 float: left;
 text-decoration: none;
 font-weight: bold;
}
.Nadpis a:hover, .Nadpis a:visited, .Nadpis a:link, .Nadpis a:active{
 color: #EEE !important;
}

.Foto{
 display: inline-block;
 float: left;
 background-color: #EEE;
 margin: 5px;
 padding: 8px;
 border: 1px solid #555;
 border-radius: 3px;
 box-shadow: 2px 2px 3px #555;
 
 transform: scale(1);
transition: all 200ms ease-in;
}
.Foto:hover{
 transition: all 200ms ease-in;
 transform: scale(1.08);
}
.Foto img{
 border: 1px solid #555;
 border-radius: 3px;
}
.anotace{
 color: #EEE;
 text-align: left;
 margin: 5px;
 padding: 10px;
 width: calc(100% - 260px);
 float: right;
 border: 0px solid red;
 border-radius: 5px;
 background-color: rgba(4, 4, 4, 0.4);
 transition:  background 1s;
}
.anotace:hover{
 color: #FFF;
 background-color: rgba(4, 4, 4, 0.8);
}
.top-aktuality-clanek{
 color: #EEE;
 text-align: left;
 background-color: rgba(4, 4, 4, 0.4);
 margin: 5px;
 width: 98%;
 float: left;
 padding: 10px;
 display: inline-block;
 border: 0px solid red;
 border-radius: 5px;
 transition:  background 1s;
}
.top-aktuality-clanek:hover{
 color: #FFF;
 background-color: rgba(4, 4, 4, 0.8);
}
.top-aktuality-clanek a {
  color: #EEE;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.5s ease;
}
.top-aktuality-clanek a:hover {
  color: #FFF;
  font-weight: bold;
  text-decoration: underline;
}
.menu{
 text-align: center;
 background-image:  url(../image/bground-footer_09-50.png), url(../image/bground_13b.jpg);
 background-repeat: repeat, repeat-x;
 background-position: center center, left top;
 height: 50px;
 margin-left: auto;
 margin-right: auto;
 margin-top: 0px;
 padding: 0px;
 display: block;
 position: fixed;
 top: 0px;
 width: 100%;
 border-bottom: 1px solid #555;
 opacity: 0.99;
 z-index:100;
}
.menu_odkaz{
 font-size: var(--fs-lg); /* původně 5.6mm */
 font-weight: bold;
 line-height: 20px;
 text-decoration: none;
 line-height: 40px;
 background-image: url(../image/bg_ffffff_50.png);
 background-repeat: repeat;
 margin-left: 0px;
 margin-right: 0px;
 padding-bottom: 5px;
 padding-left: 19px;
 padding-right: 19px;
 padding-top: 5px;
 opacity: 1;
 transition: all 0.5s ease;
}
.menu_odkaz:hover{
 color: #000;
 background-image: url(../image/bg_ffffff_70.png);
 background-repeat: repeat;
 text-shadow: 2px 2px 2px #888;
 opacity: 1;
 border-radius: 4px;
}
.facebook{
 width:  32px;
 height: 32px;
 background-image: url(../image/facebook_3.png);
 background-repeat : no-repeat;
 background-position : left top;
 float: right;
 margin: 3px;
 padding: 0px;
 border: 0px solid green;
 border-radius: 3px;
}
.oblibene{
 width:  20px;
 height: 20px;
 float: right;
 background-image: url(../image/oblibena-page.gif);
 background-repeat : no-repeat;
 background-position : left top;
 margin: 4px;
 border: 0px solid green;
 border-radius: 3px;
}
.rss{
 width:  26px;
 height: 26px;
 float: right;
 background-image: url(../image/rss-1.png);
 background-repeat : no-repeat;
 background-position : left top;
 margin: 4px;
 border: 0px solid green;
 border-radius: 3px;
}
.box_3 {
	text-align: center;
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	padding: 0px;
	padding-top: 0px;
	position: relative;
	width: 100%;
	border-radius: 10px;
	vertical-align: top;
}

.box_3_styl_obec{
  background-image: url(../image/logo-oldrichov-60.png), url(../image/bg_ffffff_30.png);
  background-repeat : no-repeat, repeat;
  background-position : 20px 50px, left top;
  border: 1px solid #AAA;
}
.box_3_styl_urad{
  background-color: rgba(50,50,50,0.2);
  background-repeat: repeat;
  background-position: left top;
  vertical-align: top;
  border: 1px solid #AAA;
}
.col-1-3 {
 width: 350px;
 vertical-align: top;
 display: inline-block;
 margin: 0px;
 margin-top: 1px;
}
.col-1-3a {
 width: 307px;
 vertical-align: top;
 display: inline-block;
 margin: 10px;
 margin-top: 1px;
}
.col-1-3-tipx {
 width: 30px;
 height: 30px;
 display: block;
 margin: 10px;
 margin-top: 1px;
 border: 1px solid rgb(255,204,0);
 border-radius: 5px;
 z-index:100;
}
.col-1-3-tip {
 top: -40px;
 left: -40px;
 position: relative;
 width: 42px;
 height: 42px;
 display: block;
 margin-bottom: 3px;
 margin-left: 0px;
 margin-right: 0px;
 margin-top: 0px;
 background-attachment: scroll;
 background-clip: border-box;
 background-image: url(../image/box-a-02-836991557.png);
 background-origin: padding-box;
 background-repeat: no-repeat;
 background-size: auto auto;
 color: #000000;
 border: 1px solid rgb(255,204,0);
 border-radius: 5px;
 z-index:100;
}
.tip-01{
 background-position: -3px -117px;
}
.tip-02{
 background-position: -60px -117px;
}
.tip-03{
 background-position: -107px -233px;
}
.icon-free-delivery {
 float: right;
 top: -30px;
 right: -20px;
 position: relative;
 width: 97px;
 height: 97px;
 display: block;
 margin: 0px;
 background-attachment: scroll;
 background-clip: border-box;
 background-color: rgba(0, 0, 0, 0);
 background-image: url("../image/st-free-delivery-1-1503920619.png");
 background-origin: padding-box;
 background-position: -100px -354px;
 background-repeat: no-repeat;
 background-size: auto auto;
 border: 1px solid rgb(255,204,0);
 border-radius: 5px;
 z-index: 110;
}
/* rol box*/
.menu-roll {
  background-color: #FFFFFF;
  box-shadow: 2px 2px 3px #B2B3B5;
  display: block;
  width: 304px;
  height: 200px;
  overflow-x: hidden;
  overflow-y: hidden;
  position: relative;
  border: 1px solid #BBB;
  border-radius: 7px;
  display: inline-block;
  margin: 10px;
  margin-left: 40px;
  margin-top: 20px;
}
.menu-roll1 {
  background-color: #FFFFFF;
  box-shadow: 0 2px 3px #B2B3B5;
  display: block;
  width: 304px;
  height: 200px;
  overflow-x: hidden;
  overflow-y: hidden;
  position: relative;
  border: 1px solid #BBB;
  border-radius: 5px;
  display: inline-block;
  margin: 10px;
  margin-top: 50px;
}
.animated {
 color: #FFF;
 height: 222px;
 padding-bottom: 24px;
 padding-left: 24px;
 padding-right: 24px;
 padding-top: 2px;
 background-image: url(../image/bg-03.png);
 background-repeat : repeat;
 background-position : 0px top;
 display: block;
 left: 0px;
 position: absolute;
 right: 0px;
 top: 165px;
 border-top: 2px solid #EEE;
 border-radius: 6px;
}

.animated-nadpis{
  text-align: left;
  font-size: var(--fs-xl); /* původně 6mm */
  font-weight: bold;
  text-decoration: none;
  color: #FFF;
  border-bottom: 1px solid #888;
}
.menu-odkazy{
 text-align: left;
 margin-left: 0px;
}
.menu-odkazy a{
  color: #FFF;
  height: 18px;
  line-height: 18px;
  margin-top: 1px;
  padding-left: 3px;
  text-decoration: none;
  display: block;
  background-image: url(../image/bg_ffffff_20.png);
  border-radius: 2px;
}
.menu_local{
 font-weight: bold;
 padding-left: 10px;
 font-size: var(--fs-2xl); /* původně 160% */
 display: inline-block;
  text-align: left;
 width: 100%;
 height: 40px;
 line-height: 40px;
 margin-left: 0px;
 margin-right: 0px;
 margin-bottom: 5px;
 border-radius: 10px;
}
.menu_text{
 color: #222;
 text-decoration: none;
 margin-left: 10px;
}
.menu_loc_d_01{
 color: #FFF;
 background-image:  url(../image/bground-footer_09-50.png), url(../image/bground_22.jpg);
 background-repeat: repeat, repeat;
 background-position: left top, center center;
 border-bottom: 1px solid #222;
 box-shadow: 2px 2px 5px 0 rgba(50, 50, 50, 0.54);
}
.menu_loc_d_02{
 color: #FFF;
 background-color: rgb(0,102,0);
 background-image: url(../image/bground-footer_09-60.png);
 background-origin: padding-box;
 background-repeat: repeat;
 background-position: 100% 0%;
 background-size: 100% 100%;
 border-bottom: 2px solid #002300;
 box-shadow: 2px 2px 5px 0 rgba(50, 50, 50, 0.54);
}
.menu_templ{
 color: #222;
 font-size: var(--fs-sm); /* původně 80% */
 text-align: right;
 text-decoration: none;
 width:  76px;
 height: 26px;
 line-height: 26px;
 margin: 3px;
 padding: 3px;
 float: right;
 position: relative;
 background-image:  url(../image/menu-go-2-70.png), url(../image/bg_ffffff_30.png);
 background-repeat : no-repeat, repeat;
 background-origin: padding-box;
 background-position:  10% center, center left;
 border: 1px solid #CCC;
 border-radius: 9px;
 transition: all 0.5s ease;
}
a.menu_templ:hover {
 border: 1px solid #111;
 border-radius: 2px;
}
.footer{
  xxposition: relative;

}
.footer-box{
 color: #999;
background-color: rgba(10,10,10,0.33);
font-size: var(--fs-xs);
 border: 1px solid #111;
 margin: 5px;

 padding: 5px;
 border-radius: 10px;
}
.footer-box a{
 color: #888;
 text-decoration: none;
}
.footer-nadpis{
 color: #DDD;
 font-size: var(--fs-md); /* původně 120% */
 height: 30px;
 line-height: 30px;
 background-color: #232826;
 background-image: url(../image/bground-footer_09-50.png), url(../image/bground_23.jpg);
 background-repeat: repeat-x, no-repeat;
 background-position: center center, left top;
 padding-left: 7px;
 margin: 3px;
 text-align: left;
 font-weight: bold;
 text-decoration: none;
 border: 1px solid #555;
 border-radius: 8px;
}
.footer-block {
 color: #333;
 font-size: var(--fs-xs); /* původně 12px */
 height: 20px;
 line-height: 20px;
 height: auto;
 margin: 4px;
 padding-left: 7px;
 text-align: left;
}
.footer-block a{
 color: #333;
 font-size: var(--fs-md); /* původně 120% */
 height: 20px;
 line-height: 20px;
 display: block;
 text-decoration: none;
 text-align: left;
 text-decoration: none;
 transition: all 0.5s ease;
}
.footer-block a:hover{
 color: #000;
 background-image: url(../image/bg_ffffff_20.png);
 margin-left: 11px;
 border-left: 2px solid #FFF;
 border-radius: 3px;
}
/* fotogalerie */
.Obal{
 text-align: center;
 width: 620px;
 height: 160px;
 margin: 5px;
 overflow-x: hidden;
 overflow-y: hidden;
 display: inline-block;
 position: relative;
 border: 1px solid #CCC;
 border-radius: 5px;
}
.sipka_icon{
  width: 20px;
  height: 80px;
  margin-top: 50px;
  border: 0px dotted #DDD;
}
.sipka {
 position: relative;
 width: 20px;
 height: 130px;
 line-height: 130px;
 outline: 0px solid red;
 z-index: 100;
}
 .sipkal{
 	position: relative;
 	background-image: url(../image/sipka_leva_01.png), url(../image/bg_000000_50.png);
  background-position: center center,left;
 	background-repeat: no-repeat, repeat;
  margin-top: 15px;
  margin-bottom: 0px;
  left: -2px;
  display: inline-block;
  float: left;
  width: 25px;
  height: 120px;
  border: 1px solid #EEE;
  border-radius: 3px;
 	z-index: 1000;
 	opacity: 0.9;
 }
.sipkap{
 position: relative;
 background-image: url(../image/sipka_prava_01.png), url(../image/bg_000000_50.png);
 background-position: center center,left;
 background-repeat: no-repeat, repeat;
 margin-top: 15px;
 margin-bottom: 0px;
 right: -2px;
 display: inline-block;
 width: 25px;
 height: 120px;
 border: 1px solid #EEE;
 border-radius: 3px;
 z-index: 1000;
 opacity: 0.9;
 float: right;
}
.odkazy{
 position: relative;
 float: left;
 width: 620px;
 height: 157px;
 top: -135px;
 margin: 0px;
 outline: 0px solid blue;
 margin-left: auto;
 margin-right: auto;
 overflow: hidden;
}
.List{
 	text-decoration: none;
 }
 .List img{
 	z-index: 10;
 	height: 140px;
 	background-color: #FFF;
 	margin: 5px;
 	padding: 3px;
 	border: 1px solid #CCC;
 	border-radius: 5px;
 }
 .box_clanky{
   width: 750px;
   display: inline-block;
   margin-right: 10px;
   border: 1px solid #CCC;
 	 border-radius: 5px;
 }
 .menu_box_obsah {
   text-align: left;
   margin-bottom: 20px;
   padding-top: 10px;
   padding-bottom: 10px;
}
.menu_box_obsah ul{
 text-decoration: none;
 height: auto;
 margin: 0px;
 padding: 0px 0px 0px 5px;
 list-style-type: none;
}
 .menu_box_obsah li{
 	color: #505050;
 	text-decoration: none;
 	line-height: 42px;
 	height: 42px;
 	margin-top: 0px;
 	margin-right: 0px;
 	margin-left: 0px;
 	padding: 3px 0px 0px;
 	background-color: transparent;
 }

.menu_box_obsah a{
 color: #111;
 font-size: var(--fs-sm); /* původně 13px */
 font-weight: bold;
 text-decoration: none;
 margin: 0px;
 padding: 0px;
}
#menu_box_obsah-select{
 color: #ffb700;
 font-size: var(--fs-sm); /* původně 13px */
 font-weight: bold;
 text-decoration: none;
 padding-left: 20px;
 border-bottom: 1px solid #e9e6c6;
}

.menu-v  {
 font-size: var(--fs-xs); /* původně 12px */
 font-weight: bold;
 font-stretch: normal;
 text-decoration: none;
 height: 40px;
 margin: 0px;
 margin-left: 5px;
 padding: 0px;
 padding-left: 20px;
 border-bottom: 1px solid #EEE;
 transition: all 0.5s ease;
 background-color: #FFF;
}
.menu-v:hover  {
 font-size: var(--fs-sm); /* původně 14px */
 margin-left: 1px;
 padding-left: 1px;
 border: 1px solid #CCC;
 background-color: #EEE;
}

.menu-s  {
 background-image: url(https://www.paur-cejka.cz/image/menu_bg_02.png);
 background-repeat: repeat-y;
 background-position: right top;
 height: 40px;
 margin: 0px;
 padding: 0px;
 border-top: 1px solid #b4c5b4;
 border-bottom: 2px solid #8d978d;
}
.menu-s a{
 color: #8c0000;
 font-size: var(--fs-sm); /* původně 14px */
 font-weight: bold;
 text-shadow: 2px 2px 1px #BBB;
 transition: all 0.5s ease;
}
.menu-s a:hover{
 color: #6F0000;
 font-size: var(--fs-sm); /* původně 14px */
 padding-left: 2px;
 text-shadow: 1px 1px 1px #8c8c8c;
}
.napiste-nam{
 color: #DDD;
 font-size: var(--fs-sm); /* původně 14px */
 font-weight: bold;
 text-decoration: none;
 line-height: 18px;
 background-attachment: scroll;
 background-clip: border-box;
 background-image:  url(../image/bground-footer_09-50.png), url(../image/bground_22.jpg);
 background-repeat: repeat, repeat;
 background-position: left top, center center;
 background-origin: padding-box;
 border-bottom-left-radius: 3px;
 border-bottom-right-radius: 3px;
 border-top-left-radius: 3px;
 border-top-right-radius: 3px;
 display: inline-block;
 margin: 5px;
 padding-bottom: 11px;
 padding-left: 19px;
 padding-right: 19px;
 padding-top: 11px;
 border: 1px solid #555;
 border-radius: 4px;
 box-shadow: 5px 5px 9px -3px rgba(50, 50, 50, 0.54);
 transition: all 0.5s ease;
}
.napiste-nam:hover{
 color: #FFF;
 border: 1px solid #111;
 padding-top: 10px;
 border-radius: 3px;
 box-shadow: 3px 3px 6px -3px rgba(50, 50, 50, 0.7);
}






 .detail{
  color: #EEE;
  float: right;
  height: 45px;
  line-height: 45px;
  font-size: var(--fs-md); /* původně 110% */
  font-weight: bold;
  text-decoration: none;
  background-color: rgb(255,153,51);
  background-image:  url(../image/bground-footer_09-70.png), url(../image/odlesk-radius-fff-30.png);
  background-position:  left, -60px -400px;
  background-repeat:  repeat, no-repeat;
  margin-top: 10px;
  margin-right: 10px;
  padding-left: 20px;
  padding-right: 20px;
  border: 1px solid #777;
  border-radius: 5px;
  box-shadow:    2px 2px 5px 0px rgba(50, 50, 50, 0.54);
 transition: all 0.5s ease;
}
.detail:hover{
  background-image:  url(../image/bground-footer_09-70.png), url(../image/odlesk-radius-fff-30.png);
  background-position:  left, -50px -400px;
  background-repeat:  repeat, no-repeat;
 border: 1px solid #999;
 box-shadow:    1px 1px 1px 0px rgba(50, 50, 50, 0.54);
 border-radius: 4px;
}

 .souvisejici_box{
  background-image: url(../image/bg_000000_05.png);
  background-repeat: repeat;
  background-position: left top;
 margin: 3px;
 padding: 0px;
}
.souvisejici{
 width: auto;
 font-size: var(--fs-md); /* původně 110% */
 font-weight: bold;
 color: #DDD;
 float: left;
 margin: 5px;
 margin-left: 7px;
 margin-right: 7px;
 padding: 3px;
 border: 1px solid #888;
 border-radius: 5px;
}
.souvisejici a{
  font-size: var(--fs-base); /* původně 100% */
  font-weight: bold;
  color: #EEE;
  text-decoration: none;
}
.souvisejici ul {
 padding: 0px;
 margin: 10px;
}
.souvisejici li{
 width: 565px;
 padding: 0px;
 margin: 5px;
}
.Souv-zbozi-nadpis{
 color: #CCC;
 font-size: clamp(1.242rem, 1.03vw + 1.035rem, 1.380rem); /* původně 115% */
 font-weight: bold;
}
.social{
}
.dokument-download {
  display: block;
	background-image: url(../image/adobe-dokument-v.png);
	background-repeat: no-repeat;
	background-position: left top;
	margin: 5px;
	padding-top: 0px;
	width: 278px;
	height: 90px;
	text-align: right;
	border-radius: 5px;
	border: 1px solid #AAA;
	vertical-align: top;
}
.dokument-download a{
  color: #EEE;
  float: right;
	margin: 5px;
	padding-top: 0px;
  display: block;
  text-decoration: none;
	width: 170px;
	height: 73px;
	border: 0px solid #DDD;
  text-align: left;
	vertical-align: top;
}
.datum{
  color: #AAA;
  float: right;
 font-size: var(--fs-sm); /* původně 3.5mm */
  display: block;
  position: relative;
  margin: 0px;
  margin-right: 27px;
  top: -33px;
  border: 0px solid #DDD;
}
.textliststrana {
  float: right;
  display: block;
  width: 99%;
  text-align: right;
  height: 30px;
}
.textbold{
  color: red;
  font-size: var(--fs-xs); /* původně 12px */
  font-weight: bold;
  padding-left: 10px;
  padding-right: 10px;
  background-image: url(../image/bg_ffffff_40.png);
	background-repeat: repeat;
  height: 30px;
  line-height: 30px;
  display: inline-block;
  border: 1px solid #EEE;
  border-radius: 3px;
}
.textedit16{
  height: 30px;
  line-height: 30px;
  display: inline-block;
  background-image: url(../image/bg_ffffff_40.png);
	background-repeat: repeat;
  text-align: center;
  margin: 2px;
  padding-left: 10px;
  padding-right: 10px;
  color: #3d3d3d;
  font-size: var(--fs-xs); /* původně 12px */
  font-weight: bold;
  font-style: normal;
  text-decoration: none;
  border: 1px solid #CCC;
  border-radius: 3px;
}
.hledano    {
 color: #000;
 text-align: center;
 font-size: var(--fs-md); /* původně 18px */
 background-color: rgba(250, 250, 250, 0.5);
 padding: 5px;
 margin: 5px;
 
 border: 1px solid #696a6c;
 border-radius: 3px;
}
.hledano-nic     {
 color: #0b0b0b;
 height: 130px;
 font-size: var(--fs-xs); /* původně 12px */
 background-color: #7f8a8f;
 background-image: url(../image/Info-line_03.jpg);
 background-repeat: repeat-y;
 background-position: left top;
 text-align: left;
 margin: 30px 20px;
 padding: 20px 15px;
 padding-left: 160px;
 border-style: solid;
 border-width: 1px 1px 1px 3px;
 border-color: #aaa #aaa #aaa #ac0000;
 border-radius: 5px;
}
.hledano-nic li   {
 color: #333;
 font-size: var(--fs-xs); /* původně 12px */
 list-style-type: disc;
 list-style-position: inside;
}
.hledano-nic ul   {
 color: #8e1515;
 font-size: var(--fs-sm); /* původně 13px */
 list-style-type: disc;
 list-style-position: inside;
}
.hledano-nic img   {
 text-align: right;
 margin-top: -50px;
 margin-left: -40px;
 list-style-type: disc;
 list-style-position: inside;
}
.fotogalerie{
 margin: 2px;
 padding: 1px;
 background-color: #FFF;
 border: 1px solid #BBB;
 border-radius: 5px;
}
.fotogalerie-box {
	font-size: clamp(0.608rem, 0.51vw + 0.506rem, 0.675rem); /* původně 9px */
  display: inline-block;
  background-image: url(../image/bg_ffffff_50.png);
  background-repeat: repeat;
  background-position: left top;
	margin-top: 7px;
	max-width: 280px;
  min-width: 150px;
	max-height: 300px;
  min-height: 150px;
	border: 1px solid #EEE;
  border-radius: 5px;
	text-align: center;

transform: scale(1);
transition: all 200ms ease-in; 

}
.fotogalerie-box:hover {
 transition: all 200ms ease-in;
 transform: scale(1.08);
}
h3.fotogalerie-nadpis {
  color: #FFF;
	font-size: var(--fs-sm); /* původně 14px */
  font-weight: bold;
  height: 42px;
  line-height: 42px;
  clear: left;
  background-image: url(../image/bground-footer_09-50.png), url(../image/bg_ffffff_50.png);
  background-repeat: repeat-x, repeat;
  background-position: left center, left top;
  padding-left: 10px;
  border: 1px solid #333;
  border-radius: 4px;
}
.fotogalerie-box-nadpis {
  color: #000;
	font-size: var(--fs-xs); /* původně 12px */
  font-weight: normal;
	margin: 5px;
}
.fotogalerie-box-text {
	font-size: var(--fs-xs); /* původně 12px */
	margin-top: 5px;
}
.nadpis_form{
 height: 30px;
 line-height: 30px;
 padding-bottom: 5px;
}
.form1{
border: 0px solid #FFF;
}
/* formulĂ„â€šĂ‹â€ˇĂ„Ä…Ă˘â€žËe */
.box_form {
 background-image:  url(../image/osb-60.png);
 background-repeat: repeat;
 border: 1px solid #111;
 border-radius: 4px;
 box-shadow: 2px 2px 5px 0 rgba(50, 50, 50, 0.54);
 margin: 13px;
}
.tab-napiste-nam {
 color: #000;
 background-color:  rgba(250, 250, 250, 0.54);
 text-align: left;
 width: 97%;
 margin-top: 20px;
 margin-right: 10px;
 margin-left: 10px;
 padding: 3px;
 border: 1px solid #777;
 border-radius: 3px;
  transition: all 1s ease;
}
.tab-napiste-nam:hover {
 background-color:  rgba(250, 250, 250, 0.84);
 border: 1px solid #444;
 border-radius: 6px;
}

.tab-napiste-nam input, textarea, select {
  font-size: var(--fs-base); /* původně 16px */
  line-height: 23px;
 	background-color: transparent;
 	background-image: url(../image/bg_ffffff_50.png);
 	background-repeat: repeat;
 	margin: 0px;
 	padding: 0px 0px 0px 3px;
  display: inline-block;
  border: 1px solid #555;
  border-radius: 3px;
 }

.form-button {
 color: #FFF;
 font-size: var(--fs-sm); /* původně 14px */
 font-weight: bold;
 line-height: 44px;
 text-align: center;
 background-color: #004C00;
 background-image:  url(../image/bground-footer_09-50.png), url(../image/bground_22.jpg);
 background-repeat: repeat;
 background-position: left top;
 min-width: 140px;
 width: auto;
 white-space: nowrap;
 padding: 0 16px;
 height: 44px;
 cursor: pointer;
 border-radius: 5px;
 box-shadow: 2px 2px 5px 0 rgba(50, 50, 50, 0.54);
 transition: all 0.5s ease;
 touch-action: manipulation;
 -webkit-tap-highlight-color: rgba(0,0,0,0.1);
 user-select: none;
}
.form-button:hover{
 background-color: #006600;
 box-shadow: 1px 1px 3px 0 rgba(50, 50, 50, 0.54);
 border-radius: 3px;
}
.tab-napiste-nam-nadpis {
 color: #171717;
 font-size: var(--fs-base);
 font-weight: bold;
 height: auto;
 min-height: 30px;
 line-height: 1.4;
 padding: 5px 5px 5px 5px;
 margin: 0px;
 border-bottom: 2px solid #ffb700;
}
.tab-napiste-nam-nadpis2 { color: #4a4a4a; font-size: var(--fs-sm); /* původně 14px */ font-weight: bold; height: 25px; margin: 0px; padding-left: 5px; border-bottom: 1px solid #ffd874; }
.tab-napiste-nam-popis {
 font-size: var(--fs-sm); /* původně 14px */
 width: 160px;
 padding: 2px;
 border-bottom: 1px dotted #d4d4d4;
}
.tab-napiste-nam-data { padding: 2px; border-bottom: 1px dotted #d4d4d4; }
input .norm { color: #555555; font-family: Arial; background-color: #f0f0f0; background-position: right 0px; margin-top: 2px; margin-bottom: 2px; padding-right: 3px; padding-left: 3px; overflow: auto; border-style: solid; border-width: 1px 1px 2px; border-color: #ababab #ababab #999 }
.must { color: #555555; background-color: #fafafa; margin-top: 2px; margin-bottom: 2px; border-style: solid; border-width: 1px 1px 2px; border-color: #ababab #ababab #fdd6b6; }
 .form_icon{
 	color: red;
  font-size: var(--fs-base); /* původně 16px */
  font-weight: bold;
 	margin: 5px;
  line-height: 23px;
  height: 23px;
  width: 30px;
  display: inline-block;
  text-align: left;
 	background-image: url(../image/ok-no-02.png);
 	background-repeat: no-repeat;
 	background-position: 10px 10px;
  border: 0px solid red;
 }
#help1 {
 color: #000;
 font-size: var(--fs-sm); /* původně 14px */
 font-family: Arial;
 background-image:  url(../image/bg_ffffff_50.png);
 background-repeat: repeat;
 text-align: left;
 margin: 10px;
 padding: 10px;
 border: 2px solid #AAA;
 border-radius: 5px;
}
#zprava {
 color: #111;
 font-family: Arial;
 background-color: #f8eed8;
 text-align: left;
 margin: 10px;
 padding: 10px;
 border-style: solid;
 border-width: 1px 1px 1px 3px;
 border-color: #fc6;
 border-radius: 5px;
}
.styl_01{width: 307px;}
.text{
 color: #eee;
 font-size: var(--fs-lg); /* původně 5.3mm */
 text-indent: 0px;
 margin-left: 280px;
 margin-top: 10px;
 text-align: left;
 font-weight: bold;
 display: block;
 padding-left: 10px;   
 border: 0px solid #555;
}
.head{
 width: 100%; 
 position: relative; 
 display: inline-block;
} 
/*-----------------------------------*/
.foto_galerie_popis{
 font-size: var(--fs-base); /* původně 4mm */
 font-weight: normal;
 height: auto;
 position: relative;
 text-align: center;
}
.foto_galerie{
 text-align: center;

 margin: 10px;
 margin-top: 0px;
 top: 0px;
 padding: 3px;
 position: relative;
 display: inline-table;
 width: 120px;
 height: 150px;
 background-color: #FFF;
 border: 1px solid rgb(236,236,236);
 border-radius: 4px;
 box-shadow: 5px 5px 5px 1px rgba(10,10,10,0.5);
}
.foto_galerie img{
 margin: 5px;
 padding: 5px;
 border: 1px solid rgb(236,236,236);
 border-radius: 4px;
}
.foto_galerie_img{
 height: 110px;
 margin: 5px;
 border-radius: 3px;
}
.pos_rel{
 position: relative;
}
.float_left{
 float: left;
}
/**/
.obr{
 border: 1px solid #DDD;
 border-radius: 5px;
 text-align: center;
 float: left;
 display: inline-block;
 padding: 1px;
 margin: 4px;
 
 background-color: rgba(255,255,255, 0.8);
 text-decoration: none;
 box-shadow: 3px 3px 3px rgba(5,5,5, 0.5);
}
.obr img{
 position: relative;
 margin: 8px;
 border: 1px solid rgba(5, 5, 5, 0.4);
 border-radius: 2px;
 transition:  width 1s; 
}
.obr img:hover{
 border: 1px solid rgba(5, 5, 5, 0.8);
 border-radius: 4px;
 top: -5px;
}
/**/ 
 *.box_nadpis_clanku {
 border-width: 5px 0px 0px;
 border-color: rgba(133, 133, 133, 0.53) rgb(255, 255, 255) rgb(255, 255, 255);
 color: rgb(0, 0, 0);
 height: 30px;
 vertical-align: top;
 margin: 2px;
 background-color: rgba(214, 214, 214, 0.16);
 font-size: var(--fs-base); /* původně 16px */
 line-height: 28px;
 padding-left: 7px;
 font-weight: bold;
 border-radius: 8px;
 border-top: 5px solid rgba(133, 133, 133, 0.53);
}
.box_nadpis_clanku a{
 color: rgb(0, 0, 0);
 margin: 2px;
 font-size: var(--fs-base); /* původně 16px */
 line-height: 28px;
 font-weight: bold;
 text-decoration: none;
}
.clanky_novinky{
 width: 97%;
 text-align: left;
 display: inline-block;
 background-color: rgba(4, 4, 4, 0.16);
 margin-left: 5px;
 margin-right: 5px;
 margin-top: 5px;
 border: 1px solid rgba(5, 5, 5, 0.16);
 border-radius: 15px 0px 15px 0px;
 padding-left: 10px;
}
.clanky_novinky .box_clanky{
 border: 1px solid rgb(255, 255, 255);
 border-radius: 6px;
 color: rgb(0, 0, 0);
 margin: 5px;
 padding: 5px;
 vertical-align: top;
 width: 97%;
}
.clanky_novinky .anotace{
 border: 1px solid rgb(214, 214, 214);
 background-color: rgba(254, 254, 254, 0.16);
 border-radius: 4px;
 color: rgb(0, 0, 0);
 display: inline-block;
 font-size: var(--fs-sm); /* původně 14px */
 margin-top: 2px;
 padding: 6px;
 max-width: 780px;
 min-width: 350px;
 transition:  background 1s;
}
.clanky_novinky .anotace:hover{
 border: 1px solid rgb(214, 214, 214);
 background-color: rgba(254, 254, 254, 0.36);
}
.g-plusone{
color: #FFF;
border: 1px solid #444;
}


.foto-menu{
 width: 304px;
 height: 200px;
}

/* =====================================================================
   FORMULÁŘ – flexbox layout (náhrada za <table>)
   ===================================================================== */

/* Jeden řádek formuláře: popisek + pole */
.form-radek {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  border-bottom: 1px dotted #d4d4d4;
  padding: 4px 2px;
  gap: 4px;
}

/* Popisek */
.tab-napiste-nam-popis {
  flex: 0 0 160px;
  font-size: var(--fs-sm);
  padding: 4px 2px;
  color: #333;
}

/* Datová buňka */
.tab-napiste-nam-data {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Vstupní pole – plná šířka v buňce */
.form-input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;      /* zabrání přetečení ve flexboxu */
  box-sizing: border-box;
  font-size: var(--fs-base);
  line-height: 23px;
  background-color: rgba(255,255,255,0.5);
  background-image: url(../image/bg_ffffff_50.png);
  background-repeat: repeat;
  padding: 4px 6px;
  border: 1px solid #555;
  border-radius: 3px;
}

textarea.form-input {
  resize: vertical;
  min-height: 140px;
}

/* GDPR řádek – zalamuje label pod checkbox na malých displejích */
.form-radek--gdpr .tab-napiste-nam-data {
  flex-wrap: wrap;
}
.form-radek--gdpr label {
  flex: 1 1 200px;
}

/* Výsledky / zprávy formuláře */
.form-result {
  border: 1px solid #EEE;
  border-radius: 5px;
  padding: 6px 10px;
  margin: 6px 0;
}
.form-result--info {
  border-color: #00c;
}

/* Telefonní čísla – tel: odkazy */
a[href^="tel:"] {
  color: #111111;
  text-decoration: none;
}
a[href^="tel:"]:hover {
  text-decoration: underline;
}
/* V záhlaví (tmavý podklad) ponechat barvu z kontejneru */
.head_telefon a[href^="tel:"] {
  color: inherit;
}

/* Telefon + QR kód na jednom řádku (footer Poptávka) */
.footer-tel-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

/* Tlačítko – zarovnáno vpravo */
.form-odeslat-wrap {
  display: flex;
  justify-content: flex-end;
  padding: 8px 2px;
}

/* Dvousloupce ve formuláři – Jméno/Příjmení, Telefon/Email */
.form-radek-2col {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px dotted #d4d4d4;
  padding: 4px 2px;
}
.form-group-half {
  flex: 1 1 180px;
  min-width: 0;
}
.form-group-half .tab-napiste-nam-popis {
  flex: none;
  width: auto;
  display: block;
}
.form-group-half .tab-napiste-nam-data {
  flex: none;
  width: 100%;
  border-bottom: none;
}

/* Obrázek v tisk_strana.php */
.tisk-obr {
  border: 3px solid #ececec;
}

/* Stav uživatelského účtu (test_login.php) */
.user-stav-text {
  font-size: 0.625rem;
  color: #A4A4A5;
}

/* =====================================================================
   RESPONZIVITA – @media queries (mobile-first)
   ===================================================================== */

/* Viewport zaručen v head.php pomocí <meta name="viewport"> */

/* ---- Pod 1200px – plná šířka, bez fixních šířek ---- */
@media (max-width: 1199px) {

  /* Bootstrap container – plná šířka */
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .row {
    margin-left: -8px !important;
    margin-right: -8px !important;
  }

  /* Vlastní layout třídy – odstraň fixní šířky */
  .col-1-2,
  .col-1-3,
  .col-1-3a {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    box-sizing: border-box;
  }

  .box_clanky {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .souvisejici li {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .Obal {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
  }

  /* Zabrání horizontálnímu scrollu */
  body {
    overflow-x: hidden;
  }
}

/* ---- Tablet a menší (max 768px) ---- */
@media (max-width: 768px) {

  /* Bootstrap container – na mobilu přes celou šířku bez bočních mezer */
  .container,
  .container-sm {
    max-width: 100%;
    padding-left: 6px;
    padding-right: 6px;
  }

  /* Layout: skryj postranní menu, obsah na plnou šířku */
  .col-1-2 {
    width: 100% !important;
    display: block;
    margin: 5px 0;
  }

  /* Zerogrid – zrušit top margin ze záhlaví */
  .zerogrid {
    margin-top: 10px;
  }

  /* Logo – zmenšit na mobilu */
  .logo {
    width: 180px;
    height: auto;
  }

  /* Hlavní text pod logem – bez odsazení */
  .text {
    margin-left: 0;
    padding-left: 10px;
  }

  /* Formulář na mobilu – popisek těsně nad polem */
  .form-radek {
    gap: 0;
    padding: 8px 2px 2px;
  }

  .tab-napiste-nam-popis {
    flex: 0 0 100%;
    font-weight: bold;
    padding: 0 2px 1px;
    margin: 0;
    border-bottom: none;
    line-height: 1.2;
  }

  .tab-napiste-nam-data {
    flex: 0 0 100%;
    padding: 0;
    margin: 0;
  }

  /* Tlačítko odeslat – plná šířka na mobilu */
  .form-button {
    width: 100%;
  }

  .form-odeslat-wrap {
    justify-content: stretch;
  }

  /* Dvousloupce formuláře – na mobilu pod sebou */
  .form-radek-2col {
    flex-direction: column;
  }
  .form-group-half {
    width: 100%;
  }

  /* Fotogalerie – menší dlaždice */
  .foto_galerie {
    width: 100px;
    height: 130px;
  }
  .foto_galerie_img {
    height: 90px;
  }

  /* Telefon v kontaktu */
  .head_telefon {
    font-size: var(--fs-md);
    height: auto;
  }
}


/* ---- Malý mobil (max 480px) ---- */
@media (max-width: 480px) {

  /* Přidat okraje tělu */
  body {
    text-align: left;
  }

  .zerogrid {
    border-radius: 0;
  }

  /* Tabulka šablony na plnou šířku */
  .tab-napiste-nam {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }

  /* Nadpis formuláře – menší písmo aby se vešel na 1 řádek */
  .tab-napiste-nam-nadpis {
    font-size: var(--fs-sm);
  }

  /* Anotace článků */
  .clanky_novinky .anotace {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
}