/*******************************************************************
 * Color Module: Don't touch                                       *
 *******************************************************************/

* {margin:0;padding:0;font-size:100%;}
img {border:none;}
#main p,#main ul,#main ol {margin:0.8em 0;}
ul.menu li.leaf,
ul.menu li.expanded,
ul.menu li.collapsed {
list-style-image:none;
}
.block ul {padding:0;} /*counter-Drupal*/
ul.menu li {margin-left:0;} /*counter-Drupal*/
ul.links {margin-left:0;padding-left:0;} /*counter-Drupal*/
a {color:#666;}
a:hover {text-decoration:none;}
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.cornerstone {
position:absolute;
}
.hide, .close {display:none;}

/*** LAYOUT ***/

body,html {
width:100%;
}

html {
font-size:100%;
background:#efefef url(images/bgbody.png) repeat-x top;
}

body {
font-size:90%;
font-family:arial,tahoma,verdana,sans;
color:#666;
text-align:center;
position:relative;
}

#container {
margin:0 auto;
text-align:left;
width:820px;
line-height:130%;
position:relative;
z-index:2;
}

#header {
width:100%;
position:relative;
float:left;
min-height:104px;
padding:18px 0;
}

#main {
clear:both;
float:left;
width:100%;
padding:15px 0 15px 0;
background:#fff;
font-size:80%;
line-height:1.8em;
min-height:370px;
}

#navbar {
width:100%;
float:left;
}

div#content {
margin:0 1.5%;
}
div.sidebar.sleft {
margin-right:0.5%;
}
div.sidebar.sright {
margin-left:0.3%;
}

#content {
width:60%;
float:left;
word-wrap:break-word; /*** CSS3 property / former microsoft proprietary code so works in older ie ***/
}

#content .inner {
position:relative;
z-index:3; /*** content is placed higher than sidebars so that big (admin) tables will not "mix" with sidebar content. Can be removed if necessary ***/
background:#fff; /*** do not remove background but rather replace it with another color/image(or white) to ensure no regions blend with main content ***/
}

.sidebar {
float:left;
width:20%;
word-wrap:break-word; /*** CSS3 property / former microsoft proprietary code so works in older ie ***/
}

.sidebar .inner {
position:relative;
}

.adtblocks img {
margin:4px;
}

.adtblocks {
width:100%;
float:left;
margin:1px 0;
}

#footer-container {
width:100%;
float:left;
background:#1a6495;
padding:155px 0 40px 0;
margin-top:-130px;
display:block;
}

#footer {
margin:0 auto;
text-align:left;
width:820px;
font-size:80%;
}

/*** HEADER ***/

#header {
color:#fff;
background:url(images/flare.png) no-repeat -10px 0;
}
#header a {
color:#fff;
}

#header h1#sitename {
font-size:2.4em;
line-height:120%;
font-family: "Book Antiqua","Lucida Bright", Lucidabright, Lucida, "DejaVu Serif," "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;
font-weight:normal;
}
#header h1#sitename a {
text-decoration:none;
}
#header p.slogan {
color:#fff;
font-weight:bold;
font-size:1em;
position:relative;
left:20px;
opacity:0.6;
}

#header img.logo {
float:left;
margin:0 18px 0 0;
}

/* Primary Links */

#header ul {
position:absolute;
bottom:0;
right:0;
font-size:80%;
text-transform:none;
}

#header ul li {
margin:0;
padding:0;
font-weight:bold;
color:#f4f4f4;
display:block;
float:left;
padding-right:2px;
position:relative;
}

#header ul li.active-trail {
background:url(images/bgnav-hover-right.png) no-repeat bottom right;
}
#header ul li.active-trail a {
background:url(images/bgnav-hover.png) no-repeat bottom left;
}

#header ul li a {
text-decoration:none;
color:#f4f4f4;
height:40px;
padding:40px 23px 0 25px;
display:block;
float:left;
}

