/* правки fancybox видео */
.dc-modal-video .fancybox__content {background:#000;}
@media only screen and (max-width: 768px) {
	.dc-modal-video.is-compact .fancybox__content>.f-button.is-close-btn {top:-35px;}
}

/* Согласие */
.permit {display:flex;font-size:11px;text-align:left;margin:10px 0;white-space: wrap;gap:5px;color:inherit;}
.permit a {text-decoration:underline;color:inherit;}
.permit a:hover {text-decoration:none;}
.permit .textPolit span {text-decoration:underline;color: inherit;}
.permit .textPolit span:hover {text-decoration:none;cursor:pointer;}
.custom-checkbox {}
.custom-checkbox input {display: none;}
.custom-checkbox label {display: flex;align-items: center;gap: 8px;cursor: pointer;font-size: 16px;user-select: none;}
.custom-checkbox .checkmark {width: 20px;height: 20px;border: 2px solid #3498db;border-radius: 5px;display: flex;align-items: center;justify-content: center;transition: all 0.3s ease;background-color: white;box-sizing:border-box;position:relative;}
.custom-checkbox .checkmark::after {content: '';position:absolute;border-style:solid;border-width:0 2px 2px 0;top:2px;left:5px;transform:rotate(45deg);width:6px;height:10px;	border-color: #3498db;box-sizing:border-box;}
.custom-checkbox input:checked + .checkmark {}
.custom-checkbox input:checked + .checkmark::after {display: block;}
.custom-checkbox input:not(:checked) + .checkmark {border-color:#fb3b3b;animation:iDisagreeChb 1.5s linear infinite;}
.custom-checkbox input:not(:checked) + .checkmark::after {display: none;}
.permit:has(input:not(:checked)) a,
.permit:has(input:not(:checked)) .text span {color: red;border-color:red;}
.button.not-active,button.not-active,form.not-active .button,form.not-active button,.orderSubmit.not-active,.orderSubmit2.not-active {filter:grayscale(1);opacity:.8;pointer-events:none;transition:.2s;}
form:has(.permit input:not(:checked)) button,form:has(.permit input:not(:checked)) .button,form:has(.permit input:not(:checked)) .orderSubmit,form:has(.permit input:not(:checked)) .orderSubmit2{filter:grayscale(1);opacity:.8;pointer-events:none;transition:.2s;}
h1:has(+ .the_content){margin-bottom:30px;}

.mainPage2024Form .permit{order:2;width:100%;align-items:center;}
.workPreview2024Form .permit{order:2;width:100%;align-items:center;}
.openformType3_2024 .permit{order:2;width:100%;align-items:center;}
.twoCatalogOpenForms2024 .permit{order:2;width:100%;align-items:center;}
#plshk_modal.modal .form form{flex-wrap:wrap;}
#plshk_modal .permit{order:2;width:100%;align-items:center;justify-content:center;}
#modal_price_pdf .permit{order:2;width:100%;align-items:center;color:#fff;}
#section2_contacts .permit{width:304px;max-width:100%;margin-left:auto;margin-right:auto;font-size:10px;}

.section_kviz .form_kviz .permit,.section_calc .permit,.section_mistake .permit,.section_tables .permit,.ourWorkDesignProjectImg .permit{font-size:10px;}


@media (min-width:1001px) and (max-width:1630px) {
.workPreview2024Form1 .workPreview2024FormTitle{width:652px;}
}
@media (min-width:1366px) and (max-width:1400px) {
.wrapper .excursion2024Video{width:843px;}
.works2024 .wrap2024 .our_works_links{width:1175px;margin:auto;}
}
@media (max-width:1200px) {
.twoCatalogOpenForms2024 .formBox form{display:block;}
.twoCatalogOpenForms2024 .permit{width:300px;max-width:100%;font-size:10px;}
}
@media (max-width:1000px) {
.workPreview2024Form .permit{width:305px;margin-left:auto;margin-right:auto;font-size:10px;}
.excursion2024Form .permit{font-size:9px;}
.works2024 .wrap2024 .our_works_link{margin:auto;margin-bottom:20px;}
.works2024 .wrap2024 .our_works_link:last-child{margin-bottom:0;}
}
@media (max-width:768px) {
form:has(.permit input:not(:checked)) .orderSubmit.mobileSubmit{opacity:0;pointer-events:none;}
form:has(.permit input:checked) .orderSubmit.mobileSubmit.visible{opacity:1;pointer-events:all;}
.works2024 .wrap2024 .our_works_link{margin:0;}
.section_mistake .permit{width:304px;margin-left:auto;margin-right:auto;max-width:100%;}
#plshk_modal .permit{width:304px;margin-left:auto;margin-right:auto;max-width:100%;font-size:10px;}
#plshk_modal.modal{padding-left:20px;padding-right:20px;}
#plshk_modal.modal .bottom{margin-left:auto;margin-right:auto;max-width:100%;}
}
@media (max-width:767px) {
#modal_price_pdf .formBox form{display:block;}
#modal_price_pdf .permit{font-size:9px;}
.kalc_modal_mobile_form .permit{font-size:9px;}
.twoCatalogOpenForms2024 .permit{width:100%;font-size:2.9vw;align-items:flex-start;position:relative;gap:.7vw;}
.twoCatalogOpenForms2024 .custom-checkbox .checkmark{width:5vw;height:5vw;border-width:.2vw;margin-top:.15vw;border-radius:.9vw;}
.twoCatalogOpenForms2024 .custom-checkbox .checkmark::after{font-size:3vw;}
.twoCatalogOpenForms2024 .box:nth-of-type(2) .permit{margin-top:3vw;color:#fff;}
.mainPage2024Form .permit{font-size:10px;}
#modal_zayavka .permit{width:305px;max-width:100%;margin-left:auto;margin-right:auto;font-size:10px;}
.openformType3_2024 .permit{width:310px;max-width:100%;font-size:10px;}
#section2_contacts .permit{width:304px;max-width:100%;margin-left:auto;margin-right:auto;font-size:10px;}
.section_calc .permit{width:304px;max-width:100%;margin-left:auto;margin-right:auto;font-size:10px;}
.openform .permit{width:304px;max-width:100%;margin-left:auto;margin-right:auto;font-size:10px;}
}

@keyframes iDisagreeChb{
0%{border-color:#222;box-shadow: rgba(255, 60, 60, 0.7) -1.95px -1.95px 2.6px;}
25%{box-shadow: rgba(255, 60, 60, 0.7) 1.95px -1.95px 2.6px;}
50%{border-color:#fb3b3b;box-shadow: rgba(255, 60, 60, 0.7) 1.95px 1.95px 2.6px;}
75%{box-shadow: rgba(255, 60, 60, 0.7) -1.95px 1.95px 2.6px;}
100%{border-color:#222;box-shadow: rgba(255, 60, 60, 0.7) -1.95px -1.95px 2.6px;}
}


/* Окно с cookie */
#cookie_notification{display:flex;opacity:0;justify-content:space-between;position:fixed;bottom:0;left:50%;width:800px;max-width:95%;transform:translateX(-50%) translatey(100%);padding:.7vw 1vw;background-color:#fff;border-radius:10px;box-shadow:2px 3px 10px #0006;z-index:10;transition:.4s;align-items:center}
#cookie_notification.show{opacity:.95;bottom:15px;transform:translateX(-50%) translatey(0);z-index:60}
#cookie_notification p{margin:5px 0 0;text-align:left;line-height:1.5;font-size:14px}
#cookie_notification p a{text-decoration:underline;color:#b5860a}
#cookie_notification .btn-primary{font-size:16px;max-width:100%;padding:.5vw 1vw;transition:all .2s ease;white-space:normal;color:#000;border:1px solid #c70000;background:#fff;cursor:pointer;border-radius:15px;height:45px}
@media (max-width: 1400px) {
#cookie_notification{width:770px}
}
@media (max-width: 980px) {
#cookie_notification{width:100%;padding:1vw 2vw;align-items:center;margin-bottom:3rem}
#cookie_notification p{font-size:3vw;width:75%}
#cookie_notification .btn-primary{width:20%;height:auto;padding:3vw 0;font-size:3vw}
}
@media (max-width:768px) {
#cookie_notification.show{bottom:40px}
}

.page-template-default .the_content ul li {
  list-style: disc;
  margin-left: 15px;
  margin-bottom: 10px;
}
.page-template-default .the_content ol li {
  list-style: decimal;
  margin-left: 15px;
  margin-bottom: 10px;
}
.page-template-default .the_content ul {
  margin-top: 10px;
}

.form_type_s {
  justify-content: space-around;
}
#cookie_notification {
  z-index: 40;
}
#cookie_notification .btn-primary {
  background: #e9d091;
  border: 1px solid #e9d091;
}
#cookie_notification p {
  line-height: 1.3;
  margin-top: 0;
  font-weight: 400;
}
@media (max-width: 768px) {
    #cookie_notification p {
      line-height: 1;
      font-size: 12px;
      word-spacing: -1px;
      width: 132%;
      margin-top: 5px;
    }
    #cookie_notification .btn-primary {
      font-size: 14px;
    }
    #cookie_notification {
      padding: 0.8vw 3vw 2vw;
    }
    #cookie_notification .btn-primary {
      line-height: 0.5;
      width: 23%;
      padding: 3.5vw 0;
      border-radius: 10px;
    }
    header.fixed .center_bottom {
    margin-top: 0px;
  }
}