html {
	overflow: -moz-scrollbars-vertical;
}

body {
	margin: 0;
	background-color: #F0F0F0;
}

.offer_print {
	background-color: #FFF;
	font: 12px Arial;
	
}

* {
	margin: 0;
	padding: 0;
}

ul {
	list-style: none;
}

a {
	text-decoration: none;
}

a img {
	border-style: none;
}

#frame_1 {
	margin: 30px 0 50px 0;
	background: url('../img/design/middle.png') repeat-y center;
}

#frame_2 {
	background: url('../img/design/top.png') no-repeat top center;
}

#frame_3 {
	background: url('../img/design/bottom.png') no-repeat bottom center;
}

#content {
	overflow: auto;
	margin: 20px auto 20px auto;
	padding-bottom: 50px;
	width: 980px;
	min-height: 500px;
	height: auto !important;
	height: 500px;
}

#content_offer {
	overflow: auto;
}

.fix {
	overflow: auto;
}


h1 {
	font: 22px Arial, Tahoma, 'Times New Roman';
	color: #3F3F99;
}

h2 {
	font: 18px Arial, Tahoma, 'Times New Roman';
	color: #3F3F99;
}

h3 {
	font: 15px Arial, Tahoma, 'Times New Roman';
	color: #3F3F99;
}

h4 {
	font: 13px Arial, Tahoma, 'Times New Roman';
	color: #3F3F99;
}

.offer_print_a {
	position: absolute;
	left: 50%;
	margin-top: -22px;
	font: 14px Arial, Tahoma, 'Times New Roman';
	color: #3F3F99;	
}

#dir {
	margin-bottom: 20px;
	font: 11px Tahoma, Arial;
	color: #AAA;
}

#dir a {
	color: #AAA;
}

#dir a:hover {
	text-decoration: underline;
}


#top {
	overflow: auto;
}

#hello {
	position: absolute;
	margin: -24px 0 0 700px;
	width: 240px;
	padding: 5px 10px 5px 10px;
	font: 12px Tahoma;
	color: #808080;
	border: solid 1px #EEE;
	background: #FFF;
}

#hello li {
	margin-left: 20px;
	list-style: disc;
	color: #AAA;
}

#hello li a {
	margin-left: -5px;
	font-size: 11px;
	color: #AAA;
}

.log_out {
	position: absolute;
	margin: 0 0 0 185px;
	font: 11px Arial;
	color: #AAA;
}

#hello a:hover {
	color: #3F3F99;
}

#hello p {
	margin-top: 5px;
	padding-top: 3px;
	border-top: solid 1px #DDD;
	font-size: 11px;
}



#logo {
	margin: 50px 0 50px 0;
	padding-top: 100px;
	text-align: center;
}

#logo_small {
	display: block;
	float: left;
	margin: 30px 0 0 40px;
	width: 387px;
	height: 58px;
	background: url('../img/logo_small.png');
	text-indent: -9999px;
}

#menu {
	float: right;
	margin: 50px 30px 0 0;
}

#menu li {
	float: left;
	margin-right: 10px;
	width: 136px;
	height: 34px;
	padding-top: 7px;
	text-align: center;
}

#menu li a {
	font: 18px Arial;
	color: #4C4C4C;
}

#menu li a:hover {
	text-decoration: underline;
}

#menu .active {
	background: url('../img/design/main_menu.png');
}

#menu .active a, #menu .active a:hover {
	color: #FFF;
}

#fp_info {
	width: 440px;
}


#fp_news {
	width: 320px;
}

#fp_info, #fp_news {
	float: left;
	margin-top: 50px;
	padding-bottom: 50px;
	font: 13px Arial;
	color: #4C4C4C;
}

#fp_info {
	margin-left: 50px;
	padding-right: 50px;
	border-right: solid 1px #DDD;
}

#fp_news {
	padding-left: 50px;
}

#fp_info .heading, #fp_news .heading {
	font: 22px Arial;
	color: #3F3F99;
	text-align: center;
}


#sub_menu, #text {
	float: left;
	margin: 30px 0 0 50px;
}

#sub_menu {
	width: 200px;
}