#header ul li:hover
,#header ul li.over {
background:url(images/bgnav-hover-right.png) no-repeat bottom right;
}
#header ul li a:hover {
background:url(images/bgnav-hover.png) no-repeat bottom left;
text-decoration:underline;
}

/* Dropdown */

#header ul ul {
position:absolute;
z-index:6;
left:-99999em;
top:80px;
clear:both;
width:180px;
border:1px solid #104271;
border-width:0 1px 1px 0;

/* undo first-level styling */
float:none;
margin:0;
font-size:100%;
text-transform:none;
bottom:auto;
right:auto;
}

#header ul ul li
,#header ul ul li.active-trail
,#header ul ul li:hover
,#header ul ul li.over {
clear:both;
background:url(images/bgnav-hover.png) no-repeat bottom left;
/* undo first-level styling */
float:none;
list-style:none;
list-style-position:outside;
font-weight:normal;
}

#header  ul ul li.expanded > a {
background:url(images/bullet2.gif) no-repeat 90% center;
}

#header ul ul li a
,#header ul li.active-trail ul a {
padding:0 15px;
line-height:2.8em;
height:2.8em;
color:#fff;
/* undo first-level styling */
float:none;
}

#header ul ul li a:hover
,#header ul ul li a:focus
,#header ul li.active-trail ul a:hover
,#header ul li.active-trail ul a:focus {
text-decoration:underline;
}

#header ul ul ul {
margin:0 0 0 179px;
top:0;
padding:0;
border-top:1px solid #104271;
}

#header li:hover ul ul
,#header li:hover ul ul ul
,#header li:hover ul ul ul ul
,#header li.over ul ul
,#header li.over ul ul ul
,#header li.over ul ul ul ul {
left: -999em;
}

#header li:hover ul
,#header li li:hover ul
,#header li li li:hover ul
,#header li li li li:hover ul
,#header li.over ul
,#header li li.over ul
,#header li li li.over ul
,#header li li li li.over ul {
left: 0;
}

/* Search Box */

#search-form {
position:absolute;
top:20px;
right:0;
width:240px;
}

#header #search-form input.form-text {
border:1px solid #3483b6;
background:#3280b1;
height:15px;
padding:3px 7px 2px 7px;
color:#dbdbdb;
width:195px;
margin:0;
float:left;
font-size:80%;
}

#header #search-form input.form-submit {
padding:0;
border:none;
margin:0;
float:right;
}


/*** SIDEBAR CONTENTS ***/

.sidebar .block {
margin-bottom:1em;
padding-bottom:0.5em;
}

.sidebar .inner {
padding:0 20px;

}

/*** Note Blocks ***/

.sidebar .noteblock {
position:relative;
width:100%;
padding:0;
margin-bottom:20px;
zborder:solid #e0e0e0;
}

.sidebar .noteblock .content {
padding-top:0.5em;
}

.sidebar .noteblock .blocktitle {
padding:10px 10px 13px 10px;
margin-bottom:0;
}

.sidebar .yellow-note .blocktitle {
border-bottom:1px dashed #e3d784;
}

.white-note {
background:url(images/white-note-pattern.jpg) repeat left;
}

.white-note .content {
background:url(images/white-note-bottom.jpg) no-repeat bottom left;
margin-top:30px;
margin-right:10px;
}

.yellow-note {
background:url(images/yellow-note-pattern.jpg) repeat left;
}
.yellow-note .block-inner {
background:url(images/yellow-note-top.jpg) no-repeat top right;
width:100%;
padding-right:19px;
}
.yellow-note .
 {
background:url(images/yellow-note-bottom.jpg) no-repeat bottom left;
width:100%;
padding:0 0 70px 10px;
}

.sidebar.sleft .noteblock {
left:-19px;
border-width:0 1px 1px 0;
}
.sidebar.sleft .noteblock .content {
padding-left:0px;
padding-bottom:4px;
}

.sidebar.sright .noteblock {
padding-right:19px;
border-width:0 0 1px 1px;
}

#main .sidebar .white-note {
border-top:1px solid #e4e4e4;
}

