/*
 Friendselectric Template
 by Steven Wittens.

 This theme is licensed under the GPL.
*/

/*
 * Layout
 */

body {
  background: #68655A url(images/body_bkg.jpg) repeat-x scroll left top;
  margin: 0px;
  margin-left:25px;
  padding: 25px 0 0 0;
  min-width: 780px;
  max-width: 1080px;
  align: center;
}
body, input, textarea, select, option, legend, fieldset {
  font-family: "Bitstream Vera Sans", Verdana, Arial, Helvetica;
}
#body-wrap {
  margin: 0px 33px;
}


#header {
  height: 114px;
  position: relative; /* Every loose position: relative is here to avoid the IE peekaboo bug */
}
#site-name {
  position: absolute;
  left: 26px;
  top: 32px;
  margin: 0px;
  padding: 0px;
}
#site-name.with-slogan {
  top: 15px;
}
#site-slogan {
  position: absolute;
  left: 27px;
  top: 63px;
  margin: 0px;
  padding: 0px;
}

#search {
   right: 0px;
  top: 87px;
  margin: 10px;
}
#header form {
  padding: 0px;
  margin: 0px;
}

#top-nav ul {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
}

#top-nav ul#primary {
  position: absolute;
  left: 27px;
  top: 88px;
  right: 250px;
}
#top-nav ul#primary li {
  float: left;
  position: relative;
}

#top-nav ul#secondary {
  position: absolute;
  right: 9px;
  top: 8px;
  width: 100%;
}
#top-nav ul#secondary li {
  float: right;
  position: relative;
}
#sidebar-left {
  float: left;
  position: relative;

  margin-right: -201px;
  z-index: 20;

  display: inline;
  position: relative;
  width: 200px;
  
background:#68655A none repeat scroll 0 0;
border:0px solid #7C8C7C;
color:#FBFAF4;
}

#sidebar-right {
  float: right;
  position: relative;
  width: 201px;
  margin-left: -201px;
  z-index: 20;
}
#content-wrap {
  float: left;
  position: relative;
}
.content-wrap-right, .content-wrap-both {
  padding-right: 201px;
}
/* Note: due to Mozilla stretching fieldsets inside nested floats,
   the left sidebar is placed before the main content. This allows
   the main area to remain unfloated in Mozilla */
#main {
  _float: right;
  margin: 0px;
  _width: auto;
  height: auto;
}
.main-wrap-left, .main-wrap-both {
  float: left;
  width: auto;
  margin-right: 0px;
  margin-left: 201px;
  _margin-left: 0px; /* Avoid IE float margin doubling */
  _padding-left: 201px;
  z-index: 10;
}

/* CSS2 corrections */
#content-wrap > #sidebar-left {
  margin-right: -200px;
}
#content-wrap > #main {
  margin-left: 1px;
}

/*
 * Style
 */
 
/* Page */
html, body {
  _height: 100%;
  min-height: 100%;
}
body .bw1 {
  background: #68655A url(images/body_bkg.jpg) repeat-x scroll left top
}
body .bw2 {
  background: #F4F4EB repeat-x scroll left top
}

/* Header */
#header {
  background: #F4F4EC url(images/bars.gif) no-repeat scroll right top;
}

#site-name {
  font-size: 2.95em;
  letter-spacing: -1px;
}
#site-name a {
  font-family: "Trebuchet MS", Helvetica, Arial;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}
#site-slogan {
  font-size: 1.0em;
  color: #8baec9;
  font-weight: bold;
  text-decoration: none;  
}
#top-nav ul {
  margin-left: -3px;
}
#top-nav ul li {
  position: relative;
}
#top-nav ul li a {
  color: #8baec9;
  font-size: 0.8em;
  font-weight: bold;
  text-decoration: none;  
  display: block;
  position: relative;
  white-space: nowrap;
  margin-right: 5px;
}

