/*
Theme Name: Template theme
Version: 1.0.0
*/
@media only screen and (max-width : 768px) {
body{
	min-width: 100%;
	min-width: 300px;
}
body.fixed{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
}

  header .menu.open {
    background: none;
    display: block;
    width: 100%;
    margin: 0 auto;
    padding-top: 0;
    top: 40px;
    top: 0;
    position: relative;
    padding: 0;
  }
  header .menu.open ul {
    padding-top: 0;
    width: 100%;
    text-align: left;
  }
  header .menu.open li {
    line-height: 1.9;
    margin: 0;
    font-weight: 400;
    border-bottom: 1px solid #ddd;
  }
  header .menu.open li:last-child {
    border-bottom: none;
  }
  header .menu.open li a {
    color: #000;
    padding: 15px 10px;
	white-space: normal;
    text-decoration: none;
  }
  header .menu.open li.menu-item-has-children {
    background: #f6f6f7;
    padding-bottom: 0;
  }
  header .menu.open li.menu-item-has-children a {
   font-weight: 600;
  }
  header .menu.open li.menu-item-has-children:before {
    content: url("img/arrow-down2.png");
    margin-left: 5px;
    position: absolute;
    right: 15px;
  }
  header .menu.open li.menu-item-has-children > .sub-menu {
    position: relative;
    top: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
    padding: 0;
/* 	margin-left: -10px;
    margin-right: -10px;
    width: 100vw; */
  }
  header .menu.open li.menu-item-has-children > .sub-menu a {
    font-weight: 400;
	white-space: normal;
	display: inline-block;
  }
  header .menu.open li.menu-item-has-children > .sub-menu li {
    background: #fff;
	padding: 0px;
    padding-left: 10px;
    font-size: 16px;
  }
  header .menu.open li.menu-item-has-children.hover > .sub-menu {
    display: block;
    position: relative;
    top: 0;
  }
  header .menu.open li.current-menu-item > a {
    color: #1182ef;
  }
  header .menu_min.open {
    position: fixed;
    z-index: 110;
    right: 10px;
    top: 4px;
    background-color: #fff;
  }
  header.openmenu {
    padding: 0;
  }
  header.openmenu .logo {
    opacity: 0;
  }
  header.openmenu .wrapper {
    width: 100%;
    height: 100vh;
    position: relative;
  }
  header.openmenu .left {
    display: none;
  }
  header.openmenu .wrap_flex.wrap_header {
    display: block;
    overflow: scroll;
    position: relative;
    height: 100%;
    padding: 0;
    padding-top: 0px;
    padding-bottom: 0px;
  }
  header.openmenu .right {
    position: relative;
    bottom: auto;
  }
  header.openmenu .right .phone a {
    font-size: 22px;
    color: #000;
  }
}
/* Квиз */
.section_kviz .subh2 {
  height: 90px;
}
@media screen and (max-width: 1400px) {
    .section_kviz .subh2 {
      height: 83px;
    }
    .section_kviz .people {
      left: -186px;
      height: 77%;
      bottom: 0px;
    }
    .section_kviz .form_kviz:before {
        top: -76px;
    }
}
@media screen and (max-width: 1200px) {
    .section_kviz .subh2 {
      height: 84px;
    }
    .section_kviz .form_kviz:before {
        height: 411px;
    }

}
.home .type_skv.vkl-podsv {
    background: #FFE797;
}
.home .type_skv.vkl-podsv h3 {
    color: #fff;
}
.home .type_skv.vkl-podsv h3::before {
    background: #00ABEB;
}
.section4_1 .vryad li:nth-child(1),
.section4_1 .vryad li:nth-child(2n) {
    transform: none;
}
.section4_1 .vryad {
  justify-content: space-around;
}
#block2 .left .type_skv.type_skv_gray {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: gray;
}


.template_page .section_content .left {
    flex: 0 0 auto;
}
.template_page .section3 .fotomen {
  width: 730px;
}
.section_content .table_of_contents{
	max-width: 350px;
}
@media only screen and (max-width: 1400px){
	.template_page .section3 .fotomen {
	  width: 580px;
	}
	.section_content .table_of_contents {
		max-width: 320px;
	}
	.template_page .form.form_blue {
		width: 100%;
	}
}
@media only screen and (max-width: 768px){
	.template_page .section3 .fotomen {
	  width: auto;
	}
	.section_content .table_of_contents{
		max-width: 100vw;
	}
}

/* Изменения по отказам */
.nad-h1 {
  font-size: 21px;
  margin-bottom: 10px;
}
.nad-h1 br {
    display: none;
}
.home .scroll_link_mob {
    display: none;
}
@media only screen and (max-width: 768px){
    .nad-h1 {
      margin-top: 20px;
    }
    header .wrap_header .center {
      order: 3;
    }
    header .menu_min span {
      position: absolute;
      top: 19px;
      display: block;
      left: -7px;
      color: #fff;
      text-decoration: underline;
    }
    header .menu_min {
      width: 23px;
        height: 23px;
        background-position: 6px center;
        margin-top: -18px;
        margin-right: 10px;
    }
    header .menu_min.open {
        margin-top: 0;
        margin-right: 0;
    }
    .home .scroll_link_mob {
        display: block;
        position: absolute;
        top: 395px;
        width: 100%;
    }
    .home .scroll_link_mob .text-scroll {
        text-align: center;
    }

    .home .scroll_link_mob .scroll_link {
        /* display: block; */
        background: url(./img/arrow-down3.png) no-repeat center center;
        background-size: auto 100%;
        -webkit-animation: topscrolldown2 1.5s ease infinite;
        animation: topscrolldown2 1.5s ease infinite;
        position: absolute;
        height: 42px;
        width: 100%;
        top: 81px;
    }
      @-webkit-keyframes topscrolldown2 {
    0% {
      top: 47px;
    }
    50% {
      top: 57px;
    }
    100% {
      top: 47px;
    }
  }
  @keyframes topscrolldown2 {
    0% {
      top: 47px;
    }
    50% {
      top: 57px;
    }
    100% {
      top: 47px;
    }
  }
}
@media only screen and (max-width: 600px){
    .nad-h1 {
      font-size: 18px;
      margin-bottom: 13px;
      margin-top: 5px;
    }
    .nad-h1 br {
        display: block;
    }
    .home .scroll_link_mob {
      top: 490px;
    }
}
@media only screen and (max-width: 425px){ 
    .nad-h1 {
      margin-bottom: 3px;
    }
}

