html,
body {
	height: 100%;
}

@font-face {
    font-family: acurataMainFont;
    src: url(daxlineprothin13132.ttf);
}

body {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
	padding-top: 90px;
	padding-bottom: 50px;
	background-color: #f1f1f1;
	transition: 0.3s ease;
}

.scrollable {
	overflow-y: auto;
}

.login-form {
	display: -ms-flexbox;
	display: flex;
	width: 100%;
	height: 100%;
}

.copyright {
	position: absolute;
	bottom: 0;
	text-align: center;
}

.form-button-resize {
	width: 60%;
	max-width: 140px;
	margin: auto;
}

.colour-text-inactive {
	color: #FF0000;
}

.form-signin {
	max-width: 330px;
	min-height: 500px;
	display: -ms-flexbox;
	display: flex;
	align-content: space-between;
	flex-direction: column;
	margin: auto;
}

.fancy-btn {
	box-shadow: 1px 1px 4px 1px rgba(0, 0, 0, 0.3);
	transition: 0.2s ease;
}

.fancy-btn:hover {
	box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.2);
}

.colour-primary, .btn-colour-primary {
	color: #fff;
	background-color: #6385a1;
	border-color: #6385a1;
	transition: 0.2s ease;
}

.btn-colour-primary {
	transition: 0.2s ease;
	box-shadow: 1px 1px 4px 1px rgba(0, 0, 0, 0.3);
 }

.colour-primary:not(:active):not(.active) {
	color: #fff;
	background-color: #8cb1cf;
	border-color: #8cb1cf;
}

.btn-prefixed-show.active span:before {
	content: "Hide ";
}

.btn-prefixed-show:not(.active) span:before {
	content: "Show ";
}

.btn-prefixed-lock.active span:before {
	content: "Lock ";
}

.btn-prefixed-lock:not(.active) span:before {
	content: "Unlock ";
}

.btn-colour-primary:hover:not(.inactive) {
	box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.2);
}

.colour-secondary, .btn-colour-secondary {
	color: #fff;
	background-color: #a1bccc;
	border-color: #a1bccc;
	transition: 0.2s ease;
}

.colour-danger, .btn-colour-danger {
	color: #fff;
	background-color: #cc322d;
	border-color: #c53e3d;
	transition: 0.2s ease;
}

.btn-colour-secondary:hover {
	transition: 0.2s ease;
	color: #fff;
	background-color: #8cb1cf;
	border-color: #8cb1cf;
}

.colour-lightest {
	transition: 0.2s ease;
	color: #262626;
	background-color: #ffffff;
	border-color: #ffffff;
}

.colour-light {
	transition: 0.2s ease;
	color: #434343;
	background-color: #f5f5f5;
	border-color: #f5f5f5;
}

.colour-light-nobg {
	transition: 0.2s ease;
	color: #434343;
}

.colour-dark {
	transition: 0.2s ease;
	color: #fff;
	background-color: #434343;
	border-color: #434343;
}

.colour-darkest {
	color: #fff;
	background-color: #262626;
	border-color: #262626;
}

.swal-button--confirm:not([disabled]):hover {
	color: #fff;
	background-color: #cc322d;
	border-color: #c53e3d;
	box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.2);
}

.swal-button--cancel:not([disabled]):hover {
	color: #fff;
	background-color: #434343;
	border-color: #434343;
	box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.2);
}

.colour-text-primary {
	color: #6385a1;
	font-family: acurataMainFont, sans-serif;
}

.colour-text-secondary {
	color: #a1bccc;
	font-family: acurataMainFont, sans-serif;
}

.colour-text-dark {
	color: #434343;
	font-family: acurataMainFont, sans-serif;
}

.colour-text-darkest {
	color: #262626;
	font-family: acurataMainFont, sans-serif;
}

.colour-text-primary-nf {
	color: #6385a1;
}

.colour-text-secondary-nf {
	color: #a1bccc;
}

.colour-text-dark-nf {
	color: #434343;
}

.colour-text-darkest-nf {
	color: #262626;
}

