/*!
Theme Name: tgarden
Theme URI: https://www.tgarden.sk/
Author: cverna
Author URI: https://cverna.sk/
Description: Theme for OZ TGarden design
Version: 1.0
Text Domain: tgarden
*/
:root {
  --clr-primary-1: #7dc243;
  --clr-primary-2: #1a3a64;
  --clr-primary-3: #ffc107;
  --clr-white: #ffffff;
  --clr-gray-1: #fafafa;
  --clr-gray-2: #d4d4d4;
  --clr-gray-3: #747474;
  --clr-black: #000000;

  /* @link https://utopia.fyi/type/calculator?c=375,16,1.2,1440,18,1.333,6,2,&s=0.75|0.5|0.25,1.5|2|3|4|6|8,s-l&g=s,l,xl,12 */

  --step--2: clamp(0.6331rem, 0.716rem + -0.0921vw, 0.6944rem);
  --step--1: clamp(0.8333rem, 0.8296rem + 0.016vw, 0.844rem);
  --step-0: clamp(1rem, 0.956rem + 0.1878vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.0945rem + 0.4501vw, 1.4996rem);
  --step-2: clamp(1.44rem, 1.2432rem + 0.8398vw, 1.999rem);
  --step-3: clamp(1.728rem, 1.3982rem + 1.4072vw, 2.6647rem);
  --step-4: clamp(2.0736rem, 1.553rem + 2.2211vw, 3.552rem);
  --step-5: clamp(2.4883rem, 1.6973rem + 3.375vw, 4.7348rem);
  --step-6: clamp(2.986rem, 1.815rem + 4.9961vw, 6.3115rem);

  /* @link https://utopia.fyi/space/calculator?c=375,16,1.2,1440,18,1.333,6,2,&s=0.75|0.5|0.25,1.5|2|3|4|6|8|9,&g=s,l,xl,12 */

  --space-3xs: clamp(0.25rem, 0.228rem + 0.0939vw, 0.3125rem);
  --space-2xs: clamp(0.5rem, 0.478rem + 0.0939vw, 0.5625rem);
  --space-xs: clamp(0.75rem, 0.706rem + 0.1878vw, 0.875rem);
  --space-s: clamp(1rem, 0.956rem + 0.1878vw, 1.125rem);
  --space-m: clamp(1.5rem, 1.434rem + 0.2817vw, 1.6875rem);
  --space-l: clamp(2rem, 1.912rem + 0.3756vw, 2.25rem);
  --space-xl: clamp(3rem, 2.868rem + 0.5634vw, 3.375rem);
  --space-2xl: clamp(4rem, 3.8239rem + 0.7512vw, 4.5rem);
  --space-3xl: clamp(6rem, 5.7359rem + 1.1268vw, 6.75rem);
  --space-4xl: clamp(8rem, 7.6479rem + 1.5023vw, 9rem);
  --space-5xl: clamp(9rem, 8.6039rem + 1.6901vw, 10.125rem);

  /* One-up pairs */
  --space-3xs-2xs: clamp(0.25rem, 0.14rem + 0.4695vw, 0.5625rem);
  --space-2xs-xs: clamp(0.5rem, 0.368rem + 0.5634vw, 0.875rem);
  --space-xs-s: clamp(0.75rem, 0.618rem + 0.5634vw, 1.125rem);
  --space-s-m: clamp(1rem, 0.7579rem + 1.0329vw, 1.6875rem);
  --space-m-l: clamp(1.5rem, 1.2359rem + 1.1268vw, 2.25rem);
  --space-l-xl: clamp(2rem, 1.5158rem + 2.0657vw, 3.375rem);
  --space-xl-2xl: clamp(3rem, 2.4718rem + 2.2535vw, 4.5rem);
  --space-2xl-3xl: clamp(4rem, 3.0317rem + 4.1315vw, 6.75rem);
  --space-3xl-4xl: clamp(6rem, 4.9437rem + 4.507vw, 9rem);
  --space-4xl-5xl: clamp(8rem, 7.2518rem + 3.1925vw, 10.125rem);

  --gap: var(--space-xl-2xl);
  --padding: var(--space-m-l);
  --radius: var(--space-3xs);

  --edge: var(--space-2xs-xs);
  --edge: 1rem;
  --sirka: 1440px;
  --skok: calc(var(--sirka) / 12);

  --sekcie: var(--space-xl-2xl);

  --box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}
