@font-face {
  font-family: 'Ubuntu';
  font-weight: normal;
  font-style: normal;
  src: url('/font/Ubuntu-Regular.ttf');
}

@font-face {
  font-family: 'Ubuntu';
  font-weight: normal;
  font-style: italic;
  src: url('/font/Ubuntu-Italic.ttf');
}

@font-face {
  font-family: 'Ubuntu';
  font-weight: 500;
  font-style: normal;
  src: url('/font/Ubuntu-Medium.ttf');
}

@font-face {
  font-family: 'Ubuntu';
  font-weight: 500;
  font-style: italic;
  src: url('/font/Ubuntu-MediumItalic.ttf');
}

@font-face {
  font-family: 'Ubuntu';
  font-weight: bold;
  font-style: normal;
  src: url('/font/Ubuntu-Bold.ttf');
}

@font-face {
  font-family: 'Ubuntu';
  font-weight: bold;
  font-style: italic;
  src: url('/font/Ubuntu-BoldItalic.ttf');
}

.sticky {
  position: fixed;
  z-index: 1;
}

.stop {
  position: relative;
  z-index: 1;
}

.parallax-mirror::after {
  display: table;
  content: '';
  clear: both;
}

.scrollyeah {
  display: block;
}

.process_desktop,
.materials_desktop {
  display: none;
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font: 18px Ubuntu, Verdana, sans-serif;
  min-width: 320px;
  -webkit-text-size-adjust: none;
}

a {
  color: rgb(21, 96, 189);
  border-bottom: 1px solid rgba(21, 96, 189, .2);
  text-decoration: none;
  transition-property: border-bottom, border-color, color;
  transition-duration: .33s;
  transition-timing-function: ease-out;
}

a:hover {
  color: rgb(192, 64, 0);
  border-bottom: 1px solid rgba(192, 64, 0, .2);
  transition: none;
}

.img-link,
.img-link:hover {
  border: none;
}

/* Текст */
.main-header {
  font-weight: 500;
  font-size: 28px;
}

.block-header {
  font-weight: 500;
  font-size: 28px;
  margin: 20px 0;
}

.block-header_center {
  text-align: center;
  font-size: 26px;
}

.block-header+p:nth-child(2) {
  margin-top: -10px;
}

.small-header {
  font-weight: 500;
  font-size: 24px;
  margin: 15px 0 10px;
}

.text+.small-header {
  margin-top: 40px;
}

p {
  line-height: 1.6em;
  margin-bottom: 10px;
}

/* Элементы интерфейса */
.button {
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  padding: 10px 30px 11px;
  border-radius: 7px;
  cursor: pointer;
  outline: none;
  /* потом наверно удалить */
}

.button_filled {
  color: #fff;
  background-color: #ee9833;
  border: none;
  border-bottom: 2px solid #d6820b;
}

.button_filled:active {
  border-bottom: none;
  margin-top: 2px;
}

.button_contour {
  color: #ee9833;
  background-color: #fff;
  border: 2px solid #ee9833;
  padding-bottom: 12px;
  transition-property: background-color, color;
  transition-duration: .2s;
  transition-timing-function: ease-out;
}

.button_contour:active {
  background-color: #ee9833;
  color: #fff;
  transition: none;
}

/* Сетка */
.container {
  min-width: 320px;
  padding: 20px 20px 20px 20px;
}

.container:nth-child(1) {
  padding-top: 20px;
}

.fullwidth-wrap {
  background-size: cover;
  background-position: 50% 50%;
}

.fullwidth-wrap_main-page {
  font-size: 24px;
  /*background-image: url(img/header.jpg); ЗАМЕНЕН ПАРАЛЛАКСОМ*/
  color: #fff;
  padding-bottom: 20px;
}

.fullwidth-wrap_main-page a.header__phone,
.fullwidth-wrap_main-page a.header__logo {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, .33);
  transition: none;
}

.fullwidth-wrap_main-page a.header__phone:hover,
.fullwidth-wrap_main-page a.header__logo:hover {
  border-bottom: none;
  color: #fff;
}

/* Костыль */
.fullwidth-wrap_type-of-work {
  font-size: 24px;
  /*background-image: url(img/header.jpg); ЗАМЕНЕН ПАРАЛЛАКСОМ*/
  color: #fff;
  margin-bottom: 20px;
}

