*,
*::before,
*::after {
  box-sizing: border-box; }

ul[class],
ol[class] {
  padding: 0; }

body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0; }

#fancybox-content { 
    overflow: hidden
}


a {
  margin: 0;
  padding: 0;
  text-decoration: none; }

img {
  max-width: 100%;
  display: block; }

ul {
  list-style: none; }

body {
  font-family: Rubik, sans-serif;
  font-size: 16px;
  font-style: normal;
  color: #233D4C;
  line-height: 1.5;
  margin-right: auto !important;
    overflow-y: auto !important;
  background-color: #fbfbfb;
  -webkit-transition: 0.5s ease-in-out;
          transition: 0.5s ease-in-out; }

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto; }

.header {
  padding-bottom: 100px;
  position: absolute;
  width: 100%;
  height: 100px;
  top: 0;
  left: 0;
  z-index: 1000; }
  .header.fixed {
    position: fixed;
    background-color: #fbfbfb; }
  .header.fixed .header__nav {
    border-bottom: 0; }
  .header__nav {
    max-width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    max-width: 100%;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 20px 0; }
  .header__contacts {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center; }
    .header__contacts a {
      font-family: Rubik, sans-serif;
      font-size: 20px;
      font-weight: normal;
      color: #659C87;
      text-decoration: none;
      margin-right: 25px; }
    .header__contacts a:hover {
      color: #FDC842;
      text-decoration: underline; }

.logo {
  font-family: Rubik, sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: #659C87; }

.logo:hover {
  opacity: 0.8
}

.nav__menu {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex; }

.menu__item {
  -webkit-transition: opacity 0.1s linear;
          transition: opacity 0.1s linear; }
  .menu__item a {
    font-family: Rubik, sans-serif;
    font-size: 16px;
    font-style: normal;
    color: #233D4C;
    margin-right: 27px;
    text-decoration: none;
    text-transform: uppercase; }
  .menu__item a:hover {
    color: #FDC842;
    text-decoration: underline; }

.contact__phone,
.contact__mail {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center; }

.mail, .phone {
  display: block;
  width: 20px;
  height: 20px;
  margin-right: 7px;
  fill:#659C87 }

.offer__cta {
  text-align: center; }

.cta {
  display: inline-block;
  width: 250px;
  font-family: Rubik, sans-serif;
  font-weight: normal;
  font-size: 18px;
  cursor: pointer;
  text-decoration: none;
  background: -webkit-linear-gradient(135deg, #FDC842, #FDE642, #FDC842, #FEED71);
  background: linear-gradient(-45deg, #FDC842, #FDE642, #FDC842, #FEED71);
  -webkit-animation: animate_gradient 5s ease infinite;
          animation: animate_gradient 5s ease infinite; }
  .cta:hover {
    opacity: 0.8; }


.offer {
  background: -webkit-linear-gradient(rgba(251, 251, 251, 0.95), rgba(251, 251, 251, 0.98)), url("../img/bg/header-bg.jpg");
  background: linear-gradient(rgba(251, 251, 251, 0.95), rgba(251, 251, 251, 0.98)), url("../img/bg/header-bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #fbfbfb;
  max-width: 100%;
  padding-top: 250px;
  margin-bottom: 100px; }
  .offer__wrapper {
    max-width: 100%;
    width: 600px;
    margin: 0 auto; }
  .offer__suptitle {
    display: block;
    font-size: 36px;
    font-weight: normal;
    color: #233D4C;
    line-height: 1;
    margin-bottom: 15px; }
  .offer__title {
    display: block;
    font-size: 96px;
    font-weight: bold;
    line-height: 1;
    color: #233D4C;
    margin-bottom: 20px; }
  .offer__item {
    margin-bottom: 15px;
    font-size: 36px;
    line-height: 1;
    color: #233D4C;
    background: url(../img/icons/check.svg) no-repeat 0px 6px;
    padding-left: 30px; }
  .offer__cta {
    margin-top: 60px;
    margin-bottom: 60px; }
  .offer__advantages {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between; }

.advantages__item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center; }
  .advantages__item p {
    font-size: 16px;
    color: #233D4C;
    line-height: 1; }
  .advantages__item__ico {
    width: 48px;
    height: 48px;
    margin-right: 10px;
    fill: #659C87; }

.cta {
  display: inline-block;
  background-color: #FDC842;
  padding: 20px 25px;
  color: #233D4C;
  border-radius: 5px; }
  .cta:hover {
    box-shadow: 2px 2px 4px #fdc842;
    background-color: #f1b621; }

.section {
  margin-bottom: 100px;
  padding-top: 65px; }
  .section__title {
    font-size: 36px;
    font-weight: bold;
    line-height: 1;
    color: #233D4C;
    margin-bottom: 75px;
    text-align: center; }
  .section__item p {
    font-size: 16px;
    line-height: 1.5;
    color: #233D4C; }
  .section__cta {
    margin-top: 65px;
    text-align: center; }

.services__row {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  text-align: center;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap; }
.services__item {
  width: 25%;
  display: block; }
  .services__item p {
    margin-top: 15px; }
  .services__item img {
    display: block;
    margin: 0 auto;
    width: 150px;
    height: 150px; }
.services__sale {
  display: block;
  max-width: 100%;
  width: 520px;
  padding-top: 75px;
  margin: 0 auto;
  text-align: center; }
.services__excel {
  margin-top: 7px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center; }
.services__download {
  width: 30px;
  height: 30px;
  margin-right: 8px; }
.services__text {
  font-size: 24px;
  font-weight: normal;
  line-height: 1.5;
  color: #233D4C; }
  .services__text:hover {
    color: #FDC842;
    text-decoration: underline; }

.sale__title {
  font-size: 24px;
  font-weight: normal;
  line-height: 1.2;
  color: #233D4C
   }
  .sale__title span {
    font-weight: bold; }


.gallery {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 5vw);
  grid-gap: 1.5rem; }

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; }

.gallery__item--1 {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3; }

.gallery__item--2 {
  grid-column-start: 3;
  grid-column-end: 5;
  grid-row-start: 1;
  grid-row-end: 3; }

.gallery__item--3 {
  grid-column-start: 5;
  grid-column-end: 9;
  grid-row-start: 1;
  grid-row-end: 6;
  grid-row: 1/span 5; }

.gallery__item--4 {
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 3;
  grid-row-end: 6; }

.gallery__item--5 {
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 6;
  grid-row-end: 9; }

.gallery__item--6 {
  grid-column-start: 5;
  grid-column-end: 9;
  grid-row-start: 6;
  grid-row-end: 9; }


#promo {
  max-width: 100%;
  padding-top: 65px;
  padding-bottom: 65px;
  background: -webkit-linear-gradient(rgba(101, 156, 135, 0.95), rgba(101, 156, 135, 0.9)), url("../img/bg/cartridge.png");
  background: linear-gradient(rgba(101, 156, 135, 0.95), rgba(101, 156, 135, 0.9)), url("../img/bg/cartridge.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #FDFDFD; }

.promo__content {
  max-width: 100%;
  width: 1050px;
  margin: 0 auto; }

.promo__title {
  display: block;
  color: #233D4C;
  font-family: Rubik, sans-serif;
  font-weight: normal;
  font-size: 30px;
  text-align: left;
  line-height: 1.2;
  margin-bottom: 60px;
  color: #fbfbfb; }

.promo__title:nth-child(3) {
  margin-bottom: 0; }

.job__content {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin: 0 auto; }
.job__item {
  display: block;
  text-align: center; }

.services-ico {
  display: block;
  margin-bottom: 15px;
  width: 150px;
  height: 150px
   }


.brands__inner {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 15px; }

.brands__item {
  display: block;
  padding-right: 35px; }

.brands__ico {
  display: block;
  width: 150px;
  height: 150px; }


.footer {
  padding: 65px 0;
  background-color: #233D4C; }
  .footer__inner {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    }
    .footer__inner .header__contacts .contacts__phone, .footer__inner .header__contacts .contacts__mail {
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
      -webkit-align-items: center;
          -ms-flex-align: center;
              align-items: center; }

.footer__social {
  margin-top: 45px;
  text-align: center
 }
  .footer__social p {
    font-size: 16px;
    font-weight: normal;
    color: #659C87; }
  .footer__social a {
    font-size: 14px;
    font-weight: normal;
    color: #659C87; }
  .footer__social a:hover {
    color: #FDC842;
    text-decoration: underline; }


.burger {
  display: none;
  padding: 9px 2px;
  background: none;
  border: 0;
  cursor: pointer; }

.burger__item {
  display: block;
  width: 28px;
  height: 3px;
  background-color: #233D4C;
  font-size: 0;
  color: transparent;
  cursor: pointer;
  position: relative }

  .burger__item:before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: #233D4C;
    position: absolute;
    left: 0;
    z-index: 1;
    top: -8px; }
  .burger__item:after {
    content: "";
    width: 100%;
    height: 100%;
    background-color: #233D4C;
    position: absolute;
    left: 0;
    z-index: 1;
    bottom: -8px; }

.page-wrapper {
    width: 100%;
    height: 100%;
    background-size: cover;
}

.modal-wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0; 
    left: 0;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    background: rgba(0, 0, 0, 0.5);
}

.modal-wrapper.open {
    opacity: 1;
    visibility: visible;
}

.modal {
    width: 500px;
    display: block;
    margin: 30% 0 0 -250px;
    position: relative;
    top: 50%; 
    left: 50%;
    opacity: 0;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    background: #fafafa;
}

.modal-wrapper.open .modal {
    margin-top: -200px;
    opacity: 1;
}

.head{
    width: 100%;
    height: 100%;
    margin: 0 0 14px;
    padding: 5px 30px;
    overflow: hidden;
    position: absolute;
}

.btn-close {
    font-size: 28px;
    display: block;
    float: right;
    color: #fff;
}

.modal .content {
    padding: 0 0 20px 0;
}

.good-job {
    text-align: center;
    font-family: 'RobotoRegular', sans-serif;
    color: #ff4e2e;
}

.good-job .fa-thumbs-o-up {
    font-size: 60px;
}

.good-job h1 {
    font-size: 45px;
}

.form_modal_window{
    max-width: 70%;
    display: flex;
    flex-direction: column;
    margin: auto;
}

.modal .content .text{
    color: #fff;
    padding: 10px;
    margin: 20px 0;
}

.modal .content .text h2{
    margin:0;
    font-size: 35px;
}

.modal .content .text p{
    margin:0;
    font-size: 14px;
}

.modal-wrapper{
    margin: 0 0 20px 0;
}

.modal .content form input {
    color: #000;
    padding: 15px;
    border: none;
    margin-bottom: 15px;
    box-shadow: 0px 1px 3px 1px #e9e9e9;
    font-size: 15px;
}

.modal .content form input[type=submit]{
    padding: 10px 40px;
    max-width: 200px;
    margin: auto;
    border-radius: 54px;
    color: #fff;
    background: #ff4e2e;
    font-size: 15px;
    text-shadow: 0px 0px 6px #e54242;
    display: inline-block;
    border: none;
    outline: none;
    cursor: pointer;
}

@media screen and (max-width: 991px) {
  .header__nav,
  .header.fixed .header__nav {
    padding: 15px 0 }

  nav {
    display: none;
    width: 100%;
    position: absolute;
    background: -webkit-linear-gradient(rgba(251, 251, 251, 0.95), rgba(251, 251, 251, 0.98)), url("../img/bg/header-menu.jpg");
    background: linear-gradient(rgba(251, 251, 251, 0.95), rgba(251, 251, 251, 0.98)), url("../img/bg/header-menu.jpg");
    background-color: #FDFDFD;
    top: 100%;
    right: 0;
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.6); }

  .nav.show {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    top: 48px;
    margin-left: 10px;
    padding: 0 15px; }

  .nav__menu {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    margin: 0 auto; }

  .menu__item a {
    text-align: left;
    font-size: 20px;
    line-height: 2.5; }

  .burger {
    display: block; }

  .centernav {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%)
    }

  .offer {
    padding-top: 150px; }
    .offer__title {
      font-size: 72px; }
    .offer__advantages {
      -webkit-flex-wrap: wrap;
          -ms-flex-wrap: wrap;
              flex-wrap: wrap; }

  .advantages__item {
    width: 41%;
    margin-bottom: 15px; }
    .advantages__item:nth-child(3), .advantages__item:nth-child(4) {
      margin-bottom: 0; }

  .services__item {
    width: 50%;
    margin-bottom: 35px; }

  .services__item:nth-child(3),
  .services__item:nth-child(4) {
    margin-bottom: 0; }

  .job__content {
    margin: 0 auto; }
  .job__item {
    width: 50%;
    margin-bottom: 35px; }
    .job__item p {
      margin-top: 15px; }
  .job__item:nth-child(3), .job__item:nth-child(4) {
    margin-bottom: 0; }

  .services-ico {
    margin: 0 auto; }

  .brands__inner {
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    margin: 0 auto; }

  .brands__item {
    display: block;
    width: 26%;
    padding-right: 0; }
    .brands__item img {
      margin: 0 auto; }
 }

@media screen and (max-width: 768px) {
  .header__logo {
    display: none; }

  .header__contacts {
    display: block; }

  .advantages__item {
    width: 100%;
    margin-bottom: 15px}
    .advantages__item:nth-child(3) {
      margin-bottom: 15px; }

  .brands__item {
    width: 50% }

  .footer__inner .header__contacts {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex; }

  .footer__inner .header__contacts .contacts__phone,
  .footer__inner .header__contacts .contacts__mail {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center } }
@media screen and (max-width: 540px) {
  .header__logo {
    margin-left: 5px; }

  .offer {
    margin-bottom: 75px; }

  .offer__title {
    font-size: 52px; }

  .offer__item {
    font-size: 30px }

  .section {
    margin-bottom: 75px;
    padding-top: 30px; }

  .services__item {
    width: 100%; }

  .services__item:nth-child(3) {
    margin-bottom: 35px }

  .job__item {
    width: 100%; }
    .job__item:nth-child(3) {
      margin-bottom: 35px; }
    .job__item p {
      margin-top: 10px; }

  .job__item:nth-child(5) {
    margin-bottom: 0 }

  .brands__item {
    width: 100%} }
@media screen and (max-width: 350px) {
  .header__logo {
    display: none; } }


