body {
  background: #EBDDC3;
}

h1 {
  font-family: Palatino,Georgia,"Times New Roman",times,serif;
  font-size: 2.5em;
  margin-bottom: 0.7em;
  font-weight: bold;
}

.sans-serif {
  font-family: "Helvetica", "Calibri", "Arial", sans-serif;
}

.serif {
  font-family: Palatino,Georgia,"Times New Roman",times,serif;
}

a {
  text-decoration: underline;
  color: #870804;
}

a:hover {
  text-decoration: none;
  color: #666;
}

#main, #nav, #teaser, #footer-content {
  margin-left: auto;
  margin-right: auto;
  width: 980px;
}

#grey_block {
  background: #1A4676 url('/images/dark_gradient_10px.png') bottom repeat-x;
  clear: both;
  height: 80px;
}
#red_block {
  background: #870804 url('/images/dark_gradient.png') repeat-x;
  clear: both;
}

#red_block strong {
  font-family: "Helvetica", "Calibri", "Arial", sans-serif;
  color: white;
  font-size: 1.2em;
  font-weight: normal;
}

#content-wrap {
  background: url('/images/dark_gradient_10px_top.png') top repeat-x;
}

.flash {
  padding: 10px;
  font-family: "Helvetica", "Calibri", "Arial", sans-serif;
  font-size: 18px;
  color: black;
  background-color: white;
  border: 5px solid black;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  font-weight: bold;
  margin-bottom: 20px;
}

.flash.error, .flash.alert {
  border-color: #990700;
}
.flash.notice {
  border-color: #787730;
}

#campaign {
  padding: 15px;
  font-family: "Helvetica", "Calibri", "Arial", sans-serif;
  font-size: 23px;
  color: white;
  background-color: black;
  border-left: 20px solid #870804;
  border-right: 20px solid #870804;
  font-weight: bold;
  margin-bottom: 20px;
}

#campaign a {
  color: #ccc;
}

#nav {
  padding: 1.5em 0em;
  font-family: "Helvetica", "Calibri", "Arial", sans-serif;  
  font-weight: normal;
}

#nav ul {
  float: right;
  list-style: none;
}
#nav ul li {
  display: inline;
}
#nav ul li a {
  display: block;
  float: right;
  font-weight: bold;
  background: url('/images/dark_gradient_small_darker.png') bottom repeat-x;
  margin-right: 0.5em;
  color: white;
  padding: 5px 10px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  text-decoration: none;
}
#nav ul li a:hover {
  background-color: #222;
}

#nav ul li a#category-dropdown-button {
  padding-right: 35px;
  background-image: url('/images/arrow_white_down.png');
  background-repeat: no-repeat;
  background-position: 95% 50%;
  background: url('/images/dark_gradient_small.png') bottom repeat-x;
}

#nav form {
  float: right;
  padding-top: 5px;
}

#nav h1 {
  font-family: "Helvetica", "Calibri", "Arial", sans-serif;  
  font-weight: normal;
  padding: 0;
  margin: 0;
  margin-top: 15px;
  line-height: 0.0;
  display: inline;
  float: left;
}

#nav h1 a {
  color: white;
  text-decoration: none;
}

#teaser {
  padding: 1em 0em;
  color: white;
}

#teaser h1 {
  margin-bottom: 0em;
}

#main {
  padding-top: 1em;
}

.category h2 {
  padding-bottom: 5px;
}
.category a {
  color: black;
  text-decoration: none;
}

.category a:hover {
  color: #870804;
}

.category .items {
  color: #666;
  font-size: 0.8em;
  border-top: 1px solid #ccc;
  padding-top: 5px;
  font-family: "Helvetica", "Calibri", "Arial", sans-serif;
}

.page {
  background-color: white;
  margin-bottom: 20px;
  -moz-border-radius: 1em;
  -webkit-border-radius: 1em;
  padding: 1em;
}

.page h2 {
  font-family: "Helvetica", "Calibri", "Arial", sans-serif;
  color: black;
  font-size: 18px;
  font-weight: bold;
}

.category-overview {
  background-color: white;
  margin-bottom: 20px;
  -moz-border-radius: 1em;
  -webkit-border-radius: 1em;
}

.category-overview h2 {
  font-size: 15px;
  font-family: Helvetica, Arial, "Droid Sans", sans-serif;
  font-weight: bold;
  background-color: #222;
  color: white;
  padding: 12px 15px;
  -moz-border-radius-topleft: 1em;
  -webkit-border-top-left-radius: 1em;
  -moz-border-radius-topright: 1em; 
  -webkit-border-top-right-radius: 1em;
}

.category-overview .items {
  padding: 10px 15px;
  color: #333;
  height: 45px;
}

.project {
  clear: left;
  float: left;
  width: 675px;
  padding: 0;
  margin-bottom: 25px;
  border-bottom: 8px solid #ccc;
}

