/*
Школьный портал
Copyright (C) 2005-2017 http://spcms.ru
*/

body,td,table,center {
	margin:  0;
	padding: 0;
	font: 9pt sans-serif;
}

td.i12 {
	width:27px;
	height:30px;
}

td.i42 {
	width:42px;
	height:30px;
}

.hbg {
	background: url(img/h_c.gif) repeat-x;
	color: #FFF;
	font: bold 11pt Verdana,sans-serif;
}
td.headsub {
	background: url(img/h_sub.gif) repeat-x;
	height: 23px;
	padding-left: 8px;
}

td.l {
	background: #fff url(t_l.gif) repeat-y;
	padding-left: 12px;
	padding-top: 6px;
	padding-bottom: 8px;
}

table.login {
	margin-top: 14px;
	margin-bottom: 5px;
}

td.headsub1 { font-size:1px; background: url(t_l.gif) repeat-y; width:5px; }
td.headsub2 { font-size:1px; background: url(t_r.gif) repeat-y; width:5px; }

td.r {
background: #fff url(t_r.gif) repeat-y right;
padding-left: 12px;
padding-top: 4px;
padding-bottom: 8px;
}

td.b_c {
text-align: right;
background: url(img/t_b2.gif);
padding-right: 14px;
font-weight: bold;
font: bold 8pt Tahoma,sans-serif;
}

div.text {
height:18px;
position: relative;
top:  -11px;
left: -1px;
font: bold 13px sans-serif;
margin:0px;padding:0px;margin-bottom:-9;
overflow:hidden;
}

