/*
 Friendselectric Template
 by Steven Wittens.

 This theme is licensed under the GPL.
*/

.imageright { 
    float: right; margin-left: 10px;
    } 
.imageleft {
   float: left; margin-right: 10px;
    }

/*
 * Layout
 */

body {
  background: url(back-everywhere.png);
  margin: 0px;
  padding: 0px;
  min-width: 780px;
  max-width: 1024px;
}
body, input, textarea, select, option, legend, fieldset {
  font-family: "Bitstream Vera Sans", Arial, Helvetica;
}
#body-wrap {
  margin: 0px 7px;
}


#header {
  height: 289px;
  position: relative; /* Every loose position: relative is here to avoid the IE peekaboo bug */
}
#site-name {
  position: absolute;
  left: 26px;
  top: 40px !important;
  margin: 0px;
  padding: 0px;
}
#site-name.with-slogan {
  top: 15px;
}
#site-slogan {
  position: relative;
  left: 35px !important;
  top: 93px !important;
  margin: 0px;
  padding: 0px;
}

#search {
  position: absolute;
  right: 0px;
  top: 125px;
}
#header form {
  padding: 0px;
  margin: 0px;
}

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

#top-nav ul#primary {
  position: absolute;
  text-decoration: none;
  left: 295px;
  top: 190px;
  right: 0px;
}
#top-nav ul#primary li {
  text-decoration: none;
  float: left;
  position: relative;
}

#top-nav ul#secondary {
  position: absolute;
  right: 240px;
  top: 245px;
  width: 100%;
}
#top-nav ul#secondary li {
  float: right;
  position: relative;
}
#sidebar-left {
  float: left;
  position: relative;
  width: 201px;
  margin-right: -201px;
  z-index: 20;
}
#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: 210px;
}
/* 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: url(bg-left.png) repeat-y 0% 0px;
}
body .bw2 {
  background: url(bg-right.png) repeat-y 100% 0px;
}

/* Header */
#header {
  background: url(header-mid.png) repeat-x 0px 0px;
}
#header .hw1 {
  background: none;
}
#header .hw2 {
  background: none;
}
#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: #fff;
  font-weight: bold;
  text-decoration: none;  
}
#top-nav ul {
  text-decoration: none;
  margin-left: -3px;
}
#top-nav ul li {
  text-decoration: none;
  position: relative;
}
#top-nav ul li a {
  text-decoration: none;
  color: #693B0B;
  font-size: 0.8em;
  font-weight: bold;
  display: block;
  position: relative;
  white-space: nowrap;
  margin-right: 29px;
  font-family: Bookman Old Style;
}
#top-nav ul li a:hover {
  color: #F7E3B5;
}

#top-nav ul li a .lw1 {
  display: block;
  position: relative;
  _width: 1px;
}
#top-nav ul li a .lw2 {
  padding: 2px 5px;
  display: block;
  position: relative;
  _width: 1px;
  cursor: pointer;
}
#top-nav ul li a:hover .lw1 {
  color: #996600;
}
#top-nav ul li a:hover .lw2 {
  color: #996600;
}

ul#secondary li a {
  color: #8C5823;
  font-size: 0.7em;
  margin-right: 0px;
  margin-left: 5px;
  font-family: Tahoma;
}
ul#secondary li a .lw1 {
  background: none;
}
ul#secondary li a .lw2 {
  background: none;
}
ul#secondary li a:hover .lw1 {
  color: #432607;
}
ul#secondary li a:hover .lw2 {
  color: #432607;
}

#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: #FFFAEF;
  background: none;
}
#search input.form-submit {
  border-width: 0px;
  height: 19px;
  line-height: 18px;
  width: 60px;
  text-align: center;
  color: #223756;
  background: none;
  _margin-right: 4px;
}
#search .form-submit:hover {
  color: #FFFAEF;
}

/* Generic */
blockquote {
  margin: 10px 0px 0px 17px;
  padding: 0px 35px 0 9px;
  border-left: 5px solid #754118;
  font-style: italic;
  _overflow: visible;
  _height: 1px;
}
.form-item .description {
  font-size: 0.9em;
  font-style: italic;
  color: #455970;
  padding-bottom: 0.5em;
}
.item-list ul li, li.expanded, li.collapsed, li.leaf {
  list-style-type: none;
  list-style-image: none;
  margin: 0;
  padding: 0;
}
.item-list ul li a, li.expanded a, li.collapsed a, li.leaf a {
  margin: 0;
  padding: 3px 1px 3px 20px;
  display: block;
}
.item-list ul li a:hover, li.expanded a:hover, li.collapsed a:hover, li.leaf a:hover {
  background-color: #F7E3B5;
  padding: 2px 0px 2px 19px;
  border: 1px solid #D9BC92;
  background-position: 3px 4px;
}
.block .item-list ul li br {
  display: none;
}
li.expanded a {
  background: url(sidebar-bullet-min.png) no-repeat 4px 5px;
}
li.collapsed a {
  background: url(sidebar-bullet-plus.png) no-repeat 4px 5px;
}
.item-list ul li a, li.leaf a {
  background: url(sidebar-bullet-dot.png) no-repeat 4px 5px;
}
.menu {
  padding: 0px;
}
.block ul {
  padding: 0 0 20 0em;
}
.block ul ul {
  padding: 0 0px 0 1.5em;
}
.block li a {
  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;
}
.more-link a:hover {
  background-color: #fafafa;
  padding: 2px 4px 2px 4px;
  _padding-right: 3px;
  border: 1px solid #ccc;
  _height: 1px;
}

