/* Reset */

body, p, h1, h2, h3, h4, h5, td, li, ol, ul, img, form {
	margin: 0;
	padding: 0;
	border: 0;
	}

/* Defaults */

p {
padding: 7px 0;
}

img {
/* remove 3px on images */
vertical-align: bottom;
}

ul {
padding-left:20px;
}

table {
border-collapse:collapse;
	}

td {
text-align: center;
vertical-align: middle;
	}

a {
text-decoration: none;
color: #DA0100;
color: #a00;
outline: 0;
}

a:hover {
color: #0200A4;
color: #DA0100;
text-decoration: underline;
}

/* Site */

body {
padding: 0;
margin: 0;
border: 0;
color: #3F3D3C;
font-family: Arial, Helvetica, sans-serif;
font-size: 15px;
background-color: #E7E9F1;
/*background-image: url(skins/images/rgb.gif);*/
background-repeat: repeat-x;
}

#wrapper {
position: relative;
width: 990px;
margin: 30px auto;
background-color: #fff;

 -moz-border-radius: 20px;
  border-radius: 20px;
  -webkit-box-shadow: 5px 5px 10px 0  rgba(102,102,102,1);
  -moz-box-shadow: 5px 5px 10px 0  rgba(102,102,102,1);
  box-shadow: 5px 5px 10px 0 rgba(102,102,102,1);
}

h1 {
font-size: 32px;
font-weight: normal;
padding-bottom: 5px;
color:#7F7B7A;
line-height: 110%;
}

h2 {
font-size: 22px;
font-weight: normal;
padding: 5px 0;
color:#DA0100;
color:#7F7B7A;
line-height: 120%;
clear: both;
}

h3 {
font-size: 18px;
font-weight: normal;
padding: 5px 0;
color:#0200A4;
color:#78797D;
line-height: 110%;
}

/* Header */

#logo {
position: absolute;
left: 30px;
top: 8px;
z-index: 1;
}

#header_red {
height: 54px;
background-color: #DA0100;
color: #fff;
font-size: 20px;
font-weight: bold;
padding-left: 363px;
text-align: center;
padding-top: 26px;
 -moz-border-radius-topleft: 20px;  -moz-border-radius-topright: 20px;
  border-top-left-radius: 20px; border-top-right-radius: 20px;
}

#header_white {
position: relative;
height: 80px;
padding-left: 363px;
text-align: center;
background-color: #fff;
}

#strapline {
position: relative;
top: 24px;
color: #0100A4;
font-size: 22px;
font-style: italic;
}

#strapline_l {padding-right: 7px; vertical-align: middle;}
#strapline_r {padding-left: 7px; vertical-align: middle;}

#header_blue {
position:relative;
height: 80px;
/*background-color: #0200A4;*/
background-color: #293188;
color: #fff;
}

#navigation {
position: absolute;
right: 0;
bottom: 0;
}


/* Content */

#content {
position: relative;
line-height:130%;
}

#single_col {
padding-top: 10px;
padding-left: 25px;
width: 940px;
}

#left_col {
float: left;
width: 280px;
padding-top: 35px;
/*background-color: red;*/
}

#main_col_2 {
float: left;
width: 640px;
padding-left: 25px;
padding-top: 35px;
/*background-color: blue;*/
}

#main_col_2 .plugin h3 {
display: none;
}

#main_col_3 {
float: left;
width: 360px;
padding-top: 35px;
/*background-color: blue;*/
padding: 0 50px;
}

#right_col {
float: right;
width: 280px;
padding-top: 39px;
/*background-color: green;*/
}

#right_col .plugin { 
padding-bottom: 25px;
}

/* Special Content Cases */

/* Routes drop-down */

#sterlingRoutes {
position: absolute;
top: 0px;
right: 0px;
width: 278px;
text-align: right;
z-index: 10; 
}


#sRButton a {
margin: 0 5px 0 auto;
text-decoration: none;
display: block;
text-align: center;
font-size: 11px;
font-weight: bold;
font-style: italic;
color: #fff;
line-height: 115%;
background-color: #DA0100;
padding: 2px 5px;
border: 1px solid #DA0100;
border-top: none;
 -moz-border-radius-bottomleft: 8px;  -moz-border-radius-bottomright: 8px;
  border-bottom-left-radius: 8px; border-bottom-right-radius: 8px;
width: 150px;
  -webkit-box-shadow: 1px 1px 2px 0  rgba(102,102,102,0.5);
  -moz-box-shadow: 1px 1px 2px 0  rgba(102,102,102,0.5);
  box-shadow: 1px 1px 2px 0 rgba(102,102,102,0.5);
}

#sRButton a#sROpen {
display: block;
display: none;
background-color: #fff;
color: #DA0100;
}

#sRTwitter {
display: none;
margin-top: 20px;

}

/* Single col */

#single_col_header {
font-size: 26px;
line-height: 120%;
color: #78797D;
text-align: center;
}

#single_col ul {
list-style:none;
margin: 0;
padding: 0 35px;
width: 870px;
height: 635px;
background-color: #e7e9f1;
background-image: url(/images/bgHome.gif);
 -moz-border-radius: 20px;
  border-radius: 20px;
}

#single_col li {
float: left;
margin: 20px;
text-align: center;
}

/* Home page */

.HomeAd {
position: relative;
margin: auto 0;
padding: 10px;
width: 230px;
height: 230px;
text-align: center;
color: #666;
background-color: #fff;
font-size: 18px;
 -moz-border-radius: 12px;
  border-radius: 12px;
  -webkit-box-shadow: 5px 5px 10px 0  rgba(102,102,102,1);
  -moz-box-shadow: 5px 5px 10px 0  rgba(102,102,102,1);
  box-shadow: 5px 5px 10px 0 rgba(102,102,102,1);
}

#single_col .HomeAd:hover {
left: 5px;
bottom: 5px;
}

.HomeAd:hover {
color:#fff ;
/*background-color: #DA0100;
background-color: #7F7B7A;*/
background-color: #bfb9b7;
}

.HomeAd:hover a {
color:#fff ;
}

.HomeAd:hover .red {
color:#fff ;
}/**/

.HomeAd p {
padding: 0;
margin: 0;
line_height: 120%;
}

.HomeAd p img {
margin-top: 10px;
 -moz-border-radius: 12px;
  border-radius: 12px;
}

.HomeAd img.seeMore {
position: absolute;
bottom: 0;
right: 0;

}

.HomeAd a {
color: #666;
}

.HomeAd a:hover {
/*color: #DA0100;*/
text-decoration: none;
}

/* Featured stores */


#featuredStores p {
display: table-cell;
width: 200px;
height: 150px;
line-height:150px;/**/
margin: 4px;
float: left;
text-align:center;
border: 1px solid #ccc;
}

#featuredStores img {
vertical-align:middle;
}

/* FAQ */

p.FAQ {
/*color: #DA0100;*/
padding-bottom: 0;
font-weight: bold;
}

div.article_divider {
padding: 10px 0;
border-top: 1px dotted #0200A4;
}

p.article_divider {
padding: 0;
border_top: 0;
border-bottom: 1px dotted #0200A4;
}

/* PLUGINS */

#map_canvas {
width: 400px;
height; 400px;
}

.plugin {}

/* Link directory plugin */

/*.link-directory-menu {
display: none;
}*/

#p16_link_directory_table {
/*background-color: #fee;*/
}

.p16_link_directory_cell {
/*background-color: #efe;*/
vertical-align: middle;
padding:4px;
border: 1px solid #ccc;
}

.p16_link_directory_item_table {
width: 100%;
height: 100%;
/*background-color: #eef;*/
}

.p16_link_directory_item_text {
font-size: 13px;
line-height: 120%;
padding-top: 5px;
}

.p16_link_directory_item_text a.linklinktitle {
font-size: 15px;
font-weight: bold;
}

