html, body {height: 100%;}

body
{
   margin: 0px;
   padding: 0px;
   background: #c9c9ca;
   color: #444444;
   font-size: 14px;
   font-family: Tahoma, Serif, sans-serif;
}

ul li {
	margin-bottom: 5px;
}

strong {
   color: #191919;
}

.container {
   width: 990px;
}

.footer {
   float: left;
   width: 970px;
   background: url('../images/footer_g4s.jpg') no-repeat center #afafaf;
   padding: 10px;
   color: white;
}


.footer table {
   float: right;
   width: 100%;
   margin: 0;
   font-size: 12px;
}

.footer td {
   padding: 0 5px;
   white-space: nowrap;
}

.footer td a {
	color: white;
}

.main {
   float: left;
   width: 990px;
   background: url('../images/bground.gif') repeat-x top white;
}


/*******/

.logo,
.logo img {
   float: left;
   width: auto;
   margin: 0;
   padding: 0;
}

.slogan {
   float: right;
   margin: 0 100px 0 0;
}

#menu,
#menu li {
   float: left;
	position: relative;
	z-index: 100;
   width: 778px;
   height: 77px;
   margin: 0;
   padding: 0;
   list-style-type: none;
   background: url('../images/top_menu_bgr2.gif') no-repeat 0 0;
}

#menu {
   padding-left: 58px;
   margin-left: -15px;
}

#menu li {
   width: auto;
   height: 52px;
   /*background: url('../images/top_menu_li3.gif') no-repeat right 0;
   padding: 25px 43px 0 0px;*/
   padding: 25px 17px 0 0px;
   position: relative;
}

#menu li.last {
   background: none;
   padding-right: 0;
}

#menu li a {
   float: left;
   color: #262626;
   font-weight: bold;
	font-size: 13.2px;
   padding: 1px 0 1px 25px;
   background: url('../images/top_menu_li2.gif') no-repeat 0 center;
   text-decoration: none;
   line-height: 1.2em;
   margin-top: 8px;
}

#menu li a:hover, #menu li a.used { text-decoration:underline; }

#menu li a.lines {
	margin-top: 0;
}

#menu li ul {
   position: absolute;
   top: 0;
   left: 15px;
   padding: 0 0 2px;
   margin: 0;
   background: url('../images/submenu_bg.gif') #f5f5f5 repeat-x 0 bottom;
   height: auto;
   top: -3544px;
   z-index: 100!important;
   border-right: 1px solid #c5c5c5;
   border-top: 1px solid #dddddd;
   border-bottom: 1px solid #acacac;

}

#menu li ul li:first-child {
   background: url('../images/submenu_bg2.gif') repeat-x 0 0;
}

#menu li ul li ul {
	padding-bottom: 0;
}

#menu li ul.sub {
	-moz-box-shadow: 3px 1px 2px #dcdcdc;
	-webkit-box-shadow: 3px 1px 2px #dcdcdc;
	box-shadow: 3px 1px 2px #dcdcdc;
}

#menu li ul li {
   float: none;
   background: none;
   padding: 5px 10px;
   margin: 0;
   height: auto;
   border: none;
   border-bottom: 1px solid white;
   white-space: nowrap;  
}

#menu li ul li:last-child {
   border-bottom: none; 
}

#menu li ul li a {
   float: none;
   padding: 0;
   margin: 0;
   background: none;
   font-size: 1em;
}

#menu li ul li ul {
   position: relative;
   margin: 0;   
   top: 0;
   background: none;
   border: none;
}

#menu li ul li ul li {
   border: none;
   background: none;
}

#menu li ul li ul li:first-child {
   background: none;
}

#menu li ul li ul li a {
   font-weight: normal;
}

#menu li ul li a {
	font-size: 11px
}

/*** Content ***/

#content {
   float: left;
   width: 900px;
   padding: 20px 60px 20px 30px;
}

#content .cont.right_bl {
	float: left; 
	width: 60%;    
}

#content h1 {
   color: #b90f07;
   font-family: Arial;
   font-size: 17px;
   font-weight: bold;
   margin-bottom: 20px;
}

