/*********** Primary Tags **************/
body {
	color: black;
	background: white;
	font-size: 10px;
	font-family: Verdana, Arial, sans-serif;	
}

h1, #header h1 {
	color: black;
	background: white;
	padding: 0;
	font-size: 18px;
	font-weight: bold;
	font-family: Verdana, Arial, sans-serif;
}

h2 {
	color: black;
	font-size: 14px;
	font-weight: bold;
	font-family: Verdana, Arial, sans-serif;
}

h3 {
	color: black;
	font-size: 12px;
	font-weight: bold;
	font-family: Verdana, Arial, sans-serif;
}

h4 {
	color: black;
	font-size: 10px;
	font-weight: bold;
	font-family: Verdana, Arial, sans-serif;
	margin-bottom: 0;
}

a {
	color: #020d4f;
}

a:hover {
	color: #cc0000;
}

dt {
	width: 200px;
}

dd {
	margin-left: 200px;
}

hr {
	height: 1px;
	background-color: #ccc;
	border: 0;
	margin: 5px 0;
}

/*********** Header *************/
#header {
	padding: 10px;
}

#welcome {
    display: inline-block;
	position: relative;
	top: -20px;
	left: 760px;
}

/*********** Tables *************/
.filter_table {
	border: 1px solid black;
}

table.filter_table td {
	border-width: 0px;
}

table {
	width: auto;
	color: #000;
}

table.kms_table tr td {
	padding: 3px;
}

table.kms_table, tr, th, td {
	border-collapse: collapse;
}

table.kms_table td, table.kms_table th {
	border: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

table.kms_table th {
	text-align: center;
	background-color: #f0f8ff;
}

tr.pending_purchase,
table tr.pending_purchase:nth-child(even),
table tr.pending_purchase:nth-child(odd),
table.dataTable tbody tr.pending_purchase, 
table.dataTable.stripe tbody tr.odd.pending_purchase,
table.dataTable.stripe tbody tr.even.pending_purchase {
    background-color: pink;
}

.totals th {

}

/*********** Edit Property Columns **************/

.edit-container {
    display: inline-block;
    padding: 0;
    margine: 0;
}

.edit_col1 {
	display: inline-block;
	vertical-align: top;
	width: 250px;
	padding: 3px;
}

.edit_col2 {
	display: inline-block;
	vertical-align: top;
	width: 350px;
	padding: 3px;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	min-height: 180px;
}

.edit_col_tall {
   min-height: 515px; 
}

.edit_col3 {
	display: inline-block;
	vertical-align: top;
	width: 250px;
	padding: 3px;
}

.edit_col4 {
    display: inline-block;
    vertical-align: top;
    width: 250px;
    padding: 3px;
}

.edit_instructions {
	font-weight: bold;
	margin-botton: 5px;
}

.inline_totals {
	display: inline-block;
	text-align: center;
	font-weight: bold;
	margin-right: 18px;
}

.paid {
	color: red;
	font-weight: bold;
}

/*********** Buttons/jQuery UI Widgets **************/

.button {
	margin-right: 50px;
}

.ui-button {
	margin-right: 5px;
	margin-bottom: 5px;
	width: auto;
}

.button:hover {
	color: white;
}

.ui-button .ui-button-text {
	line-height: 12px;
	color: #fff;
}

.ui-widget {
	font-size: 11px;
}

/************ Form Elements **************/

form {
	margin: 0;
}

form div {
	margin-bottom: 0px;
	padding: 3px;
}

input, textarea {
	clear: none;
	font-size: 10px;
	font-family: Verdana, Arial, sans-serif;
	padding: 3px 1px 3px 3px;
	width: 200px;
}

label {
	display: inline-block;
	vertical-align: top;
	font-size: 10px;
	width: 100px;
	margin-right: 5px;
}

select {
	clear: none;
	font-size: 10px;
	font-family: Verdana, Arial, sans-serif;
	padding: 3px 1px 3px 3px;
	width: auto;
}

select[multiple="multiple"] {
	width: auto;
}

input[type="checkbox"] {
	margin: 0px 6px 0px 2px;
}

.date_input {
	width: 80px;
	font-size: 10px;
}

.short_form_div {
	display: inline-block;
}

.short_form_div > input, .short_form_div select {
	width: 50px;
	margin-right: 25px;
}

.short_label > label {
	width: 40px;
}

.money_div > input {
	width: 100px;
	text-align: right;
}

.partner_loan {
	padding: 15px 0px 7px 20px; 
	margin-bottom: 10px; 
	border: 1px solid black;
}

#unsaved_changes {
	display: none;
	color: red;
	position: relative;
	top: -2px;
	left: 70px;
	padding: 2px 40px;
	border: 1px solid red;
	z-index: 0;
}

input[type="radio"] {
	float: none;
	margin: 2px 0;
	line-height: 10px;
}

ul.filter_radio, ul.filter_radio li{
	list-style-type: none;
	padding: 0px;
	margin: 0px;
}

ul.filter_radio li label {
	margin: 0 0 3px 5px;
	position: relative;
	top: 3px;
	width: auto;
}

/********** General Cake Overrides *************/

.related {
	margin-top: 50px;
}

#content {
	padding: 10px;
	min-width: 900px;
}

.center {
	text-align: center;
}

.right {
	text-align: right;
}

/************ multi-select modal widget *************/

.multiSelectContainer label {
    font-size: 14px;
    width: 100%;
}

.multiSelectColumn {
    display: inline-block;
    vertical-align: top;
    margin-right: 20px;
}

.num-selected {
    padding: 0;
    margin-top: 5px;
    margin-bottom: 13px;
}

.ui-dialog-buttonset {
    width: 100%;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

/************ saved searches modal *************/

div#saved_searches {
   border: 1px solid black;
   padding: 10px;
}

.saved-searches-section {
    font-size: 14px !important;
    padding-right: 20px;
    margin-bottom: 20px;
}

.saved-searches-section hr {
    width: 110%;
}

.saved-searches-column {
    display: inline-block;
    vertical-align: top;
    margin-right: 20px;
}

/************ custom tooltips *************/
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: -70px;
    /* margin-left: -60px; */
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.warning {
    color: red;
    margin-left: 30px;
    font-size: 14px;
    font-weight: bold;
}

/*********** DataTables overrides ***************/

.dataTables_filter label {
    min-width: 300px !important;
}

/*********** Audit Logs ***************/

div.auditlog_label {
    font-weight: bold;
    display: inline-block;
    width: 20%;
    margin-right: 5px;
    vertical-align: top;
}

div.auditlog_update {
    display: inline-block;
    width: 38%;
    margin-right: 5px;
    vertical-align: top;
}

div.auditlog_create {
    display: inline-block;
    width: 78%;
    margin-right: 5px;
    vertical-align: top;
}
