html, body {
 background: #EBDDC3;
 min-height: 100%;
 height: auto !important;
 height: 100%;
 position: relative;
}

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: 70%;
}

#grey_block {
  border-bottom: 3px solid #163A62;
  background: #1a4676 url('/images/dark_gradient_small.png') repeat-x;
  clear: both;
}

#red_block {
  background: #21a30c url('/images/dark_gradient.png') repeat-x;
  border-bottom: 3px solid #888;
  height:100%;
  clear: both;
}
#nav {
  padding: 2em 0em;
  text-align: center;
  width:100%;
  height: 10px;
}

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

#nav h1 a {
  color: white;
  font-family: Palatino,Georgia,"Times New Roman",times,serif,;
  text-decoration: none;
}

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

#teaser h1 {
  font-family: Georgia;
  margin-bottom: 0em;
  font-size:10;
}

#teaser  {
  font-family: Georgia;
  margin-bottom: 0em;
  height:150px;
  overflow: hidden;
}

#main {
  padding-top: 1em;
  position:relative;
  height: 100%;
}

.category {
  padding-left: 10px;
}

.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;
}

.project {
  padding: 1em;
  margin-bottom: 1.5em;
  background: white url('/images/dark_gradient_small_light.png') repeat-x top;
  -moz-border-radius-bottomleft:1em;
  -moz-border-radius-bottomright:1em;
  -moz-border-radius-topleft:1em;
  -moz-border-radius-topright:1em;
}
.project h2 {
  font-family: Palatino,Georgia,"Times New Roman",times,serif;
  font-size: 1.4em;
  font-weight: bold;
}

.sidebar h2 {
  font-family: Palatino,Georgia,"Times New Roman",times,serif;
  font-size: 1.4em;
  font-weight: bold;
}

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

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

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

#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;
} 

.project .score {
  float: right;
  background-color: #efefef;
  padding: 0.5em;
  margin-left: 1em;
  margin-bottom: 1em;
  text-align: right;
  -moz-border-radius-bottomleft:1em;
  -moz-border-radius-bottomright:1em;
  -moz-border-radius-topleft:1em;
  -moz-border-radius-topright:1em;
}
.project .score p {
  font-size: 0.65em;
  font-family: "Helvetica", "Calibri", "Arial", sans-serif;
}
.project .score h2 {
  font-weight: bold;
  text-align: center;
  font-family: Palatino,Georgia,"Times New Roman",times,serif;
  font-size: 1.7em;
}


.center {
align:center;
}
#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-bottomleft:1em;
  -moz-border-radius-bottomright:1em;
  -moz-border-radius-topleft:1em;
  -moz-border-radius-topright:1em;
  color: white;
}
#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 h3 a {
  color: white;
  text-decoration: none;
}

#ranks {
  width: 100%;
}

#ranks td.meter {
  background: url('/images/rank_gradient.png') repeat-x;
  -moz-border-radius-bottomleft:1em;
  -moz-border-radius-bottomright:1em;
  -moz-border-radius-topleft:1em;
  -moz-border-radius-topright:1em;
}

#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;
  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;
}

.third {
  width: 310px;
  float: left;
}

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

.double {
  width: 630px;
  float: left;
}

.full {
  width: 950px;
  float: left;
}

.youtube {
  height: 400px;
  float: left;
}

.third_margin {
  margin-right: 50px;
}

#footer {
  clear: both;
  margin-top: 2em;
  border-top: 4px solid #766749;
  background: #433A29 url('/images/dark_gradient.png') repeat-x;
  width: 100%;
}
#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 {
  float: left;
  width: 25%;
  padding: 0 2%;
  border-right: 1px solid #766749;
}
.footer-float.last {
  border-right: none;
  margin-bottom: 1em;
  width: 35%;
}

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

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

.input3 {
color: #413928;
background-color:#E3CD99;
height:1px;
width:95%;
}

.input2 {
width:100%;
border: 1px solid #766749;
background: #EBDDC3;
}

.input2dark {
width:100%;
color:#EBDDC3;
border: 1px solid #EBDDC3;
background: #1a1a1a;
}

