body {
	padding-top: 70px;
	padding-bottom: 30px;
	font-size: 14px;
	line-height: 100%;
}
input, select, textarea, button, a.btn {
	font-size: 14px !important;
}
#navbar > ul > li > a i.fa {
	font-size: 18px;
	margin-right: 3px;
}
.container-fluid {
	padding-left: 20px;
	padding-right: 20px;
}
.navbar-right {
	margin-right: 0;
}


#login-form, #musician-response-dialog {
	max-width: 300px;
	margin: 0 auto;
}
#login-form img, #musician-response-dialog img {
	width: 100%;
	margin-bottom: 20px;
}
form > div {
	margin-bottom: 10px;
}
.container-1200 {
	max-width: 1200px;
	margin: 0 auto;
}
table.multi-value-field {
	 width: 100%;
}
table.multi-value-field td {
	padding: 5px;
}
table.clickable-list tbody tr {
	cursor: pointer;
}
table.clickable-list tbody tr:not(.selected):hover {
	background-color: #eee;
}
.nowrap {
	white-space: nowrap;
}
.h100 {
	height: 100px !important;
}
.m0 {
	margin: 0;
}
.mt10 {
	margin-top: 10px;
}
.mt20 {
	margin-top: 20px;
}
.mt30 {
	margin-top: 30px;
}
.mt50 {
	margin-top: 50px;
}
.mb10 {
	margin-bottom: 10px !important;
}
.mb20 {
	margin-bottom: 20px !important;
}
.mb30 {
	margin-bottom: 30px !important;
}
.mr5 {
	margin-right: 5px;
}
.p0 {
	padding: 0 !important;
}
.pl10 {
	padding-left: 10px;
}
.pr10 {
	padding-right: 10px;
}
.pb10 {
	padding-bottom: 10px !important;
}
.pt20 {
	padding-top: 20px;
}
.p10 {
	padding: 10px !important;
}
.w30 {
	width: 30px;
}
.w80 {
	width: 80px;
}
.full-width {
	width: 100%;
}
.text-center {
	text-align: center !important;
}
.font-weight-normal {
	font-weight: normal;
}

#contact-select-dialog .alert, #contact-select-dialog .spinner {
	display: none;
}
#fld_address_billing, #fld_address_mailing {
	height: 100px;
}
input.contact-select {
	display: none;
}
form input, form select, form textarea {
	margin-bottom: 10px;
}
.multi-value-field input, .multi-value-field select, .multi-value-field textarea {
	margin-bottom: 0;
}
.form-control.contact-box {
	padding: 12px 18px;
	height: 150px;
	overflow-y: auto;
}
.contact-box h4 {
	margin: 0;
}
#contact-select-dialog .search-results {
	padding: 15px;
	width: 100%;
	max-height: 500px;
	overflow-x: hidden;
	overflow-y: auto;
}
#contact-select-dialog .search-results a {
	vertical-align: top;
	padding: 15px;
	box-sizing: border-box;
	text-decoration: none;
	color: #333;
}
#contact-select-dialog .search-results a:hover {
	background-color: #eee;
}
#email-list-panel {
	width: 59%;
	float: left;
}
#email-panel {
	width: 39%;
	float: right;
}
#email-list {
	width: 100%;
}
#email-list tbody td:first-child {
	border-left: 5px solid transparent;
	white-space: nowrap;
}
#email-list tbody .selected td:first-child {
	border-left-color: #000;
}
table.email-list .emailaddr-cell div, table.email-list .subject-cell div {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
table.email-list .emailaddr-cell div {
	width: 150px;
}
#email-frame {
	width: 100%;
	height: 100%;
	border: 0;
}
#email-form > table {
	width: 100%;
}
#email-form > table td {
	padding: 5px 10px;
	vertical-align: top;
}
#email-form > table td:first-child {
	width: 100px;
}
#email-form > table label {
	margin-top: 0.5em;
	white-space: nowrap;
}
#email-form input {
	margin-bottom: 0;
}
#email-form .bootstrap-tagsinput {
	width: 100%;
	margin-bottom: 0;
}
#email_att_row .tag {
	cursor: pointer;
}
#email-list tr.unread {
	font-weight: bold;
}
.email-tag-read-only > span {
	display: none;
}

