/* ==========================================================================
   Remodal's necessary styles
   ========================================================================== */

/* Hide scroll bar */

html.remodal-is-locked {
  overflow: hidden;

  touch-action: none;
}

/* Anti FOUC */

.remodal,
[data-remodal-id] {
  display: none;
}

/* Necessary styles of the overlay */

.remodal-overlay {
  position: fixed;
  z-index: 999;
  top: -5000px;
  right: -5000px;
  bottom: -5000px;
  left: -5000px;

  display: none;
}

/* Necessary styles of the wrapper */

.remodal-wrapper {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  display: none;
  overflow: auto;

  text-align: center;

  -webkit-overflow-scrolling: touch;
}

.remodal-wrapper:after {
  display: inline-block;

  height: 100%;
  margin-left: -0.05em;

  content: "";
}

/* Fix iPad, iPhone glitches */

.remodal-overlay,
.remodal-wrapper {
  backface-visibility: hidden;
}

/* Necessary styles of the modal dialog */

.show_button {
  background: #e57373;
  width: auto;
  padding: 0 10px;
}

.remodal {
  position: relative;

  outline: none;

  text-size-adjust: 100%;
  border-radius: 5px;
}

.remodal h2 {
  font-size: 2em;
}

.remodal .show {
  position: relative;
  display: block;
  background: none;
  font-size: 1.5em;
  color: #3990ea;
  font-weight: bold;
  width: 20%;
  left: -10px;
  margin: 0 auto 15px ;
  cursor: pointer;
}

.remodal .show::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}

.remodal input[type='checkbox']:checked ~ .detail-box {
  display: block;
}

.remodal input[type='checkbox']:checked ~ .show::after {
  content: '-';
}


.remodal p {
  letter-spacing: -1px;
  word-break: keep-all;
}

.remodal .detail-box {
  display: none;
  background: #eee;
  padding: 15px;
}

.remodal .detail-box strong {
  font-size: 1.3em;
}

.remodal .desc {
  padding: 30px 0;
  font-size: 1.5em;
  line-height: 1.5;
}

.remodal .detail {
  font-size: 1.2em;
  line-height: 1.5;
  padding: 15px 0;
  text-align: left;
}

.remodal .remodal-cancel {
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 1.1em;
}

.remodal-is-initialized {
  /* Disable Anti-FOUC */
  display: inline-block;
}


/* layer_modal */

.remodal.layer_popup {
  padding: 0;
}

.remodal.layer_popup .top {
  display: flex;
  align-items: center;
  padding-left: 20px;
  height: 66px;
  border-radius: 10px 10px 0px 0px;
  background: var(--gray-50-background);
}

.remodal.layer_popup .title {
  flex: 0 0 auto;
  color: var(--gray-900-heading);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 133.333% */
}

.remodal.layer_popup .content {
  display: flex;
  padding: 40px;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  align-self: stretch;
}

.remodal.layer_popup .footer {
  display: flex;
  gap: 10px;
  padding: 13px 0;
  align-items: center;
  justify-content: center;
  border-radius: 0px 0px 10px 10px;
  background: var(--gray-50-background);
}

