html * {
    margin: 0;
    /*padding: 0; SELECT NOT DISPLAYED CORRECTLY IN FIREFOX */
}

html {overflow-y: scroll} 

/* GENERAL */

.spinner {
    padding: 5px;
    position: absolute;
    right: 0;
}

body {
    color: #333;
    font: 10pt verdana;
    text-align: left;
    background: transparent url('../images/themes/grey/SidebarBgRepeat.gif') left top repeat-y;    
    clear:both;
}

body.navCollapsed {
    background: transparent url('../images/themes/grey/SidebarBgRepeat.gif') -213px top repeat-y;
}

a {
    color: #5877AD;
    text-decoration: none;
    font-size: 8pt;
} 

a:hover {
    color: #5877AD;
    text-decoration: underline;
}

a.showAdShortDescToDisplayInARowPage {
    color: #5877AD;
    text-decoration: none;
}

a.showAdShortDescToDisplayInARowPage:hover {
    color: #5877AD;
    text-decoration: underline;
}

h1, h2, h3, h4, h5 {
    font-weight: normal;
    line-height: 2.0em !important;
    margin: 5px 0;
}

h1 {
    color: #006dba;
    font-weight: normal;
    font-size: 16px;
    line-height: 2.0em;
}

ul {
    padding-left: 15px;	
}

input, select, textarea {
    background-color: #fcfcfc;
    border: 1px solid #ccc;
    margin: 2px 0;
    padding: 2px 4px;
}
select {
   padding: 2px 2px 2px 0;
}
textarea {
	width: 250px;
	height: 150px;
	vertical-align: top;
}

input:focus, select:focus, textarea:focus {
    border: 1px solid #b2d1ff;
}

label { 
    font-weight: normal;
    text-align: right; 
}

/* NAVIGATION MENU */

