#quickModal{
	display: none;
	line-height: 1.2;
	text-align: left;
	/* can add your font styling here */
	font-family: sans-serif;
	font-size: 14px;
	color: #555;
}

#quickModal,
#quickModal .qmBg{
	position: fixed;
	z-index: 999990;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
#quickModal .qmBg{
	position: absolute;
	background: #000;
	filter: alpha(opacity=50);
	background: rgba(0,0,0,0.5);
}
#quickModal .qmBg:not([IE9orNewer]){
	filter: alpha(opacity=100);
}
#quickModal .qmBox{
	position: absolute;
	z-index: 999999;
	top: 45%;
	left: 50%;
	
	width: 20em;
	padding: 1em;
	margin-left: -11em;
	margin-top: -6em;
	
	background: #fff;
	box-shadow: 0 10px 50px 10px rgba(0,0,0,0.6);
	
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	
	visibility: hidden;
}

#quickModal .qmCont{
	padding: 0.5em;
	margin-top:15px;
	-webkit-touch-callout: default;
	-webkit-user-select: text;
	-khtml-user-select: text;
	-moz-user-select: text;
	-ms-user-select: text;
	user-select: text;
}

#quickModal .qmClose{
	display: block;
	position: absolute;
	top: 0.25em;
	right: 0.25em;
	
	font-size: 2.5em;
	line-height: 0.6;
	width: 0.6em;
	height: 0.6em;
	overflow: hidden;
	text-align: center;
	
	color: #888;
	cursor: pointer;
	font-family: sans-serif;
	font-weight: normal;
	font-style: normal;
}

#quickModal .qmButtons{
	text-align: right;
	margin-top: 1em;
}

#quickModal .qmButtons a{
	display: none;
	cursor: pointer;
	
	padding: 0.4em 1em;
	margin-left: 0.75em;
	min-width: 2.5em;
	text-align: center;
	
	color: #fff;
	background: #007ABF;
	
	font-weight: bold;
	text-decoration: none;
	opacity: 0.8;
}
#quickModal .qmButtons a:hover,
#quickModal .qmButtons a:focus{
	opacity: 1;
}
#quickModal .qmButtons a:active{
	position: relative;
	top: 1px; /* em here => sub-pixel offset + sub-pixel height/position => different offsets of top and bottom borders */
}

#quickModal.show{
	display: block;
}

#quickModal.ok		.qmOk,
#quickModal.yes		.qmYes,
#quickModal.no		.qmNo,
#quickModal.cancel	.qmCancel{
	display: inline-block;
}

#quickModal.none .qmButtons{
	display: none;
}


/*** Custom popup style ****/



#divCustomePopup #quickModal .qmBox{
    padding:5px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

#divCustomePopup #quickModal .qmCont{
    margin-top:0 !important;
    padding:0;
}


