p {
  font-size: 18px;
  line-height: 1.5;
  text-indent: 0;
}
.text__content li {
  position: relative;
  list-style: outside none none;
}
.text__content li::before {
  position: absolute;
  content: url(../images/arrow.png);
  left: -30px;
}
.com__title {
  font-size: 18px;
  padding: 7px 10px;
  background: #223358 none repeat scroll 0 0;
  color: #fff;
}
.commit__block {
  margin-top: 25px;
}
.photo {
  float: left;
  margin-right: 15px;
}
.photo_person {
  width: 65px;
  border-radius: 50px;
  margin: 3px 0 0;
  max-width: 100%;
  height: auto;
}
.comm__text {
  font-size: 18px;
  padding-left: 74px;
  text-align: left;
  line-height: 20px;
  color: #000;
  line-height: 1.5;
}
.clear {
  clear: both;
}
@media screen and (max-width: 400px) {
  .comm__text {
    padding-left: 0;
  }
}
.main__boxes {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 655px;
  margin: 0 auto;
}
.main__boxes li {
  flex: 0 0 33.33%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}
.overlay {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 99;
}
.message-congrats,
.message-try {
  width: 475px;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background-color: #fff;
  border-radius: 5px;
  padding: 25px;
  text-align: center;
  position: fixed;
  display: none;
}
.message-try p {
  margin: 20px 0;
  color: #666;
  font-size: 18px;
}
.close-try-message {
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  border-radius: 3px;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  width: 90px;
  padding: 10px;
  margin: 0 auto;
}
.close-try-message.yellow {
  background: #ffa400;
}
.close-try-message.green {
  background: #71c341;
  margin-top: 20px;
}
.message-congrats {
  padding-top: 85px;
}
.message-congrats p {
  color: #666;
}
.message-congrats p:first-of-type,
.message-congrats p:last-of-type {
  text-transform: uppercase;
  font-size: 28px;
}
.message-congrats p:nth-of-type(2) {
  font-size: 24px;
}
.message-congrats img {
  position: absolute;
  top: -50px;
  transform: translateX(-50%);
}
.close-icon {
  position: absolute;
  top: 40px;
  right: -10px;
  width: 33px;
  height: 33px;
  cursor: pointer;
}
.opentry {
  display: none;
}
.boxtext {
  display: none;
}
.main__form {
  max-width: 420px;
  margin: 40px auto 0;
  display: none;
}
.main__form .np {
  max-width: 320px;
  margin: 30px auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #e5e5e5;
}
.main__form .np p {
  margin-left: 10px;
}
.main__form p {
  text-align: center;
}
.main__form p span {
  color: #00416e;
}
.main__form form {
  max-width: 320px;
  margin: 0 auto;
}
.main__form form input {
  background: #e5e5e5;
  margin-top: 15px;
  border-radius: 5px;
  outline: 0;
  font-size: 14px;
  width: 100%;
  padding: 15px 20px;
  border: none;
}
.main__form form button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  outline: 0;
  padding: 10px 0;
  background: red;
  border-radius: 5px;
  margin-top: 15px;
  color: #fff;
  border: none;
}
.timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 250px;
  font-size: 48px;
  font-weight: 700;
  margin: 20px auto 0;
}
.timer > div {
  position: relative;
}
.timer > div::after {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: -5px;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
}
@media screen and (max-width: 576px) {
  .main__boxes {
    padding: 0;
  }
  .main__boxes li {
    flex: 0 0 50%;
    padding: 10px;
  }
  .main__boxes li img {
    width: 100%;
  }
  .main__gift-title {
    font-size: 14px;
    padding: 15px;
  }
  .message-congrats,
  .message-try {
    width: 95%;
  }
}
