/**
 * Tux Magazine Styles
 */

/* Page */
body {
  margin: 0px;
  padding: 0px;
  color: #222;
  background: #fff;
}
body {
  min-height: 100%;
}
html, body {
  min-height: 100%;
}

/* Global text style */
body, input, select, option, textarea {
  font-family: Verdana, "Bitstream Vera Sans", Helvetica, sans-serif;
}
body {
  font-size: 82%;
}
input, select, option, textarea {
  font-size: 100%;
}

/* Header */
#header {
  height: 78px;
  background: #000 url(/sites/default/themes/tuxmagazine/header.png) repeat-x 0px 0px;
}
#header h1 {
  margin: 0px;
  padding: 0px;
}
#slogan {
  position: absolute;
  top: 55px;
  right: 17px;
  width: 438px;
  height: 16px;
  background: url(/sites/default/themes/tuxmagazine/slogan.png) no-repeat 0% 0%;
}
#slogan span {
  position: relative;
  left: -2000px;
}
#logo {
  position: relative;
  left: 27px;
  top: 5px;
}

/* Top navbar */
#navbar1 {
  background: #5b9022 url(/sites/default/themes/tuxmagazine/navbar.png) repeat-x 0% 0%;
  height: 29px;
  line-height: 26px;
  color: #fff;

}
#navbar1 ul {

  margin: 0px;
  padding: 0px;
  padding-left: 10px;
  list-style-type: none;
}
#navbar1 li {

  float: left;
  margin: 0px;
  padding: 0px;
  list-style-type: none;
  padding-left: 2px;
}
#navbar1 li.dot {
  background: url(/sites/default/themes/tuxmagazine/dot.png) no-repeat 0% 50%;
}
#navbar1 li a {
  white-space: nowrap;
  display: block;
  padding: 0px 8px;
  _width: 0px;
  height: 29px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}
#navbar1 li a:hover {
  background: url(/sites/default/themes/tuxmagazine/navbar.png) repeat-x 0% -34px;
}
/* end Top navbar */

/* First line only bottom navbar */
#navbar3 {
  font-size: 1em;
  padding-top: 3px;
}
#navbar3 ul {
  margin: 0px;
  padding: 0px;
  padding-left: 10px;
  list-style-type: none;
}
#navbar3 li {
  display: inline;
  margin: 0px;
  padding: 0px;
  list-style-type: none;
  padding-left: 2px;
}
#navbar3 li.dot {
  background: url(/sites/default/themes/tuxmagazine/dot.png) no-repeat 0% 50%;
}
#navbar3 li a {
  padding: 0px 8px;
  _width: 0px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}
#navbar3 li a:hover {
  text-decoration: underline;
}
/* end First line only bottom navbar */

/* Footer / Bottom navbar 2nd and 3rd lines */
#footer {
  text-align: center;
  background: #fff url(/sites/default/themes/tuxmagazine/footer.png) repeat-x 0% 100%;
  height: 54px;
  padding-top: 25px;
  clear: both;
  color: #fff;

  font-size: 0.85em;
  padding-top: 3px;
  }
#footer  a {
  padding: 0px 8px;
  _width: 0px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}
#footer  a:hover {
  text-decoration: underline;
  }
/* Drupal Icon */
#footer img {
width: auto;
float: left ;
margin: 0px -88px 0px 8px;
}
#footer p {
  margin: 0px;
  padding: 0px;
  margin-top: 0px;
  padding-bottom: 2px;
  font-size: 0.85em;
}
#footer p a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}
#footer p a:hover {
  text-decoration: underline;
}

/* Search box settings -- No clue as to why Steve did it like this.. */
#search {
  position: absolute;
  right: 15px;
  white-space: nowrap;
  text-align: right;
  width: 250px;
  _width: 0px;
}
#search, #search * {
  padding: 0px;
  margin: 0px;
  height: 19px;
  line-height: 19px;
  vertical-align: middle;
  margin-top: 1px;
}
#search .text {
  border-style: solid;
  border-color: #7c966e #91a785 #91a785 #7c966e;
  height: 17px;
  border-width: 1px;
  margin-right: 5px;
}
#search > * {
  margin-top: 2px;
}
/*  End search setting block  */

/* Main layout */
#content {
  padding: 10px;
}

#left {
  float: left;
  width: 190px;
}
#right {
  float: right;
  width: 190px;
}
.content-both {
  padding-left: 210px;
  padding-right: 210px;
}
.content-left {
  padding-left: 210px;
  padding-right: 10px;
}
.content-right {
  padding-right: 210px;
  padding-left: 10px;
}
#innercontent {
  float: left;
  width: 100%;
}

