/*  
Theme Name: XHTML.RU white-wide
Theme URI: http://xhtml.ru
Description: XHTML.RU theme
Version: 1
Author: XHTML.RU
Author URI: http://XHTML.RU/

*/



* {
	margin:0;
	padding:0;
}

html, body {
	width:100%;
	height:100%;
}
body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: Arial, Verdana, sans-serif;
	background: #fff;
	color: #111;
	line-height:1.3em;
}
h1, h2, h3, h4, h5, h6 { 
	padding: 0.4em 0; 
	color: #366AB3; 
	background: inherit; 
	font-family: Georgia, Times, serif;
}
h1 { font-size: 1.6em; }
h2 { font-size: 1.4em; }
h3 { font-size: 1.2em; }
h4 { font-size: 1.0em; }
h5 { font-size: 0.9em; }
h6 { font-size: 0.8em; }
p {
	padding:  0.4em 0 0.6em 0;
}
a {
	color: #366AB3;
	background: inherit;
}
a:hover {
	color: #F60;
	background: inherit;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { 
	color: #366AB3;
	background: inherit;
	text-decoration: none; 
}

img, table {
	border: 0;
}
ul {
	list-style: none;
	margin-left: 1.7em;
}
dd, ol, li {
	margin-left: 1.7em;
}
li {

}
table {
	font-size: 100%;	
}
fieldset {
	border:solid 1px #CCC;
	padding: 5px;
	background: #FFF;
	color: inherit;
}
fieldset legend {
	color: #FFF;
	background: #3B9D00;
	padding: 0 3px;
}


acronym, abbr, span.caps {
	cursor: help;
}

acronym, abbr {
	border-bottom: 1px dashed #999;
}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
}

blockquote cite {
	margin: 5px 0 0;
	display: block;
}

.center {
	text-align: center;
}

hr {
	display: none;
}

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}

.alignright {
	float: right;
}
.textalignright {
	text-align: right;
}
	
.alignleft {
	float: left
}
/* End Images */



/* rounded corners */
.box {
	padding:0 12px 0 0;
	background:#fff url(/images/all/borders.gif) 100% 0 repeat-y;
	color: inherit;
}
.bi {
	padding:0 0 0 12px;
	background:#fff url(/images/all/borders.gif) 0 0 repeat-y;
	color: inherit;
}
.bt {
	height:17px;
	margin:0 -12px;
	background:url(/images/all/box.gif) 100% 0 no-repeat;
}
.bt div {
	width:18px;
	height:17px;
	background:url(/images/all/box.gif) 0 0 no-repeat;
}
.bb {
	height:17px;
	margin:0 -12px;
	background:url(/images/all/box.gif) 100% 100% no-repeat;
}
.bb div {
	width:18px;
	height:17px;
	background:url(/images/all/box.gif) 0 100% no-repeat;
}
.w { background: #FFF; color: #333; padding: 0 10px 5px 10px; }






#page {
	margin-left:1%;
	width:98%;
}
#header {

}
#footer {
	clear: both;
	width:99%;
}
#content {
	font-size: 1.4em;
	line-height: 1.2;
	width: 72%;
	float: left;	
}
#sidebar {
	font-size: 1.3em;
	line-height: 1.2;
	width: 27%;
	float: left;
}
.pagetitle {
	color: #008B00;
	background: inherit;
	font-size: 1.5em;
}

.post {
	margin: 20px 2%;
}
.postdate {
	text-align: right;
	color:#666;
	background: inherit;
	font-size:0.8em;
}
.author {
	color:#666;
	background: inherit;
	font-size:0.7em;
}
.author a {
	color:#666;
	background: inherit;
	border-bottom: solid 1px #bbb;
	text-decoration: none;
}
.author a:hover {
	border-bottom: solid 1px #f60;
	color: #F60;
	background: inherit;
}
.postmetadata {
/*
	font-family: Georgia, Times, serif;
*/
	font-size:0.7em;
	color: #4A9B4A;
	background: inherit;
}
.postmetadata a {
	font-size:0.9em;
	color: #4A9B4A;
	background: inherit;
	text-decoration: none;
	border-bottom: solid 1px #bbb;
}
.postmetadata a:hover {
	color: #F60;
	background: inherit;
	border-bottom: solid 1px #F60;
}


