/*** T H E M E  E V E N I N G ***/
body {
	background: #bbccf1 url(/images2/layout/bg.night.grad.png) repeat-x; /* background gradient */
	}
#helper-wrap {
	background: url(/images2/layout/bg.night.jpg) center 0 no-repeat; /* background image */
	}	
#doc #hd h1 a {
	background-image: none !important /* hide, original logo, but leave clickable home area */
	}	
#doc #wrp {
	border-color:#4556b4; /* layout border colors */
	}
#ft,
#ft a {
	color:#4556b4;
	}	
#ft a:hover {
	color: #27378e !important;
	}
#board,
#btm,
#nav a:hover,
#home li.home a,
#games li.games a,
#trade li.trade a,
#forum li.forum a,
#donate li.donate a,
#shops li.shops a,
#inv li.inv a,
#inbox li.inbox a,
.pt span,
.w a,
.b a,
.wR,
.bR,
a.w,
a.b,
a.w .bR,
a.b .bR {
	background: url(/images2/spry/spry.night.png) no-repeat; /* theme spry image */
	}
#bc,	
#bc a, 
#bc a span, 
#bc a:hover span, 
#top-tools-container, 
#top-tools-container a,
.sap li a {
	color: #9cabff !important; /* board link and text color */
	border-color: #9cabff !important; /* board border color */
	}
#top-tools-container a:hover,
#bc a:hover {
	color: #fff !important /* board link hover */
	}	
#inbox-wrap .bg3 {
	background: #4556b4;
	}	
#cp-main span.corners-top,
#cp-menu span.corners-top,
#cp-main span.corners-bottom,
#cp-menu span.corners-bottom {
	background-image: url(/images2/layout/corners.left2.night.gif);
	}
#cp-main span.corners-bottom span,
#cp-menu span.corners-bottom span {
	background-image: url(/images2/layout/corners.right2.night.gif);
	}
#cp-main span.corners-top span,
#cp-menu span.corners-top span {
	background-image: url("/images2/layout/corners.right2.night.gif");
	}	
#inbox-wrap #preview span.corners-top,
#inbox-wrap #preview span.corners-top,
#inbox-wrap #preview span.corners-bottom,
#inbox-wrap #preview span.corners-bottom {
	background-image: url(/images2/layout/preview.corners.left2.night.gif);
	}
#inbox-wrap #preview span.corners-top span,
#inbox-wrap #preview span.corners-bottom span {
	background-image: url(/images2/layout/preview.corners.right2.night.gif);
	}
#cp-main h3,
#cp-main hr,
#cp-menu hr,
a.topictitle {
	border-color: #27378e;
	}	

.handybar {
background:url(/images2/layout/handy.85.night.png) !important;
}
.handybar .right {
	text-shadow:0 1px #4556b4;
}
.handybar span.vr {
background:#4556b4 !important;
}
#forum .buttons a {
background-image:url(/images2/icons/forum/button.bg.night.png) !important;
color:#4556b4 !important;
}
#forum .buttons a:hover {
color:#344394 !important;
}
.handybar .pagination li a {
color:#e4f1fb !important;
}
.handybar .pagination li.current {
text-shadow:0 1px #fff;
}
.handybar .p_next a:hover,.handybar .p_prev a:hover {
text-shadow:0 1px #4556b4 !important;
}
.handybar .pagination li a:hover {
background-color:#e4f1fb !important;
color:#4556b4 !important;
text-shadow:0 1px #fff;
}
.handybar .jump {
background: url("/images2/layout/handy.85.night.png");
border-top: 1px solid rgba(0,0,0, .30);
border-bottom: 1px solid rgba(255,255,255,.30);
color: #e4f1fb;
text-shadow: 0 1px #4556b4;
}
.b-q div a {
background-image:url(/images2/icons/forum/icon.quick.bookmarks.night.png) !important;
}
.r-q div a {
background-image:url(/images2/icons/forum/icon.recent.night.png) !important;
}
/* F O R U M */
#forum .forumbg,
#forum .forabg {
	background: #4556b4 url(/images2/layout/forum-night.png) repeat-x !important;
	border-color: #253489 !important;
	}
