.modal {
  left: -115px;
}

.modal-content {
  padding: 24px 32px 24px 51px;
}

.modal-content-size-big {
  min-width: 760px;
  height: 581px;
}

.modal-content-size-medium {
  min-width: 820px;
  height: 581px;
}

.modal-title {
  font-weight: bold;
  font-size: 24px;
  line-height: 1.5;
  float: left;
}

.modal-button {
  width: 142px;
  height: 45px;
  font-size: 15px;
  text-align: center;
  font-weight: normal;
}

.modal-button-default {
  color: #2b3851;
  background-color: #ffffff;
}

.modal-button-primary {
  color: #ffffff;
  background-color: #364fc7;
}

.modal-header {
  header: 36px;
  /*     width: 640px; */
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid #bbbdc1;
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
  padding: 0px 0px 8px 0px;
}

.modal-header .close {
  margin: 0px 0px 0px 0px;
  padding: 5px 0px 0px 0px;
}

.modal.modal-center {
  text-align: center;
}

@media screen and (min-width: 768px) {
  .modal.modal-center:before {
    display: inline-block;
    vertical-align: middle;
    content: ' ';
    height: 100%;
  }
}

.modal-dialog.modal-center {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

.modal-body {
  overflow-y: scroll;
  padding: 20px 10px 20px 10px;
}

.modal-body-contents {
  white-space: pre-line;
  font-weight: normal;
  line-height: 1.54;
  font-size: 13px;
}

.modal-form-agreement-checkbox-label {
  display: inline;
  font-size: 15px;
  line-height: 1.47;
  font-weight: normal;
}

.modal-footer-agreement-policy {
  justify-content: space-between;
  padding: 1rem 0 1rem 0;
}


.modal-content-size-small {
  width: 486px;
  height: 250px;
}

.modal-content-size-popup {
  width: 401px;
  height: 255px;
}

.modal-header-small {
  height: 36px;
  width: 396px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  /*border-bottom: 1px solid #e9ecef;*/
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
  padding: 0px 0px 8px 0px;
}

.modal-body-title {
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
  margin-bottom: 10px;
}

.modal-error-footer {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 20px 0px 0px 0px;
}

.modal-body-contents {
  font-size: 14px;
  line-height: 1.86;
}

.modal-button {
  width: 94px;
  height: 32px;
  font-size: 15px;
  text-align: center;
  font-weight: normal;
}

.modal-body-title {
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
  margin-bottom: 10px;
}

.modal-footer {
  display: flex;
  align-items: flex-start;
  /*justify-content: space-between;*/
}

.modal-body-contents {
  font-size: 14px;
  line-height: 1.86;
}

.modal-button-popup {
  border-width: 1px;
  border-style: solid;
  border-color: #adadad;
  min-width: 100px;
  min-height: 35px;
  font-size: 16px;
  padding: 0 20px;
  border-radius: 4px;
}

.modal-body {
  scrollbar-face-color: #caceda;
  scrollbar-arrow-color: #fff;
}

.popup-line-bottom {
  border-bottom: 1px solid #bbbdc1;
}

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-thumb {
  background-color: #caceda;
  border-radius: 100px;
}

.Button {
  display: inline-block;
  font-size: 13px;
  padding: 0 20px;
  min-width: 90px;
  height: 32px;
  line-height: 18px;
  border: 1px solid transparent;
  border-radius: 1px;
  background: #fff;
  box-sizing: border-box;
  text-align: center;
  color: #333;
  font-weight: normal;
  cursor: pointer;
}

.modal-button {
  width: 94px;
  height: 32px;
  font-size: 15px;
  text-align: center;
  font-weight: normal;
}

.modal-button-primary {
  color: #ffffff;
  background-color: #364fc7;
}

*,
*::before,
*::after {
  box-sizing: content-box;
}

.Validation-message-error {
  height: 18px;
  font-weight: normal;
  line-height: 1.5;
  text-align: left;
  color: #ff0000;
  font-size: 12px;
  margin-left: 12px;
}