/*
Theme Name: Доктор Бро
Theme URI: http://doktorbro.net/
Description: Шаблон сайта Доктора Бро
Author: Доктор Бро
Author URI: http://doktorbro.net/
Version: 3.0
.
	• Шрифт «20 децибел» Джованни Лемонада http://jovanny.ru/ используется с письменным разрешением автора.
	• На сайте используются приёмы Джона Тэна http://jontangerine.com/ на правах Авторского совладения http://creativecommons.org/licenses/by-sa/3.0/de/
	• Всё оформление сайта находится под лицензией Авторского совладения http://creativecommons.org/licenses/by-sa/3.0/de/
.
*/

/* Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	clear: both;
}

ol, ul {
	list-style: none;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img { border: none; }



/*
LAYOUT: Two columns
DESCRIPTION: Two-column fixed layout with one sidebar right of content
*/

#content {
	margin: 0;
}

#footer {
	clear: both;
	width: 100%;
}

/*
LAYOUT: One column, no sidebar
DESCRIPTION: One centered column with no sidebar
*/

.one-column #content {
	margin: 0 auto;
	width: 640px;
}

/*
LAYOUT: Full width, no sidebar
DESCRIPTION: Full width content with no sidebar; used for attachment pages
*/

.single-attachment #content {
	margin: 0 auto;
	width: 900px;
}


/* =Шрифты
-------------------------------------------------------------- */

@font-face {
	font-family: "Liberation Serif";
	src: local("Liberation Serif"), url(fonts/LiberationSerif-Regular.ttf) format("truetype");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "Liberation Serif";
	src: local("Liberation Serif Bold"), url(fonts/LiberationSerif-Bold.ttf) format("truetype");
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: "Liberation Serif";
	src: local("Liberation Serif Italic"), url(fonts/LiberationSerif-Italic.ttf) format("truetype");
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: "Liberation Serif";
	src: local("Liberation Serif Bold Italic"), url(fonts/LiberationSerif-BoldItalic.ttf) format("truetype");
	font-weight: bold;
	font-style: italic;
}

@font-face {
	font-family: "DejaVu Sans";
	src: local("DejaVu Sans"), url(fonts/DejaVuSans.ttf) format("truetype");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "20db";
	src: url(fonts/20db.otf) format("opentype");
}

body, input {
	font-family: "Liberation Serif", Cambria, Times, serif;
}

pre {
	font-family: "Courier 10 Pitch", Courier, monospace;
}
code {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

#menu-item-home abbr {
	font-family: "20db", "Impact", sans-serif;
}


/* =Структура
-------------------------------------------------------------- */

/* The main theme structure */
#wrapper {
	margin: 0 auto;
	min-width: 960px;
	padding: 0;
	width: 60em;
	background: #fff;
}

.content-left,
.archive .tag-description,
.page .tag-cloud {
	float: left;
	padding: 0;
	width: 12em;
}

.content-right,
.page .feed-list,
.archive .feed-list,
.tag .tag-cloud {
	float: right;
	padding: 0;
	width: 12em;
}

.content-center,
.page .archive-timeline,
.archive .archive-timeline,
.blog .archive-timeline {
	float: none;
	padding: 0;
	margin: 0 15em;
}

/* =Global Elements
-------------------------------------------------------------- */

/* Main global 'theme' and typographic styles  */
body {
	background: #fff;
	margin: 0;
	padding: 0;
	text-align: left;
}

body,
input,
textarea {
	color: #000;
	font-size: 1em;
	line-height: 1.5em;
}

/* Заголовки */
h1 {
	border-color: #333;
	border-style: solid;
	border-width: 0.04em 0;
	clear: left;
	font-size: 3em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.25em;
	margin: 0 0 0.5em 0;
	padding: 0.75em 0 1em 0;
}

.single h1 {
	text-align: center;
}

h2 {
	font-size: 1.5em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.25em;
	margin: 0 0 1em 0;
	padding: 0;
}

h1 abbr, h2 abbr, h3 abbr {
	border: none;
}

/* Текст */

p {
	margin: 0 0 1.5em 0;
}

ul {
	list-style: square outside none;
	margin: 0 2em 1.5em 2em;
}

ol {
	list-style: decimal outside;
	margin: 0 2em 1.5em 2em;
}

ol ol {
	list-style: upper-alpha;
}

ol ol ol {
	list-style: lower-roman;
}

