.modalBox,
.modalBox.alert > div {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
}
.modalBox-open {
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  padding-right: 17px;
}
.modalBox-wrapper {
  position: fixed;
  padding: 1em;
  top: 0;
  left: 0;
  z-index: 999999;
}
.bottom-left {
  bottom: 0;
  left: 0;
  top: auto;
}
.bottom-right {
  bottom: 0;
  right: 0;
  top: auto;
  left: auto;
}
.top-left {
  top: 0;
  left: 0;
}
.top-right {
  top: 0;
  right: 0;
  left: auto;
}
.modalBox-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.35);
  -webkit-transition: background 0.2s ease;
  -moz-transition: background 0.2s ease;
  -o-transition: background 0.2s ease;
  transition: background 0.2s ease;
  z-index: 9999;
}
.modalBox-v-align {
  position: relative;
  display: table;
  width: 100%;
  height: 100%;
  min-height: 100%;
}
.modalBox-v-align > div {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  padding: 1rem;
  max-height: 100%;
}
.modalBox {
  position: relative;
  overflow: hidden;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.modalBox.alert {
  width: 100%;
  max-width: 420px;
  background-color: #fff;
  margin: 0 auto;
}
.modalBox.sm {
  max-width: 300px;
}
.modalBox.lg {
  max-width: 600px;
}
.modalBox.xl {
  max-width: 800px;
}
.modalBox.xxl {
  max-width: 1000px;
}
.modalBox.full,
.modalBox.full-x {
  max-width: none;
  width: 100%;
}
.modalBox.full {
  max-height: none;
  height: 100%;
}
.modalBox.full-y {
  max-height: 100%;
}
.modalBox.notify {
  width: 100%;
  max-width: 300px !important;
  color: #f6f6f6;
  color: rgba(255, 255, 255, 0.9);
  background-color: #1e2227;
  background-color: rgba(30, 34, 39, 0.92);
}
.modalBox.notify.white {
  background-color: #f8f8f8;
  background-color: rgba(248, 248, 248, 0.92);
  color: #666;
}
.modalBox.notify.success {
  background-color: #26a65b;
  background-color: rgba(38, 166, 91, 0.92);
}
.modalBox.notify.error {
  background-color: #e75854;
  background-color: rgba(231, 88, 84, 0.92);
}
.modalBox.notify.warning {
  background-color: #e0bb20;
  background-color: rgba(224, 187, 32, 0.92);
}
.modalBox.notify.info {
  background-color: #0091b8;
  background-color: rgba(0, 145, 184, 0.92);
}
.modalBox.alert > div {
  padding: 2.5rem 2rem 2rem;
  overflow: hidden;
}
.modalBox.notify > div {
  padding: 0.7em 1.8em 0.7em 0.7em;
}
.modalBox-image {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  text-align: center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-image: url(modalBox/modalBox_info.png);
}
.success .modalBox-image {
  background-image: url(modalBox/modalBox_success.png);
}
.error .modalBox-image {
  background-image: url(modalBox/modalBox_error.png);
}
.info .modalBox-image {
  background-image: url(modalBox/modalBox_info.png);
}
.modalBox.alert .modalBox-title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 120%;
  color: #666;
  margin-bottom: 1rem;
}
.modalBox.notify .modalBox-title {
  text-align: left;
  font-size: 0.95em;
  font-weight: 700;
  line-height: 120%;
  color: #f6f6f6;
  color: rgba(255, 255, 255, 0.9);
}
.modalBox-content a,
.modalBox-title a {
  text-decoration: underline;
}
.modalBox.alert .modalBox-content {
  line-height: 120%;
}
.modalBox.notify .modalBox-content {
  font-size: 0.9em;
  padding: 0.2em 0 0;
  line-height: 120%;
}
.modalBox .loader {
  min-height: 12em;
  background: url(modalBox/loader.gif) center center no-repeat;
}
.modalBox-close {
  position: absolute;
  background-image: url(modalBox/close.png);
  background-repeat: no-repeat;
  background-position: 0;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
  cursor: pointer;
  opacity: 0.5;
  z-index: 999;
  -webkit-transition: opacity 0.2s ease;
  -moz-transition: opacity 0.2s ease;
  -o-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}