.project-header {
  font-family: Helvetica, Arial, "Droid Sans", sans-serif;
  padding: 11px 16px;
  background-color: #222;
  color: #efefef;
  font-weight: bold;  
  -moz-border-radius-topleft: 1em;
  -webkit-border-top-left-radius: 1em;
  -moz-border-radius-topright: 1em; 
  -webkit-border-top-right-radius: 1em;
}

.project-header h2 {
  display: inline;
  font-size: 20px;
}

.project-header a, .category-overview h2 a {
  color: white;
}
.project-header a:hover, .category-overview h2 a:hover {
  color: #efefef;
}

.project .content {
  padding: 16px;
} 

.project .description-text {
  padding: 0; margin: 0;
  width: 100%;
  float: left;
  background-color: #efefef;
}

.project .description-text div {
  padding: 11px 16px;
  font-family: Helvetica, Arial, "Droid Sans", sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: black;
}

.last_commit {
  color: #666;
  float: right;
  padding-bottom: 8px;
}
.last_commit a {
  color: #444;
}
.last_commit a:hover {
  color: #666;
}

.project .score {
  float: right;
}
.score .data {
  padding-left: 10px;
}

.score .data abbr {
  padding-left: 20px;
  font-weight: bold;
  font-size: 10px;
  background-repeat: no-repeat;
  background-position: left 40%;
  font-family: "Helvetica", "Calibri", "Arial", sans-serif;  
}
.score abbr.watchers {
  background-image: url('/images/watchers_icon.png');
}

.score abbr.forks {
  background-image: url('/images/forks_icon.png');
}

.project .score h2 {
  font-weight: bold;
  text-align: center;
}

.project .score p span.penalty a:hover {
  color: black;
}

.project-links {
  background-color: #fafafa;
  list-style: none;
  padding: 0px;
  width: 100%;
  float: left;
}

.project-links li.first {
  margin-left: 10px;
}

.project-links li {
  display: inline;
  float: left;
  font-family: "Helvetica", "Calibri", "Arial", sans-serif; 
  font-size: 12px;
  font-weight: bold;
}

.project-links a {
  display: block;
  padding: 10px 8px;
  background-color: #fafafa;
  color: #333;
}
.project-links a:hover {
  background-color: #efefef;
  color: #333;
}

.project-rubygem {
  clear: left;
  background-color: white;
  padding: 11px 16px;
  font-family: Helvetica, Arial, "Droid Sans", sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: #222;
}

.project-rubygem h3 {
  display: inline;
  font-size: 17px;
}

ul.penalty_description .red, .project .score p span.penalty a.red {
  color: #870804;
}
ul.penalty_description .green, .project .score p span.penalty a.green {
  color: #0E822D;
}

ul.penalty_description {
  list-style-type: disc;
  margin-left: 20px;
}

ul.penalty_description li {
  font-size: 0.75em;
  font-weight: bold;
  color: black;
}

.description, .blogposts, .news, table td.content-column span {
  color: #999;
  font-family: "Helvetica", "Calibri", "Arial", sans-serif;
  font-size: 0.85em;
  font-weight: bold;
}

.qtip-content {
  text-align: left;
  line-height: 1.5em;
  font-family: "Helvetica", "Calibri", "Arial", sans-serif;
  font-size: 1em;
  white-space: nowrap;
}

.qtip-content h2 {
  font-family: Palatino,Georgia,"Times New Roman",times,serif;
  font-size: 1.3em;
  margin-bottom: 10px;
  font-weight: bold;
}

.qtip-content p {
  padding: 5px 10px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

.qtip-content p.highlighted-project {
  font-weight: bold;
  background: #870804 url('/images/dark_gradient.png') repeat-x bottom left;
}

.qtip-content .tooltip-description {
  font-size: 0.75em;
  padding: 5px 20px;
  margin-bottom: 5px;
  color: #ccc;
  white-space: normal;
  line-height: 1.25em;
}

.qtip-content #category-dropdown-table td {
  font-size: 1em;
  color: white;
  padding-right: 1em;
}

.qtip-content #category-dropdown-table a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

.qtip-content #category-dropdown-table a:hover {
  text-decoration: underline;
}

table td.letter-column {
  text-align: center; 
  padding: 10px; 
  vertical-align: middle; 
  font-size: 2em; 
  color: #666; 
  border-right: 5px solid #ddd;
}

table td.letter-column.even {
  background-color: #efefef;
  -moz-border-radius-topleft: 1em;
  -webkit-border-radius-topleft: 1em;
  border-radius-topleft: 1em;
  -moz-border-radius-bottomleft: 1em;
  -webkit-border-radius-bottomleft: 1em;
  border-radius-bottomleft: 1em;
}
table td.content-column.even {
  background-color: #f6f6f6;
}

table td.content-column {
  padding: 10px; 
  vertical-align: top;
}

table td.content-column span a {
  padding: 8px;
  -moz-border-radius: 3px;
  color: black;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  background-color: #efefef;
  font-size: 1.3em;
  line-height: 2.8em;
}

table td.content-column span a:hover {
  color: white;
  background-color: #222;
}

