
body.admin-bar:not(.administrator):not(.clutch_crm_admin) {
	margin-top: -32px !important;
}
body:not(.administrator):not(.clutch_crm_admin) #wpadminbar {
	display: none;
}

.contact-preview .contact-info > p:empty {
	display: none;
	margin: 0;
	padding: 0;
}

.logged-in-as {
	margin: -30px 0 30px;
	color: #990000;
	font-weight: 700;
}

.download-link-wrapper {
	position: absolute;
	top: 42px;
	z-index: 3;
	left: auto;
	right: 0;
	padding-top: 26px;
}

.page-tools {
	z-index: 2;
	position: relative;
}
.table-list {
	z-index: 1;
	position: relative;
}

.page-tools > div.flex:first-of-type {
	width: 100%;
	margin-left: -8px;
	padding-right: 90px;
}
.search-box-wrapper {
	max-width: 300px;
}
.pagination-wrapper.bottom {
	width: 100%;
	padding: 15px 0 0;
}



table.lead-table {
	width: 100%;
	max-width: 800px !important;
	margin: 0 auto;
}
table.lead-table td {
	vertical-align: top;
	padding: 5px 0;
	border-top: 1px solid #d0d0d0;
}
table.lead-table td:first-child {
	min-width: 160px;
	padding-right: 15px;
	font-weight: 700;
}
table.lead-table td:nth-child(2) {
	max-width: 640px !important;
	overflow-x: hidden;
}
table.lead-table tr:first-child td,
table.lead-table td[colspan="2"] {
	border-top: none;
}

.crm-content:empty {
	min-height: 200px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: auto;
}

.toggle-trigger.notifications {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.toggle-trigger.notifications:not([data-count="0"]) {
	color: #ff0000;
}
.toggle-trigger.notifications[data-count="0"] {
	cursor: default;
}

.toggle-trigger.notifications:not([data-count="0"]):after {
	content: attr(data-count);
	position: absolute;
	left: auto;
	right: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 5px;
	color: #ff0000;
	font-size: 14px;
	line-height: 14px;
	font-weight: 700;
	border-radius: 100%;
}
.toggled.open.notification-list {
	position: absolute;
	top: 24px;
	left: auto;
	right: 0;
	width: 300px;
	min-width: 300px;
	padding: 15px;
	font-size: 16px;
	background-color: #ffffff;
	box-shadow: -2px 3px 6px rgba(0,0,0,0.3);
}
.notification-list button.text {
	padding: 0;
	color: #3063ad !important;
	font-size: inherit;
	background-color: transparent !important;
	border: none !important;
}
.notification-list .notification {
	padding: 5px;
}

a.filter-icon[data-count]:after {
	position: absolute;
	
	bottom: -12px;
	right: -12px;
	z-index: 2;
	content: attr(data-count);

	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	
	font-size: 14px;
	color: #ffffff;
	background-color: #ff0000;
	border-radius: 100%;
}

.helper-dialog-trigger {
	cursor: pointer;
	margin-left: 8px;
}
.helper-dialog-content {
	display: none;
	padding: 25px 15px !important;
}

#main-content {
	min-height: 100vh;
	overflow: auto;
}

.required-indicator {
	color: #ff0000;
}

#loginform p {
	display: flex;
	justify-content: flex-end;
}
#loginform p.login-submit,
#loginform p.login-remember {
	justify-content: center;
}
#loginform label {
	padding-right: 15px;
}

.crm-form-group.login-form {
	width: auto;
	margin: 0 auto;
	background-color: #f0f0f0;
	box-shadow: 2px 3px 5px rgba(0,0,0,0.4);
}
.crm-form-group.login-form > .flex-item {
}
.crm-form-group.flex-item {
	margin-bottom: 15px !important;
}

/** Calendars { **/
.contact-search {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 0;
}
.contact-search.focussed {
	z-index: 3;
}
.contact-search .search-preview {
	display: none;
}
.contact-search .search-preview.searching {
	display: block;
	position: absolute !important;
	z-index: 100;
	width: 100%;
	min-width: 280px;
	min-height: 80px;
	overflow-x: none;
	overflow-y: auto;
	padding: 0;
	background-position: center;
	background-size: auto 120px;
	background-repeat: no-repeat;
	background-color: #ffffff;
}

.contact-search .search-preview.searching.searched {
	min-height: 0;
}

.contact-search #name_search {
	width: 100%;
	margin: 0 auto 0;
}
.pop-inner .contact-search #name_search {
	margin: 10px auto 0;
}

.search-preview .contact-result {
	position: relative;
	width: 100%;
	padding: 10px;
	cursor: pointer;
	border-bottom: 1px solid #a0a0a0;
}
.search-preview .contact-result:hover {
	background-color: #f0f0f0;
}
.search-preview .contact-result .contact-wrapper {
	padding-left: 10px;
}

h1.calendar-title {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: space-between;
}
.clutch-crm-wrapper h1 {
	margin-top: 20px;
}
.calendar-title a.month-picker {
	font-size: 14px;
}