.menuButton {
    font-size: 10px;
    padding: 0 5px;
}
.menuButton a {
    color: #333;
    padding: 4px 6px;
}
.menuButton a.home {
    background: url(../images/skin/house.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}
.menuButton a.list {
    background: url(../images/skin/database_table.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}
.menuButton a.create {
    background: url(../images/skin/database_add.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}

/* MESSAGES AND ERRORS */

.message {
    background: #f3f8fc url(../images/skin/information.png) 8px 50% no-repeat;
    border: 1px solid #b2d1ff;
    color: #006dba;
    margin: 10px 0 5px 0;
    padding: 5px 5px 5px 30px
}

div.errors {
    background: #fff3f3;
    border: 1px solid red;
    color: #cc0000;
    margin: 10px 0 5px 0;
    padding: 5px 0 5px 0;
    text-align:left;
}
div.errors ul {
    list-style: none;
    padding: 0;	
}
div.errors li {
	background: url(../images/skin/exclamation.png) 8px 0% no-repeat;
    line-height: 18px;
    padding-left: 30px;
}

td.errors select {
    border: 1px solid red;
}
td.errors input {
    border: 1px solid red;
}

/* TABLES */

table {
    border: 1px solid #ccc;
    width: 100%
}
tr {
    border: 0;
}
td, th { 
    line-height: 18px;
    padding: 5px 6px;
    text-align: left;
    vertical-align: top;
    white-space: no-wrap;
}
th {
    background: #fff url(../images/skin/shadow.jpg);
    color: #666;
    font-weight: normal;
    line-height: 18px;
    padding: 2px 6px;
}
th a:link, th a:visited, th a:hover {
    color: #333;
    display: block;
    font-size: 10px;
    text-decoration: none;
    width: 100%;
    white-space: no-wrap;
}
th.asc a, th.desc a {
    background-position: right;
    background-repeat: no-repeat;
}
th.asc a {
    background-image: url(../images/skin/sorted_asc.gif);
}
th.desc a {
    background-image: url(../images/skin/sorted_desc.gif);
}

.odd {
    background: #FFFFFF;
    border-top: #ccc 1px solid;
}
tr.even, tr.even td, tr.odd, tr.odd td{
    background: #FFFFFF;
    border-top: #ccc 1px solid;
}

/* LIST */

.list table {
    border-collapse: collapse;
}
.list th, .list td {
    border-left: 1px solid #ddd;
}
.list th:hover, .list tr:hover {
    background: #b2d1ff;
}

.sortFilter{
    border:none; 
    color: #666;
    text-align: right; 
}
 
/* PAGINATION */

.paginateButtons {
    background: none;
    border-top: 1px solid #ccc;
    color: #666;
    font-size: 10px;
    overflow: hidden;
    padding: 10px 8px;
    text-align: right; 
}
.paginateButtons a {
    background: #fff;
    border: 1px solid #ccc;
    border-color: #ccc #aaa #aaa #ccc;
    color: #666;
    margin: 0 3px;
    padding: 2px 6px;
}
.paginateButtons span {
    padding: 2px 3px;
}

/* DIALOG */

.dialog table {
    padding: 5px 0;
}

.prop {
    padding: 5px;
}
.prop .name {
    text-align: left;
    width: 15%;
    white-space: nowrap;
}
.prop .value {
    text-align: left;
    width: 85%;
}

/* ACTION BUTTONS */

.buttons {
    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
    border: 1px solid #ccc;
    color: #666;
    font-size: 10px;
    margin-top: 5px;
    overflow: hidden;
    padding: 0;
}

.buttons input {
    background: #fff;
    border: 0;
    color: #333;
    cursor: pointer;
    font-size: 10px;
    font-weight: bold;
    margin-left: 3px;
    overflow: visible;
    padding: 2px 6px;
}
.buttons input.delete {
    background: transparent url(../images/skin/database_delete.png) 5px 50% no-repeat;
    padding-left: 28px;
}
.buttons input.edit {
    background: transparent url(../images/skin/database_edit.png) 5px 50% no-repeat;
    padding-left: 28px;
}
.buttons input.save {
    background: transparent url(../images/skin/database_save.png) 5px 50% no-repeat;
    padding-left: 28px;
}
 

.tree table { 
	border: none; 
} 

.tree td, .tree th { 
	line-height: 18px; 
	padding: 0px 0px; 
	text-align: left; 
	vertical-align: middle; 
} 

.tree th { 
	background: #fff url(../images/skin/shadow.jpg); 
	color: #666; 
	font-size: 11px; 
	font-weight: normal; 
	line-height: 18px; 
	padding: 0px 0px; 
} 

.tree th a:link, .tree th a:visited, .tree th a:hover { 
	color: #333; 
	display: block; 
	font-size: 10px; 
	text-decoration: none; 
	width: auto; 
} 
 
 
.infomation {
    background: #f3f8fc url(../images/skin/information.png) 8px 50% no-repeat;
}

/* set the image to use and establish the lower-right position */ 
.cssbox, .cssbox_body, .cssbox_head, .cssbox_head h2 {
    background: transparent url(../images/frontpagebox.png) no-repeat bottom right; 
} 
.cssbox { 
    width: 335px !important; /* intended total box width - padding-right(next) */
    width: 320px; /* IE Win = width - padding */
    padding-right: 15px; /* the gap on the right edge of the image (not content padding) */
    margin: 20px auto; /* use to position the box */ 
} 

/* set the top-right image */ 
.cssbox_head { 
    background-position: top right; margin-right: -15px; /* pull the right image over on top of border */
    padding-right: 40px; /* right-image-gap + right-inside padding */ 
} 

/* set the top-left image */ 
.cssbox_head h3 { 
    background-position: top left; 
    margin: 0; /* reset main site styles*/ 
    border: 0; /* ditto */ 
    padding: 25px 0 15px 40px; /* padding-left = image gap + interior padding ... no padding-right */ 
    height: auto !important; height: 1%; /* IE Holly Hack */ 
} 

/* set the lower-left corner image */ 
.cssbox_body { 
    background-position: bottom left; 
    margin-right: 25px; /* interior-padding right */ 
    padding: 15px 0 15px 40px; /* mirror .cssbox_head right/left */ 
} 

#radioButton1 {border:none} /* No border */
#checkbox01 {border:none} /* Width */ 

.attentionclass {
    color:#FF0000;
}

.error_message {
    border: 1px solid black;
    padding: 5px;
    background-color:#E9E9E9;
}
.stack {
    border: 1px solid black;
    padding: 5px;
    width: 938px;           
    overflow:hidden;
    height: 300px;
}
.snippet {
    padding: 5px;
    background-color:white;
    border:1px solid black;
    margin:3px;
    font-family:courier;
}

.selected_location {
    color: #006dba;
    font-weight: normal;
    font-size: 14px;
    margin: .8em 0 .3em 0;
}

.category_image_80 {
  max-width: 80px;
  max-height: 80px;
  width: expression(this.width > 80 ? "80px" : true);
  height: expression(this.height > 80 ? "80px" : true);
  border:1px solid #999;
}

.category_image_140 {
  max-width: 140px;
  max-height: 140px;
  width: expression(this.width > 140 ? "140px" : true);
  height: expression(this.height > 140 ? "140px" : true);
  border:1px solid #999;
}

.ui-accordion .ui-accordion-content{ overflow:visible !important; }

.ui-widget-content a {
    color: #6699CC;
    text-decoration: none;
}

.ui-widget-content a:hover {
    text-decoration: underline;
}

.ui-state-active a:link {
    color: #000000;
}

.ui-state-active a:hover {
    color: #000000;
}

.ui-state-default a:link {
    color: #000000;
}

.adContentBgPattern {
    background: url(../images/grey_pattern.gif) repeat;
}

.mainBackground {
    background: url(../images/best_stands_out.jpg); 
    background-repeat: no-repeat;
    background-position: right bottom;
}

.top_grey_spacing {
    background: url(../images/top_light_gray.png); 
    background-repeat: x;
}

.top_orange_spacing {
    background: url(../images/top_orange.png); 
    background-repeat: x;
}

fieldSet.topBorderOnly {
    border-top: solid #CCCCCC;
    border-width: 1px 0 0 0;
}

fieldSet.topBorderOnly legend {
    color: #999;
    font-size: 1em;
    font-weight: normal;
}

#comment {
    -moz-box-shadow: 0 0 3px #CCCCCC inset;
    background: none repeat scroll 0 0 #F4F4F4 !important;
    border: 1px solid #DDDDDD;
    color: #333333;
    font-family: Arial,Tahoma,Verdana;
    height: 150px;
    margin: 5px 0;
    padding: 4px;
    width: 98%;
}
#comments .comment {
    font-size: 10pt !important;
}

.css-grd {
    /* default background colour, for all layout engines that don't implement gradients */
    background: #ffffff;

    /* gecko based browsers */
    background: -moz-linear-gradient(top, #ffffff, #cccccc);

    /* webkit based browsers */
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cccccc));

    height: auto; /* gradient uses the full height of the element */
}