#top-nav ul li a .lw1 {
  display: block;
  position: relative;
  _width: 1px;
  background: url(images/nav-right.png) no-repeat 100% -100px;
}
#top-nav ul li a .lw2 {
  padding: 2px 5px;
  display: block;
  position: relative;
  _width: 1px;
  cursor: pointer;
  background: url(images/nav-left.png) no-repeat 0% -100px;
}



ul#secondary li a {
  color: #a7cde2;
  margin-right: 0px;
  margin-left: 5px;
}
ul#secondary li a .lw1 {
  background: url(images/nav2-right.png) no-repeat 100% -100px;
}
ul#secondary li a .lw2 {
  background: url(images/nav2-left.png) no-repeat 0% -100px;
}



#search .form-text, #search .form-submit {
  margin: 0px;
  padding: 0px;
  display: block;
  float: left;
  font-size: 0.8em;
  margin-right: 9px;
}
#search input.form-text {
  border-width: 0px;
  width: 112px;
  padding: 2px 2px;
  color: #223756;
  background: url(images/search-box.png) no-repeat 0px 0px;
}
#search input.form-submit {
  border-width: 0px;
  height: 19px;
  line-height: 18px;
  width: 60px;
  text-align: center;
  color: #223756;
  background: url(images/search-button.png) no-repeat 0px 0px;
  _margin-right: 4px;
}


/* Generic */
blockquote {
  margin: 10px 0px 0px 17px;
  padding: 0px 35px 0 9px;
  border-left: 5px solid #ddd;
  font-style: italic;
  _overflow: visible;
  _height: 1px;
}
.form-item .description {
  font-size: 0.9em;
  font-style: italic;
  color: #455970;
  padding-bottom: 0.5em;
}
.pager li {
    display: normal;

}

.item-list ul li, li.expanded, li.collapsed, li.leaf {
//  list-style-type: none;
list-style-type: disc;
  list-style-image: none;
  margin: 0;
  padding: 0px;
}
li.expanded a, li.collapsed a, li.leaf a {
  margin: 0;
//  padding: 3px 1px 3px 20px;
padding: 1px 1px 3px 1px;
  display: block;
}

.item-list ul.pager li {
    list-style-type: none;
  list-style-image: none;
  	list-style: none;
  		display: inline;
}
.item-list ul.pager li a {
  display: inline;
  list-style-type: none;
  list-style-image: none;
  	list-style: none;
}

.block .item-list ul li br {
  display: none;
}
li.expanded a {
//  background: url(images/sidebar-bullet-min.png) no-repeat 4px 5px;
list-style-type: disc;
}
li.collapsed a {
//  background: url(images/sidebar-bullet-plus.png) no-repeat 4px 5px;
list-style-type: disc;
}
.item-list ul li a, li.leaf a {
//  background: url(images/sidebar-bullet-dot.png) no-repeat 4px 5px;
list-style-type: disc;
}
.menu {
  padding: 0px;
}
.block ul {
  padding: 0 0 0 0em;
}
.block ul ul {
  padding: 0 0px 0 1.5em;
}
.block li a {
list-style-type: disc;
  width: auto;
  _height: 1px;
}
.more-link {
  display: block;
  list-style-type: none;
  list-style-image: none;
  margin: 0px;
  padding: 0px 0px 0px 0px;
}
.more-link a {
  padding: 3px 5px 3px 5px;
  display: block;
}

/* Fancy pre code boxes */
.pre {
  width: 100%;
  padding: 10px 0px 15px;
}
pre {
  clear: both;
  float: left;
  overflow: auto;
  _overflow-y: hidden;
  background: #f8fbfc;
  margin: 0px;
  padding: 8px 5px 18px;
  min-height: 3em;
  width: 95%;
  border: 1px solid #bfd0d9;
}
pre, tt, code {
  font-family: "Bitstream Vera Sans Mono", Courier New, monospace;
  font-size: 1em;
}

