/* Globals ------------------------------------- */
html,body                           { background: url(skins/00542/images/dark_mosaic.png) repeat #590c18; color:#590c18; font: normal 13px/20px Arial, Tahoma, "Trebuchet MS", sans-serif; height:100%; line-height:16px; position:relative; }

@font-face {
    font-family: 'fonts/GloucesterMTExtraCondensedRegular';
    src: url('fonts/GloucesterMT-ExtraCondensed-webfont.eot');
    src: url('fonts/GloucesterMT-ExtraCondensed-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/GloucesterMT-ExtraCondensed-webfont.woff') format('woff'),
         url('fonts/GloucesterMT-ExtraCondensed-webfont.ttf') format('truetype'),
         url('fonts/GloucesterMT-ExtraCondensed-webfont.svg#GloucesterMTExtraCondensedRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}

html,body,a,img,table,tr,td,a,ul,li { margin:0; padding:0; border:0; outline:0; }

a                                   { color: #ff0000; font-weight: bold; text-decoration: none; }
a:hover                             { text-decoration: underline; }

h1,h2,h3,h4,h5,h6                   { font-family: Arial, Tahoma, "Trebuchet MS", sans-serif; font-weight:normal; margin:0; padding:0; }
hr                                  { background-color:#d7a765; border:none; color:#B4B1AD; height:1px; }
textarea,input,select               { font: 11px Arial, Tahoma, "Trebuchet MS", sans-serif; margin: 1px; padding: 1px; }

/* Structure ------------------------------------- */
div#wrapper-global                  { min-height:100%; overflow:hidden; margin: 0 auto; position: relative; width: 980px; }
div#header                          { color:#f3f3f3; position:relative; }
div#wrapper-logo-content            { height: 80px; overflow: hidden; padding:30px 40px 30px 40px; }
div#wrapper-logo-content #logo      { float:left; font-size:30px; }
div#wrapper-logo-content #right-content  { float:right; }
div#menu                            { height: 50px; margin-top:6px; padding: 0 40px 0 40px; position:relative; z-index: 5; }
div#slider-box                      { background: #000000; /*height: 200px;*/ margin: -96px 0 0 15px; padding:95px 25px 20px 25px; position:relative; z-index: 4; width: 900px; }
div#boxes                           { padding:20px 15px 20px 15px; overflow:hidden; position:relative; }
div#boxes h2                        { font-size:30px; margin-bottom:15px; }
div#box-left                        { float:left; width:300px; }
div#box-middle                      { position:absolute; left:340px; top:20px; width:300px; }
div#box-right                       { float:right; width:300px; }

div#main-content-background         { background:#ffffff; min-height:100%; position:absolute; top:0; left:15px; width:950px; }
div#main-content                    { overflow:hidden; padding:25px 40px 58px 40px; position:relative; /*z-index: 6;*/ }

div#footer                          { color:#f3f3f3; margin-top:10px; position:absolute; bottom:0; width:980px; }
div#footer a                        { color:#f3f3f3; }
div#footer-content                  { overflow:hidden; padding:20px 15px 20px 15px; }
div#footer-content #left-content    { float:left; }
div#footer-content #right-content   { float:right; }

/* 3 Columns Layout Settings ------------------------------------- */
div#left-column                     { float:left; margin-right:20px; width:190px; }
.plugins-left, .plugins-middle, .plugins-right  { margin-bottom:25px; }
.plugins-left h2, .plugins-middle h2, .plugins-right h2  { margin-bottom:15px; }
div#middle-column .plugins-middle h2  { font-size:30px; }
div#middle-column                   { /*position:absolute; left:250px;*/ float:left; width:480px; }
div#right-column                    { float:right; width:190px; }
div#wrapper-left-middle-column      { overflow:hidden; float:left; width:690px; }
div#wrapper-middle-right-column     { overflow:hidden; float:right; width:690px; }

/* Plugins Settings ------------------------------------- */
div.wide-plugin                     { clear:both; margin:0 0 20px 0; }
div.wide-plugin h2                  { font-size:30px; margin-bottom:15px; }

/* Helpers ------------------------------------- */
div.main-color                      { background:#490810; } /* Fell free to change this background color */
div.corners-top                     { background: url(skins/00542/images/corners-top.png) no-repeat; clear: both; height: 10px; margin-top:-10px; }
div.corners-bottom                  { background: url(skins/00542/images/corners-bottom.png) no-repeat; clear: both; height: 20px; }

/* FormulÃƒÂ¡rios ------------------------------------- */
input {
background:#fff;
border-color: #999 #dfdfdf #dfdfdf #999;
border-right: solid 1px #dfdfdf;
border-style: solid;
border-width: 1px;
font:normal bold 11px Arial, sans-serif;
/*margin: 15px 0 5px;*/
padding: 2px 2px 2px 2px; }

select {
background-color: #000000;
border-color: #999999 #DFDFDF #DFDFDF #999999;
border-right: 1px solid #DFDFDF;
border-style: solid;
border-width: 1px;
font:normal bold 11px Arial, sans-serif;
padding: 2px 2px 2px 2px;
width:429px; }

textarea {
background-color: #FFFFFF;
border-color: #999999 #DFDFDF #DFDFDF #999999;
border-right: 1px solid #DFDFDF;
border-style: solid;
border-width: 1px;
font:normal bold 11px Arial, sans-serif;
padding: 2px 2px 2px 2px;
width:423px; }

input[type="submit"] {
background-color: #004990;
border:none;
color:#f5f5f5;
font:normal bold 11px Arial, sans-serif;
margin-top:3px;
padding: 4px;
cursor:pointer; }

input[type="submit"]:hover { background:#11648b; }

div#comments {
  padding: 4px;
  margin-top: 4px;
  width: 99%;
}

div#comments .comment_editor_header {
  display:block;
  margin: 5px 0 0 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: 70px;
  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 {
  width: 95%;
  /*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;
  z-index: 1;*/
  /*
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  */
}

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

form#comment-form input[type="submit"] {
  width:100px;
  /*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 
{
  padding: 0px;
  margin: 0px;
  text-align:left;
}
  
div.pagination a 
{
  background:white;
  padding: 2px 5px 2px 5px;
  margin: 2px;
  border: 1px solid #ddd;
  text-decoration: none; /* no underline */
  color: #00bcea;
}

div.pagination a:hover, div.pagination a:active 
{
  border: 1px solid #00bcea;
  color: #00bcea;
}

div.pagination span.current 
{
  padding: 2px 5px 2px 5px;
  margin: 2px;
  border: 1px solid #00bcea;
  font-weight: bold;
  background-color: #00bcea;
  color: #FFF;
}

div.pagination span.disabled 
{
  padding: 2px 5px 2px 5px;
  margin: 2px;
  border: 1px solid #EEE;
  color: #DDD;
}
/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
  margin:			0;
	padding:		0;
	list-style:		none;
}
.sf-menu {
	line-height:	1.0;
}
.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 {
	float:			left;
	position:		relative;
}
.sf-menu a {
	display:		block;
	position:		relative;
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
	left:			0;
	top:			2.5em; /* match top ul list item height */
	z-index:		99;
}
ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}
ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}

/*** DEMO SKIN ***/

li.current a { background:#d19738 !important; }
li.current a:hover { color:#f3f3f3; background:#d19738 !important;}

.sf-menu {
	float:			left;
	/*margin-bottom:	1em;*/
}
.sf-menu a {
	/*border-left:	1px solid #fff;*/
	/*border-top:		1px solid #CFDEFF;*/
	color:#fff;
	padding: 		.75em 1em;
	text-decoration:none;
}
.sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color:#fff;
}
.sf-menu .current_page_item a,
.sf-menu .current_page_ancestor a,
.sf-menu .current_page_parent a {
	background: #590c18;
	color: #fff;
}
.sf-menu li {
	/*background:		#590c18;*/
  font-size:20px;
}
.sf-menu li li {
	background:		#590c18;
  border-bottom:solid 1px #ccc;
  font-size:16px;
}
.sf-menu li li li {
	background:		#590c18;
}
.sf-menu li:hover, .sf-menu li.sfHover,
.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
	color:#d19738;
  background:		#590c18;
	outline:		0;
}

/*** arrows **/
.sf-menu a.sf-with-ul {
	padding-right: 	2.25em;
	min-width:		1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
	position:		absolute;
	display:		block;
	right:			.75em;
	top:			1.05em; /* IE6 only */
	width:			10px;
	height:			10px;
	text-indent: 	-999em;
	overflow:		hidden;
	background:		url('skins/00542/images/arrows-ffffff.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}
a > .sf-sub-indicator {  /* give all except IE6 the correct values */
	top:			.8em;
	background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}
/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
	background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
.sf-menu ul .sf-sub-indicator { background-position:  -10px 0; }
.sf-menu ul a > .sf-sub-indicator { background-position:  0 0; }
/* apply hovers to modern browsers */
.sf-menu ul a:focus > .sf-sub-indicator,
.sf-menu ul a:hover > .sf-sub-indicator,
.sf-menu ul a:active > .sf-sub-indicator,
.sf-menu ul li:hover > a > .sf-sub-indicator,
.sf-menu ul li.sfHover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
.sf-shadow ul {
	background:	url('skins/00542/images/shadow.png') no-repeat bottom right;
	padding: 0 8px 9px 0;
	-moz-border-radius-bottomleft: 17px;
	-moz-border-radius-topright: 17px;
	-webkit-border-top-right-radius: 17px;
	-webkit-border-bottom-left-radius: 17px;
}
.sf-shadow ul.sf-shadow-off {
	background: transparent;
}
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_container   { position:relative; }
div#wrapper-social      { border-bottom:solid 1px #ccc; height:25px; margin-bottom:5px; /*overflow:hidden;*/ padding:5px 0 5px 0; }
div#wrapper-fb-gplus    { float:left; margin: 1px 0 0 5px; width:250px; }
div#wrapper-read-more-comments { position:absolute; left:0; top:7px; }

span.article_title_link { font-size:24px; height:25px; letter-spacing:-1px; }

div.article_title { color:#004990; }
div.article_subtitle {
  background: transparent;
  clear: both;
  color: #272727;
  display: block;
}

div.article_subtitle {
  font-size:11px;
  margin-bottom:15px;
}

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

.article_title_link {
  color: #004990;
  font: normal 30px Arial, Tahoma, "Trebuchet MS", sans-serif;
  letter-spacing:-1px;
  line-height: 1;
  text-decoration: none;
  padding-bottom: 0px;
  margin-bottom: 2px;
}

a.article_title_link:hover {
  background: transparent;
  text-decoration:none;
}

div.article_article,
div.article_description {
  margin: 4px 0px;
  line-height:14px;
  /*overflow-x: hidden;*/
}

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

div.article_read_more a { border-radius:75px; background:#0797D5; color:#f5f5f5; font-size:11px; padding:3px 7px 3px 7px; text-decoration:none; }
div.article_read_more a:hover { background:#11648b; }
div.article_comments a { font-size:11px; text-decoration:none;}
div.article_comments a:hover { text-decoration:underline;}

div.article_rating {
  float:right;
  width:265px;
  margin: 0px 0 0 0;
}

.article_tools { float:left; }

.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: 4px;
  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 #ccc;
  clear: both;
  display: block;
  height: 34px;
  margin: 0px 4px 15px 0px;
  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;
  background:#f9f9f9;
}

#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
{
  color:#f3f3f3;
  background:#004990;
  float: right;
  padding: 4px;
  text-decoration:none;
}

#forum a.new-topic-link:hover,
#forum a.reply-link:hover
{
background:#2e97d1;
}


#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-top: 15px;
}

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

#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;
  margin-bottom:20px;
  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 {
  color:#272727;
  background-color: #ffc027;
  /*background-image: url(plugins/forum/images/search-button.png);
  background-repeat: repeat-x;*/
  font-weight:bold;
  width: 70px;
  height: 22px;
  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;*/
  font-weight:normal;
  height: 254px;
  max-height: 254px;
  /*left: 1%;
  position: relative;
  line-height:17px;
  overflow: scroll;*/
  width: 95%;
  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;
  border-bottom:solid 1px #ccc;
  padding-bottom: 4px;
}

div.latest_articles a {font-weight:normal;}
/* User Registration plugin CSS */
div#p12_registration {
  
}
div#p12_registration form {
  background: transparent;
  border: 1px solid #e0e0e0;
  padding:10px;
  position:relative;
  /*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: 5px 0 5px 0;
}

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

div#p12_registration table td.registration-detail input { width:95%; }

.sd_vvc { border-top:solid 1px #ccc; margin-top:15px; padding-top:10px; font-size:11px; }
.sd_vvc img { float:left; height:48px; margin:3px 5px 0 0; }
.sd_vvc br { float:left; }
.sd_vvc input { margin-top:3px;width:150px !important; }

table.registration-submit td.registration-submit input { position:absolute; left:10px; bottom:5px; }
/* -------------------------------------------------------------------
// 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:px;
}

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

.login-form { padding: 0; }
  .login-form input {  }
  .login-form .login-div-user1 { display: inline; float: left; padding: 0px; vertical-align: middle; width: 80px;}
  .login-form .login-div-user2 { display: block; clear: both; }
  .login-form .login-div-user2 input{ width:95%; } 
  .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: both; }
  .login-form .login-div-pwd2 input { width:95%; }
  .login-form .login-div-remember { display: block; clear: both; padding: 3px 0 3px 0; width: 100%; }
  .login-form .login-div-remember input { border: 0; float:left; margin-right:5px;  padding: 4px; }
  .login-form .login-div-submit   { display: block; clear: both; padding: 0px; }
  #login-div-register { border-top:solid 1px #ccc; margin-top:5px; padding-top:5px; }
  #login-div-lostpwd { display: block; clear: both; }

.login-form input[type="submit"] {

}

.login-form input[type="submit"]:hover {

}

.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: 95%;
  /*font-family: Arial, Geneva, sans-serif;
	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 {
  width:100px;
	/*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 { margin:0; padding:4px 0 4px 0; }

input.p6_error { background-color: #ccc; }
#p5002_imagegallery {
  background-color: transparent;
  clear: right;
  margin-bottom: 15px;
}

#p5002_imagegallery .gallery_header {
  padding: 2px;
  border-bottom: 1px solid #000;
  margin: 0;
  margin-bottom: 2px;
}

#p5002_imagegallery #gallery_containment {
  /* container for all display modes */
  border: none;
  clear: both;
  padding-top: 4px;
  padding-bottom: 4px;
  width: 100%;
}
#p5002_imagegallery #gallery_containment td {
  border: 0;
  margin: 0 auto;
  padding: 0 15px 15px 0;
  width: 100%;
}

#p5002_imagegallery .p5002_pager_bottom,
#p5002_imagegallery .p5002_pager_top {
  clear: both;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

#p5002_imagegallery #mb_containment {
  /* container only for mbGallery */
  clear: both;
  min-height: 550px;
  padding-top: 50px;
  padding-bottom: 50px;
  width: 100%;
}

#p5002_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 */
}