ol ol ol ol {
	list-style: lower-alpha;
}

ul ul,
ol ol,
ul ol,
ol ul {
	margin-bottom: 0;
}

dl {
	margin: 0 0 1.5em 0;
}

dt {
	color: #999;
	font-size: smaller;
	font-weight: normal;
	margin: 0;
	padding: 0;
}

dd {
	margin: 0;
}

dl abbr {
	border: none;
}

strong {
	font-weight: bold;
}

cite, q {
	font-style: normal;
}

cite:before,
q:before {
	content: "«";
}

cite:after,
q:after {
	content: "»";
}

em, i {
	font-style: italic;
}

big {
	font-size: 131.25%;
}

ins {
	background: #ffc;
	text-decoration: none;
}

blockquote {
	font-style: italic;
	margin: 0 2em 1.5em 2em;
	padding: 0;
}

blockquote cite,
blockquote em,
blockquote i {
	font-style: normal;
}

pre {
	background: #f7f7f7;
	color: #222;
	line-height: 18px;
	margin-bottom: 18px;
	padding: 1.5em;
}
abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

sup,
sub {
	height: 0;
	line-height: 1;
	vertical-align: baseline;
	position: relative;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
input[type="text"],
textarea {
	padding: 2px;
	background: #f9f9f9;
	border: 1px solid #ccc;
	box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	-moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
}
a {
	text-decoration: none; 
	border-bottom-style: solid;
	border-bottom-width: 0.1em;
}

a:link {
	border-color: #ccc;
	color: #161664;
}

a:visited {
	border-color: #ccc;
	color: #802766;
}

a:hover {
	border-color: #666;
}


/* Text meant only for screen readers */
.screen-reader-text {
	position: absolute;
	left: -9000px;
}



/* =Шапка
-------------------------------------------------------------- */

#header {
	margin: 0;
	padding: 0;
}


/* =Меню
-------------------------------------------------------------- */

#access {
	background: #000;
	line-height: 1.5em;
	margin: 2em 0;
	padding: 0;
	text-align: left;
}

#access ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#access ul:first-child:after {
	content: "\A0";
}

#access ul li {
	display: inline;
	margin: 0;
	padding: 0;
}

#access li a, #menu-item-home a {
	background: #000;
	border-color: #fff;
	border-style: solid;
	border-width: 0 0.1em 0 0;
	float: left;
	font-size: 0.75em;
	font-weight: bold;
	letter-spacing: 0.25em;
	padding: 0 1em;
	text-transform: uppercase;
}

#access li a:link, #access li a:visited,
#menu-item-home a:link, #menu-item-home a:visited {
	color: #999;
	text-decoration: none;
}

#access li a:hover, #menu-item-home a:hover {
	color: #fff;
	text-decoration: none;
}

#access div.home > a,
#access ul li.current_page_item > a,
#access ul li.current-menu-ancestor > a,
#access ul li.current-menu-item > a,
#access ul li.current-menu-parent > a {
	color: #fff;
}


* html #access ul li.current_page_item a,
* html #access ul li.current-menu-ancestor a,
* html #access ul li.current-menu-item a,
* html #access ul li.current-menu-parent a,
* html #access ul li a:hover {
	color:#fff;
}


#menu-item-home a {
	border: none;
	float: left;
	padding: 0;
	text-align: right;
	width: 20em;
}

#menu-item-home a span {
	padding: 0 1em 0 0;
	text-align: right;
}

#menu-item-home a abbr {
	background: #fff;
	border: none;
	color: #000;
	float: right;
	font-size: 1.333em;
	font-weight: normal;
	letter-spacing: 0;
	margin: 0;
	padding: 0;
	text-align: center;
	width: 3em;
}



/* = Плакат
-------------------------------------------------------------- */

h1.banner {
	background-color: #fff;
	background-position: left top;
	background-repeat: no-repeat;
	border: none;
	margin: 0;
	padding: 0.1em 0 2em 0;
}

h1.banner em, h1.banner i {
	background: #fff none;
	display: inline;
	opacity: 0.8;
}



/* = Колонки
-------------------------------------------------------------- */

.content-left h2,
.content-right h2,
.content-center h2,
.archive-timeline h2 {
	clear: none;
}

.content-left ul,
.content-right ul {
	list-style-position: inside;
	margin: 0;
}

#main {
	border-bottom: 0.2em solid #000;
}

