/* 
    Document   : style
    Created on : Oct 6, 2011, 10:29:57 PM
    Author     : garretbr
    Description:
*/

/* Makeshift CSS Reset */
* {
    margin: 0;
    padding: 0;
}

root { 
    display: block;
    /* Makeshift CSS Reset */
    margin: 0;
    padding: 0;
}

label {
    width: 75px;
    float: left;
    text-align: right;
    padding-right: 10px;
}

div.field_container {
    text-align: left;
    vertical-align: middle;
}

div.button_container {
    text-align: left;
    vertical-align: middle;
    padding-left: 85px;
}

/*------------------------------
=BASIC SETUP
------------------------------*/

/* Tell the browser to render HTML 5 elements as block */
header, footer, section, aside, nav, article {
    display: block;
}

body {
    margin: 0 auto;
    padding: 22px 0;
    width: 940px;
    font: 13px/22px Helvetica, Arial, sans-serif;
    background: #F0F0F0;
}

h1, h2 {
    font-size: 28px;
    line-height: 44px;
    padding: 22px 0;
}

h3 {
    font-size: 18px;
    line-height: 22px;
    padding: 11px 0;
}

p {
    padding-bottom: 22px;
}



/*------------------------------
=NAVIGATION
------------------------------*/

nav {
    position: absolute;
    left: 0;
    width: 100%;
    background: #222;
}

nav ul {
    margin: 0 auto;
    width: 940px;
    list-style: none;
}

nav ul li {
    float: left;
}

nav ul li a {
    display: block;
    margin-right: 20px;
    width: 140px;
    font-size: 14px;
    line-height: 44px;
    text-align: center;
    text-decoration: none;
    color: #777;
}

nav ul li a:hover {
    color: #fff;
}

nav ul li.selected a {
    color: #fff;
}

nav ul li.subscribe a {
    margin-left: 22px;
    padding-left: 33px;
    text-align: left;
    background: url("images/rss.png") left center no-repeat;
}



/*------------------------------
=INTRODUCTION
------------------------------*/

#intro {
    position: relative;
    margin-top: 66px;
    padding: 44px;
    background: #003F87;
    height: 200px;

    /* Background-size not implemented yet */
    -webkit-background-size: 100%;
    -o-background-size: 100%;
    -khtml-background-size: 100%;


    /* Border-radius not implemented yet */
    -moz-border-radius: 22px;
    -webkit-border-radius: 22px;
}

#intro h2, #intro p {
    position: relative;
    z-index: 9999;
}

#intro h2 {
    padding: 0 0 22px 0;
    font-weight: normal;
    color: #fff;
}

#intro p {
    padding: 0;
    color: #d9f499;
}

#intro slide .slide_content {
    width: 500px;
}

#intro slide img {
    position: absolute;
    top: 0;
    right: 0;   
    vertical-align: middle;
    width: 200px;
    height: 100%;

    /* Border-radius not implemented yet */
    -moz-border-radius: 22px;
    -webkit-border-radius: 22px;
}

#slide slide { position:absolute; display: none; width: 852px;}
#slide slide.active {display: inline;}

/*------------------------------
=CONTENT AREA AND SIDEBAR LAYOUT
------------------------------*/

#content {
    display: table;
}

#mainContent {
    display: table-cell;
    width: 620px;
    padding-right: 22px;
    padding-bottom: 1em;
}

#mainContent h2 a, #mainContent h2 a:visited, #mainContent h2 a:hover {
    text-decoration: none;
    color: #000;
    line-height: 0%;
}

#mainContent h2 {
    line-height: 0%;
}

#mainContent ul {
    padding-left: 1em;
    margin-left: 1em;
    list-style-type: none;
}

#mainContent ul li:before, footer div #popular ul li:before {
    content: "\266D \0020";
}

#mainContent article a {
    color: #777;
}

#mainContent article a:hover {
    text-decoration: none;
    color: #000;
}

aside {
    display: table-cell;
    width: 300px;
    /* background: url("images/sidebar_background.png") top left; */
}