#p5002_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;
}
*/

#p5002_imagegallery div.section_img,
#p5002_imagegallery div.midsize_img,
#p5002_imagegallery div.thumb_img {
  height: 120px;
  margin: 8px;
  overflow: hidden;
  padding: 5px;
  text-align: center;
  width: inherited;
}

#p5002_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;
}

#p5002_imagegallery table.p5002_sections {
  margin: 8px 4px 15px 4px;
}

#p5002_imagegallery .section_container {
  margin: 0 auto; /* to center sections-list horizontally */
  width: 720px; /* must be full width in pixels, not percentage */
}

#p5002_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;
}

#p5002_imagegallery div.section .section_inner {
  margin: 0 auto;
  padding: 4px;
  text-align: center;
  vertical-align: middle;
}

#p5002_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;
}

#p5002_imagegallery .image_title,
#p5002_imagegallery .image_title_single {
  clear: both;
  font-weight: normal;
  height: 18px;
  white-space: nowrap;
}
#p5002_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;
}
*/

#p5002_imagegallery .image_title_single {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 4px;
  text-align: left;
}
#p5002_imagegallery .gal-mode-0 .image_title_single {
  text-align: center;
}
#p5002_imagegallery .sections_header,
#p5002_imagegallery .images_header {
  border-bottom: 1px solid #d0d0d0;
  clear: both;
  font-size: 14px;
  margin-bottom: 8px;
  margin-top: 8px;
  padding: 6px;
  text-align: left;
}

