/* GENERAL */
	html {
		scroll-behavior: smooth;
		/*visibility: hidden; */
	}
	body {
		font-family: Trebuchet MS,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Tahoma,sans-serif; 
	}
	table table {
		margin: 0;
	}
	.wide-container {
		max-width: none;
		width: 92%;
	}
	.full-width-container {
		width: 98%;
		max-width: none;
	}
	.oneandahalf.columns {
		width: 9%;
	}
	.ltext {text-align: left}
	.ctext {text-align: center}
	.rtext {text-align: right}
	header .logo .slug {
		text-transform: uppercase;
	} 
	header a,
	.link {
		text-decoration: none;
		color: #298ECA;
		cursor: pointer;
		font-size: 1.5rem;
		font-weight: normal;
		letter-spacing: normal;
	}
	.link:hover {
		text-decoration: underline;
		color: #59A5D6;
	}
	.nowrap {
		white-space: nowrap;
	}
	.text-white {
		color: #ffffff;
	}
	.text-blue {
		color: #144281;
	}
	.text-red {
		color: #C52819;
	}
	.text-skyBlue {
		color: #298ECA;
	}
	.boldblue {
		color: #144281;
		font-weight: bold;
	}
	.highlight {
		color: #EAA210;
		font-weight: bold;
	}
	a img {
		vertical-align: top;
	}
	.noselect {
		-webkit-touch-callout: none; /* iOS Safari */
		-webkit-user-select: none; /* Safari */
		-khtml-user-select: none; /* Konqueror HTML */
		-moz-user-select: none; /* Firefox */
		-ms-user-select: none; /* Internet Explorer/Edge */
		user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
	}
