@import url('../css/reset.css');

@import url('../css/fonts.css');

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-decoration: none;
}

*:hover,
*:focus {
  outline: 0;
}

html {
  font-size: 10px;
}

body {
  font-family: OpenSans;
  background: url('../img/body-bg.png') repeat;
}

.wrapper {
  max-width: 1245px;
  padding-left: 30px;
  padding-right: 30px;
  margin: 0 auto;
}

header {
  padding-top: 45px;
  padding-bottom: 55px;
}

header h1 {
  text-align: center;
  font: 3.6rem OpenSansLight;
  margin-bottom: 30px;
}

header p.main-subtitle {
  text-align: center;
  font-size: 1.8rem;
  line-height: 3rem;
  margin-bottom: 35px;
}

header .director-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

header p.director {
  width: 280px;
  font-size: 1.6rem;
  line-height: 2.4rem;
}

.products-wrap {
  padding-left: 8%;
  margin-bottom: 75px;
}

.products-item {
  width: 88%;
  margin-bottom: 25px;
  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;
  background-color: #fff;
  -webkit-box-shadow: 0 2px 7px #ebebeb, 0 -2px 7px #ebebeb, 4px 0 7px #ebebeb, -4px 0 7px #ebebeb;
  box-shadow: 0 2px 7px #ebebeb, 0 -2px 7px #ebebeb, 4px 0 7px #ebebeb, -4px 0 7px #ebebeb;
  padding: 20px 0;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}

.products-item:nth-child(6),
.products-item:nth-child(7),
.products-item:nth-child(8) {
  padding: 30px 0;
}

.products-item:nth-child(6) .products-item-img,
.products-item:nth-child(7) .products-item-img,
.products-item:nth-child(8) .products-item-img {
  margin-right: 70px;
}

.products-item:nth-child(6) .products-item-img:last-child,
.products-item:nth-child(7) .products-item-img:last-child,
.products-item:nth-child(8) .products-item-img:last-child {
  margin-right: 0;
}

.products-item-num {
  width: 28%;
  color: #054872;
  font: 6rem OpenSansBold;
  text-align: center;
}

.products-item-images {
  width: 72%;
  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;
}

.products-item .products-item-img {
  margin-right: 40px;
}

.products-item .products-item-img:last-child {
  margin-right: 0;
}

.variant-section {
  padding-bottom: 500px;
}

.variant-section h2 {
  text-align: center;
  font: 3.6rem OpenSansLight;
  margin-bottom: 75px;
  position: relative;
}

.variant-section h2::after {
  content: '';
  position: absolute;
  width: 145px;
  min-height: 4px;
  bottom: -25px;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  background-color: #70a401;
  -webkit-border-radius: 2px;
  border-radius: 2px;
}

.radios {
  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;
  margin-bottom: 45px;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.radio {
  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;
}

.radio input[type="radio"] {
  display: none;
}

.radio label {
  color: #054872;
  font: 3.7rem OpenSansBold;
  cursor: pointer;
  padding-left: 50px;
  position: relative;
}

.radio label::before {
  content: '';
  width: 31px;
  height: 31px;
  background-color: #fff;
  border: 3px solid #70a401;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  -webkit-box-shadow: inset 0 10px 20px #e4e4e4;
  box-shadow: inset 0 10px 20px #e4e4e4;
  -webkit-transition: .2s;
  -o-transition: .2s;
  transition: .2s;
}

.radio label::after {
  content: '';
  width: 25px;
  height: 25px;
  background-color: #054872;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 6px;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  opacity: 0;
  -webkit-transition: .2s;
  -o-transition: .2s;
  transition: .2s;
}

.radio input[type="radio"]:checked + label::before {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.radio input[type="radio"]:checked + label::after {
  opacity: 1;
}

.submit-wrap {
  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;
}

.submit-wrap input[type="submit"] {
  background: -webkit-gradient(linear, left top, left bottom, from(#a0d82a), to(#71a502));
  background: -webkit-linear-gradient(top, #a0d82a, #71a502);
  background: -o-linear-gradient(top, #a0d82a, #71a502);
  background: linear-gradient(180deg, #a0d82a, #71a502);
  border: 4px solid #fff;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  color: #fff;
  font: 2.4rem OpenSansBold;
  padding: 13px 60px;
  padding-bottom: 15px;
  cursor: pointer;
  -webkit-box-shadow: 0 10px 20px #d5d5d5,
					10px 0 20px #e1e1e1;
  box-shadow: 0 10px 20px #d5d5d5,
					10px 0 20px #e1e1e1;
}

@media screen and (max-width: 1100px) {
  .wrapper {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media screen and (max-width: 1050px) {
  .products-item-num {
    width: 23%;
  }

  .products-item-images {
    width: 77%;
  }
}

@media screen and (max-width: 960px) {
  .products-wrap {
    padding-left: 0;
  }

  .products-item {
    width: 100%;
  }

  .radio {
    width: 25%;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 15px;
  }

  .wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media screen and (max-width: 780px) {
  .products-item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .products-item-images {
    width: 100%;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .variant-section {
    padding-bottom: 100px;
  }

  .wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media screen and (max-width: 610px) {
  .products-item-images {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .products-item .products-item-img {
    margin: 0;
  }

  .products-item:nth-child(6),
  .products-item:nth-child(7),
  .products-item:nth-child(8) {
    padding: 20px 0;
  }

  .products-item:nth-child(6) .products-item-img,
  .products-item:nth-child(7) .products-item-img,
  .products-item:nth-child(8) .products-item-img {
    margin: 0;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 560px) {
  html {
    font-size: 9px;
  }

  header p.main-subtitle {
    text-align: center;
  }

  header p.main-subtitle br {
    display: none;
  }

  header .director-wrap {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  header p.director {
    text-align: center;
  }

  .radio {
    width: 50%;
  }

  .wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media screen and (max-width: 440px) {
  .wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }
}