
pre {
  background: #1e1e1e;
  padding: 1em;
  border-radius: 8px;
  overflow-x: auto;
}

pre code {
  font-family: "Fira Code", monospace;
  font-size: 0.95em;
  line-height: 1.5;
  color: #d4d4d4;
  white-space: pre;
}

/* Подсветка через селекторы на основе содержимого */
pre code .tag { color: #569cd6; }        /* <html> */
pre code .attr { color: #9cdcfe; }       /* lang, charset, href... */
pre code .value { color: #ce9178; }      /* "значения" */
pre code .comment { color: #6a9955; font-style: italic; }
pre code .doctype { color: #808080; font-style: italic; }


.p-color {
  color: var(--primary-color);
}
.main-page-slider {
  width: 100%;
  height: calc(100vh - 160px);
  max-height: 950px;
  min-height: 600px;
  padding-top: 70px;
  background-color: rgb(41,41,41);
  overflow: visible;
  position: relative;
}
.main-page-slider .slide, .main-page-slider .slider {
  width: 100%;
  height: 100%;
  position: relative;
}
.main-page-slider .slide {
  overflow: visible;
  position: relative;
}
.main-page-slider:before {
  content: 'WebFox';
  display: block;
  font-size: 380px;
  color: #fff;
  opacity: .03;
  position: absolute;
  font-weight: 900;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}
.slider-text-container {
  width: calc(100% - 160px);
  margin: 0 auto;
  max-width: 1440px;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: row;
}
.slider-text-container_C {
  width: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  justify-content: center;
  z-index: 10;
}
.slider-text-container_C .h1 {
  font-size: 60px;
  font-weight: 700;
  color: #ffffff;
  text-align: left;
  line-height: 1.4;
  margin-bottom: 0;
}
.slider-text-container_C .h1 .outline {
  color: var(--primary-color);
}
.open-brif-btn {
  margin-top: 40px;
}
.laptop {
  position: relative;
  width: 50%;
}
.laptop__img {
  width: 120%;
  position: absolute;
  right: 0px;
  bottom: -130px;
  height: auto;
  z-index: 10;
}
.slider-social {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 11;
  justify-content: center;
}
.slider-social__icon {
  font-size: 25px;
  margin-bottom: 40px;
  height: 20px;
  text-align: center;
  z-index: 11;
}
.slider-social__icon i {
  color: #fff;
  transition: all .3s;
}
.slider-social__icon i:hover {
  color: #df603e;
  transition: all .3s;
}
/* uslugi block */
.ulsugi__items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: -20px;
}
.uslugi__item {
  width: calc(100% / 3 - 13px);
  margin-right: calc(13px * 3 / 2);
  margin-bottom: 20px;
  position: relative;
  padding: 50px 60px;
  box-sizing: border-box;
  border-radius: 30px;
  box-shadow: 0px 0px 27px 0px rgba(0, 0, 0, 0.06);
  transition: all .3s;
}
.uslugi__item:hover {
  box-shadow: 0px 0px 27px 0px rgba(0, 0, 0, 0.4);
  transition: all .3s;
}
.uslugi__item:nth-child(3n) {
  margin-right: 0;
}
.uslugi__item .uslugi__title {
  font-size: 36px;
  margin-bottom: 0.85em;
  display: block;
  font-weight: 900;
  line-height: 1.2;
}
.uslugi__item:hover .uslugi__title {
  color: var(--primary-color);
}
.uslugi__item .uslugi__subtitle {
  font-size: 18px;
  margin-bottom: 1.8em;
}
.uslugi__item:hover .uslugi__subtitle {
  color: var(--primary-color);
}
.uslugi__arrow {
  width: 40px;
  height: 10px;
  display: block;
  background-image: url('../img/icons/arrow1.png');
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
  transition: all .3s;
  padding: 10px 0;
  position: relative;
}
.uslugi__item:hover .uslugi__arrow {
  width: 90px;
  height: 10px;
  background-image: url('../img/icons/arrow2.png');
  transition: all .3s;
}
.uslugi__arrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--primary-color);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: all .3s;
  z-index: -1;
  opacity: 0;
}
.uslugi__item:hover .uslugi__arrow::before {
  left: 95%;
  opacity: 1;
  transform: translateX(-50%) translateY(-50%);
  transition: all .3s;
  opacity: 1;
}
.item__wrapper__link {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
/* /uslugi block */

/* portfolio */
.portfolio {

  /*background-color: #232427;*/
}
.portfolio .portfolio__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.portfolio-container h2 {
  margin: 0;
  color: #ffffff;
}
.portfolio-container > p {
  margin: 25px auto;
  max-width: 800px;
  text-align: center;
  color: #ffffff;
}

.portfolio .portfolio__items .portfolio__item {
  width: calc(100% / 4 - 18px);
  position: relative;
  height: 450px;
}
.portfolio .portfolio__items .portfolio__item a {
  width: 100%;
  height: 100%;
  display: block;
}
.portfolio .portfolio__items .portfolio__item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.portfolio .portfolio__items .portfolio__item .tag {
  position: absolute;
  left: 50%;
  top: 30px;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  color: #fefefe;
  font-size: 16px;
}
.portfolio .portfolio__items .portfolio__item h3 {
  position: absolute;
  bottom: 120px;
  left: 50%;
  width: 100%;
  max-width: 80%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  color: #ffffff;
  text-shadow: 2px 1px 6px rgba(0, 0, 0, 1);
  line-height: 1.3;
}
.portfolio .portfolio__items .portfolio__item .look {
  position: absolute;
  left: 50%;
  bottom: 45px;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  opacity: 0;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}
.portfolio .portfolio__items .portfolio__item .portfolio__item-background {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;

}
.portfolio .portfolio__items .portfolio__item:hover .portfolio__item-background, .portfolio .portfolio__items .portfolio__item:hover .look {
  opacity: 1;
}
.portfolio .portfolio__items .portfolio__item:hover .look {
  -webkit-transition-delay: all 0.4s;
       -o-transition-delay: all 0.4s;
          transition-delay: all 0.4s;
}


/* /portfolio */

/* why */
.why-i__items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.why-i__item {
  width: calc(100% / 4 - 3px);
  margin-right: calc(3px * 4 / 3);
  padding: 40px 60px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 73px 0px rgba(0, 0, 0, 0.09);
  transition: all 0.3s;
  background-color: #fff;
  min-height: 250px;
  margin-bottom: 6px;
}
.why-i__item:hover {
  transform: scale(1.1);
  border-radius: 20px;
  transition: all 0.3s;
}
.why-i__item:nth-child(4n) {
  margin-right: 0;
}
.why-i__title-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 25px;
}
.why-i__img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  object-position: center;
  margin-right: 30px;
}
.why-i__title {
  font-size: 24px;
  color: #292929;
  line-height: 1.4;
  margin-bottom: 0;
  transition: all 0.3s;
}
.why-i__item:hover .why-i__title {
  color: var(--primary-color);
  transition: all 0.3s;
}
.why-i__subtitle-container {
  display: none;
}

.why-i__item:hover .why-i__subtitle-container {
  display: block;
}
.why-i__subtitle-container p {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  transition: all 0.3s;
}
.why-i__item:hover .why-i__subtitle-container p {
  color: var(--primary-color);
  transition: all 0.3s;
}
/* /why */

/* order-form */
.order-form {

  background: rgb(0,0,0); /* Old browsers */ /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg,  rgba(0,0,0,1) 0%,rgba(26,26,26,1) 50%,rgba(78,61,102,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: -webkit-linear-gradient(339deg,  rgba(0,0,0,1) 0%,rgba(26,26,26,1) 50%,rgba(78,61,102,1) 100%);
  background: -o-linear-gradient(339deg,  rgba(0,0,0,1) 0%,rgba(26,26,26,1) 50%,rgba(78,61,102,1) 100%);
  background: linear-gradient(111deg,  rgba(0,0,0,1) 0%,rgba(26,26,26,1) 50%,rgba(78,61,102,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#4e3d66',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
  position: relative;
  overflow: hidden;
}
.order-form .order-form-container h2, .order-form .order-form-container p, .pre-headline {
  color: #ffffff;
}

.main-page .order-form-container .main_star.main_star0 {
  left: 70%;
  top: 60%;
  z-index: 0;
}
.main-page .order-form-container .main_star.main_star1 {
  left: 85%;
  width: 18px;
  height: 16px;
  z-index: 0;
}
.main-page .order-form-container .main_star.main_star2 {
  left: 35%;
  top: 80%;
  z-index: 0;
}
.main-page .order-form-container .main_star.main_star3 {
  left: 90%;
  top: 5%;
  z-index: 0;
}
.main-page .order-form-container .main_star.main_star4 {
  left: 46%;
  top: 50%;
  z-index: 0;
}
.main-page .order-form-container .main_star.main_star5 {
  left: 65%;
  top: 16%;
  z-index: 0;
}

.order-form .order-form-container h2 {
  text-align: left;
  margin: 0.2em auto;
}
.order-form .order-form-container .pre-headline {
  font-size: 14px;
}
.contact-block {
  background-color: #292929;
}
.contact-block__title {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 25px;
  text-align: center;
  display: block;
  color: #fff;
}
.contact-block__subtitle {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 35px;
  display: block;
  color: #fff;
  text-align: center;
}
.contact-block__btn {
  display: block;
  margin: 0 auto;
}

  /* contactform */
  #contactform, #contactform_1 {
    width: 100%;
    max-width: 700px;
  }
  #contactform .field-group,
  #contactform_1 .field-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  #contactform .field-group .field-group-container,
  #contactform_1 .field-group .field-group-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin: 50px 0;
  }
  #contactform .field-group .field-group-container .field-group_item,
  #contactform_1 .field-group .field-group-container .field-group_item {
    max-width: 210px;
    margin:  10px 10px;
    z-index: 10;
  }
  #contactform .field-group .field-group-container .field-group_item input,
  #contactform_1 .field-group .field-group-container .field-group_item input {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #878887;
    color: #ffffff;
    font-size: 18px;
    outline: none;
    padding: 5px 2px;
    border-radius: 0;
  }
  #contactform .field-group .field-group-container .field-group_item input:-internal-autofill-selected,
  #contactform_1 .field-group .field-group-container .field-group_item input:-internal-autofill-selected {
    background-color: transparent !important;
  }
  #contactform .field-group .field-group-container .field-group_item input:active,
  #contactform .field-group .field-group-container .field-group_item input:focus,
  #contactform_1 .field-group .field-group-container .field-group_item input:active,
  #contactform_1 .field-group .field-group-container .field-group_item input:focus {
    border-bottom: 1px solid #ffffff;
    outline: none;
  }
  #contactform .field-grop .field-group_item input::-webkit-input-placeholder,
  #contactform_1 .field-grop .field-group_item input::-webkit-input-placeholder {color: #878887; font-size: 18px;}
  #contactform .field-grop .field-group-container .field-group_item input:-ms-input-placeholder,
  #contactform_1 .field-grop .field-group-container .field-group_item input:-ms-input-placeholder {color: #878887; font-size: 18px;}
  #contactform .field-grop .field-group-container .field-group_item input::-ms-input-placeholder,
  #contactform_1 .field-grop .field-group-container .field-group_item input::-ms-input-placeholder {color: #878887; font-size: 18px;}
  #contactform .field-grop .field-group-container .field-group_item input::-webkit-input-placeholder,
  #contactform_1 .field-grop .field-group-container .field-group_item input::-webkit-input-placeholder {color: #878887; font-size: 18px;}
  #contactform .field-grop .field-group-container .field-group_item input::placeholder,
  #contactform_1 .field-grop .field-group-container .field-group_item input::placeholder {color: #878887; font-size: 18px;}
  #contactform .field-grop .field-group-container .field-group_item input:focus::-webkit-input-placeholder,
  #contactform_1 .field-grop .field-group-container .field-group_item input:focus::-webkit-input-placeholder {color: #ffffff;}
  #contactform .field-grop .field-group-container .field-group_item input:focus:-ms-input-placeholder,
  #contactform_1 .field-grop .field-group-container .field-group_item input:focus:-ms-input-placeholder {color: #ffffff;}
  #contactform .field-grop .field-group-container .field-group_item input:focus::-ms-input-placeholder,
  #contactform_1 .field-grop .field-group-container .field-group_item input:focus::-ms-input-placeholder {color: #ffffff;}
  #contactform .field-grop .field-group_item input:focus::-webkit-input-placeholder,
  #contactform_1 .field-grop .field-group_item input:focus::-webkit-input-placeholder {color: #ffffff;}
  #contactform .field-grop .field-group_item input:focus:-ms-input-placeholder,
  #contactform_1 .field-grop .field-group_item input:focus:-ms-input-placeholder {color: #ffffff;}
  #contactform .field-grop .field-group_item input:focus::-ms-input-placeholder,
  #contactform_1 .field-grop .field-group_item input:focus::-ms-input-placeholder {color: #ffffff;}
  #contactform .field-grop .field-group_item input:focus::placeholder,
  #contactform_1 .field-grop .field-group_item input:focus::placeholder {color: #ffffff;}

  #contactform .field-group .field-group_item.submit,
  #contactform_1 .field-group .field-group_item.submit {
    position: relative;
  }

  #contactform .field-group .field-group_item.submit input[type="submit"],
  #contactform_1 .field-group .field-group_item.submit input[type="submit"] {
    text-transform: uppercase;
    width: 250px;
    text-align: center;
    display: block;
    height: 50px;
    line-height: 50px;
    background-color: #f7481b;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    color: #ffffff;
    position: relative;
    cursor: pointer;
    outline: none;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    font-size: 18px;
  }
  #contactform .field-group .field-group_item.submit input[type="submit"]:hover,
  #contactform_1 .field-group .field-group_item.submit input[type="submit"]:hover {
    cursor: pointer;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(255,255,255,0.95);
    box-shadow: 0px 0px 5px 0px rgba(255,255,255,0.95);
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
  }
  #contactform .field-group .field-group_item.submit .arrow,
  #contactform_1 .field-group .field-group_item.submit .arrow {
    display: block;
    width: 25px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 185px;
    color: #ffffff;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    z-index: 10;
    background-image: url('../img/right-arrow.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  /* /contactform */

/* /order-form */
/* last-news */
.last-news .last-news-container h2,
.last-news .last-news-container article h3 {
  color: #333333;
  margin: 0;
}
.last-news .last-news-container > p {
  margin: 25px auto;
  max-width: 800px;
  text-align: center;
  color: #4a4f55;
}


/* .last-news */
/* content */
.two__columns {
  column-count: 2;
}
.two__columns p {
  -webkit-column-break-inside: avoid;
  break-inside: avoid;
}
/* / content */

/*
=lightbox
*/
.lightbox {
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  display: none;
  overflow-y: auto;
  z-index: 1000;

}
.lightbox img {
  max-width: 800px;
  width: 100%;
  height: auto;
}
.overlay {
  position: fixed;
  z-index: -1;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.8);
}

