/* titulky */
h1>span {
  box-sizing: content-box;
  display: block;
  height: auto;
  line-height: 20px;
  padding: 0px 5px;
}

h1,
.article-details .article-header h1,
.article-details .article-header h2 {
  text-decoration: none;
  font-size: 1.6rem;
}

.h2,
h2 {
  font-size: 1.4rem;
}

.h3,
h3 {
  font-size: 1.1rem;
  color: #F39A00;
}

@media (max-width: 767px) {

  .h2,
  h2 {
    font-size: 16px;
  }

  .h3,
  h3 {
    font-size: 16px;
  }

  .article-list .article .article-header h2 {
    font-size: 16px;
  }
}

.gray {
  color: #68696a;
}

.orange {
  color: #ff7a00;
}

@media (max-width: 767px) {
  .sppb-addon-title span.orange {
    display: block;
  }

  .sppb-addon-title span.small {
    font-size: 12px;
  }
}

/* ===== BOXY S PALIVEM – layout a styl ===== */
.box-full .addon-root-feature,
.box-full .addon-root-feature>div {
  height: 100%;
}

.sppb-addon-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 1%;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 20px 15px;
  transition: all 0.3s ease;
  height: 100%;
}

.sppb-addon-feature img {
  /*max-width: 140px;*/
  height: auto;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
  border-radius: 6px;
}

.sppb-addon-feature:hover img {
  transform: scale(1.05);
}

.sppb-addon-feature:hover {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

/* Nadpis */
.sppb-feature-box-title {
  font-weight: 700;
  color: #f58220;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

/* Text pod nadpisem */
.sppb-addon-feature p {
  color: #444;
  font-size: 15px;
  margin: 0;
}

/* === Kontejner – zarovnání do řádků === */
.sppb-row-paliva {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 20px 0 40px;
}

/* === Responzivní zobrazení === */
@media (max-width: 992px) {
  .sppb-addon-feature {
    margin: 2% auto;
  }
}

@media (max-width: 600px) {
  .sppb-addon-feature {
    width: 100%;
    margin: 10px 0;
  }
}


a {
  color: #D6101A;
}

a,
a:hover,
.moduletable_menu ul.menu li ul li a:hover,
.cart-info-items,
.color3 [class*="feedback-stars"] {
  /*color: #bc0010;*/
  color: #fea200;
}

img {
  display: inline-block;
}

/* sekce box-shadow */
.section-box-shadow>div>div>div,
.section-box-shadow-row>div>div.sppb-row {
  margin: 0 15px;
}

.section-box-shadow>div>div>div>.sppb-column,
.section-box-shadow-row>div>div.sppb-row {
  background: #fff;
  padding: 35px 45px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06) !important;
  transition: box-shadow 0.4s ease;
}

@media (max-width: 767px) {
  .section-box-shadow>div>div>div {
    margin: 0 0px;
  }

  .section-box-shadow>div>div>div>.sppb-column,
  .section-box-shadow-row>div>div.sppb-row {
    padding: 20px 10px;
  }
}

/* tabulka */
/* ZÁKLAD */
.page-content table.verticaltop.autosize {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  margin: 1.5rem 0 2.25rem;
  font-size: 14px;
  line-height: 1em;
  background: #fff;
}

.page-content table.verticaltop.autosize tr {
  border-top: 1px solid #efefef;
  transition: background-color .15s ease;
  background:
    linear-gradient(90deg, #f58220 0 3px, transparent 3px);
  /* tenký oranžový levý accent */
}

.page-content table.verticaltop.autosize tr:first-child {
  border-top: none;
}

.page-content table.verticaltop.autosize tr:nth-child(even) {
  background:
    linear-gradient(90deg, #f58220 0 3px, transparent 3px),
    linear-gradient(#0000, #0000);
  /* zachová accent i na zebra řádku */
}

.page-content table.verticaltop.autosize tr:hover {
  background:
    linear-gradient(90deg, #f58220 0 3px, transparent 3px),
    #fafafa;
}

/* BUŇKY */
.page-content table.verticaltop.autosize td {
  padding: 5px 5px;
  vertical-align: middle;
  border: 0;
  color: #333;
}

/* LEVÝ SLOUPEC S ČÍSLEM */
.page-content table.verticaltop.autosize td:first-child {
  width: 64px;
  white-space: nowrap;
  text-align: right;
  padding-right: 10px;
  color: #f58220;
}

.page-content table.verticaltop.autosize td:first-child .orange {
  display: inline-block;
  min-width: 34px;
  padding: 2px 8px;
  text-align: center;
  border: 1px solid #f6b077;
  background: #fff6ee;
  /* jemné oranžové pozadí */
  color: #f06e00;
  border-radius: 6px;
  font-weight: 700;
}

/* TEXTOVÝ SLOUPEC */
.page-content table.verticaltop.autosize td:last-child {
  color: #2f2f2f;
}

/* VNĚJŠÍ OKRAJ POSLEDNÍHO ŘÁDKU */
.page-content table.verticaltop.autosize tr:last-child td {
  border-bottom: none;
}

/* VNESTĚNÁ TABULKA (bod 19) – ať působí jako seznam příslušenství */
.page-content table.verticaltop.autosize table {
  width: 100%;
  margin: .35rem 0 0;
  border: none;
}

.page-content table.verticaltop.autosize table td {
  border: none !important;
  padding: 0;
  text-align: center;
  font-weight: 600;
  color: #444;
}

/* RESPONZIVNÍ DOLAĎENÍ */
@media (max-width: 600px) {
  .page-content table.verticaltop.autosize {
    font-size: 12px;
    border-radius: 8px;
    margin: 1rem 0 1.5rem;
  }

  .page-content table.verticaltop.autosize td {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border: none;
    text-align: left;
  }

  .page-content table.verticaltop.autosize tr:nth-child(even) {
    background: linear-gradient(90deg, #f58220 0 0px, transparent 0px),
      linear-gradient(#0000, #0000);
  }

  .page-content table.verticaltop.autosize tr {
    display: block;
    border: 1px solid #f3f3f3;
    border-left: 3px solid #f58220;
    border-radius: 6px;
    margin-bottom: 8px;
    background: #fff;
  }

  /* číslo (badge) – zvětšit a dát před text */
  .page-content table.verticaltop.autosize td:first-child {
    text-align: left;
    padding: 6px 10px 0 10px;
    width: auto;
  }

  .page-content table.verticaltop.autosize td:first-child .orange {
    display: inline-block;
    background: #f58220;
    color: #fff;
    border-radius: 4px;
    padding: 2px 8px;
    font-weight: 700;
    font-size: 12px;
    min-width: 30px;
  }

  /* text popisu */
  .page-content table.verticaltop.autosize td:last-child {
    padding-top: 2px;
    padding-left: 10px;
    color: #333;
    font-size: 12px;
  }

  /* vnořená tabulka (bod 19) */
  .page-content table.verticaltop.autosize table td {
    text-align: left;
    font-size: 14px;
    padding-left: 20px;
  }
}


/* ============================================================
   ������ Stylování obsahu článků – CSTfire
   ============================================================ */

/* Seznamy (ul, li) */
div#sp-component ul {
  list-style: none;
  margin: 0 0 1.5em 0;
  padding: 0;
}

div#sp-component ul li {
  position: relative;
  margin: 0.4em 0 0.4em 1.6em;
  padding: 0 0 0.2em;
  line-height: 1.6;
  color: #333;
}

/* Vlastní tečka / odrážka */
div#sp-component ul li::before {
  content: "";
  position: absolute;
  left: -1.6em;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background-color: #ff8a1d;
  /* světlejší firemní oranžová */
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff;
  transition: transform .2s ease, background-color .2s ease;
}

/* Hover efekt na položce seznamu */
div#sp-component ul li:hover::before {
  transform: scale(1.2);
  background-color: #f26c00;
  /* tmavší odstín oranžové */
}

/* Nadpisy sekcí (např. 1. Plně automatická regulace) */
div#sp-component h3.orange {
  color: #f26c00;
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 0.6em;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  letter-spacing: 0.3px;
}

/* Oranžový pruh vlevo před nadpisem */
div#sp-component h3.orange::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 18px;
  margin-right: 8px;
  background-color: #f58220;
  border-radius: 2px;
}

/* Responsivní úprava pro mobily */
@media (max-width: 600px) {
  div#sp-component ul li {
    margin-left: 1.2em;
    font-size: 13px;
    line-height: 1.5;
  }

  div#sp-component ul li::before {
    width: 6px;
    height: 6px;
    left: -1.2em;
  }

  div#sp-component h3.orange {
    font-size: 14px;
    margin-top: 1.6em;
  }
}