/* Sidebars */
.sidebar {
  background-color: #e7eaed;
  border-color: #c0c8d0;
  border-width: 0px 1px 1px 0px;
  border-style: solid;
  color: #000;
  font-size: 0.85em;
  letter-spacing: -1px;
  margin-top: 3px;
  _position: relative; /* peekaboo IE bug */
}
.sidebar a {
  letter-spacing: 0px;
}
.sidebar .w1 {
  background: url(/sites/default/themes/tuxmagazine/sidebar-ul.png) no-repeat 0% 0%;
}
.sidebar .w2 {
  background: url(/sites/default/themes/tuxmagazine/sidebar-ur.png) no-repeat 100% 0%;
  position: relative;
  left: 1px;
  top: 0px;
}
.sidebar .w3 {
  background: url(/sites/default/themes/tuxmagazine/sidebar-br.png) no-repeat 100% 100%;
  position: relative;
  left: 0px;
  top: 1px;
}
.sidebar .w4 {
  background: url(/sites/default/themes/tuxmagazine/sidebar-bl.png) no-repeat 0% 100%;
  position: relative;
  left: -1px;
  top: 0px;
}
.sidebar .block {
  width: 100%;
  margin-top: 9px;
  border-top: 1px solid #cbd4df;
}
.sidebar .block-first {
  margin-top: 0px;
  border-top-width: 0px;
}
.sidebar .block .content {
  padding: 0px 9px 9px;
}
.sidebar .block h2 {
  padding: 0px;
  margin: 0px;
  font-size: 1.25em;
  color: #2a5b9e;
  padding: 6px 0px 4px 10px;
  letter-spacing: 0px;
}
.sidebar .block h3 {
  padding: 0px;
  margin: 0px;
  font-size: 1.1em;
  color: #2a5b9e;
  padding: 6px 0px 4px 10px;
  letter-spacing: 0px;
}
/* color of links in sidebars */
.sidebar a {
  color: #333;
  font-weight: normal;
  text-decoration: none;
}
.sidebar a.active {
  font-weight: bold;
}
.sidebar a:hover {
  color: #5bae2e;
  text-decoration: underline;
}

/* Start of Subscribe now box  settings */
h2#subscribe-now {
  text-transform: uppercase;
  color: #d6001e;
  font-family:  sans-serif helvetica, arial;
  letter-spacing: 0px;
  text-align: center;
  padding: 5px 0px;
  background-color: #f9fafb;
  margin: 0px;
}

ul#navbar2 {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}
ul#navbar2 li {
  border-top: 1px solid #cbd4df;
}
ul#navbar2 li a, ul#navbar2 li a:visited, ul#navbar2 li a:hover {
  display: block;
  color: #203858;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  letter-spacing: 0px;
  padding: 5px 0px 5px 37px;
  background: url(/sites/default/themes/tuxmagazine/arrow-large-2.png) no-repeat 17px 9px;
}
ul#navbar2 li a:hover {
  background-color: #e1f9d3;
  color: #1b5d2e;
  background-position: 17px -12px;
}
ul#navbar2 li.last a:hover {
  padding-bottom: 4px;
  border-bottom: 1px solid #cbd4df;
}
/* End of Subscribe now box  settings */

#spacer {
  height: 17px;
  margin-top: 0px;
  margin-bottom: -9px;
  background-color: #f9fafb;
}

/* Sidebar list styling */
.sidebar .item-list ul {

  padding: 0px;
  margin: 0px;
  list-style-type: none;
}
.sidebar .item-list ul li {

  list-style-type: none;
  margin: 0px;
  padding: 0px 0px 0px 12px;
  background: url(/sites/default/themes/tuxmagazine/arrow-small.png) no-repeat 2px 5px;
}
.menu ul {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
  margin-left: -4px;
}
li.expanded {
  list-style-type: none;
  list-style-image: none;
  background: url(/sites/default/themes/tuxmagazine/menu-expanded.png) no-repeat 0px 7px;
  padding-left: 15px;
}
li.collapsed {
  list-style-type: none;
  list-style-image: none;
  background: url(/sites/default/themes/tuxmagazine/menu-collapsed.png) no-repeat 1px 6px;
  padding-left: 15px;
}
li.leaf {
  list-style-type: none;
  list-style-image: none;
  background: url(/sites/default/themes/tuxmagazine/menu-leaf.png) no-repeat 0px 7px;
  padding-left: 15px;
}


