.bg-img {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}
.email-dialog_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.button-loader {
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-top-color: rgba(255, 255, 255, 0.2);
  border-right-color: rgba(255, 255, 255, 0.2);
  border-bottom-color: rgba(255, 255, 255, 0.2);
  border-radius: 100%;
  animation: circle infinite 0.75s linear;
}
@keyframes circle {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
.button-check {
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  background-image: url('../../img/check.png');
}
.tnSubscribeDialog {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.32);
  z-index: 9999;
}
.tnSubscribeDialog-container {
  overflow: hidden;
  width: 424px;
  background-color: #fff;
  border-radius: 16px;
}
.tnSubscribeDialog-header {
  position: relative;
  width: 100%;
  height: 219px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}
.tnSubscribeDialog-close {
  position: absolute;
  top: 12px;
  right: 10px;
  width: 26px;
  height: 26px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  cursor: pointer;
}
.tnSubscribeDialog-body {
  padding: 27px 24px;
}
.tnSubscribeDialog-body_text {
  color: #494949;
  font-size: 18px;
  line-height: 2;
  margin-bottom: 18px;
}
.tnSubscribeDialog-body_input {
  width: 100%;
  height: 50px;
  line-height: 31px;
  text-indent: 15px;
  font-size: 16px;
  background: #f9faff;
  border-radius: 5px;
  border: 1px solid #b5b5b5;
  outline: none;
  color: #151515;
  margin-bottom: 6px;
}
.tnSubscribeDialog-body_input::placeholder {
  color: #c0c0c0;
}
.tnSubscribeDialog-body_input:focus {
  outline: none;
  border-color: #c6cfff;
}
.tnSubscribeDialog-body_input.email-error {
  border-color: #fa5656;
}
.tnSubscribeDialog-body_error {
  visibility: hidden;
  align-items: center;
  text-align: left;
  color: #fa5656;
  font-size: 12px;
  font-weight: 300;
  margin-bottom: 10px;
}
.tnSubscribeDialog-body_error .error-icon {
  vertical-align: middle;
  display: inline-block;
  width: 12px;
  height: 12px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  background-image: url('../../img/error.svg');
  margin-right: 4px;
}
.tnSubscribeDialog-body_error.show {
  visibility: visible;
}
.tnSubscribeDialog-body_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 57px;
  color: #fff;
  font-size: 18px;
  border: 1px solid #c6cfff;
  border-radius: 47px;
  cursor: pointer;
  margin-bottom: 8px;
}
.tnSubscribeDialog-body_btn .button-loader,
.tnSubscribeDialog-body_btn .button-check {
  display: none;
}
.tnSubscribeDialog-body_btn.mp:hover {
  background: #00a295;
}
.tnSubscribeDialog-body_btn.mu:hover {
  background: #4b35cf;
}
.tnSubscribeDialog-body_btn.pv:hover {
  background: #008568;
}
.tnSubscribeDialog-body_btn.vb {
  color: #042c20;
}
.tnSubscribeDialog-body_btn.vb:hover {
  background: #26c4af;
}
@media screen and (max-width: 768px) {
  .email-dialog_btn {
    width: 279px;
    height: 56px;
    font-size: 18px;
    border-radius: 9px;
  }
  .email-dialog_btn.mu {
    width: 143px;
    height: 45px;
    font-size: 12px;
    border-radius: 5px;
  }
  .button-loader {
    width: 20px;
    height: 20px;
  }
  .button-check {
    width: 20px;
    height: 20px;
  }
  .tnSubscribeDialog {
    padding: 0 15px;
  }
  .tnSubscribeDialog-container {
    width: 100%;
  }
  .tnSubscribeDialog-header {
    height: 173px;
    background-size: cover;
  }
  .tnSubscribeDialog-close {
    top: 12px;
    right: 10px;
    width: 26px;
    height: 26px;
  }
  .tnSubscribeDialog-body {
    padding: 27px 24px;
  }
  .tnSubscribeDialog-body_text {
    font-size: 16px;
    margin-bottom: 18px;
  }
  .tnSubscribeDialog-body_input {
    height: 50px;
    line-height: 31px;
    text-indent: 15px;
    font-size: 16px;
    border-radius: 5px;
    margin-bottom: 6px;
  }
  .tnSubscribeDialog-body_error {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .tnSubscribeDialog-body_error .error-icon {
    width: 12px;
    height: 12px;
    margin-right: 4px;
  }
  .tnSubscribeDialog-body_btn {
    height: 57px;
    font-size: 18px;
    border-radius: 47px;
    margin-bottom: 8px;
  }
}
