/*
Theme Name: Шаблон ДК общий - Terra SP theme
Template: terra-sp
Theme URI: http://terra.spb.ru
Author: the Terra team
Author URI: http://terra.spb.ru
Description: Всем респект, пацаны, ёба!
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:
Text Domain: twentytwelve

This theme, like WordPress, is licensed under the GPL. - ?!!! O Rly?
*/

/* Элементы форм
-------------------------------------------------------------- */
.button, button, input, textarea, select {
	padding:6px 10px;
	font-family:inherit; font-size:14px;
	border:1px solid #ccc; border-radius:3px;
}
.button, button, input, select{ line-height:normal; }
textarea { font-size:100%; overflow:auto; vertical-align:top; }
input[type="checkbox"], input[type="radio"], input[type="file"], input[type="hidden"], input[type="image"], input[type="color"] { border:0; border-radius:0; padding:0; } /* Сброс НЕ текстовых инпутов */
input[type="submit"], input[type="button"], input[type="reset"] {
	padding: 6px 10px 5px;
	font-size: 12px;
	color: #7c7c7c;
	background-color: #f0f0f0;
	border: 1px solid #d2d2d2; border-radius: 3px;
}
.button, button, input[type="submit"], input[type="button"], input[type="reset"] {
	padding:10px 15px;
	cursor:pointer;
	background: #18384f;
	color:#e0e0e0; text-shadow:0 1px 0 #081520;
	border: 1px solid #081520; border-radius:3px;
	font-size:14px;
}
.button{ text-decoration:none }
button[disabled], input[disabled] { cursor:default; }
.button:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover, input[type="reset"]:hover { color:#fff; background:#167f4a; }
.button:active, button:active, input[type="submit"]:active, input[type="button"]:active, input[type="reset"]:active { color:#fff; backgroundr:#167f4a; }

/* Форма поиска
-------------------------------------------------------------- */
#searchform{ padding:7px 0;}
#searchform label{ display:none}
#searchform #s{ width:200px}

/* Картинки и мультимедиа
-------------------------------------------------------------- */
.entry-content img, .comment-content img { max-width:100%; } /* Масштабируемые картинки для сайта */
img[class*="align"], img[class*="wp-image-"], img[class*="attachment-"] { height:auto; }
img.size-full, img.size-large, img.header-image, img.wp-post-image { max-width:100%; height:auto; }
embed, iframe, object, video { max-width:100%; } /* Явное растяжение контейнеров для медиавключений */
.entry-content .twitter-tweet-rendered { max-width:100% !important; } /* Перписывает включение блока твитов фиксированной величины */
.entry-content img, .comment-content img, .widget img, img.header-image, .author-avatar img, img.wp-post-image { /* border-radius: 3px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); */} /* Картинки на всём сайте */

/* Родная галлерея ВП
--------------------------------------------------------------
.wp-caption { max-width: 100%; } .wp-caption .wp-caption-text, .gallery-caption, .entry-caption { font-style: italic; font-size: 12px; color: #757575; }
img.wp-smiley, .rsswidget img {	border: 0; border-radius: 0; box-shadow: none; margin-bottom: 0; margin-top: 0; padding: 0; }
.entry-content dl.gallery-item { margin: 0; } .gallery-item a, .gallery-caption { width: 90%; } .gallery-item a { display: block; } .gallery-caption a { display: inline; }
.gallery-columns-1 .gallery-item a { max-width: 100%; width: auto; } .gallery .gallery-icon img { height: auto; max-width: 90%; padding: 5%; } .gallery-columns-1 .gallery-icon img { padding: 3%; } */

/* Профиль автора - !!! Не пользуем
--------------------------------------------------------------
.author .archive-header { margin-bottom: 24px; } .author-info { border-top: 1px solid #ededed; margin: 24px 0; padding-top: 24px; overflow: hidden; } .author-description p {	color: #757575;	font-size: 13px;}
.author.archive .author-info { border-top: 0; margin: 0 0 48px; } .author.archive .author-avatar { margin-top: 0; } */



/*
--bookmark-- Структура
-------------------------------------------------------------- */
html {	font-size: 87.5%; /* Базовый размер шрифта 14px ( 100% = 16px )*/ }
body {
	font-size: 14px; font-size: 1rem;
	font-family: Helvetica, Arial, sans-serif;
	text-rendering: optimizeLegibility;
	color: #444;
	background: #fff;
}
.site { 
	width: 960px;
	margin: 0 auto;
	background:#f9f9f9;
	box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
}
a { color:#3D3D3D; } a:hover  { color:#c30; } a:active { /*outline-color:#999*/ } a:visited{ }
h1, h2, h3, h4, h5, h6 { /*font-family: Georgia, "Times New Roman", Times, serif;*/ }
h1, h2, h3, h4, h5, h6, p, li, a { font-weight:normal; line-height:1em }


.home div #main {background: #0a340b; padding-bottom: 25px; }

/*
--bookmark--  Хедер сайта
-------------------------------------------------------------- */
.site-header {
	margin:0; padding:5px 10px;
	background:url(img/bg-header.jpg) center top no-repeat;
  	background-size: 100%;
	color:#000; width: 940px; height: 163px;
}

.site-header a { color:#0a340b; text-decoration:none; }
.site-header a:hover { color:#0a340b; text-decoration:none; }
	
.site-header .arms-block			{ float:left; margin: -10px 0 0 0px; }
.site-header .arms-block a			{ width:110px; height:104px; display:block; overflow:hidden }
.site-header .arms-block img		{ width:110px; height:auto; }
.site-header .arms-block img:hover  {  }

.site-header .title-block {float:right; width:350px; margin-left:0px; line-height: normal; font-size: 16px; color:#0a340b; }
.site-header #tb1 .title-block {float:left; width:450px; margin-left:0px; line-height:1.6em; }

#tb1 .site-title { display: none; }

.site-header .site-title { float: left; text-align: center; width: 330px; margin-top: 29px; }
.site-header .site-description.region,
.site-header .site-description.subregion { float: left; text-align: center; width: 330px; }
.site-header .site-description.offsite { width: 350px; font-size:16px;float: right; margin-top: 28px; text-align: center; color: #0a340b; line-height: normal; }
.site-header .site-description.offsite span { font-size: 36px; }
.site-description.subregion { float: left; text-align: center; width: 330px; }
	
.site-header .nav-block { float: right; margin-right: 33px; width:340px; font-size: 14px;
  text-align:right; margin-bottom:10px; margin-top: -2px; }
.site-header .nav-block a { padding:6px 12px; color: #fff; font-weight: normal; text-shadow: none; }
.site-header .nav-block a:hover { color: #ff2a15; }
/*
.site-header .nav-block a { display:inline-block; width:32px; height:16px; overflow:hidden; }
.site-header .nav-block a img{ margin:0 auto; display:block; }
.site-header .nav-block a:hover img{ margin-top:-16px; }
*/

.site-header .address-block { line-height: 1.3em; font-size: 14px; color: #edf8a1; margin-top: 5px; }
.site-header .address-block .address { float: left; }
.site-header .address-block .phone { float: right; }

.site-header .date-block { float:right; width:320px; text-align:right; outline:1px dotted #c3c }
.site-header .date-block .time{ display:none }
.site-header .date-block .date{ font-size:18px; }


/*
--bookmark--  Версия для слабовидящих
-------------------------------------------------------------- */
#blind-version-bar{ position:absolute; width:160px; top:234px; left:50%; margin-left: -100px; height:0px; padding:0; background:#039; z-index:2000}
#blind-version-bar form{ /*width:auto;*/ }
#blind-version-bar input{
	margin:0; border:none; border-radius:0; background:none; text-shadow:none;
	padding:4px;
	position:absolute; top: 26px; left:175px;
	font-size:14px; text-decoration:none;
	color:#353535;
}
#blind-version-bar input:hover{ text-decoration:none; color: #ff2a15; }


	
/* Мелкий хедер сверху страницы
-------------------------------------------------------------- */
#page-header-light-wrapper{	position:fixed; top:0; left:0; z-index:999; width:100%; padding:0; display:none; background: #167f4a; }
.admin-bar #page-header-light-wrapper{ top:26px; }
#page-header-light{ width:940px; margin:0 auto;}

#page-header-light .arms-block{ float:left; padding:5px 0 0 }
#page-header-light .arms-block a{ width:30px; height:40px; display:block; overflow:hidden; }
#page-header-light .arms-block img { width:30px; height:auto; }
#page-header-light .arms-block img:hover { }
/*
#page-header-light #searchform{ float:right; }
*/
#page-header-light .main-navigation {}
#page-header-light .main-navigation li { float:left }
#page-header-light .main-navigation a { display:block; font-size:18px; padding:15px 20px; color:#f0f0f0; text-decoration:underline; }
#page-header-light .main-navigation a:hover { color:#fff; text-decoration:none; }


/* 
--bookmark--   Главная навигация
-------------------------------------------------------------- */
#menu-and-message{ padding:0 0; min-height:30px; margin: -35px 0 5px; }

#main-navigation { /*width:640px;*/ text-align:center; }
#main-navigation li { display:inline-block; }
#main-navigation a { font-size:18px; padding: 5px 10px; border-right: 1px solid #88a163; margin: 0; display:block; color:#edf8a1; text-decoration:none; }
#main-navigation li:last-child a { border: none; }
#main-navigation a:hover { color:#ff2a15; text-decoration:none; }

/*#main-search { width:280px; float:right; }*/



/*
--bookmark--  Футер сайта 
-------------------------------------------------------------- */
.site-footer{
	margin:0; padding: 0px;
	background: #fff; position: relative;
	font-size:12px; line-height:1.4em;
	color:#353535; text-align: center;
}
.site-footer a { color:#353535; text-decoration:underline; }
.site-footer a:hover { color:#353535; text-decoration:none; }

.site-footer .arms-block { margin: 0 auto; width:50px; }
.site-footer .arms-block a { width:50px; display:block; overflow:hidden; }
.site-footer .arms-block img	{ width:50px; height:auto; }
.site-footer .arms-block img:hover{ }

.site-footer .nav-block { margin: 15px 150px 15px 0; }
.site-footer .nav-block a { padding: 3px 10px; }

.site-footer .site-info-block{  }
.site-footer .site-info-block .site-title{ display: none; }

.site-footer .developer-info-block{ }
			 
.site-footer .developer-info-block .meta-block{ margin-bottom:10px}
.site-footer .developer-info-block .developer-name{ font-size:14px;}




/* 
--bookmark--   Центральный блок
-------------------------------------------------------------- */

.site-content{ margin:24px 40px}

.site-content article {
	margin:0 0 24px; padding:0;
	border-bottom:1px dotted #ccc
}




/* Блок заголовка поста
-------------------------------------------------------------- */
.entry-header { margin-bottom:0; }
.entry-header h1.entry-title { font-size:22px; margin-bottom:10px; }
.entry-header h2.entry-title { font-size:18px; margin-bottom:24px; }
.entry-header h3.entry-title { font-size:16px; margin-bottom:10px; }
.entry-header h3.entry-title a{ text-decoration:none; border-bottom:1px solid #e0e5f0 }
.entry-header h3.entry-title a:hover{ border-bottom:none }
.entry-header .entry-title a {} .entry-header .entry-format {} .entry-header .comments-link {}

/* Хлебные крошки
-------------------------------------------------------------- */
.pttm-breadcrumbs { font-size:12px; color:#999; margin-bottom:24px; }
.pttm-breadcrumbs a {} .pttm-breadcrumbs a:hover {}

/* Метаданные поста
-------------------------------------------------------------- */
footer.entry-meta{ display:none }

.entry-meta{ margin:0 0 24px; font-size:12px; color:#999;}
.comments-link a, .entry-meta a {} .comments-link a:hover, .entry-meta a:hover {}
article.sticky .featured-post {} /* Приклеенные посты */

/* Элементы контента
-------------------------------------------------------------- */
.entry-content, .entry-summary{}

/* Заголовки в контенте + Заголовки комментариев, чтоб одинаково было
-------------------------------------------------------------- */
.entry-content h1, .comment-content h1,
.entry-content h2, .comment-content h2,
.entry-content h3, .comment-content h3,
.entry-content h4, .comment-content h4,
.entry-content h5, .comment-content h5,
.entry-content h6, .comment-content h6 { line-height:1.5em; margin: 0 0 1.5em; }
.entry-content h1, .comment-content h1 { font-size: 22px; }

.entry-content h2, .comment-content h2 { font-size: 20px; }
.entry-content h3, .comment-content h3 { font-size: 18px; }
.entry-content h4, .comment-content h4 { font-size: 16px; }
.entry-content h5, .comment-content h5 { font-size: 14px; }
.entry-content h6, .comment-content h6 { font-size: 12px; }

/* Параграфы, списки. Цитаты, код, преформат. Аббревиатуры, определения.  (Контент + Комменты)
-------------------------------------------------------------- */
.entry-content p, .entry-summary p, .comment-content p { line-height:1.5em; margin: 0 0 1em; }

.entry-content ol, .comment-content ol,
.entry-content ul, .comment-content ul { margin: 0 0 2em; }
.entry-content ul ul, .comment-content ul ul,
.entry-content ol ol, .comment-content ol ol,
.entry-content ul ol, .comment-content ul ol,
.entry-content ol ul, .comment-content ol ul { margin-top:1em; margin-bottom: 1em; }
.entry-content ul, .comment-content ul { list-style: disc outside; }
.entry-content ol, .comment-content ol { list-style: decimal outside; }
.entry-content li, .comment-content li { margin: 0 0 1em 18px; line-height:1.5em  }

.entry-content blockquote, .comment-content blockquote { margin:0 0 1em; padding:24px; font-style: italic;}
.entry-content blockquote p:last-child, .comment-content blockquote p:last-child { margin-bottom: 0; }
.entry-content code, .comment-content code { font-family: Consolas, Monaco, Lucida Console, monospace; }
.entry-content pre, .comment-content pre { margin:24px 0; padding:24px; border:1px solid #ededed; /*font-family: Consolas, Monaco, Lucida Console, monospace;*/ font-family:"Courier New", Courier, monospace; overflow: auto; }
.entry-content pre code, .comment-content pre code { display:block; }

.entry-content abbr, .comment-content abbr, .entry-content dfn, .comment-content dfn, .entry-content acronym, .comment-content acronym { border-bottom: 1px dotted #666; cursor: help; }
.entry-content dl, .comment-content dl { margin:0 24px; }
.entry-content dt, .comment-content dt { font-weight:bold; }
.entry-content dd, .comment-content dd { margin-bottom:24px; }
.entry-content address, .comment-content address { display:block; margin:0 0 24px; } /* Адрес - Бестолковый тег (Контент + Комменты) */

/* Картинки, медиавставки
-------------------------------------------------------------- */
.entry-content img { border:4px solid #fff; box-shadow:0 2px 6px rgba(100, 100, 100, 0.3);}

img.alignleft { margin: 4px 24px 20px 0; }
img.alignright { margin: 4px 0 20px 24px; }
img.aligncenter { margin-top: 4px; margin-bottom: 20px; }
.entry-content embed, .entry-content iframe, .entry-content object, .entry-content video { margin: 0 0 24px; }

/* Таблицы
-------------------------------------------------------------- */
.entry-content table, .comment-content table { margin:0 0 24px; width: 100%; }
.entry-content table caption, .comment-content table caption { font-size:16px; margin:24px 0; }
.entry-content td, .comment-content td,
.entry-content th, .comment-content th { border:1px solid #e0e0e0; padding:6px 10px; }
.entry-content tr:nth-child(2n+1), .comment-content tr:nth-child(2n+1)  { background:#f5f5f5 }
.entry-content tr:nth-child(2n),   .comment-content tr:nth-child(2n) 	{ background:#f8f8f8 }

/* Архивы постов
-------------------------------------------------------------- */
.archive article,
.archive .site-content article { /* margin-bottom:0; border:none;*/ padding-left: 42px; min-height:32px; background:url(img/ico-document-32.png) left top no-repeat; }

.archive-header, .page-header { margin:0 0 24px; padding:24px 0; border-top:1px dotted #ccc; border-bottom:1px dotted #ccc; }
.archive-header h1, .page-header h1 { font-size:22px; margin-bottom:0 }
.archive-header h1 span, .page-header h1 span{ font-size:18px; color:#999; }
.archive-meta { display:none }

/* Страницы аттачментов
-------------------------------------------------------------- */
.article.attachment {} .image-attachment div.attachment {} .image-attachment div.attachment p {} .image-attachment div.attachment img {} .image-attachment .entry-caption {} 





/*
--bookmark--  Шаблон комментов
-------------------------------------------------------------- */
.comments-title { margin: 0 0 24px; font-weight: normal; }
.comments-area article { margin: 24px 0; }
.comments-area article header { margin: 0 0 24px; overflow: hidden; position: relative; }
.comments-area article header img {	float: left; padding: 0; line-height: 0; }
.comments-area article header .comment-author,
.comments-area article header .comment-time { display: block; }
.comments-area article header .comment-author {	font-style: normal;	font-size: 15px; }
.comments-area article header .comment-time { text-decoration: none; font-size: 12px; color: #5e5e5e; }
.comments-area article header h4 { /* Что это за хрень я не знаю... */
	position: absolute; top: 0;	right: 0;
	padding: 6px 12px;
	font-size: 12px; font-weight: normal;
	color: #fff;
	background-color: #0088d0;
	border-radius: 3px;
	border: 1px solid #007cbd;
}
/* .comments-area li.bypostauthor span.comment-author {} a.comment-reply-link, a.comment-edit-link { color: #686868; font-size: 13px; } a.comment-reply-link:hover, a.comment-edit-link:hover {	color: #21759b; } */
.comment .children li article{ padding-left:42px}
.commentlist .pingback { margin-bottom: 24px; }

.comments-area article header h3.comment-author{ font-size:16px; margin-bottom:10px; }
.comments-area article header .comment-response-info{ font-size:12px; color:#999}
.comments-area .children article{ background:url(img/sp-arms-light.png) -31px top no-repeat; }

/* Форма комментирования
-------------------------------------------------------------- */

#respond {	margin-top: 48px; }
#respond h3#reply-title { font-size: 16px; }
#respond h3#reply-title #cancel-comment-reply-link { margin-left: 10px; font-weight: normal; font-size: 12px; }
#respond form {	margin: 24px 0; }
#respond form p { margin: 11px 0; }
#respond form p.logged-in-as { margin-bottom: 24px; }
#respond form label { display: block; }
#respond form input[type="text"], #respond form textarea { -moz-box-sizing:border-box; box-sizing:border-box; font-size:12px; padding:10px; width:100%; }
#respond form p.form-allowed-tags {	margin:0; font-size:12px; color:#5e5e5e; }
.required {	color: red; }












/*
--------------------------------------------------------------
		Всякие разности
--------------------------------------------------------------
*/


/*
--bookmark--  Страница: Карта сайта - Аккордеон категорий
-------------------------------------------------------------- */
.site .pttm-cat-accordion { margin:24px 0; padding:24px 0; border-top:1px dotted #ccc; border-bottom:1px dotted #ccc }

.pttm-cat-accordion h1, .pttm-cat-accordion a{ line-height:1.5em }
.site .pttm-cat-accordion h1{ margin-bottom:14px; font-size:22px;}
.site .pttm-cat-accordion ul{ margin-left:0; color:#999; }
.site .pttm-cat-accordion > ul { margin-left:0 }
.site .pttm-cat-accordion ul ul{ margin-left:28px }
.site .pttm-cat-accordion ul > li{ margin-left:0; background:url(img/list-site-map-line-v.png) 14px 0 repeat-y}
.site .pttm-cat-accordion ul > li:last-child{ background-repeat:no-repeat; background-position:14px -1px; }

.pttm-cat-accordion li a{ cursor:pointer; display:block; padding:6px 12px 6px 36px; margin-left:0px; outline:none; background:url(img/list-site-map-arr.png) 14px 12px no-repeat; text-decoration:none }
.pttm-cat-accordion li a:hover{ background:url(img/list-site-map-arr-line-v.png) 14px 0 no-repeat #f0f0f0 }
.site .pttm-cat-accordion ul > li:last-child > a:hover{ background:url(img/list-site-map-arr-line-v-last.png) 14px 0 no-repeat #f0f0f0 }
.pttm-cat-accordion li a span.meta{ color:#aaa; font-size:12px; }
.pttm-cat-accordion li a span.meta.count{ border-top:1px dotted #aaa; color:#777; padding:3px 6px 0 0; }
.pttm-cat-accordion li a span.link{ text-decoration:underline }
.pttm-cat-accordion li a.parent > span.link{ text-decoration:none }
a.parent{ text-decoration:none; color:#333 } /* Прячем ссылки */

/* Буллиты с плюсиком
-------------------------------------------------------------- */
.pttm-cat-accordion li div{ float:left; margin:6px 0 0 6px; width:17px; height:17px; background: url(img/btn-plus.png) no-repeat #c6dcf0; border-radius:3px; cursor:pointer}
.pttm-cat-accordion li div:hover, .pttm-cat-accordion li:hover > div{ background-color:#76b8eb }
.pttm-cat-accordion li div.open{background-position: left bottom;}
.pttm-cat-accordion li div.close{background-position: left top;}

/* Списки рубрик, описания категорий
-------------------------------------------------------------- */
.cat-description{ margin:0 0 40px; color:#999; line-height:1.3em; }





/*
--bookmark-- Навигация в странице ранний-поздний 
-------------------------------------------------------------- */
.nav-previous {} .nav-previous:hover {}
.nav-next {} 	 .nav-next:hover {}
#nav-above, #nav-below, .nav-single {}

.site-content .post-navigation,
.site-content .comment-navigation{ clear:both; overflow: hidden; padding: 14px 24px; background:#f3f3f3; }

.site-content .post-navigation    .assistive-text,
.site-content .comment-navigation .assistive-text{ display:none }
.site-content .post-navigation div{} .site-content .post-navigation a {} .site-content .post-navigation a:hover {}

.paged #nav-above { display: block; }
.nav-previous, .previous-image { width: 45%; float: left; }
.nav-next, .next-image { width: 45%; float: right; text-align: right; }
.nav-single + .comments-area, #comment-nav-above { margin: 48px 0; }




/*
--bookmark--  Супердив - Блок загруженных файлов
-------------------------------------------------------------- */

.pttm-attachments-block { background:#f3f3f3; padding:7px 24px 14px; margin-bottom:24px}
.pttm-attachments-block a { margin-right:12px;}

.pttm-attachments-block .label{}

.pttm-attachments-block img {
	background:none; box-shadow:none; border-radius:0; border:none;
	width:32px; height:auto; margin:0 6px -12px 0;
}

.pttm-document-status-block { padding:7px 24px; margin-bottom:24px }
.pttm-document-status-block table { margin-bottom:0 }
.pttm-document-status-block table td{ border:0px solid #e0e0e0; padding:4px 5px }
.pttm-document-status-block .label{ width:170px; padding-left:0; padding-right:0; text-align:right; font-size:12px; font-weight:bold }
.pttm-document-status-block .value{ vertical-align:middle; padding-left:12px; }



/*
--bookmark--  Страница: Новое на сайте - Блоки статистики публикаций
-------------------------------------------------------------- */
.page-template-page-whats-new-php .whats-new-block { outline:0px solid #0ff; width:260px; margin:0 10px 24px; padding:10px; background:#f0f0f0; border-radius:5px; float:left; line-height:1.3em }
.page-template-page-whats-new-php .whats-new-day   { margin-left:0; }
.page-template-page-whats-new-php .whats-new-week  { }
.page-template-page-whats-new-php .whats-new-month { margin-right:0; }
.page-template-page-whats-new-php .whats-new-block h3{ font-family:Arial, Helvetica, sans-serif; font-size:16px; margin-bottom:1em; }






/* Плагины - !!! Что за хрень?!!!
----------------------------------------------- */
img#wpstats { display: block; margin: 0 auto 24px; }