@font-face {
	font-family:'Meta';
	src:local('MetaMediumCyr-Roman'),
	/* url(../f/cuprum.woff) format('woff'), */
	url(meta.otf) format('opentype');
}

html{ height: 100%; }
body{ font-family: Trebuchet MS, Arial; font-size: 14px; line-height: 20px; color: #333; margin: 0px; background-color: #474d54; height: 100%;}







/* links */

a:link { color: #3f659a; }
a:visited { color: #687484; }
a:hover { color: #b74c37; }
a:active { color: #495170; }

a.secondary:link { color: #718dc2; }
a.secondary:visited { color: #999999; }
a.secondary:hover { color: #495170; }
a.secondary:active { color: #495170; }

div.rating{font-weight: bold;}
div.rating a{text-decoration: none; font-size: 1.3em;}
div.rating span{color: #476996;}
div.rating .negative{color: #d25d5d;}
div.rating .positive{color: #a8ff4d;}

/* layout */

#header { width: 965px; margin: 0px auto; height: 230px; }
#wrap { width: 965px; margin: 0px auto; min-height: 100%; display: table; }
#wrap div.container { display: table-row; }
#wrap:after { content: " "; height: 0px; width: 100%; display: block; clear: left;}
#primary, #secondary{ display: table-cell; vertical-align: top; margin: 0px; padding: 1px; border: none; }
#primary { width: 715px; background-color: #FFF; -moz-border-radius: 5px 0px 0px 5px; -o-border-radius: 5px 0px 0px 5px; -webkit-border-radius: 5px 0px 0px 5px; }
#secondary { width: 250px; height: 100%; background-color: #7d838b; -moz-border-radius: 0px 5px 5px 0px; -o-border-radius: 0px 5px 5px 0px; -webkit-border-radius: 0px 5px 5px 0px;}

#footer { width: 965px; margin: 0px auto; }

/* тулбар */
#header div.toolbar { width: 965px; background-color: rgba(37, 41, 47, 0.9); height: 40px; -moz-border-radius: 0px 0px 5px 5px; -o-border-radius: 5px; -webkit-border-radius: 0 0 5px 5px; position: fixed; top: 0px; z-index: 10;}
#header div.toolbar-shade { width: 965px; background: url(/images/toolbar-shade.png) repeat-x left top; height: 90px; position: fixed; top: 0px; z-index: 9; display: none; }
#header div.toolbar ul { display: block; list-style-type: none;  margin: 0px; padding: 10px 15px; font-size: 0.9em;}
#header div.toolbar ul.navigation { float: left;}
#header div.toolbar ul.usermenu { text-align: right; }
#header div.toolbar ul li { display: inline; padding: 0px 10px;}
#header div.toolbar ul li a:link { color: #FFF; text-shadow: #16191d -1px -1px; text-decoration: none;}
#header div.toolbar ul li a:visited { color: #FFF; text-shadow: #16191d -1px -1px; text-decoration: none;}
#header div.toolbar ul li a:hover { color: #f1d9a6; text-shadow: #16191d -1px -1px; text-decoration: none;}
#header div.toolbar ul li a:link { color: #FFF; text-shadow: #16191d -1px -1px; text-decoration: none;}



/* посты */

ul.posts { list-style-type: none; margin: 0.5em 0px; padding: 0px; width: 700px;}
ul.posts li { border-bottom: 1px solid #E5E5E5; padding: 25px 0px 20px; margin: 0px 0px 0px 15px; }
ul.posts li:last-child { border: none;}
ul.posts li div.post-type, ul.posts li div.post-date, ul.posts li div.post-author, ul.posts li div.post-comments, ul.posts li div.post-favorited { float: left; clear: left; text-align: right; width: 110px; font-size: 0.8em; color: #999; }

/* типы */
ul.posts li div.post-type a { background: url(/images/post-type-icon-photo.png) no-repeat right 2px; -moz-border-radius: 3px; -o-border-radius: 3px; -webkit-border-radius: 3px; padding: 3px 22px 3px 5px; }
ul.posts li div.post-type a span.label { display: none; }
ul.posts li div.post-type a.selected { background-position: right -38px;  }
ul.posts li div.post-type a:hover { background-position: right -18px; background-color: #e4711c; color: #FFF; text-decoration: none;}
ul.posts li div.post-type a:active span.label { display: none; }
ul.posts li div.post-type a.selected:hover { background-position: right -58px; background-color: #e4711c; color: #FFF; text-decoration: none;}

ul.posts li div.post-type a:hover span.label {display: inline; }


ul.posts li.event div.post-type a { background-image: url(/images/post-type-icon-event.png); }

/* дата и автор */
ul.posts li div.post-date {margin: 0.7em 0px 0px 0px; line-height: 1.4em; }
ul.posts li div.post-author { line-height: 1.4em;}
ul.posts li div.post-author a:link { padding: 0px 0px 4px 16px; background: url(/images/icon-plain-user.png) no-repeat left top; color: #999999; }
ul.posts li div.post-author a:visited { color: #999999; }
ul.posts li div.post-author a:hover { color: #495170; }
ul.posts li div.post-author a:active { color: #495170; }

/* комменты и избранное */
ul.posts li div.post-comments a, ul.posts li div.post-favorited a { background: url(/images/post-comments-icon.png) no-repeat 4px center; border: 1px solid #DDD; text-decoration: none; color: #999; padding: 3px 6px 3px 23px; -moz-border-radius: 10px; -o-border-radius: 10px; -webkit-border-radius: 10px; line-height: 2.1em; }
ul.posts li div.post-comments a:hover, ul.posts li div.post-favorited a:hover { background-color: #EBEBEB; }
ul.posts li div.post-favorited a { background: url(/images/post-favorites-icon.png) no-repeat 4px center; }

/* заголовок и контент */
ul.posts li h2, ul.posts li div.post-entry, ul.posts li div.post-where { margin-left: 140px; width: 550px }

ul.posts li div.post-where { font-size: 0.85em; color: #999; }
ul.posts li div.post-where a:link { color: #718dc2; }
ul.posts li div.post-where a:visited { color: #999999; }
ul.posts li div.post-where a:hover { color: #495170; }
ul.posts li div.post-where a:active { color: #495170; }

ul.posts li h2 { font-family: Meta, Trebuchet MS, Arial; margin: 0.3em 0px 0px 140px; width: 70%; font-size: 1.9em; line-height: 1.2em; font-weight: normal;}
ul.posts li h2 a:link {color: #333; text-decoration: none;}
ul.posts li h2 a:visited {color: #666; text-decoration: none;}
ul.posts li h2 a:hover, ul.posts li h2 a:active  {color: #e4711c; text-decoration: underline;}

div.more-posts {
	width: 685px;
	margin: 0px 0px;
	text-align: center;
	padding: 15px;
        display: none;
}

div.more-posts a:link, div.more-posts a:visited{
	width: 100%;
	display: block;
	background-color: #b4bbc2;
	text-align: center;
	padding: 15px 0px;
	-moz-border-radius: 3px; -o-border-radius: 3px; -webkit-border-radius: 3px; 
	color: #FFF;
	font-size: 1.5em;
	text-decoration: none;
}
div.more-posts a:hover {background-color: #7f8891;}

/* фото контент */

ul.posts li div.post-entry div.photo { margin: 0.8em 0px 0.8em -2px;}
ul.posts li div.post-entry div.photo img { padding: 2px; border: 1px solid #E5E5E5; line-height: 0em; -moz-border-radius: 3px; -o-border-radius: 3px; -webkit-border-radius: 3px; }
ul.posts li div.post-entry div.photo a:hover img { background-color: #e19047; border-color: #e19047; }

#wrap #primary div.big_photo{padding: 15px; text-align: center;}

#wrap #primary ul.photos{list-style: none; float: left; width: 100%; clear: both;}
#wrap #primary ul.photos li{float: left; margin: 5px; width: 150px; height: 150px; text-align: center;}

/* Комментарии */
#wrap #primary ul.comments{padding: 0; list-style: none;}
#wrap #primary ul.comments li{padding-left: 20px; }
#wrap #primary ul.comments li div.head{background: #ccc; height: 90px;}
#wrap #primary ul.comments li div.head div.avatar{width: 90px; float: left;}
#wrap #primary ul.comments li div.comment-entry{padding: 10px 0;}

/* Pager */
div.pager{text-align: center;}
div.pager a{display: inline-block; padding: 5px;}
div.pager a.selected{background: #e0e0de; text-decoration: none;}

#footer { font-size: 0.9em; margin: 20px auto;}
#footer div.links { -moz-border-radius: 5px; -o-border-radius: 5px; -webkit-border-radius: 5px; background-color: #d3d8dd; padding: 15px 35px; }
#footer div.links div.link-block { display: inline-block; vertical-align: top; margin-right: 40px;}
#footer div.links div.link-block h4 { margin: 0.5em 0px 1em; line-height: 1.5em;}
#footer div.links div.link-block ul { margin: 0.5em 0px; line-height: 1.5em; color: #656f79;}
#footer div.links div.link-block ul { list-style-position: outside; padding-left: 1.3em;}