/* header */
#header {
	padding:4px 255px 6px 135px;
	border-bottom:1px solid #d1d2cb;
}
#header .widget {
	margin:0;
}
#header .before,
#header .after {
	height:4px;
}

#header .before .l-corner {
	background-position:left -12px;
	width:4px;
}

#header .before .r-corner {
	background-position:-4px -12px;
	width:4px;
}
#header .before .bg-corner {
	background:#fff;
	margin:0 4px;
}

#header .after .l-corner {
	background-position:left -16px;
	width:4px;
}

#header .after .r-corner {
	background-position:-4px -16px;
	width:4px;
}
#header .after .bg-corner {
	background:#fff;
	margin:0 4px;
}
#header .name {
	background:#fff;
	height:1%;
	padding:0 5px;
}
#header .name:after {content:".";display:block;height:0;clear:both;visibility:hidden;}
#header .name img,
#header .name h1 {
	float:left;
}
#header .name h1 {
	margin:23px 0 0 16px;
}
#header .name a,
#header .name a:hover {
	color:#592d10 !important;
	text-decoration:none;
}

#header .name img {
	background:#eee;
	border:none;
}


/* wrapper changes */
#m2-wrap .cwraper {
	padding:0 0 20px;
}
#m-wrap .cwraper {
	padding-bottom:20px;
}


/* general commnunity menu */
#menu {
	color:#5b5d52;
	font-weight:bold;
	margin-bottom:-6px;
}
#m2-wrap #menu {
	padding-left:240px;
}
#menu a {
	color:#5b5d52;
	text-decoration:none;
	white-space:nowrap;
}
#menu a.colored {
	color:#ba421d;
}
#menu .select,
#menu .select a {
	color:#239ecd;
}
#menu ul {
	background:#d9dad4;
	list-style-type:none;
	height:20px;
	margin:0;
	padding:6px 14px 0 13px;
}
#menu li {
	list-style-type: none !important; list-style-image: none !important;
	float:left;
	border-left:1px solid #b9bbb2;
	border-right:1px solid #e5e6e2;
	margin:0;
	padding:2px 8px 2px 8px;
}
#menu li.first,
#menu li.last {
	padding:2px 0;
	overflow:hidden;
	width:1px;
}
#menu li.first {
	border-left:none;
}
#menu li.last {
	border-right:none;
}
#menu .before,
#menu .after {
	height:8px;
}
#menu .after .l-corner {
	background-position:left -20px;
	width:8px;
}
#menu .after .r-corner {
	background-position:-8px -20px;
	width:8px;
}
#menu .after .bg-corner {
	background:#d9dad4;
	margin:0 8px;
}


/* headers */
h1 {
	color:#592d10;
	font-weight:bold;
	font-size:2em;
	margin:0;
	padding:0;
}
.widget.light h1 {
	background:#fff;
	border-bottom:1px solid #c7c5b9;
	color:#736357;
	font-weight:bold;
	font-size:1.5em;
	margin:0;
	padding:6px 12px 11px;
}
h2 {
	font-size:1.2em;
	border:2px solid #fff;
	border-top:none;
	margin:0;
	padding:6px 12px 11px;
	_position:relative;
}
.dark h2 {
	color:#736357;
	font-size:1.2em;
	background:#ecedea;
	border:1px solid #bcbdb7;
	border-top:none;
	border-bottom:none;
	margin:0;
	padding:6px 12px 0;
}
.dead h2 {
	color:#9f9f91;
	font-size:1.2em;
	background:#d9dad4;
	border:1px solid #c7c5b9;
	border-top:none;
	border-bottom:none;
	margin:0;
	padding:6px 12px 0;
}
.light h2 {
	color:#736357;
	font-size:1.2em;
	background:#FFF;
	border:1px solid #FFF;
	border-top:none;
	border-bottom:none;
	margin:0;
	padding:6px 12px 5px;
}


