/******************* main elements **********************/
html, body, ul, ol, li, p, h1, h2, h3, h4, h5, h6, form, fieldset, a, div, img, input, fieldset, blockquote, cite
{
    margin: 0;
    padding: 0;
    border: 0;
}

.clear{clear: both;}
.space{height: 35px;}
.left{float: left;}
.right{float: right;}

html
{
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 62.5%;
    height: 100%;
}

body
{
    font-size: 1.2em;
    color: #323232;
    height: 100%;
    background: #fff url(../images/start-bg.gif) repeat-x;
}

a
{
	color: #C50D0C;
	text-decoration: none;
}

a:hover
{
    text-decoration: underline;
}

h2{
    font-size: 1.7em;
    font-weight: normal;
    color: #323232;
    padding: 0 0 15px 0;
    margin: 0 0 15px 0;
    border-bottom: 1px solid #cacaca;
}

h3{
	font-size: 1.6em;
	font-weight: normal;
	margin: 0 0 15px 0;
	color: #860908;
}

h4{
	font-size: 1.3em;
	font-weight: normal;
	margin: 0 0 15px 0;
	color: #860908;
	padding: 15px 0 0 0;
}

table{
	border-bottom: 1px solid #dadada;
}

th, td{
	padding: 5px 5px 5px 5px;
	text-align: left;
	border: 0px solid #dadada;
	margin: 0px;
	background: url(../images/shadow-back.gif) repeat-x left bottom;
	font-size: 0.9em;
	font-weight: normal;
}


/******************* main text area elements *******************/
#text h3{
	padding: 15px 0 0 0;
}

#text p, #text ul, #text ol{
	line-height: normal;
	padding: 0 0 15px 0;
	color: #444444;
}

#text ul, #text ol{
	padding: 0 0 15px 30px;
}

#text ul ul, #text ul ol, #text ol ol, #text ol ul{padding: 0 0 0 30px;}

#text img{
	padding: 3px;
	border: 1px solid #999;
	vertical-align: middle;
	margin: 0 20px 10px 0;
}

#text table img{
    padding: 3px;
    border: 1px solid #DEDFDE;
    vertical-align: middle;
    margin: 0;
}

#text img.right{
    float: right;
    margin: 0 0 10px 10px;
}

#text .noborder{
    border: 0;
}

blockquote{
    font-size: 0.9em;
    background: url(../images/blockquote-middle.gif) repeat-y;
    margin: 0 0 15px 0;
}

#text blockquote p{
    padding: 0;
}

blockquote div{
    background: url(../images/blockquote-start.gif) no-repeat;
    padding: 15px 25px 5px 45px;
}

blockquote cite{
    width: 533px;
    height: 29px;
    display: block;
    background: url(../images/blockquote-end.gif) no-repeat right top;
    font-style: italic;
    font-weight: bold;
    color: #798263;
}


/***************************** layout divs *******************/

#wrapper{
    width: 945px;
    margin: 0 auto -80px auto; 
    min-height: 100%;
    height: auto !important;
    height: 100%;
}

#header{
    padding: 50px 15px 0 20px;
}

#logo{
	width: 400px;
	float: left;
}

#contacts{
	width: 200px;
	float: right;
	margin: -5px 15px 5px 0;
	font-size: 0.9em;
	text-align: right;
	line-height: 1.4;
	color: #999;
}

#text{
	width: 660px;
	float: left;
	margin: 100px 0 40px 50px;
	padding: 10px 10px 10px 10px;
}



#adsense-sidebar {
	width: 160px;
	float: right;
	margin: 110px 0 0 0;
	background-color: #F5F5F5;
}




/******************* footer *****************************/

.push{height: 80px;}

#footer{height: 80px;}

#footer{
    background: #E3E2E3 url(../images/footer-shadow.gif) repeat-x;
}

#footer p{
    width: 300px;
    margin: 0 auto; 
    padding: 40px 0 0 15px;
    font-size: 0.9em;
}
