/* 
	@author Ilya Furman smashlong@gmail.com
	
	Layout, header, footer
*/

/*basic page layout*/
#theall {
	display: table;
	width: 1020px;
	height: 100%;
	margin: 0 auto;
}
#wrap-vertical {
	display: table-cell;
	vertical-align: middle;
}
#content {
	position: relative;
	height: 750px;
	border: 1px solid #000;
	border-top: 2px solid #000;
	border-bottom: 2px solid #000;
}

/*content layout*/
#top-menu-column,
#top-content-column {
	position: absolute;
	top: 0;
	height: 520px;
}
#top-menu-column {
	left: 0;
	width: 200px;
	padding-left: 15px;
}
#top-content-column {
	left: 215px;
	width: 800px;
}
#footer {
	position: absolute;
	bottom: 0;
	width: 1019px;
	height: 230px;
	border-top: 1px solid #000;
	overflow: hidden;
}

/*main menu*/
ul.mainMenu {
	list-style: none;
}
ul.mainMenu li {
	border-top: 1px solid #000;
}
ul.mainMenu a {
	display: block;
	height: 26px;
	line-height: 26px;
	padding: 0 20px;
	text-decoration: none;
	font-size: 1.3em;
	font-weight: bold;
	color: #000;
}
ul.mainMenu a:hover {
	background-color: #e3e5f1;
}

/*logo*/
h1#logo {
	position: relative;
	width: 115px;
	height: 245px;
	margin-left: 45px;
	border-top: 15px solid #011382;
	border-bottom: 30px solid #011382;
}
h1#logo a {
	position: absolute;
	width: 122px;
	height: 145px;
	top: 60px;
	left: -3px;
	background: url(/pic/logo.gif) center no-repeat;
}
#content {
	background: #FFF url(/pic/content-bg.gif) 70px 0 no-repeat;
}

/*top content layout*/
#top-content-column #content-left,
#top-content-column #content-right {
	position: absolute;
	
}
#top-content-column #content-left {
	width: 225px;
	height: 380px;
	bottom: 0;
	padding: 15px 0;
	border-top: 1px solid #001382;
}
#content-left-reducer {
	margin: 0 20px 0 38px;
}
#top-content-column #content-right {
	position: absolute;
	top: 43px;
	left: 270px;
	width: 530px;
	height: 470px;
}

/*footer*/
#footer-left,
#footer-right {
	position: absolute;
	top: 0;
	height: 230px;
}
#footer-left {
	width: 565px;
	padding: 0 15px 0 20px;
}
#footer-right {
	left: 600px;
	width: 366px;
	padding: 0 26px;
}

/*footer columns*/
#footer-left {
	background: url(/pic/decor/footer-left-bg.gif) 0 0 no-repeat;
}
#footer-left,
#footer-right {
	background-color: #e3e3e3;
}

/*our work*/
ul.ourWork {
	list-style: none;
	height: 20px;
	padding: 10px 0;
}
ul.ourWork li {
	float: left;
	border-left: 1px solid #ae1f0b;
	padding: 0 2px;
	font-size: 1.1em;
}
ul.ourWork li, 
ul.ourWork li a {
	float: left;
	color: #ae1f0b;
}
ul.ourWork li.first {
	position: relative;
	border: none;
	margin-right: -1px;
	padding: 3px;
	padding-right: 6px;
	background-color: #FFF;
	z-index: 2;
}
ul.ourWork li a {
	position: relative;
	display: block;
	text-decoration: none;
	padding: 3px;
}
ul.ourWork li a ins {
	display: block;
	position: absolute;
	bottom: -6px;
	width: 11px;
	height: 6px;
	background: url(/pic/decor/ourwork-hover.gif) -100px bottom no-repeat;
	font-size: 0;
	left: 50%;
	margin-left: -6px;
}
ul.ourWork li a:hover {
	color: #FFF;
	background-color: #ae1f0b;
}
ul.ourWork li a:hover ins {
	background-position: center bottom;
}