.category_group{
    background: rgb(237, 247, 255); 
    border-bottom: rgb(208, 234, 248) 1px solid; 
    border-top: rgb(208, 234, 248) 1px solid; 
    text-align: left; 
    padding: 2px;
    clear: both; 
}

.header_spacer{
    border-top: #ccc 1px solid; 
	border-bottom: #ccc 1px solid; 
	text-align: left; 
	padding: 2px; 
	background: #eee;
	min-height: 26px; 
	margin-top:-4px; 
}

.adMainTitle{
    color:#999;
    font-size:2.0em; 
    text-align:right; 
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
}                   

.ellipsis{
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
}

.listTable {
    padding:0px;
    border:0px solid #dddddd;
    width:auto;
}

/* begin form table styles */

.formTable {
    border:none;
    width:auto;
}

.ad_content .formTable {
    /*width: 100%*/
}

.ratingblock {
    padding: 0 !important;
}

.ad_content table.autoWidthTable {
    width: auto;
}

.ad_content .autoWidthTable td, .ad_content .formTable .autoWidthTable th{
    line-height: 1em;
    vertical-align: middle;
    height: 30px;
}
 
.formTable caption {
    background-color: transparent;
    color: #5877ad;
    font-size: 1.2em;
    margin: 5px 0;
    white-space: nowrap; 
}

