.body-modal {
  /*overflow: hidden;*/
}
.modal {
  color: #000;
  overflow: auto;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1001;
  display: none;
  font-size: 13px;
  line-height: 24px;
}
.modals__fog {
  position: absolute;
  display: none;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: #000;
  opacity: 0.8;
  z-index: 10;
  height: 100%;
}
.modal__wrapper {
  min-height: 100%;
  padding: 20px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.modal__body {
  position: relative;
  z-index: 100;
  width: 600px;
  max-width: 100%;
  box-sizing: border-box;
  display: inline-block;
  text-align: left;
  border: none;
  vertical-align: middle;
  background: #FFFFFF;
  box-shadow: 0px 4px 26px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}
.modal__content {
  position: relative;
  z-index: 20;
  padding: 30px 35px 50px;
}
.modal__title {
  font-family: "Arial Rounded MT Pro Cyr", Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 18px;
  line-height: 20px;
  text-align: center;
  color: #fa6408;
  margin-bottom: 24px;
}
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: 2px solid #3DCD58;
  border-radius: 15px;
  box-sizing: border-box;
  cursor: pointer;
  z-index: 100;
}
.modal__close:before, .modal__close:after {
  content: '';
  width: calc(50% + 4px);
  height: 2px;
  background: #3DCD58;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s;
}
.modal__close:before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.modal__close:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.modal__close:hover {
  background: #FFFFFF;
}
.modal__close:hover:before, .modal__close:hover:after {
  background: #30a145;
}
.modal__row {
  margin-bottom: 13px;
}
.modal__row--flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.modal__col {
  width: 48%;
}
.modal__label {
  display: block;
}
.modal__input {
  width: 100%;
  background: #FFFFFF;
  border: 2px solid #EDEDED;
  box-sizing: border-box;
  border-radius: 6px;
  font-size: 16px;
  line-height: 20px;
  padding: 10px;
}
.modal__textarea {
  width: 100%;
  background: #FFFFFF;
  border: 2px solid #EDEDED;
  box-sizing: border-box;
  border-radius: 6px;
  font-size: 16px;
  line-height: 20px;
  padding: 10px;
  height: 110px; 
}
.modal__label--checkbox {
  font-size: 13px;
  line-height: 14px;
  color: #999999;
}
.modal .button {
  margin: 0 auto;
}
.modal__checkbox {
  margin-right: 6px;
}

@media screen and (max-width: 1000px) {
  .body-modal {
    padding-right: 0 !important;
  }
}

@media screen and (max-width: 500px) {
  .modal__row--flex {
    flex-direction: column;
  }
  .modal__col {
    width: 100%;
  }
}