.colour-contrast-bg {
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.navbar-bottom-border {
	transition: 0.2s ease;
	border-bottom-color: #a1bccc;
	border-bottom-style: solid;
	border-bottom-width: 17px;
}

.footer {
	height: auto;
	position: fixed;
	bottom: -2px;
	width: 100%;
	z-index: 0;
}

.main-body {
	max-height: 100%;
}

.required {
	color: red;
}

.scroll-list {
	overflow-y: scroll;
}

.plus-badge {
	font-weight: bold;
	font-size: 18px;
	padding: 0 .3rem .26rem .3rem!important;
}

.icon-text {
	position: relative;
	top: 7.2px;
	font-size: 23.69px;
}

.call-info-item-input.readonly {
	border-bottom: 0!important;
}

.call-info-list-item {
	font-size: 0.9em;
	border-top: solid #434343 1px;
}


.menu-item-right {
	text-align: right;
}

@media (max-width: 992px) {
	.container {
		padding: 0;
	}

	.menu-item-left {
		text-align: left;
		margin-right: .5rem;
	}
}

@media (min-width: 993px) {
	.menu-item-left:not(:last-child) {
		text-align: left;
		margin-right: .5rem;
	}
}

.user-item {
	border-radius: .125rem;
	border: solid 1px #00000022;
}

.clickable-user {
	transition: 0.2s ease;
	cursor: pointer;
	box-shadow: 0 0 0 0 rgba(0,123,255,.25);
}

.clickable-user:hover {
	background-color: rgba(0,123,255,.13);
	box-shadow: 0 0 0.1rem 0.1rem rgba(0,123,255,.15);
}

.clickable-user.selected {
	background-color: rgba(0,123,255,.15);
	box-shadow: 0 0 0.1rem 0.15rem rgba(0,123,255,.35);
}

.show-call-info {
	border-radius: .25rem;
	transition: 0.2s ease;
	cursor: pointer;
	box-shadow: 0 0 0 0 rgba(0,123,255,.35);
}

.show-call-info.inactive {
	font-style: oblique;
	background-color: rgba(63, 63, 63, 0.25);
}

.show-call-info:hover:not(.inactive) {
	background-color: rgba(0,123,255,.13);
	box-shadow: 0 0 0.2rem 0.1rem rgba(0,123,255,.35);
}

.show-call-info.selected:not(.inactive) {
	background-color: rgba(0,123,255,.15);
	box-shadow: 0 0 0.2rem 0.15rem rgba(0,123,255,.35);
}

.call-separator {
	width: 90%;
	margin-top: .1rem;
	margin-bottom: .1rem;
}

#locationField, #controls {
	position: relative;
	width: 480px;
}

#locationField {
	height: 20px;
	margin-bottom: 2px;
}

