/* PROMPT DIALOGS
----------------------- */
.modal.modal-error {
	box-shadow: 0 0px 50px rgba(255,0,0,.3), 0 0px 10px rgba(255,0,0,.3);
}

body.modal-open > *{
}


.popup-box-overlay{
	/*
	background-color: #eee;
	opacity: 0.95;
	filter: alpha(opacity=95);
	
	display: block;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	*/

	display: none;
}

.popup-box-overlay.topmost{
	display: block;
}


.popup-box-container{
	display: none;
	/*
	position: absolute;
	overflow:hidden;
	top:60px !important;
	*/
	/*
	border-radius: 3px;
	box-shadow: 0 1px 7px rgba(0, 0, 0, 0.3), 0 2px 100px 50px rgba(255,255,255,.3);
	background: none repeat scroll 0 0 rgba(255, 255, 255, 0.9);
	*/
}

.popup-box-container.topmost{
	display: block;
}

.popup-box-container > .popup-box-close{
/*	color: #000;
	font-size: 22px;
	font-weight: bold;
	width: auto;
	opacity: .2;
	*/
	position: absolute;
	right: 10px;
	text-decoration: none;
	top: 5px;

/*	background: url("/img/sp/common.png") no-repeat scroll -240px -120px transparent;
	text-indent:-9999px;
		overflow:hidden;
*/
}

/*
.popup-box-container > .popup-box-close:hover{
	opacity: .4;
}
*/

.popup-box-wrap{
	/*background: none repeat scroll 0 0 #FFFFFF;*/
	/*margin-left: 70px;*/
}

.popup-box-message{
	min-width: 200px;
	max-width: 800px;
	padding: 20px;
	padding: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	word-wrap: break-word;
}


.popup-box-message-content{
	display: block !important;
}

img.popup-box-message-content{
	margin: auto;
}

/*
.popup-box-message.plain-text{
	display: block;
	padding: 30px 20px;
	text-align: left;
	white-space: pre-wrap;
}
*/
.popup-box-message.plain-text {
	display: block;
	padding: 0;
	text-align: left;
	white-space: pre-wrap;
	max-height: calc(100vh - 150px);
	overflow-y: auto;
	margin: 30px 0 0 0;
	padding: 0 20px 20px 20px;
	box-sizing: border-box;
}

.popup-box-message form{
	margin:0;
}

.popup-box-icon{
	display: none !important;
}


.popup-box-buttons{
	background: none repeat scroll 0 0 #F6F6F6;
	border-top: 1px solid #EEEEEE;
	padding: 10px;
	text-align: right;
}

.popup-box-buttons .popup-box-spinner{
	background: url("/img/ajax-loader-spinner-03.gif") no-repeat scroll 0 0 transparent;
	display: inline-block;
	height: 15px;
	margin: 8px 0 8px 5px;
	padding: 2px;
	vertical-align: middle;
	width: 15px;
}


.popup-box-input{
	display: block;
	margin-top: 10px;
}

.popup-box-form{
	margin: 0;
}


.popup-box-autoclose-remaining{
margin-left:5px;
}


/* responsive
--------------------- */
@media (max-width: 767px), (max-height:500px) {
	body.modal-open > *{
		display: none;
	}

	.popup-box-overlay{
	}

	.popup-box-container, .popup-box-container.modal{
		position: absolute !important;
		top: 0 !important;
		bottom: auto !important;
		left: 0 !important;
		right: 0 !important;
		width: auto !important;
		margin: 0 !important;
		border-radius: 0px;
	}

	.popup-box-message{
		padding: 0;
		max-width: none !important;
	}

	.popup-box-container{
		box-shadow: none;
	}
}

@media (max-width: 480px) {
	.popup-box-overlay{
	}

	.popup-box-container{
	}

	.popup-box-message.plain-text{
		padding: 10px;
	}

	.popup-box-container{
	}
}