/* Classes */

.clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.clearfix { display: inline-block; }
html[xmlns] .clearfix { display: block; }

.clear { display: block; clear: both; font-size: 1px; line-height: 1px; height: 1px; }

.hidden { display: none; }
.show { display: block; }

.fleft { float: left; }
.fright { float: right; }

img.fleft { float: left; margin: 0 10px 5px 0; }
img.fright { float: right; margin: 0 0 5px 10px; }

.aleft { text-align: left; }
.aright { text-align: right; }
.acenter { text-align: center; }

/* Main */

* { margin: 0; padding: 0; }
html { height: 100%; }
body { position: relative; margin: 0; padding: 0; color: #444549; font-size: 0.75em; font-family: Arial; line-height: 1.6; background: #fff; height: 100%; }

h1, h2, h3, h4, h5, h6, 
p, ul, ol, dl { margin-top: 0; margin-bottom: 0; padding-top: 10px; padding-bottom: 10px; }

h1, h2, h3 { padding-top: 20px; color: #DA251C; font-family: "Arial Narrow"; }
h1 { font-size: 2.25em; }
h2 { font-size: 1.9em; font-weight: normal; }
h3 { font-size: 1.5em; font-weight: normal; }

pre { overflow: auto; padding: 5px 10px 10px 10px; font-size: 1em; font-family: Courier; line-height: 1.2; padding: 10px; background: #F8F8F8; border-left: 4px solid #999999; }
img.pic { padding: 1px; background: #d4d4d4; border: 3px solid #F3F3F3; }

big, .big { font-size: 1.2em; }
small, .small { font-size: 0.85em; }

a { color: #DB2321; text-decoration: underline; }
a:hover { text-decoration: none; }
a img { border: 0; }

#canvas { position: relative; margin: 0 auto; min-width: 990px; width: 100%; min-height: 100%; }
#canvas #canvas_inner { position: relative; margin: 0 auto; width: 990px; min-height: 700px; }

#body_bg_topRepeat { position: absolute; top: 0; left: 0; background: url('../img/body-bg-topRepeat.png') repeat-x 0 0; width: 100%; height: 445px; }
#body_bg_topLeft { position: absolute; top: 0; left: 0; background: url('../img/body-bg-topLeft.png') no-repeat 0 0; width: 145px; height: 434px; }
#body_bg_topRight { position: absolute; top: 0; right: 0; background: url('../img/body-bg-topRight.png') no-repeat right top; width: 141px; height: 443px; }
#body_bg_bottomRepeat { position: absolute; bottom: 0; left: 0; background: url('../img/body-bg-bottomRepeat.png') repeat-x bottom left; width: 100%; height: 170px; }
#body_bg_bottomLeft { position: absolute; bottom: 0; left: 0; background: url('../img/body-bg-bottomLeft.png') no-repeat bottom left; width: 141px; height: 186px; }
#body_bg_bottomRight { position: absolute; bottom: 0; right: 0; background: url('../img/body-bg-bottomRight.png') no-repeat bottom right; width: 164px; height: 303px; }

/* Header */

#header { overflow: hidden; position: relative; margin: 0 65px; background: url('../img/header-bg.gif') repeat-x left bottom; height: 482px; }

#header_logo { position: absolute; top: 34px; left: 45px; }

#header_nav { position: absolute; top: 0; right: 20px; height: 140px; }
#header_nav ul { margin: 0; padding: 0; font-family: "Arial Narrow"; text-transform: uppercase; }
#header_nav ul li { list-style: none; float: left; margin: 0 0 0 1px; line-height: 130px; background: url('../img/headernav-item-active.png') repeat-x 0 0; height: 140px; }
#header_nav ul li a { float: left; padding: 0 22px; color: #fff; text-decoration: none; background: #D9251E; height: 140px; }
#header_nav ul a:hover,
#header_nav ul li.active a { background: none; }

#header_pic { position: absolute; bottom: 1px; left: 0; background-position: 0 0; background-repeat: no-repeat; width: 100%; height: 318px; }

/* Body */

#body { position: relative; margin: 0 65px; padding: 10px 0 200px 0; }

#content_wrapper { float: left; width: 100%; }
#content_wrapper #content { margin: 10px 330px 0 30px; text-align: justify; }

#content .separator { overflow: hidden; margin-left: -40px; margin-right: -20px; background: url('../img/header-bg.gif') repeat-x 0 0; height: 1px; }

#content p.pagination a,
#content p.pagination span.active { font-size: 1.1em; }

#content ul li { list-style:none; padding: 3px 10px 3px 20px; background: url('../img/li-arrow.png') no-repeat left center; }

#content ul.newsList li { list-style: none; padding: 3px 0; background: none; }
#content ul.newsList li small.date { color: #41454E; font-size: 1em; }

#content .news_view small.date { display: block; margin-bottom: -5px; color: #F0A09D; font-size: 0.9em; font-weight: bold; }

#content p.form_notify { padding-left: 100px; font-weight: bold; }

#content form.feedback p { padding: 1px 0; }
#content form.feedback p label { float: left; margin-top: 1px; padding-right: 10px; color: #E02E2A; font-size: 0.9em; font-weight: bold; text-transform: uppercase; text-align: right; width: 90px; }
#content form.feedback p input.text,
#content form.feedback p textarea { padding: 0 5px; color: #6D6D6D; font-size: 1em; font-family: Arial; }
#content form.feedback p input.text { background: #fff url('../img/form-text-bg.png') repeat-x 0 0; border: 1px solid #D0D0D0; width: 365px; }
#content form.feedback p textarea { background: #fff url('../img/form-textarea-bg.png') repeat-x 0 0; border: 1px solid #D0D0D0; width: 365px; height: 125px; }
#content form.feedback p span.field { display: block; padding-left: 100px; }
#content form.feedback p span.field span.error { display: block; margin-top: -3px; padding-bottom: 5px; color: #E02E2A; font-size: 0.9em; }
#content form.feedback p.captcha{ padding: 10px 0; }
#content form.feedback p.captcha input.captchaText { position: relative; top: -15px; left: 50px; padding: 0 5px; color: #46464E; font-size: 1.5em; font-family: Arial; background: #fff url('../img/form-text2-bg.png') repeat-x 0 0; border: 1px solid #D0D0D0; width: 90px; }
#content form.feedback p.buttons { padding-top: 10px; padding-left: 100px; text-align: center; border-top: 1px solid #E6E6E6; }

#content .portfolio_works { overflow: hidden; }
#content .portfolio_works .works_width { width: 600px; }
#content .portfolio_works .work { float: left; width: 265px; height: 345px; }
#content .portfolio_works .work .image a img { border: 7px solid #DEDEDE; }
#content .portfolio_works .work .image a:hover img { border-color: #e4e4e4; }
#content .portfolio_works .work .info { padding: 5px 40px 0 7px; line-height: 1.3; text-align: left; }
#content .portfolio_works .work .info small.date { font-size: 0.9em; }

#content .blog_list .post { padding: 10px 0 20px 0; }
#content .blog_list .post p { margin: 0; padding: 0; }

#content .blog_view { overflow: hidden; }
#content .blog_view small.date { display: block; margin-bottom: -5px; color: #F0A09D; font-size: 0.9em; font-weight: bold; }

#content ul.sitemap li { list-style: none; padding-left: 0; background: none; }

#content dl.search_results dd { padding: 2px 0 10px 0; }

/* Sidebar */

#sidebar { float: left; position: relative; left: 30px; margin-top: 40px; margin-left: -320px; width: 320px;  }

#sidebar .sidebar_menu { background: #DB261F url('../img/sidebar-menu-bg1.jpg') repeat-y 0 0; }
#sidebar .sidebar_menu .bg1 { background: url('../img/sidebar-menu-bg2.png') no-repeat 0 0; }
#sidebar .sidebar_menu .bg2 { background: url('../img/sidebar-menu-bg3.png') no-repeat left bottom; min-height: 200px; }
#sidebar .sidebar_menu ul { margin: 0; padding: 50px 60px 80px 60px; font-family: Tahoma; }
#sidebar .sidebar_menu ul li { list-style: none; padding: 5px 0; }
#sidebar .sidebar_menu ul li a { color: #fff; }
#sidebar .sidebar_menu ul li.active a { color: #FFB6B6; text-decoration: none; border-bottom: 1px dotted #FFB6B6; }
#sidebar .sidebar_menu ul li.active a:hover { text-decoration: none; }

#sidebar .portfolio_count { position: relative; margin-top: 50px; line-height: 1.1; background: url('../img/countworks-bg.png') no-repeat 33px 0; height: 60px; }
#sidebar .portfolio_count span { position: absolute; top: 13px; left: 100px; font-size: 1.4em; }
#sidebar .portfolio_count strong { position: absolute; top: 2px; right: 0; color: #DA251D; font-size: 4em; font-weight: normal; }

/* Footer */

#footer_wrapper { overflow: hidden; position: absolute; bottom: 0; left: 0; width: 100%; height: 140px; }
#footer_wrapper #footer { position: relative; margin: 0 auto; background: #DA251E; width: 720px; height: 140px; }

#footer_search { position: absolute; bottom: 0; left: -40px; background: url('../img/footer-search.gif') no-repeat 0 0; width: 321px; height: 134px; }
#footer_search input.text { position: relative; top: 56px; left: 15px; color: #7D7D7F; font-size: 1em; font-family: Arial; background: #fff; border: 0; width: 210px; }

#footer_phone { position: absolute; top: 50px; right: -60px; }

#footer_contacts { position: absolute; top: 52px; left: 310px; color: #fff; }
#footer_contacts a { color: #FEBCA4; }

#footer_map { position: absolute; bottom: 30px; left: -40px; padding-left: 18px; font-size: 0.9em; background: url('../img/icon-map.gif') no-repeat 0 4px; }
#footer_map a {color: #fff; }

/* Home page */

body#homePage #content { margin: 0 20px 0 30px; }

body#homePage #content .lastworks { overflow: hidden; padding: 10px 0; width: 100%; }
body#homePage #content .lastworks .lastworks_width { width: 850px; }
body#homePage #content .lastworks .work { overflow: hidden; float: left; width: 270px; height: 335px; }
body#homePage #content .lastworks .work .image { padding-bottom: 5px; }
body#homePage #content .lastworks .work .image img { border: 7px solid #DCE0E3; }
body#homePage #content .lastworks .work .info { padding-right: 40px; text-align: left; }
body#homePage #content .lastworks .work .info small.data { font-size: 0.9em; }

body#homePage #content .about_us { overflow: hidden; padding: 20px 0; width: 100%; }
body#homePage #content .about_us .about_us_width { width: 850px; }
body#homePage #content .about_us .block { overflow: hidden; float: left; padding-right: 30px; width: 240px; }
body#homePage #content .about_us .block h2 { padding-bottom: 3px; }

/* 404 page */

body#error404Page #bgTop { position: absolute; top: 0; left: 0; background: #ECECEC; width: 100%; height: 50%;}
body#error404Page #bgBottom { position: absolute; bottom: 0; left: 0; background: #fff; width: 100%; height: 50%;}
body#error404Page #block { position: absolute; top: 50%; left: 0; margin-top: -73px; background: #DA251D url('../img/error404-block-bg.png') no-repeat center center; width: 100%; height: 146px; }
body#error404Page #block #inner { position: relative; margin: 0 auto; width: 990px; }
body#error404Page #logo { position: absolute; top: 40px; left: 100px; }
body#error404Page #text { position:absolute; top: 30px; left: 400px; color: #fff; line-height: 1.3; width: 300px; }
body#error404Page #text strong { font-size: 1.3em; }
body#error404Page #monitor { position: absolute; top: -46px; right: 33px; background: url('../img/error404-monitor.png') no-repeat right center; width: 228px; height: 332px; }

