	
*{ margin: 0; padding: 0; }*

body {     
    width: 100%; 
	background: #faf9e6  url(../images/bg1.png) repeat-x; 
	font:.74em "Trebuchet MS", Arial, Sans-Serif;
	color:#444;
	margin:0px 0 0;
}
.wrap {
	margin: 0px auto; 
    width: 900px; 
    text-align: left
}
a {
    outline: none;
}
a:active {
    outline: none;
}

/* HEADER MENU */

#header {
    overflow: hidden; 
    color: #ccc; 
    height: 100px
}
#header .wrap {  
    position: relative;
}
#header h1 { 
    margin:15px;
    padding: 0 0 0 40px;
	display: block; 
    font: 1.2em Aldo, Arial, Helvetica, sans-serif; 
    overflow: hidden;
    width: 154px;
    color: #564789; 
    position: absolute;
    height: 60px;
}
#header h1 a {
	display: block; 
    font: 1.4em Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
    text-decoration:none;
	overflow: hidden; 
    width: 154px; 
    color: #000;
    position: absolute; 
    height: 60px;
}
#header h1 a span {
    margin-top: 0px; 
    display: block; 
    font-weight: normal; 
    color: #fff;font: 0.7em Georgia, "Times New Roman", Times, serif;
}
#header ul { 
	left:240px;
    width: 650px; 
    position: absolute; 
    top: 14px;
}
#header ul li {
	display: inline; 
    float: left;
    margin: 0px 1px;
    width: 120px;
}
#header ul li a {
	padding-right: 10px; 
    display: block; 
    padding-left: 10px; 
    font-weight: bold;
    font-size: 1em; 
    padding-bottom: 10px; 
    padding-top: 10px; 
    text-decoration: none;
    color: #000;
}
#header ul li a span {
	margin-top: 5px; 
    display: block; 
    font-weight: normal; 
    color: #fff;
}
#header ul li a:hover {
	color: #fff;
}
#header ul li a:hover span {
	color: #000;
}

/* SUBHEADER */

.main {
    width:800px;
    margin: 20px auto; 
}

#crumbs {
    float: right;
    width: 455px;
    margin-bottom:10px;
    padding: 15px 0px 0 0;
    font: 0.9em Arial, Helvetica, sans-serif;
}
#crumbs a {
    text-decoration: none;    
    background-image: none;    
    background-color: transparent;
    border: none;
    color: #FC7901;        
}
#crumbs a:hover {    
    color: #000;    
    background: none;
    border: none;
}

#subheader { 
	float: right;
    width: 455px;
    margin: -5px;
    padding: 5px 10px 10px 50px; 
    font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;	
	font-size: 1.2em;
	color: #cdccb9; 
    border-left : #d9d8c8 1px solid; 
}
#subheader h2 { 
    margin-bottom:10px;
    padding: 15px 0px 0 0; 
    background: #faf9e6; 
    color: #a7c44e;
    font: 0.9em Arial, Helvetica, sans-serif; 
}
#subheader li { 
    font-family: "Trebuchet MS", Geneva, Arial, Helvetica, sans-serif; 
    font-size: 11px; 
    margin: 5px 0 5px 0px; 
    padding: 0px 0 0 0px; 
    border-bottom: #d9d8c8 1px dashed; 
    list-style: none;
}
#subheader li a { 
    color: #292929;
    text-decoration: none; 
    padding: 5px 0 0 0px;
    height: 15px;
}
#subheader li a:hover { 
    color: #a7c44e; 
    text-decoration: none; 
    height: 15px;
}
#subheader ul { 
    margin: 0px 0 0px 0; 
    padding : 0; 
    color: #f4941b;
}

#subheaderleft { 
    background: #faf9e6; 
    float:left;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: normal;    
    font-size: 1em;
    color: #7d7c7c;
}
#subheaderleft table { 
    border-collapse : collapse; 
    margin : 0px; 
    text-align: center;
    font: 0.9em Arial, Helvetica, sans-serif; 
} 
#subheaderleft td {
	padding-left : 9px; 
    padding-right : 9px; 
    border-left : #d9d8c8 1px dashed; 
    color: #a7c44e;
}
#subheaderleft tr {
	height : 15px;
}
#subheaderleft th { 
    height : 25px; 
    padding-left : 5px; 
    padding-right : 5px; 
    color : #cdccb9; 
    text-align : left; 
} 
#subheaderleft .padding { 
    width: 265px;
    padding: 15px 10px 10px 10px; 
}
.align-right { 
    color:#000;
    margin-top:20px;
    padding: 0 0 0 20px; 
} 


/* MAIN */