.pac-container {
	z-index: 2100;
	position: relative;
	top: 3px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

.modal {
	overflow: auto!important;
	z-index: 1050;
}

@media (min-width: 576px) {
	.modal-xl {
		max-width: 650px;
		margin: 1.75rem auto;
	}
}

.modal-backdrop {
	z-index: 1040;
}

.col-day {
	flex: 0 0 14.285714%;
	max-width: 14.285714%;
}

.clickable-day {
	border-radius: .125rem;
	transition: 0.4s ease;
	cursor: pointer;
	box-shadow: 0 0 0 0 rgba(0,123,255,.05);
}

.clickable-day:hover, .clickable-day.selected {
	background-color: rgba(0,123,255,.07);
	box-shadow: 0 0 0 0.1rem rgba(0,123,255,.25);
}

.month-switch {
	border-radius: .125rem;
	transition: 0.2s ease;
	cursor: pointer;
	background-color: rgba(20, 20, 20, 0);
	box-shadow: 0 0 0 0 rgba(0,123,255,.25);
}

.month-switch:hover {
	background-color: rgba(0,123,255,.05);
	box-shadow: 0 0 0 0.1rem rgba(0,123,255,.25);
}

.info-text {
	font-size: 0.8rem;
}

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

.forgot-user-pass {
	cursor: pointer;
	font-size: 0.9rem;
	text-decoration: underline #434343;
}

.shadow-md {
	box-shadow: 0 .4rem 1rem rgba(0,0,0,.175)!important;
}

.shadow-std {
	box-shadow: 0 0.8rem 3rem rgba(0,0,0,.125)!important;
}

.notification {
	background-color: rgba(255, 119, 0, 0.68);
	-webkit-animation: pulse-notification 1.5s infinite;
}

@-webkit-keyframes pulse-notification {
	0% {
		background-color: rgba(255, 119, 0, 0.68);
	}
	50% {
		background-color: rgba(255, 119, 0, 0.34);
	}
	100% {
		background-color: rgba(255, 119, 0, 0.68);
	}
}

.stale-urgent {
	background-color: rgba(255, 0, 0, 0.05);
	-webkit-animation: pulse-urgent 1.5s infinite;
}

@-webkit-keyframes pulse-urgent {
	0% {
		background-color: rgba(255, 0, 0, 0.05);
	}
	50% {
		background-color: rgba(255, 0, 0, 0.1);
	}
	100% {
		background-color: rgba(255, 0, 0, 0.05);
	}
}

.stale-warning {
	background-color: rgba(255, 255, 0, 0.05);
	-webkit-animation: pulse-warning 2.5s infinite;
}

@-webkit-keyframes pulse-warning {
	0% {
		background-color: rgba(255, 255, 0, 0.05);
	}
	50% {
		background-color: rgba(255, 255, 0, 0.1);
	}
	100% {
		background-color: rgba(255, 255, 0, 0.05);
	}
}

.avatar {
	vertical-align: middle;
	width: 35px;
	height: 35px;
	border-radius: 50%;
}

.smavatar {
	position: relative;
	bottom: 0.4rem;
	vertical-align: middle;
	width: 50px;
	height: 50px;
	border-radius: 50%;
}

img[src*="avatar_nurseonsite"] {
	border-radius:50%;
	border:2px solid #fff100 !important;
}
img[src*="avatar_nurseoffline"] {
	border-radius:50%;
	border:2px solid #fa0e13 !important;
}
img[src*="avatar_activenurse"] {
	border-radius:50%;
	border:2px solid #32b932 !important;
	animation: pulse-moving 2s infinite linear;
}

@-webkit-keyframes pulse-moving {
	0% {
		border-color: rgba(50, 185, 50, 1);
	}
	50% {
		border-color: rgba(50, 185, 50, 0.2);
	}
	100% {
		border-color: rgba(50, 185, 50, 1);
	}
}

@keyframes border-dance {
	0% {
		transform: rotate(0deg);
	}
	20% {
		transform: rotate(-5deg);
	}
	40% {
		transform: rotate(5deg);
	}
	60% {
		transform: rotate(2deg);
	}
	70% {
		transform: rotate(-2deg);
	}
	80% {
		transform: rotate(2deg);
	}
	90% {
		transform: rotate(-2deg);
	}
	100% {
		transform: rotate(0deg);
	}
}
img[src*="avatar_nurseidle"] {
	border-radius:50%;
	border:2px solid #0f00ff !important;
}

.medavatar {
	width: 142px;
	height: 142px;
	border-radius: 50%;
	border:solid black 1px;
}

.bigavatar {
	vertical-align: middle;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	border:solid black 1px;
}

.bigavatar_noborder {
	vertical-align: middle;
	width: 150px;
	height: 150px;
	border-radius: 50%;
}

.order0 {
	order: 0;
}
.order1 {
	order: 1;
}
.order2 {
	order: 2;
}
.order3 {
	order: 3;
}
.order4 {
	order: 4;
}
.order5 {
	order: 5;
}
.order6 {
	order: 6;
}
.order7 {
	order: 7;
}
.order8 {
	order: 8;
}
.order9 {
	order: 9;
}
.order10 {
	order: 10;
}

.flex-end {
	align-content: flex-end;
	align-items: flex-end;
	align-self: flex-end;
}

.remove-line {
	font-size: 2rem;
	color: red;
	cursor: pointer;
}

.add-line {
	font-size: 2rem;
	color: green;
	cursor: pointer;
}

.no-margin {
	margin: 0!important;
}

.btn-secondary {
	color: #fff;
	background-color: inherit;
	/* background-color: #a6c !important; */
}

.navbar.navbar-light .breadcrumb .nav-item.active>.nav-link, .navbar.navbar-light .navbar-nav .nav-item.active>.nav-link {
	color: rgba(0,0,0,.9);
	background-color: rgba(0,0,0,0);
}

.navbar.navbar-light .navbar-nav .nav-item .nav-link {
	color: rgba(0,0,0,.7);
	-webkit-transition: .35s;
	transition: .35s;
}

.navbar.navbar-light .navbar-nav .nav-item .nav-link:hover {
	color: rgba(0,0,0,1);
}

.obvious-link {
	text-decoration: underline;
}

.atlwdg-SUBTLE {
	left: 0!important;
	right: auto!important;
	border-left: none!important;
	border-right: 1px solid #ccc!important;
	box-shadow: 1px -1px 2px rgba(0, 0, 0, 0.5)!important;
	transition: .15s ease;
}

.picker .picker__box {
	display: table-cell;
	vertical-align: middle;
	border-radius: 5px 5px 3px 3px;
}

.picker__box .picker__footer .picker__button--today, .picker__box .picker__footer .picker__button--clear, .picker__box .picker__footer .picker__button--close {
	display: inline-block;
	width: 33%;
	padding: .5rem 0 0.5rem 0;
	border: 0;
}

.md-toast-top-right {
	top: 100px;
	right: 12px;
}

.needs-validation .md-form label {
	left: 0;
}

@-webkit-keyframes autofill {
	to {
		color: #666;
		background: transparent;
	}
}

@keyframes autofill {
	to {
		color: #666;
		background: transparent;
	}
}

input:-webkit-autofill {
	-webkit-animation-name: autofill;
	animation-name: autofill;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}
.md-form input[type="color"]:not(.browser-default) {
	border: 0;
	height: 45px!important;
}

.no-border-underline {
	border: 0!important;
}

.mdb-preloader, #mdb-preloader {
	opacity: 1;
	background-color: #f1f1f1;
}