/* Fancy pre code boxes */
.pre {
  width: 100%;
  padding: 10px 0px 15px;
}
pre {
  clear: both;
  float: left;
  overflow: auto;
  _overflow-y: hidden;
  background: #F0E6D4;
  margin: 0px;
  padding: 8px 5px 18px;
  min-height: 3em;
  width: 95%;
  border: 1px solid #D9BC92;
}
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 #EBE1CD;
}
tr.light {
  background: #EBE1CD;
  border-bottom: 0px;
}
tr.dark {
  background: #F0E6D4;
  border-bottom: 0px;
}
tr.light td.active {
  background: #E4DAC7;
  border-bottom: 0px;
}
tr.dark td.active {
  background: #E8E2D0;
  border-bottom: 0px;
}
th {
  border-bottom: 2px solid #67390F;
}

/* 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;
}

/* Messages */
#message .messages {
  background: #FFFAEF;
  border-top: 1px solid #FFFAEF;
  border-bottom: 1px solid #FFFAEF;
  padding: 3px 6px;
  margin-bottom: 4px;
}
#message .error {
  background: #ffe5e5;
  border-top: 1px solid #FFFAEF;
  border-bottom: 1px solid #efb5b5;
  padding: 3px 6px;
  color: #dc0024;
}
#message {
  margin: 15px 0px 5px;
}
#message ul {
  margin: 0px;
  padding: 0px;
}
#message ul li {
  list-style-type: none;
  list-style-image: none;
  margin: 0;
  padding: 3px 1px 3px 20px;
  background: url(sidebar-bullet-dot.png) no-repeat 4px 5px;
}
#message .error li {
  background: url(sidebar-bullet-dot-2.png) no-repeat 4px 5px;
}

/* Content */

#content {
  font-size: 0.80em;
  text-align: justify;
  background: none;
  _height: 1px;
  font-family: Arial; 
}
#content .cw1 {
  background: none;
  _height: 1px;
}
#content .cw2 {
  background: none;
  _height: 1px;
}
#content .cw3 {
  background: none;
  _height: 1px;
}
#content .cw4 {
  background: none;
  _height: 1px;
}
.content-left .cw5, .content-both .cw5 {
  background: url(sidebar-left-bg.png) repeat-y 0% 0px;
  _height: 1px;
}
.content-left .cw6, .content-both .cw6 {
  background: url(sidebar-left-top.png) no-repeat 0% 0px;
  _height: 1px;
}
.content-right .cw7, .content-both .cw7 {
  background: url(sidebar-right-bg.png) repeat-y 100% 0px;
  _height: 1px;
}
.content-right .cw8, .content-both .cw8 {
  background: url(sidebar-right-top.png) no-repeat 100% 0px;
  _height: 1px;
}

/* Main */
#main {
  color: #3f3f3f;
  width: 100%;
}
#main .mw1 {
  padding: 3px 20px;
}
#main h1 {
  margin: 0px;
  padding: 13px 0px 1px;
  font-size: 1.45em;
  color: #3f3f3f;
}
#main h2 {
  margin: 0px;
  padding: 1px 0px 1px;
  font-size: 1.25em;
  color: #3f3f3f;
}
#main h3 {
  margin: 0px;
  padding: 6px 0px 1px;
  font-size: 1.1em;
  color: #3f3f3f;
  font-style: italic;
}
#main a {
  color: #3f3f3f;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: -1px;
  font-family: Verdana; 
}
#main a:hover {
}
#main a:visited {
  color: #3F3F3F;
}
#main .node h2.title, #main h2.main-title {
  font-size: 1.5em;
  font-weight: normal;
  letter-spacing: -0.4pt;
  font-family: Verdana; 
}
#main .node h2.title, #main h2.main-title, #main .node h2.title a {
  color: #3F3F3F;
  font-weight: bold;
  text-decoration: none;
  font-family: Tahoma, Bookman Old Style;
}

#main .node h2.title, #main h2.main-title, #main .node h2.title a:hover {
  color: #8C5823;
  text-decoraton: none;
}
#main .node h2.title a {
  letter-spacing: inherit;
}
#main .node {
  margin-bottom: 2em;
  BACKGROUND: none; 
  padding-bottom: 0px;
}
#main .info, #main .links, #main .terms {
  padding: 2px 0px 0px 17px;
  color: #3f3f3f;
  background: url(main-bullet-new.png) no-repeat 0px 5px;
  font-family: Verdana; 
}
#main .info a:hover, #main .links a:hover, #main .terms a:hover, #main .info a:hover, #main .links a:hover, #main .terms a:hover {
  color: #8C5823;
  text-decoraton: underline dotted;
}