/* Main content */
#contentwrap a {
  color: #4ba21c;
  font-weight: bold;
  text-decoration: none;
}
#contentwrap a:visited {
  color: #387418;
}
#contentwrap a:hover {
  text-decoration: underline;
}
#contentwrap {
  letter-spacing: 0px;
}
h1 {
  color: #5bae2e;
  font-family: sans-serif, arial, helvetica;
  letter-spacing: 0px;
  margin: 0px 0px 8px 0px;
  font-size: 1.6em;
    font-weight: bold;
}
h2 {
  color: #5bae2e;
  font-family: sans-serif, arial, helvetica;
  letter-spacing: 0px;
  margin: 0px 0px 8px 0px;
  font-size: 1.5em;
    font-weight: bold;
}
h3 {
  margin: 0px 0px 8px 0px;
  font-size: 1.4em;
}
h4 {
  color: #5bae2e;
  font-family: sans-serif, arial, helvetica;
  letter-spacing: 0px;
    margin: 0px 0px 8px 0px;
  font-size: 1.2em;
  font-weight: bold;
}
h5 {
  color: #5bae2e;
  font-family: sans-serif, arial, helvetica;
  letter-spacing: 0px;
    margin: 0px 0px 8px 0px;
  font-size: 1.1em;
  font-weight: bold;
}
h3, .box h2 {
  color: #5bae2e;
  font-family: sans-serif, arial, helvetica;
  letter-spacing: 0px;
  font-size: 1.4em;
  font-weight: bold;
}

/* Local tasks */
ul.primary * {
  background-color: transparent !important;
}
ul.primary {
  list-style: none;

  padding: 0px 0em 0.26em 1em;
  margin: -0.5em 0px 0.75em 0px;
  height: 20px;

  white-space: nowrap;
  border-width: 0px;
  border-bottom: 1px solid #939393;
}
ul.primary li {
  display: block;
  float: left;
  _width: 1px;
  height: 20px;
  margin: 0px;
  padding: 0px;
  position: relative;
  top: 2px; /* fudgyness to make tabs stay put on text resizing */
  _top: 6px;
}
ul.primary li a {
  display: block;
  height: 20px;
  margin: 0px;
  padding: 0px;
  margin-right: 0.5em;
  text-decoration: none;
  border-width: 0px;
  position: relative;
  top: 0.19em; /* fudgyness to make tabs stay put on text resizing */
  _top: 0.25em;
}
ul.primary li a .a {
  display: block;
  height: 20px;
  padding: 2px 0em 3px 0em;
  margin: 0px;
  padding: 0px;
  background-image: url(/sites/default/themes/tuxmagazine/main-tab1.png);
  background-repeat: no-repeat;
  background-position: 100% 0px;
}
ul.primary li a .a .b {
  display: block;
  margin: 0px;
  height: 20px;
  padding: 2px .9em 3px;
  background-image: url(/sites/default/themes/tuxmagazine/main-tab2.png);
  background-repeat: no-repeat;
  background-position: 0% 0px;
  _cursor: hand;
  color: #444;
}
ul.primary li.active a {
  background-color: transparent;
  border-width: 0px;
}
ul.primary li.active a .a {
  background-position: 100% -60px;
}
ul.primary li.active a .a .b {
  background-position: 0% -60px;
  color: black;
}
ul.primary li a:hover {
  border-width: 0px;
  text-decoration: none !important;
}
ul.primary li a:hover .a {
  background-position: 100% -30px;
}
ul.primary li a:hover .a .b {
  background-position: 0% -30px;
}
ul.primary li.active a:hover {
  background-color: #fff;
  border-width: 0px;
}
ul.primary li.active a:hover .a {
  background-position: 100% -60px;
}
ul.primary li.active a:hover .a .b {
  background-position: 0% -60px;
}


ul.secondary {
  border-bottom: 1px solid #C0C0C0;
  padding: 0.5em 0em 0.5em 0em;
  margin: 0em;
}
ul.secondary li {
  display: inline;
  padding: 0 1em;
  border-right: 1px solid #ccc;
}
ul.secondary a {
  padding: 0;
  text-decoration: none;
}
ul.secondary a.active {
  border-bottom: 2px solid #8ec462;
}
ul.secondary a.active:hover {
  text-decoration: none !important;
}