span.date { color: #171; }

a, a:active { color: #06f; font-weight: bold }

a:hover { color: #f63 }

input.login {
  background-color: #fff;
  border: 1px solid #7f9db9;
  font: 9pt sans-serif;
}
td.loginhead {
  background-color: #6375d6;
  color: #fff;
  border-bottom: 1px solid #253276;
  border-top: 1px solid #d5dcff;
  padding: 4px 0;
}

td.loginfield {
  background-color: #ece9d8;
  padding-top: 4px;
  padding-left: 4px;
  font-size: 8pt;
}

td.loginsubmit {
  background-color: #ece9d8;
  padding-bottom: 3px;
  border-bottom: 2px solid #0028b4;
}

td.loginsubmit a {
	text-decoration: none;
	display: block;
	margin:2px 0;
}

p {
margin: 0;
margin-bottom:4px;
}

.menuitem_common {
	background-color: #eff3ff;
	padding-top: 4px;
	vertical-align: middle;
	height: 20px;
}

td.menuitem {
	border-right: 1px solid #fff;
	text-align: left;
	width: 134px;
}

.menuitem_icon {
	border-left: 1px solid #fff;
	text-align: center;
	width: 25px;
}

a.menuitem, a.menuitem:active {
	font: 8pt Tahoma, sans-serif;
	color: #003db2;
	text-decoration: none;
}

a.menuitem:hover {
	color: #c65d21;
	text-decoration: underline;
}

/* Питание - меню */
table.pmenu {  
    text-align:right;
    background-color: #FFFFFF;
    margin: 0px;
    margin-top:6px;
    padding: 0px;
    border: 0px solid #ddd;
    border-spacing: 0px;
    width: 100%;
    border-collapse: collapse;
}
table.pmenu th {
    border-bottom: 1px solid white;
    border-left: 1px solid white;
    border-right: 1px solid white;
    text-align:center;
    font-weight: normal;
    padding: 6px;
    background-color: #e5e5e5;
}
table.pmenu tr.row0 {
    background-color: #FFF;
}
table.pmenu tr.row1 {
    background-color: #F9F9F9;
}
table.pmenu tr.itogo {
    background-color: #e5e5e5;
}
table.pmenu td {
    border-bottom: 1px solid #e5e5e5;
    border-left: 1px solid #e5e5e5; 
    border-right: 1px solid #e5e5e5;
    padding: 6px;
}
table.pmenu td:nth-child(1) {
    border-left: none;
}
table.pmenu td:nth-last-child(1) {
    border-right: none;
}
table.pmenu td:nth-child(3) {
    text-align:left;
}
div.pmenu_zo {
    text-align:center;
    font-weight: bold;
    font-size: 16px;
    padding-bottom: 6px;
    padding-top: 18px;
}
div.pmenu_menu_row {
    background-color: #F9F9F9;
    width: 100%;
    align:center;
    padding-top: 6px;
    margin-top: 14px;
    margin-bottom: 14px;
    padding-bottom: 6px; 
    border-bottom: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
}
span.pmenu_menu_item {
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 6px;
}
span.pmenu-current {
    border-bottom: 4px solid #e5e5e5;
    padding-left: 6px;    
    padding-right: 6px;
    padding-top: 6px;
    padding-bottom: 6px;
}
span.pmenu-now {
    border-top: 3px solid #e5e5e5;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 6px;
    padding-bottom: 6px;
}
span.pmenu_today {
    border-right: 4px solid #e5e5e5;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 6px;
    padding-bottom: 6px;
}
div.pmenu-date {
    text-align:	right;
    text-decoration:	underline;
    font-style: italic;
/*    border-bottom: 2px solid #e5e5e5;*/
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 6px;
    padding-bottom: 3px;
}
div.pmenu-no-data {
    padding-top: 8px;
    text-align:center;
}
table.pmenu_moulist {
    text-align:right;
    background-color: #FFFFFF;
    margin: 0px;
    margin-top:6px;
    padding: 0px;
    border: 0px solid #ddd;
    border-spacing: 0px;
    width: 100%;
    border-collapse: collapse;
}
table.pmenu_moulist th {
    border-bottom: 1px solid white;
    border-left: 1px solid white;
    border-right: 1px solid white;
    text-align:center;
    font-weight: normal;
    padding: 6px;
    background-color: #e5e5e5;
}
table.pmenu_moulist tr.row0 {
    background-color: #F9F9F9;
}
table.pmenu_moulist tr.row1 {
    background-color: #FFF;
}
table.pmenu_moulist td {
    border-bottom: 1px solid #e5e5e5;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    padding: 6px;
}
table.pmenu_moulist td:nth-child(1) {
    border-left: none;
}
table.pmenu_moulist td:nth-last-child(1) {
    border-right: none;
    text-align:left;
}
div.pmenu_ou_name {
    text-align:center;
    font-size: 16px;
}

.addcomment {
    color: #999999;
    /* font-size: 11px; */
    margin-left: 1.5em;
}
.addcomment a:link, .addcomment a:visited {
    /* font-size: 11px; */
    color: #009900;
    text-decoration: none;
    font-weight: normal;
}
.addcomment a:hover {
    color:#ffbc24;
    text-decoration: underline;
    font-weight: normal;
}
table.comment {
    border: 1px solid #B1BFD6;
    margin-top: 10px;
    padding: 3px;
	valign: top;
}


div.news_next {
	background: url(img/pages.gif) repeat-x;
	text-align: center;
	font: 8pt bold Verdana, sans-serif;
	height: 21px;
	vertical-align: top;
	padding-top: 4px;
	color: black;
}
div.news_next a { text-decoration: none; }
div.news_next a:hover { padding-top: 3px; padding-bottom: 5px; background: url(img/pages2.gif) repeat-x; }

td.main {
	background-color: #768199;
	color: #fff;
	padding-bottom: 2em;
}

.footer
{
	text-align: center;
	margin-bottom: 1em;
}

/*
.footer div {
	display: inline-block;
}

#footer-second-line {
	margin-left: 3em;
}

*/

#footer-ou {
	padding-top: 11px;
	color: #fff;
	background: url(img/task1.gif) repeat-x;
	height: 35px !important;
	vertical-align: middle;
}

#footer-info-published {
    /* margin-top: 15px; */
}

/*
.footer a { color: #cdf; text-decoration: none }
.footer a:hover { color: #ffe577; text-decoration: underline }
*/

h1 {
font: bold 18pt Arial, sans-serif;
padding: 0px;
margin: 2px;
margin-bottom: 4px;
}

h1.sec {
color: #dedeff;
}

.componentheading,
.contentheading,
.gallery-header
{
  font: bold 18pt Arial, sans-serif;
  padding: 0px;
  margin: 2px 2px 9px;
  color: #dedeff;
}

div.desc{
color: #fff;
background-color: #385c7d;
border: 1px solid #7f9db9;
border-bottom: none;
padding: 4px;
margin-left: 16px;
margin-right: 16px;
text-align: left;
font-weight: bold;
}

div.cont {
color: #000;
background-color: #f1f2ee;
border-bottom: 1px solid #7f9db9;
margin-bottom: 16px;
}

a.cnt { color: #06d; text-decoration: none }
a.cnt:hover { text-decoration: underline }

table.abouteou
{
  margin:0;
  margin-bottom:0;
  margin-top:8;
  background-color: #F7F9FF;
  border-left: 1px solid #91A7B4;
}

table.abouteou tr td
{
  color: #000;
  border-bottom: 1px solid #91A7B4;
  padding: 2px;
  border-right: 1px solid #91A7B4;
  text-align: center;
}

table.abouteou tr th
{
  background-color: #044AB7;
  color:white;
  font: bold 12px Verdana, sans-serif;
  line-height: 14px;
  padding: 7px;
  border: 1px solid #91A7B4;
  border-left:none;
}

div.filter { margin:0; padding:0; }

.button
{
  font-size: 12px;
  background-color: #ece9d8;
  height: 22px;
}

div.filter input.inputbox
{
  height: 22px;
}

div.bday_header,
.lastcontent-articles,
.lastcontent-gallery
{
  border-left:  1px solid #fff;
  border-right: 1px solid #fff;
  background-color: #eff3ff;
  color: #069;
  padding-top: 4px;
  height: 16px;
  text-align: center;
  width: 157px;
}

.lastcontent-articles,
.lastcontent-gallery {
	color: black;
}

ul.bday
{
  margin: 0;
  width: 159px;
  padding: 0;
  text-align: left;
  list-style-type: none;
  line-height: 1.35em;
}

ul.bday li
{
  margin: 0px;
  display: block;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  padding: 2px 4px 2px 6px;
  background-color: #eff3ff;
}


table.left_block
{
	margin-top: 12px;
}

table.left_block a
{
	color: #fff;
	font-weight: normal;
}

div.block_end1,
div.block_end2
{
  width: 159;
  font-size: 1px;
/*
  border-left:   1px solid #fff;
  border-right:  1px solid #fff;
*/
}

div.block_end1
{
  background-color: #eff3ff;
  height: 6px;
}

div.block_end2
{
  background-color: #001DA0;
  height: 2px;
}

form { margin: 0 }

div.xp-shadow
{
	font: bold 13px sans-serif;
	color: white;
    text-shadow: 1px 1px 1px black;
	padding-top: 3px;
}

input#search_form_xp {
height: 19px;
font: normal 8pt Verdana, sans-serif;
margin: 3px 3px 0px 6px;
}

table.searchintro tr td { color:white }
.highlight { color:yellow }

.sp_xp_adm_fio {
font: normal 12pt Verdana,sans-serif;
}
.sp_xp_adm_info {
margin: 3px 0 20px 32px;
}
.sp_xp_adm_info img {
display:block;
margin:6px 0 4px 0;
}

/* иерарх. меню */
table#sp_menuID {
	width: 159px;
}
table#sp_menuID tr td {
	padding-left: 3px;
	padding: 1px 0 1px 3px;
}
.TPopUp0 {
	box-shadow: 2px 3px 10px rgba(0,0,0, 0.5);
	z-index: 9000;
}
table#sp_menuID,
.TPopUpItem0 tr td {
	cursor: pointer;
}