.plugin td {
/* text-align: left; 
vertical-align: top; */
}

/*  */

table.table_charges td {
text-align: left; 
vertical-align: top;
padding: 10px; }

ul.dropsFrance {
margin: 0;
padding: 0;
list-style: none;
width: 600px;
}

ul.dropsFrance li {
float: left;
padding: 0px 50px 5px 0px;
}

/*ul.dropsFrance li a {
color: #0200A4;
text-decoration: none;
outline: 0;
}

ul.dropsFrance li a:hover {
color: #DA0100;
text-decoration: underline
}*/

/* Testimonials plugin */

.SD_Testimonials { 
margin: 0;
padding: 0;
}

span.SD_Testimonials_Quote {
font-style: italic;
}

span.SD_Testimonials_Credit {
font-weight: bold;
padding-top: 3px;
}

/* Subcategory menu */

a.p31css {
display:block;
/*background-color: #0200A4;*/
background-color: #BFB9B7;
color: #3F3D3C;
padding: 5px 10px;
margin: 5px 0;
}

a.p31css.selected {
/*background-color: #DA0100;*/
background-color: #BFB9B7;
background-color: #7F7B7A;
color: #fff;
}

a.p31css:hover {
text-decoration: none;
background-color: #BFB9B7;
background-color: #7F7B7A;
color: #fff;
}

/* Registration form */

form td {
text-align: right;
padding: 0;
padding-right: 10px;
padding-bottom: 5px;
/*color: #0200A4;*/
}

form td + td {
text-align: left;
padding: 0;
padding-bottom: 5px;
}

form .sd_vvc {
line-height: 150%;
}

form .sd_vvc img, form .sd_vvc input {
display: block;
margin: 10px 0;
}

form .sd_vvc br {
display: none;
}

.formErrorInfo {
color:red;
padding-bottom: 10px;
}

.formErrorInfo:before {
font-weight: bold;
content: "Please correct the following errors in your form:";
}


/* Tweets */


/*.tweet_list {
 -webkit-border-radius: 0.5em;
 -moz-border-radius: 0.5em;
 border-radius: 0.5em;
 list-style: none;
 margin: 0;
 padding: 0;
 overflow-y: hidden;
 background-color: #f0f0f0;
border: 1px solid  #9999A4;
}

.tweet_list li {
 overflow-y: auto;
 overflow-x: hidden;
 padding: 10px;
font-size: 13px;
line-height: 110%;
}*/

/*.tweet_list li a {
				color: #0C717A;
}*/

/*.tweet_list .tweet_time {display:block;}

.tweet_list .tweet_even {background-color: #fff;}


.tweet_list li:first-child {
  font-weight: bold;
 color: #f00;
}

.tweet_list li:nth-child(-n+3) {
 color: #f00;
}*/

/*.tweet_list li:nth-child(-n+3) a {
 color: #f00;
}

 #twitter-3 ul.tweets li:nth-child(19) {
  font-weight: bold;
 color: #f60;
}*/

/*.twtr-reply, .twtr-rt, .twtr-fav, .twtr-ft a.twtr-join-conv {display: none;}*/

/* Footer */

#footer {
clear: both;
padding: 10px 0;
margin: 10px 0;
/*border-top: 1px solid #333;*/
 font-size: 11px;
 text-align: center;
}

/* Colours */

.red {
color:#a00; 
}

.highlight {
color:##da0100; 
}

div.special_message {
font-size: 14px;
font-weight: normal;
color: #3F3D3C;
padding: 20px;
height: 180px;
text-align: left;
width: 540px;
line-height: 120%;
 -moz-border-radius: 20px;
  border-radius: 20px;
  -webkit-box-shadow: 5px 5px 10px 0  rgba(102,102,102,1);
  -moz-box-shadow: 5px 5px 10px 0  rgba(102,102,102,1);
  box-shadow: 5px 5px 10px 0 rgba(102,102,102,1);
background-color: #e7e9f1;
background-image: url(/images/bgHome.gif);
}

div.special_message img {padding-right: 20px; }
div#comments {
  padding: 4px;
  margin-top: 4px;
  width: 99%;
}

div#comments .comment_editor_header {
  padding-left: 4px;
  font-weight: bold;
}

div#comments .comments-title {
  font-size: 15pt;
  text-shadow: 1px 1px 0 #DDDDDD;
  text-transform: none;
  padding: 2px;
  margin-bottom: 8px;
  margin-top: 8px;
}

div#comments ol {
  padding: 0;
  margin: 0;
  margin-top: 8px;
}

div#comments ol li {
  list-style:none outside none;
  background:none repeat scroll 0 0 #F9F9F9;
  border:1px solid #CFCFCF;
  height:auto !important;
  margin: 4px 0;
  padding: 0;
  min-height:60px;
  overflow:hidden;
  font-style: normal;
}

div#comments ol li div.comment {
  padding: 4px;
  min-height: 60px;
  width: 99%;
}
div#comments ol li div.comment-admin {
  vertical-align: middle;
  float: right;
  display: inline;
  margin: 2px 8px 2px 2px;
  height: 18px;
}
div#comments ol li span.admin-hint {
  display: none;
  font-family: Helvetica,Arial,sans-serif;
  font-size: 9px;
}
div#comments ol li div.comment-admin:hover {
  background-color: #FFC0C0;
}
div#comments ol li div.comment-admin:hover span {
  display: inline;
}

div#comments ol li img.avatar {
  background-color: #fff;
  padding: 3px;
  border: 1px solid #eee;
}

div#comments ol li div.avatar-column {
  float: left;
  width: auto;
  height: auto;
}

div#comments ol li div.message-column {
  margin-left: 60px;
  width: auto;
}

div#comments ol li p {
  padding: 2px;
  margin-top: 4px;
}

div#comments ol li span {
  line-height: 20px;
  margin-bottom: 10px;
  padding: 0;
}
div#comments ol li span.date {
  color: #666;
}
div#comments ol li span.username,
div.comment_username {
  font-weight: bold;
  padding: 4px;
}

form#comment-form {
  background: none repeat scroll 0 0 #F9F9F9;
  border: 1px solid #CFCFCF;
  clear: both;
  margin: 0;
  overflow: hidden;
  padding: 4px;
}

form#comment-form markItUpComment_comment { width: 100%; height: 250px; padding: 0; }
form#comment-form div.markItUpContainer { width: 98%; height: 200px; padding: 4px; }
#comment_comment {
  font: 14px 'Lucida Console', Courier, monospace;
  padding: 0px;
  margin: 0px;
  border:1px solid #3C769D;
  height: 166px;
  position: relative;
  left: 4px;
  line-height:17px;
  overflow: scroll;
  width: 98%;
  z-index: 1;
  /*
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  */
}

form#comment-form input {
  border: 1px solid #CFCFCF;
  padding: 4px;
  display: block;
  width: 300px;
  margin-bottom: 10px;
  margin-left: 4px;
}

form#comment-form input[type="submit"] {
  background-color:#58B9EB;
  border:1px solid #40A2D4;
  color:#FFFFFF;
  cursor:pointer;
  font-family: Helvetica,Arial,sans-serif;
  font-size:14px;
  font-weight:bold;
  padding:4px;
  margin-top:5px;
  width: 150px;
  border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px;
}

form#comment-form input[type="submit"]:hover {
  background-color:#80cdf5;
  border-color:#52b1e2;
}

a.comment-edit {
  background: url("includes/images/edit.png") no-repeat scroll top center transparent;
  height: 16px;
  line-height: 16px;
  padding-left: 22px;
}
a.comment-delete {
  background: url("includes/images/eraser.png") no-repeat scroll top center transparent;
  height: 16px;
  line-height: 16px;
  padding-left: 22px;
}


