/**
Theme Name: style-servis
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: style-servis
Template: astra
*/
@media (max-width: 921px) {
  .site-primary-footer-wrap {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .ast-builder-footer-grid-columns {
    display: flex;
    flex-direction: column;
  }

  .site-footer-primary-section-1 {
    margin-bottom: 40px !important;
  }
}
/* hide admin bar */



html:has(#wpadminbar) .admin-bar #page {
  min-height: 100vh;
}

html:has(#wpadminbar) {
  margin-top: 0 !important;
}

body {
  background-color: #E7E5DC;
}

* {
  word-wrap: normal;
}

h2 {
  text-transform: uppercase;
}

h3 {
  font-size: 32px !important;
}

h5 {
  text-wrap: nowrap !important;
}

.wp-block-button a {
  font-size: 16px !important;
}

ul {
  list-style: none;
}
.ast-builder-menu {
  position: relative;
}

@media (min-width: 920px) {
  .ast-builder-menu::after {
    content: "";
    position: absolute;
    bottom: 29px !important;
    left: 16px !important;
    width: 89% !important;
    height: 2px !important;
    background: #C4DFA0;
    border-radius: 10px !important;
  }
}

.ast-scroll-top-icon {
  background-color: #8FC749 !important;
  border: 0 !important;
  border-radius: 50px !important;
}
/* #morecontent {
	display: none;
} */

/* Inline menu */

.page-menu {
  display: flex;
  flex-wrap: wrap;
  column-gap: 32px;
  row-gap: 4px;
}

.page-menu .wp-block-pages-list__item__link,
.wp-block-pages-list__item {
  color: black !important;
}

.page-menu .current-menu-item,
.page-menu .current-menu-item .wp-block-pages-list__item__link {
  color: #8fc749 !important;
}

.wp-block-navigation__submenu-container {
  display: none;
}

.wp-block-pages-list__item__link {
  padding: 0 !important;
}

.current-menu-ancestor {
  display: flex !important;
  column-gap: 16px;
}

@media (max-width: 921px) {
  .current-menu-ancestor {
    flex-direction: column;
  }
}

/* Photo gallery dots */

.fg-paging-container.fg-light .fg-dot-item .fg-dot-link:focus:before,
.fg-paging-container.fg-light .fg-dot-item .fg-dot-link:hover:before,
.fg-paging-container.fg-light .fg-dot-item.fg-selected .fg-dot-link:before {
  background-color: #94ce48 !important;
  border-color: #94ce48 !important;
}
.contact-form,
.sbi_btn_text,
.sbi_follow_btn span,
.sbi_follow_btn svg {
  font-family: 'Montserrat';
  font-size: 16px !important;
  font-weight: 600 !important;
}

.sbi_follow_btn {
  margin-top: 12px;
}

#sb_instagram #sbi_load .sbi_follow_btn a {
  border-radius: 50px !important;
  padding: 10px 35px !important;
}

#sb_instagram #sbi_load .sbi_follow_btn a:hover {
  background: black !important;
  color: white !important;
}

@media (max-width: 678px) {
  #sb_instagram #sbi_load .sbi_follow_btn a {
    padding: 10px 15px !important;
  }
}
.number {
  background: white;
  width: 200px;
  position: relative;
  overflow: hidden;
  row-gap: 0 !important;
  display: inline-block;
  transition: all 0.5s ease-in-out;
}

.number-text img {
  position: relative;
  z-index: 0;
  transition: all ease-in-out 0.5s;
}

.main-number-text {
  display: flex;
  flex-grow: 1;
}

@media only screen and (max-width: 790px) {
  .main-number-text {
    min-height: 290px;
  }
}

@media only screen and (max-width: 975px) and (min-width: 791px) {
  .main-number-text {
    min-height: 260px;
  }
}

@media only screen and (max-width: 1299px) and (min-width: 1200px) {
  .main-number-text {
    min-height: 350px;
  }
}

@media only screen and (max-width: 1599px) and (min-width: 1300px) {
  .main-number-text {
    min-height: 300px;
  }
}

