html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
:focus {
	outline: 0;
}
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
html {height: 100%}
body {
	font: 12px/18px Tahoma, Arial, Verdana, sans-serif;
	width: 100%;
	height: 100%;
    color:#5a5b5d;
}
a{
	color: #5a5b5d;
	outline: none;
	text-decoration:none;
}
a:hover{
	text-decoration:underline;
}
a.pdf {
	font-size:10px;
	text-decoration: none;
}
h2.pdf {
	text-decoration:underline;
}
p {margin: 0 0 15px}
img {
	border: none;
}
input {vertical-align: middle}
.clear {clear:both;}
#wrapper {
	width:800px;
	margin:0 auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}

/* Header
-----------------------------------------------------------------------------*/
#header {
	position:relative;
	height:175px;
	width:800px;
	margin:0 auto 24px;
	border-bottom:1px solid #5F5F5F;
	/*#969696*/
}
.external #header {
	height: 620px;
	background: url(../images/logo_bg2.gif) no-repeat -21px 143px;
	border:0;
}
#header .logo {
    position:absolute;
	top:96px;
}
#header .menu {
    position:absolute;
	right:0;
	bottom:36px;
}
.external #header .menu {
	left:405px;
	top:535px;
	z-index:10;
}
.external #header .menu ul li a:hover{
	color:rgb(170,186,0);
	text-decoration:none;
	letter-spacing:6px;
}
.external #header .menu ul li {
	display:block;
	background:none;
	height:48px;
	margin:0;
	padding:0;
}
#header .menu ul li {
    position:relative;
    font-size:15px;
    display:inline-block;
    padding-left:10px;
    padding-right:17px;

    line-height:22px;
    color:#aaba00;
    font-weight:bold;
}
#header .menu ul li.last{
	padding-right:0;
}
#header .menu ul li a {
    text-decoration:none;
    line-height:22px;
    font-weight:normal;
}
#header .menu ul li a.active {
    color:#aaba00;
}
#header .menu div.cat_list {
    padding-top:5px;
    width:638px;
}
#header .menu div.cat_name {
    float:left;
    font-weight:bold;
    font-size:11px;
    line-height:12px;
    color:#5a5b5d;
    padding-left:10px;
    padding-right:14px;
}
#header .menu div.active {
    padding-right:12px;
}
#header .menu div.last {
    float:right;
    text-align:right;
    padding-left:0px;
    padding-right:0px;
}
#header .menu .cat_name a {
    font-weight:normal;
    text-decoration:none;
}
#header .menu .cat_name a:hover {
    text-decoration:underline;
}




/* Middle
-----------------------------------------------------------------------------*/
#content {
	margin:0 auto 175px;
	width:800px;
}
.external #content {
	min-height: 40px;
	height: auto !important;
    height: 40px;
    background:none;
}
.news_item{
	margin:40px 0 74px;
}
#content .news_item p{
	text-align:right;
}
#big_foto .item_title,
.news_item span.timestamp{
	float:left;
	font-size:16px;
	color:#969696;
}
.story,.news_item .story{
	margin-left:200px;
	text-align:right;
}
.news_item .full_story{
	margin-top:27px;
	height:400px;
	overflow:auto;
	background-color:#eee;
}
.descr{margin-bottom:27px}

.portfolio_menu{
	margin:65px 0 25px;
	text-align:center;
}
.portfolio_menu li{
	display:inline;
	margin-left:53px;
	padding-bottom:3px;
	border-bottom:1px solid #fff;
}
.portfolio_menu li.active,
.portfolio_menu li:hover{
	border-bottom:1px solid #969696;
}
.portfolio_menu a{
	color:#969696;
	text-decoration:none;
}
.portfolio_menu li:first-child{
	margin:0;
}
.portfolio_index {
	height:460px;
	background-color:#ccc;
}
#content .pitems .pitem {
    float:left;
    width:169px;
    height:169px;
    background:#ecedef;
    margin:1px;
}
#content .pitems .pitem .blank {
    position: relative;
    width:159px;
    height:169px;
    padding-left:10px;
}
#content .pitems .pitem .blank {
    cursor:pointer;
    text-decoration:none;
}
#content .pitems .pitem .blank span {
    display: block;
    width:100px;
    position: absolute;
    bottom:5px;
}
#content .pitems .pitem a:hover .blank span {
    font-size:14px;
    font-weight:bold;
}
#content p {
    text-align:justify;
}

#content .projects #big_foto .picture {
    text-align:center;
}
#content .projects #big_foto .overlay {
    position:absolute;
    top:0px;
    left:0px;
    z-index:2000;
    background:url(../images/overlay.png) repeat top left;
    width:530px;
    height:530px;
}
#content .projects #big_foto .wait {
    position:absolute;
    top:0px;
    left:0px;
    z-index:3000;
    background:url(../images/ajax-loader.gif) no-repeat center center;
    width:530px;
    height:530px;
}
#content .projects .thumbs {
	text-align:justify;
}
#content .projects .thumbs .clear_thumbs,
#content .projects .thumbs .thumb{
	display:inline-block;
	width:380px;
	height:285px;
}
#content .projects .thumbs .clear_thumbs{height:0}
#content .projects .thumbs .thumb a,
#content .projects .thumbs .thumb .blank{
	display:block;
	width:380px;
	height:225px;
	overflow:hidden;
	background-color:#eee;
}
#content .thumb p{text-align:center;margin:12px 0 0}
/* Footer */
#footer {
    position:relative;
    width:800px;
	margin:-175px auto 0;
    height: 175px;
	background:url(../images/footer_bg2.gif) no-repeat 580px bottom;
}
.external #footer {
	background:none;
}
.portfolio-detail #footer {
    background-position:735px bottom;
}
#footer .f_block {
    position:absolute;
	top:110px;
	font-size:10px;
	line-height:12px;
}
.external #footer .f_block {
	left:405px;
}
#footer p{
	margin:0
}
#footer .f_block a {
    text-decoration:none;
}
#footer .f_block a:hover {
    text-decoration:underline;
}
.portfolio-detail #footer .f_block {
    right:289px;
}