/* Tables */
table td {
  padding: 3px;
}
table {
  margin: 0.5em 0px 1em;
}
li {
  margin: 0.2em 0px;
}
tr {
  border-bottom: 1px solid #bfd0d9;
}
tr.odd {
  background: #e4edf2;
  border-bottom: 0px;
}
tr.even {
  background: #f8fbfc;
  border-bottom: 0px;
}
tr.odd td.active {
  background: #c5d6df;
  border-bottom: 0px;
}
tr.even td.active {
  background: #d6e4ea;
  border-bottom: 0px;
}
th {
  border-bottom: 2px solid #919eaf;
}

/* Watchdog */
tr.watchdog-user {
  background: #ffd;
}
tr.watchdog-user td.active {
  background: #eed;
}
tr.watchdog-content {
  background: #ddf;
}
tr.watchdog-content td.active {
  background: #cce;
}
tr.watchdog-warning {
  background: #fda;
}
tr.watchdog-warning td.active {
  background: #ec9;
}
tr.watchdog-pagenotfound, tr.watchdog-accessdenied {
  background: #dfd;
}
tr.watchdog-pagenotfound td.active, tr.watchdog-accessdenied td.active {
  background: #cec;
}
tr.watchdog-error {
  background: #ffc9c9;
}
tr.watchdog-error td.active {
  background: #eeb9b9;
}
#main tr td a.active {
  background-color: inherit;
}

/* Content */
#content {
  font-size: 0.75em;
  background: url(images/main-top.png) repeat-x 0px 0px;
  _height: 1px;
}
#content .cw1 {
  background: url(images/main-left.png) repeat-y 0% 0px;
  _height: 1px;
}
#content .cw2 {
  background: repeat-y 100% 0px;
  _height: 1px;
}
#content .cw3 {
  background: url(images/main-top-left.png) no-repeat 0% 0px;
  _height: 1px;
}
#content .cw4 {
  background: url(images/main-top-right.png) no-repeat 100% 0px;
  _height: 1px;
}
.content-left .cw5, .content-both .cw5 {
  background: url(images/sidebar-left-bg.png) repeat-y 0% 0px;
  _height: 1px;
}
.content-left .cw6, .content-both .cw6 {
  background: url(images/sidebar-left-top.png) no-repeat 0% 0px;
  _height: 1px;
}
.content-right .cw7, .content-both .cw7 {
  background: url(images/sidebar-right-bg.png) repeat-y 100% 0px;
  _height: 0px;
}
.content-right .cw8, .content-both .cw8 {
  background: url(images/sidebar-right-top.png) no-repeat 100% 0px;
  _height: 1px;
}

/* Main */
#main {
  color: #0b2645;
  width: 100%;
}
#main .mw1 {
  padding: 20px 54px;
  background: #F4F4EB;
  
}
#main h1 {
  margin: 0px;
  padding: 13px 0px 1px;
  font-size: 1.45em;
  color: #485c74;
}
#main h2 {
  margin: 0px;
  padding: 10px 0px 1px;
  font-size: 1.25em;
  color: #485c74;
}
#main h3 {
  margin: 0px;
  padding: 6px 0px 1px;
  font-size: 1.1em;
  color: #485c74;
  font-style: italic;
}
#main a {
  color: #000000;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: -1px;
}


#main .node h2.title, #main h2.main-title {
  font-size: 2.15em;
  font-weight: normal;
  letter-spacing: -1.5pt;
}
#main .node h2.title, #main h2.main-title, #main .node h2.title a {
  color: #000000;
  font-weight: normal;
  text-decoration: none;
}
#main .node h2.title a {
  letter-spacing: inherit;
}
#main .node {
  margin-bottom: 2em;
}

#main .info a, #main .links a, #main .terms a, #main .info a:visited, #main .links a:visited, #main .terms a:visited {
  color: #485c74;
}
#main .comment {
  padding: 10px 0px 15px;
  margin: 0px;
  border-top: 1px solid #ccc;
}
body #main .comment-new {
  background: #f3f3f3;
  border-top: 1px solid #f7f7f7;
  border-bottom: 1.8px solid #ccc;
  padding: 10px 10px 15px;
  margin-top: 3px;
  margin-bottom: -1px;
  z-index: 10;
}
#main .comment-new .new {
  float: right;
  color: #6c90ac;
  position: relative;
  top: -0.2em;
  font-weight: bold;
}
#main .comment h3.title {
  font-size: 1.41em;
  letter-spacing: -0.5px;
  font-style: normal;
  margin-top: 0px;
  padding-top: 0px;
}
#main .comment h3.title, #main .comment h3.title a {
  font-weight: normal;
  color: #000000;
}
#main textarea, #main textarea * {
  display: block;
  width: 95%;
  font-size: inherit;
}
#main .box {
  margin-bottom: 1em;
}

