@charset "UTF-8";
.modal {
  background: #1C273666;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  opacity: 0;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
  transition: all 0.1s ease-in-out;
  /*make it smooth*/
}

div.modal {
  opacity: 1;
}

.modal-content {
  background-color: white;
  border-radius: 13px;
  box-shadow: 0 6px 25px -5px #2bb1e43f;
  max-width: 320px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}
.modal-content *:not(button label span):not(.custom-select):not(.choices) {
  z-index: 1000;
}
.modal-content div.custom-select {
  z-index: unset !important;
}
.modal-content div.custom-select div {
  z-index: unset;
}

.modal-medium {
  max-width: 394px !important;
}

.modal-large, .modal-delete-large {
  min-width: 450px;
}

.modal-xl {
  min-width: 551px;
}

.modal-v-medium {
  height: 660px;
}

.modal-header {
  display: flex;
  justify-content: right;
}

.modal-header.center {
  justify-content: space-between;
  align-items: center;
  padding: 17px 12px 17px 24px;
}

.modal-header h2 {
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
  color: #3d3d3d;
  margin: 0;
}

.modal-header a {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #cccbcb;
  border-radius: 50%;
  width: 30px;
}

.modal-header a.inner {
  position: relative;
  top: 0;
  right: 0;
  background: transparent;
}

.modal-header a button {
  color: #ffffff;
  font-size: 12px;
  line-height: 30px;
  padding: 0;
}

.modal-header a.inner button {
  color: #6e6e6e;
}

.modal-header a button label {
  display: block;
  width: 100%;
  height: 100%;
}
.modal-header a button label span {
  line-height: 30px;
}

.modal-title {
  padding-top: 14px;
  padding-left: 34px;
  padding-right: 34px;
  font-size: 17px;
  line-height: 24px;
}

.modal-footer {
  padding-top: 21px;
  padding-bottom: 24px;
  z-index: 999 !important;
}
.modal-footer button:not(.link) {
  padding: 0;
  display: inline-block;
}

.modal-footer.border {
  border-top: 1px solid #ecf7ff;
}

.modal-footer .divider {
  margin-bottom: 17px;
}

.modal p {
  line-height: 20px;
}

.modal img {
  margin-top: 12px;
}

.modal-close {
  position: absolute;
  top: -7px;
  right: -7px;
  color: white;
  background-color: #cccbcb;
  border-radius: 50%;
  line-height: 32px;
  text-align: center;
  height: 28px;
  width: 28px;
}

.modal button:not(.switch):not(.square) {
  font-size: 14px;
  min-width: 120px;
  margin-left: 12px;
  margin-right: 12px;
  cursor: pointer;
}

.modal-medium button:not(.square) {
  padding-right: 30px;
  padding-left: 30px;
}

.modal {
  color: #6e6e6e;
  font-size: 14px;
}

.modal-body {
  padding-left: 26px;
  padding-right: 26px;
}

.modal ul {
  list-style-type: none;
  padding: 0;
}
.modal ul li {
  line-height: 20px;
}

.modal ul li:before {
  content: "•";
  color: #fb7160;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.modal ul.warning li:before {
  color: #faa743;
}

input:checked ~ .modal {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

input:checked ~ .modal .modal-content {
  transform: translate(-50%, -50%);
}

button:not(.square) label {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
  justify-content: center;
}

button label span {
  flex-basis: 100%;
}

.modal.medium .modal-content {
  max-width: 408px;
}
.modal.medium .modal-content img {
  margin-top: 20px;
}
.modal.medium .modal-content p + div {
  text-align: left;
}
.modal.medium .modal-content p + div label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.modal.small .modal-content {
  max-width: 320px;
}
.modal.small .modal-content p {
  line-height: 20px;
}

.modal.small.alert .modal-content {
  min-width: 320px;
}

.modal.activity .modal-content {
  padding-top: 58px;
  box-sizing: border-box;
  width: 260px;
  height: 260px;
}
.modal.activity .modal-content p {
  font-size: 17px;
  line-height: 24px;
  font-weight: 400;
}

.modal-form .modal-header {
  flex-direction: column;
  align-items: flex-start;
  margin: 0 27px 40px;
}
.modal-form .modal-header h1 {
  margin-bottom: 17px;
  font-weight: 300;
}
.modal-form .modal-header p.title {
  margin: 0;
  font-size: 17px;
}
.modal-form .modal-body form {
  max-width: 300px;
  margin: auto;
  pointer-events: none;
}
.modal-form .modal-body form div {
  text-align: left;
  margin-bottom: 8px;
}
.modal-form .modal-body form div label {
  display: block;
  margin-bottom: 5px;
}
.modal-form .modal-body form * {
  pointer-events: auto;
}
.modal-form .modal-body form *.disabled, .modal-form .modal-body form *.disabled * {
  pointer-events: none;
}
.modal-form .modal-footer {
  position: relative;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  margin: 0 23px;
}
.modal-form .modal-footer.centered {
  justify-content: center;
}

.modal-footer.bordered {
  border-top: 1px solid #ecf7ff;
}

button.large {
  width: 166px;
}

.modal-content.filter-modal .modal-body {
  padding-left: 26px !important;
  padding-right: 26px !important;
}

.modal-form {
  width: 250px;
  margin: auto;
}

.modal-form.form p.title {
  font-size: 17px;
  margin-bottom: 38px;
  color: #6e6e6e;
}
.modal-form.form > div {
  margin-bottom: 28px;
}
.modal-form.form > div.form > div {
  margin-bottom: 28px;
}
.modal-form.form div.text-big {
  font-size: 16px;
  font-weight: 500;
}
.modal-form.form div.text-big span {
  font-size: 18px;
}
.modal-form.form div.last {
  margin-bottom: 40px;
}

.modal-columns {
  display: flex;
  width: 100%;
  gap: 10px;
}
.modal-columns > div {
  min-width: 0;
}
.modal-columns > div > input {
  width: 100%;
}
