/* 
    Document   : public
    Created on : Sep 21, 2009, 3:18:02 PM
    Author     : george
    Description:
        Purpose of the stylesheet follows.
*/

/* 
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/

@import url(_content.css);
@import url(_comments.css);
@import url(_sphinx.css);
@import url(_mini_captcha.css);

root { 
    display: block;
}

body {
    margin: 0;
    margin-bottom: 25px;
    padding: 0;
    background-color: #fafbfa;
    font-family: "Lucida Grande", "Bitstream Vera Sans", "Verdana";
    font-size: 13px;
    color: #333;
}

h1 {
    font-size: 18px;
    font-weight: bold;
    color: #000;
}

h2 {
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

h3 {
    font-size: 14px;
    font-weight: bold;
    color: #000;
}

a  {
    color: #085;
    text-decoration:none;
}

img {
    border: none;
    text-decoration: none;
}


a:hover {
    background-color: #aba;
    color: white;
    text-decoration: none;
}

a img, a img:hover, img:hover {
 background-color: transparent;
 text-decoration: none;
}

input {
    font-size: 10px;
}

textarea {
    font-size: 10px;
    width: 98%;
    height: 160px;
}

#page {
    background-color: #fff;
    min-width: 790px;
    width: 95%;
    border: 1px solid #aba;
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    padding-top: 5px;
    margin-top:10px;
    float: left;
}
#cse-search-results {
    width: 540px;
    margin-left: -25px;
}

#res, #tpa1, #googleSearchFrame {
    width: 540px;
}

.content {
    float: left;
    background-color: white;
    padding: 25px;
    margin: 0px;
    min-width: 640px;
    width: 70%;
    clear: left;
}

#ad-footer {
    clear: both;
    float: left;
    width: 100%;
    min-width: 640px;
    font-size: 8px;
    font-weight: normal;
    padding-top: 15 px;
    padding-bottom: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
}

#sidebar {
    background-color: #fff;
    padding: 10px;
    float: right;
    width: 175px;
    padding-top: 5px;
    margin-top:10px;
    padding-left: 10px;
    padding-right: 10px;
    margin-right: 10px;
    margin-left: 10px;
    border: none;
    border-left: 1px solid #dba;
    min-height: 420px;
}

#page-footer {
    clear: both;
    font-size: 8px;
    font-weight: normal;
    border-top: 1px dotted #aba;
    text-align: center;
}

#about {
    padding-left: 75px;
    padding-right: 30px;
}

.header {
  /*  background-image: url("/images/rails.png");*/
    background-repeat: no-repeat;
    background-position: top left;
    min-height: 64px;
    padding: 2px;
/*    padding-left: 75px;
    padding-right: 30px;
*/
    font-size: 4px;
    font-weight: normal;
    clear: both;
}

.header-logo {
    /*background-image: url("/images/rails.png");
    background-repeat: no-repeat;
    background-position: top left;*/
    min-height: 64px;
    padding: 2px;
    /*padding-left: 56px;*/
    margin: 5px;
    margin-left: 25px;
    float: left;
    font-size: 8px;
    font-weight: normal;
    text-align: center;
}

.header-ads {
    background: #ffffff;
    background-repeat: no-repeat;
    background-position: top left;
    min-height: 64px;
    float: left;
    padding: 2px;
    margin: 5px;
    margin-top: 25px;
    margin-right: 15px;
    margin-left: 45px;
    font-size: 8px;
    font-weight: normal;
}

.google-search-results {
  margin-left: 10px;
}

#header a  {
    color: #777;
    text-decoration: none;
}

#header h1, #header h2 {margin: 0}

#header h1 {
    color: #888;
    font-weight: normal;
    font-size: 28px;
}

#header h2 {
    color: #888;
    font-weight: normal;
    font-size: 16px;
}

#search {
    margin: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 11px;
}
#search input {
    font-size: 11px;
    margin: 2px;
}
#search-text {width: 170px}

/* SIDEBAR */

#sidebar ul {
    margin-left: 0;
    padding-left: 0;
}
#sidebar ul h3 {
    margin-top: 25px;
    font-size: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}
#sidebar li {
    list-style-type: none;
}
#sidebar ul.links li {
    margin-bottom: 5px;
}

.navigation {
    margin-top:    3px;
    margin-bottom: 5px;
    padding-bottom: 5px;
    padding-top: 5px;
    float: left;
    border-bottom: 1px solid #aaa;
    width: 100%;
    font-size: 10px;
}

.commands-item {
    font-size: 8px;
    margin-top:    3px;
    margin-bottom: 5px;
    padding-bottom: 5px;
    padding-top: 5px;
    float: right;
    border-top: 1px dotted #aaa;
    width: 25%;
    text-align: right;
}

/* MESSAGES */
#messages-notice {
    margin: 2px;
    padding: 2px;
    float: left;
    background-color: #dfffcc;
    border: 1px solid #ddd;
    padding: 15px;
    width: 95%;
}

#messages-error {
    color: #999;
    margin: 2px;
    padding: 2px;
    float: left;
    background-color: #f9eeee;
    border: 1px solid #ddd;
    padding: 15px;
    width: 95%;
}

.pagination {
  float: left;
  width: 100%;
  text-align: center;
}

.fieldWithErrors {
  border: 1px solid red;
}

.fortune {
  float: right;
  font-style: italic;
  padding: 10px;
}