html {
  scroll-behavior: smooth;
  overflow: hidden;
}

/* DARK/LIGHT mod */
[data-theme="dark"] {
  background-color: #000028;
}

[data-theme="light"] {
  background-color: white;
}

/* Intersection observer třídy */
.hidden-element {
  transform: translateY(-30px);
  filter: blur(3px);
  opacity: 0;
}

.shown-element {
  transform: translateY(0px);
  filter: blur(0px);
  opacity: 1;
  transition: 0.7s ease;
}

.hidden-element-x {
  transform: translateX(-30px);
  opacity: 0;
}

.shown-element-x {
  transform: translateX(0px);
  opacity: 1;
  transition: 0.7s ease;
}

a {
  color: #777777;
  text-decoration: underline;
}
.dark-text a { color: #ffffff; }
.light-text a { color: #333333; }
a:hover,
a:focus {
  color: #dd0000;
  text-decoration-thickness: 2px;
}

#header {
  max-height: 60px;
}

#mainMenu #navbar {
  height: 100% !important;
}

h1,
.h1 {
  font-size: 30px;
}
h2,
.h2 {
  font-size: 24px;
  margin-top: 25px;
  margin-bottom: 15px;
}
h3,
.h3 {
  font-size: 22px;
  margin-top: 25px;
  margin-bottom: 15px;
}
h4,
.h4 {
  margin-top: 25px;
  margin-bottom: 15px;
}
h5,
.h5 {
  font-size: 20px;
  margin-top: 25px;
  margin-bottom: 15px;
}
h6,
.h6 {
  font-size: 18px;
  margin-top: 25px;
  margin-bottom: 15px;
}

.btn {
  border-radius: 30px;
  background: linear-gradient(90deg, #dd0000 0%, #dd0000 100%);
  font-size: var(--btn-text);
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  text-decoration: none;
  padding-block: 10px;
  padding-inline: 35px;
  transition: background 0.5s cubic-bezier(0.445, 0.05, 0.55, 0.95);
  position: relative;
}

.btn:hover,
.btn:focus {
  background: linear-gradient(90deg, rgba(254, 148, 46, 1) 0%, rgba(222, 0, 0, 1) 100%);
  color: white;
  text-decoration: underline;
  text-underline-offset: 3px;
}


.btn.transparent {
  background-color: #ffffff;
  border: 1px solid #dd0000;
  color: #dd0000;
}

.btn.transparent:hover,
.btn.transparent:focus {
  background-color: #dd0000;
  color: #ffffff;
  border-color: #dd0000;
}

.img-responsive {
  margin: 0px auto;
}
.img-thumbnail {
  margin-bottom: 15px;
  border-radius: 0px;
}
.push-bottom {
  margin-bottom: 15px;
}

.h2_extra {
  padding: 10px 15px;
  margin: 30px auto 25px auto;
  text-align: center;
  border-bottom: 2px solid #dd0000;
  width: 30%;
  color: #333333;
  font-size: 24px;
  text-transform: uppercase;
}
.h2_extra a {
  color: #333333;
}
.h2_extra a:hover,
.h2_extra a:focus {
  color: #dd0000;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.zahodit {
  display: none;
} /* používá se na skryté submity jako antispam */
.hideOnDesktop {
  display: none !important;
}

.fullHeight_bsItem {
  height: 100%;
}

.vertical-align {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
@media (min-width: 1230px) {
  .col-lg-petina {
    width: 20% !important;
  }
}
.bottom-line:after {
  content: "";
  display: block;
  height: 2px;
  width: 50px;
  background-color: #dd0000;
  margin-top: 10px;
}
.img_bcg_block {
  overflow: hidden;
}
.img_bcg {
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  transition: transform 0.5s;
}
.box_link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.box_link:hover ~ .img_bcg_block .img_bcg {
  transform: scale(1.1);
  transition: transform 0.5s;
}
.stin {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}

.radek {
  display: table;
}
.sloupec {
  display: table-cell;
  float: none !important;
}

.skryty-konverze {
  overflow: hidden;
  height: 1px;
  width: 1px;
  position: fixed;
  bottom: 0px;
  left: 0px;
  padding: 1px;
  background: transparent;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 0%;
  transform: translateX(-50%);
  height: 1px;
  background-color: #dd0000;
  transition:
    width 0.2s cubic-bezier(0.4, 0, 0.6, 1),
    color 0.2s cubic-bezier(0.4, 0, 0.6, 1);
}

.nav-link:hover a {
  color: #dd0000 !important;
  font-weight: 600 !important;
}

.nav-link:hover::after {
  width: 80%;
}

.align-center {
  text-align: center;
}

/* #main_block ul {
  list-style: url("/img/li.png");
  padding-left: 20px;
}
#main_block ul li {
  margin-bottom: 4px;
} */

.page-content ul { list-style: none; padding-left: 20px; }
.page-content ul li { margin-top: 5px; margin-bottom: 4px; line-height: 1.733; }
.page-content ul li:before {
  content: "\f105";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
  font-family: "FontAwesome";
  color: #dd0000; /* Change the color */
  display: inline-block; /* Needed to add space between the bullet and the text */
  width: 1.2em; /* Also needed for space (tweak if needed) */
  margin-left: -1em; /* Also needed for space (tweak if needed) */
  font-size: 13px;
}
.page-content ul.list-unstyled { list-style: none inside none; padding-left: 0px; }


body .table-responsive {
  border: none;
}
.table-responsive.jspScrollable {
  border: 1px solid #003366;
}

.page-content .table-responsive {
  overflow: auto;
  border: none;
  max-width: 100%;
}
.page-content table {
  width: 100%;
  border: 1px solid #c9c9c9;
  margin-bottom: 20px;
  font-size: inherit;
}
.page-content table th,
.page-content table td {
  border: 1px solid #777;
  border: 1px solid #c9c9c9;
  vertical-align: middle;
  padding: 10px;
}
.page-content table th {
  background-color: #dfdfdf;
  font-weight: normal;
}
.page-content table tr:nth-child(even) td {
  background: #f5f5f5;
}

.btn-primary,
.pagination > .active > a {
  border-color: #dd0000 !important;
  color: #ffffff !important;
  text-shadow: none;
  background-color: #dd0000;
}
.btn-primary:hover,
.pagination > li > a:hover,
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus,
.btn-primary:active,
.pagination > .active > a:active,
.btn-primary:focus,
.pagination > li > a:focus {
  /*border-color: #0099ff !important;
	background-color: #0099ff;
        color: #ffffff;*/
}

/*.input-group .form-control {border-color:#fff;}
.input-group .btn { background-color:#fff; border-left:0px none;}*/
.form-control {
  border-radius: 0px;
}
.form-control:focus {
  border-color: #333;
}
.control-label {
  display: inline-block;
  height: 34px;
  line-height: 34px;
  vertical-align: middle;
  font-weight: normal;
}

input.required-empty {
  border-color: #dd0000;
}

#header-stin {
  position: relative;
  min-height: 60px;
  background-color: transparent;
  transition: box-shadow 0.2s;
}
/* body:not(.homepage) #header-stin { box-shadow: 0 5px 0px 0px rgba(244, 244, 244,1); } */
/* #header.affix #header-stin { box-shadow: 0 0px 5px 5px rgba(150,150,150,.1); } */
#header-stin,
.menuOpened #header-stin {
  box-shadow: none;
}
#header.affix #header-stin {
  min-height: 60px;
}

#header-top {
  display: flex;
  padding-inline: 10px;
  padding-block: 5px;
}

#header-right-block {
  display: flex;
  margin-left: auto;
  align-items: center;
  padding-top: 10px;
}

.nav-bar {
  display: none !important;
}

#logo .logo_title {
  margin: 0;
  padding: 0;
  line-height: 0;
}
#logo img {
  max-width: 100%;
  height: auto;
  max-height: 35px;
  margin-top: 12px;
}

.header_box_link {
  position: relative;
  float: right;
  font-size: 12px;
  border-radius: 25px;
  margin-right: 20px;
  padding-inline: 30px;
  padding-block: 8px;
}
.header_box_link:hover,
.header_box_link:focus {
  color: #ffffff;
}

@media (max-width: 991px) {
  .kontakt-nav {
    padding: 0px;
  }
  .kontakt-nav a.header_box_link {
    float: none;
    font-size: initial;
    border: 0px;
    border-radius: 0px;
    margin-right: 0px;
    padding: 10px 15px;
    background-color: initial;
  }
  .kontakt-nav a.header_box_link:hover,
  .kontakt-nav a.header_box_link:focus {
    color: #dd0000;
  }
}

@media (min-width: 768px) {
  .nav-bar {
    display: flex !important;
  }
}

.navbar-toggle {
  margin-right: 0 !important;
  padding: 0 !important;
}

.theme-button {
  margin-top: 10px;
}

@media (max-width: 767px) {
  .theme-button {
    margin-top: 0px;
    margin-bottom: 5px;
  }
}

#header .navbar-toggle:hover .hamburger .ingredient.bun_top,
#header .navbar-toggle:focus .hamburger .ingredient.bun_top {
  background-color: #3c2d79;
  margin-bottom: 0;
  top: 7px;
}
#header .navbar-toggle:hover .hamburger .ingredient.ham,
#header .navbar-toggle:focus .hamburger .ingredient.ham {
  background-color: #cbcdd3;
  margin-bottom: 0;
  top: 12px;
}
#header .navbar-toggle:hover .hamburger .ingredient.bun_bottom,
#header .navbar-toggle:focus .hamburger .ingredient.bun_bottom {
  background-color: #dd0000;
  top: 17px;
}

#header .navbar-toggle:hover .hamburger .ingredient,
#header .navbar-toggle:focus .hamburger .ingredient {
}
/* .navbar-toggle span.glyphicon { font-size: 33px; color: #ffffff; }
.navbar-toggle:hover span.glyphicon,
.navbar-toggle:focus span.glyphicon { color: #dd0000; } */

#lang {
  float: right;
  margin-right: 25px;
  margin-top: 5px;
}
/* body:not(.homepage) #lang { margin-right: 20px; } */
.pretty-select {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  position: relative;
}
.pretty-select div,
.pretty-select ul {
  border: none;
  background-color: transparent;
  margin: 0;
  width: 30px;
}
.pretty-select ul {
  border-top: none;
  text-align: center;
  z-index: 1000;

  position: absolute;
  top: 45px;
  list-style: none;
  background-color: #fff;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
  padding: 0;
  height: 35px;
  width: 40px;
  line-height: 30px;
}
.pretty-select .arrow_box {
  display: none;
  z-index: 2;
  background-color: #fff;
  height: 10px;
  width: 10px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);

  position: absolute;
  top: 40px;
  left: 15px;
  transform: rotate(45deg);
}
@media (min-width: 992px) {
  .pretty-select .arrow_box {
    left: 45px;
  }
}

.pretty-select li a {
  display: block;
  text-decoration: none;
  color: #fff;
}
.pretty-select img {
  max-width: 21px;
  max-height: 14px;
}
.pretty-select li a img {
  filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.2));
}
.pretty-select li a:hover img,
.pretty-select li a:focus img,
.pretty-select li a:active img {
  max-width: 23px;
  max-height: 16px;
}
.pretty-select div span {
  cursor: pointer;
  display: block;
}
.pretty-select div {
  position: relative;
}
.pretty-select div:after {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  right: -10px;
  content: "\43";
  color: #333333;
  font-size: 16px;
  font-family: "ElegantIcons";
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 262px) {
  #lang {
    margin-right: 25px;
  }
}
@media (min-width: 992px) {
  .pretty-select div,
  .pretty-select ul {
    margin: 0 0 0 30px;
  }
}

#searchFormTop {
  display: none;
  float: right;
}
#searchFormTop #q,
#searchFormTop .btn {
  border-radius: 0px;
}
/*{border-radius:0px;}*/

.searchForm input,
.searchForm .btn {
  border-color: #cdcdcd;
  color: #999;
}
.searchForm input {
  border-right: 0px none;
  height: 53px !important;
}
.searchForm .btn {
  font-size: 21px;
  color: #fff;
}
@media (min-width: 768px) {
  .searchForm input {
    height: 60px !important;
  }
}

.navbar-collapse {
  top: 0px;
  position: relative;
  z-index: 999;
  box-shadow: none;
}

#mainMenu .navbar-collapse,
#kategorie_mobile_menu #cssmenu {
  padding-left: 0px;
  padding-right: 0px;
  background-color: transparent;
  color: #fff;
  height: 100%;
  width: 100%;
  overflow: auto;
  border: none;
  font-weight: 600;
}
/*.affix #mainMenu .navbar-collapse {position:fixed; top:55px; }*/

#mainMenu .navbar-nav {
  margin: 0px;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: left;
  height: 100% !important;
}

#mainMenu a {
  line-height: 20px;
  color: #ffffff;
  text-transform: uppercase;
  text-decoration: none;
  border: 0px none;
  outline: 0px none;
  border-bottom: none;
  font-weight: 100 !important;
}
#mainMenu a:not(.btn):hover,
#mainMenu a:not(.btn):focus,
#mainMenu a:not(.btn):active {
  color: #dd0000;
  background-color: transparent;
}
#mainMenu .active a {
  color: #dd0000;
}
#mainMenu .dropdown-menu {
  margin: -1px 0px 0px 0px;
  padding: 1px 0px 0px 0px;
  border-radius: 5px;
  background-color: #dd0000;
}

.dropdown-menu li a {
  font-size: 14px !important;
  color: white !important;
}

.dropdown-menu li:hover {
  background-color: rgba(71, 71, 71, 0.5);
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus { background-color: rgba(71, 71, 71, 0.5); }

.dropdown-menu .active a {
  background-color: none !important;
}

.mobile-menu {
  display: none;
}

.dropdown.opened .dropdown-menu {
  display: block;
}

#leve-menu-toggle {
  float: left;
  text-transform: uppercase;
  margin: 0;
  width: 140px;
  padding: 10px 8px;
  font-size: 14px;
}

#main_obal {
  top: -1px;
}
@media (max-width: 767px) {
  .header-affixed #main_obal {
    margin-top: 0;
  }
}

#col-left {
  padding: 0;
}

@media (max-width: 991px) {
  body {
    margin-top: 0px;
  } /* SEM ZADEJ VÝŠKU CELÉ HLAVIČKY */
  #header {
    width: 100%;
  }

  .theme-button {
    margin-top: 0px;
  }

  .header_box_link {
    display: none !important;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-collapse .dropdown-menu {
    padding: 0px;
    position: relative;
    width: 100%;
    margin: 0px;
    background: transparent;
    box-shadow: none;
  }
  .navbar-collapse .dropdown-toggle .dropdown-trigger {
    position: absolute;
    right: 5px;
    top: 10px;
    padding: 0px 15px;
  }

  #levy-blok {
    margin-top: 25px;
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
  }
  .produkty .produkt {
    margin-bottom: 25px;
  }

  .logo-resp {
    margin: 0 auto;
    width: 214px;
  }

  .ico {
    margin-bottom: 5px;
  }

  #searchFormTop {
    display: block;
    position: relative;
  }
  #searchFormTop .ico-btn {
    width: 42px;
  }
  .mobile-menu > li > a {
    display: inline;
    line-height: 30px;
    font-weight: bold;
  }
}
/*#header-right-block.affix {top:0px;width:100%; background: url('/img/bg-top.png') 0px 100% repeat-x transparent; padding-top:5px; padding-bottom:25px; height:70px;}
#header-right-block.affix #kosik-blok {bottom:25px;}*/

