/* TNM Custom Smart Style */
body.smart-style-tnm nav ul li {
	position: relative;
}
body.smart-style-tnm {
	background: #fff;
}
html.smart-style-tnm {
	background: #fff;
}
.smart-style-tnm #header {
	background: #ff8b00; /* Old browsers */
	background: -moz-linear-gradient(top,  #ff8b00 0%, #ff6a00 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff8b00), color-stop(100%,#ff6a00)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ff8b00 0%,#ff6a00 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ff8b00 0%,#ff6a00 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ff8b00 0%,#ff6a00 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ff8b00 0%,#ff6a00 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff8b00', endColorstr='#ff6a00',GradientType=0 ); /* IE6-9 */
	border: 0px;
}
.smart-style-tnm .fixed-header #header {
	border: 0px;
}
.smart-style-tnm #header #logo-group {
	background: white;
}
.smart-style-tnm #header #logo-group #hide-menu {
	display: inline-block;
    float: left!important;
}
.smart-style-tnm #header #logo-group #hide-menu span a {
	margin: 7px 0px 0px 0px;
}
.smart-style-tnm #header #logo-group #hide-menu span a i {
	margin-top: 5px;
}
.smart-style-tnm #header #logo-group #logo {
    width: 130px;
}
.smart-style-tnm .header-dropdown-list>li>.dropdown-toggle {
	color: white;
}
.smart-style-tnm .btn-header>:first-child>a {
	background: white;
	transition: 0.5s;
	-webkit-transition: 0.5s;
}
.smart-style-tnm .btn-header>:first-child>a:hover {
	color: #ff6a00;
}
.smart-style-tnm aside {
	background: #f3f1ed;
	border-right: 1px solid #eae6de;
}
.smart-style-tnm .login-info {
	border: 0px;
	height: 41px;
	position: relative;
}
.smart-style-tnm .login-info a {
	color: #787878;
	margin: 0px;
	padding: 10px 10px 10px 11px;
	transition: 0.5s;
	-webkit-transition: 0.5s;
}
.smart-style-tnm .agent_id_display {
    padding: 0 0 3px 15px; 
    background: #e2e2e2;
}
.smart-style-tnm .agent_id_display .micetext{
    color: #757575
}
.smart-style-tnm .login-info a:hover {
	color: #ff6a00;
}
#logout {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
}
.smart-style-tnm nav ul li a {
	color: #787878;
	transition: 0.5s;
	-webkit-transition: 0.5s;
}
.smart-style-tnm nav ul li a:hover {
	color: #ff6a00;
}
.smart-style-tnm nav ul .active>a {
	color: #ff6a00!important;
}
.smart-style-tnm nav ul li ul li.active>a {
	background-color: #4C4F53!important;
}
.smart-style-tnm nav ul li.open>a, .smart-style-tnm nav ul li.open>a b {
	color: #787878!important;
}
.smart-style-tnm nav ul li ul li.open>a {
	color: #fff!important;
}
.smart-style-tnm nav ul li ul li a {
	color: #ffffff!important;
}
.smart-style-tnm nav ul li ul li a:hover {
	color: #ff6a00!important;
}
.smart-style-tnm .page-footer {
	background: white;
	border-top: 1px solid #eae6de;
}
.smart-style-tnm .txt-color-blueLight {
	color: #6D6C6C!important;
}
.smart-style-tnm .txt-color-white {
	color: #6D6C6C!important;
}
.smart-style-tnm .txt-color-white a {
	color: #6D6C6C!important;
}
.smart-style-tnm .txt-color-white .fa-link {
	color: white!important;
}
.smart-style-tnm .txt-color-white .caret {
	color: white!important;
}
.smart-style-tnm .txt-color-white .dropdown-toggle {
	background-color: silver!important;
}
.smart-style-tnm #ribbon {
	background: white;
	border-bottom: 1px solid #eae6de;
}
.smart-style-tnm #ribbon .breadcrumb, .smart-style-tnm #ribbon .breadcrumb a {
	color: #6D6C6C!important;
}
.smart-style-tnm #ribbon .breadcrumb li:last-child, .smart-style-tnm #ribbon .breadcrumb>.active {
	color: #333!important;
}
.smart-style-tnm .btn-primary {
	color: #fff;
	background-color: #ff6a00;
	border-color: #dc5b00;
}
.smart-style-tnm .btn-primary:hover, .smart-style-tnm .btn-primary:focus {
    background-color: #9c4702;
}
.btn-default:not(.btn-lg, .btn-sm, .btn-xs) {
	padding: 0px 15px;
	margin: 0px 3px 3px 0px;
}
.smart-style-tnm .btn-inactive {
	color: #eee;
    background-color: #999;
    border-color: #777;
    cursor: default;
}
.smart-style-tnm .btn-inactive:disabled {
    cursor:not-allowed;
}
.smart-style-tnm .pagination>.active>a, .smart-style-tnm .pagination>.active>a:focus, .smart-style-tnm .pagination>.active>a:hover, .smart-style-tnm .pagination>.active>span, .smart-style-tnm .pagination>.active>span:focus, .smart-style-tnm .pagination>.active>span:hover {
	background-color: #ff6a00;
	border-color: #dc5b00;
}
label.input.disabled i, label.input.disabled input {
	color: #CCC;
	border-color: #DDD;

}
label.input.disabled input.valid {
	color: #CCC;
    border-color: #DDD;
    background: none;
}
div.legend {
	margin: 5px 0px 20px 0px;
}
div.legend strong {
	margin-right: 5px;
}
div.legend p {
	margin: 0px 15px 0px 0px;
	display: inline-block;
}
div.legend p span {
	display: inline-block;
	width: 12px;
	height: 12px;
	border: 1px solid #ccc;
	margin-left: 5px;
}
div.legend p span.green {
	background: #c6ffb7
}
div.legend p span.blue {
	background: #b7c3ff;
}
div.legend p span.yellow {
	background: #fff7b7;
}
tr.green {
	background: #c6ffb7;
}
tr.blue {
	background: #b7c3ff;
}
tr.yellow {
	background: #fff7b7;
}
tr td.print-only * {
	display: none;
}
@media only screen and (max-width: 479px) and (min-width: 320px) {
	#logo-group {
		width: 179px!important;
	}
}