/*** Content contact us ***/

#content .right_img_contact {
	float: right;
	width: 300px;
	margin-right: -60px;
	margin-top: -20px;
	padding: 13px 60px 10px 44px;
	background: url('../images/contact_us_bg.gif') no-repeat 0 0;
}

#content .contact_us {
	display: block;
	margin-bottom: 35px;
}

#content .contact_you {
	color: #b90f07;
	font-size: 14px;
	font-weight: bold;
	font-family: Arial, Serif, sans-serif;	
	margin-right: 15px;    
}

#content .phone {
	padding-left: 20px;
	background: url('../images/phone_ico.gif') no-repeat 0 center;
	color: #231f20;
	font-size: 22px;
	font-weight: bold;
	font-family: Arial, Serif, sans-serif;
	line-height: 22px;
	margin-right: 15px;	
}
:root #content .phone {
	margin-right: 10px \0/IE9;	
}

#content .mail {
	padding-left: 24px;
	background: url('../images/mail_ico.gif') no-repeat 0 0;
	color: #444444;
	font-size: 12px;
	font-family: Arial, Serif, sans-serif;	 
}


/** Forma **/

#ask_form {
   float: left;
   width: 480px;
   font-size: 12px;
}

#ask_form p {
   margin: 0;
}

#ask_form .line {
   float: left;
   width: 480px;
   border-top: 2px solid #d1261e;
   margin: 10px 0;
   font-size: 0px;
   height: 0px;
}

#ask_form label {
   float: left;
   color: #191919;
   font-weight: bold;
   padding: 1px 0 0 0;
}

#ask_form .small_checkbox {
   float: left;
   margin: 0;
}

#ask_form .small_checkbox input {
   margin-right: 5px;
}

#ask_form label.checkbox {
   font-weight: normal;
   padding: 3px 0 0 0;
   width: 440px;
   margin: 0 0 10px 0;
   color: #444444;
}

#ask_form label.checkbox.small {
   width: auto;
   clear: both;
   padding: 3px 4px;
}

#ask_form select {
   float: right;
   margin: 0;
}

#ask_form input {
   float: left;
   margin: 0 10px 0 0;
}

#ask_form .calc_select {
   width: 47%;
	float:left;
}

#ask_form .calc_select.right {
	float:right;
   width: 47%;
}

#ask_form .calc_select label,
#ask_form .calc_select select {
	float:none;
   width: 195px;
}

#ask_form .calc_select select {
   width: 100%;
}

#ask_form .calc_select input {
	float:none;
   width: 100%;
}

#form_changable_content,
#error_spot {
   float: left;
   width: 480px; 
}

#form_changable_content select {
   float: left;
   width: 99%;
   margin: 5px 0 10px 0px;
}

#ask_form .contact_info {
   float: left; 
   display: none;  
   width: 100%;
}

#ask_form textarea {
   float: left;
   width: 462px;
   height: 100px;
}

#ask_form .contact_info label {
   float: left;
   width: 150px;
}

#ask_form .contact_info input {
   margin: 0 0 5px 0;
}

#send_form {
   /*float: right;
   clear: both;
   background: #D1261E;
   color: white;
   padding: 2px 5px;*/
}

#ask_form .button,
#ask_form .button a {
	float:right;
	background: url('../images/button_bg.gif') no-repeat right -31px;
	padding: 0 10px 10px 0;
	height: 31px;
	display: inline;
	line-height: 31px;              
}

#ask_form .button a {
	padding-left: 10px;    
	padding-right: 0;
	background-position: 0 0;
	color: #262626;
	font-size: 11px;
	font-weight: bold;
	font-family: Arial, Serif, sans-serif;     
}

/*** News ***/

#news {
	float: left;
	width: 100%;
	margin-top: 10px;
} 


#news .news_image,
#news .news_img img {
	border: 1px solid #c9c9ca;
	float: left;
	margin: 0 19px 15px 0;
	padding: 1px;	
}

#news .date {
	color: #828282;
	font-size: 14px;
	padding-right: 13px;
	display: block;
	margin-bottom: 15px;
}

