/*********************/
/* Bloomster's Style
/* Based on HTML5BoilerPlate
/*********************/

/* Reset CSS */
html, body, div, span, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,del, dfn, em, img, ins, kbd, q, samp,small, strong, sub, sup, var,
b, i,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, figure, footer, header, hgroup, menu, nav, section, menu,time, mark, audio, video {
    margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent; }
article, aside, figure, footer, header, hgroup, nav, section { display:block; }
nav ul { list-style:none; }
blockquote, q { quotes:none; }
blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }
a { margin:0; padding:0; border:0; font-size:100%; vertical-align:baseline; background:transparent; }
ins { background-color:#ff9; color:#000; text-decoration:none; }
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom:1px dotted #000; cursor:help; }
table { border-collapse:collapse; border-spacing:0; }
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
input, select { vertical-align:middle; }

/* Basic styling */
body { font:13px arial,helvetica,"Nimbus Sans L", "Bitstream Vera Sans", sans-serif; *font-size:small; *font:x-small; line-height:1.22; }
table { font-size:inherit; font:100%; }
select, input, textarea { font:99% arial,helvetica,"Nimbus Sans L", "Bitstream Vera Sans", sans-serif; }
code, pre { font-family: "Courier New", monospace, serif; font-size: 1em; }
body, select, input, textarea { color:#333; }
html { -webkit-font-smoothing: antialiased; }
a:active { outline: none; }
a:focus { outline: thin dotted; }
a, a:active, a:visited { color:#444; font-weight:bold; }
a:hover { color:#222; }
ul { margin-left:30px; }
ol { margin-left:30px; list-style-type: decimal; }

small { font-size:85%; }
strong, th { font-weight: bold; }
td, td img { vertical-align:top; }
sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }

pre {
  padding: 15px;
  white-space: pre; /* CSS2 */
  white-space: pre-wrap; /* CSS 2.1 */
  white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
  word-wrap: break-word; /* IE */
}

input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; *vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
input[type=submit]{ cursor: pointer; }
label{ cursor: text; }
button {  width: auto; overflow: visible; }

::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
::selection { background:#FF5E99; color:#fff; text-shadow: none; }

a:link { -webkit-tap-highlight-color: #FF5E99; }

.ie7 img { -ms-interpolation-mode: bicubic; }

.ir { display:block; text-indent:-999px; overflow:hidden; background-repeat: none; }
.hidden { position:absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px); }

.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clearfix { display: inline-block; }
* html .clearfix { height: 1%; } /* Hides from IE-mac \*/
.clearfix { display: block; }

/**************
Let's style this baby !
***************/
body{
    background-color:#52BAFF;
    min-width: 1160px;
    position:relative;
}
header{
    position:relative;
    height:250px;
    width: 1000px;
    margin:auto;
    background: transparent url("img/headerBG.png") bottom left repeat-x;
}
#partners{
    position:absolute;
    top: 40px;
    right:20px;
}
#partners a{
    display:block;
    margin-bottom: 20px;
}
aside{
    float:right;
    margin-top:120px;
    margin-bottom:120px;
    width:375px;
    padding-right:12px;
    line-height: 1.4em;
}
aside h1{
    font-size:32px;
    padding-bottom:24px;
    border-bottom: 2px #333 solid;
}
aside ul{
    list-style-type:none;
    margin-left:0;
}
aside li{
    clear: both;
    position:relative;
    padding: 24px 0 8px 24px;
    border-bottom: 2px #333 solid;
}
aside li.last{ border:none;}
aside h2{
    font-size: 22px;
    margin-bottom: 12px;
}
aside a>img{
    float:left;
    margin-right: 24px;
    width:90px;
    height: 90px;
    background-color:#fff;
    border:1px #333 solid;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
aside a{
    display:block;
    text-align:right;
    text-decoration:none;
}
aside li p{
    padding-left:116px;
    margin-bottom: 1em;
}
#main{
    width:960px;
    margin:120px auto;
}
section{
    width: 600px;
    line-height:1.4em;
}
section h1{
    font-size: 32px;
    margin: 1.5em 0 1em 0;
}
section p{
    font-size: 18px;
    line-height: 1.5em;
}
section img{
    padding: 5px;
    background-color: #fff;
    border: 1px #666 solid;
    display:block;
    margin-bottom: 10px;
}
form{
    width: 600px;
    position:relative;
    margin:20px 10px 50px 0;
}
label{
    display:block;
    margin: 1em 0 0.3em 0;
    font-weight: bold;
}
#nom,#web,#email, textarea{
    border:1px #333 solid;
    -moz-border-radius: 2px;
    border-radius:2px;
    font-size:16px;
}
#nom:focus,#email:focus,#web:focus,textarea:focus
{
    -moz-box-shadow: 0 0 8px rgba(0, 0, 236, 0.5);
    box-shadow: 0 0 8px rgba(82, 168, 236, 0.5);
}
#nom,#web,#email{
    height: 30px;
    width:312px;
    padding-left:10px;
}
textarea{
    width:312px;
    padding:5px;
}
#submit{
    margin-top: 2em;
    width: 322px;
    height: 44px;
    background: transparent url("/imagineyourgift/img/submitConcoursSprite.png") top center no-repeat;
    border:none;
}
#submit:hover{
    background-position: 0 -46px;
}
#submit.invalid{
    background-position: 0 -92px;
    cursor:default;
}
.error{
    position:absolute;
    top:20px;
    left:355px;
    width:200px;
    height:392px;
    background-color: #fbe3e4;
    padding: 0.8em;
    border: 1px solid #333;
    -moz-border-radius: 2px;
    border-radius: 2px;
    color: #8a1f11;
}
.error p{
    margin-bottom: 1em;
    font-weight: bold;
}
.error li{ margin-bottom: 1em;}
footer{
    clear:both;
    text-align: center;
    background-color:#FC575E;
    color: white;
    padding: 1em;
    font-weight: bold;
    border-top: 2px #333 solid;
}
/***************
Success message design
***************/

#success #content{
    width:650px;
    margin:auto;
    padding:50px 10px;
}
#success h1{
    font-size:4em;
    color:#fff;
    text-align:center;
}
#success h2{
    font-size:1.8em;
    color:#fff;
    text-align:center;
    margin-bottom: 60px;
}
#success p{
    margin:80px 80px 100px 80px;
    font-size:14px;
}
#success #foot{
    border-top: 1px #52BAFF solid;
    padding:10px 0 0 0;
    margin:10px 30px;
    font-size:0.85em;
    text-align:center;
}