.ap-button {
  display: inline-block;
  position: relative;
  width: auto;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: #ffffff;
  font-weight: 400;
  text-align: center;
  background-color: #ff0000;
  text-transform: uppercase;
  height: 42px;
  line-height: 40px;
  border: 1px solid #ff0000;
  padding: 0 20px;
  margin: 0;
  cursor: pointer;
  text-decoration: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  -webkit-transition: background-color 0.3s, color 0.3s, border-color 0.3s, -webkit-box-shadow 0.3s;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, -webkit-box-shadow 0.3s;
  -o-transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, -webkit-box-shadow 0.3s;
}
.ap-button:hover {
  text-decoration: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  background-color: #db0000;
  border-color: #db0000;
}
.ap-button_s {
  font-size: 14px;
  height: 30px;
  line-height: 28px;
  border-width: 1px;
}
.ap-button_m {
  height: 36px;
  line-height: 34px;
  border-width: 1px;
}
.ap-button_l {
  height: 42px;
  line-height: 40px;
  border-width: 1px;
  padding-left: 24px;
  padding-right: 24px;
}
.ap-button_xl {
  height: 48px;
  line-height: 44px;
  border-width: 2px;
  padding-left: 24px;
  padding-right: 24px;
}
.ap-button_red {
  background-color: #ff0000;
  border-color: #ff0000;
}
.ap-button_red:hover {
  background-color: #db0000;
  border-color: #db0000;
}
.ap-button_gray {
  background-color: #777777;
  border-color: #777777;
}
.ap-button_gray:hover {
  background-color: #656565;
  border-color: #656565;
}
.ap-button_outline {
  background-color: #fff;
}
.ap-button_outline:hover {
  background-color: #fff;
}
.ap-button_outline.ap-button_red {
  color: #ff0000;
}
.ap-button_outline.ap-button_red:hover {
  background-color: #ffded8;
  border-color: #ff0000;
  color: #ff0000;
}
.ap-button_outline.ap-button_gray {
  color: #ff0000;
}
.ap-button_outline.ap-button_gray:hover {
  background-color: #777777;
  border-color: #777777;
  color: #ffffff;
}
.ap-button_shadow {
  -webkit-box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.4);
          box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.4);
}
.ap-button_shadow:hover {
  -webkit-box-shadow: none;
          box-shadow: none;
}