#ticket_list_head {
	background-color: silver;
}

table.ticket_list {
	border-collapse: collapse;
	border-style: solid;
	border-width: 1px;
	margin: 0.5em;
}

table.ticket_list td, table.ticket_list th {
	padding-left: 0.5em;
	padding-right: 0.5em;
}

.ticket_list_status_head {
	background-color: silver;
	border-style: solid;
	border-bottom: none;
	border-width: 1px;
	font-style: italic;
}

.ticket_list_status_body {
	border-style: solid;
	border-top: none;
	border-width: 1px;
}


table.ticket_head {
	width: -moz-calc(100% - 16em);
	width: calc(100% - 16em);
	border-width: 3px;
	border-style: solid;
	border-color: black;
}

table.ticket_head table.ticket_list {
	width: 100%;
	margin: 0;
}

table.ticket_head table.ticket_list thead#ticket_list_head,
table.ticket_head table.ticket_list [name="flags"],
table.ticket_head table.ticket_list [name="customer"],
table.ticket_head table.ticket_list [name="type"],
table.ticket_head table.ticket_list [name="last_changed"],
table.ticket_head table.ticket_list [name="deadline"] {
	display: none;
}

table.ticket_head #summary {
	width: 100%;
}

.hidden_email_header {
	display: none;
}

.ticket_log_action_links, .email_download_links {
	float: right;
}

.ticket_log_action_links > ul, .email_download_links > ul {
	padding: 0;
	margin: 0;
	display: inline;
}

.ticket_log_action_links > ul > li, .email_download_links > ul > li {
	margin: 0;
	padding-left: 0.3em;
	list-style-type: none;
	display: inline;
	border-left: solid;
	border-width: 0.2em;
}

.ticket_log_action_links > ul > li:first-child, .email_download_links > ul > li:first-child {
	border-left: none;
}

ul.ticket_logs {
	padding: 0;
	clear: both;
	margin-top: 0;
}

ul.ticket_logs > li {
	border-style: solid;
	border-width: 1px;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

ul.ticket_log_contents, ul.ticket_log_email_attachments {
	margin: 1em;
	padding: 0;
}

ul.ticket_log_contents > li, ul.ticket_log_email_attachments > li {
	border-color: silver;
	border-style: solid;
	border-width: 1px;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.ticket_log_item {
	display: none;
}

.ticket_logs_new .ticket_log_item {
	display: block;
}

pre.ticket_log_summary_content {
	white-space: pre-wrap;
}

pre.ticket_log_text_content {
	white-space: pre-wrap;
}

td.weekly_meeting_note {
	position: relative;
	width: 100%;
}

td.weekly_meeting_note pre {
	white-space: pre-wrap;
	position: absolute;
	overflow: hidden;
	height: 100%;
	margin: 0;
	padding: 0;
	top: 0;
	mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
	font-family: inherit;
}

textarea.ticket_log_text_content {
	width: 100%;
	height: 1em;
}

pre.ticket_log_quoted_text_content {
	white-space: pre-wrap;
	display: none;
}

a.ticket_log_show_quoted_text_content, a.ticket_log_hide_quoted_text_content {
	margin-left: 2em;
	margin-right: 2em;
}

a.ticket_log_hide_quoted_text_content {
	display: none;
}

.ticket_log {
	display: none;
}

ul.ticket_logs > .ticket_log_has_email_bounce {
	border-color: red;
	border-width: 2px;
}

ul.ticket_logs.ticket_log_display_bug .ticket_log_has_bug,
ul.ticket_logs.ticket_log_display_affected_sites .ticket_log_has_affected_sites,
ul.ticket_logs.ticket_log_display_annotation .ticket_log_has_annotation,
ul.ticket_logs.ticket_log_display_annotation_placeholder .ticket_log_has_annotation_placeholder,
ul.ticket_logs.ticket_log_display_email .ticket_log_has_email,
ul.ticket_logs.ticket_log_display_email_bounce .ticket_log_has_email_bounce,
ul.ticket_logs.ticket_log_display_file .ticket_log_has_file,
ul.ticket_logs.ticket_log_display_interested_parties .ticket_log_has_interested_parties,
ul.ticket_logs.ticket_log_display_merge .ticket_log_has_merge,
ul.ticket_logs.ticket_log_display_status .ticket_log_has_status,
ul.ticket_logs.ticket_log_display_subject .ticket_log_has_subject,
ul.ticket_logs.ticket_log_display_summary .ticket_log_has_summary,
ul.ticket_logs.ticket_log_display_telephone .ticket_log_has_telephone,
ul.ticket_logs.ticket_log_display_text .ticket_log_has_text {
	display: block;
}

.ticket_log_types {
	float: right;
	width: 15em;
	border-width: 1px;
	border-style: solid;
	border-color: black;
}

.ticket_log_types > ul, ul#interested_parties, ul#affected_sites {
	margin: 0;
	padding: 0;
}

.ticket_log_types > ul > li, ul#interested_parties > li, ul#affected_sites > li {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.pending_data .ticket_hide_when_pending {
	display: none;
}