/* ============================================================
   ������ Konec stylování obsahu článků
   ============================================================ */

/* === Fotogalerie – základní styl === */
#mod-speasyimagegallery-6665 .gallery-row {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
  justify-content: center;
}

#mod-speasyimagegallery-6665 .gallery-col {
  width: 33.333%;
  padding: 10px;
  box-sizing: border-box;
}

#mod-speasyimagegallery-6665 .speasyimagegallery-gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Obrázky */
#mod-speasyimagegallery-6665 .speasyimagegallery-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* === Hover efekt === */
#mod-speasyimagegallery-6665 .speasyimagegallery-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

#mod-speasyimagegallery-6665 .speasyimagegallery-gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(85%);
}

/* Poloprůhledný overlay efekt */
#mod-speasyimagegallery-6665 .speasyimagegallery-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  border-radius: 8px;
}

#mod-speasyimagegallery-6665 .speasyimagegallery-gallery-item:hover::after {
  background: rgba(0, 0, 0, 0.25);
}

/* === Responsivní zobrazení === */
@media (max-width: 992px) {
  #mod-speasyimagegallery-6665 .gallery-col {
    width: 50%;
    padding: 8px;
  }
}

@media (max-width: 600px) {
  #mod-speasyimagegallery-6665 .gallery-col {
    width: 100%;
    padding: 5px 0;
  }
}


/* title */
.sp-page-title {
  background: #fea200;
  padding: 30px 0 20px;
}

.sp-page-title .sp-page-title-heading {
  font-size: 20px;
  padding: 0px 15px;
  font-weight: 600;
}

/* top bar*/
#sp-top-bar {
  background: #cbcbcb;
  color: #060606;
}

#sp-top-bar a {
  color: #060606;
}

/* page */
#sp-main-body {
  padding: 30px 0;
}

/* uvod */
/* --- základní vzhled bloku --- */
.banner-filter .sppb-addon-feature {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.35s ease;
  text-align: center;
  display: inline-block;
}

/* --- efekt při hoveru --- */
.banner-filter .sppb-addon-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* --- obrázek – zčernobílý na barevný --- */
.banner-filter .sppb-addon-feature img {
  /*filter: grayscale(100%) brightness(0.9);*/
  transition: filter 0.4s ease, transform 0.4s ease;
}

.banner-filter .sppb-addon-feature:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.05);
}

/* --- texty --- */
.banner-filter .sppb-addon-title {
  font-weight: 600;
  color: #333;
  margin-top: 12px;
  transition: color 0.3s ease;
}

.banner-filter .sppb-addon-feature:hover .sppb-addon-title {
  color: #ff9900;
  /* oranžový tón při hoveru */
}

.banner-filter .sppb-addon-text p {
  color: #666;
  margin: 0;
}

.banner-filter .sppb-addon-feature:hover {
  border-top: 4px solid #ff9900;
}

/* novinky */
/* --- CELKOVÉ NASTAVENÍ SEKCÍ --- */
.sppb-addon-articles .sppb-addon-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  /* mezera mezi články */
}

/* --- JEDNOTLIVÉ ČLÁNKY --- */
.sppb-addon-article {
  background: #fff;
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.sppb-addon-article:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* --- NADPIS NOVINKY --- */
.sppb-addon-article a[itemprop="url"] {
  font-weight: 600;
  font-size: 12px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sppb-addon-article:hover a[itemprop="url"] {
  color: #ff9900;
}

/* --- DATUM --- */
.sppb-meta-date {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  color: #888;
  margin: 5px 0 10px 0;
  gap: 6px;
}

/* --- ÚVODNÍ TEXT --- */
.sppb-article-introtext p {
  margin: 0 0 10px;
  color: #555;
  line-height: 1.5;
  font-size: 12px;
}

/* --- ODKAZ 'ČÍST VÍCE' --- */
.sppb-readmore {
  display: inline-block;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sppb-readmore:hover {
  color: #d97f00 !important;
  transform: translateX(3px);
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
  .sppb-addon-article {
    padding: 14px 18px;
  }
}

/* popis bloky */
/* --- CELÝ BLOK (text + obrázky) --- */
#column-id-1760009027117 {
  background: #fff;
  padding: 40px 50px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.4s ease;
}

#column-id-1760009027117:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* --- HLAVNÍ NADPISY (zachovat menší velikost, ale přidat design) --- */
#sppb-addon-1760010345198 .sppb-addon-title,
#sppb-addon-Wd1f3Bz3HTSPjSQBGli_B .sppb-addon-title,
#sppb-addon-2RAyjs1uwsW_zFAyL_MTS .sppb-addon-title {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 18px;
  position: relative;
}

/* Jemná linka pod nadpisem */
#sppb-addon-1760010345198 .sppb-addon-title::after,
#sppb-addon-Wd1f3Bz3HTSPjSQBGli_B .sppb-addon-title::after,
#sppb-addon-2RAyjs1uwsW_zFAyL_MTS .sppb-addon-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin-top: 8px;
  background: linear-gradient(90deg, #ff9900, #ffcc66);
  border-radius: 2px;
}

/* --- TEXT --- */
#sppb-addon-1760010544303 p,
#sppb-addon-53a345e5-0931-4f68-ae0d-6e816a07a2a8 p {
  color: #444;
  line-height: 1.7;
  font-size: 13px;
}

#sppb-addon-1760010544303 p strong {
  color: #ff9900;
  font-weight: 600;
}

/* --- OBRÁZKY --- */
.sppb-addon-single-image-container img {
  border-radius: 8px;
  transition: transform 0.4s ease, filter 0.4s ease;
  /*filter: grayscale(40%) brightness(0.95);*/
}

.sppb-addon-single-image-container:hover img {
  /*transform: scale(1.05);*/
  filter: grayscale(0%) brightness(1);
}