#maincontent  {
    background: #faf9e6;
    width: 800px;
    margin: 0 10px 0 0; 
    font: 12px "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif;
    color: #534e4e;
}
#maincontent h2:first-letter {
    font-family : "Times New Roman", times, serif;
    font-size : 24px;
    font-style: italic;
    color : #ea870c; 
}
#maincontent .right_side h2:first-letter {
    font-family : "Times New Roman", times, serif;
    font-size : 20px;
    font-style: italic;
    color : #a7c44e; 
}
#maincontent .right_side h4:first-letter {
    font-family : "Times New Roman", times, serif;
    font-size : 14px;
    font-style: italic;
    color : #a7c44e;
}
.col-two {
    float: right;
	width: 210px;
    margin-top: 13px;
    font: 1.1em "Trebuchet MS", Verdana, sans-serif;
    padding: 10px 10px 20px 10px;
}
.col-two h2{
    padding: 0px 10px 0px 10px; 
}
.col-two h2 {
    padding-top: 23px;
	color: #747369;	
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style: italic;
	font-weight: normal;	
	font-size: 1.7em;
	letter-spacing: -2px;	
	text-transform: none;
	margin-left: 5px;
	padding-left: 5px;
}

ul.sidemenu {
    text-align: left;
	margin: 7px 5px 8px 0px; 
    padding: 0;
	text-decoration: none;		
	background: url(../images/dots.gif) repeat-x left top;
}
ul.sidemenu li {
    list-style: none;
	background: url(../images/dots.gif) repeat-x left bottom;
	padding: 6px 10px;
	margin: 0;		
}
* html body ul.sidemenu li {
    height: 1%;
}
ul.sidemenu li a {
    text-decoration: none;	
	background-image: none;	
	background-color: transparent;
	border: none;
	color: #FC7901;		
}
ul.sidemenu li a span {
    color: #989898;	
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style: italic;
	font-weight: normal;	
	font-size: 1em;
}
ul.sidemenu li a:hover {	
    color: #000;	
	background: none;
	border: none;
}
ul.sidemenu ul { 
    margin: 0 0 0 5px; 
    padding: 0; 
}
ul.sidemenu ul li {
    background: none; 
}
#syntax {    
    margin-left: 20px;
    padding-left: 20px;
}

#maincontent .right_side { 
    float: left; 
    width: 550px; 
    background: none;
    padding:15px 15px 0 0px;
    margin-top: 20px;
    text-align: justify;
}
#maincontent .right_side h2 {
    padding-top: 15px;
	padding-bottom: 2px;
	color: #747369;
    font-family: Georgia, "Times New Roman", Times, serif;
	font-style: italic;
	font-weight: normal;	
	font-size: 1.3em;
    text-decoration: none;
	margin-left: 0px;
	padding-left: 0px;
}
#maincontent .right_side h4 {
    padding-top: 10px;
	padding-bottom: 5px;
	color: #747369;
    font-family: Georgia, "Times New Roman", Times, serif;
	font-style: italic;
	font-weight: normal;
	font-size: 1em;
    text-decoration: none;
	margin-left: 0px;
	padding-left: 0px;
}
#maincontent .right_side a { 
	color: #a7c44e;
    font-family: Georgia, "Times New Roman", Times, serif;
	font-style: italic;
	font-weight: normal;	
	font-size: 1.1em;
    font-weight:bold;
    text-decoration: none;
}
#maincontent .right_side a:hover { 
	color: #000;
    font-family: Georgia, "Times New Roman", Times, serif;
	font-style: italic;
	font-weight: normal;	
	font-size: 1.1em;
    font-weight:bold; text-decoration: none;
}
#maincontent .right_side img {
    border: #dddccc 2px solid;
}
#maincontent .right_side strong {
    color: #747369;
    font-family: Georgia, "Times New Roman", Times, serif;
}
#maincontent .right_side li {
    margin-left: 14px;
}
ol { 
    color: #FC7901;
    font-size: 12px;
} 
 
pre { 
    border-right: #d9d8c8 1px dashed;
    padding-right: 20px; 
    border-top: #d9d8c8 1px dashed; 
    padding-left: 20px; 
    font-size: 12px; 
    background: #faf9e6; 
    padding-bottom: 20px;
    margin: 0px 10px; 
    border-left: #d9d8c8 1px dashed;
    color: #a7c44e; 
    padding-top: 20px;
    border-bottom: #d9d8c8 1px dashed;
    font-family: Georgia, "Times New Roman", Times, serif;
	font-style: italic;
	font-weight: normal;	
	font-size: 1em;DISPLAY: block; 
}

blockquote {
	margin: 15px 10px;
 	padding: 10px 10px 10px 35px;  
    background: url(../images/quote.jpg) no-repeat 10px 10px;
	font-weight: normal;
	font-size: 17px;
	line-height: 1.5em;
	font-style: italic;
	font-family: Georgia, "Times New Roman", Times, serif;	
	color: #555;	
}