/* ------------------------------------------------------------------------------ */
/* Комментарии */
/* ------------------------------------------------------------------------------ */

.xp-comment-wrapper {
	position: relative;
	background-color: #768199;
	padding: 8px 0 16px;
	width: 90%;
	margin: 0 auto;
	text-align: left;
}

/* автор */
.xp-comment-author-date {
	color: black;
	position: relative;
	top:  43px;
	left: 210px;
	font: bold 10pt 'Verdana', sans-serif;
	width: 80%;
}
/* дата */
.xp-comment-author-date span {
	color: #0a3;
}

/* *таблица с комментом */
.xp-comment-body {
	width: 95%;
	padding: 8px;
	border: none;
}
.xp-comment-body-padding {
	text-align: left;
	padding-top: 5px;
}

/* фотка: таблица с фоткой */
.xp-comment-photo {
	width: 84px;
	border: none;
}

/* фотка: шапка, подвал */
.xp-comment-photo-head,
.xp-comment-photo-footer {
	width: 84px;
	height: 9px;
	background: transparent url(img/comments-photo-head.png) 0 0 no-repeat;
}
.xp-comment-photo-footer {
	height: 11px;
	background-image: url(img/comments-photo-footer.png);
}

/* фотка: бока */
.xp-comment-photo-left,
.xp-comment-photo-right {
	width: 10px;
	background: transparent url(img/comments-photo-left.png) 0 0 repeat-y;
}
.xp-comment-photo-right {
	background-image: url(img/comments-photo-right.png);
}