/* Видео в Наши работы */
.page-template-our_work .section_uswork .slider_uswork .image_video {
    width: auto;
    height: auto;
}
.page-template-our_work .section_uswork .slider_uswork .image_video .play_yuo {
    width: 50px;
    height: 33px;
    margin: 0;  
}
.page-template-our_work .section_uswork .slider_uswork .video_wrap {
    margin-bottom: 0;
    margin-top: 0px;
}
.page-template-our_work .section_uswork .slider_uswork .video_wrap a.yout_view:hover {
    border-bottom: 1px dotted transparent;
}
 .page-template-our_work .section_uswork .slider_uswork .video_wrap a.yout_view {
    font-size: 16px;
    font-weight: 400;
    color: #ef332a;
    border-bottom: 1px dotted #ef332a;
}

/* правки от 07072022 */
@media only screen and (max-width: 768px){
  .paralax_truba .in_par {
    width: 136px;
    height: 144px;
  }
  .paralax_truba {
    right: -70px;
    top: -120px;
  }
  .section_content .text blockquote {
    background-repeat: repeat-y;
  }
  footer {
    padding-bottom: 70px;
  }
  .section_dop .left_textseo {
    padding-top: 38px;
  }
  .postid-1452.single-post .section1 h1 {
    text-align: center;
    font-size: 30px;
  }
}
@media only screen and (max-width: 560px){
  .single-post .section1 {
    background-size: auto 554px !important;
  }
  
}
/***** Скролл ********/
form button.orderSubmit.button_submit {
    display: none;
}
.fotomenmodaltr {
  display: none !important;
}
@media only screen and (max-width: 768px){
  form button.orderSubmit.button_submit.bigsubmit {
    position: absolute !important;
    /* display: block; */
    top: -10px;
    right: 0;
    width: 110px !important;
    box-shadow: none !important;
    font-size: 14px !important;
    border-radius: 50px !important;
    height: 100%;
    font-weight: 500;
    background: #f2c906;
    background: #f2c906 url(img/str_sm.png) no-repeat center right 4px;
    padding-right: 14px !important;
    max-width: 300px;
    top: 0;
    text-transform: none;
  }
  form button.orderSubmit.button_submit.visible {
    display: block;
  }
  .modal .form .title_form {
    font-size: 20px;
  }
  .modal {
    background-position: center 150px;
    background-position: top center;
  }
  .modal .left_modal {
    height: 110px;
    height: 34px;
  }
  .modal .form_men .fotomen {
    height: 140px;
    height: 110px;
    width: 110px;
    padding-top: 5px;
    border-radius: 110px;
    background: #fff;
    overflow: hidden;
    /* left: -27px; */
    top: -49px;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
  .modal .form_men .men_wrap {
    display: none;
  }
  .modal .form .sub_title_form {
    font-size: 15px;
    margin-bottom: 8px;
  }
  .form .h6 {
    font-size: 12px;
  }
  .modal .sub_title_form:empty {
    display: none;
  }
  .modal .form_men.fotomenmodaltr .fotomen img {
    width: 100%;
    object-fit: contain;
  }
  .button_metrmodal .fotomenmodaltr {
    display: block !important;
  }
}

@media only screen and (max-width: 360px){
  .modal .form_men .fotomen {
    height: 80px;
    width: 80px;
  }
  .modal .left_modal {
    height: 4px;
  }
  .modal .form .title_form {
    font-size: 18px;
  }
  .modal .form .sub_title_form {
    font-size: 14px;
    margin-bottom: 5px;
  }
}

@media only screen and (max-width: 340px){
  .modal .form {
    padding: 25px 15px;
  }
  form button.orderSubmit.button_submit.bigsubmit {
    font-size: 13px !important;
  }
}
.btn_mod_new{
  margin: 15px auto 0;
}
.section_plashki .plashki_div div.button.btn_mod_new {
    width: 220px;
}
#tablenew3 .text_content strong{
  font-weight: bold;
}
#tablenew3 .text_content {
    padding: 0 10px;
    margin: 0 0 20px;
}
#tablenew3 table strong {
    font-weight: bold;
}
/* рассрочка */