/* Login Block */

#user-login-form {
text-align:left;
}

.block-user-0 ul  {
text-align:left;
}


/*** MAIN CONTENT ***/

#content .node {
margin-bottom:2em;
padding-bottom:1em;
clear:both;
width:100%; /* very important for internet exploder because of rendering order */
}

/*** FOOTER CONTENTS ***/

#footer {
color:#d7d7d7;
}
#footer a {
color:#d7d7d7;
}

#footer .block {
float:left;
margin:0 0.5%;
opacity:0.95;
}

#footer .block .block-inner {
padding:1em 2em;
}

p#footermessage {
font-weight:bold;
padding:2em 0;
text-transform:none;
font-size:95%;
}

#footer .blocktitle {
font-weight:normal;
text-transform:uppercase;
color:#fff;
font-size:170%;
letter-spacing:0px;
}

/*** NODES ***/

.title {
margin-bottom:0.5em;
}

#content .node {
border-bottom:1px dashed #ccc9c0;
}

.picture {
border: 1px solid #1a6495;
float: right;
margin: 0.5em;
}
.picture img {
display:block;  
}

/*** NODE & COMMENT LINKS ***/

.node .links,.comment .links {
font-size:90%;
}

.node .links1,.comment .links1 {
font-size:130%;
text-align:right;
}


/*** TAXONOMY TERMS ***/

#main .taxonomy ul
,#main .taxonomy ul {
margin-left:0;
padding-left:0;
}

#main .taxonomy ul.inline li a {
text-decoration:none;
}

#main .taxonomy li.vocab {
line-height:1.8em;
}

#main .taxonomy li.vocab ul {
display:inline;
}

#main .taxonomy li.vocab-term {
display:inline;
}

/*** HEADINGS ***/

h1,h2,h3,h4,h5,h6,div.field-label {
line-height:120%;
letter-spacing:-1px;
}

h1 {
font-size:2.2em;
}
h2 {
font-size:2em;
}
h3 {
font-size:1.8em;
}
h4 {
font-size:1.6em;
}
h5,div.field-label {
font-size:1.4em;
}
h6 {
font-size:1.2em;
text-transform:uppercase;
}

.sidebar h1 {
font-size:1.5em;
}
.sidebar h2 {
font-size:1.3em;
}
.sidebar h3 {
font-size:1.2em;
}
.sidebar h4 {
font-size:1.1em;
}
.sidebar h5,.sidebar div.field-label {
font-size:1em;
text-transform:uppercase;
}
.sidebar h6 {
font-size:1em;
text-transform:lowercase;
}

h1#content-title {
clear:both;
}

#content h1
,#content h2
,#content h3
,#content h4
,#content h5
,#content h6 
,div.field-label
,#content h1 a
,#content h2 a
,#content h3 a
,#content h4 a
,#content h5 a
,#content h6 a
,div.field-label a {
color:#1a6495;
font-weight:normal;
}

.sidebar h1
,.sidebar h2
,.sidebar h3
,.sidebar h4
,.sidebar h5
,.sidebar h6
,.sidebar div.field-label  {
color:#5e5c50;
font-weight:bold;
}

.sidebar .blocktitle {
background:url(images/minigrunge.png) no-repeat bottom left;
text-indent:6px;
padding:3px 0 3px 0;
}
.sidebar .white-note .blocktitle {
background:none;
text-indent:0;
padding:5px 0 0 0;
}

h1.nodetitle a {
text-decoration:none;
}

#content .nodetitle {
height:1em;
}

#content .nodetitle {
background:url(images/bgheading-left.png) no-repeat top left;
float:left;
}
#content .nodetitle a {
background:url(images/bgheading-right.png) no-repeat top right;
padding-right:25px;
}

/*** LIST STYLING ***/

ul li { list-style: outside disc; }
ol li { list-style: outside decimal; }
#main ul,#main ol {
margin:0.5em 0 0.5em 20px;
padding:0;
}
#main .sidebar ul {
margin-left:0;
}
#main ul.inline {
margin:0;
padding:0;
}

