/* Rem Unit font sizes with relative fallback http:/seesparkbox.com/foundry/scss_rem_mixin_now_with_a_better_fallback
	Usage: @include font-size(1, large);
*/
:root {
  --modal-content-bg: #fff;
  --close-bg: #fff;
  --close-hover: #B71310 ;
}

.si-modal {
  position: relative;
}
.si-modal .btn-modal {
  margin: 0;
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  border: 1px solid #fff;
  right: 12px;
  right: 1.2rem;
  top: 12px;
  top: 1.2rem;
  font-family: "MinionPro", Georgia, Times, "Times New Roman", serif;
  font-size: 13px;
  font-size: 1.3rem;
  z-index: 100;
  padding: 0;
  border-radius: 50%;
  line-height: 13px;
  line-height: 1.3rem;
  color: #fff;
  width: 22px;
  width: 2.2rem;
  height: 22px;
  height: 2.2rem;
}
.si-modal .btn-modal .icon {
  width: 16px;
  width: 1.6rem;
  height: 16px;
  height: 1.6rem;
}
.si-modal .btn-modal .icon:before {
  content: "i";
}
.si-modal figure {
  margin: 0 auto;
  max-width: 100%;
}

.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1150;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}

.modal-dialog {
  position: relative;
  max-width: 90%;
  width: auto;
  margin: 1.5rem auto;
  pointer-events: none;
}
.isImage .modal-dialog {
  width: -moz-fit-content;
  width: fit-content;
}

.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: translate(0, -50px);
}

.modal.show .modal-dialog {
  transform: none;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1.5rem);
}
.isImage .modal-dialog-centered {
  min-height: -moz-fit-content;
  min-height: fit-content;
}

.modal-dialog-centered::before {
  display: block;
  height: calc(100vh - 1.5rem);
  content: "";
}

.modal-dialog-centered.modal-dialog-scrollable {
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.modal-dialog-centered.modal-dialog-scrollable .modal-content {
  max-height: none;
}

.modal-dialog-centered.modal-dialog-scrollable::before {
  content: none;
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  background-color: var(--modal-content-bg);
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
  outline: 0;
}
.modal-content figure {
  margin: 0;
  margin-left: auto;
  margin-right: auto;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}

.modal-backdrop.fade {
  opacity: 0;
}

.modal-backdrop.show {
  opacity: 0.6;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0;
  height: 0;
}

.modal-footer .close,
.modal-header .close {
  padding: 6px 10px;
  padding: 0.6rem 1rem;
  margin: 0 -30px -15px auto;
  margin: 0 -3rem -1.5rem auto;
  background: transparent;
  font-size: 19px;
  font-size: 1.9rem;
  border: 1px solid transparent;
  border-radius: 19px;
  border-radius: 1.9rem;
  line-height: 19px;
  line-height: 1.9rem;
  text-shadow: 2px 1px 2px rgba(0, 0, 0, 0.6);
}
.modal-footer .close span,
.modal-header .close span {
  color: var(--close-bg);
}
.modal-footer .close:hover, .modal-footer .close:focus,
.modal-header .close:hover,
.modal-header .close:focus {
  border-color: var(--close-hover);
}
.modal-footer .close:hover span, .modal-footer .close:focus span,
.modal-header .close:hover span,
.modal-header .close:focus span {
  text-decoration: underline;
  color: var(--close-hover);
}

.modal-title {
  margin-bottom: 0;
  line-height: 1.5em;
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 1rem;
}
.modal-body img {
  position: relative !important;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem;
  border-bottom-right-radius: 0.3rem;
  border-bottom-left-radius: 0.3rem;
}
.modal-footer .close {
  position: absolute;
  top: -1.5em;
}
.modal-footer > :not(:first-child) {
  margin-left: 0.25rem;
}
.modal-footer > :not(:last-child) {
  margin-right: 0.25rem;
}

.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

.path-si-modal #toolbar-administration {
  display: none;
}

@media (min-width: 600px) {
  .modal-dialog {
    margin: 1.75rem auto;
  }
  .modal-dialog-scrollable {
    max-height: calc(100% - 3.5rem);
  }
  .modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 3.5rem);
  }
  .modal-dialog-centered {
    min-height: calc(100% - 3.5rem);
  }
  .modal-dialog-centered::before {
    height: calc(100vh - 3.5rem);
  }
  .modal-content {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
  }
}
@media (min-width: 768px) {
  .si-modal .btn-modal .icon {
    width: 19px;
    width: 1.9rem;
    height: 19px;
    height: 1.9rem;
  }
}
/*# sourceMappingURL=maps/modal.css.map */
