/* Popups */

div#unclicker {
	display: none;
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background-image: url('../images/spacer.gif');
	z-index: 19999;
	}
div#dragsurface {
	position: absolute;
	display: none;
	top: 0; right: 0; bottom: 0; left: 0;
	background-image:url("../images/spacer.gif");
	cursor:all-scroll;
	z-index: 100000;
	}
	
div.hmpopup , p.hmpopup{
	margin: 0; padding: 0;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}

div#hmpopupbox {
	position: absolute; 
	display: none; 
	border: 0.154rem solid #bfbfbf;
	background-color: #ffffff;
	top: 1rem; left: 1rem;
	width: 20rem;
	height: 3.6rem;
	max-width: 50%;
	max-height: 80%;
	box-shadow: 0.125rem 0.125rem 0.500rem 0.025rem #959595;
	z-index: 20000;
	}
div#hmpopuptitlebar {
	position: absolute;
	top: 0; left: 0; right: 0; 
	height: 1.2rem;
	background-color: #bfbfbf;
	padding: 0 0.3rem; 
	color: #444444;
	font-weight: bold;
}
div#hmpopuptitlebar p.hmpopup {
	position: absolute;
	left: 0; top: 0; bottom: 0; right: 1.5rem;
	margin: 0; padding: 0.15rem 0.5rem 0 0.5rem;
	font-size: 1rem;
	text-align: center;
	line-height: 1;
	}
div#hmpopuptitlebar  div#hmpopuptitle {
	position: absolute;
	left: 0; top: 0; bottom: 0; right: 1.5rem;
	cursor: move;
	padding-top: 0.15rem;
}
div#hmpopuptitlebar div#hmclosepopup{
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 1.5rem;
	line-height: 1;
	cursor: pointer;
	padding-top: 0.15rem;
}
div#hmpopuptitlebar  div#hmclosepopup span {
	display: block; position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	font-size: 1.2rem;
	text-align: center;
	}
div#hmpopuptitlebar  div#hmclosepopup:hover {
	color: red;
	}
div#hmpopupbody {
	position: absolute;
	top: 1.6rem; left: 0; right: 0; bottom: 0.05rem;
	overflow: hidden;
	padding: 0;
	background-color: #ffffff;
	-webkit-overflow-scrolling: touch;
	}
iframe#hmXPopupFrame {
	position: absolute; 
	top:0; left:0; 
	width:100%; height:100%;
	border: none;
}

@media only screen and (max-device-width:720px){
	div#hmpopupbox {
		height: 4.2rem;
		max-width: 90%;
		max-height: 90%;
	}

}
