/* Bulma Utilities */
.modal-close {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background-color: rgba(0, 0, 0, 0.2);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  pointer-events: auto;
  display: inline-block;
  flex-grow: 0;
  flex-shrink: 0;
  font-size: 0;
  height: 20px;
  max-height: 20px;
  max-width: 20px;
  min-height: 20px;
  min-width: 20px;
  outline: none;
  position: relative;
  vertical-align: top;
  width: 20px;
}
.modal-close::before, .modal-close::after {
  background-color: #ffffff;
  content: "";
  display: block;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
  transform-origin: center center;
}
.modal-close::before {
  height: 2px;
  width: 50%;
}
.modal-close::after {
  height: 50%;
  width: 2px;
}
.modal-close:hover, .modal-close:focus {
  background-color: rgba(0, 0, 0, 0.3);
}
.modal-close:active {
  background-color: rgba(0, 0, 0, 0.4);
}
.is-small.modal-close {
  height: 16px;
  max-height: 16px;
  max-width: 16px;
  min-height: 16px;
  min-width: 16px;
  width: 16px;
}
.is-medium.modal-close {
  height: 24px;
  max-height: 24px;
  max-width: 24px;
  min-height: 24px;
  min-width: 24px;
  width: 24px;
}
.is-large.modal-close {
  height: 32px;
  max-height: 32px;
  max-width: 32px;
  min-height: 32px;
  min-width: 32px;
  width: 32px;
}

.modal-background, .modal {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.modal {
  align-items: center;
  display: none;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  position: fixed;
  z-index: 50;
}
.modal.is-active {
  display: flex;
}

.modal-background {
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content,
.modal-card {
  margin: 0 20px;
  max-height: calc(100vh - 160px);
  overflow: auto;
  position: relative;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .modal-content,
.modal-card {
    margin: 0 auto;
    max-height: calc(100vh - 40px);
    width: 640px;
  }
}

.modal-close {
  background: none;
  height: 40px;
  position: fixed;
  right: 20px;
  top: 20px;
  width: 40px;
}

.modal-card {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 40px);
  overflow: hidden;
  -ms-overflow-y: visible;
}

.modal-card-head,
.modal-card-foot {
  align-items: center;
  background-color: #ffffff;
  display: flex;
  flex-shrink: 0;
  justify-content: flex-start;
  padding: 0;
  position: relative;
}

.modal-card-head {
  border-bottom: 1.5px solid #cddae2;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
}

.modal-card-title {
  color: #363636;
  flex-grow: 1;
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1;
}

.modal-card-foot {
  border-bottom-left-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
  border-top: 1.5px solid #cddae2;
}
.modal-card-foot .button:not(:last-child) {
  margin-right: 0.5em;
}

.modal-card-body {
  -webkit-overflow-scrolling: touch;
  background-color: #ffffff;
  flex-grow: 1;
  flex-shrink: 1;
  overflow: auto;
  padding: 0;
}

.agn-modal .modal {
  justify-content: flex-end;
}
@media screen and (min-width: 768px), print {
  .agn-modal .modal {
    justify-content: center;
  }
}
.agn-modal .modal .modal-background {
  cursor: pointer;
}
.agn-modal .modal .modal-card {
  background-color: #ffffff;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  max-height: calc(100vh - 25%);
  overflow: visible;
}
@media screen and (min-width: 768px), print {
  .agn-modal .modal .modal-card {
    border-radius: 1.5rem;
    margin: 0 auto;
    max-height: calc(100vh - 5rem);
    width: 650px;
  }
}
@media screen and (min-width: 1024px) {
  .agn-modal .modal .modal-card {
    width: 792px;
  }
}
.agn-modal .modal .modal-card .modal-card-body,
.agn-modal .modal .modal-card .modal-card-head {
  background-color: unset;
}
.agn-modal .modal .modal-card .delete-icon {
  align-items: center;
  background-color: #1272e2;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  flex-grow: 0;
  flex-shrink: 0;
  font-size: 0;
  height: 3rem;
  justify-content: center;
  outline: none;
  pointer-events: auto;
  position: absolute;
  right: 20px;
  top: -1.5rem;
  vertical-align: top;
  width: 3rem;
  z-index: 49;
}
.agn-modal .modal .modal-card .delete-icon agn-image {
  height: 14px;
  width: 14px;
}
@media screen and (min-width: 768px), print {
  .agn-modal .modal .modal-card .delete-icon {
    right: 23px;
  }
  .agn-modal .modal .modal-card .delete-icon agn-image {
    height: 24px;
    width: 24px;
  }
}
.agn-modal .modal.is-active {
  align-items: center;
}
.agn-modal .modal.is-active .modal-card {
  -webkit-animation: slideInUp 0.3s ease forwards;
  animation: slideInUp 0.3s ease forwards;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.agn-modal .modal.slideOutDown {
  display: flex;
  -webkit-animation: fadeOut 0.3s ease forwards;
  animation: fadeOut 0.3s ease forwards;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.js-modal-trigger {
  cursor: pointer;
}

@-webkit-keyframes slideOutDown {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, 200%, 0);
    visibility: hidden;
  }
}
@keyframes slideOutDown {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, 200%, 0);
    visibility: hidden;
  }
}
@-webkit-keyframes slideInUp {
  from {
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes slideInUp {
  from {
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
@-webkit-keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}