/* -- BASE LAYOUT -- */

*,html
{
	padding: 0;
    	margin: 0;
}

h1, h2, h3, h4, h5, h6, form, label, ul, ol, dl, fieldset, address
{
    	margin-left: 0;
	margin-bottom: 1em;
}

p
{
    	margin:0 10px 10px;
    	margin-left: 0;
    	margin-bottom: 1em;
}

a
{
    	text-decoration: none;
	color: #269;
}

li
{
    	margin-left: 15px;
    	padding: 3px;
}

.memberquote, blockquote {
    color: #333;

    font-style: italic;

    border-left: 4px solid #CCC;

    margin-left: 15px;
    margin-right: 30px;

    padding-left: 10px;
}

code {
    background: #E0E0E9;

    display: block;

    font: 90% courier;
    white-space: pre;

    border: 1px dashed #225;

    margin-left: 15px;
    margin-right: 30px;

    padding: 10px;
}

body
{
	background-color: #579B6C;

	font: 100% 'Calibri','Trebuchet MS','Arial Narrow', 'arial,sans-serif';

	padding: 0;
	margin: 0;

	padding-top: 0px;
}

div#lheader
{
        background-image: url('/site_media/graphics/logo.png');
        background-repeat: no-repeat;

        height: 120px;

        padding-top: 0px;
        padding-right: 0px;
}

div#lheaderb
{
	background-color: #579B6C;

        height: 120px;

        padding-top: 0px;
        padding-right: 0px;
        padding-left: 0px;
}

div#footer
{
	background-color: #579B6C;

        width: 100%;
        height: 20px;

        clear: both;
}

div#footer p
{
        color: black;

        font-size: 85%;
        font-weight: bold;

        padding-top: 4px;
        padding-right: 5px;

        text-align: right;
}

div#container
{
	background-color: #EEEEEE;

	position: relative;

	min-width: 900px;

	margin: auto;

    	margin-left: 0px;

    	margin-right: 0px;

   	text-align:left;
}

div#navigation
{
	position: absolute;

	background-color: #579B6C;

	font-size: 90%;

        float: left;

        height: 20px;

        font-weight: bold;

	margin-top: 96px;
	margin-left: 185px;

	padding-top:  4px;
	padding-right: 10px;
	padding-left: 10px;
}

div#navigation a, div#useroptions a
{
        color: #fff;

        font-size: 110%;

        text-decoration: none;
}

div#navigation a:hover, div#useroptions a:hover
{
        color: #000;

	font-size: 110%;
	
        text-decoration: none;
}

div#useroptions
{
	background-color: #579B6C;

	font-size: 90%;

	color:		  #000000;

        float:              right;

        height:              20px;

        text-align:         right;

	margin-top:          96px;

        padding-top:          4px;
        padding-right:       10px;
	padding-left:	     10px;
}

div#commcontent
{
	position: relative;

	clear: both;

	margin-top: 5px;
	margin-left: 5px;
	margin-right: 5px;
}

div#commcontent h1
{
    	font-size: 120%;
    	font-weight: bold;
}

div#commcontent h2
{
    	font-size: 110%;
    	font-weight: bold;
}

div#content
{
	position: relative;

   	background-color: #E0E0E9;
	
	margin-left:  180px;
	padding-top:   10px;
	padding-left:  10px;
	padding-right: 10px;
}

div#links
{
	font-size: 85%;

	background-color: #E0E0E9;

	position: relative;

	float: left;

	clear: both;

    	width: 164px;

    	border: 1px #BBD solid;
    	-moz-border-radius: 8px;

	padding-top: 5px;
	padding-right: 5px;
	padding-left: 5px;
	padding-bottom: 5px;
}

div#links img
{
	display: block;

  	max-height: 90px;
  	min-height: 90px;
  	max-width: 120px;
}

div#links ul, div#tags ul
{
    font-size: 110%;
    font-weight: bold;

    margin-top: 5px;
}

div#links ul li, div#tags ul li
{
    list-style: none;
    
    font-size: 80%;
    font-weight: normal;
    
    margin-left: 2px;
    
    padding: 2px;
}

/* -- END BASE LAYOUT -- */

/* -- GALLERY LAYOUT -- */
#breadcrumbs
{
  color: rgb(220,80,80);
  background-color: transparent;
  margin: 0;
  padding: 0 1px 2px 1px;

  }

#large-image-box
{
  background-color:#eee;
  width:660px;
  min-width: 660px;
  max-height: 800px;
  
  margin-bottom:10px;
  margin-left:10px;

  margin:0px auto;
  
  padding-bottom:10px;
  padding-top:10px;

  align: center;
  text-align:center;
  
  border: 1px solid black;
}

