#bds_issue_box {
	position: relative;
	background: #ffd;
	border: 1px solid #DDDD99;
	border-radius: 0.4em;
	margin-top: 0.2em;
	padding: 0.5em 1em;
}

#bds_issue_box.pr0 {
	border-color: #B0D2B6;
	background-color: #EEF6F0;
}
table.bez .pr0, #bds_timeline dt.pr0 {
	background-color: #EEF6F0;
}
#bds_issue_box.pr0 table, #bds_issue_box.pr0 td, #bds_issue_box.pr0 th,#bds_issue_box.pr0 h2 {
	border-color: #B0D2B6;
}

#bds_issue_box.pr1 {
	background-color: #ffd;
	border-color: #dd9;
}
table.bez .pr1 , #bds_timeline dt.pr1 {
	background-color: #ffd;
}
#bds_issue_box.pr1 table, #bds_issue_box.pr1 td, #bds_issue_box.pr1 th,#bds_issue_box.pr1 h2 {
	border-color: #dd9;
}

#bds_issue_box.pr2 {
	border-color: #F0AFAD;
	background-color: #F8E8E8;
}
table.bez .pr2 , #bds_timeline dt.pr2 {
	background-color: #F8E8E8;
}

#bds_issue_box.pr2 table, #bds_issue_box.pr2 td, #bds_issue_box.pr2 th,#bds_issue_box.pr2 h2 {
	border-color: #F0AFAD;
}

#bds_issue_box h1 {
	font-size: 1.3em;
	margin-top: 1em;
}

#bds_issue_box h1:first-child {
	margin: 0;
}
#bds_issue_box h1:first-child a:first-child {
	font-size: 1.5em;
	padding-right: 0.5em;
}

#bds_issue_box a {
}

.bez_timebox {
	position: absolute;
	top: 2px;
	right: 5px;
	font-size: 0.8em;
}

.bez_timebox span {
	display: block;	
}

#bds_issue_box table, .bds_block table {
	border-collapse:collapse;

	border:0;
	border-top: 1px solid #DDDD99;
	width: 100%;
	margin-top: 1.5em;
}

#bds_issue_box table th, .bds_block th {
}
#bds_issue_box table th, #bds_issue_box table td, .bds_block th, .bds_block td {
	border:0;
	background: none;
	border-bottom: 1px dotted #DDDD99;
	font-size: 0.8em;
}

#bds_issue_box h2 {
	font-size: 1em;
	border-bottom: 1px dotted #DDDD99;
}

.bds_block h1 {
	font-size: 1.3em;
	margin: 1em 0;
	padding-bottom: 3px;
	border-bottom: 1px solid #d7d7d7;
}

.bds_block h1 span {
	color:#999;
}

.bez_standard_block h2 {
    border-bottom: 1px solid #D7D7D7;
    box-shadow: 0.1em 0.4em 0.7em 0 #F2F2F2;
    color: #999999;
    font-size: 100%;
    font-weight: normal;
    margin-bottom: 0.5em;
    padding: 0 0.2em;
}

.bez_standard_block h2 span {
	display: block;
	float: right;
	font-size: 100%;
	color: #999;
	padding-right: 0.4em;
}

#bez_tasks .task {
	position: relative;
}

#bez_tasks h2 {
	font-size: 1.2em;
	font-weight: bold;
	color: black;
	border: 0;
    box-shadow: none;
}
#bez_tasks h2 a {
	font-size: 1.3em;
}

#bez_tasks h3 {
    border-bottom: 1px dotted #8bbcbc;
    font-size: 90%;
}

.bds_block_content > div {
	margin-bottom: 3em;
}

#bez_tasks table {
	clear:both;
	margin-top: 3em;
}

#bez_tasks table {
	clear:both;
	border-top-color: #8bbcbc;
	margin-top: 3em;
}

#bez_tasks div.task {
	background: #e4f4f4;
	border: 1px solid #8bbcbc;
	border-radius: 0.4em;
	margin-top: 0.2em;
	padding: 0.5em 1em;
}

#bez_tasks td, #bez_tasks th{
	border-bottom-color: #8bbcbc;
}

#bez_tasks .bds_edit_button {
	position:absolute;
	bottom: 0.5em;
	right: 6em;
}
#bez_tasks .bds_send_button {
	position:absolute;
	bottom: 0.5em;
	right: 0.5em;
}

/*commets*/
#bez_comments .bez_buttons {
	bottom: -1.3em;
}

#bez_comments .comment {
	position: relative;
}

/*causes*/
#bez_causes .cause {
	position: relative;
	background: #ffeedc !important;
	border-color: #ddb68d !important;
}

#bez_causes table {
	border-color: #ddb68d !important;
}

#bez_causes table td {
	border-color: #dd9447 !important;
}