.crm-calendar,
.crm-calendar * {
	box-sizing: border-box;
}
.crm-calendar .calendar-week {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: space-between;
	border-width: 0 0 1px 1px;
	border-style: solid;
	border-color: #808080;
}
.crm-calendar h1 {
	padding-bottom: 20px;
}
.crm-calendar .calendar-day {
	width: 14.28571429%;
	border-right: 1px solid #808080;
}
.crm-calendar .calendar-day.other-month {
	background-color: #f0f0f0;
}
.crm-calendar .calendar-day.today {
	font-weight: 700;
	background-color: #e8ffe0;
}
.crm-calendar .calendar-day .day-of-week {
	display: none;
}



.crm-calendar .calendar-day .day-box {
	width: 100%;
	min-height: 10vw;
	padding: 8px;
	font-size: 12px;
	cursor: pointer;
}
.crm-calendar .day-box .date {
	padding-bottom: 8px;
	text-align: right;
	line-height: 12px;
}
.crm-calendar .calendar-week.week-1 .calendar-day .day-of-week {
	display: block;
	padding: 8px;
	text-align: center;
	text-transform: uppercase;
	font-weight: 700;
	color: #ffffff;
	background-color: #808080;
	border-width: 1px 1px 1px 0;
	border-style: solid;
	border-color: #808080;
	border-right-color: #ffffff;
}

.crm-calendar .day-box .appointment {
	margin: 0 0 5px;
	padding: 8px;
	background-color: #f8f8f8;
	border: 1px solid #a0a0a0;
}

.grid-card.lost,
.quote-card.lost,
.order-card.cancelled,
.crm-calendar .day-box .appointment.past-due,
.cancelled {
	background-color: #fff0f0;
}

.clutch-crm-form.contact .appointment.cancelled {
	padding: 6px;
}

.crm-calendar .appointment.cancelled {
	display: none;
}
.crm-calendar.show-cancelled .appointment.cancelled {
	display: block;
}

/** } End Calendars **/

/** Base { **/

a.ajax-edit {
	margin-left: 10px;
	cursor: pointer;
}

.crm-scripted .noscript {
	display: none;
}

.text-bold {
	font-weight: 700;
}

.text-right {
	text-align: right;
}
.text-left {
	text-align: left;
}

.text-underlined {
	text-decoration: underline;
}

a,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
	color: #3063ad;
}

.grecaptcha-badge {
	display: none !important;
}
p:last-of-type {
	padding-bottom: 1em !important;
}
p:not(.has-background):last-child,
p:not(.has-background):last-of-type:last-child {
	padding-bottom: 0 !important;
}
.text-center {
	text-align: center;
}

ul.spaced > li,
ol.spaced > li {
	padding-bottom: 1em;
}

a.et_pb_button,
a.button,
button {
	display: inline-block;
	text-align: center;
	cursor: pointer;
}
.button.report-export {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 34px;
}
.button.report-export .fa-download {
	margin-right: 5px;
}

.button.text {
	font-size: 14px;
	padding: 2px 10px;
	color: #000000;
	border: 1px solid #000000;
	cursor: pointer;
}

sup {
	display: inline-block;
	vertical-align: middle;
	font-size: 90%;
	line-height: 1.0;
}

.block {
	display: block;
}
.inline-block {
	display: inline-block;
}

ul:not(.nav) li,
ol li {
	padding-bottom: 8px;
	line-height: 1.4;
}
ul:not(.nav) li li:first-child,
ol li li:first-child {
	padding-top: 8px;
}
ul:not(.nav) li:last-child,
ol li:last-child {
	padding-bottom: 0;
}

ul.inline-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: center;
	margin: 0;
	padding: 0;
}
ul.inline-list li {
	position: relative;
	padding: 0 25px 10px;
}
ul.inline-list li:before {
	content: " ";
	display: inline-block;
	position: absolute;
	top: 9px;
	left: 10px;
	width: 7px;
	height: 7px;
	background-color: #171717;
	border-radius: 100%;
}
@media (min-width:768px) {
	ul.two-cols,
	ol.two-cols {
		column-count: 2;
		column-gap: 40px;
		padding-bottom: 0;
	}
	ul.two-cols > li,
	ol.two-cols > li {
		break-inside: avoid;
	}
}
@media (min-width:981px) {
	ul.two-cols,
	ol.two-cols {
		column-gap: 60px;
	}
}



.flex {
	display: flex !important;
}
.inline-flex {
	display: inline-flex !important;
}
.et_pb_row,
.et_pb_row_inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 90%;
}
.et-fb-layers-view--layer.et_pb_row,
.et-fb-layers-view--layer .et_pb_row_inner {
	display: block !important;
}
.et_pb_row:after,
.et_pb_row_inner:after {
	content: "";
	display: none;
}

.nowrap {
	flex-wrap: nowrap;
}
.wrap {
	flex-wrap: wrap;
}

.align-items-start {
	align-items: flex-start;
}
.align-items-center {
	align-items: center;
}
.align-items-stretch {
	align-items: stretch;
}
.align-items-end {
	align-items: flex-end;
}
.justify-start {
	justify-content: flex-start;
}
.justify-center {
	justify-content: center !important;
}
.justify-space-between {
	justify-content: space-between;
}
.justify-space-around {
	justify-content: space-around;
}
.justify-end {
	justify-content: flex-end;
}
.row,
.et_pb_column.row {
	flex-direction: row;
}
.row-reverse {
	flex-direction: row-reverse;
}
.column {
	flex-direction: column;
}

