﻿html {
	overflow: -moz-scrollbars-vertical;
	}

body {
	color: #465364;
	font-weight: normal;
	font-family:  Tahoma, Arial, Helvetica, sans-serif;
	font-size: 12px;
	padding: 0 0 20px 0;
	margin: 0;
	text-align: center;
	background-image: url(../img/bg_main.gif);
	background-repeat: repeat;
	}
	
img, div { behavior: url(iepngfix.htc); }
	
	
img {
	border: none
	} 

div {
	text-align: left;
	}	
 
form {
	margin: 0;
	padding: 0;	
	}
	
table {
	border-collapse: collapse; 	 
	}	
	
td, th {	
	text-align: left;
	vertical-align: top;	
	padding: 0;
	color: #465364;
	font-weight: normal;
	font-family:  Tahoma, Arial, Helvetica, sans-serif;
	font-size: 11px;
	}
	
p {
	font-weight: normal;
	font-family:  Tahoma, Arial, Helvetica, sans-serif;
	font-size: 12px;
	margin: 0 0 20px 0;
	padding: 0;
	}	

a {
	color: #04169E;
	font-weight: normal;
	font-family:  Tahoma, Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-decoration: underline;
	}
	
a.rich {
	color: #04169E;
	font-weight: normal;
	font-family:  Tahoma, Arial, Helvetica, sans-serif;
	font-size: 11px;
	text-decoration: underline;
	background-image: url(../img/arrow.gif);
	background-repeat: no-repeat;
	background-position: 0 4px;
	padding: 0 0 0 15px;
	}			

a:hover {
   	text-decoration: none;
	}		

	
h1 {
	background-image: url(../img/bg_h1.gif);
	background-repeat: no-repeat;
	background-position: left center;
	line-height: 41px; 
	padding: 13px 0 13px 40px;
	margin: 0;
	}

option, input, textarea {
	color: #465364;
	font-family:  Tahoma, Arial, Helvetica, sans-serif;
	}
	
div.fotor {
	float: right;
	padding: 0 0 10px 10px;	
	}
	
div.fotor img {
	display: block;
	}	
		

div.clear {
    border: 0;
    clear: both;
    display: block;
    float: none;
    margin: 0;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
	font-size: 1px;
	line-height: 1px;
	}	


div.site {
	width: 998px;
	margin: 0 auto;
	padding: 43px 0 0 0;
	position: relative;
	text-align: center;
	}
	
div.site_border {
	background-image: url(../img/site_border.gif);
	background-repeat: repeat-y;
	background-position: center;
	width: 978px;
	}
	
img.site_border_footer {
	width: 978px;
	display:block;
	margin: 0; 
	}		
	
div.site .pinion {
	position: absolute;
	top: 0;
	right: 0;
	width: 172px;
	height: 189px;
	z-index: 9999;
	}	

#header {
	width: 954px;
	height: 146px;
	background-image: url(../img/bg_header.gif);
	background-position: left bottom;
	background-repeat: no-repeat;
	position: relative;
	margin: 0 0 0 12px;
	background-color: #FFFFFF; 
	}
	
#header img {
	display: block;
	}	
	
#header a.logo {
	display: block;
	position: absolute;
	width: 173px;
	height: 92px;
	top: 21px;
	left: 11px;
	}
	
#header a.logo_text {
	display: block;
	position: absolute;
	width: 505px;
	height: 36px;
	top: 53px;
	left: 213px;
	background-image: url(../img/logo_text.gif);
	background-position: center center;
	background-repeat: no-repeat;
	}		

#content {
	width: 954px;
	margin: 0 0 0 12px;
	padding: 0 0 15px 0; 
	}

#nav, #nav  ul, #nav li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	}
		
#nav {
	margin: 0 0 0 1px;
	}

#nav img {
	display: block;
	}
	
#nav li {
	text-align: left;
	vertical-align: top;
	}
	
