@import "wiki.css";

.vspan-1 {height:30px;}
.vspan-2 {height:70px;}
.vspan-3 {height:110px;}
.vspan-4 {height:150px;}
.vspan-5 {height:190px;}
.vspan-6 {height:230px;}
.vspan-7 {height:270px;}
.vspan-8 {height:310px;}
.vspan-9 {height:350px;}


.align-right { text-align: right; }

.task_icon {
	padding-right:3px;
    vertical-align: middle;
}

.task_list a { 
    /*color: #333;*/
    text-decoration: none;
    display: block;
}

.full-width {
    width: 100%
    position: relative;
}

table.no-bottom-space {
    margin-bottom: -1em;
}

.task_list .marker {
}

.task_list .task-title {
    margin-left: 20px;
}

.task_list tr {
	background-color: #fbfbfb;
	vertical-align: top;
}
.task_list tr.header {
	background-color: #AFBECD;
}
.task_list tr.header a {
	color: #000;
}
.task_list tr.header a:hover {
	background-color: #80AADB;
}
.task_list tr.header td {
	font-weight: bold;
}
.task_list td {
	border-right: 1px solid #e8e8e8;
}
.task_list td.first_col {
	border-left: 1px solid #e8e8e8;
}
.task_list tr.current td {
	background-color: #D4E8FC;
	color:#000;
}
.task_list tr.root td {
	font-weight: bold;
}
.task_list tr.current td a {
	/*color:#000;*/
}
.task_list tr td {
	border-bottom: 1px solid #e8e8e8;
}
.task_list tr td.owner {
	font-weight: bold;
}
.task_list tr td.date {
	color: #999;
}
.task_list tr.desc td, .task_list tr.desc td a {
	padding: 1px;
	font-size: 12px;
	/*color: #666;*/
}

.task_list .field-priority {
    padding: 0;
    width: 18px;
    text-align: center;
}

.task_list .field-number {
    width: 20px;
}

span.done-task {
    text-decoration: line-through;
}

span.hidden-task {
    text-decoration: line-through;
    color: gray;
}

.task-tree-row {
    margin-left: 40px;
}

.task-tree-row .padding {
    display: block;
    float: left;
    width: 20px;
    margin-left: -40px;
}

.task-tree-row .marker {
    float: left;
    margin-left: -20px;
}

.task-tree-row .title {
}

table.comment_add th {
	display: none;
}
table.comment_add td {
	background: #DFEEFD none repeat scroll 0 0;
	padding: 3px;
}
table.task_edit tr {
	vertical-align: top;
}
table.task_edit td, table.task_edit th {
	background: #DFEEFD none repeat scroll 0 0;
	margin-bottom: 3px;
	padding: 3px;
	display: table-cell;
	text-align: left;
}

/*table.task_edit input[type=text], textarea {*/
	/*width: 300px;*/
/*}*/
table.task_edit input[type=submit] {
	min-width: 100px;
}
table.task_edit select {
	min-width: 100px;
}


.task_list tr.priority_1 td.first_col {
	background: #fdc;
}
.task_list tr.priority_2 td.first_col {
	background: #ffb;
}
.task_list tr.priority_3 td.first_col {
	background: #fbfbfb;
}
.task_list tr.priority_4 td.first_col {
	background: #e7ffff;
}
.task_list tr.priority_5 td.first_col {
	background: #e7eeff;
}



/* Header styles */

hr {
    height: 0.0em;;
    margin: 0;
    background: none;
}

.site-header {
    background-color: #003366;
}

.site-header, .site-header a, .site-header h1, .site-header h2 {
    color: white;
}

.site-header a {
    color: white;
    padding: 0 0.3em;
}

.site-header a:hover {
    background-color: #1D64AD;
    text-decoration: none;
}


/* Common styles */

body {
    color: #222;
}

.pipe {
    opacity: 0.6;
    padding: 0 0.2em;
}

.float-right {
    float: right;
}

.inbox {
    padding: 0em 1em;
}

a {
    color: #0033cc;
}

a:hover {
    background-color: #0033cc;
    color: white;
    text-decoration: none;
}

.button {
    margin-top: 0;
    margin-left: 0;
}

.comment {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
}

.icon-link {
    padding-left: 5px;
}

.icon-link:hover {
    background-color: inherit;
}


/* Styles for tabs */

.tab-menu {
    margin: 0;
}

.tab-menu li {
    list-style-type: none;
    float: left;
}

.tab-menu a {
    padding: 0.2em 0.7em;
    display: block;
    background-color: #1A4F85;
    margin-right: 0.2em;
    text-decoration: none;
}

.tab-menu .active a {
    color: black;
    background-color: #e5e5e5;
    font-weight: bold;
}

.tab-menu .active a:hover {
    background-color: #e5e5e5;
}

.tab-menu a:hover {
    background-color: #1D64AD;
}

.tab-menu-right {
    margin-right: -0.2em;
}

.tab-menu-2 {
	margin-top: 2px;
}

