/* Popups & Dialogs */
#popup_loading {
	background-color: rgb(0,0,0,0.5);
	position: fixed;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	padding: 10px 12px;
	color: #eee;
	font-size: 0.9em;
	text-align: center;
	display: none;
	z-index: 999;
}
#popup_bg {
	position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
	background-color: Black;
	opacity: 0.5;
	display: none;
	z-index: 98;
}
.dialog_popup {
	top: 0px;
    padding: 0px;
    z-index: 99;
	position: fixed;
	background-color: White;
	background: -moz-linear-gradient(top, #37474F 0px, #37474F 30px, White 30px);
	background: -webkit-linear-gradient(top, #37474F 0px, #37474F 30px, White 30px);
	background: linear-gradient(to bottom, #37474F 0px, #37474F 30px, White 30px); 
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #37474F;
	display: none;
	min-width: 300px;
}
.dialog_main {
	margin-top: 30px;
	padding: 16px 10px;
	text-align: center;
}
.dialog_main p {
	margin: 10px 0px 0px 0px;
	line-height: 150%;
	font-size: 10pt;
}
div.dragbar {
	position: absolute;
	height: 30px;
	width: 100%;
	top: 0px;
	left: 0px;
	cursor: pointer;
	color: White;
	text-align: center;
	font-weight: bold;
	padding: 5px 3px 3px 5px;
}
.dialog_popup div.buttons {
	text-align: right;
	margin: 0px;
	position: relative;
	background-color: #EBEFF2;
	padding: 10px;
	-webkit-border-radius: 0px 0px 5px 5px;
	-moz-border-radius: 0px 0px 5px 5px;
	border-radius: 0px 0px 5px 5px;
}
.dialog_popup select { width: 100%; }
.dialog_main img {
	height: 64px;
	width: auto;
}
.dialog_popup a.buttons {
	margin-bottom: 0px;
	cursor: pointer;
}
div.popup_list {
	border: 1px solid #CFD8DD;
	border-radius: 4px;
	overflow-y: auto;
	background-color: White;
	padding: 0px;
}
div.popup_list td {
	cursor: pointer;
	font-size: 10pt;
	padding: 5px;
}
div.popup_list tr:not(:first-child) td { border-top: 1px solid #EBEFF2; }
div.popup_list td:hover { background-color: #EBEFF2; }

/* Tips Popup */
div.tips {
	background-color: #FED814;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	position: absolute;
	z-index: 98;
	top: 0px;
	left: 0px;
	font-size: 0.8em;
	padding: 5px 25px 5px 7px;
	color: #434A54;
	max-width: 250px;
	display: none;
	text-align: justify;
}
div.tips img {
	top: 7px;
	right: 7px;
	width: 12px;
	height: 12px;
	position: absolute;
	cursor: pointer;
}
div.tips:before {
    content: "";
    display: block;
    width: 0px; 
    height: 0px; 
    border-left: 8px solid transparent;
	border-right: 8px solid transparent;
    border-bottom: 10px solid #FED814; 
    position: absolute;
    top: -10px;
}
div.tipsl:before { right: 25px; }
div.tipsc:before { right: 46%; }
div.tipsr:before { left: 25px; }

/* Mobile */
@media (max-width: 480px){
	div.dragbar { font-size: 0.95em; }
	.dialog_popup a.buttons { font-size: 14pt; }
}
/* Tablets */
@media (max-width: 800px) and (min-width: 481px) {
	div.dragbar { font-size: 0.95em; }
	.dialog_popup a.buttons { font-size: 13pt; }
}
/* Desktops */
@media (min-width: 801px) {
	div.dragbar { font-size: 0.9em; }
	.dialog_popup a.buttons { font-size: 12pt; }
}