/*
Theme Name: Ferrum
Theme URI: 
Description: 
Version: 1.0
Author: Ferrum
Author URI: 
*/

/* Begin Structure */

body {
	margin: 0;
	padding: 0;
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: Verdana, Arial, Helvetica, sans-serif; 
	background: #F1F2ED;
	color: #444444;
	text-align: center;
	line-height: 16px;
}

#content{
	font-size: 1.2em;
	border-right:solid 6px #FBB404;
	border-left:solid 6px #FBB404;
	margin:auto;
	min-width:988px;
	max-width:1252px;
	* width: expression((documentElement.clientWidth||document.body.clientWidth) <= 1024 ? "991px" : "1247px");			
	_width: expression((documentElement.clientWidth||document.body.clientWidth) <= 1024 ? "992px" : "1248px");	
}
#content_inner {
	margin:auto;
	overflow:hidden;	
	position:relative;
	height:100%;
	/*max-width:1019px;
	min-width:768px;
	//width: expression((documentElement.clientWidth||document.body.clientWidth) <= 1024 ? "768px" : "1019px");	*/
	padding:0px 110px;
}
#content_inner_inner {
	overflow:hidden;
	width:auto;
}
#content1 {
	float:left;
	text-align:left;
	background:url('images/bg_9.gif') right top no-repeat;
	//background:url('images/bg_45.gif') right top no-repeat;
	/*min-width:384px;
	max-width:509px;*/
	width:50%;
	//width:49%;
	/*min-height:410px;
	_height:410px;*/
}
#content1_inner {
	padding:10px;
}

.c1 {
	height:23px;
	background:#EDEFE3 url('images/bg_10.gif') left top no-repeat;
	overflow:hidden;
}
.c2 {
	height:23px;
	background:url('images/bg_11.gif') right top no-repeat;
	overflow:hidden;
}

.c3 {
	height:23px;
	background:url('images/bg_12.gif') right bottom no-repeat;
	overflow:hidden;
}
.c4 {
	height:23px;
	background:url('images/bg_13.gif') left bottom no-repeat;
	overflow:hidden;
        
        
}
.c5 {
	position:relative;	
	height:100%;	
	border-right:solid 9px #ffffff;
	border-left:solid 9px #ffffff;	
	background:#EDEFE3;
	padding:0px 10px;
}

#content1 .c5 {
	/*min-height:410px;*/

}

#content2 {
	float:right;
	position:relative;
	height:100%;
	text-align:left;
	/*min-width:384px;
	max-width:509px;*/
	width:50%; 
	//width:49%;
}
#content2_inner {
	padding:30px 30px 0px 30px;
}
#content2_inner li {
	margin-bottom:25px;
}

div.above_content3 {
	margin:0px 15px;
	min-width:738px;
	max-width:998px;
	//width: expression((documentElement.clientWidth||document.body.clientWidth) <= 1024 ? "738px" : "996px");
}