.button_fancyrassr{
  position: relative;
  padding-top: 16px;
  cursor: pointer;
    border-radius: 50px;
  -webkit-box-shadow: 0px 5px 0px 0px rgb(116, 27, 0);
    box-shadow: 0px 5px 0px 0px rgb(116, 27, 0);
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  background-color: rgb(255, 60, 0);
  width: 283px;
  height: 76px;
  text-align: center;
}
.button_fancyrassr:active{
  -webkit-box-shadow: 0 0px 0 0px rgb(116, 27, 0);
          box-shadow: 0 0px 0 0px rgb(116, 27, 0);
  -webkit-transform: translateY(5px);
      -ms-transform: translateY(5px);
          transform: translateY(5px);
}
.button_fancyrassr {
    margin-top: 28px;
    margin-bottom: 40px;
}
.season .button_fancyrassr {
  margin-top: 38px;
    margin-bottom: 0px;
}
.button_fancyrassr:hover .link {
  text-decoration: none;
}
.button_fancyrassr span {
  display: block;
}
.button_fancyrassr .text {
  font-size: 22px;
  color: #fff;
  font-weight: bold;
  line-height: 1.045;
}
.button_fancyrassr .link  {
  font-size: 18px;
  color: rgb(255, 246, 141);
  text-decoration: underline;
  font-weight: 400;
}

@media only screen and (max-width: 1400px){
  .home .text_about {
    margin-top: 40px;
  }
  .home.season .text_about {
    margin-top: 90px;
  }
}

