* {
  margin: 0px;
  padding: 0px;  
}

body {
  background: rgb(0, 0 ,0);
  font-family: Arial;
  text-align: justify;
}

h1, h2, h3 {
  font-weight: normal;
}

#header {
  height: 126px; 
  margin-top: 10px;  
}

#center {
  width: 926px;
  margin-left: auto;
  margin-right: auto;
}

#logo_header {
  width: 166px;
  float: left;
}

#menu_part {
  width: 740px;
  float: left;
  margin-left: 20px;
}

#menu_part p {
  margin-top: 66px; 
  font-size: 20px;
  color: rgb(231, 121, 25);  
}

#menu {
  margin-top: 10px;
  width: 740px;
}

#left_menu {
  float: left;
  width: 10px;
  height: 36px;
  background: url(images/menu_left.gif);  
}

#mid_menu {
  float: left;
  width: 720px;
  height: 36px;
  background: url(images/menu_mid.gif) repeat-x; 
}

#right_menu {
  float: left;
  width: 10px;
  height: 36px;
  background: url(images/menu_right.gif);
}

#mid_menu ul {
  text-align: center;
  padding-top: 6px;
}

#mid_menu ul li {
  background: url(images/menu_line.gif) no-repeat right;
  list-style: none;
  display: inline;
  padding: 0px 10px 0px 10px;
  font-size: 13px;
}

#mid_menu ul li a {
  color: rgb(211, 211, 211);
  text-decoration: none;
}

#mid_menu ul li a:hover {
  color: rgb(255, 188, 118);
  text-decoration: underline;
}

#mid_menu ul li a.active {
  color: rgb(255, 188, 118);
  text-decoration: none;
}

#mid_menu ul li.last_menu {
  background: none;
}

.clearer {
  clear: both;
}

#main {
  margin-top: 18px;
  border-top: 6px solid rgb(181, 181, 181);
  background-color: rgb(255, 255, 255);
}

#main_center {
  width: 926px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  background-color: rgb(233, 233, 233);
}

#left_main {
  float: left;
  width: 552px;
  background-color: rgb(255,255,255);
  padding-right: 30px;
  padding-bottom: 30px;
}

#left_main h1 {
  width: 100%;
  border-bottom: 1px solid rgb(205, 205, 205);
  font-size: 20px; 
  margin-top: 20px;
}

#left_main h2 {
  font-size: 19px;
  margin-top: 10px;
}

#left_main h2:first-letter {
  color: rgb(255, 125, 1);
}

#left_main p {
  margin-top: 5px;
  font-size: 13px;
  line-height: 20px;
}

#left_main ul {
  margin-left: 25px;
  margin-bottom: 10px;
  font-size: 13px;
}

#left_main ul li {
  list-style-type: disc;
  margin-top: 5px;
}

#left_main a {
  color: rgb(255, 119, 0);
  text-decoration: none;
}

#left_main a:hover {
  text-decoration: underline;
}

.references {
  background-color: rgb(233, 233, 233);
  border: 1px solid rgb(181, 181, 181);
  float: right;
  padding: 5px;
  margin: 10px 0px 5px 15px;
}

.map {
  margin-top: 10px;
}

#right_main {
  float: left;
  width: 284px;
  background-color: rgb(233, 233, 233);
  padding: 20px 20px 0px 30px;
  text-align: left;
}

#right_main h2 {
  font-size: 20px;
}

#right_main h2:first-letter {
  color: rgb(255, 125, 1);
}

#right_main ul {
  margin-top: 5px;
  margin-bottom: 20px;
  font-size: 14px;
  list-style-image: url(images/arrow.gif);
  width: 284px;
  line-height: 20px;
}

#right_main ul li {
  margin-left: 30px;
  margin-top: 3px;
}

#right_main a {
  color: rgb(255, 125, 1);
  text-decoration: none;
}

#right_main a:hover {
  text-decoration: underline;
}

#right_main .date {
  font-weight: bold;
  font-size: 14px;
}

.image_box {
  margin-top: 10px;
}

.image_box img {
  border: 1px solid rgb(181, 181, 181);
}

.image_box a {
  margin-right: 25px;
}

.image_box a:hover img {
  border: 1px solid rgb(255, 125, 1); 
}

