/*
#pop-up-upload , #pop-up-upload-completed, #pop-up-upload-error, #pop-up-aip, #pop-up-aip-accept, #pop-up-aip-refer, #pop-up-aip-decline, #pop-up-aip-error , #pop-up-missing-document {
*/
#pop-up-upload , #pop-up-upload-completed, #pop-up-upload-error  {
	position: absolute;
	left: 50%;
	z-index: 10;
	margin: 0 0 0 -50%;
	padding: 10px 16px;
	width: 100%;
	border: 1px solid #e1e0df;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-radius: 7px;
	background: url("../images/bg-popup.jpg") 0 bottom repeat-x #F2F2F2;
}

#pop-up-upload {
	height: auto;
}
	
#pop-up-upload-completed {
	height: 200px;
}

#pop-up-upload h2 {
	font-size: 17px;
	color: #376092;
	font-weight: normal;
	margin: 0 0 5px 0;
	padding: 0;
	line-height: 19px;
}

#pop-up-upload-completed h2.green {
	color: #94C533;
}

#pop-up-upload-error h2.red {
	color: #C10030;
}


.ui-dialog .ui-dialog-content {
	overflow:visible !important;
}		
	
.ui-dialog-content {
	overflow:visible !important;
}		
	
.ui-widget-header {
	border:none; 
	background:url(../images/ui-bg_gloss-wave_50_6eac2c_500x100.png) 50% 50% repeat-x;
}

.wrap-img {
	padding: 0 0 10px 10px;
}

.wrap-img.popuperror {
	padding: 0 0 50px 0;
}

.wrap-img p {
	font-size: 14px;
	color: #897F88;
	line-height: 15px;
	padding-bottom: 0;
	padding: 0 5px 0 0;
}
	
.wrap-img img {
	float: left;
	margin: 0 15px 0 0;
}

.note-box {
	padding: 5px;
	background-color: #fff;
	margin-bottom: 10px;
}

.note-box h3 {
	font-size: 12px;
	font-weight: bold;
	color: #94C533;
	margin: 5px 0;
}

.note-box p {
	font-size: 11px;
	color: #777777;
	padding-bottom: 2px;
}

.uploading {
	padding: 20px 0 0 0;
	text-align: center;
	color: #837f7f;
	font-size: 14px;
}

.loader {
	height: 19px;
	position: relative;
	text-align: left;
	width: 100%;
	margin-bottom: 10px;
	_width: 400px;
}

.loader img {
	height: 19px;
	left: -12px;
	position: absolute;
	width: 100%;
}

.buttons-pop {
	cursor: pointer;
	/*bottom: 12px;
	_bottom: 10px;
	display: block;
	position: absolute;
	width: 429px;*/
}

#error-dialog .buttons-pop, #completed-dialog .buttons-pop {
	cursor: pointer;
	bottom: 12px;
	_bottom: 10px;
	display: block;
	position: absolute;
	width: 90%;
}

#idle-dialog {
	height: auto ! important;
}

.buttons-pop p {
	float: right;
	margin: 0;
	padding: 0;
}

.buttons-pop span {
	float: left;
	margin: 0;
	padding: 0;
}

.button-right {
	bottom: 12px;
	_bottom: 11px;
	right: 15px;
}

.padding-top-pop {
/*	padding-top: 104px;*/
	padding-top:10px;
	padding-right:10px;
}

.clear {
	clear: both;
}

.ui-widget-content {
	border: 1px solid #a6c9e2;
}

.ui-dialog {
	padding-bottom: 10px;
	overflow: visible !important;
	position:fixed;
}

.ui-widget-overlay {
/*	background: url("images/ui-bg_flat_75_aaaaaa_40x100.png") repeat-x scroll 50% 50% #AAAAAA;*/
	opacity: 0.5;
}

@media only screen and (max-width: 485px) {
	.ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-front {
		width: 100% ! important;
	}

}

@media only screen and (max-width: 399px) {
	.ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-front {
		width: 95% ! important;
		padding-right:2px;		
	}
	#error-dialog {
		height: 340px ! important;
	}
	#spinning-dialog {
		height: 340px ! important;
	}
}

@media only screen and (max-width: 320px) {
	#pop-up-upload-error, #pop-up-upload, #pop-up-upload-completed {
		width: 87%;
	}
}