.formTable th, .formTable td {
    vertical-align: top;
    line-height: 1.9em;
}

.formTable td {
    padding:2px 0px 2px 4px;
}

.formTable th {
    color: black;
    background:none;
    text-align:right;
    min-width: 45px;
    max-width: 185px;
    text-indent: 35px;
    white-space: nowrap;
}

.formTable th.columnTwoPadding40{
    padding-left: 40px;
}

/* end form table styles */

table.noPadding, table.noPadding td, table.noPadding th {
    padding:0px;
    border:none;
    width:auto;
}

table.noPadding th {
    font-weight:normal;
    font-size:12px;
    background:none;
}

#footer{
    background-color:white;
    height:30px;            /* Height of the footer */
}

#footer div.small_text {
    padding-top: 25px;
}

.header_nav {
    font-size:0.65em;
    padding-right:10px; 
    text-align:right; 
    padding-top:6px; 
    display:block;
}

.small_text {
    font-size:0.7em;
}

.response_message {
    background: transparent url(../images/icons/information.png) top left no-repeat;
    text-indent: 18px;
    padding-left: 18px;
    white-space: nowrap; 
    overflow: hidden; 
    font-size: 0.8em;
    text-overflow: ellipsis;
    line-height: 1.5em;
    height: 1.5em;
}

.expanded, .collapsed {
    float: right;
    height: 20px;
    padding: 0px;
    margin: 2px;
    width: 20px;
    line-height: 20px;   
    text_decoration:none; 
}
.collapsed {
    background: transparent url(../images/icons/control_fastforward.png) top left no-repeat;   
}

.expanded {
    background: transparent url(../images/icons/control_rewind.png) top left no-repeat;
}

.icon_span {
    height: 16px;
    width: 16px;
    vertical-align: top;
    text-indent: 28px;
}

.keyword_delete_icon_span {
    vertical-align: middle;
    display: inline-block;
    margin-left:-4px;
}

.canadian_flag{
    /*background: transparent url(../images/canada.jpeg) top left no-repeat;*/    
}

.american_flag{
    /*background: transparent url(../images/american.jpeg) top left no-repeat;*/
}

.pencil_icon{
    background: transparent url(../images/icons/pencil.png) top left no-repeat;
}

.oneLineAdDescription{
    font-size:80%; 
    color:#909090;
    width: 600px; 
    text-overflow: ellipsis; 
    white-space: nowrap; 
    overflow: hidden;
}

.ad_content{
    border: 1px #999 solid; 
    padding:45px 10px 2px 10px;
}

.ad_details_container_left {
    min-width:600px; 
    max-width: 600px;
    min-height: 200px; 
    float:left;
}
.ad_details_container_right {
    float:left; 
    height:200px; 
    width:175px;
}

ul.noBullet li {
  list-style-type:none;
  padding: 1px 0;
}
 
.pros_save_button{
    border-color:#ff9900;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: auto;
} 

.ie_fix input[type="submit"],
.ie_fix input[type="button"] {
    display: inline-block;
}

#header_bar_1 {
    height:88px;
    clear: right;
}

#header_bar_1 span a {
    font-size: 0.8em;
    color: white;
}

#header_bar_2 {
    height: 40px;
    line-height: 40px; 
    //font-size:1.8em;
}

#page_title{
    letter-spacing: -1px; 
    font-size: 1.3em;
    color:#333;
}

.crum_trail_style {
    padding-left:20px;
}

.crum_trail_style a{
    color:#333;
}

.container_override {
    display:block;
}

.company_name {
    color:black; 
    font-size:1.2em;
}

#header, #sub_header, #sub_header_button {
    height: 85px;
}

#header {
    width: 100%;
    background: transparent url('../images/themes/grey/HeaderBgRepeat.gif') left top repeat-x;
}