/* Pager */
#pager {
  clear: both;
  padding: 10px 0px 3px;
}
#pager div {
  padding: 0em;
}
#pager strong.pager-current, #pager a {
  padding: 2px 6px 2px 5px;
  margin: 0px 0.25em 0px 0.25em;
  background: #e7f0f8;
  border: 1px solid #a6c1d6;
  -moz-border-radius: 3px;
}

#pager strong.pager-current {
  background: #485c74;
  color: #fff;
  padding: 3px 6px 3px 5px;
}

/* Form styles */
.form-text, .form-password, textarea, .form-select {
  border: 1px solid #919eaf;
  padding: 1px;
  margin: 1px;
}
.form-text:focus, .form-password:focus, textarea:focus, .form-select:focus {
  border: 2px solid #919eaf;
  -moz-border-radius: 3px;
  margin: 0px;
}
.node-form .admin .authored, .node-form .admin .options, .node-form .admin .extra {
  margin-top: 5px;
  margin-right: 10px;
  width: auto;
  clear: none;
}

/* Mission */
#mission {
  background: #e7f0f8 url(images/mission-top-left.png) no-repeat 0% 0%;
}
#mission .sw1 {
  background: url(images/mission-top-right.png) no-repeat 100% 0%;
}
#mission .sw2 {
  background: url(images/mission-bottom-left.png) no-repeat 0% 100%;
}
#mission .sw3 {
  background: url(images/mission-bottom-right.png) no-repeat 100% 100%;
  padding: 10px;
}

/* Sidebars */
.sidebar {
  margin: 0px;
  padding: 4px 0px 5px;
}
#sidebar-left .block h2 {
 font-size:12px;
  _height: 1px;
}
#sidebar-right .block h2 {
  background: url(images/sidebar-right-title.png) repeat-y 0px 0px;
  _height: 1px;
}
.sidebar .block {
  margin-bottom: 1em;
}
.sidebar .block h2 {
  color: #F4F4EB;
  line-height: 19px;
  font-size: 1.1em;
  font-size:10px;
  margin: 0px 0px 3px;
  padding: 0px 5px;
}
.sidebar .block h2.first {
  line-height: 13px;
  height: 15px;
  _line-height: 14px;  
  _padding-bottom: 3px;
}
.sidebar .block .content {
  padding-left: 7px;
  padding-right: 7px;
}

.sidebar .block a {
  color: #F4F4EB;
  font-weight: bold;
//  letter-spacing: -1px;
  text-decoration: none;
  font-size: 12px;
}

/* Tab navigation */
ul.primary {
  margin: 0px;
  padding: 0px 0px 0px 10px;
  white-space: nowrap;
  list-style: none;
  height: 24px;
  background: url(images/tab-bar.png) repeat-x 0px 100%;
  border-width: 0px;
}
ul.primary li {
  margin: 0px;
  padding: 0px;
  float: left;
  _width: 0px;
}
ul.primary li a {
  margin: 0px;
  padding: 0px;
  display: block;
  background: url(images/tab-right.png) no-repeat 100% -38px;
  border-width: 0px;
  height: 24px;
  text-decoration: none;
}

