@charset "UTF-8";

.oz-modal,
.oz-modal * {
  box-sizing: border-box;
}

.oz-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-content: center;
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 250ms ease-in;
}

.oz-modal-close::before {
  width: 40px;
  height: 40px;
  content: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'><path d='m21.1 20 4.7-4.7c.3-.3.3-.8 0-1.1-.3-.3-.8-.3-1.1 0L20 18.9l-4.7-4.7c-.3-.3-.8-.3-1.1 0-.3.3-.3.8 0 1.1l4.7 4.7-4.7 4.7c-.3.3-.3.8 0 1.1.2.2.4.2.6.2s.4-.1.6-.2l4.7-4.7 4.7 4.7c.2.2.4.2.6.2.2 0 .4-.1.6-.2.3-.3.3-.8 0-1.1L21.1 20z' fill='%23495560'/></svg>");
}

.oz-modal-close:hover {
  background-color: #eee;
  transition: background-color .1s ease-out;
}

@keyframes activateModal {
  0% {
    transform: scale(.9);
    opacity: 0;
  }
  45% { opacity: .8; }
  60% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.oz-modal-active {
  animation: .2s ease-in-out activateModal;
}

.oz-modal {
  position: relative;
  width: calc(100% - 32px);
  max-height: 80vh;
  margin-top: 10vh;
  padding: 16px;
  background-color: #fff;
  border: 1px solid #d1d3d4;
  border-radius: 6px;
  box-shadow: 0 10px 20px rgb(0 0 0 / 19%), 0 6px 6px rgb(0 0 0 / 23%);
  overflow: hidden;
  /* overscroll-behavior: none; */
}

@media (min-width:900px) {
  .oz-modal {
    width: 900px;
  }
}

.oz-modal::backdrop {
  background-color: rgba(0, 0, 0, .4);
}

.oz-modal > h2 {
  display: flex;
  margin: 8px 0;
  padding: 0 45px;
  height: 56px;
  font-size: 1.5em;
  text-align: center;
  justify-content: center;
  align-items: center;
}


/*********************************************************

  TABLE

 *********************************************************/

.oz-table {
  display: grid;
  grid-template-columns: repeat(5, minmax(1em, 1fr));
  max-height: calc(80vh - 104px);
  overflow: scroll;
}

.oz-table-header {
  display: inherit;
  grid-template-columns: inherit;
  grid-column: 1/-1;
  position: sticky;
  top: 0;
  background-color: white;
}

.oz-header-row,
.oz-row {
  display: contents;
}

.oz-header-row > div,
.oz-row > div {
  padding: 0.5em;
  display: flex;
  justify-content: center;
  align-items: center;
  outline: none;
}


/*********************************************************

  CHECKBOXES

 *********************************************************/

.oz-checkbox-control+.oz-checkbox-control {
  margin-top: 1em;
}

.oz-checkbox-control {
  display: grid;
  grid-template-columns: 24px auto;
  gap: 12px;
  margin: 0;
  line-height: 1.35;
}

.oz-checkbox-control > input[type=checkbox] {
  appearance: none;
  margin: 0;
  width: 22px;
  height: 22px;
  text-align: center;
  font-family: "Glyphicons Halflings";
  color: #fff;
  background-color: #fff;
  border: 1px solid #d1d3d4;
  border-radius: 3px;
  display: grid;
  place-content: center;
}

.oz-checkbox-control > input[type=checkbox]::before {
  content: "";
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  display: grid;
  place-content: center;
  font-size: 16px;
  border-radius: 3px;
}

.oz-checkbox-control > input[type=checkbox]:checked::before {
  content: "\e013";
  background-color: rgb(var(--color-secondary));
  border-color: rgb(var(--color-secondary));
}

.oz-checkbox-control > input[type=checkbox]:disabled::before {
  background-color: #d3d3d3 !important;
  border-color: #d3d3d3 !important;
  cursor: not-allowed;
}


/*********************************************************

  FORM FILLING

 *********************************************************/

.oz-space-above {
  margin-top: 20px;
}

.oz-no-space-above {
  margin-top: 0 !important;
}

.oz-space-below {
  margin-bottom: 20px !important;
}

.oz-no-space-below {
  margin-bottom: 0 !important;
}

.oz-disabled {
  color: #d3d3d3 !important
}

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

.oz-text-right {
  text-align: right;
}

.oz-section-label {
  padding-bottom: 2px;
  font-size: 17px;
  font-weight: bold;
  color: rgb(var(--color-primary));
  border-bottom: 2px solid rgb(var(--color-secondary));
}

.oz-heading {
  font-size: 16px;
  font-weight: bold;
  color: rgb(var(--color-primary));
}

.oz-subheading {
  font-size: 15px;
  font-weight: bold;
  color: rgb(var(--color-primary));
}

.oz-instruction {
  margin: 4px 0 6px;
  font-size: 14px;
  font-style: italic;
  color: #444;
  line-height: 1.35;
}

.oz-instruction > span {
  text-decoration: underline;
  cursor: pointer;
}

.oz-info {
  font-size: 14px;
  line-height: 1.35;
}

.oz-info > a {
  color: rgb(var(--color-secondary));
  font-weight: bold;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 500ms;
}

.oz-info > a:hover {
  text-decoration-color: rgb(var(--color-secondary));
}

.oz-note {
  padding:7px;
  background-color: #fafafa;
  border:1px solid #eaeaea;
}

.oz-note p:last-child{
  margin-bottom:0;
}

.oz-divider {
  border-top:1px solid #eaeaea;
  margin:0;
  padding:0;
}

.form-fill .image-select {
  margin-top:0!important;
}

.btn-fullwidth{
  width:100%!important;
}