#main li.active a
,#main  a.active {
font-weight:bold;
}

.sidebar ul {
margin:0;
padding:0;
}

.sidebar ul li {
margin:0;
padding:4px 4px 4px 15px;
list-style:none;
list-style-type:none;
border-bottom:1px dashed #ccc9c0;
display:block;
}

.sidebar ul li a {
margin:0;
padding:0 0 0 5px;
text-decoration:none;
display:block;
background:url(images/bullet.png) no-repeat 0 0.7em;
}

.sidebar.sleft ul li {
margin-left:-10px;
}
.sidebar.sright ul li {
margin-right:-10px;
}
#main .sidebar ul li li {
margin-left:0;
margin-right:0;
}

.sidebar.sleft ul li:hover {
background:#d5d2c0 url(images/list-hover-left.png) repeat-y top right;
}
.sidebar.sright ul li:hover {
background:#d5d2c0 url(images/list-hover-right.png) repeat-y top left;
}

.sidebar.sleft ul li:hover{
background:#d5d2c0 url(images/list-hover-left.png) repeat-y top right;
}

.sidebar.sleft ul.menu li.expanded:hover
,.sidebar.sright ul.menu li.expanded:hover{
background:none;
}

.sidebar.sleft ul.menu li.expanded > a:hover
,.sidebar.sright ul.menu li.expanded > a:hover {
text-decoration:underline;
}

/* Noteblock Lists */

#main .sidebar .noteblock ul {
margin-top:5px;
}

.sidebar .noteblock ul li {
border:none;
}

.sidebar .noteblock ul li a {
padding:0 3px 0 20px;
}

.sidebar .noteblock ul li:hover
,.sidebar .noteblock ul li.over {
background:none;
}

.sidebar .noteblock ul li:hover a
,.sidebar .noteblock ul li.over a {
background:url(images/bullet.png) no-repeat 5px 0.7em;
}

.sidebar .noteblock ul li a:hover {
text-decoration:underline;
}

/*** FORMS ***/

input.form-submit {
padding:0px 5px 1px 5px;
margin:1em 5px 1em 0;
font-size:90%;
border:1px solid #E0E0E0;
background:#d5d2c0 url(images/bgsubmit.png) repeat-x center center;
height:22px;
color:#5f511a;
font-weight:bold;
text-transform:lowercase;
}

input.form-submit:hover {
cursor:pointer;
}

div.grippie
,input.form-text
,input.form-upload
,textarea {
max-width:99%;
font-family:inherit;
}

input.form-text
,input.form-upload
,textarea {
background:#fff;
border:0px solid #e4e3e0;
padding:4px;
color:#786d26;
font-size:120%;
}

input.form-autocomplete {
padding:1px;
}

#autocomplete ul {
margin:0;
padding:0;
}
#autocomplete ul li {
margin:0;
padding:1px;
list-style:none;
list-style-type:none;
border-bottom:1px dashed #e4e3e0;
}

select {

}

#content label {

}

fieldset {
border:1px solid #ddd;
background:url(images/v0x-gradient-ultralight.gif) repeat-x top left;
}

html.js #main fieldset.collapsed { /* overwrite drupal core styles */
height:2em;
}

fieldset fieldset {
background:none;
}

legend {
padding:5px;
font-size:120%;
display:block;
}

#content form legend a {
padding-left:20px;
padding-right:5px;
text-decoration:none;
text-transform:lowercase;
}

#content form legend a:hover {

}

/*** SECONDARY MENU ***/

#header div.secondary ul.links {
position:absolute;
top:0;
right:0;
margin:0;
padding:0;
background:#fff;
font-size:80%;
}

#header div.secondary ul.links li {
display:block;
float:left;
margin:0 3px;
border-right:1px solid #444;
}

#header div.secondary ul.links li.last {
border-right:none;
}

#header div.secondary ul.links li a {
display:block;
padding:1px 5px;
}