div #error_message {
	background: #ffeaef;
	border: 3px solid #ff829f;
	left: 55px;
	margin-bottom: 15px;
	padding: 15px; }
 
div #success_message {
	background: #eaf4ff;
	border: 3px solid #82c0ff;
	left: 55px;
	margin-bottom: 15px;
	padding: 15px; }
div.pagination {
	font-family: Georgia, Times, serif;
	font-style: italic;
	padding: 0px;
	margin: 0px;
	line-height: 40px;
	text-align: left;
	height: 40px; }
 
	div.pagination a {
		padding: 2px 5px 2px 5px;
		margin: 2px;
		text-decoration: none;
		color: #44B0EB; }
 
		div.pagination a:hover {
			color: #44e5eb; }
 
	div.pagination span.current {
		padding: 2px 5px 2px 5px;
		margin: 2px;
		font-weight: bold;
		background-color: #44B0EB;
		color: #ffffff; }
 
	div.pagination span.disabled {
		padding: 2px 5px 2px 5px;
		margin: 2px;
		color: #dddddd; }
/* Navigation */
.sf-menu, .sf-menu ul {
padding: 0;
margin: 0;
border: 0;
list-style: none;
float: right;

}

.sf-menu>li>a {
height: 24px;
}

.sf-menu li {
float: left;
padding: 0;
margin: 0;
border: 0;
}

.sf-menu li a {
color: #fff;
text-decoration: none;
display: block;
}

.sf-menu li a:hover, .sf-menu>li.current>a {
color: #DA0100;
/* background-color: #fff; */
}

.sf-menu ul {
	position: absolute;
	top: -999em;
	width: 10em; /* left offset of submenus need to match (see below) */ 
}
 
.sf-menu ul li { width: 100%; }
 
.sf-menu li:hover { visibility: inherit; /* fixes IE7 'sticky bug' */ }
 
.sf-menu li { position: relative; }
 
.sf-menu a {
 display: block;
 padding-left: 5px;
 padding-right: 5px;
 margin-left: 5px;
 margin-right: 5px;
}

.sf-menu ul a {
font-size: 13px;
padding: 7px 5px;
background: #fff;
/* color: #0200A4;*/
color: #3F3D3C;
border-bottom: 1px solid #0200A4;
border-left: 1px solid #0200A4;
border-right: 1px solid #0200A4; 
}

.sf-menu ul a:hover {
 background: #fff;
 color: #DA0100; 
}
 
.sf-menu li:hover ul, .sf-menu li.sfHover ul {
 left: 0;

 top: 24px; /* match top ul list item height */
 z-index: 99; 
}
 
.sf-menu li:hover li ul, .sf-menu li.sfHover li ul, .sf-menu li li:hover li ul, .sf-menu li li.sfHover li ul { 
 top: -999em;
}
 
.sf-menu li li:hover ul, .sf-menu li li.sfHover ul, .sf-menu li li li:hover ul, .sf-menu li li li.sfHover ul {
 left: 10em; /* match ul width */
 top: 0; 
}
div.bbcode_quote,
div.bbcode_code
{
  border: 1px solid #44B0EB;
  -moz-border-radius: 15px 15px 15px 15px;
  -webkit-border-radius: 15px 15px 15px 15px;
  background-color: #f5f5f5;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
  max-height: 410px;
  max-width: 720px;
  overflow: hidden;
  width: 98%; /* must be < 100% for nested quotes! */
}


div.bbeditor {
  position: relative;
  width: auto;
  height: 24px;
  margin: 0;
  padding: 0;
}

div.bbeditor img {
  padding: 3px;
  border: 1px solid #eee;
  margin-right: 3px;
  background-color: #fff;
  cursor: pointer;
}

div.bbcode_quote_head, div.bbcode_code_head {
  font-weight: bold;
  margin-bottom: 10px;
}

div.bbcode_code_body,
div.bbcode_quote_body {
  border: 1px solid #dadada;
  font-size: 13px;
  line-height: 9pt;
  max-height: 350px;
  /*max-width: 520px;*/
  overflow: scroll;
  padding: 4px;
  width: 99%;
}

div.bbcode_quote_body {
  font-style: italic !important;
}
div.bbcode_code_body {
  /*border: 1px solid #dadada;*/
  border: 0;
  font-family: "Lucida Console",courier,monospace,mono !important;
  white-space: pre;
}

.markItUpContainer {
  max-width: 900px;
}

div.article_title,
div.article_subtitle {
  background: transparent;
  clear: both;
  color: #272727;
  display: block;
  font-family: Georgia, Times, serif;
  font-size: 38px;
  line-height: 38px;
  padding-bottom: 5px;
  width: 100%;
}

div.article_subtitle {
  font-family: Georgia, Times, serif;
  font-size: 12px;
  height: 12px;
  line-height: 12px;
  margin: 2px 4px 2px 4px;
}

div.article_title h2 {
  padding-bottom: 0px;
  margin-bottom: 2px;
}

span.article_title_link,
div.article_title a {
  color: #272727;
  display: block;
  font-family: Georgia, Times, serif;
  font-size: 38px;
  font-style: normal;
  line-height: 38px;
  text-decoration: none;
}

span.article_title_link { padding: 4px; }

.article_title_link {
  background: transparent;
  color: #272727;
  font-family: Georgia, Times, serif;
  font-size: 38px;
  line-height: 18px;
  font-style: normal;
  text-decoration: none;
  padding: 4px;
  padding-bottom: 0px;
  margin-bottom: 2px;
}

a.article_title_link:hover {
  background: transparent;
  color: #44b0eb;
}

div.article_article,
div.article_description {
  margin: 4px 4px;
}

div.article_comments,
div.article_read_more {
  display: inline;
  margin: 4px 4px 10px 4px;
}

div.article_rating {
  margin: 4px 4px 10px 4px;
  width: 100%;
}

.article_tools, .article_tools li {
  margin:0px !important;
  margin-right: 4px !important;
  padding:0px !important;
  list-style: none outside none;
  list-style-type: none;
  vertical-align: top;
}
.article_tools li {
  display: inline;
  vertical-align: top;
  height: 20px;
}
.article_tools li a {
  height: 16px;
  outline: none;
}
.article_tools li.social a {
  display: inline-block;
  margin-top: 5px;
  width: 16px;
}
.article_tools a:hover,
.article_tools a:visited,
.article_tools a:focus {
  outline: none;
}
.article_tools .delicious a { background-image:url(includes/images/social/delicious-16x16.png); }
.article_tools .digg a { background-image:url(includes/images/social/digg-16x16.png); }
.article_tools .email a { background-image:url(includes/images/social/email-16x16.png); }
.article_tools .facebook a { background-image:url(includes/images/social/facebook-16x16.png); }
.article_tools .twitter a { background-image:url(includes/images/social/twitter-16x16.png); }
.article_tools .article_pdf_link a { background-image:url(plugins/p2_news/pdf.png); }
.article_tools .article_print_link a { background-image:url(plugins/p2_news/printer.png); }
.article_tools .article_comments_link a { margin-left: 4px; }

div.article_footer {
  border-bottom: 1px solid #82c0ff;
  border-top: 1px solid #82c0ff;
  clear: both;
  display: block;
  height: 34px;
  margin: 10px 4px 15px 2px;
  padding-left: 2px;
  position: relative;
  vertical-align: middle;
  width: 99%;
}

div.article_footer_left {
  margin:0px;
  padding:4px;
  display: inline;
  float: left;
  left: 0px;
  top: 0px;
  position: relative;
  line-height: 10px;
  height: 10px;
  font-style: italic;
}

div.article_footer_right {
  margin: 0;
  padding: 4px;
  display: inline;
  float: right;
  right: 0px;
  top: 0px;
  position: absolute;
}

iframe.facebook_iframe {
  border: none;
  display: inline;
  float: left;
  padding-top: 4px;
  height: 30px;
  position: absolute;
  width: 70%;
}

div.forum-pagination,
div.pagination_data {
  font-family: Arial, Times, serif;
  font-style: normal;
  font-size: 11px;
  float: right;
  padding: 0px;
  margin: 0px;
  line-height: 18px;
  text-align: left;
  height: 18px; }

  div.forum-pagination a {
    padding: 2px 3px 2px 3px;
    margin: 1px;
    text-decoration: none;
    color: #44B0EB; }

    div.forum-pagination a:hover {
      color: #44e5eb; }

  div.forum-pagination span.current {
    padding: 2px 3px 2px 3px;
    margin: 1px;
    font-weight: bold;
    background-color: #44B0EB;
    color: #ffffff; }

  div.forum-pagination span.disabled {
    padding: 2px 3px 2px 3px;
    margin: 1px;
    color: #d0d0d0; }

/* SD3.2.1 - Forum CSS - October 25, 2010 */
div#forum *
{
  text-align: left;
}

div#forum
{
  position: relative;
  height: auto;
  width: 100%;
  margin-bottom: 10px;
}

#forum div.clear
{
  clear: both;
}

#forum p
{
  padding: 0;
  margin: 0;
}

#forum table
{
  width: 100%;
  border-collapse: collapse;
  margin-top: 4px;
}

#forum table thead th
{
  background-color: #44B0EB;
  color: #fff;
  padding: 6px;
}

#forum table thead th.col-topic-count,
#forum table thead th.col-post-count,
#forum table thead th.col-view-count /* SD313 */
{
  width: 60px;
  text-align: center;
}

#forum table thead th.col-forum-title,
#forum table thead th.col-topic-title
{
  -moz-border-radius-topleft: 5px;
  -webkit-border-top-left-radius: 5px;
}

#forum table thead th.col-last-updated
{
  width: 200px;
  -moz-border-radius-topright: 5px;
  -webkit-border-top-right-radius: 5px;
}

#forum table td
{
  padding: 6px;
  border-bottom: 1px solid #91CDF5;
}

#forum table thead th.col-rss,
#forum table td.col-rss
{
  width: 16px;
}

a.rss-icon
{
  background: none no-repeat scroll 0 0 transparent;
  background-image: url('plugins/forum/images/rss.png');
  display: block;
  height: 16px;
  opacity: 0.50;
  overflow: hidden;
  text-indent: 9999px;
  width: 16px;
}

a.rss-icon:hover
{
  opacity: 1.0;
}

#forum table td.col-forum-title a
{
  font-size: 15px;
  font-weight: normal;
  text-decoration: none;
}

#forum table td.col-forum-title p
{
  padding-top: 5px;
}

#forum table td.col-topic-title a
{
  font-size: 14px;
  text-decoration: none;
}

#forum table td.col-topic-count,
#forum table td.col-post-count,
#forum table td.col-view-count /* SD313 */
{
  width: 60px;
  text-align: center;
}

#forum table tbody#posts tr:first-child
{
  border-top: 1px solid #91CDF5;
}

#forum table tr.topic
{
  background-color: #fff;
}

#forum table tr.alt
{
  background-color: #f5f6f9;
}

#forum table tr td.col-user-details
{
  width: 150px;
  background-color: #edf5fa;
  padding: 10px;
  min-height: 80px;
}

#forum * {
  font-family: Arial, Helvetica, sans-serif;
}

#forum table tr td.col-user-details
{
  font-size: 11px;
  font-family: Arial, Helvetica, sans-serif;
}

#forum table tr td.col-user-details img.avatar
{
  background-color: #fff;
  padding: 3px;
  border: 1px solid #eee;
  height: 60px;
  padding: 3px;
  width: 60px;
}

#forum table tr td.col-post input[type=checkbox]
{
  float: right;
  margin: 2px 8px 0 10px;
}

#forum table tr td.col-post div.post
{
  min-height: 80px;
}

#forum table tr td.col-post div.post-footer
{
  background-color: #f5f6f9;
  margin: 10px 0px 0px 6px;
  font-size: 11px;
}

#forum table tr td.col-post div.post-footer div.private-links
{
  background-color: #f5f6f9;
  float: left;
}

#forum table tr td.col-post div.post-footer div.private-links a
{
  margin-right: 10px;
}

#forum table tr td.col-post div.post-footer div.public-links
{
  background-color: #f5f6f9;
  float: right;
}

#forum table tr td.col-post div.post-footer div.public-links a
{
  margin-left: 10px;
}

#forum h2,
#forum .forum-topic-title
{
  background: none;
  color: #333;
  font-size: 22px;
  margin: 0;
  padding: 0;
  text-align: left;
  display: inline;
}

#forum a.new-topic-link,
#forum a.reply-link
{
  float: right;
  padding: 4px;
}


#forum div#topic-footer
{
  width: 100%;
  height: 25px;
  margin: 14px 0;
}

#forum div#topic-footer div.pagination
{
  float: left;
  height: 0;
  line-height: normal;
}

#forum div#topic-footer div.topic-options
{
  float: right;
  text-align: right;
}

#forum div#topic-footer div.topic-options select
{
  margin-right: 10px;
}

#forum div.form-wrap
{
  position: relative;
  width: 100%;
  height: auto;
  padding: 10px;
  background-color: #f5f6f9;
  margin: 4px 0 0;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
}

#forum div.form-wrap label
{
  display: block;
  width: 416px;
  font-size: 12px;
  padding: 0;
  margin: 0;
}

#forum div.form-wrap input[type="text"]
{
  width: 400px;
  margin: 0 0 10px 0;
  padding: 8px;
}

#forum div.form-wrap textarea {
  width: 98%;
  height: 310px;
  display: block;
  padding: 8px;
  margin: 3px 0 10px 0;
}

#forum div.form-wrap input[type="submit"] {
  border: 1px solid #408bb6;
  padding: 8px 25px;
  background-color: #44B0EB;
  color: #fff;
  cursor: pointer;
}

#forum div.form-wrap input[type="submit"]:hover {
  background-color: #2e97d1;
}

#forum div.form-wrap textarea.quick-reply {
  font-size: 14px;
  height: 300px;
}

/* SD322: added several new styles instead of inline styles in code */

#forum .post-header {
  background: #edf5fa;
  color: #000;
  border-bottom: 1px solid #91CDF5;
  clear: both;
  margin: 0px 0px 6px 0px;
  padding: 4px 4px 4px 6px;
  text-align: left;
}
#forum table tr td.col-post
{
  padding: 0px; /* before: 10px */
}
#forum .post-content {
  font-size: 14px;
  line-height: 18px;
  padding: 4px 4px 4px 6px;
}
#forum td.col-user-details .author-name {
  font-size: 12pt;
  font-weight: bold;
  padding: 3px;
}
#forum td.col-user-details .author-joined {
  font-size: 10pt;
  font-weight: normal;
  padding: 3px;
}
#forum .post-moderated {
  background: #ffeaef;
  border: 2px solid #ff0000;
}
#forum h2.topic-moderated,
#forum a.topic-moderated {
  color: red;
}
#forum a.forum-post-number {
  font-weight: bold;
  float: right;
}
#forum_move_topic_form select#forum_id {
  margin-bottom: 8px;
  width: 300px;
}