@media (min-width: 768px) {
  #header,
  #header.affix {
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
  }

  .theme-button {
    display: none;
  }

  .navbar-nav {
    flex-direction: row !important;
  }

  #header.affix {
    width: 100%;
    z-index: 999;
  }
  #header.affix #logo img {
    max-height: 35px;
    margin-top: 10px;
  }

  #header.affix-top #header-stin {
    min-height: 90px;
  }

  #logo {
    display: flex;
    margin-right: auto;
  }

  #header.affix #lang {
    margin-top: 10px;
  }

  nav.navbar {
  }
  #header.affix nav.navbar {
    margin-top: 1px;
  }

  nav#mainMenu,
  nav#mainMenu div {
    width: auto;
  }
  nav#mainMenu {
    flex: 1;
    display: flex;
    justify-content: center;
  }

  #logo {
    flex: 1;
    display: flex;
  }

  #header-right-block {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  /* pro fixnutou hlavičku nastylovat řádek pod tímto a smazat druhý identifikátor řádek nad tímto */
  /*#header.affix { position: fixed; top: -10px; box-shadow: 0px 3px 10px; height: 60px; }*/

  #main_obal {
    position: relative;
  }
  .homepage #main_obal {
    margin-top: 0;
  }

  #drobecky {
    position: absolute;
    top: -35px;
  }

  #mainMenu a {
    padding-top: 10px;
    padding-bottom: 10px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 400;
    border: none;
    display: flex;
    flex-direction: column;
  }
  #mainMenu a .icon {
    padding: 10px 0;
  }

  #mainMenu a.menuItem:after {
    content: "";
    display: inline-block;
    width: 0%;
    transition: width 0.2s;
    height: 2px;
    background-color: #dd0000;
  }

  #mainMenu a.menuItem:hover,
  #mainMenu a.menuItem:focus,
  #mainMenu li.active a.menuItem {
    color: #333333;
  }
  #mainMenu a.menuItem:hover:after,
  #mainMenu a.menuItem:focus:after,
  #mainMenu li.active a.menuItem:after {
    width: 100%;
  }

  #mainMenu a.home:hover,
  #mainMenu a.home:focus,
  #mainMenu li.active a.home {
    color: #dd0000;
  }

  /*#mainMenu a.home {background:url('/img/ico-home.png') 50% 0px no-repeat transparent;  width:50px; height:55px; }
    #mainMenu .active a.home, #mainMenu a.home:hover, #mainMenu a.home:focus, #mainMenu a.home:active { color: #333333; background-position: 50% 100%;} */
  #mainMenu > .container {
    width: auto !important;
  }
  #mainMenu .navbar-collapse {
    background-color: transparent;
    color: inherit;
    top: auto;
    height: auto !important;
    width: max-content !important;
  }
  .affix #mainMenu .navbar-collapse {
    position: relative;
    top: auto;
  }
  #mainMenu .dropdown:hover .dropdown-menu {
    display: block;
  }

  #searchFormTop {
    position: relative;
    display: block;
    width: 267px;
    margin: 5px 3px 0px 0px;
  }

  #t-kontakt {
    width: 180px;
    margin-left: 20px;
    display: block;
  }

  .carousel-caption {
    display: block;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    text-align: left;
    position: absolute;
  }

  #mainMenu > .container {
    padding: 0 5px;
  }
}

@media (min-width: 992px) {
  #mainMenu a {
    font-size: 10px;
    padding-right: 7px; padding-left: 7px;
  }

  #mainMenu .container {
    padding: 0px;
  }
  #searchFormTop {
    position: relative;
    display: block;
    width: 240px;
    margin: 40px 20px 0px 0px;
  }
  #t-kontakt {
    margin: 0px;
  }

  #mainMenu > .container {
    padding: 0 15px;
    height: 100%;
  }
}
@media (min-width: 1220px) {
  #logo img {
    max-height: 35px;
  }

  #mainMenu a {
    font-size: 12px;
    padding-right: 10px; padding-left: 10px;
  }
}
@media (min-width: 1460px) {
  .container {
    width: 1440px;
  }
  #mainMenu a {
    font-size: 14px;
  }
}
@media (min-width: 1620px) {
  #mainMenu a {
    font-size: 16px;
    padding-right: 15px; padding-left: 15px;
  }
}

.breadcrumb {
  background: transparent;
  margin-bottom: 0px;
}

/* hlavní blok */
#main_block {
  background-color: transparent;
}
.homepage #main_block {
  padding-bottom: 0px;
}

.page-content {
  margin-bottom: 20px;
}

/* levé menu */
#cssmenu ul li a > span.text {
  display: block;
  z-index: 888;
  width: 75%;
}
#cssmenu ul li a > span.menu_akce {
  clear: both;
  position: absolute;
  display: inline-block;
  top: 0;
  right: 0;
  padding: 5px 0;
  height: 100%;
  z-index: 999;
  width: 25%;
}
/*.sidebar a {color:#004400; text-decoration: underline;}*/
.sidebar a:hover,
.sidebar a:focus {
  text-decoration: none;
}

.nav-bar {
  display: flex;
  padding-top: 10px;
}

.subnav-toggle {
  padding: 0px 5px;
  color: #dd0000;
}
.subnav {
  display: none;
  clear: both;
}
.opened > .subnav {
  display: block;
}

.sidebar-title {
  font-size: 15px;
  display: block;
  padding: 10px 10px 10px 10px;
  background-color: #dd0000;
}

.sidebar-title.mail {
  text-align: center;
  padding-right: 20px;
}

@media screen and (max-width: 767px) {
  #main_block {
    position: relative;
  }
  #col-left {
    position: static;
  }

  #menu-kategorie {
    position: absolute;
    top: -22px;
    left: 0px;
    width: 100%;
    margin: 0px;
    border-radius: 0px;
    z-index: 9000;
    height: 100%;
    overflow: auto;
  }
  #menu-kategorie.affix {
    top: 55px;
    position: fixed;
  }

  #mainMenu .navbar-collapse,
  #kategorie_mobile_menu #cssmenu {
    top: auto;
  }
  nav.navbar > .container {
    padding: 0;
  }
  #mainMenu #navbar {
    margin: 0;
  }

  /*#header-stin>.container { padding-left: 10px; padding-right: 10px; }*/
}
@media screen and (min-width: 768px) {
  #menu-kategorie.collapse {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
  }
  #menu-kategorie {
    position: relative;
    top: auto;
    left: auto;
  }
  .leve-menu .sidebar-title {
    display: block;
    background: #dd0000;
    color: #fff;
  }
}

@media screen and (min-width: 992px) {
  .sidebar-title {
    font-size: 15px;
    padding: 10px 10px 10px 20px;
  }
  .leve-menu li > a {
    font-size: 14px;
    padding: 8px 10px 8px 20px;
    background-position: 20px 50%;
  }
  .leve-menu .subnav a {
    font-size: 13px;
    padding-left: 40px;
  }
  .leve-menu .subnav-toggle {
    top: 10px;
  }
}
@media screen and (min-width: 1220px) {
  .leve-menu li > a {
    font-size: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .leve-menu .subnav a {
    font-size: 14px;
  }
}

/* pata */
#footer {
  color: #ffffff;
  padding-top: 50px;
}
#footer a:not(.btn) {
  color: #ffffff;
}

#footer-top {
  font-weight: 300;
  text-align: center;
}
#footer-top .kontejner {
  padding-top: 60px 0px;
  position: relative;
  text-align: center;
}

#footer-top .content.contact_block {
  margin-block: 30px;
  font-size: 12px;
}
#footer-top .content .text {
  display: block;
  margin-bottom: 5px;
  font-size: var(--footer-content-reseni);
}
#footer-top .content .btn {
  margin-top: 10px;
}

#footer-top a:not(.btn) {
  text-decoration: none;
}
#footer-top a:not(.btn):hover,
#footer-top a:not(.btn):focus {
  color: #dd0000;
}
#footer-top ul.pataMenu {
  list-style: none;
  padding-left: 0px;
}
#footer-top ul.pataMenu li {
  margin-bottom: 4px;
}

#footer-top ul.pataMenu.right {
  margin-bottom: 60px;
}

#footer-top .fb_link .svg-icon {
  height: 26px;
  width: 13px;
  fill: #ffffff;
}
#footer-top .fb_link:hover .svg-icon,
#footer-top .fb_link:focus .svg-icon {
  fill: #dd0000;
}

@media (min-width: 992px) {
  #footer-top {
    text-align: left;
  }
  #footer-top .content {
    margin-bottom: 0px;
  }
  #footer-top ul.pataMenu {
    padding-left: 20px;
  }
  #footer-top ul.pataMenu.right {
    margin-bottom: 0;
  }
}

.vertical-line {
  height: 100%;
  width: 1px;
  background-color: #333333;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
}

/* patička */
#footer-bottom {
  background-color: #1b1b1b;
  text-align: center;
  font-size: 14px;
  color: #7f7f7f;
}
#footer-bottom p {
  margin: 0px !important;
  padding: 28px 0px;
  line-height: 24px;
  vertical-align: bottom;
  overflow: hidden;
}
#footer-bottom a:not(.btn) {
  color: #7f7f7f;
  text-decoration: none;
}
#footer-bottom a:not(.btn):hover,
#footer-bottom a:not(.btn):focus {
  color: #ffffff;
}
.footer-copyright-cp a {
  display: inline-block;
  height: 24px;
  padding: 0px;
}
.footer-copyright-cp a#logo-cp {
  width: 124px;
  height: 24px;
}
.footer-copyright-cp a#logo-cpedit {
  width: 46px;
  height: 14px;
}
.footer-copyright-cp a .svg-icon {
  width: 100%;
  height: 100%;
  vertical-align: middle;
  fill: #ffffff;
  padding: 0 5px;
}
.footer-copyright-cp a:hover .svg-icon {
  fill: #dd0000;
}
.footer-btn-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-block: 20px;
}
.footer-btn-wrapper .btn {
  width: 100%;
  max-width: 170px;
}

#footer-bottom .nonRESPswitch {
  margin-left: 40px;
}
/*#footer-bottom .nonRESPswitch:hover { color: #000000; }*/

#footer-bottom .separator {
  margin: 0 10px;
}

@media (min-width: 992px) and (max-width: 1219px) {
  #footer-bottom {
    font-size: 12px;
  }
}

ul.nav-footer {
  margin: 0px;
  padding: 0px 0px 0px 6px;
}
ul.nav-footer li {
  list-style: inside url("/img/li-footer.png");
  margin-bottom: 0.4em;
  line-height: 1.7;
}
ul.nav-footer li a:hover {
  text-decoration: none;
}

@media (min-width: 992px) {
  #footer-bottom {
    text-align: left;
  }
  #footer-bottom .footer-copyright-cp {
    text-align: right;
  }
}

@media screen and (max-width: 991px) {
  #footer .social-icons {
    padding-bottom: 0px;
  }
  #footer .footer-col {
    margin-bottom: 25px;
  }
  #footer .footer-col:nth-child(2) {
    border-right: 0px none;
  }
}

/* Animace */
.prekryv-animace {
}

#animace .slider-svg-icon {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  fill: #ffffff;

  display: none;
}

#animace .animace-content {
  display: flex;
  z-index: 999;
  text-transform: uppercase;
  padding-inline: 0.5em;
  padding-block: 30px;
  width: 100%;
}

#animace .animace-content .title {
  display: block;
  font-size: var(--animace-title);
  line-height: 30px;
  margin-bottom: 5px;
  margin-block: 10px;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  text-align: left;
  text-transform: uppercase;
  line-height: var(--main-title-line-height);
}
#animace .animace-content .text {
  display: block;
  text-align: center;
  font-size: var(--animace-text);
  line-height: 20px;
  text-align: left;
  font-weight: 400;
  max-width: 35ch;
  margin-top: 5%;
  line-height: var(--main-text-line-height);
}

#animace .animace-content .buttons {
  margin-top: 20px;
}
#animace .animace-content .btn-box {
  display: inline-block;
  padding: 0 15px;
}

.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  margin: 0 auto;
}

#animace .carousel-indicators {
  position: initial;
  margin: 0px;
  width: auto;
  text-align: center;
}
#animace .carousel-indicators .active {
  background-color: #dd0000;
  width: 8px;
  height: 8px;
}
#animace .carousel-indicators li {
  background-color: #fff;
  border: none;
  border-radius: 0;
  margin: 0px;
  display: inline-block;
  width: 8px;
  height: 8px;
  text-indent: -999px;
  cursor: pointer;
}

.control-box {
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  text-align: right;
  z-index: 99;
}

.carousel-control {
  background-image: none !important;
  text-shadow: none;
  opacity: 1;

  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 0px;
  font-size: 16px;
  background-color: rgba(255, 255, 255);
  background-color: rgba(255, 255, 255, 0.5);
  margin: 1px;
  line-height: 20px;
  border: none;
  border-radius: 4px;
  color: #dd0000;
}

.carousel-control:hover {
  background-color: #ffffff;
  opacity: 1;
}
.carousel-control:hover .icon {
  color: #dd0000;
}

.control-box .carousel-control {
  position: relative;
}

.animace-box {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: var(--body-padding);
  background-color: transparent;
}

.scroll-hint {
  max-width: 50px;
}

@media (min-width: 460px) {
  .prekryv-animace {
    display: block;
  }
  #animace .animace-content {
  }
  #animace .control-box {
    bottom: 5px;
  }
}
@media (min-width: 768px) {
  .animace-box {
    /* margin-bottom: 100px; */
  }

  #animace .animace-content {
    top: 45px;
  }
  #animace .control-box {
    bottom: 15px;
  }
  .carousel-control {
    margin: 3px;
    width: 30px;
    height: 30px;
    font-size: 20px;
    line-height: 30px;
  }

  #animace .carousel-indicators {
    padding-top: 10px;
  }
  #animace .carousel-indicators li,
  #animace .carousel-indicators .active {
    margin: 3px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
  }
}

@media (min-width: 992px) {
  #animace .control-box {
    bottom: 195px;
  }

  #animace .carousel-indicators li,
  #animace .carousel-indicators .active {
    margin: 4px;
    width: 16px;
    height: 16px;
  }
}
@media (min-width: 1220px) {
  #animace .animace-content {
    top: 150px;
  }
  #animace .control-box {
    bottom: 205px;
  }

  #animace .slider-svg-icon {
    display: block;
    height: 80px;
    margin: 40px auto 0px auto;
  }

  /* #animace .animace-content .sub_title { font-size: 54px; } */
  #animace .animace-content .buttons {
    margin-top: 60px;
  }
}
@media (min-width: 1460px) {
  #animace .animace-content {
    top: 230px;
  }
  #animace .control-box {
    bottom: 265px;
  }
  .carousel-control {
    margin: 5px;
    width: 40px;
    height: 40px;
    font-size: 24px;
    line-height: 40px;
  }

  #animace .slider-svg-icon {
    height: 120px;
    margin: 80px auto 0px auto;
  }

  .carousel-inner > .item > img,
  .carousel-inner > .item > a > img {
    height: 790px; /*nejlépe výška konkrétního obrázku, co se do animací nahrává*/
    object-fit: cover;
  }
}

/* home */

.home_section {
  padding-top: 45px;
  padding-bottom: 45px;
  text-align: center;
}
.home_section .section_title {
  color: #000000;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  margin: 0;
  text-transform: uppercase;

  font-size: 36px;
  line-height: 48px;
  margin-bottom: 25px;
}
.home_section .section_text {
  margin-bottom: 60px;
}

@media (min-width: 1220px) {
  .home_section .section_title {
    font-size: 32px;
    line-height: 44px;
    margin-bottom: 16px;
  }
  .home_section .section_text {
    font-size: 14px;
    line-height: 24px;
  }
}
@media (min-width: 1460px) {
  .home_section .section_title {
    font-size: 36px;
    line-height: 48px;
    margin-bottom: 20px;
  }
  .home_section .section_text {
    font-size: 16px;
    line-height: 30px;
  }
}

.articles .article {
  border-bottom: 1px solid #e0e0e0;
}
.articles .article h2 {
  color: #333;
  font-size: 18px;
}
.articles .article h2 a {
  text-decoration: underline;
}
.article-meta {
  margin-bottom: 10px;
}
.article-meta a {
  text-decoration: underline;
}

.btn.genNext {
  min-width: 220px;
}

#strankovani {
  margin-top: 10px;
  margin-bottom: 0px;
}

.pagination {
  margin-top: 20px;
  margin-bottom: 20px;
}
.page-content .pagination > li::before { content: ''; display: none; }
.pagination > li > a,
.pagination > li > span {
  padding: 0;
  height: 40px;
  width: 40px;
  line-height: 40px;
  margin: 0px 5px 0px 0px;
  border-radius: 4px;
  border: none;
  color: #333333;
  background-color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
}

body[data-theme="light"] .pagination > li > a,
body[data-theme="light"] .pagination > li > span {
  background-color: #fafafa;
}

.pagination > li > a i.icon {
  color: #333;
  padding: 0px;
  font-size: 18px;
  position: relative;
  top: 2px;
}
.pagination > li > a:hover,
.pagination > li > a:focus,
body[data-theme="light"] .pagination > li > a:hover,
body[data-theme="light"] .pagination > li > a:focus {
  background-color: #dd0000;
  border-color: #dd0000;
  color: #fff;
}
.pagination > li > a:hover i.icon,
.pagination > li > a:focus i.icon {
  color: #fff;
}


.pagination > li > #nextPage {
  border-radius: 50%;
}

.pagination > li > #prevPage {
  border-radius: 50%;
}

.pagination > li:first-child > a {
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
}

.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > a:focus,
body[data-theme="light"] .pagination > .active > a,
body[data-theme="light"] .pagination > .active > a:hover,
body[data-theme="light"] .pagination > .active > a:focus {
  background-color: #dd0000;
  border-color: #dd0000;
  color: #fff;
}

#sidebar-poradit {
  color: #333333;
  border: 1px solid #cecece;
  font-size: 13px;
}
#sidebar-poradit .title {
  display: block;
  font-size: 14px;
  line-height: 1.2em;
  background-color: #272b33;
  margin: -1px -1px 10px -1px;
  border-bottom: 1px solid #d7d7d7;
  color: #b6b8c0;
  padding: 12px 20px;
}
#sidebar-poradit p strong {
  display: block;
  font-weight: normal;
  color: #333333;
}
#sidebar-poradit a,
#sidebar-poradit a:hover {
  color: #333333;
  text-decoration: none;
}

