/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
* {
    margin: 0px;
    padding: 0px;
}

body {
    background-color: #5c87b2;
    margin: 0;
    padding: 0;
    color: #fff;
    overflow: hidden; /* needed to eliminate scrollbars caused by the background image */
    padding: 0;
    margin: 0; /* necesarry for the raster to fill the screen */
    height: 100%;
    width: 100%;
}

a {
    /*color: #550c87;*/
    color: #3B5998;
}

a:link {
    text-decoration: none;
}

a:hover {
    color: #b959ff;
    text-decoration: underline;
}
a:active {
    color: #550c87;
}

p, ul {
    margin-bottom: 1.5em;
    line-height: 1.6em;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    color: #fff;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: #fff;
    text-decoration: none;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
    color: #5f5f5f;
}

h1, h2, h3, h4, h5, h6 {  font-weight:normal; }
h1 {  font-size: 3.0em; padding-bottom: 0; margin-bottom: 0;}
h2 { font-size: 3.0em; padding: 10px 0 10px 0; }
h3 { font-size: 1.2em; }
h4 { font-size: 1.1em; }
h5, h6 { font-size: 1em; }

/* this rule styles <h2> tags that are the 
first child of the left and right table columns */
#content > h1, #content > h2 {
    margin-top: 0;
}

.widget-area
{
    position: relative;
    width: 180px;
    float: right;
}

#content
{
    position: relative;
    width: 645px;
    float: left;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px; /* future proofing */
    -khtml-border-radius: 5px; /* for old Konqueror browsers */
}


/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
#wrapper {
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    z-index: 5; /* Place the new body above the background image */
    overflow: auto; /* restore scrollbars for the content */
    height: 100%;
    width: 100%; /* Make the new body fill the screen */
}

#main {
    position: relative;
    margin: 20px 20px 0 20px;
    padding: 20px;
    _height: 1px; /* only IE6 applies CSS properties starting with an underscore */
}

#bgimg {
    position: absolute;
    z-index: -1;
}

#header {
    position: fixed;
    width: 100%;
    color: #000;
    background: transparent url('images/post_background.png') repeat left top;
    height: 30px;
    z-index: 10;
}

#header .menu-header {
    position: relative;
    float: left;
}


#footer {
    position: relative;
    width: 100%;
    color: #000;
    background: transparent url('images/header_background.png') repeat left top;
    height: auto;
}


#titleandlogo {
    position: fixed;
    float: right;
    top: 0;
    right: 0;
    width: auto;
    height: 30px;
    text-align: right;
    padding-right: 10px;
    z-index: 1000;
}

#titleandlogo h1 {
    padding-top: 10px;
    color: #fff;
    display: inline-block;
}

#titleandlogo h2 {
    font-weight: normal;
    color: #fff;
    display: inline-block;
}

/* Main Content layout
----------------------------------------------------------*/

#content .post, 
body.page #content {
    background: transparent url('images/post_background.png') repeat top left;
    border: 1px solid #000;
    padding: 10px;
    margin: 10px 0;
    font-size: 0.9em;
    color: #c0c0c0;
    text-shadow: #000 0.1em 0.1em 0.04em;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px; /* future proofing */
    -khtml-border-radius: 5px;
}

#content .post .entry-meta,
#content .post .entry-utility,
body.page #content .entry-meta,
body.page #content .entry-utility {
    color: #5f5f5f;
    padding-bottom: 10px;
}


#content .post h1,
#content .post h2,
body.page #content h1,
body.page #content h2 {
    padding-bottom: 2px;
}


#content .post .readmore, 
body.page #content .readmore {
    float: right;
}

/* Widget layout
----------------------------------------------------------*/

.widget-area > h1, .widget-area > h2 {
    margin-top: 0;
}

.widget-area li.widget-container
{
    background: transparent url('images/header_background.png') repeat top left;
    font-size: 11px;
    color: #FFF;
	list-style-type: none;
    padding: 5px;
    margin: 10px 0;
    font-size: 11px;
    color: #FFF;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px; /* future proofing */
    -khtml-border-radius: 5px;
}

.widget-area li.widget-container h3
{
    margin: 10px 0;
}

.widget-area li.widget-container li
{
    color: #FFF;
    margin-left: 20px;
}

.widget-area li.widget-container li a
{
    color: #FFF;
}

/* TAB MENU   
----------------------------------------------------------*/
ul#menu-main-menu{
    margin: 0;
    position: relative;
    text-align: right;
}

ul#menu-main-menu li {
    display: inline;
    list-style: none;
    text-align: left;
    margin-right: -5px;
}

ul#menu-main-menu li a {
    padding: 4px 10px 0 10px;
    font-size: 20px;
    text-decoration: none;
    color: #c0c0c0;
    height: 26px;
    vertical-align: middle;
    display: inline-block;
}

ul#menu-main-menu li a:hover {
    text-decoration: none;
    background: transparent url('images/white80transpixel.png') repeat top left;
    color: #550C87;
}

ul#menu-main-menu li a:active {
    background: transparent url('images/header_background.png') repeat top left;
    text-decoration: none;
}

ul#menu-main-menu li.current-menu-item a {
    border-top: 3px solid #550C87;
    padding-top: 1px;
    color: #FFF;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset {
    margin: 1em 0;
    padding: 1em;
    border: 1px solid #CCC;
}

fieldset p {
    margin: 2px 12px 10px 10px;
}

legend {
    font-size: 1.1em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}

input[type="text"] {
    width: 200px;
    border: 1px solid #CCC;
}

input[type="password"] {
    width: 200px;
    border: 1px solid #CCC;
}

/* TABLE
----------------------------------------------------------*/

table {
    border: solid 1px #e8eef4;
    border-collapse: collapse;
}

table td {
    padding: 5px;
    border: solid 1px #e8eef4;
}

table th {
    padding: 6px 5px;
    text-align: left;
    background-color: #e8eef4;
    border: solid 1px #e8eef4;
}

/* MISC  
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: Red;
}

div#title {
    position: relative;
    display: block;
    float: right;
    text-align: left;
}

#logindisplay {
    font-size: 1.1em;
    display: block;
    text-align: right;
    margin: 10px;
    color: White;
}

#logindisplay a:link {
    color: white;
    text-decoration: underline;
}

#logindisplay a:visited {
    color: white;
    text-decoration: underline;
}

#logindisplay a:hover {
    color: white;
    text-decoration: none;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label, .editor-label, .display-field, .editor-field {
    margin: 0.5em 0;
}

.text-box {
    width: 30em;
}

.text-box.multi-line {
    height: 6.5em;
}

.tri-state {
    width: 6em;
}

#s {
    width: 115px;
}


/* Generic styles
----------------------------------------------------------*/
.clearboth {
    clear: both;
}