#p5002_images_container td.image_cell {
  margin: 0 auto;
  padding: 8px;
  text-align: center;
}
#p5002_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;
}

#p5002_imagegallery .image_descr,
#p5002_imagegallery .section_descr {
  clear: both;
  font-size: 15px;
  line-height: 18px;
  text-align: left;
  padding: 4px 4px 4px 6px;
  margin-bottom: 8px;
}

#p5002_imagegallery .form_header {
  clear: both;
  font-size: 18px;
  margin-bottom: 8px;
  padding: 4px;
  text-align: left;
}

#p5002_imagegallery .previous_img {
  text-align: left;
  padding: 5px 20px 7px 8px;
  width: 50%;
}

#p5002_imagegallery .next_img {
  text-align: right;
  padding: 5px 8px 7px 20px;
  width: 50%;
}

.p5002_pagination_top {
  border-bottom: 1px dotted gray;
  clear: both;
  padding: 2px;
  margin-bottom: 4px;
  margin-top: 2px;
  text-align: center;
  width: auto;
}

.p5002_pagination_bottom {
  border-top: 1px dotted gray;
  clear: both;
  padding: 2px;
  margin-top: 4px;
  margin-bottom: 2px;
  text-align: center;
  width: auto;
}

.p5002_pagelink {
  padding: 2px;
  margin-bottom: 4px;
  margin-top: 2px;
}

