#PopupModal .modal-header{
	padding: 0;
}

#PopupModal button.close {
	font-size: 30px!important;
	position: absolute;
	color: #000;
	z-index: 99;
	background-color: #d85959;
	background: none;
	top: 0!important;
	right: 0;
	text-align: center;
	padding: 0;
	width: 30px;
	height: 30px;
	min-width: auto;
	min-height: auto;
}

#PopupModal button:hover {
	background-color: rgba(0,0,0,0.5);
}
#PopupModal button:hover.close {
	color: #fff;
}

#PopupModal button, .button {
	display: inline-block;
	border: none;
	color: white;
	font-size: 12px;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	vertical-align: top;
	cursor: pointer;
	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;
	-o-transition: all .3s ease-out;
	transition: all .3s ease-out;
}

#PopupModal .modal-dialog .modal-content {
	width: initial!important;
	min-width: 290px;
	max-width: 100%;
	overflow: auto;
	width: 100%;
	max-height: 100%;
}


#PopupModal .modal {
	display: none;
	padding: 0 !important;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1050;
	-webkit-overflow-scrolling: touch;
	outline: 0;
}

.fade.in {
	opacity: 1;
}
.fade {
	opacity: 0;
	-webkit-transition: opacity .15s linear;
	-o-transition: opacity .15s linear;
	transition: opacity .15s linear;
}

#PopupModal .modal-content {
	height: auto;
	background: #fff;
	border: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	position: fixed;
	top: 50%;
	left: 50%;
	-ms-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

#PopupModal .modal-content .modal-body {
	padding: 30px 15px;
}

@media only screen and (min-width:480px){
	#PopupModal .modal-dialog .modal-content {
		min-width: 450px;
	}
}