#large-image-box img
{
  height: auto;
  width: auto;
  border: none;
  background: black;
}
#large-image-box div
{
  display:block;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
  width:640px;
  background-color:#ddd;
  padding: 2px;
}

#large-image-box div p
{
  text-align: center;
  }

#thumbnail-box
{
  width:100%;
  min-width: 100%;
  float:left;
  font-size: 80%;
}

#thumbnails {
    list-style-type: none;
    margin:0;
    padding:0;
    float:left;
}

#thumbnails li {
    margin:0;
    padding:0;
    float:left;
}

#imageboxes-break
{
  clear: left;
}

div.thumb-paginator
{
    width: 656px;
    height:160px;
    align: center;
    margin:0px auto;
}

div.small-image-box
{
  background-color: #DDD;

  width:320px;
  max-height: 150px;
  min-height: 150px;

  margin-bottom: 5px;
  margin-left:3px;
  margin-right:3px;

  text-align:left;
  font-size: 80%;

  padding-bottom:5px;
  padding-top:0px;
  overflow: hidden;
  float: left;
  border: 1px solid black;
}

div.small-image-boxr
{
  background-color: #DDD;

  width:320px;
  max-height: 150px;
  min-height: 150px;

  margin-bottom: 5px;
  margin-left:3px;
  margin-right:3px;

  text-align:right;
  font-size: 80%;

  padding-bottom:5px;
  padding-top:0px;
  overflow: hidden;
  float: left;
  border: 1px solid black;
}

div.small-image-box img, div.small-image-boxr img
{
  display:block;
  margin-top: 4px;
  max-height: 120px;
  min-height: 120px;
  max-width: 160px;
  border: 2;
}

div.small-image-box span, div.small-image-boxr span
{
  height:18px;
  max-height: 18px;
  min-height: 18px;
  width:160px;
  min-width: 320px;
  max-width: 320px;
  background-color: #aaa;
  color: black;
  display:block;
  font-size: 14px;
  overflow: visible;
  margin-top: 0;
  margin-bottom:0;
  padding-left: 5px;
  padding-top: 0;
  padding-bottom:0;
}

div.small-image-box td, div.small-image-boxr td
{
	color: black;
}
/* -- END GALLERY LAYOUT -- */

/* ------ BLOG CSS -----------*/

.subject {
    font-weight: bold;
}

.comments {
    padding-top: 5px;
}

.headlines {
    background: #E0E0E9;

    -moz-border-radius: 8px;
    border: 1px #BBD solid;

    margin-bottom: 15px;

    padding: 10px;
}

.headlines table {
    width: 100%;

    border: 0px;

    margin: 0px;

    cellspacing: 0px;
    cellpadding: 0px;
    padding: 0px;
}

.headline_dates {
    text-align: right;
}

div#content_body {
    padding-top: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
}

div#content_body img {
    float: left;

    width: 120px;

    margin-right: 15px;
    margin-bottom: 15px;
}

div.article_menu, div.article_menu_sticky {
    background: #CCFF66;
    color: #000000;

    font-size: 80%;
    font-weight: normal;

    padding: 5px;
}

div.article_menu .commentlink, div.article_menu_sticky .commentlink {
    background-image: url('/site_media/icons/icon_comment_balloon.png');
    background-repeat: no-repeat;

    padding-left: 15px;
}

div.article_menu_sticky {
    background: #FF99FF;
}

/* ------ COMMENTS CSS -----------*/

div.comment_odd, div.comment_even {
    background-color: #E0E0E9;
    background-repeat: no-repeat;
    background-position: top right;

    border: 1px dashed #AAA;
    border-left: 1px dashed #AAA;
    border-bottom: 1px dashed #AAA;

    margin: 1em;

    padding: 1em;
}

div.comment_even {
    background-image: url('/site_media/graphics/quote_white.png');
}

div.comment_odd {
    background-image: url('/site_media/graphics/quote_blue.png');
}

div.comment_odd div, div.comment_even div {
    margin-left: 5px;
}

.comment {
    background: #DDD;

    width: 40em;

    margin-top: 1em;
}

.comment label {
    float: none;

    font-weight: bold;
}

.comment p {
    margin-left: 1em;

    padding-top: 0em;
    padding-left: 1em;
    padding-right: 1em;
    padding-bottom: 1.5em;
}

.comment_post_image {
    background-color: #dddddd;

    width: 100%;

    border: none;

    cellspacing: 0px;
    cellpadding: 0px;

    margin: 0px;

    padding: 0px;
}

.comment_post_image td {
    text-align: center;
}

.comment_post_image img {
    max-width: 400px;
}

.comments_post_list {
    width: 95%;

    border-collapse: collapse;

    margin-left: 20px;
}