/* BUTTONS */
	.button.oceanBlue,
	button.oceanBlue,
	input[type="submit"].oceanBlue,
	input[type="reset"].oceanBlue,
	input[type="button"].oceanBlue {
		color: #FFF;
		background-color: #144281;
		border-color: #144281; }
	.button.oceanBlue:hover,
	button.oceanBlue:hover,
	input[type="submit"].oceanBlue:hover,
	input[type="reset"].oceanBlue:hover,
	input[type="button"].oceanBlue:hover,
	.button.oceanBlue:focus,
	button.oceanBlue:focus,
	input[type="submit"].oceanBlue:focus,
	input[type="reset"].oceanBlue:focus,
	input[type="button"].oceanBlue:focus {
		color: #FFF;
		background-color: #5071a0;
		border-color: #5071a0; 
	}

	.button.outbackRed,
	button.outbackRed,
	input[type="submit"].outbackRed,
	input[type="reset"].outbackRed,
	input[type="button"].outbackRed {
		color: #FFF;
		background-color: #C52819;
		border-color: #C52819; }
	.button.outbackRed:hover,
	button.outbackRed:hover,
	input[type="submit"].outbackRed:hover,
	input[type="reset"].outbackRed:hover,
	input[type="button"].outbackRed:hover,
	.button.outbackRed:focus,
	button.outbackRed:focus,
	input[type="submit"].outbackRed:focus,
	input[type="reset"].outbackRed:focus,
	input[type="button"].outbackRed:focus {
		color: #FFF;
		background-color: #CD4742;
		border-color: #CD4742; 
	}

	.button.skyBlue,
	button.skyBlue,
	input[type="submit"].skyBlue,
	input[type="reset"].skyBlue,
	input[type="button"].skyBlue {
		color: #FFF;
		background-color: #298ECA;
		border-color: #298ECA; }
	.button.skyBlue:hover,
	button.skyBlue:hover,
	input[type="submit"].skyBlue:hover,
	input[type="reset"].skyBlue:hover,
	input[type="button"].skyBlue:hover,
	.button.skyBlue:focus,
	button.skyBlue:focus,
	input[type="submit"].skyBlue:focus,
	input[type="reset"].skyBlue:focus,
	input[type="button"].skyBlue:focus {
		color: #FFF;
		background-color: #59A5D6;
		border-color: #59A5D6; 
	}
	button.small {
	 	padding: 0px 18px;
			line-height: 30px;
			height: 32px;
			margin-bottom: 0px;
		}
	button.clickedButton {
		background: #46463E;
		color: white;
	}

	button.dt-button, div.dt-button, a.dt-button {
		border: 1px solid #59A5D6;
		font-size: 11px; 
		line-height: 1.6em;
		color: #298ECA;
		background: #C4DDF0;
	}
	button.dt-button:active:not(.disabled), button.dt-button.active:not(.disabled), div.dt-button:active:not(.disabled), div.dt-button.active:not(.disabled), a.dt-button:active:not(.disabled), a.dt-button.active:not(.disabled) {
		background: #C4DDF0;
		box-shadow: inset 1px 1px 3px #C4DDF0;
	}	
	button.dt-button:focus:not(.disabled), div.dt-button:focus:not(.disabled), a.dt-button:focus:not(.disabled) {
		border: 1px solid #F79A6F;
		text-shadow: none;
		outline: none;
		background: #C4DDF0;
	}
	button.dt-button:hover:not(.disabled), div.dt-button:hover:not(.disabled), a.dt-button:hover:not(.disabled) {
		border: 1px solid #298ECA;
		background: rgba(196,221,240,0.75);
	}
	button.dt-button:active:not(.disabled):hover:not(.disabled),button.dt-button.active:not(.disabled):hover:not(.disabled),div.dt-button:active:not(.disabled):hover:not(.disabled),div.dt-button.active:not(.disabled):hover:not(.disabled),a.dt-button:active:not(.disabled):hover:not(.disabled),a.dt-button.active:not(.disabled):hover:not(.disabled) {
		box-shadow: inset 1px 1px 3px #999999;
		background: rgba(196,221,240,0.75);
	}

	.jBox-Confirm-button-submit:active, .jBox-Confirm-button-submit:hover {
		background: #CD4742;
	}
	.jBox-Confirm-button-submit {
		background: #C52819;
	}	


	button[disabled],
	button[disabled]:hover {
		background-color: #ddd;
		color: #666;
		border: #ccc;
	}
/* HEADER */
	header {
		height: 8em;
		z-index: 10;
		width: 100%;
		height: 6em;
		background: #fff;
		box-shadow: 0 0.1em 0 0 #e1e1e1, 0 0.2em 0.4em 0 rgba(0,0,0,.05);
		transition: height .2s linear;
		position: sticky;
		top: 0;
		margin-bottom: 2em;
		overflow: hidden;
	}
	.active-scroll header {
		height: 45px;
	}
	header .logo {
		position: relative;
		border: 1px solid transparent;
	}
	header .logo img {
		width: 200px;
		height: auto;
		position: absolute;
		left: 0;
		transition: all .2s linear;
	}
	.active-scroll header .logo img.full {
		opacity: 0;
	}
	.active-scroll header .logo img.tween {
		left: -53px;
		opacity: 0;
	}
	header nav {
		top: 26px;
		transition: all .2s linear;
		position: fixed;
	}
	.active-scroll header nav {
		top: 3px;
	}
	header #goto_patient {
		margin-top: 26px;
		transition: all .2s linear;
		display: none;
		border-color: #C4DDF0;
		float: right;
	}
	.active-scroll header #goto_patient {
		margin-top: 3px;
	}
	header nav ul {
		display: none;
		visibility: visible;
		opacity: 1;
		min-width: 100%;
		box-sizing: border-box;
		position: absolute;
		background: white;
		border: 1px solid #e1e1e1;
		list-style: none;
		top: 38px;
		left: 0;
		box-shadow: 0 0.1em 0 0 #e1e1e1, 0 0.2em 0.4em 0 rgba(0,0,0,.05);
	}
	header nav .menu:hover > ul,
	header nav .menu ul:hover {
		visibility: visible;
		opacity: 1;
		display: block;
	}	
	header nav ul li {
		margin: 0;
		padding: 0;
	}
	header nav ul li a {
		display: block;
		margin: 0;
		padding: 0.25em 1em;
		white-space: nowrap;	
	}
	header nav ul li:hover,
	header nav ul li:hover a{
		background: #298ECA;
		color: white;
	}
	header nav .menu {
		display: inline-block;
		position: relative;
		padding-right: 1px;
	}
	header .location_id {
		font-size: 12px;
		margin-bottom: 1.5em;
		transition: all .2s linear;
	}
	header .location_id span {
		font-family: monospace;
		font-size: 14px;
	}
	.active-scroll header .location_id {
		margin-bottom: 0;
	}
	header .user_tools {
		display: block;
		transition: all .2s linear;
	}
	header .location_id span {
		font-family: monospace;
		font-size: 14px;
	}
	.active-scroll header .user_tools {
		display: inline;
	}
	header .user-details.clinician {
		margin-top: 1em;
		text-align: right;
	}
	.hide_host {
		white-space: nowrap;
	}
	.active-scroll .hide_host {
		display: none;
	}
	header .user_tools .logout {
		white-space: nowrap;
		margin-left: 1em;
	}
/* LOGIN PAGE */
	.logo-big {
		margin: 56px auto;
		display: block;
	}
	.login-help-text {
		margin-top: 3em;
	}
	.version {
		position: fixed;
		bottom: 0;
		right: 0.5em;
		background:white;
	}
	.password-reset .resetting	 {
		display: none;
		font-size: 30px;
	}
	.password-reset .resetting.went-badly,
	.password-forgot .password-error {
		color: #F0461C;
		font-size: 24px;
	}
/* FULL CALENDAR */
	.fc-button {
		line-height: normal;
	}
	.fc-event,
	.fc-event-dot {
		background-color: #aaa;
		border: 1px solid #aaa;
		color: #000;
	}
	.fc-day-grid-event .type_id_1,
	.fc-day-grid-event .type_id_2,
	.fc-day-grid-event .type_id_3,
	.fc-day-grid-event .type_id_4,
	.fc-day-grid-event .type_id_5 {
		font-size: 6px;
		font-weight: normal;
	}	
	.fc-event .type_id_1,
	.fc-event-dot .type_id_1 {
		background-color: #0ff;
		color: #000;
		padding: 0 0.25em;
		font-weight: bold;
		border-radius: 3px;
	}
	.fc-event .type_id_2,
	.fc-event-dot .type_id_2 {
		background-color: #f0f;
		color: #fff;
		padding: 0 0.25em;
		font-weight: bold;
		border-radius: 3px;
	}	
	.fc-event .type_id_3,
	.fc-event-dot .type_id_3 {
		background-color: #f0f;
		color: #fff;
		padding: 0 0.25em;
		font-weight: bold;
		border-radius: 3px;
	}	
	.fc-event .type_id_4,
	.fc-event-dot .type_id_4 {
		background-color: #f00;
		color: #fff;
		padding: 0 0.25em;
		font-weight: bold;
		border-radius: 3px;
	}		
	.fc-event .type_id_5,
	.fc-event-dot .type_id_5 {
		background-color: #999;
		color: #fff;
		padding: 0 0.25em;
		font-weight: bold;
		border-radius: 3px;
	}		

/*	.fc-event.event-initial-appt,
	.fc-event-dot.event-initial-appt {
		background-color: #0f0;
		border: 1px solid #0c0;
		color: #000;
	}
	.fc-event.event-followup-appt,
	.fc-event-dot.event-followup-appt {
		background-color: #008080;
		border: 1px solid #008080;
		color: #000;
	}	*/	
	.fc-event:hover,
	.fc-event-dot:hover {
		color: #000;
	}
	.fc-event:hover .fc-bg,
	.fc-event-dot:hover .fc-bg {
		opacity: 0.40;
	}
	.home-facilitator .fc-event .patient_name,
	.home-facilitator .fc-list-item-title  .patient_name {
		display: none;
	}
	.home-facilitator .fc-event:hover .patient_name,
	.home-facilitator .fc-list-item-title:hover .patient_name {
		display: inline;
	}

	.home-facilitator .fc-month-view .fc-event:hover span:not(.fc-title) {
		display: block;
	}
	.calendar-left-side {
		padding-top: 67px;
	}
	.calendar-left-side h6,
	.calendar-right-side h6 {
		font-weight: bold;
		margin: 1em 0 0.5em;
		border-bottom: 1px solid #ccc;
	}
	.roster_mode_switch {
		margin: 6px 0 37px;
	}
	.what_to_show h6 {
		margin-top: 0;
	}
	.utilisation,
	.to_be_billed {
		line-height: 1.4;
		font-size: 14px;
		color: #46463E;
	}
	.to_be_billed a.link {
		display: block;
	}	
	.specify select {
		width: 100%;
	}
	.to_be_billed,
	.triage .item-list {
		max-height: 575px;
		overflow-y: auto;
	}
	.to_be_billed::-webkit-scrollbar-track,
	.triage .item-list::-webkit-scrollbar-track {
		background-color: #eee;
	}
	.to_be_billed::-webkit-scrollbar,
	.triage .item-list::-webkit-scrollbar {
		width: 5px;
	}
	.to_be_billed::-webkit-scrollbar-thumb,
	.triage .item-list::-webkit-scrollbar-thumb {
		border-radius: 10px;
		background-color: #8DBFE3;
	}
	.triage .item {
		margin-bottom: 1em;
		line-height: 1.4;
		font-size: 14px;
	}
	.triage.condensed .item {
		margin-bottom: 0;
		line-height: 1.4;
		font-size: 14px;
	}
	.triage.condensed .item span {
		float: right;
	}
	.fc-time-grid .fc-bgevent-container {
		z-index: 3;
	}
/* MEDICARE */
	.medicare-claims .error_line {
		background: #FBCAAF;
	}
	.medicare-claims .error_line .status{
		color: #F0461C;
	}
	.medicare-claims .error_line .status:hover {
		text-decoration: underline;
		cursor: pointer;
	}
	.medicare-claim .claim_hints {
		background-color: #F9E4B8;
		padding: 0.5em 2em;
		border: 1px solid #EAA210;
		color: #EAA210;
		/*text-align: center;*/
	}
	.medicare-claim table.mbs_codes tr:hover {
		background-color: #C4DDF0;
	}
	.medicare-claim table.mbs_codes .add_item {
		background: #144281;
		text-align: center;
		text-transform: capitalize;
		color: white;
		font-size: 11px;
		line-height: 12px;
		letter-spacing: .1rem;
		text-transform: uppercase;
		cursor: pointer;
	}
	.medicare-claim table.mbs_codes .add_item:hover {
		opacity: 0.75;
		/*color: #EAA210;*/
	}

	.medicare-claim table.mbs_codes,
	.medicare-claim table.mbs_voucher {
		width: 100%
	}
	.medicare-claim table.mbs_codes th,
	.medicare-claim table.mbs_voucher th,
	.medicare-claim table.mbs_codes td,
	.medicare-claim table.mbs_voucher td {
		padding: 2px 15px;
	}
	.medicare-claim table.mbs_voucher label,
	.medicare-claim table.mbs_voucher input {
		margin-bottom: 0;
	}	
	.medicare-claim table.mbs_voucher tfoot {
		font-style: italic;
		display: none;
	}
	.medicare-claim table.appt_details {
		width: 100%;
	}
	.medicare-claim table.appt_details th {
		background-color: #DBE0B7;
		padding: 0.25em 0.5em 0;
		border: 1px solid #BAC67B;
	}
	.medicare-claim table.appt_details td {
		padding: 0.25em 1em 0.25em;
		border: 1px solid #BAC67B;
	}
	.medicare_declaration {
		padding: 0 4em;
		font-size: 14px;
	}
	.medicare_declaration li {
		line-height: 1.4;
	}
	.claim_errors_modal h5 {
		margin-bottom: 0;
	}
	.claim_errors_modal .errors {
		margin: 0.5em 2em 1.5em;
	}
	.claim_errors_modal .buttons {
		margin-top: 2em;
	}
	.medicare-paid table th,
	.medicare-paid table td {
		text-align: center;
	}
	.medicare-payments table.datatable th,
	.medicare-payments table.datatable td {
		text-align: center;
	}
	.medicare-payments table.datatable tr:hover {
		cursor: pointer;
	}
	.medicare-payments table.single_payment {
		margin: auto;
	}
	.medicare-claims .claim_more {
		width: 60px;
		white-space: normal;
		line-height: 1;
		padding: 2px;
		letter-spacing: 0;
		font-size: 8px;
		margin: 0;
		vertical-align: middle;
	}	
/* LINEAR FORM */
	.linear section {
		margin-bottom: 2em;
	}
	.linear section h4 {
		font-size: 16px;
		font-weight: bold;
		border-bottom: 1px solid #95958D;
		color: #46463E;
		margin-bottom: 2em;
		letter-spacing: 0.2px;
	}
	.linear .input small {
		padding-left: 2em;
		color: #8DBFE3;	
		box-sizing: border-box;
		display: inline-block;
		width: 30%;
		line-height: 1;
		vertical-align: middle;
	}
	.linear .textarea small {
		vertical-align: top;
	}
	.linear .textareawide small {
		width: auto;
	}
	.linear label {
		width: 30%;
		display: inline-block;
		color: #144281;
		font-weight: normal;
		font-size: 12px;
		text-align: right;
		margin: 0;
		line-height: 2.4;		
		padding-right: 1em;
		vertical-align: top;
		box-sizing: border-box;
	}
	.linear input, 
	.linear select,
	.linear textarea,
	.end_episode_form textarea,
	.restart_episode_form textarea {
		font-weight: bold;
		font-size: 15px;
		color: black;
		width: 40%;
		padding: 5px;
		height: auto;
		margin-bottom: 1px;
		border-color: #C4DDF0;
		box-sizing: border-box;
		height: 31px;
	}
	.linear input[type="checkbox"] {
		width: 24px;
	} 
	.linear input:focus,
	.linear select:focus {
		border: 1px solid #F79A6F;
	}
	.linear textarea {
		height: 121px;
	}
	.linear .textareawide label {
		line-height: 1.2;
		display: block;
		width: 100%;
		text-align: left;
		margin-bottom: 0.25em;
	}
	.linear .textareawide textarea {
		width: 100%;
	}
	.linear span.valid,
	.linear span.invalid {
		background: #7F9B21;
		padding: 0.25em 0.5em;
		border-radius: 2.5em;
		color: white;
		text-transform: uppercase;
		font-size: 12px;
		font-weight: bold;		
	}
	.linear span.invalid {
		background: #C52819;
	}	
	.linear .input.span span {
		line-height: 32px;
		height: 32px;
		font-weight: bold;
		display: inline-block;
		padding-left: 10px;
	}
	.linear input[type="color"] {
		height: 8em;
	}

	.linear.dialog label {
		width: 20%;
	}
	.linear.dialog input,
	.linear.dialog select {
		width: 70%;
	}
	.linear.dialog .text-block,
	.linear.dialog .text-block h4 {
		margin-bottom: 0.5em;
	}
	.linear.dialog .text-block div {
		width: 70%;
		margin-left: 20%
	}
	.linear.dialog .text-block em {
		font-style: normal;
		font-size: 10px;
		font-weight: bold;
		color: #144281;
	}
	.linear .indigenous label {
		line-height: 1.2;
	}
	.linear .input.required label,
	.linear .input.required small {
		color: #F46E3E;
	}

	.linear .yesno,
	.linear .yesnounknown {
		height: 32px;
	}
	.linear .yesno input,
	.linear .yesnounknown input {
		display: none;
	}
	.linear .yesno div,
	.linear .yesnounknown div {
		height: 32px;
		cursor: pointer;
		display: inline-block;
		margin: 4px 0;
	}
	.linear .yesno div span,
	.linear .yesnounknown div span {
		margin: 0 0.25em -4px 0;
		display: inline-block;
		border: 1px solid #C4DDF0;
		height: 18px;
		width: 18px;
		border-radius: 4px;
		transition: 0.3s;
	}
	.linear .yesno div.yes,
	.linear .yesnounknown div.yes {
		width: 4em;
	}
	.linear .yesno div.no,
	.linear .yesnounknown div.no {
		width: 3.5em;
	}	
	.linear .yesno div.ticked,
	.linear .yesnounknown div.ticked {
		font-weight: bold;
	}
	.linear .yesno div.ticked span,
	.linear .yesnounknown div.ticked span {
		border: 10px solid #C4DDF0;
		height: 0;
		width: 0;
		border-radius: 4px;
	}	
	.restrict_to_host label {
		width: 70%;
	}
	.restricted_to_host:before {
		content: "\f023";		
		font-weight: 900;
		font-family: "Font Awesome 5 Free";
		-moz-osx-font-smoothing: grayscale;
		-webkit-font-smoothing: antialiased;
		display: inline-block;
		font-style: normal;
		font-variant: normal;
		text-rendering: auto;
		line-height: 1;
	}

/* AUTOCOMPLETE */
	.ui-autocomplete {
		position: absolute;
		top: 0;
		left: 0;
		cursor: default;
		background: #fff;
		box-shadow: 0 0.1em 0 0 #e1e1e1, 0 0.2em 0.4em 0 rgba(0,0,0,.05);
	}
	.ui-menu {
		list-style: none;
		padding: 0;
		margin: 0;
		display: block;
		outline: 0;
		z-index: 10005;
	}
	.ui-menu .ui-menu-item {
		margin: 0;
		cursor: pointer;
	}
	.ui-menu .ui-menu-item-wrapper {
		position: relative;
		padding: 3px 1em 3px .4em;
	}
	.ui-menu .ui-menu-item-wrapper s {}
	.ui-menu .ui-state-focus,.ui-menu .ui-state-active {
		background-color: #C4DDF0;
	}
	.ui-helper-hidden-accessible {
		border: 0;
		clip: rect(0 0 0 0);
		height: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;
		width: 1px;
	}	
	.ui-autocomplete b {
		background-color: #F4CC79;
	}
/* MULTIPICK */
	.multipick div {
		font-size: 14px;
		cursor: pointer;
		line-height: 1;
		padding-top: 0.25em;
	}
	.multipick .specialty {
		color: #298ECA;
		margin-bottom: 0.5em;
	}
	.multipick .specialty .specialty_name {
		display: block;
		margin-bottom: 0.25em;
	}
	.multipick .specialist {
		margin-left: 4em;
		color: #95958D;
	}
	.multipick .specialist.picked {
		color: #46463E;
	}
	.multipick .specialist:before {
		-moz-osx-font-smoothing:grayscale;
		-webkit-font-smoothing:antialiased;
		display:inline-block;
		font-style:normal;
		font-variant:normal;
		text-rendering:auto;
		font-weight:400;
		font-family:"Font Awesome 5 Free";
		content:"\f111";
		font-size: 16px;
		display: inline-block;
		vertical-align: text-top;
		color: #59A5D6;
		margin-right: 0.5em;
		margin-left: -1.75em;
	}	
	.multipick .specialist.picked:before {
		font-weight:900;
		content:"\f2bd";
	}
/* TABLES */
	table.tighty td,
	table.tighty th {
		padding: 4px 8px;
	}
	table.tighty th:first-child, 
	table.tighty td:first-child {
		padding-left: 0;
	}
	table.tighty th:last-child, 
	table.tighty td:last-child {
		padding-right: 0;
	}
	table.tighty .half {
		width: 50%;
	}
	table.tighty .tenth {
		width: 10%;
		box-sizing: border-box;
	}
	table.k10 td,
	table.k10 th {
		padding: 8px 8px;
		line-height: 1.2;
	}
	table.k10 .half {
		width: 50%;
	}
	table.k10 .tenth {
		width: 10%;
		box-sizing: border-box;
	}
	table.k10 .v1,
	table.k10 .v2,
	table.k10 .v3,
	table.k10 .v4,
	table.k10 .v5 {
		text-align: center;
	}
	table.k10 .v1 {background-color: rgba(127,155,33,0.2)}
	table.k10 .v2 {background-color: rgba(127,155,33,0.4)}
	table.k10 .v3 {background-color: rgba(127,155,33,0.6)}
	table.k10 .v4 {background-color: rgba(127,155,33,0.8)}
	table.k10 .v5 {background-color: rgba(127,155,33,1.0)}
	
	table.form_like {
		width: 100%;
		position: relative;
	}
	table.form_like tr {
		vertical-align: baseline;
	}
	table.form_like td,
	table.form_like th {
		padding: 2px 8px;
		border: none;
	}
	table.form_like th {
		text-align: right;
		color: #144281;
		font-weight: normal;
		font-size: 12px;
	}
	table.form_like td {
		font-weight: bold;
		font-size: 15px;
	}
	.sub-cell {
		margin-left: 3em;
	}
	.sub-cell b {
		margin-right: 0.5em;
	}
	table td.highlight {
		background-color: rgba(127,155,33,0.6);
	}
/* PAITENT VIEW MENU BUTTON */
	.actions .menu {
		display: inline-block;
		position: relative;
		text-align: left;
	}
	.actions .menu ul {
		display: none;
		visibility: visible;
		opacity: 1;
		min-width: 100%;
		box-sizing: border-box;
		position: absolute;
		background: white;
		border: 1px solid #e1e1e1;
		list-style: none;
		top: 38px;
		left: 0;
		box-shadow: 0 0.1em 0 0 #e1e1e1, 0 0.2em 0.4em 0 rgba(0,0,0,.05);
	}
	.actions .menu ul li {
		margin: 0;
		padding: 0;
		display: block;
		margin: 0;
		padding: 0.25em 1em;
		white-space: nowrap;
		cursor: pointer;
	}
	.actions .menu:hover > ul,
	.actions .menu.menu ul:hover {
		visibility: visible;
		opacity: 1;
		display: block;
	}
	.actions .menu ul li:hover {
		background: #C52819;
		color: white;
	}
/* BOOK APPOINTMENT */
	.appointment.book table.options {
		width: 100%;
	}
	.appointment.book table.options td select {
		width: 100%;
	}
	.appointment.book table.options td {
		vertical-align: bottom;
	}
	.appointment.book table.options td {
		line-height: 1.2;
	}
	.appointment.book table.options td .input.span {
		margin-bottom: 1em;
	}
	.appointment.book table.options td .input.span span {
		line-height: 38px;
	}
	.appointment.book .appointment-list {
		width: 36%;
	}
	.appointment.book.wellbeing .appointment-list {
		width: 40%;
	}	
	.appointment.book .appointment-list h6 {
		margin: 0.5em 0;
		font-weight: bold;
	}
	.appointment.book .appointment-list time {
		padding: 0 1em;
	}
	.appointment.book .appointment-list .appt_item {
		color: #298ECA;
	}
	.appointment.book .appointment-list .appt_item:hover {
		background-color: #298ECA;
		color: white;
		cursor: pointer;
	}
	.appointment.book aside {
		width: 60%;
		float: right;
		position: sticky;
		top: 60px;
	}
	.appointment.book.wellbeing aside {
		width: 58%;
	}
	.appointment.book .appointment-details label {
		display: inline-block;
		width: 12em;
	}
	.appointment.book .appointment-details select {
		width: 22em;
	}
	.appointment.book .appointment-details .hilite {
		background-color: #F9E4B8;
		padding: 1px 5px;
	}
	.appointment.book .appointment-details .referral-message {
		padding: 1px 5px;
	}
	.appointment.book .appointment-details .valid_referral {
		background-color: #DBE0B7;
	}
	.appointment.book .appointment-details .invalid_referral {
		background-color: #FBCAAF;
		color: #F0461C;
	}
	.appointment.book .appointment-details .missing_referral {
		background-color: #F3D1CE;
		color: #C52819;
	}
	.appointment.book .appointment-details label:after {
		content: ': ';
	}
	.appointment.book .appointment-details #modality_both option:disabled {
		display: none;
	}
	.appointment.book .specialist-bio .headshot {
		width: 200px;
		height: 300px;
		float: left;
		margin: 0 1em 0.5em 0;
	}
	.appointment.book .appointment-details .referral-title {
		font-weight: bold;
	}
	.appointment.book .appointment-details .referral-message {
		white-space: nowrap;
	}
	.appointment.book  #taken {
		margin-bottom: 2em;
		border: 5px solid #F0461C;
		padding: 2em;
		background-color: #FBCAAF;
	}
	.appointment.book  #taken h5 {
		color: #F0461C;
		line-height: 1.2;
		margin-bottom: 0.5em;
	}