#nav li a {
	display: block;
	}	

#nav a.nav_home {
	background-image: url(../img/nav_home.gif);
	background-position: left top;
	background-repeat: no-repeat;
	width: 182px;
	height: 40px;
	width: 182px;
	height: 40px;
	}
	
#nav a.nav_about {
	background-image: url(../img/nav_about.gif);
	background-position: left top;
	background-repeat: no-repeat;
	width: 182px;
	height: 40px;
	}
	
#nav a.nav_history {
	background-image: url(../img/nav_history.gif);
	background-position: left top;
	background-repeat: no-repeat;
	width: 182px;
	height: 40px;
	}
	
#nav a.nav_carrers {
	background-image: url(../img/nav_carrers.gif);
	background-position: left top;
	background-repeat: no-repeat;
	width: 182px;
	height: 40px;
	}			

#nav a.nav_quote {
	background-image: url(../img/nav_quote.gif);
	background-position: left top;
	background-repeat: no-repeat;
	width: 182px;
	height: 40px;
	}
	
#nav a.nav_contacts {
	background-image: url(../img/nav_contacts.gif);
	background-position: left top;
	background-repeat: no-repeat;
	width: 182px;
	height: 40px;
	}	

#nav a:hover, #nav a.active {
	background-position: left bottom;
	background-repeat: no-repeat;
	}					

.above_nav {
	padding: 4px 0 0 1px;
	}

.contacts {
	padding: 20px 0 0 24px
	}
	
.contacts p {
	margin: 0 0 20px 0;
	}	

div.left_col {
	float: left;
	width: 188px;	
	}

div.rigth_col {
	float: right;
	width: 765px;
	}

div.internal_cont {
	padding: 16px 20px 40px 8px;
	}


#footer {
	width: 954px;
	height: 70px;
	position: relative;
	margin: 0 0 0 12px;
	background-color: #DCDDE0;
	border-top: 1px solid #C6C6C6; 
	}

#footer .copyright {
	padding: 30px 0 0 25px;
	}
	
#footer .footer_nav {
	padding: 5px 0 0 25px;
	color: #A66D00;
	}	

#footer a.jm_logo {
	display: block;
	width: 151px;
	height: 24px;
	float:right;
	background-image: url(../img/jm_logo.gif);
	background-repeat: no-repeat;
	background-position: left top;
	margin: 34px 20px 0 0; 
	}


div.index_cont {
	padding: 18px 8px;
	}

table.index_cont_table img {
	display: block;
	}



/*                some_form                 */

.some_form {
	display: block;
	width: 500px;
	margin: 0 auto;
	padding: 0 ;
	}

.some_form fieldset {
	margin: 0;
	padding: 0 ;
	border: none;
	}

.some_form p {
	height: 30px;
	margin: 0;
	padding: 0;
}

.some_form label {
	display: block;
	float: left;
	font-size: 12px;
	margin: 0; 
	text-align: left;
	width: 120px;
	line-height: 16px;	
	}

.some_form input {
	display: block;
	font-size: 12px;
	float: left;
	}
	
.some_form input.ch {
	display: block;
	float: left;
	border: none;
	font-size: 12px;
	width: 25px;
	background: none;
	}
	

.some_form select {
	display: block;
	font-size: 12px;
	float: left;
	}	
	
.some_form textarea {
	display: block;
	font-size: 12px;
	float: left;
	}	

.some_form button.login {
	display: block;
	width: 95px;
	height: 40px;
	border: none;
	background-color: transparent;
	background-image: url(../img/btn_login.gif);
	background-position: center center;
	background-repeat: no-repeat;
	cursor: pointer;
	margin: 0 36px 0 0 ; 
	float: left;
	}

form.some_form fieldset input.input_text {
   	border: 1px solid #248acc;
	background: #fff;
	width: 226px;
	height: 16px;
}

form.some_form fieldset select.input_text {
	width: 226px;
	height: 20px;
}
