html, body {
    background: #dddddd;
    color: #333333;
    font-family: Arial,Helvetica,"Helvetica Neue",sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.6em;
    text-shadow: 0 1px 0 #eeeeee;
}

#pyroContestContainer {
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
    margin: 0 auto 48px;
    width: 816px;
}

#pyroContestContainer .content {
    padding: 8px;
}

#pyroContestContainer .header {
    background: linear-gradient(#071f3b, #133155);
    border: 2px solid #ffffff;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.55);
    color: #ffffff;
    display: inline-block;
    margin: 24px 0;
    padding: 24px;
    text-shadow: 0 1px 0 #000000;
    width: 800px;
}

#pyroContestContainer .header:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    line-height: 0;
    visibility: hidden;
}

#pyroContestContainer .header .presents {
    display: block;
    font-family: serif;
    font-size: 36px;
    font-style: italic;
    line-height: 1.2em;
    text-align: left;
}

#pyroContestContainer .header .contestName {
    display: block;
    font-size: 36px;
    line-height: 1.2em;
    font-weight: bold;
    text-align: right;                
}

#pyroContestContainer .header .endDate {
    display: block;
    font-size: 20px;
    font-weight: bold;
    text-align: right;
}

#pyroContestContainer a, #pyroContestContainer a:visited {
    color: #325ea1;
}

#pyroContestContainer a:hover, #pyroContestContainer a:active {
    color: #a13232;
}

#pyroContestContainer h1 {
    border-bottom: 1px solid #4e5e86;
    color: #4e5e86;
    margin: 12px 4px 0;
    padding: 8px;
}

/* REDO */
#pyroContestContainer h1 {
    background: #999999;
    background: linear-gradient(#666666, #999999);
    border: 0 none;
    color: #ffffff;
    display: block;
    font-family: serif;
    font-size: 24px;
    font-style: italic;
    margin: 8px 0 0;
    padding: 10px 12px;
    text-shadow: 0 1px 0 #000000;
}

#pyroContestContainer p {
    display: block;
    margin: 0 4px;
    padding: 8px;
}

#pyroContestContainer ul {
    margin: 0;
}

#pyroContestContainer li.footnote {
    list-style-type: none;
    font-style: italic;
}

#pyroContestContainer .officialRules {
    display: block;
    margin: 16px 0 24px;
    text-align: center;
}

#pyroContestContainer .officialRules a {
    background: #8595bd;
    /*background: -moz-linear-gradient(center top , #4e5e86, #8595bd) repeat scroll 0 0 transparent;
    background: -o-linear-gradient(#4E5E86, #8595bd);
    background: -webkit-linear-gradient(#4E5E86, #8595bd);*/
    background: linear-gradient(#4e5e86, #8595bd);
    border: 1px solid #4d5d85;
    border-radius: 2px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35);
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    margin: 0 auto;
    padding: 6px 12px;
    text-decoration: none;
    text-shadow: 0 1px 0 #000000;
}

#pyroContestContainer .contestSubmit {
    background: #cccccc;
    border: 1px solid #aaaaaa;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35);
    font-size: 1.4em;
    font-weight: bold;
    line-height: 1.4em;
    margin: 0 auto;
    padding: 12px 0;
    text-align: center;
}

.leadin {
    display: block;
    height: 134px;
    margin: 0 auto;
    overflow: visible;
    width: 800px;
}

.leadin .image {
    display: block;
    float: left;
    height: 134px;
    width: 134px;
}

.leadin .image img {
    position: relative;
    top: 16px;
}

.leadin .text {
    float: left;
    font-family: serif;
    font-size: 38px;
    font-style: italic;
    margin-top: 90px;
    text-align: left;
    vertical-align: bottom;
}

#pyroContestContainer .display {
    background: linear-gradient(#071f3b, #133155);
    background: url("http://www.pyroelectro.com/wp-content/themes/pyroelectro_v2/images/povContestHeader.jpg") center center no-repeat #000000;
    color: #ffffff;
    margin: 0;
    padding: 24px 0;
    text-shadow: 0 1px 0 #000000;
    width: 800px;
}

#pyroContestContainer .display .contestName {
    background: rgba(0, 0, 0, 0.65);
    display: block;
    font-size: 36px;
    margin-bottom: 140px;
    padding: 16px 24px;
    font-weight: bold;
    text-align: right;
    text-shadow: 1px 1px 2px #000000;
}

#pyroContestContainer .display .endDate {
    background: rgba(0, 0, 0, 0.65);
    display: block;
    font-size: 20px;
    font-weight: bold;
    padding: 8px 24px;
    text-align: right;
    text-shadow: 1px 1px 2px #000000;
}

#pyroContestContainer ul.tableList {
    display: table;
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}

#pyroContestContainer ul.tableList li {
    display: table-row;
}

#pyroContestContainer ul.tableList li div {
    display: table-cell;
    padding: 8px;
    vertical-align: middle;
}

#pyroContestContainer ul.tableList .place {
    color: #4e5e86;
    font-size: 24px;
    font-variant: small-caps;
    font-weight: bold;
    width: 118px;
}

#pyroContestContainer ul.tableList .image {
    width: 142px;
}

#pyroContestContainer ul.tableList .image img {
    border: 1px solid #325ea1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    height: 128px;
    width: 128px;
}

#pyroContestContainer ul.tableList .description {
    font-size: 18px;
    font-weight: bold;
}

#pyroContestContainer .images {
    display: table;
    margin: 0 auto;
}

#pyroContestContainer .images .image {
    display: table-cell;
    padding: 6px;
}

#pyroContestContainer .images .arrow {
    display: table-cell;
    font-size: 2.6em;
    font-weight: bold;
    padding: 10px;
    vertical-align: middle;
}

#pyroContestContainer .images .image img {
    border: 2px solid #ffffff;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.45);
}
