/* RABBET Group – statická verze. Vychází z původní šablony templates/rabbetgroup/css/template.css */
*, *::before, *::after { box-sizing: content-box; }
* { margin: 0; padding: 0; }

:root {
  --teal: #009cab;
  --teal-line: #25bcc5;
  --text: #666666;
  --muted: #cccccc;
}

html { -webkit-text-size-adjust: 100%; }

body {
  background: #fff;
  font-size: 16px;
  line-height: 32px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
  color: var(--text);
  text-align: left;
}

h1 {
  font-weight: bold;
  font-size: 40px;
  line-height: 50px;
  color: var(--teal);
  text-align: right;
  padding: 10px 100px 80px 10px;
}

h2 {
  font-weight: bold;
  font-size: 26px;
  line-height: 38px;
  color: var(--teal);
  padding: 15px 0;
}

/* v původním článku byly mezititulky jako <h4> s výchozím stylem prohlížeče */
.lead {
  font-size: 16px;
  line-height: 32px;
  font-weight: bold;
  color: var(--text);
  padding: 0;
  margin: 0;
}

img { border: 0; max-width: 100%; height: auto; }
p { padding: 0 0 10px 0; }

a {
  color: var(--teal);
  font-weight: normal;
  cursor: pointer;
  text-decoration: none;
  transition: color .3s;
}
a:hover { color: var(--muted); }
a:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.menu_left a:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

.center { text-align: center; }
.notes { font-size: 12px; font-style: italic; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Layout ---------- */
.bg_line { width: 100%; }
.win_line { width: 100%; max-width: 1220px; margin: 0 auto; }
.line { position: relative; padding: 0 10px; }

.layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  align-items: stretch;
  padding-left: 0;
}
/* mezera mezi českou a anglickou částí (v originále prázdný odstavec) */
.bg_document section + section { margin-top: 42px; }

.bg_left {
  background: var(--teal);
  position: relative;
  margin-top: 30px;
  padding: 120px 0 0 0;
}
.bg_logo_top {
  background: #fff;
  position: absolute;
  left: 0;
  top: 0;
  padding: 0 0 20px 0;
  z-index: 1;
}
.logo_top {
  display: block;
  width: 448px;
  height: 97px;
}
.logo_top img { display: block; width: 100%; height: 100%; }

.menu_left { list-style: none; padding: 0; margin: 0; }
.menu_left li { list-style: none; padding: 0 30px; margin: 0; }
.menu_left li a {
  background: var(--teal);
  display: block;
  font-size: 18px;
  line-height: 22px;
  color: #fff;
  border-bottom: dotted 2px var(--teal-line);
  padding: 18px 30px;
  transition: background-color .3s, color .3s;
}
.menu_left li a:hover { background: #fff; color: var(--teal); }
.menu_left li a[aria-current="page"],
.menu_left li a[aria-current="page"]:hover { background: var(--teal); color: var(--muted); }

.bg_document {
  background: url('../img/bg_document.png') right 30px no-repeat;
  text-align: center;
  min-height: 500px;
  padding: 30px 0 30px 70px;
}
.bg_document p { padding: 0 30px 10px 0; }

/* ---------- Banner ---------- */
.banner {
  display: inline-block;
  width: 100%;
  max-width: 290px;
  min-height: 200px;
  text-align: center;
  vertical-align: top;
  border: solid 3px var(--teal);
  padding: 20px;
  margin: 0 10px 20px 10px;
  transition: opacity .3s;
}
.banner:hover { opacity: .6; }
.banner img { width: auto; max-height: 100px; }
.banner .text {
  display: block;
  font-size: 14px;
  line-height: 18px;
  border-top: solid 1px #00aab1;
  color: var(--text);
  padding: 10px 0;
  margin: 10px 0 0 0;
}

/* ---------- Formulář ---------- */
.bg_form { text-align: center; }
.bg_form .item {
  display: inline-block;
  width: 100%;
  max-width: 290px;
  text-align: left;
  vertical-align: top;
}
.inputbox {
  display: inline-block;
  background: #fff;
  width: 100%;
  max-width: 250px;
  height: 35px;
  text-align: left;
  font-size: 16px;
  line-height: 35px;
  font-family: Arial, sans-serif;
  color: var(--text);
  border: 0;
  border-radius: 0;
  border-bottom: solid 2px var(--teal);
  padding: 0 10px;
  margin: 10px 0 15px 0;
  -webkit-appearance: none;
  appearance: none;
}
textarea.inputbox {
  min-width: 250px;
  max-width: 250px;
  min-height: 100px;
  line-height: 22px;
  padding: 10px;
  resize: vertical;
}
.button {
  display: inline-block;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-size: 18px;
  line-height: 28px;
  font-family: Arial, Helvetica, sans-serif;
  border: solid 2px var(--teal);
  border-radius: 0;
  padding: 5px 30px;
  margin: 0 0 10px 0;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color .3s, color .3s;
}
.button:hover { background: var(--teal); color: #fff; }
.asterisk {
  display: inline-block;
  color: #f00;
  font-weight: bold;
  font-size: 20px;
  padding: 0 0 0 5px;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Hlášky ---------- */
.report {
  background: #f3f3f3 url('../img/notice_message.png') 10px center no-repeat;
  width: 100%;
  max-width: 600px;
  border: solid 1px #2fb900;
  color: #6b6c81;
  text-align: left;
  word-wrap: break-word;
  position: relative;
  margin: 0 auto 20px auto;
  box-sizing: border-box;
}
.report.error {
  background-image: url('../img/notice_error.png');
  font-weight: bold;
  color: #e92f2f;
  border-color: #e92f2f;
}
.report p { padding: 20px 30px 15px 50px; }
.report[hidden] { display: none; }

/* ---------- Patička ---------- */
.bg_footer { background: var(--teal); margin: 20px 0 0 0; }
.bg_footer .line {
  background: url('../img/bg_footer.png') 10px top no-repeat;
  min-height: 35px;
  font-size: 14px;
  line-height: 18px;
  color: #fff;
  text-align: center;
  padding: 15px 10px 0 50px;
}
.bg_footer p { padding: 0; }

/* ---------- Responzivita (podle původních zlomů) ---------- */
@media screen and (max-width: 900px) {
  .layout { grid-template-columns: 300px 1fr; }
  .logo_top { width: 350px; height: 76px; }
  .bg_document { padding-left: 10px; }
}
@media screen and (max-width: 700px) {
  .layout { grid-template-columns: 250px 1fr; }
  .logo_top { width: 300px; height: 65px; }
  .bg_document { padding: 30px 0 10px 10px; }
}
@media screen and (max-width: 600px) {
  .layout { display: block; }
  .bg_left { width: 250px; margin: 0 auto; padding: 0 0 10px 0; }
  .bg_logo_top { position: static; padding: 10px 0; }
  .logo_top { width: 250px; height: 54px; }
  .bg_document { padding: 30px 0 10px 0; background-size: 60px auto; }
  .bg_document p { padding: 0 0 10px 0; }
  h1 { font-size: 30px; line-height: 40px; padding: 10px 70px 40px 0; }
  .menu_left li a { padding: 10px 20px; }
  .banner { max-width: 260px; padding: 10px; margin: 0 0 20px 0; }
  .bg_footer .line { min-height: 45px; padding: 5px 10px 5px 50px; }
}
.contact { font-style: normal; }