.smart-form-inline-button {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	float: right;
	height: 31px;
	margin: 10px 0 0 5px;
	padding: 0 22px;
	font: 300 15px/29px 'Open Sans',Helvetica,Arial,sans-serif;
	cursor: pointer;
}

.smart-form.compact fieldset {
	padding: 10px 10px 5px 10px;
}
.smart-form.compact .row {
	margin: 0 -10px;
}
.smart-form.compact section {
	margin-bottom: 10px;
}
.smart-form.compact .col {
	padding-left: 10px;
	padding-right: 10px;
}
.smart-form.compact footer {
	padding: 0px;
}
.smart-form.compact footer fieldset {
	background: none;
}
.smart-form.compact footer .btn {
	width: 100%;
	display: block;
	margin: 0px 0px 0px 5px;
}

.smart-form .state-error .cke {
    border: 1px solid #A90329;
}

/* Custom Style for Dynamic widget headers (remove H2 tag from jarvis widget header and add this class to the header) */
.widget-header-dynamic {
	color: inherit;
	height: 100%;
	width: auto;
	display: inline-block;
	font-size: 14px;
	position: relative;
	margin: 0;
	line-height: 34px;
	letter-spacing: 0px;
	margin-left: 15px;
	float: left;
}

/* Modal Styles */
.modal-wide .modal-dialog {
	width: 95%; /* Extra wide Modal */
}

.modal-super-wide .modal-dialog {
	width: 95%; /* Super wide Modal */
}

/* Deal Email Widget Styles */
.inbox-data-date {
	width: 180px;
}

/* THINK Formula Styles */
.formula {
	display: none;
}

.formula input {
	width: 75%;
}

.formual button {
	width: 25%;
}

.cell {
	cursor: pointer;
}

.base_rate, .base_bps {
	background-color: yellow;
	font-weight: bold;
}

/* Reports Styles */
.report-datepicker {
	width: 125px !important;
}

.report-datetimepicker {
    width: 250px !important;
}

.summary-row {
	border-top: 2px solid #ddd !important;
}

.accounting {
	font-family: 'Inconsolata', monospace;
	font-size: 15px;
	text-align: right;
}

/* Flip 'Today' and Current selected date highlights */
.ui-datepicker td .ui-state-highlight {
	background-color: #ebebeb;
	color: gray;
	text-shadow: none;
}

.ui-datepicker td .ui-state-active {
	background-color: #ff6a00;
	color: #fff;
}

/* General databales ellipsis */
.dataTable th.ellipsis, .dataTable td.ellipsis {
	max-width: 200px;
	min-width: 70px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dataTables_wrapper .dt-toolbar-footer #totals {

}

.dataTables_wrapper .dt-toolbar-footer #totals #urgent {

}

.dataTables_wrapper .dt-toolbar-footer #totals #urgent > span {
    padding-left: 6px;
    font-weight: bold;
}

.dataTables_wrapper .dt-toolbar-footer #totals #stale {

}

.dataTables_wrapper .dt-toolbar-footer #totals #stale > span {
    padding-left: 6px;
    font-weight: bold;
}

/* Users datatable row colours */
.table-hover > tbody > tr.datatable-inactive > td, .table-hover > tbody > tr.dead > td {
    background-color: #E9E9E9 !important;
}
.table-hover > tbody > tr.datatable-inactive:hover > td, .table-hover > tbody > tr.dead:hover > td {
    background-color: #F0F0F0 !important;
}
/* My Deals datatable row colours*/
.table-hover > tbody > tr.pre-approval > td, .table-hover > tbody > tr.conditional > td {
    background-color: #ffc184 !important;
}
.table-hover > tbody > tr.pre-approval:hover > td, .table-hover > tbody > tr.conditional:hover > td {
    background-color: #ffae5f !important;
}

