* {
    /* Universal reset: */
    margin: 0;
    padding: 0;
}

header, footer, article, section, hgroup, nav, figure {
    /* Giving a display value to the HTML5 rendered elements: */
    display: block;
}

body {
    /* Setting the default text color, size, page background and a font stack: */
    font-size: 0.825em;
    color: #fcfcfc;
    background: url(img/topbluefade.gif) repeat-x;
    font-family: Arial, Helvetica, sans-serif;
}

/* Hyperlink Styles: */

a, a:visited {
    color: #3671a1;
    text-decoration: none;
    outline: none;
}

a:hover {
    text-decoration: underline;
    color: #5caae1;
}

a img {
    border: none;
}

/* Headings: */

h1, h2, h3 {
    font-family: "Myriad Pro" , "Helvetica Neue" ,Helvetica,Arial,Sans-Serif;
    text-shadow: 0 1px 1px black;
}

h1 {
    /* The logo text */
    font-size: 3.0em;
    padding: 0.5em 0 0; /*text-transform:uppercase;*/
    color: #000000;
}

hgroup h3 {
    /* The slogan text */ /*font-family:forte,"Myriad Pro","Helvetica Neue",Helvetica,Arial,Sans-Serif;*/
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 0 1em;
    color: #0196e3;
    width: 410px;
    text-align: right;
    position: relative;
    top: -40px;
}

h2 {
    color: #000000;
    font-size: 2.0em;
    font-weight: normal;
    letter-spacing: 0.01em;
}

p {
    line-height: 1.5em;
    padding-bottom: 1em;
}

.line {
    /* The dividing line: */
    height: 1px;
    background-color: #CCCCCC;
    margin: 1em 0;
    overflow: hidden;
}

article .line {
    /* The dividing line inside of the article is darker: */
    background-color: #15242a;
    border-bottom-color: #204656;
    margin: 1.3em 0;
}

.articleBody, #feedback .feedbackBody {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    padding: 10px;
    background-color: #FFF;
    color: #55556D;
}

.articleBody li {
    margin-left: 30px;
}

footer .line {
    margin: 2em 0;
}

nav {
    background: url(img/gradient_light.jpg) repeat-x 50% 50% #f8f8f8;
    padding: 0 5px;
    position: absolute;
    right: 0;
    top: 2.5em;
    border: 1px solid #fcfcfc;
    -moz-box-shadow: 0 1px 1px #333333;
    -webkit-box-shadow: 0 1px 1px #333333;
    box-shadow: 0 1px 1px #333333;
}

/* The clearfix hack to clear the floats: */

.clear:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clear {
        zoom: 1;
        display: block;
    }

/* The navigation styling: */

nav ul li {
    display: inline;
}

nav ul li a, nav ul li a:visited {
    color: #565656;
    display: block;
    float: left;
    font-size: 1.25em;
    font-weight: bold;
    margin: 5px 2px;
    padding: 7px 10px 4px;
    text-shadow: 0 1px 1px white;
    text-transform: uppercase;
}

nav ul li a:hover {
    text-decoration: none;
    background-color: #f0f0f0;
}

nav, article, nav ul li a, figure {
    /* Applying CSS3 rounded corners: */
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

/* Article styles: */

#page {
    width: 960px;
    margin: 0 auto;
    position: relative;
}

article {
    margin: 3em 0;
    padding: 20px;
    color: #55556D;
}

.details {
    background-color: #F9F9F9;
    padding: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

#articles article {
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
}

#articles article .line {
    margin: 5px 0;
}

.highlight {
    background-color: #fff9d8;
    border: 1px solid #ffe8cd;
}

.highlight2 {
    background-color: #F9F9F9;
    border: 1px solid #c0c0c0;
}

.highlight2 .line {
    background-color: #c0c0c0;
}

#nextPage {
    text-align: right;
    color: #fff;
    font-size: 1.4em;
}

.alert {
    background-color: #FFD4D4;
    border: 1px solid #FFCDCD;
}

figure {
    border: 3px solid #142830;
    float: right;
    height: 300px;
    margin-left: 15px;
    overflow: hidden;
    width: 500px;
}

figure:hover {
    -moz-box-shadow: 0 0 2px #4D7788;
    -webkit-box-shadow: 0 0 2px #4D7788;
    box-shadow: 0 0 2px #4D7788;
}

figure img {
    margin-left: -60px;
}

.editor-label {
    width: 300px;
    display: inline-block;
}

.editor-field {
    display: inline-block;
}

.commentInput {
    height:200px;
    width:500px;     
}

/* Footer styling: */

footer {
    margin-bottom: 30px;
    text-align: center;
    font-size: 0.825em;
    background-color: #32302E;
    padding-top: 20px;
    color: #ccc;
    width: 100%;
    clear: both;
}


footer p {
    margin-bottom: -2.5em;
    position: relative;
}

footer a, footer a:visited {
    color: #fff;
    display: block;
    padding: 2px 4px;
    z-index: 100;
    position: relative;
}

footer a:hover {
    color: #fff;
    text-decoration: none;
    background-color: #142830;
}

footer a.by {
    float: left;
}

footer a.up {
    float: right;
}

.posted {
    float: left;
    text-shadow: 0 1px 1px black;
    background-color: #FCFCFC; /*#E3EEFF;*/
    padding: 5px;
    width: 50px;
    height: 50px;
    color: #000;
}

.posted .date {
    font-size: 2.3em;
    text-align: center;
}

.posted .datesuffix {
    vertical-align: super;
    font-size: 15px;
}

.withDate {
    margin-left: 70px;
}

#feedback {
    background-color: #F9F9F9;
    border-top: 1px solid #CCCCCC;
}

#feedback .feedbackContainer {
    width: 940px;
    margin: 0 auto;
    color: #000;
}

#feedback .feedbackBody {
    border: 1px solid #CCCCCC;
}

#feedback h2 {
    color: #000;
    margin: 10px 0;
    text-align: left;
}

#feedback .gravatar {
}

#feedback .editor-label {
    width: 150px;
    display: inline-block;
    color: #000;
    padding-bottom: 10px;
}

#feedback .editor-field {
    display: inline-block;
    padding-bottom: 10px;
    width: 300px;
}

#feedback .editor-field input {
    width: 250px;
}

.input-validation-error {
    background-color: #fef1ec;
    color: #cd0a0a;
}

input.input-validation-error {
    border: 1px solid #cd0a0a;
}

#DiffTable.TABLE {
    empty-cells: show;
    border-collapse: collapse;
}

#DiffTable TD {
    padding-right: 2px;
    font-family: Monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
}
#DiffTable .i {
    color: black;
    background-color: #80FF80;
}
#DiffTable .d {
    color: black;
    background-color: #FF8080;
}

/* CSS3 Zoom / Shadows :) http://www.zurb.com/playground/css3-polaroids */
.polaroid {
    background: #fff;
    display: inline;
    width: auto;
    padding: 5px 5px 5px;
    float: right;
}

.polaroid img {
    display: block;
    margin-bottom: 12px;
    -webkit-transform: rotate(-2deg);
    -moz-transform: rotate(-2deg);
}

/* Scale the images on hover, add transitions for smoothing things out, and ensure the hover appears on top */
.polaroid img:hover {
    -webkit-transform: scale(1.25) rotate(0deg);
    -moz-transform: scale(1.25) rotate(0deg);
    -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.25);
    -moz-box-shadow: 0 3px 6px rgba(0,0,0,.25);
    position: relative;
    z-index: 5;
}

/* Add drop shadows and smooth out the transition (Safari only) */
.polaroid img {
    -webkit-transition: -webkit-transform .15s linear;
}