#footer {
  text-align: center;
  background-color: rgb(0,0,0);
  color: rgb(255,255,255);
  font-size: 13px;
  font-family: Tahoma;
  padding: 10px 0px 10px 0px;
  line-height: 1.7;
}

#footer a {
  color: rgb(255, 195, 136);
  text-decoration: none;
}

#footer a:hover {
  text-decoration: underline;
}

/* ------------------------------------------------------------------
   Адаптация под узкие экраны. Авторская вёрстка — фиксированные 926px
   (2012 год, до эпохи mobile-first). Ниже 980px контейнеры становятся
   резиновыми, колонки складываются в одну. Десктоп не затронут.
   ------------------------------------------------------------------ */
@media (max-width: 980px) {
  #center, #header, #logo_header, #menu_part, #menu, #mid_menu,
  #left_menu, #right_menu, #main, #main_center, #left_main,
  #right_main, #footer {
    width: auto !important;
    max-width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  #center { padding: 0 14px; }
  #menu_part p { width: auto !important; margin-top: 12px;
                 font-size: 17px; line-height: 1.35; }
  #mid_menu { height: auto !important; padding: 4px 0; }
  #mid_menu ul { width: auto !important; padding: 4px 0; }
  #mid_menu ul li { display: inline-block; margin: 2px 0; }
  #mid_menu ul li a { display: inline-block; padding: 8px 10px; }
  #right_main { margin-top: 22px; }
  /* float snyat — kontejnery dolzhny sami derzhat vysotu, inache
     menyu i kontent nalozhatsya drug na druga */
  #center, #header, #menu_part, #menu, #main, #main_center { overflow: hidden; }
  #center::after, #header::after, #menu_part::after,
  #main::after, #main_center::after { content: ; display: table; clear: both; }
  /* u #header zhestkaya height:126px — na uzkom ekrane logotip i menyu
     zanimayut bolshe i vylezayut pod #main. Snimaem fiksirovannuyu vysotu. */
  #header { height: auto !important; }
  #menu_part { padding-bottom: 6px; }
  #main { margin-top: 10px; clear: both; }
  /* fon menyu — kartinka pod 720px, na uzkom ekrane ne tyanetsya
     i svetlyj tekst ostaetsya na belom. Zadaem cvet iz toj zhe kartinki. */
  #mid_menu {
    background-image: none !important;
    background-color: #3a3a3a !important;
    border-radius: 3px;
  }
  #mid_menu ul li { background-image: none !important; }
  #mid_menu ul li a { color: #e8e8e8 !important; }
  #mid_menu ul li a:hover,
  #mid_menu ul li a.active { color: #f08a1e !important; }
  #left_menu, #right_menu { display: none; }
  img, iframe, table { max-width: 100%; height: auto; }
  body { -webkit-text-size-adjust: 100%; }
}

@media (max-width: 560px) {
  #logo_header img { max-width: 62%; height: auto; }
  #menu_part p { font-size: 15px; }
}


/* ------------------------------------------------------------------
   Clanek o limitech hluku (pridano 03.11.2026). Jen nove prvky:
   text clanku, podpis s datem, tabulka, schema s legendou, snimek,
   otazky, seznam predpisu a odkaz v postrannim panelu. Autorske
   styly vyse nejsou zmeneny. Nove barvy: jen #a64d00 (tmava varianta
   oranzove z webu, kontrast 5,7 : 1 na bile a 4,7 : 1 na #e9e9e9).
   ------------------------------------------------------------------ */
#left_main .clanek { text-align: left; }

#left_main .clanek p,
#left_main .clanek li {
  font-size: 15px;
  line-height: 24px;
}

/* delka radku do 72 znaku (Arial 15 px: prumerny znak 6,6 px) */
#left_main .clanek > p,
#left_main .clanek > ul,
#left_main .clanek .faq { max-width: 480px; }

#left_main .clanek > p { margin-top: 10px; }

#left_main .clanek .vedushchij {
  font-size: 16px;
  line-height: 26px;
  margin-top: 4px;
}

#left_main .clanek .podpis {
  font-size: 12px;
  line-height: 18px;
  margin-top: 6px;
  color: #555555;
}

#left_main .clanek h2 { margin-top: 30px; line-height: 1.3; }