#forum p.breadcrumb {
  position: relative;
  float: left;
  width: auto;
  height: 20px;
  padding: 0px;
  margin-bottom: 8px;
  font-size: 12px;
  font-style: normal;
}

#forum div#forum-breadcrumb {
  display: block;
  clear: both;
  height: 26px;
  margin: 4px;
}

#forum div.breadcrumb {
  display: inline;
  float: left;
  text-align: left;
  padding: 4px;
}
#forum form#forum-searchbar {
  display: inline;
  padding: 0px  0px 4px 0px;
  margin: 0;
}
#forum div.forum-search {
  display: inline;
  float:right;
  padding: 0px 0px 8px 0px;
  text-align: right;
  white-space: nowrap;
}

#forum div.forum-search span {
  vertical-align: middle;
  padding-top: 3px;
}

#forum div.forum-attachments {
  padding: 4px;
  font-size: 10px;
  border: 1px solid #E0E0E0;
  margin: 14px;
}

div.forum-footerrow {
  padding: 4px 10px 4px 10px;
  width: 100%;
}

div.bottom-plugin {
  border: 1px solid #91CDF5;
  display: inline;
  float: left;
  -moz-border-radius: 15px 15px 15px 15px;
  -webkit-border-radius: 15px 15px 15px 15px;
  background-color: #edf5fa;
  min-height: 170px;
  padding: 10px;
  margin: 4px 20px 4px 10px;
  width: 260px;
}

