.bodyfix {
	width: 100%;
	overflow: hidden !important;
}

.blocker {
	position: fixed;
	top: 0; right: 0; bottom: 0; left: 0;
	width: 100%; height: 100%;
	overflow: auto;
	overflow-scrolling: touch;
	-webkit-overflow-scrolling: touch;
	z-index: 1000;
	padding: 20px;
	box-sizing: border-box;
	background-color: rgba(0,0,0,0.5);
	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;
	/*overflow: hidden;*/
	vertical-align: middle;
	position: relative;
	z-index: 2;
	max-width: 500px;
	box-sizing: border-box;
	width: 100%;
	background: #fff;
	padding: 0;
	border-radius: 15px;
	text-align: left;
	box-shadow: 0 3px 30px 0 rgba(0,0,0,.15);
}

.modal .head {
	font-size: 21px;
	font-weight: 400;
	padding: 20px;
	box-sizing: border-box;
	border-bottom: 1px solid #e1e4ef;
}

.modal .cont {
	padding: 20px;
}

.modal .cont .section {
	margin-bottom: 20px;
}

	.modal .cont .section:last-child {
		margin-bottom: 0;
	}

.modal .m_result {
	padding: 20px;
	background-color: #ffefb4;
	display: none;
	box-sizing: border-box;
}

.modal .foot {
	border-radius: 0 0 15px 15px;
	align-items: center;
	padding: 15px 20px;
	box-sizing: border-box;
	/*border-top: 1px solid #f7f8fa;*/
	background-color: #f7f8fa;
}

.modal a.close-modal {
	position: absolute;
	top: 20px;
	right: 20px;
	box-sizing: border-box;
	display: block;
	z-index: 1000;
	width: 23px;
	height: 23px;
	text-indent: -9999px;
	overflow: hidden;
	border-radius: 30px;
	/*background-color: #888;*/
	background: transparent url("data:image/svg+xml,%0A%3Csvg width='10px' height='10px' fill='%23333' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 492 492'%3E%3Cpath d='M300.188,246L484.14,62.04c5.06-5.064,7.852-11.82,7.86-19.024c0-7.208-2.792-13.972-7.86-19.028L468.02,7.872 c-5.068-5.076-11.824-7.856-19.036-7.856c-7.2,0-13.956,2.78-19.024,7.856L246.008,191.82L62.048,7.872 c-5.06-5.076-11.82-7.856-19.028-7.856c-7.2,0-13.96,2.78-19.02,7.856L7.872,23.988c-10.496,10.496-10.496,27.568,0,38.052 L191.828,246L7.872,429.952c-5.064,5.072-7.852,11.828-7.852,19.032c0,7.204,2.788,13.96,7.852,19.028l16.124,16.116 c5.06,5.072,11.824,7.856,19.02,7.856c7.208,0,13.968-2.784,19.028-7.856l183.96-183.952l183.952,183.952 c5.068,5.072,11.824,7.856,19.024,7.856h0.008c7.204,0,13.96-2.784,19.028-7.856l16.12-16.116 c5.06-5.064,7.852-11.824,7.852-19.028c0-7.204-2.792-13.96-7.852-19.028L300.188,246z'/%3E%3C/svg%3E%0A") center no-repeat;
	opacity: .75;
}
.modal a.close-modal:hover {
	opacity: 1;
	background-color: #edeff3;
}

@media (max-width: 800px) {

	.blocker {
		padding: 0;
	}
	.blocker:before {
		/*vertical-align: top;*/
	}

}

@media (max-width: 500px) {
	.blocker {
		background: rgba(0,0,0,.5);
	}
	.modal, #showallblocks {
		border-radius: 0;
	}
	.modal .foot {
		border-radius: 0;
	}
}
