.booking-musicians-table {
	border: 1px solid #000;
}
.booking-musicians-table .instrument-heading th, .booking-musicians-table .instrument-heading td {
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	background-color: #ddd;
}
.booking-musicians-table td, .booking-musicians-table thead th {
	text-align: center;
}
.booking-musicians-table thead th.text-left {
	text-align: left;
}
.booking-musicians-table th, .booking-musicians-table td {
	padding: 5px 10px;
}
.booking-musicians-table tbody th {
	min-width: 300px;
}
.booking-musicians-table .instrument-heading {
	cursor: pointer;
}
.booking-musicians-table.booking-musicians-view-instrument .instrument-musicians,
.booking-musicians-table.booking-musicians-view-response .instrument-musicians:last-child {
	display: none;
}
.booking-musicians-table .hidden-suitability {
	display: none;
}
.booking-musicians-table .musician-response-note td {
	text-align: left;
	padding-top: 0;
	padding-bottom: 10px;
	font-style: italic;
}

#email-form > table {
	width: 100%;
}
#email-form > table > tr > td:first-child {
	width: 100px;
}
#email_fields {
	font-size: 10pt;
}
#email_fields .email-field {
	color: #000;
	background-color: #eee;
	font-weight: bold;
	cursor: pointer;
	padding: 0px 3px;
	border: 1px solid #ccc;
	margin-bottom: 3px;
	margin-right: 3px;
}
#musician-response-dialog .panel-body {
	font-size: 12pt;
	text-align: center;
}

#tasks-list tr.complete {
	color: #aaa;
	text-decoration: line-through;
}
#tasks-list tr.overdue, #tasks-list tr.overdue a {
	color: #f00000;
}

.display-inline {
	display: inline !important;
	width: auto !important;
}
.bold {
	font-weight: bold;
}
.m0 {
	margin: 0;
}
.ml10 {
	margin-left: 10px;
}
.ml20 {
	margin-left: 20px;
}
.mr10 {
	margin-right: 10px;
}
.mr20 {
	margin-right: 20px;
}
.mt20 {
	margin-top: 20px;
}
.mb0 {
	margin-bottom: 0;
}
.mb5 {
	margin-bottom: 5px;
}
.text125 {
	font-size: 1.25em;
}
.grey {
	color: #888;
}
.notes-panel .note {
	border-bottom: 1px solid #ccc;
}
.notes-panel .note-header {
	padding: 10px 0;
}
.notes-panel .note-body {
	margin-left: 25px;
	padding-left: 10px;
	margin-bottom: 10px;
	border-left: 1px solid #ccc;
}
h2.page-title {
	margin-top: 0;
	margin-bottom: 20px;
}
.hidden {
	display: none;
}
#bookings-list .past-event {
	color: #aaa;
}
.musician-slot {
	position: relative;
	float: left;
	margin: 3px;
	width: 200px;
	height: 50px;
	padding: 3px;
	border: 2px dotted #ccc;
	text-align: center;
	overflow: hidden;
	background-color: #fff;
}
.musician-slot.filled {
	border-style: solid;
}
.musician-slot.email-sent {
	background-color: #66ff66;
}
.musician-slot-helper {
	width: 200px;
	height: 50px;
	padding: 3px;
	border: 2px dotted #ccc;
	text-align: center;
	background-color: #fff;
	overflow: hidden;
	z-index: 999;
}
.musician-slot a, .musician-slot-helper a {
	color: #666;
	font-weight: bold;
}
/*
.musician-slot .btn-remove {
	position: absolute;
	top: 5px;
	right: 8px;
}
.musician-slot .cb-appoint-confirm {
	position: absolute;
	top: 5px;
	right: 22px;
}
*/
.musician-slot small, .musician-slot-helper small {
	color: #666;
	font-style: italic;
}
.musician-slots {
	padding: 10px;
	padding-bottom: 30px;
	font-size: 14px;
}
.musician-slots h4 {
	font-size: 14px;
}
.musician-slots.drag-hover {
	background-color: #ffffcc;
}
#musician-drop-column > div {
	overflow-y: scroll;
	top: 70px;
}

.fc-day-number .date-buttons {
	float: left;
}

