body {
  background-color: #4B7399;
  font-family: "Trebuchet MS", Verdana, Helvetica, Arial;
  font-size: 14px;
}
a img { border: none; }
a { color: #0000FF; }
.clear {
  clear: both;
  height: 0px;
  overflow: hidden;
}

#content h2 { font: bolder 2.9em "Trebuchet MS", Verdana, Helvetica, Arial; color: #666; margin-bottom: 20px; }
#content h3 { font: bolder 1.9em "Trebuchet MS", Verdana, Helvetica, Arial; color: #64A7D7; margin-bottom: 10px; }

#container {
  width: 75%;
  margin: 0 auto;
  background-color: #FFF;
  padding: 20px 40px;
  border: solid 1px black;
  margin-top: 20px;
}
#crumbs { width: 860px; margin: 0 auto; color: #999; line-height: 23px; font-size: 12px; }
#crumbs a { color: #999; line-height: 23px; font-size: 12px; text-decoration: none; }

#contacts_form { height: 350px; }

#flash_notice, #flash_error {
  padding: 5px 8px;
  margin: 10px 0;
	font-size: 1.2em;
}

#flash_notice {
  background-color: #CFC;
  border: solid 1px #6C6;
}

#flash_error {
  background-color: #FCC;
  border: solid 1px #C66;
}

.fieldWithErrors {
  display: inline;
}

#errorExplanation {
  padding: 0px;
  padding-bottom: 12px;
  margin-bottom: 20px;
	background: url(../images/bg-modules-1.png) no-repeat;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: 0px;
  background-color: #c00;
  color: #fff;
}
#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 8px;
	font-size: 12px;
}
#errorExplanation ul {
  margin: 2px 24px;
}
#errorExplanation ul li {
  font-size: 12px;
  list-style: disc;
}

.page { width: 862px; margin: 0 auto; padding: 20px 0 10px 0; }

/* Users Form (new/edit) */
.form_container,
.content_container,
.admin_container { background: url(../images/bg-modules-1.png) no-repeat; width: 822px; margin: 0 auto; padding: 20px; font-size: 1.2em; color: #666; }
.form_container label,
.admin_container label { line-height: 1.6em; font-weight: bolder; width: 155px; display: block; float: left; text-align: right; padding-right: 10px; }
#register-bottom label,
#address-bottom label,
#profile-bottom label { line-height: 1.6em; font-weight: bolder; width: 185px; display: block; float: left; text-align: right; padding-right: 10px; }
#register-middle { background: url(../images/register-middle.png) repeat-y center; margin: 20px 0; }
#register-top { background: url(../images/register-top.png) no-repeat top center; }
#register-bottom { background: url(../images/register-bottom.png) no-repeat bottom center; padding: 30px 20px 10px 20px; }
#register-middle h3 { display: none; }
#profile-middle { background: url(../images/profile-middle.png) repeat-y center; margin: 30px 0; }
.profile-top-user { background: url(../images/profile-top.png) no-repeat -843px top }
.profile-top-company { background: url(../images/profile-top.png) no-repeat 5px top }
#profile-bottom { background: url(../images/profile-bottom.png) no-repeat bottom center; padding: 0px 20px 10px 20px; }
#profile-middle h3 { display: none; }
#address-middle { background: url(../images/register-middle.png) repeat-y center; margin: 20px 0; }
#address-top { background: url(../images/address-top.png) no-repeat top center; }
#address-bottom { background: url(../images/register-bottom.png) no-repeat bottom center; padding: 30px 20px 10px 20px; }
#address-middle h3 { display: none; }
#personal-information-top { background: url(../images/personal-information-top.png) no-repeat top center; }
.generic-top { background: transparent url(../images/generic-top.png) no-repeat top center; }
#users_form #user_login { width: 162px; }
#users_form #user_password { width: 162px; }
#users_form #user_password_confirmation { width: 162px; }
#register-bottom label { margin-right: 5px; }
#register-bottom .mac_address { font-weight: bolder; }
#users_form .where_you_acquired label { width: 300px; }
#type_selection { height: 60px; }
#type_selection ul li { float: left; display: block; list-style: none; }
#type_selection ul li a { 
	cursor: pointer;
	text-indent: -9999px; 
	overflow: hidden; 
	width: 190px; 
	height: 40px; 
	display: block; 
}
label.checkbox,
.checkbox label { width: auto!important; }