#left_main .clanek h3 {
  margin-top: 20px;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.4;
}

#left_main .clanek ul { margin-top: 8px; }

/* indexy (L s indexem Aeq,T) nesmi roztahovat radek */
.clanek sub {
  font-size: 0.75em;
  line-height: 0;
  vertical-align: -0.25em;
}
#left_main .clanek li { margin-top: 6px; }

/* odkazy v clanku a nove odkazy na clanek */
#left_main .clanek a,
#left_main a.odkaz,
#right_main a.odkaz {
  color: #a64d00;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#left_main .clanek a:hover,
#left_main a.odkaz:hover,
#right_main a.odkaz:hover { color: #000000; }

#left_main .clanek a:focus-visible,
#left_main a.odkaz:focus-visible,
#right_main a.odkaz:focus-visible {
  outline: 2px solid #a64d00;
  outline-offset: 2px;
}

/* odkaz v postrannim panelu: cil dotyku 44 px */
#right_main a.odkaz {
  display: inline-block;
  padding: 12px 0;
}

/* tabulka: na telefonu vodorovne posouvani uvnitr obalu */
.tablica-obal {
  margin: 16px 0 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tablica {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 19px;
  text-align: left;
}

.tablica caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 6px;
  font-weight: bold;
}

.tablica th,
.tablica td {
  padding: 7px 12px 7px 0;
  vertical-align: top;
  border-bottom: 1px solid #cdcdcd;
}

.tablica thead th {
  font-weight: bold;
  white-space: nowrap;
  border-bottom: 2px solid #e77919;
}

.tablica td:nth-child(2),
.tablica td:nth-child(3) { white-space: nowrap; }

/* schema (SVG) s legendou */
.shema { margin: 18px 0 10px; }

.shema svg {
  display: block;
  width: 100%;
  height: auto;
  background: #f4f4f4;
  border: 1px solid #cdcdcd;
}

#left_main .shema figcaption { margin-top: 8px; }

#left_main .clanek .shema-titulek {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 19px;
  font-weight: bold;
}

.legenda {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: poz;
}

#left_main .clanek .legenda li {
  position: relative;
  margin-top: 5px;
  padding-left: 28px;
  font-size: 13px;
  line-height: 20px;
}

.legenda li::before {
  counter-increment: poz;
  content: counter(poz);
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #a64d00;
  color: #ffffff;
  font-size: 11px;
  font-weight: bold;
  line-height: 20px;
  text-align: center;
}

/* snimek z referenci ve stylu obrazku webu (.references) */
.snimek { margin: 18px 0 10px; }

.snimek img {
  display: block;
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
  padding: 5px;
  background-color: #e9e9e9;
  border: 1px solid #b5b5b5;
}

#left_main .snimek figcaption {
  margin-top: 6px;
  font-size: 13px;
  line-height: 19px;
  color: #333333;
}

/* otazky a predpisy */
#left_main .clanek .faq h3:first-child { margin-top: 10px; }
#left_main .clanek .faq p { margin-top: 4px; }

#left_main .clanek .normen li {
  font-size: 14px;
  line-height: 21px;
}

/* pod 980 px je #left_main bez leveho odsazeni; clanek zarovname s hlavickou (#center ma 14 px) */
@media (max-width: 980px) {
  #left_main .clanek { padding-left: 14px; }
}

@media (max-width: 600px) {
  #left_main .clanek p,
  #left_main .clanek li {
    font-size: 16px;
    line-height: 25px;
  }
  #left_main .clanek .vedushchij { font-size: 17px; line-height: 27px; }
  #left_main .clanek > p,
  #left_main .clanek > ul,
  #left_main .clanek .faq { max-width: none; }
  #left_main .clanek h2 { margin-top: 26px; }
  .tablica { font-size: 14px; line-height: 20px; }
  /* na telefonu smi bunky zalamovat, tabulka se pak vejde do sirky textu */
  .tablica thead th,
  .tablica td:nth-child(2),
  .tablica td:nth-child(3) { white-space: normal; }
  .tablica .nobr { white-space: nowrap; }
  .tablica th, .tablica td { padding-right: 8px; }
  #left_main .clanek .legenda li,
  #left_main .snimek figcaption { font-size: 14px; line-height: 21px; }
}
