/*
Theme Name: Daleri Dark
Theme URI: http://andreasviklund.com/wordpress-themes/
Description: The first theme in the <a href="http://daleri.com/">Daleri</a> design series by <a href="http://andreasviklund.com/">Andreas Viklund</a>. A dark and wide theme meant to encourage the user to tweak and and experiment in different ways. Additional material, replacement images, modifications and other add-ons will soon be available on the <a href="http://andreasviklund.com/wordpress-themes/" title="WordPress themes by Andreas Viklund">theme site</a>.
Version: 1.01
Author: Andreas Viklund
Author URI: http://andreasviklund.com/
*/

/* Body */
* {margin:0; padding:0;}
body {background:#ff6600 url(img/body-bg.png) top center repeat-y; color:#333333; font:80% Tahoma, Arial,sans-serif; line-height:1.3em; text-align:center; padding-bottom:20px;}

/* Top */
#top {padding:0; width:960px; margin:10px auto 5px auto;}
#topleft {width:650px; float:left; margin:0; text-align:left;}
#topleft h1 {font-size:2.4em; line-height:0.9em; margin:5px 0; padding:0;}
#topleft h1 a {font-weight:400;}
#topleft p, #topright p {margin:0 0 5px 0; padding:0; color:#333333;}
#topright {width:250px; padding:0; float:right; text-align:right; margin:0;}

/* Searchbox */
.searchbox {margin:0px 0 10px 0; padding:0;}
.searchbox label {color:#333333; font-width:bold;}
.searchbox input {background:#ffffff; padding:1px 0 1px 5px; margin:0; width:180px; color:#333333; border:1px solid #ff6600;}

/* Header */
#header {background:url(img/front.jpg) top left no-repeat; color:#eee; margin:0 auto 10px auto; padding:1; text-align:left; width:997px; height:200px;}
#header h2, #header h3 {font-size:1.6em; color:#333333;}
#headerleft {clear:both; width:240px; height:190px; float:left; padding:9px 0 0 10px; overflow:auto;}
#headerright p, #headerright ul, #headerright ol, #headerright div, #headerright table {text-align:left; padding:0; margin:0 0 5px 0; color:#333333;}
#headerleft li {list-style:none; margin:0 0 2px 0;}
#headerright {width:240px; float:right; height:190px; text-align:right; padding:9px 10px 0 0; overflow:auto;}
#headerright p, #headerright ul, #headerright ol, #headerright div, #headerright table {text-align:right; padding:0; margin:0 0 5px 0; color:#eee;}
#headerright li {list-style:none; margin:0 0 2px 0;}

/* vkontakte */
#vkontakte {color:#333333; margin:0 auto 10px auto; padding:0; text-align:left; width:998px; height:80px;}
#vkontakte a {color:#ffffff; font-size:12px;}
#vkontakte p {color:#ffffff; font-size:12px; margin-left:20px;}
#vkontakte img.bb {margin:0 0 0 0;}

/* Main wrap */
#wrap {margin:0 auto; padding:0; text-align:left; width:960px;}

/* Headers */
h2, h3, h4 {margin:0 0 15px; color:#000000; font-weight:normal;}

/* Sidebar */
#sidebar {font-family: "Trebuchet MS", Verdana, sans-serif; margin:0 0 5px 0; float:right; width:200px; padding:0; }
#sidebar h2, #sidebar h3 {font-size:1.6em; padding:2px 0; margin:0 0 8px 0;}
#sidebar h3, #sidebar h4 {font-size:1.2em; margin:0 0 8px 0;}
#sidebar p, #sidebar ul ,#sidebar .textwidget,#sidebar form,#sidebar table {margin:0 0 18px 0; padding:0;}
#sidebar li {list-style:none; margin:0 0 3px;}
#sidebar ul li a {font-size:1em;}
#sidebar ul ul, #sidebar ul ul ul {list-style:none; margin: 2px 0 0 15px; padding:0;}
#sidebar ul ul li, #sidebar ul ul ul li {list-style:none; margin:0; padding:0;}
#sidebar ul ul li a {font-size:0.9em; font-weight:normal; margin:0; padding:0;}
#sidebar table {width:180px;}
#sidebar table.adv {width:200px;}
#sidebar p.adv {margin-left: 5px; margin-right:5px; margin-top:5px;text-align:center;}
#sidebar caption {font-size:1.6em; padding:2px 0; margin:0 0 8px 0; text-align:left;}

#sidebar2 {position:relative; float:left; width:220px; padding:0;}
#sidebar2 li {list-style:none; margin:0 0 3px;}
#sidebar2 ul li a {font-size:1em;}
#sidebar2 ul ul, #sidebar2 ul ul ul {list-style:none; margin: 2px 0 0 15px; padding:0;}
#sidebar2 ul ul li, #sidebar2 ul ul ul li {list-style:none; margin:0; padding:0;}
#sidebar2 ul ul li a {font-size:0.9em; font-weight:normal; margin:0; padding:0;}
#sidebar2 p.adv {margin-left: 5px; margin-right:5px; margin-top:5px; text-align:center;}
#sidebar2 h3, #sidebar2 h4 {font-size:1.2em; margin:0 0 8px 0;}

/* Menu buttons */

#sidebar ul.menubuttons li.toptop {background:url(img/top.png); list-style:none; width:200px; height:15px; padding:0; margin:0 0 1px 0;}
#sidebar ul.menubuttons li.botbot {background:url(img/bot.png); list-style:none; width:200px; height:15px; padding:0; margin:0 0 1px 0;}

#sidebar2 ul.menubuttons li.toptop {background:url(img/top.png); list-style:none; width:200px; height:15px; padding:0; margin:0 0 1px 0;}
#sidebar2 ul.menubuttons li.botbot {background:url(img/bot.png); list-style:none; width:200px; height:15px; padding:0; margin:0 0 1px 0;}

#sidebar ul.menubuttons li.toptop2 {background:url(img/top2.png); list-style:none; width:200px; height:15px; padding:0; margin:0 0 1px 0;}
#sidebar ul.menubuttons li.botbot2 {background:url(img/bot2.png); list-style:none; width:200px; height:15px; padding:0; margin:0 0 1px 0;}

#sidebar ul.menubuttons li {list-style:none; width:200px; padding:0; margin:0 0 1px 0;}
#sidebar ul.menubuttons li a {font-weight:bold;display:block; padding:3px 0 3px 15px; background-color:#ff6600; color:#ffffff; border:0px;}

#sidebar2 ul.menubuttons li {list-style:none; width:200px; padding:0; margin:0 0 1px 0;}
#sidebar2 ul.menubuttons li a {font-weight:bold;display:block; padding:3px 0 3px 15px; background-color:#ff6600; color:#ffffff; border:0px;}

#sidebar ul.menubuttons li.ssil  a {font-weight:bold;display:block; padding:3px 0 3px 15px; background-color:#ff6600; color:#ffffff; border:0px;}
#sidebar ul.menubuttons li.ssil a:hover, #sidebar ul.menubuttons li.current_page_item a {background:#ffcc99;color:#cc3300; border:0px;}

#sidebar2 ul.menubuttons li.ssil  a {font-weight:bold;display:block; padding:3px 0 3px 15px; background-color:#ff6600; color:#ffffff; border:0px;}
#sidebar2 ul.menubuttons li.ssil a:hover, #sidebar ul.menubuttons li.current_page_item a {background:#ffcc99;color:#cc3300; border:0px;}

#sidebar ul.menubuttons li.ras  a {font-weight:bold;display:block; padding:3px 0 3px 15px; background-color:#0099cc; color:#ffffff; border:0px;}
#sidebar ul.menubuttons li.ras a:hover, #sidebar ul.menubuttons li.current_page_item a {background:#DFF8FF;color:#0099cc; border:0px;}

#sidebar ul.menubuttons li a:hover, #sidebar ul.menubuttons li.current_page_item a {background:#ffcc99; border:0px;color:#cc3300;}
#sidebar ul.menubuttons ul {margin:0; padding:2px 0 0 10px;}
#sidebar ul.menubuttons ul li {width:170px;}
#sidebar ul.menubuttons ul li a {font-size:0.9em; background:#f2ccff; padding:1px 0 1px 15px;}

/* Content */
#content {float:left;position:relative; width:510px; margin-bottom:5px;}
#content h2 {font-size:1.8em; clear:left;}
#content h3 {font-size:1.4em; clear:left;}
#content h2, #content h3 {}
#content h2 a, #content h3 a {font-weight:normal;}
#content p {margin:0 0 18px;}
#content div.postnav {width:400px; height:30px;}
#content div.postnavleft {width:200px; text-align:center;}
#content div.postnavright {width:200px; text-align:center;}

#content div.postnavleft a {font-size:14px; color:#0099cc; font-weight:400; text-decoration:none;}
#content div.postnavleft a:hover {font-size:14px; color:#ffffff; background-color:#0099cc; font-weight:400; text-decoration:none;}
#content div.postnavright a {font-size:14px; color:#0099cc; font-weight:400; text-decoration:none;}
#content div.postnavright a:hover {font-size:14px; color:#ffffff; background-color:#0099cc; font-weight:400; text-decoration:none;}

#content ul, #content ol {margin:0 0 18px 30px;}
#content ul li, #content ol li {margin:0 0 3px;}
#content ul ul, #content ol ol {margin:5px 0 5px 15px;}
#content img {margin:0; padding:0;}
#content img.left {float:left; margin:0 10px 10px 0;}
#content img.right {float:right; margin:0 0 10px 10px;}
#content img.center {margin:2px auto 10px auto; display:block;}
#content img.framed {padding:5px; background:#eee; border:1px solid #eee;}
#content .post {margin:0 0 30px;}
#content .timestamp {font-size:1.2em; color:#336666;}
#content .timestamp a {font-weight:normal;}

/* Footer */
#footer {clear:both; color:#333333; text-align:center; background-color:#ffffff;}
#footer p {margin:0; padding:10px 0;}
#footer .credits {font-size:1em;}
/* #footer a {color:#cc6600;} */
/* #footer a:hover {color:#000000; text-decoration:underline;} */

/* Comments */
img.avatar { float:right;}
#comments {margin:20px 0 16px 0;}
.comment {margin-bottom:10px; padding-bottom:20px;}
#content div.comment p.commenticon {font-size:0.9em;padding:10px; margin-right:10px; background-color:#eeeeee;}
#content div.comment p {margin:0 0 4px;}
#respond {margin:20px 0 0 0;}
#respond p {margin:0 0 10px 0;}
#respond input,#respond textarea {padding:4px; width:280px; background-color:#dfdfdf; color:#333333;}
#respond textarea#comment {width:500px;}
#respond input#submit {width:75px;}
#respond input, #respond textarea {font: 100% "Trebuchet MS",Verdana,sans-serif; border: 1px solid #555;}

/* Tags */
blockquote {padding:5px 15px 2px 15px; margin:10px; border-left:4px solid #eee; color:#777;}
blockquote p {padding:2px 0; margin:0; font-weight:bold;}
code {padding:5px; font-size:1.2em; display:block; margin: 5px 0 16px 0; background-color:#cccccc; border:1px solid #555;}

/* Links */
a {font-family: "Trebuchet MS", Verdana, sans-serif; color:#ff6600; font-weight:400; text-decoration:none;}
a:hover {color:#ffffff; background-color:#ff9900; text-decoration:none;}
a.ttp {border: 1; background-color:#ffffff;}
a.n {border: 0; background-color:#ffffff;}
a.trans {border: 0;}
a.trans:hover {border: 0; background:none;  }


a.blue {font-family: "Trebuchet MS", Verdana, sans-serif; color:#0099cc; font-weight:400; text-decoration:none;}
a.blue:hover {color:#ffffff; background-color:#0099cc; text-decoration:none;}

a.red {font-family: "Trebuchet MS", Verdana, sans-serif; color:#ff3333; font-weight:400; text-decoration:none;}
a.red:hover {color:#ffffff; background-color:#ff3333; text-decoration:none;}

a.menu 		{display:block; background-color:#ff6600; padding:3px 0 3px 15px;font-weight:bold;}
a.menu:visited	{color:#ffffff; text-decoration:none; font-weight:bold;}
a.menu:link	{color:#ffffff; text-decoration:none; font-weight:bold;}
a.menu:hover	{color:#cc3300; background-color:#ffcc99; text-decoration:none; font-weight:bold;}


/* Содержимое панели "Информация" */
li.linkcat h2     {text-align: center; margin-top:20px;}
li.linkcat        {width:210px;}
li.linkcat ul li  {padding:5px;}
li.linkcat ul li a {font-weight:bold;}

/* Float fix */
.contenttext {overflow:hidden;}
* html .contenttext {height:1px; overflow:visible;}
* html .contenttext p {overflow:hidden; width:99%;}

/* Various classes */
.feedlink {padding:2px 0 2px 18px; margin:0 0 0 12px; font-size: 1.1em; background: url(img/rss.png) center left no-repeat;}
.textright {text-align:right;}
.textcenter {text-align:center;}
.clear {visibility:hidden; clear:both;}
.hide {display:none;}