.fullwidth-wrap_type-of-work a.header__phone,
.fullwidth-wrap_type-of-work a.header__logo {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, .33);
  transition: none;
}

.fullwidth-wrap_type-of-work a.header__phone:hover,
.fullwidth-wrap_type-of-work a.header__logo:hover {
  border-bottom: none;
  color: #fff;
}

/* ФОНЫ ДЛЯ СТРАНИЦ САЙТА (ЗАМЕНЕНЫ ПАРАЛЛАКСОМ) */
/*.elektromontazhnye {
  background-image: url(img/elektromontazhnye-background.jpg);
}
.santehnicheskie {
  background-image: url(img/santehnicheskie-background.jpg);
}
.plitochnye {
  background-image: url(img/plitochnye-background.jpg);
}
.chernovye {
  background-image: url(img/chernovye-background.jpg);
}
.chistovye {
  background-image: url(img/chistovye-background.jpg);
}*/

.fullwidth-wrap_process {
  background-image: linear-gradient(120deg, #fda085 0%, #f6d365 100%);
  color: #fff;
  margin-top: 60px;
  padding-bottom: 20px;
}

/* Форма заявки */
.form-wrap {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .66);
  display: none;
  z-index: 2;
}

.form {
  min-width: 320px;
  max-width: 380px;
  margin: 0 auto;
  padding: 20px 25px 35px 25px;
  background-color: #fff;
}

.form_bottom {
  padding: 0;
  min-width: 280px;
  max-width: 340px;
}

.form_type-of-work {
  min-width: 320px;
  margin-left: -20px;
  margin-top: 15px;
}

.form__close {
  float: right;
  width: 30px;
  height: 30px;
  text-align: right;
  font-size: 48px;
  line-height: 25px;
  cursor: pointer;
}

.form .button {
  width: 100%;
  font-size: 24px;
}

.form__header {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 15px;
}

.form__input-wrap {
  display: block;
  margin-bottom: 20px;
}

.form__input-wrap_last {
  margin-bottom: 25px;
}

.form__input {
  display: block;
  font: inherit;
  width: 100%;
  margin-top: 5px;
  padding: 10px 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 7px;
}

.form__input::placeholder {
  color: rgba(0, 0, 0, 0.35);
  opacity: 1;
}

.form__response {
  display: none;
  margin-top: -5px;
}

.form__response-img {
  width: 20px;
  height: 20px;
}

.form__response-img_ok {
  float: left;
  margin-right: 5px;
}

.form__response-text {
  font-size: 15px;
}

.form__response-text_ok {
  color: #1d6300;
}

.form__response-text_fail {
  color: #a00000;
  display: block;
  margin-top: -26px;
  margin-left: 26px;
}

/* Шапка */
.header {
  font-size: 24px;
}

.header::after {
  display: table;
  content: '';
  clear: both;
}

.header__logo {
  font-weight: 500;
}

a.header__logo {
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, .33);
}

a.header__logo:hover {
  color: #666;
  border-bottom: 1px solid rgba(102, 102, 102, .33);
}

.header__phone {
  display: inline-block;
  text-decoration: none;
  color: #000;
  margin: 15px 0;
}

.header__phone:hover {
  color: #666;
}

/* Фактоиды */
.facts__items {
  list-style-type: none;
}

.facts__item {
  display: inline-block;
  font-size: 24px;
  margin-right: 50px;
  margin-bottom: 20px;
}

.facts__number {
  font-size: 32px;
  font-weight: 500;
}

/* Услуги */
.services .button {
  font-size: 24px;
}

.services__item {
  margin-bottom: 65px;
  margin-top: 65px;
}

.services__item:first-child {
  margin-top: 0;
}

.services__item:last-child {
  margin-bottom: 0;
}

.services__item::after {
  display: table;
  content: '';
  clear: both;
}

.services__col {
  width: 100%;
}

.services__img {
  width: 100%;
  margin-bottom: 5px;
  border-radius: 7px;
  transition-property: border-bottom, border-color, color;
  transition-duration: .33s;
  transition-timing-function: ease-out;
}

.services__img:hover {
  /*border: 1px solid #444;*/
  transition: none;
}

.services__item-header {
  text-decoration: none;
  color: #000;
  border-bottom: 1px solid rgba(0, 0, 0, .33);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.3em;
}