#sidebar h2 {
	background: #aaa;
	color: #FFF;
	padding: 0.1em 15px;
	font-weight: normal;
	font-family: Georgia, Times, serif;
	font-size: 1.1em;
	margin: 0 -15px 15px -15px;
	font-style: italic;
}
#sidebar ul {
	list-style: none;
	line-height:1.4;
	margin: 0 0.7em
}
#sidebar ul ul {
	margin-left: 0.7em;
}
#sidebar li.page_item {
	margin-bottom: 0.5em;
}
#sidebar li.page_item li {
	margin: 0;
}
#sidebar a, #sidebar .w {
	text-decoration: none;
	color:#5e5e5e;
	background: #fff;
}
#sidebar a {
	border-bottom: solid 1px #bbb;
}
#sidebar a:hover {
	border-bottom: solid 1px #f60;
	color: #F60;
	background: inherit;
}
#sidebar .archlinks li {
	margin-bottom: 0.5em;
	font-size: 0.9em;
}

#forum_feed li {
	padding: 0.3em 0;
	line-height: 1.3;
}

a.popupexample {
      	cursor:help;
       	display:block;
       	position:relative;
       	text-decoration:none;
}
.popupexample code {
       	display:none;
       	background:#FFFFEF;
       	border:solid 1px #666;
       	padding:5px;
       	color:#333;
}
a.popupexample:hover code {
       	display:block;
       	position:absolute;
       	top:0;
       	left:0;
       	z-index:999;
}



#sidebar div.w3c {
	font-size:7pt;
	text-align:center;
	padding-top:25px;
}
#sidebar div.w3c a {
	display:block;

	margin:0 auto 2px auto;
	height: 13px;
	width: 88px;
	text-decoration: none;
}
#sidebar div.w3c a span {
	display:block;
	border: solid 1px #FFF;
	padding: 0 0 0 24px;
	height: 11px;
	cursor:pointer;
}
#sidebar a.w3c {
	background:url(/images/all/w3c.gif) no-repeat 0 50% #FFF;
	color: #42424A;
	border: solid 1px #42424A;
}
#sidebar a.w3c:hover {
	color: #FFF;
	background:url(/images/all/w3c.gif) no-repeat 0 50% #898E79;
	border: solid 1px #F30;
}
#sidebar a.print, #sidebar a.print:visited {
	background:url(/images/all/print.gif) no-repeat 0 50% #898E79;
	color: #FFF;
	border: solid 1px #42424A;
}
#sidebar a.print:hover {
	color: #898E79;
	background:url(/images/all/print.gif) no-repeat 0 50% #FFF;
	border: solid 1px #F30;
}
#sidebar a.rss, #sidebar a.rss:visited {
	background:url(/images/all/rss.gif) no-repeat 0 50% #FFF;
	color: #42424A;
	border: solid 1px #42424A;
}
#sidebar a.rss:hover {
	color: #FFF;
	background:url(/images/all/rss.gif) no-repeat 0 50% #898E79;
	border: solid 1px #F30;
}
#cprt {text-align:center;}

#cprt a {background:none;}

#advFooter, #advFooter1 {
	border: solid 1px #ccc;
}





.botADV {
text-align:right;color:#cfcfcf;background:inherit;font-size:10px;padding:0;}
.botADV div{
color:#555;background:inherit;float:left;margin: 0 0 0 20px;
}
.botADV div a {
color:#555;background:inherit;
}








.bold {
	font-weight:bold;

}
.green, .corr {
	color:#008B00;
	background:inherit;
}

.red, .incorr {
	color:#ef2c2c;
	background:inherit;
}

.bgorange {
	color: #eee;
	background:#ef832c;
}
.bgred {
	color: #eee;
	background:#ef2c2c;
}
.bggreen {
	color: #eee;
	background:#008B00;
}

.clear {
	clear:both;
}
.corr {
	font-weight:bold;
}
.greybord {
	border:solid 1px #CCC;
	margin: 0 0 10px 0;
	padding: 0 10px;
	text-align:left;
}
.incorr {
	font-weight:bold;
}
.smallerTXT {
	font-size:smaller;
	padding:5px;
	background: #FAFAFA;
	color:#333;
}

.topB {
	padding: 1.8em 0 0.4em 0;
}

.notes {
	background: #FAFAFA;
	color:#333;
	border: solid 1px #CCC;
	padding: 5px;
	margin:5px 0;
}

table.quirks, table.entities{
	border-top: solid 1px #CCC;
	border-left: solid 1px #CCC;
	border-right: 0;
	border-bottom:0;
	font-size:90%;
	text-align:left;
	background:#fff;
	color:inherit;
}
table.entities {
	font-size:80%;
}
table.quirks th, table.quirks td, table.entities th,  table.entities td, table.elems th, table.elems td {
	border-bottom: solid 1px #CCC;
	border-right: solid 1px #CCC;
	border-top: 0;
	border-left:0;
}
table.elems th, table.elems td {
	padding: 2px;
}

td.quirks {
	background: #ef2c2c;
	color:#333;
}
td.standards {
	background: #008B00;
	color:#333;
}
td.almost {
	background: #98c725;
	color:#333;
}
td.grey {
	background: #eee;
	color:#666;
}
table.entities th,  table.entities td {
	padding:2px;
}
table.entities th {
	background:#039;
	font-weight:normal;
	color:#fff;
}
td.ent {
	font-size:150%;
	text-align:center;
}
td.small {
	font-size:90%;
}

.overFlow {
	overflow:auto;
	background:inherit;
	color:#333;
	width:99%;
	height:450px;
	cursor:pointer;
}



/* Begin Form Elements */
.contactform {
	padding-top: 2em;
}
#searchform {
	margin: 0 auto;
	padding: 5px 3px; 
}
#searchform a {
	border:0;
}
#searchform fieldset, #commentform fieldset {
	border:0;
}
#searchField {
  width:98%;
  border:solid 1px #CCC;
  margin-bottom:5px; 
}
.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentdiv {
	padding-top: 2em;
	clear:both;
}
#prevCommentTxt {
	border:solid 1px #008B00;
	background: #DFFFDF;
	color:#333;
	padding: 10px;
}