/* výměna ikon za tmavé pro poradit */
#sidebar-poradit .telefon-ico {
  background-image: url("/img/potrebujete-radu-telefon.png");
}
#sidebar-poradit .email-ico {
  background-image: url("/img/potrebujete-radu-mail.png");
}

.sidebar-articles {
  color: #333333;
  border: 1px solid #cecece;
  font-size: 12px;
}
.sidebar-articles .title {
  display: block;
  font-size: 14px;
  line-height: 1.2em;
  background-color: #272b33;
  margin: -1px -1px 0 -1px;
  border-bottom: 1px solid #d7d7d7;
  color: #b6b8c0;
  padding: 12px 20px;
  text-decoration: none;
}
.sidebar-articles .list-unstyled {
  padding: 0 10px;
}
.sidebar-articles .article {
  border-bottom: 1px dotted #333;
  color: #666;
  margin: 10px 0;
}
.sidebar-articles .article-date {
}
.sidebar-articles p a {
  text-decoration: underline;
  color: #333333;
}
.sidebar-articles a:hover {
  color: #dd0000;
}
.sidebar-articles .article-title {
  font-size: 14px;
  display: block;
  margin-bottom: 5px;
  color: #333333;
}
.sidebar-articles .article p {
  font-size: 12px;
  line-height: 1.2em;
}
.sidebar-articles .footer {
  padding: 0 10px;
}

.sidebar .advert-item {
  margin-bottom: 25px;
}

#adv .adv_title {
  display: none;
}

.win-message,
.win-alert-message {
  margin: 0 auto !important;
  background: #73b84d url(/img/okno-ok.png) no-repeat 5% 50%;
  color: #ffffff;
  font-size: 20px !important;
  padding: 25px 80px !important;
  text-align: center !important;
}
.win-alert-message {
  background: #ff9900 !important;
}
.hide-ico .win-message {
  background: #73b84d;
}
.win-buttons {
  padding-top: 25px;
  padding-bottom: 25px;
  background-color: #eeeeee;
  border-top: 1px solid #cccccc;
  margin: 20px 0 0 0;
}

.win-buttons .btn {
  border-radius: 2px;
  border: 1px solid #cccccc;
  padding: 10px 20px;
}
.win-buttons .btn-back {
  background-color: #ffffff;
  color: #000;
  font-size: 16px;
}
.win-buttons .btn-back:hover {
  background-color: #f1f1f1;
  border-color: #000;
}

.mfp-close {
  background: transparent url("/img/zavrit-ico.png?v=1") 50% 50% no-repeat !important;
  height: 50px !important;
  width: 50px !important;
  font-size: 0 !important;
  opacity: 1 !important;
  right: 10px !important;
  cursor: pointer;
  z-index: 2;
}
.mfp-close:hover,
.mfp-close:focus {
  opacity: 0.65 !important;
}
.mfp-close:active {
  top: 0px !important;
}

.popup-block-content {
  padding: 15px;
}

/* komentáře */
ul.comments {
  padding-left: 0;
}
ul.comments li {
  list-style: none;
  padding: 0 0 10px 0;
}
ul.comments li h2 {
  font-size: 16px;
}
ul.comments li span.content {
  font-size: 13px;
  padding-left: 5px;
}
ul.comments li div.comment {
  padding-bottom: 20px;
  color: #666;
  font-size: 14px;
}
ul.comments li span.content-autor .autor {
  color: #333333;
  margin-right: 30px;
}
ul.comments li div.comment div.comment-by {
  font-size: 14px;
  padding: 3px 5px;
  background: #f8f8f8;
  border-top: 1px solid #cecece;
  margin: 5px 0px 5px 0px;
}
ul.comments li div.comment div.comment-by h4 {
  font-weight: normal;
  display: inline;
  padding-right: 100px;
}
ul.comments li div.comment div.comment-by span {
  display: block;
  text-align: right;
  padding-top: 5px;
}
ul.comments li div.comment p {
  padding: 0px 0px 0px 5px;
  margin: 0px 0px 6px 0px;
}
ul.comments li div.comment-block .comment-by span {
  margin-top: -25px;
}
ul.comments li div.comment .comment-form {
  border-top: 1px solid #cecece;
  padding-top: 10px;
}
/* tlačítko na zobrazení komentáře */
#formular-area .form-show {
  margin-bottom: 10px;
}
/* #formular-area .form-show:hover{ background-color: #77b300; border-color: #77b300; } */

/* kotva na komentáře */
#komentare_kotva img {
  margin-top: -5px;
}

/* reakce */
ul.comments li ul.reply {
  padding-left: 20px;
}

#top-line {
  background-color: #272b33;
  padding: 5px 0;
  font-size: 13px;
  height: 30px;
  color: #b6b8c0;
  overflow: hidden;
}
#top-line a {
  color: #a4a4a4;
}
#top-line a:hover,
#top-line a:active {
  color: #dd0000;
  text-decoration: none;
}

#top-line .kontakt {
  width: 480px;
  float: left;
}

.telefon-ico {
  background: url("/img/hlavicka-telefon.png") no-repeat 15px 50%;
  padding: 0 0 0 40px;
}
.email-ico {
  background: url("/img/hlavicka-mail.png") no-repeat 15px 50%;
  padding: 0 0 0 40px;
}

#mutace {
  float: right;
}
#mutace > a {
  background: url("/img/cz.png") no-repeat 50% 50%;
  width: 16px; /*height: 11px;*/
  text-indent: -9999px;
  display: inline-block;
  padding: 0 15px;
}
#mutace .en {
  background-image: url("/img/en.png");
}
#mutace .cz {
}

.ico-btn,
a.ico-btn {
  height: 40px;
  background: transparent;
  border: none;
  color: #b6b8c0;
  font-size: 14px;
  text-decoration: none;
  margin-right: 0;
  display: block;
  padding-top: 5px;
  outline: none;
}
.ico-btn:hover/*, .ico-btn:focus, .ico-btn:active*/, .ico-btn.active,
a.ico-btn:hover, a.ico-btn.active {
  color: #dd0000;
  text-decoration: none;
}

.ico-btn > .ico {
  height: 30px;
  border: none;
  display: block;
  text-align: center;
}
/* najetí přímo na ico */
.ico-btn>.ico:hover, .ico-btn>.ico.active,
/* najetí na celé tlačítko */
.ico-btn:hover>.ico, .ico-btn.active>.ico {
  background-position: 50% 100%;
}

button.ico-btn {
  margin-top: -1px;
}

#uzivatel {
  float: right;
  text-align: center;
}

/* vyhledavani, zobrazeni textboxu */
#hledani #q {
  display: none;
  position: absolute;
  right: 40px;
  top: -1px;
  background-color: #fff;
  border: none;
  color: #333333;
  height: 40px;
  width: 235px;
  z-index: 1000;
}
#hledani .ico-btn.active {
  background: #fff;
  z-index: 1001;
  position: relative;
}

.padding-min {
  padding-right: 12px;
}
.padding-min .col-sm-1,
.padding-min .col-sm-2,
.padding-min .col-sm-3,
.padding-min .col-sm-4,
.padding-min .col-sm-5,
.padding-min .col-sm-6,
.padding-min .col-sm-7,
.padding-min .col-sm-8,
.padding-min .col-sm-9,
.padding-min .col-sm-10,
.padding-min .col-sm-11,
.padding-min .col-sm-12,
.padding-min .col-lg-1,
.padding-min .col-lg-2,
.padding-min .col-lg-3,
.padding-min .col-lg-4,
.padding-min .col-lg-5,
.padding-min .col-lg-6,
.padding-min .col-lg-7,
.padding-min .col-lg-8,
.padding-min .col-lg-9,
.padding-min .col-lg-10,
.padding-min .col-lg-11,
.padding-min .col-lg-12,
.padding-min .col-md-1,
.padding-min .col-md-2,
.padding-min .col-md-3,
.padding-min .col-md-4,
.padding-min .col-md-5,
.padding-min .col-md-6,
.padding-min .col-md-7,
.padding-min .col-md-8,
.padding-min .col-md-9,
.padding-min .col-md-10,
.padding-min .col-md-11,
.padding-min .col-md-12 {
  padding-left: 2px;
  padding-right: 2px;
}

#dodatky ul {
  margin: 0;
  padding: 0;
  width: auto;
  float: left;
}
#dodatky li {
  list-style: none;
  float: left;
  padding: 0 10px;
  border-right: #5c5c5c 1px solid;
}
#dodatky li.posledni {
  border-right: none;
}

@media screen and (min-width: 768px) {
  #dodatky li {
    padding: 0 25px;
  }
  #logo {
    padding: 0;
  }

  .ico-btn > .ico {
    width: 65px;
  }
  .ico {
    margin-bottom: 15px;
  }
}
@media (min-width: 992px) {
  .ico-btn > .ico {
    width: 75px;
  }
}
@media (min-width: 1220px) {
}
@media (max-width: 767px) {
  .padding-min .col-sm-1,
  .padding-min .col-sm-2,
  .padding-min .col-sm-3,
  .padding-min .col-sm-4,
  .padding-min .col-sm-5,
  .padding-min .col-sm-6,
  .padding-min .col-sm-7,
  .padding-min .col-sm-8,
  .padding-min .col-sm-9,
  .padding-min .col-sm-10,
  .padding-min .col-sm-11,
  .padding-min .col-sm-12,
  .padding-min .col-lg-1,
  .padding-min .col-lg-2,
  .padding-min .col-lg-3,
  .padding-min .col-lg-4,
  .padding-min .col-lg-5,
  .padding-min .col-lg-6,
  .padding-min .col-lg-7,
  .padding-min .col-lg-8,
  .padding-min .col-lg-9,
  .padding-min .col-lg-10,
  .padding-min .col-lg-11,
  .padding-min .col-lg-12,
  .padding-min .col-md-1,
  .padding-min .col-md-2,
  .padding-min .col-md-3,
  .padding-min .col-md-4,
  .padding-min .col-md-5,
  .padding-min .col-md-6,
  .padding-min .col-md-7,
  .padding-min .col-md-8,
  .padding-min .col-md-9,
  .padding-min .col-md-10,
  .padding-min .col-md-11,
  .padding-min .col-md-12 {
    padding-left: 2px;
    padding-right: 0;
  }
}

.uvodka_vice {
  float: right;
  font-size: 14px;
  text-decoration: underline;
  padding-top: 5px;
}

object,
iframe {
  max-width: 100%;
}

@media (max-width: 767px) {
  /* otevřené menu */
  .menuOpened {
    background: #000028;
  }
  .menuOpened.header-affixed {
    margin-top: 0;
  }
  .menuOpened #main_obal {
    display: none;
  }
  .menuOpened #footer {
    display: none;
  }

  /* odfixnu hlavičku */
  #header.preventAffix {
    position: relative !important;
    top: auto !important;
    left: 0;
    right: auto;
  }
  /* a fixnu jen obsah hlavičky */
  .preventAffix #header-stin > .container-fluid {
    top: 0;
    width: 100%;
    z-index: 9999;
    border-bottom: none;
    background-color: transparent;
  }
  .preventAffix #header-top {
    padding-bottom: 0;
  }
  .menuOpened #top-line {
    display: none;
  }
  .dropdown-menu > li > a {
    padding: 10px 20px;
    background-color: #dd0000;
  }
}

@media (max-width: 595px) {
  .logo-miniresp {
    display: block !important;
  }
  .logo-resp {
    display: none !important;
  }
}

@media (max-width: 499px) {
  #top-line {
    text-align: center;
    height: 45px;
  }
  #top-line #mutace {
    position: absolute;
    left: 5px;
  }
  #top-line .kontakt {
    margin-bottom: 10px;
    padding-left: 70px;
    text-align: left;
    max-width: 80%;
  }
}

@media (max-width: 380px) {
  #leve-menu-toggle {
    width: 100px;
    padding: 0;
  }

  #hledani .ico-btn.active {
    /*position: absolute; right: -80px;*/
  }
  #hledani #q {
    right: -5px;
  }
}

@media (max-width: 767px) {
  .ico-btn,
  a.ico-btn {
    height: 40px;
  }

  #top-line .kontakt {
    width: auto;
    margin-left: -25px;
  }

  nav.navbar {
    text-align: left;
  }

  .searchForm .btn {
    font-size: 16px;
  }
  .searchForm input {
    height: auto;
  }

  .footer-col,
  #footer .left-border {
    border: none;
  }
}

/* úprava lightboxu */
.lg-outer .lg-inner {
  padding-top: 50px;
}
.lg-backdrop {
  z-index: 1045;
}
.lg-outer .lg-item.lg-complete.lg-zoomable .lg-img-wrap {
  padding-bottom: 155px;
}
/* schování download tlačítka */
.lg-toolbar #lg-download {
  display: none;
}

.white-popup-block .row {
  margin: 0;
}

#formularKontakt table {
  width: 100%;
  margin: 20px 0;
}

.ajax-waiting:after {
  content: "";
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background: url("/img/loading.gif") 50% 50% no-repeat rgba(60, 60, 60, 0.5);
}
body.ajax-waiting:after {
  position: fixed;
  z-index: 6666;
}

/* gallerky */
#media-obsah {
  margin-top: 50px;
}
.files-box.top_offset {
  margin-top: 70px;
}

#videa li,
#soubory li {
  text-align: left;
  float: left;
  clear: both;
  text-decoration: underline;
}

#media-tabs {
  background: transparent;
  border: none;
  font-family: inherit;
}

#media-tabs.ui-widget-content {
  border: none;
  padding: 0;
}
#media-tabs > ul {
  background: inherit;
  border: none;
  border-bottom: 1px solid #d5d5d5;
  margin: 0;
  padding: 0;
}

.galleryHeader,
#media-tabs > ul li {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #333333;
  background-color: transparent;
  margin: 0;
  border: none;
  text-align: left;
  position: relative;
  top: 0px;
}
#media-tabs > ul li a {
  color: #000;
  width: 100%;
  padding-left: 1.5em;
  padding-right: 1.5em;
}
#media-tabs > ul li a:after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  transition: width 0.2s;
  background-color: #dd0000;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0px;
  margin: 0 auto;
}
#media-tabs .gallery {
  padding: 0;
  padding-top: 15px;
}

#media-tabs > ul li a:hover,
#media-tabs > ul li a:focus {
  color: #dd0000;
}

#media-tabs > ul li.ui-state-active a:after,
#media-tabs > ul li a:hover:after,
#media-tabs > ul li a:focus:after {
  width: 100%;
}

@media (max-width: 767px) {
  #media-tabs > ul {
    border-bottom: none;
  }
  #media-tabs > ul li {
    display: block;
    width: 100%;
    text-align: center;
  }
  #media-tabs .ui-state-default a {
    text-align: center;
    margin: 0 auto;
    display: block;
    width: 100%;
  }
}

#media-tabs .ui-state-active a,
#media-tabs .ui-state-active a:link,
#media-tabs .ui-state-active a:visited {
  color: #000;
  outline: none;
}
@media (min-width: 300px) {
  #media-tabs > ul li.ui-state-active a:after,
  #media-tabs > ul li a:hover:after,
  #media-tabs > ul li a:focus:after {
    width: 70%;
  }
}
@media (min-width: 460px) {
  #media-tabs > ul li.ui-state-active a:after,
  #media-tabs > ul li a:hover:after,
  #media-tabs > ul li a:focus:after {
    width: 50%;
  }
}
@media (min-width: 768px) {
  #media-tabs > ul li {
    top: 1px;
  }
  #media-tabs > ul li a:after {
    height: 2px;
  }
  #media-tabs > ul li:not(.ui-state-active) {
    top: 2px;
  }
  #media-tabs > ul li.ui-state-active a:after,
  #media-tabs > ul li a:hover:after,
  #media-tabs > ul li a:focus:after {
    width: 100%;
  }
}
@media (min-width: 1460px) {
  #media-tabs > ul li {
    width: 365px;
  }
  #media-tabs > ul li.ui-state-active a:after,
  #media-tabs > ul li a:hover:after,
  #media-tabs > ul li a:focus:after {
    width: 75%;
  }
  #media-tabs > ul li a:after {
    margin-left: 0;
    margin-right: auto;
  }
}

.gallery {
  margin-bottom: 20px;
}
.gallery .img-thumbnail {
  height: 267px;
  overflow: hidden;
  border: none;
  background: transparent;
  margin-bottom: 10px;
}
.gallery .img-thumbnail img {
  height: 100%;
  object-fit: cover;
}

.galleryHeader {
  margin-bottom: 8px;
}
#soubory {
  padding: 25px 30px 10px 30px;
  text-align: left;
  background-color: #ffffff;
  border-radius: 10px;
}
#soubory .box {
  background-color: #fff;
  display: inline-block;
}
#soubory .box a {
  text-decoration: underline;
  text-align: left;
  display: block;
  padding: 10px 0;
  height: 70px;
  overflow: hidden;
  display: flex;
  align-items: center;

  font-size: 12px;
  color: #555555;
}
#soubory .box a:hover .title {
  color: #dd0000;
}
#soubory .box a:hover img {
  max-height: 50px;
  transition: max-height 0.2s;
}
#soubory .box img {
  max-height: 46px;
  min-width: 40px;
  transition: max-height 0.2s;
  display: block;
  margin-right: 15px;
}