.services__item-header:hover {
  color: #444;
  border-bottom: 1px solid rgba(68, 68, 68, .33);
}

.services__text {
  margin: 8px 0 15px;
}

/* Как мы работаем */
.process__item {
  margin-top: 40px;
  width: 200px;
  float: left;
  margin-right: 40px;
}

.process__item:last-child {
  margin-right: 0;
}

.process__img {
  width: 150px;
}

/* Используем материалы */
.materials {
  margin-bottom: 20px;
}

.materials__item {
  margin-top: 40px;
  width: 200px;
  float: left;
  margin-right: 40px;
}

.materials__item:last-child {
  margin-right: 0;
}

.materials__img {
  width: 150px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 100px;
}

/* Форма для страниц видов работ */
.type-of-work-header {
  margin-top: 10px;
}

.type-of-work-header__left,
.type-of-work-header__right {
  width: 100%;
}


/* Фикс лендскейпа на телефонах */
@media screen and (min-width: 568px) and (max-width: 667px) and (orientation: landscape) {
  .form-wrap .form {
    width: 100%;
    max-width: 600px;
  }

  #form-wrap>div>form>label:nth-child(2) {
    float: left;
    width: 48%;
    margin-right: 4%;
  }

  #form-wrap>div>form>label.form__input-wrap.form__input-wrap_last>input {
    width: 48%;
  }
}

/* Десктоп */
@media screen and (min-width: 1024px) {
  .scrollyeah {
    display: none;
  }

  .process_desktop,
  .materials_desktop {
    display: block;
  }

  /* Текст */
  .main-header {
    font-size: 48px;
  }

  .block-header {
    font-size: 42px;
  }

  .small-header {
    font-size: 32px;
  }

  .text {
    max-width: 75%;
  }

  .type-of-work-header {
    margin-top: 25px;
  }

  .type-of-work-header__left .text {
    max-width: 600px;
  }

  /* Сетка */
  .container {
    width: 1024px;
    margin: 0 auto;
  }

  /* Форма */
  .form-wrap .form {
    margin-top: 100px;
    border-radius: 7px;
  }

  .form_type-of-work {
    box-shadow: 0px 0px 18px 1px rgba(0, 0, 0, 0.15);
    border-radius: 7px;
    margin-top: 20px;
  }

  /* Шапка */
  .header .button {
    display: block;
    float: right;
  }

  .header__left {
    width: 50%;
    float: left;
  }

  .header__right {
    text-align: right;
  }

  .header__logo {
    display: inline-block;
    margin-top: 10px;
  }

  .header__phone {
    margin: 10px 20px 0 0;
  }

  /* Фактоиды */
  .facts__number {
    font-size: 36px;
  }

  /* Услуги */
  .block-header+.services {
    margin-top: 25px;
  }

  .services__col {
    width: 50%;
  }

  .services__col_left {
    float: left;
    padding-right: 20px;
  }

  .services__col_right {
    float: right;
    padding-left: 20px;
  }

  .services__item-header {
    font-size: 32px;
  }

  .services__img {
    margin-bottom: 0;
  }

  /* Как мы работаем */
  .process::after {
    display: table;
    content: '';
    clear: both;
  }

  .process__item {
    width: 25%;
    float: left;
    margin-top: 0;
    padding-right: 20px;
    text-align: left;
    margin-right: 0;
  }

  /* Используем материалы */
  .materials::after {
    display: table;
    content: '';
    clear: both;
  }

  .materials__item {
    width: 190px;
    float: left;
    margin-top: 0;
    padding-right: 20px;
    text-align: left;
    margin-right: 0;
  }

  /* Форма для страниц видов работ */
  .type-of-work-header::after {
    display: table;
    content: '';
    clear: both;
  }

  .type-of-work-header__left {
    width: 660px;
    float: left;
  }

  .type-of-work-header__right {
    width: 320px;
    float: right;
  }

  /* Подвал */
  .footer {
    margin-bottom: 15px;
  }

  .footer::after {
    display: table;
    content: '';
    clear: both;
  }

  .footer__left {
    width: 50%;
    float: left;
    padding-right: 20px;
  }

  .footer__right {
    width: 50%;
    float: right;
    text-align: right;
  }
}