#footer-left ul.ourWork {
	float: right;
}

/*timeline*/
.timeline {
	position: relative;
	padding-left: 4.1em;
	font-size: 1.1em;
}
.timeline dt {
	position: absolute;
	left: 0;
	width: 3em;
	border-right: 1px solid #000;
	padding-right: 4px;
	font-weight: bold;
}
.timeline dd {
	line-height: 140%;
}
.timeline dd a {
	color: #000;
	text-decoration: none;
}
.timeline dd a:hover {
	text-decoration: underline;
}

#footer-left .timeline {
	padding-top:  1.5em;
}

#footer-left .rss-allnews {
	margin-top: 1em;
}
#footer-left .rss-allnews .rss {
	margin-right: 1.5em;
}

#super-footer {
	position: absolute;
	border-top: 2px solid #000;
	background-color: #ccc;
	bottom: 0;
	left: 3px;
	width: 576px;
	height: 40px;
	line-height: 40px;
	padding: 0 5px 0 13px;
	overflow: hidden;
}
#super-footer p {
	display: inline;
	margin-right: 1.5em;
}
ul.counters {
	list-style: none;
	position: absolute;
	right: 5px;
	top: 5px;
}
ul.counters li {
	float: left;
	width: 88px;
	height: 31px;
	margin-right: 5px;
}

/*footer right column*/
#footer-right {
	
}
.about-us {
	position: relative;
}
.about-us .about-us-moar {
	position: absolute;
	top: 16px;
	right: 11px;
}
.about-us .about-us-header {
	float: left; clear: both; 
	height: 29px;
	padding-left: 7px;
	line-height: 25px;
	background:  url(/pic/decor/about-us-door.gif) bottom left no-repeat;
	font-size: 1.1em;
	color: #FFF;
}
.about-us .about-us-header em {
	position: relative;
	float: left;
	display: block;
	height: 29px;
	margin-right: -7px;
	padding: 0 21px 0 16px;
	background:  url(/pic/decor/about-us-door.gif) bottom right no-repeat;
	font-style: normal;
}
.about-us .about-us-sub,
.about-us .about-us-item {
	font-size: 1.1em;
}
.about-us .about-us-sub {
	display: block;
	font-style: normal;
	font-weight: bold;
	margin-top: 1em;
}
.about-us .about-us-item {
	line-height: 150%;
}



/*index page*/
#aboutUs {
	position: relative;
	
	margin-top: -20px;
	
	width: 265px;
	height: 240px;
	padding: 0 160px 0 85px;
	padding-top: 55px;
	border-left: 1px solid #000;
	border-bottom: 1px solid #000;
}

#aboutUs div.projicons {
	position: absolute;
	width: 160px;
	height: 240px;
	left: 350px;
}

#aboutUs span#projects {
	float:left;
}

#aboutUs .vertical-scroller {
	top:45px;
	left:145px;
}

ul.newspapers {
	list-style: none;
}
ul.newspapers li {
	width: 115px;
	height: 45px;
	padding-right: 15px;
	padding-top: 5px;
	background: url(/pic/newspapers.gif) right top no-repeat;
	text-align: right;
}
ul.newspapers li.vip {
	background-position: right bottom;
}

#aboutUs ul.newspapers {
/*	position: absolute;
	top: 40px;
*/
	right: 0;
}

#aboutUs .inproper {
	position: absolute;
	left: -48px;
	top: 15px;
}

#aboutUs p.text {
	margin-bottom: 0.4em;
}
#aboutUs p a {
	font-weight: bold;
}
#aboutUs p a.invert {
	margin-left: 2em;
}


/*faces*/
.faces {
	position: relative;
	padding-top: 15px;
	height: 185px;
	zoom: 1;
}

.faces .faces-scroller-wrapper {
	position: absolute;
	left: 25px;
	top: 15px;
	width: 145px;
	height: 170px;
	padding-left: 5px;
	margin-right: 10px;
	overflow: hidden;
}

