/*
Theme Name:		Perfect Magazine Theme Test
Theme URI: 		http://perfectmagazine.ru/
Version: 		1.0
Description: 	Theme for The Perfect Magazine.
Author: 		Vania
Tags:			one-column, two-columns, three-columns, fluid-width, sticky-post, threaded-comments, microformats

*/

@import url("css/forms.css");
/*@import url("css/reset.css");*/
@import url("css/typography.css");
@import url( "css/base.css" );

/* Begin Typography & Colors 
---------------------------------------------------*/
html {
	background:#f60;
}
body {
	background:url(images/j/top_bg.gif) no-repeat right top;
	color: #825a2d;
	padding:0px;
	margin:0px auto auto auto;
	text-align:left;
}
/*	General Tags
---------------------------------------------------*/
h1 {

}
h2 {
	color:#825a2d;
}
h2.pagetitle {
	margin:0px;
	text-align: left;
	font-size:20px;
	color:#FDB032;
	padding:0 0 20px 90px;
}
h3#comments {
	clear:both;
	border-bottom:1px #EFE7D1 solid;
}
h3 a:link,
h3 a:hover{
	color:#000;
}
a{
	text-decoration:none;
	color:#CF880C;
}
a:hover {
	color: #876431;
	text-decoration: underline;
}
small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
}
.strong{
	font-weight:bold;
	color:#000;
}
.clearfix:after{
  content: "\0020";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  overflow:hidden;
}
.clearfix {
	display:block;
}
.wrapper {
/*	width:960px;*/
	/*1150*/
	margin:auto;
	padding:0 4%;
}


/* Menus
---------------------------------------------------*/
.menu ul {
	padding:0px 0 0 37px;
	margin:0px;
	display:block;
	list-style:none;
	position:relative;
	z-index:300;
	clear:both;
}
.menu ul li {
	float:left;
}
.menu ul li a {
	color:#FFFFFF;
	font-size:12px;
	float:left;
	height:23px;
	line-height:23px;
	padding:0 10px 0 10px;
	margin:0 2px 0 2px;
	display:block;
	text-decoration:none;
	font-weight:bold;
	text-transform:uppercase;
}
.menu ul li.current_page_item a {
	color:#fff;
	font-size:12px;
	float:left;
	height:23px;
	line-height:23px;
	padding:0 10px 0 10px;
	margin:0 2px 0 2px;
	display:block;
	text-decoration:none;
	font-weight:bold;
	text-transform:uppercase;
	background:#000;
}
.menu ul li a:hover {
	background-color: #825a2d;
	color:#fff;
}
.userbar{
	position:absolute;
	top:0;
	right:0;
}
.userbar ul{
	width:100%;
	margin:0 10px 0 0;
	white-space:normal;
	overflow:visible;
}
* html .userbar ul{
	width:auto;
}
.userbar ul li{
	list-style:none;
	float:left;
	padding:0;
	padding-right:3px;
}
.userbar ul li::after{
	content: " /";
	font-weight:bold;
	color:#000;
	font-size:16px;
	margin-top:2px;
}
.secondary a{
	font-weight:bold;
	padding:0 2px;
	display:block;
	float:left;
	margin-top:3px;
	margin-right:2px;
}
.secondary .current a{
	background:#000;
	color:#FFF;
}
.tertiary{
	text-align:right!important;
	
}
.tertiary a,
.tertiary span{
	font-weight:bold;
	color:#411A0A;
	font-size:11px;
	padding:0 2px;
}


/* 3 Main Zones Definition
---------------------------------------------------*/
#header, #main_box, #footer{
}
#header {
	height:190px;
	position:relative;
}
#main_box {
	height:auto;
	margin:-17px;
}
#footer {
	width:100%;
	height:185px;
	padding: 0;
	clear: both;
/*	background:url(images/j/footer_bg.gif) no-repeat center top;*/
}

/* Header
---------------------------------------------------*/
#header .logo {
	padding:20px 0 0 20px;
	float:left;
}
#header .userbar{
	float:right!important;
	background:#FFF;
	height:50px;
	padding:5px;
/*	overflow:visible;*/
	/*width:auto;*/
}