.table {
	display: table;
	width: 100%;
}
.table-row {
	display: table-row;
}
.table-cell,
.table-head {
	display: table-cell;
	padding-right: 10px;
}
.table-cell:first-child {
	width: 100%;
	white-space: nowrap;
}
.table-cell:last-child {
	padding-right: 0;
}

#report-table-wrapper {
	width: 100%;
	max-width: 100%;
	overflow: auto;
	padding-bottom: 10px;
}
.table.report-table {
	margin-top: 45px;
	border-width: 0 0 1px 1px;
	border-style: solid;
	border-color: #404040;
}
.report-table .table-head {
	font-weight: 700;
	white-space: nowrap;
	line-height: 1.0;
	cursor: pointer;
}
.table-head i {
	display: none;
	padding-left: 8px;
}
.table-head.sort-by i {
	display: none;
}
.table-head.sort-by[data-order="desc"] i.sort-desc {
	display: inline-block;
}
.table-head.sort-by[data-order="asc"] i.sort-asc {
	display: inline-block;
}


.report-table .table-cell,
.report-table .table-head {
	padding: 6px 8px;
	border-width: 1px 1px 0 0;
	border-style: solid;
	border-color: #404040;
}
.report-table .table-head {
	color: #ffffff;
	background-color: #000000;
	border-color: #d0d0d0;
}

.report-table .table-row:nth-child(2n+1) .table-cell {
	background-color: #f0f0f0;
}
.report-table .table-row:hover .table-cell {
	background-color: #e0e0e0;
}
.report-table .media_name {
	min-width: 200px;
}

.table-head i.sort-desc {
	
}

.report-table.channel .territory_id,
.report-table.channel .dealer_id,
.report-table.source .territory_id,
.report-table.source .dealer_id,
.report-table.channel .media_code,
.report-table.channel .media_name {
	display: none;
}
.report-tools .flex {
	margin: 0 -8px;
}

.et_pb_column {
	display: inline-flex;
	flex-direction: column;
	float: none !important;
	margin-right: 0 !important;
}
.et_pb_column.row {
	flex-wrap: wrap;
}
.parallax-container {
	position: relative;
}

.grid-card button,
a.button,
button.button,
.grid-card input[type="button"],
.grid-card input[type="submit"] {
	display: inline-block;
	padding: 3px 12px;
	color: #ffffff;
	background-color: #3063ad;
	border: none;
	cursor: pointer;
}

.add-item {
	cursor: pointer;
}
a.button.add-item,
button.add-item {
	margin-top: 10px !important;
}

a.icon {
	display: inline-block;
	margin-left: 30px;
}
a.icon:first-of-type {
	margin-left: 0;
}
h4 .icon {
	font-size: 14px;
}

.form-preview a.icon:first-of-type {
	margin-left: 30px;
}

a.delete,
a.delete-item,
button.delete {
	color: #aa0000;
	cursor: pointer;
}
.self-gen-source a.delete {
	margin-left: 15px;
	margin-right: -15px;
}
.text-red {
	color: #cc0000;
}

/** } End Base **/

/** Header Template { **/



header .account-links {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: flex-end;
	max-width: 140px;
	margin: 0 0 0 auto;
}
header .account-links > a {
	display: inline-block;
	margin-left: 15px;
	color: #3063ad;
	font-weight: 700;
}
header .account-links > a.button {
	display: block;
	width: 100%;
	margin-top: 12px;
	color: #ffffff;
}
/** } End Header Template **/

/** Navigation { **/
ul.clutch-crm-submenu {
	list-style: none;
	padding: 0;
}
.clutch-crm-nav-wrapper {
	padding: 0;
}
ul.clutch-crm-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.clutch-crm-nav > li {
	display: inline-block;
	flex: 1 1 auto;
	padding-bottom: 0;
	background-color: #808080;
	text-align: center;
}
ul.clutch-crm-nav li a {
	display: inline-block;
	padding: 6px 15px;
	color: #ffffff;
	font-weight: 700;
	font-size: 14px;
}
ul.clutch-crm-nav li.active > a {
	color: #000000;
	background-color: rgba(255,255,255,0.9);
}

.clutch-crm-submenu-wrapper {
	flex: 1 1 auto;
}

ul.clutch-crm-submenu > li {
	margin: 3px 0;
	padding: 0;
}
.clutch-crm-submenu li:hover > a {
	background-color: rgba( 0,0,0,0.15 );
}

/** } End Navigation **/

/** Forms { **/

.success-message {
	margin-top: 15px;
	padding: 10px 20px;
	color: #000000;
	background-color: #00ff00;
}
body > .success-message {
	margin-top: 0;
}

.crm-form-success {
	display: none;
}

