/*
sp-blog
Тема оформления для личных блогов

Школьный портал
Copyright (C) 2005-2015 http://spcms.ru
*/

body {
	margin:0;
	padding:0;
	background-color: #f3eee2;
}

form { margin: 0 }
img  { border: 0 }

body, p, td, li, div {
	font: normal 11pt/1.4em 'Verdana', sans-serif;
}

p {
	margin-top: 0;
}

h1 {
	font: normal 20pt 'Tahoma', sans-serif;
	color: #444;
	padding-bottom: 2px; 
}

h1.content {
	border-bottom: 1px solid #ddd;
	margin: 40px 0 0;
}
h1.content:first-child {
	margin-top: 0;
}

h2 {
    font: normal 15pt 'Tahoma', sans-serif;
    color: #333;
}

div.content {
	margin-top: 1em;
}

p {
	margin-bottom: 0.5em;
}

/* обёртка */
#wrap {
	margin: 0 auto;
	width: 85%;
	max-width: 1024px;
	min-width: 600px;
	padding-bottom: 112px;
}

/* шапка */
#header {
	background: #f3f3f3 url(img/header-bg.png) 0 0 repeat-x;
	padding: 8px 0 0 45px;
	margin-bottom: 23px;
	box-shadow: 0 3px 9px rgb(226,217,195);
	height: 116px;
}

#header h1 {
	margin: 6px 0 3px;
}
#header h1 a {
	color: #779;
	text-decoration: none;
	border-bottom: 1px solid #ddd;
}
#header h1 a:hover {
	color: #059;
	border-bottom: 1px solid #977;
}
/* фотка в шапке */
#author_photo {
	float: left;
	position: relative;
	left: -18px;
}
#author_photo img {
	max-height: 98px;
}

#pencil {
	background: transparent url(img/pencil.png) 16px 0 no-repeat;
	float: right;
	position: relative;

	right: 30px;
	top:   20px;

	height: 64px;
	width:  64px;
}

/* основные блоки */
#left, #center {
	background-color: white;
}

/* сайдбар */
#left {
	background: #fbfbfb url(img/left-bg.png) 0 0 repeat-x;
	float: left;
	padding: 0 15px 14px 15px;
	width: 220px;
	border-bottom: 1px solid #dcd3bc;
	/* margin-bottom: 30px; */
}

#left h1 {
	background: #f1f1f1 url(img/left-h1.png) 0 0 repeat-x;
	border: none;
	font: bolder 13pt/40px 'Lucida Sans Unicode', sans-serif;
	color: #332;
	text-align: center;
	height: 37px;
	padding: 0;
	margin: 25px 0 16px;
	box-shadow: 0 1px 5px rgba(0,0,0, 0.07);
}


#left h1 a {
	color: #222;
	font-weight: bold;
	text-decoration: none;
	border-bottom: 1px dashed #777;
}

#left li {
	margin: 0 0 0.3em 0;
}

#left ul {
	margin: 0;
	padding: 0;
	padding-left: 1.5em;
}

/* --------- */
/* Поля форм */
/* --------- */

#search_line,                          /* дырка для поиска */
#comment-form textarea,                 /* коммент */

#loginform input[type="text"],         /* логин */
#loginform input[type="password"],     /* пароль */

#fedform input[type="text"],           /* feedback */
#fedform textarea                      /* feedback */
{
	width: 196px;
	padding: 5px 6px;
	border: 2px solid #dbba7d;
	font: normal 9pt/1em 'Verdana', 'Helvetica', sans-serif;
	color: #3c2d0a;
	background: #fff url(img/search-bg.png) 0 0 repeat-x;
		border-radius: 6px;
		-moz-border-radius: 6px;
		-khtml-border-radius: 6px;
		-webkit-border-radius: 6px;
}

#comment-form textarea {
	display: block;
	padding: 0.5em 1em;
	font: normal 10pt/1.35em 'Verdana', sans-serif;
	width: 85%;
	height: 250px;
	margin: 14px 0;
}

#comment-form {
	margin: 2em 0 0 120px;
}

#comment-form h1 {
	font: normal 14pt 'Lucida Sans Unicode', sans-serif;
	color: #777;
	margin: 16px 0 8px;
}