#content3 {
	background:url('images/bg_16.gif') top left no-repeat;
	overflow:hidden;
	margin:0px 15px;	
	min-width:738px;
	max-width:998px;
	//width: expression((documentElement.clientWidth||document.body.clientWidth) <= 1024 ? "738px" : "996px");
}
#content3_inner {
	background:url('images/bg_17.gif') bottom right no-repeat;
	overflow:hidden;
	//width: expression((documentElement.clientWidth||document.body.clientWidth) <= 1024 ? "738px" : "996px");
}
.content3_inner {
	float:left;
	width:33%;
	//width: expression((documentElement.clientWidth||document.body.clientWidth) <= 1024 ? "246px" : "332px");
	text-align:left;
	height:180px;
	overflow:hidden;
}
.content3_sep {
	height:11px;
	//width: expression((documentElement.clientWidth||document.body.clientWidth) <= 1024 ? "246px" : "332px");
}
.dashed_border_right {
	background:url('images/bg_14.gif') top right repeat-y;
}
.dashed_border_left {
	background:#ffffff url('images/bg_14.gif') top left repeat-y;
	margin:3px 3px 3px 0px;	
	height:174px;	
	
}
.bottom_left_corner {
	background:url('images/bg_18.gif') bottom left no-repeat;
}
.top_right_corner {
	background:url('images/bg_19.gif') top right no-repeat;
	width:34%;
	//width: expression((documentElement.clientWidth||document.body.clientWidth) <= 1024 ? "246px" : "332px");
}
.content3_inner_content {
	padding:10px;
}
.content3_inner_content h2 {
	margin-left:30px;
}
.content3_inner_content .textwidget {
	padding:10px 0px 0px 90px;
	height: 102px;
	overflow:hidden;
	font-size: 11px;
	line-height: 12px;

}
.content3_reklama .textwidget {
	background:url('images/bg_35.gif') left 18px no-repeat;
}
.content3_promotion .textwidget {
	background:url('images/bg_36.gif') left 19px no-repeat;
}
.content3_service .textwidget {
	background:url('images/bg_37.gif') left 5px no-repeat;
}
#content4 {
	padding:0px 10px;
}
#content4_inner1 {
	float:left;
	width:60%;
	text-align:left;
	padding:10px 0px 0px 0px;
}
#content4_inner1 p.commonmorelink {
	text-align:right;
}
#content4_inner1 p.commonmorelink a{
	color:#0082C9;
}
#content4_inner2 {
	float:left;
	width:40%;
	padding:10px 0px 0px 0px;
	text-align:left;
}
#content4_inner2 h1 {
	margin-left:30px;
}
#content4_inner1 #c5 {
	min-height:100px;
	_height:100px;
}

#content5 {
	padding:0px 10px;
}
#content5_inner1 {
	float:left;
	width:100%;
	text-align:left;
	padding:10px 0px 0px 0px;
}


#footer_1 {
	height:50px;
	background:url('images/bg_22.gif') right bottom no-repeat;
	max-width:1020px;
	min-width:768px;
	//width: expression((documentElement.clientWidth||document.body.clientWidth) <= 1024 ? "768px" : "1019px");
	margin:auto;
}
#footer_1_inner {
	height:50px;
	background:url('images/bg_21.gif') left bottom no-repeat;
}

#header_outer {
	/*padding:0px 55px;*/
	padding:0px;
	margin:auto;	
	min-width:988px;
	max-width:1252px;
	* width: expression((documentElement.clientWidth||document.body.clientWidth) <= 1024 ? "991px" : "1247px");			
	_width: expression((documentElement.clientWidth||document.body.clientWidth) <= 1024 ? "992px" : "1248px");	
}
#header {
	padding: 0px 30px 0px 80px;
	height: 246px;
	background: url('images/bg_1.gif') right bottom no-repeat;
	min-width:830px;
	max-width:1130px;
	* width: expression((documentElement.clientWidth||document.body.clientWidth) <= 1024 ? "881px" : "1130px");		
	_width: expression((documentElement.clientWidth||document.body.clientWidth) <= 1024 ? "882px" : "1130px");		
	margin:auto;
	}	
#header #logo {
	height:102px;
	padding-top:58px;
	position:relative;
	width:41%;
	float:left;
	background:url('images/bg_2.gif') right top no-repeat;
	text-align:left;
}
#header #inner_logo {
	position:relative;
	width:100%;
	height:100%;
	background:url('images/bg_5.gif') left bottom no-repeat;
}
#header #inner_logo a:active, #header #inner_logo a{
	outline:none;
}

#header #phone {
	height:160px;
	position:relative;
	width:14%;
	float:left;
	//background:url('images/phone2.gif') right bottom no-repeat;
	background:url('images/bg_4.gif') right bottom no-repeat;		
	text-align:left;
}