@media (min-width: 460px) {
  #soubory .box a {
    font-size: 18px;
  }
}

#videa a:hover,
#videa a:focus,
#videa a:active {
  color: #dd0000;
}

.show-all.btn {
  color: #fff;
  margin-top: 5px;
  width: 100%;
}
.show_all-col {
  transition: width 0.5s;
}

/* 
.gallery-video a { text-decoration: none; }
.gallery-video .border { border: 1px solid #d5d5d5; padding: 11px 5px; height: 60px; overflow: hidden; margin-top: 4px; display: block; }
a .video-title { color: #565859; font-size: 14px; text-decoration: none; display: block; line-height: 18px; height: 36px; overflow: hidden; }
a:hover .video-title { color: #0088ff; }
*/

#mainMenu .RESPswitchMENU {
  background-color: #d5d5d5;
}
#mainMenu .RESPswitchMENU a {
  padding: 10px 15px;
  display: block;
  text-align: right;
  color: #000000;
  font-size: 14px;
}

@media (max-width: 767px) {
  .searchActive {
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
    position: fixed;
  }
}
.searchActive #hledani #q {
  display: block;
}

#formularKontakt label.gdpr_souhlas {
  font-weight: normal;
  font-size: 13px;
}

p.tiny_empty_block {
  margin: 0;
  line-height: 0;
}
.cp-extrablock {
  margin-bottom: 80px;
}
/* .cp-extrablock h1:first-of-type, .cp-extrablock .h1:first-of-type,
.cp-extrablock h2:first-of-type, .cp-extrablock .h2:first-of-type { margin-top: 0; } */
.cp-extrablock h2,
.cp-extrablock .h2 {
  font-size: 30px;
  margin-bottom: 20px;
  margin-top: 0;
}
.cp-extrablock:last-of-type {
  margin-bottom: 0;
}
.cp-extrablock img {
  max-height: 250px;
  object-fit: cover;
  margin-bottom: 30px;
}
@media (min-width: 992px) {
  .cp-extrablock img {
    max-height: 500px;
    margin-bottom: 0;
  }
}
@media (min-width: 1440px) {
  .cp-extrablock h2,
  .cp-extrablock .h2 {
    margin-top: 30px;
  }
}
/*@media (min-width: 768px) {
    .cp-img-right .extrablock-img { float: right; margin-left: 30px; max-width: 30%; }
	.cp-img-left .extrablock-img { float: left; margin-right: 30px; max-width: 30%; }
}*/

/*foromular*/
/* #showFancyForm { width: 100%; min-width: initial; margin-bottom: 20px; } */

.formular {
  margin: 0px auto;
  position: relative;
}
.formular .gdpr_col,
.formular .button_col {
  text-align: left;
}
.formular .gdpr_col {
  margin-bottom: 20px;
}
.formular label {
  font-size: 16px;
  font-weight: 400;
  color: #2d2d2d;
  margin-bottom: 3px;
}
.formular .form-control {
  color: #2d2d2d;
  border: 1px solid #d5d5d5;
  box-shadow: none;
  border-radius: 0;
  font-size: 16px;
}
.formular .form-control:not(textarea) {
  height: 50px;
  margin-bottom: 15px;
}
.formular .form-control {
  margin-bottom: 18px;
}
.formular .btn {
  min-width: 220px;
}
.formular .gdpr_souhlas {
  font-size: 14px;
  line-height: 24px;
}
.formular .gdpr_text {
  position: relative;
  top: -2px;
}

/* jako checkbox */
.prety-checkbox {
  content: "";
  width: 20px;
  height: 20px;
  line-height: 20px;
  display: inline-block;
  margin-right: 7px;
  background-color: #ffffff;
  border: 0;
  margin-bottom: -2px;
}
.prety-checkbox.checked {
  background: #fff;
  color: #333;
  text-align: center;
  position: relative;
  display: inline-block;
  font-family: "Glyphicons Halflings";
  font-style: normal;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
}
.prety-checkbox.checked:before {
  position: absolute;
  content: "\e013";
  left: 0;
  right: 0;
  top: -1px;
  bottom: 0;
  font-size: 12px;
}

@media (min-width: 1220px) {
  .formular .gdpr_col {
    text-align: left;
    margin-bottom: 0;
  }
}

/* kariera formulař */
#formularKontakt.formular {
  padding: 30px;
  background-color: #ededed;
}
#formularKontakt.formular .form_title {
  font-size: 24px;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 35px;
}

.formular.withFiles textarea.form-control {
  height: 110px;
}
.formular.withFiles .star {
  position: absolute;
  right: 20px;
  top: 5px;
  color: #cc0000;
}
.formular.withFiles .fileInput-box {
  margin-top: 20px;
  margin-bottom: 40px;
}
.formular.withFiles .file_text {
  font-weight: 600;
}
.formular.withFiles a.file-btn:hover .plus {
  color: #33aa00;
}
.formular.withFiles .plus {
  height: 24px;
  width: 24px;
  display: inline-block;
  background-color: transparent;
  color: #cc0000;
  font-size: 24px;
  line-height: 24px;
  text-align: center;

  margin-right: 3px;

  transition: transform 0.5s;
}
.formular.withFiles .plus::before {
  content: "+";
}
#formularKontakt.formular .gdpr_souhlas {
  display: flex;
}
#formularKontakt.formular .gdpr_text {
  display: block;
  font-size: 14px;
  line-height: 20px;
  color: #2d2d2d;
}
#formularKontakt.formular .gdpr_text a {
  text-decoration: underline;
}

#formularKontakt.formular .prety-checkbox {
  width: 18px;
  min-width: 18px;
  height: 18px;
  background-color: #ffffff;
  border: 1px solid #d5d5d5;
}
#formularKontakt.formular .prety-checkbox.checked:before {
  top: -2px;
}
#formularKontakt.formular .finishForm-box {
  margin-bottom: 25px;
}
#formularKontakt.formular .captcha-box {
  margin-bottom: 25px;
  text-align: left;
}
#formularKontakt.formular .button_col .btn {
  font-size: 14px;
  font-weight: 800;
  padding-top: 15px;
  padding-bottom: 15px;
}
@media (min-width: 992px) {
  #formularKontakt.formular {
    padding: 60px;
  }
}
@media (min-width: 1220px) {
  #formularKontakt.formular {
    padding: 60px 120px;
  }
}

@media (max-width: 459px) {
  .g-recaptcha {
    transform: scale(0.77);
  }
}

/* root - začátek Robin :-)*/
:root {
  --animace-title: 28px;
  --animace-text: 14px;

  --main-title-line-height: 35px;
  --main-text-line-height: 25px;

  --heading-second: 28px;
  --heading-third: 16px;

  --section-heading: 24px;

  --sluzby-title: 17px;
  --sluzby-text: 13px;
  --sluzby-padding: 1.2em 1.6em;

  --uvod-o-nas: 15px;

  --footer-number: 32px;
  --number-text: 14px;
  --btn-text: 13px;

  --body-padding: 2em;
  --extra-padding: 2em;
  --form-padding: 1em;

  /* --dark-theme-text: #cbcbfd; původní */
  --dark-theme-text: #d8d8ff;
  --dark-theme-titles: white;
  --dark-theme-link: #ffffff;
  --dark-theme-circle: white;
  --dark-theme-stroke: #cbcbfd;
  --dark-theme-block-bcg: #ffffff;
  --dark-theme-border-color: #ffffff;
  --dark-theme-blob: #dd0000;
  --dark-theme-slider-toggle: #dd0000;
  --dark-theme-slider-bg: #ffffff;

  --light-theme-text: #444444;
  --light-theme-titles: #3e2b80;
  --light-theme-link: #dd0000;
  --light-theme-circle: #d5d5d5;
  --light-theme-stroke: #444444;
  --light-theme-block-bcg: #fafafa;
  --light-theme-border-color: #dddddd;
  --light-theme-blob: #dd0000;
  --light-theme-slider-toggle: #ffffff;
  --light-theme-slider-bg: #dd0000;

  --form-subtext: 13px;
  --form-label: 10px;
  --form-input: 13px;
  --form-submit: 10px;

  --select-padding: 2em;

  --hero-text-sub: 13px;
}

/* Animace */
#animace-col {
  width: 100%;
  height: 100%;
}

#animace {
  height: 100%;
}

.carousel-inner {
  height: 100%;
}

.carousel-inner .item {
  height: 100%;
  align-items: center;
}

.animace-content {
  align-items: center;
}

.animace-content .container {
  flex: 1;
}

.animace-content .uvod-svg-wrapper {
  display: none;
  margin-top: 20px;
  background-color: transparent;
}

.svg-arrow-wrapper svg {
  cursor: pointer;
}

.uvod-svg-wrapper svg {
  cursor: pointer;
}

/* Zaujmutí */
.zaujmuti-wrapper {
  margin-top: 100px;
}

.zaujmuti-icon {
  height: 45px;
  width: 40px;
}

.zaujmuti-text h2 {
  font-size: 18px;
  font-weight: 600;
  padding-top: 15px;
  margin: 0;
  line-height: 25px;
  color: white;
}

.zaujmuti-text p {
  font-size: 13px;
  margin: 0;
  margin-top: 20px;
}

.zaujmuti-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background-color: #dd0000;
  color: white;
  border-radius: 23px;
  font-size: 12px;
  padding: 0.6em 3em;
  margin-block: 30px;
  width: max-content;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  transition: all ease 0.2s;
}

.zaujmuti-btn:hover,
.zaujmuti-btn:focus {
  color: white;
  text-decoration: none;
}
.zaujmuti-btn:hover span,
.zaujmuti-btn:focus span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.zaujmuti-btn .fa-arrow-right {
  transform: translateX(0px);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.6, 1);
}

.zaujmuti-btn:hover .fa-arrow-right,
.zaujmuti-btn:focus .fa-arrow-right {
  transform: translateX(10px);
}

.zaujmuti-img {
  position: relative;
  width: 100%;
}

.zaujmuti-img img:nth-child(2) {
  max-width: 90%;
  z-index: 1;
  opacity: 0;
}

.zaujmuti-img img:nth-child(1) {
  position: absolute;
  max-width: 32%;
  left: 70%;
  top: -14%;
  z-index: 2;
  opacity: 0;
}

.zaujmuti-btn svg {
  width: 18px;
  height: 18px;
}

@media (min-width: 800px) {
  .zaujmuti-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .zaujmuti-text {
    min-width: 40%;
  }
}

@media (min-width: 1000px) {
  .zaujmuti-wrapper {
    margin-top: 100px;
  }
}

/* Služby */
.sluzby-maly-flex-wrapper {
  padding-inline: var(--body-padding);
}

.sluzby-maly-flex-wrapper a {
  text-decoration: none;
}

@media (min-width: 1400px) {
  .sluzby-maly-wrapper {
    margin-top: 145px;
  }
}

.sluzby-maly-wrapper {
  margin-top: 20%;
}

.sluzba-maly .title-main {
  font-size: clamp(18px, 2vw, 26px);
}

.sluzba-maly .ikona {
  width: 10vw;
  max-width: 60px;
  height: auto;
  margin-bottom: auto;
}

.sluzba-maly h3 {
  margin: 20px 0;
  text-wrap: nowrap;
  font-weight: 600;
}

.sluzby-maly-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
}

.sluzby-maly-wrapper .sluzba-maly {
  color: white;
  width: 100%;
  padding: 30px;
  background-color: #dd0000;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0s;
}

.sluzba-maly:hover,
.sluzba-maly:focus {
  background-color: #cd3301;
}

.sluzba-maly:hover h3,
.sluzba-maly:focus h3 {
  text-decoration: underline;
}

.sluzba-maly:nth-child(1) {
  border-radius: 10px 10px 0 0;
}

.sluzba-maly:nth-child(3) {
  border-radius: 0 0 10px 10px;
}

@media (min-width: 1300px) {
  .sluzby-maly-wrapper {
    display: flex;
    flex-wrap: nowrap;
  }

  .sluzba-maly:nth-child(1) {
    border-radius: 10px 0 0 10px;
  }

  .sluzba-maly:nth-child(3) {
    border-radius: 0 10px 10px 0;
  }
}

@media (min-width: 1400px) {
  .sluzby-maly-wrapper .sluzba-maly {
    padding: 50px;
  }
}

@media (min-width: 1800px) {
  .sluzba-maly h3 {
    margin-block: 23px 32px;
  }
}

.sluzby-box {
  position: relative;
  padding-inline: var(--extra-padding);
}

.sluzby-box .sluzby-bg-image {
  width: 50vw;
  position: absolute;
  top: -11%;
  right: 0;
  z-index: -1;
  display: none;
}

.sluzby-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.section-heading {
  font-size: var(--section-heading);
  text-transform: uppercase;
  font-weight: 700;
  padding-block: 20px 3%;
}

.sluzby-box .sluzba {
  background-color: #9a0000;
  padding: var(--sluzby-padding);
  border-radius: 7px;
  text-decoration: none;
  transition: 250ms cubic-bezier(0.4, 0, 0.2, 1) 0s;
}

.sluzby-box .sluzba:hover,
.sluzby-box .sluzba:focus {
  background-color: #cd3301;
}
.sluzby-box .sluzba:hover h3,
.sluzby-box .sluzba:focus h3 {
  text-decoration: underline;
}

.sluzba img {
  width: 32px;
  height: 32px;
}

.sluzba-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sluzba-maly .sluzba-main {
  height: 100%;
}

.sluzba h3 {
  color: white;
  font-size: var(--sluzby-title);
}

.sluzba .text {
  font-size: var(--sluzby-text);
  line-height: 25px;
  color: #ffc7c7;
  font-weight: 400;
}

/* Úvod - o nás */
.uvod-o-nas-wrapper h2 {
  margin-top: 0px;
}

@media (max-width: 620px) {
  .uvod-o-nas-wrapper {
    padding-inline: 2em;
  }
  .poptavka-formular {
    padding: 2em !important;
  }
  .top-buffer-sm {
    margin-top: 10px !important;
  }
}

.o-nas-image {
  margin-top: 40px;
}

/* Úkázka tvorby */
.ukazka-tvorby-wrapper {
}

.tvorba-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 10px;
  padding-inline: var(--extra-padding);
}

.tvorba-grid .grid-item {
  max-height: auto;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 20px;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: 50% 100% !important;
  text-decoration: none;
  cursor: pointer;
}

.tvorba-grid .grid-item .content {
  position: relative;
  text-align: center;
  z-index: 5;
  opacity: 0;
  padding: 5%;
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.6, 1);
}

.tvorba-grid .grid-item:hover .content {
  opacity: 1;
}

.tvorba-grid .grid-item:hover {
  background-color: red;
}

.tvorba-grid .grid-item:hover::after {
  opacity: 1;
}

.tvorba-grid .grid-item::after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  height: 100%;
  width: 100%;
  background-color: var(--clr-bg);
  opacity: 0;
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.6, 1);
}

.tvorba-grid .grid-item .content h3 {
  text-transform: uppercase;
  font-weight: 600;
  color: white;
  font-size: clamp(14px, 1.5vw, 30px);
}

.tvorba-grid .grid-item .content p {
  font-size: clamp(11px, 2vw, 17px);
  color: white;
}

.btn-wrapper {
  text-align: center;
}
.btn-wrapper .btn {
  padding: .7em 2em; margin-top: 50px
}

.tvorba-grid .grid-item:nth-child(1) {
  grid-row: 1 / span 2;
}

.tvorba-grid .grid-item:nth-child(n+6) {
  display: none;
}

.tvorba-grid .grid-item:nth-child(7) {
  grid-column: 2;
  grid-row: 3 / span 2;
}

.o-nas-content {
  gap: var(--uvod-o-nas-gap);
}

.o-nas-content .text {
  font-size: var(--uvod-o-nas);
}

/* Company info */
.company-info-wrapper {
  padding-top: 60px;
  text-align: center;
}

.info-container-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  max-width: 80%;
  margin: auto;
  gap: 10px;
}

.company-info-wrapper .info-container {
  flex: 1 1 0px;
}

.info-container .info-number {
  font-weight: 600;
  font-size: var(--footer-number);
}

