/*******************************************************************************
 *                                                                             *
 *   Простой онлайн блокнот "Wikipad" // Таблица стилей для экрана             *
 *   ----------------------------------------------------------------------    *
 *   Copyright (C) 1998-2010 web-studio "Cherry-Design"                        *
 *   URL: http://www.cherry-design.spb.ru/                                     *
 *   E-mail: cherry-design@mail.ru                                             *
 *                                                                             *
 *******************************************************************************/

/* Общие настройки стиля
-------------------------------------------------------------------------------*/

body {
    width: 95%;
    margin: 0px auto;
    padding: 0px;
    font-family: "Arial", "Verdana", "Helvetica", "sans-serif";
    font-size: 10pt;
    background: #202020 url("../pic/background.png") left top repeat-x;
}a.current {   color: black;   font-weight: bold;  }

/* Заголовок сайта
-------------------------------------------------------------------------------*/

#header {
    width: 95%;
    height: 87px;
}

#header h1, #header p {
    display: none;
}

/* Заголовок
-------------------------------------------------------------------------------*/

#stitle {
    position: absolute;
    padding: 0px;
    margin: -45px 0px 0px 0px;
    font-family: "Candara", "Tahoma", "Verdana", "Helvetica", "sans-serif";
    font-size: 26pt;
    text-align: left;
    color: #ffffff;
	text-decoration: none;
}

#stitle a {
    padding: 2px 5px 4px 5px;
    display: block;
    color: #ffffff;
    text-decoration: none;
}

/* Основное меню
-------------------------------------------------------------------------------*/

#main_menu {
    width: 90%;
    position: absolute;
    padding: 0px;
    margin: -74px 0px 0px 0px;
    font-family: "Tahoma", "Verdana", "Helvetica", "sans-serif";
    font-size: 8pt;
    text-align: right;
    color: #ffffff;
}

#main_menu ul {
    padding: 0px;
    margin: 0px;
    list-style-type: none;
    float: right;
}

#main_menu ul li {
    margin-left: 9px;
    float: left;
}

#main_menu a {
    padding: 2px 5px 4px 5px;
    display: block;
    color: #ffffff;
    text-decoration: none;
}

#main_menu a:hover {
    padding: 1px 4px 3px 4px;
    border: #ffffff 1px dotted;
}

/* Меню пользователя
-------------------------------------------------------------------------------*/

#user_menu {
    width: 90%;
    position: absolute;
    padding: 0px;
    margin: -16px 0px 0px -25px;
    font-family: "Tahoma", "Verdana", "Helvetica", "sans-serif";
    font-size: 8pt;
    text-align: right;
    color: #ffffff;
}

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

#user_menu ul li {
    padding-right: 10px;
    display: inline;
}

#user_menu a {
    color: #a8a8a8;
    text-decoration: none;
}

#user_menu a:hover {
    text-decoration: underline;
} 

/* Основное содержание
-------------------------------------------------------------------------------*/

#content {
    padding: 15px 15px 35px 15px;
    margin: 0px;
    font-family: "Arial", "Tahoma", "Verdana", "Helvetica", "sans-serif";
    font-size: 10pt;
    background: #ffffff url("../pic/content.jpg") left bottom no-repeat;
    color: #000000;
	box-shadow:
        1000px 0 0px 0px rgba(255, 255, 255, 1),
        -1000px 0 0px 0px rgba(255, 255, 255, 1);
}

#content h1 {
    margin: 0px;
    padding: 10px 0px 0px 0px;
    font-family: "Tahoma", "Verdana", "Helvetica", "sans-serif";
    font-size: 20pt;
    font-weight: normal;
    clear: both;
}

#content h2 {
    margin: 0px;
    padding: 10px 0px 0px 0px;
    font-family: "Tahoma", "Verdana", "Helvetica", "sans-serif";
    font-size: 15pt;
    font-weight: normal;
    clear: both;
}

#content h3 {
    font-size: 13pt;
    font-weight: bold;
}

#content h4 {
    font-size: 10pt;
    font-weight: bold;
}

#content h5 {
    font-size: 9pt;
    font-weight: bold;
}

#content h6 {
    font-size: 8pt;
    font-weight: bold;
}

#content hr {
    padding: 20px 0px 0px 0px;
    margin: 5px 0px 25px 0px;
    _margin: 18px 0px;
    border-style: none;
    border-bottom: #000000 1px dotted;
    display: block;
    height: 1px;
    clear: both;
}

#content ul, #content ol {
    margin-top: 10px;
    margin-bottom: 10px;
}

#content dl {
    padding: 0px;
    margin: 18px 0px -5px 0px;
}

#content dl dt {
    font-weight: bold;
}

#content dl dd {
    padding: 0px 0px 15px 0px;
}

#content p {
    margin: 12px 0px 8px 0px;
    padding: 0px;
}