@media only screen and (min-width: 1600px) {
  .main-number-text {
    min-height: 260px;
  }
}
.wp-block-cover {
  padding: 0;
}

.my-button a:hover {
  color: white !important;
  background: black !important;
}

@media only screen and (max-width: 767px) {
  .swiper-button-prev,
  .swiper-button-next {
    position: absolute;
    top: 33%;
  }
}

.hero-btns {
  width: 100%;
  display: flex;
  justify-content: end;
  padding: 20px;
  position: relative;
  z-index: 1;
}

@media (max-width: 542px) {
  .hero-btns {
    flex-direction: column;
    align-items: end;
    padding-right: 20px !important;
  }
}

#hero {
  position: relative;
  z-index: 1;
}

.wp-block-cover__inner-container {
  width: 100% !important;
}
#kontakty {
  margin-top: 40px;
}

/* Contact form */

.contact-form {
  padding: 0 40px;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type=reset],
input[type=tel],
input[type=date],
select,
textarea {
  border: none;
  box-shadow: none;
}

form textarea {
  height: 100px;
  display: block;
  padding: 0 16px !important;
}

.text {
  flex-direction: column;
  text-align: left;
  align-items: baseline;
}

form p {
  display: flex;
  align-items: center;
}

form label {
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-bottom: 1px solid #8e8f8c30;
  width: 100%;
  font-size: 18px;
  padding: 16px 0 0 0;
  font-weight: 400;
}

label.form-message {
  align-items: flex-start !important;
  padding: 16px 0 0 16px !important;
  margin-top: 16px;
}

.wpcf7-list-item label {
  border-bottom: none;
  margin: 0.5rem 0 1.5rem 0;
}

form input {
  display: inline-block;
  width: auto;
}

input[type="submit"] {
  background: #8FC749;
  border-radius: 50px;
  margin: 16px 0;
}

.wpcf7-not-valid-tip {
  display: none;
}

.wpcf7 input.wpcf7-form-control:not([type=submit]):focus {
  border-color: #8FC749 !important;
}

.wpcf7-list-item {
  margin: 0 !important;
  border-bottom: none;
}

.wpcf7-list-item-label {
  white-space: normal;
  word-wrap: break-word;
}

.wpcf7 .wpcf7-not-valid-tip {
  color: #8FC749;
  margin-left: 12px;
}

.wpcf7 .wpcf7-response-output {
  border-color: #8FC749 !important;
  border-radius: 40px;
  margin-left: 0 !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  font-size: 16px;
  margin-bottom: 32px !important;
}

.form-message {
  background: #8e8f8c30;
  border-radius: 20px;
  padding-left: 10px;
  border-bottom: none;
}

.form-message textarea {
  background: #e7e7e730;
}

@media (max-width: 1200px) {
  .contact {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  .call {
    padding: 1rem 0 !important;
    margin: 0 !important;
  }

  p.call {
    font-size: 18px !important;
  }

  .astra-widget-address h2 {
    font-size: 18px !important;
  }

  form {
    margin-top: 0;
  }
}

@media only screen and (max-width: 1199px) and (min-width: 768px) {
  #kontakt .uagb-container-inner-blocks-wrap {
    align-items: baseline !important;
  }

  p.call {
    padding-top: 24% !important;
  }
}

/* Img part */

.contact-img .wp-block-uagb-image,
.contact-img .wp-block-uagb-image__figure {
  height: 100%;
  width: 100%;
  display: flex;
}

.contact-img .uagb-block-96e1ef0c.wp-block-uagb-image .wp-block-uagb-image__figure img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 765px) {
  .wp-block-separator {
    transform: rotate(90deg);
    transform-origin: center;
    width: 40% !important;
  }
}
.reference {
  width: 64% !important;
}

@media (max-width: 765px) {
  .reference {
    width: 90% !important;
  }
}

.reference button {
  box-shadow: none !important;
}

#reference .swiper-pagination-bullets {
  display: none;
}