hr.serp {
	border: 0;
	height: 1px;
	background-color: #ddd; /* для браузеров */
	color:            #ddd; /* для ie */
}

.highlight {
	background-color: #f6edcc;
	border: 1px solid #d4c19a;
	padding: 1px 0;
/*
	margin: 0 3px;
*/
}

.serp-url {
	color: green;
}

/* залогиненный */
#user-logged tr td,
#user-logged tr td div,
#user-logged tr td a {
	font: normal 9pt/1.2em 'Tahoma', sans-serif;
}
#user-logged tr td {
	color: #444;
}
#user-logged tr td a {
	display: block;
	margin: 0.3em 0;
}
img.user-photo {
	box-shadow: 0 1px 4px rgba(0,0,0, 0.1);
	background-color: #fff;
	padding: 3px;
	border: 1px solid #999;
	margin: 0 6px 5px 0;
}

#lastlog {
	color: #694;
	display: block;
	margin-top: 2px;
}

/* подвал */
.footer {
	text-align: center;
	clear: both;
	margin: 25px 0 0;
	padding: 22px 0;
	color: #555;
	background: #fff url(img/footer.png) 0 0 repeat-x;

    /* всегда снизу */
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 90px;
}
/* хаки для футера всегда снизу */
html { height: 100%; }
body { position: relative; min-height: 100%; }

.footer a {
	color: #555;
}

/* основной блок */
#center {
	margin-left: 273px;
	padding: 28px;
	border-bottom: 1px solid #dcd3bc;
	border-top:    1px solid #dcd3bc;
}

/* ссылки */
a {
	color: #1e57ea;
	font-weight: normal;
}
              a:hover,
span.comments a:hover
{
	color: #e1331c;
}
a.read-more {
	background: transparent url(img/read-more.png) 0 55% no-repeat;
	padding: 5px 0 5px 26px;
	display: block;
	width: 150px;
}

/* навигация */
#sp_menu          a,
#lastcontentblock a {
	display:block;
	margin-bottom: 0;
	line-height: 1.3em;
}
ul#sp_menu {
	list-style-type: none;
	padding-left: 5px !important;
}
#sp_menu li {
	padding-left: 23px;
	background: transparent url(img/menu-bullet.png) 0 0 no-repeat;
}

/* форма входа */
#loginform {
	padding-left: 0.5em;
}
#loginform input[type="text"],
#loginform input[type="password"],
#loginform label
{
	display: block;
	margin-bottom: 5px;
}

/* метаданные новостей и стетей под заоловком */
.content-metadata {
	margin: 6px 0 8px;
	font-size: 9pt;
	color: #555;
	display: inline-block;
	line-height: 21px;
}
.pub-date {
	background: transparent url(img/cal.png) 0 50% no-repeat;
	padding-left: 26px;
	display: inline-block;
}

/* кол-во и ссылка в метаданных к новости */
span.comments {
	margin-left: 25px;
	background: transparent url(img/comment.png) 0 50% no-repeat;
	padding-left: 26px;
	display: inline-block;
}
span.comments a {
	color: #707898;
	text-decoration: none;
	border-bottom: 1px solid #DDDDEE;
}
span.comments a:hover {
	text-decoration: none;
}

/* новости - навигация */
.news_next {
  text-align: center;
  margin: 55px 0 10px;
  background-color: #f7f8fa;
  border: 1px solid #eaecee;
  padding: 1px;
}
.news_next a {
	color: #3d4f97;
}
.news_next a,
.news_next_caren_pg {
	padding: 5px 9px 6px;
}
.news_next a:link,
.news_next a:visited {
  text-decoration: none;
}
.news_next a:hover {
  text-decoration: none;
  color: #a20;
  border: 1px solid #aaa;
  background-color: white;
}
.news_next_caren_pg {
  background: #fffce4 url(img/current-page-bg.png) 0 0 repeat-x;
  border: 1px solid #b98160;
  box-shadow: 0 0 3px rgba(177,169,147, 0.4);
  margin-right: 4px;
}

/* RSS */
#RSS-icon {
	background: transparent url(img/rss.png) 0 50% no-repeat;
	line-height: 46px;
	padding-left: 55px;
	display: inline-block;
	margin: 16px 0 16px 20px;
}

