.bg-allservice,
.bg-horse {
  background-repeat: no-repeat;
  background-position-x: center;
}

.m-title-sm {
  font-size: 16px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 25px;
  text-transform: uppercase;
  color: #696a6d;
}

.as-item__text,
.as-item__title,
.as-text {
  font-family: Merriweather;
  font-weight: 300;
}

.as-img {
  display: block;

  width: 100%;
  margin: 40px 0 80px;
}

.as-content .h1 {
  font-size: 72px;
  font-size: 4.5rem;
  line-height: 1.139;
  margin-bottom: 40px;
}

.as-content .h2 {
  font-size: 50px;
  font-size: 3.125rem;
  line-height: 1.2;
}

.as-content .subcontainer {
  width: 1182px;
  margin: 0 auto;
}

.as-content .btn-container {
  margin-top: 40px;
}

.as-text {
  font-size: 17px;
  font-size: 1.063rem;
  line-height: 1.588;
}

.as-text--lg {
  font-size: 22px;
  font-size: 1.375rem;
  line-height: 1.455;
}

.as-text+.as-text--lg {
  margin-top: .9em;
}

.as-container {
  margin: 0 80px;
}

.as-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;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.as-item__img {
  min-width: 50%;
  max-width: 50%;
  margin-right: 80px;
  flex-shrink: 0;

  -webkit-flex-basis: 50%;
  -ms-flex-preferred-size: 50%;
  flex-basis: 50%;
}

.as-item__info {
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.as-item__title {
  font-size: 50px;
  font-size: 3.125rem;
  line-height: 1.2;
  margin-bottom: .4em;
}

.as-item__text {
  font-size: 22px;
  font-size: 1.375rem;
  line-height: 1.455;
}

.as-item .btn {
  margin-top: 30px;
}

.as-item:nth-child(2n) {
  flex-direction: row-reverse;

  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -webkit-flex-direction: row-reverse;
  -ms-flex-direction: row-reverse;
}

.as-item:nth-child(2n) .as-item__img {
  margin-right: 0;
  margin-left: 80px;
}

.as-item+.as-item {
  margin-top: 100px;
}

.as-block {
  width: 50%;
  color: #fff;
}

@media screen and (max-width:1000px) {
  .as-item__title {
    font-size: 36px;
  }

  .as-item__text {
    font-size: 18px;
  }

  .as-item__img {
    margin-right: 40px;
  }

  .as-item:nth-child(2n) .as-item__img {
    margin-right: 0;
    margin-left: 40px;
  }
}

@media screen and (max-width:768px) {
  .as-text {
    font-size: 18px;
  }

  .as-text--lg {
    font-size: 24px;
  }

  .as-container {
    margin: 0 40px;
  }

  .as-content .h1 {
    font-size: 50px;
    margin-bottom: .6em;
  }

  .as-content .h2 {
    font-size: 36px;
  }
}

@media screen and (max-width:650px) {
  .as-text {
    font-size: 14px;
  }

  .as-text--lg {
    font-size: 18px;
  }

  .as-block {
    width: 100%;
  }

  .as-item__title {
    font-size: 26px;
  }

  .as-item__text {
    font-size: 14px;
  }

  .as-item__img {
    margin-right: 20px;
  }

  .as-item:nth-child(2n) .as-item__img {
    margin-right: 0;
    margin-left: 20px;
  }
}

@media screen and (max-width:600px) {
  .as-content .h1 {
    font-size: 40px;
    margin-bottom: .6em;
  }

  .as-content .h2 {
    font-size: 28px;
  }
}

@media screen and (max-width:550px) {

  .as-item,
  .as-item:nth-child(2n) {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
  }

  .as-container {
    margin: 0;
  }

  .as-item:nth-child(2n) .as-item__img,
  .as-item__img {
    margin-right: 0;
    margin-bottom: 30px;
    margin-left: 0;
  }

  .as-item {
    flex-direction: column;

    -webkit-flex-direction: column;
    -ms-flex-direction: column;
  }

  .as-item__img {
    max-width: 250px;
	width:100%;
    -webkit-flex-basis: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
  }

  .as-item__info {
    max-width: 300px;

    -webkit-flex-basis: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
  }

  .as-item__info .btn {
    width: 100%;
  }

  .as-item:nth-child(2n) {
    flex-direction: column;

    -webkit-flex-direction: column;
    -ms-flex-direction: column;
  }
}

.bg-allservice {
  padding: 130px 0;

  background-image: url(/assets/images/allservice-bg.jpg);
  background-size: cover;
}

.section.bg-horse {
  padding-bottom: 900px;

  background-image: url(/assets/images/allservice-horse.jpg);
  background-position-y: bottom;
  background-size: 100%;
}

@media screen and (max-width:1500px) {
  .section.bg-horse {
    padding-bottom: 700px;
  }
}

@media screen and (max-width:1024px) {
  .section.bg-horse {
    padding-bottom: 500px;
  }
}

@media screen and (max-width:650px) {
  .section.bg-horse {
    padding-bottom: 300px;
  }
}
@media screen and (max-width:400px) {
  .section.bg-horse {
    padding-bottom: 200px;
  }
}

@media screen and (max-width:414px) {
  .as-content .h1 {
    font-size: 32px;
    margin-bottom: .6em;
  }

  .as-content .h2 {
    font-size: 24px;
  }

  .bg-horse {
    padding-bottom: 200px;
  }
}