/* corners */
.before-sec1 {
	clear:both;
	position:relative;
	height:2px;
	overflow:hidden;
}
.before-sec1 .l-corner {
	background:transparent url(../img/cor-head.png) no-repeat left top;
	_background-image:url(../img/cor-head.gif);
	position:absolute;
	top:0px;
	left:0px;
	width:6px;
}
.before-sec1 .r-corner {
	background:transparent url(../img/cor-head.png) no-repeat -6px top;
	_background-image:url(../img/cor-head.gif);
	position:absolute;
	top:0px;
	right:0px;
	width:6px;
}
.before-sec1 .bg-corner {
	background:url(../img/cor-t_c.gif) repeat-x left top;
	margin:0 6px;
}
.before-sec2 {
	clear:both;
	position:relative;
	height:4px;
	overflow:hidden;
}
.no-head .before-sec2,
.no-head .jq-widget-header {
	display:none;
}
.before-sec2 .l-corner {
	background-image:url(../img/cor-head.png);
	background-repeat:no-repeat;
	background-position:left -2px;
	_background-image:url(../img/cor-head.gif);
	position:absolute;
	top:0px;
	left:0px;
	width:6px;
}
.before-sec2 .l-corner .bg-wr {
	background-repeat:no-repeat;
	background-position:-2px -2px;
	background-image:url(../img/cor-head.png);
	_background-image:url(../img/cor-head.gif);
	width:4px;
	margin-left:2px;
}
.before-sec2 .r-corner {
	background-image:url(../img/cor-head.png);
	background-repeat:no-repeat;
	background-position:-6px -2px;
	_background-image:url(../img/cor-head.gif);
	position:absolute;
	top:0px;
	right:0px;
	width:6px;
}
.before-sec2 .r-corner .bg-wr {
	background-repeat:no-repeat;
	background-position:-6px -2px;
	background-image:url(../img/cor-head.png);
	_background-image:url(../img/cor-head.gif);
	width:4px;
	margin-right:2px;
}
.before-sec2 .bg-corner {
	background-image:url(../img/cor-t_c.gif);
	background-repeat:repeat-x;
	background-position:left -2px;
	margin:0 6px;
}
.before {
	clear:both;
	position:relative;
	height:6px;
	overflow:hidden;
}
.before .l-corner {
	background:transparent url(../img/cor-head.png) no-repeat left top;
	_background-image:url(../img/cor-head.gif);
	position:absolute;
	top:0px;
	left:0px;
	width:6px;
}
.before .r-corner {
	background:transparent url(../img/cor-head.png) no-repeat -6px top;
	_background-image:url(../img/cor-head.gif);
	position:absolute;
	top:0px;
	right:0px;
	width:6px;
}
.before .bg-corner {
	background:url(../img/cor-t_c.gif) repeat-x left top;
	margin:0 6px;
}
.after {
	clear:both;
	position:relative;
	height:6px;
	overflow:hidden;
}
.after .l-corner {
	background:transparent url(../img/cor-head.png) no-repeat left -6px;
	_background-image:url(../img/cor-head.gif);
	position:absolute;
	top:0px;
	left:0px;
	width:6px;
}
.after .r-corner {
	background:transparent url(../img/cor-head.png) no-repeat -6px -6px;
	_background-image:url(../img/cor-head.gif);
	position:absolute;
	top:0px;
	right:0px;
	width:6px;
}
.after .bg-corner {
	background:url(../img/cor-t_c.gif) repeat-x left -6px;
	margin:0 6px;
}
.grey .before,
.grey .after {
	height:4px;
}
.grey .before .l-corner {
	background:transparent url(../img/cor-head2.png) no-repeat left -40px;
	_background-image:url(../img/cor-head.gif);
	width:4px;
}
.grey .before .r-corner {
	background:transparent url(../img/cor-head2.png) no-repeat -4px -40px;
	_background-image:url(../img/cor-head2.gif);
	width:4px;
}
.grey .before .bg-corner {
	background:#c7c5b9;
	margin:0 4px;
}
.grey .after .l-corner {
	background:transparent url(../img/cor-head2.png) no-repeat left -44px;
	_background-image:url(../img/cor-head2.gif);
	width:4px;
}
.grey .after .r-corner {
	background:transparent url(../img/cor-head2.png) no-repeat -4px -44px;
	_background-image:url(../img/cor-head2.gif);
	width:4px;
}
.grey .after .bg-corner {
	background:#c7c5b9;
	margin:0 4px;
}
.dark .before .l-corner {
	background:transparent url(../img/cor-head.png) no-repeat left -28px;
	_background-image:url(../img/cor-head.gif);
}
.dark .before .r-corner {
	background:transparent url(../img/cor-head.png) no-repeat -6px -28px;
	_background-image:url(../img/cor-head.gif);
}
.dark .before .bg-corner {
	background:url(../img/cor-t_c.gif) repeat-x left -12px;
}
.dark .after .l-corner {
	background:transparent url(../img/cor-head.png) no-repeat left -34px;
	_background-image:url(../img/cor-head.gif);
}
.dark .after .r-corner {
	background:transparent url(../img/cor-head.png) no-repeat -6px -34px;
	_background-image:url(../img/cor-head.gif);
}
.dark .after .bg-corner {
	background:url(../img/cor-t_c.gif) repeat-x left -18px;
}
.dead .before .l-corner {
	background:transparent url(../img/cor-head.png) no-repeat left -40px;
	_background-image:url(../img/cor-head.gif);
}
.dead .before .r-corner {
	background:transparent url(../img/cor-head.png) no-repeat -6px -40px;
	_background-image:url(../img/cor-head.gif);
}
.dead .before .bg-corner {
	background:url(../img/cor-t_c.gif) repeat-x left -24px;
}
.dead .after .l-corner {
	background:transparent url(../img/cor-head.png) no-repeat left -46px;
	_background-image:url(../img/cor-head.gif);
}
.dead .after .r-corner {
	background:transparent url(../img/cor-head.png) no-repeat -6px -46px;
	_background-image:url(../img/cor-head.gif);
}
.dead .after .bg-corner {
	background:url(../img/cor-t_c.gif) repeat-x left -30px;
}
.no-head .before-sec1,
.light .before {
	height:4px;
}
.no-head .before-sec1 .l-corner,
.light .before .l-corner {
	background:transparent url(../img/cor-head.png) no-repeat left -68px;
	_background-image:url(../img/cor-head.gif);
	width:4px;
}
.no-head .before-sec1 .r-corner,
.light .before .r-corner {
	background:transparent url(../img/cor-head.png) no-repeat -4px -68px;
	_background-image:url(../img/cor-head.gif);
	width:4px;
}
.no-head .before-sec1 .bg-corner,
.light .before .bg-corner {
	background:#fff;
	margin:0 4px;
}
.light .msg .before,
.light .msg .after {
	height:4px;
}
.light .msg .before .l-corner {
	background:transparent url(../img/cor-head.png) no-repeat left -60px;
	_background-image:url(../img/cor-head.gif);
	width:4px;
}
.light .msg .before .r-corner {
	background:transparent url(../img/cor-head.png) no-repeat -4px -60px;
	_background-image:url(../img/cor-head.gif);
	width:4px;
}
.light .msg .before .bg-corner {
	background:url(../img/cor-t_c.gif) repeat-x left -36px;
	margin:0 4px;
}
.msg .after .l-corner {
	background:transparent url(../img/cor-head.png) no-repeat left -64px;
	_background-image:url(../img/cor-head.gif);
	width:4px;
}
.msg .after .r-corner {
	background:transparent url(../img/cor-head.png) no-repeat -4px -64px;
	_background-image:url(../img/cor-head.gif);
	width:4px;
}
.msg .after .bg-corner {
	background:url(../img/cor-t_c.gif) repeat-x left -40px;
	margin:0 4px;
}
.bordered {margin:0;padding:0;}
.bordered .before,
.bordered .after {
	height:5px;
	position:relative;
}
.bordered .before .l-corner {
	background:transparent url(../img/cor-head.png) no-repeat left -76px;
	_background-image:url(../img/cor-head.gif);
	width:5px;
}
.bordered .before .r-corner {
	background:transparent url(../img/cor-head.png) no-repeat -5px -76px;
	_background-image:url(../img/cor-head.gif);
	width:5px;
}
.bordered .before .bg-corner {
	background:url(../img/cor-t_c.gif) repeat-x left -44px;
	margin:0 5px;
}
.bordered .after .l-corner {
	background:transparent url(../img/cor-head.png) no-repeat left -81px;
	_background-image:url(../img/cor-head.gif);
	width:5px;
}
.bordered .after .r-corner {
	background:transparent url(../img/cor-head.png) no-repeat -5px -81px;
	_background-image:url(../img/cor-head.gif);
	width:5px;
}
.bordered .after .bg-corner {
	background:url(../img/cor-t_c.gif) repeat-x left -49px;
	margin:0 5px;
}