/* PATIENT HISTORY */
	.patient-history {
		border-bottom: 1px solid #aaa;
		margin-bottom: 6em;
	}
	.patient-history .event .title {
		/*font-weight: bold;*/
		border-top: 1px solid #aaa;
		padding: 0.125em 0;
	}
	.patient-history .event .title:hover {
		cursor: pointer;
		background: rgba(196,221,240,0.5);
	}
	.patient-history .event .title.note {
		color: #298ECA;
	}
	.patient-history .event .title.appt {
		color: #144281;
	}
	.patient-history .event .title.file {
		color: #46463E;
	}	
	.patient-history .event .title.cancelled {
		background-color: #eee;
	}
	.patient-history .event .title.cancelled span {
		text-decoration: line-through;
		color: #6A6A62;
	}	
	.patient-history .event .title.refer {
		color: #F0461C;
	}
	.patient-history .event .title span {
		display: inline-block;
		margin-left: 1%;
		vertical-align: middle;
	}
	.patient-history .event .title span.fulldate {
		width: 25%;
	}
	.patient-history .event .title span.col2 {
		width: 20%;
	}
	.patient-history .event .title span.col3,
	.patient-history .event .title span.col4 {
		width: 24.25%;
	}
	.patient-history .event .title span.col23 {
		width: 45.75%
	}

	.patient-history .event .title span.col34 { 
		width: 50%;
	}
	.patient-history .event .title span.col34 img {
		vertical-align: middle;
	}
	.patient-history .event.expanded .title {
		background: #F9E4B8;	
	}
	.patient-history .event .content {
		display: none;
		border-top: 1px solid #aaa;
		margin: 0;
		padding-bottom: 1em;
	}
	.patient-history .event .content.note {
		background: #F8F4EE;
		padding:1em;
		border: 1px solid #F3EADF;
	}
	.patient-history .event .content.note-audit {
		background: #F6F6FF;
		padding:1em;
		border: 1px solid #F0F0FF;
		border-top: transparent;
	}
	.patient-history .event .content.note-audit-title {
		color: #298ECA;
		background: #F6F6FF;
		padding: 0.2em;
		border: 1px solid #F0F0FF;
		border-bottom: transparent;
	}
	.patient-history .event .content table {
		margin-left: 100px;
		margin-bottom: 0;
	}
	.patient-history .event .content table th,
	.patient-history .event .content table td {
		/*border: none;*/
		padding: 4px 15px;
	}
	.patient-history .event .content table tr:last-child th,
	.patient-history .event .content table tr:last-child td {
		border: none;
	}
	.patient-history .event .content.ref table {
		display: inline-block;
		vertical-align: top;
		margin-right: 3em;	
	}
	.patient-history .event .content table td.table-buttons {
		vertical-align: top;
		padding-top: 0.5em;
		padding-left: 3em;
		border: none;
	}	
	.patient-history  .edit_k10_modal {
		margin-left: 2em;
	}
	.patient-history .patient_event.discharged,
	.patient-history .patient_event.referred,
	.patient-history .patient_event.cancelled_rfds {
		border-top: 1em solid #7F9B21;
	}
	.patient-history .patient_event.priority_note {
		color: #C52819;
		font-weight: bold;
	}

	.history_icons {
		float: right;
		font-size: 22px;
		color: #144281;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
	}
	.history_icons i {
		cursor: pointer;
	}
	.history_icons .off {
		color: #95958D;
	}
	.history_icons .k10_icon {
		background: #144281;
		color: white;
		display: inline-block;
		font-size: 14px;
		padding: 4px;
		line-height: 12px;
		border-radius: 2px;
		vertical-align: 3px;
		font-style: normal;
	}
	.history_icons .k10_icon.off {
		background-color: #95958D;
		color: white;	
	}