.hint {
	font-size: 14px;
}
.pad-top {
	padding-top: 15px;
}
.hint.pad-top {
	padding-top: 4px;
}
.crm-form-field .hint {
	display: block;
	font-size: 12px;
}
.pad-bottom {
	padding-bottom: 15px;
}
.clutch-crm-form {
	width: 100%;
	margin: 0 auto;
}
.clutch-crm-form,
.clutch-crm-form * {
	position: relative;
}
.opportunity-card {
	margin: 0 0 20px;
	padding: 20px;
	background-color: #e0e0e0;
}
.quote-card.sold,
.order-card.installed,
.grid-card.new,
.opportunity-card.new {
	
}
.clutch-crm-form.appointment {
	max-width: 720px;
	margin: 0 auto;
}
.clutch-crm-form.appointment .phones label.flex-item,
.clutch-crm-form.appointment .email label.flex-item {
	flex: 1 1 auto;
}
.clutch-crm-form.appointment .phones .radio-list,
.clutch-crm-form.appointment .email .radio-list {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
}
.clutch-crm-form.appointment .phones .radio-list .radio-label,
.clutch-crm-form.appointment .email .radio-list .radio-label {
	padding-right: 15px;
}
.clutch-crm-form.appointment .phones .radio-list .radio-label:last-child,
.clutch-crm-form.appointment .email .radio-list .radio-label:last-child {
	padding-right: 0;
}

.clutch-crm-form.appointment.cancelled .crm-form-group,
.crm-calendar .appointment.cancelled {
	background-color: #ffdddd;
}

.clutch-crm-form input:disabled,
.clutch-crm-form select:disabled,
.clutch-crm-form textarea:disabled {
	background-color: #ffffff;
	opacity: 0.5
}


.crm-form-group {
	margin: 1em 0;
	padding: 30px;
}
.opportunity .crm-form-group.contact-histories {
	margin-top: 0 !important;
	padding: 0 0 0 20px;
}

img.crm-action {
	width: auto;
	height: 32px;
}

.opportunity-card .opportunity-data {
	padding-right: 30px;
}

.opportunity-card .opportunity-data .opportunity-tools a.icon:first-child {
	margin-left: 0;
}

.clutch-crm-form.contact button.delete,
a.status-delete,
button.delete {
	display: inline-block;
	padding: 5px;
	color: #ff0000;
	border-color: #ff0000;
	border-width: 1px;
	background-color: transparent;
}
a.status-delete {
	margin: 10px 0 0;
	padding: 6px;
	border-width: 1px;
	border-style: solid;
}
.clutch-crm-form.contact button.delete > i {
	display: inline-block;
	margin-left: 4px;
}

.clutch-crm-form.contact p.name {
	font-size: 18px;
	font-weight: 700;
}
.clutch-crm-form.contact .contact-opportunity-preview {
	padding-top: 15px;
}
.clutch-crm-form.contact .opportunity-list {
	margin-bottom: 20px;
	padding-bottom: 5px;
	border-bottom: 1px solid #606060;
}
.clutch-crm-form.contact .contact-opportunity-preview:not(:first-child) {
	margin-top: 15px;
	border-top: 1px solid #606060;
}
.address-preview > a > span {
	display: block;
}
.address-preview span.inline-block:empty {
	display: none;
}
.contact .crm-form-group.contact-histories {
	margin: 0.5em 0 !important;
	padding: 15px 20px 0;
}
.clutch-crm-form.contact .contact-preview {
	margin-top: 20px;
}
.clutch-crm-form.contact .contact-preview.new {
	display: none;
}
.clutch-crm-form.dealer-preferences {
	max-width: 600px;
}
div.self-gen-source {
	padding: 0 0 10px;
}
a.create-self-gen-source {
	cursor: pointer;
}
@media (min-width:768px) {
	.clutch-crm-form.contact .contact-preview > .flex-item.contact-info {
		flex: 0 0 auto;
		width: 48%;
		padding: 20px;
	}
	.clutch-crm-form.contact .contact-preview > .flex-item.opportunities {
		flex: 0 0 auto;
		width: 48%;
		padding: 20px;
	}
	.clutch-crm-form.contact .contact-preview > .flex-item.contact-histories {
		flex: 0 0 auto;
		width: 100%;
		margin-top: 30px;
		padding: 20px;
	}
}

@media (min-width:1024px) {
	.clutch-crm-form.contact .contact-preview > .flex-item.contact-info {
		width: 28%;
	}
	.clutch-crm-form.contact .contact-preview > .flex-item.opportunities {
		width: 32%;
	}
	.clutch-crm-form.contact .contact-preview > .flex-item.contact-histories {
		width: 32%;
		margin-top: 0;
	}
}
@media (min-width:768px) and (max-width:1024px) {
}

.clutch-crm-form.opportunity .contact-preview {
	padding-bottom: 20px;
}

@media (min-width: 600px) {
	.clutch-crm-form.opportunity .opportunity-data {
		width: 59%;
	}
	.clutch-crm-form.opportunity .contact-info {
		width: 39%;
	}
}

.clutch-crm-form.edit-form .crm-form-group {
	background-color: #f0f0f0;
}


.crm-form-field {
	padding: 0 0 15px
}
.crm-form-field a.delete {
	position: absolute;
}
.form-preview {
	font-weight: 700;
}
.attachment-item:not(:last-child) {
	margin-bottom: 15px;
	padding-bottom: 15px;
}

.opportunity .attachment-item.history-form {
	margin-bottom: 0px;
	padding-bottom: 0;
}