/* --- ODDĚLENÍ OBRÁZKŮ --- */
#section-id-1760009027189 .sppb-row,
#section-id-zrfGEUvDdxZpscNJ0m1Cu .sppb-row {
  gap: 1px;
  justify-content: center;
}

/* --- MOBILNÍ VERZE --- */
@media (max-width: 767px) {
  #column-id-1760009027117 {
    padding: 25px 20px;
  }

  #sppb-addon-1760010345198 .sppb-addon-title,
  #sppb-addon-Wd1f3Bz3HTSPjSQBGli_B .sppb-addon-title {
    font-size: 16px;
  }

  #sppb-addon-1760010544303 p {
    font-size: 12px;
  }
}

/* kontaktní formulář */
/* --- KONTEJNER FORMULÁŘE --- */
#column-id-1760013743747,
body #column-id-88c63d22-1331-464c-ad6e-d1af22c85f32 {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  padding: 35px 45px;
  transition: box-shadow 0.3s ease;
}

#column-id-1760013743747:hover,
body #column-id-88c63d22-1331-464c-ad6e-d1af22c85f32:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* --- TEXTOVÁ POLE --- */
.myFormStyle input[type="text"],
.myFormStyle input[type="email"],
.myFormStyle textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.myFormStyle input:focus,
.myFormStyle textarea:focus {
  border-color: #ff9900;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.15);
}

/* --- POPISKY --- */
.myFormStyle label {
  font-size: 11px;
  color: #444;
  margin-bottom: 4px;
  display: inline-block;
}

/* --- TLAČÍTKO --- */
.rsform-submit-button {
  background: #ff9900;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  padding: 10px 26px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rsform-submit-button:hover {
  background: #e38400;
  transform: translateY(-1px);
}

/* --- TEXT POD FORMULÁŘEM --- */
.rsform-block-souhlas p {
  font-size: 10px;
  color: #777;
  margin-top: 10px;
  line-height: 1.4;
}

/* --- CHYBY --- */
.formRed {
  color: #c62828;
  font-weight: 500;
  background: rgba(198, 40, 40, 0.05);
  padding: 8px 10px;
  border-radius: 6px;
}

/* --- PRAVÝ BLOK S ADRESOU --- */
#column-id-1760013743748,
body #column-id-9d9a36fa-e546-42fb-9961-60dc96f68658 {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  padding: 35px;
  font-size: 13px;
  color: #333;
  line-height: 1.7;
}

#column-id-1760013743748 strong,
#column-id-9d9a36fa-e546-42fb-9961-60dc96f68658 strong {
  color: #ff9900;
}

#column-id-1760013743748 p,
#column-id-9d9a36fa-e546-42fb-9961-60dc96f68658 p {
  margin-bottom: 10px;
}

/* --- MOBILNÍ VERZE --- */
@media (max-width: 767px) {

  #column-id-1760013743747,
  #column-id-1760013743748,
  #column-id-88c63d22-1331-464c-ad6e-d1af22c85f32,
  #column-id-9d9a36fa-e546-42fb-9961-60dc96f68658 {
    padding: 25px 20px !important;
  }

  .myFormStyle input,
  .myFormStyle textarea {
    font-size: 11px;
  }

  .rsform-submit-button {
    width: 100%;
  }
}

/* Základní box model a zarovnání */
form#zpravaForm {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  /* centrování na stránce */
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

form#zpravaForm .rsform-block {
  margin-bottom: 20px;
}

form#zpravaForm input[type="text"],
form#zpravaForm textarea {
  width: 100%;
  font-size: 14px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  transition: border 0.2s;
}

form#zpravaForm input[type="text"]:focus,
form#zpravaForm textarea:focus {
  border-color: #D6101A;
  outline: none;
}

form#zpravaForm textarea {
  min-height: 120px;
  resize: vertical;
}

/* Popisky inputů */
form#zpravaForm label.formControlLabel {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
  display: none;
}

/* Skrytí labelu u hashcash a tlačítka odeslat */
form#zpravaForm .rsform-type-hashcash label.formControlLabel,
form#zpravaForm .rsform-type-submitbutton label.formControlLabel {
  display: none;
}

/* Styl hashcash */
form#zpravaForm .rsform-type-hashcash button[type="button"] {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  background: #f8f8f8;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  cursor: pointer;
  transition: border 0.2s, background 0.2s;
}

form#zpravaForm .rsform-type-hashcash button[type="button"]:hover {
  border-color: #D6101A;
  background: #f0f0f0;
}

form#zpravaForm .rsform-type-hashcash button[type="button"] svg.hashcash__pending {
  flex-shrink: 0;
  margin-right: 10px;
}

form#zpravaForm .rsform-type-hashcash button[type="button"] span.hashcash__text {
  font-size: 12px;
  line-height: 1.2;
  color: #333;
}

/* Souhlas */
form#zpravaForm .rsform-block.rsform-block-souhlas {
  font-size: 10px;
  color: #666;
  margin-bottom: 5px;
}

/* Tlačítko odeslat */
form#zpravaForm button[type="submit"] {
  background: #fea200;
  border: none;
  color: white;
  font-weight: bold;
  font-size: 14px;
  padding: 12px 30px 12px 30px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: pre-line;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  line-height: 1.25;
  transition: all .15s ease-in-out;
  height: auto;
  width: 100%;
}

body form#zpravaForm button[type="submit"]:hover {
  background-color: #FFFFFF;
  color: #fea200;
  border: 1px solid #fea200;
}

form#zpravaForm .formHorizontal .formControlLabel {
  width: 0;
}

/* Validace */
form#zpravaForm .formValidation {
  display: none;
  /* Skrýt defaultní texty */
}

form#zpravaForm .formRed {
  background: #ffe6e6;
  border-left: 4px solid #D6101A;
  padding: 10px;
  color: #D6101A;
  margin-bottom: 20px;
  border-radius: 4px;
}

/* Placeholder barva */
form#zpravaForm input::placeholder,
form#zpravaForm textarea::placeholder {
  color: #999;
}


/* skryti sekce co nabizime */
#co-nabizime-secondary {
  display: none;
}

/* obal obrázku */
.article-list .article .article-intro-image {
  flex: 0 0 25%;
  margin: 0 30px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  /* pevná výška pro všechny obrázky */
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #eee;
}

/* samotný obrázek */
.article-list .article .article-intro-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  /* nebo cover pokud chceš, aby se ořezával */
  display: block;
}

/* textová část */
.article-list .article-body {
  flex: 1;
  min-width: 0;
  /* aby text nepřetékal */
}

/* samotná „kartička“ článku */
.article-list .article {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fafafa;
  transition: box-shadow 0.3s ease;
}

/* hover efekt pro hezčí vzhled */
.article-list .article:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: #fff;
}

/* pagenation */
.pagination>.active>a,
.pagination>.active>span {
  border-color: #d6101a;
  background-color: #d6101a;
}

/* jce */
/* Flex kontejner */
.row.flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.row.flex [class*="col-md-"] {
  flex: 0 0 auto;
}

.row.flex .col-md-2 {
  width: calc(16.666% - 20px);
}

.row.flex .col-md-3 {
  width: calc(25% - 20px);
}

.row.flex .col-md-4 {
  width: calc(33.333% - 20px);
}

.row.flex .col-md-5 {
  width: calc(20% - 20px);
}

.row.flex .col-md-6 {
  width: calc(50% - 20px);
}