.info-container .info-text {
  font-weight: 400;
  font-size: var(--number-text);
  text-wrap: nowrap;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.info-container .plus {
  color: #dd0000;
}

/* Animace úvod šipka */

.uvod-svg-wrapper {
  width: 100%;
  text-align: left;
  flex: 0;
}

.chevron-d svg .arrow {
  fill: #ff0000;
  opacity: 1;
  transform: translateY(0);
}
.chevron-d svg .arrow-2 {
  fill: #ff0000;
  opacity: 1;
  transform: translateY(-360px);
}

.arrow-animation {
  animation: arrow 1.5s forwards;
}

.arrow-animation-2 {
  animation: arrow-2 1.5s forwards;
}

/* Theme - přepínač */
.theme-button {
  background-color: transparent;
  outline: none;
  border: none;
}

.theme-button svg {
  fill: none !important;
}

@keyframes arrow {
  0% {
    transform: translateY(0px);
    opacity: 1;
  }
  99% {
    transform: translateY(200px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes arrow-2 {
  0% {
    transform: translateY(-360px);
    opacity: 0;
  }
  99% {
    transform: translateY(0px);
    opacity: 1;
  }
  100% {
    transform: translateY(-360px);
    opacity: 0;
  }
}

@media (min-width: 500px) {
  .sluzby-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(2px, auto));
    gap: 1px;
  }
  .sluzba {
    border-radius: 0px !important;
  }
  .sluzba:nth-child(1) {
    border-top-left-radius: 10px !important;
  }
  .sluzba:nth-child(2) {
    border-top-right-radius: 10px !important;
  }
  .sluzba:nth-child(3) {
    border-bottom-left-radius: 10px !important;
  }
  .sluzba:nth-child(4) {
    border-bottom-right-radius: 10px !important;
  }
  .animace-content .uvod-svg-wrapper {
    float: right;
  }
  .uvod-svg-wrapper {
    display: none;
  }
}

@media (min-width: 530px) {
  :root {
    --extra-padding: 2em;
  }

  .uvod-o-nas-wrapper {
    display: flex;
    align-items: center;
    gap: var(--uvod-o-nas-gap);
    justify-content: space-between;
    gap: 15px;
  }
  .o-nas-content {
    order: 2;
  }
  .animace-img {
    max-width: 410px;
  }
  .animace-content {
    padding-top: 50px;
  }

  .tvorba-grid {
    padding-inline: var(--extra-padding);
  }

  .sluzby-box {
    padding-inline: var(--extra-padding);
    margin-top: 200px;
  }

  .uvod-o-nas-wrapper {
    margin: auto;
    padding-top: 30px;
  }

  .o-nas-content {
    max-width: 45ch;
  }

  .o-nas-image-wrapper {
  }

  .sluzby-box .sluzby-bg-image {
    display: block;
  }
}

@media (min-width: 620px) {
  :root {
    --animace-title: 30px;
    --animace-text: 15px;

    --main-title-line-height: 35px;
    --main-text-line-height: 20px;

    --section-heading: 26px;

    --sluzby-title: 17px;
    --sluzby-text: 13px;
    --sluzby-padding: 1.2em 1.6em;

    --uvod-o-nas: 13px;
    --uvod-o-nas-gap: 40px;

    --footer-number: 28px;
    --number-text: 12px;
    --btn-text: 13px;

    --body-padding: 3em;
    --extra-padding: 5em;
    --form-padding: 8em;
  }
  .tvorba-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .tvorba-grid .grid-item:nth-child(1) {
    grid-row: 1 / span 2;
  }

  .tvorba-grid .grid-item:nth-child(n+6) {
    display: flex;
  }

  .tvorba-grid .grid-item:nth-child(7) {
    grid-column: 3;
    grid-row: 2 / span 2;
  }

  .animace-img {
    max-width: 360px;
    height: 100%;
  }

  .carousel-inner .item {
    display: flex;
  }

  .animace-box {
    padding-block: 100px 50px;
    min-height: max-content;
  }

  .animace-content .uvod-svg-wrapper {
    display: block;
  }

  .tvorba-grid {
    padding-inline: var(--extra-padding);
  }

  .sluzby-box {
    padding-inline: var(--extra-padding);
    margin-top: 200px;
  }

  .uvod-o-nas-wrapper {
    max-width: 90%;
    margin: auto;
    padding-top: 30px;
  }

  .o-nas-content {
    max-width: 45ch;
  }
}

@media (min-width: 800px) {
  :root {
    --animace-title: 36px;
    --animace-text: 17px;

    --main-title-line-height: 40px;
    --main-text-line-height: 25px;

    --section-heading: 30px;
    --heading-second: 30px;
    --heading-third: 20px;

    --sluzby-title: 17px;
    --sluzby-text: 13px;
    --sluzby-padding: 30px 60px;

    --uvod-o-nas: 17px;
    --uvod-o-nas-gap: 50px;

    --footer-content-reseni: 24px;
    --footer-number: 35px;
    --number-text: 16px;
    --btn-text: 13px;

    --body-padding: 4em;
    --extra-padding: 5em;
    --form-padding: 8em;

    --form-subtext: 15px;
    --form-label: 12px;
    --form-input: 13px;

    --form-submit: 14px;
  }

  .animace-box {
    padding: 0;
    padding-inline: var(--body-padding);
  }
  .uvod-svg-wrapper {
    text-align: left;
  }

  .poptavka-formular {
    border-radius: 30px !important;
  }

  .tvorba-grid {
    padding-inline: var(--extra-padding);
  }

  .sluzby-box {
    padding-inline: var(--extra-padding);
    margin-top: 200px;
  }

  .uvod-o-nas-wrapper {
    max-width: 90%;
    margin: auto;
    padding-top: 30px;
  }

  .o-nas-content {
    max-width: 45ch;
  }

  .hero-text {
    max-width: 40ch !important;
  }

  .poptavka-subtext {
    text-align: left !important;
  }

  .hero p {
    font-size: 16px !important;
  }

  .poptavka-formular select,
  .poptavka-formular input:not([type="submit"]) {
    padding: 0.7em 0.85em !important;
  }
}

@media (min-width: 1000px) {
  :root {
    --animace-title: 38px;
    --animace-text: 18px;

    --main-title-line-height: 45px;
    --main-text-line-height: 35px;

    --section-heading: 32px;
    --heading-second: 32px;
    --heading-third: 18px;

    --sluzby-title: 20px;
    --sluzby-text: 13px;
    --sluzby-padding: 1.8em 3.5em;

    --uvod-o-nas: 17px;
    --uvod-o-nas-gap: 50px;

    --footer-number: 32px;
    --number-text: 16px;
    --btn-text: 13px;

    --body-padding: 5em;
    --extra-padding: 8em;
    --form-padding: 12em;

    --form-subtext: 15px;
    --form-label: 12px;
    --form-input: 13px;

    --form-submit: 14px;
  }

  .carousel-inner {
    height: 100%;
  }

  .tvorba-grid {
    padding-inline: var(--extra-padding);
  }

  .sluzby-box {
    padding-inline: var(--extra-padding);
    margin-top: 200px;
  }

  .animace-box {
    padding-inline: var(--body-padding);
    padding-top: 30px;
  }

  .uvod-o-nas-wrapper {
    gap: var(--uvod-o-nas-gap);
  }

  .o-nas-content {
    max-width: 45ch;
  }

  .poptavka-formular select,
  .poptavka-formular input:not([type="submit"]) {
    padding: 12px 18px !important;
  }

  .poptavka-formular select {
    padding: 11px 18px !important;
  }
}

@media (min-width: 1200px) {
  :root {
    --animace-title: 44px;
    --animace-text: 22px;

    --main-title-line-height: 50px;
    --main-text-line-height: 40px;

    --heading-second: 36px;
    --heading-third: 24px;

    --section-heading: 30px;

    --sluzby-title: 20px;
    --sluzby-text: 13px;
    --sluzby-padding: 30px 70px;

    --uvod-o-nas: 18px;
    --uvod-o-nas-gap: 60px;

    --footer-content-reseni: 25px;
    --footer-number: 40px;
    --number-text: 18px;
    --btn-text: 13px;

    --body-padding: 80px;
    --extra-padding: 5em;
    --form-padding: 12em;

    --form-subtext: 16px;
    --form-label: 13px;
    --form-input: 14px;
  }

  .tvorba-grid {
    padding-inline: calc(var(--extra-padding) * 2);
  }

  .animace-img {
    max-width: calc(65% - 10vw) !important;
    height: 100% !important;
  }

  .uvod-o-nas-wrapper {
    justify-content: center;
    margin-top: 80px;
    gap: var(--uvod-o-nas-gap);
  }

  .o-nas-content {
    max-width: 45ch;
  }

  .o-nas-image-wrapper {
    flex-basis: 45%;
  }

  .o-nas-image {
    margin-top: 0;
  }

  .sluzby-box {
    margin-top: 200px;
  }

  .animace-box {
    padding-inline: var(--body-padding);
  }

  .hero p {
    font-size: 18px;
  }
}

@media (min-width: 1400px) {
  :root {
    --animace-title: 50px;
    --animace-text: 20px;

    --main-title-line-height: 60px;
    --main-text-line-height: 30px;

    --heading-second: 38px;
    --heading-third: 22px;

    --section-heading: 45px;

    --sluzby-title: 22px;
    --sluzby-text: 14px;
    --sluzby-padding: 40px 70px;

    --uvod-o-nas: 18px;
    --uvod-o-nas-gap: 50px;

    --footer-number: 50px;
    --footer-content-reseni: 26px;
    --number-text: 22px;
    --btn-text: 13px;

    --body-padding: 100px;
    --extra-padding: 6em;
    --form-padding: 17em;

    --form-subtext: 16px;
    --form-label: 13px;
    --form-input: 14px;
  }

  .sluzba-main {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .sluzba-main h3 {
    margin-block: 10px;
    font-weight: 600;
  }

  .sluzba .sluzba .sluzba-main .ikona {
    height: 40px;
    width: 40px;
  }

  #animace .animace-content .text {
    margin-top: 8%;
  }

  .tvorba-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-inline: calc(var(--extra-padding) * 2);
  }

  .uvod-o-nas-wrapper {
    justify-content: center;
    margin-top: 80px;
    gap: var(--uvod-o-nas-gap);
  }

  .o-nas-content {
    max-width: 50ch;
  }

  .o-nas-image-wrapper {
    flex-basis: 46%;
  }

  .o-nas-image {
    margin-top: 0;
  }

  .sluzby-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }

  #footer-top .content .text {
    margin-block: 30px 40px;
  }

  .sluzby-box {
    padding-inline: var(--extra-padding);
    margin-top: 200px;
  }

  .animace-box {
    padding-top: 0px;
    padding-bottom: 50px;
    padding-inline: var(--body-padding);
  }

  .main-heading {
    margin-top: 80px;
  }

  .hero p {
    font-size: 18px !important;
  }

  .hero-text {
    max-width: 45ch !important;
  }

  .zaujmuti-icon {
    width: 50px;
    height: auto;
  }

  .zaujmuti-text h2 {
    font-size: 24px;
    line-height: 35px;
  }

  .zaujmuti-text p {
    font-size: 18px;
  }

  .zaujmuti-btn {
    font-size: 14px;
    padding-block: 10px;
  }

  .zaujmuti-wrapper {
    margin-top: 200px;
    gap: 80px;
  }

  .zaujmuti-img img:nth-child(1) {
    left: 75%;
  }
}

@media (min-width: 1500px) {
  :root {
    --animace-title: 60px;
    --animace-text: 30px;

    --main-title-line-height: 60px;
    --main-text-line-height: 35px;

    --heading-second: 45px;
    --heading-third: 24px;

    --section-heading: 45px;

    --sluzby-title: 26px;
    --sluzby-text: 15px;
    --sluzby-padding: 50px 100px;

    --uvod-o-nas: 24px;
    --uvod-o-nas-gap: 0px;

    --footer-number: 60px;
    --footer-content-reseni: 32px;
    --number-text: 24px;
    --btn-text: 14px;

    --body-padding: 60px;
    --extra-padding: 80px;
    --form-padding: 17em;

    --form-subtext: 16px;
    --form-label: 13px;
    --form-input: 14px;
  }

  .uvod-image-wrapper {
    height: 520px !important;
  }

  .sluzba .sluzba-main .ikona {
    width: 50px;
    height: auto;
  }

  .sluzba .text p {
    line-height: 30px;
  }

  .sluzby-box .sluzby-bg-image {
    width: 50vw;
    position: absolute;
    top: -13%;
    right: 0;
    z-index: -1;
  }

  .uvod-o-nas-wrapper {
    justify-content: center;
    margin-top: 140px;
  }

  .o-nas-content {
    margin-right: auto;
  }

  .o-nas-content .section-heading {
    font-size: 74px;
    margin-bottom: 77px;
  }

  .o-nas-content .text {
    width: 40ch;
    line-height: 48px;
  }

  .uvod-o-nas-wrapper .o-nas-image-wrapper {
    margin-right: auto;
  }

  .info-container-wrapper {
    margin-top: 100px !important;
  }

  #footer .content {
    margin-top: 80px;
  }

  .footer-btn-wrapper {
    margin-block: 60px 40px;
  }

  .footer-btn-wrapper .btn {
    width: 100%;
    max-width: 210px;
    padding-block: 13px;
    margin: 10px;
  }

  .kontakt-grid .grid-item {
    padding: 30px 35px !important;
  }

  .kontakt-grid .grid-item img {
    width: 45px;
    height: auto;
  }

  .kontakt-grid .grid-item h2 {
    font-size: 20px;
  }

  .kontakt-grid .subtext-wrapper p {
    font-size: 14px !important;
    margin-bottom: auto;
  }

  .zaujmuti-icon {
    width: 60px;
    height: auto;
  }

  .zaujmuti-text h2 {
    font-size: 32px;
    line-height: 48px;
  }

  .zaujmuti-text p {
    font-size: 18px;
  }

  .zaujmuti-btn {
    font-size: 14px;
    padding-block: 10px;
  }

  .zaujmuti-wrapper {
    margin-top: 200px;
    gap: 80px;
  }

  .zaujmuti-img img:nth-child(1) {
    left: 75%;
  }

  .poptavka-formular select,
  .poptavka-formular input:not([type="submit"]) {
    padding: 20px 18px !important;
  }

  .gdpr-text {
    font-size: 14px !important;
  }

  .checkbox-label {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-bottom: 0px;
  }

  input:checked ~ #checkbox {
    width: 10px;
  }

  .zaujmuti-btn {
    padding: 0.6em 4em;
    font-size: 14px;
  }

  .main-heading {
    padding-top: 50px;
  }

  .hero-text {
    max-width: 55ch;
  }

  .why-list li {
    font-size: 18px;
    line-height: 44px;
  }

  .why-czechproject-box .text h2 {
    font-size: 36px;
    line-height: 25px;
  }

  .why-czechproject-box .text h3 {
    font-size: 22px;
    line-height: 30px;
  }

  .about-us-box {
    font-size: 16px;
    line-height: 30px;
  }

  .hero p {
    font-size: 20px !important;
  }

  .hero-text {
    max-width: 50ch !important;
  }
}

@media (min-width: 1620px) {
  :root {
    --animace-title: 60px;
    --animace-text: 30px;

    --main-title-line-height: 60px;
    --main-text-line-height: 35px;

    --heading-second: 45px;
    --heading-third: 24px;

    --section-heading: 45px;

    --sluzby-title: 26px;
    --sluzby-text: 15px;
    --sluzby-padding: 50px 100px;

    --uvod-o-nas: 24px;
    --uvod-o-nas-gap: 0px;

    --footer-number: 60px;
    --footer-content-reseni: 32px;
    --number-text: 24px;
    --btn-text: 14px;

    --body-padding: 80px;
    --extra-padding: 100px;
    --form-padding: 17em;

    --form-subtext: 16px;
    --form-label: 13px;
    --form-input: 14px;
  }

  .uvod-image-wrapper {
    height: 550px !important;
  }

  .sluzba .sluzba-main .ikona {
    width: 50px;
    height: auto;
  }

  .sluzba .text p {
    line-height: 30px;
  }

  .sluzby-box .sluzby-bg-image {
    width: 50vw;
    position: absolute;
    top: -13%;
    right: 0;
    z-index: -1;
  }

  .uvod-o-nas-wrapper {
    justify-content: center;
    margin-top: 140px;
  }

  .o-nas-content {
    margin-right: auto;
  }

  .o-nas-content .section-heading {
    font-size: 74px;
    margin-bottom: 77px;
  }

  .o-nas-content .text {
    width: 40ch;
    line-height: 48px;
  }

  .uvod-o-nas-wrapper .o-nas-image-wrapper {
    margin-right: auto;
  }

  .info-container-wrapper {
    margin-top: 100px !important;
  }

  #footer .content {
    margin-top: 80px;
  }

  .footer-btn-wrapper {
    margin-block: 60px 40px;
  }

  .footer-btn-wrapper .btn {
    width: 100%;
    max-width: 210px;
    padding-block: 13px;
    margin: 10px;
  }

  .kontakt-grid .grid-item {
    padding: 30px 35px !important;
  }

  .kontakt-grid .grid-item img {
    width: 45px;
    height: auto;
  }

  .kontakt-grid .grid-item h2 {
    font-size: 20px;
  }

  .kontakt-grid .subtext-wrapper p {
    font-size: 14px !important;
    margin-bottom: auto;
  }

  .zaujmuti-icon {
    width: 60px;
    height: auto;
  }

  .zaujmuti-text h2 {
    font-size: 32px;
    line-height: 48px;
  }

  .zaujmuti-text p {
    font-size: 18px;
  }

  .zaujmuti-btn {
    font-size: 14px;
    padding-block: 10px;
  }

  .zaujmuti-wrapper {
    margin-top: 200px;
    gap: 80px;
  }

  .zaujmuti-img img:nth-child(1) {
    left: 75%;
  }
}

