/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/


/*single projekt*/

.headline>span {
  display: inline;
  padding: .08em .2em;
  /* border-radius: .25em;  odstránené */
  color: #fff;
  background-image: linear-gradient(#635245, #635245);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  animation: headline-fill .9s ease-out forwards;
  animation-delay: .5s;
  will-change: background-size;
}

@keyframes headline-fill {
  from {
    background-size: 0% 100%;
  }

  to {
    background-size: 100% 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .headline>span {
    animation: none;
    background-size: 100% 100%;
  }
}

.projekt-popis {
  max-width: 488px;
  margin-bottom: 30px;
}

.projekt-info {
  display: flex;
  max-width: 488px;
}

.projekt-info-item {
  flex: 0 0 33.333%;
}

p.projekt-title {
  padding-bottom: 5px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  color: #635245;
  letter-spacing: 0.05em;
}

a.btn-back {
  display: inline-flex;
  margin-top: 50px;
  font-weight: 16px;
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  gap: 15px;
  align-items: center;
}

a.btn-back #arrow-back {
  width: 10px;
  height: auto;
  margin-top: -1px;
}

.single-gallery {
  --row: clamp(50px, 20vw, 120px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: var(--row);
  gap: 20px;
  grid-auto-flow: row;
  margin-top: 50px;
}

.single-gallery .gallery-item {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.2);
  display: block;
}

.single-gallery .gallery-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.single-gallery>*:nth-child(5n + 1) {
  grid-column: 1;
  grid-row: span 2;
}

.single-gallery>*:nth-child(5n + 2) {
  grid-column: 2;
  grid-row: span 5;
}

.single-gallery>*:nth-child(5n + 3) {
  grid-column: 3;
  grid-row: span 3;
}

.single-gallery>*:nth-child(5n + 4) {
  grid-column: 1;
  grid-row: span 3;
}

.single-gallery>*:nth-child(5n) {
  grid-column: 3;
  grid-row: span 2;
}

@media (max-width: 640px) {
  .single-gallery {
    grid-template-columns: repeat(2, 1fr);
    --row: clamp(40px, 14vw, 80px);
    gap: 10px;
  }

  .single-gallery>* {
    grid-column: auto;
    grid-row: auto;
  }

  .single-gallery>*:nth-child(4n + 1) {
    grid-column: 1;
    grid-row: span 2;
  }

  .single-gallery>*:nth-child(4n + 2) {
    grid-column: 2;
    grid-row: span 3;
  }

  .single-gallery>*:nth-child(4n + 3) {
    grid-column: 1;
    grid-row: span 3;
  }

  .single-gallery>*:nth-child(4n) {
    grid-column: 2;
    grid-row: span 2;
  }
}

.project-navigation {
  margin-top: 60px;
  padding-bottom: 40px;
  display: flex;
}

.project-nav__item.project-nav__prev {
  flex: 0 0 40%;
}

.project-nav__item.project-nav__next {
  flex: 0 0 40%;
  text-align: right;
}

.project-nav__item.project-nav__all {
  flex: 0 0 20%;
  text-align: center;
}

.project-nav__item.project-nav__all a {
  display: flex;
  justify-content: center;
}

/*PROJEKTY grid*/
.wpb_row.project-all {
  padding-top: 30px;
  padding-left: 50px;
  padding-right: 50px;
}

.categories-filter ul {
  margin: 30px 0 40px 0;
  display: flex;
  gap: 30px;
}

.categories-filter ul li {
  list-style: none;
}

.categories-filter ul li a {
  text-transform: uppercase;
  position: relative;
  font-size: 16px;
  font-weight: 600;
  color: #635245;
}

.categories-filter ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  background: #635245;
  left: 0;
  bottom: -3px;
  transition: all 0.3s ease;
}

.categories-filter ul li.active a:after,
.categories-filter ul li a:hover:after {
  width: 100%;
}

.projekty-grid {
  display: flex;
  flex-wrap: wrap;
  margin-right: -10px;
  margin-left: -10px;
}

.projekt-item {
  flex: 0 0 33.333%;
  padding: 10px;
  margin-bottom: 30px;
  text-decoration: none !important;
  color: #635245 !important;
}