.row.flex .col-md-12 {
  width: auto;
}

/* Každý odkazový blok má stejnou velikost */
.row.flex>a.wf-zoom-image {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 270px;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 0;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.row.flex>a.wf-zoom-image.col-md-12 {
  height: auto;
}

.row.flex>a.wf-zoom-image:hover {
  transform: scale(1.05);
  border-color: #999;
}

div span a.wfpopup img.border {
  float: right;
}


/* table */
table {
  width: 100%;
  margin-bottom: 10px;
}

div.article-details table td {
  vertical-align: top;
  text-align: center;
}

tbody td {
  border: 1px solid #dedede;
}

td {
  padding: 8px 10px;
  text-align: left;
}

td p {
  margin-top: 0;
  margin-bottom: 0;
}

/* --- Styl pro tabulku DXF --- */
.table.dxf {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 14px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Hlavička tabulky */
.table.dxf th {
  background: #f9fafb;
  color: #222;
  font-weight: 600;
  text-align: center;
  padding: 10px;
  border: 1px solid #ddd;
  vertical-align: middle;
}

.table.dxf th[colspan] {
  background: #f1f3f5;
  font-size: 15px;
  letter-spacing: 0.3px;
}

/* Buňky */
.table.dxf td {
  padding: 8px 10px;
  border: 1px solid #e5e5e5;
  text-align: center;
  vertical-align: middle;
  background-color: #fff;
  transition: background 0.2s ease;
}

/* Zebra efekt */
.table.dxf tr:nth-child(even) td {
  background-color: #fafafa;
}

/* Hover efekt */
.table.dxf tr:hover td {
  background-color: #fef3e5;
}

/* Odkazy na DXF soubory */
.table.dxf a {
  color: #ff9100;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.table.dxf a:hover {
  color: #e87e00;
  border-color: #e87e00;
}

/* Silné texty (výkon, DXF) */
.table.dxf strong {
  color: #333;
  font-weight: 600;
}

/* Menší úprava paddingu pro mobil */
@media (max-width: 767px) {

  .table.dxf th,
  .table.dxf td {
    font-size: 12px;
    padding: 6px 5px;
  }

  .table.dxf th[colspan] {
    font-size: 12px;
  }
}

/* table rference */
div.article-details table.references td {
  vertical-align: top;
  text-align: left;
  border: 0;
  font-size: 12px;
}

div.article-details table.references td .orange {
  font-weight: 400;
}

.reference p {
  margin-top: 0;
  margin-bottom: 0;
  padding: 8px 10px;
  font-size: 12px;
}

.reference p .orange {
  font-weight: 400;
}

#year-indicator {
  display: none;
}

/* Styl pro roky – aktivní jen na stránkách s body.reference */
.reference #year-indicator {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: bold;
  color: #999;
  opacity: 0.9;
  text-align: center;
  z-index: 9999;
  right: 5px;
  background: rgba(193, 180, 156, 0.33);
  padding: 6px 8px;
  border-radius: 6px;
  display: block;
}

.reference #year-indicator ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.reference #year-indicator li {
  margin: 4px 0;
  cursor: pointer;
  transition: color 0.3s, font-size 0.3s, transform 0.3s;
}

.reference #year-indicator li.active {
  color: #ffc259;
  font-size: 12px;
  transform: scale(1.1);
}

.reference #year-indicator li:hover {
  color: #ebd5af;
}

@media (min-width: 769px) {
  .reference #year-indicator {
    position: fixed;
    bottom: 0;
    top: auto;
    right: 0;
    left: 0;
    transform: none;
    background: rgba(193, 180, 156, 0.9);
    padding: 6px 10px;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 0;
    z-index: 9999;
  }

  .reference #year-indicator ul {
    display: inline-flex;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .reference #year-indicator li {
    display: inline-block;
    margin: 0 8px;
    cursor: pointer;
    font-size: 1em;
    color: #fff;
    transition: color 0.3s, transform 0.3s;
  }

  .reference #year-indicator li.active {
    color: #ffc259;
    transform: scale(1.1);
    font-weight: 600;
  }

  .reference #year-indicator li:hover {
    color: #ebd5af;
  }
}

@media (max-width: 768px) {
  .reference #year-indicator {
    position: fixed;
    bottom: 0;
    top: auto;
    right: 0;
    left: 0;
    transform: none;
    background: rgba(193, 180, 156, 0.9);
    padding: 6px 10px;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 0;
    z-index: 9999;
  }

  .reference #year-indicator ul {
    display: inline-flex;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .reference #year-indicator li {
    display: inline-block;
    margin: 0 8px;
    cursor: pointer;
    font-size: 1em;
    color: #fff;
    transition: color 0.3s, transform 0.3s;
  }

  .reference #year-indicator li.active {
    color: #ffc259;
    transform: scale(1.1);
    font-weight: 600;
  }

  .reference #year-indicator li:hover {
    color: #ebd5af;
  }
}

@media (max-width: 767px) {

  .reference table span.orange,
  .reference .article-details p span.orange {
    display: block;
  }

  div.article-details table.references td,
  .reference .article-details p span.orange,
  .reference .article-details p {
    text-align: center;
  }
}

/* ---- Základní styl tabů (CSTfire styl) ---- */
.sppb-addon-tab {
  margin-top: 20px;
  margin-bottom: 25px;
}

/* Navigace tabů */
.sppb-tab .sppb-nav-modern {
  display: flex;
  align-items: center;
  border-bottom: 2px solid #ff9100;
  margin-bottom: 15px;
  gap: 10px;
  flex-wrap: wrap;
  padding-left: 0;
  list-style: none;
}

/* Položky navigace */
div#sp-component .sppb-tab ul.sppb-nav-modern li {
  display: inline-block;
  margin: 0;
  padding: 0;
}

div#sp-component .sppb-tab ul.sppb-nav-modern li::before {
  display: none;
}

/* Odkazy v záložkách */
.sppb-tab .sppb-nav-modern li a {
  display: inline-block;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 15px;
  color: #333;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px 4px 0 0;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* Hover efekt */
.sppb-tab .sppb-nav-modern li a:hover {
  background: #fff7ed;
  border-color: #ff9100;
  color: #ff9100;
}

/* Aktivní záložka */
.sppb-tab .sppb-nav-modern li.active a,
.sppb-tab .sppb-nav-modern li a.active {
  background: #ff9100;
  border-color: #ff9100;
  color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Obsah záložky */
.sppb-tab-content {
  border: 0px solid #eee;
  border-radius: 0;
  background: #fff;
  padding: 0;
  box-shadow: none;
}

/* Plynulý přechod při přepnutí záložky */
.sppb-tab-pane {
  transition: opacity 0.25s ease;
}

/* Mobilní přizpůsobení */
@media (max-width: 767px) {
  .sppb-tab .sppb-nav-modern li a {
    padding: 8px 12px;
    font-size: 12px;
  }

  .sppb-tab-content {
    padding: 15px;
  }
}



/* Obrázky se přizpůsobí velikosti bloku */
.flex a.wf-zoom-image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: 0 !important;
}


#sp-bottom a {
  color: #252525;
}

#sp-bottom a:hover,
#sp-bottom a:focus {
  color: #D6101A;
}