.comments_post_list td,
.comments_post_list th {
    border: 1px solid gray;

    padding: 5px;
}

.comments_post_list td.comments_post_body {
    background-color: #bbbbbb;

    height: 130px;

    word-wrap: break-word;
    white-space: -pre;
}

.comments_post_list td.comments_post_authorinfo {
    background-color: #cccccc;

    width: 90px;
}

.comment_post_title {
    background-color: #cccccc;

    height: 18px;
}

/* ------ COMMUNITY CSS -----------*/

.sphform input[type="text"],
.sphform textarea {
    width: 100%;

    border: 1px solid black;

    padding: 3px;
}

.sph_object_list {
    width: 100%;

    border-collapse: collapse;
}

.sph_object_list th,
.sph_object_list td {
    border: 1px solid black;

    padding: 5px;
}

.breadcrumbs {
    background: black;
    color: #888;

    font-weight: bold;
    font-size: 12pt;

    padding: 0.5em;
    padding-left: 1em;
}

.breadcrumbs a, .breadcrumbs a:visited {
    color: #CCC;

    font-size: 11pt;
    font-weight: bold;
}

.breadcrumbs a:hover {
    color: #FFF;
}

/* ------ BOARD CSS -----------*/

.sphboard_categories {
    border-collapse: collapse;

    width: 100%;
}

.sphboard_categories td,
.sphboard_categories th {
        border: 1px solid gray;

    padding: 5px;
}

.sphboard_threadcount, .sphboard_postcount {
        width: 5%;

        text-align: center;
}

.sphboard_latestpost {
        width: 30%;

        white-space: nowrap;
}

.sphboard_postform {
        background-color: #ddddee;

    width: 100%;

        border-collapse: collapse;
        border: 1px solid gray;
}

.sphboard_postform th {
        width: 10em;

    padding: 3px;

        vertical-align: top;
    text-align: right;
}

.sphboard_postform td {
    padding: 3px;
}

.sphboard_postform input[type='text'] {
    width: 80%;
}

.sphboard_postform textarea {
    width: 80%;

        overflow-x: hidden;
    overflow-y: scroll;
}

.sphboard_post_image {
    background-color: #dddddd;

    width: 100%;

    cellspacing: 0px;
    cellpadding: 0px;

    margin: 0px;
    padding: 0px;

    border: none;
}

.sphboard_post_image td {
    text-align: center;
}

.sphboard_post_image img {
    max-width: 400px;
}

.sphboard_post_list {
    width: 100%;

    border-collapse: collapse;
}

.sphboard_post_list td,
.sphboard_post_list th {
    border: 1px solid gray;

    padding: 5px;
}

.sphboard_post_list td.sphboard_post_body {
    background-color: #bbbbbb;

    height: 130px;

    word-wrap: break-word;
    white-space: -pre;
}

.sphboard_post_title {
    background-color: #cccccc;

    height: 18px;
}

.sphboard_post_list td.sphboard_post_authorinfo {
    background-color: #cccccc;

    width: 90px;
}

.sphboard_thread_list {
    width: 100%;

    border-collapse: collapse;
}

.sphboard_mainhead {
    background-color: #eee;
}

.sphboard_thread_list td,
.sphboard_thread_list th {
    border: 1px solid gray;

    padding: 5px;
}

.sph_captcha input[type='text'] {
    width: 100px;
}

div#announce_title a {
    font-size: 120%;
    font-weight: bold;
}

div#announce_title b {
    background-image: url('/site_media/icons/icon_post_time.png');
    background-repeat: no-repeat;
    background-position: 0px 4px;

    padding-left: 12px;
}

div#tags {
    width:200px;

    float:right;
    clear:right;
}

/* ------ WIKI CSS -----------*/

.sphwiki_body img {
        max-width: 640px;
}

.sphwiki_body h1 {
    background-color: #e0e0f5;

    font-size: 1.5em;

    padding: 3px;
}

sphwiki_body ul, ol, li {
        margin-left: 15px;
        margin-right: 30px;
}

a.sph_wikilink {
    font-size: 1.25em;
}

ul.news li {
    padding-bottom: 20px;
}

ul.news .subject {
    font-weight: bold;
}
ul.news .comments {
    padding-top: 5px;
}

/* ------ WIKI DIFF CSS -----------*/

table.diff {
        width: 100%;

        border: medium;
}

.diff_header {
        background-color: #e0e0e0;
}

td.diff_header {
        text-align: right;
}

.diff_next {
    background-color: #c0c0c0;
}

.diff_add {
    background-color: #aaffaa;
}

.diff_chg {
    background-color: #ffff77;
}

.diff_sub {
    background-color: #ffaaaa;
}


