/***************************/
/* The Saddest Thing       */
/* (c) 2006 Word Front LLC */
/***************************/

/* General */

html,body
{
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
img
{
  margin: 0;
  padding: 0;
}

h2
{
  padding: .25em 0;
  color: #39C;
  font-size: 1.75em;
}

h3
{
  padding: .5em 0 .25em;
  color: #06A;
  font-size: 1.4em;
}

img
{
  border: none;
}

a
{
  text-decoration: none;
  font-weight: bold;
}

a:hover
{
  text-decoration: underline;
}

.center
{
  text-align: center;
}

.notice
{
  width: 37em;
  margin: 1em 0;
  padding: .25em .5em;
  color: #600;
  background: #FFC;
  border: #600 1px solid;
}

ul
{
  margin: .5em 0 .5em .5em;
  padding: 0;
}

li
{
  position: relative;
  list-style: none;
  background: url(../images/bullet.gif) no-repeat 0 .5em;
  padding: .2em 0 .2em 1.25em;
}

/* Body */

body
{
  background: #999;
  text-align: center;
  font: 62.5%/175% 'lucida grande',lucida,tahoma,arial,helvetica,sans-serif;
}

#banner
{
  margin:1em auto;
}

#wrap
{
  position: relative;
  width: 750px;
  margin: 1em auto;
  background: url(../images/side.jpg) repeat-y;
  text-align: left;
}

#header
{
  margin: 0 auto;
  padding: 0;
  width: 750px;
  height: 112px;
  background: #999 url(../images/top.jpg) no-repeat;
  text-indent: -10000px;
}

#nav
{
  position: relative;
  top: -1.6em;
  margin: 0 0 0 2em;
  font-size: 1.1em;
  line-height: 1em;
}

#nav a
{
  color: #06C;
  padding: 0 1em;
}

#nav a:hover
{
  color: #09F;
}

#content
{
  width: 710px;
  margin: 0 auto;
  font-size: 1.3em;
}

#logo
{
  text-align: center;
}

#about
{
  width: 28em;
}

p.intro
{
  width: 37em;
}

#colWrap
{
  display: block;
  width: 100%;
  clear: both;
}

#sb
{
  width: 170px;
  margin: 0 0 25px 530px;
}

#sbHeader
{
  padding: .2em 0;
  background: #9C9 url(../images/diag.gif);
  color: #060;
  border-top: 3px solid #6A6;
  font-weight: bold;
  text-align: center;
}

#sbBody
{
  padding: .25em;
  background: #CFC;
  color: #063;
  border-right: 1px solid #AFA;
  border-bottom: 1px solid #AFA;
  border-left: 1px solid #AFA;
  font-size: x-small;
}

#sbBody h4
{
  margin: .5em 0;
  font-weight: bold;
  font-size: 1em;
}

#sbBody p
{
  margin: .5em 0;
}

/* Forms - General */

.row
{
  clear: both;
  padding: .25em;
}

input,
textarea
{
  padding: .2em;
  background: #DEF;
  color: #009;
  border: #00C 1px solid;
}

input
{
  font-size: x-small;
}

textarea
{
  font-size: small;
}
input:hover,
textarea:hover
{
  background: #FFF;
  border-style: dashed;
}

input:focus,
textarea:focus
{
  background: #FFC;
  border-style: solid;
}

input.button
{
  padding: .25em 1em;
  background: #DD6 url(../images/diag.gif);
  border: 2px outset;
  font-weight: bold;
}

p.details
{
  float: left;
  margin: 0;
  padding: .25em 0;
  font-size: xx-small;
}

/* Forms - Specific */

#formLogin,
#formSignup,
#formUpload,
#formEdit,
#formContact,
#formComment
{
  background: #EEE;
}

#formLogin
{
  width: 22em;
}

#formSignup
{
  float: left;
  width: 400px;
}

#formUpload
{
  float: left;
  width: 510px;
}

#formEdit
{
  width: 510px;
}

#formContact
{
  width: 450px;
}

#formComment
{
  width: 450px;
  margin: 0 auto;
}

#formLogin fieldset,
#formSignup fieldset,
#formUpload fieldset,
#formEdit fieldset,
#formContact fieldset,
#formComment fieldset
{
  margin: 0 0 1em;
  padding: 0;
  border: #000 1px solid;
}

#formLogin h3,
#formSignup h3,
#formUpload h3,
#formEdit h3,
#formContact h3,
#formComment h3
{
  width: 100%;
  padding: .25em 0;
  background: #CCF url(../images/diag.gif);
  color: #06C;
  border-bottom: #000 1px solid;
  font-size: small;
  text-align: center;
}

#formLogin label,
#formSignup label,
#formUpload label,
#formEdit label,
#formContact label,
#formComment label
{
  float: left;
  width: 25%;
  margin: 0 .75em 0 0;
  color: #009;
  font-weight: bold;
  text-align: right;
  font-size: x-small;
}

#formSignup textarea
{
  font-size: x-small;
}

/* Ajax */

#displayNameStatus,
#thingNameStatus
{
  margin: .5em;
  padding: 5px 5px 5px 25px;
  border-style: solid;
  border-width: 1px;
}

#displayNameStatus.error,
#thingNameStatus.error
{
  border-color: #C00;
  background: #FFC url(../images/warning.gif) no-repeat top center;
}

#displayNameStatus.success,
#thingNameStatus.success
{
  border-color: #0C0;
  background: #FFC url(../images/thumbsup.gif) no-repeat top center;
}

/* Voting */

#formVote
{
  width: 480px;
  margin: 0 auto;
}

#formVote table
{
  width: 475px;
  margin: 0 auto;
  background: #EEE;
  border: #000 1px solid;
  border-collapse: collapse;
  text-align: center;
}

#formVote label
{
  font-size: xx-small;
  font-weight: bold;
}

#formVote input
{
  border: 0;
  background: transparent;
}

#formVote th
{
  padding: .25em 0;
  background: #CCF url(../images/diag.gif);
  color: #06C;
  border-bottom: #000 1px solid;
}

#formVote td
{
  padding: .25em 0;
}

#voteSwitch td
{
  width: 51px;
  height: 30px;
}

#voteHappy
{
  background: #FF9;
}

#voteCheerful
{
  background: #CF9;
}

#voteGood
{
  background: #8E6;
}

#voteOkay
{
  background: #8D5;
}

#voteMeh
{
  background: #3C0;
}

#voteUpset
{
  background: #3D6;
}

#voteUnhappy
{
  background: #0CA;
}

#voteDepressed
{
  background: #09C;
}

#voteSad
{
  background: #06F;
}

/* Home/Vote Page */

/* Previous Thing */

#prevThing
{
  width: 150px;
  margin: 0 25px 0 0;
  padding: 0 0 2em;
  float: left;
  background: #DDD;
  border: #000 1px solid;
  text-align: center;
}

#prevThing h3
{
  padding: .25em 0;
  background: #CCF url(../images/diag.gif);
  color: #06C;
  border-bottom: #000 1px solid;
  font-size: small;
}

#percentSad
{
  margin: 0 .5em;
  padding: 2em .25em;
  background: #FFF;
  color: #009;
  border: #CCC 1px solid;
  font-weight: bold;
  font-size: 14px;
}

#percentSad span.percentage
{
  font-size: 26px;
}

#prevVoteCount
{
  font-size: xx-small;
}

#prevDetails
{

}

#prevName
{
  padding: 0 .25em;
  font-weight: bold;
}

#prevDisplayName a
{
  color: #000;
  font-style: italic;
  font-weight: normal;
}

#prevThumb
{
  padding: 1em 0;
}

/* Sad Thing */

#sadThing
{
  width: 520px;
  text-align: center;
}

#thing
{
  position: relative;
  margin: 1em auto;
  padding: 15px 0;
  background: #EEF;
}

#thing h2
{
  padding: .5em 1em 0;
  line-height: 1.25em;
  font-size: 1.75em;
}

#thing h3
{
  padding: .5em 1em;
  font-size: 1.1em;
  color: #000;
}

#thing h3 a
{
  color: #000;
}

#tImage
{
  width: 477px;
  margin: 0 auto;
}

#edit
{
  position: absolute;
  bottom: 5px;
  right: 5px;
}

#tImage img
{
  border: #000 1px solid;
}

#tText
{
  width: 400px;
  margin: 1em auto;
  text-align: left;
  font-family: verdana,arial,helvetica,sans-serif;
}

#tTags
{
  width: 480px;
  margin: 0 auto;
  padding: .5em 1em;
  border-top: #CCC 1px solid;
  text-align: left;
}

#tTags p
{
  margin-left: 4em;
  text-indent: -3em;
}

#tTags a
{
  color: #000;
  font-weight: normal;
}

#tTags a:hover
{
  color: #00F;
}

#tInfo
{
  margin: 1em 0;
  padding: .5em 0;
  border-top: #CCC 1px solid;
}

#tInfo a
{
  font-weight: normal;
}

#socialLinks a
{
  padding: 0 .25em;
}

/* Comments */

#comments
{

}

.comment
{
  width: 28em;
  margin: 1em auto;
  padding: 1em;
  border-width: 2px;
  border-style: solid;
}

.cNorm
{
  background: #EFE;
  border-color: #FFF;
}

.cSelf
{
  background: #FFC;
  border-color: #FFF;
}

.cLogged
{
  background: #EFE;
  border-color: #666;
}

.cInfo
{
  padding: .25em 0;
  border-bottom: #CCC 1px solid;
  text-align: left;
}

.cNum
{
  display: inline;
  color: #000;
}

.cUser
{
  display: inline;
}

.cUser a
{
  color: #666;
}

.cDate
{
  display: inline;
  color: #999;
}

.cText
{
  padding: .5em 0;
  text-align: justify;
}

#addComment
{
  color: #00F;
  font-weight: bold;
}

#addComment:hover
{
  cursor: pointer;
  text-decoration: underline;
}

.commentedRow
{
  margin: 1em 0;
  padding: 1em 0;
  clear: both;
}

.commentedOn
{
  position: relative;
  left: 1.5em;
  float: left;
  width: 125px;
  margin-right: 3em;
}

.commentedOn p
{
  text-align: center;
}

.cRow
{
  float: left;
  width: 30em;
}

/* Saddest Things */

h3#saddestPercent,
h3#saddestVotes,
h3#saddestScore
{
  padding: .5em 0;
}

table.saddestThings
{
  width: 80%;
  margin: 1em 0;
  border-collapse: collapse;
  border: #CCC 1px solid;
}

table.saddestThings tr
{

}

table.saddestThings th
{
  white-space: nowrap;
  background: #CCF url(../images/diag.gif);
  color: #06C;
  font-weight: bold;
  font-size: small;
}

table.saddestThings th,
table.saddestThings td
{
  padding: .25em .5em;
  border: #CCC 1px solid;
}

.color1
{
  background: #EEF;
}

.color2
{
  background: #DFD;
}

#scoreExplained
{
  margin: 1em 0;
}

/* Users */

ul#usersSadThings
{
  margin: 1em 0;
  min-height: 100%;
  overflow: hidden;
  clear: both;
  text-align: center;
}

ul#usersSadThings a
{
  font-weight: normal;
  font-size: small;
}

ul#usersSadThings li
{
  width: 125px;
  max-height: 100px;
  overflow: hidden;
  display: inline;
  float: left;
  margin: 0 15px 15px 0;
  padding: 0;
  background: none;
  list-style-type: none;
}

span.textOnly
{
  display: block;
  height: 100px;
  padding: 25px 0 0 0;
  background: #DDF;
}

/* Editing */

#deleteTags
{
  list-style: none;
  margin: 1em 0;
  padding: 1em 0;
}

#deleteTags li
{
  float: left;
  width: 30%;
}

/* Tags */

#tagCloud
{
  width: 32em;
  margin: 1em 1em 2em;
  line-height: 150%;
}

.cloudTag a
{
  padding: 0 .5em;
  font-weight: normal;
  font-size: larger;
}

/* Sub Text */

#subTexts
{
  margin: 2em auto 1em;
  padding: 1em 0;
  min-height: 100%;
  overflow: hidden;
  border-top: #AAA 1px solid;
  clear: both;
  text-align: center;
}

.subText
{
  width: 29%;
  float: left;
  margin: 1.5%;
  border: #000 1px solid;
  text-align: left;
}

html>body .subText
{
  margin: 2%; /* Fix the margin for real browsers */
}

.subText h3
{
  width: 100%;
  padding: .25em 0;
  background-image: url(../images/diag.gif);
  color: #06C;
  border-bottom: #000 1px solid;
  font-size: small;
  text-align: center;
}

#subAdd h3
{
  background-color: #DFD;
}

#subExplore h3
{
  background-color: #FDD;
}

#subSearch h3
{
  background-color: #FC9;
}

.subText p
{
  padding: .5em;
}

/* Footer */

#footer
{
  width: 750px;
  height: 31px;
  margin: 2em auto 0;
  padding: 3em 0 2em;
  clear: both;
  color: #000;
  background: #999 url(../images/bottom.jpg) no-repeat;
  text-align: center;
}

#footer a
{
  color: #FFF;
}

#badges a
{
  margin: 0 2em;
}
