/*  
Theme Name: LZ RYSEC
Theme URI: http://www.libaizhuo.com
Description: Wordpress theme created by Libai Zhuo Design Studio for RYSEC website
Version: 1.0.0
Author: Libai Zhuo
Author URI: http://www.libaizhuo.com/ 
*/ 

/*global reset*/

html, body, h1,h2,h3,h4,h5,h6,p,blockquote,form,label,ul,ol,dl,fieldset,address  {
	margin: 0;
	padding: 0;
}
body {
background:#fff url(images/topbg.gif) top left repeat-x;
font-size:12px;
font-family:Arial, Helvetica, sans-serif;
line-height:18px;
}
h1,h2,h3,h4,h5,h6,p,blockquote,form,label,ul,ol,dl,fieldset,address {
margin: 0.5em 0; 
}

fieldset { 
padding:.5em; 
border:0;
}

/*general*/
ul{
list-style:none;
}

li p{
margin:0;
}
a img{
border:0 none;
}

a{
text-decoration:none;
font-weight:bold;
color:#1e7cc6;
}
a:hover{
text-decoration:underline;
}
a:active, a:focus{
outline:none;
}

h1{
font-size:30px;
font-weight:normal;
line-height:36px;
margin:0;
}
h2{
font-size:24px;
font-weight:normal;
font-family:Helvetica, Arial, sans-serif;
color:#1e7cc6;
line-height:30px;
}
h3{
font-size:16px;
font-weight:bold;
line-height:20px;
}

h4{
font-size:14px;
font-weight:bold;
}
h5{
font-size:1.1em;
font-weight:bold;
}
h6{
font-size:1em;
font-weight:bold;
}
.small,.createdate,.modifydate,.mosimage_caption{
font:0.9em Arial,Helvetica,sans-serif;
}

.clear{
clear:both;
}

/*search */

#s{/* the input textarea box */
background:url(images/sbg.png) top left no-repeat;
border:0;
height:18px;
font-size:11px;
width:140px;
padding:2px 5px;
float:left;
}
#searchsubmit{float:left;}

/* basic selectors */
a.more-link{

}

p{ 
padding: 0.2em 0 0.3em 0; 
}

code{
font-family:"Courier New", Courier, monospace;
}

ul li, #sidebar ul li li{
background:url(images/bullet.png) 0px 5px no-repeat;
padding:2px 0 2px 12px;
}

blockquote{ 
margin: 1em 0 0;
background:url(images/quote-l.png) top left no-repeat; 
padding:0 15px 0 25px;
margin-bottom:10px;
} 

blockquote p{
background:url(images/quote-r.png) bottom right no-repeat;
padding:10px 0;
} 

blockquote i{
display:block;
text-align:right;
}

blockquote blockquote{ 
float: none; 
width: auto; 
margin: 0 1em; 
background: #fff; 
} 

dd{ 
padding: 0 0 0 2em; 
} 

form, input, textarea{
font-family:Arial, Helvetica, sans-serif;
font-size: 12px; 
} 

p img{ 
max-width: 100%; 
} 

img.centered{ 
display: block; 
margin-left: auto; 
margin-right: auto; 
} 

img.alignright{ 
margin: 3px 0 2px 10px; 
padding: 4px; 
border: 1px solid #ededed; 
display: inline; 
} 

img.alignleft{ 
margin: 3px 10px 2px 0; 
padding: 4px; 
border: 1px solid #ededed; 
display: inline; 
} 

.alignleft{float: left;} 

.alignright{float: right;} 
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.yellow{color:#ffff00;}
.clear{
margin: 0; 
padding: 0; 
clear: both;} 

small{ 
font-size: 11px; 
} 
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption-dd {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}


.post{padding:10px 0;}
.entry-date{font-size:0.9em; text-align:right; font-style:italic;}
div.entry-meta{
border-top:#ccc 1px solid;
border-bottom:#ccc 1px solid;
background-color:#ededed;
font-size:0.9em;
padding:5px;
color:#555;}
div.entry-meta a{color:#000; font-weight:normal;}
/*comment*/
ol.commentlist {	list-style:none; padding:0; margin:0;}
ol.commentlist li{margin:0; padding:10px 0;}
div.comment-meta{
float:left; width:15%; text-align:right;}
.commentmetadata{clear:both; text-align:right; display:block; border-top:#eee 1px solid; border-bottom:#eee 1px solid; background-color:#f4f4f4; padding:2px;}
.commentmetadata a{font-weight:normal; line-height:10px; text-align:right; color:#999;}
.commentmetadata a:hover{color:#444; text-decoration:none;}
div.comment-text{
float:right; width:82%;}
h3#comment-form-title, h3#comments-count{
padding-top:10px; background:url(images/dotted.gif) top left repeat-x;
}

/*layout*/
#wrapper{
margin:0 auto;
width:960px;
}
#topwrapper{
padding:10px 0;
}
#logo{float:left;
width:755px;
}
#bookmark{float:right;
width:155px;
padding:30px 0 0 0;
}
#bookmark .bg{
background:url(images/bookmarkbg.png) top left no-repeat;
padding:20px 0 0 0;}
/*navigation*/
#nav{background:url(images/menubg.png) top left no-repeat;
width:960px;
height:42px;
}

