body {
  box-sizing: border-box;
}
body.gmodal-open {
  overflow-y: hidden;
  -webkit-overflow-scrolling: auto;
}

.gmodal-backdrop {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  background-color: rgba(0, 0, 0, 0.3);
}
.gmodal-backdrop.has-animate {
  transition: opacity 0.15s linear;
  will-change: opacity;
  opacity: 0;
}
.gmodal-backdrop.has-animate.is-shown {
  opacity: 1;
}

.gmodal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}
.gmodal *,
.gmodal *::before,
.gmodal *::after {
  box-sizing: border-box;
}
.gmodal.has-animate .gmodal__container {
  will-change: transform, opacity;
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.15s linear;
  transform: scale(0.97);
}
.gmodal.has-animate.is-shown .gmodal__container {
  opacity: 1;
  transform: none;
}
.gmodal.is-hidden {
  z-index: -1 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
@media (min-width: 480px) {
  .gmodal__container {
    position: relative;
    max-width: 550px;
    width: 100%;
    min-height: auto;
    margin: 30px auto;
    padding-right: 15px;
    padding-left: 15px;
  }
  .gmodal__container--lg {
    max-width: 940px;
  }
  .gmodal__container--xl {
      max-width: 1300px;
  }
  .gmodal__container.has-center {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 60px);
  }
  .gmodal__container.has-center::before {
    content: "";
    display: block;
    height: calc(100vh - 60px);
  }
}
.gmodal__dialog {
  position: absolute;
  min-height: 100vh;
  width: 100%;
  background-color: #fff;
}
@media (min-width: 480px) {
  .gmodal__dialog {
    position: relative;
    min-height: auto;
    border-radius: 3px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  }
}
.gmodal__header, .gmodal__body, .gmodal__footer {
  position: relative;
  padding: 15px;
}
.gmodal__header {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.gmodal__footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.gmodal__title {
  font-size: 20px;
  font-weight: 600;
}
.gmodal__close {
  margin-left: auto;
  padding: 0;
  border: 0;
  background-color: transparent;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.25s ease;
}
.gmodal__close svg {
  display: block;
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
}
.gmodal__close:hover {
  opacity: 1;
}