/* Main Fluid Content Box 
---------------------------------------------------*/
.tl, .bl, .tr, .br, .tc, .bc, .searchbar{
	height:126px;
	background-repeat: no-repeat;
	background-color:#FFF;
	overflow:visible;
	position:relative;
}
.tl {
	background: url(images/bcgr/tl.gif) left no-repeat;
	padding-left: 62px;
	z-index:200; /*angles and box borders higher than .in*/
}
.tl .tr {
	background: url(images/bcgr/tr.jpg) right no-repeat;
	padding-right: 62px;
}
.tl .tr .tc{ background: url(images/bcgr/tc.gif) top repeat-x; }
.tl .tr .tc .searchbar{
	background:url(images/bcgr/searchbar.jpg) top right no-repeat;
	margin-right:-62px;
}
.bl {
	background: url(images/bcgr/bl.jpg) left no-repeat;
	padding-left: 62px;
}
.bl .br {
	background: url(images/bcgr/br.jpg) right no-repeat;
	padding-right: 62px;
}
.bl .br .bc{ background: url(images/bcgr/bc.jpg) bottom repeat-x; }
.in{
	margin:-109px 17px; /*2 get 2 the borders of background images*/
	padding:15px;
	z-index:100; /*white background at bottom*/
	background-color:#FFF;
}
.in div{
	z-index: 300; /*the content at the very top*/	
/*	text-align:left;*/
	overflow:visible!important;
	position:relative;
}
.in > div{
/*	margin-right:60%;*/
}
.in #breadcrumb,
.in #options,
.in .content{
	z-index: 500; /*the content at the very top*/
	float:left;
	position:relative;
/*	border:1px solid black;*/
	clear:both;
	margin-bottom:15px;
}


/* Main Box Content Areas
---------------------------------------------------*/
#main_box .content {
	margin:0;
	width:610px;
	float:left;
	position:relative;
}
#main_box #content-page { /*single page only*/
	width:700px;
	float:left;
	clear:both;
	position:relative;
}
#main_box #sidebar {
	margin:0 -2px 0 620px;
	padding:0;
	float:none;
	position:relative;
	min-width:auto;
}

/* Left Content Area
---------------------------------------------------*/

#main_box .content .new_pagination {
/*	border:1px solid black;*/
	width:580px;
	height:18px;
	padding-top:2px;
	margin:15px 40px;
	float:left;
	text-align:center!important;
	background:url(images/pagination_bg.gif) no-repeat center;
}
.new_pagination .pages{
	float:left;
}
.new_pagination .page{
	padding:0 2px;
	font-weight:bold;
}

/* Sidebar - Widgets zone
---------------------------------------------------*/
#sidebar #widgets{
	position:relative;
	height:100%;
	width:100%;
}
*html #sidebar #widgets{
	height:100%; /*fixes ie positioning gap*/
}
#sidebar .widget{
	position:absolute;
	width:237px;
}


/* Widget
---------------------------------------------------*/
li.widget {
	background:url(images/j/sidebar_bottom.gif) no-repeat center bottom;
}
.widget h2 {
	height:28px;
	text-transform:uppercase;
	font-size:14px;
	font-weight:bold;
	color:#411a0a;
	padding:25px 0 0 0;
	text-align:center;
	background:url(images/j/sidebar_top.gif) no-repeat center bottom;
}
#sidebar ul li ul {
	padding:0px 0 25px 0;
	margin:0px;
}
#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding:0;
	list-style:none;
}
#sidebar ul li {
	list-style:none;
	margin:0;
	padding:0;
}
#sidebar ul li ul li {
	list-style:none;
	width:210px;
	margin:0px 0 0 20px;
	line-height:22px;
	padding:4px 0 0px 0;
}
#sidebar ul li ul li a {
	color:#695321;
	background:url(images/checked.gif) no-repeat left;
	padding:0 0 0 15px;
}
#sidebar ul li ul li * a {
	padding:0;
	background:none;
}

#sidebar ul li ul li.recentcomments a {
	color:#695321;
	background:none;
	text-decoration:underline;
	padding:0 0 0 15px;
	color:#DF8D0D;
}

a.sidebar_banner {
	clear:both;
	display:block;
	padding:20px 0 10px 0;
}

/* Searchbar 
---------------------------------------------------*/
.search_tab {
	height:70px;
	overflow:hidden;
	position:relative;
}
#searchform {
	position:absolute;
	top:4px;
	right:0;
}
#searchform .search_input,
#searchform .btnSearch {
	display:inline;
	float:right;
	background:none;
	margin:0;
	padding:0;
	border:none;
}
#searchform .search_input {
	width:153px;
	height:22px;
	color:#411A0A;
	padding-top:3px;
	font-weight:bold;
}
#searchform .btnSearch {
	padding:1px 7px;
}