.modal-preloader {
	opacity: 1;
}

.mdb-preloader.loaded, #mdb-preloader.loaded {
	opacity: 0;
	transition: .3s ease-in .5s;
}
.modal-preloader.loaded {
	 opacity: 0;
	 transition: linear .3s;
 }

.modal-preloader.mid-loaded {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
 }

.not-removed-item {
	max-height: 15vw;
}

#addCallForm {
	margin: 0;
}

#addCallModalContent {
	display: none;
	height: fit-content;
	width: fit-content;
}

#addCallModalContent.loading {
	display: block;
	opacity: 0;
	height: 100%;
	width: 100%;
}

#addCallModalContent.loaded {
	display: block;
	opacity: 1;
	height: fit-content;
	width: 100%;
	transition: linear .2s;
}

.not-removed-item:not(:last-child) {
	border-bottom: solid 1px #00000022;
}

.remove-item {
	max-height: 0;
	overflow: hidden;
	transition: 2.2s ease-in 0.8s;
}

.modal-xlg {
	min-width: 100%;
	min-height: 100%;
	height: 100%!important;
}

.incomingVideo {
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
}

.incomingVideo.minifying {
	position: fixed;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	transition: 0.5s linear;
	z-index: 5555;
}

.incomingVideo.minified {
	position: fixed;
	bottom: 0;
	right: 0;
	min-width: 20%;
	min-height: 20%;
	width: 20%;
	height: 20%;
	background-color: rgba(0, 0, 0, 0.8);
	transition: 0.5s linear;
	z-index: 5555;
}

.outgoingVideo.loaded-video {
	background-color: rgba(0, 0, 0, 0);
}

.outgoingVideo.minified {
	display: none;
}

.end-call-icon {
	z-index: 1001;
	top: .4vh;
	position: relative;
	font-size: 8vh;
	color: white;
	text-shadow: 0 0 4px #0a0a0a;
}