#bottomb {
	clear:both;
	width:100%;
	background: #e37d01  url(../images/2.jpg) repeat-x top; 
}
#bottomb .padding {
	width:800px;
	margin:0 auto;
	padding:30px 40px 10px 25px; 
}
#bottomb li {
	list-style:none;
	margin:0px 0;
	padding:0 0 0px; 
    color:#fff;
    border-bottom: 1px solid #f4941b;
}
#bottomb li a {
	color:#fff;
	background: #be6e0a;  
	text-decoration:none;
	display:block;
	margin-bottom:0px;
	font-family:"Trebuchet MS", Geneva, Arial, Helvetica, sans-serif;
	font-size:12px;
	padding:5px 0 0 5px;
}
#bottomb li a:hover {
    background: #884d02;  
	color:#e3e2cf;
	text-decoration:none;
	display:block;
	margin-bottom:0px;
	font-family:"Trebuchet MS", Geneva, Arial, Helvetica, sans-serif;
	font-size:12px;
	padding:5px 0 0 5px;
}
#bottomb h2 {
	color:#faf9e6;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style: italic;
	font-weight: normal;	
	font-size: 1.7em;
	padding:5px 0 0 0px; 
}
#bottomb .rights {
	float: right;
    width: 200px;
	z-index: 1;
	width: 200px;
}
#bottomb .bottomc {
	width: 200px;
	margin: 0 auto;
	z-index: 2;
}
#bottomb .bottomd {
	width: 200px;
	margin: 0;
	z-index: 3;
	float: left;
}

/* AlYoung Blog */
.post_date {
    float: left;
    width: 150px;
    color: #444;
    height: 24px;
    margin: 5px 0;
    padding-left: 30px;
    padding-top: 5px;
    background-image: url('../images/date.png');
    background-repeat: no-repeat;
    background-position: center left;
}
.post_comments {
    float: right;
    width: 300px;
    color: #444;
    height: 24px;
    margin: 5px 0;
    padding-right: 30px;
    padding-top: 5px;
    text-align: right;
    background-image: url('../images/comments.png');
    background-repeat: no-repeat;
    background-position: center right;    
}
.clearer {
    clear: both;
}
/* Тэги, облако тэгов */
#tag_results p {
    line-height:1.2em;
    margin: 0 0 10px 0;
}
#tag_results a {
    color: #386E80;
}
.tag_sub {
    font-size: 0.9em;
    color: #777777;
}
.tags {
    background: #fff url('../images/tags.png') left center no-repeat;
    font-size: 0.8em;
    margin-bottom: 2px;
    padding: 0 0 2px 14px;
}
#maincontent .tags a{
    color: #747369;
}
.tags a:hover {
    color: #000;
    text-decoration: none;
}
.tagcloud  a {
    color: #747369;
}
.tagcloud  p {
    text-align: center;
	margin-left: 5px;
}

/* Связанные статьи */
div.related_posts {
    margin: 5px  0;
}
ul.related_posts {
    margin: 5px;
    padding: 0;
    list-style: none;
}
ul.related_posts li{
    padding-left:16px;
    margin-bottom:.2em;
    background-image:url('../images/related.png');
    background-repeat:no-repeat;
    background-position:0 .2em;
}
/* Граватар */
.gravatar {
border:1px solid #CCCCCC;
float:right;
margin:5px 0 10px 10px;
padding:2px;
}
/* Коментарии */
.comment {
background:#FFFFFF none repeat scroll 0 0;
border:1px solid #CCCCCC;
color:#666666;
margin:0 0 10px;
padding:10px;
}
.adminpanel {
    width: 550px;
}
fieldset { 
    border: 1px solid #E4DF94; 
    padding: 10px 8px;
    margin: 0 0 8px 0;
    background: #f2f1df; 
    color: #000;
}
input { 
    padding: 2px;
    background: #f2f1df;
} 
textarea { 
    width: 97%;
    height: 20em;
    padding: 3px;
    background: #f2f1df;
}
.comment_style { 
    margin: 0 0px 0px -115px; 
    color: #4d4a48;
    padding: 10px 0 0 110px;
    margin: 0 0 10px 0px; 
    border-top: 1px dashed #ccc;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: normal;	
    font-size: 1.1em;
}
.commentsbox { 
    background:#FFFDDF none repeat scroll 0 0;
    border:1px solid #E4DF94;
    color:#666666;
    margin:20px 0 10px;
    padding:10px;
}
.commentsbox textarea{
    height: 8em;
}
p {
    margin: 1px 0 10px 0; 
}
.date {
    margin: 0 0 5px 0;
    padding: 0; color: #d64200;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: normal;	
    font-size: 0.9em;
}
.date a { 
    color: #000;
    text-decoration: none;
}
.date a:hover { 
    color: #a7c44e; 
    text-decoration: none;
}

/* FOOTER */

#footer {
	clear:both;
	width:100%;
	background:#faf9e6;
	border-top:1px solid #011c2e;
	color:#000;
	margin:0 auto; font-size:12px;
}
#footer .padding {
	width:900px;
	margin:0 auto;
	padding:10px;
}
#footer .right {
	float:right;
	margin:0 5px 0 0;
}
#footer a {
	color:#f7951a;
	text-decoration:none; font-size:12px;
}
#footer a:hover {
	color:#000;
	text-decoration:none; font-size:12px;
}
