/* =================================================== COLORS =================================================== */
:root {
  --color-green: #217a37;
  --color-green-light: #31B24D;
  --color-green-light-super: #dcfce7;
  --color-black: #2e2e39;
  --color-grey: #b0b0b0;
  --color-grey-light: #f7f7f7;
  --color-blue: #368BC1;
  --color-gold: #FFC72C;
}

.color-white {
  color: #fff;
}

.color-green {
  color: var(--color-green) !important;
}

.color-green-light {
  color: var(--color-green-light) !important;
}

.color-grey {
  color: var(--color-grey) !important;
}

.bg-color-green {
  background-color: var(--color-green) !important;
}

.bg-color-green-light {
  background-color: var(--color-green-light) !important;
}

.bg-color-black {
  background-color: var(--color-black) !important;
}

.bg-color-grey {
  background-color: var(--color-grey) !important;
}

.bg-color-grey-light {
  background-color: var(--color-grey-light) !important;
}

.color-blue {
  color: var(--color-blue) !important;
}

.color-red {
  color: tomato;
}

.color-gold {
  color: var(--color-gold) !important;
}

/* =================================================== END OF - COLORS =================================================== */



/* =================================================== MAIN =================================================== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Arial";
  /*padding-top: 50px;*/
}


.top-area {
  background-image: url('/images/background.jpg');
  background-size: cover;
  background-repeat: no-repeat; 
  background-position: center center;
  height: 80px;
}

.logo-image {
  width: 5rem;
  height: 5rem;
}


@media (max-width: 800px) {
  .top-area {
    height: 40px;
  }

  .logo-image {
    width: 3rem;
    height: 3rem;
  }

}



.imp-ui-top-right {
  bottom: 50%;
}

@media (max-width: 990px) {
  .imp-ui-top-right {
    bottom: 20px;
    zoom: 70%;
  }
}



#gdpr p,
#gdpr ul,
#gdpr li {
  font-size: 1.1rem;
}
#gdpr h3 {
  padding-top: 30px;
  font-size: 1.5rem;
}

.not-active {
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  filter: grayscale(100%);
  opacity: 0.5;
}

.btn-green {
  background-color: none;
  color: var(--color-green-light);
  border: 1px solid;
  border-color: var(--color-green-light);
  border-radius: 2rem;
  padding: 10px 50px 10px 50px;
  font-size: 1.1rem;
}

.btn-green:hover {
  background-color: var(--color-green-light);
  color: #fff !important;
  text-decoration: none !important;
}

.btn-green-white {
  background-color: #fff;
}

section a,
section a:hover, 
section a:visited {
  color: var(--color-green-light) !important;
  text-decoration: none;
}

section a:hover {
  color: var(--color-green) !important;
  text-decoration: underline !important;
}


.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-top: 10px;
  padding-bottom: 20px;
}

.card-blog a .card-body-blog,
.card-blog a .card-body-blog:hover {
  text-decoration: none !important;
  color: #000;
}

.card-blog a .card-body-blog .card-title,
.card-blog a .card-body-blog .card-title:hover {
  text-decoration: none !important;
  color: var(--color-green-light) !important;
}

.card-hover {
  transition: all 0.2s ease;
  cursor: pointer;
}

.card-hover:hover {
  border: 1px solid var(--color-green-light);
  transform: scale(1.02);
  text-decoration: none !important;
}

.card-hover:hover a {
  text-decoration: none !important;
}

#map {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

#map iframe {
  width: 100%;
  height: 80vh;
  border: 0;
  margin: 0;
  padding: 0;
  user-select: none;
}

.hr-line {
  border: 0.5px solid var(--color-grey);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  line-height: 43px;
  text-align: center;
  background-color: var(--color-green);
  border-radius: 50%;
  display: none;
  cursor: pointer;
  z-index: 999;
}

.back-to-top:hover {
  background-color: var(--color-green-light);
}

.back-to-top i {
  color: white;
}

.btn-mam-zajem {
  border-radius: 10px;
  border: 1px solid;
  border-color: var(--color-green-light);
  padding: 2px 5px 2px 5px;
  font-size: 1rem;
  white-space: nowrap;
  background-color: var(--color-green-light);
  color: #fff !important;
}

.btn-mam-zajem:hover {
  background-color: #fff;
  color: var(--color-green-light) !important;
  border-color: #fff;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  font-size: 1.0rem;
}

.text-justify {
  text-align: justify;
}

.img-cover {
  object-fit: cover !important; 
}

.img-gallery {
  object-fit: cover !important; 
  transition: 1s ease;
  /*min-height: 200px !important;*/
  width: 100%;
  height: 100%;
  max-width: 20rem;
  max-height: 12rem;
}

.img-gallery:hover {
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
  transition: 0.5s ease;
}

.contact .php-email-form {
  box-shadow: 0 0 30px rgba(0,0,0, 0.1);
  padding: 30px;
  background: #fff;
}

@media (max-width: 640px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: red;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: var(--color-green);
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--color-green);
  border-top-color: #fff;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form .form-group {
  margin-bottom: 20px;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  padding: 10px 14px;
  border-radius: 0;
  box-shadow: none;
  font-size: 15px;
}