#content pre {
    background-color: #f0f0f0;
    border-top: 1px #c0c0c0 solid;
    padding: 8px;
    margin: 18px 0px;
}

#content address {
    margin: 4px 0px 20px 0px;
    font-style: normal;
    color: #a0a0a0;
}

#content .error {
    background-color: #c00000;
    padding: 0px 5px;
    color: #ffffff;
}

/* Основное содержание (ссылки)
-------------------------------------------------------------------------------*/

#content a {
    color: #35880C;
}

#content a.nopage {
    text-decoration: none;
    border-bottom: 1px dashed;
}

#content a:visited {
    color: #375EC0;
}

#content a:visited:hover {
    color: #35880C;
}

/* Основное содержание (классы выравнивания)
-------------------------------------------------------------------------------*/

#content .float_left {
    float: left;
    clear: left;
    margin: 5px 15px 10px 0px;
}

#content .float_right {
    float: right;
    clear: right;
    margin: 5px 0px 5px 10px;
}

#content .left {
    margin-left: 0px;
    margin-right: auto;
}

#content .right {
    margin-left: auto;
    margin-right: 0px;
}

#content .center {
    margin-left: auto;
    margin-right: auto;
}

/* Основное содержание (таблицы)
-------------------------------------------------------------------------------*/

#content table {
    padding: 0px;
    margin: 0px;
    border-collapse: collapse;
}

#content table .nowiki{
 	border: 0px #ffffff solid;
}

#content table caption {
    padding: 5px 0px 10px 0px;
    margin: 0px;
    text-align: left;
    font-style: italic;
}

#content table tr.highlight {
    background-color: #f0f0f0;
}

#content table th {
    padding: 2px 5px;
    background-color: #8BABD5;
    color: #ffffff;
    border: 1px #666666 solid;
}

#content table td {
    padding: 2px 5px;
    border: 1px #999999 solid;
	background-color: #ffffff;	
}

#content table th.nowiki{
    padding: 2px 5px;
    background-color: #8BABD5;
    color: #ffffff;
	border: 0px #ffffff solid;
}

#content table td.nowiki {
    padding: 2px 5px;
	border: 0px #ffffff solid;
	background-color: #ffffff;
}

#content table td.comm {
    padding: 2px 5px;
	border: 0px #f4f5ff solid;
	background-color: #f4f5ff;
}

/* Основное содержание (изображения)
-------------------------------------------------------------------------------*/

#content img {
    display: block;
}

#content .image_frame {
    display: block;
    margin: 0px;
    padding: 5px;
    border: 1px #666666 solid;
}

#content .image_frame_text {
    display: block;
    text-align: left;
    padding: 5px 0px 0px 0px;
}

#content .center img {
    margin: 12px auto;
}

#content .center .image_frame {
    margin: 12px auto;
}

#content .center .image_frame img {
    margin: 0px auto;
}

/* Основное содержание (формы)
-------------------------------------------------------------------------------*/

#content form  {
    margin: 0px;
    padding: 0px;
}

#content form dl {
    margin: 26px 0px 20px 120px;
    padding: 0px;
}

#content form dl dt {
    position: absolute;
    margin: 0px 0px 0px -120px;
    padding: 5px 0px;
    font-weight: normal;
}

#content form dl dd {
    margin: 2px 0px 4px 0px;
    padding: 2px 0px;
}

#content form ul {
    list-style-type: none;
    padding: 0px;
    margin: 15px 20px;
}

#content form textarea {
    margin: 7px 0px;
    width: 90%;
    padding: 2px 2px;
}

#content form p {
    margin: 26px 0px 20px 0px;
    padding: 0px;
}

#content form p.button {
    margin: 0px 0px 0px 120px;
    padding: 0px;
}

/* Основное содержание (панель инструментов редактирования)
------------------------------------------------------------------------------*/
#content form p.toolbar {
    display: block;
    height: 24px;
    margin-top: 20px;
    margin-bottom: -30px;
    padding: 0px;
    background: #ffffff url("../pic/toolbar.gif") top left no-repeat;
}

#content form p.toolbar a {
    display: block;
    width: 24px;
    height: 24px;
    float: left;
}

#content form p.toolbar a.separator {
    margin-right: 8px;
}

#content form p.toolbar a span {
    display: none;
}

/* Основное содержание (календарь блога)
------------------------------------------------------------------------------*/

#content ul.calendar {
    width: 100%;
    list-style-type: none;
    margin: 20px 0px 0px 0px;
    padding: 0px;
}

#content ul.calendar li {
    width: 187px;
    height: 187px;
    margin: 0px;
    padding: 0px;
    float: left;
}

#content ul.calendar li table {
    width: 155px;
    margin: 0px 0px 0px 18px;
}

#content ul.calendar li table caption {
    text-align: left;
    font-style: italic;
}