#forum_search_popup label,
#forum_search_popup input {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: normal;
  height: 20px;
  vertical-align: middle;
}
#forum_search_popup #search {
  font-size: 12px;
}
#forum_search_popup input#forum_search {
  background-color: #fff;
  width: 150px;
  height: 18px;
  border: 1px solid #7f9db9;
  border-right: 0;
  padding: 1px 4px 1px 4px;
}

#forum_search_popup > input#forum_search {
  margin:1px 0 0 0;
}
#forum_search_popup input#search {
  background-color: #ffc027;
  background-image: url(plugins/forum/images/search-button.png);
  background-repeat: repeat-x;
  width: 70px;
  height: 24px;
  border: 1px solid #999b9a;
  margin: 1px 0 1px 0;
  padding: 0 10px 0 10px;
}

#forum_search_popup .contextual_dialog_content {
  background-color: #F0F0F0;
  border-bottom: 1px solid #44B0EB;
  border-right: 1px solid #44B0EB;
 }
#forum_search_popup h2 { font-size: 12px; color: #000; font-weight: bold; }

#forum pre {
  line-height: 11px;
  padding: 2px;
}
#forum .syntax-container {
  margin: 0px;
  padding: 1px;
}
#forum ol.syntax {
  max-height: 300px;
  overflow-y: scroll;
}

#markItUpForum_post { padding: 0; margin: 0; width: 99%; }
#markItUpForum_post .markItUpContainer { height: 300px; width: 98%; }
#forum_post {
  font: 14px 'Lucida Console', Courier, monospace;
  padding: 0;
  margin: 0;
  border:1px solid #3C769D;
  height: 254px;
  max-height: 254px;
  left: 1%;
  position: relative;
  line-height:17px;
  overflow: scroll;
  width: 98%;
  z-index: 1;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */
}

#image_gallery_image img
{
  border: 1px solid #eee;
  padding: 2px;
}

#image_gallery_sections img
{
  border: 1px solid #eee;
  padding: 2px;
}

#image_gallery_thumbnails img
{
  border: 1px solid #eee;
  padding: 2px;
}
div.rating_wrapper * { margin: 0; border: 0; padding: 0; height: 22px; text-align: left; }
div.rating_wrapper { overflow: hidden; height: 20px; margin-bottom: 2px; }
div.sp_rating { font-family: Helvetica,Arial,sans-serif; font-size:11px; line-height:1.7em; height: 100%; color:#5f5f5f; display:block; }
  div.sp_rating div.rating { float:left; padding-right: 4px; padding-top: 0; }
  div.sp_rating div.base { background:url(includes/images/ratings.png) 0 0 no-repeat; width: 85px; height: 16px; float:left; padding-top: 0; padding-right: 4px; overflow:hidden; }
  div.sp_rating div.average { background:url(includes/images/ratings.png) 0 -16px no-repeat; height: 16px; text-indent:-9999px; padding-top: 0; }
  div.sp_rating div.votes { float:left; padding-top: 0; padding-right: 4px; }
  div.sp_rating div.score { background: url(includes/images/ratings.png) 0 0 no-repeat; width:85px; 
    height: 16px; float:left; position:relative; padding-top: 0; margin-top: 0; }
  div.sp_rating div.score a {
      display: block; height: 100%; float: left; padding: 0; text-indent: -9999px; position: absolute; 
      margin-top: 0; overflow: hidden; line-height: 18px; }
  div.sp_rating a.score1 {width:20%; z-index:55; }
  div.sp_rating a.score2 {width:40%; z-index:54; }
  div.sp_rating a.score3 {width:60%; z-index:53; }
  div.sp_rating a.score4 {width:80%; z-index:52; }
  div.sp_rating a.score5 {width:100%; z-index:51; }
  div.sp_rating div.score a:hover { background:url(includes/images/ratings.png) bottom right no-repeat; }
  div.sp_rating div.rating_status { height: 18px; overflow: hidden; position: relative; }
  div.sp_rating div.rating_score_this { height: 100%; overflow: hidden; }
  div.sp_rating div.rating_score_this a { color: #44b0eb; }

div.latest_articles {
	margin-bottom: 4px;
}

/* User Registration plugin CSS */
div#p12_registration {
  margin-bottom: 5px;
  margin-top: 5px;
}
div#p12_registration form {
  background: transparent;
  border: 1px solid #e0e0e0;
  margin-bottom: 15px;
  padding: 5px;
  max-width: 400px;
}

div#p12_registration table {
  background: none;
  margin-bottom: 15px;
  padding: 15px;
}

div#p12_registration table td.registration-prompt {
    margin-bottom: 10px;
    padding: 10px;
}

div#p12_registration table td.registration-detail {
    margin-bottom: 10px;
    padding: 10px;
}

/* -------------------------------------------------------------------
// markItUp!
// By Jay Salvat - http://markitup.jaysalvat.com/
// ------------------------------------------------------------------*/
.bbcode .markItUpButton1 a  {
  background-image:url(includes/images/markitup/bold.png);
}
.bbcode .markItUpButton2 a  {
  background-image:url(includes/images/markitup/italic.png);
}
.bbcode .markItUpButton3 a  {
  background-image:url(includes/images/markitup/underline.png);
}
.bbcode .markItUpButton4 a  {
  background-image:url(includes/images/markitup/picture.png);
}
.bbcode .markItUpButton5 a  {
  background-image:url(includes/images/markitup/link.png);
}
.bbcode .markItUpButton6 a {
  background-image:url(includes/images/markitup/colors.png);
}
.bbcode .markItUpButton6 ul {
    padding:1px;
    width:81px;
}
.bbcode .markItUpButton6  li {
    border:1px solid white;
    width:25px;  height:25px;
    overflow:hidden;
    padding:0px; margin:0px;
    float:left;
}
.bbcode .markItUpButton6 ul a {
    width:25px;  height:25px;
}
.bbcode .markItUpButton6 ul a:hover {
    background-color:none;
}
.bbcode .markItUpButton6 .col1-1 a {
    background:yellow;
}
.bbcode .markItUpButton6 .col1-2 a {
    background:orange;
}
.bbcode .markItUpButton6 .col1-3 a {
    background:red;
}
.bbcode .markItUpButton6 .col2-1 a {
    background:blue;
}
.bbcode .markItUpButton6 .col2-2 a {
    background:purple;
}
.bbcode .markItUpButton6 .col2-3 a {
    background:green;
}
.bbcode .markItUpButton6 .col3-1 a {
    background:white;
}
.bbcode .markItUpButton6 .col3-2 a {
    background:gray;
}
.bbcode .markItUpButton6 .col3-3 a {
    background:black;
}
.bbcode .markItUpButton7 a  {
  background-image:url(includes/images/markitup/fonts.png);
}
.bbcode .markItUpButton8 a  { /* Smilies */
  background-image:url(includes/images/smileys/smile.gif);
}
.bbcode .markItUpButton9 a  {
  background-image:url(includes/images/markitup/list-bullet.png);
}
.bbcode .markItUpButton10 a  {
  background-image:url(includes/images/markitup/list-numeric.png);
}
.bbcode .markItUpButton11 a  {
  background-image:url(includes/images/markitup/list-item.png);
}
.bbcode .markItUpButton12 a  {
  background-image:url(includes/images/markitup/quotes.png);
}
.bbcode .markItUpButton13 a  {
  background-image:url(includes/images/markitup/code.png);
}
.bbcode .markItUpButton14 a  {
  background-image:url(includes/images/markitup/clean.png);
}
.bbcode .markItUpButtonXX a {
  background-image:url(includes/images/markitup/preview.png);
  display: none;
}