#text {
	width: 620px;
}


	#mce_editor {
		background: url('../img/white.gif');
	}
	
	#text_content, #mce_editor {
		font: 13px Arial, Tahoma;
		color: #4C4C4C;
	}
	
	#text_content p, #mce_editor p {
		line-height: 21px;
	}
	
	#text_content ul, #mce_editor ul {
		margin-left: 30px;
		line-height: 21px;
		list-style-type: disc;
	}
	
	#text_content ol, #mce_editor ol {
		margin-left: 30px;
		line-height: 21px;
		list-style-type: decimal;
	}
	
	
	#text_content a, #mce_editor a {
		color: #3F3F99;
	}
	
	#text_content a:hover, #mce_editor a:hover {
		text-decoration: underline;
	}
	
	#text_content .picture, #mce_editor .picture {
		border: solid 4px #E1E1E1;
	}
	
	#text_content .info, #mce_editor .info {
		font: 12px Arial;
		color: #AAAAAA;
	}
	
	#text_content .heading, #mce_editor .heading {
		margin: 5px 0 9px 0;
		font: 22px Arial;
		color: #3F3F99;
	}
	
	#text_content .sub_heading, #mce_editor .sub_heading {
		margin: 5px 0 6px 0;
		font: 19px Arial;
		color: #3F3F99;
	}
	
	#text_content .ssub_heading, #mce_editor .ssub_heading {
		margin: 5px 0 3px 0;
		font: 16px Arial;
		color: #3F3F99;
	}


#ma_search, #ma_data {
	float: left;
	margin: 30px 0 0 50px;
}

#ma_search {
	width: 200px;
	font: 12px Arial;
	color: #4C4C4C;
}

#ma_search .field, #ma_search .field_half {
	width: 100%;
	margin-top: 2px;
	padding: 3px;
	font: 12px Arial;
	color: #4C4C4C;
	border: solid 1px #CCC;
}

#ma_search .field_half {
	width: 45%;
}

#ma_search .line {
	margin-bottom: 10px;
}

#ma_search select {
	width: 100%;
	padding: 3px;
	font: 12px Arial;
	color: #4C4C4C;
}

#ma_search .submit {
	margin: 10px 0 0 25px;
	width: 150px;
	height: 30px;
	border: solid 1px #CCC;
	background: #EEE;
}

#ma_data {
	width: 620px;
	margin-left: 60px;
	border-top: solid 1px #DDD;
}

#ma_data td {
	margin-bottom: 15px;
	padding: 10px 0 10px 0;
	font: 13px Arial;
	color: #4C4C4C;
	border-bottom: solid 1px #DDD;
}

#ma_data img {
	float: left;
	width: 120px;
	height: 90px;
	margin-right: 20px;
}

#ma_data .heading {
	margin-bottom: 3px;
}

#ma_data .heading a {
	font-size: 14px;
	color: #3F3F99;
}

#ma_data a {
	color: #3F3F99;
}

#ma_data a:hover, #ma_data .heading a:hover, #ma_data .link a:hover {
	text-decoration: underline;
}

#ma_data .status {
	margin-top: 5px;
	font-size: 11px;
	color: #808080;
}


#ma_paging {
	float: right;
	margin: 20px 60px 0 0;
	width: 620px;
	padding-bottom: 5px;
	text-align: center;
}

#ma_paging li {
	display: inline;
	margin-right: 5px;
	font: 12px Arial;
	color: #4C4C4C;
}

#ma_paging li a {
	color: #4C4C4C;
}

#ma_paging li a:hover {
	color: #3F3F99;
}

#ma_paging .ip_active {
	margin-top: -3px;
	padding: 3px 6px 3px 6px;
	color: #FFF;
	background: #3F3F99;
}



#car_info {
	font: 13px Arial;
	color: #4C4C4C;	
}

#car_info h1 {
	margin: 0 0 15px 0;
}

#car_info h2 {
	margin: 20px 0 5px 0;
}

#car_details {
	border-top: solid 1px #CCC;
}

#car_details td {
	padding: 5px;
	font: 13px Arial;
	color: #4C4C4C;
	border-bottom: solid 1px #CCC;
}


#md_ainfo td {
	padding: 3px;
}

#md_ainfo {
	font: 13px Arial;
	color: #4C4C4C;
}

#md_ainfo input[type=text], #md_ainfo select {
	width: 100%;
	padding: 3px;
	font: 12px Arial;
	color: #4C4C4C;
}

#md_ainfo input {
	border: solid 1px #CCC;
}

.small_info {
	font-size: 11px;
	color: #AAA;
}


#report2 {
	width: 100%;
	font: 13px Arial;
	color: #4C4C4C;
}

#report2 td {
	padding: 3px;
}

#report2 input[type=text], #report2 select {
	width: 100%;
	padding: 2px;
	font: 12px Arial;
	color: #4C4C4C;
}

#report2 input {
	border: solid 1px #CCC;
}

#report2 .submit {
	width: 250px;
	height: 30px;
	background: #EEE;
}




#expenses a {
	color: #4C4C4C;
}

#expenses a:hover {
	text-decoration: underline;
}

#fp_info .submit, #md_ainfo .submit, .submit {
	width: 150px;
	height: 30px;
	border: solid 1px #CCC;
	background: #EEE;
	font: 13px Arial;
	color: #4C4C4C;
}



#expenses, #life_log, #offer {
	margin-top: 30px;
	width: 100%;
	font: 12px Arial;
	color: #4C4C4C;
}