/* portal wrapper */
.widget {
	clear:both;
	margin:10px 0;
	position:relative
}

.txt {
	background:#fff url(../img/widget-bg.gif) repeat-x left bottom;
	border-top:1px solid #dedfdb;
	border-left:2px solid #fff;
	border-right:2px solid #fff;
	_border-bottom:1px solid #fff;
	padding:9px 12px 0;
}
.no-wrap {
	padding:9px 2px 0;
}
.grey .txt{
	background:#c7c5b9;
	border-left:1px solid #c7c5b9;
	border-right:1px solid #c7c5b9;
	border-top:none;
	_border-bottom:1px solid #c7c5b9;
	color:#655641;
}
.dark .txt{
	background:#ecedea;
	border-left:1px solid #bcbdb7;
	border-right:1px solid #bcbdb7;
	border-top:none;
	_border-bottom:1px solid #ecedea;
}
.dead .txt{
	background:#d9dad4;
	border-left:1px solid #c7c5b9;
	border-right:1px solid #c7c5b9;
	border-top:none;
	_border-bottom:1px solid #d9dad4;
}
.no-head .txt,
.light .txt{
	border-left:1px solid #fff;
	border-right:1px solid #fff;
	border-top:none;
}

/* set header color && bgcolor*/
h2 {
	color:#0076a3;
}
h2,
.h2-color {
	background-color:#aec6ca;
}

/* set linker bgcolor*/
.act a.select {
	background-color:#d6e2e4;
}
.act a.select span {
	color:#0076a3;
}