#commentform label, .contactleft label, .contactleft div {
  float:left; 
  width:13em; 
  line-height:1em;
  margin-right:0.1em; 
  text-align:right;
}
#commentform input, #commentform textarea, #wpcf_msg, #wpcf_message, .contactright input {
  border:solid 1px #CCC;
  padding: 3px;
  margin:0 0 0.5em 0.2em;
  width:25%; 
  
}
.contactright {
  margin: 0 0 1.5em 0;
}
#carbon_copy {
	width: auto;
}
#commentform textarea, #wpcf_msg, #wpcf_message {
	width: 70%;
	padding: 2px;
}

#commentform .button, #searchButton, #contactsubmit {
	margin: 0;
	width: 25%;
	border: double 3px #CCC;
	background: #008B00;
	color:#FFF;
	}
#commentform .button:hover, #searchButton:hover, #contactsubmit:hover {
	background: #F60;
	color:#FFF;
}

#commentform .smallerTXT {
	float: right;
	width: 25%;
}
#searchButton, #contactsubmit {
	float: right;
}

.contactform .contactright .contacterror {
	border: 1px solid #f60;
}

/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	background: #f6f6f6;
	color: #333;
}

.commentlist {
	padding: 0;
	text-align: justify;
}

.commentlist li {
	margin: 0;
	padding: 10px;
	list-style: none;
	border-bottom: solid 1px #e5e5e5;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}

.commentlist cite {
	font-weight: bold;
}
#commentform p {
	margin: 5px 0;
}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
}


.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */











#header {
	font-size: 1.3em;
	line-height: 1.2;
	padding: 0;
	float: right;
	width: 25%;
}

#headerimg {
	height: 77px;
	text-align:right;
	position:relative;
	margin: 0 auto;
	width: 15em;
}
#headerimg h1 {
	height: 77px;
	font-weight: normal;
	margin: 0;
	padding: 0;
	font-size: 1.2em;
}
#headerimg h1 a {
	font-size: 3em;
	font-family: Georgia, Times, serif;
	display:block;
	position:absolute;
	right:0;
	color: #366AB3;
	background: inherit;
	padding-right:1em;
}
#headerimg span {
	color: #F60;
	background: inherit;
	position: absolute;
	bottom:-0.2em;
	right: 0;
}
#headerimg span.description {
	white-space: nowrap;
	right: 7.5em;
	color: #666;
	background: inherit;
	font-size: 0.2em;
	font-style: italic;
}


.navigation  {
	width: 100%; overflow:hidden;
}
.navigation a {
	text-decoration: none;
	color: #008B00;
	background: inherit;
	font-weight: bold;
	font-size: 2.2em;
	line-height:1.2em;
}
.navigation a:hover {
	text-decoration: underline;
	color: #F60;
	background: inherit;
}

.tbn {
	text-align:center;border-top:dashed 1px #e5e5e5;border-bottom:dashed 1px #e5e5e5;padding:20px 0;
}

dl.dl1 dt {
	margin:0.5em 0 0 0;
	font-weight:bold;
}
dl.dl1 dd {
	margin: 0 0 0.3em 2em;
}
.invsb {
	color: #fff;
	background: inherit;
	display: none;
}

.tophtml {
	text-align: center;
	padding: 8px 0 5px 0;
}
#sidebar .tophtml a {
	border: 0;
}
