/*-----------------------------------------------------------------------------
Glavnicky.ru Screen Stylesheet

version:   1.0
date:      03/12/07
author:    Alexander Chuprin
email:     a.s.chuprin@gmail.com
website:   www.chuprin.com

-----------------------------------------------------------------------------*/


/* Global 
---------------------------------------------------------- */

* {	padding:0; margin:0; }
html, body { width: 100%; height: 100%; }
body {
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 62.5%;
	color: #5e5643;
	background: #f2efe8;
}
p, pre, blockquote, form, label, ul, ol, dl, fieldset, address {
	margin: 15px 0;
	font-size: 1em;
}
h1, h2, h3, h4, h5, h6 {
	margin: 25px 0 15px 0;
}
li, dd, blockquote { 
	margin-left: 30px; 
}

h1 { font-size: 1.4em; }
h2 { font-size: 1.2em; }
h3 { font-size: 1.1em; }
h4 { font-size: 1.0em; }
h5 { font-size: 0.9em; }
h6 { font-size: 0.8em; }

/* Table */
table { border-collapse: collapse; border: 0; }
table td { padding: 0px; vertical-align: top; text-align: left; }

/* Inputs */
input { padding-left: 3px; }

/* Lists */

.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clearfix {display: inline-block;}
* html .clearfix {height: 1%;}
.clearfix {display: block;}

.last { border-bottom: none !important; border-right: none !important; margin-right: 0 !important; background: none !important; }

.left { text-align: left; }
.right { text-align: right; }
.center { text-align: center; }
.middle { vertical-align: middle; }
.fleft { display: block; float: left; }
.fright { display: block; float: right; }

/* Links 
---------------------------------------------------------- */

a img { border: 0; }
a {
}
a:hover, a:focus, a:active {
}
:focus
{
  -moz-outline-style: none;
}
/* Layout 
---------------------------------------------------------- */

#page { width: 767px; padding: 0 30px 0 0; font-size: 1.1em; }
#header { overflow: auto; zoom: 1; padding: 42px 0; }
#index-page #header { position: absolute; top: 50%; left: 0; width: 767px;; margin: -86px 0 0 0; }
#content { background: url(../images/content_corner_rt.gif) #fff 100% 0% no-repeat; }
#content .wrapper { padding: 42px 35px 40px 63px; background: url(../images/content_corner_rb.gif) 100% 100% no-repeat; overflow: hidden; zoom: 1; }
#footer { clear: both; padding: 24px 0 50px 168px; overflow: auto; zoom: 1; }

/* Header
---------------------------------------------------------- */

#logo { float: left; background: url(../images/logo.gif) 0 50% no-repeat; font: bold 1.54em Trebuchet MS; }
#logo a { display: block; width: 172px; padding: 31px 0 31px 168px; text-decoration: none; color: #df0023; }

#nav { float: right; }
#nav ul { margin: 0; overflow: auto; zoom: 1; }
#nav ul li { display: inline; float: left; width: 84px; height: 84px; margin: 0 0 0 17px; line-height: 84px; font-weight: bold; text-align: center; }
#nav ul li.active { background: url(../images/nav_active.gif) 50% 50% no-repeat; color: #ffffff; }
#nav ul li a { display: block; width: 100%; background: url(../images/nav_bg.gif) 50% 50% no-repeat; color: #df0023; }
#nav ul li a:hover { background-image: url(../images/nav_hover.gif); }

/* Content
---------------------------------------------------------- */

#project-nav { float: left; width: 150px; margin:0 }
#project-nav ul { margin: 0; overflow: auto; zoom: 1; }
#project-nav ul li { float: left; width: 42px; height: 42px; margin: 0 8px 8px 0; list-style: none; line-height: 42px; text-align: center; font-weight: bold; }
#project-nav ul li.active { background: url(../images/project_nav_active.gif) 50% 50% no-repeat; color: #fff; }
#project-nav ul li a { display: block; width: 100%; background: url(../images/project_nav_bg.gif) 50% 50% no-repeat; text-decoration: none; color: #df0023; }
#project-nav ul li a:hover { background-image: url(../images/project_nav_hover.gif); }

#project-image { margin: -4px 0 0 187px; }



/* Footer 
---------------------------------------------------------- */

#footer h4 { margin: 0; }
#footer-phones { float: left; width: 80px; padding: 0 38px 0 0; border-right: 1px solid #b4afa3; }
#footer-contacts { float: left; width: 130px; padding: 0 0 0 38px; }
#footer-contacts a { color: #5e5643; text-decoration: none; }