.lightbox #lightbox_close {
  position: absolute;
  top: 5px;
  right: 10px;
  padding: 10px;
  background-color: transparent;
  border: none;
  z-index: 100000;
}
.lightbox #lightbox_close i {
  color: #ffffff;
  font-size: 20px;
}

.lightbox figure {
  display: inline-block;
  position: relative;
  z-index: 1;
  width: 80%;
  max-width: 800px;
}


.lightbox figure .next,.lightbox figure .prev {
  position: fixed;
  display: inline-block;
  color:#ffffff;
  cursor: pointer;
  display: block;
  width: 25px;
  height: 50px;
  line-height: 50px;
  top: 50%;
  font-size: 25px;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}
.lightbox figure .next {
  right: calc(50% - 425px);
}
.lightbox figure .prev {
  left: calc(50% - 445px);
}

.lightbox figure .next:hover,.lightbox figure .prev:hover {
  background-color: rgba(255,255,255,.9);
  color: #333333;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

/* lightbox */
/* contacts */
main.kontakty .header-bg {
  width: 100%;
  max-height: 400px;
  min-height: 300px;
  position: relative;
  padding-top: 70px;
}
main.kontakty .header-bg img {
  width: 100%;
  height: 100%;
  -o-object-position: center;
     object-position: center;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}
main.kontakty .background_bg {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  left: 0;
  z-index: -1;
  top: 0;
}
.contacts {
  margin: 50px 0;
}

main.kontakty .breadcrumbs-container {
  margin: 0 0 30px 0;
  padding-top: 25px;
  position: relative;
}
main.kontakty .breadcrumbs {
  padding: 5px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

main.kontakty .breadcrumbs span {
  margin-bottom: 5px;
  color: #c4c5b1;
  font-size: 14px;
}
main.kontakty .breadcrumbs span.current {
  color: #ffffff;
}
main.kontakty .breadcrumbs a span {
 color: rgb(236, 153, 70);
 margin-bottom: 5px;
 -webkit-transition: all .3s;
 -o-transition: all .3s;
 transition: all .3s;
 font-weight: 400;
}
main.kontakty .breadcrumbs a:hover span {
 color: #ffffff;
 -webkit-transition: all .3s;
 -o-transition: all .3s;
 transition: all .3s;
}
main.kontakty .post-title h1 {
  color: #ffffff;
  text-transform: uppercase;
}
main.kontakty .description p {
  color: #ffffff;
  text-align: center;
  margin-top: 30px;
}
.contacts-info, .contacts-info .contacts-info-icons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.contacts-info .contacts-info-icons-group, .contacts-info .contacts-info-icons__item {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.contacts-info .contacts-info-icons-group {
  flex-wrap: wrap;
}
.contacts-info .contacts-info-icons-group .contacts-info-icons__item {
  margin: 0 20px 25px;
}
.contacts-info .contacts-info-icons__item img {
  margin-right: 10px;
}
.contacts-info .recvizity {
  margin: 50px auto 0;
  max-width: 500px;
}
.contacts-info .recvizity .title {
  display: block;
  text-align: center;
  font-weight: 700;
  margin-bottom: 25px;
}
.contacts-info .recvizity  p {
  line-height: 30px;
  text-align: center;
}
.contacts-info .recvizity .gos-reg {
  margin: 15px auto 0;
  background-color: transparent;
  text-align: center;
  display: block;
  color: #f7481b;
  text-decoration: underline;
  border: none;
  line-height: 1.4;
  outline: 0;
  font-size: 16px;
}
main.kontakty .map {
  min-height: 450px;
  background-color: #e5e5e5;
  position: relative;
  width: 100%;
}
main.kontakty .map::before {
  /*content: 'Карта скоро загрузится';*/
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  font-size: 24px;
  position: absolute;
  left: 50%;
  top: 50%;
  text-align: center;
  transform: translateX(-50%) translateY(-50%);
}
main.kontakty .form-block {
  margin: 50px 0 95px;
}
main.kontakty .form-block p {
  text-align: center;
}
main.kontakty .form-block .open_form {
  text-transform: uppercase;
  max-width: 380px;
  width: 100%;
  text-align: center;
  display: block;
  height: 70px;
  font-size: 22px;
  color: #ffffff;
  line-height: 70px;
  background-color: #f7481b;
  border: none;
  border-radius: 35px;
  font-weight: 700;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  margin: 45px auto 0;
}
main.kontakty .form-block .open_form:hover {
  cursor: pointer;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(255,255,255,0.75);
  box-shadow: 0px 0px 5px 0px rgba(255,255,255,0.75);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
main.kontakty .form-block .open_form:after {
  content: '\2192';
  width: 25px;
  color: #ffffff;
  font-size: 24px;
}
.svidetelstvo-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  display: none;
  overflow-y: auto;
  z-index: 1000;
  background-color: rgba(0,0,0,.8);
}
.svidetelstvo-overlay.active {
  display: block;
}
.svidetelstvo-overlay-container {
  height: 100%;
}
.svidetelstvo-overlay-container .svidetelstvo {
  position: relative;
  height: calc(100% - 50px);
  width: auto;
  max-width: 600px;
  margin: 30px auto 0;
}
.svidetelstvo-overlay img {
  height: calc(100vh - 50px);
  width: 100%;
  display: block;
  object-fit: contain;
}
#svidetelstvo-close {
  position: absolute;
  top: -25px;
  right: -30px;
  padding: 10px;
  background-color: transparent;
  border: none;
  z-index: 100000;
}
#svidetelstvo-close i {
  color: #fff;
  font-size: 20px;
}
/* d_line */
.d_line, .c-webfox {
  position: relative;
  display: block;
  width: 100%;
}
.d_line::after {
  content: '';
  display: block;
  width: 91px;
  height: 10px;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url('../img/icons/arrow2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform-origin: left center;
  transform: rotate(90deg);
}
.d_line::before {
  content: '';
  display: block;
  width: 22px;
  height: 22px;
  position: absolute;
  top: 82px;
  left: -11px;
  background-color: var(--primary-color);
  border-radius: 50%;
}
/* /d_line */

/* contacts */
/* 404 */
main.not-found .cont-container {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/* 404 */
/* company */
main.company h1 {
  /*color: #292929;*/
}
.technologies__items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: -20px;
}
.technologies__item {
  width: calc(100% / 4 - 14px);
  margin-right: calc(14px * 4 / 3);
  min-height: 220px;
  padding: 50px 40px 40px;
  box-sizing: border-box;
  margin-bottom: 20px;
  border-radius: 30px;
  box-shadow: 0px 0px 57px 0px rgba(0, 0, 0, 0.09);
  transition: all .3s;
}
.technologies__item:hover {
  background-color: var(--primary-color);
  transition: all .3s;
}
.technologies__item:nth-child(4n) {
  margin-right: 0;
}
.technologies__title {
  display: block;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 30px;
  line-height: 1.3;
}
.technologies__text {
  font-size: 18px;
  line-height: 1.6;
}
.technologies__item:hover .technologies__title,
.technologies__item:hover .technologies__text {
  color: #fff;
  transition: all .3s;
}
.mission {
  background-color: #292929;
  position: relative;
}
.mission::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-image: url('../img/ordinary-content.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: .03;
}
.mission-content {
  position: relative;
}
.mission .h2,
.mission h2 {
  color: #fff;
}
.mission p,
.mission a,
.mission span {
  color: #fff;
  font-size: 18px;
}
.mission ul li,
.mission ol li {
  color: #fff;
  font-family: 21px;
}
.mission p:last-of-type {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.6;
}
.mission p:last-of-type span {
  font-size: 30px;
  color: var(--primary-color);
  font-weight: 900;
}

.choise-list__item {
  display: flex;
  flex-direction: row;
  margin-bottom: 50px;
}
.choise-list__item:nth-child(2n) {
  flex-direction: row-reverse;
}
.choise-list__item:last-child {
  margin-bottom: 0;
}
.choise-list__img {
  width: calc(100% / 2 + 145px);
  border-radius: 30px;
  height: 430px;
  margin-right: -145px;
  position: relative;
  object-fit: cover;
  object-position: center;
}
.choise-list__content {
  width: calc(100% / 2 - 20px);
  min-height: 350px;
  padding: 70px 150px 70px 60px;
  background-color: #fff;
  border-radius: 30px;
  box-sizing: border-box;
  box-shadow: 0px 0px 57px 0px rgba(0, 0, 0, 0.09);
  z-index: 2;
  margin-top: 160px;
  position: relative;
}
.choise-list__item:nth-child(2n) .choise-list__img {
  margin-right: 0;
  margin-left: -145px;
}
.choise-list__content p,
.choise-list__content span {
  font-size: 18px;
  line-height: 1.6;
}
.choise-list__content .choise-list__number {
  position: absolute;
  top: 50px;
  right: 50px;
  font-size: 90px;
  font-weight: 900;
  line-height: 1;
  color: #dadada;
}
/* /company */
/* seo */
.why__items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: -20px;
}
.why__item {
  width: calc(100% / 4 - 13px);
  margin-right: calc(13px * 4 / 3);
  margin-bottom: 20px;
  padding: 80px 60px;
  box-sizing: border-box;
  background-color: #fff;
  box-shadow: 0px 0px 57px 0px rgba(0, 0, 0, 0.09);
  border-radius: 30px;
  transition: all .3s;
}
.why__item:nth-child(4n) {
  margin-right: 0;
}
.why__item:hover {
  background-color: var(--primary-color);
  transition: all .3s;
}
.why__item:hover img {
  filter: brightness(0) invert(1);
  transition: all .3s;
}
.why__item:hover p,
.why__item:hover .why__text {
  color: #Fff;
  transition: all .3s;
}

.why__icon {
  display: block;
  width: 63px;
  height: 63px;
  object-fit: contain;
  object-position: center bottom;
  margin: 0 auto 30px;
}
.why__text {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
  display: block;
  transition: all .3s;
}
.reason {
  background-color: #292929;
  position: relative;
}
.reason::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-image: url('../img/ordinary-content.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: .03;
}
.reason-container {
  position: relative;
}
.reason h2,
.reason .h2 {
  color: #fff;
  text-align: center;
}
.reason span,
.reason p {
  color: #fff;
}
.reason__items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: -20px;
}
.reason__item {
  width: calc(100% / 4);
  position: relative;
}
.reason__number {
  font-size: 200px;
  font-weight: 900;
  display: block;
  opacity: .05;
}
.reason__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  font-size: 21px;
  line-height: 1.3;
  width: calc(100% - 40px);
  text-align: left;
  width: max-content;
  font-weight: 700;
}
.tarif__items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: -20px;
}
.tarif__item {
  width: calc(100% / 3 - 13px);
  margin-right: calc(13px * 3 / 2);
  margin-bottom: 20px;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  height: max-content;
  box-shadow: 0px 0px 27px 0px rgba(0, 0, 0, 0.14);
}
.tarif__item:nth-child(3n) {
  margin-right: 0;
}
.tarif__header {
  padding: 40px 20px;
  box-sizing: border-box;
  border-radius: 30px;
  background-color: var(--primary-color);
}
.tarif__plan {
  font-size: 18px;
  text-transform: uppercase;
  display: block;
  line-height: 1.3;
  margin-bottom: 15px;
  text-align: center;
  color: #fff;
}
.tarif__name {
  font-size: 36px;
  font-weight: 900;
  display: block;
  text-align: center;
  color: #fff;
}
.tarif__content {
  padding: 20px 40px 60px 40px;
  box-sizing: border-box;
}
.tarif__btn {
  display: block;
  margin: 40px auto 0;
  width: 190px;
}

