/**
 * Styles for Quote Table and accompanying filter form
 */




/**
 * Filter form
 */
form.saved-quotes-filter-form {
	padding-bottom: 25px;
}
form.saved-quotes-filter-form input[type="text"],
form.saved-quotes-filter-form select,
.saved-quotes-filter-form__region,
form.saved-quotes-filter-form .button--primary {
	display: inline-block;
	margin: 0 5px 5px 0;
}
form.saved-quotes-filter-form select {
	max-width: 200px;
}
input.saved-quotes-filter-form__search {
	width: 190px;
}
.saved-quotes-filter-form__region,
.saved-quotes-filter-form__region label {
	display: inline-flex;
	flex-flow: row wrap;
	align-items: center;
}
.saved-quotes-filter-form__region label:not(:last-child) {
	margin-right: 5px;
}
.saved-quotes-filter-form__region label input {
	margin-right: 5px;
}
form.saved-quotes-filter-form .sandler-form-buttons {
	padding-left: 0;
}


/**
 * Table and meta container
 */
.saved-quotes-table {
	position: relative;
}
.saved-quotes-table.loading::before {
	content: "";
	position: absolute;
	z-index: 100;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.5;
	background-color: #ffffff;
}
.saved-quotes-table.loading::after {
	content: "";
	position: absolute;
	z-index: 110;
	top: 64px;
	left: 50%;
	width: 32px;
	height: 32px;
	margin-left: -16px;
	background-image: url('../../../images/ajax-loader.gif');
	background-repeat: no-repeat;
	background-position: center center;
}


/**
 * Meta and switches
 */
.saved-quotes-table-meta {
	font-size: 13px;
}
.saved-quotes-table-meta > * {
	display: inline-block;
	vertical-align: middle;
	margin-right: 10px;
	margin-bottom: 15px;
}
.saved-quotes-table-meta > *:last-child {
	margin-right: 0px;
}
.saved-quotes-table-meta .results-string {
	font-weight: bold;
}
label.saved-quotes-switch {}


/**
 * Table
 */
.saved-quotes-table table {
	position: relative;
	z-index: 90;
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}
.saved-quotes-table table th,
.saved-quotes-table table td {
	font-size: 13px;
	vertical-align: middle;
	text-align: left;
	padding: 5px 5px;
	border: 1px solid #cfcfcf;
	white-space: normal;
	word-wrap: break-word;
}
.saved-quotes-table table th {
	font-weight: bold;
}
.saved-quotes-table table a {
	text-decoration: underline;
}
.saved-quotes-table table a:hover {
	text-decoration: none;
}
.saved-quotes-table table th.order-number {
	width: 140px;
}
.saved-quotes-table table th.likelihood {
	width: 50px;
}
.saved-quotes-table table th.value {
	width: 100px;
}
.saved-quotes-table table th.status,
.saved-quotes-table table td.status {
	white-space: nowrap;
	width: 60px;
}
.saved-quotes-table table tr.hide--unpreferred,
.saved-quotes-table table tr.hide--alternative,
.saved-quotes-table table tr.hide--trashed,
.saved-quotes-table table tr.hide--lost, 
.saved-quotes-table table tr.hide--show_sandler, 
.saved-quotes-table table tr.hide--show_inspec {
	display: none;
}
.saved-quotes-table tr.is-unpreferred td.order-number::before {
	content: " - ";
	display: inline-block;
	margin: 0 5px;
}
.saved-quotes-table table tr.is-unpreferred td {
    color: #a6a6a6;
}
.saved-quotes-table .quote-table-set-preference {
	display: inline-block;
	width: 16px;
	height: 18px;
	background-image: url('../../../images/icons/positive-tick.svg');
	background-repeat: no-repeat;
}
.saved-quotes-table tr.is-unpreferred .quote-table-set-preference { 
	background-image: url('../../../images/icons/negative-tick.svg');
}
.saved-quotes-table tr.is-unpreferred.can-edit .quote-table-set-preference {
	cursor: pointer;
}
.saved-quotes-table table tr.saved-quotes-group-header {
	font-weight: bold;
	background-color: #cfcfcf;
}
.saved-quotes-table table tr.saved-quotes-group-header,
.saved-quotes-table table tr.grouped-quote {
	border-left: #cfcfcf 10px solid;
}
.saved-quotes-table .totals-footer th {
	text-align: right;
}