/* Color Palette */
.bbcode .colors a {
  background-image:url(includes/images/markitup/colors.png);
}
  .bbcode .colors ul {
    width:110px;
    padding: 2px !important;
    margin: 2px !important;
  }
  .bbcode .colors li {
    border:1px solid white;
    width:25px;
    height:25px;
    overflow:hidden;
    padding:2px !important;
    margin:2px !important;
    float:left;
  }
  .bbcode .colors ul a {
    width:25px;
    height:25px;
  }
  .bbcode .colors ul a:hover {
    background-color: none;
  }

  .bbcode .colors .col1-1 a {
    background:yellow;
  }
  .bbcode .colors .col1-2 a {
    background:orange;
  }
  .bbcode .colors .col1-3 a {
    background:red;
  }

  .bbcode .colors .col2-1 a {
    background:blue;
  }
  .bbcode .colors .col2-2 a {
    background:purple;
  }
  .bbcode .colors .col2-3 a {
    background:green;
  }

  .bbcode .colors .col3-1 a {
    background:white;
  }
  .bbcode .colors .col3-2 a {
    background:gray;
  }
  .bbcode .colors .col3-3 a {
    background:black;
  }

.bbcode .calculator a {
  background-image:url(includes/images/markitup/calculator.png);
}

/* Smileys - point to /includes/images/smileys folder! v3.3.2 */
.bbcode .smileys a {
  background-image:url(includes/images/smileys/smile.gif);
}
  .bbcode .smileys ul {
    width: 126px;
    padding: 2px !important;
    margin: 2px !important;
  }
  .bbcode .smileys li {
    border: 1px solid white;
    width: 20px;
    height: 22px;
    overflow: hidden;
    padding: 2px !important;
    margin: 2px !important;
    float: left;
  }
  .bbcode .smileys ul a {
    width: 20px;
    height: 20px;
  }
  .bbcode .smileys ul a:hover {
    background-color: none;
  }

  .bbcode .smileys .col1-1 a {
    background-image:url(includes/images/smileys/angry.gif);
  }
  .bbcode .smileys .col1-2 a {
    background-image:url(includes/images/smileys/bigsmile.gif);
  }
  .bbcode .smileys .col1-3 a {
    background-image:url(includes/images/smileys/confuse.gif);
  }
  .bbcode .smileys .col1-4 a {
    background-image:url(includes/images/smileys/frown.gif);
  }

  .bbcode .smileys .col2-1 a {
    background-image:url(includes/images/smileys/neutral.gif);
  }
  .bbcode .smileys .col2-2 a {
    background-image:url(includes/images/smileys/smile.gif);
  }
  .bbcode .smileys .col2-3 a {
    background-image:url(includes/images/smileys/laugh.gif);
  }
  .bbcode .smileys .col2-4 a {
    background-image:url(includes/images/smileys/surprise.gif);
  }

  .bbcode .smileys .col3-1 a {
    background-image:url(includes/images/smileys/tongue.gif);
  }
  .bbcode .smileys .col3-2 a {
    background-image:url(includes/images/smileys/worry.gif);
  }
  .bbcode .smileys .col3-3 a {
    background-image:url(includes/images/smileys/wink.gif);
  }
  .bbcode .smileys .col3-4 a {
    background-image:url(includes/images/smileys/sleepy.gif);
  }

/* -------------------------------------------------------------------
// markItUp! Universal MarkUp Engine, JQuery plugin
// By Jay Salvat - http://markitup.jaysalvat.com/
// ------------------------------------------------------------------*/
.markItUp * {
  margin:0px; padding:0px;
  outline:none;
}

.markItUp a:link,
.markItUp a:visited {
  color:#000;
  text-decoration:none;
}
.markItUp  {
  width:98%;
  margin:5px 0 5px 0;
  border:5px solid #F5F5F5;
}
.markItUpContainer  {
  border:1px solid #ccc;
  background:#FFF;
  padding:5px 5px 2px 5px;
  font:11px Arial, Helvetica, Verdana, sans-serif;
}
textarea.markItUpEditor {
  font:14px 'Lucida Console', Courier, monospace;
  /*padding: 4px;*/
  margin: 2px;
  border:1px solid #ccc;
  clear:both;
  display:block;
  line-height:17px;
  overflow: scroll;
  width: inherited;
}
.markItUpPreviewFrame {
  overflow:auto;
  background-color:#fff;
  border:1px solid #ccc;
  width:99.9%;
  height:300px;
  margin:5px 0;
}
.markItUpFooter {
  width:100%;
  cursor:n-resize;
}
.markItUpResizeHandle {
  overflow:hidden;
  width:22px; height:5px;
  margin-left:auto;
  margin-right:auto;
  background-image:url(includes/images/markitup/handle.png);
  cursor:n-resize;
}

/* first row of buttons */
.markItUpHeader ul  {
  list-style-type: none !important;
  padding: 2px !important;
  margin: 2px !important;
}
.markItUpHeader ul li,
.markItUpHeader ul ul li {
  margin: 0px !important;
  padding: 0px !important;
}
.markItUpHeader ul li {
  list-style:none !important;
  float:left;
  position:relative;
  margin-right: 2px !important;
  padding: 2px !important;
}
.markItUpHeader ul li:hover {
  background-color: #f0f0f0;
}
.markItUpHeader ul li ul {
  display:none;
  list-style-type: none;
}
.markItUpHeader ul li:hover > ul {
  list-style-type: none;
  display:block;
}
.markItUpHeader ul .markItUpDropMenu {
  background:transparent url(includes/images/markitup/menu.png) no-repeat 115% 50%;
  margin-right:4px;
  z-index: 10; /* 1000; */
}
.markItUpHeader ul .markItUpDropMenu li {
  margin-right:0px;
  list-style: none !important;
}
.markItUpHeader ul .markItUpSeparator {
  background:transparent url(includes/images/markitup/handle.png) repeat-y;
  margin:0 10px;
  width:1px;
  height:16px;
  overflow:hidden;
  background-color:#ccc;
}
.markItUpHeader ul ul .markItUpSeparator {
  width:auto; height:1px;
  margin:0px;
}
/* next rows of buttons */
.markItUpHeader ul ul {
  display:none;
  position:absolute;
  list-style:none !important;
  top:22px; left:0px;
  background:#F5F5F5;
  border:1px solid #d0d0d0;
  height:inherit;
  width:120px;
}
.markItUpHeader ul ul li {
  float:none;
  border-bottom:1px solid #d0d0d0;
}
.markItUpHeader ul ul .markItUpDropMenu {
  background:#F5F5F5 url(includes/images/markitup/submenu.png) no-repeat 100% 50%;
}
/* next rows of buttons */
.markItUpHeader ul ul ul {
  position:absolute;
  top:-1px; left:120px;
}
.markItUpHeader ul ul ul li {
  float:none;
}
.markItUpHeader ul a {
  display:block;
  width:18px; height:18px;
  text-indent:-10000px;
  background-repeat:no-repeat;
  padding:3px;
  margin:0px;
}
.markItUpHeader ul ul a {
  display:block;
  padding-left:0px;
  text-indent:0;
  width:120px;
  padding:5px 2px 5px 30px;
  background-position:2px 50%;
}
.markItUpHeader ul ul a:hover {
  color:#FFF;
  background-color:#d0d0d0;
  width:inherit;
}