.pending_data #ticket_logs_box {
	clear: both;
	background-color: #ffffcc;
	border-style: outset;
	padding: 1em;
}

.ticket_logs_box3 {
	display: none;
}

.pending_data .ticket_logs_box3 {
	display: block;
}

.ticket_logs_new {
	background-color: white;
	border-width: 1px;
	border-style: solid;
	border-color: black;
	margin-bottom: 1em;
}


.pending_data .ticket_logs_box2 {
	background-color: white;
	max-height: 25em;
	overflow: auto;
}

.cancel_button {
	float: right;
}

#work_log {
	position: fixed;
	width: 100%;
	top: 2em;
	display: none;	/* FIXME: disappear it until we've implemented it */
}

#work_log > * {
	background: #ffcccc;
	margin-left: auto;
	margin-right: auto;
	-moz-border-radius: 0.5em;
	border-radius: 0.5em;
	border-width: 1px;
	border-style: solid;
	border-color: black;
	opacity: 0.9;
	padding: 1em;
	height: auto;
	width: 25em;
	z-index: 100;
}

.save_pending_data {
	position: fixed;
	background: #ffffcc;
	top: 2em;
	right: 2em;
	-moz-border-radius: 0.5em;
	border-radius: 0.5em;
	border-width: 1px;
	border-style: solid;
	border-color: black;
	opacity: 0.9;
	padding: 1em;
	height: auto;
	max-width: 75%;
	z-index: 100;
	display: none;
}

.pending_data .save_pending_data {
	display: block;
}

.pending_data .ticket_log_action_links, .pending_data .close_button {
	display: none;
}

#upload_notification {
	position: fixed;
	background: #ffffcc;
	top: 2em;
	right: 2em;
	-moz-border-radius: 0.5em;
	border-radius: 0.5em;
	border-width: 1px;
	border-style: solid;
	border-color: black;
	opacity: 0.9;
	padding: 1em;
	height: auto;
	max-width: 75%;
	z-index: 100;
}

.wizard .done, *:not(.done) ~ .wizard_item {
	display: none;
}

.new_ticket .not_in_new_ticket {
	display: none;
}

.is_annotation .not_for_annotation,
body:not(.is_annotation) .only_for_annotation {
	display: none;
}

.no_email_warning {
	color: red;
	font-weight: bold;
	margin-left: 2em;
}

#summary_outdated {
	color: red;
	font-weight: bold;
}

#summary_outdated A {
	color: inherit;
}

#tickets_show_robots {
	float: right;
	clear: both;
}

.no_clear {
	clear: none;
}

.ticket_log_internal_note_head {
	display: none;
	font-size: 1.5em;
	text-align: center;
	text-decoration: underline;
}

.ticket_log_internal_note {
	background-color: lightgray;
}

.ticket_log_internal_note .ticket_log_internal_note_head {
	display: block;
}

#users_working_on_ticket_wrapper {
	background: #ffcccc;
	margin-left: auto;
	margin-right: auto;
	-moz-border-radius: 0.5em;
	border-radius: 0.5em;
	border-width: 1px;
	border-style: solid;
	border-color: black;
	opacity: 0.9;
	padding: 1em;
	height: auto;
	max-width: 75%;
	position: fixed;
	z-index: 50;
	right: 2em;
	top: 10em;
}

.alternate_rows tr:nth-child(even) {
	background-color: silver;
}