#expenses .header, #life_log .header, #offer .header {
	height: 30px;
	background: #E5E5E5;
	text-align: center;
}

#expenses td, #life_log td, #offer td {
	padding: 5px;
	border-top: solid 1px #CCC;
}

#life_log a {
	color: #3F3F99;
}

#life_log a:hover {
	text-decoration: underline;
}


#authorisation {
	margin: 80px auto 50px auto;
	width: 210px;
	font: 11px Tahoma;
	color: #4C4C4C;
	text-align: center;
}

#authorisation .heading {
	margin-bottom: 5px;
	font-size: 12px;
	color: #FF0000;
}

#authorisation a {
	display: block;
	margin-top: 10px;
	font-size: 13px;
	color: #4C4C4C;
}

#authorisation li {
	margin-bottom: 3px;
	text-align: right;
}

#authorisation input {
	width: 150px;
	height: 16px;
	border: solid 1px #BBBBBB;
	font: 11px Tahoma;
}

#authorisation .submit {
	width: 100px;
	height: 20px;
	margin: 3px 27px 0 0;
	border: solid 1px #BBBBBB;
	background-color: #EEEEEE;
}


#car_form {
	font: 13px Arial;
	color: #4C4C4C;
}

#car_form input, #car_form select {
	margin-top: 3px;
}

#car_form input {
	padding: 4px;
	font: 13px Arial;
	border: solid 1px #CCC;
}

#car_form select {
	padding: 3px;
}

#car_form .import {
	width: 160px;
	border: solid 1px #BBBBBB;
	background-color: #EEEEEE;
}


.field {
	padding: 4px;
	font: 13px Arial;
	border: solid 1px #CCC;
}

.button {
	width: 160px;
	height: 25px;
	border: solid 1px #BBBBBB;
	background-color: #EEEEEE;
}

.extra_text {
	font: 13px Arial;
	color: #4C4C4C;
}


#module_action {
	width: 100%;
	background: #F1F1F1;
	border: solid 1px #CCCCCC;
}

.module_list {
	margin-left: 5px;
	width: 99%;
}


#vin_info {
	width: 394px;
	margin-top: 5px;
	padding: 5px;
	border: solid 1px #CCC;
	background: #EEE;
	text-align: center;
}


.source, .source_active {
	float: left;
	display: block;
	margin: 5px 5px 0 0;
	width: 16px;
	font-size: 11px;
	color: #808080;
	text-align: center;
}

.source {
	border-bottom: solid 2px #FF0000;
}

.source_active {
	border-bottom: solid 2px green;
}




#cp {
	width: 860px;
	margin: 100px auto 0 auto;
}

#cp_error {
	font: 16px Arial;
	color: #FF0000;
	text-align: center;
}

#cp_error_info {
	margin-bottom: 20px;
	font: 12px Arial;
	color: #4C4C4C;
	text-align: center;
}

#cp_heading {
	margin-bottom: 20px;
	font: 16px Arial;
	color: #0085C7;
	text-align: center;	
}

#cp_form {
	margin: 3px 240px 0 0;
	font: 12px Arial;
	color: #4C4C4C;
	text-align: right;
}

#cp_form input {
	width: 250px;
	padding: 4px;
	font: 12px Arial;
	color: #4C4C4C;
	border: solid 1px #CCC;
}

#cp_button {
	margin: 10px 0 20px 420px;
	width: 150px;
	height: 24px;
	border: 0px;
	font: 12px Arial;
	color: #FFF;
	background: #0085C7;
}

#cp_notes {
	font: 12px Arial;
	color: #4C4C4C;
}






/* LIST */

.list_heading, .add_to_list {
	margin-bottom: 10px;
}

.add_to_list {
	text-align: center;
}

.list_heading, .add_to_list, .add_to_list a {
	font: 18px Arial;
	color: #3F3F99;
}

.list_option {
	position: absolute;
	margin: 5px 0 0 390px;
}

.list_option, .list_option a {
	font: 14px Arial;
	color: #3F3F99;
}

.list_option .active {
	text-decoration: underline;
}

.add_to_list a:hover, .list_option a:hover {
	text-decoration: underline;
}

.list {
	width: 100%;
	font: 12px Arial;
	color: #4C4C4C;
}

.list .header {
	height: 40px;
	background: #E5E5E5;
	text-align: center;
}

.list td {
	padding: 5px;
	border-top: solid 1px #CCC;
}

.list a {
	color: #3F3F99;
}

.list a:hover {
	text-decoration: underline;
}


.break {
	page-break-after: always;
}


@media print {
  .offer_print_a {
	display: none;
  }
  #content {
  	margin: 0;
  	height: inherit;
  	min-height: inherit;
  }
  #frame_1,
  #content > div:first-child {
  	margin: 0;
  }
}


/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  
  background-color: #555;
  color: #fff;
  text-align: left;
  padding: 5px 10px;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}