/*
 *  Remodal - v1.1.0
 *  Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.
 *  http://vodkabears.github.io/remodal/
 *
 *  Made by Ilya Makarov
 *  Under MIT License
 */

/* ==========================================================================
   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: 9999;
  top: -5000px;
  right: -5000px;
  bottom: -5000px;
  left: -5000px;

  display: none;
}

/* Necessary styles of the wrapper */

.remodal-wrapper {
  position: fixed;
  z-index: 10000;
  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 {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Necessary styles of the modal dialog */

.remodal {
  position: relative;
  outline: none;
  text-align: left;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media screen and (max-width: 666px) {
  div.remodal {
    padding: 35px 1.5rem 1.5rem;
  }
}
.remodal-is-initialized {
  /* Disable Anti-FOUC */
  display: inline-block;
}

div.remodal article > h1 {
  font-size: 1.6rem;
}

div.remodal article > h1 + p {
  text-align: right;
  padding-bottom: 1rem;
}
div.remodal section > h1 {
  margin-top: 2.4rem;
  font-size: 1.2rem;
}
div.remodal section > h2 {
  font-size: 1rem;
  padding-top: 0.3rem;
}
div.remodal section > p {
  font-family: 'Noto Sans', 'Noto Sans CJK JP', 'NotoSansCJKjp-Jxck', sans-serif;
  /* font-weight: 300; */
}
span.txt1 {
  text-decoration: underline;
  font-weight: 500;
  color: #d45151;
}
.remodal-confirm,
.remodal-cancel {
  font-size: 0.9rem;
  font-family: 'Noto Sans', 'Noto Sans CJK JP', 'NotoSansCJKjp-Jxck', sans-serif;
  font-weight: 500;
}
