.bg {
  width: 100%;
  height: 224px;
  background-image: url(https://static1.parovoz.tv/assets/digests/digests_bg.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  position: relative;
}
.digests-text,
.tnx-cont {
  font-family: Comfortaa, sans-serif;
  text-align: center;
  margin: 0 auto;
  padding-bottom: 1px;
}
.digests h2,
.digests-text h2,
.tnx-cont h2 {
  font-weight: 700;
  padding: 0;
  margin: 45px auto;
  font-size: 30px;
  text-align: center;
  line-height: 40px;
}
.digests-text p,
.tnx-cont p {
  font-weight: 700;
  padding: 0;
  margin: 45px auto;
  font-size: 20px !important;
  text-align: center;
}
.tnx-cont input {
  display: block;
  max-width: 760px;
  width: 80%;
  border: 1px solid #9c9c9c !important;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 50px !important;
  padding: 25px 15px;
  font-family: Comfortaa, sans-serif;
  text-align: center;
  font-size: 18px;
}
.tnx-cont input::-moz-placeholder {
  color: #222;
}
.tnx-cont input::-webkit-input-placeholder {
  color: #222;
}
button.btn.btn-success.button.btn-open-pop-up {
  margin: auto;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: fit-content;
  height: 65px;
  border-radius: 50px;
  font-family: "Comfortaa";
  background-color: #28a319 !important;
  box-shadow: 0px 8px 26px #313131;
  transition: all 0.3s ease-in-out;
}
button.btn.btn-success.button.btn-open-pop-up:hover {
  background: #ff0101 !important;
}
.digests-box img {
  object-fit: cover;
  height: 200px;
}

.digests-box a:hover p {
  color: #008dca;
  transition: all 0.3s ease-in-out;
}
/* button.btn.btn-success.button.btn-open-pop-up::after {
  content: "";
  width: 32px;
  height: 32px;
  background: url(https://static1.parovoz.tv/assets/icons/heart.svg);
  position: absolute;
  background-size: contain;
  bottom: -35px;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}
button.btn.btn-success.button.btn-open-pop-up:hover::after {
  opacity: 1;
  transition: all 0.3s ease-in-out;
} */
/* button.btn.btn-success.button.btn-open-pop-up::before {
  content: "";
  width: 48px;
  height: 48px;
  background: url(https://static1.parovoz.tv/assets/icons/letter.svg);
  position: absolute;
  background-size: contain;
  top: 6px;
  right: 20px;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}
button.btn.btn-success.button.btn-open-pop-up:hover::before {
  opacity: 1;
  transition: all 0.3s ease-in-out;
} */
.tnx-cont .button {
  font-family: Comfortaa, sans-serif;
  display: block;
  background-color: #7dae22 !important;
  border: 0 none;
  border-radius: 50px !important;
  transition: all 0.23s ease-in-out 0s;
  color: #fff;
  cursor: pointer;
  padding: 12px 0 48px 0;
  font-size: 22px;
  margin: 45px auto 65px !important;
  text-align: center;
  width: 274px;
  text-transform: none;
  box-shadow: 0 4px 0 #64822e;
}
.soc-form-btn {
  display: flex;
  height: 180px;
  padding-bottom: 50px;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.digests-box {
  display: flex;
  flex-wrap: wrap;
  margin-left: -1.66%;
  margin-right: -1.66%;
}
.digests-box a {
  width: 30%;
  margin: 0 1.5%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.digests-box img {
  margin-top: 20px;
}
.digests-box a p {
  font-family: Comfortaa, sans-serif;
  font-size: 18px;
  font-weight: 700;
  padding-top: 20px;
  color: #141414;
}
.soc-wrap {
  position: relative;
  width: 100%;
  margin-top: 100px;
  background-color: #51aeea;
  font-family: Comfortaa, sans-serif;
  text-align: center;
  color: #fff;
}
.soc-wrap:after,
.soc-wrap:before {
  content: "";
  position: absolute;
  top: 110px;
  left: 50% !important;
  width: 170px;
  height: 139px;
  background-repeat: no-repeat;
  background-size: contain;
}
.soc-wrap:before {
  width: 170px;
  height: 139px;
  margin-left: -555px;
  background-image: url(https://static1.parovoz.tv/assets/digests/digests_bg_1.png);
}
.soc-wrap:after {
  width: 170px;
  height: 139px;
  margin-left: 385px;
  background-image: url(https://static1.parovoz.tv/assets/digests/digests_bg_2.png);
}
.soc-wrap_title {
  font-size: 40px;
  padding-top: 55px;
  margin-bottom: 20px;
}
.soc-wrap_subtitle {
  font-size: 25px;
  line-height: 28px;
  padding-bottom: 30px;
}
.soc-icon {
  margin: 0 15px 55px;
}
.soc-bg {
  position: absolute;
  top: -110px;
  left: 50% !important;
  width: 170px;
  height: auto;
  margin-left: -85px;
}
.mail-form {
  display: flex !important;
  flex-direction: column;
  align-items: center;
}
p.show-but {
  cursor: pointer;
  display: block;
  margin: 30px auto;
  font-size: 22px;
  color: #10b0e6;
  text-align: center;
  display: table;
  border-bottom: #fff 2px solid;
  transition: 0.3s all;
}
p.show-but:hover {
  border-bottom: 2px solid;
}
.hide-box {
  display: none;
  width: 100%;
  margin-left: 1.66%;
  margin-right: 1.66%;
}
@media only screen and (max-width: 1124px) {
  .soc-wrap:after,
  .soc-wrap:before {
    display: none;
  }
}
@media only screen and (max-width: 1600px) {
  .soc-wrap_title {
    font-size: 34px;
    margin-bottom: 12px;
  }
  .soc-wrap_subtitle {
    font-size: 22px;
    padding-bottom: 0;
  }
  .soc-bg {
    width: 160px;
    margin-left: -80px;
  }
}
@media only screen and (max-width: 768px) {
  .soc-bg {
    width: 180px;
    margin-left: -90px;
    top: -120px;
  }
  .form-control .required .email {
    font-size: 16px !important;
  }
  .digests-box {
    margin-left: -1.33%;
    margin-right: -1.33%;
  }
  .digests-box a {
    margin: 0;
    width: 100%;
  }
  .digests-box a p {
    font-size: 12px;
  }
}
@media only screen and (max-width: 910px) {
  .tnx-cont {
    padding: 30px 15px 20px;
    width: 98%;
  }
}
@media only screen and (max-width: 479px) {
  .bg {
    height: 120px;
  }
  .tnx-cont h2 {
    font-size: 22px !important;
    margin: -60px auto 30px;
  }
  .tnx-cont input {
    width: 100%;
    margin: 0 5%;
  }
  .tnx-cont .button {
    margin: 20px auto 10px;
  }
  .soc-wrap_title {
    font-size: 23px;
    padding-top: 30px;
    margin-bottom: 12px;
  }
  .soc-wrap_subtitle {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 25px;
  }
  .soc-icon {
    margin: 0 15px 30px;
    width: 60px;
    height: 60px;
  }
}
@media (max-width: 320px) {
  body .container {
    width: 100% !important;
  }
}