/* Posts
---------------------------------------------------*/
.post {
	margin:0 0 0 -47px;
	float:left;
	padding:0px 0 20px 0;
	text-align: left;
/*	надо нарисовать новый
	background:url(images/j/post_bg.gif) no-repeat left 20px;*/
}
.post-page {
	margin:0px;
	float:left;
	padding:0px 0 20px 0;
	text-align: left;
}
.post-page .post_content{
	width:570px;
}
.post_avatar {
	width:75px;
/*	height:90px;*/
	min-height:90px;
	height:100%;
	float:left;
	text-align:center!important;
	padding:22px 0 0 25px;
	background:url(images/date_bg.png) scroll no-repeat top center;
	overflow:visible;
}
.post_avatar a{
	display:block;
	margin:0;
	padding:0;
}
.post_avatar div{
	clear:both;
	padding:0;
}
.post_avatar img.avatar{
	margin-bottom:22px;
	padding:0;
	border:none;
}
.post_avatar a.poster{
	margin:0 0 0 18px;
	padding:0 2px;
	background-color:#825a2d;
	color:#FFF;
	clear:both;
	float:left;
	text-align:left;
}
.post h2 a {
	color:#825a2d;
	font-size:24px;
	font-weight:bold;
	text-decoration:none;
}
.post img {
	border:2px #ececec solid;
}
.post .entry p {
	padding:5px 0 5px 0;
	margin:0px;
	line-height:19px;
	clear:both;
}
.post_content {
	width:520px;
	float:left;
	padding:0 0 0 15px;
}
.post_content p{
	text-align:justify;
}
.post a.more-link{
	white-space:nowrap;
}
.post_links{
	float:right;
}
.post_links a{
	text-decoration:none;
	font-size:14px;
	font-weight:bold;
}
.post_links .comm,
.post_links .read_more{
	display:block;
	float:left;
	width:33px;
	height:34px;
	line-height:25px;
	margin:0 2px;
}
.comm { /*comments counter*/
	background:url(images/icons/comment.gif) no-repeat center;
	text-align:center;
}
.read_more {
	background:url(images/icons/write.gif) no-repeat right;
}
.postmetadata {
	width:400px;
	float:left;
	clear: both;
}
.sticky {
	background: #f7f7f7;
	padding: 0 10px 10px;
}
.sticky h2 {
	padding-top: 10px;
}


/* Begin Comments
---------------------------------------------------*/
#comments{
	clear:both;
}
.comments_content {

}
/*List of comments*/
.commentlist{
	padding:0 10px 0 50px;
	margin:0px;
	text-align: left;
}
.commentlist li {
	font-weight: bold;
	background-color:#FFFBEF;
	border: 1px solid #EFE7D1;
	margin: 15px 0 10px;
	padding: 10px;
	list-style: none;
}
.commentlist li .avatar {
	float: right;
	border: 1px solid #EFE7D1;
	padding: 2px;
	background: #fff;
}
.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
}
.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	margin: 10px 5px 10px 0;
}
.commentlist li ul li {
	margin-right: -5px;
	margin-left: 10px;
}
.children {
	padding: 0;
}
.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
}

/*Comment Form */
#commentform {

}
#commentform input {
	width:322px;
	height:27px;
	background:url(images/input_bg.gif) no-repeat center;
	border:none;
}
#commentform textarea {
	width:596px;
	height:150px;
	border:none;
	background:url(images/textarea_bg.gif) no-repeat left;
	margin-left:2px;
}
#commentform #submit {
	width:143px;
	height:37px;
	border:none;
	cursor:pointer;
	background:none;
	margin:0;
	float: right;
}
#commentform .avatar{
	float:left;
	margin:1px 0;
}

/* End Comments */

acronym, abbr, span.caps {
	font-size: 0.9em;
	letter-spacing: .07em;
}
#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
}
#wp-calendar a {
	text-decoration: none;
}
#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
}
#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
}
/* End Typography & Colors */




.widecolumn {
	padding: 10px 0 20px 0;
	margin: 5px 0 0 150px;
	width: 450px;
}
.widecolumn .post {
	margin: 0;
}
.widecolumn .postmetadata {
	margin: 30px 0;
}
.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}
.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}
.clear {
	clear: both;
}

