/* Reset by Eric Meyer v1.0 | 20080212 */

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, ol, 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;
}

ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

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

a {
    text-decoration: none;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/***end of reset by Eric Meyer***/

/*Layout*/
body {
    background: #080503 url(../img/bkg.jpg) fixed;
    color: #282834;
    font-family: Arial, sans;
    }

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

#wrapper {
    height:auto !important;
    margin:0 auto -1.5em;
    min-height:100%;
    }
    
#header {
    padding: 30px 0;
    float: left;
    width: 840px;
    }


#main {
    width: 500px;
    background: #fff;
    float: left;
    padding: 20px;
    }

#sidebar {
    width: 230px;
    float: right;
    background: #fff;
    padding: 20px;
    }
    
#clearfooter {
    clear:both;
    height:1.5em;
    }


#footer {
    display:block;
    height:1.5em;
    padding: 1em 0;
    text-align: right;
    width:100%;
    font-size: 85%;
    }

/*Basic elements*/
a {
    color: #ff2300;
}

a:hover {
    background: #e9e3e2;
    }
#header a:hover {
    background: none;
    }


/*Main elements*/
#header h1 {
    width: 540px;
    float: left;
    margin: 15px 0 0 0;
    }

#login {
    display: block;
    float: right;
    width: 230px;
    padding: 20px;
    background: #FFF;
    font-size: 100%;
    }

#login small {
    font-size: 65%;
    margin: 10px 0 0 0;
    }
    
#login img {
    width: 48px;
    float: right;
    margin: 0 0 0 10px;
    }
    
#help {
    float: right;
    position: relative;
    text-align: right;
    }

.tooltip {
    display: none;
    width: 200px;
    padding: 10px;
    font-size: 75%;
    background: #e9e3e2;
    position: absolute;
    top: 110px;
    margin: 0 290px;
    }

#help:hover + .tooltip {
    display: block;
    }

.tooltip:hover {
    display: block;
    }    
    
#create {
    display: block;
    width: 320px;
    height: 52px;
    background: url(../img/create.png);
    background-position: 0 0;
    background-repeat: no-repeat;
    margin: 50px 90px;
    }

#create:hover,
#sign:hover {
    background-position: 0 0;
    }
    
#create span,
#sign span {
    display: none;
    }
    
#sign {
    display: block;
    width: 320px;
    height: 52px;
    background: url(../img/sign.png);
    background-position: 0 0;
    background-repeat: no-repeat;
    margin: 50px 90px 20px;
    }
    

#main table {
    width: 480px;
    margin: 0 10px 50px 10px;
    }
    
#main table tr {
    border-bottom: solid 1px #CCC;
    }
    
#main table td {
    padding: 20px 10px;
    vertical-align: top;
    }
    
#main table small {
    font-size: 85%;
    color: #bbb;
    }
    
#main table img {
    width: 48px;
    }

#main table h3 {
    font-size: 100%;
    margin: 0 0 10px 0;
    }
    
#main table .petition_author {        
    width: 25px;
    }
    
#main table .petition_title {
    width: 40em;
    }
    

#main h1 {
    font-size: 220%;
    margin: 20px 0;
    }

#main h2 {
    font-size: 180%;
    margin: 30px 0 10px 0;
    background: #eee;
    padding: 5px 10px;
    }

#main h3 {
    font-size: 120%;
    margin: 10px 0;
    }
    
#main p {
    font-size: 100%;
    margin: 10px 0;
    }

#main .copy {
    font-size: 75%;
    margin: 0 30px;
    }

#main .copy li {
    list-style: disc inside;
    margin: 0 0 0 10px;
    }

#main small {
    font-size: 85%;
    color: #aaa;
    }

.petition {
    margin: 20px 0;
    }

.petition img {
    width: 20px;
    }
    
.petition .body {
    line-height: 1.5;
    margin: 15px !important;
    }

.petition .number-of-votes {
    border: solid 1px #ccc;
    font-weight: bold;
    font-size: 150%;
    display: block;
    float: right;
    padding: 5px;
    text-align: center;
    margin:5px 0 10px 10px;
    }

#main .number-of-votes small {
    font-size: 1pt;
    display: block;
    font-weight: normal;    
    }
    
    
form.create {
    margin: 25px;
    }
    
#main form .errorlist {
    color: red;
    font-size: 85%;
    font-weight: bold;
    }
    
#main form input,
#main form textarea {
    border: solid 1px #ccc;
    }

#main form input[type="text"],
#main form textarea {
    width: 450px;
    }

#main form input[type="submit"] {
    font-size: 150%;
    border: none;
    background: #ff2300;
    color: #fff;
    margin: 10px auto;
    }

#main form button {
    border: none;
    cursor: pointer;
    }

#main form label {
    display: block;
    font-size: 85%;
    font-weight: bold;
    margin: 10px 0;
    }

form.only-button {
    text-align: center;
    }
        
.pagination {
    background: #E9E3E2;
    font-size: 75%;
    padding: 5px;
    }

.pagination a {
    background: #fff;
    padding: 0 2px;
    margin: 0 2px;
    }
    
.pagination a.active {
    background: #ff2300;
    color: #fff;
    }
    
    
/*Sidebar elements*/
.menu {
    margin: 0 0 20px 0;
    }
    
.menu li {
    margin: 0;
    padding: 5px 0;
    border-bottom: solid 1px #CCCCCC;
    }
    
.menu a {
    font-size: 150%;
    font-weight: bold;
    color:#282834;
    letter-spacing: -1px;
    }

.menu a:hover {
    color: #ff2300;
    }

#sidebar .box {
    margin: 30px 0;
    }

#sidebar h3 {
    font-size: 150%;
    margin: 0 0 10px 0;
    }

.avatars li {
    display: block;
    float: left;
    margin: 5px;
    }

.avatars img {
    width: 45px;
    height: 45px;
    }
    
.avatars a:hover {
    background: transparent;
    }
    
/*AdTaily widget hacks*/
#AdTaily_Widget_Container span {
    display: none !important;
    }

#AdTaily_Widget_Container > div {
    background: transparent !important;
    border-right: none !important;
    border-left: none !important;
    border-top: none !important;
    }