.table-hover > tbody > tr.broker-complete > td, .table-hover > tbody > tr.closed > td {
    background-color: #90df90 !important;
}
.table-hover > tbody > tr.broker-complete:hover > td, .table-hover > tbody > tr.closed:hover > td {
    background-color: #80d180 !important;
}

.table-hover > tbody > tr.response-received > td, .table-hover > tbody > tr.closed > td {
    background-color: #90df90 !important;
}
.table-hover > tbody > tr.response-received:hover > td, .table-hover > tbody > tr.closed:hover > td {
    background-color: #80d180 !important;
}

.table-hover > tbody > tr.entered-into-velocity > td {
    background-color: #9dd9ec !important;
}
.table-hover > tbody > tr.entered-into-velocity:hover > td {
    background-color: #89c9de !important;
}

.table-hover > tbody > tr.obsolete > td {
    background-color: #edd99d !important;
}
.table-hover > tbody > tr.obsolete:hover > td {
    background-color: #dbc991 !important;
}

.table-hover > tbody > tr.approved-waiting-on-client > td, .table-hover > tbody > tr.looking > td {
    background-color: #fffbbf !important;
}
.table-hover > tbody > tr.approved-waiting-on-client:hover > td, .table-hover > tbody > tr.looking:hover > td {
    background-color: #ede9a3 !important;
}

.table-hover > tbody > tr.approved-waiting-on-lender > td, .table-hover > tbody > tr.looking > td {
    background-color: #fffbbf !important;
}
.table-hover > tbody > tr.approved-waiting-on-lender:hover > td, .table-hover > tbody > tr.looking:hover > td {
    background-color: #ede9a3 !important;
}

.table-hover > tbody > tr.approved-waiting-on-broker > td, .table-hover > tbody > tr.looking > td {
    background-color: #fffbbf !important;
}
.table-hover > tbody > tr.approved-waiting-on-broker:hover > td, .table-hover > tbody > tr.looking:hover > td {
    background-color: #ede9a3 !important;
}

.table-hover > tbody > tr.submitted > td, .table-hover > tbody > tr.firm > td {
    background-color: #f2afaf !important;
}
.table-hover > tbody > tr.submitted:hover > td, .table-hover > tbody > tr.firm:hover > td {
    background-color: #e59999 !important;
}

.table-hover > tbody > tr.on-hold > td, .table-hover > tbody > tr.firm > td {
    background-color: #ccc !important;
}
.table-hover > tbody > tr.on-hold:hover > td, .table-hover > tbody > tr.firm:hover > td {
    background-color: #bbb !important;
}

/* Rates datatable row colours */
.table-hover > tbody > tr.title > td {
	color: #FFF !important;
	background-color: #4C4F53 !important;
	font-weight: bold;
}

.table-hover > tbody > tr.priority > td {
	background-color: #dff0d8 !important;
	font-weight: bold;
}
.table-hover > tbody > tr.priority:hover > td {
	background-color: #cff0c8 !important;
	font-weight: bold;
}

/* Login Related */