/* CONFIG SCREENS */
	.config tr.inactive {
		background-color: #eee;
	}
	.config tr.inactive td {
		text-decoration: line-through;
		color: #6A6A62;	
	}
	.config table {
		display: none;
	}

	.config .dataTables_wrapper table {
		display: table;
	}
	.config table tbody tr:hover {
		cursor: pointer;
	}
	.config .dataTables_filter {
		right: 110px;
		top: -72px;		
	}
	.config .switch.show_inactive {
		position: absolute;
		top: 8px;
		right: 395px;
	}
	.config-specialists .bio textarea {
		height: 450px;
		width: 65%;
	}
	.config-specialists .photo_bio {
		width: 33%;
	}
	.config-specialists .photo_bio label {
		line-height: 1.2;
		display: block;
		width: 100%;
		text-align: left;
		margin-bottom: 0.25em;
	}
	.config-specialists .photo_bio.has_photo .dropzone,
	.config-specialists .photo_bio:not(.has_photo) .photo-img {
		display: none;
	}
	.config-specialists .photo_bio.has_photo .photo-img,
	.config-specialists .photo_bio:not(.has_photo) .dropzone {
		display: block;
	}	
	.config-specialists .serviced_hosts {
		margin-left: 5%;
		width: 45%;
		display: inline-block;
		vertical-align: top;
	}
	.config-specialists .serviced_hosts input {
		height: 24px;
	}
	.config-specialists .serviced_hosts label {
		height: 24px;
		line-height: 34px;
		text-align: left;
		width: auto;
	}
	.config-specialties .sample {
		width: 9em;
		padding: 2px;
		white-space: nowrap;
	}
	.config-specialties .sample .fc-event {
		padding: 6px 8px;
	}