.attachment-item.lineitem-form {
	margin-bottom: 10px;
	border-bottom: 1px solid #000000;
}
.attachment-item.lineitem-form:last-child {
	margin-bottom: 0;
	border-bottom: none;
}

.page-tools .selected-filters {
	padding: 0 10px 25px;
}
a.selected-filter {
	margin-right: 10px;
	padding: 5px;
	color: #ffffff;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	background-color: #ff0000;
}
.remove-filters {
	padding-top: 10px;
}

.remove-filters a {
	font-size: 14px;
	font-weight: 700;
	color: #ff0000;
	cursor: pointer;
}
.selected-filters .selected-filter {
	display: inline-block;
	margin: 0 8px 8px 0;
	padding: 5px;
	cursor: pointer;
	background-color: rgba(255,0,0,0.3);
}
.selected-filters .remove-filters {
	width: 100%;
}

@media (min-width:768px) {
	.crm-form-row.two-cols,
	.crm-form-row.city-state-zip {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.page-tools .crm-form-row.city-state-zip {
		flex-wrap: nowrap;
	}
	.crm-form-row.two-cols > .crm-form-field {
		width: 48%;
	}
	.crm-form-row.city-state-zip {
		margin-left: -2%;
	}
	.crm-form-row.city-state-zip > .city {
		padding-left: 2%;
		flex: 1 1 auto;
	}
	.crm-form-row.city-state-zip > .state {
		flex: 1 1 auto;
		padding-left: 2%;
	}
	.clutch-crm-form.edit-form .crm-form-row.city-state-zip > .state {
		max-width: 300px;
	}
	.crm-form-row.city-state-zip > .zip {
		padding-left: 2%;
		max-width: 100px;
	}
}
@media (max-width:1023px) {
	.clutch-crm-form.contact,
	.opportunity-card {
		display: flex;
		flex-direction: column;
	}
	.clutch-crm-form.contact .main-form {
		order: 1;
	}
	.clutch-crm-form.contact .crm-form-group.contact-histories {
		order: 2;
	}
}
@media (min-width:768px) {
	.clutch-crm-form.contact .main-form {
		float: left;
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
		justify-content: space-between;
	}
	.clutch-crm-form.contact:after {
		content: " ";
		display: block;
		float: none;
		clear: both;
	}
	.clutch-crm-form.contact .main-form > .crm-form-group {
		margin: 0.5em 0;
		padding: 15px;
		width: 49%;
	}
}
@media (min-width:1024px) {
	.clutch-crm-form.contact .main-form {
		width: 73%;
	}
	.clutch-crm-form.contact .crm-form-group.contact-histories {
		float: right;
		width: 25%;
	}
}
.crm-form-field label {
	display: block;
	padding-bottom: 5px;
}
.crm-form-field label.flex {
	display: flex;
}
.crm-form-field label.required:after {
	content: " *";
	color: #990000;
}
.crm-form-field.radio-list label {
	display: inline-block;
	padding-right: 15px;
}

.radio-list label.radio-label,
.checkbox-list label.checkbox-label {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: nowrap;
	margin: 0;
	padding-bottom: 8px;
}
.radio-list label.radio-label input,
.checkbox-list label.checkbox-label input {
	margin-right: 10px;
}
.radio-list label.radio-label > span,
.checkbox-list label.checkbox-label > span {
	flex: 1 1 auto;
}
.search-filter .checkbox-list label.checkbox-label {
	padding-bottom: 14px;
}

.crm-form-field input[type="text"],
.crm-form-field input[type="date"],
.crm-form-field input[type="email"],
.crm-form-field input[type="tel"],
.crm-form-field input[type="date"],
.crm-form-field input[type="number"],
.crm-form-field select,
.crm-form-field textarea,
.crm-form-field input[type="password"] {
	width: 100%;
	height: 34px;
	padding: 6px 10px;
	border: 1px solid #808080;
}
.crm-form-field textarea {
	display: block;
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	height: 80px;
}
textarea[name="appointment_notes"] {
	height: 160px;
}
#other-invitees {
	margin: 0;
	height: 60px;
}
.crm-form-field select {
	padding: 6px 10px 6px 6px;
}

button[type="submit"] {
	font-weight: 700;
}

.clutch-crm-form.opportunity #opportunity_status {
	width: 100px;
}
.crm-form-field #wp-submit {
	padding: 8px 20px;
	color: #ffffff;
	text-align: center;
	font-weight: 600;
	background-color: #0c71c3;
	border: none;
}

@media( min-width:1200px) {
	#contact-form .flex-item.crm-form-group:not(.addresses) {
		max-width: 640px;
	}
}

.toggle-trigger {
	cursor: pointer;
	color: #3063ad;
}
h1 .toggle-trigger,
h2 .toggle-trigger,
h3 .toggle-trigger,
h4 .toggle-trigger {
	font-size: 14px;
}


.clutch-crm-form .submit-wrapper {
	clear: both;
	float: none;
	padding-top: 30px;
	text-align: center;
}
.clutch-crm-form .submit-wrapper button,
.clutch-crm-form .submit-button-wrapper button,
.clutch-crm-form .submit-button-wrapper a.button {
	padding: 8px 25px;
	font-size: 18px;
	font-weight: 700;
}
.crm-form-field .flex {
	margin: 0 -8px;
}
.clutch-crm-form .flex-item {
	flex: 1 1 auto;
	margin: 0 8px;
}