.blog h2, .page h2, .archive h2 {
	border-bottom: 0.1em solid #ddd;
	color: #777;
	font-size: 1em;
	font-style: normal;
	font-weight: normal;
	line-height: 1.0em;
	margin: 0 0 1em 0;
	text-align: left;
}



/* = Анонсы на главной, в блокноте, в поиске и архивах
-------------------------------------------------------------- */
.archive-timeline .post {
	border-bottom: 0.1em solid #ddd;
	margin-bottom: 1.5em;
}

.archive-timeline .post h3 {
	clear: none;
	color: #000;
	font-size: 1em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.5em;
	margin: 0;
	padding: 0;
}



/* = Главная
-------------------------------------------------------------- */

h1.home {
	border: none;
	background: url(images/banner-home-960x320.jpg) no-repeat top left #fff;
	margin: 0;
	padding: 0.1em 0 2em 0;
}

.home h2 {
	border-bottom: 0.1em solid #ddd;
	color: #777;
	font-size: 1em;
	font-style: normal;
	font-weight: normal;
	line-height: 1.0em;
	margin: 0 0 1em 0;
}

h1 em {
	background:  #fff;
	display: inline;
	opacity: 0.8;
}

.home h2, .home h3 {
	clear: none;
}


.home .post {
	border-bottom: 0.1em solid #ddd;
	margin-bottom: 1.5em;
}

.home .post h3 {
	color: #000;
	font-size: 1em;
	font-style: normal;
	font-weight: bold;
	line-height: 1.5em;
	margin: 0;
	padding: 0;
}


.home #main .content-left p:first-letter {
	float: left;
	font-family: "DejaVu Sans", Geneva, Arial, sans-serif;
	font-size: 3.55em;
	height: 0.75em;
	line-height: 0.75em;
	margin: 0 0.1em 0 0;
}


/* = Связь
-------------------------------------------------------------- */
.svyaz h1 {
	background-image: url(images/banner-svyaz-960x320.jpg);
}


/* = Блокнот
-------------------------------------------------------------- */
.bloknot h1 {
	background-image: url(images/banner-bloknot-960x320.jpg);
}

.bloknot h2, .bloknot h3 {
	clear: none;
}

.bloknot .feed-list ul {
	list-style-position: inside;
	margin: 0;
}

.bloknot .tag-cloud ul {
	list-style: none;
	margin: 0;
	text-align: center;
}

.bloknot .tag-cloud ul li {
	display: inline;
	margin: 0 0.5em;
}


/* = Архив
-------------------------------------------------------------- */
.archive .feed-list ul {
	list-style-position: inside;
	margin: 0;
}

.archive h1 {
	border: none;
	margin: 0;
}


/* = Метка
-------------------------------------------------------------- */
.tag .tag-cloud ul {
	list-style: none;
	margin: 0;
	text-align: center;
}

.tag .tag-cloud ul li {
	display: inline;
	margin: 0 0.5em;
}


/* = Запись
-------------------------------------------------------------- */

.single .post .content-left, .single .post .content-right {
	border-bottom: 0.1em solid #999;
	font-style: italic;
}

.single .post .content-left {
	text-align: right;
}

.single .post .content-center p:first-letter {
	float: left;
	font-family: "DejaVu Sans", Geneva, Arial, sans-serif;
	font-size: 3.55em;
	height: 0.75em;
	line-height: 0.75em;
	margin: 0 0.1em 0 0;
}

.single .post .content-center * + p:first-letter, .single .post .content-center blockquote p:first-letter {
	float: none;
	font-family: "Liberation Serif", Cambria, Times, serif;
	font-size: 1em;
	height: 1.5em;
	line-height: 1.5em;
	margin: 0;
}


/* = Страница
-------------------------------------------------------------- */


.page .entry-note {
	float: left;
	padding: 0;
	width: 12em;
}

.page .entry-date {
	float: right;
	padding: 0;
	width: 12em;
}

.page .entry-content {
	float: none;
	padding: 0;
	margin: 0 15em;
}


.page .entry-note, .page .entry-date {
	border-bottom: 0.1em solid #999;
	font-style: italic;
}

.page .entry-note {
	text-align: right;
}


.page .entry-content p:first-letter {
	float: left;
	font-family: "DejaVu Sans", Geneva, Arial, sans-serif;
	font-size: 3.55em;
	height: 0.75em;
	line-height: 0.75em;
	margin: 0 0.1em 0 0;
}

