/*
Theme Name: Protecheknet
Version: 1.0
Tags: clean, development, html5, bootstrap
Description: Clean wordpress theme with minimal bootstrap3 markup for fast development starting

*/
/**/
section:not(.p-reviews) ul:not(.crumbs) {
  /*margin-left:40px;*/
  margin-bottom: 20px;
}

h2 {
  margin-top: 30px;
  margin-bottom: 20px;
}

.about-info p {
  color: #2f2f2f;
  line-height: 1.6;
  margin-bottom: 20px;
}

.pagination .current {
  width: 35px;
  height: 35px;
  border-radius: 3px;
  background-color: #439bf4;
  font-size: 14px;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.pagination .prev {
  background: #f1f1f1 url(img/pagination-arrow-prev.png) no-repeat center;
}

.pagination .next {
  background: #f1f1f1 url(img/pagination-arrow-next.png) no-repeat center;
}

.crumbs>span>span {
  padding-left: 6px;
  padding-right: 6px;
}

.crumbs>span>span:first-child {
  padding-left: 0;
}

.crumbs .breadcrumb_last {
  display: inline-block;
  color: #b3b3b3;
}

.crumbs .breadcrumb_last {
  padding-right: 0;
}

.examples-tabs-inner-nav-item {
  color: #2f2f2f;
}

.articles-search .articles-item {
  flex-direction: column;
  padding: 20px;
}

.articles-search .articles-item-btn {
  padding: 10px;
}

.mfp-content .wpcf7-form-control-wrap:not(:last-of-type) {
  display: block;
  margin-bottom: 10px;
}

.wpcf7-response-output {
  display: none;
}

.wpcf7-not-valid {
  border: 3px solid red;
  background-color: #ffe4e4;
}

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

#thanks .request-success,
#thanks-review .request-success {
  opacity: 1;
  z-index: 1;
  min-height: 250px;
}

.contacts-form-inputs .wpcf7-form-control-wrap input {
  width: 100%;
}

.contacts-form-inputs .wpcf7-form-control-wrap {
  width: 32%;
}

@media only screen and (max-width: 767px) {
  .about-info p {
    font-size: 15px;
  }

  .crumbs>span>span {
    padding-left: 3px;
    padding-right: 3px;
  }

  .breadcrumb_last {
    font-size: 12px;
  }

  .contacts-form-inputs .wpcf7-form-control-wrap {
    width: 48%;
  }
}

.wpcf7-not-valid-tip {
  font-weight: normal;
  display: block;
  position: absolute;
  background: red;
  color: #fff;
  margin-top: 0.5em;
  padding: 4px 10px;
  font-size: 14px;
  border-radius: 100px;
  z-index: 20;
}

.wpcf7-not-valid-tip::before {
  content: '';
  display: block;
  position: absolute;
  border-top: 4px solid transparent;
  border-left: 4px solid transparent;
  border-bottom: 4px solid red;
  border-right: 4px solid transparent;
  top: -8px;
  left: 20px;
}

@media only screen and (max-width: 479px) {

  .pagination li:nth-last-child(2),
  .pagination .dots {
    display: none;
  }

  .contacts-form-inputs .wpcf7-form-control-wrap {
    width: 100%;
  }
}

.article .c-container p,
.article .c-container li {
  line-height: 1.6;
  margin-bottom: 10px;
}

.article .c-container h2 {
  line-height: 1.6;
  margin-bottom: 25px;
  margin-top: 50px;
}

.article .c-container .alignleft {
  float: left;
  margin: 10px 10px 10px 0px;
  padding: 4px;
  display: inline;
}

.article .c-container .alignright {
  float: left;
  margin: 10px 0px 10px 10px;
  padding: 4px;
  display: inline;
}

.article .c-container blockquote {
  background-color: #f0f0f0;
  border: 1px dashed #999;
  padding: 20px;
  margin: 30px 0;
}

#scroll_top {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  width: 32px;
  height: 32px;
  background: url(img/scroll_top.png) 50% 50% no-repeat;
  border-radius: 50%;
  opacity: 0.5;
}