@media screen and (max-width: 600px) {
  #wpadminbar {
    position: fixed;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5em;
}
body {
  font-family: "Lexend", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "slnt" 0;
  font-size: var(--step-0);
  color: var(--clr-gray-3);
  line-height: 1.2;
  word-wrap: break-word;
  position: relative;
  background-color: var(--clr-white);
  letter-spacing: -0.02rem;
}
#cv-wrap {
  margin: 0 auto;
  width: 100%;
}
figcaption.wp-element-caption {
  display: none;
}
.wp-block-cover,
.wp-block-group,
.wp-block-columns {
  max-width: calc(var(--sirka) - 4 * var(--skok));
  width: auto;
  margin: 0 auto;
}
.alignwide {
  max-width: var(--sirka);
  width: 100%;
  margin: 0 auto;
}
.alignfull {
  max-width: none;
  width: 100%;
}
#skiptocontent a {
  position: absolute;
  top: -90px;
  left: 0;
  color: var(--clr-orange-light);
  background: var(--clr-white);
  -webkit-transition: top 1s ease-out;
  transition: top 1s ease-out;
  z-index: 10000;
  display: inline-block;
  padding: 7px;
}
#skiptocontent a:focus {
  top: 0;
}
strong {
  font-weight: 600;
}
small {
  font-size: var(--step--1);
}
a {
  cursor: pointer;
  color: var(--clr-primary-2);
  text-decoration: underline;
  transition: all 500ms ease;
  text-underline-offset: 3px;
}
a:focus {
  outline: 2px solid #ffbf50;
}
a:hover,
a:focus,
a:active {
  text-decoration: none;
}
a:click {
  outline: none;
}
main p,
main ul,
main ol,
main figure {
  margin-bottom: var(--space-m-l);
}
.wp-block-button a,
.cv-fake-btn, .hcta a {
  padding: var(--space-s) var(--space-m-l);
  text-transform: uppercase;
  text-decoration: none;
  font-size: var(--step--1);
  font-weight: 500;
}
.hcta a {
  background-color: var(--clr-primary-1) !important;
    padding: var(--space-s) var(--space-m-l) !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  font-size: var(--step--1) !important;
  font-weight: 500 !important;
  color: var(--clr-white) !important;
  border-radius: 9999px !important;
}
a.mega-menu-link {
      display: flex !important;
    align-items: center !important;
}
img.wpml-ls-flag {
  width: 28px !important;
}
.cv-fake-btn {
  background-color: var(--clr-primary-1);
  font-size: var(--step--1);
  border-radius: 9999px;
  color: var(--clr-white);
  display: inline-block;
  margin-top: auto;
  text-align: center;
}
main ul,
main ol {
  margin-left: 1.25rem;
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  line-height: 1.2;
  margin-bottom: var(--space-m-l);
  color: var(--clr-primary-2);

  font-optical-sizing: auto;
  font-style: normal;
  text-wrap: balance;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  letter-spacing: -0.07rem;
}

h1 {
  font-size: var(--step-5);
}
h2,
.h2 {
  font-size: var(--step-4);
}
h3,
.h3 {
  font-size: var(--step-3);
}
h4,
.h4 {
  font-size: var(--step-2);
}
h5,
.h5 {
  font-size: var(--step-1);
}
h6,
.h6 {
  font-size: var(--step-0);
}
hr,
hr.wp-block-spacer {
  margin: var(--space-xl) 0 !important;
  background-color: var(--clr-gray-2);
  height: 1px;
  width: 100%;
  border: none !important;
}
hr.is-style-dots {
  margin: var(--space-l) 0;
}
.has-text-align-center {
  text-align: center;
}
address {
  font-style: normal;
}
img,
video {
  width: 100%;
  height: auto;
  max-width: 100%;
  vertical-align: bottom;
}
video {
  border-radius: var(--radius);
}
input,
select,
button {
  border-radius: var(--radius);
  border: 1px solid rgba(230, 230, 230, 1);
  font-size: var(--step-0);
  font-family: "Chivo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  padding: var(--space-2xs) var(--space-2xs);
  width: 100%;
}
i input[type="submit"] {
  width: auto;
}
input[type="checkbox"] {
  transform: scale(1.5);
  padding: 0;
  border: 0;
  width: auto;
}
label {
  color: rgba(95, 95, 95, 1);
}
.cv-center {
  padding-left: var(--edge);
  padding-right: var(--edge);
}
.cv-center > div {
  max-width: var(--sirka);
  margin: 0 auto;
  width: 100%;
  padding-left: var(--edge);
  padding-right: var(--edge);
}
header {
  padding: var(--edge);
  width: 100%;
  /* box-shadow: 0 5px 15px rgba(39, 44, 63, 0.06);*/

  background-color: var(--clr-gray-1);
  /*position: sticky;
  top: 0;*/
}
header a {
  text-decoration: none;
}
header .wp-block-buttons {
  margin-left: auto;
  font-size: var(--step--1);
}
.logo {
  width: var(--space-5xl);
  display: block;
}
header > div {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
footer {
  padding: var(--sekcie) 1rem var(--space-m) 1rem;
}
main section {
  padding: var(--sekcie) 0;
}
/* WP */
.wp-block-media-text > .wp-block-media-text__content {
  padding: 0 var(--edge);
}
.cv-produkty {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-m);
}
.cv-produkty > article > a {
  border: 1px solid var(--clr-gray-2);
  border-radius: var(--radius);
  padding: var(--space-s-m);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}
