/***************Reset by eric meyer***************/
* {
    margin: 0;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
        margin: 0;
        padding: 0;
        border: 0;
        outline: 0;
        font-size: 100%;
        vertical-align: baseline;
        background: transparent;
}
body {
        line-height: 2;
}
ul {
        list-style: none;
}
blockquote, q {
        quotes: none;
}

h1, h2, h3, h4, p
{
font-size: 100%;
font-weight: inherit;
}
/* remember to define focus styles! */
:focus {
        outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
        text-decoration: none;
}
del {
        text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
        border-collapse: collapse;
        border-spacing: 0;
}

a
{
color:  #c8211a;
text-decoration: none;
}

a:hover
{
background: #c8211a;
color: #fff;
}

html, body
{
    height: 100%;
}
/**************end of reset by eric meyer*****************/
/***Basic classes***/
.left
{
float: left;
clear: left;
}

.right
{
float: right;
clear: right;
}

.center
{
text-align: center;
}
.hidden
{
display: none !important;
}

.errorlist
{
color:  #c8211a;
}
/***/

/***Basic layout***/
body
{
height: 100%;
font-family: Verdana, Helvetica, sans-serif;
font-size: 80%;
background: #141c37 url(/static/img/bckg-blue2.png);
color: #282834;
}


#container
{
width: 1000px;
height: 100%;
margin: 0px auto;
display: block;
background: #fff;
}

#wrapper
{
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -2em; /* the bottom margin is the negative value of the footer's height */
}

#clearfooter{
clear: both;
float: left;
}

#footer
{
width: 100%;
height: 2em;
display: block;
text-align: center;
background: #b5b0a9;
color: #ded8d0;
clear: both;
}

#footer a
{
color: #fff;
}

#footer a:hover
{
background: #ded8d0;
color: #b5b0a9;
}

/**basic elements styling**/
/*Header*/
#header
{
background: url(/static/img/header.jpg);
width: 100%;
height: 100px;
float: left;
padding: 10px 0 0 0;
}

#header h1
{
margin: 0;
display: block;
float: left;
}

#header a.logo
{
float: left;
width: 520px;
height: 100px;
}

#header a.logo:hover
{
background: transparent;
}
#nav
{
display: block;
float: right;
clear: right;
margin: 20px 15px 0 0;
}	

#nav li
{
display: block;
margin: 0 5px 0 0;
float: left;
}

#nav a
{
background: url(/static/img/nav.png) no-repeat;
color: #fff;
display: block;
float: left;
height: 23px;
}

#nav .home
{
background-position: 0 0;
width: 23px;
}

#nav .home:hover
{
background-position: 0 -27px;
}

#nav .all
{
background-position: -27px 0;
width: 158px;
}

#nav .all:hover
{
background-position: -27px -27px;
}

#nav .add
{
background-position: -189px 0;
width: 64px;
}

#nav .add:hover
{
background-position: -189px -27px;
}

#nav .your
{
background-position: -257px 0;
width: 129px;
}

#nav .your:hover
{
background-position: -257px -27px;
}

#nav .settings
{
background-position: -391px 0;
width: 23px;
}

#nav .settings:hover
{
background-position: -391px -27px;
}

#nav .rss
{
background-position: -419px 0;
width: 23px;
}

#nav .rss:hover
{
background-position: -419px -27px;
}

#login-info
{
display: block;
float: right;
clear: right;
line-height: 150%;
padding: 5px 0;
font-size:80%;
color: #ded8d0;
margin: 0 20px 0 0;
text-align: center;
}

#login-info a
{
color: #fff;
}


/*Content*/
#content
{
width: 980px; /*sums up to 1000*/
display: inline;
float: left;
background: #fff;
padding: 10px 10px 30px 10px	;
}

.meta-info
{
display: block;
float: left;
margin: 5px 0;
padding: 0 5px;
font-size: 85%;
color: #6e685f;
width: 100%;
}