.tab-menu-2 table, .tab-menu-2 td, .tab-menu-2 a {
	margin: 0;
	padding: 0;
    color: black;
    font-weight: normal !important;
	background-color: #F8F8F8 !important;
}

.tab-menu-2 table td a {
	padding: 5px;
}

.tab-menu-2 a:hover {
    background-color: #e5e5e5 !important;
}
.site-content {
    background-color: #e5e5e5;
}

.project-archived {
	background: #F4F4F4 url(/media/img/archive.png) repeat scroll 0 0;
}


/* Site-Display block styles */

.site-display .inbox {
    background-color: white;
    position: relative;
    top: -0.4em;
    left: -0.4em;
    padding-bottom: 1em;
}

.site-display .inbox-shadow {
    background-color: #ddd;
    margin: 1em;
    margin-right: 0;
    position: relative;
    top: 0.4em;
    left: 0.4em;
}

.site-display .header {
    background-color: #edf3fe;
    margin: 0 -1em 1em -1em;
    padding: 0.1em 1em 0.1em 0.5em;
}

.site-display .header h2 {
    margin: 0 0 0.3em 0;
    font-size: 1.2em;
}

.site-display .header h2 a.active {
    background-color: #E5E5E5;
	color: #000;
	border: 1px solid #CCC;
    font-weight: bold;
	margin-top: -1px;
}

.site-display h3 {
    margin-top: 1em;
    margin-bottom: 0.5em;
}

.site-display .information {
    background-color: #f9f9f9;
    padding: 0.5em;
    border: 1px dashed #ddd;
}

/* Site-Control block styles */

.site-control .inbox {
    margin: 1em;
    padding: 0;
}

.site-control form {
    background: #f9f9f9;
    padding: 1em;
    margin-bottom: 1em;
}

.site-control form .header {
    background-color: #d0d0d0;
    position: relative;
    top: -1em;
    margin: 0 -1em;
    padding: 0.5em;
    font-weight: bold;
    color: #444;
}

.site-control .box {
    background: #f9f9f9;
    padding: 1em;
    margin-bottom: 1em;
}

.site-control textarea {
    width: 90%;
    height: 100px;
}

/* Footer styles */

.site-footer {
    padding-top: 1.5em;
    background-color: #e5e5e5;
    font-size: 0.8em;
    color: #666;
}

.site-footer .inbox {
    margin: 1em;
    padding: 0;
}

/* Forms */

form .body {
    background-color: #f5f5f5;
    padding: 1em;
    border: 1px solid #eee;
    margin-bottom: 1em;
}

.errorlist {
    margin-left: 0;
    margin-bottom: 0;
}

.errorlist li {
    list-style-type: none;
    color: red;
}

label {
    display: block;
}

input, textarea {
    display: block;
}

.flat input, .flat textarea, .flat label {
    display: inline;
}

.form-left {
    width: 70%;
    float: left;
}

.form-right {
    width: 27%;
    margin-left: 2%;
    float: left;
}

form .flat-list ul {
    margin-left: 0;
}

form .flat-list li, form .flat-list label, form .flat-list input {
    display: inline;
}

form .flat-list li {
    padding-right: 0.8em;
}

form .icon {
    position: relative;
    top: 4px;
    padding-left: 3px;
}

form .flat * {
    display: inline;
    vertical-align: middle;
}

form .flat option {
    display: block;
}

form .input-icon {
    vertical-align: middle;
    padding-right: 2px;
}

form p * {
    vertical-align: middle;
}

/* Sorting */
td.sort-field {
/*    background-color: #3a80c6;*/
}

/* Info table */
.info-table {
    margin: 0;
    border: 1px solid #f9f9f9;
}

.info-table td {
	text-align: left;
    padding: 0.3em;
}

.info-table * {
    vertical-align: middle;
}

.info-table th {
	background-color: #afbecd;
	text-align: left;
    padding: 0.3em;
    white-space: nowrap;
}

.info-table th a {
    text-decoration: none;
    color: #222222;
}

.info-table th a:hover {
    background-color: #222222;
    color: white;
}

.info-table tr:last-child td {
    border-bottom: none;
}

.info-table .controls a {
    padding-right: 0.5em;
}

.info-table .controls a:hover {
    background-color: inherit;
}

.site-display .info-table td {
    background-color: #fbfbfb;
	border-bottom: 1px solid #e8e8e8;
	border-right: 1px solid #e8e8e8;
}

.site-display .info-table td:last-child {
    border-right: none;
}

.site-display .info-table {
	border: 1px solid #e8e8e8;
}

.site-control .info-table td {
	background-color: #fff;
    border-bottom: 1px solid #e8e8e8;
    border-right: 1px solid #e8e8e8;
}

.site-control .info-table td:last-child {
    border-right: none;
}

.site-control .info-table td.key {
    width: 25%;
	background-color: #f6f6f6;
    border-bottom: 1px solid #e8e8e8;
}


/* Release */

.release-summary .release-progress {
    width: 300px;
    float: left;
    margin-right: 0.5em;
    margin-bottom: 0.5em;
}

.release-progress {
    border: 1px solid #ccc;
}

.release-summary .misc {
    float: right;
}

