/*
Theme Name: aquiferstheme
Author: Val
*/

:root {
  /* colors */
  --clr-accent: 200 100% 30%;
  --clr-secondary: 51 100% 50%;

  --clr-gray: 0 0% 31%;
  --clr-light: 36 11% 92%;
  --clr-white: 180 0% 100%;
  --clr-dark: 0 0% 0%;

  --ff-main: "Montserrat", sans-serif;
}

@media (min-width: 35em) {
  :root {
    --fs-800: 3rem;
    --fs-700: 2.5rem;
    --fs-600: 1.5rem;
    --fs-400: 1rem;
  }
}

/* ------------------- */
/* Reset               */
/* ------------------- */

html {
  scroll-behavior: smooth;
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Reset margins */
body,
h1,
h2,
h3,
h4,
h5,
p,
figure,
picture {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-weight: 400;
}

body {
  font-family: var(--ff-main);
  color: hsl(var(--clr-dark));
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
main {
  flex-grow: 1;
}
img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}
a {
  color: hsl(var(--clr-accent));
}
a:hover {
  color: hsl(var(--clr-dark));
}
/* remove animations for people who've turned them off */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

ul {
  padding-left: 15px;
}

.flex {
  display: flex;
  gap: var(--gap, 1rem);
}

.grid {
  display: grid;
  gap: var(--gap, 1rem);
}
.d-block {
  display: block;
}

.flow > *:where(:not(:first-child)) {
  margin-top: var(--flow-space, 1rem);
}

.container {
  margin-inline: auto;
  width: 100%;
}

.grid-container {
  display: grid;
  text-align: center;
  place-items: center;
  padding-inline: 1rem;
}

.grid-container * {
  max-width: 50ch;
}

@media (min-width: 45em) {
  .grid-container {
    text-align: left;
    column-gap: var(--container-gap, 2rem);
    grid-template-columns: minmax(2rem, 1fr) repeat(2, minmax(0, 30rem)) minmax(
        2rem,
        1fr
      );
  }

  .grid-container > *:first-child {
    grid-column: 2;
  }

  .grid-container > *:last-child {
    grid-column: 3;
  }
  .grid-container--home {
    padding-bottom: max(6rem, 20vh);
    align-items: end;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; 
  border: 0;
}

header.primary-header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.footer {
  display: flex;
  flex-direction: column;
  margin-top: 0rem;
}
.footer {
  background-color: hsl(var(--clr-dark) / 0.8);
}

.footer-copyright {
  color: hsl(var(--clr-light));

  width: 100%;
  margin-inline: auto;
  display: flex;
  padding: 1rem 2rem;
  justify-content: center;
}
.footer-copyright p {
  font-size: 0.75rem;
}

.spacer {
  background-color: hsl(var(--clr-accent) / 0.2);
  height: 1px;
  width: 100%;
}
.logo-and-phones {
  border-radius: 8px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.header-logo-img,
.header-phones {
    width: 100%;
	max-width:550px;
	height:auto;
  display: flex;
  align-items: center;
}
.header-logo-img figure {
  display: flex;
  align-items: center;
}
.header-phones {
  flex-direction: column;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.header-top-bar {
  background-color: hsl(var(--clr-dark) / 0.8);
  width: 100%;
  padding: 0.5rem;
}
.header-top-bar > div {
  display: flex;
  justify-content: start;
  gap: 1rem;
}
.header-phone,
.header-email {
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-phone a,
.header-email a {
  color: hsl(var(--clr-white) / 0.8);
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
}

.header-phone a:hover,
.header-email a:hover {
  color: hsl(var(--clr-white) / 1);
}
@media (min-width: 768px) {
  .header-phones {
    justify-content: flex-end;
    align-items: flex-end;
  }

  .banner-text {
    font-size: var(--fs-800);
  }
  .banner-text p {
    font-weight: 800;
    line-height: 1;
  }
  .logo-and-phones {
    flex-direction: row;
  }
}

.perevagy-wrapper .perevagy {
  border-radius: var(--br-medium);
  background-color: hsl(var(--clr-accent) / 0.05);
}
.perevagy figure {
  padding-top: 1.5rem;
}
.perevagy p {
  font-size: 1rem;
}
.perevagy p:last-child {
  margin-bottom: 1.5rem;
}


.dropbtn {
  background-color: transparent;
  color: hsl(var(--clr-dark) / 0.9);

  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  --gap: 0.5rem;
}

.dropdown {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 26px;
  background-color: #f0ece8;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: var(--br-medium);
  overflow: hidden;
}

.dropdown-content a {
  color: black;
  padding: 0.25rem 1.25rem;
  text-decoration: none;
  display: block;
  font-size: 0.875rem;
}
.dropdown-content button.contact-form-modal-btn {
  background: transparent;
  color: black;
  padding: 0.25rem 1.25rem;
  text-decoration: none;
  display: block;
  font-size: 0.875rem;
  cursor: pointer;
  border: 0;
  outline: 0;
}
.dropdown-content button.contact-form-modal-btn:hover {
  background-color: #ddd;
}
.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown-icon {
  background-color: hsl(var(--clr-accent) / 0.1);
  border-radius: var(--br-medium);
  padding: 0.25rem;
  cursor: pointer;
  margin-left: 0.25rem;
}
.dropdown-icon.open svg {
  transform: rotate(-180deg) translateY(0%);
}
.dropdown-content.dropdown-open {
  display: block;
}

.phone-header-text,
.header-phones a {
  text-decoration: none;
  color: hsl(var(--clr-light));
}

.header-phones--phone {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.header-phones--location {
  display: flex;
  font-size: 0.875rem;
}
.dropdown-social a,
.dropdown-social svg {
  display: inline-block;
}
.dropdown-social,
.dropdown-social a {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.dropdown-social {
  gap: 0.25rem;
}
.header-phones--phone {
  gap: 1rem;
}

.header-logo-img .wp-block-image img {
  height: auto;
}

@media (max-width: 35rem) {
  .header-logo-img {
    width: 80%;
  }
}

.mobile-nav-toggle {
  display: none;
}
.catalog-menu-wrapper {
  background-color: hsl(var(--clr-accent) / 0.1);
}
.navbar-1 {
  border-top: 3px solid hsl(var(--clr-accent) / 1);
  border-bottom: 3px solid hsl(var(--clr-accent) / 1);
  width: 100%;
  padding: 0rem 0.25rem;
}
.navbar-1-inner {
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .catalog-menu {
    width: 100%;
    max-width: 72rem;
    margin-inline: auto;
    padding: 2em;
    display: flex;
  }

  .catalog-menu {
    justify-content: center;
  }
}
header.primary-header {
  position: static;
}
@media only screen and (max-width: 768px) {
  header.primary-header {
    position: relative;
    margin: 0.25rem 0.5rem;
    padding-top: 0rem;
  }
  .navbar-1 {
    position: absolute;
    z-index: 1011;
    right: 8px;
    top: 8px;
    width: auto;
    height: 40px;
    z-index: 99999999999;
  }
}

@media only screen and (max-width: 400px) {
  .header-logo-img img {
    height: 35px;
  }
  header.primary-header {
    position: relative;
    margin: 0.25rem 0.5rem;
    padding-top: 0rem;
  }
  .navbar-1 {
    position: absolute;
    z-index: 1011;
    right: 8px;
    top: 8px;
    width: auto;
    height: 40px;
    z-index: 99999999999;
  }
}
h2 {
  font-size: 2rem;
}

/*--------------*/
/*Buttons*/
/*--------------*/

.btn2 {
  background-color: hsl(var(--clr-accent) / 0.1);
  color: hsl(var(--clr-dark) / 0.9);
  padding: 0.5rem 1rem;
  border-radius: var(--br-small);
  display: inline-block;
  text-decoration: none;
}
.btn2:hover {
  background-color: hsl(var(--clr-accent) / 0.3);
}

.card {
  border: 1px solid hsl(var(--clr-accent) / 0.1);
  padding: 1rem;
  border-radius: var(--br-medium);
}
.card a {
  text-decoration: none;
  color: hsl(var(--clr-accent) / 1);
}
.card h4 {
  font-size: 1.5rem;
}

.modal-overlay,
.modal-overlay-footer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  display: grid;
  place-items: center;
  display: none;
  background-color: hsl(var(--clr-dark) / 0.3);
  z-index: 9999;
}
.modal-overlay.show-modal,
.modal-overlay-footer.show-modal {
  display: grid;
}
.modal {
  width: 95%;
  max-width: 400px;
  background-color: hsl(var(--clr-white) / 1);
  padding: 1rem;
  border-radius: var(--br-medium);
}
.modal div.wpforms-container-full {
  margin: 0;
}
.modal div.wpforms-container-full .wpforms-form .wpforms-head-container {
  padding: 0;
}
.modal .wpforms-title {
  text-align: center;
}
.modal .wpforms-container .wpforms-field {
  padding: 0.5rem;
}
.close-modal {
  cursor: pointer;
}
.modal-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 0.25rem;
}
.modal-title h4 {
  font-size: 1.25rem;
}
body.modal-open {
  overflow-y: hidden;
}

.forminator-row.forminator-row-last .forminator-field {
  display: flex;
  justify-content: center;
}

.postheader {
  text-align: center;
  margin-top: 1rem;
}
.post-wrapper .postheader {
	margin-bottom:1rem;
}
.post-wrapper p {
	margin: 0 .5rem 1rem;
}

@media (min-width: 20rem) and (max-width: 42rem) {
  .container {
    padding-inline: 0rem;
  }
  .products-wrapper {
    grid-template-columns: repeat(auto-fill, minmax(160px, 2fr));

    grid-template-rows: auto;
    gap: 0.5rem;
  }
  .product-img img {
    width: 100%;
  }
}
.font-900 {
  font-weight: 900;
}
.text-underline {
  box-shadow: inset 0 -0.55em 0 0 yellow;
}
.btn-header {
  cursor: pointer;
  border: 0;
  border-radius: 3px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  background-color: hsl(var(--clr-secondary));
  transition: background-color 0.4s ease;
  color: hsl(var(--clr-dark));
}
.btn-header:hover {
  color: hsl(var(--clr-dark));
  background-color: hsl(var(--clr-light));
}
.dropdown {
  gap: 1rem;
  width: 100%;
  display: flex;
  justify-content: space-around;
}

.phone-icon-header {
  border-radius: 6px;
  padding: 2px;
}
.phone-header-text {
  align-items: center;
}
.logo-and-phones {
  width: 100%;
  max-width: 1280px;
  margin: 5px auto;
  padding: 0 15px;
}

/* custom*/

.services .kt-inside-inner-col {
  padding: 1.5rem 1rem;
}
.services h3 {
  margin: 0rem;
  padding: 1rem;
  font-weight: bold;
  font-size: 1.5rem;
  background-color: hsl(var(--clr-dark) / 0.3);
}
.services p {
  margin: 0.75rem 1rem;
}
.services p a {
  color: hsl(var(--clr-light));

  text-decoration: none;
}
.services p a:hover {
  color: hsl(var(--clr-accent));
  text-decoration: none;
}

.page .kt-blocks-accordion-header {
  font-size: 0.75rem;
}
.max-width-1200 {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.white-text {
  color: #fff;
}
.white-text a {
  color: hsl(var(--clr-white) / 0.85);
}
.white-text a:hover {
  color: hsl(var(--clr-white) / 0.7);
}
/*  */

@media (max-width: 768px) {
  .header-top-bar {
    display: none;
  }
  .navbar-1 {
    border: 0;
    top: 15px;
  }
  .header-logo-img .wp-block-image img {
    height: auto;
    width: 100%;
    max-width: 300px;
  }
}
.breadcrumps {
  font-size: 0.75rem;
}