#news .news_loop .date {
	display: inline;
	margin-bottom: 0;
	font-size: 12px;
	display: block;
}

#news .news_title {
	color: #262626;
	font-weight: bold;
	line-height: 16px;
	font-size: 13px;
}

#news,
#news .news_loop p {
	color: #262626;
	font-size: 14px;
}

#news .news_loop p {
	margin: 4px 0;
	line-height: 18px;
}

#news .news_loop {
 	margin-bottom: 20px;
}

.pagination {
	float: left;
	width: 60%;
}

.pagination ul {
	display: block;
	padding: 0;
	margin: 0;
	list-style: none;
	text-align: center;
}

.pagination li {
	display: inline;
	padding: 0 7px;
	line-height: 11px;
	background: url('../images/paging_border.gif') no-repeat right center;
}

.pagination li.a_back,
.pagination li.on_top,
.pagination li.last {
 	background: none;
}

.pagination li.a_back {
	margin-right: 22px;
}

.pagination li.on_top {
	margin-right: 66px;
}

a.a_back,
a.on_top,
a.a_more,
.pagination a {
	color: #b90f07;
	font-size: 12px;
}

a.a_back {
	margin-right: 22px;
}

.pagination li.last {
	border-right: none;
}

.pagination li.used a {
	color: #262626;
	text-decoration: underline;
}

/*** Calculator form ***/

#calc_block,
form.calc label {
	color: #191919;
	font-size: 12px;
	font-weight: bold;
	font-family: Arial, Serif, sans-serif;
	line-height: 14px;
}

form.calc select {
	color: #191919;
	font-family: Arial, Serif, sans-serif;
	border: 1px solid #bbbbbb;
	background: none;
	width: 180px;
	margin-bottom: 14px;
	margin-top: 5px;
}

#calc_price {
	color: #b90f07;
	font-size: 18px;
	font-family: Arial, Serif, sans-serif;
	font-weight:bold;
	padding:9px 0 12px; 
	text-align:center;
}

#calc_block {
	border:1px solid #bbbbbb; 
	padding:12px 14px; 
	width:240px; 
	text-align:center; 
	display:none;
	margin-top: 13px;
}

#ask_form #calc_block { width:452px; }

#calc_block .button,
#calc_block .button a {
	background: url('../images/button_bg.gif') no-repeat right -31px;
	padding: 8px 10px 10px 0;
	height: 31px;
	display: inline;
	line-height: 31px;              
}

#calc_block .button a {
	padding-left: 10px;    
	padding-right: 0;
	background-position: 0 0;
	color: #262626;
	font-size: 12px;
	font-weight: bold;
	font-family: Arial, Serif, sans-serif;     
}


form.form { position:relative; border:1px solid #bbbbbb; padding:10px; width:400px; margin:5px 0; }
	form.form label { color: #191919; font-weight: bold; padding: 1px 0 0 0; }
	form.form input[type="text"],
	form.form input[type="select"],
	form.form textarea
	{ width:100%; }
	form.form textarea { width:390px; height:94px; margin-bottom:15px; }
	form.form .inputs { float:left; width:145px; margin-bottom:15px; }
	form.form.wide .inputs { width:390px; }
		form.form .inputs label, form.form .inputs input { float:none; width:auto; }
	form.form .text_info { margin-bottom:15px; }
	form.form  .space { height:15px; font-size:1px; line-height:1px; }
	form.form  .line { border-top:1px solid #e0e1e2; height:15px; font-size:1px; line-height:1px; }
	form.form input.send_form_btn { float: right; background: #D1261E; color:white; padding: 2px 5px; border:0; }
	
form.form .button,
form.form .button input[type="submit"] {
	background: url('../images/button_bg.gif') no-repeat right -31px;
	padding: 0 10px 0 0;
	margin:0;
	height: 31px;
	float: right;
	line-height: 31px;              
}

form.form .button input[type="submit"] {
	padding-left: 10px;    
	padding-right: 0;
	margin:0;
	background-position: 0 0;
	color: #262626;
	font-size: 12px;
	font-weight: bold;
	font-family: Arial, Serif, sans-serif;
	border:0;
	cursor:pointer;
}