/* Nodes and comments */
h1.title, .node h2.title {
  color: #5bae2e;
  font-family: sans-serif, arial, helvetica;
  letter-spacing: 0px;
/*  letter-spacing: -1px; note I changed all headers from -1px to 0 */
  font-size: 1.7em;
  font-weight: bold;
}
.node h2.title a, .node h2.title a:visited {
  color: #5bae2e !important;
}
.node .content, .comment .content {
  padding: 0px 15px;
}
.node .info, .comment .info {
  font-size: 0.85em;
  letter-spacing: -1px;
  padding: 0px 15px;
}
.node .terms {
  font-size: 0.85em;
  letter-spacing: -1px;
  margin-top: 10px;
  float: right;
}
.node .links, .comment .links {
  margin-top: 10px;
  padding-top: 0px;
  padding-left: 15px;
  background: url(/sites/default/themes/tuxmagazine/arrow-large-1.png) no-repeat 3px 4px;
}
.node {
  width: 100%;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #C0C0C0;
}
.comment, .box {
  width: 100%;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #C0C0C0;
}
.comment h3 {
  color: #5bae2e;
  font-family: sans-serif, arial, helvetica;
  letter-spacing: -1px;
  font-size: 1.4em;
  font-weight: bold;
}
.comment h3 a, .comment h3 a:visited, .comment h3 a:hover {
  color: #5bae2e !important;
}
.comment-new h3 {
  background-color: #e4f5db;
  padding: 2px;
}
.comment .new {
  float: right;
  color: #3a6e1e;
  font-weight: bold;
  padding-top: 4px;
  padding-right: 5px;
  letter-spacing: -1px;
}

/* Node editing form */
fieldset {
  border: 1px solid #5bae2e;
  -moz-border-radius: 2px;
  _padding-top: 0px;
  _padding-bottom: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
}
.node-form .admin .authored, .node-form .admin .options, .node-form .admin .extra {
  margin-right: 8px;
}
.node-form .admin > .authored, .node-form .admin > .options, .node-form .admin > .extra {
  margin-top: -10px;
}
.node-form .admin .authored, .node-form .admin .options {
  border-right: 1px solid #5bae2e;
}
.node-form .admin .authored fieldset, .node-form .admin .options fieldset, .node-form .admin .extra fieldset {
  border-width: 0px;
}
.node-form .admin .authored legend, .node-form .admin .options legend, .node-form .admin .extra legend {
  font-weight: bold;
  color: #387418;
}

/* Tables */
table, tr, td, th {
  font-size: 1em;
}
th {
  border-bottom: 2px solid #c0c0c0;
}
td {
  padding: 4px;
  border-bottom: 1px solid #c0c0c0;
}
tr.light {
  background-color: #fff;
}
tr.light td.active {
  background-color: #f0f0f0;
}
tr.dark {
  background-color: #f5f5f5;
}
tr.dark td.active {
  background-color: #e1e1e1;
}

/* Messages */
.messages {
  background-color: #e4f5db;
  border: 1px solid #5bae2e;
  margin: 0.5em;
  margin-bottom: 1em;
  padding: 0.5em;
  color: #387418;
  font-weight: bold;
  -moz-border-radius: 2px;
}
.error {
  border: 1px solid #f0000c;
  color: #f0000c;
  background: #ffeceb;
}
.messages ul {
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
}

/* Watchdog */
tr.watchdog-user {
  background: #ffd;
}
tr.watchdog-user td.active {
  background: #eed;
}
tr.watchdog-special {
  background: #ddf;
}
tr.watchdog-special td.active {
  background: #cce;
}
tr.watchdog-warning {
  background: #fda;
}
tr.watchdog-warning td.active {
  background: #ec9;
}
tr.watchdog-httpd {
  background: #dfd;
}
tr.watchdog-httpd td.active {
  background: #cec;
}
tr.watchdog-error {
  background: #ffc9c9;
}
tr.watchdog-error {
  background: #eeb9b9;
}
.tstclear {
  clear: both;
}
/* CSS tricks from Steve */
.clear {
  height: 0px;
  line-height: 0px;
  font-size: 0px;
  clear: both;
}
#innercontent {
  overflow: auto;
  padding-bottom: 20px;
}

/* IE5.0/5.5 float drop fix */
* html #innercontent {
  width: auto;
  padding-right: 35px;
  voice-family: "\"}\"";
  voice-family:inherit;
  width: 100%;
  padding-right: 0px;
} p { }
/* IE5.0/5.5 footer fix */
* html body {
  background: #fff url(/sites/default/themes/tuxmagazine/footer.png) repeat-x 0% 100%;
  voice-family: "\"}\"";
  voice-family:inherit;
  background: #fff;
} p { }
/* IE5.0 indented bullet fix / IE6 peekaboo fix */
* html .sidebar {
  position: static;
  voice-family: "\"}\"";
  voice-family:inherit;
  position: relative;
}