#bez_causes h2 {
	font-size: 1.2em;
	font-weight: bold;
	color: black;
	border: 0;
    box-shadow: none;
}
#bez_causes h2 a {
	font-size: 1.3em;
}

#bez_causes h3 {
    border-bottom: 1px dotted #8bbcbc;
    font-size: 90%;
}

.bds_block_content > div {
	margin-bottom: 3em;
}

#bez_causes table {
	clear:both;
	margin-top: 3em;
}

#bez_causes table {
	clear:both;
	border-top-color: #8bbcbc;
	margin-top: 3em;
}

#bez_causes div.cause {
	background: #e4f4f4;
	border: 1px solid #8bbcbc;
	border-radius: 0.4em;
	margin-top: 0.2em;
	padding: 0.5em 1em;
}

#bez_causes td, #bez_causes th{
	border-bottom-color: #8bbcbc;
}

#bez_causes .bds_edit_button {
	position:absolute;
	bottom: 0.5em;
	right: 6em;
}
#bez_causes .bds_send_button {
	position:absolute;
	bottom: 0.5em;
	right: 0.5em;
}

/*end causes*/

.bez_buttons {
	position: absolute;
	bottom: 0.4em;
	right: 0.2em;
}

.bez_buttons a {
	margin-right: 1em;
	padding: 0.2em 0.5em;
}

.bez_buttons a:last-child {
	margin-right: 0;
}

.bds_inline_button {
    background: #fff;
    border: 1px solid #DDDDDD;
    border-radius: 1em;
    box-shadow: none;
	text-shadow: 0.1em 0.1em #DDDDDD;
	cursor: pointer;
    color: #808080 !important;
    font-size: 70%;
}

.bds_inline_button:hover {
    background: none repeat scroll 0 0 #F6F6F6;
    box-shadow: 0.1em 0.1em 0.6em 0 #999999;
    text-shadow: 0.1em 0.1em #FCFCFC;
	color: #fff;
	text-decoration:none !important;
}
.bez_delete_button {
    color: #808080 !important;
    font-size: 70%;
	text-decoration:underline !important;
}

.bez_delete_button:hover {
	text-decoration:none !important;
}


.bds_last_edit {
    color: #999999;
	font-size: 80%;
	margin-top: 0.8em;
	padding-left: 2.5em;
}

.bds_block li {
	color: #000 !important;
}

/*FORMS*/
.bds_block fieldset.bds_form {
	display: table;
	background: none repeat scroll 0 0 #F7F7F0;
    border: 1px solid #D7D7D7;
    border-radius: 0.4em;
    /*box-shadow: 0.1em 0.1em 1em 0 #E7E7E7 inset;*/
    margin-bottom: 1em;
	padding: 0.5em;
	width: 100%;
	text-align: left;
}

.bds_form .row {
	display: table-row;
}

.bds_form label[for] {
	display: table-cell;
    padding: 0.4em;
    text-align: right;
    vertical-align: top;
    width: 20%;
}
.bds_form span {
	display: table-cell;
    vertical-align: middle;
    width: 80%;
}

.bds_form input {
	padding: 0.25em 0.5em;
}

.bds_form textarea {
	width: 100% !important;
	height: 10em;
	display: block;
}


.bds_form input[id=title] {
	width: 30em;
}

.bds_form input[id=cost] {
	width: 7em;
}
input.days {
	width: 3em;
}

.root_cause {
	margin-bottom:0.5em;
}
.root_cause span {
	background: #ffeedc;
	padding: 0.5em;
}

#bds_timeline h2 {
    background: none repeat scroll 0 0 #F7F7F7;
    border-bottom: 1px solid #D7D7D7;
    border-radius: 0.1em;
    box-shadow: 1px 1px 0.5em 0 #CCCCCC;
    font-size: 105%;
    margin: 2em 0 0.5em;
    padding: 0.4em;
}

#bds_timeline dt {
	font-weight: normal;
}
#bds_timeline dd {
	font-weight: normal;
	margin: 0 0 0.75em 4.2em;
}

#bds_timeline dt a {
	padding: 0 4px 2px 22px;
}

#bds_timeline dt a .id {
	font-weight: bold;
}
#bds_timeline dt a:hover {
	text-decoration: none !important;
	background-color: #eee;
}

#bds_timeline dt .id {
	font-weight: normal;
}

#bds_timeline dt .time {
    color: #999999;
    font-size: 80%;
}

#bds_timeline dt .author {
    color: #666666;
}
#bds_timeline dt > a {
	background: url('images/changeset.png') no-repeat 1px 4px;
}

#bds_timeline .issue_closed > a {
	background: url('images/closedticket.png') no-repeat 1px 4px;
}

#bds_timeline .issue_created > a {
	background: url('images/newticket.png') no-repeat 1px 4px;
}