/* REPORTS */

	body.report .daterangepicker .calendar-table th, .daterangepicker .calendar-table td {
		padding: 1px;
	}
	.daterangepicker .drp-buttons .btn {
		padding: 0px 30px; 
	}
	body.report .fill {
		text-align: center;
		color: white;
		font-weight: bold;				
	}
	body.report .rating_1,
	body.report .happy_N {
		background-color: #C52819;
	}
	body.report .rating_2 {
		background-color: #F0461C;
	}
	body.report .rating_3 {
		background-color: #ED7516;
		
	}
	body.report .rating_4 {
		background-color: #EAA210;
		
	}
	body.report .rating_5,
	body.report .happy_Y {
		background-color: #7F9B21;
	}
	body.report thead .centred th {
		text-align: center;
		background-color: #C4DDF0;
		border: 1px solid black;
		border-right-width: 0;
	}
	body.report thead .centred th:first-child {
		border-left-width: 0;
	}
	body.report header .menu.report {
		display: block;
	}
	body.report.consent .menu .consent,
	body.report.survey .menu .survey,
	body.report.appointments .menu .appointments {
		color: #FFF;
		background-color: #144281;
		border-color: #144281;
	}
	body.report .dataTables_length {
		right: 415px;
	}
	body.patient-discharged .dataTables_length {
		right: 415px;
	}
	body.report .dataTables_filter {
		right: 590px;
	}
	body.report input[type="checkbox"] {
		height: 18px;
		width: 18px;
	}
	body.report .check {
		display: inline-block;
		margin-left: 10px;
	}
	body.report .input {
		display: inline-block;
		margin-left: 10px;
	}
	body.report .input label {
		display: inline-block;
		margin-right: 10px;		
	}
	.config-messaging .save_bar {
		position: sticky;
		top: 0;
		background: white;
		padding: 10px;
		margin: 0 -10px;
		z-index: 500;
	}
	.config-messaging textarea.email {
		width: 100%;
		height: 500px;
		line-height: 1;
	}
	.config-messaging .messaging .mce-tinymce {
		margin-bottom: 5em;
	}
	.config-messaging textarea.sms {
		width: 100%;
		height: 240px;
	}
	.config-messaging .smsblock {
		width: 236px;
		display: inline-block;
	}
	.config-messaging h6 {
		margin: 1em 0 0.5em;
	}
	.config-messaging textarea.test-data {
		width: 100%;
		height: 500px;
		line-height: 1.4;
	}
	.config-messaging .bad-json,
	.config-messaging .bad-json:focus { 
		border-color: #F79A6F;
	}		
	.config-messaging table {
		display: table;
	}
	.config-messaging table th,
	.config-messaging table td {
		padding: 0;
		border-bottom: none;
	}
	.config-messaging .data_field {
		margin-top: 2em;
	}
