#message-box-template, .message-box-wrapper {
	display: none;
}

.message-box {
	z-index: 20;
	/*-webkit-border-radius: 5px;
	border-radius: 5px;*/
}

.message-box-overlay {
	background-color: black;
	background-color: rgba(0, 0, 0, 0.750);
	height: 100%;
	position: fixed;
	width: 100%;
	z-index: 21;
	top: 0px;
	left: 0px;
}

.message-box-horizon {
	position: fixed;
	top: 50%;
	width: 100%;
	height: 1px;
	/*background-color: yellow;	*/
	z-index: 22;
}

.message-box-window {
	position: absolute;
	width: 540px;
	height: 200px;
	margin-left: -270px;
	left: 50%;
	top: -100px;

	color: black;

/*	text-align: center;*/

	display: table;
	/*display: table;*/

	background-color: white;
}

/*@media all and (max-width: 540px) {
	.message-box-window {
		width: 98%;
		margin-left: -49%;
	}
}*/

.message-box-window-in {
	display: table-cell;
	/*vertical-align:middle;	*/
	width: 100%;
	max-width: 100%;
}

.message-box-window-in > a {
	position: absolute;
	top: 0px;
	right: 0px;
	text-decoration: none;
	background-color: black;
	color: white;
	width: 25px;
	text-align: center;
	height: 25px;
	display: table;
	line-height: 24px;
	font-size: 20px;
}

.message-box-window-in > a:hover {
	color: black;
}

.message-box-window-in > a > i {
	position: relative;
	top: -1px;
	left: 1px;
}

.message-box-window-in > h2,
body.home .message-box-window-in > h2 {
	padding: 0px !important;
	margin: 0px !important;
	font-size: 34px;
	line-height: 34px;
	font-size: 20px;
}

.message-box-window-content {
	/*display: table;*/
	overflow: auto;
		
}

.noOverflowAuto .message-box-window-content {
	overflow: inherit;
}

.message-box-window-content-in {
	/*display: table-cell;*/
	vertical-align: middle;

	/*font-size: 12px;*/
	padding: 20px 15px;
}

.window-iframe .message-box-window-content-in {
	padding: 0px;
}

.message-box-window p {
	margin-bottom: 8px;
}

.message-box-window .message-box-window-content-in > *:last-child {
	margin-bottom: 0px;
}

/* =========================== */

.message-box-window-in > h2,
body.home .message-box-window-in > h2 {
	text-align: center;
	background-color: #FEBA0D;
	color: black;
	padding: 12px 11px 14px 11px !important;
	margin: 10px;
	font-size: 26px;
	vertical-align: center;

	border: 1px solid white;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.message-box-window-in > a {
	top: 1px;
	right: 1px;
}

.message-box-window-in > a:hover {
	color: #a1d8fd;
}


.message-box-window.window-loading {
	text-align: center;
}

.message-box-window-loader,
.message-box-window.window-loading p.loader {
	background: transparent url('ajax-loader.gif') no-repeat top center;
	font-weight: bold;
	text-indent: -9999px;
	height: 32px;
	width: 32px;
	margin: 35px auto;
}

.message-box-window.content-center {
	text-align: center;
}




.message-box-window-in > .modal-window-action-close {
	-webkit-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid white;
	top: -8px !important;
	right: -8px !important;
	padding: 0px 0px;
	width: 36px;
	height: 36px;
	line-height: 36px;
	text-align: center;
	display: block;
	
}

.message-box-window-in > .modal-window-action-close > * {
	line-height: 0.95;
}

.message-box-window-in > .modal-window-action-close:hover {
	background-color: red !important;
	border-color: white;
	color: black !important;
}

.iframe #iframe_cp_calc {
	overflow: scroll;
	/*min-width: 686px;*/
}

.iframe .message-box-window-content-in {
	/*padding: 0px;*/
}

#ModalWindow_loading {
	width: 100px;
	position: absolute;
	text-align: center;
	display: block;
	left: 50%;
	margin-left: -50px;
	z-index: 11;
}

.media-box-body > h2 {
	margin-top: 0px;
}