/* main body rules */

* {	outline: none; }
#doc3 {	margin: auto 20px; }

body {
	background: #eee url("../images/background.gif") repeat-x top left;
	margin: 0;
	font-family: "Helvetica Neue", Arial, Verdana, sans-serif;
	color: #333;
}

/* text */

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

/* headlines */

h1 {
	color: #222;
	clear: both;
	font-size: 26px;
	font-weight: bold;
	margin-bottom: 1em;
}

h2 {
	color: #444;
	clear: both;
	font-size: 1.3em;
	font-weight: bold;
	margin-bottom: 1em;    
}

h3 {
	color: #444;
	font-size: 13px;
	font-weight: bold;
	margin-bottom: 1em;
	border-bottom: 1px solid #ccc;
	padding: 3px 0;
}

h4 {
	font-size: 11px;
	color: #444;
	font-size: 1.1em;
	font-weight: bold;
	margin-bottom: 1em;
	border-bottom: 1px solid #ccc;
	padding: 3px 0;	
}

h4.date {
	font-size: 11px;
	font-weight: normal;
	color: #888;
	margin-bottom: 5px;
}

h4.date span { background: #f6f6f6; padding: 2px 7px; }

#sidebar h2 {
	font-size: 13px;
	padding: 5px 3px;
	border-bottom: 1px solid #ccc;
}

/* lists */

ul, ol {
	margin-left:2em; 
}

ul li {
	list-style: disc outside;
	margin-left: 15px;
}

ol li {
	list-style: decimal outside;
}

/* exceptions */

#filepicker ul, #wbs_tag_suggestions ul, .task_container ul, .wbs_tag_suggestions ul, #project_drop_list, #wbs_calendar_nav_drop, ul#user_list {
	margin-left: 0 !important;
}

#filepicker ul li,#wbs_tag_suggestions ul li, .task_container ul, .wbs_tag_suggestions ul li, #project_drop_list li, #wbs_calendar_nav_drop li, ul#user_list li {
	list-style: none !important;
	margin-left: 0 !important;
}

/* utilities */

.c { text-align: center; }
.ar, .r { text-align: right; }
.f10 { font-size: 10px; }
.f11 { font-size: 11px; }
.f12 { font-size: 12px; }
.ml { margin-left: 1em; }
.sml { margin-left: 5px; }
.mr { margin-right: 1em; }
.strong { font-weight: bold; }
.hl { padding: 3px 4px; background: #fffccc; }
.va { vertical-align: middle; } 
#submenu .va, #sub_submenu .va { vertical-align: top; }
.vtt { vertical-align: text-top; }
.lg { color: #999; }
.bb { border-bottom: 1px dotted #ccc; }
.lbb { border-bottom: 3px dotted #ccc; }
.pb { padding-bottom: 1em;}
.mb { margin-bottom: 1em !important; }
.lmb { margin-bottom: 2.5em !important; }
.smb { margin-bottom: 5px !important; }
.lmt { margin-top: 2.5em; }
.lh { line-height: 1.5em; }
.hide { visibility: hidden; display: none; }
.nc { clear: none; }

.information {
	background: #f6f6f6;
	padding: 8px;
	color: #666;
	font-size: 11px;
	line-height: 1.5em;
}

.helpbox {
	background: #fffddd;
	padding: 10px;
	color: #444;
	font-size: 11px;
	line-height: 1.5em;
}

.help {
	padding: 15px;
	color: #444;
	background: #eee;
}

#sidebar .block {
	font-size: 11px;
	margin: 5px 0 0 20px;
	background: #eee;
	padding: 5px;
	border: 1px solid #eee;
}


/* links */

a {
	color: #0072bc;
	text-decoration: none;
	border-bottom: 1px solid #cde3f2;	
}

a:hover {
	color: #004c7e;
	border-bottom: 1px solid #cde3f2;
}

h1 a, h1 a:hover, h2 a, h2 a:hover, h3 a, h3 a:hover, .boxy a, .boxy a:hover, #ttrack a, #ttrack a:hover, .gallery_image a, .gallery_image a:hover {
	/* border exceptions */
	border: none;
}

a.g {
	color: #666;
	font-weight: normal;	
}

thead a, th a {
	border: none;
    color: #666;
	font-weight: bold;
}

thead a:hover {
    text-decoration: underline;
}

.boxy a {
	color: #666;
	background: #eee;
	padding: 2px 7px;
	font-style: normal;
	font-size: 11px;
	border: 1px solid #ddd;
}

.boxy a:hover {
	background: #444;
	border: 1px solid #222;
	color: #eee;
}

a.r, a.wbs_tag_addbutton {
	background: #fff url("http://goplanapp.com/images/buttons.jpg") repeat-x bottom left;
	font-size: 11px;
	padding: 4px 8px;
	margin-right: 1px;
	color: #444;
	border: 1px solid #ddd;
	font-weight: bold;
}

a.r:hover, a.wbs_tag_addbutton:hover {
	border: 1px solid #aaa;
}

a.r:focus, a.wbs_tag_addbutton:focus {
	border: 1px solid #666;
}

a.delete {
	background-color: #f26c4f;
	border: 1px solid #edc2b9;
}

a.delete:hover {
	border: 1px solid #ec5d62;
}

#sidebar a, #top_bar a, #submenu a, .project_alias a {
	border: none;
}

#sidebar a {
	font-weight: bold;
}