#header #phone .phones   {

	position: relative; 
	padding-top: 3px; 
	padding-left:px; 
	color: #0b8fd7;
	font-size: 12px;
	font-weight: bold;
}
.phones .city {color: #444444; font-weight: normal; font-size: 11px;}

#header #icons {
	height:160px;
	position:relative;
	width:45%;
	float:left;
	background:url('images/bg_3.gif') left top no-repeat;	
}
#header #icons #icons_inner {
	position:relative;
	top:16px;
	left:27px;
	overflow:hidden;
	//width:100%;
}
#header #icons #icons_inner a{
	display:block;
	float:left;
	width:27px;
	height:27px;
	margin-right:5px;
	outline:none;
}
#header #icons #icons_inner a.home {
	background:url('images/icon_home.gif') center center no-repeat;
}
#header #icons #icons_inner a.home:hover, #header #icons #icons_inner a.home_select {
	background:url('images/icon_home_hover.gif') center center no-repeat;
}

#header #icons #icons_inner a.mail {
	background:url('images/icon_mail.gif') center center no-repeat;
}
#header #icons #icons_inner a.mail:hover, #header #icons #icons_inner a.mail_select {
	background:url('images/icon_mail_hover.gif') center center no-repeat;
}

#header #icons #icons_inner a.map {
	background:url('images/icon_map.gif') center center no-repeat;
}
#header #icons #icons_inner a.map:hover, #header #icons #icons_inner a.map_select {
	background:url('images/icon_map_hover.gif') center center no-repeat;
}

#header #icons .enter {
	position: absolute;
	float: left;
	clear: both;
	top:40px;
	left:35px;

}
/*----------MENU------------------*/
#menu {
	clear:both;
	height:78px;
	padding:8px 0px 0px 48px;
	display:inline-block;
	float:left;
	width:auto;
	background:url('images/bg_6.gif') left top no-repeat;	
}
#menu ul {
	list-style-type:none;
	display:inline-block;
	height:46px;
	/*padding:25px 45px 0px 20px;*/
	padding:25px 25px 0px 0px;
	_padding:10px 45px 0px 0px;
	margin:0px;
	background:url('images/bg_7.gif') right center no-repeat;		
	position:absolute;
	z-index:5;	
}
#menu ul li {
	display:inline-block;
	float:left;
	clear:right;
	white-space:nowrap;
	padding:0px 10px;
	margin:0px -10px;		
	position:relative;
	z-index:8;
	_top:15px;
}
#menu ul li:first-child  {
	//padding:0px 10px 0px 0px;
}
#menu a {
	text-decoration:none;
	color:#444444;
	font:1.6em Arial;
	display:block;
	//display:inline;
	zoom:1;
	height:60px;
	position:relative;
	z-index:10;
	padding:0px 30px;
	margin:0px -20px;
	outline:none;	
}
#menu a:active {
	outline: none;
}	
#menu a:hover, #menu ul li.current a {
	color:#E8A601;
	background:url('images/bg_25.gif') center bottom no-repeat;
	outline:none;
}


#menu ul li ul { /* second-level lists */
	position: absolute;
	min-width: 144px;
	_width: 144px;
	/*left: -98%;  using left instead of display to hide menus because display: none isn’t read by screen readers */
	background:url('images/bg_34.png') right bottom no-repeat !important;
	display:none;
	top: 60px;
	border:solid 1px #C9CAC5;
	padding-bottom:20px;
	_padding-bottom:30px;
	padding-top:5px;
	_padding-top:0px;
	z-index:200;
	height:auto;
	text-align:left;
}

#menu ul li ul li { /* second-level lists */
	background: none;
	height:auto;
	padding-left:28px;
	min-width:110px;
	_width:110px;
	border:none;
	display:block !important;
	float:none !important;
}
#menu ul li ul li:first-child {
	//padding-left:28px;
}
#menu ul li ul li.current_page_item
{

}
#menu ul li ul li.current_page_item a {
	
}

#menu ul ul li a, #menu ul li:hover ul li a, #menu ul li.sfhover ul li a{
	color: #0082C9;
	text-decoration:underline;
	height:auto;
	padding:8px 0px;
	margin:0px;
	background:none;
	outline: none;
}
 