@media (min-width:769px) {
	.biggeravatar_noborder {
		vertical-align: middle;
		width: 200px;
		height: 200px;
		border-radius: 50%;
	}

	.close-video {
		z-index: 1001;
		position: absolute;
		top: -.8rem;
		right: .2rem;
		font-size: 4rem;
	}

	.end-call {
		z-index: 1001;
		height: 10vh;
		width: 10vh;
		position: absolute;
		left: 50%;
		margin-left: -5vh;
		bottom: 2vh;
		/*border: 2px solid white;*/
		border: 0;
		border-radius: 5vh;
		background-color: #da0000;
		box-shadow: 0 0 4px #0a0a0a;
	}

	.outgoingVideo  {
		min-width: 15%;
		min-height: 15%;
		width: 15%;
		height: 15%;
		position: absolute;
		bottom: 1vw;
		right: 1vw;
		background-color: rgba(0, 0, 0, 0.8);
		border: 1px black;
		transition: .4s linear;
	}

	.outgoingVideo:hover  {
		min-width: 40%;
		min-height: 40%;
		width: 40%;
		height: 40%;
		transition: .4s linear;
	}
}

@media (max-width:575px) {
	.biggeravatar_noborder {
		vertical-align: middle;
		width: 200px;
		height: 200px;
		border-radius: 50%;
		position: absolute;
		right: 1.5rem;
		opacity: 50%;
		bottom: 2rem;
	}
}

@media (min-width:576px) {
	.biggeravatar_noborder {
		position: inherit;
		vertical-align: middle;
		width: 200px;
		height: 200px;
		border-radius: 50%;
	}
}

@media (max-width:768px) {

	.close-video {
		z-index: 1001;
		position: absolute;
		top: -1vh;
		right: 1.2vh;
		font-size: 20vw;
	}

	.end-call {
		z-index: 1001;
		height: 10vh;
		width: 10vh;
		position: absolute;
		left: 50%;
		margin-left: -5vh;
		bottom: 2vh;
		/*border: 2px solid white;*/
		border: 0;
		border-radius: 5vh;
		background-color: #da0000;
		box-shadow: 0 0 4px #0a0a0a;
	}

	.outgoingVideo  {
		min-width: 25%;
		min-height: 25%;
		width: 25%;
		height: 25%;
		position: absolute;
		bottom: 1vw;
		right: 1vw;
		background-color: rgba(0, 0, 0, 0.8);
		border: 1px black;
		transition: .4s linear;
	}

	.outgoingVideo:hover  {
		min-width: 30%;
		min-height: 30%;
		width: 30%;
		height: 30%;
		transition: .4s linear;
	}
}

.patient-self-call-btn {
	position: fixed;
	bottom: 4vh;
	left: 1vh;
	height: 8vh;
	width: 8vh;
	border-radius: 4vh;
	border: solid 1px rgba(0, 0, 0, 0.16);
	background-color: rgba(198, 0, 0, 0.8);
}

.patient-self-call-btn:disabled, .self-order-btn:disabled {
	background-color: rgba(106, 35, 34, 0.8);
}

.patient-self-call-btn .material-icons {
	font-size: 8vh;
	color: rgb(255, 255, 255);
}

.self-order-btn .material-icons {
	font-size: 40px;
	color: rgb(255, 255, 255);
}

.self-order-btn {
	z-index: 50;
	position: fixed;
	bottom: 40px;
	right: 5%;
	height: 50px;
	width: 50px;
	border: solid 1px rgba(0, 0, 0, 0.16);
	background-color: rgba(198, 0, 0, 0.91);
	border-radius: 50%;
	box-shadow: 0 6px 10px 0 #333;
	transition: all 0.1s ease-in-out;
}

.self-order-btn:hover {
	box-shadow: 0 6px 14px 0 #333;
	transform: scale(1.05);
}

.apex-header {
	border-bottom: 2px solid #e9ecef;
}

.apex-header h5 {
	margin-bottom: 6px; color: rgba(0,0,0,.5);
}

.apex_subheader {
	border-bottom: 0;
	color: rgba(0,0,0,.6);
	margin-bottom: 0;
}