#main .info a, #main .links a, #main .terms a, #main .info a:visited, #main .links a:visited, #main .terms a:visited {
  color: #3f3f3f;
}
#main .comment {
  padding: 10px 0px 15px;
  margin: 0px;
  border-top: 1px solid #ccc;
}
body #main .comment-new {
  background: #F9EFDE;
  border-top: 1px solid #FFFAEF;
  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: #3f3f3f;
  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: #8C5823;
}
#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 a {
  padding: 2px 6px 2px 5px;
  margin: 0px 0.25em 0px 0.25em;
  background: url(inside-back.png);
  border: 1px dotted #D9BC92;
  -moz-border-radius: 3px;
}
#pager a:hover {
  text-decoration: none;
}
#pager strong {
  background: #67390F;
  color: #FFFAEF;
}

/* Form styles */
.form-text, .form-password, textarea, .form-select {
  border: 1px solid #D9BC92;
  padding: 1px;
  margin: 1px;
}
.form-text:focus, .form-password:focus, textarea:focus, .form-select:focus {
  border: 2px solid #D9BC92;
  -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;
}

}
/* Fieldset styling (only for IE and Mozilla as the rest seem to mess up) */
fieldset {
  _background: #FFFAEF;
  _border-width: 0px;
  _border-right: 2px solid #754118;
  _border-bottom: 2px solid #754118;
  padding: 10px;
}
html:not([dummy]) fieldset {
  background: #FFFAEF;
  border-width: 0px;
  border-right: 2px solid #754118;
  border-bottom: 2px solid #754118;
  clear: left;
}
legend {
  background: transparent;
  font-weight: bold;
  letter-spacing: -1px;
  color: #2A2A2A;
}

/* Mission */
#mission {
  background: none;
}
#mission .sw1 {
  background: none;
  }
#mission .sw2 {
  background: ;
  }
#mission .sw3 {
  background: none;
  padding: 10px;
}

/* Sidebars */
.sidebar {
  margin: 0px;
  padding: 4px 0px 5px;
}
#sidebar-left .block h2 {
  background: url(sidebar-left-title.png) repeat-y 0px 0px;
  _height: 1px;
}
#sidebar-right .block h2 {
  background: url(sidebar-right-title.png) repeat-y 0px 0px;
  _height: 1px;
}
.sidebar .block {
  margin-bottom: 1em;
  font-family: Bookman Old Style;
}
.sidebar .block h2 {
  color: #42250A;
  line-height: 19px;
  font-size: 1.1em;
  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;
  font-family: Tahoma;
}
.sidebar .block a:visited {
  color: #2A2A2A;
}
.sidebar .block a {
  color: #3F3F3F;
  font-weight: normal;
  letter-spacing: 0px;
  text-decoration: none;
  font-family: Tahoma;
}

/* Tab navigation */
ul.primary {
  margin: 0px;
  padding: 0px 0px 0px 10px;
  white-space: nowrap;
  list-style: none;
  height: 24px;
  background: none;
  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(tab-right.png) no-repeat 100% -38px;
  border-width: 0px;
  height: 24px;
  text-decoration: none;
}
#main ul.primary li a:hover {
  background: url(tab-right.png) no-repeat 100% -76px;
  border-width: 0px;
  text-decoration: none;
}
#main ul.primary li.active a, #main ul.primary li.active a:hover {
  background: url(tab-right.png) no-repeat 100% 0px;
  text-decoration: none;
  border-width: 0px;
  color: #000;
}
ul.primary li a .lw1 {
  margin: 0px;
  padding: 4px 15px 0px;
  display: block;
  background: none;
  border-width: 0px;
  height: 20px;
  text-decoration: none;
  line-height: 20px;
  cursor: pointer;
}
#main ul.primary li a:hover .lw1 {
  background: none;
  border-width: 0px;
}
#main ul.primary li.active a .lw1, #main ul.primary li.active a:hover .lw1 {
  background: none;
  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 #754118;
  margin-bottom: -10px;
}

/* Page fadeout */
#end, #end * {
  height: 25px;
}
#end {
  background: url(bottom-mid.png);
  clear: both;
}
.end-left .ew1, .end-both .ew1 {
  background: url(bottom-left.png) no-repeat 0% 0px;
}
.end-right .ew2, .end-both .ew2 {
  background: url(bottom-right.png) no-repeat 100% 0px;
}
.end-right .ew1, .end-none .ew1 {
  background: none;
}
.end-left .ew2, .end-none .ew2 {
  background: none;
}

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


.forum-comment {
  float: left;
  width: 95%;
}

.comment-left {
  width: 10%;
  float: left;
  font-size: 11px;
  margin-left: 5px;
}

.comment-left .picture {
  float: none;
}

.comment-right .title {
  font-weight: bold;
  font-size: 12px;
  margin: 5px 0 15px 12px;
  display: block;
  float: left;
}

.comment-right .content {
  float: right;
  width: 88%;
}

.comment-right .links {
  margin-left: -12px;
}