.p5002_pagelink_active {
  border: 1px solid black;
  text-decoration: none; font-weight: bold;
  padding: 2px;
  margin-bottom: 4px;
  margin-top: 2px;
}

.p5002_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;
}

.p5002_popup_title {
  background-color: #808080;
  border:1px solid #D0D0D0;
  color: #FFF;
  font-size: 14px;
  font-weight: bold;
  padding: 4px;
  text-align: center;
}

.p5002_nav_link_cell_left {
  padding-bottom: 5px;
  padding-top: 7px;
  padding-right: 20px;
  text-align: left;
  width: 50%;
}

.p5002_nav_link_cell_right {
  padding-bottom: 5px;
  padding-top: 7px;
  padding-left: 20px;
  text-align: right;
  width: 50%;
}

.p5002_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; }

.p5002_recentsections td {
  padding: 4px;
  vertical-align: top;
}
.p5002_recentsections div {
  min-height: 40px;
  margin: 2px;
  text-align: center;
  width: 100%;
}
.p5002_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;
}

#p5006_latestimages { display: block; width: auto; width: 200px; margin: 4px !important;padding:0 !important;}
#p5006_latestimages ul,
#p5006_latestimages li { list-style: none !important; list-style-type: none !important;
  margin:0 !important; padding:0 !important; }