.sp-megamenu-parent>li.active>a,
.sp-megamenu-parent>li.active:hover>a {
  color: #d6101a;
  text-transform: uppercase;
}

.offcanvas-menu .offcanvas-inner ul.menu>li span,
.offcanvas-menu.border-menu .offcanvas-inner ul.menu>li a {
  text-transform: uppercase;
}

.offcanvas-menu .offcanvas-inner ul.menu li.active a {
  color: #656581;
  text-transform: uppercase;
}

.offcanvas-menu .offcanvas-inner ul.menu li.active>a,
.offcanvas-menu .offcanvas-inner ul.menu>li a:hover,
.offcanvas-menu .offcanvas-inner ul.menu>li a:focus,
.offcanvas-menu .offcanvas-inner ul.menu>li span:hover,
.offcanvas-menu .offcanvas-inner ul.menu>li span:focus {
  color: #ff7a00;
  text-transform: uppercase;
}

.offcanvas-menu.border-menu .offcanvas-inner ul.menu>li>span.nav-header {
  padding: 15px 30px 15px 10px;
}

.offcanvas-menu.border-menu .offcanvas-inner ul.menu ul {
  padding-bottom: 0;
}

.offcanvas-menu .offcanvas-inner ul.menu>li>ul li a {
  font-size: 15px;
  padding: 10px 0px;
  line-height: 24px;
}

/* uprava top a header dle AI */

#sp-top-bar {
  padding: 6px 0;
  font-size: 0.75rem;
  background: #fea200;
  color: #fff;
}

#sp-top-bar a {
  color: #fff;
  text-decoration: none;
}

#sp-top-bar .sp-contact-info li {
  margin-left: 15px;
}

#sp-top-bar .sp-contact-info li span {
  color: #68696a;
  margin-right: 5px;
}

#sp-header {
  height: 80px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s ease;
}

#sp-header.header-sticky {
  right: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
}

#sp-header.header-sticky a {
  color: #111;
}

#sp-menu ul.sp-megamenu-parent>li>a {
  color: #222;
  padding: 0px 10px;
  position: relative;
  transition: color 0.3s;
}

#sp-header.header-sticky #sp-menu ul.sp-megamenu-parent>li>a {
  color: #222;
}

#sp-menu ul.sp-megamenu-parent>li>a:hover {
  color: #222;
}

/* Podtržení linku – použijeme ::before */
#sp-menu ul.sp-megamenu-parent>li>a::before {
  content: "";
  position: absolute;
  bottom: 18px;
  left: 20%;
  width: 0;
  height: 2px;
  background: #fea200;
  transition: width 0.3s;
}

#sp-menu ul.sp-megamenu-parent>li>a:hover::before {
  width: 60%;
}

/* Aktivní položka menu – stejné zvýraznění jako hover */
#sp-menu ul.sp-megamenu-parent>li.active>a,
#sp-menu ul.sp-megamenu-parent>li.current-item>a {
  color: #fea200;
}

#sp-menu ul.sp-megamenu-parent>li.active>a::before,
#sp-menu ul.sp-megamenu-parent>li.current-item>a::before {
  width: 60%;
  /* stejná délka linky jako při hover */
}

/* submenu box */
.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  /* jemnější stín */
  padding: 8px 0;
  /* menší padding nahoře/dole */
  animation: fadeDown 0.25s ease;
  /* jemná animace */
}

/* položky v submenu */
.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner ul.sp-dropdown-items li a {
  display: block;
  padding: 10px 18px;
  color: #222;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* hover efekt */
.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner ul.sp-dropdown-items li a:hover {
  background: #f8f8f8;
  color: #fea200 !important;
  padding-left: 22px;
  /* jemný posun doprava */
}

/* jemná animace otevření */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Aktivní položka submenu */
.sp-dropdown-inner ul.sp-dropdown-items li.active>a,
.sp-dropdown-inner ul.sp-dropdown-items li.current-item>a {
  color: #e30613;
  font-weight: 600;
  background: #f8f8f8;
}

.sp-dropdown-inner ul.sp-dropdown-items li.active>a,
.sp-dropdown-inner ul.sp-dropdown-items li.current-item>a {
  color: #e30613;
  font-weight: 600;
  background: #f8f8f8;
  padding-left: 22px;
}


/* CTA tlačítko v menu */
#sp-menu ul.sp-megamenu-parent>li.cta>a {
  background: #e30613;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 4px;
  margin-left: 15px;
  transition: background 0.3s;
}

#sp-menu ul.sp-megamenu-parent>li.cta>a:hover {
  background: #b5050f;
}

.burger-icon>span {
  background-color: #222;
}

#sp-header.header-sticky .burger-icon>span {
  background-color: #222;
}


.offcanvas-active .burger-icon>span {
  background-color: #e30613;
}


/* and ai style */

/* paticka */
#sp-bottom {
  background: #ffffff;
  color: #252525;
}

#sp-footer {
  background: #fea200;
  color: #ffffff;
}

#sp-footer .container-inner {
  padding: 10px 0 5px;
  border-top: 1px solid rgb(207 207 207 / 10%);
}

/* info */
sp-contact-info li.sp-contact-email {
  margin: 0px 0px 0px 0px;
}

/* moduly obrazky menu */
/* RYCHLONAVIGACE MENU MODUL (bottom-long) */
section#bottom-long {
  margin-top: 50px;
}

section#bottom-long>div.container {
  /*padding: 0px;*/
}

section#bottom-long div.moduletable:last-child {
  margin-bottom: 0px;
}

div.moduletable.myBottomMenu {}

div.moduletable.myBottomMenu div.module-content {
  padding: 0px;
}

ul.menu.myImgBgMenu {
  margin: 0px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px 0px;
  margin: 0px -10px;
  max-width: none;
  width: auto;
}

ul.menu.myImgBgMenu>li {
  display: block;
  padding: 0px 10px;
  box-sizing: border-box;
  float: none;
  width: 20%;
  /*min-width: 230px;*/
  min-width: 186px;
  transition: all 0.2s linear 0s;
  transform: scale(1.0);
}

/* RYCHLONAVIGACE MENU MODUL (bottom-long) - for myCol4 */
ul.menu.myImgBgMenu.myCol4>li {
  width: 25%;
  min-width: 169px;
}

/* RYCHLONAVIGACE MENU MODUL (bottom-long) - END for myCol4 */
ul.menu.myImgBgMenu>li:hover {
  transform: scale(1.1);
  /*box-shadow: 0px 0px 3px rgba(214, 16, 26, 0.50);*/
}

ul.menu.myImgBgMenu>li>a {
  display: block;
  border: 1px solid #D6101A;
  border-bottom: 0px;
  position: relative;
  /*height: 100%;*/
  padding-bottom: 0px;
}

ul.menu.myImgBgMenu>li>a>span {
  /*height: 100%;*/
  /*display: flex;*/
  /*flex-direction: column;*/
  display: block;
}

ul.menu.myImgBgMenu>li div.myImgBg {
  width: 100%;
  background-position: 50%;
  background-repeat: no-repeat;
  /*background-size: cover;*/
  background-size: contain;
  margin-bottom: 0px;
}

ul.menu.myImgBgMenu.myImgFull>li div.myImgBg {
  background-size: cover;
}

ul.menu.myImgBgMenu>li div.myImgBg:before {
  content: '';
  display: block;
  padding-top: 75%;
}