#custom-lock {
	background: #ff8b00; /* Old browsers */
	background: -moz-radial-gradient(center, ellipse cover,  #ff8b00 41%, #ff6a00 100%); /* FF3.6+ */
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(41%,#ff8b00), color-stop(100%,#ff6a00)); /* Chrome,Safari4+ */
	background: -webkit-radial-gradient(center, ellipse cover,  #ff8b00 41%,#ff6a00 100%); /* Chrome10+,Safari5.1+ */
	background: -o-radial-gradient(center, ellipse cover,  #ff8b00 41%,#ff6a00 100%); /* Opera 12+ */
	background: -ms-radial-gradient(center, ellipse cover,  #ff8b00 41%,#ff6a00 100%); /* IE10+ */
	background: radial-gradient(ellipse at center,  #ff8b00 41%,#ff6a00 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff8b00', endColorstr='#ff6a00',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
#custom-lock body {
	background: none;
}
.login-modal-inner {
	margin: 0px auto;
	max-width: 400px;
	width: 100%;
	background: white;
	padding: 15px;
	-webkit-box-shadow: 0px 5px 14px 2px rgba(50, 50, 50, 0.35);
	-moz-box-shadow: 0px 5px 14px 2px rgba(50, 50, 50, 0.35);
	box-shadow: 0px 5px 14px 2px rgba(50, 50, 50, 0.35);
	margin-top: 100px;
	border-radius: 4px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;

}
.login-modal-inner .login-logo {
	width: 206px;
	margin: 0px auto;
}
.login-modal-inner .login-logo img {
	margin-bottom: 15px;
	width: 206px;
	height: 42px;
}
.login-modal-inner input {
	width: 100%;
	margin-bottom: 15px;
	padding: 15px;
	border-radius: 4px;
	border: 1px solid #bababa;
}
.login-modal-inner input.error {
	border-color: #F00;
}
.login-modal-inner input[type="submit"] {
	background: #ff7007;
	color: white;
	border: none;
	text-transform: uppercase;
	font-size: 120%;
	font-weight: bold;
}
.login-modal-inner input[type="submit"]:disabled {
	background: #999;
	color: white;
	border: none;
	text-transform: uppercase;
	font-size: 120%;
	font-weight: bold;
	cursor: not-allowed;
}
.login-modal-inner .forgot-password-link {
	text-align: right;
}
.login-modal-inner #authMessage {
	margin-bottom: 15px;
	color: #ff4d4d;
	font-weight: bold;
}
.login-modal-inner p {
	margin: 0px 0px 15px 0px;
}
.login-modal-inner #logo-2fa {
	text-align: center;
	margin: 8px;
	color: #999;
}

#forgot-password-inner {
	display: none;
}

div.row.auth-key-row {
	display: flex;
    align-items: center;
    margin-bottom: 8px;
}

div.row.auth-key-row:nth-of-type(odd) {
	background-color: #f9f9f9;
}

@media handheld, only screen and (max-width: 400px) {
	.login-modal-inner {
		border-radius: 0px;
		margin-top: 0px;
	}
}

/* Divided Bar Graph Styles */
div.divided_bar_graph div.bar {
    display: flex;
    padding: 10px;
}

div.divided_bar_graph div.bar > span {
    height: 15px;
    display: inline-block;
    float: left;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO+ip1sAAAAASUVORK5CYII=); /* 1px white PNG to separate */
    background-repeat: repeat-y;
}

div.divided_bar_graph div.bar > span:first-child {
    background-image: none;
}

div.divided_bar_graph div.graph_legend {
    padding: 0 10px;
}

div.divided_bar_graph div.graph_legend > div {
    display: flex;
}

div.divided_bar_graph div.graph_legend > div > div {
    display: flex;
    padding: 0 10px 10px 0;
}

div.divided_bar_graph div.graph_legend > div > div > span:first-child {
    width: 20px;
    height: 20px;
}

div.divided_bar_graph div.graph_legend > div > div > span:last-child {
    padding: 0 10px;
}

div.divided_bar_graph div.notes {
    display: flex;
    padding: 0 10px;
}

div.divided_bar_graph div.notes > span {
    padding: 0px 10px 10px 0px;
}

#createClosingInstructionsBtn {
	margin-top: 15px;
}

/* Document review styles */
input.editable-section {
    border-width: 1px;
    padding: 1px 0px 1px 3px;
    color: #000;
    font-weight: normal;
}
.btn.save-custom-section {
    padding-top: 1px;
    padding-bottom: 1px;
    margin: 0;
    display: none;
}

.cell-note {
	color: gray;
    margin-right: 10px;
    vertical-align: middle;
}

.inline-checkbox {
	float: right;
	padding: 13px 20px 0px 20px;
}
.inline-checkbox .label {
	display: inline-block;
    margin-right: 6px;
}
.inline-checkbox .checkbox {
	display: inline-block;
    vertical-align: baseline;
}

.table tr.do-not-collect {
    background: #ddd;
}

.table tr.do-not-collect td {
	border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.courtesy-agent-required {
	display: none;
}
.courtesy-agent-required.active {
	display: block;
}
.agent-required {
	display: none;
}
.agent-required.active {
	display: block;
}
.clearfix:after {
   content: " "; /* Older browser do not support empty content */
   visibility: hidden;
   display: block;
   height: 0;
   clear: both;
}

/* Deal Costs Wrapper */
.deal-costs-wrapper {
    overflow: hidden;
    background-color: #f9f9f9;
    padding: 15px;
    border: 1px solid #dddddd;
    border-radius: 4px;
}
.deal-costs-wrapper .deal-cost-row input {
    margin-bottom: 1px;
}
.deal-costs-wrapper .deal-cost-row.negative input {
    border: 1px solid #e59999 !important;
}

.deal-costs-wrapper .deal-cost-row.positive input {
    border: 1px solid #80d180 !important;
}



/* Deal Claim Widget */
#thinker_claim_widget {
    background: #f9f9f9;
    border: 2px solid #dddddd;
    padding: 30px 30px 30px 30px;
    font-weight: bold;
    display: flex;
    margin: 0px 0px 30px 0px;
}
#thinker_claim_widget .left {
    padding: 0px 30px 0px 0px;
    width: 50%;
    width: calc(50% - 30px);
}
#thinker_claim_widget .left.justify-centre {
    flex-grow: 1;
    text-align: center;
}
#thinker_claim_widget .left button {
    background-color: #f4870f;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.25;
    color: #ffffff;
    border: none;
    -webkit-appearance: none;
    padding: 8px 40px 8px 40px;
    text-align: center;
    margin: 5px 0px 0px 0px;
}
#thinker_claim_widget .left button.disabled {
    background-color: #cccccc;
}
#thinker_claim_widget .centre {
    border-left: 2px solid #dddddd;
    padding: 0px 30px 0px 30px;
}
#thinker_claim_widget .right {
    border-left: 2px solid #dddddd;
    padding: 0px 0px 0px 30px;
}
#thinker_claim_widget .right .free-claim {
    margin: 0px 0px 8px 0px;
}