.enquiry-declined-count {
	background-color: #388d41;
}
.enquiry-inactive-count {
	background-color: #adadad;
}
.enquiry-active-count {
	background-color: #ffd7ac;
}
.cancelled-count {
	background-color: #00006d;
}
.possible-cancel-change-count {
	background-color: #3d00ae;
}
.booking-confirmed-count {
	background-color: #ffbbbb;
}
.available-musicians-count {
	background-color: #4800d5;
}
.enquiry-inactive-count, .enquiry-active-count, .booking-confirmed-count {
	color: #000;
	margin-right: 3px;
}
.enquiry-declined-count, .cancelled-count, .possible-cancel-change-count, .available-musicians-count {
	color: #fff !important;
	margin-right: 3px;
}
.fc-event.date-musician-availability {
	display: none;
}

table.align-top td {
	vertical-align: top;
}
.booking-musicians-table thead tr {
	background-color: #fff;
	border-left: 1px solid #000;
	border-right: 1px solid #000;
}
label.not-bold {
	font-weight: normal;
}
.modal-dialog.modal-responsive {
	width: 80%;
}
.validation-error {
	margin-top: -8px;
	margin-bottom: 10px;
	color: #f00000;
}
.multi-value-field .validation-error {
	margin-top: 3px;
	margin-bottom: 0;
}
.fc-day.fc-past {
	background-color: #eee;
}
.fc-day-month-even {
	background-color: #fcf8e3;
}
.fc-unthemed .fc-today {
	background-color: #fcf0b1;
}
#fld_internal_notes {
	height: 150px;
}

#services-admin-table {
	width: 100%;
}
#services-admin-table td, #services-admin-table th {
	padding: 10px;
}
#services-admin-table input {
	margin: 0;
}

#booking-contacts-table {
	width: 100%;
}
#booking-contacts-table td, #booking-contacts-table th {
	padding: 10px;
	text-align: left;
}
#booking-contacts-table tbody input {
	margin: 0;
}
#booking-contacts-table tfoot td {
	padding: 0;
	padding-top: 20px;
}


#bookings-list td {
	vertical-align: top;
}

.date-jump-links a {
	text-transform: uppercase;
	display: inline-block;
	margin: 0 2px;
}
.fc-day-header > .date-buttons {
	float: right;
}
.fc-basicDay-view .date-buttons .day-view-btn {
	display: none;
}
.booking-musicians-table .avail-clear-radio {
	display: none;
}

#booking-sidebar {
	width: 300px;
	height: 100%;
	top: 0;
	padding: 20px;
	padding-top: 70px;
	padding-left: 0;
	position: fixed;
	border-right: 2px solid #ccc;
	overflow: auto;
}
#booking-sidebar h3 {
	font-weight: bold;
	margin-top: 0;
	font-size: 18px;
	line-height: 1.25em;
}
#booking-page-content {
	margin-left: 320px;
}

.email-color-red {
	background-color: #ff9999 !important;
}
.email-color-yellow {
	background-color: #ffff99 !important;
}
.email-color-green {
	background-color: #99ff99 !important;
}
.email-color-blue {
	background-color: #9999ff !important;
}
.email-color-pink {
	background-color: #ff99ff !important;
}
.email-color-purple {
	/*background-color: #99ffff !important;*/
}

#notifications .dropdown-menu {
	min-width: 20rem;
	max-height: 75vh;
	overflow: auto;
}
#notifications .dropdown-item {
	white-space: normal;
	line-height: 1.2em;
	border-bottom: 1px dotted #ccc;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}
#notifications a small {
	display: block;
	color: #999;
}
#notifications a.unread {
	font-weight: bold;
}

.tooltip-musician-availability {
	margin: 0;
	padding-left: 1.25em;
	font-size: 0.9em;
	line-height: 1.5;
}
.tooltip-musician-availability li {
	margin: 0.5em 0;
}
.tooltip-musician-availability li::marker{
	font-size: 1.5em;
}
.tooltip-musicians-available::marker{
	color: green;
}
.tooltip-musicians-maybe::marker{
	color: orange;
}
.tooltip-musicians-unavailable::marker{
	color: red;
}