.release-progress .status-show {
    background-color: #fcfffc;
    float: left;
}

.release-progress .status-done {
    background-color: yellow;
    float: left;
}

.release-progress .status-closed {
    background-color: green;
    float: left;
}

/* Status form */
.status-form .column {
    float: left;
    margin: 1em;
}

form.quick-add-task .title input {
    width: 27em;
}

/* Fix strange blueprint styles */

div.border {
    border-right: none;
    padding-right: 5px;
}

div.colborder {
    border-right: none;
    padding-right: 25px; 
}

/* Quick edit styles */
.quick-edit .quick-property {
    cursor: pointer;
}

.quick-edit .quick-form, .hide-inputs .quick-form {
    display: none;
}

.quick-edit-buttons {
    display: none;
}

.small-button {
    border: 1px solid #999;
    font-size: 0.9em;
    margin-left: 0.5em;
    color: #444;
}

.site-control .quick-task-form {
    padding: 0;
}

.quick-form input , .quick-form select {
    margin: 0;
}

.quick-form input.wide {
    width: 230px;
}

.quick-edit h3 {
    margin-bottom: 0;
}

#description-div p:last-child {
	margin: 0;
}

/* Tabs */
.tabs .selectors {
    margin-bottom: 0;
}

.tabs .selectors .selector {
    border-right: 2px solid #E5E5E5;
    text-align: center;
    padding: 0;
    background-color: #EDF3FE;
}

.tabs .selectors .active a {
    background-color: #fff;
	color: #333;
	font-weight: bold;
}

.tabs .selectors .selector:last-child {
    border-right: none;
}

.tabs .selectors .selector img {
    margin-top: 3px;
    margin-bottom: -3px;
}

.tabs .selector a {
    display: block;
    text-decoration: none;
    color: #777;
    background-color: #EDF3FE;
    padding: 0.5em;
    line-height: 20px;
}

.tabs .selectors a:hover {
    background-color: #CFDEED;
}

.tabs .tab {
    display: none;
}

/* History list */
.history-list .date {
    font-weight: bold;
    color: #666;
    text-align: right;
}

.nicedit-background {
    background-color: white;
}

.lineul {
    list-style-type: none;
    overflow: hidden;
    margin: 0;
}

.lineli {
    float: left;
    margin-right: 10px;
}

.quick-form button {
    padding: 2px;
    margin: 0 0.2em;
}

/* Quick-edit release interface */
.quick-release-list li {
    list-style-type: none;
}

.quick-release-list {
    margin: 0 0 0.3em 0.5em;
}

.quick-edit-release .is-parent {
    font-style: italic;
    color: #666;
    padding-left: 0.2em;
}

.quick-release-form label, .quick-release-form input {
    display: inline;
}

.history-box {
    background-color:#FFFFFF;
    border-color:gray;
    border-style:dotted;
    border-width:1px;
    padding: 5px;
}

.history-box p {
    margin: 0;
}

.history-full-box {
    background-color:#EFEFEF;
    border-color:gray;
    border-style:dotted;
    border-width:1px;
    padding: 5px;
    display: none;
    margin-top: 10px;
}

/* datePicker */
a.dp-choose-date {
    display: none;
}

.release-list-form {
    margin-bottom: 1em;
}

.task-tree-controls {
    margin-bottom: 1em;
}

.task-tree-controls .panel {
    padding-right: 1em;
    display: inline;
}

.advanced_search_wrapper {
    float: left;
    margin-right: 20px;
}

.advanced_search_wrapper input {
    display: inline;
}

/* Project dashboard panes */
.dashboard .position-tabs {
    font-size: 1.4em;
    margin: 1em 0;
}

.dashboard .position-tabs a {
    padding-right: 0.5em;
    font-weight: bold;
}

.dashboard .user-filter {
    font-size: 1.2em;
    margin: 0.5em 0;
}

.dashboard .visibility-switch {
    font-size: 1.4em;
    margin: 1em 0;
}

.dashboard tr.release-row td {
    font-weight: bold;
    padding: 0.5em;
    padding-left: 1em;
    background-color: #dfeefd;
    font-size: 1.1em;

}

.site-display .header .left, .site-display .header .right {
    text-decoration: none; 
    display: block; 
    background-color: #508BCE; 
    padding: 1px 6px; 
    height: 20px; 
    vertical-align: middle; 
    margin-right: 5px;
    font-size: 12px;
    color: white;
}

.site-display .header .left:hover, .site-display .header .right:hover {
    background-color: #80AADB; 
}

.site-display .header .left {
    float: left; 
}

.site-display .header .right {
    float: right;
}

#quick-tooltip {
    position: absolute; 
    z-index: 100; 
    background-color: #ffffff; 
    padding: 10px; 
    border: 1px solid #eeeeee;
}

.breadcrumbs h2 {
    padding-top: 0.3em;
    text-align: right;
}

.autolink {
    text-decoration: none;
}

.sort-control {
    color: blue;
}

.history-box ins p {
    background-color: #DDFFDD;
}

.history-box del p {
    background-color: #FFDDDD;
}