ul.menu.myImgBgMenu>li span.image-title {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  color: white;
  background-color: #D6101A;
  line-height: 18px;
  padding: 9px 9px;
  /*position: absolute;*/
  left: 0px;
  right: 0px;
  bottom: 0px;
  /*flex: 1;*/
  /*display: flex;*/
  /*flex-direction: row;*/
  /*flex-wrap: nowrap;*/
  /*justify-content: center;*/
  /*align-items: center;*/
}

/*  add style for right images */
table.myRightTable {
  float: right;
}

table.myRightTable td {
  padding: 0px;
  border: 0px;
}


div.article-details table.myStyleTable {
  width: 100%;
}

table.myStyleTable tr:nth-child(2n+3) td {
  background-color: #c2d8ff;
}

div.article-details table.myStyleTable td {
  font-size: 10pt;
  /*text-align: left;*/
  width: 50%;
}

table.myStyleTable td:first-child {
  border-right: 0px;
}

table.myStyleTable td:last-child {
  border-left: 0px;
}

div.article-details table.myStyleTable td[colspan="2"] {
  background-color: #4d6084;
  color: white;
  font-size: 16pt;
  text-align: center;
}

div.article-details table.myStyleTable tr:nth-child(n+2):hover td {
  /*background-color: #949aa5;*/
}

/* upravy 19052022 */
.productdetails div.myPriceAndCart,
.productdetails div.myPriceAndCart div.myPriceAndCart2 {
  float: none;
}

.productdetails div.myChildProducts {
  text-align: left;
}


/* REPAIR ART KONTAKT */
div.myMoveTable {
  overflow: auto;
  width: 100%;
}

div.myMoveTable>table {
  width: 727px;
  max-width: 727px;
}

/* menu */
.sp-megamenu-parent {
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
}

.sp-megamenu-parent>li>a,
.sp-megamenu-parent>li>span {
  font-size: 13px;
  text-transform: uppercase;
  text-align: center;
  padding: 0 5px;
  cursor: pointer;
}

#sp-menu ul.sp-megamenu-parent>li.twoRow>a,
#sp-menu ul.sp-megamenu-parent>li>a.twoRow {
  line-height: 1em;
  max-width: 170px;
}

#sp-menu ul.sp-megamenu-parent>li.twoRow>a::before,
#sp-menu ul.sp-megamenu-parent>li>a.twoRow::before {
  bottom: -10px;
}

@media(max-width: 991px) {
  .sp-megamenu-parent {
    display: none !important;
  }
}

/* kontakty */
.pobocky {
  background: #fff;
  /* bílé pozadí */
  border: 1px solid #e5e5e5;
  /* jemný šedý okraj */
  border-radius: 6px;
  /* zakulacení rohů */
  padding: 20px 25px;
  /* vnitřní odsazení */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  /* jemný stín */
  transition: all 0.3s ease;
  /* animace na hover */
  border-top: 3px solid #e30613;
}

.pobocky:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  /* zvýrazní se při hoveru */
  transform: translateY(-2px);
  /* lehké „nadzvednutí“ */
}

.contact-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s ease;
  border-top: 3px solid #e30613;
}

.contacts-grid .contact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-card:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-3px);
}

.contact-card .contactTitle {
  margin: 0 0 8px;
  color: #e30613;
  font-weight: 600;
  font-size: 18px;
}

.contact-card .role {
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 10px;
  font-weight: 700;
}

.contact-card .area {
  font-size: 0.75rem;
  color: #333;
  margin-bottom: 12px;
}

.contact-card i {
  width: 20px;
  color: #555;
}

.contact-card .email a {
  color: #e30613;
  font-weight: bold;
}

.contact-card .phone a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

.contact-card .email a:hover,
.contact-card .phone a:hover {
  text-decoration: underline;
}

p.email,
p.phone {
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .contact-card {
    margin-bottom: 20px;
  }
}

/* tlacitko uvod */
.cela-nabidka {
  background: #D6101A;
  /* hlavní červená */
  border: none;
  color: #fff;
  font-size: 14px;
  padding: 12px 30px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  line-height: 1.25;
  transition: all .15s ease-in-out;
  font-weight: bold;
  text-decoration: none;
  /* odstraní podtržení odkazu */
}

/* Hover efekt */
.cela-nabidka:hover,
.cela-nabidka:focus {
  background-color: #fff;
  color: #D6101A;
  border: 1px solid #D6101A;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* uvod co nabizime */
section#co-nabizime-primary .addon-root-feature>div:hover,
section#co-nabizime-secondary .addon-root-feature>div:hover {
  background: #fff5f5;
  transform: translateY(-3px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  transition: all .2s ease-in-out;
}

section#co-nabizime-secondary .sppb-feature-box-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* max počet řádků */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3em;
  /* výška řádku */
  max-height: 2.6em;
  /* 2 × line-height */
}

section#co-nabizime-primary .sppb-img-container,
section#co-nabizime-secondary .sppb-img-container {
  height: 80px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
}

section#co-nabizime-primary .sppb-media-content,
section#co-nabizime-secondary .sppb-media-content {
  height: 80px;
}

/* katalog top menu */

/* ===== KATALOG – kompaktní třísloupcové menu ===== */
.sp-module.mykategory.mytopcatalog ul.menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  /* menší mezery mezi sloupci */
  list-style: none;
  padding: 10px;
  margin: 0;
  box-sizing: border-box;
}

/* Položka – minimalistický styl */
.sp-module.mykategory.mytopcatalog ul.menu>li {
  border: 1px solid #eee;
  /* jemná linka */
  border-radius: 4px;
  background: #fff;
  padding: 6px 8px;
  transition: all 0.2s ease;
}

.sp-module.mykategory.mytopcatalog ul.menu>li:hover {
  border-color: #d6101a;
  background: #fafafa;
}

/* Odkaz */
.sp-module.mykategory.mytopcatalog ul.menu>li>a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #222;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.2;
  height: 100%;
}

/* Ikony – menší a jednotné */
.sp-module.mykategory.mytopcatalog ul.menu>li .images {
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 5px;
}

.sp-module.mykategory.mytopcatalog ul.menu>li .images img {
  max-width: 28px;
  max-height: 28px;
  height: auto;
}

/* Text vedle ikonky */
.sp-module.mykategory.mytopcatalog ul.menu>li .title {
  flex: 1;
  line-height: 1.2;
  font-weight: 500;
}