#thinker_claim_widget .right button {
    background-color: #f4870f;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.25;
    color: #ffffff;
    border: none;
    -webkit-appearance: none;
    padding: 8px 40px 8px 40px;
    text-align: center;
    margin: 5px 0px 0px 0px;
}
#thinker_claim_widget .right button.disabled {
    background-color: #cccccc;
}
#thinker_claim_widget span {
    font-weight: 400;
}
#thinker_claim_widget .text-item {
    margin: 0px 0px 5px 0px;
}
#thinker_claim_widget .text-item.title {
    margin: 0px 0px 10px 0px;
}

/* Lead Claim Widget*/
#lead_claim_widget {
	background: #f9f9f9;
	border: 2px solid #dddddd;
	padding: 30px 30px 30px 30px;
	font-weight: bold;
	display: flex;
	margin: 0px 0px 30px 0px;
}
#lead_claim_widget .left {
	padding: 0px 30px 0px 0px;
}

#lead_claim_permissions.left {
    padding: 0px;
}

#lead_claim_widget .left.lead-permission {
    padding: 0px;
}

#lead_claim_widget .left.lead-permission:last-child {
    padding-bottom: 0px;
}

#lead_claim_widget .left.lead-permission button {
    width: 100%;
}

#lead_claim_widget .left.justify-centre {
	flex-grow: 1;
	text-align: center;
}
#lead_claim_widget .left button {
	background-color: #f4870f;
	font-size: 16px;
	font-weight: 900;
	line-height: 1.25;
	color: #ffffff;
	border: none;
	-webkit-appearance: none;
	padding: 8px 40px 8px 40px;
	text-align: center;
	margin: 5px 0px 0px 0px;
}
#lead_claim_widget .left button.disabled {
	background-color: #cccccc;
}
#lead_claim_widget .centre {
	border-left: 2px solid #dddddd;
	padding: 0px 30px 0px 30px;
}
#lead_claim_widget .right {
	border-left: 2px solid #dddddd;
	padding: 0px 0px 0px 30px;
}
#lead_claim_widget .right .free-claim {
	margin: 0px 0px 8px 0px;
}

#lead_claim_widget .right button {
	padding: 0px 5px 0px 5px;
	margin: 0px 5px 0px 0px;
}
#lead_claim_widget .right .free-claim button.disabled {
	background-color: #cccccc;
	border: 1px solid #aaaaaa;
}
#lead_claim_widget span {
	font-weight: 400;
}
#lead_claim_widget .text-item {
	margin: 0px 0px 5px 0px;
}
#lead_claim_widget .text-item.title {
	margin: 0px 0px 10px 0px;
}

/* Agent Dashboard Lead Claim Widget */
#free_claims div.free-claim {
    margin-bottom: 10px;
}

hr.separator {
    margin-top: 8px;
    border-top: 1px solid #eae6de;;
}

#dashboard_lead_claim_widget .lead-permission button, #free_claims .lead-permission button, button.dashboard-button {
    background-color: #f4870f;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.25;
    color: #ffffff;
    border: none;
    -webkit-appearance: none;
    padding: 8px 40px 8px 40px;
    text-align: center;
    margin: 0px 0px 1rem 0px;
    width: 100%;
    border-radius: 3px;
}

#dashboard_lead_claim_widget .lead-permission button.disabled, #free_claims .lead-permission button.disabled {
    background-color: #cccccc;
}

/* Dashboard Target Reports */
div.quarter-report {
    border: 1px solid #C2C2C2;
    padding: 10px;

    font-size: 1.2em;
    font-weight: bold;

    margin-bottom: 30px;
}

div.quarter-report > div {
    position: relative;
    color: #037281;
    margin-bottom: 10px;
}

div.quarter-report > div:first-child {
    margin-bottom: 0px;
}

div.quarter-report > div:last-child {
    margin-bottom: 0px;
}

div.quarter-report > div > div.report-progress {
    position: absolute;
    top: 0px;
    height: 100%;

    background-color: #E2F2F3;
    max-width: 100%;
}

div.quarter-report > div > div.report-header {
    padding: 5px;
    border-bottom: 1px solid #C2C2C2;

    display: grid;
    grid-template-columns: 10% 40% 40% 10%;
}

div.quarter-report > div > div.report-data {
    position: relative;
    z-index: 2;
    padding: 5px;

    display: grid;
    grid-template-columns: 10% 40% 40% 10%;
}

div.quarter-report > div.current > div.report-progress {
    background-color: #FEEDDD;
    z-index: 1;
}

div.quarter-report > div.current {
    color: #FF6A00;
}

div.yearly-report {
    border: 1px solid #C2C2C2;
    padding: 10px;

    font-size: 1.2em;
    font-weight: bold;

    margin-bottom: 30px;
}

