h2 {
	clear: both;
}
h2 a {
	margin-left: 15px;
	font-weight: normal;
	font-size: 12px;
}
.nowrap {
	white-space: nowrap;
}
.button { 
	background: #F3F3F3;
	border: 1px solid #CCC;
	margin: 2px 3px;
	padding: 0 4px;
	white-space: nowrap;
}
.buttons {
	margin: 15px 0;
}
.buttons a {
	margin-right: 15px;
}
.buttons input, .buttons button, .buttons .button, .buttons .workflow-button {
	margin: 0 10px 0 0;
}
.dl-0 { color: #008800; font-weight: bold; }
.dl-1 { color: #886600; font-weight: bold; }
.dl-2 { color: #cc0000; font-weight: bold; }
ul {
	padding-left: 13pt;
	margin-left: 0pt;
}
.workflow-button {
	padding: 2px 6px;
	border: 1px solid #CCC;
	background: #EEE;
	font-weight: bold;
}
.workflow-button:hover {
	background: #CCC;
	border: 1px solid #AAA;
	text-decoration: none;
}
.workflow-button:focus {
	text-decoration: none;
}
.email-preview {
	margin: 15px 0;
	padding: 5px;
	border: 1px solid #CCC;
	white-space: pre-wrap; 
	word-wrap: break-word; 
	font-family: monospace;
	color: #333;
}
.ui-widget-overlay {
	opacity: 0.3;
}
.dataTables_wrapper, .formTable {
	margin: 15px 0;
}
.dataTables_wrapper table.formTable {
	margin: 0;
	border-right: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	box-sizing: border-box;
}
.dataTables_wrapper .formTable th {
	padding: 7px 18px 7px 7px;
	border-bottom: none;
}
.dataTables_wrapper .formTable td {
	padding: 7px;
}
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
	color: #666;
}
.dataTables_wrapper .dataTables_filter {
   margin-bottom: 5px;
}
.dataTables_wrapper .dataTables_paginate {
   margin-top: 2px;
}
.dataTables_empty li {
	list-style: inherit;
}
.formTable th.caption {
    padding-top: 12px;
    padding-bottom: 12px;
}
.formTable th .info {
	margin-left: 2px;
	font-weight: normal;
}
.formTable td .cp_amount {
	margin: 5px 0;
}
.formTable .nested {
	padding: 0;
}
.formTable .nested th, .formTable .nested td {
	border: 1px solid #EEE;
}
.table-groups .group th .clickable {
	padding-left: 16px;
	background: url('/misc_/StaticFiles/poa-images/plus.png') no-repeat left center;
	cursor: pointer;
	color: #1478B7;
}
.table-groups .expanded th .clickable {
	background-image: url('/misc_/StaticFiles/poa-images/minus.png');
}
.formTable .template, .table-groups .template {
	display: none !important;
}
.comment-view {
	margin: 15px 0;
	border-bottom: 1px solid #CCC;
}
.comment-view input {
	vertical-align: middle;
}
.comment-form {
	border: none;
	border-collapse: collapse;
}
.comment-form th, .comment-form td {
	padding: 5px 0;
	vertical-align: top;
}
.comment-form td input, .comment-form td textarea {
	margin-top: 4px;
}
.comment-form p {
	margin: 0;
	padding: 3px 0;
}
.comment-form .error {
	font-weight: bold;
	color: #C00;
}
.comment-form td.error {
	padding: 5px 0 0 0;
}
.cpa-controls {
    margin-top: 0;
    margin-bottom: 10px;
}
.cpa-controls input[type=button] {
    margin-right: 10px;
}
#cpa-selector-wrapper {
	position: relative;
}
#cpa-selector-wrapper p {
	margin: 10px 0;
}
#cpa-selector {
    display: none;
    background: white;
    border: 1px solid silver;
    padding: 1em;
    position: fixed;
    bottom: 10%;
    left: 30%;
    max-height: 80%;
    max-width: 60%;
    overflow: auto;
}
#cpa-selector #close-cpa-selector {
	position: relative;
    float: right;
    margin-left: 0.5em;
    z-index: 9999;
}
#cpa-selector .dataTables_wrapper {
	clear: none;
	margin: 0;
}
#cpa-selector .dataTables_filter {
    float: left;
    margin-bottom: 1ex;
    text-align: left;
}
#cpa-selector td {
    cursor: pointer;
}
#selected-cpas:after {
    content: "";
    display: table;
    clear: both;
}
.cpa {
    background: #F3F3F3;
    border: 1px solid white;
    border-radius: 6px;
    float: left;
    margin: 0 10px 5px 0;
    padding: 4px;
}
#selected-cpas .cpa span {
    margin-right: 5px;
}
#selected-cpas .cpa > .remove-cpa-button {
    border: none;
    cursor: pointer;
    padding: 0 2px;
    background: none;
}
#cpa-selector .booked td, .booked  {
    background-color: #FFCCBD;
}
#tab-container .tabs {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #666;
	white-space: nowrap;
}
#tab-container .tabs li {
	display: inline-block;
	margin-right: 3px;
	border: 1px solid #CCC;
	border-bottom: none;
	background: #F3F3F3;
	font-weight: bold;
	zoom: 1;
	-moz-border-radius: 4px 4px 0 0;
	-webkit-border-radius: 4px 4px 0 0;
}
#tab-container .tabs li a {
	display: block;
	padding: 5px 12px;
	text-decoration: none;
}
#tab-container .tabs li a:hover {
	text-decoration: none;
}
#tab-container .tabs li.active {
	position: relative;
	top: 1px;
	border-color: #666;
	background: white;
	font-size: 13px;
}
#tab-container .tabs li.active a {
	cursor: default;
	padding-top: 7px;
	color: #666;
}
.confirm-fee td.amount {
	text-align: right;
	font-weight: bold;
	color: red;
}
.confirm-fee span.amount {
	font-size: x-large;
	font-weight: bold;
	color: red;
}
.confirm-fee input.cb {
	vertical-align: middle;
}
.confirm-fee p {
	margin: 5px 0;
}
.confirm-fee .declaration {
	font-style: italic;
}