.cv-produkty > article .produkt-img {
  max-width: 320px;
  margin: 0 auto;
}
.cv-produkt-title {
  /*border-bottom: 1px solid var(--clr-gray-2);*/
  padding-bottom: var(--space-m);
  margin-bottom: var(--space-m);
  gap: var(--space-m);
}
.cv-produkt-title p {
  margin-bottom: 0;
  margin-top: 0.5rem;
}
.cv-produkt-title h2 {
  margin-bottom: 0;
}
.cv-produkt-title img {
  height: 36px;
  width: auto;
}
.cv-produkt-info {
  display: flex;
  gap: var(--space-2xs);
  flex-direction: column;
}
.cv-produkt-info p {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}
.cv-produkt-info img {
  width: 1.5rem;
  height: auto;
  object-fit: contain;
}
/*.cv-produkty article {
  margin-top: var(--space-xs-s);
}*/
.cv-calendar {
  --kalendar: 4;
  display: grid;
  grid-template-columns: repeat(var(--kalendar), 1fr);
  width: 100%;
  gap: 0.5rem;
}

.cv-month > * {
  border: 1px solid var(--clr-gray-2);
  padding: 0.5rem 1rem;
  display: block;
  margin-bottom: 0;
  text-align: center;
  text-transform: uppercase;
  background-color: var(--clr-gray-1);
}
.aplikuj {
  background-color: var(--clr-primary-1);
  border-color: var(--clr-primary-1);
  color: var(--clr-white);
}
.cv-shadow > div {
  box-shadow: rgba(0, 0, 0, 0.05) 0px 25px 20px -20px;
}
footer {
  background-color: var(--clr-white);
}
footer > div {
  display: flex;
  flex-direction: column;
}
footer .logo {
  margin: 0 auto var(--space-m) auto;
}
footer a {
  text-decoration: none;
}
#menu-footer, #menu-footer-madarcina {
  display: flex;
  gap: 1rem;
  list-style: none;
  justify-content: center;
  flex-wrap: wrap;
}
.cp {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  border-top: 1px solid var(--clr-gray-2);
  padding-top: var(--space-m);
  margin-top: var(--space-2xl);
  gap: 1rem;
  font-size: var(--step--1);
  opacity: 0.75;
}

.cp a {
  color: var(--clr-gray-3);
}
table thead {
  color: var(--clr-primary-2);
}
.wp-block-table td,
.wp-block-table th {
  border: none;
  border-top: 1px solid var(--clr-gray-2);
}
.wp-block-table thead {
  border: none;
  text-align: left;
  background-color: var(--clr-gray-1);
}