#email-search-container {
	position: relative;
}
#email-search-container.email-search-focused input {
	width: 400%;
	margin-left: -300%;
	z-index: 9;
	position: relative;
}
#email-search-tips {
	display: none;
	position: absolute;
	top: 0;
	padding: 10px;
	padding-top: 50px;
	width: 400%;
	margin-left: -300%;
	z-index: 8;
	background: #fff;
	border: 1px solid #eee;
}
.email-search-focused #email-search-tips {
	display: block;
}
.email-search-tips-col {
	width: 50%;
	float: left;
}
#reports-form {
	width: 100%;	
}
.reports-list, .files-list {
	overflow-y: auto;
	margin: 10px 0;
	padding: 0;
}
.reports-list {
	max-height: 300px;
}
.reports-list li, .files-list li {
	list-style: none;
	padding: 5px;
	line-height: 2em;
	border-bottom: 1px solid #ccc;
}
.reports-list li:hover, .files-list li:hover {
	background: #eee;
}
.reports-list .report-actions, .files-list .file-actions {
	float: right;
}
#report-fields {
	padding: 0;
	margin: 0 -5px;
}
#report-fields li {
	width: 20em;
	display: inline-block;
	list-style: none;
	border: 1px solid #ccc;
	background: #fff;
	cursor: move;
	padding: 5px;
	margin: 5px;
}
#report-fields label, #report-fields input {
	margin: 0;
}
.booking-service-options {
	list-style-type: none;
	padding: 0;
}
#quote {
	min-width: 600px;
}
#quote td, #quote th {
	padding: 0.5em 1em;
	padding-left: 2em;
	text-align: right;
	width: 8em;
}
#quote td:first-child, #quote th:first-child {
	text-align: left;
	width: auto;
}
#quote .form-control {
	width: 8em;
}
#quote td:first-child .form-control {
	width: 20em;
}
#quote td:first-child[colspan], #quote-discount-row td:first-child {
	padding-left: 0;
}
#quote td:first-child[colspan] .form-control {
	width: 21em;
}
#quote td:first-child[colspan] .form-control[id$="_name"] {
	width: 10em;
	float: left;
}
#quote td:last-child, #quote th:last-child {
	padding-right: 0;
}
#quote .quote-item-buttons {
	display: block;
	float: left;
	text-align: right;
	width: 11em;
}
#quote .quote-item-buttons .btn {
	margin-right: 0.33em;
}
#quote-totals-row {
	font-weight: bold;
}
#quote-notes-row td {
	padding-top: 2em;
	padding-bottom: 2em
}
#quote-notes-row label {
	display: block;
}
#quote-select-form, #default-quote-form {
	background-color: #eee;
	padding: 2em 1em;
}
#default-quote-form {
	max-width: 250px;
	margin-top: 2em;
}
#quote #fld_notes {
	width: 100%;
}
#quote .quote-placeholder-item {
	display: none;
}
.services-table .confirmed {
	background-color: #66ff66;
}

#musician-payments-form .musician-card h4 {
	font-size: 1rem;
}
#musician-payments-form table {
	width: 100%;
}
#musician-payments-form .musician-cost-cell-amount {
	width: 100px;
}
#musician-payments-form input {
	margin: 0;
}
#musician-payments-form .musician-payments-booking {
	padding: 30px 0;
}
#musician-payments-form .musician-payments-booking:not(:first-child) {
	border-top: 1px solid #ccc;
}
#musician-payments-form .alert {
	margin-bottom: 0;
}

#quote-summary td {
	width: 200px;
}
#booking-services .popover {
	max-width: 800px;
}
ul.quote-items {
	list-style: none;
	padding: 0;
	width: 600px;
}
ul.quote-items > li > span {
	font-weight: bold;
}
ul.quote-items ul {
	list-style: none;
	padding-left: 2em;
	padding-right: 5em;
}
ul.quote-items .item-name {
	clear: right;
}
ul.quote-items .item-amount {
	float: right;
}
#booking-services .service-configuration-primary {
	font-weight: bold;
}
.musician-cost-service-times {
	list-style: none;
	padding: 0;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	row-gap: 0.5em;
	column-gap: 1em;
}
.date-summary-tooltip-list {
	padding: 0;
}
.date-summary-tooltip-list li {
	list-style: none;
	margin-bottom: 10px;
}

#fld_invoice_deposit_num, #fld_invoice_balance_num {
	margin-bottom: 0;
}
.invoice-details {
	display: none;
	border: 1px solid #ccc;
	border-top: 0;
	padding: 10px;
}
.invoice-details > div:not(.invoice-details-links) {
	width: 50%;
	float: left;
}
.invoice-details label {
	font-weight: bold;
	margin-right: 0.5em;
}
.ui-tooltip-content .booking-alert {
	display: block;
	background: #f5f37b;
	margin: -8px;
	margin-top: 10px;
	padding: 5px;
}

