/* Стандартные стили и переопределения */
* { -moz-box-sizing: border-box; box-sizing: border-box; }
HTML { height: 100%; width: 100%; }
BODY {
	padding: 0;
	margin: 0;
	min-width: 999px;
	height: 100%;
	/*background: #FFF url(../img/top-x-bg.gif) repeat-x 0 0;*/
	color: #000;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 70%;
}
TABLE { border-collapse: collapse; }
TD, TH { padding: 0; font-size: '70%'; vertical-align: top; }
P { margin: 0; padding: .5em 0; line-height: 115%; }
HR { height: 1px; color: #CCC; background: #CCC; border: none; }
STRONG { font-weight: bold; }
EM { font-style: italic; }
/* Ссылки */
A.alt { color: #D62B03 !important; }
A:link { color: #003399; }
A:visited { color: #637FA5; color3: #003399; }
A:hover { color: #DE0101; }
A:active { color: #DE0101; color2: #888; color3: #003399; }
A { text-decoration: underline !important; }
/* Заголовки */
H1 { margin: 0; clear: left; font-size: 145%; color: #484848; padding: .2em 0 0 !important; }
H2 { margin: 0; clear: left; color: #EC0000; font-size: 145%; padding: .6em 0 0 !important; }
H3 { margin: 0; clear: left; font-size: 120%; padding: .6em 0 0 !important; }
H3 A, H3 A:visited { color: #003399; }
H3 A:hover { color: #DE0101; }
/* Списки */
UL { padding: .5em 0 .5em 35px; margin: 0; display: block; list-style: square url(../img/marker.gif); }
UL LI { margin: 0; padding: .2em 0 .3em; }
OL { padding: .5em 15px .5em 40px; margin: 0; }
OL LI { padding: .2em 0; }
LI P { padding: 0; }
CITE { display: block; color: #666; }
BLOCKQUOTE { width: 90%; margin: .7em 0; margin-left: 18px; color: #001C43; padding: 4px 12px; border-left: 1px solid #484848; }

TABLE.blockquote { margin: .4em 0; width: 100%; }
DIV.blockquote { margin-left: 20px; background: url(../img/blockquote-bg-x.gif) repeat-x 0 0; }
DIV.blockquote DIV { background: url(../img/blockquote-arc11.gif) no-repeat 0 0; }
DIV.blockquote DIV DIV { background: url(../img/blockquote-arc22.gif) no-repeat 100% 100%; }
DIV.blockquote DIV DIV DIV { background: url(../img/blockquote-arc12.gif) no-repeat 100% 0; }
DIV.blockquote DIV DIV DIV DIV { padding: 11px 21px 14px; background: url(../img/blockquote-arc21.gif) no-repeat 0 100%; } 

HR { height: 1px; color: #EAEAEA; background: #EAEAEA; border: none; clear: left; }
/* Формы */
FORM { padding: 0; margin: 0; }
INPUT, SELECT, TEXTAREA { font-size: 11px; font-family: Tahoma, Arial, Helvetica, sans-serif; }
/* Изображения */
A IMG { border: none; }
IMG.block { display: block; }
IMG.left { margin: 2px 10px 2px 0; float: left; }
IMG.right { margin: 2px 0 2px 10px; float: right; }
IMG.inline { margin: 2px 5px; display: inline; }
IMG.txt { margin: 0 4px; display: inline; vertical-align: middle; }
.floatleft { float: left; }

IMG.rss { float: left; margin: 5px 0 0 10px; }
IMG.rss2 { float: left; margin: 15px 0 0 20px; }

TABLE.img { width: 1%; }
TABLE.img TD { border: 1px solid #889DB8; padding: 3px; }
TABLE.img TD IMG { display: block; }

TABLE.left { margin: 7px 12px 5px 0; float: left; }
TABLE.right { margin: 7px 0 5px 12px; float: right; }
TABLE.inline { margin: 5px 12px; display: inline; }

/* Универсальные стили */
.w100 { width: 100% !important; width: '100%' }
.w80 { width: 80%; }
.w60 { width: 60%; }
.w50 { width: 50%; }
.w40 { width: 40%; }
.wlarge { width: 62%; }
.wmedium { width: 40%; }
.w33 { width: 33%; }
.wsmall { width: 20%; }
.wauto { width: auto; }

.top { vertical-align: top !important; }
.bot { vertical-align: bottom !important; }
.middle { vertical-align: middle; }

.tsmall { font-size: 85% !important; }
.tlarge { font-size: 125% !important; }
.tlight { color: #777 !important; }
.italic { font-style: italic; }

.pf { padding: .5em 0; }
.mf { margin: .8em 0; }
.left { float: left; }
.right { float: right; }
.nobr { white-space: nowrap; }
.nobrd { border: none !important; }
.rltv { position: relative; }

.red { color: #EC0000; }

/* ДЛЯ ТЕСТА */
TABLE.test { border: 1px solid red !important; }
TABLE.test TD { border: 1px solid Green !important; }
TABLE.test TD TD { border: none !important; }
TD.test, TH.test { border: 1px solid blue !important; }
DIV.test { border: 1px solid green  !important; }
H1.test { border: 1px solid red !important; }

.visible {visibility: visible;}
.notvisible {visibility: hidden;}

.bold {font-weight: bold;}