/* Checkbox - effect */
.checkbox-label {
  width: 15px;
  height: 15px;
  cursor: pointer;
  margin-bottom: 0px;
}

input:checked ~ #checkbox {
  transform: rotate(40deg);
  border-color: #dd2c61;
  border-top-color: transparent;
  border-left-color: transparent;
  width: 7px;
  border-radius: 0px;
  margin-left: 0.5rem;
}

.custom-checkbox {
  display: none;
}

#checkbox {
  display: block;
  width: inherit;
  height: inherit;
  border: 1px solid #d5d5d5;
  transition: 0.375s all;
}
/* Nadpisy na ostatních stránkách */
.heading-third {
  display: inline-block;
  font-size: var(--heading-third);
  color: #dd0000;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
  padding: 0;
}

.heading-second {
  font-size: var(--heading-second);
  font-weight: 700;
  margin: 0;
  padding: 0;
  padding-block: 10px 20px;
  text-transform: uppercase;
}

.main-wrapper.o-nas .heading-second,
.main-wrapper.reference .heading-second {
  text-transform: initial;
}

.main-heading {
  padding-block: 60px 25px;
}

/* O nás */
.hero {
  padding-top: 30px;
}

.hero-text {
  max-width: 32ch;
}

.hero-arrow {
  margin-top: 20px;
  text-align: center;
}

.hero p {
  font-size: 14px;
}

.hero-text .svg-arrow-wrapper {
  display: none;
}

/* Web karty */
.web-cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 10%;
}

.web-cards-wrapper .card {
  flex: 1 1 400px;
}

.web-cards-wrapper .card h3 {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 500;
  text-wrap: nowrap;
}

.web-cards-wrapper .card p {
  font-size: clamp(14px, 2vw, 16px);
}

.web-cards-wrapper .card a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: clamp(14px, 2vw, 16px);
  color: #dd0000;
  text-decoration: none;
  max-width: max-content;
  cursor: pointer;
}
.web-cards-wrapper .card a:hover,
.web-cards-wrapper .card a:focus {
  color: #ffffff;
}
.web-cards-wrapper .card a:hover span,
.web-cards-wrapper .card a:focus span {
  text-decoration: underline;
}

.web-cards-wrapper .card .fa-arrow-right {
  font-size: 13px;
}

.web-reference-wrapper {
  padding-inline: var(--body-padding);
  margin-top: 80px;
}

.reference-detail-text-wrapper ul {
  margin-top: 20px;
}

.reference-detail-text-wrapper .text-content {
  margin-bottom: 40px;
}

.web-reference-grid-wrapper {
  margin-top: 10%;
}

.web-reference-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  max-width: 100%;
  gap: 10px;
  text-align: center;
}

@media (min-width: 600px) {
  .web-reference-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 850px) {
  .web-reference-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.web-reference-grid .item {
  background-color: white;
  aspect-ratio: 1/1;
  flex: 1 1 150px;
  border-radius: 15px;
  padding: 10px;
}

.web-reference-grid .item {
  background-color: white;
  aspect-ratio: 1/1;
  flex: 1 1 150px;
  border-radius: 15px;
  padding: 10px;
  text-decoration: none;
}

.web-reference-wrapper-heading {
  text-align: center;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 500;
}

.mobil-svg {
  width: 100%;
  text-align: center;
  padding-right: var(--body-padding);
}

.hero-image {
  margin-top: 50px; margin-bottom: 50px;
}

@media (min-width: 620px) {
  .hero-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobil-svg {
    display: none;
  }

  .hero-arrow {
    display: none;
  }

  .hero-image {
    margin-top: 0px; margin-bottom: 0px;
    min-width: 50%;
    flex-basis: 50%;
  }

  .hero-text .svg-arrow-wrapper {
    display: block;
  }
}

@media (min-width: 1000px) {
  .hero-text {
    max-width: 45ch;
  }

  .hero p {
    font-size: 18px;
  }
}

@media (min-width: 1200px) {
  .hero-text {
    max-width: 45ch;
  }

  .hero p {
    font-size: 18px;
  }
}

@media (min-width: 1400px) {
  .hero-text {
    max-width: 45ch;
  }
  .hero p {
    font-size: 18px;
  }
}

.why-czechproject-box {
  padding-block: 50px;
}

.why-czechproject-box .text {
  padding-inline: var(--body-padding);
}

.why-czechproject-box .text h2 {
  font-size: 28px;
  font-weight: 600;
}

.why-czechproject-box .text h3 {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.why-czechproject-box .image-wrapper {
  margin-top: 40px;
}

.why-list li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  line-height: 20px;
}

.about-us-box {
  font-size: 14px;
  padding-inline: var(--body-padding);
}

@media (min-width: 690px) {
  .why-czechproject-box {
    display: flex;
    align-items: center;
  }

  .why-czechproject-box .image-wrapper {
    flex-basis: 100%;
  }

  .why-czechproject-box img {
    border-radius: 20px 0 0 20px;
  }

  .why-list li {
    font-size: 14px;
    line-height: 20px;
  }

  .why-czechproject-box .text h2 {
    font-size: 28px;
    font-weight: 600;
  }

  .why-czechproject-box .text h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 25px;
  }
}

@media (min-width: 1000px) {
  .why-list li {
    font-size: 14px;
    line-height: 20px;
  }

  .why-czechproject-box .text h2 {
    font-size: 28px;
    font-weight: 600;
  }

  .why-czechproject-box .text h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 25px;
  }

  .why-czechproject-box {
    padding-block: 10em;
  }

  .about-us-box {
    font-size: 15px;
  }
}

@media (min-width: 1200px) {
  .why-list li {
    align-items: center;
    font-size: 15px;
    line-height: 30px;
  }

  .why-czechproject-box .text h2 {
    font-size: 30px;
    font-weight: 600;
  }

  .why-czechproject-box .text h3 {
    font-size: 20px;
    font-weight: 500;
    margin-block: 15px;
  }
}

@media (min-width: 1400px) {
  .why-list li {
    font-size: 17px;
    line-height: 30px;
  }

  .why-czechproject-box .text h2 {
    font-size: 34px;
    font-weight: 600;
  }

  .why-czechproject-box .text h3 {
    font-size: 21px;
    font-weight: 500;
    line-height: 30px;
    margin-block: 20px;
  }

  .about-us-box {
    font-size: 17px;
  }
}

@media (min-width: 1500px) {
  .why-list li {
    font-size: 17px;
    line-height: 30px;
  }

  .why-czechproject-box .text h2 {
    font-size: 32px;
    font-weight: 600;
  }

  .why-czechproject-box .text h3 {
    font-size: 22px;
    font-weight: 500;
    line-height: 30px;
  }

  .about-us-box {
    font-size: 17px;
  }

  .kontakt-grid {
    gap: 20px !important;
  }
}

@media (min-width: 1700px) {
  .why-list li {
    font-size: 18px;
    line-height: 35px;
  }

  .why-czechproject-box .text h2 {
    font-size: 38px;
    font-weight: 600;
  }

  .why-czechproject-box .text h3 {
    font-size: 22px;
    font-weight: 500;
    line-height: 30px;
    margin-block: 40px;
  }

  .about-us-box {
    font-size: 18px;
  }
}

@media (min-width: 1800px) {
  :root {
    --animace-title: 74px;
    --animace-text: 30px;

    --main-title-line-height: 84px;
    --main-text-line-height: 48px;

    --heading-second: 48px;
    --heading-third: 24px;

    --section-heading: 45px;

    --sluzby-title: 30px;
    --sluzby-text: 17px;
    --sluzby-padding: 60px 120px;

    --uvod-o-nas: 28px;
    --uvod-o-nas-gap: 0px;

    --footer-number: 72px;
    --footer-content-reseni: 40px;
    --number-text: 24px;
    --btn-text: 16px;

    --body-padding: 123px;
    --extra-padding: 125px;
    --form-padding: 370px;

    --form-subtext: 20px;
    --form-label: 16px;
    --form-input: 16px;
  }

  .uvod-image-wrapper {
    height: 650px !important;
  }

  .sluzba .sluzba-main .ikona {
    width: 61px;
    height: auto;
  }

  .sluzba .text p {
    line-height: 30px;
  }

  .sluzby-box .sluzby-bg-image {
    width: 50vw;
    position: absolute;
    top: -13%;
    right: 0;
    z-index: -1;
  }

  .uvod-o-nas-wrapper {
    justify-content: center;
    margin-top: 140px;
  }

  .o-nas-content {
    margin-right: auto;
  }

  .o-nas-content .section-heading {
    font-size: 74px;
    margin-bottom: 77px;
  }

  .o-nas-content .text {
    width: 40ch;
    line-height: 48px;
  }

  .uvod-o-nas-wrapper .o-nas-image-wrapper {
    margin-right: auto;
  }

  .info-container-wrapper {
    margin-top: 100px !important;
  }

  #footer .content {
    margin-top: 150px;
  }

  .footer-btn-wrapper {
    margin-block: 80px 60px;
  }

  .footer-btn-wrapper .btn {
    width: 100%;
    max-width: 230px;
    padding-block: 15px;
    margin: 10px;
  }

  .kontakt-grid .grid-item {
    padding: 50px 55px !important;
  }

  .kontakt-grid .grid-item img {
    width: 52px;
    height: auto;
  }

  .kontakt-grid .grid-item h2 {
    font-size: 24px;
  }

  .kontakt-grid .subtext-wrapper p {
    font-size: 16px !important;
    margin-bottom: auto;
  }

  .zaujmuti-icon {
    width: 60px;
    height: auto;
  }

  .zaujmuti-text h2 {
    font-size: 32px;
    line-height: 48px;
  }

  .zaujmuti-text p {
    font-size: 18px;
  }

  .zaujmuti-btn {
    font-size: 14px;
    padding-block: 10px;
  }

  .zaujmuti-wrapper {
    margin-top: 200px;
    gap: 80px;
  }

  .zaujmuti-img img:nth-child(1) {
    left: 77.5%;
  }

  .poptavka-formular select,
  .poptavka-formular input:not([type="submit"]) {
    padding: 20px 18px !important;
  }

  .gdpr-text {
    font-size: 14px !important;
  }

  .checkbox-label {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-bottom: 0px;
  }

  input:checked ~ #checkbox {
    width: 10px;
  }

  .zaujmuti-btn {
    padding: 1em 4em;
    font-size: 14px;
  }

  .main-heading {
    padding-top: 50px;
  }

  .hero-text {
    max-width: 60ch !important;
  }

  .hero p {
    font-size: 22px !important;
  }

  .why-list li {
    font-size: 18px;
    line-height: 44px;
  }

  .why-czechproject-box .text h2 {
    font-size: 36px;
    line-height: 25px;
  }

  .why-czechproject-box .text h3 {
    font-size: 22px;
    line-height: 30px;
  }

  .about-us-box {
    font-size: 16px;
    line-height: 30px;
  }

  .web-cards-wrapper {
    margin-top: 100px;
  }

  .web-cards-wrapper {
    gap: 70px;
  }

  .web-reference-wrapper {
    margin-top: 100px;
  }

  .web-reference-grid-wrapper {
    margin-top: 150px;
  }

  .web-reference-wrapper-heading {
    margin-bottom: 50px;
  }

  .tvorba-grid {
    gap: 20px;
  }

  .file-upload-label {
    padding: 20px 18px !important;
  }

  textarea {
    padding: 0.6em 0.75em !important;
  }

  .chevron-d svg {
    width: 55px;
    height: 55px;
    margin-top: 20px;
  }
}

/* Animace - blob */
#prekryv {
  height: 100vh;
  width: 100%;
  position: absolute;
  top: -90px;
  left: 0;
}

body {
  --sb-track-color: white;
  --sb-thumb-color: #dd0000;
  --sb-size: 5px;
  overflow: hidden !important;
  background-color: #000028;
  position: relative;
  font-family: "Montserrat", sans-serif;
  -webkit-font-smoothing: antialiased;
}

#blob {
  height: 70vw;
  aspect-ratio: 1;
  position: absolute;
  left: 100%;
  top: 0%;
  translate: -50% -50%;
  border-radius: 50%;
  opacity: 1;
  filter: blur(3vmax);
  z-index: 2000;
}

#blob {
  height: 70vw;
  aspect-ratio: 1;
  position: absolute;
  left: 100%;
  top: 0%;
  translate: -50% -50%;
  border-radius: 50%;
  opacity: 1;
  filter: blur(3vmax);
  z-index: 2000;
}

#blob-off {
  height: 70vw;
  aspect-ratio: 1;
  position: absolute;
  left: 100%;
  top: 0%;
  translate: -50% -50%;
  border-radius: 50%;
  opacity: 1;
  filter: blur(3vmax);
  z-index: -10 !important;
}

/* Formulář */
.formular-box {
  display: flex;
  justify-content: center;
  padding-inline: var(--form-padding);
  align-items: center;
}

.submit-btn {
  margin-top: 30px !important;
  padding: 0.8em 6em !important;
  font-size: var(--form-submit) !important;
  outline: none !important;
  border: none !important;
}

.submit-btn:focus {
  color: white;
}

.submit-btn:focus-visible {
  color: white;
  outline: none !important;
  border: none !important;
}

.formular-wrapper {
  width: 100%;
}

.poptavka-formular {
  background-color: white;
  color: #333333;
  padding: calc(var(--form-padding) / 3.75);
  border-radius: 10px;
}

.poptavka-subtext {
  font-size: var(--form-subtext);
  text-align: center;
  margin-bottom: calc(var(--form-padding) / 7);
}

.poptavka-formular label:not(.checkbox-label) {
  font-size: var(--form-label);
  font-weight: 400;
  display: block;
  position: relative;
}

.poptavka-formular select,
.poptavka-formular input:not([type="submit"]) {
  width: 100%;
  padding: 0.7em 1em;
  font-size: var(--form-input);
  background-color: white;
  border: none;
  height: 100%;
  -webkit-appearance: none;
}

.input-wrapper {
  border: 1px solid #d5d5d5;
}

.input-wrapper .fa-chevron-down {
  margin-block: auto;
  padding-inline: 5px;
  color: #333333;
}

.poptavka-formular .row > div:nth-child(2) {
  display: flex;
  align-items: stretch;
  flex-direction: column;
}

.poptavka-formular .row > div:nth-child(2) .input-wrapper {
  height: 100%;
}

.poptavka-formular textarea {
  width: 100%;
  resize: none;
  font-size: var(--form-input);
  border: 1px solid #d5d5d5;
  padding: 0.3em 0.45em;
  height: 100%;
  -webkit-appearance: none;
}

.textarea-wrapper {
  height: 100px;
  margin-bottom: 10px;
}

.poptavka-formular input:focus,
select:focus,
textarea:focus {
  outline: none;
}

.gdpr-text {
  font-size: 11px;
}

.input-wrapper {
  position: relative;
}

.effect-before::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  border-bottom: 1px solid #d5d5d5;
  border-right: 1px solid #d5d5d5;
  height: 0%;
  width: 0%;
  transition: all 0.45s ease;
  pointer-events: none;
  z-index: 10;
}

.effect-before::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-top: 1px solid #d5d5d5;
  border-left: 1px solid #d5d5d5;
  height: 0%;
  width: 0%;
  transition: all 0.45s ease;
  pointer-events: none;
  z-index: 10;
}

.poptavka-formular textarea:focus ~ .effect-before::after {
  width: 100%;
  height: 100%;
  border-top: 1px solid #dd0000;
  border-left: 1px solid #dd0000;
}

.input-wrapper input:focus ~ .effect-before::after {
  width: 100%;
  height: 100%;
  border-top: 1px solid #dd0000;
  border-left: 1px solid #dd0000;
}

.poptavka-formular select:focus ~ .effect-before::after {
  width: 100%;
  height: 100%;
  border-top: 1px solid #dd0000;
  border-left: 1px solid #dd0000;
}

.poptavka-formular input {
  -webkit-appearance: none;
}

.poptavka-formular select:focus ~ .effect-before::before {
  height: 100%;
  width: 100%;
  border-bottom: 1px solid #dd0000;
  border-right: 1px solid #dd0000;
}

.poptavka-formular textarea:focus ~ .effect-before::before {
  height: 100%;
  width: 100%;
  border-bottom: 1px solid #dd0000;
  border-right: 1px solid #dd0000;
}

.input-wrapper input:focus ~ .effect-before::before {
  width: 100%;
  height: 100%;
  border-bottom: 1px solid #dd0000;
  border-right: 1px solid #dd0000;
}

.poptavka-formular input[type="checkbox"] {
  width: max-content;
}

.submit-btn {
  font-size: 12px;
  padding: 0.6em 2em;
}

