/*-----------
Includes
-----------*/
@import "facebox.css";

/*-----------
Style Reset
-----------*/

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,
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-weight: inherit;
    font-style: inherit;
    font-size: 1em;
    font-family: inherit;
    vertical-align: baseline;
}
body {
    line-height: 1;
    color: #393733;
    background: #3D7195 url(../images/body-generic.png) repeat-x top;
    font-size: 12px;
    font-family: Arial, Helvetica, Calibri, sans-serif;
}
ol, ul {
    list-style: none;
}
table {
    border-collapse: separate;
    border-spacing: 0;
}
caption, th, td {
    text-align: left;
    font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}
blockquote, q {
    quotes: "" "";
}
code {
    font-family: Courier;
}


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

/*-------------
Shared Styles
-------------*/
a:link,a:visited {
    text-decoration: none;
    /*color: #09c;*/
	color: #3080c8;
}
a:hover {
    color: #36A0FF;
	/*text-decoration: underline;*/
}

a.help {
    cursor: help;
    border-bottom-style: dotted;
    border-bottom-width: 1px;
}

a.help:hover {
    text-decoration: none;
}

strong { font-weight: bold; }
em { font-style: italic; }

.centered { text-align: center; }
.right { text-align: right; }

.clear {
    clear: both;
}
.clear-left {
    clear-left;
}
.clear-right {
    clear: right;
}
.sort {
    padding-left: 18px;
    background-image: url(../images/sort.gif);
    background-repeat: no-repeat;
}
.sort.asc { background-position: top left; }
.sort.desc { background-position: bottom left; }

.txt-approved,
.txt-unapproved,
.txt-flagged,
.txt-spam,
.txt-deleted,
.txt-open,
.txt-closed {
    color: #fff;
    font-weight: bold;
    padding: 2px 6px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin: 0 2px;
}
.txt-approved,
.txt-open { color: #333; background: #c5edff; }
.txt-unapproved { background: #0084ff; }
.txt-flagged,
.txt-closed { background: #ffa800; }
.txt-spam { background: #d00; }
.txt-deleted { background: #666; }

/* Status Message */

.status,
.su-status {
    border: 1px solid #0099CC;
    background: #BAE6FA;
	padding: 17px;
	font-size: 15px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	height: 1%;
}

.status.alert,
.su-status.alert {
    line-height: inherit;
    padding: 17px;
    background-color:#FDF1D0;
    border:1px solid #FAD163;
}

.status img,
.su-status img {
    margin: 0 8px -2px 0;
}


.bold {
    font-weight: bold;
}

.su-status a {
    font-weight: normal;
}

.alert {
	background-color:#FDF1D0;
    border:1px solid #FAD163;
    line-height: 1.25;
	padding: 5px 8px;
	color: #817134;
}
.alert a {
    color: #5D7C5F;
    border-bottom-width: 1px;
    border-bottom-style: dotted;
}
.alert a:hover {
    text-decoration: none;
}
ul.errorlist {
    color: #c03000;
    font-weight: bold;
}

.return-link {
	margin-bottom: 15px;
}
#body .return-link {
	margin-top: -5px;
	margin-left: -5px;
}
.return-link a {
	font-size: 16px;
	background: url(../images/33.png) no-repeat top left;
	padding-left: 24px;
}

.pointer {
    cursor: pointer;

}

/*--------------
Content Styles
--------------*/

.content h2 {
	font-size: 24px;
	margin: 12px 0;
    font-weight: bold;
}
.content h3 {
	font-size: 18px;
	margin: 10px 0;
	font-weight: bold;
}
.content h4 {
	font-size: 14px;
	margin: 10px 0;
	font-weight: bold;
}
.content h5 {
	margin: 10px 0;
}
.content h3 + h2 {
	margin-top: -4px;
}
.content h2:first-child,
.content h3:first-child,
.content h4:first-child,
.content h5:first-child {
	margin-top: 0;
}
.content em {
    font-style: italic;
}
.content strong {
    font-weight: bold;
}
.content p,.content blockquote {
    line-height: 1.5;
    margin: 1.35em 0;
}
.content ul,.content ol {
    margin: 1.5em 2em;
}
.content ol li {
	list-style-type: decimal;
}
.content li {
	margin: .75em 0;
	line-height: 1.25;
	list-style-type: circle;
}
.content ol ol,.content ul ul {
	margin: .75em 2em;
}
.content li ol li {
	list-style-type: lower-alpha;
}
.content li ul li {
	list-style-type: disc;
}
.content blockquote {
    margin: 1.35em 2em;
    font-style: italic;
}
.content table {
    width: 100%;
    margin: 1.5em;
}
.content th, .content td {
	padding: 7px;
}
.content th {
	font-weight: bold;
}
.content code {
    font-family: 'andale mono', 'monotype.com', 'lucida console', monospace;
    white-space: pre;
    margin: 1.5em 2em;
    display: block;
    line-height: 1.5;
}
.content code.inline {
    white-space: normal;
    line-height: inherit;
    margin: 0;
    display: inline;
}
.content ul.site-map li a img {
    height: 20px;
    margin-bottom: -6px;
}

/*----
 Docs
----*/

.docs textarea {
    border: 0;
    display: block;
    height: 100px;
    width: 100%;
    padding: 2px;
    margin: 1.5em 2em;
    font-family: 'andale mono','monotype.com','lucida console',monospace;
    line-height: 1.5;
    font-size: 11px;
    border: 1px solid #ccc;
}


/*-------
Lightbox
-------*/

.popup h3 {
    font-size: 18px;
    font-weight: bold;
}

/* Login */

#login-form {
    margin-top: 20px;
    text-align: center;
}

#facebox h3 img {
    vertical-align: text-bottom;
}

#login-form label {
    margin-bottom: 10px;
    text-align: left;
    clear: left;
    display: block;
    height: 1%;
    overflow: hidden;
    font-size: 14px;
}

#login-form label span {
    width: 150px;
    display: block;
    float: left;
    padding: 3px 0;
}

