/***********************************************
  needPopup
  - Version 1.0.0
  - Copyright 2015 Dzmitry Vasileuski
  - Licensed under MIT (http://opensource.org/licenses/MIT)
***********************************************/
/* Block page scroll
***********************************************/
.needpopup-opened,
.needpopup-opened body {
  overflow: hidden;
}
.needpopup-opened.needpopup-scrolled,
.needpopup-opened.needpopup-scrolled body {
  height: auto;
}
.needpopup-opened.needpopup-scrolled body {
  position: fixed;

  width: 100%;
}
/* Popup wrapper
***********************************************/
.needpopup_wrapper {
  position: fixed;
 /*  z-index: 999; */
 z-index: 10004; 
  top: 0;
  left: 0;

  visibility: hidden;
  overflow: auto;

  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 0; /*padding: 40px 0;*/

  -webkit-transition: opacity .3s ease;
          transition: opacity .3s ease;

  opacity: 0;
  background: #000;
  background: rgba(0, 0, 0, .8);
}
.needpopup-opened .needpopup_wrapper {
  visibility: visible;

  opacity: 1;
}
.needpopup-overflow .needpopup_wrapper {
  padding: 10px;
}
/* Popup appearence
***********************************************/
.needpopup {
  position: relative;
  z-index: 10005; 
  /*z-index: 9999;*/
  top: 50%;
  left: 50%;
  border-radius:16px;
  display: none;

  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 550px;
  max-width: 100%;
  margin-left: -275px;
  padding: 0px;
  /* padding: 30px; */

  -webkit-transform: scale(.1, .1);
          transform: scale(.1, .1);

  opacity: 0;
  background: #fff;
}
.needpopup.opened {
  -webkit-transition: opacity .5s ease, -webkit-transform .5s ease;
          transition: opacity .5s ease, -webkit-transform .5s ease;
          transition: opacity .5s ease, transform .5s ease;
          transition: opacity .5s ease, transform .5s ease, -webkit-transform .5s ease;
  -webkit-transform: scale(1, 1);
          transform: scale(1, 1);

  opacity: 1;
}
.needpopup.stacked {
  top: 0 !important;

  margin-top: 0 !important;
}
.needpopup-overflow .needpopup {
  left: 0;

  width: auto;
  margin-left: 0;
}

/* Popup remover
***********************************************/
.needpopup_remover {
  display:none; /* �대� �リ린踰꾪듉 �쎌엯�쇰줈 �④�泥섎━ */
  position: fixed;
  z-index: 10006; 
 /* z-index: 99999;*/
  top: 30px;
  right: 30px;
  font-size: 40px;
  line-height: .5;
  color: #fff;
  text-decoration: none;
}
.needpopup_remover:hover {
  color: #ccc;
}
.needpopup_remover:before {
  content: ' ';
}
.needpopup .needpopup_remover {
  top: 10px;
  right: 10px;

  font-size: 20px;
  line-height: .5;
  color: #000;
}
.needpopup .needpopup_remover:hover {
  color: #ccc;
}

/* full screen */
.needpopup_full {
    position: absolute;
    z-index: 10005; 
    /* z-index: 9999; */
    top:0;
    left:0;
    display: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height:100%;
    padding: 30px;

    -webkit-transform: scale(.1, .1);
    transform: scale(.1, .1);

    opacity: 0;
    background: #fff;
}
.needpopup_full.opened {
    -webkit-transition: opacity .5s ease, -webkit-transform .5s ease;
    transition: opacity .5s ease, -webkit-transform .5s ease;
    transition: opacity .5s ease, transform .5s ease;
    transition: opacity .5s ease, transform .5s ease, -webkit-transform .5s ease;
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);

    opacity: 1;
}
.needpopup_full.stacked {
    top: 0 !important;

    margin-top: 0 !important;
}
.needpopup-overflow .needpopup_full {
    left: 0;
    width:100%;
    margin-left: 0;
}
.fullscreen_popup .needpopup_remover {display:none;}
.fullscreen_popup .needpopup_wrapper{background:#fff;}