/* записи в блогах */
.bloginf_date {
	color: green;
	font-size: 80%;
	margin: 2px 0;
}

.bloginf_author {
	color: grey;
}

.bloginf_item {
	margin-bottom: 0.6em;
}

/* дни рождения */
.bday_header,
.lastcontent-articles,
.lastcontent-gallery
{
	text-align: center;
	padding: 2px;
	margin: 0 0 8px;
	font-size: 110%;
	color: #6b564c;
	background-color: #f5f4f0;
	border-bottom: 1px solid #e8e1cd;
}
ul.bday li {
	font-size: 80%;
}

/* feedback */
#fedform {
	margin: 32px 0 0 32px
}
#fedform input[type="text"] {
	width: 50% !important;
}
#fedform textarea {
	width: 75% !important;
	line-height: 1.3em;
}
#fedform input[type="text"],
#fedform textarea {
	padding: 0.4em 0.6em;
	margin-top: 0.3em;
	font-size: 110%;
}

#clearfix {
	clear: both;
}

/* иерархическое меню */
table#sp_menuID {
	width:96%;
}
.TPopUp0 {
	box-shadow: 2px 3px 10px rgba(0,0,0, 0.3);
	z-index: 9000;
}
table#sp_menuID,
.TPopUpItem0 tr td {
	cursor: pointer;
}

/* удаление уоммента */
#comment-delete {
	text-align: right;
}
#comment-delete a {
	color: #CCC6C0;
	margin: 0.4em 0;
}
#comment-delete a:hover {
	color: red;
}

table.comment {
	width: 100%;
}

#comments {
	background-color: #fefefe;
	margin-top: 2.5em;
	border-top: 1px solid #efedee;
	padding-top: 1.5em;
}

/* разелитель между комментариями */
.divider {
	margin: 18px 0;
	border-bottom: 1px solid #efedee;
}
/* имя (опционально ссылкой) автора */
.comment_author {
	font: normal 13pt/1em 'Lucida Sans Unicode', 'Verdana', sans-serif;
}
/* дата-время и пермалинк */
.comment_meta {
	line-height: 1.3em;
	float: right;
	color: #777;
}
/* текст комментария */
.comment_text {
	margin: 11px 0 0 0;
	font-size: 10pt;
}
/* аватар (не фильм Кемерона) */
.comment_avatar {
	vertical-align: top;
	text-align: right;
	width: 100px;
	padding-right: 16px;
}

/* Гостевая */
.guestbook-name {
    font-weight: bold;
}

.guestbook-name,
.guestbook-date {
    margin-bottom: 0.2em;
}

#guestbook table tr td {
    padding-right: 1em;
}

.guestbook-date {
    color: #1a6900;
}

.guestbook-message,
.guestbook-empty {
    margin: 0.5em 0 1.4em 0;
    line-height: 1.35em;
}

.namesinf-random {
	color: #584;
}

/* звонки - информер */
#bellsinf {
	text-align: center
}
#bells_countdown_watch {
	font: normal 30px/39px 'Lucida Console', monospace;
	color: #444;
	height: 35px;
	margin: 5px auto 0;
}

/* карта сайта */
.sitemap-folder {
	padding-left: 24px;
	background: url(/sp/img/folder.gif) 0 50% no-repeat;
}

/* конкурсы */
.contest table {
	border: none;
	border-top:  solid 1px #ccc;
	border-left: solid 1px #ccc;
}

.contest table tr { background: #FFF; }

.contest table tr th
{
	font: bold 9pt Verdana;
	text-align: center;
	background-color: #f3f3f3;
	border: none;
	height: 24px;
	border-right:  solid 1px #ccc;
	border-bottom: solid 1px #ccc;
	padding: 5px 4px;
}

.contest table tr td {
	padding: 5px 6px;
	font-size: 9pt;
	border: none;
	border-bottom: solid 1px #ccc;
	border-right:  solid 1px #ccc;
}

.contest input[type="text"],
.contest input[type="file"],
.contest textarea {
	width: 550px;
}

.contest .star {
	color: red;
	/* font-weight: bold; */
}

.contest li {
	margin-bottom: 1em;
}
/* /конкурсы */