/* Slider design */
.switch {
  --button-width: 2em;
  --button-height: 1em;
  --toggle-diameter: 0.7em;
  --button-toggle-offset: calc((var(--button-height) - var(--toggle-diameter)) / 2);
  --toggle-shadow-offset: 10px;
  --toggle-wider: var(--toggle-diameter);
  --color-disabled: #ffffff;
  --color-enabled: #ffffff;
}

.slider-text {
  font-size: 12px;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.slider {
  display: inline-block;
  width: var(--button-width);
  height: var(--button-height);
  border-radius: calc(var(--button-height) / 2);
  position: relative;
  transition: 0.3s all ease-in-out;
  cursor: pointer;
}

.slider::after {
  content: "";
  display: inline-block;
  width: var(--toggle-diameter);
  height: var(--toggle-diameter);
  border-radius: calc(var(--toggle-diameter) / 2);
  position: absolute;
  top: var(--button-toggle-offset);
  transform: translateX(var(--button-toggle-offset));
  box-shadow: var(--toggle-shadow-offset) 0 calc(var(--toggle-shadow-offset) * 4) rgba(0, 0, 0, 0.1);
  transition: 0.3s all ease-in-out;
}

.switch input[type="checkbox"]:checked + .slider {
  background-color: var(--color-enabled);
}

.switch input[type="checkbox"]:checked + .slider::after {
  transform: translateX(calc(var(--button-width) - var(--toggle-diameter) - var(--button-toggle-offset)));
  box-shadow: calc(var(--toggle-shadow-offset) * -1) 0 calc(var(--toggle-shadow-offset) * 4) rgba(0, 0, 0, 0.1);
}

.switch input[type="checkbox"] {
  display: none;
}

.switch input[type="checkbox"]:active + .slider::after {
  width: var(--toggle-wider);
}

.switch input[type="checkbox"]:checked:active + .slider::after {
  transform: translateX(calc(var(--button-width) - var(--toggle-wider) - var(--button-toggle-offset)));
}

/* Design pro ostatní stránky (né podstránky) */
.main-wrapper .sluzby-box {
  margin: 0;
}

.active a {
  color: #dd0000 !important;
}

/* File uploader */
.file-upload-label {
  width: 100%;
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background-color: #ededed;
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #333333;
  cursor: pointer;
  font-weight: 400;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  margin: 0;
}

.file-upload-icon {
  margin-right: 10px;
  font-size: 20px;
  color: #dd0000;
}

.file-upload-wrapper {
  position: relative;
}

.file-list p {
  margin: 0;
  padding: 5px;
  font-size: 10px;
  color: #333;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 5px;
}

.file-upload-wrapper {
  position: relative;
}

/* File input effect */
.file-upload-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: red;
}

.file-upload-wrapper:hover + .file-upload-wrapper {
  background-color: red;
}

/* Kontakt stránka  */
.kontakt-grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.kontakt-grid .grid-item {
  background-color: white;
  padding: 20px 30px;
  border-radius: 10px;
  padding: 30px;
}

.kontakt-grid img {
  width: 35px;
}

.kontakt-grid .grid-item:hover img {
  animation: hithere 1s ease forwards;
}

@keyframes hithere {
  30% {
    transform: scale(1.1);
  }
  40%,
  60% {
    transform: rotate(-20deg) scale(1.1);
  }
  50% {
    transform: rotate(20deg) scale(1.1);
  }
  70% {
    transform: rotate(0deg) scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.kontakt-grid h2 {
  font-size: 18px;
  font-weight: 600;
  color: #000000;
  padding: 0;
  margin: 0;
  padding-block: 18px;
}

@media (min-width: 600px) {
  .kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 7px;
  }

  .kontakt-grid .grid-item {
    border-radius: 20px;
  }

  .kontakt-grid .grid-item:nth-child(5) {
    display: flex;
    justify-content: space-around;
    grid-row: 3;
    grid-column: 1 / span 2;
  }

  .kontakt-grid img {
    width: 40px;
  }

  .kontakt-grid h2 {
    padding-block: 22px;
  }
}

@media (min-width: 1025px) {
  .kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
  }

  .kontakt-grid .grid-item:nth-child(5) {
    display: flex;
    flex-direction: column;
    grid-row: 1 / span 2;
    grid-column: 3;
    height: 100%;
    justify-content: space-between;
  }

  .kontakt-grid .grid-item:nth-child(5) .grid-big-item {
    height: 100%;
  }

  .kontakt-grid .grid-item:nth-child(5) .subtext-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(100% - 55px);
  }

  .kontakt-grid .grid-item:nth-child(5) h2 {
    padding-block: 0;
    padding-bottom: 22px;
  }
}

.kontakt-grid .subtext-wrapper p {
  color: black;
  font-size: 13px;
  margin: 0;
}

/* Reference */
.reference-wrapper {
  margin-top: 30px;
}

.reference-wrapper .filter {
  display: flex;
  font-size: 12px;
  gap: 5px;
  color: white;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: auto;
  margin-bottom: 30px;
}

.filter-item {
  background-color: transparent;
  outline: none;
  border: 1px solid white;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.filter-item:hover,
.filter-item:focus,
.filter-item.active {
  background-color: #dd0000;
  color: white;
  border: 1px solid #dd0000;
}
.filter-item:hover,
.filter-item:focus {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  max-width: 100%;
  gap: 20px;
  text-align: center;
}

@media (min-width: 600px) {
  .reference-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 850px) {
  .reference-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.reference-grid .grid-item {
  background-color: white;
  border: 1px solid #ffffff;
  border-radius: 15px;
  text-decoration: none;
  padding: 10px;
}

.reference-grid .grid-image {
  border-radius: 5px;
}

.reference-grid p img {
  width: 15%;
  max-width: 35px;
  height: auto;
}

.reference-grid div.anotace {
  margin-bottom: 15px;
}

.reference-grid p {
  margin: 0px !important;
}

.reference-grid h3 {
  font-size: clamp(12px, 1vw, 20px);
  color: black;
  font-weight: 600;
  padding-top: 5px;
  margin-block: 5%;
  text-wrap: nowrap;
}

.reference-grid a:hover h3,
.reference-grid a:focus h3 {
  color: #dd0000;
  text-decoration: underline;
}

@media (min-width: 640px) {
  .reference-grid .grid-item {
    flex: 1 1 calc((100% - 20px) / 3);
  }
}

.paging-wrapper {
  margin-top: 50px;
}
/* nějaký classes pro pracování s třídama bootstrapu */
.top-buffer-sm {
  margin-top: 20px;
}

.theme-slider {
  margin-top: 5px;
  margin-right: 20px;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

@media (max-width: 1294px) {
  .theme-button {
    display: block;
  }
  .theme-slider {
    display: none;
  }
}

/* Mobilní navigace */
.mobile-nav {
  position: fixed;
  height: 100dvh;
  width: 100dvw;
  z-index: 999;
  transform: translateY(-100%);
}

.mobile-nav .hidden-nav {
  opacity: 0;
  transform: translateY(-10px);
  transition:
    transform 0.5s ease-out,
    opacity 0.5s ease-out;
}

.hidden-nav:nth-child(1) {
  transition-delay: 50ms;
}

.hidden-nav:nth-child(2) {
  transition-delay: 100ms;
}

.hidden-nav:nth-child(3) {
  transition-delay: 150ms;
}

.hidden-nav:nth-child(4) {
  transition-delay: 200ms;
}

.hidden-nav:nth-child(5) {
  transition-delay: 250ms;
}

.hidden-nav:nth-child(6) {
  transition-delay: 300ms;
}

.mobile-nav .visible-nav {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav[data-expanded="false"] {
  transform: translateY(-100%);
  transition: transform cubic-bezier(0.4, 0, 0.6, 1) 0.55s;
}

.mobile-nav[data-expanded="true"] {
  transform: translateY(0%);
  transition: transform cubic-bezier(0.4, 0, 0.6, 1) 0.55s;
}

.mobile-nav .close-button-nav {
  text-align: right;
  padding-right: 20px;
  padding-top: 10px;
  font-size: 20px;
  color: #dd0000;
  cursor: pointer;
}

.mobile-nav .mobile-nav-list {
  display: flex;
  list-style-type: none;
  flex-direction: column;
  justify-content: center;
  padding-left: 0px;
}

.mobile-nav-list a {
  text-decoration: none;
  font-size: 2rem;
  font-weight: 600;
}

.mobile-nav-list a:hover,
.mobile-nav-list a:focus {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-nav-list li {
  padding-block: 5px;
}

.czechproject-cp {
  margin-top: 50px;
  color: white;
  font-size: 12px;
}

.mobile-nav-content {
  padding: 20px 50px;
}

/* Úvodní obrázek */
.uvod-image-wrapper {
  position: relative;
  width: 100%;
  min-height: 200px;
  isolation: isolate;
}

@media (min-height: 650px) {
  .uvod-image-wrapper {
    height: 250px;
  }
}

@media (min-width: 930px) {
  .uvod-image-wrapper {
    height: 300px;
  }
}

@media (min-width: 1085px) {
  .uvod-image-wrapper {
    height: 360px;
  }
}

@media (min-width: 1175px) {
  .uvod-image-wrapper {
    height: 390px;
  }
}

@media (min-width: 1200px) {
  .uvod-image-wrapper {
    height: 430px;
  }
}

@media (min-width: 1300px) {
  .uvod-image-wrapper {
    height: 470px;
  }
}

.uvod-img {
  position: absolute;
  height: 90% !important;
  transform: translateX(-50%);
  filter: drop-shadow(10px 10px 15px rgba(0, 0, 0, 0.5));
}

.uvod-effect-image {
  animation: intro-effect 3s ease forwards;
}

.uvod-img:nth-child(1) {
  --init-top: -10%;
  z-index: 8;
  top: -40%;
  left: 45%;
  opacity: 0;
  animation-delay: 1100ms;
  filter: drop-shadow(80px 80px 10px rgba(0, 0, 0, 0.25));
}

.uvod-img:nth-child(2) {
  --init-top: 12%;
  z-index: 6;
  top: -18%;
  opacity: 0;
  animation-delay: 600ms;
}

.uvod-img:nth-child(3) {
  --init-top: 2%;
  top: -28%;
  opacity: 0;
  animation-delay: 800ms;
}

@keyframes intro-effect {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    top: var(--init-top);
  }
}

.floating {
  opacity: 1 !important;
  transform: translate(-50%) translateY(0px);
  animation: float 4.5s ease-in-out infinite;
}

.floating:nth-child(1) {
  top: var(--init-top);
  filter: drop-shadow(80px 80px 10px rgba(0, 0, 0, 0.25));
}

.floating:nth-child(2) {
  top: var(--init-top);
}

.floating:nth-child(3) {
  top: var(--init-top);
}

@keyframes float {
  0% {
    transform: translate(-50%) translateY(0px);
  }
  50% {
    transform: translate(-50%) translateY(20px);
  }
  100% {
    transform: translate(-50%) translateY(0px);
  }
}

/* TODO: Udělat to přes třídu at to všude neměním jak dement  */
.extra-padding-scaling {
  padding-inline: var(--body-padding);
}

@media (min-width: 1000px) {
  .extra-padding-scaling {
    padding-inline: calc(var(--body-padding) + 2em);
  }
}

@media (min-width: 1200px) {
  .extra-padding-scaling {
    padding-inline: calc(var(--body-padding) * 2.3);
  }
}

@media (min-width: 1400px) {
  .extra-padding-scaling {
    padding-inline: calc(var(--extra-padding) * 2);
  }
}

.extra-padding-sm-scaling {
  padding-inline: var(--body-padding);
}

@media (min-width: 1200px) {
  .extra-padding-sm-scaling {
    padding-inline: calc(var(--extra-padding) * 2);
  }
}

.detail-padding-sub {
  padding-inline: var(--body-padding);
}

@media (min-width: 1000px) {
  .detail-padding-sub {
    padding-inline: calc(var(--body-padding) + 2em);
  }
}

@media (min-width: 1200px) {
  .detail-padding-sub {
    padding-inline: calc(var(--body-padding) + 4em);
  }
}

@media (min-width: 1400px) {
  .detail-padding-sub {
    padding-inline: calc(var(--extra-padding) * 2);
  }
}

.zastavte-se-wrapper {
  margin-top: 10%;
}

.map-wrapper {
  position: relative;
  height: 100%;
  max-height: 470px;
  overflow: hidden;
  border-radius: 20px;
}

.map-wrapper h2 {
  color: white;
  font-weight: 600;
  font-size: clamp(20px, 4vw, 32px) !important;
}

.imaginary-map {
  height: 470px;
  width: auto;
}

#map {
  position: absolute !important;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

@media (min-width: 1800px) {
  .zastavte-se-wrapper {
    margin-top: 150px;
  }
}

.loading-screen {
  isolation: isolate;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: #000028;
  z-index: 1000;
  transform: translateY(0%);
  animation: fade-out 2000s cubic-bezier(0.4, 0, 0.6, 1) forwards;
  display: block;
}

.loading-effect {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 40vw;
  max-width: 450px;
  aspect-ratio: 1/1;
  z-index: 1002;
  transform: translate(-50%, -50%) scale(0);
  animation:
    rotate 15s linear infinite 0.5s,
    pulse 2s ease-in-out infinite;
}

.loading-logo {
  height: 8dvw;
  max-height: 60px;
}

.rectangle-scan {
  position: relative;
  width: max-content;
  height: 0;
  top: 47%;
  left: 50%;
  z-index: 1004;
  transform: translateX(-50%);
}

.rec-hide {
  display: block;
  line-height: 0;
  height: 0%;
  overflow: hidden;
  width: 100%;
  animation: height-reveal 1s ease forwards 2s;
  transition: all 2s linear;
}

.laser {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: red;
  animation: laser 1s ease 1.8s;
}

@keyframes height-reveal {
  to {
    height: 100%;
  }
}

@keyframes laser {
  0% {
    width: 0%;
  }
  20% {
    width: 100%;
  }
  30% {
    width: 100%;
    top: 0%;
    box-shadow: 0 0 20px 10px #dd0000;
  }
  70% {
    width: 100%;
    box-shadow: 0 0 20px 10px #dd0000;
    top: 100%;
  }
  100% {
    width: 0%;
    top: 100%;
  }
}

@keyframes rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) rotate(-20deg);
  }
}

@keyframes fade-out {
  0% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Scrollbar */
body::-webkit-scrollbar {
  width: var(--sb-size);
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 3px;
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 3px;
}

@supports not selector(::-webkit-scrollbar) {
  body {
    scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
  }
}

/* Config child elementů */
.animace-content .shown-element:nth-child(1) {
  transition-delay: 500ms;
}

.animace-content .shown-element:nth-child(2) {
  transition-delay: 600ms;
}

.tvorba-grid .shown-element:nth-child(1) {
  transition-delay: 500ms;
}
.tvorba-grid .shown-element:nth-child(2) {
  transition-delay: 600ms;
}
.tvorba-grid .shown-element:nth-child(3) {
  transition-delay: 700ms;
}
.tvorba-grid .shown-element:nth-child(5) {
  transition-delay: 800ms;
}
.tvorba-grid .shown-element:nth-child(6) {
  transition-delay: 900ms;
}
.tvorba-grid .shown-element:nth-child(7) {
  transition-delay: 1000ms;
}

.info-container:nth-child(1) .shown-element {
  transition-delay: 700ms;
}

.info-container:nth-child(2) .shown-element {
  transition-delay: 1000ms;
}

.info-container:nth-child(3) .shown-element {
  transition-delay: 1300ms;
}

.poptavka-formular .row:nth-of-type(1) {
  transition-delay: 400ms;
}

.poptavka-formular .row:nth-of-type(2) {
  transition-delay: 600ms;
}

.poptavka-formular .row:nth-of-type(3) {
  transition-delay: 800ms;
}

.poptavka-formular .row:nth-of-type(4) {
  transition-delay: 1200ms;
}

@media (prefers-reduced-motion) {
  .hidden-element {
    transition: none;
  }
  .hidden-element-x {
    transition: none;
  }
}

.error {
  font-size: clamp(10px, 1vw, 12px);
  color: red;
  display: block;
  /*float: right;*/
}

.gdpr-error {
  font-size: clamp(10px, 1vw, 14px);
  color: red;
  display: none;
  margin-top: 2%;
}

.success {
  color: green;
  margin-left: 3px;
}

.referece-detail-content {
}

.reference-detail-image-wrapper {
  text-align: center;
  margin-top: 10px;
}

.reference-detail-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.links-wrapper .ref-link {
  font-size: clamp(12px, 1.5vw, 16px);
  display: flex;
  align-items: center;
  gap: 5px;
  width: max-content;
  text-decoration: none;
}

.links-wrapper .ref-link i {
  color: #dd0000;
}

.links-wrapper a.ref-link:hover,
.links-wrapper a.ref-link:focus {
  color: #dd0000 !important;
}
.links-wrapper a.ref-link:hover span,
.links-wrapper a.ref-link:focus span {
  text-decoration: underline;
}

.reference-detail-text-wrapper h4 {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 600;
  margin-top: 5%;
}

.zpet-reference {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: max-content;
  text-decoration: none;
  border: 2px solid #dd0000;
  border-radius: 23px;
  padding: 0.7em 1.5em;
  font-size: clamp(11px, 1.5vw, 14px);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 10%;
  background-image: url("/img/pozadi.svg");
  background-position: 0 -20%;
  background-repeat: repeat-x;
  transition: background-position 0.6s ease, color 0.6s ease;
}

.zpet-reference:hover,
.zpet-reference:focus {
  text-decoration: none;
  background-position: 100% 50%;
}
.zpet-reference:hover span,
.zpet-reference:focus span {
  text-decoration: underline;
  text-underline-offset: 3px;
}
body[data-theme="light"] .zpet-reference:hover,
body[data-theme="light"] .zpet-reference:focus {
  color: #ffffff !important;
}

.reference-detail-text-wrapper p {
  font-size: clamp(12px, 1.5vw, 16px);
  line-height: 170%;
  margin-top: 1em;
  margin-bottom: 3em;
}

.reference-detail-text-wrapper p a {
  text-decoration: none;
  position: relative;
  color: white;
}

.reference-detail-text-wrapper p a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background-color: #dd0000;
  z-index: -1;
  transition: height 0.2s ease;
}

.reference-detail-text-wrapper a:hover::after {
  height: 100%;
}

@media (min-width: 900px) {
  .reference-detail-text-wrapper {
    padding-inline: var(--extra-padding);
  }
}

@media (min-width: 1400px) {
  .reference-detail-text-wrapper {
    margin-top: 100px;
  }
}

.skryte-vice {
  margin-top: 7%;
}

.vice_block { display: none; }

.alert-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(100, 100, 100, 0.2);
  z-index: 15;
  display: none;
}