/* navigation bar */

#top_bar {
	background: #333;
	padding: 10px 10px 10px;
	font-size: 11px;
	text-align: left;
	color: #fff;
}

#top_bar a {
	color: #eee;
}

#top_bar a img {
	vertical-align: middle;
}

#top_bar .company {
	margin-right: 10px;
}

#top_bar .company a:hover {
	border-bottom: 1px solid #999;
}

#top_bar .rounded a {
	color: #ccc;
	background: #222;
	padding: 6px 8px;
	border: 1px solid #444;
}

#top_bar select {
	margin: 0;
	padding: 0;
}

#top_bar .ar {
	padding: 2px 0 0;
}

#project_drop_list {
	background: #222;
	z-index: 100;
	position: absolute;
	margin-top: -5px;
	margin-left: 0;
}

#project_drop_list a {
	background: none;
	padding: 8px;
	font-weight: normal;
	display: block;
	border: none !important;
}

#project_drop_list a:hover {
	background: #000;
}

#project_drop_list li {
	list-style: none;
	margin: 0;
	background: #333;
	z-index: 100;
}

#project_drop_list li:hover {
	background: #222;
}

#project_drop_list li img {
	margin-right: 5px;
}

/* menu */

#submenu {
	margin: 10px;
	padding: 2px;
	background: #fff;
	text-align: left;
	border: 1px solid #ccc;
	vertical-align: middle;
}

#submenu a {
	padding: 5px 10px 6px;
	font-weight: bold;
	font-size: 11px;
	color: #444;
	border-right: 1px solid #eee;
	display: block;
	float: left;
}

#submenu a:hover {
	color: #666;
}

#submenu a.current {
	background: #fffeee;
}

#search {
	background: #f5f6f7;
	float: right;
	padding: 3px 10px 3px 10px;
	border-left: 1px solid #ddd;
}

#search input {
	margin: 0;
	font-size: 11px;
	background: #fff url("http://goplanapp.com/images/search.jpg") no-repeat center left;
	border: 1px solid #ccc;
	padding: 2px;
	padding-left: 18px;
}

#sub_submenu {
	padding: 8px 0;
	font-size: 11px;
}

#sub_submenu ul {
	margin: 0;
	margin-bottom: 20px;
}

#sub_submenu li {
	margin: 0;
	list-style: none;
	border-bottom: 1px solid #ddd;
}

#sub_submenu li a {
	color: #555;
	display: block;
	padding: 7px 7px;
}

#sub_submenu li:hover {
	background: #fffccc;
}

#sub_submenu li.current {
	background: #fffeee;
}

/* messages */

#message, .message, #msg_info {
	padding: 6px 20px;
	background: #39892f;
	color: #fff;
	font-size: 11px;
	font-weight: bold;
}