#header2 {
    width: 100%;
}

#sub_header {
    float: left;
    width: 540px;
}

#sub_header_button {
    float: right;
}

#sub_header_background {
    background: transparent url('../images/themes/grey/LoginLogoutButtonPanelBg.gif') left top no-repeat;
    width: 130px;
    height: 31px;
    display: inline-block;
    margin: 5px; 
}

.signin_signout_btn {
    background: transparent url('../images/themes/grey/LoginLogoutButtonBg.gif') left top no-repeat;
    border:none;
    color: white;
    width: 112px;
    height: 21px;
    display: inline-block;
    margin: 5px 9px;
    padding-top: 4px;
    text-align: center;
    vertical-align: middle;
}

a.signin_signout_btn:hover {
    color: white;
}

.sub_header_link {
    display: block;
    text-align: center;
    vertical-align: middle;
    font-size: 0.8em;
}

.sub_header_link a {
    font-size: 0.8em;
    color: white;    
}


#header2, #header2_left, #header2_right {
    height: 24px;
}

#header2_left {
    width: 236px;
    background: transparent url('../images/themes/grey/grey_bg.gif') left top repeat;
    float: left;
}

body.navCollapsed #header2_left {
    background: transparent url('../images/themes/grey/grey_bg.gif') left top repeat;
    width: 25px;
}

#header2_right {
    background: transparent url('../images/themes/grey/Level2HeaderBgWithBorder.gif') left bottom repeat-x;
    width: auto;
}

#nav, #navCollapsed {
    width: 238px;
    max-width: 238px;
    float: left;
    height: 100%;
    background: transparent url('../images/themes/grey/SidebarBgRepeat.gif') left top repeat-y;
    margin-top: -2px;    
}



#navCollapsed {
    background: transparent url('../images/themes/grey/SidebarBgRepeat.gif') -213px top repeat-y;
    width: 25px;
    overflow: hidden;
}
#navCollapsed div {
    display: none;
} 
.side_bar_divider {
    margin:auto;
    background: transparent url('../images/themes/grey/SidebarDivider.gif') no-repeat;
    width: 187px;
    height: 3px;
}

#navCollapsed .side_bar_divider {
    width: 0px;
    overflow: hidden;
}

#search_panel, #browse_panel{
    padding: 10px 0 10px 20px;
    font-size: 0.8em;
    line-height: 1.6em;
}
#navCollapsed #search_panel {
    overflow: hidden;
}
#content {
    float: left;
    padding: 10px 0px 30px 30px;
    max-width: 900px;
    min-width: 900px;
}

#main {
    width: 1200px;
}

.category_count {
    color:#999999; 
    font-size:0.65em
}

.category_list_item {
    margin-top:4px; 
    padding-left: 10px; 
    font-size:8pt;
}

.main_title_font, .WorstveldSling {
    /*
    font-family: WorstveldSling;
    font-weight: bold;
    */
    font-size: 14pt; 
    color: #812e05;
    line-height: 40px;
}

.WorstveldSlingOblique { 
    font-family: WorstveldSlingOblique;
    font-weight: normal;
    font-style: normal;
}

.arrow_right, .text_align_left, .star, .comments, .user_go, .stop .back_to_service_list{
    height: 16px;
    width: 16px;
}
.arrow_right{
    background: transparent url('../images/icons/arrow_right.png') top left no-repeat;    
}

.text_align_left{
    background: transparent url('../images/icons/text_align_left.png') top left no-repeat;    
}

.star{
    background: transparent url('../images/icons/star.png') top left no-repeat;    
}

.comments{
    background: transparent url('../images/icons/comments.png') top left no-repeat;    
}

.user_go{
    background: transparent url('../images/icons/user_go.png') top left no-repeat;    
}

.stop{
    background: transparent url('../images/icons/stop.png') top left no-repeat;    
}

.back_to_service_list{
    background: transparent url('../images/icons/arrow_left.png') top left no-repeat;
    padding-left: 20px;
}