/* DIALOGS */
	.date_time_inputs {
		width: 100%;
		display: none;
	}
	.date_time_inputs .input {
		display: inline-block;
		margin-right: 1em;
	}
	.date_time_inputs .in_date input {
		width: 12em;
	}
	.date_time_inputs .in_time input {
		width: 6em;
	}
	.date_time_inputs .input label {
		margin-bottom: 0;
		font-size: 12px;
		display: inline-block;
		padding-right: 1em;
	}
	.date_time_inputs .input small {
		width: auto;
	}
	.modal_contact_patient label {
		color: #144281;
		font-weight: normal;
		font-size: 12px;
		width: 50px;
	}
	.modal_contact_patient .input.intake_scheduled,
	.modal_contact_patient .input.move_to_wait_list {
		padding: 0;
		margin: auto;
		display: block;
		width: 22em;
	}
	.modal_contact_patient .input.intake_scheduled label,
	.modal_contact_patient .input.move_to_wait_list label {
		width: auto;
		text-align: left;
		line-height: 39px;
	}
	.modal_contact_patient .contact_type {
		margin-bottom: 0.5rem;
    	display: inline-block;
    	width: 100%;
	}
	.modal_contact_patient .contact_type label {
		float: left;
		width: auto;
	}
	.new_slot_form .checkbox {
		display: inline;
	}
	.new_slot_form select,
	.new_slot_form input {
		width: 55%;
	}
	.new_slot_form .input.checkbox2 {
		margin-left: 30%;
		padding-left: 0;
	}
	.new_slot_form .checkbox2.input label {
		width: unset;
		text-align: left;
		color: #222;
		font-weight: bold;
		font-size: 15px;
		vertical-align: bottom;
	}
	.new_slot_form .input.host_id {
		display: none;
		margin: 0.5em 0;
	}
	.intake_form .interview_outcome input:checked+label {
		font-weight: bold;
	}
	.intake_form .interview_outcome .input.radio {
		padding-left: 4em;
	}
	.intake_form .interview_outcome .input.radio input {
		width: 16px;
		height: 22px;
		margin: 0;
	}
	.intake_form .interview_outcome .input.radio label {
		width: 70%;
		text-align: left;
		font-size: 16px;
		line-height: 20px;
	}
	.intake_form .interview_outcome .input.outcome_notes {
		margin-top: 1em;
		padding: 0 4em;
		display: none;
	}
	.modal_give_consent #join-now {
		display: none;
	}
	.modal_give_consent .input.checkbox2 {
		padding-left: 10em;
	}
	.modal_give_consent .input.checkbox2 input {
		height: 24px;
		margin: 0;
	}
	.modal_give_consent .input.checkbox2 label {
		text-align: left;
		font-weight: bold;
		font-size: 16px;
		line-height: 1.6;
	}
	.add_note_form #save_note {
		margin-top: 1.5em;
		margin-bottom: 0;
	}

	.patient-view .jBox-title i.fa-window-minimize,
	.patient-view .jBox-title i.fa-window-maximize {
		position: absolute;
		top: 10px;
		color: #aaa;
		width: 40px;
		height: 40px;
		line-height: 40px;
		cursor: pointer;
		text-align: center;
		right: 40px;
	}
	.patient-view .jBox-title .fa-window-maximize {
		display: none;
	}
	.patient-view .jBox-Modal.jBox-closeButton-title .jBox-title {
		padding-right: 135px;
	}
	.add_referral_form .ref_duration,
	.add_referral_form #done,
	.add_referral_form #cancel {
		display: none;
	}
	.add_referral_form .view_referrer {
		margin-left: 30%;
	}
	.add_referral_form a.link {
		min-width: 70%;
		display: inline-block;
		text-align: left;
		float: right;
	}
	.add_referral_form .provider_number small {
		color: #F0461C;
		display: none;
	}
	.edit_referral_form .provider_number small {
		color: #F0461C;
		display: none;
	}
	.edit_referral_form .input.file {
		text-align: center;
		margin-bottom: 3em;
	}
	.edit_referral_form .replace_file {
		font-size: 30px;
		line-height: 0;
		color: #C52819;
		vertical-align: sub;
		margin-left: 0.5em;
	}
	.edit_referral_form .replace_file:hover {
		text-shadow: #C52819 0 0 1px;
		cursor: pointer;
	}
	.edit_referral_form .uploaded_file .has_file,
	.add_referral_form .uploaded_file .no_file {
		display: block;
	}
	.edit_referral_form .uploaded_file .no_file,
	.add_referral_form .uploaded_file .has_file {
		display: none;
	}
	.edit_referral_form .uploaded_file .no_file a {
		display: block;
		text-align: center;
		/*margin-bottom: 2em;*/
	}
	.edit_appointment_form .watermark {
		position: absolute;
		top: 10px;
		right: 20px;
		font-size: 240px;
		color: #298ECA10;
	}
	.edit_appointment_form table {
		position: relative;
	}	
	table.patient_matches th,
	table.patient_matches td {
		padding: 0.25em 1em;
		border: 1px solid #E1E1E1;
	}
	table.patient_matches th:first-child, 
	table.patient_matches td:first-child {
		padding-left: 0;
		border: 0;
	}
	table.patient_matches th:last-child, 
	table.patient_matches td:last-child {
		border: 0;
		padding-top: 0;
		padding-bottom: 0;
	}
	table.patient_matches td.match {
		background-color: #7F9B21;
		/*color: white;*/
		font-weight: bold;
	}
	table.patient_matches td.s1 { background-color: #BAC67B; font-size: 0.75em; }
	table.patient_matches td.s2 { background-color: #9CAF49; font-size: 0.75em; }
	table.patient_matches td.s3 { background-color: #7F9B21; font-size: 0.75em; }
	table.patient_matches button {
		margin-bottom: 0;
	}
	.edit_appointment_form tr.note-row th {
		text-align: left;
	}
	.edit_appointment_form tr.note-row th:first-child {
		text-align: right;
		vertical-align: top;
	}
	.edit_appointment_form tr.note-row .input.appt_note {
		width: 77%;
		display: inline-block;
	}
	.edit_appointment_form tr.note-row label {
		display: none;
	}
	.edit_appointment_form .appt_note textarea {
		width: 100%;
		background-color: rgba(255,255,255,0.6);
	}
	.edit_appointment_form .note-row button {
		margin-top: 0.5em;
		float: right;
	}
	.meeting-status-table i {
		font-size: 27px;
	}
	.end_episode_form h6 {
		font-weight: bold;
		color: #144281;
		margin-left: 2em;
	}
	.end_episode_form .radio-options {
		margin: 0 0 2em 10em;
	}
	.end_episode_form .fancy-or {
		margin: 0.25em 3em
	}
	.end_episode_form .other_reason {
		margin: 0 3em;
	}
	.end_episode_form .other_reason label {
		color: #144281;
		font-weight: normal;
		font-size: 14px;
	}

	.end_episode_form .other_reason textarea {
		width: 100%
	}
	.end_episode_form .reason_6 {
		margin-bottom: 0;
	}
	.restart_episode_form h6 {
		font-weight: bold;
		color: #144281;
	}
	.restart_episode_form div {
		margin-left: 2em;
		margin-bottom: 2em;
	}
	.restart_episode_form .restart_reason label {
		color: #144281;
		font-weight: normal;
		font-size: 14px;
	}
	.restart_episode_form textarea {
		width: 100%;
	}
	.restart_episode_form .textareawide {
		margin-right: 2em;
	}
	button.restart_episode_modal {
		/*margin-left: 12em;*/
	}
	.cancel_appt_form select,
	.cancel_appt_form textarea {
		width: 100%;
	}
	.cancel_appt_form .appt_details {
		margin: 0 2em 0 2em;
		font-weight: bold;
	}
	.cancel_appt_form .input_label {
		margin: 0.5em 2em 0;
		font-weight: bold;
	}
	.cancel_appt_form .input {
		margin: 0 1em;
	}
	.cancel_appt_form .buttons {
		margin-top: 1em;
	}
	.jBox-Modal.cancel_appt .jBox-title {
		background: #C52819;
		color: white;
		font-weight: bold;
		letter-spacing: 2px;
		font-size: 20px;
		line-height: 1.2;
	}
	.jBox-Modal.cancel_appt .jBox-title .jBox-closeButton path {
		fill: white;
	}
	.jBox-Modal.cancel_appt .jBox-title .jBox-closeButton:hover path {
		fill: #aaa;
	}

/* UI SWITCH */
	input.switch-input {
		display: none;
	}
	.switch-label {
		position: relative;
		display: inline-block;
		cursor: pointer;
		text-align: left;
		padding: 0 0 0 44px;
	}
	.switch-label:before, .switch-label:after {
		content: "";
		position: absolute;
		margin: 0;
		outline: 0;
		top: 50%;
		-ms-transform: translate(0, -50%);
		-webkit-transform: translate(0, -50%);
		transform: translate(0, -50%);
		-webkit-transition: all 0.3s ease;
		transition: all 0.3s ease;
	}
	.switch-label:before {
		left: 1px;
		width: 34px;
		height: 14px;
		background-color: #9E9E9E;
		border-radius: 8px;
	}
	.switch-label:after {
		left: 0;
		width: 20px;
		height: 20px;
		background-color: #FAFAFA;
		border-radius: 50%;
		box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0, 0, 0, 0.098), 0 1px 5px 0 rgba(0, 0, 0, 0.084);
	}
	.switch-label .toggle--on {
		display: none;
	}
	.switch-label .toggle--off {
		display: inline-block;
	}
	.switch-input:checked + .switch-label:before {
		background-color: #A5D6A7;
	}
	.switch-input:checked + .switch-label:after {
		background-color: #4CAF50;
		-ms-transform: translate(80%, -50%);
		-webkit-transform: translate(80%, -50%);
		transform: translate(80%, -50%);
	}
	.switch-input:checked + .switch-label .toggle--on {
		display: inline-block;
	}
	.switch-input:checked + .switch-label .toggle--off {
		display: none;
	}
/* SINGLE ITEMS */

	.calculated_k10_score {
		text-align: right;
		font-weight: bold;
	}
	.calculated_k10_score p {
		font-weight: normal;
		text-align: left;
	}
	.shake {
		animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
		transform: translate3d(0, 0, 0);
		backface-visibility: hidden;
		perspective: 1000px;
	}

	@keyframes shake {
		10%, 90% {
			transform: translate3d(-1px, 0, 0);
		}
		20%, 80% {
			transform: translate3d(2px, 0, 0);
		}
		30%, 50%, 70% {
			transform: translate3d(-4px, 0, 0);
		}
		40%, 60% {
			transform: translate3d(4px, 0, 0);
		}
	}
	@keyframes shadow-pulse {
		0% {
			box-shadow: 0 0 0 0px rgba(20, 66, 129, 0);
		}
		50% {
			box-shadow: 0 0 0 0px rgba(20, 66, 129, 0.5);
		}		
		100% {
			box-shadow: 0 0 0 20px rgba(20, 66, 129, 0);
		}
	}
	.patient-view #join,
	.edit_appointment_form #join {
		border-radius: 1px;
		animation: shadow-pulse 2s infinite;
	}


	.input.radio,
	.input.checkbox2 {
		padding-left: 1em;
		white-space: nowrap;
	}
	.input.radio input,
	.input.checkbox2 input {
		display: none;
	}
	.input.radio label,
	.input.checkbox2 label {
		white-space: normal;
		vertical-align: middle;
		line-height: 1.1;
		display: inline-block;
		margin-left: 0.5em;
		color: #144281;
		font-weight: normal;
		font-size: 14px;		
	}
	.input.radio label:before,
	.input.checkbox2 label:before {
		-moz-osx-font-smoothing:grayscale;
		-webkit-font-smoothing:antialiased;
		display:inline-block;
		font-style:normal;
		font-variant:normal;
		text-rendering:auto;
		font-weight:400;
		font-family:"Font Awesome 5 Free";
		content:"\f111";
		font-size: 16px;
		color: #59A5D6;
		margin-right: 0.5em;
	}
	.input.checkbox2 input:checked + label:before {
		font-weight:900;
		content:"\f058";
	}
	.input.radio input:checked + label:before {
		font-weight:900;
		content:"\f192";
	}
	.patient-view .actions {
		padding-top: 0.5em;
		text-align: right;
	}
	.patient-view #join {
		margin-right: 4px;
	}
	.patient-view .status-discharged {
		background: #7F9B21;
		padding: 0.25em;
		text-align: center;
		color: white;
		border-radius: 3px;		
	}
	.patient-view .map {
		z-index: 1;
	    position: relative;
	    display: none;
	    top: 0px;
	    left: -24px;
	    height: 0px;
    }
	.patient-view .map i {
		font-size: 20px;
		height: 20px;
    	color: #144281;
	}
	.patient-view .map i:hover {
		cursor: pointer;
	}
	#map {
        height: 560px;
        width: 560px;
        margin-bottom: 1rem;
    }

	.past_appt,
	.manually-book,
	.manually-book-phone {
		text-align: center;
		font-style: italic;
		font-weight: bold;
		margin: 2em 0 1em;
		color: #F0461C;
	}
	.manually-book,
	.manually-book-phone {
		color: #298ECA;
	}
	.appt_note textarea {
		margin: 0px 0px 1px;
		width: 70%;
		height: 48px;
		min-height: unset;
		font-weight: normal;
		line-height: 1.2;
	}
	.book_appointment_form .note-block {
		margin-bottom: 0.5em;
	}
	.linear .input.card_number small,
	.linear .input.card_expiry small {
		width: auto;
	}
	.card_number small.invalid,
	.card_expiry small.invalid {
		color: #F0461C;
		font-weight: bold;
		width: 50%;
		padding: 0;
		margin-left: 30%;
	}
	.appt_type_subsection {
		padding-left: 1.5em;
	}
	.roster_mode_switch {
		display: none;
		/*margin-top: 1em;*/
	}
	.input.switch {
		text-align: right;
	}
	.input.switch label:not(.switch-label) {
		display: inline-block;
		margin-right: 1em;
		float: left;
	}
	.widget_utilisation section {
		position: relative;
	}
	.widget_utilisation .slots {
		padding-left: 0;
		display: none;
		float: right;
	}
	.widget_utilisation .slots label {
		vertical-align: top;
		line-height: 1;
		color: #46463E;
	}
	.widget_utilisation .slots label:before {
		margin-right: 0.25em;
	}
	.widget_to_be_billed {
		margin: 1em 0;
	}
	.widget_to_be_billed table {
		margin: 0 0 0.5em;
		width: 100%;
	}
	.widget_to_be_billed table th,
	.widget_to_be_billed table td {
		padding: 0;
	}
	.widget_to_be_billed table tr:last-child th,
	.widget_to_be_billed table tr:last-child td {
		border: 0;
	}	
	.widget_to_be_billed table td {
		font-size: 14px;
	}

	#opv-medicare i {
		display: none;
		font-size: 20px;
	}
	#opv-medicare.loading i {
		display: block;
	}
	#opv-medicare.loading span {
		display: none;
	}
	.form_medicare_opv table {
		width: 100%;
	}
	.form_medicare_opv .undo {
		display: none;
	}
	.form_medicare_opv ul {
		margin-top: 0.5em;
		margin-left: 2em;
	}
	.form_medicare_opv ul li {
		margin-bottom: 0;
	}
	p.appt_note {
		margin: 0;
		padding: 0.25em 0.5em;
		line-height: 1.2;
		font-size: 11px;
		font-weight: bold;
	}
	.specify .input.radio label {
		margin-bottom: 0;
	}
	.specify .input.radio,
	.specify .input.checkbox2 {
		padding-left: 0;
	}
	.specify .input.radio label,
	.specify .input.checkbox2 label {
		color: #46463E;
	}	
	.specify .input.booked {
		/*margin-top: 0.5em;*/
	}
	.specify .appt_type_subsection .input {
		line-height: 1;
	}
	.specialty b,
	.specify .specialist_appt_total,
	.specify .locations_list b {
		float: right;
		font-size: 12px;
		line-height: 18px;
		color: white;
		background: #94c6e4;
		border-radius: 4px;
	}
	.calendar-left-side h6.location-heading {
		margin-top: 0;
	}
	.specify .specialist_appt_total {
		padding: 0;
		background: #298ECA;
	}
	.specify .locations_list {
		margin-bottom: 0.5em;
		-webkit-touch-callout: all; /* iOS Safari */
		-webkit-user-select: all; /* Safari */
		-khtml-user-select: all; /* Konqueror HTML */
		-moz-user-select: all; /* Firefox */
		-ms-user-select: all; /* Internet Explorer/Edge */
		user-select: all; /* Non-prefixed version, currently supported by Chrome and Opera */
	}
	.specify .locations_list table {
		width: 100%;
	}
	.specify .locations_list td {
		font-size: 14px;
		line-height: 1;
		padding: 0.25em 0 0 0;
		height: 16px;
		border: none;

	}
	.specify .locations_list td:nth-child(2) {
		text-align: right
	}

	.specify .locations_list .total td {
		border-top: 1px solid #ddd;
		font-weight: bold;
	}
	.main_lang_at_home label{
		line-height: 1.2;
	}
	.show_all_providers .fa-toggle-off {display: inline-block;}
	.show_all_providers .fa-toggle-on {display: none;}
	.show_all_providers.showall .fa-toggle-off {display: none;}
	.show_all_providers.showall .fa-toggle-on {display: inline-block;}

	.specialist_inactive {display: none;}
	.specialist_inactive.show {display: block;}