#nav ul, #nav li{
float:left; padding:0; background:none; margin:0;}
#nav ul {
	padding: 0;
	padding-top:10px;
	margin: 0 0 0 10px;
	list-style: none;
}
#nav ul ul{margin:0; padding:0;}

#nav a{
display:block;
text-decoration:none;
color:#fff;
font-weight:bold;
font-size:13px;
padding:3px 15px;
width:auto;
}
#nav img{
vertical-align:middle;
}

#nav li.current_page_item a{
background:url(images/menu_current.gif) bottom center no-repeat;
}
#nav li:hover > a, #nav .current_page_item a{
background:url(images/menu_hover.gif) bottom center no-repeat;
}
#nav li li:hover a, #nav li:hover li a {
background:none;
}
/*sublevel's ul */
#nav li ul{
position:absolute;
left:-999em;
width:200px;
padding:0;
background:#e0e0e0 url(images/submenubg.jpg) top left repeat-x;
border:solid 1px #b4b4b4;


-webkit-border-radius:10px;
-moz-border-radius:10px;
border-radius:10px;

-webkit-box-shadow: 0 1px 3px rgba(0,0,0, .3);
-moz-box-shadow: 0 1px 3px rgba(0,0,0, .3);
box-shadow: 0 1px 3px rgba(0,0,0, .3);
}
#nav li li:hover a:hover, #nav li:hover li a:hover{
background:#ffd65e url(images/submenu-active.jpg) bottom left repeat-x;
}
#nav li ul a:hover{
-webkit-border-radius:0;
-moz-border-radius:0;
}
/*sub sub level's ul */
#nav li ul ul{
position:absolute;
left:-999em;
margin:0;
margin-top:-30px;
margin-left:196px;/* equals to sublevel's menu link's width */
}
/*sublevel's li*/
#nav li li{
float:none;
padding:0;
margin:0;
line-height:14px;
}

/*sublevel's menu links */
#nav li li a{
text-transform:none;
font-weight:normal;
margin:0;
padding:6px 10px;
color:#000;
font-size:13px;
}
#nav li:hover ul, #nav li.sfhover ul{
display:block;
}
#nav li li:hover > a{
text-shadow:0 1px 0 rgba(255,255,255, 1);
}
#nav li li:first-child > a{
	-webkit-border-top-left-radius:9px;
	-moz-border-radius-topleft:9px;
	-webkit-border-top-right-radius:9px;
	-moz-border-radius-topright:9px;
}
#nav li li:last-child > a{
	-webkit-border-bottom-left-radius:9px;
	-moz-border-radius-bottomleft:9px;
	-webkit-border-bottom-right-radius:9px;
	-moz-border-radius-bottomright:9px;
}

#nav li:hover ul ul, #nav li.sfhover ul ul {left: -999em;}
#nav li:hover ul, #nav li.sfhover ul, #nav li li:hover ul, #nav li li.sfhover ul {left: auto;}
#nav li:hover, #nav li.sfhover {position:static;}

/*end of navigation*/
#content{
float:left;
width:70%;}
#sidebar{
float:right;
width:29%;}
#sidebar ul li{
background:none;}

/*homepage content*/
#header{
padding:10px 0;
font-size:14px;
line-height:22px;}
#headerleft{
float:left;
background:url(images/headerbg_IL.jpg) top left no-repeat;
width:472px;
height:239px;
}
#headerright{
background:url(images/headerbg_PA.jpg) top left no-repeat;
float:right;
width:471px;
height:239px;
}
#header .padding{
padding:66px 210px 0 20px;}
#bottomwrapper{
float:left;
width:100%;
height:250px;}
#bottomwrapper .padding{
padding:0 10px 10px 0;}
.bottombar{
float:left;
width:25%;
position:relative;
}
.bottombar .readon{
position:absolute;
top:200px;
left:0px;
}
#footer{
border-top:#808080 1px solid;
padding:20px 0;
clear:both;
color:#606060;
}
#footer p{margin:0;}
#footerleft{
float:left;
width:460px;
}
#footerleft img{vertical-align:middle;}
#footerright{
float:right;
width:500px;
text-align:right;
padding-top:10px;
}
#footerright a{
color:#000;
font-weight:normal;}

/*form */
#subscribe_email{
width:135px;
padding:4px 0;
font-size:14px;
border:#888 1px solid;
}
#subscribe_btn{
float:right;}

.submenu{
float:left;
width:200px;
background-color:#efefef;
border:#ccc 1px solid;
padding:10px;
margin:10px;
}