.projekt-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 15px;
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.1);
}

.projekt-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.projekt-item h3.projekt-title {
  color: #635245;
  font-size: 18px;
  line-height: 1.2;
}

.projekt-meta {
  display: flex;
  gap: 18px;
  font-size: 14px;
  line-height: 1.2;
}

.projekt-meta>* {
  position: relative;
}

.projekt-meta>*:not(:last-child):after {
  content: '|';
  position: absolute;
  right: -10px;
  top: -1px;
}


/*FOOTER*/
body[data-form-style="minimal"] .container-wrap .span_12.light input[type="text"],
body[data-form-style="minimal"] .container-wrap .span_12.light input[type="email"],
body[data-form-style="minimal"] .container-wrap .span_12.light textarea {
  border-color: #82756a;
  border-width: 1px;
  background: transparent;
  height: 50px;
  padding-left: 0;
}

body[data-form-style="minimal"] .container-wrap .span_12.light textarea {
  height: 90px;
}

body[data-form-style="minimal"] .container-wrap .span_12.light input[type="text"]::placeholder,
body[data-form-style="minimal"] .container-wrap .span_12.light input[type="email"]::placeholder,
body[data-form-style="minimal"] .container-wrap .span_12.light textarea::placeholder {
  color: #fff;
  opacity: 0.85;
}

.material .wpcf7-form .nectar-wpcf7-inline-form {
  padding: 0 0 20px 0;
}

.wpcf7-form .nectar-wpcf7-inline-form .nectar-wpcf7-inline-field {
  padding-right: 20px;
}


.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  outline: none;
}

span.wpcf7-form-control.wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

span.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item {
  flex: 0 0 30%;
}

.wpcf7 input[type="checkbox"] {
  padding: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
  -webkit-appearance: none;
  width: 0px !important;
}

span.wpcf7-list-item label {
  display: flex;
  opacity: 1;
}

.wpcf7-list-item {
  margin: 0;
}

span.wpcf7-list-item-label {
  position: relative;
  padding-left: 40px;
  font-size: 13px;
  line-height: 1.1;
  color: #fff !important;
  cursor: pointer;
  text-transform: none;
  text-align: left;
  margin-left: -5px;
  margin-top: 10px;
  font-weight: 300;
}

span.wpcf7-list-item-label a {
  text-decoration: underline;
  color: #fff;
}

span.wpcf7-list-item-label:before {
  content: '';
  width: 25px;
  height: 25px;
  position: absolute;
  border: 1px solid rgb(255 255 255 / 20%);
  background: transparent;
  display: block;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

span.wpcf7-list-item-label:after {
  content: '';
  width: 25px;
  height: 25px;
  position: absolute;
  border: 1px solid #fff;
  display: block;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.2s ease;
  background-image: url(/wp-content/uploads/2025/10/icon-check-1.svg);
  background-size: 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;
  opacity: 0;
}

input[type="checkbox"]:checked+span.wpcf7-list-item-label:after {
  transform: translateY(-50%);
  opacity: 1;
}

span.wpcf7-not-valid-tip {
  top: auto !important;
  padding: 0 !important;
  background: transparent;
  box-shadow: none !important;
  color: #ff4e4e !important;
  font-size: 12px;
  bottom: 0px !important;
  position: absolute;
  left: auto;
  right: 0px;
  height: auto;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  background: #ff4e4e;
  border-color: #ff4e4e;
  color: #fff !important;
  font-size: 18px;
  line-height: 1.5;
  padding: 15px;
  border-radius: 0px;
}

.wpcf7 form.sent .wpcf7-response-output {
  color: #fff;
}

.gdpr span.wpcf7-not-valid-tip {
  top: auto !important;
  position: relative;
}

.nectar-wpcf7-inline-form.gdpr {
  justify-content: space-between;
  display: flex;
}

.nectar-wpcf7-inline-field.btn {
  text-align: right;
}

body[data-form-submit=regular] .container-wrap button[type=submit] {
  width: 200px;
  flex: 0 0 200px;
  margin-left: auto;
  margin-right: 0;
  font-size: 14px;
  color: #635245 !important;
  background: #fff;
  padding-top: 15px !important;
  padding-bottom: 15px !important;
  margin-bottom: 0;
}

body[data-form-submit=regular] .container-wrap button[type=submit]:hover {
  color: #635245 !important;
  background: #fff !important;
}

.nectar_icon_wrap[data-style="border-basic"] .nectar_icon {
  border-radius: 0;
}

.gdpr .vc_col-sm-12>.vc_column-inner>.wpb_wrapper {
  display: flex;
  gap: 25px;
  min-width: 250px;
  justify-content: center;
}

.span_12.light .gdpr .nectar-link-underline-effect a,
.web421 a {
  background-image: linear-gradient(to right, rgb(255 255 255 / 50%) 0, rgb(255 255 255 / 50%) 100%) !important;
}

.copyright-block>.vc_column-inner>.wpb_wrapper {
  display: flex;
  justify-content: center;
}

.nectar-responsive-text.copyright {
  margin-left: 0;
  margin-right: auto;
  margin-bottom: 0;
}

.nectar-responsive-text.web421 {
  margin-left: auto;
  margin-right: 0;
  margin-bottom: 0;
}

.gdpr,
.copyright-block .nectar-responsive-text {
  margin-bottom: 0 !important;
}

body[data-button-style] #header-outer .slide-out-widget-area-toggle[data-custom-color="true"] a:before {
    border-radius: 0px !important;
}