/* тело: шапка */
.xp-comment-body-head {
	width: 412px;
	height: 54px;
	background: transparent url(img/comments-body-head.png) 0 0 no-repeat;
}
/* тело: шапка, резина-середина */
.xp-comment-body-head-center {
	border-top: 1px solid black;
	background-color: #fcf6ea;
}
/* тело: шапка, правая закругляшка */
.xp-comment-body-head-right {
	width: 34px;
	background: transparent url(img/comments-body-head-right.gif) 0 0 no-repeat;
	padding-right: 5px;
}

/* тело: середина, резина-вертикаль |< -*/
.xp-comment-body-center-left {
	width: 55px;
	background: transparent url(img/comments-body-center-left.gif) 0 0 repeat-y;
}
/* тело: середина, резина */
.xp-comment-body-center-center {
	background-color: #fcf6ea;
	vertical-align: top;
}
/* текст комментария */
.xp-comment-body-center-center div {
	font: normal 10pt/1.35em 'Verdana', sans-serif;
	margin-top: -10px;
}
/* тело: середина, вертикаль=резина, ->| */
.xp-comment-body-center-right {
	width: 32px;
	border-right: 1px solid black;
	background-color: #fcf6ea;
}

/* тело: подвал, |<- */
.xp-comment-body-footer-left {
	width: 55px;
	height: 23px;
	background: transparent url(img/comments-body-footer-left.gif) 0 0 no-repeat;
}
/* тело: подвал, середина, резина */
.xp-comment-body-footer-center {
	border-bottom: 1px solid black;
	background-color: #fcf6ea;
}
/* тело: подвал, ->| */
.xp-comment-body-footer-right {
	width: 38px;
	background: transparent url(img/comments-body-footer-right.gif) 0 0 no-repeat;
}

/* ----------------- */
/* звонки - информер */
/* ----------------- */
#bells_countdown_watch {
	font: normal 30px/35px 'Lucida Console', monospace;
	/* background: transparent url(images/bells-inf-watch.png) 0 0 repeat-x; */
	text-align: center;
	color: #444;
	height: 35px;
	margin: 5px auto 0;
	width: 150px;
}
.bells_countdown_watch_sep {
	margin: 0 2px;
}

/* --------------- */
/* звонки - модуль */
/* --------------- */

#mod_bells {
	box-shadow: 0 0 5px rgba(0,0,0, 0.5);
	border: 1px solid #eee;
	padding: 2em;
	background-color: #ece9d8;
	width: 60%;
	margin: 2em auto;
}

#mod_bells h1,
#mod_bells h2 {
	text-align: center;
	color: black;
}

#mod_bells h1 {
	font: normal 24pt 'Lucida Sans Unicode','Tahoma',sans-serif;
}

#mod_bells h2 {
	font: normal 15pt/1.35em 'Verdana',sans-serif;
	margin: 18px 0 9px;
}

#mod_bells table {
    border: none;
    border-top: 1px solid #aaa;
    border-left: 1px solid #aaa;
    border-collapse: collapse;
    margin: 0 auto;
	box-shadow: 0 1px 4px rgba(0,0,0, 0.2);
}