.cv-tab-prvky tr td:last-child,
.cv-tab-prvky tr th:last-child {
  text-align: right;
}
.cv-postup {
  margin-left: 0;
}
.cv-postup li {
  counter-increment: step-counter;
  margin-bottom: 5px;
  list-style: none;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
}
.cv-postup li::before {
  content: counter(step-counter);
  background-color: var(--clr-primary-1);
  color: var(--clr-white);
  font-weight: 700;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: -5px;
}
.schema-faq-section + .schema-faq-section {
  border-top: 1px solid var(--clr-gray-2);
  padding-top: var(--space-s);
  margin-top: var(--space-s);
}
.schema-faq-question {
  position: relative;
  cursor: pointer;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
.schema-faq-question::after {
  content: "+";
  font-size: var(--step-1);
}
.schema-faq-question.active::after {
  content: "-";
}
.cv-emax > div > div {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0.5rem;
}
.schema-faq-answer {
  margin-top: 1rem;
}
.cv-prvky > div {
  padding: 0.5rem clamp(3%, 2vw, 4%);
  gap: 0;
}
.cv-prvky > div:first-child {
  padding-left: 0;
}
.cv-prvky > div:not(:last-child) {
  border-right: 1px solid var(--clr-gray-2);
}
.cv-prvky p.h3 {
  font-size: var(--step-1);
}
.cv-prvky em {
  display: block;
  font-style: normal;
  text-align: center;
  opacity: 0.75;
  font-size: var(--step--1);
}
.cv-mob-grid > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  text-align: left;
  gap: 0 1.5rem;
}
.cv-mob-grid figure {
  grid-column: 1;
  grid-row: 1 / 3;
}
.cv-tab-prvky table tr th:first-child {
  width: 80px;
}
.cv-tab-prvky table tr td:last-child,
.cv-tab-prvky table tr th:last-child {
  width: 100px;
}
.cv-tab-prvky table th,
.cv-tab-prvky table td {
  vertical-align: top;
}
.cv-kat-rodic article h2 {
  font-size: var(--step-1);
}
.cv-kat-rodic .cv-produkty {
  gap: 1rem;
}
.cv-sticky-kat ul {
  list-style: none;
  margin-left: 0;
}
.cv-sticky-kat li + li {
  border-top: 1px solid var(--clr-gray-2);
  padding-top: var(--space-s);
  margin-top: var(--space-s);
}
.cv-sticky-kat li a {
  text-decoration: none;
}
.cv-info {
  padding: 1rem;
  border-left: 5px solid var(--clr-primary-2);
  background-color: var(--clr-gray-1);
}
.cv-info h3 {
  margin-bottom: 0.5rem;
}
.cv-label {
  background-color: var(--clr-primary-3);
  color: var(--clr-primary-2);
  padding: var(--space-2xs);
  position: absolute;
  top: 0;
  left: 0;
  font-size: var(--step--1);
  font-weight: 700;
  margin-top: 0;
}
.r {
  position: relative;
}
h3.sipka {
  position: relative;
  margin-bottom: 0;
}
h3.sipka a {
  display: block;
}
h3.sipka:after {
    content: "";
    background-image: url(images/arrow_right_blue.svg);
    background-repeat: no-repeat;
    display: block;
    width: 7px;
    height: 14px;
    position: absolute;
    top: 5px;
    right: 0;
}
.wp-block-table {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
}
table td,
table th {
  white-space: nowrap;
}
#my-map {
  width: 100%;
  aspect-ratio: 3/2;
  border-radius: var(--radius);
}
.dt-paging.paging_simple_numbers nav {
  display: flex;
}
.cv-video iframe, .cv-video, .cv-video > div {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 100%;
}
.wpml-ls-flag {
  width: 32px !important;
}
.pc-hero {
  display: none !important;
}
.cv-hinfo {
    background-color: var(--clr-primary-3);
    color: var(--clr-black);
    padding: var(--space-xs-s) 0;
    text-align: center;
}
.cv-hinfo a {
  color: var(--clr-black);
  text-decoration: underline;
}
.cv-hinfo a:hover {
  text-decoration: none;
}
/* RESPONSIVEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE */
@media only screen and (min-width: 601px) {
  .wp-block-media-text > .wp-block-media-text__content {
    padding-left: 0;
  }
  .wp-block-media-text.has-media-on-the-right > .wp-block-media-text__content {
    padding-left: var(--edge);
  }
  .cv-calendar {
    --kalendar: 6;
  }
}
@media only screen and (min-width: 800px) {
  .pc-hero {
  display: block !important;
}
.mobil-hero {
  display: none !important;
}
  .cp {
    flex-direction: row;
  }
  .cp > *:nth-child(2) {
    margin-left: auto;
  }
  tbody th {
    text-align: left;
  }
  .cv-mob-grid > div {
    display: block;
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cv-mob-grid h3 {
    margin-bottom: 0.5rem;
  }
  .cv-mob-grid figure {
    margin-bottom: 1.5rem;
  }
  .cv-emax > div > div {
    grid-template-columns: 1fr;
    gap: 0em;
    text-align: center;
  }
}
@media only screen and (min-width: 900px) {
  .cv-produkt-title {
    flex-direction: row;
  }
  .cv-produkty {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media only screen and (min-width: 1000px) {
  .hctabtn {
    display: none !important;
  }
  .menub2b {
    margin-left: 1.5rem !important;
    padding-left: 1.5rem !important;
    border-left: 1px solid var(--clr-gray-2) !important;
  }
  .cv-calendar {
    --kalendar: 12;
  }
  header .wp-block-buttons {
    order: 3;
    margin-left: unset;
  }
  header nav {
    margin-left: auto;
  }
  /* .cv-produkty > article > a {
    grid-template-columns: 1fr 3fr;
  }
  .cv-produkt-info {
    flex-direction: row;
    gap: var(--space-m);
  }*/
}
@media only screen and (min-width: 1200px) {
  .wp-block-media-text > .wp-block-media-text__content {
    padding-right: var(--space-4xl-5xl);
  }
}
