/*   
Theme Name: Тема для sos-dan.ru
Theme URI: http://sosdan.ru
Description: sos-dan+wordpress! Yay!
Author: Yoksven
Author URI: nope
Version: 1
*/

@media screen {

* { margin: 0; padding: 0; }
.alignright {
    float:right;
}

.alignleft {
    float: left;
}

.aligncenter {
    display: block;
    margin: 0 auto 0 auto;
}

img {	
	max-width:100%;
	height:auto;
}

a img.alignright {
    float: right;
}

a img.alignnone {
    margin: 0;
}

a img.alignleft {
    float: left;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

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

body 
	{ 
	background-origin: content-box;
	background-attachment: fixed;
	background-position: center center;
	background-repeat: no-repeat;	
	min-width: 1000px;
	min-height: 700px;
	}
	
#main-nav
	{
	top: 0;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	width: 900px;
	margin: auto;
	margin-top: -40px;
	z-index: 9999;
	margin-bottom: 30px;
	}

#main-nav img, #main-nav a
	{
	margin: 0;
	padding: 0;
	}
	
#gotop
	{
	position: fixed;
	right: 0;
	bottom: 40;
	z-index: 1;
	}
	
#sneak
	{	
	}
	
#margin
	{
	}
	

	
#board-top
	{
	position: relative;
	float: left;
	background-image: url(images/desk2.png);
	background-repeat: no-repeat;
	background-size: 100% 29px;
	width: 60%;
	}
	
#hide-bar
	{
	position: absolute;
	bottom: 0;
	top: 0;
	right: 0;
	margin-right: -20px;
	float: right;
	margin-top: 300px;
	background-image: url(images/desk7.png);
	background-repeat: no-repeat;
	background-size: 20px 100%;
	z-index: 3;
	}
	
#desk8
	{
	position: absolute;
	bottom: 106px;
	}
	
	
#screw
	{
	position: absolute;
	top: 0;
	right: 0;
	margin-top: 800px;
	margin-right: -29px;
	float: right;
	}
	
#board
	{
	position: relative;
	margin-top: 29px;
	background-image: url(images/desk3.png);
	background-repeat: repeat-y;
	background-size: 26px 100%;
	background-position: right;
	background-color: RGB(243, 243, 243);
	bottom: 0;
	z-index: 3;
	}
		
#board-low
	{
	position: relative;
	background-image: url(images/desk5.png);
	background-repeat: no-repeat;
	background-size: 100% 52px;
	height: 170px;
	bottom: 10;
	}
	
#iris
	{
	padding: 4px 10px 10px 10px;
	background-image: url(images/iris.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	}
	
#time-travel-main
	{
	position: absolute;
	height: 120;
	width: 480;
	bottom: -5;
	left: 5;
	}
	
#time-travel-main, #time-travel-main a:visited, #time-travel-main a:link
	{
	color: rgb(165, 200, 200);
	text-decoration: none;
	}
	
#time-travel-main a:hover
	{
	color: rgb(135, 170, 170);
	text-decoration: none;
	}
	
#ttrc1
	{
	height: 60px;
	width: 474px;
	background-color: white;
	border: 3px solid;
	border-color: rgb(165, 200, 200);
	-moz-border-radius:10px 10px 0px 0px;
	-webkit-border-radius:10px 10px 0px 0px;
	border-radius:10px 10px 0px 0px;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	background-image: url(images/ttrc1.jpg);
	background-repeat: no-repeat;
	background-origin: border-box;
	background-position: top center;
	}
	
#ttrc2
	{
	line-height: 1.7em;
	margin-top: 2px;
	height: 18px;
	width: 474px;
	background-color: white;
	border: 3px solid;
	border-color: rgb(165, 200, 200);
	text-align: center;
	background-image: url(images/ttrc2.jpg);
	background-repeat: no-repeat;
	background-origin: border-box;
	background-position: top center;
	}
	
#ttrc3-1
	{
	line-height: 0.9em;
	margin-top: -3px;
	height: 12px;
	width: 230px;
	background-color: white;
	border-left: 3px solid;
	border-right: 3px solid;
	border-bottom: 3px solid;
	border-color: rgb(165, 200, 200);
	text-align: center;
	background-image: url(images/ttrc3.jpg);
	background-repeat: no-repeat;
	background-origin: border-box;
	}
	
#ttrc3-2
	{
	line-height: 0.9em;
	float: right;
	margin-top: -3px;
	height: 12px;
	width: 230px;
	background-color: white;
	border-left: 3px solid;
	border-right: 3px solid;
	border-bottom: 3px solid;
	border-color: rgb(165, 200, 200);
	text-align: center;
	background-image: url(images/ttrc4.jpg);
	background-repeat: no-repeat;
	background-origin: border-box;
	background-position: top right;
	}
	
#ttrc4
	{
	float: right;
	margin-top: 2px;
	height: 14px;
	width: 474px;
	background-color: white;
	border: 3px solid;
	border-color: rgb(165, 200, 200);
	-moz-border-radius: 0px 0px 10px 10px;
	-webkit-border-radius: 0px 0px 10px 10px;
	border-radius: 0px 0px 10px 10px;
	text-align: center;
	background-image: url(images/ttrc5.jpg);
	background-repeat: no-repeat;
	background-origin: border-box;
	}
	
#logo
	{	
	position: fixed;
	right:50px; 
	bottom: 20px;
	z-index: 9999;
	}
	
#content
	{
	margin-left: 50px;
	margin-right: 50px;
	}
	
#editit
	{
	text-align: right;
	padding-bottom: 5px;
	}
	
h2, h2 a, h2 a:visited, #commentform a:visited, #iris a:visited
	{
	color: rgb(220, 0, 0);
	text-decoration: none;
	}
	
a:link 
	{
	color: rgb(220, 0, 0);
	text-decoration: none;
	}
	
a:visited, #cancel-comment-reply-link
	{
	color: rgb(120, 0, 0);
	text-decoration: none;
	}
	
a:hover, #iris a:hover
	{
	color: rgb(120, 0, 0);
	text-decoration: none;
	}
	
.top
	{
	z-index: 99;
	}
	
#news-nav
	{
	margin-left: 40px;
	margin-right: 40px;
	background-color: white;
	text-align: center;
	}
	
#content #respond
	{
	margin-right: 10px;
	margin-left: 10px;
	}
	
#core #right #content
	{
	margin-left: 40px;
	margin-right: 40px;
	margin-top: -25px;
	background-color: white;
	}	
	
#content ol.commentlist
	{
	margin-bottom: -10px;
	}
	
#comments #core #right #content h2
	{
	text-align: center;
	}
	
form#commentform div input#submit
	{
	
	}
	
#right#content
	{
	z-index: 999;
	}
	
#p1
	{
	float: right;
	position: absolute;
	top: 0;
	right: 0;
	}
	
#p12
	{
	float: right;
	position: absolute;
	top: 40;
	right: 0;
	}
	
#p2
	{
	float: right;
	position: absolute;
	top: 0;
	left: 0;
	}
	
#p22
	{
	position: absolute;
	top: 40;
	left: 0;
	}
	
#p3
	{
	float: right;
	position: absolute;
	bottom: 40px;
	right: 0;
	}
	
#p32
	{
	float: right;
	position: absolute;
	bottom: 80px;
	right: 0;
	}
	
#p4
	{
	float: right;
	position: absolute;
	bottom: 40px;
	left: 0;
	}
	
#p42
	{
	float: right;
	position: absolute;
	bottom: 80px;
	left: 0;
	}
	
#comments1
	{
	position: absolute;
	margin-right: -66%;
	width: 66%;
	right: 0;
	top: 0;
	}
	
#comments001
	{
	position: absolute;
	margin-right: -66%;
	right: 0;
	bottom: 0;
	}

#comments-top
	{
	position: relative;
	float: left;
	width: 63%;
	}
	
#comments-top2
	{
	margin-left: 40px;
	margin-right: 40px;
	margin-bottom: -30px;
	position: relative;
	background-image: url(images/portal1-2.png);
	background-repeat: repeat-x;
	height: 40px;
	}
	
#comments
	{
	position: relative;
	margin-top: 29px;
	background-repeat: no-repeat;
	background-size: 98% 100%;
	bottom: 0;
	z-index: 3;
	}
	
#comments-low
	{
	position: relative;
	height: 80px;
	bottom: 0;
	}
	
#comments-low2
	{
	margin-left: 60px;
	margin-right: 40px;
	position: relative;
	background-image: url(images/portal1-4.png);
	background-repeat: repeat-x;
	height: 40px;
	}
	
#core
	{
	position: relative;
	background-image: url(images/portal1-3.png);
	background-repeat: repeat-y;
	background-position: left;
	top: 0;
	bottom: 0;
	}
	
#right
	{
	position: relative;
	background-image: url(images/portal1-1.png);
	background-repeat: repeat-y;
	background-position: right;
	top: 0;
	bottom: 0;
	}

textarea#comment
	{
	width: 100%;
	}
	
#not-found
	{
	position: absolute;
	width:100%;
	height: 500px;
	background-image: url(images/glitch.png);
	background-repeat: repeat-y;
	background-position: center center;
	margin-top: -30px;
	}
	
.screen-reader-text { position: absolute; left: -9999px; top: -9999px; }
.clear { clear: both; }
.group:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
* html .group, *:first-child+html .group { zoom: 1; } /* First selector = IE6, Second Selector = IE 7 */

#page-wrap { width: 960px; margin: 20px auto; }

h1, h2, h3 { font-weight: normal; margin: 0 0 10px 0; }
h1 { }
h2 { }
h3 { }

p { margin: 0 0 10px 0; }
a { }
a:hover { } 

blockquote { }
blockquote p { }

ul, ol { margin: 0 0 10px 0; }

.post { }

.entry { }
.entry a { }
.entry a:hover { }

pre { }
code, tt { }

#meta { }
.postmetadata { }

#sidebar { }

.navgation { }
   .next-posts { }
   .prev-posts { }

#searchform { }
	#s { }
	#searchsubmt { }
	
ol.commentlist { list-style: none; }
ol.commentlist li { }
ol.commentlist li.alt { }
ol.commentlist li.bypostauthor { }
ol.commentlist li.byuser { }
ol.commentlist li.comment-author-admin { }
ol.commentlist li.comment { border-bottom: 1px dotted #666; padding: 10px; }
ol.commentlist li.comment div.comment-author { }
ol.commentlist li.comment div.vcard { }
ol.commentlist li.comment div.vcard cite.fn { font-style: normal; }
ol.commentlist li.comment div.vcard cite.fn a.url { }
ol.commentlist li.comment div.vcard img.avatar { float:right; margin: 0 0 10px 10px; }
ol.commentlist li.comment div.vcard img.avatar-32 { }
ol.commentlist li.comment div.vcard img.photo { }
ol.commentlist li.comment div.vcard span.says { }
ol.commentlist li.comment div.commentmetadata { }
ol.commentlist li.comment div.comment-meta { font-size: 10px; }
ol.commentlist li.comment div.comment-meta a { color: #ccc; }
ol.commentlist li.comment p { }
ol.commentlist li.comment ul { }
ol.commentlist li.comment div.reply { font-size: 11px; }
ol.commentlist li.comment div.reply a { font-weight: bold; }
ol.commentlist li.comment ul.children { list-style: none; margin: 10px 0 0; }
ol.commentlist li.comment ul.children li { }
ol.commentlist li.comment ul.children li.alt { }
ol.commentlist li.comment ul.children li.bypostauthor { }
ol.commentlist li.comment ul.children li.byuser { }
ol.commentlist li.comment ul.children li.comment { }
ol.commentlist li.comment ul.children li.comment-author-admin { }
ol.commentlist li.comment ul.children li.depth-2 { border-left: 5px solid #555; margin: 0 0 10px 10px; }
ol.commentlist li.comment ul.children li.depth-3 { border-left: 5px solid #999; margin: 0 0 10px 10px; }
ol.commentlist li.comment ul.children li.depth-4 { border-left: 5px solid #bbb; margin: 0 0 10px 10px; }
ol.commentlist li.comment ul.children li.depth-5 { }
ol.commentlist li.comment ul.children li.odd { }
ol.commentlist li.even { background: #fff; }
ol.commentlist li.odd { background: #f6f6f6; }
ol.commentlist li.parent { border-left: 5px solid #333; }
ol.commentlist li.thread-alt { }
ol.commentlist li.thread-even { }
ol.commentlist li.thread-odd { }

form { }
input[type=text] { }
textarea { }

} /* END screen media */

@media print {

.do-not-print { display: none; }
#comments { page-break-before: always; }

body { width: 100% !important; margin: 0 !important; padding: 0 !important; line-height: 1.4; word-spacing: 1.1pt; letter-spacing: 0.2pt; font-family: Garamond,"Times New Roman", serif; color: #000; font-size: 12pt; }
h1,h2,h3,h4,h5,h6 { font-family: Helvetica, Arial, sans-serif; }
h1 { font-size: 19pt; }
h2 { font-size:17pt; }
h3 { font-size:15pt; }
h4,h5,h6 { font-size:12pt; }
code { font: 10pt Courier, monospace; } 
blockquote { margin: 1.3em; padding: 1em; }
img { display: block; margin: 1em 0; }
a img { border: none; }
table { margin: 1px; text-align:left; }
th { border-bottom: 1px solid #333;  font-weight: bold; }
td { border-bottom: 1px solid #333; }
th, td { padding: 4px 10px 4px 0; }
caption { background: #fff; margin-bottom: 2em; text-align: left; }
thead { display: table-header-group; }
tr { page-break-inside: avoid; } 
a { text-decoration: none; color: black; }
	
} /* END print media */

#search-top
	{
	margin-top: -40px;
	margin-bottom: 30px;
	margin-left: -20px;
	position: relative;
	float: left;
	width: 60%;
	}
	
#main-search
	{
	margin-left: 40px;
	}
	
#search-bananas
	{
	position: absolute;
	width: 100%;
	}
	
#ninja
	{
	float: right;
	height: 500px;
	}
	
#search1
	{
	margin-left: 40px;
	padding: 20px;
	margin-right: 40px;
	background-color: white;
	}
	
#search1 h2
	{
	font-family:avantgardectt_bold;
	}
	
#search1 input
	{
	border-style: solid;
	border-width: 1px;
	border-color: grey;
	}
	
#searchformright
	{
	float: right;
	text-align: right;
	}
	
#yuki_search
	{
	height: 350px;
	width: 100%;
	background-image: url(images/waiting.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	}