/*
CSS for Theme trend
*/

::-moz-selection 	{ background-color: #91D8f7; color: #fff; }
::selection 		{ background-color: #91D8f7; color: #fff; }

a					{ outline: 0; color: #000080; }
a:hover 			{ color: #0000ff; }
p a:hover 			{ color: #27B3CF; }
a:active 			{ outline: none; position: relative; top: 2px; }

.clearfix:before,
.clearfix:after {
    content:"";
    display:table;
}
.clearfix:after {
    clear:both;
}
.clearfix {
    zoom:1;
}

/*------------------------------------*\
  MAIN
\*------------------------------------*/
body 				{
	background: #eee;
	color: #333333;
	font: 16px/1.7 Arial, Helvetica, sans-serif;
	-webkit-transition-property: font-size;
	-moz-transition-property: font-size;
	transition-property: font-size;
	-webkit-transition-duration: 0.5s, 0.5s;
	-moz-transition-duration: 0.5s, 0.5s;
	transition-duration: 0.5s, 0.5s;
	-webkit-transition-timing-function: linear, ease-in;
	-moz-transition-timing-function: linear, ease-in;
	transition-timing-function: linear, ease-in;
}

#wrapper {
	position:relative;
	margin: 5px auto;
	max-width: 960px;
	width: 90%;
	padding: 0 1px 10px;
	background: #f7f6fb;
	-webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
	border-radius: 15px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
}
#header {
	margin:0;
	padding:0;
}
#header-pict {
	width:100%;
	height:159px;
	margin:0 auto 20px;
	padding-top:1px;
	background:url(images/header.png) no-repeat 0 1px;
	-webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
	-moz-border-radius-topleft: 15px;
	-moz-border-radius-topright: 15px;
	-webkit-border-radius: 15px 15px 0px 0px;
	border-radius: 15px 15px 0px 0px;
}

h1 {font-size:1.6em; }
h1 a 			{ text-decoration: none;  color:#222;}
h1 a:hover 			{ text-decoration: none; color: #27B3CF; }
#header-pict h1 ,
#header h1 {
	font-size: 380%;
	font-family: 'Droid Serif', serif;
	font-weight:bold;
	padding: 0 10px 10px;
	text-shadow:
		-1px -1px 0px rgba(20, 0, 0, 0.3),
		1px 1px 0px rgba(240, 240, 240, 0.4);
	-webkit-transition-property: font-size;
	-moz-transition-property: font-size;
	transition-property: font-size;
	-webkit-transition-duration: 0.5s, 0.5s;
	-moz-transition-duration: 0.5s, 0.5s;
	transition-duration: 0.5s, 0.5s;
	-webkit-transition-timing-function: linear, ease-in;
	-moz-transition-timing-function: linear, ease-in;
	transition-timing-function: linear, ease-in;
}
#header-pict h1 a ,
#header h1 a {
 color:#e8ece9;
}
h2 {font-size:1.2em; }
h2 a 			{ text-decoration: none;}
#header-pict h2 ,
#header-pict h2 a ,
#header h2 ,
#header h2 a { font-family: 'Helvetica'; font-size: 13px; padding: 10px; margin-left:10px; color:#bfbec5;
	text-shadow:
		-1px -1px 1px rgba(0, 0, 0, 0.4),
		1px 1px 1px rgba(255, 255, 255, 0.4);
	-webkit-transition-property: font-size;
	-moz-transition-property: font-size;
	transition-property: font-size;
	-webkit-transition-duration: 0.5s, 0.5s;
	-moz-transition-duration: 0.5s, 0.5s;
	transition-duration: 0.5s, 0.5s;
	-webkit-transition-timing-function: linear, ease-in;
	-moz-transition-timing-function: linear, ease-in;
	transition-timing-function: linear, ease-in;
}
h3 					{ font-family: 'Droid Serif', serif; font-size: 1.2em; }
h4 					{ font-family: 'Droid Serif', serif; padding: 3px; margin: 5px 0 0 0; }
h4 a 				{ text-decoration: underline; }
h4 a:hover 			{  }

.nav {
	padding: 0 20px;
	margin: 0 auto 20px;
	width: 93%;
	font-size: 85%;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	background: #555;
	background: -moz-linear-gradient(top, #666, #333);
	background: -webkit-gradient(linear, left top, left bottom, from(#666), to(#333));
	background: -o-linear-gradient(top, #666, #333);
	-webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
}
.nav a	{ color: #F9F9F9; display: block; float: left; padding: 10px 5px; text-decoration: none;}
.nav a:visited 		{ color: #f9f9f9; }
.nav a:hover			{ text-decoration: none; background: #27B3CF; }
.nav a:active		{ position: relative; top: 0; }
.nav li {
	list-style: none;
	float: left;
}
.nav li a {
	text-decoration: none;
	color: #fff;
	padding: 8px 10px;
	display: block;
}
.nav li a:hover {
	background: #666;
}
.nav li a.act {
	background: #666;
}
.fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	border-radius: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-o-border-radius: 0;
	-webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
}

.left-col 			{ width: 76%; float: left; }
body.d3diary .left-col 			{ width: 79%; float: left; }

.sidebar 			{ width: 20%; float: right; margin-bottom: 10px;
	-webkit-transition-property: width;
	-moz-transition-property: width;
	transition-property: width;
	-webkit-transition-duration: 0.5s, 0.5s;
	-moz-transition-duration: 0.5s, 0.5s;
	transition-duration: 0.5s, 0.5s;
	-webkit-transition-timing-function: linear, ease-in;
	-moz-transition-timing-function: linear, ease-in;
	transition-timing-function: linear, ease-in;
}

/*.left-col div , .sidebar div {*/
.left-col>div ,.sidebar div {
	padding-bottom:20px;
}
.left-col div h3 , .sidebar div h4 {
	padding-bottom:10px;
}
.sidebar div li {
	margin-bottom:6px;
}

#featured	{ padding: 0 25px;}
#latest	{ padding: 5px 25px; }
#about	{ padding: 20px 25px; }

#featured div	{
	line-height: 1.5;
	padding-bottom:20px;
}

#menu_s {
	text-align:center;
	padding-bottom16px;
	font-size:83%;
	letter-spacing:-1px;
}

body.L0R0 .sidebar {
	display:none;
}
body.L0R0 .left-col {
	width:100%;
}

/* Center LR Column */
#CenterLColumn { float: left;  width: 49%;}
#CenterRColumn { float: right; width: 49%;}
#CenterLColumn div ,
#CenterRColumn div {
	line-height: 1.5;
	padding-bottom:20px;
	clear: both;
}

p 					{ padding: 0 5px 0 5px; }

ul 					{ list-style: none; }
ul li 				{ margin: 0 5px; }

#footer ,
footer {
	width: 100%;
	min-height:50px;
	padding: 5px 0;
	text-align:center;
	line-height:50px;
	color:#fafafa;
	font-size: 80%;
	background: #555;
	background: -moz-linear-gradient(top, #666, #333);
	background: -webkit-gradient(linear, left top, left bottom, from(#666), to(#333));
	background: -o-linear-gradient(top, #666, #333);
	-moz-box-shadow: 0px -2px 10px rgba(0,0,0,0.3); /* Firefox—p */
	-webkit-box-shadow: 0px -2px 10px rgba(0,0,0,0.3); /* Safari,Chrome—p */
	box-shadow: 0px -2px 10px rgba(0,0,0,0.3); /* CSS3 */
}
#footer a ,
footer a {
	color:#fafafa;
	text-decoration:none;
}

pre {overflow: auto; font-size: 12px; }

/* headerSearch */
#headerSearch {
	position: fixed;
	top:20px;
	left:50%;
	margin-left:250px;
	height:30px;
	width:202px;
	z-index:100;
}
#headerSearch-searchform {
	width: 200px;
	background: transparent;
	display: block;
	height: 30px;
}
#headerSearch-keywords	{
	position: absolute;
	top: 0px;
	left: 12px;
	width: 156px;
	height: 20px;
	padding-left:6px;
	border:1px solid #AFAFAF;
	background: #d4d9df;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	box-shadow: inset 1px 1px 1px rgba(0,0,0,0.25);
	-moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.25);
	-webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.25);
}

#headerSearch-searchBtn	{
	position: absolute;
	top: 3px;
	left: 188px;
}


/* XOOPS Code & Quote */
.xoopsCode {
  font-family: "Courier New",Courier,monospace;
	font-size:12px;
  padding: 6px;
	margin:10px;
	margin-bottom:0;
	word-break: break-all;
	border: 1px solid #fff;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	background:#dcdcdc;
}
.xoopsQuote {
  padding: 3px;
}

.xoopsCode pre{
  white-space: -moz-pre-wrap; /* Mozilla */
  white-space: -pre-wrap;     /* Opera 4-6 */
  white-space: -o-pre-wrap;   /* Opera 7 */
  white-space: pre-wrap;      /* CSS3 */
  word-wrap: break-word;      /* IE 5.5+ */
}

/* for xugj_date */
.new1 {
	margin-left:5px;
	font-weight:bold;
	color:red;
}
.new2 {
	margin-left:5px;
	color:glay;
}

#usermenu li {
	line-height:1.2;
	margin:0 0 0 7px;
}
#usermenu li.userMenuTop {
}
#usermenu li.userMenuEdit {
}
#usermenu li.userMenuComments {
}
#usermenu li.userMenuLogout {
}
#usermenu li.userMenuEmail {
}
#usermenu li.userMenuAdmin {
}
#privatemessages ,
#mainmenu li {
	line-height:1.2;
	margin:0 0 0 7px;
}

#mainmenu li a.menuTop {
}
#mainmenu li a.menuMain {
}