/* /seo */
/* developement */
.benefits__content {
  max-width: 1200px;
}
.benefits__content p {
  font-size: 21px;
}
.benefits__items {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  margin-top: 30px;
  gap:20px;
}
.benefits__item {
  width: 100% ;
  box-shadow: 0px 0px 57px 0px rgba(0, 0, 0, 0.09);
  background-color: #fff;
  padding: 50px 25px;
  box-sizing: border-box;
  border-radius: 30px;
}
.benefits__item:nth-child(5n) {
  margin-right: 0;
}
.benefits__icon {
  width:  82px;
  height: 75px;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  margin: 0 auto 24px;
}
.benefits__text {
  display: block;
  text-align: center;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
  color: var(--primary-color);
}
/* / developement */
/* design */
.ordinary-post-block__design {
  margin-bottom: 100px;
}
.results {
  position: relative;
  background-color: #292929;
}
.results::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url('../img/fon_context_01.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.05;
}
.results-container {
  position: relative;
}
.results h2,
.results .h2 {
  text-align: center;
  color: #fff;
}
.results__items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: -20px;
}
.results__item {
  width: calc(100% / 4 - 13px);
  margin-right: calc(13px * 4 / 3);
  padding: 20px 40px;
  box-sizing: border-box;
}
.results__item:nth-child(4n) {
  margin-right: 0;
}
.results__icon {
  width: 76px;
  height: 76px;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  margin: 0 auto 20px;
}
.results__text {
  display: block;
  text-align: center;
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.propositions__items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: -20px;
}
.propositions__item {
  width: calc(100% / 3 - 13px);
  margin-right: calc(13px * 3 / 2);
  margin-bottom: 20px;
  border-radius: 30px;
  padding: 70px 50px;
  box-sizing: border-box;
  box-shadow: 0px 0px 57px 0px rgba(0, 0, 0, 0.09);
  transition: all .3s;
}
.propositions__item:nth-child(3n) {
  margin-right: 0;
}
.propositions__item:hover {
  background-color: var(--primary-color);
  transition: all .3s;
}
.propositions__icon {
  width: 120px;
  height: 75px;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  margin: 0 auto 20px;
  transition: all .3s;
}
.propositions__item:hover .propositions__icon {
  filter: brightness(0) invert(1);
  transition: all .3s;
}
.propositions__text {
  display: block;
  color: var(--primary-color);
  text-align: center;
  transition: all .3s;
}
.propositions__item:hover .propositions__text {
  color: #fff;
  transition: all .3s;
}
/* /design */
/* advantages */
.advantages__content {
  max-width: 1280px;
  margin-bottom: 50px;
}
.advantages__items {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap:20px;
  margin-bottom: -20px;
}
.advantages__item {
  width:100%;
  padding: 50px 40px;
  box-sizing: border-box;
  box-shadow: 0px 0px 57px 0px rgba(0, 0, 0, 0.09);
  border-radius: 30px;
  background-color: #fff;
  transition: all .3s;
}
.advantages__item:nth-child(4n) {
  margin-right: 0;
}
.advantages__item:hover {
  background-color: var(--primary-color);
  transition: all .3s;
}
.advantages__icon {
  width: 90px;
  height: 75px;
  object-position: center bottom;
  object-fit: contain;
  display: block;
  margin: 0 auto 20px;
  transition: all .3s;
}
.advantages__item:hover .advantages__icon {
  filter: brightness(0) invert(1);
  transition: all .3s;
}
.advantages__title {
  display: block;
  text-align: center;
  color: var(--primary-color);
  transition: all .3s;
}
.advantages__text {
  font-size: 18px;
  display: block;
  text-align: center;
  line-height: 1.5;
  transition: all .3s;
}
.advantages__item:hover .advantages__title,
.advantages__item:hover .advantages__text {
  color: #fff;
  transition: all .3s;
}
/* advantages */
/* page-social */
.reason.reason-social::before {
  background-image: url('../img/fon_social.jpg');
  opacity: .05;
}
.social-work__items {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap:20px;
  margin-bottom: -30px;
}
.social-work__item {
  width:100%;

  background-color: #fff;
  box-shadow: 0px 0px 57px 0px rgba(0, 0, 0, 0.09);
  border-radius: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;

}
.social-work__item:nth-child(4n) {
  margin-right: 0;
}
.social-work__icon-container {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  border-radius: 20px;
  justify-content: center;
}
.social-work__icon {
  width: 40px;
  height: 36px;
  object-fit: contain;
  object-position: center;
  filter: brightness(0) invert(1);
}
.social-work__name {
  font-size: 24px;
  font-weight: 700;
  display: block;
  text-align: center;
  width: calc(100% - 100px);
}
/* /page-social */

