/*
Theme Name: w7q Theme
Description: Special 4 w7q.ru.
Version: 0.9
Author: Oleg Balashov
Author URI: http://balashov.net/
*/

body { background: #1b2f39; padding: 0px 0% 0px 0%; margin: 0px; }
body, th, td { font-size: 80%; line-height: 140%; font-family: Verdana, Tahoma, Helvetica, sans-serif; }

blockquote { background: #f1f3f3; border-left: 2px #babfc1 solid; padding: 20px 20px 20px 40px; }

div.clear { font-size: 0px; clear: both; }

img { border: 0px; }
form { padding: 0px; margin: 0px; }

table.null { border-collapse: collapse; border: 0px; }
table.w100 { width: 100%; }
table.h100 { height: 100%; }

td.header { color: #FFFFFF; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; text-align: left; vertical-align: bottom; background: url('images/header_gradient.png') repeat-x left bottom; padding-top: 25px; padding-bottom: 35px; }
td.menu { text-align: left; vertical-align: bottom; padding: 0px 4% 0px 8%; }
td.body { background: #FFFFFF; height: 100%; text-align: left; vertical-align: top; padding-top: 40px; padding-bottom: 35px; }
td.footer { color: #7f9099; font-size: 70%; text-align: left; vertical-align: top; padding-top: 40px; padding-bottom: 40px; background: url('images/footer_gradient.png') repeat-x left top; }

td.left { width: 64%; padding-right: 3%; padding-left: 8%; }
td.right { width: 36%; padding-right: 4%; padding-left: 3%; }

td.header h1 { font-weight: bold; font-size: 420%; margin: 0px 0px -10px 0px; line-height: 100%; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; }
td.header h1 a { text-decoration: none; color: #ffffff; }
td.header h1 a:hover { text-decoration: none; color: #a0b9ca; }
td.header h2 { font-weight: bold; font-size: 220%; margin: 5px 0px 0px 0px; line-height: 100%; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; }
td.header h3 { font-weight: normal; font-size: 140%; line-height: 100%; margin: 2px 0px 10px 5px; color: #ffffff; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; }
td.header img.logo { vertical-align: middle; width: 70px; height: 70px; margin: 0px 30px 0px 0px; }
td.header img.activenavi { vertical-align: middle; width: 21px; height: 21px; margin: 0px 25px 0px 0px; background: url('images/navi_active_bg.png') no-repeat center center; }
td.header img.navi { vertical-align: middle; width: 21px; height: 21px; margin: 0px 20px 0px 0px; filter:alpha(opacity=50); -moz-opacity:0.5; opacity: 0.5; background: transparent; }
td.header form { white-space: nowrap; }
td.header input { background: #ffffff; border: 1px #7e7e7e solid; font-family: Verdana, Tahoma, Helvetica, sans-serif; padding: 3px 4px; width: 60%; height: auto; margin: 0px 10px 0px 0px; }
td.header input.button { background: #ffffff url('images/menu_gradient.png') repeat-x top left; border: 1px #ffffff solid; font-family: Verdana, Tahoma, Helvetica, sans-serif; padding: 2px 15px; width: auto; height: auto; }

.somelogo { display: block; float: left; margin: 7px 0px 0px -5px; }
.sometitles { display: block; float: left; margin: 0px 0px 0px 0px; }

td.menu ul { list-style-type: none; padding: 0px; margin: 0px; display: inline; }
td.menu ul li.page_item { padding: 0px; margin: 0px; display: inline; }
td.menu ul li.page_item a { color: #FFFFFF; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; font-weight: bold; font-size: 110%; text-decoration: none; display: block; width: auto; float: left; padding: 13px 20px 10px 20px; margin: 0px 20px 0px -20px; border: 1px #1b2f39 solid; background: transparent; }
td.menu ul li.page_item a:hover { color: #FFFFFF; background: url('images/menu_hover.png'); }
td.menu ul li.current_page_item { padding: 0px; margin: 0px; display: inline; }
td.menu ul li.current_page_item a { color: #1b2f39; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; font-weight: bold; font-size: 110%; text-decoration: none; display: block; width: auto; float: left; padding: 13px 20px 10px 20px; margin: 0px 20px 0px -20px; border: 1px #FFFFFF solid; background: #FFFFFF url('images/menu_gradient.png') repeat-x top left; }
td.menu ul li.current_page_item a:hover { color: #000000; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; font-weight: bold; font-size: 110%; text-decoration: none; display: block; width: auto; float: left; padding: 13px 20px 10px 20px; margin: 0px 20px 0px -20px; border: 1px #FFFFFF solid; background: #FFFFFF url('images/menu_gradient.png') repeat-x top left; }

td.body h1 { font-weight: normal; font-size: 240%; line-height: 95%; color: #000000; margin: 20px 0px 10px 0px; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; }
td.body h1.title { font-weight: normal; font-size: 240%; line-height: 95%; color: #000000; margin: 0px 0px 40px 0px; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; }
td.body h2 { font-weight: normal; font-size: 200%; line-height: 95%; color: #000000; margin: 20px 0px 10px 0px; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; }
td.body h3 { font-weight: normal; font-size: 180%; line-height: 95%; color: #000000; margin: 40px 0px 20px 0px; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; }
td.body img { max-width: 100%; }
td.body div.widget { padding: 20px 50px 30px 50px; background: #f1f3f3; margin: 0px 0px 40px 0px; }
td.body div.widget ul, td.body div.widget ol { padding: 0px; margin: 0px; list-style-type: none; }
td.body div.widget ul li, td.body div.widget ol li { line-height: 120%; margin: 0px 0px 10px -20px; padding: 0px 0px 0px 20px; background: url('images/li.png') 3px 7px no-repeat; }
td.body div.widget_nktagcloud { background: #ffffff; text-align: center; padding: 0px 40px; margin: 0px 0px 40px 0px; line-height: 190%; }
td.body div.widget_nktagcloud a:hover { color: #000000; }

div.news { padding: 0px; }
div.news h1 { font-weight: normal; font-size: 240%; color: #000000; margin: 0px 30px 20px 0px; float: left; display: block; width: auto; }
div.news td.newsitem { width: 50%; vertical-align: top; text-align: left; padding-bottom: 20px; }
div.news td.newsitem img { width: 80px; height: auto !important; margin: 5px 10px 0px -3px;}
div.news td.sep { padding-right: 50px; }
div.news small { display: block; color: #666666; font-size: 80%; }
div.news p { margin: 5px 0px; font-size: 85%; }
div.news a { color: #3e6f8f; text-decoration: underline; font-size: 100%; }
div.news a:hover { color: #000000; text-decoration: none; }
div.news a.archive { color: #666666; font-size: 80%; text-decoration: underline; vertical-align: baseline; }
div.news a.archive:hover { color: #000000; text-decoration: none; }
div.news div.more { margin: 0px; }


td.files { background: #ffffff; vertical-align: top; padding-top: 40px; }
td.files small { display: block; color: #666666; font-size: 80%; }
td.files img.fileimage { width: 80px;  margin: 5px 10px 0px 0px; }
td.files a.filelink { width: 80px; height: 80px; float: left; display: block; margin: 0px 10px 20px 0px; }
td.files p { margin: 0px; }
td.files div.filedesc { display: none; }
td.files h1 { font-weight: normal; font-size: 240%; color: #000000; margin: 0px 0px 20px 0px; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; }
td.files h2 { font-weight: normal; font-size: 200%; color: #000000; margin: 20px 0px 10px 0px; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; }
td.files div.item { margin: 20px 0px 0px 0px; }
td.files div.widget { padding: 20px 30px 30px 50px; background: #f1f3f3; margin: 0px 0px 20px 0px; }
td.files table td { vertical-align: bottom; padding: 0px 0px 5px 0px; }

td.footer div.attention { color: #d2dee5; margin: 15px 0px 15 -25px; padding: 0px 0px 0px 25px; background: url('images/att.png') no-repeat 0px 5px; }
td.footer a { color: #d2dee5; border-bottom: 1px #7f9099 solid; text-decoration: none; }
td.footer a:hover { color: #d2dee5; border-bottom: 1px #45555d solid; }
td.footer div.cloud { font-size: 170%; text-align: center; line-height: 110%; }
td.footer div.cloud a { color: #7f9099; text-decoration: none; border: 0px; }
td.footer div.cloud a:hover { color: #ffffff; }
td.footer div.widget { width: 33%; height: 225px; overflow: hidden; display: block; float: left; }
td.footer div.widget select { width: 80%; }
td.footer div.widget ul, td.footer div.widget ol { padding: 0px 40px 0px 0px; margin: 0px; list-style-type: none; }
td.footer div.widget ul li, td.footer div.widget ol li { line-height: 125%; margin: 0px 0px 6px 0px; padding: 0px 0px 0px 0px; }
td.footer div.widget a { color: #aeb8be; border-bottom-color: #45555d; padding-bottom: 1px; }
td.footer div.widget a:hover { border-bottom-color: #7f9099; }
td.footer h3 { margin: 0px 0px 10px 0px; font-size: 160%; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; color: #ffffff; font-weight: normal; }

div.headers { font-size: 140%; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; }
div.headers h6 { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; display: inline; background: #e9edef; padding: 3px 15px; font-weight: normal; color: #000000; margin: 0px 10px 0px 0px; font-size: 95%; }
div.headers a { margin: 0px 0px 0px 10px; font-size: 95%; }

div.tags { font-size: 85%; color: #90969a; margin: 10px 0px; padding: 0px 0px 0px 14px; background: url('images/tags.png') 0px 2px no-repeat; line-height: 140%; }
div.tags a { text-decoration: none; color: #90969a; }
div.tags a:hover { text-decoration: underline; color: #90969a; }

div.more { font-size: 130%; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; margin: 10px 0px 40px 0px; }
div.more a { margin: 0px 40px 0px 0px; }
div.more img { vertical-align: middle; margin: 0px 5px 0px 0px; width: 14px; height: 12px; }

div.pages { font-size: 140%; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; }
div.pages div.numbers { margin: 15px 0px 0px 0px; font-size: 70%; font-family: Verdana, Tahoma, Helvetica, sans-serif; }   
div.pages div.numbers span { display: block; float: left; height: auto; width: auto; padding: 0px 4px; margin: 0px 5px 5px 0px; border: 1px #dadada solid; background: #f1f3f3; }
div.pages div.numbers a { display: block; float: left; height: auto; width: auto; padding: 0px 4px; margin: 0px 5px 5px 0px; border: 1px #dadada solid; text-decoration: none; }
div.pages div.numbers a:hover { color: #000000; border: 1px #90969a solid; }

div.rss { width: auto; height: auto; margin: 0px 0px 25px 0px; white-space: nowrap; }
div.rss img { width: 35px; height: 35px; margin: 0px 15px 0px 0px; float: left; vertical-align: text-bottom; }
div.rss a { font-size: 130%; text-decoration: none; color: #ffffff; line-height: 110%; margin: 0px 0px -3px 0px;}
div.rss a:hover { font-size: 130%; text-decoration: none; color: #879197; line-height: 110%; }

div.related { margin: 0px 0px 5px 0px; }

div.ctext { padding: 5px 10px; background: #f1f3f3; margin: 0px; font-size: 90%; height: auto; }
div.ctext p  { margin: 5px 0px; } 
div.cdata { padding: 3px 10px 0px 33px; background: #ffffff url('images/comment_bg.png') no-repeat 10px 0px; margin: 0px 0px 20px 0px; font-size: 80%; }
div.cdata big { font-size: 110%; }
div.cdata a { text-decoration: none; } 
div.cdata a:hover { text-decoration: underline; }



#commentform textarea { width: 100%; height: 150px; background: #ffffff; border: 1px #a6adad solid; margin: 5px 0px; }
#commentform #author { width: 15%; height: auto; padding: 2px; margin: 0px; background: #ffffff; border: 1px #a6adad solid; }
#commentform #email { width: 28%; height: auto; padding: 2px; margin: 0px 0px 0px 25px; background: #ffffff; border: 1px #a6adad solid; }
#commentform label { color: #999999; font-size: 85%; }
#commentform #submit { margin: 0px; font-size: 160%; }

a { color: #3e6f8f; text-decoration: underline; }
a:hover { text-decoration: none; }

a.cu { color: #000000; text-decoration: none; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; }
a.cu:hover { color: #3e6f8f; }

img.attachment-thumbnail { float: left; margin: 8px 20px 10px 0px; }

table.redactions { border-collapse: collapse; width: 100%; }
table.redactions td { border: 1px #d2d2d2 dotted; padding: 2px; vertical-align: middle; line-height: 100%; text-align: center; font-size: 60%; white-space: normal; }
table.redactions th { line-height: 110%; text-align: center; font-size: 60%; padding-bottom: 4px; white-space: normal; }
table.redactions td.parameter { text-align: left; font-size: 60%; padding: 5px; white-space: normal; }

table.standart { border-collapse: collapse; }
table.standart td { border: 1px #d2d2d2 dotted; padding: 2px; vertical-align: middle; line-height: 100%; text-align: left;}
table.standart th { line-height: 110%; text-align: left;}
table.standart td.parameter { text-align: left; }


.news-block { width: 100%; margin-top: 20px; }

.news-block .news {
display: inline-block;
border-bottom-color: #cccccc; }


#slide { position: fixed; top: 0px; left: 50%; width: 800px; height: auto; margin-left: -400px; display: block; z-index: 100; top: expression( document.getElementsByTagName("body")[0].scrollTop + "px" ); }




/* Begin Images */

a img {
	border: none;
	}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

.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;
}


 table.ver { border-collapse: collapse; border: none; margin: 0px; width: 100%; font-size: 70%; }
 table.ver td { border: 1px #dadada dotted; padding: 3px; }