.contact .php-email-form input::focus,
.contact .php-email-form textarea::focus {
  background-color: var(--color-primary);
}
/* =================================================== END OF - MAIN =================================================== */


body {
  background-color: #fff;
  color: #222;
  transition: background 0.2s, color 0.2s;
}

header {
  background-color: #fff;
  color: #222;
  transition: background 0.2s, color 0.2s;
}

header,
.navbar-custom {
  box-shadow: 0 2px 8px rgba(60, 60, 60, 0.08);
  z-index: 1050;
  padding-bottom: 0;
  transition: background 0.3s;
}

.header-spacer { height: 176px; }
@media (max-width: 991.98px) { .header-spacer { height: 210px; } }
@media (max-width: 576px)   { .header-spacer { height: 235px; } }

.site-title {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-green);
  margin-left: 0.5rem;
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow:
    -1px -1px 0 white,
     1px -1px 0 white,
    -1px  1px 0 white,
     1px  1px 0 white;
}

@media (max-width: 980px) {
  .site-title {
    font-size: 1.6rem !important;
  }
}

@media (max-width: 850px) {
  .site-title {
    font-size: 1.4rem !important;
  }
}

@media (max-width: 760px) {
  .site-title {
    font-size: 1rem !important;
  }
}

@media (max-width: 600px) {
  .site-title {
    font-size: 0.6rem !important;
    text-shadow: none;
    color: #fff;
  }
}

/* Меню */
.menu-bg {
  background: var(--bs-navbar-bg) !important;
  transition: background 0.3s, border-color 0.3s;
}


.btn-group .menu-btn {
  background: var(--color-green);
  color: #fff;
  border: none;
  border-radius: 0;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  padding: 0.7rem 1.3rem;
  border-right: 0px solid #93d18c;
  font-size: 1.1rem;
}

.btn-group .menu-btn:last-child {
  border-right: none;
  /*
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  */
}

.btn-group .menu-btn:first-child {
  /*
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
  */
}

.btn-group .menu-btn:hover,
.btn-group .menu-btn.active {
  background: var(--color-green-light);
  color: #fff;
}

.btn-group .menu-btn:hover {
  cursor: pointer;
}


@media (max-width: 991.98px) {
  .btn-group {
    flex-direction: column !important;
    width: 100%;
  }
  .btn-group .menu-btn {
    width: 100%;
    text-align: left;
    border-right: none !important;
    border-bottom: 1px solid #93d18c;
    border-radius: 0 !important;
  }
  .btn-group .menu-btn:last-child {
    border-bottom: none;
    /*border-radius: 0 0 0.5rem 0.5rem !important;*/
  }
  .btn-group .menu-btn:first-child {
    /*border-radius: 0.5rem 0.5rem 0 0 !important;*/
  }
}
/* Тумблер темы */
.toggle-switch {
  position: relative;
  width: 54px;
  height: 28px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 1.2rem;
}
.toggle-switch input {
  display: none;
}
.switch-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 100px;
  background: #fff;
  border: 1.2px solid #dadada;
  box-shadow: 0 2px 10px #0001;
  transition: background .28s, border-color .28s;
  z-index: 1;
}
.toggle-switch input:checked + .switch-bg {
  background: #42434d;
  border-color: #fff;
}
.switch-thumb {
  position: absolute;
  top: 1.5px;
  left: 3px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px #0002;
  border: 1px solid #dcdcdc;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: left .38s cubic-bezier(.6,1.3,.5,1), background .33s, border-color .28s;
}
.toggle-switch input:checked ~ .switch-thumb {
  left: 28px;
  background: #101013;
  border-color: #fff;
  box-shadow: 0 2px 12px #0007;
  transition-delay: .07s, 0s, 0s;
}
.thumb-icon {
  font-size: 1.22em;
  color: #ffc700;
  transition: color .26s;
  pointer-events: none;
}
.toggle-switch input:checked ~ .switch-thumb .thumb-icon {
  color: #ffe57f;
  text-shadow: 0 1px 2px #0008;
}
.navbar-toggler { border-color: #217a37; }
.navbar-toggler:focus { box-shadow: 0 0 0 0.25rem rgba(33, 122, 55, 0.2); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(33,122,55,1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}





.footer-firma {
  font-size: 1.5rem;
  color: var(--color-green);
  padding-bottom: 20px;
}

.footer-social a,
.footer-social a:visited {
  text-decoration: none;
}

.footer-social .fab {
  transition: transform 0.5s ease;
}

.footer-social .fab:hover {
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}


.footer-links a,
.footer-links a:visited {
  text-decoration: none;
  color: #fff !important;
}

.footer-links a:hover {
  text-decoration: underline;
}









@media (max-width: 800px) {

  h1,h2,h3,h4,h5 {
    text-align: left !important;
    padding-bottom: 20px;
  }

  .img-gallery {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
  }

  .form-title {
    text-align: center !important;
    padding-bottom: 0px;
  }

  #kontakty {
    text-align: center;
  }

  #kontakty .mobile-center,
  #kontakty h4 {
    text-align: center !important;
  }

}