li.markItUpButton {
  list-style:none;
  list-style-type: none;
}
div#p9_top_posters {
  padding: 0px;
  margin: 0px;
  width: 100%;
}

div#p9_top_posters ul {
  padding: 0;
  margin: 0;
}

div#p9_top_posters ul li {
  list-style:none outside none;
  /* background:none repeat scroll 0 0 #F9F9F9; */
  /* border:1px solid #CFCFCF; */
  height:auto !important;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

div#p9_top_posters ul li div.p9-outer {
  width: 100%;
}

div#p9_top_posters ul li img.avatar {
  background-color: #fff;
  border: 0;
  padding: 4px;
  border: 1px solid #eee;
}

div#p9_top_posters ul li div.p9-avatar {
  float: left;
  width: auto;
  height: auto;
}

div#p9_top_posters ul li div.p9-user {
  /*font-family: Helvetica,Arial,sans-serif !important;
  font-size: 14px;*/
  display: inline;
  float: left;
  font:inherit;
  padding: 4px;
  width: auto;
}

div#p9_top_posters ul li span {
  font:inherit;
  padding-top: 4px;
}
div#p9_top_posters ul li span.p9-count {
  color: #666;
  /* font-size: smaller; */
}

/* User Login Panel plugin CSS */
.login-panel {
  padding: 0px;
  margin: 0 0 8px 4px;
}

.login-panel div.login-avatar {
  clear: both;
  display: block;
}

.login-form { padding: 0; }
  .login-form input { width: 70px; }
  .login-form .login-div-user1 { display: inline; float: left; padding: 0px; vertical-align: middle; width: 80px;}
  .login-form .login-div-user2 { display: block; clear: right; }
  .login-form .login-div-pwd1  { clear: left; display: inline; float: left; padding: 0px; vertical-align: middle; width: 80px; }
  .login-form .login-div-pwd2  { display: block; clear: right; }
  .login-form .login-div-remember { display: block; clear: both; padding: 0px; width: 100%; }
  .login-form .login-div-remember input { border: 0; padding: 4px; }
  .login-form .login-div-submit   { display: block; clear: both; padding: 0px; }
  .login-div-register { display: block; clear: both; padding: 6px; width: 100px; }
  .login-div-lostpwd { display: block; clear: both; padding: 6px; width: 100px; }

.login-form input[type="submit"] {
  background-color: #58B9EB;
  border: 1px solid #40A2D4;
  color: #FFFFFF;
  cursor: pointer;
  font-family: Helvetica,Arial,sans-serif;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 8px 2px 8px;
  margin: 4px 4px 8px 0px;
  width: auto;
  -moz-border-radius:4px;
  -webkit-border-radius:4px;
  border-radius:4px;
}

.login-form input[type="submit"]:hover {
  background-color:#80cdf5;
  border-color:#52b1e2;
}

.login-welcome {
  clear: right;
  display: block;
  font-size: 12px; font-weight: bold;
  padding: 0;
  margin-bottom: 8px;
}
/* Subdreamer User Profile plugin CSS */
div#user-profile { border: none; }
form.usercp-form {
  background: transparent;
  border: 0;
  margin-bottom: 10px;
  padding: 5px 5px 5px 0;
}

table.usercp-table {
  margin-bottom: 15px;
  padding: 15px;
}

table.usercp-table td.usercp-prompt {
    margin-bottom: 10px;
    padding: 10px;
}

table.usercp-table td.usercp-detail {
    margin-bottom: 10px;
    padding: 10px;
}

div.ucp-groupheader {
  background-color: #f0f0f0;
  border: none;
  border-bottom: 1px solid #c0c0c0;
  font-size: 14px; font-weight: bold;
  padding: 5px; margin: 0 0 5px 0;
}
#ucpForm { width: 100%; padding: 2px; }
#ucpForm fieldset legend { padding: 0.5em; }
#ucpForm fieldset div { padding: 4px; }
#ucpForm fieldset div label { display: inline-block; width: 200px; }
#ucpForm fieldset div input,
#ucpForm fieldset div select,
#ucpForm fieldset div textarea
{ display: inline-block; line-size: 1px; margin-right: 8px; }
#ucpForm .ctrlHolder{ padding: 4px; border-bottom: 1px solid #efefef; }
#ucpForm .ctrlHolder.focused { background: #fffcdf; }
#ucpForm fieldset div label.error{ display: inline; color: red; }
#ucpForm .ucp_value_only { font-weight: bold; padding: 6px; }

#ucpForm button.primaryAction {
  background-color: #58B9EB;
  border: 1px solid #40A2D4;
  color: #FFFFFF;
  cursor: pointer;
  font-family: Helvetica,Arial,Helvetica,sans-serif;
  font-size: 14px;
  font-weight: bold;
  padding: 10px;
  margin: 6px;
  width: auto;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

#ucpForm button.primaryAction:hover {
  background-color:#80cdf5;
  border-color:#52b1e2;
}
/* Hides the whole contact form until needed */
#contactForm {
  max-width: 500px;
  background: transparent;
	border:0;
	padding:2px 2px;
	color:#000;
	display:block;
	}

/* Loading bar */
.bar {
  display:none;
  background:url(../images/ajax-loader.gif) no-repeat center;
  margin-top:50px;
  height:40px; width:230px;
}

/* Hides the confirmation message until needed */
#messageSent { display:none; }

/* This hides the form validation alert messages until needed */
#contactForm span {
	display:none;
	font-size:12px;
	line-height:10px;
  padding-left:6px;
	padding-bottom:2px;
	color:#800000;
}

/* Form styling from here on out. There is nothing in here that you HAVE to use to get this to work */
#contactForm textarea, #contactForm input {
	width: 80%;
  font-family: Arial, Geneva, sans-serif;
	/* background:#6d6d6d url(../images/contact_input.png) repeat-x top; */
	border:1px solid #8a8a8a;
	height:15px;
	line-height:14px;
	font-size:12px;
	padding:2px 2px 0px;
	}
#contactForm input { height: 20px; line-height:15px; font-size: 13px; margin: 1px; padding: 2px; }
#contactForm textarea { height:114px; font-family: Arial, Geneva, sans-serif; }
#contactForm .submit {
	border:1px solid #aba8a8;
	background:#e5e5e5;
	text-transform:uppercase;
	color:#4d4d4d;
	font-weight:bold;
	padding:7px 16px 7px 14px;
	height:37px; width:130px;
	cursor:pointer;
	margin-top:10px;
	}
#contactForm .submit:active { background: #cacaca; }
#contactForm label { padding-left: 4px; font-weight: bold; }
#contactForm p { padding-bottom: 4px; }

input.p6_error { background-color: #FFC0C0; }

#p5001_imagegallery {
  background-color: transparent;
  clear: right;
  margin-bottom: 15px;
}

#p5001_imagegallery .gallery_header {
  padding: 2px;
  border-bottom: 1px solid #000;
  margin: 0;
  margin-bottom: 2px;
}

#p5001_imagegallery #gallery_containment {
  /* container for all display modes */
  border: none;
  clear: both;
  padding-top: 4px;
  padding-bottom: 4px;
  width: 100%;
}
#p5001_imagegallery #gallery_containment td {
  border: 0;
  margin: 0 auto;
  padding: 0 15px 15px 0;
  width: 100%;
}

#p5001_imagegallery .p5001_pager_bottom,
#p5001_imagegallery .p5001_pager_top {
  clear: both;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