#message_error, .error {
	padding: 6px 20px;
	background: #c9282d;
	color: #fff;	
	font-size: 11px;
	font-weight: bold;
}

#message, #message_error {
	margin-top: 15px;
}

#message_error a, .error a, .message a, #message a, #msg_info a {
	color: #fff;
	border-bottom: 1px dotted #ccc;
}

#message_notice, .notice {
	padding: 8px 20px;
	background: #fffccc;
	color: #999999;	
	font-size: 11px;
	font-weight: bold;
}

#homepage_error, #homepage_info {
	margin: 0 -20px;
}

.footer_error {
	background: #ddd;
	padding: 1px 4px;
	color: #999;
}

/* page footer */

#ft {
	border-top: 1px solid #ddd;
	padding: 8px 0;
	margin-top: 2em;
	text-align: right;
	font-size: 85%;
	color: #999;
	margin-bottom: 50px;
}

/* login box */

#logobox {
	margin: 2em 0em 2em 0em;
}

#loginbox {
	font-size: 12px;
	background: #fff;
	border: 1px solid #ddd;
	padding: 20px;
	width: 300px;
	margin: 2em auto;
}

/* page content */

#content {
	margin-top: 15px;
	clear: both;
	background: #fff;
	padding: 20px;
	min-height: 400px;
}

#sidebar {
	margin-top: 25px;
}

/* user list */

ul#user_list li {
	padding: 3px 0 8px;
	border-bottom: 1px solid #eee;
	clear: left;
	line-height: 24px;
	margin-bottom: 2px;
}

ul#user_list li span.avatar {
	display: block;
	float: left;
	width: 36px;
	padding-left: 5px;
}

ul#user_list li span.fn {
	display: block;
	float: left;
	width: 30%;
}

ul#user_list li span.email {
	display: block;
	float: left;
	width: 30%;	
}

.vcard {
	border-bottom: 1px dotted #eee;
	font-size: 12px;
	padding: 2px 0;
}

table#user_list td {
	padding: 5px;
}

/* forms */

label {
	display: block;
}

/* settings */

#avatar_div {
	float: left;
	margin-right: 12px;
}

#avatar_div img {
	background: #fff;
	padding: 3px;
	border: 1px solid #ddd;
}

#status {
	position:relative;
}

/* due dates */

.duedate {
	color: black !important;
	padding: 2px 5px;
}

.overdue {
	background: #FF182D !important;
	color: white !important;
}

.duetoday {
	background: #F68E56 !important;
}

.duenear {
	background: #FFF568 !important;
}

.dueweek {
	background: #7CC576 !important;
}

.duefar {
	background: #00A651 !important;
	color: white !important;
}

.past {
	background: #7D7D7D !important;
	color: #CCCCCC !important;
}

/* status form */

#status_form {
	background: #333333 url("http://goplanapp.com/images/topbar/background.gif") repeat-x scroll left bottom;
	position:absolute;
	width:250px;
	top: 0px;
	text-align: left;
	border: 1px solid #555;
	border-top: none;
}

#status_form fieldset {
	padding: 15px;
	background: transparent;
}

#status_form label {
	color: #999;
	margin-bottom: 5px;
	font-size: 11px;
}

#status_form fieldset .submit {
	margin: 15px -15px -15px -20px;
	border-top: 1px dotted #444;
	background: transparent;
}

#status_update {
	color: #444;
	background: #eee;
	font-size: 12px;
	height: 40px;
	margin-bottom: 3px;
}


/* status updates */

div.status {
	background: #fff;
	padding: 5px;
	border-bottom: 1px solid #eee;
	margin-bottom: 5px;
	line-height: 1.3em;
	font-size: 12px;
}

div.status img, div.smstatus img {
	background: #eee;
	padding: 3px;
	float: left;
	margin-right: 10px;
}

div.smstatus {
	background: #fff;
	padding: 5px;
	border-bottom: 1px solid #eee;
	line-height: 1.3em;
	font-size: 12px;
}