div.yearly-report > div.header {
    display: grid;
    grid-template-columns: 50% 50%;
}

div.yearly-report > div.header, div.footer > span {
    padding: 5px 0;
}

div.yearly-report > div.header > span:first-child {
    text-align: left;
}
div.yearly-report > div.header > span:last-child {
    text-align: right;
}

div.yearly-report > div.footer {
    display: grid;
    grid-template-columns: auto;
}

div.yearly-report > div.yearly-progress {
    height: 32px;
    position: relative;
    border: 1px solid #FF6A00;
}

div.yearly-report > div.yearly-progress > div.report-progress,
div.yearly-report > div.yearly-progress > div.report-progress-refill-bar {
    height: 30px;
    min-width: fit-content;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: absolute;
    top: 0px;
    z-index: 1;
    max-width: 100%;
    padding-right: 10px;
    padding-left:10px;
}

div.yearly-report > div.yearly-progress > div.report-progress {
    background-color: #FEEDDD;
}

div.yearly-report > div.yearly-progress > div.report-progress-refill-bar {
    background-color: #ffb36c;
}

div.yearly-report > div.yearly-progress > div.yearly-pace {
    height: 30px;
    position: absolute;
    top: 0px;
    border-right: 1px solid #FF6A00;
    z-index: 2;
}

div.yearly-report > div.yearly-progress > div.time-elapsed,
div.yearly-report > div.yearly-progress > div.time-elapsed-refill-bar {
    height: 30px;
    position: absolute;
    top: 0px;
    border-right-width: 1px;
    border-right-style: solid;
    z-index: 2;
}

div.yearly-report > div.yearly-progress > div.time-elapsed {
    border-right-color: #ffb36c;
}

div.yearly-report > div.yearly-progress > div.time-elapsed-refill-bar {
    border-right-color: #f57d0e;
}

span.progress-bar-lead-count  {
    color: #E3712E;
}

.no-data-found-message  {
    position: absolute; 
    left: 50%; 
    top: 50%; 
    transform: translate(-50%, -50%); 
    text-align: center; 
    font: 800 15px Arial;
}

/* Timer Ticker Styles */
span.timer-ticker {
    font-weight: bold;
}

span.timer-ticker > span.tt-time.overdue {
    color: #F00;
}

/* Agent Dashboard-specific */
h2.dashboard {
    margin-top: 0px;
    display: inline-block;
    position: relative;
}

h2.dashboard a {
    color: inherit;
}

.label-status {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    color: #FFF;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;

    background-color: #FF6A00;
}

.list-container {
	width: 100%;
	margin: 0px 0px 20px 0px;
	border-bottom: 1px solid #ccc;
    padding: 0px 0px 20px 0px;
    display: flex;
    flex-wrap: wrap;
}
.list-container-inner {
	width: 100%;
}
.list-container-inner-half {
	width: 50%;
}
@media handheld, only screen and (max-width: 500px) {
	.list-container-inner-half {
		width: 100%;
	}
}
.list-container .row {
	width: 100%;
	display: flex;
	margin: 0px;
}
.list-container .row .label {
	min-width: 160px;
	margin: 3px 0px 3px 0px;
}
.list-container .row .checkbox {
	flex-grow: 1;
}
.list-container:last-of-type {
	border-bottom: 0px;
	padding: 0px 0px 0px 0px;
}
#thinkTermFormulas {
	display: flex;
}
#thinkTermFormulas .flex-wrapper {
	display: block;
	width: 100%;
}
#thinkTermFormulas table {
	border: 1px solid #cccccc;
}
#thinkTermFormulas.active {
	display: flex;
}
.think-term-formula-table thead tr .smart-form {
	display: flex;
	width: 100%;
}
.think-term-formula-table thead tr .smart-form span {
	display: block;
	flex-grow: 1;
	padding: 4px 0px 0px 0px;
	color: #333333;
}
.think-term-formula-table.show-only-fifths tbody tr {
	display: none;
}
.think-term-formula-table.show-only-fifths tbody tr.fifth {
	display: table-row;
}
.properties .add-property {
	margin-bottom: 20px;
}
.property h4 {
	margin-bottom: 5px;
}
.property .text {
	margin: 10px -15px 10px -15px;
}
.property .text .col {
	width: 100%;
	display: block;
}
.property .set-primary-property {
	margin-left: 15px;
	margin-top: 3px;
}
.property .edit-property {
	margin-left: 15px;
	margin-top: 3px;
}
.property h3 span {
    color: #fff;
    background-color: #ff6a00;
    border-color: #dc5b00;
    font-size: 12px;
    padding: 5px 15px 4px 15px;
    border-radius: 15px;
    margin-left: 10px;
    vertical-align: middle;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.property .tables-wrapper {
	display: flex;
	margin: 15px 0px 10px 0px;
}
.property .tables-wrapper .table th {
	padding-right: 9px;
}
.property .tables-wrapper .property-values {
	width: 100%; margin-right: 5px;
}
.property .tables-wrapper .property-mortgages {
	width: 100%; margin-left: 5px;
}
.property hr {
	margin: 25px 0px 20px 0px;
    border-top: 1px solid #bbbbbb;
}
.micetext {
	color: #999;
	margin: 0px;
	font-size: 10px;
}
#notes_datatable_wrapper {
	max-height: 300px;
	overflow-y: scroll;
}
table tbody ul, table tbody ol {
	list-style-position: inside;
}
.agent-status {
    padding: 6px;
    width: 100%;
}
.agent-status .agent-status-inner {
    padding: 10px 10px 15px 10px;
    border: 1px solid #DDD;
    text-align: center;
}
.agent-status.premier .agent-status-inner {
    background: white;
}
.agent-status h4 {
    color: #ff6a00;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
}
.agent-status h2 {
    font-weight: 900;
    font-size: 28px;
    margin: 5px 0px 0px 0px;
    color: #787878;
}
.agent-status h2 img {
    height: 40px;
    width: auto;
    margin-right: 10px;
    vertical-align: bottom;
}