.apex_info {
	border-bottom: 0;
	color: rgba(0,0,0,.8);
	margin-bottom: 0;
}

@media (max-width: 575px) {
	.hidden-sm {
		display: none;
	}
}

@media (min-width: 1600px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl {
		max-width: 1540px;
	}

	.col-xxl-1 {
		-ms-flex: 0 0 8.333333%;
		flex: 0 0 8.333333%;
		max-width: 8.333333%;
	}
	.col-xxl-2 {
		-ms-flex: 0 0 16.666666%;
		flex: 0 0 16.666666%;
		max-width: 16.666666%;
	}
	.col-xxl-3 {
		-ms-flex: 0 0 25%;
		flex: 0 0 25%;
		max-width: 25%;
	}
	.col-xxl-4 {
		-ms-flex: 0 0 33.333333%;
		flex: 0 0 33.333333%;
		max-width: 33.333333%;
	}
	.col-xxl-6 {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}
	.col-xxl-9 {
		-ms-flex: 0 0 75%;
		flex: 0 0 75%;
		max-width: 75%;
	}
	.col-xxl-12 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
}

@media (min-width: 1800px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl {
		max-width: 1740px;
	}
	.col-xxxl-1 {
		-ms-flex: 0 0 8.333333%;
		flex: 0 0 8.333333%;
		max-width: 8.333333%;
	}
	.col-xxxl-2 {
		-ms-flex: 0 0 16.666666%;
		flex: 0 0 16.666666%;
		max-width: 16.666666%;
	}
	.col-xxxl-3 {
		-ms-flex: 0 0 25%;
		flex: 0 0 25%;
		max-width: 25%;
	}
	.col-xxxl-4 {
		-ms-flex: 0 0 33.333333%;
		flex: 0 0 33.333333%;
		max-width: 33.333333%;
	}
	.col-xxxl-6 {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}
	.col-xxxl-9 {
		-ms-flex: 0 0 75%;
		flex: 0 0 75%;
		max-width: 75%;
	}
	.col-xxxl-12 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
}

@media (min-width: 1920px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl {
		max-width: 1860px;
	}
	.col-sxxl-1 {
		-ms-flex: 0 0 8.333333%;
		flex: 0 0 8.333333%;
		max-width: 8.333333%;
	}
	.col-sxxl-2 {
		-ms-flex: 0 0 16.666666%;
		flex: 0 0 16.666666%;
		max-width: 16.666666%;
	}
	.col-sxxl-3 {
		-ms-flex: 0 0 25%;
		flex: 0 0 25%;
		max-width: 25%;
	}
	.col-sxxl-4 {
		-ms-flex: 0 0 33.333333%;
		flex: 0 0 33.333333%;
		max-width: 33.333333%;
	}
	.col-sxxl-6 {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}
	.col-sxxl-9 {
		-ms-flex: 0 0 75%;
		flex: 0 0 75%;
		max-width: 75%;
	}
	.col-sxxl-12 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
}

.material-icons {
	cursor: pointer;
 }

.video-call-header {
	background-color: rgba(255, 255, 255, 0.33);
	height: min-content;
}

.video-call-header h2 {
	color: rgba(0, 0, 0, 0.8);
	margin-bottom: 0;
	text-align: left;
	margin-left: .5rem;
	font-size: 2rem;
	max-width: 85%;
}

.md-accordion .card:first-of-type, .md-accordion .card:not(:first-of-type):not(:last-of-type) {
	border-bottom: 1px solid rgb(206, 212, 218);
}

.md-accordion .card:first-of-type {
	border-top: 1px solid rgb(206, 212, 218);
}

.md-accordion .card .card-header {
	padding: 1rem 1.5rem;
	background: transparent;
	border-bottom: 1px solid rgb(206, 212, 218);
}

.call-history {
	max-height: 50vh;
	overflow-y: auto;
}

.call-notes .md-accordion .card .card-header {
	padding: .5rem 1rem;
}

#messagingBox {
	position: fixed;
	bottom: 0;
	right: 0;
	z-index: 900;
	display: none;
	min-width: fit-content;
	box-shadow: -3px -2px 27px -5px;
	border-top-left-radius: 4px;
}