#login-form label span a {
    font-size: 12px;
}

#login-form label input {
    border: 1px solid #ddd;
	background: url(../images/../images/input-text.png) no-repeat top left;
	font-family: Arial, Helvetica, Calibri, sans-serif;
    width: 175px;
    padding: 3px 2px;
    display: block;
    float: left;
    font-size: inherit;
}

#login-form button {
    clear: left;
    margin-bottom: 10px;
}


#login-button {
    margin-top: 20px;
    text-align: center;
	clear: left;
    margin-bottom: 10px;
	margin-left: 150px;
}


/*------
 Login
------*/

#LogonOutput{
	color:#F75D59;
}

#ActivateOutput{
	color:#F75D59;
}

#ResetOutput{
	color:#F75D59;
}


/* Reset */

#reset-form {
    margin-top: 20px;
    text-align: center;
}

#reset-form label {
    margin-bottom: 10px;
    text-align: left;
    clear: left;
    display: block;
    height: 1%;
    overflow: hidden;
    font-size: 14px;
}

#reset-form label span {
    width: 150px;
    display: block;
    float: left;
    padding: 3px 0;
}

#reset-form label span a {
    font-size: 12px;
}

#reset-form label input {
    border: 1px solid #ddd;
	background: url(../images/../images/input-text.png) no-repeat top left;
	font-family: Arial, Helvetica, Calibri, sans-serif;
    width: 175px;
    padding: 3px 2px;
    display: block;
    float: left;
    font-size: inherit;
}

#reset-form button {
    clear: left;
    margin-bottom: 10px;
}


#reset-button {
    margin-top: 20px;
    text-align: center;
	clear: left;
    margin-bottom: 10px;
	margin-left: 150px;
}


/* Activcate */

#activate-form {
    margin-top: 20px;
    text-align: center;
}

#activate-form label {
    margin-bottom: 10px;
    text-align: left;
    clear: left;
    display: block;
    height: 1%;
    overflow: hidden;
    font-size: 14px;
}

#activate-form label span {
    width: 150px;
    display: block;
    float: left;
    padding: 3px 0;
}

#activate-form label span a {
    font-size: 12px;
}