div.smstatus img {
	float: none;
	margin-right: 4px;
}

/* help home boxes */

.homebox {
	padding: 20px;
	background: #fff;
	width: 400px;
	margin: 30px auto;
}

/* in place editor */
.inplaceeditor-form {
	display: inline;
}
.inplaceeditor-form * {
	margin-right: 0.5em;
}


/* tables default */

table td {
	padding: 3px;
}

table td.h {
	padding: 4px;
	width: 100px;
	background: #f6f6f6;
	color: #666;
}

table tr.b {
	border-bottom: 1px solid #eee;
}

table tr.odd td {
	border-bottom: 1px dotted #ccc;	
}

table tr.even td {
	border-bottom: 1px dotted #ccc;
	background: #f6f6f6;
}

#overlay {
	position: absolute;
	background: #000;
	top: 0;
	left: 0;
	z-index: 200;
}

#feedback {
	position: absolute;
	background: white;
	width: 400px;
	height: 207px;
	text-align: left;
	padding: 10px;
	border: 1px solid #ccc;
	z-index: 300;
}

#feedback_sent {
	padding: 20px;
	padding-top: 5.75em;
	background: #F6F6F6;
}

#feedback_sent h1 {
	padding-bottom: 2.75em;
}



/* BOTTOM BAR */

#bbar {
	color: #222;
	font-size: 11px;
	position: fixed;
	height: 18px;
	background: #d0d0d0 url("http://goplanapp.com/images/bbarbg.gif") repeat-x bottom left;
	/*background: #ccc;*/
	padding: 7px 10px;
	border: 1px solid #ccc;
	border-bottom: none;
	left: 10px; bottom: 0px; right: 10px;
	z-index: 1000;
}

#bbar .avatar {
	background: #777;
	padding: 1px;
	margin-right: 5px;
}

#bbar a { 
	color: #444;
	padding: 4px 5px;
	font-weight: normal;	
	background: #fff url("http://goplanapp.com/images/buttons.jpg") repeat-x bottom left;		
	border: none;
}

#bbar a:hover {
	background: #222;
	color: #eee;
}

#bbar a#bbar_stop {
	background: #333;
	color: #eee;
}

#bbar a#bbar_stop:hover {
	background: #666;
	color: #eee;
}

/* Time tracking */

#ttrack {
	position: fixed;
	color: white;
	width: 300px;
	background: #222;
	bottom: 30px;
	/*height: 110px;*/
	z-index: 900;
	right: 20px;
	padding: 15px;
	font-size: 11px;
}

#ttrack a {
	background: #444;
	color: #999;
	padding: 2px 4px;
	font-weight: normal;
}

#ttrack h1 {
	color: white;
}

#ttrack textarea {
	width: 284px;
	height: 45px;
	margin-bottom: 8px;
	background: #eee;
	padding: 8px;
	border: 0px;
}

#ttrack .errorExplanation {
	color:black;
	/* TODO: MAKE ME PRETTY ME PLEASE */
}

#ttrack .fieldWithErrors {
	display: inline;
}

#ttrack .fieldWithErrors textarea, #ttrack .fieldWithErrors input{
	/* TODO: MAKE ME PRETTY ME PLEASE */
	border: 1px solid red;
}

#ttrack label {
	display:inline;
}

#chrono {
	border: none;
	background: none;
	width: 45px;
	text-align: right;
}


/* plan card */

.plan_card {
	background: #fffccc url("http://goplanapp.com/images/card_bg.gif") repeat-x bottom left;
/*	background: #fffccc;*/
	padding: 10px;
	font-size: 11px;
	line-height: 1.6em;
}

.plan_card p {
	font-style: italic;
	font-family: Georgia, Times, "Times new roman", sans-serif;
}

.plan_card div.in {
	border: 1px solid #eabf3d;
	background: #fffeee;
	padding: 15px 10px;
}

.plan_card h2 {
	font-size: 14px;
	text-align: center;
}

.plan_card span {
	padding: 3px;
	background: #eee;
}


h2 em {
	color: #999;
	font-size: 11px;
	font-weight: normal;
}