/* SOME CORRECTIONS */
/* (en) Correction: margin/padding reset caused too small select boxes. */
option { padding-left: 0.4em; }
/* (en) Forcing vertical scrollbars in Netscape, Firefox and Safari browsers */
html { height: 100%; margin-bottom: 1px; }

/* цвета ссылок и текста ------------------------------------------------*/
.black,  .black a  { color:#000; }
.red,    .red a    { color:#f00; }
.green,  .green a  { color:#090; }
.gray,   .gray a   { color:#999; }
.orange, .orange a { color:#fc0; }

.black a:hover,
.red a:hover,
.green a:hover,
.gray a:hover,
.orange a:hover  { color:#fc0; }

.missingpage {background-color: #eeeeee;}   /* reference to the page that does not exist */
.outerlink { }
.error { color: #CC3333; font-weight: bold; }

/* wiki-форматирование текста -------------------------------------------*/
p.auto { font-size: 100% }

/* **text**     */  .b, strong { font-weight: bold; }
/* //text//     */  .i, em { font-style: italic; }
/* __text__     */  .under, u { text-decoration: underline; }
/* --text--     */  strike, s, strike a:visited, s a:visited, s a:visited, s a:link { color: #999999 }
/*   text       */  .indent { margin-left: 20px }
/* ----         */  hr { margin: 0 0 1em 0; padding: 0 0 0.5em 0; border-bottom: 1px dotted #CCC; border-left: 0; border-right: 0; border-top: 0; background: transparent; }
/* !!text!!     */  .cite { color: #ff0000; font-style:normal; }
/* !!(red)tx!!  */  .cl-red { color: #c00;}
/* !!(green)tx!!*/  .cl-green { color: #080;}
/* !!(blue)tx!! */  .cl-blue { color: #00c;}
/* ??text??     */  .mark { color: #300; background:#fc9; padding: 0.1em 0.2em; }
/* (?term dfn?) */  dfn { font-variant: small-caps; letter-spacing: 0.1em; font-style: normal; cursor: help; border-bottom: 1px dotted #000; }
/* <[citation]> */  blockquote { color: #999; font-style: italic; font-size: 11px; border-left: silver 1px dotted; margin: 10px; padding: 5px 10px; }
/* ++small++    */  small {font-size: 0.8em; }
/* ^^text^^     */  sup {vertical-align: super; font-size: 0.8em; }
/* vvtextvv     */  sub {vertical-align: sub; font-size: 0.8em; }
/* ##text##     */  tt  {font-family:"Courier New", Courier, monospace; font-size:1.1em; color:#333; background:#eee; padding: 0.1em 0.2em;}
/* %%text%%     */  code, .code{ padding: 0 0.5em; border: 1px dotted #aaa; font-size:1.1em; background: #eee; font-family:"Courier New", Courier, monospace; font-size: 1em; width:75%;}
acronym, abbr { border-bottom: .1em dashed #c00; letter-spacing: .07em; cursor: help; }

.note      { margin:1em 0px; padding: 1em; border-top: 1px #bdb dotted; border-bottom: 1px #bdb dotted; background: #cfc; }
.important { margin:1em 0px; padding: 1em; border-top: 1px #ddb dotted; border-bottom: 1px #ddb dotted; background: #ffc; }
.warning   { margin:1em 0px; padding: 1em; border-top: 1px #dbb dotted; border-bottom: 1px #dbb dotted; background: #fc9; }

ol { list-style: decimal; }
ul { list-style: url(../../icons/li2.png) outside; }
li { margin: 2px 0px 2px 25px; }

.page table { margin: 10px 0px; border-collapse: separate; border-spacing: 2px; /* cellspacing */ }
.page td, .page th { padding: 3px 4px; vertical-align: top;}

table.dtable { width: 100%; }
table.usertable tr td, table.usertable tr th { border: 1px solid #eee; border-bottom-color:#ccc; background: url(../../images/td.png) #fff repeat-x top; }

#adminviewtable table{ width: 100%; border: 1px #999 dotted; }
#adminviewtable th { background:#aaa; font-weight:bold; color:#fff; } 
#adminviewtable .even { background:#eee; }

.inputtable table { margin: auto; /*=align:center;*/ border: 1px #ccc dotted; border-spacing: 0px; padding: 2px; } 
.inputtable th { background:#f5f5f5; font-weight:bold; text-align:center; }
.inputtable tr { background:#f5f5f5; }
.inputtable .title { padding: 5px 10px; }

label { cursor:pointer; }

/* шрифты ---------------------------------------------------------------*/
.px11 { font-size: 0.9em; }
.px14 { font-size: 1.2em; font-family: Arial;}
.px20 { font-size: 1.4em; font-family: Arial;}
.lh15  { line-height: 1.8em; }

/* рамки рисунков и границы блоков  -------------------------------------*/
img.b4  { padding:4px; border:#ccc solid 1px; }
img.b1  { padding:1px; border:#ccc solid 1px; }


.br-t  { border-top: #ccc solid 1px;}
.br-b  { border-bottom: #ccc solid 1px;}
.br-l  { border-left: #ccc solid 1px;}

/* выравнивание и отступы -----------------------------------------------*/
.tx-left  { text-align: left; }
.tx-right { text-align: right; }
.fl-left  { float: left;  margin-right: 10px; }
.fl-right { float: right; margin-left:  10px; }
.center { margin: auto; text-align: center; }

.p50-l   { padding-left: 50px; }
.p20-l   { padding-left: 20px; }
.p10-l   { padding-left: 10px; }
.p50-r   { padding-right: 50px; }
.p20-r   { padding-right: 20px; }
.p10-r   { padding-right: 10px; }
.m20-b   { margin-bottom: 20px; }
.m10-b   { margin-bottom: 10px; }
.m5-b    { margin-bottom: 5px; }
.m20-t   { margin-top: 20px; }
.m10-t   { margin-top: 10px; }
.m5-t    { margin-top: 5px; }

/* позиционирование фона ------------------------------------------------*/
.bg_tl { background: url(../../images/frame/corner.png) no-repeat 0% 0%;}
.bg_tr { background: url(../../images/frame/corner.png) no-repeat 100% 0%;}
.bg_bl { background: url(../../images/frame/corner.png) no-repeat 0px 100%;}
.bg_br { background: url(../../images/frame/corner.png) no-repeat 100% 100%;}
.bg_t  { background: url(../../images/frame/hor.png)  repeat-x 0% 0%;}
.bg_b  { background: url(../../images/frame/hor.png)  repeat-x 0% 100%;}
.bg_l  { background: url(../../images/frame/vert.png) repeat-y 0% 0%;}
.bg_r  { background: url(../../images/frame/vert.png) repeat-y 100% 0%;}