/* Basic sample */

body {
  overflow:hidden;
}

body.normal {
	overflow: inherit;
}

.page {
  background-image:url(../pages/splash-page.png);
}

.flipbook-viewport{
  overflow:hidden;
  width:100%;
  height:100%;
}

.flipbook-viewport .container{
  position:absolute;
  bottom: 0;
  left:50%;
  margin:auto;
}

.flipbook-viewport .flipbook{
  width:800px;
  height:400px;
  left:-400px;
  /*top:-200px;*/
}

.flipbook-viewport .page{
  width:400px;
  height:400px;
  background-color:white;
  background-repeat:no-repeat;
  background-size:100% 100%;
}

.flipbook .page{
  -webkit-box-shadow:0 0 20px rgba(0,0,0,0.2);
  -moz-box-shadow:0 0 20px rgba(0,0,0,0.2);
  -ms-box-shadow:0 0 20px rgba(0,0,0,0.2);
  -o-box-shadow:0 0 20px rgba(0,0,0,0.2);
  box-shadow:0 0 20px rgba(0,0,0,0.2);
}

.flipbook-viewport .page img{
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin:0;
}

.flipbook-viewport .shadow{
  -webkit-transition: -webkit-box-shadow 0.5s;
  -moz-transition: -moz-box-shadow 0.5s;
  -o-transition: -webkit-box-shadow 0.5s;
  -ms-transition: -ms-box-shadow 0.5s;

  -webkit-box-shadow:0 0 20px #ccc;
  -moz-box-shadow:0 0 20px #ccc;
  -o-box-shadow:0 0 20px #ccc;
  -ms-box-shadow:0 0 20px #ccc;
  box-shadow:0 0 20px #ccc;
}

.flipbook-viewport .double{
  width:800px;
  height:400px;
  background-size:100% 100%;
}


#active-popup {
  background-color: rgba(255,255,255,0.8);
  position: absolute;
  width: 100%;
  height: 100% !important;
  top: 0;
  left: 0;
  z-index: 999;
}

#popup-container {
  width: 100%;
  height: 10%;
  margin: 0 auto;
  position: fixed;
  z-index: 999;
  bottom: 0;
  display: none;
}

.modal-content {
  position: relative;
  text-align: center;
}

#popup-window { position: relative; }

.modal-content h1,
.modal-content p { color: #fff; }

.modal-content p { padding: 20% 5% 0 5%; }

#popup-container a.close {
  position: relative;
  float: right;
  right: 2%;
  z-index: 999;
  font-size: 2em;
  font-family: sans-serif;
  line-height: 1em;
  text-align: center;
  cursor: pointer;
  background: #001A45;
  color: white; 
  border-radius: 24px;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  padding: 6px 12px;
  
/*
  position: relative;
  float: right;
  top: -15px;
  right: -7px;
  z-index: 99;
  font-weight: bold;
  font-size: 16px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  padding: 2px 5px 2px 6px;
  line-height: 1em;
  text-align: center;
  background: #E74C3C;
  border: 4px solid #fff;
  cursor: pointer;
  color:#fff;*/
}


#popup-container a.close:hover {
  background: #0088cc;
}