.alert {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  z-index: 20;
  border-radius: 15px;
  padding: 2%;
  box-shadow:
    rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

.alert .animace {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  height: 70px !important;
  width: 100%;
}

.alert .animace .tick-animation {
  height: 18vh;
  width: 18vw;
  max-width: 90px;
  max-height: 90px;
}

.alert .message {
  font-size: clamp(13px, 3vw, 16px);
  padding-block: 1em 1em;
  text-align: center;
}

.webmail-href {
  color: #dd0000;
}

.alert .pokracovat {
  text-align: center;
}

.alert .pokracovat button {
  font-size: clamp(12px, 3vw, 14px);
  padding: 0.7em 1.5em;
}

/*  Dark/light mode barvy  */
.light-text {
  color: var(--light-theme-text) !important;
}

.light-title {
  color: var(--light-theme-titles) !important;
}

.light-link {
  color: var(--light-theme-link) !important;
}

.light-block {
  background-color: var(--light-theme-block-bcg) !important;
}

.light-border {
  border-color: var(--light-theme-border-color) !important;
}

.light-circle {
  fill: var(--light-theme-circle) !important;
}

.light-stroke {
  stroke: var(--light-theme-stroke) !important;
}

.light-blob {
  background: radial-gradient(circle, rgba(218, 214, 233, 1), rgba(0, 0, 40, 0) 85%);
}

.dark-text {
  color: var(--dark-theme-text) !important;
}

.dark-title {
  color: var(--dark-theme-titles) !important;
}

.dark-link {
  color: var(--dark-theme-link) !important;
}

.dark-block {
  background-color: var(--dark-theme-block-bcg) !important;
}

.dark-border {
  border-color: var(--dark-theme-border-color) !important;
}

.dark-circle {
  fill: var(--dark-theme-circle) !important;
}

.dark-stroke {
  stroke: var(--dark-theme-stroke) !important;
}

.dark-blob {
  background: radial-gradient(circle, rgba(221, 0, 0, 0.8) 0%, rgba(0, 0, 40, 0) 85%);
}

.dark-slider-bg {
  background-color: var(--dark-theme-slider-bg) !important;
}

.dark-slider-toggle::after {
  background-color: var(--dark-theme-slider-toggle) !important;
}

.light-slider-bg {
  background-color: var(--light-theme-slider-bg) !important;
}

.light-slider-toggle::after {
  background-color: var(--light-theme-slider-toggle) !important;
}

.dark-filter {
  color: white;
  border-color: white;
}

.light-filter {
  color: #000028;
  border-color: #000028;
}

.scrollup {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 100%;
  left: 100%;
  transform: translate(-115%, -115%);
  background-color: white;
  width: max-content;
  padding: 2px;
  border-radius: 50%;
}

.klient-box.dark-text h1 {
  color: #ffffff;
}

.nejcastejsi-dotazy p {
  font-size: clamp(15px, 1.5vw, 18px);
  margin-top: 1em;
  margin-bottom: 2em;
}

.nejcastejsi-dotazy .zaujmuti-btn {
  padding-block: 1em;
  margin: auto;
}

.nejcastejsi-dotazy h1 {
  display: none;
}

.accordionWrapper .panel { border: 0px; }

.accordionWrapper .panel-title {
  display: flex;
  justify-content: space-between;
}

.accordionWrapper i {
  color: #dd0000;
}

.accordionWrapper a {
  text-decoration: none;
}

.accordionWrapper .panel:hover .panel-title span,
.accordionWrapper .panel:focus .panel-title span {
  color: #dd0000;
  text-decoration: underline;
}

.accordionWrapper .panel-title {
  font-size: clamp(14px, 1.5vw, 20px);
  font-weight: 600;
  color: black;
  padding-block: 0.5em;
}

.accordionWrapper .panel {
  border-radius: 10px;
}

.Podpora #blob {
  display: none;
}

.timeline_wrapper .krokIcon {
  max-width: 220px;
}

.timeline_wrapper .krok {
  display: flex;
  gap: 10px;
  background-color: white;
  border-radius: 20px;
  max-width: max-content;
  padding: 15px;
  max-width: 46%;
  width: 100%;
}

.timeline_wrapper .krok .text {
  font-size: clamp(16px, 1.5vw, 17px);
}

.timeline_wrapper .krok .text h3 {
  font-size: clamp(20px, 1.7vw, 21px);
  font-weight: 600;
}

.timeline_wrapper .krok.vpravo h3 {
  color: #dd0000;
}

.timeline_wrapper .krok.vlevo h3 {
  color: #7c82f0;
}

.timeline_wrapper .krok.vpravo {
  margin-left: auto;
}

.timeline_wrapper .krok {
  position: relative;
  margin-top: 3%;
}

.steps {
  position: relative;
  padding-block: 5em;
}

.timeline_wrapper .legend {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 600;
  gap: 80px;
  margin-bottom: 4%;
}

@media screen and (max-width: 472px) {
  .timeline_wrapper .legend {
    flex-direction: column;
    gap: 20px;
  }
}

.timeline_wrapper .legend .uzivatelItem {
  flex: 1;
  text-align: right;
}

.timeline_wrapper .legend .firmaItem {
  flex: 1;
}

.timeline_wrapper .legend .uzivatel {
  width: 40px;
  height: 40px;
}

.timeline_wrapper .legend .firma {
  width: 50px;
  height: 50px;
}

.timeline_wrapper .timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  background-color: #ccccff;
  z-index: 0;
  border-radius: 50px;
}

.timeline_wrapper .krok.vlevo::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -59px;
  transform: translateY(-50%);
  height: 26px;
  width: 26px;
  background-color: #7c82f0;
  border-radius: 50%;
}

.timeline_wrapper .krok.vpravo::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -60px;
  transform: translateY(-50%);
  height: 26px;
  width: 26px;
  background-color: #dd0000;
  border-radius: 50%;
}

@media screen and (max-width: 1460px) {
  .timeline_wrapper .krok.vpravo::after {
    left: -52px;
  }
  .timeline_wrapper .krok.vlevo::after {
    right: -51px;
  }
}

@media screen and (max-width: 1220px) {
  .timeline_wrapper .krok.vpravo::after {
    left: -50px;
  }
  .timeline_wrapper .krok.vlevo::after {
    right: -50px;
  }
  .timeline_wrapper .krokIcon {
    max-width: 180px !important;
  }
}

@media screen and (max-width: 992px) {
  .timeline-line {
    left: 95% !important;
  }
  .timeline_wrapper .krok.vpravo {
    margin-left: 0;
  }
  .timeline_wrapper .krok {
    max-width: 95% !important;
    flex-direction: column;
    height: max-content;
    align-items: center;
  }
  .timeline_wrapper .krokIcon {
    max-width: 200px !important;
  }
  .timeline_wrapper .krok.vpravo::after {
    right: -37px;
    left: unset;
  }
  .timeline_wrapper .krok.vlevo::after {
    right: -37px;
  }
  .timeline-steps {
    margin-right: 15px;
  }
  .timeline_wrapper .krok.last {
    margin-inline: 0 !important;
  }
}

.timeline_wrapper .krok.last {
  text-align: center;
  margin-inline: auto;
}

.timeline_wrapper .krok.last h3 {
  font-weight: 600;
  color: #dd0000;
  font-size: clamp(20px, 1.7vw, 21px);
}

.timeline_wrapper .krok.last p {
  font-size: clamp(16px, 1.5vw, 17px);
}

.main-wrapper.aukcni-weby .heading-second {
  font-size: 32px;
  color: #ffffff; font-weight: 100;
  text-transform: initial;
  padding-bottom: 25px;
}
.main-wrapper.aukcni-weby .heading-second + p {
  font-size: 18px; line-height: 24px;
  font-weight: 100;
}

@media(min-width: 992px){
  .main-wrapper.aukcni-weby .heading-second + p {
    font-size: 22px; line-height: 36px;
  }
}


#jak-aukce-funguje .timeline-line {
  width: 5px;
  background-color: #ccccff;
}
#jak-aukce-funguje .timeline-steps {
  counter-reset: krok;
}
#jak-aukce-funguje .timeline_wrapper .krok {
  counter-increment: krok;
}
#jak-aukce-funguje .timeline_wrapper .krok::after {
  content: counter(krok);
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background-color: #9a0000;

  font-size: 22px; line-height: 40px;
  color: #ffffff; font-weight: 100;
  text-align: center;
}
#jak-aukce-funguje .timeline_wrapper .krok.vlevo::after { right: -14%; }
#jak-aukce-funguje .timeline_wrapper .krok.vpravo::after { left: -13%; }
#jak-aukce-funguje .timeline_wrapper .steps {
  padding-block: 1em;
}
#jak-aukce-funguje .timeline_wrapper .krok {
  display: block;
  background-color: transparent;
  border-radius: 0px;
  max-width: max-content;
  padding: 0px;
  max-width: 46%;
  width: 100%;
  margin-top: 4%; margin-bottom: 4%;
}
#jak-aukce-funguje .timeline-steps h3 {
  font-size: 24px; line-height: 30px;
  font-weight: 100; color: #ffffff;
  margin-top: 0px; margin-bottom: 10px;
}
#jak-aukce-funguje .timeline-steps .text {
  font-size: 16px; line-height: 20px;
  color: #ccccff; font-weight: 100;
}
@media(max-width: 991px){
  #jak-aukce-funguje .timeline-line {
    transform: none;
    right: auto !important;
    left: 30px !important;
  }
  #jak-aukce-funguje .timeline_wrapper .krok { padding-left: 80px; margin-top: 7%; margin-bottom: 7%; }
  #jak-aukce-funguje .timeline_wrapper .krok.vlevo::after { left: 3px; right: auto; }
  #jak-aukce-funguje .timeline_wrapper .krok.vpravo::after { left: 3px; }
}
@media(max-width: 767px){
  #jak-aukce-funguje .timeline_wrapper .krok { padding-left: 80px; margin-top: 10%; margin-bottom: 10%; }
}
@media(min-width: 992px){
  #jak-aukce-funguje .timeline_wrapper .krok.vlevo .text {
      text-align: right;
  }
}
@media(min-width: 1220px){
  #jak-aukce-funguje .timeline_wrapper .krok.vlevo { padding-right: 15px; }
  #jak-aukce-funguje .timeline_wrapper .krok.vpravo { padding-left: 15px; }
  #jak-aukce-funguje .timeline_wrapper .krok.vlevo::after { right: -13.5%; }
}
@media(min-width: 1460px){
  #jak-aukce-funguje .timeline_wrapper .krok::after { width: 60px; height: 60px; font-size: 30px; line-height: 60px; }
  #jak-aukce-funguje .timeline_wrapper .krok.vlevo::after { right: -77px; }
  #jak-aukce-funguje .timeline_wrapper .krok.vpravo::after { left: -77px; }
}


.main-wrapper.aukcni-weby #overeno-praxi .main-heading {
  margin-top: 30px;
  padding-bottom: 35px;
}

.praxe-bloky .block {
  border-radius: 10px;
  background-color: #ffffff;
  padding-bottom: 24px;
  text-align: center;
  margin-bottom: 20px;
  border: 1px solid #ffffff;
}
.praxe-bloky .block .text_block {
  padding: 30px;
  text-align: left;
}
.praxe-bloky .block .title {
  font-size: 26px; line-height: 38px;
  color: #000000;
  margin-top: 0px; margin-bottom: 15px;
}
.praxe-bloky .block .title p {
  font-size: 18px; line-height: 24px;
  color: #000000; font-weight: 100;
  margin-bottom: 45px;
}
.praxe-bloky .block img {
  max-height: 343px;
}
.praxe-bloky .block .link {
  display: inline-block;
  font-size: 20px; line-height: 36px;
  color: #000000; font-weight: 100;
  text-decoration: underline;
  margin-top: 7px;
}
.praxe-bloky .block .link:hover,
.praxe-bloky .block .link:focus {
  color: #dd0000;
  text-decoration-thickness: 2px;
}
@media(min-width: 768px){
  .praxe-bloky .block .text_block {
    padding: 44px 60px;
  }
}
@media(min-width: 1220px){
  .praxe-bloky .block .title {
    font-size: 32px; line-height: 48px;
  }
}


.main-wrapper.aukcni-weby #co-napsali .main-heading {
  padding-bottom: 5px;
}


.main-reference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 20px;
  margin-bottom: 5%;
}

.main-reference-grid .grid-item {
  width: 100%;
  height: 100%;
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  overflow: hidden;
  border-radius: 20px;
  text-decoration: none;
  background-position: 50% 75% !important;
}

.main-reference-grid .grid-item .content {
  opacity: 0;
  color: white;
}

.main-reference-grid .grid-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent; /* Výchozí průhlednost */
  transition: background-color 0.2s; /* Animace přechodu */
  border-radius: 20px; /* Stejný poloměr jako .grid-item */
  z-index: 2; /* Musí být pod .content */
}

.main-reference-grid .grid-item:hover::before {
  background-color: rgba(255, 0, 0, 0.5); /* Červený, 50% průhledný překryv */
}

.main-reference-grid .grid-item:hover .content {
  opacity: 1;
}

.main-reference-grid .content {
  position: relative;
  z-index: 10;
}

.main-reference-grid .content h3 {
  text-transform: uppercase;
  color: white;
  font-weight: 600;
  font-size: clamp(14px, 1.5vw, 30px);
}

@media (max-width: 767px) {
  .main-reference-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .main-reference-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
}

@media (min-width: 1025px) {
  .main-reference-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
  }
}

p a {
  color: #dd0000 !important;
}
p.dark-text a {
  color: #ffffff !important;
}
p a:hover,
p a:focus {
  color: #dd0000 !important;
}

.podpora-item a.link {
  text-decoration: none;
}
.podpora-item a.link span {
  text-decoration: underline;
}
.podpora-item a.link .icon,
.podpora-item a.link .icon {
  font-size: 12px; margin-left: 5px;
}
.podpora-item a.link:hover,
.podpora-item a.link:focus {
  color: #dd0000 !important;
}
.podpora-item a.link:hover span,
.podpora-item a.link:focus span {
  color: #dd0000 !important;
  text-decoration-thickness: 2px;
}

.scrollup {
  display: none !important;
}


#guidelines_switch {
	position: fixed; top: 0px; left: 0px;
	display: block; height: 16px; width: 16px;
	border-radius: 50%;
	background-color: grey;
	z-index: 99999992;
}
#guidelines_switch.active { background-color: yellowgreen; }
#guidelines {
	display: block; width: 1440px; height: 100%;
	position: fixed; top: 0px; left: 0px; right: 0px;
    margin-left: auto; margin-right: auto;
	z-index: 99999991;
}
#guidelines .container-fluid,
#guidelines .container,
#guidelines .container-fluid .row,
#guidelines .container .row { height: 100%; }
#guidelines .container-fluid .col,
#guidelines .container .col { height: 100%; }
#guidelines .guideline {
	position: relative;
	width: 100%; height: 100%;
}
#guidelines .guideline:before {
	content: '';
	position: absolute; top: 0px; left: 0px;
	display: block; width: 1px; height: 100%;
	background-color: #099d50;
}
#guidelines .guideline:after {
	content: '';
	position: absolute; top: 0px; right: 0px;
	display: block; width: 1px; height: 100%;
	background-color: #ff7d08;
}