.fc-title {
	min-width: 0;
	overflow: hidden;
}

.field-with-calculated-vat > span {
	position: absolute;
	z-index: 2;
	display: none;
	white-space: nowrap;
	background: #ddd;
	text-align: center;
	padding: 0.5em;
}
.field-with-calculated-vat:has(input:focus) > span {
	display: block;
}
#email-actions > a > i:last-child {
	margin-left: 0.5em;
}
#musician-drop-column .card-header {
	display: flex;
	justify-content: space-between;
	gap: 2em;
}
#musician-drop-column .card-header > :first-child {
	white-space: nowrap;
}
#musician-drop-column .card-header .booking-alert, .booking-last-email {
	line-height: 1.25em;
	font-style: normal;
	padding: 0.5em 1em;
	border-radius: 5px;
	display: block;
}
.booking-last-email, .booking-last-email:hover {
	display: inline-block;
	white-space: nowrap;
	margin-bottom: 5px;
	color: #000;
}

.quote-table td:not(:first-child) {
	text-align: right;
}
.quote-table tfoot {
	font-weight: bold;
}

#ai-dialog:not(.active) > :not(.btn-ai) {
	display: none;
}

#ai-dialog {
	border: 1px solid #ccc;
	border-bottom: 0;
	background: #fff;
	position: fixed;
	bottom: 0;
	right: 2%;
	z-index: 99;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

#ai-dialog.active {
	width: 96%;
	max-width: 500px;
	height: 600px;
	max-height: 96%;
}
#ai-dialog.active > .btn-ai {
	display: none;
}

#ai-dialog #ai-messages {
	overflow-y: auto;
	flex-grow: 1;
}
#ai-dialog #ai-messages > ol {
	list-style: none;
	padding: 10px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	width: 100%;
}
#ai-dialog #ai-messages > ol > li {
	border-radius: 10px;
	max-width: 75%;
	padding: 8px;
	margin-bottom: 10px;
	line-height: 1.25;
	position: relative;
}
#ai-dialog #ai-messages > ol > li:has(.ai-message-actions) {
	margin-bottom: 26px;
}
#ai-dialog #ai-messages > ol > li > div > :last-child {
	margin-bottom: 0;
}
#ai-dialog #ai-messages > ol > li ul {
	margin: 1em 0;
}
#ai-dialog #ai-messages > ol > .message-ai {
	align-self: flex-end;
	background: #dcedff;
}
#ai-dialog #ai-message-loader {
	align-self: flex-end;
}
#ai-dialog #ai-messages > ol > .message-user {
	background: #ccc;
}
#ai-dialog #ai-message-form {
	height: 140px;
	padding: 20px;
	background: #fff;
	border-top: 1px solid #ccc;
}
#ai-dialog #ai-conversations {
	position: absolute;
	left: -300px;
	width: 300px;
	height: 100%;
	background: #fff;
	border-right: 1px solid #ccc;
	z-index: 100;
	padding-top: 40px;
}
#ai-dialog.conversations-open #ai-conversations {
	left: 0;
}
#ai-dialog #ai-conversations ol {
	list-style: none;
	padding: 0;
	overflow-y: auto;
	height: 100%;
}
#ai-dialog #ai-conversations ol a {
	padding: 0.75em 1em;
	display: block;
}
#ai-dialog #ai-conversations > button {
	position: absolute;
	right: -39px;
	width: 40px;
	height: 30px;
	background: #ffffffcc;
	border: 1px solid #ccc;
	border-left-color: #fff;
	top: 20px;
}
#ai-dialog #ai-messages #ai-messages-loader {
	position: absolute;
	bottom: 0;
	width: 100%;
	max-width: 100%;
	text-align: center;
}
#ai-dialog textarea {
	resize: none;
}
#ai-dialog h3 {
	display: flex;
	z-index: 101;
}
ul.ai-message-actions {
	margin: 0!important;
	padding: 0!important;
	position: absolute;
	left: 0;
	height: 1em;
	bottom: -1em;
	list-style: none;
	font-size: 16px;
	width: 100%;
	text-align: right;
}
ul.ai-message-actions a {
	color: #ccc !important;
}