/*!
 * Noscript Modal
 * (c) 2013 Tanjo, Hiroyuki | Available under the MIT license.
 */
.ns-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  z-index: 10000;
  overflow: hidden;
  -webkit-transition: width 0s linear .2s, height 0s linear .2s;
     -moz-transition: width 0s linear .2s, height 0s linear .2s;
       -o-transition: width 0s linear .2s, height 0s linear .2s;
          transition: width 0s linear .2s, height 0s linear .2s;
}
.ns-modal:target {
  width: 100%;
  height: 100%;
  z-index: 10010;
  -webkit-transition-delay: 0s;
     -moz-transition-delay: 0s;
       -o-transition-delay: 0s;
          transition-delay: 0s;
}
.ns-modal-overlay {
  opacity: 0;
  -webkit-transition: opacity .2s;
     -moz-transition: opacity .2s;
       -o-transition: opacity .2s;
          transition: opacity .2s;
}
.ns-modal:target > .ns-modal-overlay {
  opacity: 1;
}
.ns-modal-box {
  opacity: 0;
  -webkit-transform: scale(.8,.8);
     -moz-transform: scale(.8,.8);
       -o-transform: scale(.8,.8);
          transform: scale(.8,.8);
  -webkit-transition: opacity .2s, -webkit-transform .2s;
     -moz-transition: opacity .2s,    -moz-transform .2s;
       -o-transition: opacity .2s,      -o-transform .2s;
          transition: opacity .2s,         transform .2s;
}
.ns-modal:target > .ns-modal-box {
  opacity: 1;
  -webkit-transform: none;
     -moz-transform: none;
       -o-transform: none;
          transform: none;
}
.ns-modal-overlay {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.5);
  cursor: default;
  outline: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
.ns-modal-box {
  display: block;
  position: absolute;
  top: 10%;
  left: 15px;
  right: 15px;
  bottom: auto;
  max-width: 560px;
  margin: 0 auto;
  border-radius: 4px;
  background-color: #fff;
  box-shadow: 0 0 10px 0 rgba(0,0,0,.4);
}
.ns-modal-box.full {
  top: 15px;
  bottom: 15px;
  max-width: none;
  margin: 0;
}
.ns-modal-close {
  display: block;
  position: absolute;
  top: 10px;
  right: 14px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  z-index: 1;
  outline: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #ccc;
}
.ns-modal-close:hover,
.ns-modal-close:focus {
  color: #999;
  text-decoration: none;
}
.ns-modal-box-inner {
  max-height: 450px;
  overflow: auto;
  padding: 15px;
}
.ns-modal-box.full .ns-modal-box-inner {
  position: absolute;
  top: 0;
  bottom: 0;
  max-height: none;
}