/* Responzivní verze */
@media (max-width: 991px) {
  .sp-module.mykategory.mytopcatalog ul.menu {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .sp-module.mykategory.mytopcatalog ul.menu {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1400px) {
  .sp-menu-full.container {
    width: 1160px;
  }
}

/* konec katalog top */
/* katalog canvas */
/* ===== CANVAS MENU – úzké a přehledné ===== */
.sp-module.mykategory.canvas ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Položky menu */
.sp-module.mykategory.canvas ul.menu>li {
  border-bottom: 1px solid #f0f0f0;
  margin: 0;
  padding: 4px 0;
}

/* Odkaz – kompaktní flex řádek */
.sp-module.mykategory.canvas ul.menu>li>a {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-decoration: none;
  color: #333;
  font-size: 11px;
  line-height: 1.3;
  padding: 4px 6px;
  transition: background 0.2s ease;
}

/* Hover efekt */
.sp-module.mykategory.canvas ul.menu>li>a:hover {
  background-color: #f9f9f9;
}

/* Aktivní */
.sp-module.mykategory.canvas ul.menu>li.active>a {
  color: #d6101a;
  font-weight: 600;
}

/* Ikona */
.sp-module.mykategory.canvas ul.menu>li .images {
  flex: 0 0 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-module.mykategory.canvas ul.menu>li .images img {
  max-width: 24px;
  max-height: 24px;
  height: auto;
  width: auto;
}

/* Text */
.sp-module.mykategory.canvas ul.menu>li .title {
  flex: 1;
  word-break: break-word;
}

/* Toggle šipka */
.sp-module.mykategory.canvas .menu-toggler-my {
  margin-left: auto;
  color: #666;
  font-size: 10px;
  cursor: pointer;
}

/* Otevřený stav – otočení šipky */
.sp-module.mykategory.canvas li.menu-parent-my.is-open-my>a .menu-toggler-my i {
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}

/* Vnořené menu */
.sp-module.mykategory.canvas .menu-child-my {
  display: none;
  padding-left: 16px;
  margin-top: 4px;
  list-style: none;
  border-left: 1px solid #eee;
}

/* Aktivní podmenu */
.sp-module.mykategory.canvas li.menu-parent-my.is-open-my>.menu-child-my {
  display: block;
}

/* Vnořené položky */
.sp-module.mykategory.canvas .menu-child-my li>a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
  color: #444;
  font-size: 10px;
  text-decoration: none;
}

.sp-module.mykategory.canvas .menu-child-my li>a:hover {
  color: #d6101a;
}

/* konec katalog canvas */
/* offcanvas */
.offcanvas-menu {
  width: 500px;
  max-width: 100%;
}

body.ltr.offcanvs-position-right .offcanvas-menu {
  right: -500px;
}

.sp-module.mykategory.canvas ul.menu>li .images {
  margin-right: 5px;
}

@media(max-width: 767px) {
  .offcanvas-menu {
    width: 350px;
    max-width: 100%;
  }

  body.ltr.offcanvs-position-right .offcanvas-menu {
    right: -350px;
  }
}

/* article */
.article-details,
.blog {
  background: #fff;
  padding: 40px 50px;
  border-radius: 10px;
  transition: box-shadow 0.4s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  margin: 0 15px;
}

.article-details:hover,
.blog:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

@media (max-width: 767px) {

  .article-details,
  .blog {
    padding: 25px 20px;
    margin: 0;
  }

  body.site_com_sppagebuilder .article-details,
  body.site_com_sppagebuilder .blog {
    padding: 25px 0px;
  }
}


/* rsfiles */
.rsfiles-layout ul.list-unstyled.list-inline,
.rsfiles-layout ul.breadcrumb {
  display: none;
}

/* Celkový obal RSFiles */
.rsfiles-block-item {
  display: block !important;
  width: 100%;
  margin-bottom: 10px;
}

/* Každý soubor v jednom řádku */
.rsfiles-block-item .card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  border: 1px solid #ddd;
  padding: 10px 15px;
  border-radius: 6px;
  background: #fff;
  transition: background 0.2s ease-in-out;
}

.rsfiles-block-item .card:hover {
  background: #f9f9f9;
}

/* Levá část – ikona + název */
.rsfiles-block-item .card-body {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0;
}

.rsfiles-block-item .card-image {
  margin-right: 10px;
}

.rsfiles-block-item .card-title {
  font-size: 18px;
  margin: 0;
  color: #222;
  font-weight: 600;
}

/* Pravá část – tlačítko pro stažení */
.rsfiles-block-item .card-footer {
  background: none;
  border: none;
  padding: 0;
}

.rsfiles-block-item .card-footer a {
  color: #ff9100;
  font-size: 20px;
  margin-left: 10px;
  transition: color 0.2s;
}

.rsfiles-block-item .card-footer a:hover {
  color: #d97700;
}

/* Odstranění nepotřebných zarovnání z původního RSFiles stylu */
.rsfiles-block-item .card.text-center {
  text-align: left !important;
}

.rsfiles-block-item .card .badge {
  margin-left: 10px;
  font-size: 12px;
  background-color: #17a2b8;
  color: #fff;
  padding: 3px 6px;
  border-radius: 4px;
}

.modal-body .iframe {
  width: 100%;
}

.rsfiles-layout .row.mt-3 {
  margin-left: 0px;
  margin-right: 0px;
}

/* galerie */
/* ---- SP Easy Image Gallery - titulky pod obrázky (vzhled CSTfire) ---- */
body .speasyimagegallery-gallery-item>div {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
}

body .speasyimagegallery-gallery-item>div:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

body .speasyimagegallery-gallery-item img {
  width: 100%;
  display: block;
  border-radius: 0;
}

/* ---- Titulek pod obrázkem ---- */
body .speasyimagegallery-gallery-item-content {
  position: static !important;
  opacity: 1 !important;
  background: #fafafa !important;
  width: 100%;
  text-align: center;
  padding: 10px 5px;
  min-height: 42px;
  /* sjednocená výška textového bloku */
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 0px solid #eee;
}

body .speasyimagegallery-gallery-item-title {
  display: block;
  color: #222;
  font-size: 8px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  margin: 0;
  word-break: break-word;
  max-width: 95%;
}

/* ---- Hover efekt obrázku ---- */
body .speasyimagegallery-gallery-item:hover img {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

/* ---- Vypnutí overlayů ---- */
body .speasyimagegallery-gallery-item>div:after,
body .speasyimagegallery-gallery-item:hover>div:after {
  background: none !important;
  opacity: 0 !important;
}

/* ---- Rozestupy mezi položkami ---- */
body .gallery-col {
  margin-bottom: 20px;
}

/* ---- Oranžový akcent při hoveru ---- */
body .speasyimagegallery-gallery-item:hover .speasyimagegallery-gallery-item-title {
  color: #ff9100;
}

@media(max-width: 767px) {

  body .rsfiles-icon-large,
  body [class^="flaticon-"].rsfiles-icon-large:before,
  body [class*=" flaticon-"].rsfiles-icon-large:before {
    font-size: 20px;
    line-height: 1em;
  }

  body .rsfiles-block-item .card-title {
    font-size: 12px;
  }

  body .rsfiles-block-item .card-footer a {
    font-size: 14px;
    margin-left: 0px;
  }

  body .card-image {
    min-height: auto;
  }

  body .rsfiles-file {
    margin-bottom: 0;
  }
}

/* google mapy */
.gm-title.gm-full-width {
  font-weight: 600;
  margin-bottom: 10px;
}

@media(min-width: 1200px) AND (max-width: 1399px) {
  a#offcanvas-toggler {
    display: none !important;
  }

  .logo-image {
    height: 30px;
  }

  .sp-megamenu-parent>li>a,
  .sp-megamenu-parent>li>span,
  #sp-menu ul.sp-megamenu-parent>li>a {
    font-size: 12px;
    padding: 0 7px;
  }
}

@media(min-width: 992px) AND (max-width: 1199px) {
  nav.sp-megamenu-wrapper.d-flex {
    display: none !important;
  }

  .logo-image {
    height: 30px;
  }
}