/*------------------------------
=BLOG POST
------------------------------*/
.blogPost header p, .blogPost header p a, .blogPost p accent {
    font-size: 14px;
    font-style: italic;
    color: #777;
}

.blogPost header p a:hover {
    text-decoration: none;
    color: #000;
}

.blogPost div {
    /* Column-count not implemented yet */
    -moz-column-count: 2;
    -webkit-column-count: 2;

    /* Column-gap not implemented yet */
    -moz-column-gap: 22px;
    -webkit-column-gap: 22px;
}

.blogPost img {
    margin: 22px 0;
    -webkit-box-shadow: 3px 3px 7px #777;
}

#page_links {
    border-top: 1px solid #d7d7d7;
    font-size: 16px;
    width: 100%;
    text-align: center;
    color: #777;
    padding: 10px 0px 10px 0px;
}

#page_links a {
    color: #777;
}

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



/*------------------------------
=COMMENTS
------------------------------*/

#comments {
    margin-top: 21px;
    padding-top: 22px;
    border-top: 1px solid #d7d7d7;
}

#comments article {
    display: table;
    padding: 22px;
}

#comments article:nth-child(odd) {
    padding: 21px;
    background: #E3E3E3;
    border: 1px solid #d7d7d7;
    -moz-border-radius: 11px;
    -webkit-border-radius: 11px;
}

#comments article header {
    display: table-cell;
    width: 220px;
    padding-right: 22px;
}

#comments article header a {
    display: block;
    font-weight: bold;
    color: #000;
}

#comments article header a:hover {
    text-decoration: none;
}

#comments article p {
    padding: 0;
}

#disqus_thread a, #disqus_thread a:visited {
    color: #000 !important;
}

#disqus_thread a:hover, #disqus-subscribe li a:hover {
    text-decoration: none !important;
}




/*------------------------------
=COMMENT FORM
------------------------------*/

form {
    margin-top: 21px;
    padding-top: 22px;
    border-top: 1px solid #d7d7d7;
}

form p {
    display: table;
    margin-bottom: 22px;
    padding: 0 22px;
}
/*
form label {
    display: table-cell;
    width: 75px;
    padding-right: 10px;
    text-align: left;
    font-weight: bold;
    vertical-align: top;
}

form input[type="text"], form input[type="email"], form input[type="url"] {
    display: table-cell;
    width: 100px;
    height: 20px;
    border: 1px solid #d7d7d7;
}

form textarea {
    width: 300px;
    height: 100px;
    border: 1px solid #d7d7d7;
}

form input[type="submit"] {
    margin-left: 85px;
}
*/


/*------------------------------
=SIDEBAR
------------------------------*/
aside section {
    margin: 22px 0 0 22px;
    padding: 11px 22px;
    /* background: url("images/sidebar_section_background.png") repeat-x; */

    /* Border-radius not implemented yet */
    -moz-border-radius: 11px;
    -webkit-border-radius: 11px;
}

aside section ul {
    margin: 0 0 0 22px;
    list-style: none;
}

aside section ul li a {
    display: block;
    text-decoration: none;
    color: #000;
}

aside section ul li a:hover {
    text-decoration: underline;
}



/*------------------------------
=FOOTER
------------------------------*/
footer {
    position: absolute;
    left: 0;
    width: 100%;
    background: #222;
}

footer div {
    display: table;
    margin: 0 auto;
    padding: 44px 0;
    width: 940px;
    color: #777;
}

footer div section {
    display: table-cell;
    width: 300px;
}

footer div #about, footer div #popular {
    padding-right: 20px;
}

footer div #social ul {
    list-style-type: none;
}

footer div #social img {
    width: 15px;
    height: 15px;
    padding-right: 10px;
    vertical-align: middle;
    
}

footer h3 {
    color: #FFF;
}

footer a {
    color: #999;
}

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

footer ul {
    margin-left: 1em;
    list-style: none;
    color: #565656;
}

footer ul li a {
    display: inline;
}
