.blocker {
position: fixed;
top: 0; right: 0; bottom: 0; left: 0;
width: 100%;
height: 100%;
overflow: auto;
z-index: 1;
padding: 20px;
background-color: rgb(0,0,0);
background-color: rgba(0,0,0,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;
width: 50%;
padding: 30px;
text-align: left;
vertical-align: middle;
position: relative;
z-index: 2; 
background: #000;
}

.modal a.close-modal {
position: absolute;
top: 0;
right: 0;
display: block;
width: 30px;
height: 30px;
text-indent: -9999px;
background-size: contain;
background-repeat: no-repeat;
background-position: center center;
background-image: url("../../images/button_close.png");

}

.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;
animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.modal-spinner .rect2 {
animation-delay: -1.1s;
}

.modal-spinner .rect3 {
animation-delay: -1.0s;
}

.modal-spinner .rect4 {
animation-delay: -0.9s;
}

@keyframes sk-stretchdelay {
0%, 40%, 100% {
transform: scaleY(0.5);
}
}




.modal div {
margin: 0 0 20px 0;
}

.modal span {
font-size: 12px;
display: block;
opacity: 0.7;
margin: 0 0 10px 0;
}

.modal h4 {
font-size: 17px;
margin: 0 0 10px 0;
}

.modal p {
font-size: 13px;
}




@media screen and (max-width: 1000px) {
.modal {
width: 100%;
padding: 20px;
}
}