#mod_bells table tr th,
#mod_bells table tr td {
    border: none;
	border-bottom: 1px solid #aaa;
	border-right: 1px solid #aaa;
    background-color: #fefefe;
}

#mod_bells table tr th {
	text-align: center;
	font: bold 10pt 'Verdana',sans-serif;
	padding: 6px 10px;
	background: #f5f5f5 url(/sp/cms/img/table-bg.png) 0 0 repeat-x;
}

#mod_bells table tr td {
	font: normal 10pt 'Verdana',sans-serif;
	padding: 4px 10px;
}

/* новости - навигация */
.news_next a,
.news_next_caren_pg {
	padding: 3px 9px 4px;
}

#comment-form {
	margin-top: 1em;
	margin-bottom: 1em;
}

#comment-form h1 {
	font: normal 11pt 'Lucida Sans Unicode', sans-serif;
	color: #eee;
	margin: 16px 0 8px;
}

#comment-form textarea {
	display: block;
	padding: 0.5em 1em;
	font: normal 10pt/1.35em 'Verdana', sans-serif;
	width: 50%;
    height: 244px;
	margin: 14px 0;
}

/* bloginf_item */
.bloginf_date {
	color: green;
}
.bloginf_author {
	color: grey;
}

#bloginf table tr td {
	padding: 5px 4px 3px 9px;
}

#bloginf {
	margin: 0 auto;
}

#lastlog {
	color: #472;
	display: block;
	margin-top: 1px;
}

.menuhead {
	padding-bottom: 6px;
	font: 8pt Tahoma, sans-serif;
	color: #fff;
	height:32px;
	background: url(img/menuhead.png);
}

/* авторизованный юзер */
#autorized .loginsubmit    { padding: 3px 0;        }
#autorized .loginfield     { padding: 0 !important; }
#autorized .loginfield img { margin: 7px 6px;       }

/* Гостевая */

#guestbook {
    width: 600px;
    text-align: center;
    margin-bottom: 3em;
}

#guestbook form {
    margin: 1em 0 1em 2em;
}

#guestbook form table tr td {
    padding-right: 1em;
    padding-bottom: 0.5em;
}

.guestbook-name {
    font-weight: bold;
}

.guestbook-messages {
    text-align: left;
    max-width: 65em;
    padding: 18px 2%;
    background-color: #5b606b;
    box-shadow: 0 0 17px rgba(0,0,0,0.2);
    border: 1px solid #96a1b9;
}

.guestbook-name,
.guestbook-date {
    margin-bottom: 0.3em;
}

.guestbook-message,
.guestbook-empty {
    margin: 0.7em 0 1.6em 0;
    font: normal 10pt/1.2em Verdana, 'sans-serif';
}

.guestbook-date {
    color: #d2dbff;
}

.guestbook-messages h2 {
    color: #ffe06a;
}

/* gallery */
.gallery-path a       { color: #d4ecff; }
.gallery-path a:hover { color: #fff6c0; }
.gallery-empty-folder { color: #ccc !important; }
.gallery-path { margin-bottom: 1em !important; }

/* sitemap */
.sitemap-folder {
	padding-left: 24px;
	background: url(/sp/img/folder.gif) 0 50% no-repeat;
}

/* конкурсы */
.contest {
	background-color: white;
	color: black;
	padding: 1em 2em;
	margin-bottom: 2em;
	width: 700px;
}

.contest table {
	border: none;
	border-top:  solid 1px #ccc;
	border-left: solid 1px #ccc;
	margin-bottom: 0.5em;
}

.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;
}
/* /конкурсы */

/* электронная приёмная */

#reception { padding-left: 1% }

.reception-star { color: red; }

#reception form table tr td:first-child { padding-right: 1em }

.reception-item {
	background-color: #f9f9f9;
	border-bottom: 1px solid #eee;
	padding: 10px 16px;
	margin-top: 1em;
}

.reception-date { color: #777; }
.reception-question { font-weight: bold; }
.reception-answer { padding-top: .5em; }

.personal_data_links a { color: #fff; }
