/*font-size: 62.5%	1em = 10px*/
/* BLOCKS */
#all-site { background: url(../images/allsite.jpg) repeat-x;min-height:100%; height:auto!important; height:100%; margin-bottom:-46px;}
#lang {position:absolute; left:84%; top:30px; height:30px;width:150px;}
#lang a {text-decoration:none;display:block;float:left;padding-left:22px;}
#lang a:hover {text-decoration:underline;}
#lang a.rus {background:url(../images/rus.png) no-repeat;margin-left:5px;}
#lang a.en {background:url(../images/en.png) no-repeat;}

#header { background: url(../images/head.jpg) repeat-x; height:95px; float:left; width:100%;}
		#logo { float:left;}
		#phone { background:url(../images/phone.gif) 0 10px no-repeat; margin:0 0 0 45px; float:left;position:relative;height:95px; width:566px;}
		
#wrapper {background:url(../images/w_l.gif) repeat-y; margin:0 5px; }
	#container { background:url(../images/w_r.gif) right repeat-y;}
	#content { float:right; width:77%; padding:0 0 0 1%;}
	#sidebar { float:left; width:22%;}
	#block {width:95%; float:left;	max-width:1000px;}
	#right {}
	#footer {background:url(../images/footer.gif) repeat-x; clear:both;}
		#f_l { background:url(../images/footer_l.gif) no-repeat; color:#FFF; padding:3px 0 0 0; text-align:center;height:43px;}


/* TYPOGRAPHY */
html, body { height:100%;}
html { font-size: 62.5%; font-family: Arial, Helvetica, sans-serif;} 
body { background:url(../images/background.gif);font-size:1.2em; line-height: 1.6em; color: #903;}
strong, b, th, thead td, em { font-weight: bold; }
h1, h2, h3, h4, h5, h6 { font-family: "Segoe UI", Arial, Helvetica, sans-serif; font-weight: bold; }
h1 { font-size: 1.8em; margin: 1em 0 .6em; }
h2 { font-size: 1.6em; margin: 1.07em 0 .535em; }
h3 { font-size: 1.4em; margin: 1.14em 0 .57em; }
h4 { font-size: 1.3em; margin: 1.23em 0 .615em; }
h5 { font-size: 1.2em; margin: 1.33em 0 .67em; }
h6 { font-size: 1.0em; margin: 1.6em 0 .8em }
cite, em, dfn, i { font-style: italic; }
code, kbd, samp, pre, tt, var, input[type='text'], input[type='password'], textarea { font-size: 92%; font-family: "Lucida Console", "Courier New", Courier, monospaced; }
code, pre { color: #c33c33; } 
del, strike, s  { text-decoration: line-through; color: #666; }
ins, dfn, u { border-bottom: 1px solid #ccc; }
small, sup, sub { font-size: 85%; }
big { font-size: 130%; }
abbr, acronym { text-transform: uppercase; font-size: 85%; letter-spacing: .1em; }
a abbr, a acronym { border: none; }
abbr[title], acronym[title], dfn[title] { cursor: help; border-bottom: 1px solid #ccc; }
sup { vertical-align: super; font-family: Arial, Helvetica, sans-serif; }
sub { vertical-align: sub; font-family: Arial, Helvetica, sans-serif; }
hr { display: block; background: #aaa; color: #aaa; width: 100%; height: 1px; border: none; }
blockquote { border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; color: #666; padding: 0 1em; margin: 1.6em 0; }
blockquote *:first-child { margin: .8em 0; }
blockquote *:first-child:before { content: "\00AB"; }
blockquote *:first-child:after { content: "\00BB"; }
q { quotes: "\00AB" "\00BB" "\2018" "\2019"; }
/* WRAPPER ONLY */
#comp_main hr, #comp_main p, #comp_main ul, #comp_main ol, #comp_main dl, #comp_main pre, #comp_main blockquote, #comp_main address, #comp_main table, #comp_main form { margin-bottom: 1.2em; }
#comp_main p+p, #wrapper p+ul, #wrapper p+ol { margin-top: -0.8em; }
#comp_main caption { padding-bottom: .8em; } /* padding instead of margin for IE */
#comp_main form div { margin-bottom: .8em; }
#comp_main blockquote p { margin-bottom: .8em }
/* SIDEBAR ONLY */
.sidebar { line-height: 1.3em; }

/* LISTS */
li { list-style:disc;}
#comp_main ul { margin-left: 1.5em; }
#comp_main ul li { margin-left: .85em; margin-bottom:10px; }
#comp_main ul li ul { margin-left: 2.5em; }
#comp_main ul li ol li { list-style-position: outside; list-style-type: decimal; margin-left: 1.35em; text-indent:0 }
#comp_main ol { list-style-position: outside; list-style-type: decimal; margin-left: 2.35em; }
#comp_main dt { font-weight: bold; margin-top: .8em; margin-bottom: 0; }
#comp_main ol ol, #comp_main ul ol { margin-left: 2.5em; }
#comp_main ul ul, #comp_main ol ol, #comp_main ul ol,#comp_main ol ul { margin-bottom: 0 }

/* FORMS */
fieldset { border: 1px solid #ccc; padding: 0 1em 1em 1em; margin: 1.6em 0; } /* padding-top is margin-top for fieldsets in Opera */
legend { background: #fff; padding-left: .8em; padding-right: .8em; }
legend+* { margin-top: 1em; } /* compensates for the opera margin bug */
textarea, input[type='text'], input[type='password'], input[type='submint'], select { border: 1px solid #ccc; background: #fff; }
textarea, input { padding: .3em .4em .15em .4em; }
select { padding: .1em .2em .1em .2em; }
option { padding: .1em .4em 0; }
textarea:hover, input[type='text']:hover, input[type='password']:hover, select:hover { border-color: #aaa; }
textarea:focus, input[type='text']:focus, input[type='password']:focus, select:focus { border-color: #888; outline: 2px solid #DCDAFC; }
input, select { cursor: pointer; }
input[type='text'], input[type='password'] { cursor: text; }

/* TABLES */
/*table { border-top: 1px solid #ccc;  border-left: 1px solid #ccc; }
th, td { border-bottom: 1px solid #ccc; border-right: 1px solid #ccc; padding: .4em .6em; }*/

/* LINKS */
#wrapper a:link { text-decoration: underline; color: #903; }
#wrapper a:visited { text-decoration: underline; color:#903; }
#wrapper a:hover { text-decoration: none; color: #666; }
#wrapper a:active, a:focus { text-decoration: underline; color: #000; }