#p5006_latestimages .image-row { clear: both; display: block; padding-right: 4px; }
#p5006_latestimages .image { display: inline; float: left; padding: 4px; }
#p5006_latestimages .image li { display: inline; padding: 4px; }
#p5006_latestimages li.title { padding: 4px; }
#p5006_latestimages li.date  { clear: both; display: block; padding: 2px; }
#p5006_latestimages li.thumb { clear: both; display: block; padding: 2px; }
#p5006_latestimages li.author { clear: both; display: block; padding: 2px; }
#p5006_latestimages span.author { padding: 2px; }
div#p5007_archive {
  padding: 2px;
}
div#p5007_archive div.year_container {
  border-bottom: 1px solid #d0d0d0;
  padding-bottom: 4px;
  padding-top: 4px;
  margin-bottom: 8px;
}
div#p5007_archive div.month_container {
  margin: 0;
  padding: 4px;
}
div#p5007_archive a.arc_year,
div#p5007_archive a.arc_month {
  font-weight: bold;
  font-size: 14px;
}
div#p5007_archive a.arc_year span,
div#p5007_archive a.arc_month span {
  font-size: 10px;
}
div#p5007_archive ul.arc_months_list,
div#p5007_archive ul.arc_articles_list {
  font-size: 13px;
  list-style-type: none;
  margin: 4px; padding: 0;
}
div#p5007_archive ul.arc_months_list li,
div#p5007_archive ul.arc_articles_list li {
  font-size: 13px;
  list-style: none;
  margin-left: 4px;
  padding: 2px;
}


