.blocker {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	z-index: 1;
	padding: 20px;
	box-sizing: border-box;
	background-color: rgba(0, 0, 0, 0.3);
	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: top;
	margin-top: 5vh;
	position: relative;
	z-index: 2;
	max-width: 1200px;
	min-width: 400px;
	min-height: 200px;
	box-sizing: border-box; 
	background: #fff;
	padding: 15px 20px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-o-border-radius: 3px;
	-ms-border-radius: 3px;
	border-radius: 3px;
	-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 #787878;
	text-align: left
}
.modal-head {
    display: block;
    font-size: 14px;
    font-weight: 400;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 5px;
    margin-bottom: 10px;
}
.modal-body {
    line-height: 20px;
    font-size: 13px;
}

.modal-foot {
    text-align: right;
    border-top: 1px solid #dcdcdc;
    padding-top: 7px;
}
.modal-foot .btn {
    margin-left: 5px;
    padding: 0px 33px;
}
#msg.modal {
    background: #000000b5;
    color: #e2e2e2;
    font-size: 14px;
    width: 400px;
    min-height: 130px;
}
#msg .close-modal {
	display:none;
}
#confirm .close-modal {
	display:none;
}
#confirm.modal .modal-body {
    min-height: 120px;
}
.modal a.close-modal {
	position: absolute;
    top: 3px;
    right: 3px;
    display: block;
    width: 30px;
    height: 30px;
    font-size: 0px;
    background: #e4e4e4;
}
.modal a.close-modal:after {
    content: 'X';
    line-height: 34px;
    width: 30px;
    height: 30px;
    color: #fff;
    font-size: 24px;
    text-align: center;
}
.modal a.close-modal:hover {
    background: #555555;
}
.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)
	}
}