#activate-form label input {
    border: 1px solid #ddd;
	background: url(../images/../images/input-text.png) no-repeat top left;
	font-family: Arial, Helvetica, Calibri, sans-serif;
    width: 175px;
    padding: 3px 2px;
    display: block;
    float: left;
    font-size: inherit;
}

#activate-form button {
    clear: left;
    margin-bottom: 10px;
}


#activate-button {
    margin-top: 20px;
    text-align: center;
	clear: left;
    margin-bottom: 10px;
	margin-left: 150px;
}


/*------
 Activate
------*/


#lightbox-login {
    height: 100%;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
}

#lightbox-login #facebox {
    margin: 121px auto;
    width: 410px;
    position: static;
    z-index: 101;
}

* html #lightbox-login { /* ie6 hack */
  position: absolute;
  height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}


/*------
Layout
------*/

#container {
    margin: 0 auto;
    width: 960px;
    min-width: 960px;
    position: relative;
}
#main {
    width: 770px;
    float: left;
    position: relative;
    z-index: 1;
}
#sidebar {
    width: 166px;
    float: right;
}
* html #sidebar {
	margin-left: -10px;
}

/*---
Top
---*/

#top h1 {
    padding: 29px 0 25px;
}

#top h1 a {
	display: block;
	position: relative;
	overflow: hidden;
	padding: 34px 0 0;
	background: url(../images/generic.gif) no-repeat top left;
	height: 0px !important;
	height /**/: 34px;
	width: 400px;
}

/* Top Nav */

#top-nav {
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
}
#top-nav li {
	display: inline;
}
#top-nav a.tab {
    position: relative;
    padding: 42px 0 0 0;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: top left;
    height: 0px !important;
    height /**/: 42px;
    display: block;
    width: 131px;
    float: right;
    margin-right: 10px;
}
#top-nav #top-comments a { background-image: url(../images/top-comments.gif); }
#top-nav #top-profile a { background-image: url(../images/top-profile.gif); }

#top-nav #top-account-wrapper {
	height: 42px;
	background: url(../images/top-account-right.gif) no-repeat top right;
	float: right;
	padding-right: 8px;
}
#top-nav #top-account {
	background: url(../images/top-account-left.gif) no-repeat top left;
	padding: 3px 0 0 6px;
}
#top-nav #top-account #top-account-username img {
	float: left;
	margin-right: 6px;
	margin-top: -1px;
}
#top-nav #top-account #top-account-username {
	font-size: 10px;
	text-transform: uppercase;
	color: #d2e0e9;
	letter-spacing: 1px;
	font-weight: bold;
	display: block;
	padding-top: 1px;
}
#top-nav #top-account div {
	margin-top: 4px;
	margin-left: 38px;
}
#top-nav #top-account div img {
	margin: 0 8px 0 9px;
}
#top-nav #top-account div a {
	color: #fff;
	font-weight: bold;
	font-size: 16px;
}

/*----
Subnav
----*/

#subnav {
	width: 160px;
	float: left;
}
#subnav ul {
	margin: 11px 0 0 0;
	padding: 15px 0 100px 10px;
}
#subnav li:first-child a {
	background: none;
}
#subnav li a {
	display: block;
	text-align: right;
	font-size: 14px;
	padding: 7px 10px;
	line-height: 16px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-bottomleft: 5px;
	background: transparent url(../images/subnav-divider.gif) no-repeat top right;
}
#subnav li a:hover {
	color: #49aed0;
	text-decoration: none;
}
#subnav li img {
	vertical-align: middle;
	position: relative;
	top: -2px;
	margin-left: 5px;
}
#subnav li.selected a {
	background: #fff;
	border: 1px solid #b1d7e9;
	border-right: 0;
	color: #333;
}
.subnavved {
	background: transparent url(../images/subnav.gif) repeat-y left;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-bottomleft: 5px;
	height: 1%;
}
.subnavved .subnavved-content {
	margin-left: 220px;
}

.subnavved .subnavved-content .status {
    margin: 0 0 20px 0;
}

/*--
Tabs
--*/

.tabs {
	height: 28px;
	font-size: 14px;
}
.tabs li {
	display: inline;
}
.tabs li a {
	display: block;
	float: left;
	margin-right: 5px;
	background: #d7e9f2;
	padding: 7px 9px;
	color: #333;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
}
.tabs li.selected a {
	background: #3f9cc7;
	color: #fff;
}