/* DATATABLES OVERRIDES */
	table.dataTable.hover tbody tr:hover {
		background-color: #C4DDF0;
	}
	
	div.dt-buttons {
		position: absolute;
		top: -70px;
		right: 0;
	}
	.dataTables_length {
		position: absolute;
		right: 260px;
		top: -70px;
	}
	.dataTables_filter {
		position: absolute;
		right: 436px;
		top: -70px;
	}

	button.dt-button.buttons-columnVisibility.active {
		background: #F9E4B8 !important;
	}			
	button.dt-button.buttons-columnVisibility {
		background: none !important;
		text-align: left;
		margin: 0;
		padding: 0 0 0 1em;
		height: auto;
		border: 0;
		box-shadow: none !important;
		letter-spacing: 0;
		text-transform: none;
	}
	button.dt-button.buttons-columnVisibility {
		border: none !important;
		background-color: #C4DDF0; 
	}
	.datatable thead .filter-row td {
		padding: 0.5em;
		color: white;
		background-color: #C52819;
		font-weight: bold;
	}
	.datatable thead .filter-row td:empty {
		background: transparent;
		color: #298ECA;
	}

	.datatable thead .filter-row .pick_date {
		line-height: 1;
		padding: 0;
	}
	.clear_filter_button {
		position: absolute;
		top: -69px;
		right: 600px;
	}
	.fixed-height-for-files {
		max-height: 200px;
		overflow-y: auto;
	}
	table.file-list-table.no-footer {
		border-bottom: none;
	}
	table.file-list-table thead th {
		font-size: 14px;
		font-weight: normal;
		font-family: 'Segoe UI';
		color: #144281;
		padding: 2px 1em;
		border: none;
		border-right: 1px solid #ddd;
	}
	table.file-list-table thead th:last-child {
		border: none;
	}
	table.file-list-table tbody td,
	table.file-list-table tbody td a,
 	table.file-list-table tbody td .nofile {
		border: none;
		font-size: 14px;
		font-weight: normal;
		font-family: 'Segoe UI';
		padding: 2px 1em;
	}
	table.file-list-table tbody td a,
 	table.file-list-table tbody td .nofile {
		margin-left: 8px;
		display: block;
		line-height: 1.2;
	}
	table.file-list-table tbody td a img,
 	table.file-list-table tbody td .nofile img {
		height: 16px;
		width: auto;
		margin-left: -24px;
	}
	.dataTable td time {
		display: none;
	}
/* SURVEYS */
	.rating-widget * {
		transition: .25s ease-in-out;
		box-sizing: border-box;
	}
	.rating-widget {
		max-width: 500px;
		/*text-align: center;*/
		margin: 0px auto;
		margin-left: 4em;
	}
	.rating-widget .star-input {
		width: 0;
		height: 0;
		position: absolute;
		left: -5000px;
	}
	.rating-widget .star-input:checked + .star-input-label .orange {
		animation: enlarge .5s ease-in-out forwards;
	}
	.rating-widget .star-input:checked + .star-input-label:nth-of-type(2) .orange {
		animation-delay: .1s;
	}
	.rating-widget .star-input:checked + .star-input-label:nth-of-type(3) .orange {
		animation-delay: .2s;
	}
	.rating-widget .star-input:checked + .star-input-label:nth-of-type(4) .orange {
		animation-delay: .3s;
	}
	.rating-widget .star-input:checked + .star-input-label:nth-of-type(5) .orange {
		animation-delay: .4s;
	}
	.rating-widget .star-input-label {
		display: inline-block;
		padding: 8px 2px;
		text-indent: -5000px;
		line-height: 0;
		color: #dcdcdc;
		position: relative;
		cursor: pointer;
	}
	.rating-widget .star-input-label:hover, .rating-widget .star-input-label.hovered {
		color: #a7a7a7;
	}
	.rating-widget .star-input-label i {
		display: block;
		font-size: 20px;
		line-height: 20px;
		text-indent: 0;
	}
	.rating-widget .star-input-label i.orange {
		position: absolute;
		display: block;
		padding: 8px 2px;
		top: 0;
		left: 0;
		text-align: center;
		width: 100%;
		color: orange;
		transform: scale(0);
	}

	@keyframes enlarge {
		0% {
		transform: scale(0);
		}
		70% {
		transform: scale(1.25);
		}
		100% {
		transform: scale(1);
		}
	}
	.survey-q {
		font-weight: bold;
		margin-bottom: 1em;
	}	
	.survey-q.yesno label {
		display: inline-block;
		width: 64px;
		padding: 6px;
	}
	.survey-q .indent {
		margin-left: 4em;
	}
	.survey-q textarea {
		width: 50%;
		height: 5em;
	}
