/*
Global stylesheet for yorba.org, intended for use on all web pages.
Contains base element styles and common layouts used across the site.
*/

/* global whitespace reset */
* {
    padding: 0;
    margin: 0;
}

/* ----- Base Styles --*/

body {
    /* font-size: 12px */
    font: 75%/1.4 Arial, sans-serif;
    background-color: black;
    padding: 16px 0 30px 0;
}

a img { border: none;}

p, 
ul {
    margin-bottom: 1em;
    line-height:   150%;
}

li {
    margin-left: 2em;
}

h1 {
    font-family: "Trebuchet MS", Arial, sans-serif;
    letter-spacing: .025em;
    margin-top: 0px;
    margin-bottom: 0px;
}

h2 {
    font-family: "Trebuchet MS", Arial, sans-serif;
    letter-spacing: .025em;
    margin-top: 32px;
}

h1, 
#featured li a {
    /* font-size: 20px */
    font-size: 1.66em;
    font-weight: normal;
    color: #1689c6;
    margin-bottom: 10px;
}


h2 {
    /* font-size: 16px */
    font-size: 1.33em;
    font-weight: bold;
    color: #85bc19;
    padding-bottom: 4px;
    margin-bottom: 8px;
    border-bottom: 1px solid #a2a2a2;
}

div.clearFloats {
	clear: both;
	height: 0;
}

div.blog_aggreg_container {
    background-color: #ffffff;
}

h1.user_blog_title {
    padding-left: 0px;
    padding-top: 24px;
    color: #777777;
    font-size: 32px;
    border-bottom: 1px solid;
    font-weight: bold;
}

div.blog_aggreg_content {
    padding-left: 132px;
    padding-right: 132px;
    padding-top: 1px;
    padding-bottom: 48px;
}

div.blog_user_content {
    padding-left: 64px;
    padding-right: 64px;
    padding-top: 1px;
    padding-bottom: 48px;
}

a.blog_aggreg_entry_head {
    text-decoration: none;
    font-weight: bold;
    color: #777777;
}

a.blog_aggreg_entry_head:hover {
    text-decoration: none;
    font-weight: bold;
    color: #111111;
}

h4.blog_aggreg_entry_head {
    text-align: left;
    font-size: 24px;
    color: #777777;
    border-bottom: 1px solid;
    margin-top: 40px;
    margin-bottom: 3px;
}

p.blog_aggreg_entry_body {
    text-align: left;
    padding-left: 2px;
}

p.blog_aggreg_sigline {
    text-align: left;
    padding-left: 2px;
}

/* ----- Code Sample --*/

.codeSample p { background: black url("/static/images/code-sample/top.png") top no-repeat;}
.codeSample code { 
    background: url("/static/images/code-sample/bottom.png") bottom no-repeat;
    padding: 5px 10px;
    color: #9eca3b;
    display: block;
}

/* ----- Header --*/

h1.secondary_header {
    line-height: 2.3em; /* 68px */
    padding-left: 40px;
    padding-right: 220px;
    padding-top: 4px;
    margin-bottom: 0;
    margin-top: 0;
    font-size: 2.5em;
    color: black;
}

#header {
    width: 710px;
    padding: 0 70px;
    margin: 0 auto 20px auto;
}

#header h1 {
    width: 105px;
    height: 72px;
	padding-top: 0px;
    margin-bottom: 0;
    float: left;
}

#header ul {
    width: 605px;
    padding-top: 22px;
    margin-left: 105px;
}

#header li {
    list-style-type: none;
    margin-left: 50px;
    margin-bottom: 0;
    float: right;
}

#header a {
    /* font-size: 16px */
    font-size: 1.33em;
    color: white;
    text-transform: lowercase;
}

#blog_header a:hover { color: #959595;}

#blog_header {
    width: 710px;
    padding: 0 70px;
    margin: 0 auto 20px auto;
}

#blog_header h1 {
    width: 105px;
    height: 72px;
	padding-top: 0px;
    margin-bottom: 0;
    float: left;
}

#blog_header ul {
    width: 605px;
    padding-top: 22px;
    margin-left: 105px;
}

#blog_header li {
    list-style-type: none;
    margin-left: 50px;
    margin-bottom: 0;
    float: right;
}

#blog_header a {
    /* font-size: 16px */
    font-size: 1.33em;
    color: white;
    text-transform: lowercase;
}

#blog_header a:hover { color: #959595;}

/* ----- Main / Box --*/

.main_top {
	background: white url("/static/images/box/top.png") top no-repeat;
	width: 850px;
	margin: 0 auto;
}

.other_leaf_top {
    background: white url("/static/images/box/project_header.png") top no-repeat;
    min-height: 41px; /* plus 44px padding = 85px */
	width: 850px;
	margin: 0 auto;
}

.project_desc {
    font-size: 1.25em;
    margin-bottom: 12px;
    line-height: 150%;
    color: #555555;
    margin-right: 24px;
    margin-left: 24px;
    text-align: center;
}

.screenshot_wrapper {
    text-align: center;
    margin-top: 0px;
    margin-bottom: 12px;
}

.main_bottom {
	background: url("/static/images/box/bottom.png") bottom no-repeat;
}

.main_body {
	padding: 16px 35px 35px;
	/* interior width: 780px */
}

/* ----- Layout --*/

.columnOne, 
.columnTwo {
    width: 370px;
    margin-bottom: 1em;
}

.columnOne { 
    float: left;
    clear: both;
}
.columnTwo { float: right;}

.blog_content_column {
    width: 75%;
    margin-bottom: 1em;
    float: left;
    clear: both;
}

.blog_meta_column {
    width: 22%;
    margin-bottom: 1em;
    float: right;
}

/* ----- Content Licensing ----- */
#attribution p {
    color: #777777;
    font-size: 10px;
}

#attribution a {
    color: #777777;
}