/*------------
Generic Body
------------*/

/* Full Width */

#body {
    background: url(../images/shadow-960-sides.png) repeat-y top left;
    padding: 1px 38px;
}
#body-wrapper {
	background: url(../images/shadow-960-top.png) no-repeat top left;
	padding-top: 37px;
	margin: -11px -16px 0;
	height: 1%;
}

/* 770 Width */

#main #body { background-image: url(../images/shadow-770-sides.png); }
#main #body-wrapper { background-image: url(../images/shadow-770-top.png); }

/*------
Footer
------*/

#footer {
	font-weight: bold;
	height: 14px;
	margin: 34px 0 14px 0;
	padding: 12px 0;
	border-top: 2px solid #DAEDF3;
}
#footer ul {
	float: left;
}
#footer li {
	display: inline;
	margin-right: 1.5em;
}
#footer span {
    float: right;
	color: #666;
}

/* Dark Background Footer */

#footer.dark {
	background: url(../images/shadow-960-bottom.png) no-repeat top left;
	padding: 36px 16px 72px;
	margin: 0 -16px;
	font-size: 14px;
	border: 0;
}	
#main #footer.dark { background-image: url(../images/shadow-770-bottom.png); }
#footer.dark li a {
	color: #fff;
}
#footer.dark span {
	float: right;
	color: #fff;
}

/*-------
Buttons
-------*/

button { 
    position: relative;
    border: 0; 
    padding: 0;
    cursor: pointer;
    overflow: visible; /* removes extra side padding in IE */
}

button::-moz-focus-inner {
    border: none;  /* overrides extra padding in Firefox */
}

button span { 
    position: relative;
    display: block; 
    white-space: nowrap;	
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
/* Safari and Google Chrome only - fix margins */
button span {
	margin-top: -1px;
}
}

button.button { 
    padding: 0 8px 0 0;
    font-size: 13px;
    text-align: center; 
    background: transparent url(../images/button-large.gif) no-repeat right -104px; 
}

button.button span {
    padding: 9px 0 0 8px; 
    height:23px;
    background: transparent url(../images/button-large.gif) no-repeat left top; 
    color:#333; 
    font-family: Arial, Helvetica, Calibri, sans-serif;
    font-weight: bold;
    text-shadow: 0 1px 0 #fff;
}
button.button img {
    vertical-align: middle;
    position: relative;
    top: -2px;
}

button.button:hover {
    background-position: right -156px; 
}

button.button:hover span {
    background-position: 0 -52px;
}

/* Small Buttons */

button.button.small {
	padding: 0 5px 0 0;
	font-size: 11px;
	background: transparent url(../images/button-small.gif) no-repeat right -84px;
}
button.button.small span {
    float: none;
	padding: 5px 0 0 6px;
	height: 17px;
	width: auto;
	background: transparent url(../images/button-small.gif) no-repeat left top; 
	font-weight: normal;
}

button.button.small:hover {
	background-position: right -126px; 
}
	
button.button.small:hover span {
	background-position: 0 -42px;
}

/*----
Badges
----*/

.dsq-badge {
	padding: 2px 4px;
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius: 0 5px 0 5px;
	border-radius: 0 5px 0 5px;
	vertical-align: middle;
	font-size: 12px;
}
.dsq-badge-small {
	font-size: 10px;
	padding: 1px 2px;
	-webkit-border-top-right-radius: 3px;
	-webkit-border-bottom-left-radius: 3px;
	-moz-border-radius: 0 3px 0 3px;
	border-radius: 0 3px 0 3px;
}
.dsq-badge-verified {
	background: #92C72A;
	border: 1px solid #6CA300;
	color: #fff;
}
.dsq-badge-registered {
	background: #FFFE98;
	border: 1px solid #EAE800;
	color: #333;
}
.dsq-badge-guest {
	background: #DDDDDD;
	border: 1px solid #bbb;
	color: #333;
}
.dsq-badge-facebook {
	background: #46639D;
	border: 1px solid #2D3F65;
	color: #fff;
}
.dsq-badge-twitter {
	background: #31CEFF;
	border: 1px solid #2BB5E0;
	color: #fff;
}
.dsq-badge-openid {
	background: #F9F9F9;
	border: 1px solid #AAAAAA;
	color: #F89B1E;
}

