#head #maintab a, .usual_tab a {
 
  width: 191px;
  background: url("../img/mainTab1.png") no-repeat 0 0; 
  color: #000;  
  text-decoration: underline;
 
  height: 33px;
}

#head #maintab a.first, .usual_tab a.first {
  /* background: url('../img/mainTabFirst1.png') no-repeat left top; */
  margin-left: -20px;
}

#head #maintab a:hover, #head #maintab a.active, #head #maintab a.hover, #head #maintab a.select, #head #maintab a.selected, .usual_tab a:hover, .usual_tab a.active, .usual_tab a.hover, .usual_tab a.select, .usual_tab a.selected, .usual_tab a:hover {
  background: url('../img/mainTabhover1.png') no-repeat 0 0;
 
  /* width: 191px !important; */
  color: #667f93;
}

.inputWithButton input[type="submit"], .search-page input[type="submit"] {  
  background: url('../img/searchBtn1.png') no-repeat 0 0;
  
}
#head #maintab a.active {
	background: url('../img/mainTabFirst1.png') no-repeat left top;
	z-index:41;
}



#head {
	height: 149px;
	position: relative;
	left: auto;
	margin-left: 0;	
	/* z-index: 150; */
	background-color: red;
	background: url('../img/top_bg.png') no-repeat 50% 0;
	
}
#head:before {
	height: 180px;
	position: relative;
	/* left: 50%;
	margin-left: -500px;
	top: 0px; */
	z-index: 150;
	background-color: red;
	width: 1000px;
}

#head.maxi  {	
	margin-bottom: 52px;
	
}
#head.maxi  #maintab { 
  bottom: -211px;
}
#head.maxi:after { 
	content: "";
	width: 100%;
	height: 180px;
	background: url('../img/top_gradient3.png') repeat-x 0 0;
	position: absolute;
	left: 0;
	top: 149px;
}



#head.mini  {	
	position: fixed;
	width: 100%;
	background-image: none;
	background-color: #646364;
	height: 61px;
}
#head.mini .generalWidth {	
	
	/* left: 50%;
	margin-left: -500px; */
}
#head .generalWidth {
	position: relative;
}
#head #maintab {
  left: 286px; 
  bottom: -158px;
}
#head.mini  #maintab {
  bottom: -71px;
  left: 282px; 
}
#head.mini #search.inputWithButton { 
  bottom: -56px;
}
#head.mini #search.inputWithButton input[type="text"] {
  width: 120px; 
  margin-left: 20px;
  margin-top: 1px;
}

 #head ul#headmenu > li > ul,
.listcontainer a,
.leftmenu .btn {  
  background-color: #546d8e;
}
.leftmenu ul li a:hover, .leftmenu ul li a.hover, .leftmenu ul li a.selected, .leftmenu ul li a.active, .leftmenu ul li a.select {
  background-color: #546d8e; 
  border-bottom: 1px solid #546d8e;  
}
.carIcon {
	background: url('../img/carIcon1.png') no-repeat;
	left: 6px;
	position: relative;
}
.listcontainer a { 
	background: #546d8e  url('../img/documentIcon1.png') no-repeat  6px top;
	width: 80px;
	line-height: 19px;

}

#head #logo {
	left: 0;
	background: url('../img/logo_steel_new.png') no-repeat;
	width: 253px;
	height: 83px;
}
#head.mini #logo {
	background: url('../img/logo_steel_new.png') no-repeat;
	 width: 253px;
}

#head.mini #description {
  left: 89px;
  top: 38px;
  text-align: left;
  z-index:9;
}
#head #description {
  left: 87px;
  top: 61px;
  text-align: left;
  z-index:9;
}
#head.mini #description span{
font-size:14px;
line-height:1.1
}
#head.mini .adres{
line-height:0.9
}
#head ul#headmenu > li {
  
}
 
 .display_when_scroll {
	display: none;
	bottom: 208px;
	background-color:#646364;
	z-index:8;
    background-color: transparent;
    background-image: url("../img/unnamed.png");
    background-position: -10px -50px;
    background-repeat: no-repeat;
    padding-right:20px;
    left:-2px;
 }
 .display_when_scroll .leftmenu{
	position: relative;
    top: 60px;
    left:3px;
    padding-top:10px;
}


#content  {
	/* border-top: 1px solid #546d8e; */
	border-bottom: 1px solid #546d8e;
	border-right: 2px solid #546d8e;
	border-radius: 14px ;
	border-left: 3px solid #546d8e;
	 position: relative;
	left: -2px; 
}
 #content .leftmenu {
  -webkit-box-shadow:  none;
  -moz-box-shadow:  none;
  box-shadow: none;
  border-radius: 14px 0 0 14px ;	
  
  
}
#content .majorcontent {
	background: url('../img/majorcontent_bg.png') repeat-y 0 0;
}


.lines {
	background: url('../img/lines4.png') repeat-y 50% 0 ;	
}
body {
	position: relative;
	background: #6b6b6b url('../img/pattern.png')  0 0 ;
	height: 100%;
}
body:before {
	content: "";
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, #646364, #646368);
	position: fixed;
	left: 0;
	top:0;
	opacity:0.65;
}

#footer {  
  z-index: 500;
}

.majorcontent div,
.majorcontent p,
.majorcontent {
font-weight: normal; /*margin-bottom: 0in*/;	
  color: #000;
  font: 16px/1.2 'PT Sans', sans-serif;
}
#sh_button{-webkit-border-top-left-radius: 10px;
-webkit-border-bottom-left-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-bottomleft: 10px;
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;}
#sh_button2{-webkit-border-top-right-radius: 10px;
-webkit-border-bottom-right-radius: 10px;
-moz-border-radius-topright: 10px;
-moz-border-radius-bottomright: 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;}

.table-autokomponent {
text-align: center;
font-size:12px;
border-collapse:collapse;
}

.table-autokomponent tr td, .table-autokomponent tr th{
border:solid 1px #667FAE;
vertical-align:middle;
padding:4px
}

.table-autokomponent caption {
font-weight:bold;
font-size:16px;
}

.table-autokomponent #rotate270 {
transform: rotate(270deg);
max-width: 20px;
}

#acattop{
	float: right;
	margin-right: 7px;
}
#acattop a{
	display: block;
	float: right;
	background: #c22b2b !important;
	padding:3px 5px;
	color:#fff !important;
	border-radius: 3px;
	border:none !important;
	border:1px solid #ad2323 !important;
	-webkit-transition-duration: 0.25s;
	-o-transition-duration: 0.25s;
	transition-duration: 0.25s;
}
#acattop a:hover{
	background: #e3cd50 !f41414;
}

#acatsearch #search{
	border:1px solid #ad2323;
	padding:4px 10px;
	border-radius:3px;
	width: 490px !important
}
#acatsearch #search:focus{
	box-shadow: 0 0 10px rgba(0,0,0,.3)
}