/* prefixed by https://autoprefixer.github.io (PostCSS: v7.0.26, autoprefixer: v9.7.3) */

.modal-block {
  display: none;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding-top: 100px;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
  font-family: 'OpenSans2', Arial, serif;
}

.modal-block * {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.modal-block-content {
  position: relative;
  width: 400px;
  height: 200px;
  margin: 0 auto;
  border-radius: 4px;
  background: #ffffff;
}

.with-covid-block, .sms-block {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.with-covid-block-title {
  font-size: 24px;
}

.sms-block-title {
  font-size: 24px;
  color: #000000;
  margin: 0 0 16px 0;
}

.sms-block-close {
  color: gray;
  position: absolute;
  font-size: 28px;
  font-weight: bold;
  right: 16px;
  top: 4px;
}

.sms-block-close:hover,
.sms-block-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.sms-block-form {
  height: 40px;
  width: 80%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.sms-block-input {
  width: 68%;
  height: 40px;
  font-size: 16px;
  text-align: center;
  border-radius: 4px;
  margin-bottom: 16px;
  border: 1px solid #d9d9d9;
}

.sms-block-btn {
  width: 30%;
  height: 40px;
  outline: none;
  cursor: pointer;
  color: #ffffff;
  background-color: #fe246c;
  border-radius: 6px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  font-family: OpenSans2;
  font-weight: 600;
  font-size: 14px;
  border: none;
}

.sms-block-error {
  opacity: 0;
  color: red;
}

.sms-block.error .sms-block-error {
  opacity: 1;
}

.sms-block.error .sms-block-input {
  border: 1px solid red;
}