/*----
 Comments Loading
----*/

#show-more {
    margin: 20px 0;
    text-align: center;
}

#show-more {
	display: none;
}

.lightbox-overlay {
    display: none;
    z-index: 998;
    opacity: .7;
	filter: alpha(opacity=70);
	width: 100%;
	height: 100%;
    position: absolute;
    background-color: #000;
}

.lightbox {
    display: none;
    z-index: 999;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    opacity: 1;
    filter: alpha(opacity=100);
	width: 100px;
	top: 50px;
	left: 270px; /* (660 - (100+20)) / 2 */
    background-color: #fff;
    color: #333;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    position: absolute;
}

.lightbox img {
    display: block;
    margin: 0 auto;
    margin-bottom: 10px;
}

#show-more img.loading {
    display: none;
}

/*----
 Comments Context
----*/

.comment-context {
	padding: 15px 10px 10px;
	border-top: 1px solid #eee;
}
.comment-context.selected {
    background-color: #FDF1D0;
}
.comment-context:first-of-type {
	border-top: 0;
}
.comment-context:hover {
	background-color: auto;
}
.comment-context .comment-context-user,
.comment-context .comment-context-reply-user {
	float: left;
}
.comment-context .comment-context-body {
	margin-left: 42px;
}
.comment-context .comment-context-body p {
    margin: 10px 0;
}
.comment-context .time {
	float: right;
	color: #aaa;
}
.comment-context:hover .time {
    color: #fff;
    background-color: #777;
}

.progressbar { font-size: 0.8em; padding: 1px; line-height: 1.5em; height: 1.5em; border: 1px solid #cce9ff; color: #000; overflow: hidden; position: relative; }
.progressbar a { color: #6897cb; }
.progressbar div {
    font-weight: bold; background: #d5e9ff; height: inherit;
    background-image: -webkit-gradient(
        linear,
        right bottom,
        left top,
        color-stop(0, rgb(237,244,250)),
        color-stop(0.5, rgb(204,233,255))
    );
    background-image: -moz-linear-gradient(
        right bottom,
        rgb(237,244,250) 0%,
        rgb(204,233,255) 50%
    );
}
.progressbar span { display: block; position: absolute; line-height: inherit; height: inherit; text-align: center; left: 1px; right: 1px; top: 1px; bottom: 1px; }
/*.progressbar_low { border-color: #E25F53; color: #E25F53; }
.progressbar_low div { background-color: #E25F53; }
.progressbar_med { border: 1px solid #fb2; color: #BC5B1A; }
.progressbar_med div { background-color: #91c5ff; }
.progressbar_high div { background-color: #58a7ff; }*/
.progressbar_done { border-color: #ade9a4; color: #397D33; }
.progressbar_done div {
    background-color: #D1FBCA;
    background-image: -webkit-gradient(
        linear,
        right bottom,
        left top,
        color-stop(0, rgb(209,251,202)),
        color-stop(1, rgb(168,255,153))
    );
    background-image: -moz-linear-gradient(
        right bottom,
        rgb(209,251,202) 0%,
        rgb(168,255,153) 100%
    );
}


/**
 * django.contrib.messages
 */

#message-list {
    margin-bottom: 18px;
}
#message-list li { margin-bottom: 8px; }

.message {
    color: #BC5B1A;
    background: #F9F3CC;
    border: 1px solid #fb2;
    font-size: 15px;
    padding: 0 20px;
    height: 40px;
    line-height: 40px;
    margin-bottom: 18px;
    position: relative;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}
.message a.close {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    height: 40px;
    line-height: 40px;
    color: inherit;
    text-decoration: none;
    opacity: .5;
}
.message a.close:hover {
    opacity: 1;
    text-decoration: underline;
}
.message.success {
    border-color: #397D33;
    color: #397D33;
    background: #D1FBCA;
}
.message.error, .message.warning {
    background: #FBD5D2;
    border-color: #E25F53;
    color: #E25F53;
}