#reference p {
  font-size: 18px !important;
}
.spoluprace-img-box .wp-block-cover {
  position: relative !important;
}

.spoluprace-img-box .wp-block-cover__background {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  opacity: 0 !important;
  background-color: #8fc749;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.spoluprace-img-box .wp-block-cover__inner-container {
  position: relative !important;
  z-index: 2 !important;
}

.spoluprace-img-box .wp-block-cover:hover .wp-block-cover__background {
  opacity: 0.7 !important;
}

.spoluprace-img {
  position: relative;
}

.spoluprace-img .has-background-dim:hover,
.projekty-img .has-background-dim:hover {
  opacity: 0.7 !important;
  transition: opacity 0.5s ease-in-out;
}

.spoluprace-text:hover {
  opacity: 1 !important;
  transition: opacity 0.5s ease-in-out;
}

.has-background-dim {
  transition: opacity 0.5s ease-in-out;
}

html {
	overflow-x: hidden;
}

a {
	font-family: 'Montserrat';
}

/*--------------------
  Homepage
--------------------*/
/* Hero */
.hero-btns::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.7), rgba(153, 153, 153, 0.7));
  border-radius: 0 0 20px 20px;
  z-index: -1;
  pointer-events: none;
}
/* @media only screen and (max-width: 540px) {
  .hero-btns::before {
    display: none;
  }
} */

/* O nas list */
li::after {
    width: 0 !important;
    display: none !important;
}