.surge-status {
    padding: 6px;
    width: 100%;
}
.surge-status .surge-status-inner {
    padding: 10px 10px 15px 10px;
    border: 1px solid #DDD;
    text-align: center;
}
.surge-status h4 {
    color: #ff6a00;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
}
.surge-status h2 {
    font-weight: 900;
    font-size: 28px;
    margin: 5px 0px 0px 0px;
    color: #787878;
}

#available_box {
    border-radius: 4px 4px 0px 0px;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,.05);
    padding: 14px 10px 11px 31px; overflow: auto;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    background: #ff6a00;
    border: 1px solid #dc5b00;
    height: 50px;
}
#available_box span {
    color: white;
    float: left;
    margin: 0px 8px 0px 0px;
    font-size: 14px;
}
#available_box #accept_deals_toggle_wrapper {
    display: none;
    float: left;
    width: 51px;
    height: 26px;
    padding: 0px;
    margin: -3px 0px 0px 0px;
}

/* Next Action Styles */
.well.tnm-highlight {
    background-color: #FEEDDD;
    border-color: #FF6A00;
}

.well.tnm-highlight h3 {
    margin: 0px 0px 0.5em 0px;
}

.well.dashboard-notification {
    display: grid;
    grid-template-columns: auto 25%;
    grid-template-rows: auto;
    grid-template-areas: "title actions" "description actions";
    padding: 16px;
    align-items: center;
}

.well.dashboard-notification > div:first-child {
    display: flex;
    align-items: center;
    grid-area: title;
}

.well.dashboard-notification > div:first-child > .title {
	font-size: 1.5em;
    font-weight: bold;
	margin-right: 0.5em;
	color: #00707F;
}

.well.dashboard-notification > div:nth-child(2) {
    grid-area: actions;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.well.dashboard-notification > div:nth-child(3) {
    grid-area: description;
    margin-top: 0.6em;
}

.well.tnm-secondary {
	background-color: #E2F2F3;
	border-color: #BADBDF;
	color: #000;
}

.well.tnm-secondary a {
	color: #00707F;
	text-decoration: underline;
}

.well.tnm-secondary > div:first-child > .title {
	font-size: 1.5em;
    font-weight: bold;
	margin-right: 0.5em;
	color: #00707F;
}
.well.tnm-secondary > div:nth-child(3) {
	color: #747474;
}

.btn-secondary {
	background-color: #00707F;
	color: #FFF;
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary.focus {
    background-color: #333333;
    color: #FFF;
    text-decoration: none;
}

.well.next-action {
    display: grid;
    grid-template-columns: auto 25%;
    grid-template-rows: auto;
    grid-template-areas: "title actions" "description actions";

    align-items: center;
}

.well.next-action > div:first-child {
    display: flex;
    align-items: center;
    grid-area: title;
}

.well.next-action > div:first-child > .na-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #FF6A00;
    margin-right: 0.5em;
}

.well.next-action > div:nth-child(2) {
    grid-area: actions;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.well.next-action > div:nth-child(3) {
    grid-area: description;
    margin-top: 1em;
}

.well.next-action .btn {
    padding: 6px 12px;
}

table.na-meta tbody tr th {
    padding-top: 0.75rem;
}

.well.warning {
    background-color: #FECDCD;
    border-color: #FF0000;
}

.well.warning h3 {
    color: #FF0000;
    margin: 0;
    margin-bottom: 6px;
}

.well.warning ul {
    padding-left: 1rem;
}

.well.warning ul li {
    list-style: none;
}

/* Priority Inbox Styles */
.priority-inbox {
	border-top: 1px solid #C2C2C2;
	margin-bottom: 30px;
}
.priority-inbox .priority-item {
	display: flex;
	padding: 10px 20px 10px 20px;
	border-bottom: 1px solid #C2C2C2;
}
.priority-inbox .priority-item div {
	flex-grow: 1;
}
.priority-inbox .priority-item div:nth-child(1) {
	text-align: left;
}
.priority-inbox .priority-item div:nth-child(2) {
	text-align: center;
}
.priority-inbox .priority-item div:nth-child(3) {
	text-align: right;
}
.priority-inbox .priority-item div h6 {
	font-weight: bold;
	margin: 0px;
}
.priority-inbox .priority-item.high div h6 {
	color: #FF6A00;
}
.priority-inbox .priority-item div a {
	color: #FF6A00;
}

/* Quarterly Target Styles */
#agent_qtarget_datatable tbody tr td div {
    font-size: 13px;
    margin-bottom: 4px;
}

#agent_qtarget_datatable tbody tr td div:last-child {
    margin-bottom: 0px;
}

