/*
Theme Name: cesta
Theme URI: 
Author: 2046
Author URI: http://2046.cz/
Description: 
Version: 0.21
License: Aggressive Copyright
License URI: http://aggresive-copyright.org
Tags: 
*/
:root {
  --fs: 18px;
  --lh: 25.2px;
}
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background-color: #ddd;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: var(--fs);
  line-height: var(--lh);
}
/* H design */
h1 {
  font-size: 3.4rem;
  margin-left: -0.2rem;
  margin-top: 0;
  margin-bottom: 0.68rem;
  font-weight: 500;
  color: #444;
}
h2 {
  font-size: 3rem;
  margin-left: -0.2rem;
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-weight: 500;
  color: #444;
}
h3 {
  font-size: 1.4046rem;
  margin-left: -0.2rem;
  margin-top: 0;
  margin-bottom: 0.28092rem;
  font-weight: 500;
  color: #444;
}
h4 {
  font-size: 1.4142rem;
  margin-left: -0.2rem;
  margin-top: 0;
  margin-bottom: 0.28284rem;
  font-weight: 500;
  color: #444;
}
h5 {
  font-size: 1.1892rem;
  margin-left: -0.2rem;
  margin-top: 0;
  margin-bottom: 0.23784rem;
  font-weight: 500;
  color: #444;
}
h6 {
  font-size: 1rem;
  margin-left: -0.2rem;
  margin-top: 0;
  margin-bottom: 0.2rem;
  font-weight: 500;
  color: #444;
}
h3,
h2 {
  font-weight: 600;
}
img,
iframe {
  max-width: 100%;
  display: inline-block;
  height: auto;
}
a {
  color: #444;
  text-decoration: none;
  outline: none;
}
a:hover,
a:active,
a:focus {
  outline: none;
  text-decoration: none;
}
p {
  margin-top: 0;
}
p a {
  text-decoration: underline;
  color: #4368C0;
}
p a:hover,
p a:active,
p a:focus {
  text-decoration: underline;
}
.edit-link {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 10;
  background: red;
  color: #fff;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
}
.edit-link:hover {
  color: #fff;
  text-decoration: none;
}
._anchor {
  margin-top: -90px;
  opacity: 0;
  position: absolute;
  z-index: 3;
  text-decoration: none;
}
.anchor {
  margin-top: -90px;
  opacity: 0;
  position: absolute;
  z-index: 3;
  text-decoration: none;
  left: 18px;
  display: inline-block;
  text-align: center;
  width: 28px;
  height: 28px;
  background: black;
  color: #fff;
  border-radius: 0 0 50% 50%;
}
.anchor:hover,
.anchor:active,
.anchor:focus {
  color: #fff;
}
.noanim {
  transition: all 0s;
}
.anim {
  transition: all 0.4s;
}
.anim2 {
  transition: all 0.8s;
}
.logged-in .anchor {
  opacity: 1;
}
#top_menu {
  display: none;
  max-width: 576px;
  width: 100%;
  position: fixed;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  min-height: 100svh;
  min-height: 100vh;
  background-color: #F9F9F9;
}
#top_menu.show {
  display: flex;
}
#top_menu .navbar-nav {
  display: flex;
  flex-flow: column;
}
#top_menu ul {
  padding-left: 0;
  margin-left: 0;
}
#top_menu ul li {
  display: inline-block;
  list-style: none;
}
#top_menu ul li.active a,
#top_menu ul li:hover a,
#top_menu ul li:focus a {
  text-decoration: underline;
}
#top_menu ul li.menu-item-object-pramen a {
  font-weight: 600;
}
#top_menu ul li a {
  display: inline-block;
  text-decoration: none;
  color: #444;
  padding: 0.4rem 0.4rem 0.4rem 0;
  font-weight: 400;
}
#top_menu ul li .dropdown-menu {
  background-color: #F9F9F9;
  border: 0;
  box-shadow: 0 0 0 transparent;
}
#top_menu ul li .dropdown-menu li a {
  padding: 0.3rem 0;
  background-color: #F9F9F9;
}
.navbar-toggler {
  position: fixed;
  z-index: 10;
  top: 11px;
  left: min(87%, 525px);
  border: 0;
  padding: 18px;
  width: 44px;
  height: 44px;
  background-color: #EFE3D5;
  border-radius: 0.3rem;
}
.navbar-toggler:hover,
.navbar-toggler:active,
.navbar-toggler:focus {
  border: 0;
  box-shadow: none;
  outline: none;
}
.navbar-toggler span {
  position: absolute;
  left: 9px;
  transform: rotate(0deg);
  transition: all 0.4s ease-in-out;
  transform-origin: left center;
  display: block;
  width: 26px;
  border-bottom: 3px solid #4368C0;
  transition: all 0.4s;
}
.navbar-toggler span:nth-child(1) {
  transform: rotate(0deg);
  opacity: 1;
  top: 12.6px;
}
.navbar-toggler span:nth-child(2) {
  transform: rotate(0deg);
  opacity: 1;
  transform-origin: left center;
  top: 20px;
}
.navbar-toggler span:nth-child(3) {
  transform: rotate(0deg);
  opacity: 1;
  transform-origin: left center;
  top: 27.4px;
}
.navbar-toggler.show span {
  left: 12.6px;
}
.navbar-toggler.show span:nth-child(1) {
  top: 10.8px;
  transform: rotate(45deg);
}
.navbar-toggler.show span:nth-child(2) {
  width: 0%;
  opacity: 0;
}
.navbar-toggler.show span:nth-child(3) {
  transform: rotate(-45deg);
  top: 28.4px;
}
.n {
  font-weight: 300;
}
#wrap {
  position: relative;
  max-width: 576px;
  min-height: 100svh;
  min-height: 100vh;
  background-color: #EFE3D5;
}
#logo {
  display: block;
  padding: 1.5rem 1rem 1rem 1.5rem;
  font-size: 1.4rem;
  font-weight: 600;
}
.bit {
  display: inline-block;
  width: 14.4px;
  height: 14.4px;
  margin-right: 0.1rem;
}
.bits {
  line-height: 1.2;
  font-size: 1rem;
}
.bits .n {
  padding-left: clamp(0.2rem, 0.1vw, 1rem);
  min-width: 4ch;
  display: inline-block;
}
.cards {
  margin-bottom: 2.2rem;
}
.card {
  display: block;
  background-color: #FFF4EA;
  box-shadow: 0 0 0.4rem 0.4rem #d2cece7a;
  margin: 0 1rem 1.5rem 0;
  padding: 2rem 1.7rem;
  border-radius: 0 0.2rem 0.2rem 0;
  transition: box-shadow 0.4s ease-out;
}
.card:hover,
.card:active,
.card:focus {
  box-shadow: 0 0 0.3rem 0.4rem rgba(193, 187, 187, 0.47843137);
}
.card h2,
.card h1 {
  line-height: 0.9;
  margin-bottom: 1.4rem;
  font-weight: 600;
}
.container {
  box-sizing: border-box;
}
.text_block,
.common_block,
.tax_description {
  padding: 0 2rem 1rem 2rem;
}
.text_block p,
.common_block p,
.tax_description p {
  text-align: left !important;
}
.common_block.buttons {
  padding-right: 1rem;
}
.common_block .heading,
.common_block h3 {
  margin-bottom: 0;
}
.tax_description {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 3rem;
}
.gallery_block {
  margin-bottom: 1.5rem;
}
.gallery_block img {
  width: 100%;
  height: auto;
  display: inline-block;
  margin-bottom: -0.3rem;
}
.record {
  margin-bottom: 3.5rem;
}
.record .heading {
  display: inline-block;
  font-weight: 200;
}
.record .icon_link {
  display: inline-block;
  vertical-align: ideographic;
}
.record .icon {
  height: 3.2rem;
}
.btn {
  background-color: #4368C0;
  color: #fff;
  border-radius: 2046px;
  padding: 0.4rem 1.2rem 0.5rem 1.2rem;
  font-weight: 600;
  transition: all 0.4s;
}
.btn:active,
.btn:focus,
.btn:hover {
  box-shadow: none;
  background-color: #3b5daf;
  box-shadow: none !important;
  transition: all 0s;
}
.btn-group {
  display: inline-flex;
  border-radius: 2046px;
}
.btn-group .btn {
  border-radius: 0;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
  border-right: 2px solid #EFE3D5;
}
.btn-group .btn:first-of-type {
  padding-left: 1.5rem;
  border-top-left-radius: 2046px;
  border-bottom-left-radius: 2046px;
}
.btn-group .btn:last-of-type {
  padding-right: 1.5rem;
  border-top-right-radius: 2046px;
  border-bottom-right-radius: 2046px;
  border: 0;
}
.buttons {
  text-align: right;
  margin-bottom: 0.5rem;
  margin-right: -0.5rem;
}
.text_button {
  float: right;
}
.icons_bits {
  padding: 0.5rem 0.5rem 0.5rem 0;
}
.icons_bits .icon_bit {
  display: flex;
  align-items: center;
  background-color: #FFF4EA;
  padding: 1.5rem;
  margin: 0 0.5rem 1rem 0;
  box-sizing: border-box;
  box-shadow: 0 0 0.15rem 0.2rem #d2cece7a;
  transition: all 0.4s;
}
.icons_bits .icon_bit:hover,
.icons_bits .icon_bit:active,
.icons_bits .icon_bit:focus {
  box-shadow: 0 0 0.15rem 0.2rem rgba(193, 187, 187, 0.47843137);
  transition: all 0s;
}
.icons_bits .icon_bit img {
  width: 4rem;
  display: inline-block;
  margin-right: 1rem;
}
.icons_bits .icon_bit.dummy {
  box-shadow: none;
}
.tax-pramen .card,
.tax-ikona .card {
  margin-bottom: 4.5rem;
}
.tax-ikona .head {
  display: flex;
  justify-content: end;
}
.tax-ikona .card {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}
.tax-ikona .card img {
  width: 40%;
}
.tax-ikona .n {
  font-weight: 200;
}
.tax-ikona .pramen {
  font-size: 3rem;
  line-height: 0.9;
  margin-bottom: 0.8rem;
}
.tax-ikona .lead {
  padding: 0 clamp(5rem, 4vw, 5rem);
  margin: 2rem 0 3rem 0;
}
.tax-ikona h1 {
  display: inline-block;
  font-size: clamp(1.4046rem, 5vw, 2rem);
  line-height: 1;
  margin: 0.2rem 0 0 0.1rem;
}
.tax-obdobi .card {
  margin-bottom: 3.3rem;
}
.tax-obdobi .card .bit {
  margin-right: 0.3rem;
}
.tax-obdobi .card h1 {
  display: inline;
  font-size: 2.2rem;
  font-weight: 400;
}
.tax-obdobi .pramen {
  font-size: 3rem;
  line-height: 0.9;
  margin-bottom: 0.8rem;
}
.qr_line {
  border-top: 1.25rem solid black;
}
@media all and (max-width: 769px) {
  .container {
    width: 100%;
    max-width: 100%;
  }
  .nav-item {
    padding-left: 27px;
  }
}