#header div.secondary ul.links li a.active {
background:#ccc;
}

#header div.secondary ul.links li a:hover,
#header div.secondary ul.links li a:focus {
color:#fff;
background:#222;
}

/*** COMMENTS ***/

h3.commentheader { /* You can switch this header off in custom theme settings */
font-size:120%;
font-weight:normal;
margin-bottom:0.5em;
}

div.comment {
margin-bottom:0.5em;
border-bottom:1px dashed #CCC9C0;
}

.comment ul.links {
text-align:right;
}

.comment .new {
font-weight:bold;
color:#FF0000;
}

p.submitted {
background:#f3f3f3;
}


/*** PAGER ***/

.pager {
float:right;
margin-top: 30px;
line-height:2em;
}

#main ul.pager li {
margin:0;
padding:0;
}

ul.pager span span 
,#main ul.pager .pager-current
,ul.pager a {
border:1px solid #bcb059;
margin:0 2px;
padding:4px;
background:#d2c88a;
color:#786d26;
}

#main ul.pager li.pager-current {
color: #fff;
}

ul.pager a {
text-decoration:none;
}

ul.pager a:hover {
color:#d2c88a;
background:#786d26;
border-color:#786d26;
}


/*** SUBMITTED ***/

.submitted {
clear:both;
display:block;
}

.submitted a {
color:#1a6495;
font-weight:bold;
}

/*** MISSION ***/

#content-mission {
font-size:2.2em;
line-height:1.4em;
margin-bottom:1em;
color:#1a6495;
border-bottom:1px dashed #ccc;
letter-spacing:-1px;
}

/*** FORUMS ***/

div#forum table {
width:100%;
}

/*** TABLES ***/

table {
/*width:100%;
margin:1em 0;*/
}

td, th {
padding: 0.3em 0.4em;
}

thead th {
border-bottom: 2px solid #222;
color: #494949;
font-weight: bold;
}

th a:link, th a:visited {
color: #6f9dbd;
}

tr.even, tr.odd, tbody th {
border: solid #bbb;
border-width: 1px 0;
}

tr.odd, tr.info {
background-color: #eee;
}

tr.even {
background-color: #fff;
}

tr.odd td.active {
background-color: #bbb;
}

tr.even td.active {
background-color: #ccc;
}

td.region, td.module, td.container {
border-top: 1.8em solid #fff;
border-bottom: 2px solid #bbb;
background-color: #ddd;
color: #455067;
font-weight: bold;
}

/*** PRIMARY TABS ***/

#content ul.primary {
border:solid #bbb;
border-width:0 0 1px 0;
font-size:80%;
line-height:1.7em;
width:95%;
padding:0 0 0 5%;
float:left;
margin:1em 0 1em 0;
}

ul.primary li {
border:solid #bbb;
border-width:1px 1px 0 1px ;
background: url(images/x-gradient-ultralight.gif) repeat-x 0 0px;
display:block;
float:left;
padding:0;
margin:0 3px 0 0;
}

ul.primary li a {
border:none;
display:block;
float:left;
padding:2px 1em 1px 1em;
margin:0;
background:none;
color:#444;
}

ul.primary li.active {
border-top-color:#999;
}

ul.primary li.active a {
border:none;
float:left;
background:#fff url(images/x-gradient-ultralight.gif) repeat-x 0 -100px;
font-weight:bold;
}

ul.primary li a:hover,
ul.primary li a:focus {
border-top:2px solid #bbb;
padding-top:0;
}

ul.primary li.active a:hover,
ul.primary li.active a:focus {
border-top-color:#999;
}

ul.primary li.inactive a:hover,
ul.primary li.inactive a:focus {
background:#fff url(images/x-gradient-ultralight.gif) repeat-x 0 -110px;
}


/*** SECONDARY TABS ***/

#content ul.secondary {
font-size:80%;
margin: 0;
padding: 0 0 0 5px;
border-bottom: 1px solid #c0c0c0;
list-style: none;
white-space: nowrap;
}