#main ul.primary li.active a, #main ul.primary li.active {
  background: url(images/tab-right.png) no-repeat 100% 0px;
  border-width: 0px;
  color: #000;
}
ul.primary li a .lw1 {
  margin: 0px;
  padding: 4px 15px 0px;
  display: block;
  background: url(images/tab-left.png) no-repeat 0% -38px;
  border-width: 0px;
  height: 20px;
  text-decoration: none;
  line-height: 20px;
  cursor: pointer;
}
#main ul.primary li .lw1 {
  background: url(images/tab-left.png) no-repeat 0% -76px;
  border-width: 0px;
}
#main ul.primary li.active a .lw1, #main ul.primary li.active a:hover .lw1 {
  background: url(images/tab-left.png) no-repeat 0% 0px;
  border-width: 0px;
  color: #000;
}
ul.secondary li a.active {
  border-width: 0px;
}

/* Aggregator */
#aggregator .source {
  clear: left;
}

/* Footer */
#footer {
  margin-top: 3em;
  padding: 5px 10px 0px;
  color: #666;
  border: solid;
  border-width: 1px 0px;
  border-color: #f2f2f2 #eee #ddd;
  margin-bottom: -10px;
}

/* Page fadeout */


/* CSS tricks */
.clear {
  clear: both;
  height: 1px;
  margin-bottom: -1px;
  line-height: 0px;
  display: block;
  font-size: 0px;
}

.description {
  color: #898989;
  line-height: 150%;
  margin-bottom: 0.75em;
}
.suppheader {
	color: #FFFFFF; font-weight: bold; text-transform: uppercase; line-height: 12px; font-size: 2ex; margin: 0 0 10px 0; clear: both;
}
.suppheader:after {content: "."; display: block; height: 0; clear: both; visibility: hidden;}
/* Hides from ie-mac \*/
* html .suppheader {height: 1%;}
.suppheader {display: block;}
/* End hide from ie-mac */ 

.supplinks {
	float: right; 
	width: 20% !important; 
	width: 148px; 
	min-width: 200px; 
	margin: 0px 10px 10px 10px; 
	border: 1px solid #383730; 
	padding: 7px; 
	background: #393831 url(images/little_gradient.jpg) repeat-y left top;
}

.supplist {
	background: #83816E; border-top: 1px solid #FBFAF4; margin: 0;
}

.supplist, .supplist ul {
	padding: 9px 0; list-style-type: none !important;
}

.supplist ul {
	padding: 9px 0 1px 0;
}

.supplist li {
	 margin: 0 0 1ex 0; padding: 0 0 0 22px; text-indent: 0px; background: url(images/white_bullet.gif) no-repeat 11px 1ex;
}

.supplist li, .supplist li a {
	font-size: 1.8ex; color: #fff;
}
.supplist li a:link {color: #FBFAF4; text-decoration: none}


.case_head {
}

.case_header {
	background: #383730 url(images/case_head_bkg.jpg) repeat-y left; margin: 0 28px 0 10px; border: 1px solid #383730; border-width: 1px 1px 0 1px; height: 35px;
}

.case_header2 {
	background: #383730 url(images/case_head_bkg.jpg) repeat-y left; margin: 0 28px 0 10px; border: 1px solid #383730; border-width: 1px 1px 0 1px; height: 35px;
}

.case_header span {
	 width: 267px; height: 19px; margin: 8px 9px 10px 9px; display: block;
}

.case_header span span {
	display: none;
}

.case_nav {
	/*background: #EEF2ED;*/	background: #FBFAF4; border: 1px solid #000; text-align: center; margin: 0 18px 0 3px;
}

.case_nav a {
	color: #383730; font-family: "Lucida Grande","Arial",sans-serif; text-decoration: none; text-transform: uppercase; line-height: 24px; white-space: nowrap; font-weight: bold; margin-right: 40px;
}

.case_nav a.last {
	margin-right: 0;
}

.case_head_body {
	background: #383730 url(images/case_head_bkg.jpg) repeat-y left; border: 1px solid #383730; border-width: 0 1px 1px 1px; margin: 0 28px 0 10px; text-align: center; padding-bottom: 7px;
}

/* end case styles */
/* special page styles */

.case_body, .mw1 .node {
	padding: 0px 10px;
}

.caseimg_bottom {
	margin: 3px 3px 3px 10px; clear: left;
}

.caseimg_inset {
	float: left; margin: 0 10px 0 0;
}