/* Messages */
#message:not(:empty)
{
	margin-top: 20px;
}
#message:not(:empty) > .message:last-child
{
	margin-bottom: 0;
}
.message
{
	position: relative;
	min-height: 30px;
	padding: 12px 50px 14px 50px;
	margin-bottom: 20px;
	text-align: left;
	background: #dff0ff;
	font-size: 15px;
	line-height: 1.3;
	box-sizing: border-box;
}
.message p { margin-top: 0; }
.message a:not(.theme-button), .message a:not(.theme-button):hover { color: inherit; }

.message-ajax
{
	display: block;
	position: fixed;
	top: 0;
	z-index: 1000000;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.7);
}
.fancybox-inner .message
{
	margin-bottom: 0;
	max-width: 800px;
}
.post-json-raw .message
{
	border-radius: 4px;
	padding: 10px 11px;
	min-height: 0;
	box-shadow: none;
	margin-top: 4px;
}
.message.simple
{
	padding-left: 20px;
	padding-right: 20px;
}
.message .big-close
{
	color: #fff;
	font-size: 23px;
	top: 8px;
	right: 12px;
}
.message .big-close:hover { color: #fff; }
.fancybox-inner .message .big-close { display: none; }
.message:after
{
	display: block;
	content: '';
	position: absolute;
	font-size: 30px;
	left: 17px;
	top: 50%;
	font-weight: 700;
}
.message.ok
{
	background: #5da423;
	color: #fff;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
}
.message.ok::after
{
	margin-top: -9px;
	width: 13px;
	font-size: 0;
	height: 8px;
	border: 3px solid #fff;
	border-top: none;
	border-right: none;
	transform: rotate(-45deg);
}
.message.error
{
	background: #c63327;
	color: #fff;
	padding-left: 42px;
}
.message.error::after
{
	content: '!';
	margin-top: -19px;
}
.message.notice
{
	background: #ddc711;
	color: #000;
}
.message.notice::after
{
	content: 'i';
	font-style: italic;
	font-family: "Times New Roman";
	color: #111;
	margin-top: -20px;
	left: 20px;
}

/* Fancybox */
.open-dialog-fancybox .fancybox-skin { background-color: #f7f7f7; }
.no-border-radius .fancybox-skin
{
	border-radius: 0;
}
.dialog-box-text
{
	color: #333;
	text-align: center;
	font-size: 100%;
	border-bottom: 1px solid #e3e3e3;
	padding: 20px 40px;
	min-width: 200px;
	max-width: 600px;
}
.ajax-buttons
{
	border-top: 1px solid #fff;
	background-color: #ececec;
	border-radius: 0 0 4px 4px;
	padding: 13px 20px;
	overflow: hidden;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: space-around;
}
#fancy_confirm_button_ok { min-width: 90px; }
#fancy_confirm_button_cancel { min-width: 90px; }
#fancy_confirm_button_ok + #fancy_confirm_button_cancel { margin-left: 20px; }

#fancybox-content .ok,
#fancybox-content .error,
#fancybox-content .notice
{
	margin: 0;
}
#showalert-ok
{
	text-align: center;
	background-color: #ececec;
	border-top: 1px solid #ccc;
	border-radius: 0 0 4px 4px;
	padding: 12px 12px 13px 12px;
}
#showalert-content
{
	background: #f7f7f7;
	padding: 20px 40px;
	border-radius: 4px 4px 0 0;
}
#showalert-content .message:last-child { margin-bottom: 0; }

.entry-alert .content
{
    background: #fff;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.2);
    padding: 30px;
    width: 320px;
    min-height: 220px;
    box-sizing: border-box;
    font-size: 160%;
    line-height: 1.4;
    text-align: center;
    border-radius: 4px;
	display: block;
    position: absolute;
	left: 50%;
	top: 50%;
	margin: -110px 0 0 -160px;
}
.entry-alert
{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000000;
	background: rgba(0, 0, 0, 0.8);
	text-align: center;
	line-height: 100%;
}