@charset "utf-8";
/* CSS Document */
.ajax-window {
  display: none;
  position: fixed;
  z-index: 900;
  width: 700px;
  top: 16%;
  bottom: 16%;
  left: 50%;
  margin-left: -350px;
  height: 68%;
  background-color: #fff;
  padding: 30px;
  overflow-y: auto;
}
.ajax-window.active {
  display: block;
}
.ajax-window .ajax-window-inner {
  width: 100%;
  height: 100%;
  float: left;
  position: absolute;
  top: 0px;
  left: 0px;
  padding: 16px 30px;
  overflow-x: hidden;
  overflow-y: scroll;
  background-image: url("../img/loading.gif");
  background-size: 151px 151px;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
  padding-top: 50px;
}
.ajax-window-inner-wrap {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  background-color: #fff;
}
.ajax-window .close-frame {
  width: 100%;
  height: auto;
  float: right;
  display: block;
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 2;
  background-color: #fff;
  padding-top: 20px;
  padding-right: 30px;
}
.ajax-window .close-frame a {
  width: auto;
  height: auto;
  display: block;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  float: right;
  font-size: 0.7em;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(to right, #ae0143 50%, #8D0036 50%);
  background-position-x: 0%;
  background-position-y: 0%;
  background-size: auto;
  background-size: 200% 100%;
  background-position: right bottom;
  transition: background 0.8s ease;
  cursor: pointer;
}
.ajax-window .close-frame a:hover {
  background-position: left bottom;
}
.ajax-window .close-frame a .close-span {
  padding: 5px;
  padding-right: 10px;
  padding-left: 20px;
  width: auto;
  height: auto;
  display: block;
  float: left;
  background-image: url("../img/close.svg");
  background-repeat: no-repeat;
  background-size: 8px auto;
  background-position: 6px 10px;
}
@media only screen and (min-width:701px) {
  .ajax-window.active {
    -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
  }
}
@media only screen and (max-width:700px) {
  .ajax-window.active {
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    margin: 0;
    position: fixed;
    background-color: #fff;
    z-index: 999;
  }
}