#header-outer #top .slide-out-widget-area-toggle a .lines-button:after {
    display: none;
}

li.menu-social.menu-item {
    position: relative;
}

li.menu-social.menu-item:before {
    content: '';
    width: 1px;
    height: 37px;
    position: absolute;
    top: 50%;
    left: 0;
    background: rgb(99 82 69 / 25%);
    transform: translateY(-50%);
}

@media (min-width: 1920px) {
:not(#projects-selected).projekty-grid .projekt-item {
    flex: 0 0 25%;
}
}

@media (min-width: 2800px) {
:not(#projects-selected).projekty-grid .projekt-item {
    flex: 0 0 20%;
}
}

@media (max-width: 1000px) and (min-width: 768px) {
.projekty-grid .projekt-item {
    flex: 0 0 50%;
}
}

@media (max-width: 767px) {
  .projekt-item {
    flex: 0 0 100%;
}
}

@media (max-width: 1000px) {
#projects-selected .projekt-item {
    margin-bottom: 0px;
}

#projects-selected {
    margin-bottom: 70px;
}

.projekt-item h3.projekt-title {
  font-size: 15px;
}

.material .wpcf7-form .nectar-wpcf7-inline-form {
    padding: 0;
    flex-direction: column;
}

.wpcf7-form .nectar-wpcf7-inline-form .nectar-wpcf7-inline-field {
    padding-right: 0px;
    padding-bottom: 20px;
}

.nectar-wpcf7-inline-field.btn {
    text-align: left;
    padding-left: 0;
}

.copyright-block>.vc_column-inner>.wpb_wrapper {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.gdpr .vc_col-sm-12>.vc_column-inner>.wpb_wrapper {
    width: 100%;
    justify-content: flex-start;
}

.nectar-responsive-text.web421 {
    margin-left: 0;
    margin-right: auto;
}

li.menu-social.menu-item:before {
    display: none;
    margin-right: 20px;
}

li.menu-social.menu-item {
    margin-right: 15px;
}

.wpb_row.project-all {
  padding-left: 20px;
  padding-right: 20px;
}

.categories-filter ul li a {
  font-size: 12px;
}

.categories-filter ul {
  margin: 30px 0 20px 0;
  gap: 12px;
}

.projekt-item {
  margin-bottom: 20px;
}

.project-top .row_col_wrap_12.col.span_12.left .vc_col-sm-6 .vc_column-inner {
    display: flex;
    flex-direction: column-reverse;
}

a.btn-back {
  margin-top: -20px;
  margin-bottom: 30px;
  font-size: 14px;
}

.project-navigation {
    margin-top: 40px;
    padding-bottom: 0px;
}

.project-nav__item.project-nav__prev,
.project-nav__item.project-nav__next {
    font-size: 13px;
    line-height: 1.2;
}
}