#menu ul ul li a:hover, #menu ul li:hover ul li a:hover  {
	color: #0082C9;
  text-decoration:none;
  background:none;
  outline: none;
}
 
#menu ul li:hover ul, #menu ul li.sfhover ul  { /* lists nested under hovered list items */
 /*left: -50%;*/
 left:-40px;
 display:block;
  /* change is to 10px, 20px, etc for indenting the sub menue */
}
#menu ul li:hover a, #menu ul li.sfhover a {
	color:#E8A601;
	background:url('images/bg_25.gif') center bottom no-repeat;
}
/*---------- / MENU------------------*/

#footer {
	padding:0px 116px;
	max-width:1019px;
	min-width:768px;
	//width: expression((documentElement.clientWidth||document.body.clientWidth) <= 1024 ? "768px" : "1019px");
	clear: both;
	height:100px;
	margin:0px auto 50px auto;
}	

#footer #footer_inner_1 {
	background:url('images/bg_24.gif') right bottom no-repeat;		
}
#footer #footer_inner_2 {
	background:url('images/bg_23.gif') left bottom no-repeat;		
	height:55px;
	padding:10px 0px 20px 0px;
	line-height: 14px;	
}
#footer #footer_address {
	width:279px;
	text-align:left;
	font-size:11px;
	padding-left:40px;
	float:left;
	line-height: 14px;
}

#footer .counter {
	padding:5px 10px 0px 0px;
	float:left;
}

#footer .copyright {
	float:right;
	font-size:1em;
	color:#0077BE;
	padding:0px 30px 0px 0px;
	width: 200px;
}

.clear {
	clear:both;
}
/* End Structure */


/* Begin Typography & Colors */
#content2_inner img   {margin: 5px; border: 1px solid #C7CEAD;}

a img {
	border:none;
}
h1	{
	margin:0px;
	color:#0082C9;
	font:2.0em Arial Narrow,Arial;
	padding-bottom:12px;
}
h1 a:hover, h1 a {text-decoration: none;}
h2 {
	margin:0px;
	color:#0082C9;
	font:1.7em Arial Narrow,Arial;
}
h2 a {
	text-decoration:none;
}
h3 {
	margin:0px;
	color:#E58204;
	font:bold 14px Tahoma;
	margin-bottom:5px;

}
h3 a {
	text-decoration:underline;
	color:#E58204 !important;
}
h3 a:hover {
	text-decoration:none;
}
#content2 h3 {
	font-weight:normal;
	color:#0082C9;
	margin-top:5px;
	margin-bottom:5px;
}
#content2 h3 a {
	color:#0082C9;
	text-decoration:underline;
}
#content2 h3 a:hover {text-decoration:none;}

a {
	color:#0082C9;
	text-decoration: underline;
}
a:hover {text-decoration: none;}

a.details, a.more-link {
	display:block;
	float:right;
	color:#444444;
        
}


a.details:hover, a.more-link:hover {
	text-decoration: none;
}

#content4_inner1 a {
	color:#0082C9;
}
ul {
	list-style-type:none;
	padding:0px;
	margin:0px;
}
li {
	/*overflow:hidden;*/
}
.textwidget ul {
	list-style-type:square;
	padding-left:5px;
	margin-left:8px;
}

p {
	margin:0px;
	padding:7px 0px;
}
.maint {
        margin:0px;
	color:#0082C9;
	font-size:18pt;
        font-family: Arial Narrow, Arial;
	padding-left:5px;
        padding-bottom:20px;
        }
.maint a {text-decoration: none;}
.main h1,h2 {
        margin-left:30px;
        margin-bottom:0px;
        margin-top:0px;
	color:#0082C9;
	font:1.7em Arial Narrow,Arial;
        
}
.main h1,h2 a {
text-decoration: none;
}
.more {display:block;
	float:right;
	color:#444444;
        margin-bottom:30px;
        margin-top:-10px;
}



/* End Typography & Colors */
.maint h3 {padding-top: 25px;}
