.block{
	width: 100%;
	height: 100%;
	z-index: 999;
	background: rgb(79, 79, 79);
	position: fixed;
	opacity: 0.6;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
.close{
	color: rgb(0, 0, 0);
}
.modal{
	display: none;
	position: fixed;
	margin: 0 auto;
	width: 600px;
	min-height: 110px;
	max-height: 100%;
	min-width: 200px;
	max-width: 100%;
	outline: 0;
	bottom: auto;
	overflow-y: auto;
	background-color: #fafafa;
	box-shadow: 0 15px 20px 0 rgba(0,0,0,.25);
	border-radius: 3px;
	z-index: 1000;
}
.modal .modal-title{
	width: 100%;
	position: relative;
	padding: 16px 24px;
	border-bottom: 1px solid #eee;
	background: #fafafa;
}
.modal .modal-title button{
  width: 25px;
  height: 20px;
  border: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}
.modal .modal-title button.close{
	color: rgb(92, 91, 91);
}
.modal .modal-body{
	width: 100%;
	overflow: auto;
	background-color: #fff;
	padding: 10px 20px;
}
.modal .modal-footer{
	position: relative;
	padding: 4px;
	border-top: 1px solid #eee;
	background: #fafafa;
	margin: 0;
}
.modal .modal-footer button{
	min-width: 88px;
	min-height: 35px;
	margin: 4px;
  	padding: 10px 20px;
  	border: 0;
  	background-color: transparent;
  	background-repeat: no-repeat;
  	background-position: center;
  	cursor: pointer;
	font-size: 14px;
	font-weight: bold;
	border-radius: 4px;
}
.modal .modal-footer button:hover{
	background: #9B9B9B;
	color: #fff;
}
.modal .modal-footer button.button-ok{
	color: #3593D2;
}
.modal .modal-footer button.button-ok:hover{
	background: #3593D2;
	color: #fff;
}
.modal .modal-footer button.button-cancel:hover{
	background: #9B9B9B;
	color: #fff;
}
.modal .modal-footer button.button-delete{
	color: #C52525;
}
.modal .modal-footer button.button-delete:hover{
	background: #C52525;
	color: #fff;
}
.modal .modal-footer button.margin-0{
	margin: 0;
}
.modal-load{
	display: none;
	position: fixed;
	width: 150px;
	top: 0;
	left: -75px;
	margin-top: 10%;
	margin-left: 50%;
	max-height: 100%;
	background-color: #fafafa;
	box-shadow: 0 15px 20px 0 rgba(0,0,0,.25);
	border-radius: 3px;
}
.modal-load .modal-body{
	width: 100%;
	overflow: auto;
	background-color: #fff;
	padding: 20px;
}
.modal-load .modal-body img{
	display: block;
	margin: 0 auto;
}
.modal-load .modal-body p{
	display: block;
	width: 100%;
	text-align: center;
	margin-top: 10px;
}
@media (max-width:640px){
	.modal{
		width: 450px;
		max-width: 100%;
		max-height: 100%;
	}	
}
@media (max-width:480px){
	.modal{
		margin: 0;
		width: 100%;
		height: 100%;
		max-width: 100%;
		max-height: 100%;
	}
	.modal .modal-body{
		height: calc(100% - 112px);
	}
}