/* Contact */
#contacts_form label { width: 260px; display: block; float: left; font-weight: bolder; text-align: right; margin-right: 5px; line-height: 24px;}
#contacts_form textarea { width: 440px; height: 65px; }
#contacts_form .content { height: 70px; }

/* Forms general */
.button_box { margin: 0 auto; text-align: center; }
.button_box button,
.button_box input,
.button_box a { 
	border: 0; 
	color: white; 
	font-size: 1em;
	font-weight: bolder;
	background: url(../images/bg-button.png) no-repeat; 
	height: 43px; 
	line-height: 27px; 
	width: 329px;
	cursor: pointer;
}
.button_box a { display: block; line-height: 40px; text-align: center; text-decoration: none; }
.field_row {
	clear: both;
	height: 30px;
}
.field_column {
	margin-right: 25px;	
	float: left;	
}
.fieldWithErrors {
	display: inline;
}
.fieldWithErrors label {
  color: red;
}
.fieldWithErrors input,
.fieldWithErrors textarea,
.fieldWithErrors select {
  background: #F99;
}

/* Login container - Site/Admin */
.logged_in {
	padding: 60px 0 10px 170px !important;
	width: 280px !important;
	line-height: 20px !important;
	height: 40px !important;
	font-size: 1.4em;
}
.logged_in p { font-size: 0.8em; }
.logged_in a { text-decoration: none; color: #333; }
.logged_in a:hover { text-decoration: underline; }

/* Voice Portal */
.voice_portal table { width: 100%; }
.voice_portal table thead th,
.voice_portal table tbody td { padding: 2px; line-height: 15px; }
.voice_portal table thead th p,
.voice_portal table tbody td p { padding: 0; margin: 0; }
.voice_portal table thead th { border-bottom: 1px solid black; font-weight: bolder; }
.voice_portal table .even { background-color: #f4f4f4; }
.voice_portal .actions { width: 50px; }

/* Service Networks - Results */
#body_results { 
  background: transparent url(/images/body-service-network-results.png) repeat-y center;
  margin-top: 40px;
}
#body_results .header {
  background: transparent url(/images/header-service-network-results.png) no-repeat top center;    
}
#body_results .footer {
  background: transparent url(/images/footer-service-network-results.png) no-repeat bottom center;    
}
#body_results .pagination {
  height: 45px;
	line-height: 45px;
	color: white;
	font-weight: bolder;	
	color: #0B506E;
}
#body_results .pagination .disabled { color: #ddd; font-weight: normal; }
#body_results .pagination a {
	color: white;
	text-decoration: none;
	font-weight: normal;
}
#body_results .pagination .pages {
	color: #333;
  margin-left: 35px;
	width: 200px;
	display: block;
	margin-right: 50px;
	float: left;
}
#body_results .ordering {
  line-height: 40px;
  height: 50px;
}
#body_results .ordering a {
	color: white;
	text-decoration: none;
}
#body_results .ordering p {
  float: left;
  display: block;
  width: 370px;
  padding-left: 40px;
}  
#body_results .ordering  ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#body_results .ordering  ul li {
  float: left;
  display: block;
  width: 90px;
  color: white;
  text-align: center;
  font-weight: bolder;
  text-transform: uppercase;
  font-size: 0.8em;
  line-height: 43px;
}  
#body_results .result_item { 
  margin: 15px 30px 10px 30px;
  padding-bottom: 25px;
  border-bottom: 7px solid #dfdfdf;
  min-height: 100px;
}
.image { 
  float: right;
}
#body_results .result_item a { color: #333; text-decoration: none; }
#body_results .result_item a:hover { color: #64A7D7; text-decoration: underline; }
#body_results .result_item .desc,
#body_results .result_item .address { 
	margin-bottom: 10px;
	margin-right: 120px;
}
#body_results .result_item .contact strong { font-weight: bolder; color: #64A7D7 }
#body_results .result_item h2 { 
  font-size: 1.2em !important;
  margin: 0 0 5px 0!important;
}
#body_results .last {
  border: 0;
}

#pages_content {
	background: url(../images/bg-pages.png) no-repeat; 
	width: 822px; 
	margin: 0 auto; 
	padding: 60px 20px 20px 20px; 
	font-size: 1.2em; 
	color: #666;
}