/* INTAKE FORM */
	body.intake .container {
		max-width: 1200px;
	}
	.intake h2 {
		font-size: 24px;
		color: #144281;
	}

	.intake ::-webkit-input-placeholder { /* Edge */
		font-weight: normal;
		color: #8DBFE3;
		font-size: 13px;
	}
	.intake :-ms-input-placeholder { /* Internet Explorer 10-11 */
		font-weight: normal;
		color: #8DBFE3;
		font-size: 13px;
	}		
	.intake ::placeholder {	
		font-weight: normal;
		color: #8DBFE3;
		font-size: 13px;
	}

	.intake section:after {
		display: block;
		content: "";
		clear: both;
	}
	.intake section h4 {
		background-color: #C4DDF0;
		border: 0;
		padding: 0.125em 0.5em;
		font-size: 15px;
	}
	.intake article {
		width: 42%;
		margin: 0 4%;
		float: left;
	}
	.intake .input {
		margin-bottom: 0.5em;
	}


	.intake input,
	.intake select,
	.intake textarea {

	}
	.intake label {
		vertical-align: bottom;
		text-align: left;
		width: 36%;
		line-height: 1.2;
	}
	.intake select,
	.intake input {
		width: 64%;
		border-width: 0 0 1px 0;
		border-radius: 0;
		padding-bottom: 0;
	}
	.intake .input input:focus,
	.intake .input select:focus {	
		border-width: 0 0 1px 0;
		border-bottom: 1px solid #F0461C;
		box-shadow: 0 1px 0 0 #F0461C !important;
		outline: none;
		transition: 0.3s;
	}
	.intake .input small {
		margin-left: 36%;
		width: 64%;
		display: block;
		padding: 0;
		text-align: center;
	}


	.intake .yesno,
	.intake .yesnounknown {
		height: auto;
	}
	.intake .yesno input,
	.intake .yesnounknown input {
		display: none;
	}
	.intake .yesno div,
	.intake .yesnounknown div {
		height: auto;
		cursor: pointer;
		display: inline-block;
	}
	.intake .yesno div span,
	.intake .yesnounknown div span {
		margin: 0 0.25em -4px 0;
		display: inline-block;
		border: 1px solid #C4DDF0;
		height: 18px;
		width: 18px;
		border-radius: 4px;
		transition: 0.3s;
	}
	.intake .yesno div.yes,
	.intake .yesnounknown div.yes {
		width: 4em;
	}
	.intake .yesno div.no,
	.intake .yesnounknown div.no {
		width: 3.5em;
	}	
	.intake .yesno div.ticked,
	.intake .yesnounknown div.ticked {
		font-weight: bold;
	}
	.intake .yesno div.ticked span,
	.intake .yesnounknown div.ticked span {
		border: 10px solid #C4DDF0;
		height: 0;
		width: 0;
		border-radius: 4px;
	}	
	.intake section>.yesno label {
		line-height: 1.8;
		font-size: 17px;
	}
	.intake article>.yesno label,
	.intake .yesnounknown label {
		line-height: 3.2;
	}
	.intake section>.yesno,
	.intake section>.yesnounknown {
		width: 92%;
		margin: 0 4%;
	}



	.intake section>.textareawide {
		width: 92%;
		margin: 0 4%;
	}

	.intake article.medications .yesno label {
		line-height: 2.3;
		font-size: 17px;
	}

	.intake #opv-medicare {
		padding: 0 6px;
		border-radius: 50%;
		margin-right: -45px;
	}
	.intake .consent .yesno {
		width: 80%;
	}
	.intake .consent label {
		width: 72%;
	}

	.intake article.medications .yesnounknown label {
		width: 60%;
	}	
	.intake .emergency_contact .yesno label {
		width: 60%;
	}
	.intake .mental_exam textarea {
		height: 3em;
	}
	.intake .no_consent_reason {
		float: right;
		margin-right: 4%;
		margin-top: -4px;
	}	
	.intake .no_consent_reason label {
		width: 36%;
	}
	.intake_form .button_bar_intake {
		position: sticky;
		top: 50px;
		background-color: white;
	}
	.intake_form .button_bar_intake button {
		margin-bottom: 0;
	}
	.too-many-sms {
		margin-top: 1em;
		color: #F0461C;
		font-weight: bold;
		font-style: italic;
	}
/* MEDIA QUERIES */
	@media (min-width: 400px) {
		.row .off-3 {
			margin-left: 24%;
		}
	}
	@media (min-width: 400px) {
		.eight { width: 100%; }
	}
    @media (max-width: 1280px) {
		body:not(.active-scroll) header .logo {
			height: 88px;
			background: url(/images/logo-200-tween.png) no-repeat 50%;
		}
		header .logo img {
			display: none;
		}
	}
    @media (max-width: 1440px) {
		.wide-container {
			width: 96%;
		}
	}
    @media (max-width: 1200px) {
		.widget_utilisation .slots {
			display: block;
			position: absolute;
			top: 0;
			right: 0;
		}
		.fc-left h2 {
			font-size: 24px;
			line-height: 32px;
		}
		.active-scroll header .logo img {
			display: none;
		}
		.active-scroll header .logo img.tween {
			display: block;
			left: -53px;
			opacity: 1;
		}
	}
	@media (max-width: 1500px) {
		.intake .yesnounknown {
			margin-top: 0.75em;
			margin-bottom: 1.25em;
		}
		.intake .yesnounknown label {
			width: 100% !important;
			display: block;
			line-height: 1;
		}
		.intake .yesnounknown div.yes {
			margin-left: 2em;
		}
		.intake .no_consent_reason {
			margin-right: 0;
		}
	}
	@media (max-width: 400px) {
		.intake article {
			width: 96%;
			margin: 0 2%;
			float: none;
		}
		.intake .consent .yesno {
			width: 100% !important;
			height: auto;
		}
		.intake .consent .yesno label {	
			width: 100% !important;
			line-height: 1.2;
			display: block;
		}
		.intake .consent .yesno .yes {
			margin-left: 2em;
		}		
	}
/* --- TAGS --- */
	.selectize-input {
		box-shadow: none !important;
	    border: 1px solid #D1D1D1 !important;
	    border-radius: 4px !important;
	}
	.selectize-input input {
		height: auto;
	}
	#input-tags {
		display: none;
	}
	.selectize-control {
		width: 22em;
		display: inline-block;
	}
	.tags label {
		vertical-align: top;
	}
	.tags th {
		vertical-align: top;
	}
	.input-tags-edit .selectize-input,
	.input-tags .selectize-input {
    	border-color: #C4DDF0 !important;
    }
	.input-tags-edit .selectize-control {
		width: 77.3%;
	}
	.input-tags .selectize-control {
		width: 70%;
	}
	.intake .input-tags-edit .selectize-control {
		width: 64%;
	}
	.default_tags .selectize-input {
    	border-color: #C4DDF0 !important;
		height: 31px;
		padding: 2px;
    }
	.default_tags .selectize-control {
		width: 40%;
	}
	.default_tags .selectize-control.multi .selectize-input.has-items {
    	padding: 2px;
	}
	.intake .input-tags-edit label {
		vertical-align: top;
    	margin-top: 16px;
	}



.add_note_form button {
	margin-left: 5px;
	margin-top: 5px;
}
.actions .link {
	border: 1px solid #bbb;
	font-size: 12px; 
	line-height: 2.0em;
	color: #555;
	padding: 3px 10px;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: .1rem;
	font-weight: 600;
}
.actions .link:hover {
	border: 1px solid #555;
}
.invite-message {
	padding-left: 30px;
	padding-bottom: 10px;
}
.invite-message p {
	margin-block-start: 0px;
    margin-block-end: 0px;
}
.d-none {
	display: none;
}
.map_form #cancel {
	float: right;
}