@media only screen and (max-width: 1180px){
  .home .text_about {
    margin-top: 30px;
  }
  .button_fancyrassr {
    margin-top: 26px;
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 768px){
  .button_fancyrassr {
    margin: 30px auto 0;
  }
  .home .text_about {
    margin: 20px auto 0;
  }
  .home .text_about {
    margin: 10px auto 0;
  }
  .season .button_fancyrassr {
    margin-top: 28px;
  }
  .home.season .scroll_link_mob {
    top: 755px !important;
  }
}
@media only screen and (max-width: 600px){
  .home .scroll_link_mob {
    top: 605px;
  }
}


.modal_rassr {
    background: url(./img/back/rassrmodal.jpg) no-repeat;
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 30px 20px 0;
  border-radius: 20px;
}

.modal_rassr .clientTimeIn {
    display: none;
}

.modal_rassr .title_mod {
  font-size: 38px;
  font-weight: bold;
  line-height: 1.094;
  margin-bottom: 10px;
}
.modal_rassr .title_mod b{
  font-size: 54px;
  color: #ffd54b;
    display: block;
    text-transform: uppercase;
}
.modal_rassr .subtitle_mod {
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
  border-radius: 10px;
  background-color: rgb(14, 25, 39, 0.62);
  position: relative;
  max-width: 718px;
  margin: 20px auto 20px;
  padding: 17px 30px;
    line-height: 1.23;
}
.modal_rassr .bulit_mod {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 400;
    margin: 28px 0 12px;
}
.modal_rassr .bulit_mod ul{
  justify-content: center;
}
.modal_rassr .bulit_mod b{
  font-weight: bold;
  display: block;
}
.modal_rassr .bulit_mod li{
  position: relative;
    margin: 0 34px 20px;
}
.modal_rassr .ico {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}
.bok_plashka_rassr {
  border-radius: 19px;
  background-color: rgb(255, 50, 34);
  position: relative;
  width: 294px;
  height: 73px;
  text-align: left;
  padding-left: 65px;
  background-image: url(./img/iconrassr.png);
  background-repeat: no-repeat;
  background-position: 16px center;
    font-size: 20px;
    flex: 0 0 auto;
    padding-top: 13px;
    margin-top: -3px;
}
.bok_plashka_rassr:after {
  content: "";
  display: block;
  background-color: rgb(255, 50, 34);
  position: absolute;
    right: -6px;
    top: 30px;
    width: 16px;
    height: 15px;
    transform: rotate(45deg);
}

.modal_rassr .form form {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.modal.modal_rassr .form {
    padding: 0;
    color: #fff;
    width: 100%;
}
.modal_rassr .form .button {
    margin: 0;
    margin-top: 0;
    width: 290px;
    display: block;
    font-size: 18px;
    line-height: 1.05;
    padding: 0 10px;
  height: 62px;
}
.modal_rassr label.labelPhone {
    width: 290px;
    margin-right: 5px;
    margin-left: 20px;
}
.modal_rassr .form .h6 {
    max-width: 1000px;
    margin-left: -590px;
}

@media only screen and (max-width: 1400px) and (min-width: 769px){  
  .form .h6 {
    margin: 17px auto 0;
  }
}
@media only screen and (max-width: 1400px){ 
  .bok_plashka_rassr {
    margin-top: -10px;
  }
  .modal_rassr .form .button {
    height: 52px;
  }
}

@media only screen and (max-width: 768px){  
  .modal_rassr .title_mod{
    font-size: 26px;
    line-height: 1.231;
  }
  .modal_rassr .subtitle_mod {
    font-size: 18px;
    line-height: 1.222;
    padding: 12px 15px;
  }
  .modal_rassr .bulit_mod ul {
    flex-wrap: wrap;
  }
  .modal_rassr .bulit_mod {
    margin: 18px auto 12px;
  }
  .modal_rassr .title_mod b {
    font-size: 29px;
  }
  .modal_rassr {
    height: 100vh;
    background: none;
    padding: 0;
  }
  .modal_rassr .content{
    background: url(./img/back/rassrmodal.jpg) no-repeat;
   /*  padding: 40px 25px 30px; */
   padding: 40px 25px 70px;
    overflow: scroll;
    height: 100vh;
    background-size: cover;
    border-radius: 30px;
    background-position: center;
  }
  .modal_rassr .type_s_title {
    margin-top: 30px;
  }
  .modal.modal_rassr .form form {
    max-width: 290px;
  }
  .modal_rassr .form-bl {
    width: 100%;
  }
  .modal_rassr label.labelPhone {
    width: 100%;
    margin-right: 0;
  }
  .modal_rassr .form .h6 {
    max-width: 100%;
    margin: 9px auto 0;
  }
  .modal_rassr .form .button {
    margin-top: 0;
    width: 100%;
    height: 57px;
  }
  
  .bok_plashka_rassr {
    margin: 0 auto 20px;
  }
  .modal_rassr label.labelPhone {
    margin-left: 0;
  }
  .modal_rassr .bulit_mod li {
    width: 50%;
  }
  .modal.modal_rassr .form {
    display: block;
  }
  .bok_plashka_rassr:after {
    right: 0;
    left: 0;
    margin: 0 auto;
    top: auto;
    bottom: -5px;
  }
  .modal_rassr .bulit_mod li {
    margin: 0 0 20px;
  }
  .button_fancyrassr.vis_mob {
    visibility: hidden;
  }
}
@media only screen and (max-width: 430px){
  .modal_rassr .title_mod {
    font-size: 23px;
  }
}
@media only screen and (max-width: 400px){
  .modal_rassr .content{
    /* padding: 40px 15px 30px; */
    padding: 40px 15px 70px;
  }
  .modal_rassr .title_mod {
    font-size: 21px;
  }
}
@media only screen and (max-width: 350px){
  .modal_rassr .content {
    /* padding: 40px 8px 30px; */
    padding: 40px 8px 70px;
  }
  .modal_rassr .subtitle_mod {
    font-size: 16px;
  }
}
.section_newform{
  background: url(img/back/back_snf.jpg) no-repeat top center;
  padding: 20px 0 0;
  text-align: center;
  color: #fff;
}
.section_newform .pdh2 {
  font-size: 26px;
  line-height: 1.346;
  max-width: 733px;
  margin: 20px auto 30px;
}
.section_newform .pdh3{
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 28px;
}

.section_newform h2 {
  color: #fff;
    font-weight: bold;
}
.section_newform h2:before {
    content: url(img/vawe_b2.png);
    display: block;
    margin-bottom: 0px;
    margin-right: 0;
}
.section_newform .form:before{
  content: "";
  display: block;
  width: 146px;
  height: 140px;
  background: url(img/kaplya.png) no-repeat top center;
  position: absolute;
    left: -10px;
    top: 115px;
}
ul.bulity_nfrm.flex_wrap {
    justify-content: center;
}
.li_nefrm{
  width: 120px;
  font-size: 18px;
}
.li_nefrm_1{
  width: 250px;
  margin: 0 50px;
}
.li_nefrm .text {
    margin-top: 5px;
}


@media only screen and (min-width: 769px){  
  .section_newform .form{
    background: url(img/form_backnew2.png) no-repeat top center;
    width: 1103px;
    height: 271px;
    padding: 80px 77px 70px 55px;
    margin: 0 auto;
    box-shadow: none;
    transform: translateX(25px);
  }
  .section_newform .form .form-bl {
    display: flex;
    width: 630px;
  }
  .section_newform .form form {
    display: flex;
  }
  .section_newform .form .button {
    margin-top: 0;
    width: 325px;
    /* margin-left: 10px; */
  }
  .section_newform .labelPhone, .section_newform .input_wrap {
    width: 310px;
    margin-right: 10px;
  }
  .section_newform .form .h6 {
    margin: 17px auto 0;
    max-width: 1000px;
    position: absolute;
    left: 0;
    right: 0;
  }
}


@media only screen and (max-width: 1180px) and (min-width: 769px){
  .section_newform .form {
    width: 1061px;
    background-size: 100% 100%;
    transform: none;
    margin-left: -40px;
  }
  .section_newform .form .button {
    width: 305px;
  }
}
@media only screen and (max-width: 768px){
  .section_newform {
    margin-top: 0px;
    background: url(img/back/back_snf_mob.jpg) no-repeat top center;
    position: relative;
    z-index: 2;
  }
  .section_newform h2 {
    font-size: 26px;
    line-height: 1.385;
  }
  .section_newform .pdh2 {
    font-size: 20px;
    max-width: 500px;
    margin: 15px auto 20px;
  }
  .section_newform .pdh3{
    font-size: 18px;
    margin-bottom: 25px;
  }
  .section_newform .form{
    background: url(img/form_backnew_mob.png) no-repeat top center;
    margin-top: 30px;
    border-radius: 15px;
    padding: 30px 15px;
  }
  .section_newform .form:before {
    left: -30px;
    top: auto;
    bottom: -80px;
  }
  .page-template-depth_map.page-template-promotions .section1 {
    padding-bottom: 55px;
    background-size: cover;
  }
  header.openmenu .header_menu {
      padding: 9px 3px 2px;
  }
}
@media only screen and (max-width: 600px){
  ul.bulity_nfrm.flex_wrap {
    flex-wrap: wrap;
  }
  .li_nefrm {
    order: 1;
    display: flex;
    align-items: center;
    text-align: left;
    width: 150px;
  }
  .li_nefrm_1 {
    order: 3;
    width: 280px;
    margin: 32px 0 0;
  }
  .li_nefrm .text {
    margin-top: 0;
    margin-left: 14px;
  }
}

.form_kviz .h6btnwrap {
	margin-top: 7px;
}


.single-post .text_block {
  background-color: #fff;
}


/* Блок Видеообзоров под 1 экраном */
#videowork {}

#videowork h2 {margin:0 0 40px;}

#videowork .btn-wrapper {width: 100%;display:flex;justify-content:center;gap:20px;flex-wrap: wrap;}
#videowork .btn-wrapper .button {margin:0;width:auto;height:auto;/* line-height:1.1;padding:20px 30px; */font-weight:400;}

.home #videowork {margin: 40px 0 0;}
.page-template-thanks #videowork {margin-top:-400px;}
.page-template-thanks .title_bl1 {padding:10px 0 20px;}
.page-template-thanks .title_bl1 h1 {margin:0;line-height: 1;}
.page-template-our_work #videowork {margin: 0 0 40px 0;}

.videoReviews{display:flex;flex-wrap:wrap;justify-content:center;gap:40px;margin-bottom:30px;}
.videoReview .image{width:100%;height:334px;background-size:cover;background-position:center;background-repeat:no-repeat;position:relative;border-radius:30px;overflow:hidden;margin-bottom:10px;display:flex;justify-content:center;align-items:center;}
.videoReview .desc {text-align:center;}
.videoReview{width:660px;}

.videoreviewsContainer{padding-bottom:30px;}
@media only screen and (max-width:1400px) { 
  .videoReviews{gap:30px;}
  .videoReview{width:465px;}
  .videoReview .image{height:235px;}
  #videowork h2 {margin-bottom: 50px;}
  .page-template-thanks .shrub {margin-top: -300px;}
}
@media only screen and (max-width:1180px) {}
@media only screen and (max-width:768px) {
  .videoReview{width:100%;}
  .videoReview .image{height:56vw;border-radius:5vw;}
  .videoReview{font-size:15px;text-align:center;}
  #videowork h2 {margin-bottom: 35px;}
  #videowork {margin-top: 0;}
  .fancybox-button.fancybox-close-small{width:40px;height:40px;padding-left:0;z-index:300;}
}

.videoReview .play{z-index:20;width: 90px;height: 90px;background:url('data:image/svg+xml,<svg width="6" height="6" viewBox="0 0 6 6" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="3" cy="3" r="3" fill="white" fill-opacity="0.8"/></svg>') no-repeat center;background-size: 100% 100%;position: absolute;display:flex;align-items:center;justify-content:center;
margin: auto;right: 0;left: 0;top: 0;bottom: 0;border-radius: 50%;-webkit-box-sizing: content-box;box-sizing: content-box;
-webkit-box-shadow: 0 0 0px 25px rgba(255, 255, 255, 0.16);box-shadow: 0 0 0px 25px rgba(255, 255, 255, 0.16);
-webkit-animation: borderwidth 3s linear infinite, shadow 3s linear infinite;animation: borderwidth 3s linear infinite, shadow 3s linear infinite;}
.colored_triangle{width:44px;height:49px;transform:translate(4px, 5px);}
.videoReview .image{border:5px solid;-webkit-box-shadow: 0px 7px 23px -6px rgba(0, 0, 0, 0.8) inset;
-moz-box-shadow: 0px 7px 23px -6px rgba(0, 0, 0, 0.8) inset;
box-shadow: 0px 7px 23px -6px rgba(0, 0, 0, 0.8) inset;}
@-webkit-keyframes shadow{
0%,100%{-webkit-box-shadow:0 0 0px 0px rgba(255, 255, 255, 0.16),  0 0 0px 0px rgba(255, 255, 255, 0.36);box-shadow:0 0 0px 0px rgba(255, 255, 255, 0.16),  0 0 0px 0px rgba(255, 255, 255, 0.36);}
50%{-webkit-box-shadow: 0 0 0px 20px rgba(255, 255, 255, 0.16),  0 0 0px 10px rgba(255, 255, 255, 0.36);box-shadow: 0 0 0px 20px rgba(255, 255, 255, 0.16),  0 0 0px 10px rgba(255, 255, 255, 0.36);}
}
@keyframes shadow{
0%,100%{box-shadow:0 0 0px 0px rgba(255, 255, 255, 0.16),  0 0 0px 0px rgba(255, 255, 255, 0.36);}
50%{box-shadow: 0 0 0px 20px rgba(255, 255, 255, 0.16),  0 0 0px 10px rgba(255, 255, 255, 0.36);}
}
.videoReview:nth-of-type(2n+2) .play{animation-delay:1.5s;}

/*1400px*/
@media only screen and (max-width: 1400px){
.videoReview .play{width:70px;height:70px;}
.colored_triangle{width:32px;height:34px;transform: translate(3px, 4px);}
}
/*end 1400px*/

/*768px*/
@media only screen and (max-width:768px){
.videoReview .image{border-width:3px;}
.fancybox-button.fancybox-close-small{width:40px;padding-left:0;z-index:300;}
}
/*end 768px*/



/*videoreview*/
.videoReview{height:auto;min-height:385px;width:663px;border-radius:17px;position:relative;cursor:pointer;overflow:hidden;background-position:center;background-size:cover;margin-bottom:0;}
.videoReview.vertical{width:312px;height:558px;}
.videoReview:before{position: absolute;width:100%;height:170px;background: linear-gradient(to bottom, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);content:'';left:0;top:0;opacity:0.7;pointer-events:none;}
.videoReview .call{width:100%;text-align:center;padding:25px;color:#fff;position:relative;font-size:20px;}
.videoReview .call:after{width:100%;height:21px;background:url(img/play_w_arrow.png) no-repeat center;background-size:contain;display:block;margin-top:10px;content:'';}
.videoReview .play{width:70px;height:70px;background:url(img/play_w.png) no-repeat center;background-size:contain;}
.home .section_video{padding-bottom:60px;}
#videowork h2{max-width:100%;}
.videoReviews{gap:39px;justify-content:center;}
.videoReview video{position: absolute;left: 0;top: 0;width:100%;height:100%;transform:scale(1.01);border-radius:17px;object-fit: cover;}
.videoworkBtns{margin-top:40px;}
@media only screen and (max-width:1400px){
.home .section_video{padding-bottom:50px;padding-top:90px;}
.videoReviews{gap:18px;}
.videoReview{width:578px;min-height:335px;}
.videoReview.vertical{width:280px;height:501px;}
}
@media only screen and (max-width:1180px){
.videoReview{width:468px;min-height:274px;}
.videoReview.vertical{width:225px;height:403px;}
.videoReview .call{padding:20px;font-size:16px;}
}
@media only screen and (max-width:768px){
.videoReviews{justify-content:center;}
.home .section_video{padding-bottom:30px;}
.section_video + .section_gr{padding-top:90px;}
}
@media only screen and (max-width:540px){
.videoReviews{gap:calc(100% - 86vw);}
.videoReview{width:100%;min-height:58vw;margin-bottom:3vw;}
.videoReview.vertical{width:43vw;height:76vw;}
.videoReview .call {padding: 3vw;font-size: 3vw;}
}
@media only screen and (max-width:340px){
.videoReview.vertical{width:45vw;height:81vw;}
.videoReviews{gap:calc(100% - 90vw);}
}

@media only screen and (max-width: 1400px) {
  .home .bullit_b1 li:not(:last-child) {
    margin-right: 30px;
  }
}
@media only screen and (max-width: 1200px) {
  .home .bullit_b1 li:not(:last-child) {
    margin-right: 17px;
  }
  .home .bullit_b1 .ico {
    display: flex;
    align-items: center;
  }
  .home .bullit_b1 .ico img {
    height: 40px;
  }
  .home .bullit_b1 li:last-child img {
    height: 30px;
  }
}

@media screen and (max-width: 600px) {
  .home .section1 .bullit_b1 li:last-child .ico img {
    max-width: 120px;
  }
    .home .bullit_b1 li:not(:last-child) {
    margin-right: 1%;
  }
}

/* Окно с 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:0.7vw 1vw;background-color:white;border-radius:10px;box-shadow:2px 3px 10px rgba(0,0,0,0.4);z-index:10;transition:0.4s;align-items:center}
#cookie_notification.show{opacity:0.9;bottom:15px;transform:translateX(-50%) translatey(0)}
#cookie_notification p{margin:5px 0 0 0;text-align:left;line-height:1.5;font-size:14px}
#cookie_notification p a{text-decoration:underline;color:#1182ef}
#cookie_notification .btn-primary{font-size:16px;max-width:100%;padding:0.5vw 1vw;transition:all .2s ease;white-space:normal;color:#000;border:1px solid #FF7300;background:#fff;cursor:pointer;border-radius:15px;height:45px}
@media (max-width:1400px){
#cookie_notification{width:735px}
}
@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}
}

/* Согласие */
.permit {display:flex;font-size:12px;text-align:left;margin:10px 0;white-space: wrap;gap:5px;}
.permit a {text-decoration:underline;}
.permit a:hover {text-decoration:none;}
.permit .text span {text-decoration:underline;color: #0f4b75;}
.permit .text 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;}

.modal_zayavka .permit a,
.modal_zayavka .permit .text span,
.section_kviz .form_kviz .permit a,
.section_kviz .form_kviz .permit .text span,
.form_blue .permit a,
.form_blue .permit .text span,
.modal_rassr .permit a,
.modal_rassr .permit .text span {color: white;border-color:white;}
.modal_zayavka .permit:has(input:not(:checked)) a,
.modal_zayavka .permit:has(input:not(:checked)) .text span,
.section_kviz .form_kviz .permit:has(input:not(:checked)) a,
.section_kviz .form_kviz .permit:has(input:not(:checked)) .text span,
.form_blue .permit:has(input:not(:checked)) a,
.form_blue .permit:has(input:not(:checked)) .text span,
.modal_rassr .permit:has(input:not(:checked)) a,
.modal_rassr .permit:has(input:not(:checked)) .text span {color: white;border-color:white;}
.form_blue .permit .text {
  font-size:12px;
  color: #fff;
}
.freebur .form_blue .permit .text {
  color: #000;
}
.freebur .form_blue .permit .text span {
  color: #0f4b75;
}
.freebur .form_blue .permit:has(input:not(:checked)) .text span {
  color: red;
  border-color: red;
}
.kalc_modalM .permit span {color: #000;}

.section_newform .form form, 
.modal_rassr .form form  {flex-wrap:wrap;}
.modal_rassr .form .h6btnwrap,
.section_newform .form .h6btnwrap {width:50px;flex-grow:1;}
.section_newform .permit,
.modal_rassr .permit {order:3;width:100%;align-items: center;}
.modal_rassr .permit {margin:0 0 0 20px;}

.button.not-active {background-color: #dddddd;background-image:none;box-shadow: 0px 5px 0px 0px #aeaeae;}
.orderSubmit.button_submit.bigsubmit.not-active {background-color: #dddddd;box-shadow: 0px 5px 0px 0px #aeaeae;}
.orderSubmit2.button_submit.bigsubmit.not-active {background-color: #dddddd;box-shadow: 0px 5px 0px 0px #aeaeae;}
/* form .orderSubmit.not-active,
form .orderSubmit2.not-active {background: #dddddd;box-shadow: 0px 5px 0px 0px #aeaeae;} */

.page-template-simple_page .section1 {background: url(img/back/back_rev.jpg) no-repeat top center;background-size: cover;}
.page-template-simple_page .section1 h1 {color: #fff;}
.page-template-simple_page .page_content {padding:20px 0;}
.page-template-simple_page .page_content > *{margin: 0 0 20px;}
.page-template-simple_page .page_content li{margin: 0 0 5px;}
.page-template-simple_page .page_content strong{font-weight:bold;}
.page-template-simple_page .page_content ul li {margin-top: 0px;}
.page-template-simple_page .page_content ul li::before {content: "-";float: left;color: #000;margin-right: 10px;font-weight:bold;}
.page-template-simple_page .page_content ol li {counter-increment: count;margin-top: 30px;}
.page-template-simple_page .page_content ol li::before {content: counter(count) ".";float: left;color: #000;margin-right: 10px;font-weight:bold;}
.page-template-simple_page .page_content ol[start="1"] {counter-reset: count 0;}
.page-template-simple_page .page_content ol[start="2"] {counter-reset: count 1;}
.page-template-simple_page .page_content ol[start="3"] {counter-reset: count 2;}
.page-template-simple_page .page_content ol[start="4"] {counter-reset: count 3;}
.page-template-simple_page .page_content ol[start="5"] {counter-reset: count 4;}
.page-template-simple_page .page_content ol[start="6"] {counter-reset: count 5;}
.page-template-simple_page .page_content ol[start="7"] {counter-reset: count 6;}
.page-template-simple_page .page_content ol[start="8"] {counter-reset: count 7;}
.page-template-simple_page .page_content ol[start="9"] {counter-reset: count 8;}
.page-template-simple_page .page_content ol[start="10"] {counter-reset: count 9;}

@keyframes iDisagreeChb{
0%{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%{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%{box-shadow: rgba(255, 60, 60, 0.7) -1.95px -1.95px 2.6px;}
}

@media (max-width: 768px) {
	.section_newform .form .h6btnwrap {width:auto;}
	.modal_rassr .permit {order:unset;margin:10px;}
	.page-template-simple_page .section1 h1 {font-size:32px;}
}
@media (max-width: 500px) {
	.page-template-simple_page .section1 h1 {font-size:22px;}
}

/* правки по шапке */
@media (min-width: 1400px) {
	header .header_menu {padding: 9px 20px;}
}
@media (min-width: 768px) and (max-width: 1400px) {
	header.fixed .right_div.phone a {font-size: 16px;}
	header .email a.btn_h {font-size: 16px;}	
}

/* правки по простой модалке */
@media (min-width: 768px) {
	.modal_zayavka .form {display: flex;flex-direction: column;justify-content: center;}
	.modal_zayavka .form .title_form {font-size: 26px;}
}

/*Шаблон страницы как главная*/
/*section2*/
.section2 .left.no_text{display:flex;flex-wrap:wrap;justify-content:space-between;padding-right:20px;}
.type_skv.no_text{width:320px;display:block;background:#eaf3f8;padding:20px 10px;padding-bottom:145px;margin-bottom:20px;}
.no_btn.type_skv.no_text{padding-bottom:20px;}
.type_skv.no_text .type_skv_fl{display:block;}
.type_skv.no_text h4, .type_skv.no_text h3{position:relative;top:0;padding:12px 15px;font-size:20px;text-align:center;width:100%;margin-bottom:12px;line-height:1.2;display:block;}
.type_skv.no_text h4:before, .type_skv.no_text h3:before{height:100%;top:0;width:-moz-calc(100% - 20px);width:-webkit-calc(100% - 20px);width:calc(100% - 20px);left:10px;}
.type_skv.no_text .img{width:245px;height:260px;max-width:100%;margin:auto;margin-bottom:20px;}
.type_skv.no_text .bullit_b1{margin-top:0;}
.type_skv.no_text .bullit_b1 li{width:50%;max-width: unset;margin-bottom:20px;flex-wrap:wrap;height:auto;font-size:14px;margin-top:0;}
.type_skv.no_text .bullit_b1 .ico{width:20px;margin-right:10px;}
.type_skv.no_text .bullit_b1 .ico img{width:100%;}
.type_skv.no_text .bullit_b1 li .text{width:-moz-calc(100% - 30px);width:-webkit-calc(100% - 30px);width:calc(100% - 30px);}
.type_skv.no_text .bullit_b1 li:nth-of-type(2n+1){width:45%;}
.type_skv.no_text .bullit_b1 li:nth-of-type(2n+2){width:55%;}
.type_skv.no_text .skv_bottom{display:block;position: absolute;bottom:20px;left:0;padding:0 20px;height:125px;}
.no_btn.type_skv.no_text .skv_bottom{height:auto;position:relative;padding:0 10px;bottom:0;}
.type_skv.no_text .price_divskv{margin-bottom:20px;text-align:center;}
.no_btn.type_skv.no_text .price_divskv{margin-bottom:0;}
.type_skv.no_text .button{line-height:1.2;height:auto;padding-top:8px;padding-bottom:8px;}
.type_skv.no_text .button.blue:before{height:100%;top:0;content:'';background:url(img/str_next.png);background-repeat:no-repeat;background-position:center right;padding-left:32px;}
.section4_price.section4_2 + .section_process{padding-top:0;}
.section4_price.section4_2:has( + .section_process){padding-bottom:30px;}
.home.single-regions h1:before{display:none;}
.home.single-regions h1{color:#fff;}
@media only screen and (max-width:1400px){
.type_skv.no_text{width:405px;}
}
@media only screen and (max-width:1180px){
.type_skv.no_text{width:305px;}
.section2 .left.no_text{padding-right:0;}
}
@media only screen and (max-width:768px){
.type_skv.no_text h4, .type_skv.no_text h3{white-space: normal;}
.type_skv.no_text{width:350px;max-width:100%;padding-bottom:20px;}
.section2 .left.no_text{justify-content:center;margin-top:-30px;}
.type_skv.no_text .bullit_b1 li:nth-of-type(2n+1),.type_skv.no_text .bullit_b1 li:nth-of-type(2n+2){width:50%;}
.type_skv.no_text .bullit_b1 .ico{margin:auto;width:auto;text-align:center;margin-bottom:5px;height:32px;}
.type_skv.no_text .bullit_b1 .ico img{width:auto;height:100%;}
.type_skv.no_text .bullit_b1 li .text{width:100%;font-size:16px;}
.type_skv.no_text .skv_bottom{position:relative;height:auto;bottom:0;padding:0;}
.type_skv.no_text h4:before, .type_skv.no_text h3:before{padding:0;}
}
/*конец section2*/
.bulity_center_str2{padding:40px 0 80px;color:#000;line-height:1.2;text-align:center;font-size:22px;font-weight:400}
.bulity_center_str2 ul{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;display:flex;flex-wrap:wrap;}
.bulity_center_str2 li{max-width:100%;width:220px;}
.bulity_center_str2 .ico{height:52px;margin-bottom:15px}
@media only screen and (max-width: 1400px) {
.bulity_center_str2 li{}
}
@media only screen and (max-width: 1180px) {
.bulity_center_str2{font-size:16px}
.bulity_center_str2 li{width:170px;}
}
@media only screen and (max-width:768px) {
.section_dop h3{text-align:center;}
.bulity_center_str2 ul{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;}
.bulity_center_str2{padding:15px 0 55px}
.bulity_center_str2 ul li{width:50%;margin-bottom:30px;max-width:220px;padding:0 5px;}
}
.text_bot > *:not(h2),.text_top > *:not(h2){margin-bottom:30px;}
.text_bot p:empty,.text_top p:empty{display:none;}
.text_bot > :last-child,.text_top > :last-child{margin-bottom:0;}
.text_bot li,.text_top li{margin-bottom:5px;position: relative;padding-left:20px;}
.text_bot li:last-child,.text_top li:last-child{margin-bottom:0;}
.text_bot ul li:before,.text_top ul li:before{content: "";position: absolute;left:0;top:11px;width:6px;height:6px;border-radius:50%; background:#212121; display: block;position: absolute;}
.text_bot ol,.text_bot ul,.text_top ol,.text_top ul{clear:both;}
.text_bot ol,.text_top ol{counter-reset: num;}
.text_bot ol li,.text_top ol li{padding-left:20px;}
.text_bot ol li:before,.text_top ol li:before{font-size: 16px;content: counter(num) '.';counter-increment: num;left:0;top:2px;display: block;position: absolute;}
.text_bot a,.text_top a{text-decoration:underline;color:#c4804f;}
.text_bot a:hover,.text_top a:hover{text-decoration:none;}
.text_bot table,.text_top table{width: 100%;clear:both;background:#fff;border-radius:10px;}
.text_bot table td,.text_bot table th,.text_top table td,.text_top table th{border-right: 1px solid #d6d6d6;border-bottom: 1px solid #d6d6d6;padding:15px;}
.text_bot table tr:first-child,.text_top table tr:first-child{font-weight:700;}
.text_bot table tr:first-child td,.text_bot table tr:first-child th,      .text_top table tr:first-child td,.text_top table tr:first-child th{padding-top:0;}
.text_bot table tr:nth-of-type(2n + 3),.text_top table tr:nth-of-type(2n + 3){background:#f6f6f6;}
.text_bot h3:not(.h2),.text_top h3:not(.h2){font-size:24px;margin-bottom:20px;text-align:left;}
.text_bot h5,.text_top h5{font-size:24px;margin-bottom:10px;text-align:left;}
.text_bot > *:has(+ ul),.text_top > *:has(+ ul){margin-bottom:10px;clear:both;}
.text_bot table,.text_top table {width: 100%;border-collapse: separate;border-spacing: 0;border-radius: 10px;background: white;padding: 20px;}
.text_bot td,.text_bot th,.text_top td, .text_top th {padding: 10px; /* Отступ внутри ячеек */}
.text_bot table tr:first-child td,.text_bot table tr:first-child th,.text_top table tr:first-child td,.text_top table tr:first-child th {border-top: none;}
.text_bot table tr:last-child td,.text_bot table tr:last-child th ,.text_top table tr:last-child td,.text_top table tr:last-child th {border-bottom: none;}
.text_bot table tr td:first-child,.text_bot table tr th:first-child,.text_top table tr td:first-child,.text_top table tr th:first-child {border-left: none;}
.text_bot table tr td:last-child,.text_bot table tr th:last-child,.text_top table tr td:last-child,.text_top table tr th:last-child {border-right: none;}
.section_dop .doptitle1 {margin-bottom: 30px;font-size:42px;font-weight:700;}
.section_dop .doptitle2 {font-weight: bold;font-size: 22px;margin-top: 30px;margin-bottom:5px;}
@media only screen and (max-width: 1400px) {
.section_dop .doptitle2{font-size:20xp;margin-top:20px;}
}
@media only screen and (max-width:768px) {
.section_dop .doptitle1{font-size:28px;text-align:center;}
}
/*Конец шаблон страницы как главная*/

.form_type_s {
  justify-content: space-around;
}