/*
 Layout base downloaded from http://www.code-sucks.com
*/

/* * { padding: 0; margin: 0; } */

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  background-color: #2c4168;
  margin: 0px;
}

a:link { color: #66B; }
a:visited { color: #99E; }
a:hover { color: #66B; background-color: #DEF; }
a:active { color: #66F; }

#wrapper { 
  margin: 0 auto;
  width: 805px;
  padding: 3px;
  background-image: url('/media/static/yupyou-header.png');
  background-repeat: no-repeat;
  background-position: 5px 5px;
  background-color: white;
}

#header {
  color: white;
  height: 125px;
  padding: 25px 0px 0px 0px;
/*  border: 1px solid #ccc; */
  margin: 0px 0px 0px 200px;
/*  background: #BD9C8C; */
}


.box {
  width: 320px;
  float: right;
  margin: 0px;
}

.box img {
  margin-top: 5px;
  margin-left: 10px;
}
.order_box {
  border-top: 1px solid gray;
  border-bottom: 1px solid gray;
  padding: 0px 5px 0px 10px;
}
.thumbnail {
  text-align: center;
}
/*
div {
  border: 1px solid gray;
} */

img {
  border: none;
}

.gallery {
  width: 600px;
  margin-top: 10px;
}
.gallery .image-box {
  float: left;
  display: inline;
  width: 120px;
  height: 120px;
  margin: 0px 10px 0px 10px;
  text-align: center;
}
div.spacer {
  clear: both;
}

.hide {
  display: none;
}

.extra-info-open {
  border: 1px dotted gray;
  font-size: 90%;
}
.extra-info-open p {
  margin: 6px 3px 0px 3px;
}

.product {
  width: 380px;
  text-align: right;
  margin-bottom: 20px;
}
.product img {
  /* vertical-align: top; */
  margin-left: 2px;
}
.product a>img {
  border: 3px solid;
}

.product h4 {
  text-align: left;
  background-color: #eee;
}

.positive {
  background-color: #EFE;
}
.preferred {
  font-weight: bold;
}
.errorlist {
  background-color: #FFC;
}
.legal {
/*  font-size: smaller; */
}

.form th {
  text-align: left;
  vertical-align: top;
}

.form td {
 vertical-align: top;
}
.form img {
  border: 5px solid;
}

.action {
  text-align: right;
}

p { }
h1 { margin: 0px; margin-top: 5px;}
h2 { margin: 0px; margin-top: 5px;}
h3 { margin: 0px; margin-top: 10px;}
h4 {
  margin: 0px;
  margin-top: 10px;
  font-style: italic;
}
ul {
  margin: 0px 0px 5px 0px;
  padding-left: 20px;
 }

.price {
  font-size: 200%;
}

#navigation a {
  font-size: 125%;
  margin-left: 25px;
}

#header a {
  color: white;
  text-decoration: none;
}

#header h1 { font-size: 250%; margin-top: 23px;}
#header h2 { font-size: 125%; margin-left: 10px;}

#languages {
  float: right;
  margin: 0px;
  padding: 0px;
}

#languages a {
  font-size: 100%;
  margin: 0px;
}

#languages input {
  margin: 5px 3px 5px 3px;
}


#navigation {
  color: #333;
  padding: 5px;
  margin: 0px 25px 0px 200px;
  background: #eee;
}

#content { 
  color: #333;
  margin: 0px 0px 0px 0px;
  padding: 0px 10px 0px 10px;
/*  background-color: white; */
}

#footer img {
  vertical-align: text-top;
}

#footer { 
  color: #333;
  background: #eee;
  font-size: smaller;
  margin: 0px;
  padding: 5px;
  text-align: center;
  clear: both;
}

.vote-box {
  border: 1px solid gray;
  width: 420px;
  margin-top: 10px;
}
.vote-box p {
  padding: 0px;
  margin: 0px;
}
.vote-box.your-vote {
  background-color: #DEF;
  border: 1px solid black;
}

.vote-box-text {
  min-height: 90px;
}

.vote-box-photo {
  float: left;
  height: 90px;
  width: 90px;
  padding: 0;
  text-align: center;
  margin-right: 5px;
}
.vote-box-right {
  float: right;
  padding: 5px;
  text-align: right;
}
.vote-box .score {
  font-size: 48px;
}
.vote-box .title {
  font-weight: bold;
}
.vote-box .footer {
  text-align: center;
  background-color: #EEE;
}
.note {
  font-size: 0.8em;
}
.vote-box.spam {
    color: #999;
    background-color: #ddd;
}

.countdown {
  font-size: 18px;
}