/*-----------------------------footer----------------------------------*/
.footer_content {
	width:960px;
	margin:auto;
}
.footer_logos {
	width:242px;
	height:114px;
	float:left;
	background:url(images/footer_logos.png) no-repeat right top;
	padding:0 0 0 190px;
}
a.indeziner {
	width:108px;
	height:27px;
	display:block;
	margin:2px 0 0 50px;
}
a.wordpress {
	width:108px;
	height:27px;
	display:block;
	margin:35px 0 0 5px;
	float:left;
}
a.smashingmagazine {
	width:107px;
	height:45px;
	display:block;
	float:right;
	margin:30px 0 0 0px;
}
.footer_copyright {
	width:960px;
	font-size:11px;
	clear:both;
	text-align:center;
	padding:40px 0 0 0;
	color:#FFFFFF;
}
.footer_copyright a {
	color:#FFFFFF;
}
#footer .menu {
	padding:10px 10px 0 0;
	margin:0px;
	display:block;
	list-style:none;
	float:right;
	z-index:500;
	position:relative;
}
.footer_menu ul li {
	float:left;
}
.footer_share_box{
	position:relative;
	z-index:300;
	padding-top:15px;
}

/* Images 
---------------------------------------------------*/
p img {
	padding: 0;
	max-width: 100%;
}
/*	Using 'class="alignright"' on an image will (who would've
thought?!) align the image to the right. And using 'class="centered',
will of course center the image. This is much better than using
align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	border:2px #ececec solid;
}
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;
}
.alignleft {
	float: left;
	padding:0 0 0 80px;
}

/* Lists
Special stylized non-IE bullets
Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
}
html>body .entry li {
	margin: 7px 0 8px 10px;
}
.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
}
.entry ol li {
	margin: 0;
	padding: 0;
}
.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
}
select {
	width: 130px;
}

/* Calendar 
---------------------------------------------------*/
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
}
#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
}
#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
}
#wp-calendar a {
	display: block;
}
#wp-calendar caption {
	text-align: center;
	width: 100%;
}
#wp-calendar td {
	padding: 3px 0;
	text-align: center;
}
#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff;
}

/* Various Tags & Classes 
---------------------------------------------------*/
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;
}
.hidden {
	display: none;
}
.screen-reader-text {
	position: absolute;
	left: -1000em;
}
hr {
	display: none;
}
a img {
	border: none;
}
.navigation {
	display: block;
	text-align: center;
	margin-top: 20px;
	margin-bottom:30px;
}


/* Captions 
---------------------------------------------------*/
.aligncenter, div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.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;
}
.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;
}

.new_pagination {
	text-align:center
}
a.page {
	color:#f60
}

.crop-img {
	position: relative;
	padding-left: 276px;
	margin-left: -276px;
}
#create-group-form .crop-img {
	padding-left: 476px !important;
	margin-left: -476px !important;	
}
#breadcrumb{
	position:relative;
	float:left;
}
#breadcrumb a{
	display:inline!important;
	float:none;
}

#domolink_team,
#domolink_team li{
	list-style:none;
	margin:0;
	padding:0;
}

#domolink_team{
	width: 670px;
	float: left;
}

#domolink_team li{
	width: 670px;
	float: left;
	position: relative;
}

#domolink_team li .content{
	width: 670px;
	float: left;
	position: relative;
}

#domolink_team .marker{
	position: absolute;
	z-index: 800;
	cursor: hand;
}

#domolink_team .marker img{
	margin: 0;
	float: left;
}

#domolink_team .marker span{
	display: none;
}

#domolink_team .popup2{
	width: 200px;
	position: absolute;
	display: none;
	padding: 10px;
	color: #000000;
	line-height: 1.6em;
	z-index: 1000;
	text-align: left;
	border: 2px dotted #AAC248;
	color: #000000;
	background: #C5D984;
}

.userprofile {
	display:block;
	float:left;
	width:280px;
/*	border:1px solid black;*/
	margin-right:5px;
	margin-bottom:10px;
}
.userprofile a{
	display:block;
	float:left;
}
.userprofile dt,
.userprofile dd{
	margin-left: 171px;
}
.userprofile dt{
	font-weight:bold;
}
.userprofile dd{
	margin-bottom:5px;
}