#forum .forumbg .forum-quick-bar h4 {
	color: #fff;
	text-shadow: 0 1px #253489 !important;
}

#forum .header span,
#forum .header a {
	color: #fff !important;
	text-shadow: 0 1px #253489 !important;
}

#forum .header dt,
#forum .header dd {
	color: #fff !important;
	text-shadow: 0 1px #253489 !important;
}

#forum a.topictitle,
#forum a.forumtitle {
	color: #4556b4 !important;
}

#forum a:hover.topictitle,
#forum a:hover.forumtitle {
	color: #344394 !important;
}

#forum a.username-coloured,
#forum a.forumlink {
	color: #596ac8 !important;
}

#forum a:hover.username-coloured,
#forum a:hover.forumlink {
	color: #4b5bb1 !important;
}

body#forum ul.topiclist dd  {
	border-color: #4556b4 !important;
}

#forum li.row {
	border-top-color: #fff !important;
	border-bottom-color: #4556b4 !important;
}

#forum li.row dl:hover {
	background-color: #e9ecff !important;
}
#forum .forumbg hr {
	border: 1px solid #253489 !important;
	border-bottom-color: #9cabff !important;
	border-width: 1px 0 1px !important;
}
#forum .forumbg .bg1 {
	background-color: #fafbff !important;
}
#forum .forumbg .bg2 {
	background-color: #f5f7ff !important;
}
#forum .postprofile dt {
	background: url(/images2/layout/postprofile.user.bg.night.png) no-repeat 50% 100% !important;
}
/* C O N T E N T  T O O L S */
body#forum #content-tools {
	background: url(/images2/layout/content.tools.bg.night.png) no-repeat 50% 0!important;	
}
body#forum #content-tools li.current, 
body#forum #content-tools li a {
	background: url(/images2/layout/content.tools.bc.night.png) no-repeat;
	color: #4556B4;
	text-shadow: 0 1px #d9dfff;
}
body#forum #content-tools li.current span, 
body#forum #content-tools li a span {
	background: url(http://www.ernya.com/images2/layout/content.tools.bc.night.png) no-repeat 100% 0px;
}
body#forum #content-tools li:first-child a {
	background: url(/images2/icons/nav/icon.home.png);
}
body#forum #content-tools li.current, 
body#forum #content-tools li a:hover {
	background-position: 0px 100%;
}
body#forum #content-tools li.current span, 
body#forum #content-tools li a:hover span {
	background-position: 100% 100%;
}

/* NEW LOGIN */
.login-popup .form-field .input-text:focus {
	background: #e2ebff;
}
#login .login-details {
	background: #9CABFF;
	border: 1px solid #c9d1ff;	
}
.button-submit-action {
	background: #4859b6 url(/images2/layout/login.submit.night.png) repeat-x left 0;
	text-shadow: 0 -1px #4859b6;
}

/* I T E M   B O R D E R  H O V E R  &  E Q U I P P E D */
.shop_items li img, .shop_val_wrap li > img {
border-color: #8391ae;
}
a.equiped img {
background-color: #dbe0ff;
border-color: #4556b4;
}

.shop_items li img:hover {
background-color: #dbe0ff;
border-color: #4556b4;
}

/* Easter popup & top corner peal*/
.ui-widget-content {
	background: #4556B4;
	background: rgba(69,86,180, .85);
	-webkit-box-shadow:  0px 0px 15px rgba(255,255,255, .60);
	-moz-box-shadow: 0px 0px 15px rgba(255,255,255, .60);
	box-shadow: 0px 0px 15px rgba(255,255,255, .60); 	
}