#scroll_top:hover {
  opacity: 1;
}

.article .article-info-wrapper a,
.service-category-top a,
.article-text a,
.wp-block-verse a {
  color: #0e5eb1;
  font-weight: 600;
  text-decoration: underline;
}

.text {
  margin: 50px 0;
}

.text p {
  margin: 10px 0;
}

/*rating*/
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.radio-input {
  position: fixed;
  opacity: 0;
  pointer-events: none;

  -webkit-appearance: auto;
  -moz-appearance: auto;
  appearance: auto;

}

.radio-label {
  cursor: pointer;
  font-size: 0;
  color: rgba(0, 0, 0, 0.2);
  transition: color 0.1s ease-in-out;
}

.radio-label:before {
  content: "★";
  display: inline-block;
  font-size: 32px;
  line-height: 1;
}

.radio-input:checked~.radio-label {
  color: #ffbc00;
}

.radio-label:hover,
.radio-label:hover~.radio-label {
  color: #ffbc00;
}

.radio-input:checked+.radio-label:hover,
.radio-input:checked+.radio-label:hover~.radio-label,
.radio-input:checked~.radio-label:hover,
.radio-input:checked~.radio-label:hover~.radio-label,
.radio-label:hover~.radio-input:checked~.radio-label {
  color: #ffbc00;
}


.average-rating {
  position: relative;
  appearance: none;
  color: transparent;
  width: auto;
  display: inline-block;
  vertical-align: baseline;
  font-size: 25px;
}

.average-rating::before {
  --percent: calc(4.3/5*100%);
  content: '★★★★★';
  position: absolute;
  top: 0;
  left: 0;
  color: rgba(0, 0, 0, 0.2);
  background: linear-gradient(90deg, gold var(--percent), rgba(0, 0, 0, 0.2) var(--percent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.reviews-form-select {
  width: 100%;
  height: 80px;
  text-align: left;
  border: 1px solid #D9D9D9;
  background-color: #fff;
  font: 20px 'Gilroy', sans-serif;
  padding: 0 20px;
  color: #000;
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
  margin-bottom: 30px;
  background: url(img/arrow-down-sign-to-navigate.png) no-repeat right 20px center #fff;
}

.reviews-form-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  gap: 10px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  margin-bottom: 30px;
}

.reviews-form-info p {
  font: 20px 'Gilroy', sans-serif;
}

option.parent {
  font-weight: bold;
}

#reviewsmodal .reviews-form {
  margin-top: 0;
  width: 100%;
}

#reviewsmodal .reviews-form-input {
  width: 100%;
  height: 50px;
  margin-bottom: 20px;
}

#reviewsmodal .reviews-form-info {
  width: 100%;
  margin-bottom: 20px;
}

#reviewsmodal .reviews-form-select {
  display: none;
}

#reviewsmodal .reviews-form-textarea {
  max-height: 120px;
}

@media only screen and (max-width: 1023px) {
  .reviews-form-select {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .reviews-form-info {
    margin-bottom: 20px;
  }

  .reviews-form-info p {
    font-size: 16px;
  }
}

@media only screen and (max-width: 767px) {
  .reviews-form-select {
    height: 50px;
  }
}

@media only screen and (max-width: 400px) {

  .reviews-form-select,
  .reviews-form-info p {
    font-size: 14px;
  }
}

textarea[required],
input[required]:not(.header-search-input),
.tel {
  background: #f4f4f4 url('/wp-content/themes/protecheknet/img/req.svg') no-repeat calc(100% - 10px) 10px
}

.required-input::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: url('/wp-content/themes/protecheknet/img/req.svg') no-repeat center;
  margin-left: 10px;
}

.service-info ul,
.service-info ol,
.service-category ul:not(.crumbs),
.service-category ol:not(.crumbs) {
  margin: 20px 0px;
  list-style-position: inside;
}

.service-info li,
.service-category li:not(.crumbs) {
  margin-bottom: 10px;
}

.reviews-item-service a {
  color: #23588e;
}