.o-nas-list {
    font-family: 'Montserrat' !important;
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.o-nas-list li {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.gradientCanvas {
    width: 100%;
    height: 4px;
    border-radius: 10px;
}

.mobile-list .gradientCanvas {
    width: 80% !important;
}

.o-nas-list .gradientCanvas {
    position: relative;
    left: -16px;
}

@media (max-width: 770px) {
    .o-nas-list .gradientCanvas,
    .spoluprace-list .gradientCanvas {
        width: 40% !important;
    }
}

@media (max-width: 900px) {
    .o-nas-list .gradientCanvas {
        left: 0;
    }
    .o-nas-list {
        gap: 24px;
    }
}

@media (min-width: 900px) {
    .o-nas-list .gradientCanvas {
        width: 85% !important;
    }
}

@media (min-width: 1000px) {
    .o-nas-list .gradientCanvas {
        width: 65% !important;
    }
}

@media (min-width: 1100px) {
    .o-nas-list {
        padding-left: 80px !important;
        padding-right: 80px !important;
    }

    .o-nas-list .gradientCanvas {
        width: 100% !important;
        position: relative !important;
        left: -20px;
    }
}

@media (max-width: 540px) {
    .o-nas-list .gradientCanvas,
    .spoluprace-list .gradientCanvas {
        width: 68% !important;
    }
}

/* Co nabizime cislo */
.number-text::before {
    content: "";
    display: block;
    background: white;
    width: 100%;
    height: 48px;
    position: absolute;
    bottom: 0;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.wp-block-uagb-container.number:hover .wp-block-image.number-text img {
    transform: scale(1.2);
    transition: all 0.5s ease-in-out;
}

.wp-block-uagb-container.number:hover .number-text::before {
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.wp-block-uagb-container.number:hover .number-text img {
    bottom: 10px;
    transition: all 0.5s ease-in-out;
}

/*  Spoluprace text */
.spoluprace-text::before {
    position: absolute;
    top: 5%;
    left: 4%;
    font-family: 'Montserrat', sans-serif;
    font-size: x-large;
    font-weight: 900;
}

.spoluprace-text-1::before {
    content: "1";
}

.spoluprace-text-2::before {
    content: "2";
}

.spoluprace-text-3::before {
    content: "3" !important;
}

.spoluprace-text-4::before {
    content: "4";
}

.spoluprace-text-5::before {
    content: "5";
}

/* Spoluprace list */
.spoluprace-list {
    list-style: none;
}

.spoluprace-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    font-family: 'Montserrat';
}

@media only screen and (max-width: 890px) and (min-width: 770px) {
    .spoluprace-list .gradientCanvas {
        width: 64% !important;
    }
}

@media only screen and (max-width: 972px) and (min-width: 891px) {
    .spoluprace-list .gradientCanvas {
        width: 50% !important;
    }
}

@media only screen and (max-width: 1100px) and (min-width: 977px) {
    .spoluprace-list .gradientCanvas {
        width: 100% !important;
    }
}

@media only screen and (min-width: 1101px) {
    .spoluprace-list .gradientCanvas {
        width: 80% !important;
    }
}

/* Mobile slider */
#proces-spoluprace-mobile .swiper-content {
    padding: 0 !important;
}

#proces-spoluprace-mobile .uagb-slider-container.uagb-block-0175db09 .swiper-pagination {
    bottom: -12px;
}

.spoluprace-text {
    font-size: 18px !important;
}

.spoluprace-slider-child {
    min-height: 440px;
}

/* Nase projekty */
.swiper {
    display: flex;
    align-items: center;
    overflow: hidden;
    justify-content: center;
}

.image-box {
    position: relative;
    height: 483px;
    flex: 0 0 auto;
    width: 6%;
    margin: 8px;
    transition: all 0.5s ease-in-out;
}

.image-box.active {
    width: 700px;
    height: 483px;
    margin-right: 15px;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

@media only screen and (max-width: 767px) {
    .swiper {
        flex-direction: column;
    }
	
	.image-box {
        min-height: 100% !important;
        height: 64px !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .image-box.active {
        height: 200px !important;
		margin: 8px 0;
    }
}

.image-box .text-overlay {
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease-in-out 0.3s,
        visibility 0s linear 0.3s,
        left 0.3s ease-in-out,
        padding 0.3s ease-in-out;
    position: absolute !important;
    padding: 0 20px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 1;
    bottom: 28px;
    left: 20px;
    cursor: pointer;
}

.image-box.active .text-overlay {
    opacity: 1;
    visibility: visible;
    transition:
        opacity 0.5s ease-in-out 0.3s,
        visibility 0s linear 0s,
        left 0.5s ease-in-out,
        padding 0.3s ease-in-out;
}

.image-box .text-overlay h4 {
    color: white;
    font-size: 32px;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
  
}

.image-box.active .text-overlay h4 {
    opacity: 1;
    visibility: visible;
    transition:
        opacity 0.3s ease-in-out 0.3s,
        visibility 0s linear 0s,
        font-size 0.3s ease-in-out,
        color 0.3s ease-in-out;
}

@media only screen and (max-width: 1000px) {
    .image-box .text-overlay {
        bottom: 8px;
        left: 12px;
        padding: 0;
    }

    .image-box .text-overlay h4 {
        font-size: 20px;
    }
}


/* Reference */
#reference .wp-block-button__link {
	color: black !important;
	background: transparent !important;
	font-family: 'slick' !important;
}

#moretext {
	display: none;
}

#showmoretext a {
    font-size: 32px !important;
}

#reference .swiper-button-prev,
#reference .swiper-button-next {
    background: none !important;
    height: 40px;
}

#reference .swiper-button-prev:after,
#reference .swiper-button-next:after {
    font-size: 28px;
}

/* Carousel partneri */
.partneri-carousel-right {
	direction: rtl;
}

.partneri-carousel-right img, .partneri-carousel-left img {
	margin: 0 20px;
}

/*--------------------
  Nase projekty
--------------------*/
.arrow-icon {
    position: absolute;
    right: 45px;
    bottom: 34px;
}

@media (max-width: 920px) {
    .arrow-icon {
        right: 14px;
        bottom: 0px;
    }
}

#showmore {
	margin-top: 24px;
}

.projekty-list p {
	font-family: 'Montserrat' !important;
}

/*--------------------
  Projekty
--------------------*/
.projekt-desc {
	color: #999999 !important;
    padding-right: 0;
    padding-left: 0;
    font-size: 16px !important;
}