.ui-widget-header {
	background: url("/images2/layout/pattern-10px-opacity-05-black-angled.png");
	color: #fff;
}

.ui-resizable {
	-webkit-box-shadow:  0px 0px 15px rgba(0,0,0, .60) !important;
	-moz-box-shadow: 0px 0px 15px rgba(0,0,0, .60) !important;
	box-shadow: 0px 0px 15px rgba(0,0,0, .60) !important; 		
}

#cluedialog {
	color: #4556B4;
	background: #fff;
	background: rgba(255,255,255, .95);	
}

a#cluedialog_link {
	background: url(/images2/event/corner-hint.png) no-repeat -300px 0;
}

a:hover#cluedialog_link {
	background-position: -300px 100%;
}
/*layout overlay*/
#overlay {
	background: #4556B4;
	background: url(/images2/night/overlay.jpg) no-repeat;
}
/*board message box*/
.board_bg {
	border: 1px solid #D1E0F5;

	background: #8C98D9;
	background: rgba(169, 182, 255, .45) url(/images2/night/board_bg.png) no-repeat 50% 0%;
	-webkit-box-shadow: 0px 1px 0px #404a87;
	-moz-box-shadow: 0px 1px 0px #404a87;
	box-shadow: 0px 1px 0px #404a87; 
}
.board_msg {
	background: #E3EDF7; /* old browsers */
	
	background: -moz-linear-gradient(top, #E3EDF7 0%, #C5D6F0 99%); /* firefox */	
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#E3EDF7), color-stop(99%,#C5D6F0)); /* webkit */	
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#E3EDF7', endColorstr='#C5D6F0',GradientType=0 ); /* ie */	
	background: -o-linear-gradient(top, #E3EDF7 0%,#C5D6F0 99%); /* opera */
	-webkit-box-shadow: 0px 1px 0px #fff;
	-moz-box-shadow: 0px 1px 0px #fff;
	box-shadow: 0px 1px 0px #fff; 		
}
.board_msg .inner {	
	background: url(/images2/evening/pattern-10px-opacity-20-white-angled.png);
	-webkit-box-shadow: 0px -1px 0px #7888DF;
	-moz-box-shadow: 0px -1px 0px #7888DF;
	box-shadow: 0px -1px 0px #7888DF; 	
}
.board_msg .inner .content {	
	color: #5553a7;
	-webkit-box-shadow: inset 0px 10px 10px #eff3fc;
	-moz-box-shadow: inset 0px 10px 10px #eff3fc;
	box-shadow: inset 0px 10px 10px #eff3fc; 
	text-shadow: 0 1px #fff;
}

.board_msg .inner .content em {	
	color: #1d1b88;
	border-bottom: 1px solid;
}
.board_links {
	color: #DBE9F4;
	text-shadow: 0 1px #404A87;
}
.board_links a {
	color: #E7EDF9;
}

.board_links a:hover {
	color: #fff;
	border-bottom: 1px solid #D1E0F3;
}

/*Footer*/
#doc #ft .footer-links-wrap {
	background: #4556b4 url(/images2/night/footer-links-wrap.png) no-repeat center top;  /*color*/
}

#doc #ft .footer-links-wrap2 {
	background: url(/images2/night/dividers.png) no-repeat 48.15%	 center;
}

#doc #ft .footer-links {
	text-shadow: 0 1px #222a8d; /*color*/
}
#doc #ft .footer-row ul a {
	background: url(/images2/night/footer-links.png) no-repeat 5px 50%;
}

#doc #ft .footer-row ul a:hover {
	background: url(/images2/night/footer-links-hover.png) no-repeat 5px 50%;
}
#doc #ft .footer-column a em {
	color: #a3b1ff;  /*color*/
}

#doc #ft .footer-column a:hover em {
	color: #d5dbff;  /*color*/
}

#doc #ft .footer-column h3 {
	color: #a3b1ff;  /*color*/
}
#doc #ft .footer-column ul a {
	border: 1px solid #596fcb;  /*color*/
	color: #d5dbff;  /*color*/
}