.clutch-crm-form .time-selection .flex-item,
.report-tools .flex-item {
	margin: 8px;
}

.checkbox-set label {
	padding-top: 8px !important;
}
.custom-product .flex-item {
	padding-bottom: 15px;
}

button.block {
	width: 100%;
}

/** } End Forms **/

/** Dash Cards { **/
.dash-card-wrapper,
.dash-card-wrapper * {
	position: relative;
}
.dash-card-wrapper {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: flex-start;
	width: 100%;
	margin: 0 -15px;
}
.dash-card-wrapper .dash-card {
	width: 100%;
	max-width: 330px;
	height: auto;
	margin: 15px;
	padding: 15px 25px 25px;
	background-color: #f0f0f0;
}
.dash-card-wrapper .dash-card.stats-card {
	padding-left: 0;
	padding-right: 0;
}

.dash-card-wrapper .dash-card.stats-card h4 {
	padding-left: 25px;
}
.dash-card h4 {
	margin: 0;
	padding: 0 0 25px;
	line-height: 1.0;
}
.dash-card h4 a.icon {
	position: absolute;
	top: -5px;
	right: 10px;
	width: 40px;
	text-align: right;
}
.dash-card h4 a.icon img {
	height: 28px;
}
.dash-card.appointments .appointment {
	display: block;
	margin: 0 0 5px;
	padding: 6px 10px;
	background-color: #ffffff;
}

.dash-card-opp,
.dash-card-open-quote {
	margin: 0 0 8px;
	padding: 8px 5px;
	background-color: #ffffff;
}
.dash-card-opp:first-child,
.dash-card-open-quote:first-child {
	margin-top: 0;
}
.dash-card-opp:last-child,
.dash-card-open-quote:last-child {
	border-bottom: none;
}

h4 button.text {
	font-size: inherit;
	font-weight: inherit;
	color: #3063ad;
	border: none;
}

/** } End Dash Cards **/

/** Page Tools { **/

.page-tools .filter-selections,
.page-tools .sort-selections {
	position: absolute;
	z-index: 99999;
	left: 0;
	right: 0;
	min-width: 320px;
	margin: 15px auto 0;
	padding: 15px 30px 30px;
	background-color: #ffffff;
	box-shadow: 3px 5px 7px rgba(0,0,0,0.4);
}
.page-tools .sort-selections {
	left: -30px;
	right: auto;
	min-width: 240px;
	max-width: 240px;
}
.sort-tools,
.sort-tools * {
	position: relative;
}
.sort-tools .hidden-inputs {
	display: none;
}
.sort-tools .sort-ui {
	
}
.sort-tools .sort-option {
	padding: 5px 0;
	border-bottom: 1px solid #d0d0d0;
	cursor: pointer;
}
div.sort-option:last-child {
	border-bottom: none;
}
.sort-tools .sort-option .sort-icon {
	position: absolute;
	left: auto;
	right: 0;
}
.sort-tools .sort-option .sort-icon:not(.active) {
	color: #d0d0d0;
}

@media (min-width:768px) {
	
}

.page-tools.dashboard .clutch-crm-form {
	z-index: 1;
}
.page-tools.dashboard .clutch-crm-form:hover,
.page-tools.dashboard .clutch-crm-form:focus {
	z-index: 2;
}

.page-tools {
	margin-top: 10px;
}
.page-tools.dashboard,
.page-tools.contacts > .clutch-crm-form,
.page-tools.leads > .clutch-crm-form,
.page-tools.opportunities > .clutch-crm-form,
.page-tools.quotes > .clutch-crm-form,
.page-tools.orders > .clutch-crm-form,
.page-tools.reports > .clutch-crm-form {
	position: relative;
	z-index: 10;
	width: 100%;
	padding: 0;
}

.page-tools.contacts > .clutch-crm-form,
.page-tools.leads > .clutch-crm-form,
.page-tools.opportunities > .clutch-crm-form,
.page-tools.quotes > .clutch-crm-form,
.page-tools.orders > .clutch-crm-form,
.page-tools.reports > .clutch-crm-form {
	padding-right: 50px;
}

.page-tools .crm-form-group {
	margin: 0;
	padding: 0 0 10px;
}

.page-tools,
.page-tools * {
	position: relative;
}

.page-tools .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 10px 0 0;
	height: 29px !important;
	padding: 3px 12px !important;
	cursor: pointer;
	color: #ffffff;
	background-color: #3063ad;
	
	font-size: 15px !important;
	line-height: 15px !important;
	border: none !important;
	border-width: 0px !important;
}
@media (min-width:768px) {
	
}



/** Date Picker { **/

.page-tools > .clutch-crm-form > .datepicker {
	max-width: 400px;
}

.toggled {
	visibility: none !important;
	opacity: 0 !important;
	max-height: 0 !important;
	box-sizing: border-box;
	transition: all 0.5s;
}
.toggled.open {
	z-index: 2;
	visibility: visible !important;
	opacity: 1.0 !important;
	max-height: none !important;
}
.toggled:not(.open) {
	display: none;
}