#content ul.calendar li table th,
#content ul.calendar li table td {
    margin: 0px;
    padding: 1px;
    text-align: center;
    font-weight: normal;
}

#content ul.calendar li table td.weekday {
    background-color: #f0f0f0;
}

#content ul.calendar li table th a,
#content ul.calendar li table th a:hover,
#content ul.calendar li table th a:visited {
    color: #ffffff;
}

/* Основное содержание (теги)
------------------------------------------------------------------------------*/

#content .tags {
    color: #a0a0a0;
}

#content .tags a {
    color: #a0a0a0;
}

/* Основное содержание (навигация)
------------------------------------------------------------------------------*/

#content .navigation {
    margin: 0px;
    padding: 15px 0px 0px 0px;
    clear: both;
}

/* Стиль основного столбца
------------------------------------------------------------------------------*/

#content #rightside {
 
border: 0px solid #000;
 float:right;
 width:80%;
 min-width:40%;
 margin-left:0px;
 
}

/* Стиль вертикального меню
------------------------------------------------------------------------------*/

#content #leftside {
 margin-right:20px;
 float:right;
 width:15%;
 min-width:150px;
 border: 0px solid #1FA2E1;
 
}
 
#middle:after {
 
content: '.';
 display: block;
 clear: both;
 visibility: hidden;
 height: 0;
 }

 @media screen and (min-width:100px) and (max-width:760px) {
 
#content #rightside {
 float:none;
 width:100%;
 margin-left:0px;
 
 }
 
#content #leftside {
 margin-right:0px;
 margin-top:25px;
 float:none;
 width:100%;
 
 }
 
}

/* Копирайты
-------------------------------------------------------------------------------*/

#copyright {
    width: 90%;
    height: 47px;
    margin: 0px;
    padding: 0px;
    font-family: "Tahoma", "Verdana", "Helvetica", "sans-serif";
    font-size: 8pt;
	background: #202020;
 /*   background: url("../pic/copyright.jpg") left top repeat-x;  */
    color: #ffffff;
    clear: both;
}

#copyright ul {
    margin: 0px;
    padding: 5px 32px 0px 0px;
    list-style-type: none;
    text-align: left;
}

#copyright a {
    color: #ffffff;
    text-decoration: none;
}

#copyright a:hover {
    text-decoration: underline;
}#toTop {      
width: 100px; 	 
background: #8BABD5; 	 
border: 1px solid #666; 	 
text-align: center; 	 
padding: 5px; 	 
position: fixed; 	 
bottom: 10px; 	 
right: 70px; 	 
cursor: pointer;	 
font-weight: bold;	 
color: white; 	 
text-decoration: none;}



/* Дерево многоуровневое  -------------------------------- */  
#multi-derevo {
width: 150px; /* блок под дерево */   
border: none; /* границы блока */   
padding: 0 0 1em 0; /* нижний отступ */   
font-size: 1.1em;  }   span { /* обертка пункта */     
text-decoration: none;	 
font-weight: bold;     
display: block; /* растянем до правого края блока */     
margin: 0 0 0 0;         }    span a {/* тест элемента дерева */      
display: block;       
position: relative;	  
font-weight: normal;      /* top: .95em; /* смещаем узел на середину линии */      /* background-color: #fff; /* закраска в цвет фона обязательна иначе будет видно линию */      
margin: 0 0 .2em .7em; /* делаем промежуток между узлами, отодвигаем левее  */      /* padding: 0 0.3em; /* небольшой отступ от линии */     }    h4 {/* заголовок дерева */     
font-size: 1em;     
font-weight: bold;     
margin: 0;     /* padding: 0 .25em; */     
border-bottom: 1px solid silver;    }   h4 a {     
display: block;   }   ul, li {     
list-style-image:none;     
list-style-position:outside;     
list-style-type:none;     
margin:0;     
padding:0;   }     ul li {      
line-height: 1.2em;     }      ul li ul {        
display: none; /* узлы свернуты */      }        ul li ul li {         
margin: 0 0 0 1.2em;         /* border-left: 1px solid silver; /* цвет вертикальной линии между узлами */        }        li.last {/* последний узел, соединительную линию к след. узлу убираем */         
border: none;         }/*   .marker { /* маркер раскрытия списка в закрытом состоянии */  /*     border-color: transparent transparent transparent transparent;     border-style: solid;      border-width: .25em 0 .25em .5em;       margin: .35em .25em 0 0;      float: left;      width: 0px;      height: 0px;      line-height: 0px;   }/*   .marker.open {/* маркер раскрытия списка в открытом состоянии *//*     border-color: transparent transparent transparent transparent;     border-width: 0 .25em 0 .25em;     }*/  /* IE 6 Fixup */  * html 
#multi-derevo * { height: 1%;}  * html .marker { border-style: dotted dotted dotted solid; }  * html .marker.open { border-style: solid dotted dotted dotted; }

.splCont{display:none; padding:3px 5px;}