ul.secondary li {
float: left;
margin: 0 5px 0 0;
padding: 5px 0;
border-right: none;
}

ul.secondary a {
display: block;
margin: 0;
padding: 0;
border: 1px solid #ccc;
background: url(images/x-gradient-ultralight.gif) repeat-x 0 0;
}

ul.secondary a .tab {
display: block;
padding: 3px 8px;
line-height: 1.4em;
}

ul.secondary a.active {
font-weight:bold;
border: 1px solid #555;
}

ul.secondary a:hover,
ul.secondary a:focus {
background: url(images/x-gradient-ultralight.gif) repeat-x 0 -20px;
border-color:#666;
}


/*** SKIP TO CONTENT ***/

p#skipcontent a {
position:absolute;
top:8em;
left:-99999em;
padding:10px 30px;
background:#ccc;
border:1px solid;
z-index:10;
}

p#skipcontent a:focus {
left:45%;
}

p#skipcontent a:hover {
background:#eee;
}

/*** MISC ***/

div.block-region {
clear:both;
}

.block .content .edit {
clear:both
}

/*****************************
******** MODULES *************
*****************************/

/*** MOD POLL ***/

.poll .bar {
height:8px;
border:1px solid #e5e0ba;
background:#f2f4e1 url(images/sprite-repeatx.png) repeat-x;
}

.poll .bar .foreground {
height:8px;
background:#ff9d45 url(images/sprite-repeatx.png) repeat-x 0 -8px;
}

.poll .text {
font-weight:bold;
line-height:1.3em;
}

.poll .percent {
line-height:1.4em;
}

.poll .total {
line-height:1.4em;
}

/*** MOD ADMIN MENU ***/

body.admin-menu {
margin-top:0!important;
}
#admin-menu {
position:fixed;
}

.messages {
background-color: #fff;
clear:both;
border: 1px solid #b8d3e5;
padding:0.5em;
margin-bottom:1em;
font-weight:bold;
font-size:90%;
}

.preview {
background-color: #fcfce8;
border: 1px solid #e5e58f;
}

div.status {
color: #3a3;
border-color: #c7f2c8;
}

div.error {
color: #c52020;
}

div.warning {
border-color:#ccc;
}

.form-item input.error, .form-item textarea.error {
border: 1px solid #c52020;
color: #494949;
}

/**
 * MOD DBLOG
 */
tr.dblog-user {
  background-color: #fcf9e5;
}

tr.dblog-user td.active {
  background-color: #fbf5cf;
}

tr.dblog-content {
  background-color: #fefefe;
}

tr.dblog-content td.active {
  background-color: #f5f5f5;
}

tr.dblog-warning {
  background-color: #fdf5e6;
}

tr.dblog-warning td.active {
  background-color: #fdf2de;
}

tr.dblog-error {
  background-color: #fbe4e4;
}

tr.dblog-error td.active {
  background-color: #fbdbdb;
}
tr.dblog-page-not-found, tr.dblog-access-denied {
  background: #d7ffd7;
}
tr.dblog-page-not-found td.active, tr.dblog-access-denied td.active {
  background: #c7eec7;
}

/**
 * Color.module
 */
fieldset#color_scheme_form {
min-width:500px;
min-height:240px;
}

/**
* Admin Overview
*/
 
div.admin .left {
margin-left:0;
}
div.admin .right {
margin-right:0;
}

/**
 * Status report colors.
 */
table.system-status-report tr.error, table.system-status-report tr.error th {
background-color: #fcc;
border-color: #ebb;
color: #200;
}
table.system-status-report tr.warning, table.system-status-report tr.warning th {
background-color: #ffd;
border-color: #eeb;
}
table.system-status-report tr.ok, table.system-status-report tr.ok th {
background-color: #dfd;
border-color: #beb;
}

/**
* Block region label color
*/

.block-region {
color:#555;
}

/**
* COLOR MODULE LIVEPREVIEW HELP
*/
#fauxbgbody {
width:100%;
height:498px;
}