#bds_timeline .issue_rejected > a {
	background: url('images/rejectedticket.png') no-repeat 1px 4px;
}

	
#bds_timeline .task_opened > a {
	background: url('images/newtask.png') no-repeat 1px 4px;
}

#bds_timeline .task_done > a {
	background: url('images/closedtask.png') no-repeat 1px 4px;
}

#bds_timeline .task_rejected > a {
	background: url('images/rejectedtask.png') no-repeat 1px 4px;
}

#bds_timeline .cause > a {
	background: url('images/newcause.png') no-repeat 1px 4px;
}

#bds_timeline h3 {
	font-size: 1em;
	border-bottom: 1px dotted #ddd;
	margin-bottom: 0;
}

#entities_form label {
	display: block;
}

#entities_form textarea {
	display: block;
	height: 40em;
	width: 20em;
	margin-bottom: 1em;
}

#entities_form input[type=reset] {
	background: none;
	border: none;
	text-decoration: underline;
}

#entities_form input[type=reset]:hover {
	text-decoration: none;
}

#bez_removal_confirm {
	max-width: 15em;
	background: #f7F7F0;
	border: 1px solid #D7D7D7;
	border-radius: 0.4em;
	box-shadow: 0.1em 0.1em 1em 0px #E7E7E7 inset;
	margin: 1em 0px;
	padding: 0.5em;
	width: 100%;
	text-align: left;
}

#bez_report_issue_button {
    background: url("images/addticket.png") no-repeat 4px 50% #fafafa;
}

#bez_info_issues {
    background: url("images/newticket.png") no-repeat 4px 50% #fafafa;
}

#bez_info_tasks {
    background: url("images/newtask.png") no-repeat 4px 50% #fafafa;
}

#bez_info_proposals {
    background: url("images/newticket.png") no-repeat 4px 50% #fafafa;
}

.bez_start_button {
	border: 1px solid #eee;
	border-radius: 0.3em;
	color: #222 !important;
	padding: 0.7em 0.7em 0.6em 24px;
	text-shadow: 0.1em 0.1em #FCFCFC;
	cursor: pointer;
}

.bez_start_button:hover {
	background-color: #fcfcfc;
	border: 1px solid #bbb;
	text-decoration: none !important;
}

#bez_info {
	text-align: center;
	margin-top: 15px;
}

#bez_info a {
	margin-left: 2em;	
}

#bez_info a:first-child {
	margin-left: 0;	
}

#bez_version {
	position: relative;
}
#bez_version div {
	position:absolute;
	font-size: 90%;
	top: -18px;
	left: -18px;
}

#bez_8d_send_button {
	font-size: 50%;
	font-weight: normal;
}

.bez_sumarise {
	border: 0;
}

.bez_sumarise tr:last-child th {
	background-color: transparent;
	border-left: 0;
	border-right: 0;
}

.bez_sumarise tr:last-child td {
	border-left: 0;
	border-right: 0;
}

h1.bez_report span {
	display:block;
	font-size: 50%;
	font-weight: normal;
}

.bez_filter_form {
	background-color: #F7F7F0;
    border: 1px solid #D7D7D7;
    border-radius: 0.4em;
    margin-bottom: 1em;
	text-align: left;
	display:block;
}

.bez_filter_form fieldset {
	border: 0 !important;
}

.bez_filter_form div {
	white-space: nowrap;
	overflow: auto;
	text-align: left;
	margin-bottom: 1em;
}

.bez_filter_form label {
	margin-right: 0.4em;
}

/*NEW FORM */

form.bez_form > fieldset {
	display: table;
	background: none repeat scroll 0 0 #F7F7F0;
    border: 1px solid #D7D7D7;
    border-radius: 0.4em;
	text-align: left;
	width: 98.5%;
	margin-bottom: 1em !important;
}

form.bez_cause_form > fieldset {
	background: #ffeedc !important;
	border-color: #ddb68d !important;
}

form.bez_task_form > fieldset {
	background: #e4f4f4 !important;
	border-color: #8bbcbc !important;
}

.bez_form .row {
	display: table-row;
}

.bez_form label[for] {
	display: table-cell;
    padding: 0.4em;
    text-align: right;
    vertical-align: top;
    width: 200px;
}
.bez_form span {
	display: table-cell;
    vertical-align: middle;
    width: 80%;
}

.bez_form input {
	padding: 0.25em 0.5em;
}

.bez_form a {
	margin-left: 1em;
}

.bez_form textarea {
	width: 100% !important;
	height: 10em;
	display: block;
}


.bez_form input[id=title] {
	width: 30em;
}

.bez_form input[id=cost] {
	width: 7em;
}
input.days {
	width: 3em;
}

.rr h3 {
	font-size:inherit;
	font-weight: normal;
}

.rr table {
	table-layout:fixed;
}

.rr th {
	width: 33%;
}