/* responzivni do 767px */
@media(max-width: 767px) {
  .row.flex .col-md-2 {
    width: calc(100% - 20px);
  }

  .row.flex .col-md-3 {
    width: calc(100% - 20px);
  }

  .row.flex .col-md-4 {
    width: calc(100% - 20px);
  }

  .row.flex .col-md-5 {
    width: calc(100% - 20px);
  }

  .row.flex .col-md-6 {
    width: calc(100% - 20px);
  }

  .row.flex .col-md-12 {
    width: 100%;
  }

  .row.flex>a.wf-zoom-image {
    height: 200px;
  }

  .logo-image {
    height: 34px;
  }

  section#co-nabizime-primary>div>div>.sppb-row-column,
  section#co-nabizime-secondary>div>div>.sppb-row-column {
    max-width: 48%;
    flex-basis: 48%;
    margin: 1%;
  }

  #sppb-addon-wrapper-20199fb3-4c03-4b70-9d8a-470b9c98b230 {
    left: 0;
    width: 100%;
  }

  /* footer */
  iframe {
    width: 100% !important;
  }

  div#column-wrap-id-dacaab11-303b-484f-902b-e5a4fe26b2e1 {
    margin-top: 30px;
  }

  div#column-wrap-id-dacaab11-303b-484f-902b-e5a4fe26b2e1 .sppb-addon-content,
  div#column-wrap-id-c46bb3ab-5389-4ab2-bfd9-a7acd803425d .sppb-addon-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  div#column-wrap-id-dacaab11-303b-484f-902b-e5a4fe26b2e1 .sppb-icon,
  div#column-wrap-id-c46bb3ab-5389-4ab2-bfd9-a7acd803425d .sppb-icon,
  div#column-wrap-id-f61b1b42-9fee-4383-8f3d-d482f65091f1 .sppb-icon {
    margin-right: 10px;
  }

  div#column-wrap-id-dacaab11-303b-484f-902b-e5a4fe26b2e1 .sppb-addon-content,
  div#column-wrap-id-c46bb3ab-5389-4ab2-bfd9-a7acd803425d .sppb-addon-content,
  div#column-wrap-id-f61b1b42-9fee-4383-8f3d-d482f65091f1 .sppb-addon-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  #sppb-addon-754c95e7-0e34-45b0-a01e-ce7915839ebc .sppb-addon-header .sppb-addon-title,
  #sppb-addon-754c95e7-0e34-45b0-a01e-ce7915839ebc .sppb-addon-header .sppb-addon-title,
  #sppb-addon-725c1747-7b5e-43c5-975a-e9ce9614af4a .sppb-addon-header .sppb-addon-title {
    margin-top: 20px !important;
  }

  #sppb-addon-f427df1d-6018-4932-8f18-b2b6db0d707c .sppb-addon.sppb-addon-header,
  #sppb-addon-754c95e7-0e34-45b0-a01e-ce7915839ebc .sppb-addon.sppb-addon-header,
  #sppb-addon-725c1747-7b5e-43c5-975a-e9ce9614af4a .sppb-addon.sppb-addon-header {
    text-align: center !important;
  }

  /* ul li */
  ul.menu.myImgBgMenu {
    padding-left: 15px;
  }

  /* kontakt */
  .pobocky .sppb-addon-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .pobocky .sppb-icon {
    margin-right: 10px;
  }
}

/* --- RESPONSIVE --- */
@media (max-width: 767px) {
  .article-list .article {
    flex-direction: column;
    /* obrázek nahoru, text pod něj */
    align-items: flex-start;
    /* text zarovnat vlevo */
  }

  .article-list .article .article-intro-image {
    flex: 0 0 auto;
    width: 100%;
    /* obrázek přes celou šířku */
    height: 200px;
    /* můžeš upravit */
    margin: 0 0 15px 0;
    /* oddělení od textu */
  }

  .article-list .article .article-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* nebo cover */
  }

  .article-list .article-body {
    flex: 0 0 auto;
    width: 100%;
  }

  .article-list .row {
    display: flex;
    justify-content: center;
  }

  iframe {
    height: 300px;
  }

  .pobocky,
  .contact-card {
    margin-bottom: 30px;
    height: auto;
  }

  li.sp-contact-mobile {
    display: none;
  }

  .banner-filter span.sppb-img-container {
    width: 30%;
    float: right;
  }

  .sp-page-title .breadcrumb {
    font-size: 8px;
  }

  .float-start {
    display: none;
  }

  h1,
  .article-details .article-header h1,
  .article-details .article-header h2 {
    font-size: 1.2rem;
  }

  .offcanvas-menu .offcanvas-inner ul.menu>li>a,
  .offcanvas-menu .offcanvas-inner ul.menu>li>span {
    font-size: 14px;
  }

  .offcanvas-menu .offcanvas-inner ul.menu>li>ul li a {
    font-size: 13px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .banner-filter .sppb-img-container {
    display: block;
    width: 100%;
    float: none;
    text-align: center;
  }

  #sppb-addon-1760011981660 .sppb-addon-articles .sppb-article-info-wrap .sppb-article-introtext {
    font-size: 12px;
  }

  #sppb-addon-1760011981660 .sppb-addon-articles .sppb-article-info-wrap div a {
    font-size: 12px;
  }

  div#column-wrap-id-1760013743748 .sppb-addon-content {
    font-size: 10px;
  }

  #sppb-addon-1760010544303 p,
  div#sppb-addon-53a345e5-0931-4f68-ae0d-6e816a07a2a8 p {
    font-size: 12px;
  }
}

@media (max-width: 575px) {
  #sp-header .logo {
    height: 40px;
  }

  /* ul li */
  ul.menu.myImgBgMenu {
    padding-left: 15px;
  }

  ul.menu.myImgBgMenu.myCol4>li {
    min-width: 150px;
  }
}

/* jazyky */
div.mod-languages .btn-group .btn {
  padding: 0;
  background: transparent;
  border: 0;
  color: #222222;
  font-size: 13px;
}

#sp-header .sp-module {
  margin-left: 10px;
}

/* Tlačítko s vlajkou */
.header-lang .dropdown-toggle {
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.header-lang .dropdown-toggle::after {
  margin-left: 5px;
  font-size: 10px;
}

/* Dropdown */
.header-lang .dropdown-menu {
  min-width: 90px;
  padding: 4px;
  margin-top: 8px !important;
  border-radius: 4px;
  border: 1px solid #ddd;
}

/* Položky */
.header-lang .lang-block li {
  margin: 0;
  padding: 0;
}

.header-lang .lang-block li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  color: #333;
  text-decoration: none;
  border-radius: 3px;
  line-height: 1.2;
}

/* Aktivní jazyk */
.header-lang .lang-active a {
  background: #f2f2f2;
  font-weight: 600;
}

/* Hover */
.header-lang .lang-block li:not(.lang-active) a:hover {
  background: #f7f7f7;
}

/* Vlajky */
.header-lang .lang-block img,
.header-lang .dropdown-toggle img {
  width: 25px;
  height: auto;
}

div.mod-languages ul li.lang-active {
  background-color: transparent !important;
  padding: 0px;
  border-radius: 0;
}

@media(max-width: 991px) {

  .header-lang .lang-block img,
  .header-lang .dropdown-toggle img {
    width: 25px;
  }
}