.meta-info li
{
display: block;
float: left;
background: url(/static/img/dot.png) no-repeat center left;
padding: 0 0 0 10px;
margin: 0 5px 0 0;
}


.add-to-bookmarking
{
display: block;
float: left;
margin: 5px 0 0 0;
font-size: 75%;
}

.add-to-bookmarking h5
{
display: block;
float: left;
height: 16px;
}
.add-to-bookmarking a
{
height: 16px;
display: block;
background-image: url(/static/img/add-to.png);
float: left;
margin: 0 5px 0 0;
}
.wykop
{
background-position: -32px 0;
width: 18px;
}

.wykop:hover
{
background-position: -32px 0;
}

.flaker
{
background-position: -16px 0;
width: 16px;
}

.flaker:hover
{
background-position: -16px 0;
}
.box-half
{
width: 480px;
padding: 5px 0px;
margin: 0 0px 20px 0;
}

.case
{
border-top: solid 1px #ded8d0;
}

.box-half strong
{
font-weight: bold;
}

.box-full
{
display: block;
width: 100%;
float: left;
margin: 10px 0;
}

.box-two-third
{
display: block;
width: 640px;
margin: 10px 0;
}

.box-two-third .awanturki
{
width: 600px;
margin: 10px 0;
}

.box-two-third .awanturki textarea
{
width: 600px;
margin: 10px 0;
}

.pagination
{
display: block;
float: left;
text-align: center;
width: 220px;
border: solid 1px #ded8d0;
background: #fff;
margin: 5px 380px;
color:#b5b0a9;
}

.list-of-cases
{

}
.list-of-cases > li
{
margin: 10px 0;
display: block;
float: left;
width: 100%;
border-bottom: solid 1px #ede5dc;
}

.list-of-cases li .meta-info
{
	
}

.list-of-cases p
{

margin: 0;
}

.list-of-cases h6
{
text-align: right;
}

/*Comments*/
.comments li
{
display: block;
width: 620px;
padding: 10px;
float: left;
}

.comment-metadata
{
color: #6e685f;
}

.comment-metadata span
{
display: block;
background: #6e685f;
color:  #ede5dc;
float: left;
margin: 0 0.5em 0 0;
font-style: normal;
padding: 0 0.25em;
}

.request-moderation
{
font-size: 85%;
font-style: italic;
float: right;	
color: #6e685f;
}

.request-moderation:hover
{
background: transparent;
color: #6e685f;
text-decoration: underline;
}
.even
{
background:  #ede5dc;
}

/*Voting and results*/
#voting-results
{
background: #ede5dc;
}
.voting-form
{
display: block;
width: 200px;
float: left;
text-align: center;
}

.voting-form input.submit
{
background: #c8211a;
border: solid 1px #c8211a;
color: #fff;
cursor: pointer;
}

#results
{
display: block;
float: left;
width: 450px;
margin: 0px 290px 10px 290px;
text-align: left;
}


#results p
{
float: left;
display: block;
width: 150px;
text-align: right;
padding: 0 10px 0 0;
clear: left;
}

#results .wrapper
{
display: block;
float: left;
width: 290px;
}
#results span
{
float: left;
display: block;
padding: 0 0 0 0.25em;
height: 20px;
color: #fff;
font-size: 85%;
}

#results h6
{
display: block;
float: left;
width: 400px;	
margin: 0 auto;
text-align: center;
font-size:  90%;
}

span#results-case
{
background:  #c8211a url(/static/img/results.png) no-repeat  right -24px;
}

span#results-answer
{
background:  #141c37 url(/static/img/results.png) no-repeat  right 0px;
}
/*Forms*/
form
{
display: block;
}


.awanturki
{
background: #ded8d0 url(/static/img/cat-big.png) no-repeat bottom right;
width: 440px;
padding: 5px 20px 20px 20px;
text-align: left;
}

.awanturki.centered
{
margin: 0 260px;
}
.awanturki h1
{
color: #b5b0a9;
}