.faces .faces-list {
	position: relative;
	top: 0px;
}
.faces .faces-list ul {
	list-style: none;
}
.faces .faces-list-item {
	float: left;
	margin-right: 3px;
	margin-bottom: 0px;
}
.faces .faces-list-item img {
	width: 56px;
	height: 54px;
	border: 1px solid  #b1b1b1;
}

/*vertical blue scroller*/
.vertical-scroller {
	position: absolute;
	left: 0;
	top: 15px;
	width: 25px;
	height: 172px;
	background: url(/pic/decor/vertical-scroller-bg.gif) top center no-repeat;
}
.vertical-scroller .vertical-scroller-control {
	position: absolute;
	top: 50%;
	width: 15px;
	height: 18px;
	left: 5px;
	background: url(/pic/decor/vertical-scroller-controls.gif) top left no-repeat;
	cursor: pointer;
}
.vertical-scroller .vertical-scroller-top {
	margin-top: -39px;
}
.vertical-scroller .vertical-scroller-bottom {
	margin-top: -12px;
	background-position: bottom left;
}

/*face*/
.face {
	position: relative;
	margin-left: 160px;
	padding-left: 167px;
	padding-right: 15px;
	padding-top: 0;
}
.face img {
	position: absolute;
	left: 0;
	top: 0;
	width: 157px;
	height: 171px;
}
.face h4,
.face p.text {
	font-size: 1.0em;
}
.face .inproper {
	position: absolute;
	top: -25px;
	right: 35px;
	z-index: 2;
	padding: 0 5px;
}


/*inner page*/
#content-right h2.proper {
	color: #ae1f0b;
	margin-bottom: 18px;
}

#inner #content-left {
	padding-top: 3px;
	padding-bottom: 25px;
}

.content-scroller {
	position: relative;
	height: 390px;
	border-bottom: 2px solid #8b8b8b;
}
.content-scroller .content-scroller-wrapper {
	height: 100%;
	overflow: hidden;
	position: absolute;
}
.content-scroller-wrapper .content-scroller-content {
	position: relative;
	top: 0px;
}
.content-scroller .scroll {
	position: absolute;
	right: 10px;
	width: 60px;
	height: 10px;
	text-indent: -32768px;
	overflow: hidden;
	outline: none;
	cursor: pointer;
}
.content-scroller .scroll-top {
	top: -13px;
	background: url(/pic/decor/scroll-top.gif) center no-repeat;
}
.content-scroller .scroll-bottom {
	bottom: -20px;
	background: url(/pic/decor/scroll-bottom.gif) center no-repeat;
}
#inner #content-left .content-scroller .scroll-top {
	top: -20px;
}
#inner #content-right .content-scroller {
	height: 390px;
}
#inner #content-right .content-scroller .scroll-top {
	top: -45px;
}

/*photos*/
.photo-wrapper {
	font-size: 1.0em;
}
.photo-wrapper span {
	display: block;
	margin-top: 1px;
	border-bottom: 1px solid #ae1f0b;
	background-color: #FFF;
	padding: 3px 5px;
	color: #000;
	font-size: 100%;
}
.photo-wrapper img {
	display: block;
/*	width: 185px;*/
	height: 115px;
	border: 1px solid #0c1e88;
}

.bio_img {
	position: relative;
	left: 0;
	top: 0;
	width: 157px;
	height: 171px;
	float: left;
	margin-right: 10px;
}
.bio_link {
	position: absolute;
	left: 0;
	cursor: pointer;
	top: -13px;
}

.projicon-scroller-wrapper {
	position: absolute;
	left: 0px;
	top: 15px;
	width: 145px;
	height: 200px;
	padding-left: 5px;
	margin-right: 10px;
	overflow: hidden;
}

.projicon-list {
	position: relative;
	top: 0px;
}