#agent_qtarget_datatable tbody tr td div label[class=toggle] {
    font-size: 13px;
}

/* Notification Styles */
#notifications_pane:before, #notifications_pane:after {
    left: 29%;
}

#notifications_pane {
    width: 600px;
}

@media only screen and (max-width: 479px) and (min-width: 320px) {
    #notifications_pane {
        width: 100%;
    }
}

#notifications_content {
    height: 381px;
}

#notifications_content .notification-body>li span {
    display: block;
    position: relative;
    overflow: hidden;
}

.notification-body time {
    top: 6px;
    right: 9px;
}

#notifications_content .mbody {
    margin-right: 113px;
    padding-bottom: 5px;
    color: #058dc7;
}

.notification-body time {
    padding-right: 2px;
    text-align: right;
}

/* Queue Styles */
h3.queue-header {
    margin: 5px 0;
    font-size: 1.25em;
}

div.queue-status {
    display: grid;
    margin-bottom: 1em;

    grid-template-columns: 85px 18px auto;
}

div.queue-status:not(.top) > div:not(.queue-deals) {
    margin: auto 0;
}

div.queue-status.top > div:not(.queue-deals) {
    margin-top: 4px;
}

div.queue-status > div:first-child {
    width: 220px;
}

div.queue-status > div:nth-child(2) {
    flex-grow: 1;
}

div.queue-status > div.queue-deals, div.closer-queue > div.queue-deals {
    /*display: flex;*/
    overflow-x: auto;
}

div.queue-deals > a {
    border: 1px solid #DDD;
    flex-grow: 1;
    text-align: center;
    position: relative;
    top: 0;
    color: #DDD;
    padding: 0.25em;
    font-weight: bold;
    display: inline-block;
    min-width: 22px;
    height: 28px;
    line-height: 20px;
    margin: 1px;
}

/*div.queue-deals > a.premier:first-child {
    padding-left: 1.5em;
}*/

div.queue-deals > a.empty {
    border: 0;
    width: auto;
}

div.queue-deals > a.premier:before {
    font-family: FontAwesome;
    font-size: 14px;
    content: "\f005";
    position: absolute;
    top: 3px;
    left: 3px;
}

div.queue-deals > a.premier.spaced {
    padding-left: 1.5em;
}

div.queue-deals > a.premier.yours {
    padding-left: 1.5em;
}

div.queue-deals > a.yours {
    border: 1px solid #ff6a00;
    color: #ff6a00;
    background-color: rgba(255, 106, 0, 0.3);
}

div.queue-deals > a.requested {
    border: 1px solid #329932;
    color: #329932;
    background-color: rgba(198, 255, 183, 1);
}

#time_to_upgrade_premier {
    float: left;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
}

#purchase_high_ratio_wrapper {
    margin-bottom: 10px;
    background: #eee;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 10px 0px 10px 0px;
}

#renewal_high_ratio_wrapper {
    margin-bottom: 10px;
    background: #eee;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 10px 0px 10px 0px;
}

.notification-star {
	position: absolute;
    right: 10px;
    top: 5px;
    color: #ff4d4d;
    font-size: 28px;
    display: none;
}

.notification-star.display {
	display: block;
}

.notification-star span {
	color: white;
	position: absolute;
    top: 7px;
    left: 4px;
    z-index: 2;
    color: white;
    font-size: 13px;
    font-weight: bold;
	font-family: 'Open Sans',Helvetica,Arial,sans-serif;
	width: 15px;
    display: block;
    text-align: center;
}

/* Fix Bootstrap adding 17 pixels to the right bug - https://stackoverflow.com/a/47924156/2312679 */
body:not(.modal-open) {
  padding-right: 0px !important;
}

.error-wrapper, .error-wrapper h1, .error-wrapper h2, .error-wrapper p {
    font-size: 150%;
}

.badge-danger {
	background-color:  #dc3545;
	color:  #fff;
}

.badge {
    display:  inline-block;
    padding:  5px 5px;
    font-size:  inherit;
    line-height:  1;
    text-align:  center;
    white-space:  nowrap;
    vertical-align:  baseline;
    border-radius:  5px;
    margin: 5px;
}

.deal_not_known_fraud {
	padding-left:5px;
}