#messagingHeader {
	cursor: pointer;
	padding: .15rem .6rem .15rem .6rem;
	font-weight: normal;
	border-top: solid 1px;
	border-left: solid 1px;
	border-color: black;
	border-top-left-radius: 4px;
	min-width: fit-content;
	max-width: fit-content;
}

#messagingHeader:not(.active) {
	box-shadow: -2px -2px 5px 1px rgba(0, 0, 0, .3);
}

#messagingUsers {
	cursor: pointer;
	text-align: left;
	font-weight: normal;
	border-left: solid 1px;
	border-top: solid 1px;
	border-color: black;
	display: none;
	max-height: 0;
	border-top-left-radius: 4px;
}

.messagingUser:not(:last-child) {
	border-bottom: solid 1px rgba(0, 0, 0, 0.5);
}

.messagingUser:hover {
	background-color: rgba(0, 123, 255, 0.3);
	/*box-shadow: 0 5px 11px 0 rgba(0,0,0,0.18), 0 4px 15px 0 rgba(0,0,0,0.15);*/
	transition: all 0.1s linear;
}

.messagingAvatar {
	vertical-align: middle;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: 2px solid;
}

.messagingAvatar.online {
	border-color: rgba(16, 255, 61, 0.86);
}

.messagingAvatar.away {
	border-color: rgba(255, 124, 0, 0.86);
}

.messagingAvatar.offline {
	border-color: rgb(180, 180, 180);
}

.messagingAvatarContainer {
	max-width: fit-content;
	position: absolute;
}
.messagingChatHeader {
	padding-left: 58px;
	padding-right: 8px;
	height: 52px;
}

#messagingUsers {
	background-color: #6385a1;
	color: #fff;
}

@media (min-width: 769px) {
	#messagingUsers, #messagingHeader.active, .messagingChatHeader {
		min-width: 400px;
		max-width: 400px;
	}
	#messagingHeader.active {
		border-top-left-radius: 0;
	}
	#messagingHeader, #messagingUsers {
		border-left: solid 1px;
		border-color: black;
	}
}

@media (max-width: 768px) {
	#messagingUsers, #messagingHeader.active {
		min-width: 100%;
		max-width: 100%;
	}
	.messagingChatHeader {
		max-width: 100vw;
		min-width: 100vw;
	}
	.messagingUser {
		position: relative;
		right: -8px;
	}
	#messagingHeader {
		border-left: solid 1px;
		border-top-left-radius: 5px;
		border-color: black;
	}
	#messagingHeader.active, #messagingUsers {
		border-left: 0;
		border-top-left-radius: 0;
		border-color: black;
	}
}

.ellipsis {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.message {
	border-radius: 1rem;
	width: fit-content;
}

.message-left {
	float: left;
}

.message-right {
	float: right;
}

.message-remote {
	background-color: #1741e3;
	color: white;
}

.message-local {
	background-color: #666666;
	color: white;
}

.message-group .message-parent:only-child .message {
	border-radius: 1rem 1rem 1rem 1rem!important;
}

.message-group .message-parent:not(:last-child):first-child .message-left {
	border-radius: 1rem 1rem 1rem 0;
}

.message-group .message-parent:last-child:not(:first-child) .message-left {
	border-radius: 0 1rem 1rem 1rem;
}

.message-group .message-parent:not(:last-child):not(:first-child) .message-left {
	border-radius: 0 1rem 1rem 0;
}

.message-group .message-parent:not(:last-child):first-child .message-right {
	border-radius: 1rem 1rem 0 1rem;
}

.message-group .message-parent:last-child:not(:first-child) .message-right {
	border-radius: 1rem 0 1rem 1rem;
}

.message-group .message-parent:not(:last-child):not(:first-child) .message-right {
	border-radius: 1rem 0 0 1rem;
}

.message-group .message-parent:last-child .message-time {
	display: inline;
}

.message-group .message-parent:not(:last-child) .message-time {
	display: none;
}

@media (max-width: 539px) {
	.message-chat-input {
		width: 75%;
	}

	.message-chat-send {
		width: 25%;
	}

	.signatureControls {
		width: 242px;
	}

	#signature {
		border: 1px solid black;
		height: 87px;
		width: 242px;
	}

	.jSignature {
		height: 85px;
		width: 240px;
	}
}