#date_range_picker {
	max-width: 280px;
}
#date_range_picker .crm-form-field.datepicker {
	max-width: 120px;
}
.quick-date-option {
	padding: 5px 0;
	cursor: pointer;
}

.flex-item.quick-date-range-options {
	min-width: 100px;
}

.datepicker .date-range-picker {
	position: absolute;
	left: 0;
	right: auto;
	width: 100%;
	padding: 15px;
	box-shadow: 2px 3px 3px rgba(0,0,0,0.4);
	background-color: #ffffff;
}

@media (max-width:767px) {
	.datepicker .date-range-picker {
		position: relative;
		box-shadow: none;
		padding: 0;
	}
	.datepicker .date-range-picker > div.flex {
		
	}
	.page-tools > form > .flex {
		flex-direction: column;
	}
	
	.page-tools > form > .flex > .flex-item {
		order: 2;
	}
	.page-tools > form > .flex > .flex-item.date-picker-wrapper {
		order: 1;
	}
	
	.opportunity.table-list .table-list-row.table-list-header {
		display: none;
	}
	
	.opportunity.table-list .table-list-row {
		padding: 15px 0;
		border-top: 1px solid #000000;
	}
	.row-item.status,
	.row-item.phone,
	.row-item.address,
	.row-item.name {
		padding-bottom: 1em;
	}
	
}

@media (min-width:768px) {
	.datepicker .date-range-picker {
		width: 420px !important;
	}
}

.date-range-picker .crm-form-row.datepicker {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	max-width: 100%;
	padding-bottom: 10px;
}
.crm-form-row.datepicker > .crm-form-field {
	flex: 1 1 auto;
	padding-bottom: 0;
}
.crm-form-row.datepicker > .crm-form-field.separator {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}
/** } End Date Picker **/

/** Search { **/
.page-tools .crm-form-group.advanced-search {
	display: none;
	position: absolute;
	right: 0;
	left: auto;
	padding: 25px;
	background-color: #ffffff;
	box-shadow: -2px 3px 3px rgba(0,0,0,0.4);
}
.page-tools .crm-form-group.advanced-search.open {
	display: block;
	width: 320px;
}

.crm-search {
	text-align: right;
}
.crm-search label {
	text-align: left;
}
.crm-search .simple-search {

}
.simple-search .crm-form-field input[type="text"] {
	padding-right: 32px;
}
.simple-search .crm-form-field button {
	position: absolute;
	left: auto;
	right: 0;
	width: 32px;
	height: 34px;
	color: #ffffff;
	background-color: #3063ad;
	border-width: 1px;
	border-color: #3063ad;
	border-style: solid;
}
.crm-search .toggle-trigger.advanced-search {
	font-size: 14px;
}
.simple-search .crm-form-field {
	text-align: right;
}

/** } End Search **/

/** } End Page Tools **/

/** Popovers { **/

.pop-trigger {
	cursor: pointer;
}

.crm-popover {
	display: none;
}
.crm-popover.popped {
	position: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999999;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;

}
.crm-popover .pop-curtain {
	position: absolute;
	z-index: 1;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.9);
}
.crm-popover .pop-inner {
	z-index: 2;
	max-width: 600px;
	max-height: 90vh;
	padding: 20px;
	background-color: #ffffff;
	overflow: auto;
}
.crm-popover > form {
	
}

.crm-popover .button {
	padding: 8px 12px;
	font-weight: 700;
}

.crm-popover.contact-picker .pop-inner {
	width: 90%;
	max-width: 300px;
	height: 90%;
	max-height: 400px;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 10px 15px;
}

/** } End Popovers **/

.clutch-crm-form .lineitem-data {
	flex: 1 1 auto;
}


/** Contact Cards { **/

.grid-list .contact-info p,
.grid-list .contact-info p:last-child,
.grid-list .contact-info p:last-of-type {
	margin-bottom: 0 !important;
	padding-bottom: 10px !important;
}



.grid-card {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	margin: 15px 0;
	background-color: #f0f0f0;
}

.quote-card,
.order-card {
	margin: 15px 0;
	padding: 15px;
	background-color: #f0f0f0;
	border: 2px solid #ffffff;
}

@media (min-width:768px) {
	.quote-grid-list,
	.order-grid-list {
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
		justify-content: space-between;
	}
	.quote-grid-list .quote-card,
	.order-grid-list .order-card {
		width: 49%;
	}
	.quote-grid-list .crm-form-row.two-cols > .crm-form-field,
	.order-grid-list .crm-form-row.two-cols > .crm-form-field {
		width: auto;
		flex: 1 1 auto;
	}
}
@media (min-width:1024px) {
	.quote-grid-list .quote-card,
	.order-grid-list .order-card {
		width: 32%;
	}
}

.grid-card > * {
	padding: 15px;
}
.grid-card h4 span.status {
	font-size: 14px;
	font-weight: 400;
}
.grid-card h4 {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: space-between;
	width: 100%;
}
.grid-card .contact-phones,
.grid-card .contact-emails,
.grid-card .contact-addresses {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
}
.grid-card .contact-phones .contact-phone.preferred-1,
.grid-card .contact-emails .contact-email.preferred-1,
.grid-card .contact-addresses .contact-address.preferred-1 {
	order: 1;
}
.grid-card .contact-phones .contact-phone.preferred-0,
.grid-card .contact-emails .contact-email.preferred-0,
.grid-card .contact-addresses .contact-address.preferred-0 {
	order: 2;
}