#p5001_imagegallery #mb_containment {
  /* container only for mbGallery */
  clear: both;
  min-height: 550px;
  padding-top: 50px;
  padding-bottom: 50px;
  width: 100%;
}

#p5001_imagegallery ul.galleryimages {
  /* do not style anything visible here! */
  border: none;
  list-style-type: none;
  margin: 0 auto;
  padding: 0;
  width: 750px; /* max layout column width, not percentage */
}

#p5001_imagegallery ul.galleryimages li {
  border: 1px solid #007fff;
  display: inline;
  float: left;
  padding: 0;
  margin: 2px;
  text-align: center;
  width: 240px; /* use (max-layout-width) / (images per column) */
}

/* EXAMPLE override for section id 8: image container width = 300 */
/* about "width": use (max-layout-width) / (images per column) */
/*
table.gal-section-8 ul.galleryimages li
{
  border: 1px solid #ff0000 !important;
  width: 300px !important;
}
*/

#p5001_imagegallery div.section_img,
#p5001_imagegallery div.midsize_img,
#p5001_imagegallery div.thumb_img {
  height: 120px;
  margin: 8px;
  overflow: hidden;
  padding: 5px;
  text-align: center;
  width: inherited;
}

#p5001_imagegallery div.thumb_img img {
  cursor: pointer;
  max-height: 110px; /* depending on above height and if admin links are shown */
  padding: 4px;
  vertical-align: middle;
  box-shadow: #333 2px 2px 5px;
  -moz-box-shadow: #333 2px 2px 5px;
  -webkit-box-shadow: #333 2px 2px 5px;
}

#p5001_imagegallery table.p5001_sections {
  margin: 8px 4px 15px 4px;
}

#p5001_imagegallery .section_container {
  margin: 0 auto; /* to center sections-list horizontally */
  width: 720px; /* must be full width in pixels, not percentage */
}

#p5001_imagegallery div.section {
  border: 1px solid #d0d0d0;
  cursor: pointer;
  display: inline;
  float: left;
  min-height: 210px;
  margin-bottom: 15px;
  margin-right: 15px;
  overflow: hidden;
  padding: 4px;
  text-align: center;
  width: 200px;
}

#p5001_imagegallery div.section .section_inner {
  margin: 0 auto;
  padding: 4px;
  text-align: center;
  vertical-align: middle;
}

#p5001_imagegallery div.section .section_inner img {
  cursor: pointer;
  margin: 0 auto;
  max-height: 110px; /* depending on above height and if admin links are shown */
  padding: 4px;
  vertical-align: middle;
  -moz-box-shadow:#333 2px 2px 5px;
  -webkit-box-shadow:#333 2px 2px 5px;
}

#p5001_imagegallery .image_title,
#p5001_imagegallery .image_title_single {
  clear: both;
  font-weight: normal;
  height: 18px;
  white-space: nowrap;
}
#p5001_imagegallery .image_title {
  background-color: #007fff;
  color: #fff;
  font-size: 13px;
  margin: 0 auto; /* centers the title */
  overflow: hidden;
  padding: 4px;
  text-align: center;
  width: 232px; /* "li"-width minus 2 times the padding! */
}

/* EXAMPLE override for section id 8: Image Title in section display in red */
/* "width" is "li"-width minus 2 times the padding! */
/*
table.gal-section-8 .image_title
{
  background-color: #ff0000 !important;
  width: 293px !important;
}
*/

#p5001_imagegallery .image_title_single {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 4px;
  text-align: left;
}
#p5001_imagegallery .gal-mode-0 .image_title_single {
  text-align: center;
}
#p5001_imagegallery .sections_header,
#p5001_imagegallery .images_header {
  border-bottom: 1px solid #d0d0d0;
  clear: both;
  font-size: 14px;
  margin-bottom: 8px;
  margin-top: 8px;
  padding: 6px;
  text-align: left;
}

#p5001_images_container td.image_cell {
  margin: 0 auto;
  padding: 8px;
  text-align: center;
}
#p5001_images_container td.image_cell img {
  margin-top: 8px;
  padding: 6px;
  -moz-box-shadow:#333 2px 2px 5px;
  -webkit-box-shadow:#333 2px 2px 5px;
}

#p5001_imagegallery .image_descr,
#p5001_imagegallery .section_descr {
  clear: both;
  font-size: 15px;
  line-height: 18px;
  text-align: left;
  padding: 4px 4px 4px 6px;
  margin-bottom: 8px;
}

#p5001_imagegallery .form_header {
  clear: both;
  font-size: 18px;
  margin-bottom: 8px;
  padding: 4px;
  text-align: left;
}

#p5001_imagegallery .previous_img {
  text-align: left;
  padding: 5px 20px 7px 8px;
  width: 50%;
}

#p5001_imagegallery .next_img {
  text-align: right;
  padding: 5px 8px 7px 20px;
  width: 50%;
}

.p5001_pagination_top {
  border-bottom: 1px dotted gray;
  clear: both;
  padding: 2px;
  margin-bottom: 4px;
  margin-top: 2px;
  text-align: center;
  width: auto;
}

.p5001_pagination_bottom {
  border-top: 1px dotted gray;
  clear: both;
  padding: 2px;
  margin-top: 4px;
  margin-bottom: 2px;
  text-align: center;
  width: auto;
}

.p5001_pagelink {
  padding: 2px;
  margin-bottom: 4px;
  margin-top: 2px;
}

.p5001_pagelink_active {
  border: 1px solid black;
  text-decoration: none; font-weight: bold;
  padding: 2px;
  margin-bottom: 4px;
  margin-top: 2px;
}

.p5001_popup_container {
  background-color: #e5e5e5;
  border: 0;
  color: #000;
  font-size: 12px;
  font-family: Verdana, Arial, sans-serif;
  font-weight: bold;
  padding: 0;
  margin: 0;
  text-align: center;
}

.p5001_popup_title {
  background-color: #808080;
  border:1px solid #D0D0D0;
  color: #FFF;
  font-size: 14px;
  font-weight: bold;
  padding: 4px;
  text-align: center;
}

.p5001_nav_link_cell_left {
  padding-bottom: 5px;
  padding-top: 7px;
  padding-right: 20px;
  text-align: left;
  width: 50%;
}

.p5001_nav_link_cell_right {
  padding-bottom: 5px;
  padding-top: 7px;
  padding-left: 20px;
  text-align: right;
  width: 50%;
}

.p5001_popup_description {
  background-color: #808080;
  border:1px solid #D0D0D0;
  color: #FFF;
  font-weight: normal;
  padding: 14px;
  text-align: center;
}


/* ##### Tag Cloud Styles ##### */
div.p17-tagcloud {
  background-color: #fff;
  border: 1px solid #d0d0d0;
  clear: both;
  display: block;
  line-height: 1.8em;
  margin: 10px 4px 10px 4px;
  padding: 8px;
  text-align: justify;
}

/* Tag Cloud */
.p17-tagcloud-style1 { font-size: 12px; color: #479; }
.p17-tagcloud-style2 { font-size: 15px; color: #659; }
.p17-tagcloud-style3 { font-size: 18px; color: #859; }
.p17-tagcloud-style4 { font-size: 21px; color: #a59; }
.p17-tagcloud-style5 { font-size: 24px; color: #b49; }
.p17-tagcloud-style6 { font-size: 30px; color: #b49; }

.p5001_recentsections td {
  padding: 4px;
  vertical-align: top;
}
.p5001_recentsections div {
  min-height: 40px;
  margin: 2px;
  text-align: center;
  width: 100%;
}
.p5001_recentsections img {
  cursor: pointer;
  max-height: 40px;
  padding: 4px;
  vertical-align: middle;
  -moz-box-shadow:#333 2px 2px 5px;
  -webkit-box-shadow:#333 2px 2px 5px;
}