.awanturki a
{
color: #141c37;
}

.awanturki a:hover
{
background: #141c37;
color: #fff;
}
.awanturki blockquote
{
padding: 5px;
display: block;
float: left;
width: 420px;
font-size: 110%;
}
.awanturki input
{
display: block;
margin: 0 0 5px 0;
border: solid 0px #ded8d0; 
}

.awanturki textarea
{
display: block;
margin: 5px 0;
border: solid 0px #ded8d0;
width: 420px;
height: 30ex;
}

.awanturki label
{
display: block;
margin: 0;
font-style: italic;
font-size: 85%;
clear: both;
}
.awanturki input.submit
{
background: #b5b0a9;
float: left;
font-weight: bold;
}

.awanturki input.preview	
{
font-weight: normal;
font-style: italic;	
}

.awanturki input#id_tos /*to make a checkbox float*/
{
float: left;
margin: 0 10px 0 0;
}

.awanturki label.checkbox-label
{
float: left;
clear: right;
}
.awanturki .register-prompt
{
display: block; 
width: 16em;
position: absolute;
margin-left: 250px;
}

.awanturki p
{
color: #6e685f;
}



/*Flatapges*/
.box-half.flatpage
{
margin: 0 250px;
text-align: left;
}

.flatpage ul li
{
list-style: disc inside;
}

.flatpage ol li
{
list-style: decimal inside;
}

/*Headers and pargraphs*/
h1
{
font-size: 210%;
margin: 0 0 5px 0;
line-height: 150%;
color:  #141c37;
font-family: Georgia;
}

h2
{
font-size: 180%;
margin: 0 0 5px 0;
line-height: 150%;
font-family: Georgia;
}
h3
{
font-size: 160%;	
font-weight: normal;
font-family: Georgia;
}


h6
{
font-size: 120%;	
font-weight: normal;
}
p
{
margin: 0 0 10px 0;
line-height: 150%;
}
small
{
font-size: 85%;
}

/*Ornaments and details*/
.clock
{
background: url(/static/img/clock.png) no-repeat left center;
padding-left: 35px;	
}
/*Main page items*/
.about
{
background:#b5b0a9 url(/static/img/about-bckg.png) no-repeat bottom right; 
color: #fff;
padding: 10px 10px 100px 10px;
-moz-border-radius: 5px;
font-family: Trebuchet MS, sans-serif;
}

.box-half.about
{
width: 380px;
}

.about h1
{
font-family: Trebuchet MS, sans-serif;
text-align: center;
color: #3e6cab;	
}

.about h2
{
font-family: Trebuchet MS, sans-serif;
color: #fff;	
}
.about ol
{
font-size: 150%;
display: block;
float: left;
margin: 10px 0 0 30px;
list-style-type: decimal;
}

.about ol li
{
margin-left: -20px;
}
.about strong
{
font-weight: strong;
color: #3e6cab;
}

.about a
{
color: #fff;
text-decoration: underline;
}

.about a:hover
{
color: #6e685f;	
background: transparent;
}
.tags
{
background: #ded8d0;
color: #b5b0a9;
padding: 10px;
-moz-border-radius: 5px;
}

.tags a
{
color: #3e6cab;
}

.tags a:hover
{
background: #3e6cab;
color: #fff;
}
.tags h1
{
color: #6e685f;
}
.box-half.tags
{
width: 380px;
}
.box-full.tags
{
width: 960px;
}
/*Sugester widget*/
#sugester_widget:hover
{
background: transparent;
}
/*Color swatch
black:  #000
white: #fff
red: #c8211a
powdery: #e9c6aff
light grey: 	#ded8d0
dark grey: #b5b0a9
blood red: #790c08
sand: #e9c691
yellowish:  #ffd261
very grey: #6e685f;

***NEW***
blue: #241ac8
very dark: #282834
red: 	#c8211a
navy: #141c37
*/