.message-black {
  position: fixed;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background-color: #000000;
  display: none;
  opacity: 0.55;
  top: 0;
  left: 0;
}

.message-block {
  display: none;
  position: fixed;
  top: calc(50vh - 200px);
  background-color: #FFF;
  padding: 25px;
  border-radius: 10px;
  left: calc(50vw - 175px);
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  box-shadow: 1px 1px 10px gray;
  z-index: 99999;
  width: 300px;
}

.message-block #txt_info span {
  display: block;
  font-size: 18px;
  margin-top: 10px;
  text-transform: none;
  font-weight: 400;
}

.message-block img {
  width: 100px;
  height: 100px;
  margin: 15px auto 15px auto;
}


.message-form {
  display: none;
  position: fixed;
  background-color: #FFF;
  padding: 15px;
  border-radius: 10px;
  left: calc(50% - 180px);
  top: calc(-300px + 50vh);
  text-align: center;
  box-shadow: 1px 1px 10px gray;
  z-index: 99999;
  width: 330px;
  text-align: center;
}

.message-form .sm-text {
  font-size: 12px;
  line-height: 14px;
  padding: 10px;
}

.promowin_cross {
  position: absolute;
  right: 14px;
  font-size: 14px;
  cursor: pointer;
  color: #6c757d;
  font-weight: 600;
}

.promowin_cross:hover {
  transform: rotate(90deg);
  transition-delay: 0s;
  transition: all 0.6s;
  }

.form-control {
  display: block;
  width: 280px;
  max-width: calc(100% - 40px);
  border: 2px solid #dddddd;
  margin: 10px auto;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--dg-text);
  padding: 10px 15px;
  background-color: #fff;
  background-clip: padding-box;
}

.form-control.ev_select option {
  color: var(--dg-text);
}

.form-control::placeholder, textarea::placeholder, .form-control.ev_select {
  color: #6c757d;

  opacity: 1;
  font-weight: 300;
}


textarea.form-control { resize: none; font-size: 16px;}

:-ms-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
::-webkit-input-placeholder,
::placeholder {
  font-weight: 300;
  color: #6c757d;

}


.form-control:focus, button:focus, .btn:focus, textarea:focus, select:focus  {
  border-color: inherit;
  -webkit-box-shadow: none;
  box-shadow: none;
}

*:focus {
    outline: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.copy_txt.err_all { margin-left: 10px;}

.checkbox-copy {
    display: flex;
    align-items: flex-start;
    gap: 3px;
    margin: 10px;
}

.checkbox-copy input[type="checkbox"] {
    vertical-align: middle;
    width: 20px;
    height: 20px;
    margin: 0;
}

.checkbox-copy label {
    vertical-align: middle;
    line-height: normal;
    margin: 0 0 0 10px;
    flex-shrink: 1; 
    text-align: left;
}

.err_name, .err_phone, .err_email, 
.err_subject, .err_comment {
  display: none;
  font-size: 10px;
  color: red;
  padding-left: 25px;
}

.copy_txt {
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  margin: 15px auto 5px auto;
  color: #6c757d;
  -webkit-transition: all ease-in-out 0.5s; 
  transition: all ease-in-out 0.5s;
}

.message-form .copy_txt {
  text-transform: none;
  font-weight: 400;
}

.copy_txt a:hover {
  text-decoration: none;
  color: var(--dg-text);
}

.ev_select {
  background-color: #fff;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  margin: 0 8px;
  width: calc(100% - 16px);
  max-width: 100%;
  padding: 12px 15px;

}

.ev_select option{

  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

#subscriptions-num {
  margin: 10px auto;
}

.feedback-contacts {
  align-items: center;
}

.feedback-contacts .row-1.double {
  margin: 0 5px;
}

.feedback-contacts textarea{
  margin: 3px 8px;
  width: calc(100% - 50px);
  max-width: 100%;
}

button.lead-button {
  border: none;
  margin: 10px auto;
}

.feedback-contacts .copy_txt  {
  width: 90%;
}

@media screen and (max-width: 400px) { 
  .message-form {
    width: 90%;
    left: 0;
    border-radius: 0px;
  }
}