.grid-card .contact-phones .contact-phone.preferred-0:before {
	content: "Alternate Phone: ";
}
.grid-card .contact-phones .contact-phone.preferred-1:before {
	content: "Primary Phone: ";
}

.grid-card .contact-emails .contact-email.preferred-0:before {
	content: "Alternate Email: ";
}
.grid-card .contact-emails .contact-email.preferred-1:before {
	content: "Primary Email: ";
}
.grid-card .action-menu .menu-items {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: center;
	width: 100%;
}
.action-menu .menu-item {
	padding: 15px 30px;
	font-size: 14px;
	text-align: center;
}
a.action-menu-trigger {
	display: inline-flex;
	justify-content: center;
	width: 24px;
}

.grid-card > .contact-info {
	width: 100%;
}

@media (min-width:768px) {
	.grid-list,
	.grid-list {
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
		justify-content: space-between;
		width: 100%;
	}
	.grid-list .grid-card,
	.grid-list .opportunity-card {
		width: 49%;
	}
}
@media (min-width:1024px) {
	.grid-list .grid-card,
	.grid-list .opportunity-card {
		width: 32%;
	}
}

/** } End Contact Cards **/

/** Table Lists { **/

.table-list {
	font-size: 14px;
}
.table-list p {
	padding-bottom: 8px;
}
.table-list-row.table-list-header a {
	color: #ffffff !important;
}
@media (min-width:768px) {
	.table-list {
		display: table;
		width: 100%;
	}
	.table-list-row {
		display: table-row;
	}
	.table-list-row:nth-child(2n) {
		background-color: #f0f0f0;
	}
	.table-list-row:hover {
		background-color: #e0e0e0;
	}
	.table-list-row > * {
		display: table-cell;
		padding: 6px;
		border-width: 0 1px 1px 0;
		border-style: solid;
		border-color: #c0c0c0;
	}
	.table-list-row > *:first-child {
		border-left: 1px solid #c0c0c0;
	}
	.table-list-row.table-list-header {
		background-color: #404040;
		color: #ffffff;
		font-weight: 700;
	}
}

/** } End Table Lists **/

.history-card {
	padding-bottom: 15px;
	font-size: 14px !important;
}

/** Pagination { **/
.pagination p,
.pagination p:last-of-type {
	margin-bottom: 0;
	padding-bottom: 8px !important;
}
.pagination-tools input.hidden {
	width: 0px;
	height: 0px;
	margin: 0;
	padding: 0;
	border: none !important;
	overflow: hidden;
}
.pagination {
	font-size: 14px;
}
.pagination-tools a.pagination-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	width: 34px;
	padding: 0 5px;
	background-color: #3063ad;
	color: #ffffff;
	border: none;
}
.pagination-tools input[type="number"] {
	height: 34px;
	border: 1px solid #808080;
}
/** } End Pagination **/

/** Quotes and Orders { **/



.clutch-crm-form.quote .submit-wrapper,
.clutch-crm-form.order .submit-wrapper,
.clutch-crm-form.contact .submit-wrapper,
.clutch-crm-form.appointment .submit-wrapper,
.clutch-crm-form.lead .submit-wrapper {
	display: none;
}
.clutch-crm-form.appointment .appointment-controls {
	display: flex;
	flex-direction: row-reverse;
	flex-wrap: wrap;
	justify-content: space-between;
}
.clutch-crm-form.appointment .appointment-controls .crm-form-field:last-child {
	padding-right: 30px;
}
@media (min-width:1024px) {
	.quote-form-wrapper,
	.order-form-wrapper {
		width: 100%;
		max-width: 900px;
		margin: 0 auto;
	}
}
/** } End Quotes and Orders **/


/** New Hidden Page Tools {


.download-link-wrapper {
	position: relative;
	top: 0 !important;
}

#page-tools .toggled.open {
	position: relative;
}
#page-tools .pagination-wrapper {
	display: none;
}

#page-tools {
	
	display: block !important;
	
	position: fixed;
	z-index: 999999;
	top: 0;
	bottom: 0;
	left: 0;
	right: auto;
	width: 100%;
	max-width: 400px;
	height: 100vh;
	max-height: 100vh;
	margin: 0;
	padding: 25px !important;
	background-color: #ffffff;
	overflow: auto;
	box-shadow: 5px 0 5px rgba(0,0,0,0.5);
}


#page-tools a.sort-icon,
#page-tools a.filter-icon {
	display: none;
}

#page-tools .filter-selections .crm-form-field {
	padding-bottom: 0 !important;
}
#page-tools h5 {
	margin-top: 15px;
	color: #000000;
	font-weight: 600;
}
#page-tools .search-filter .toggle-trigger {
	display: flex;
	justify-content: space-between;
	color: inherit;
	font-weight: 400;
}
#page-tools .toggle-trigger i {
	color: #3063ad;
}
} End New Hidden Page Tools **/