#doc #ft .footer-column ul a span {
	background: #404999; /*backup color*/
	background: rgba(41,0,0, .15);
	border-color: #647ACC; /*backup color*/
	border: 1px solid rgba(138,172,255, .5);  /*color*/
	color: #a3b1ff; /*color*/
}

#doc #ft .footer-column ul a:hover {
	background-color: #4e61be; /*color*/
	border-color: #d8d6fe;  /*color*/
	color: #fff !important;  /*color*/
}

#doc #ft .footer-column ul a:hover span {
	-moz-box-shadow: 0 0 3px rgba(255,255,255,.5);  /*color*/
	-webkit-box-shadow: 0 0 3px rgba(255,255,255,.5);  /*color*/
	box-shadow: 0 0 3px rgba(255,255,255,.5);  /*color*/	
	background: #fff;  /*color*/
	border-color: #fff;  /*color*/
	color: #4556B4;  /*color*/
}
#doc #ft .hide-footer a {
	background: url(/images2/night/hide-footer.png) no-repeat 54.45% 73%;
}
#doc #ft .shop-links a:hover {
	text-shadow: 0 0 3px rgba(138,171,255,.5);  /*color*/
}
#doc #ft .show-footer a {
	background: url(/images2/night/show-footer.png) no-repeat 54.45% 73%;
}
#doc #ft .donation-preview a {
	color: #d5dbff;  /*color*/
}

#doc #ft .donation-preview a span {
	background: #404999;
	background: rgba(41,0,0, .15);  /*color*/
	border: 1px solid rgba(138,172,255, .5);  /*color*/
}

#doc #ft .donation-preview a:hover {
	background: url(/images2/night/limited-item-bg.png) no-repeat 50% 0;
}

#doc #ft .donation-preview a:hover em {
	color: #ffdbac;
	text-shadow: 0 0 5px #ffe2cd;  /*color*/
}

#doc #ft .donation-preview a:hover span {
	-moz-box-shadow: 0 0 3px rgba(138,171,255,.5);  /*color*/
	-webkit-box-shadow: 0 0 3px rgba(138,171,255,.5);  /*color*/
	box-shadow: 0 0 3px rgba(138,171,255,.5);  /*color*/
	background: rgba(138,172,255, .10);  /*color*/
	border-color: rgba(138,172,255, .75);  /*color*/
	text-shadow: 0 0 2px rgba(41,0,0, .25);
}

#doc #ft .footer-controller,
#doc #ft .footer-bottom-corners {
	background: #4556B4 url(/images2/night/footer-controller-bg.png) no-repeat center top;  /*color*/
}

#doc #ft .footer-bottom-corners {
	background: url(/images2/night/footer-controller-bg.png) no-repeat center bottom;  /*color*/
}

#doc #ft .footer-controller a {
	color: #D5DBFF;  /*color*/
	text-shadow: 0 -1px #404999;  /*color*/
}
#doc #ft .footer-controller a:hover { 
	color: #fff !important
}

/*new login*/ 
#new-login .new-login-input {
border-color: #4a57b7 !important;	
}
.new-submit {
border-color: #4a57b7 !important;
color: #4758B6;
background: #ecf0ff;
background: -moz-linear-gradient(top, #ecf0ff 0%, #b6c2f2 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ecf0ff), color-stop(100%,#b6c2f2));
background: -webkit-linear-gradient(top, #ecf0ff 0%,#b6c2f2 100%);
background: -o-linear-gradient(top, #ecf0ff 0%,#b6c2f2 100%);
background: -ms-linear-gradient(top, #ecf0ff 0%,#b6c2f2 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ecf0ff', endColorstr='#b6c2f2',GradientType=0 );
background: linear-gradient(top, #ecf0ff 0%,#b6c2f2 100%);	
}