/* how */
.how {
  background-color: #292929;
  position: relative;
  overflow: hidden;
}
.how::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-image: url('../img/how-seo.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.1;
  position: absolute;
  top: 0;
  left: 0;
}
.how-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.how__title,
.how .left-side p {
  color: #fff;
  font-size: 18px;
}
.how .left-side {
  width: 25%;
  position: relative;
}
.how .right-side {
  width: 70%;
  position: relative;
  padding: 40px 0 40px 70px;
  box-sizing: border-box;
  background-color: #f3f3f3;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  position: relative;
}
.right-side.__content p {
  font-size: 18px;
}
.how .right-side::before {
  content: '';
  height: 100%;
  width: 150px;
  min-width: 50px;
  background-color: #f3f3f3;
  position: absolute;
  left: 99%;
  top: 0;
}
.steps {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: -20px;
}
.step {
  width: calc(100% / 4 - 13px);
  margin-right: calc(13px * 4 / 3);
  margin-bottom: 20px;
}
.step:nth-child(4n) {
  margin-right: 0;
}
.step__number {
  font-size: 30px;
  font-weight: 900;
  display: block;
  margin-bottom: 15px;
  color: #dadada;
}
/* how */
/* not-found */
.not-found {
  padding: 95px 0;
}
.not-found h1 {
  font-size: 42px;
  text-align: center;
}
/* /not-found */
.masked-input__placeholder.input span{
  color: #002642a8;
}
/*******************TABLE************************/
table{
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 1em 0;
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #333;
  background-color: #d0d0d0;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

table th {
  background-color: #f4f4f4;
  color: #555;
  text-align: left;
  padding: 12px 15px;
  border-bottom: 2px solid #ddd;
  font-weight: 600;
}

table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}

table tr:nth-child(even) {
  background-color: #fafafa;
}
table tr td[colspan="2"]{
  text-align: center;
}
table tr:first-child{
  font-weight: 600;
  background-color: rgba(41, 41, 41, 1);;
}
table tr:first-child td{
  color: #fff;
}
/*table tr:hover:not(tr:first-child) {*/
/*  background-color: #ff54006e;*/
/*  transition: background-color 0.3s ease;*/
/*}*/


/************************************************/
/* pagination */
section.category-s {
  padding: 95px 0 0 0;
}
.pagination{
  margin-bottom: 45px;
  display: flex;
  justify-content: center;
}
.pagination ul.page-numbers{
  display: flex;
  flex-direction: row;
  gap: 15px;
}
li .page-numbers{
  font-weight: 700;
  font-size: 20px;
  padding: 10px 18px;
  border: 3px solid #E0643F;
  border-radius: 5px;
}
li .page-numbers.current{
  background-color: #E0643F;
  color: #ffffff;
}
/*************************************************/

.blog a.blog-link{
  font-weight: 550;
  text-decoration: underline;
}