/* 
------------------------------------------------------------------------------------------------------------------
  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
------------------------------------------------------------------------------------------------------------------
*/

html { height: 100%; }
body { position: relative; margin: 0; padding: 0; font-size: 0.7em; font-family: Tahoma; line-height: 1.3; background: #8D8D8D url(/media/img/body-bg.jpg) repeat-y center 0; height: 100%; }

div { margin: 0; padding: 0; }

a { color: #285073; text-decoration: underline; }
a:hover { text-decoration: none; }
a img { border: 0; }

form input, form select, form textarea { color: #000; font-size: 1em; font-family: Arial; }

h1, h2, h3, h4, h5, h6 { color: #000; }
h1 { font-size: 2em; font-weight: normal; }
h2 { font-size: 1.7em; font-weight: normal; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.1em; }
h5 { font-size: 0.9em; }
h6 { font-size: 0.9em; font-style: italic; }

.c_black { color: #000; }
.c_grey { color: #C6C6C6; }

#center { position: relative; margin: 0 auto; width: 986px; }

span.mini_header { display: block; margin-left: 40px; padding: 10px 0; color: #858585; font-size: 1.2em; font-family: "Trebuchet MS"; font-weight: bold; }

.shape .top { overflow: hidden; background: url(/media/img/shape-bg2.png) no-repeat 0 0; height: 33px; }
.shape .bottom { overflow: hidden; background: url(/media/img/shape-bg3.png) no-repeat 0 0; height: 33px; }
.shape .middle { background: url(/media/img/shape-bg1.png) repeat-y 0 0; }
.shape .middle .area { margin: 0 17px; padding: 0 20px; background: #fff; }
.shape .middle .area .area_ie { width: 100%; }

.place { overflow: hidden; position: relative; margin: 0 11px; height: 172px; }
.place h1 { position: absolute; top: 85px; left: 30px; margin: 0; padding: 0; font-family: "Trebuchet MS"; font-size: 2.5em; font-weight: normal; }
.place p { position: absolute; top: 101px; left: 338px; margin: 0; padding: 0; color: #8D8D8D; font-size: 1.2em; font-family: "Trebuchet MS"; }
.place_articles { background-image: url(/media/img/section-articles-bg.jpg); }
.place_articles2 { background-image: url(/media/img/section-articles2-bg.jpg); }
.place_calc { background-image: url(/media/img/section-calc-bg.jpg); }
.place_contacts { background-image: url(/media/img/section-contacts-bg.jpg); }
.place_portfolio { background-image: url(/media/img/section-portfolio-bg.jpg); }
.place_portfolio p { color: #956819; }
.place_portfolio2 { background-image: url(/media/img/section-portfolio2-bg.jpg); }
.place_portfolio2 p { color: #956819; }
.place_seo { background-image: url(/media/img/section-seo-bg.jpg); }
.place_seo p { color: #956819; }

/*
------------------------------------------------------------------------------------------------------------------
  Header
------------------------------------------------------------------------------------------------------------------
*/

#header { position: relative; height: 80px; }

#header_logo { position: absolute; top: 30px; left: 37px; }

ul#header_nav { position: absolute; top: 0; right: 0; margin: 0; padding: 0; }
ul#header_nav li { list-style: none; float: left; margin: 0; padding: 2px 13px 0 13px; border-right: 1px solid #D0D0D0; height: 21px; }
ul#header_nav li.last { border: 0; }
ul#header_nav li.active { position: relative; top: -1px; margin-left: -1px; color: #EA6900; border: 1px solid #D0D0D0; }
ul#header_nav li.active a { color: #EA6900; text-decoration: none; }
ul#header_nav li a { color: #000; font-size: 1.2em; font-family: "Trebuchet MS"; font-weight: bold; }

#header_phone { position: absolute; top: 37px; right: 17px; }

/*
------------------------------------------------------------------------------------------------------------------
  Content
------------------------------------------------------------------------------------------------------------------
*/

#body { margin: 0; width: auto; }

#content_wrapper { float: left; width: 100%; }
#content_wrapper #content { margin-top: -20px; margin-right: 10px; margin-left: 348px; padding-bottom: 50px; color: #8D8D8D; font-size: 1.2em; font-family: "Trebuchet MS"; }

#content .more_materials { margin: 0; padding: 40px 0; }

#content p.backlink { margin-left: -20px; margin-top: -20px; margin-bottom: 20px; padding-left: 20px; background: url(/media/img/arr-back.gif) no-repeat 0 center; }

#content p.listing { margin: 0; margin-left: -70px; padding: 10px 0; }
#content p.listing span.label { float: left; line-height: 22px; width: 70px; }
#content p.listing span.dotts { float: left; padding: 0 8px; }
#content p.listing a { float: left; margin-right: 2px; text-decoration: none; background: url(/media/img/listing-1.gif) no-repeat 0 0; }
#content p.listing a span { cursor: pointer; float: left; padding: 0 8px; background: url(/media/img/listing-2.gif) no-repeat right 0; line-height: 22px; height: 22px; }
#content p.listing a:hover, 
#content p.listing a.active { background-color: #DBE7EF; background-position: 0 -22px; }
#content p.listing a:hover span, 
#content p.listing a.active span { background-position: right -22px; }

/* Articles */

#content .articles_list { padding: 10px 0; font-size: 0.9em; }
#content .articles_list .article { padding: 10px 0; border-bottom: 1px solid #E3E3E3; }
#content .articles_list .article p { margin: 0; padding: 0; }
#content .articles_list .last { border: 0; }

/* Contacts */

#content .contacts { padding: 10px 0; }
#content .contacts p.string { margin: 0; padding: 15px 0; }
#content .contacts p.string label { float: left; color: #000; width: 160px; }
#content .contacts p.string span.text { display: block; margin-left: 160px; }

/* Calculator */

/*
#content p.calculator {
#content p.calculator ul li a {text-decoration: none; border-bottom: 1px solid #afc4d7; width: 350px; display: inline-block; }
#content p.calculator ul li a:hover {text-decoration: none; border-bottom: 1px solid #285073;}
*/
#content ul.listpre {color: #060606; line-height: 18px;}
#content ul.listpre li {position: relative; }
#content ul.listpre a.pre {text-decoration: none; border-bottom: 1px solid #afc4d7; width: 350px; display: inline-block; }
#content ul.listpre a.pre:hover {text-decoration: none; border-bottom: 1px solid #285073;}

#content ul.calculator {margin:0; padding: 0; color: #060606;}
#content ul.calculator li ul {display: none; margin: 0; padding: 0;}

#content ul.calculator .over {background: url('/media/img/calc-bg-over.gif') no-repeat 0 0;}
#content ul.calculator input {visibility: hidden;}
#content ul.calculator li label {width: 100%; height: 20px; display: block;padding:9px 0 6px 30px; cursor: pointer;}
#content ul.calculator li.select {background-color: #fafafa; color: #285073; background: url('/media/img/calc-bg-selected.gif') no-repeat 0 0; font-weight: bold;}
#content ul.calculator li.radio {background-color: #fafafa; color: #285073; background: url('/media/img/calc-bg-radio.gif') no-repeat 0 0; font-weight: bold;}
#content ul.calculator li { list-style-type: none;  cursor: pointer; position: relative; padding:0; margin: 0; background: url('/media/img/calc-bg.gif') no-repeat 0 0;}
#content ul.calculator li.header {padding:10px 0 10px 30px; background: url('/media/img/calc-top-bg.gif') no-repeat 0 0; font-size: 0.8em; font-weight: bold;}
#content ul.calculator li.result {padding:11px; padding-left:320px; background: url('/media/img/calc-bottom-bg.gif') no-repeat 0 0;}
#content ul.calculator li ul li { border:0; padding:0; margin: 0; font-weight: normal; color: #060606;}

#content ul.calculator li input {position: absolute;}
#content ul.calculator div.price {position: absolute; top:6px; right: 6px;}
#content ul.calculator li.header div.price { top:11px; right: 33px;}
#content ul.calculator li.result div.price {  right: 12px; font-weight: bold; background: url('/media/img/calc-bg-result.gif') no-repeat top right; background-color: #f8e95b; height: 23px; padding:0; padding-right: 5px;}
#content ul.calculator li.result div.price span { background: url('/media/img/calc-bg-result-left.gif') no-repeat top left; display: block; height: 100%; float: left; padding: 4px 0 0 6px;}

#content ul div.description { display: none; position: absolute; top:0; right: 0; border:0; padding: 0px; z-index: 1; width: 411px; padding: 20px 0 5px 0; font-weight: normal;  color: #060606;}
#content ul div.description .top { position: absolute; top:0; left: 0; width: 411px; height: 20px; background: url('/media/img/tooltip-bg-top.gif') no-repeat 0 0; }
#content ul div.description .bottom { position: absolute; bottom:0; left: 0; width: 411px; height: 5px; background: url('/media/img/tooltip-bg-bottom.gif') no-repeat 0 0; }
#content ul div.description div { position: relative; background: url('/media/img/tooltip-bg.gif') repeat-y top left; padding: 0 6px 0 6px;}
#content ul div.description div a{ font-size: 0.8em; padding-left:6px; padding-right:11px; background: url('/media/img/newwindow-button.gif') no-repeat 62px 3px; text-decoration: none; }
#content ul div.description div a:hover{ text-decoration: underline; }

#content p.order label {width:185px; display: block; float: left;}
#content p.order input {width:360px;}
#content p.order span { color: #ff0000;}

#content p.error{ color: #ff0000;}
/* Portfolio */

#content .portfolio_list { margin-left: -5px; padding: 10px 0; }
#content .portfolio_list .odd { margin-left: 18px; }
#content .portfolio_list .work { overflow: hidden; float: left; margin-bottom: 13px; font-size: 0.85em; font-family: Tahoma; background: url(/media/img/work-bg.jpg) no-repeat 0 0; width: 268px; height: 322px; }
#content .portfolio_list .work .work_area { padding: 28px 37px 5px 37px; }
#content .portfolio_list .work span.date { color: #000; background: #DBE7EF; }
#content .portfolio_list .work a img { margin-top: 10px; margin-bottom: 5px; border: 1px solid #FFC141; }
#content .portfolio_list .work p { margin: 0;padding: 5px 0; }

#content .portfolio_work { padding: 3px 0 10px 0; }
#content .portfolio_work p.site { margin-top: -20px; margin-bottom: 20px; }
#content .portfolio_work p.image { overflow: hidden; margin: 0px 0 -7px 0px; background: url(/media/img/work-big-bg.gif); width: 507px;}
#content .portfolio_work p.image img { margin: 8px 0 2px 13px; }


/*
-----------
  Sidebar
-----------
*/

#sidebar { float: left; margin-left: -100%; padding-bottom: 50px; padding-left: 13px; color: #8D8D8D; font-size: 1.2em; font-family: "Trebuchet MS"; width: 224px; }

#sidebar ul.sidenav { margin: 0; padding: 5px 10px 50px 10px; font-size: 0.8em; }
#sidebar ul.sidenav li { list-style: none; margin: 0; padding: 2px 13px 0 13px; height: 21px; }
#sidebar ul.sidenav li.active { position: relative; top: -1px; margin-left: -1px; color: #EA6900; border: 1px solid #D0D0D0; }
#sidebar ul.sidenav li.active a { color: #EA6900; text-decoration: none; }
#sidebar ul.sidenav li a { color: #000; font-size: 1.2em; font-family: "Trebuchet MS"; font-weight: bold; text-decoration: none; }

#sidebar .seo { background: #D1E7FB url(/media/img/seo-bg1.jpg) repeat-y 0 0; }
#sidebar .seo .inner1 { background: url(/media/img/seo-bg2.jpg) no-repeat 0 0; }
#sidebar .seo .inner2 { padding: 15px 10px 130px 30px; background: url(/media/img/seo-bg3.jpg) no-repeat 0 bottom; min-height: 200px; }

/*
------------------------------------------------------------------------------------------------------------------
  Footer
------------------------------------------------------------------------------------------------------------------
*/

#footer { padding: 10px 67px 40px 67px; color: #3A597F; }
#footer a { color: #3A597F; }
#footer p { margin: 0; padding: 5px 0; }

/*
------------------------------------------------------------------------------------------------------------------
  Index page
------------------------------------------------------------------------------------------------------------------
*/

body#index #header { height: auto; }
body#index #header #header_banner { padding-top: 100px; }
body#index #header #header_last_articles { padding: 10px 13px; }
body#index #header #header_last_articles span.mini_header { margin-left: 27px; }
body#index #header #header_last_articles .articles_area { background: url(/media/img/last_articles_bg.png) repeat-y center 0; }
body#index #header #header_last_articles .articles_area .article { float: left; width: 33.3%; }
body#index #header #header_last_articles .articles_area .article span.date { margin-left: 27px; padding: 0 5px; color: #fff; background: #CECECE; }
body#index #header #header_last_articles .articles_area .article p { padding-left: 27px; padding-right: 27px; }

body#index .lastworks .works { overflow: hidden; white-space: nowrap; position: relative; margin-bottom: 15px; width: 100%; height: 160px; }
body#index .lastworks .works span { margin-right: 24px; }
body#index .lastworks .works span img { border: 1px solid #FFC142; }
body#index .lastworks .works .lastworks_left { position: absolute; top: 0; left: 0; background: url(/media/img/lastworks-left.png) no-repeat 0 0; width: 32px; height: 160px; }
body#index .lastworks .works .lastworks_right { position: absolute; top: 0; right: 0; background: url(/media/img/lastworks-right.png) no-repeat 0 0; width: 32px; height: 160px; }
body#index .lastworks .link { padding-right: 28px; text-align: right; }
body#index .lastworks .link a { color: #0661A0; font-size: 1.2em; font-family: "Trebuchet MS"; font-weight: bold; }

body#index .order { padding: 0 0 10px 20px; }
body#index .order .facility { float: left; width: 305px;}
body#index .order .facility .area { margin: 0; padding: 0; background: url(/media/img/order.png) no-repeat 0 bottom; width: 264px; height: 580px; position: relative;}
body#index .order .facility .area .bg { background-repeat: no-repeat; background-position: 0 0; }
body#index .order .facility .area .order1 { background-image: url(/media/img/order-1.png); }
body#index .order .facility .area .order2 { background-image: url(/media/img/order-2.png); }
body#index .order .facility .area .order3 { background-image: url(/media/img/order-3.png); }
body#index .order .facility .area .caption { position: relative; height: 205px; }
body#index .order .facility .area .caption strong { position: absolute; bottom: 10px; padding: 0 28px; font-size: 2em; font-family: "Trebuchet MS"; }
body#index .order .facility .area .items { margin: 0 28px; color: #8F8F8F; border-top: 1px solid #E2E8F0; }
body#index .order .facility .area .items span.ok, 
body#index .order .facility .area .items span.no { display: block; padding: 5px 0; background-repeat: no-repeat; background-position: right center; border-bottom: 1px solid #E2E8F0; }
body#index .order .facility .area .items span.ok { background-image: url(/media/img/i1.gif); }
body#index .order .facility .area .items span.no { background-image: url(/media/img/i2.gif); }
body#index .order .facility .area .price {padding: 10px 28px 20px 28px; position: absolute; bottom: 5px; left:5px; font-weight: bold;}
body#index .order .facility .area .price a { color: #960000; }
