.modal_form label i {
  margin-right: 3px;
  color: #2e26a5;
}
.modal_form .error {
  border: 1px solid red;
}
.modal_form .text-error {
  color: red;
  font-size: 16px;
}
.modal_form .form-check {
  padding-left: 0;
}
.modal_form .form-check.error {
  border-radius: 10px;
  line-height: 1.2;
  padding: 7px;
}
.modal_form .required::after {
  content: "*";
  color: red;
  margin-left: 7px;
  font-size: 18px;
}
/*---modal---*/
.modal_form .modal-body {
  padding: 30px 24px 50px;
  background-color: #f0f8ff;
}
.modal_form .modal-header {
  background-color: rgb(29 20 179);
  border-top-left-radius: initial;
  border-top-right-radius: initial;
}
.modal_form .modal-title {
  color: #ffffff;
}
/*---style checkbox---*/
.modal_form input[type="submit"],
.modal_form [type="button"] {
  padding: 12px 10px;
}
.modal_form input[type="checkbox"]:checked,
.modal_form input[type="checkbox"]:not(:checked),
.modal_form input[type="radio"]:checked,
.modal_form input[type="radio"]:not(:checked) {
  position: absolute;
  left: -9999px;
}

.modal_form input[type="checkbox"]:checked + label,
.modal_form input[type="checkbox"]:not(:checked) + label,
.modal_form input[type="radio"]:checked + label,
.modal_form input[type="radio"]:not(:checked) + label {
  display: inline-block;
  position: relative;
  padding-left: 28px;
  line-height: 20px;
  cursor: pointer;
}

.modal_form input[type="checkbox"]:checked + label:before,
.modal_form input[type="checkbox"]:not(:checked) + label:before,
.modal_form input[type="radio"]:checked + label:before,
.modal_form input[type="radio"]:not(:checked) + label:before {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  width: 18px;
  height: 18px;
  border: 1px solid #a9a9a9;
  background-color: #ffffff;
  box-sizing: initial;
}

.modal_form input[type="checkbox"]:checked + label:before,
.modal_form input[type="checkbox"]:not(:checked) + label:before {
  border-radius: 2px;
}

.modal_form input[type="radio"]:checked + label:before,
.modal_form input[type="radio"]:not(:checked) + label:before {
  border-radius: 100%;
}

.modal_form input[type="checkbox"]:checked + label:after,
.modal_form input[type="checkbox"]:not(:checked) + label:after,
.modal_form input[type="radio"]:checked + label:after,
.modal_form input[type="radio"]:not(:checked) + label:after {
  content: "";
  position: absolute;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.modal_form input[type="checkbox"]:checked + label:after,
.modal_form input[type="checkbox"]:not(:checked) + label:after {
  left: 3px;
  top: 4px;
  width: 10px;
  height: 5px;
  border-radius: 1px;
  border-left: 4px solid red;
  border-bottom: 4px solid red;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  box-sizing: initial;
}

.modal_form input[type="radio"]:checked + label:after,
.modal_form input[type="radio"]:not(:checked) + label:after {
  left: 5px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background-color: red;
}

.modal_form input[type="checkbox"]:not(:checked) + label:after,
.modal_form input[type="radio"]:not(:checked) + label:after {
  opacity: 0;
}

.modal_form input[type="checkbox"]:checked + label:after,
.modal_form input[type="radio"]:checked + label:after {
  opacity: 1;
}

@-moz-document url-prefix() {
  select.form-control {
    padding-right: 25px;
    background-image: url("data:image/svg+xml,\ <svg version='1.1' xmlns='http://www.w3.org/2000/svg' width='10px'\height='10px' viewBox='0 0 1200 1000' fill='rgb(51,51,51)'>\<path d='M1100 411l-198 -199l-353 353l-353 -353l-197 199l551 551z'/>\</svg>");
    background-repeat: no-repeat;
    background-position: calc(100% - 7px) 50%;
    -moz-appearance: none;
    appearance: none;
  }
}
/*---form-widget---*/
@keyframes form-widget-appearance {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  30.001% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
  62.999% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes widgetPulse {
  50% {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(2, 2);
    transform: scale(2, 2);
    opacity: 0;
  }
}

@keyframes socialRotateBack {
  0% {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }
  100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
}

.form-widget {
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
  -ms-flex-direction: column-reverse;
  flex-direction: column-reverse;
  visibility: visible;
  -webkit-animation: form-widget-appearance 1s ease-out forwards 1;
  animation: form-widget-appearance 1s ease-out forwards 1;
  position: fixed;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  z-index: 10150;
  right: 12px;
  bottom: 45px;
}
.form-widget__inner {
  position: relative;
  display: inline-block;
  -webkit-transform: scale(0.85);
  transform: scale(0.85);
  -webkit-transition: transform 0.3s;
  transition: transform 0.3s;
}
.form-widget__mask {
  background: #03bde9;
  position: absolute;
  top: -8px;
  left: -8px;
  height: 96px;
  min-width: 80px;
  -webkit-width: calc(100% + 16px);
  width: calc(100% + 16px);
  border-radius: 100px;
  background: #00bcd4;
  opacity: 0.2;
}
.form-widget__block {
  width: 80px;
  height: 80px;
  border-radius: 100%;
  box-sizing: border-box;
  overflow: hidden;
  cursor: pointer;
}
.form-widget__pulse-animate {
  border-color: #03bde9;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  -webkit-animation: widgetPulse infinite 1.5s;
  animation: widgetPulse infinite 1.5s;
  border: 1px solid #cf9310;
  border-radius: 50%;
}
.form-widget__icon {
  background: #03bde9;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 80px;
  border-radius: 100px;
  background: #00bcd4;
  box-sizing: border-box;
}
.form-widget__item {
  position: absolute;
  top: 0;
  left: 0;
  padding: 18px 18px;
  -webkit-transition: opacity 0.6s ease-out;
  transition: opacity 0.6s ease-out;
  -webkit-animation: socialRotateBack 0.4s;
  animation: socialRotateBack 0.4s;
  opacity: 1;
}
.form-msg {
  font-size: 20px;
  text-align: center;
}