.news h2 {
  color: black;
  font-size: 1.2em;
}

.news .date {
  color: #333;
  text-align: right;
  font-weight: bold;
  margin-bottom: 10px;
}

.news p, .news blockquote, .news ul, .news ol {
  margin-top: 0.3em;
  margin-bottom: 0.8em;
  color: black;
}

.news p {
  text-align: justify;
}

.news a {
  color: #870804;
}

.news a:hover {
  color: #333;
}

.news blockquote {
  padding: 1em;
  background-color: #f2f2f2;
  -moz-border-radius:1em;
  -webkit-border-radius: 1em;
  border-radius: 1em;
}

.news ul, .news ol {
  margin-left: 2em;
  border-left: 8px solid #efefef;
  padding-left: 2em;
}

.meta {
  color: #666;
  font-family: "Helvetica", "Calibri", "Arial", sans-serif;
  font-size: 0.85em;
  font-weight: bold;
  margin-top: 0.7em;
  margin-bottom: 0.7em;
}

#sidebar {
  float: right;
  width: 250px;
}

.sidebar {
  padding: 1em;
  float: right;
  width: 100%;
  margin-bottom: 1.5em;
  background: #222 url('/images/dark_gradient.png') repeat-x bottom;
  -moz-border-radius: 1em;
  -webkit-border-radius: 1em;
  border-radius: 1em;
  color: white;
}

.sidebar.user {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
}

.sidebar h2, #footer h2 {
  font-family: Palatino,Georgia,"Times New Roman",times,serif;
  font-weight: bold;
  font-size: 1.4em;
  margin-bottom: 1em;
}
.sidebar h3 {
  font-family: Palatino,Georgia,"Times New Roman",times,serif;
  font-weight: bold;
  font-size: 1.2em;
  color: white;
}

.sidebar h3 i {
  color: #999;
  font-style: normal;
}

.sidebar .description a {
  color: #666;
  text-decoration: none;
}

.sidebar .description h3 a, .sidebar h3 a {
  color: white;
  text-decoration: none;
}
.sidebar .description h3 a:hover, .sidebar h3 a:hover {
  color: #ccc;
}

#ranks {
  width: 100%;
}

#ranks td.meter {
  -moz-border-radius:1em;
  -webkit-border-radius: 1em;
  border-radius: 1em;
}

#ranks td.meter-normal {
  background: url('/images/rank_gradient.png') repeat-x;
}

#ranks td.meter-large {
  background: url('/images/rank_gradient_large.png') repeat-x;
}

#ranks td.repo {
  background: url('/images/rank_arrow.png') no-repeat left 50%;
  width: 93%;
  padding: 0.3em;
  padding-left: 2em;
  font-family: Palatino,Georgia,"Times New Roman",times,serif;
  -moz-border-radius-topright: 0.4em;
  -moz-border-radius-bottomright: 0.4em;
  -webkit-border-radius-topright: 0.4em;
  -webkit-border-radius-bottomright: 0.4em;
  border-radius-topright: 0.4em;
  border-radius-bottomright: 0.4em;
  color: black;
  font-weight: bold;
  background-color: white;
}

#ranks td.repo:hover {
  background-color: #fc0;
}

#ranks td.repo i {
  color: #666;
}

#ranks td.repo a {
  color: black;
  text-decoration: none;
}
#ranks td.repo a:hover {
  text-decoration: underline;
}

.half {
  width: 300px;
  float: left;
}

.half .project {
  height: 80px;
}

.half_margin {
  margin-right: 50px;
}

#footer {
  clear: both;
  margin-top: 2em;
  border-top: 4px solid #766749;
  background: #433A29 url('/images/dark_gradient.png') repeat-x;
}
#footer-content {
  color: white;
  margin-top: 1em;
}
#footer-content p, #footer-content li {
  font-size: 0.8em;
  font-family: "Helvetica", "Calibri", "Arial", sans-serif;
}
.footer-float {
  height: 250px; 
  float: left;
  width: 29%;
  padding: 0 2%;
  border-right: 1px solid #766749;
}
.footer-float.last {
  border-right: none;
}

#footer-content h2 a {
  text-decoration: none;
}
#footer-content h2 a:hover {
  text-decoration: underline;
}

#footer-content a {
  color: #ddd;
  text-decoration: underline;
}
#footer-content a:hover {
  text-decoration: none;
}

.margin-top {
  margin-top: 1em;
}

#adzerk_ad_div {
  font-size: 0.9em;
  font-family: "Helvetica", "Calibri", "Arial", sans-serif;
  color: #efefef;
  text-align: center;
}

#adzerk_ad_div p {
  text-align: left;
}

#adzerk_by {
  text-align: right;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 0.8em;
  font-family: Palatino,Georgia,"Times New Roman",times,serif;
}

#adzerk_ad_div a, #adzerk_by a {
  color: #bbb;
  text-decoration: underline;
}

#adzerk_ad_div a:hover, #adzerk_by a:hover {
  color: #fc0;
  text-decoration: none;
}