@media (min-width: 540px) {
	.message-chat-input {
		width: 80%;
	}

	.message-chat-send {
		width: 20%;
	}

	.signatureControls {
		width: 482px;
	}

	#signature {
		border: 1px solid black;
		height: 172px;
		width: 482px;
	}

	.jSignature {
		height: 170px;
		width: 480px;
	}
}

.fake-textarea {
	margin-top: 0.5rem;
	height: 3rem;
	padding: 1.5rem 0;
	overflow-y: auto;
	scroll-behavior: smooth;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
	background-color: transparent;
	border: none;
	border-bottom: 1px solid #ced4da;
	border-radius: 0;
	outline: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	-webkit-transition: border-color 0.15s ease-in-out,-webkit-box-shadow 0.15s ease-in-out;
	transition: border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out,-webkit-box-shadow 0.15s ease-in-out;
}
.fake-textarea:focus {
	border-bottom: 1px solid #4285f4;
	-webkit-box-shadow: 0 1px 0 0 #4285f4;
	box-shadow: 0 1px 0 0 #4285f4;
}

.cmi {
	background-color: #4285f4;
	box-shadow: 1px 2px 2px 0 rgba(0, 0, 0, 0.2);
	color: white;
	border-radius: .2rem;
	padding: .1rem .1rem;
	transition: border-color 0.35s ease-in-out,box-shadow 0.35s ease-in-out,-webkit-box-shadow 0.35s ease-in-out;
	white-space: nowrap;
}

.cmi:hover {
	cursor: pointer;
	box-shadow: 1px 2px 3px 0 rgba(0, 0, 0, 0.4);
}

#instantMessageChatHistory {
	min-height: 20vh;
	max-height:50vh;
	scroll-behavior: smooth;
	overflow-y: auto;
}

#instantMessagingModal .modal-header {
	box-shadow: 0 2px 7px 0 #00000078;
	z-index: 3;
}

#searchableItems {
	width: 100%;
	min-height: 1rem;
	height: fit-content;
	max-height: 5rem;
	scroll-behavior: smooth;
	overflow-y: auto;
}

#addCallModalView {
	z-index: 1100;
}

#addPatientModalView {
	z-index: 1101;
}

.clickable-search-item {
	height: fit-content;
}

.clickable-search-item span:first-child {
	float: left;
}

.clickable-search-item span:last-child {
	float: right;
}

.clickable-search-item:hover {
	cursor: pointer;
	background-color: #4285f4;
	border-radius: .125rem;
	box-shadow: 0 5px 11px 0 rgba(0,0,0,0.18), 0 4px 15px 0 rgba(0,0,0,0.15);
	transition: all 0.1s linear;
}

.modal-content .md-form label.active:not(.no-active-width) {
	width: 128%;
}

::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 4px rgba(0,0,0,0.3);
	border-radius: 6px;
}

::-webkit-scrollbar-thumb {
	border-radius: 6px;
	-webkit-box-shadow: inset 0 0 4px rgba(0,0,0,0.5);
}

form {
	margin-block-end: 0;
}

.call-list {
	max-height: fit-content;
}

.hidden {
	display: none;
}

.form-check-label-wide {
	width: max-content;
}

.calendar-row {
	min-height: 10rem;
	max-height: 10rem;
}

.calendar-line-item {
	font-size: 0.6rem;
	height: fit-content;
	max-height: fit-content;
}

.calendar-item {
	max-height: 10rem;
	border-radius: 6px;
	box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.3);
}

.calendar-item .today {
	box-shadow: 1px 1px 4px 1px rgba(0, 0, 0, 0.3);
}

.day-items {
	align-content: start;
	overflow-y: auto;
}

.h-20 {
	height: 20%;
}

.h-80 {
	height: 80%;
}

.v-hidden {
	visibility: hidden;
}