.modalBox.alert .modalBox-close {
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
}
.modalBox.notify .modalBox-close {
  top: 5px;
  right: 5px;
  width: 12px;
  height: 12px;
}
.modalBox-close:hover {
  opacity: 0.7;
}
.modalBox-bottom {
  position: relative;
  height: 2.4em;
  margin-top: 1.5em;
  text-align: center;
}
.modalBox-cancel,
.modalBox-ok {
  position: relative;
  border: none;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 0.95em;
  font-weight: 700;
  height: 2.8em;
  letter-spacing: 0.1em;
  line-height: 2.8em;
  padding: 0 1rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 80px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-transition: background 0.5s ease;
  -moz-transition: background 0.5s ease;
  -ms-transition: background 0.5s ease;
  transition: background 0.5s ease;
}
.modalBox-ok {
  background-color: #aaa;
  color: #fff;
}
.modalBox-ok:hover {
  background-color: #999;
}
.modalBox-cancel {
  background-color: transparent;
  text-decoration: underline;
  color: #bbb;
  margin-right: 0.5rem;
}
.modalBox-cancel:hover {
  color: #999;
}
@media screen and (max-width: 400px) {
  .modalBox-v-align,
  .modalBox-v-align > div {
    padding: 0;
    display: block;
    min-height: 100%;
  }
  .modalBox.alert > div {
    padding: 2.5rem 1rem;
    min-height: 100%;
  }
  .modalBox.alert {
    height: 100% !important;
    width: 100% !important;
    max-height: none !important;
    min-height: 100%;
  }
}
@-webkit-keyframes bounceIn {
  0%,
  100%,
  20%,
  40%,
  60%,
  80% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
  }
  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
  }
  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
  }
  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
  }
}
@keyframes bounceIn {
  0%,
  100%,
  20%,
  40%,
  60%,
  80% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }
  20% {
    transform: scale3d(1.1, 1.1, 1.1);
  }
  40% {
    transform: scale3d(0.9, 0.9, 0.9);
  }
  60% {
    opacity: 1;
    transform: scale3d(1.03, 1.03, 1.03);
  }
  80% {
    transform: scale3d(0.97, 0.97, 0.97);
  }
  100% {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes zoomIn {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
  }
  100% {
    opacity: 1;
  }
}
@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes zoomOut {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
  }
  100% {
    opacity: 0;
  }
}
@keyframes zoomOut {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  100% {
    opacity: 0;
  }
}
@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.show-modalBox {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
  -webkit-animation-duration: 0.75s;
  animation-duration: 0.75s;
}
.show-modalBox.zoom .modalBox {
  -webkit-animation-name: zoomIn;
  animation-name: zoomIn;
  -webkit-animation-duration: 0.75s;
  animation-duration: 0.75s;
}
.show-modalBox.bounce .modalBox {
  -webkit-animation-name: bounceIn;
  animation-name: bounceIn;
  -webkit-animation-duration: 0.75s;
  animation-duration: 0.75s;
}
.hide-modalBox {
  -webkit-animation-name: fadeOut;
  animation-name: fadeOut;
  -webkit-animation-duration: 0.75s;
  animation-duration: 0.75s;
}
.hide-modalBox.zoom .modalBox {
  -webkit-animation-name: zoomOut;
  animation-name: zoomOut;
  -webkit-animation-duration: 0.75s;
  animation-duration: 0.75s;
}
@media screen and (max-width: 600px) {
  .modalBox.alert > div {
    padding: 2.5rem 1rem 2rem 1rem;
  }
}