.page .entry-content * + p:first-letter, .page .entry-content blockquote p:first-letter {
	float: none;
	font-family: "Liberation Serif", Cambria, Times, serif;
	font-size: 1em;
	height: 1.5em;
	line-height: 1.5em;
	margin: 0;
}


/* = Информация о статье, например число
-------------------------------------------------------------- */
.entry-meta {
	color: #bbb;
	font-size: smaller;
	margin: 0 0 1em 0;
}

.entry-meta ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.entry-meta ul li {
	display: inline;
	margin: 0 1em 0 0;
	padding: 0;
}


/* Навигация
-------------------------------------------------------------- */
.post-navigation {
				border-top: 0.2em solid #000;
				clear: both;
				margin: 1.5em 0;
				padding-top: 1.5em;
				text-align: center;
}

.post-navigation ul {
				list-style: none;
}

.post-navigation ul li {
				display: inline;
}
/*
.post-navigation ul li + li:before {
				content: "\25AA";
}
*/

.post-navigation ul li + li:before {
				content: "\25AA\A0";
}

/* Gallery listing
-------------------------------------------------------------- */

.category-gallery {
	margin-bottom: 48px;
}
.category-gallery h2 {
	margin-top: 10px;
}
.category-gallery .entry-meta {
}
.category-gallery .size-thumbnail img {
	border: 10px solid #f1f1f1;
	margin-bottom: 0;
}
.category-gallery .gallery-thumb {
	float: left;
	margin-right:20px;
	margin-top: -4px;
}
.home #content .category-gallery .entry-content p {
	display: inline;
}
.home #content .category-gallery .entry-utility {
	padding-top:4px;
}


/* Attachment pages
-------------------------------------------------------------- */

.entry-content .attachment img {
	margin-bottom: 0;
}
.attachment .entry-content .entry-caption {
	font-size: 140%;
	margin-top: 24px;
}
.attachment .entry-content .nav-previous a:before {
	content: '\2190\00a0';
}
.attachment .entry-content .nav-next a:after {
	content: '\00a0\2192';
}



/* Images
-------------------------------------------------------------- */

#content img {
	margin: 0;
	max-width: 640px;
}
.single-attachment #content img {
	max-width: 900px;
}
#content .alignleft,
#content img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
#content .alignright,
#content img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
#content .aligncenter,
#content img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
#content img.alignleft, 
#content img.alignright, 
#content img.aligncenter {
	margin-bottom: 12px;
}
#content .wp-caption {
	background: #fff;
	color: #000;
	text-align: left;
	margin-bottom: 1.5em;
	width: 45em;
}
#content .wp-caption img {
	border: none;
	float: left;
	margin: 0 3em 1.5em 0;
}
#content .wp-caption p.wp-caption-text {
	font-size: 0.75em;
	line-height: 1.5em;
	margin: 0;
}
#content .wp-smiley {
	margin:0;
}
#content .gallery {
	margin: auto;
}
#content .gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
#content .gallery img {
	border: 2px solid #cfcfcf;
}
#content .gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
#content .gallery dl {
	margin: 0;
}
#content .gallery img {
	border: 10px solid #f1f1f1;
}
#content .gallery br+br {
	display: none;
}



/* =Сноски
-------------------------------------------------------------- */

#footer {
	border-top: 0.1em solid #000;
	clear: both;
	margin: 0.1em 0 0 0;
	padding: 1em 0 0 0;
	text-align: left;
}

#footer .content-left {
	text-align: right;
}

#footer p, #footer ul, #footer form {
	font-size: 0.75em;
	line-height: 1.5em;
}

#footer input {
	
	font-style: italic;
}

#administration {
	clear: none;
}

#administration ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#administration ul li {
	list-style: none;
	display: inline;
	margin: 0;
	padding: 0;
}

#administration ul li a {
	border: none;
	color: #000;
	text-decoration: none;
}



/* Mobile Safari ( iPad, iPhone and iPod Touch )
-------------------------------------------------------------- */

pre {
	-webkit-text-size-adjust: 140%;
}
code {
	-webkit-text-size-adjust: 160%;
}
#access,
.entry-meta,
.entry-utility,
.navigation,
.widget-area {
	-webkit-text-size-adjust: 120%;
}
#site-description {
	-webkit-text-size-adjust: none;
}


