:root{
	--color-pink: #D51180;
}

img>svg{
	color:red;
}
html{
	margin: 0;
	height:100%;
}
body{
	margin:0;
	height:100%;
	font-family:sans-serif;
	padding-left:0.1em;
	padding-right:0.1em;
}
.box{
	display: flex;
	flex-flow: column;
	height: 100%;
}
.firstLine {
	margin-top:0.1em;
	display:flex;
	border-bottom: solid var(--color-pink) 0.1em;
}
nav{
	flex:1;
}
nav a{
	display:block;
	white-space:nowrap;
}
.logout{
    flex: 0 1 auto;
}

.main{
		flex: 1 1 1em;
}
.status{
	flex: 0 1 40px;
	margin-top:1.5em;
	color:white;
	background-color:gold;
	clear:both;
}
nav a{
	position: relative;
	display: inline-block;
	padding: 0.5em 1em 0.5em;
	color: inherit;
	text-decoration: none;
	--margin: 0 -0.3em;
} 

nav a::before {
	content: ''; /* To generate the box */
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	border-top: solid transparent 0.4em;
	border-bottom: solid transparent 0.4em;
	border-right: solid #48324B 0.05em;
	background: white;

}

nav a.selected {
	z-index: 0;
}

nav a.selected::before {
	--margin-bottom: -0.13em;
	border-top: solid var(--color-pink) 0.4em;
}

nav a.selected::before,
.box{
	font-size:0.8em;
}
.main {
	/* background: hsla(0, 53%, 97%, 1); */
	padding: 1em;
	border-radius: 3px;
	/* display:inline-block; */
	min-width:20em;
	/* max-height: 100vh; */
	overflow-y: hidden;
	display: flex;
	/* flex-direction: column; */
}
.tabContent {
	display:none;
	width: 100%;
	position:relative;
}

.tabContent {
	display:none;
}
.tabContent.selected {
	display:inline-block;
	overflow-y:auto;
}
#Tab1.selected{
	display:flex;
	flex-direction:column;
	flex: 1;	
}
/*Overlay Message*/
.overlay{
	z-index:100;
	position:absolute;
	top:0;
	left:0;
	width:100vw;
	height:100vh;
	background-color:#000000bf;
	justify-content:center;
	display:none;
}
.overlay.Show{
	display:flex;
}
.overlayVertical{
	flex: 0 0 50vw;
	display:flex;
	flex-flow:column;
	justify-content:center;
}
.overlayHorizontal{
	flex: 0 0 50vw;
	background-color:#4cda03;
	display:flex;
	flex-flow:column;
	justify-content:center;
	position:relative;
	border-radius:0.5em;
}
@media all and (orientation:landscape) {
	.overlayVertical{
		flex: 0 0 50vh;
	}
	.overlayHorizontal{
		flex: 0 0 50vh;
	}	
}
.connectionIndicator{
    border-radius: 1em;
    border: solid red;
    width: 0;
    height: 0;
    right: 0;
    position: absolute;
	cursor:pointer;
}
.connectionIndicator.open{
	border-color:green;
}
.message{
	text-align:center;
	font: 2em bold;
}
.counter{
	position:absolute;
	top:0;
	right:0;
	margin-top:0.5em;
	margin-right:0.5em;
	font-weight:bold;
}
.message, .counter{
	color:hsl(0, 0%, 100%);
}
.Failure .overlayHorizontal{
	background-color:red;
}
.Failure .message, .Failure .counter{
	color:gold;
}
.Info .overlayHorizontal{
	background-color:gold;
}
.Info .message, .Info .counter{
	color:fuchsia;
}

/*Overlay Message END*/
.status > img {
	height: 200px;
}

.Xclose
{
	margin: 0 0.5em 0 0;
	font-family:sans-serif;
	position:absolute;
    right:0;
	cursor:pointer;
}

.HeaderInner{font-weight:bold;}

.item {position:relative};

.user, .userInput {width:8em;}
.userInput > *, .pwdInput > * {width:100%;}
#userGroup, #pwdGroup, #OTPGroup, #Footer {float:left; margin-left:1em; margin-top:1em;}
.pwd, .pwdInput > * {width: 9em;}
.Add, .Upd, .Del, .Choose, .Vacation, .Duplicate, .Report, .Export, .CancelExport, .Import {margin-left: 0.875em; cursor:pointer;}

.Camera > input
{
    display: none;
}

.Add img, .Import img, .Export img, .CancelExport img, .Del img, .Upd img, .Choose img, .Vacation img, .Duplicate img,
.DefaultDate img, .Logout img, .Camera img {max-height: 1.375em;vertical-align:middle;border:none;}
.Report img{max-height: 1.375em; vertical-align:middle; border:none}
.Camera img {cursor:pointer;}

.Add, .Import, .Export, .CancelExport, .Upd, .Del, .Choose, .Vacation,  .Duplicate, .Report,
.Id, .FirstName, .LastName, .DOB, .Mobile, .Email, .Date,
.PunchInfo .IdEmployee, .PunchType, .PunchDate, .PunchTime, .Comment,
.PatientQ_Device, .PatientQ_Patient,
.formListTime, .formListFormType,
.ScheduleDate, .ScheduleTime, .ScheduleTitle,
.ChequeInsurance, .ChequeCertificate, .ChequeName, .ChequeDate, .ChequeClaimNumber, .ChequeAmount, .ChequeProcess
{
    float:left;
    min-height: 1.4em;
    margin-top: 0.15em;
}

.ChequeProcess{float:right;}
.Id, .FirstName, .LastName, .DOB, .Mobile, .Email, .Date,
.PunchInfo .IdEmployee, .PunchType, .PunchDate, .PunchTime, .Comment,
.ScheduleDate, .ScheduleTime, .ScheduleTitle,
.ChequeInsurance, .ChequeCertificate, .ChequeName, .ChequeDate, .ChequeClaimNumber, .ChequeAmount
{
	position:relative;	
}

.ChequeFooter{
	float:left;
	clear: both;
}

.PunchInfo .IdEmployee, .PunchType{
	position:relative;
}

.PunchTypeLine{
	border-bottom: solid #f5dede 0.1em;
}
.PunchTypeLine:last-of-type{
	border-bottom: none;
}

.SMSPatientFirstName{
	float:left;
	margin-top: 0.15em;
	margin-left:0.2em;
}
.SMSPatientLastName{
	float:left;
	margin-top: 0.15em;
}

.Id > *, .FirstName > *, .LastName > *, .DOB > *, .Mobile > *, .Email > *,
.Date > *, .PunchDate > *, .PunchTime > *, .Comment > *,
.PatientQ_Device > *, .PatientQ_Patient > *
{
	height:1.2em;
	padding:0 0.1em 0 0.1em;
	margin:0.1em 0.725em 0.1em 0;
	--margin:0 0.625em 0 0;
	--border: solid #bfbfbf 0.1em;
}
.ChequeInsurance > *, .ChequeCertificate > *, .ChequeName > *, .ChequeDate > *, .ChequeClaimNumber > *, .ChequeAmount > *
{
	min-height:1.2em;
	padding:0 0.1em 0 0.1em;
	margin:0.1em 0.725em 0.1em 0;
	--margin:0 0.625em 0 0;
	--border: solid #bfbfbf 0.1em;
}

.BulkSMSText > *{
	padding:0 0.1em 0 0.1em;
	margin:0.1em 0.725em 0.1em 0;
}

.BulkSMSText > *{
	height:30em;
	width:13em;
}

.Id > input, .FirstName > input, .LastName > input, .DOB > input, .Mobile > input, .Email > input, .Date > input, .PunchDate > input, .PunchTime > input, .Comment > textarea, .Id > .inputOverlay, .FirstName > .inputOverlay, .LastName > .inputOverlay, .DOB > .inputOverlay, .Mobile > .inputOverlay, .Email > .inputOverlay, .Date > .inputOverlay, .PunchDate > .inputOverlay, .PunchTime > .inputOverlay, .Comment > .inputOverlay, .ChequeInsurance > input, .ChequeCertificate > input, .ChequeName > input, .ChequeDate > input, .ChequeClaimNumber > input, .ChequeAmount > input,
.formListFormType > input

{
	margin:0 0.625em 0 0;
	border: solid #bfbfbf 0.1em;
}
.BulkSMSText textarea,.BulkSMSText .inputOverlay{
	margin: 5px;
	border: solid #bfbfbf 0.1em;
	margin-left: calc(5px + 0.625em);
}
.PunchInfo .IdEmployee > input,
.PunchType > input{
	border: solid #bfbfbf 0.1em;
}


.Id > * {width:3em;}
.PunchInfo >*>* {height: 2.4em;margin-bottom: 0.2em;}
.PunchInfo .IdEmployee > * {width: 12em;}
.PunchInfo .PunchType  > *:first-child{width: 3.5em;}
.FirstName > * {width:6.25em;}
.PunchInfo .FirstName > * {width:5em;}
.LastName > * {width:6.25em;}
.PunchInfo .LastName > *{width:5em;}
.DOB > *{width:3.5em;}
.Mobile > * {width:6.25em;}
.Email > * {width:12em;}
.Date > * {width:5em;}
.PunchDate > * {width:5.2em;}
.PunchTime > * {width: 4.4em;}
.Comment > * {width:15.2em; height:2.4em;}
.PatientQ_Device{width:5em;}
.ScheduleInfo >*>* {min-height: 1.4em;}
.ScheduleTitle > * {width:10em;}
.ScheduleDate > * {width:5.2em;}
.ScheduleTime > * {width: 4.4em;}
.ChequeInsurance > * {width:13em;}
.ChequeCertificate > * {width:5em;}
.ChequeName > * {width:10em;}
.ChequeDate > * {width:5.2em;}
.ChequeClaimNumber > * {width:8em;}
.ChequeAmount > * {width:4em;}
.ChequeError{color:red; font-weight:bold;}
.line.PunchInfo, .line.ChequeEntry, .line.ScheduleInfo{
	padding-top: 0.3em;
	padding-bottom: 0.3em;
	padding-right: 0.3em;
	/* min-height:3em; */
	display: inline-block;
	clear: both;
	float: left;
}
.line.PunchInfo:nth-child(2n), .line.ChequeEntry:nth-child(2n){
	background-color:#ddd;
}
.line.PunchInfo:hover, .line.ChequeEntry:hover{
	background-color: var(--color-pink);
	color:white;
}
.line.ChequeEntry.ChequeDiscordant{
	background-color:orange;
}
.line.ChequeEntry.ChequeEntryMissingAbel{
	background-color:red;
}
.line.ChequeEntry.ChequeTrnTdiError{
	background-color:blueviolet;
}
.line.ChequeEntry.preFadeMissingAbel{
	background-color:red;
}
.line.ChequeEntry.preFadePresentAbel{
	background-color:#ffdbe1;
}
.line.ChequeEntry.preFadePresentAbel:nth-child(2n){
	background-color:pink;
}
.line.ChequeEntry{
	transition: background-color 1s;
}
.ChequeEntryMissingAbel .ChequeProcess {
	display:none;
}

.ChequeLoader> *:first-child + div{
	margin-top:1em;
}
.line.PunchInfo.Virtual{
	background-color:#ffff0142;
}
.PunchDateTitle{
	margin-top:1em;
	clear: both;
	float: left;
}

.PunchDateTitle > text{
	font-weight:bold;
	font-size:1.5em;
	color:purple;
	float:left;
}
.PunchDateTitle > .Duplicate{
	float:left;
}

.PunchDateBox{
 	margin-top:1em;
 }
 .PunchDateBox > input{
	font-weight:bold;
	font-size:1.5em;
	color:purple;
	width:6em;
	float:left;
}
.ScheduleContainer{
	height:100%
}
.ScheduleDateTitle{
	margin-top:1em;
	clear: both;
	float: left;
}

.ScheduleDateTitle > text{
	font-weight:bold;
	font-size:1.5em;
	color:#48324B;
	float:left;
}
.ScheduleDateTitle > .Duplicate{
	float:left;
}

.line.ScheduleInfo{
	min-height:2em;
	/*display:inline-block;*/
}
.line.ScheduleApt:nth-child(2n){
	background-color: hsl(326 85% 95% /1)
}
.line.ScheduleApt:hover{
	background-color:violet;
}
.ScheduleApt button{
	background: transparent;
	border:none;
}
.ScheduleApt button:hover{
	transform:translate(-0.1em,0);
	font-weight:700;
}
.ScheduleApt button:active{
	transform:translate(0,0.1em);
}

.barcodeScannerContainer {
	position: relative;
    --width: 100%;
	--max-width: 640px;
	margin: 0 auto;
	--border-radius: 1em;
	overflow: hidden;
	background: #000;
	--display: none;
        }
		
.barcodeScannerContainer .drawingBuffer {
	position: absolute;
		top: 0;
		left: 0;
}
		
.line.ScheduleInfo.Filter{
	min-height: 0.5em;
}
.line.ScheduleInfo *:first-child{
	overflow:hidden;
}
	
.SMSCorrespondantContainer{
	margin-left: 0.425em;
	background-color: transparent;
	overflow: auto;
	flex: 1;
}		

.SMSRight{
	float:left;
	margin-left:0.925em;
	display: flex;
	flex-direction: column;
}

.SMSMessageContainer{
	width:100%;
	/* height: 24em; */
	background-color:white;
	overflow-y: auto;
	flex: 1;
}
.SMSMessageTyping{
	margin-top:0.5em;
	padding:2px;
	position: relative;
	flex: 0 0 6em;
}
.SMSMessageTyping textarea{
	padding:0;
	border:solid hsla(0,50%,90%,1) 0.1em;
	width: calc(100% - 0.2em);
	height: 6em;
}
.SMSMessageTyping textarea, select:focus{
	font-size: max(16px, 1em);
}
.SMSSend{float:right;}

.SMSMessageTime{
	text-align:center;
	font-size:0.6em;
	color:grey;
}

.SMSPatient{
	position:relative;
	margin-bottom:0.3em;
	padding-right: 0.7em;
	background-color: white;
	border-left: solid white 0.2em;
	border-bottom: solid #837E8C 0.1em;
	border-right: solid white 0.2em;
}
.SMSPatient.SMSMessageUnread{
	display:none;
}
.SMSPatient.SMSMessageExcludeErrorInfoUnread{
	display:inherit;
}


.SMSPatient.SMSMessageUnread{
	border-left-color: var(--color-pink);
}

.SMSPatient.selectedView{
	color:black;
	font-weight:bold;
}
.unread> :first-child:after {
  content: '';
   position:absolute;
   top:0.3em;
   right:0.3em;
   width: 0.7em;
   height: 0.7em;
   -moz-border-radius: 0.5em;
   -webkit-border-radius: 0.5em;
   border-radius: 0.5em;
   background-color: #69b6d5;
}

.SMSPatientMobile {
    clear: both;
}
.SMSIdPatient{
	clear:both;
	position:relative;
}
.SMSIdPatient div::before{
	content: '#';
	white-space:pre;
}
.SMSMessage{
	padding-left:0;
	margin: 0.5em 0.5em;
	text-align:right;
}
.SMSMessage *:first-child{
	/* margin: 0.5em 0.5em; */
	border-radius: 0.5em;
}
.SMSMessageBody >*{
   white-space: pre-wrap;      /* CSS3 */   
   white-space: -moz-pre-wrap; /* Firefox */    
   white-space: -pre-wrap;     /* Opera <7 */   
   white-space: -o-pre-wrap;   /* Opera 7 */    
   word-wrap: break-word;      /* IE */
   padding:0.3em;
}

.SMSSentMessage *::selection{
	color:darkblue;
	background-color:rgba(255, 255, 255, 0.99);
}
.SMSSentMessage> *{
	color:white;
	background-color: #004dffcc;
}

.SMSBulkMessage> *{
	color:white;
	background-color: hsla(252, 30%, 50%, 1);
}

.SMSAutomatedMessage> *{
	color:white;
	background-color: hsla(222, 30%, 50%, 1);
}
.SMSReceivedMessage.SMSMessageUnread *:first-child{
	color: crimson;
	font-weight:bold;
}
.SMSReceivedMessage *:first-child{
	background-color: hsla(0, 0%, 85%, 1);
	color: #000000;
	text-align:left;
}
.SMSReceivedKeyWordMessage >*{
	color:white;
	background-color: hsla(222, 30%, 50%, 1);	
	text-align:left;
}

.SMSInfoMessage>*{
	background-color: green;
	color: white;
}

.SMSErrorMessage>*{
	color:white;
	background-color:red;
}
.SMSMessageSendError:after{
	content: 'Send Error';
	color:red;
	font-size: 0.8em;
}
/*
.SMSMessageSubmitted:after{
	border: solid lightgrey;
	border-radius: 0.3em;
	content: '';
	width: 0;
	height: 0;
	position: absolute;
	bottom: -1em;
	right: 0;
}
*/
.line.SMSMessageSubmitted, .line.SMSMessagesent, .line.SMSMessagedelivered {position:relative}
.SMSMessageSubmitted:after{
	background-image: url(/icons/MessageStatus.svg#submitted);
	width: 0.6em;
	height: 0.6em;
	content: '';
	background-size: cover;
	position: absolute;
	right:0;
	bottom: -0.8em;
}
.SMSMessagesent:after{
	background-image: url(/icons/MessageStatus.svg#sent);
	width: 1.2em;
	height: 0.6em;
	content: '';
	background-size: cover;
	position:absolute;
	right:0;
	bottom:-0.8em;
}
.SMSMessagedelivered:after{
	background-image: url(/icons/MessageStatus.svg#received);
	width: 1.8em;
	height: 0.6em;
	content: '';
	background-size: cover;
	position:absolute;
	right:0;
	bottom: -0.8em;
}

/*
.SMSMessagedelivered:after{
	content: '●●●';
	color:grey;
	font-size: 0.8em;
}*/

/*
.SMSPatient.SMSMessageUnread>*:first-child:after{
	content:'â—';
	position:absolute;
	color:green;
	top:0.1em;
	right:0.5em;
}

.SMSPatient.SMSMessageUnread:before{
	content:'â—';
	position: absolute;
	padding-right:0.3em;
	color:green;
	right: 0.2em;
	top: 0.2em;
}
*/
.SMSMessageundelivered > *{
	background-color: red;
}
.SMSHorizontal{
	clear: both;
}
.BulkSMSText{
	margin-right: 1em;
	overflow: auto;
	float: left;
	position: relative;
}
.BulkSMSSend, .BulkSMSTest{
	float:left;
	margin-right:3em;
}
.BulkSMSSend > img, .BulkSMSTest> img{
	height:1.2em;	
}

.BulkSMSViewInputs{
	overflow:auto;
}
.BulkSMSViewButtons{
	clear:both;
	margin-top:1em;
}

.PanUploadTitle {width:6em;}
.PanUploadPatientID > * {width:4em;}
.PanUploadDate > * {width:4em;}

.PanUploadCamera img {cursor:pointer;}

.PanUploadCamera > input, .DocUploadCamera input
{
    display: none;
}
.Camera > input
{
    display: none;
}
#PanUploadPatientNameDisplay input, #DocUploadPatientNameDisplay input{
	background-color:transparent;
	border:none;
}
.DocUploadThumb{
	width:4em;
}
.DocUploadSides{
	float:left;
}
.DocUploadSubmit{
	display:block;
	margin-left:1em;
}
.DocUploadPatientNameDisplay{
	min-height:1.5em;
}

#DocUploadImageDisplay{
	clear:both;
}

.progressBar{
	border-top:solid 0.4em var(--color-pink);
	clear: both;
}
#PunchDiv label{
	display:inline-block;
	width:5em;
}
#PassDiv label{
	display:inline-block;
	width:8em;
}
.Button{
	cursor:pointer;
	color: lemonchiffon;
	background-color: fuchsia;
	padding:0.2em;
	width:5.5em;
	border-radius:0.5em;
	border: solid #ffff01 0.2em;
	text-align: center;	
}

.PunchButton{
	cursor:pointer;
	color: white;
	background-color: var(--color-pink);
	margin-top:1em;
	padding:0.2em;
	width:5.5em;
	border-radius:0.5em;
	text-align: center;
	margin-left: 5em;
}
.LoginButton{
	cursor:pointer;
	color: lemonchiffon;
	background-color: fuchsia;
	margin-top:1em;
	padding:0.2em;
	width:5.5em;
	border-radius:0.5em;
	border: solid #ffff01 0.2em;
	text-align: center;	
}
.ChequePayButton{
	float:left;
	cursor:pointer;
	color: white;
	background-color: var(--color-pink);
	padding:0.2em;
	width:5.5em;
	border-radius:0.5em;
	border: solid #ffff01 0.2em;
	text-align: center;
}
.PassButton{
	cursor:pointer;
	color: white;
	background-color: var(--color-pink);
	margin-top:1em;
	padding:0.2em;
	width:13em;
	border-radius:0.5em;
	text-align: center;
	margin-left: 7.8em;
}
.Button:active, .PunchButton:active, .PassButton:active, ChequePayButton:active{
	transform: translate(1px,4px);
}
input, textarea, .comboDropdownDiv
{
	font-family:sans-serif;
	color:Grey;
	font-size:1em;
}

.switch {
  position: relative;
  display: inline-block;
  width: 3.6em;
  height: 2.1em;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 2.3em;
  background-color: #ccc;
  -webkit-transition: .1s;
  transition: .1s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 1.5em;
  width: 1.5em;
  left: 0.3em;
  bottom: 0.3em;
  border-radius: 50%;
  background-color: white;
  -webkit-transition: .1s;
  transition: .1s;
}

input:checked + .slider {
  background-color: var(--color-pink);
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(1.5em);
  -ms-transform: translateX(1.5em);
  transform: translateX(1.5em);
}


input.dirty{
	color:red;
}
.line.dirty:nth-child(2n), .line.dirty:nth-child(2n+1){
	padding-left:0.8em;
	border-left: solid purple 0.2em;
}
.line
{
	padding-left:0.5em;
	min-height: 1.7em;
	vertical-align:middle;
	clear:both;
}

.comboInput
{
	height:1.2em;
	padding: 0 0.1em 0.1em 0.3em;
	margin:0em 0.725em 0 0;
	border-radius:0.5em;
	border: solid 0.1em #bfbfbf;
	outline:none;
	cursor:pointer;
}
.comboInput.activeInput{
	cursor:inherit;
	border-radius:0.5em 0.5em 0 0;
	--font-style:italic;
	background-color: white;
	-webkit-box-shadow: 0.1em 0 0.01em 0.01em rgba(191, 191, 191, 0.75);	
	-moz-box-shadow: 0.1em 0 0.01em 0.01em rgba(191, 191, 191, 0.75);	
	box-shadow: 0.1em 0 0.01em 0.01em rgba(191, 191, 191, 0.75);	
}
input.comboInput.activeInput{
	border: solid 0.1em var(--color-pink);
	border-bottom:solid white 0.1em;
	z-index:11;
}
.comboInputHidden
{
	height:1.2em;
	padding: 0.1em 0.2em 0.2em 0.3em;
	margin:0em 0.725em 0 0;
	border-radius:0.5em;
	outline:none;
}
.comboDropdownDiv{
	position: absolute;
	margin-top: -0.1em;
	z-index: 10;
	background-color:white;
	display:none;
	border: solid var(--color-pink) 0.1em;
	color: #48324b;
	border-radius: 0 0.5em 0.5em 0.5em;
	padding: 0 0.3em 0 0.3em;
	height: auto;
	min-height: 1.2em;
}
.comboDropdownDiv.activeInput{
	display:inherit;
	-webkit-box-shadow: 0.1em 0.1em 0.01em 0.01em rgba(191, 191, 191, 0.75);	
	-moz-box-shadow: 0.1em 0.1em 0.01em 0.01em rgba(191, 191, 191, 0.75);	
	box-shadow: 0.1em 0.1em 0.01em 0.01em rgba(191, 191, 191, 0.75);	
}
.comboDropdownDiv a{
	text-decoration:none;
	color: inherit;
}
.IdEmployee> .comboDropdownDiv {
	width: 19em;
}
.PunchType> .comboDropdownDiv {
	width: 4.5em;
}
.comboDropdownDiv .line{
	padding-left: 0;
}
.comboDropdownDiv .line:hover, .comboDropdownDiv .line:hover input{
	color:purple;
}
#inputContextMenu{
	display:none;
	position:absolute;
	top:0; right:0;
	z-index:10;
	background-color:white;
	border: darkgrey 0.1em;
	border-radius:0.4em;
	box-shadow: 0.05em 0.05em 0.2em 0.05em lightgrey;
	padding:0.3em 0.5em 0 0.5em;
	font-size: 0.9em;
}
#inputContextMenu:focus{
	outline:none;
}
#inputContextMenu.active{
	display:unset;
	overflow: visible;
	/* width: max-content; */
}
#inputContextMenu ul{
	list-style-type:none;
	padding:0;
	margin:0;
	height:unset;
}
#inputContextMenu ul *{
	border-bottom:solid hsla(0, 70%, 80%, 1) 0.02em;
	padding-bottom:0.3em;
}
#inputContextMenu ul *:last-of-type{
	border-bottom:none;
}
#inputContextMenu ul *:hover{
	color:purple;
}
.inputOverlay{
	position:absolute;
	z-index:1;
	top:0;
	left:0;
	display:none;
}
.inputOverlay.active{
	display:inherit;
}

.inputOverlay .selected{
	color:white;
	background-color:purple;
}
.inputOverlay .transparent{
	color:transparent;
}

::selection {
  background: purple;
  color:white; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: purple; /* Gecko Browsers */
  color:white;
}

.clearBoth{
	clear:both;
}

.SMSMessageBody {
  position: relative;
}

/* Tooltip text */
.SMSMessageBody .tooltiptext {
  visibility: hidden;
  background-color: purple;
  color: #fff;
  text-align: center;
  padding: 0.2em 0;
  border-radius: 0.3em;
 
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
  width: 10em;
  top: 100%;
  left: 50%; 
  margin-left: -5em;
}

/* Show the tooltip text when you mouse over the tooltip container */
.SMSMessageBody:hover  .tooltiptext {
  visibility: visible;
}
.SMSMessageBody .tooltiptext::after {
  content: "";
  position: absolute;
  bottom: 100%;  /* At the top of the tooltip */
  left: 50%;
  margin-left: -0.3em;
  border-width: 0.3em;
  border-style: solid;
  border-color: transparent transparent purple transparent;
}
.PatientQ_Refresh{
	float:right;
	cursor:pointer;
}
.FormList.Hidden{
	display:none;
}
.FormList.selected{
	display:inherit;
}
.line .HideBtn{
	display:none;
	float:right;
	width:1.4em;
	height:1.4em;
}
.line.selected .HideBtn{
	display:inherit;
}
.line.selected .Choose, .line.selected .Add{
	display:none;
}
.line .HideBtn svg{
	width:100%;
	height:100%
}
.formListTime{
	width:11em;
}
.formListFormType{
	position:relative;
}
.formListFormType .comboDropdownDiv{
	min-width:100%;
}
.formItem{
	clear:both;
}

.formMQ .QuestionnaireSignature{
	margin-top:0.5em;
	margin-bottom:0.5em;
	grid-column: span 2;
}

.overlayCamera {
  display:none;
  height: 100%;
  width: 0%;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  background-color: rgb(0,0,0); /* Black fallback color */
  background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}
.overlayCamera {
  display:inherit;
  width: 100%;
}
.cameraButtons {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  width:1.4em;
  //font-size: 60px;
}
.cameraShowButton, .cameraOkBtn, .cameraGetFromFile svg{
	width:1.4em;
	height:1.4em;
	cursor: pointer;
}
.cameraShowButton svg, .cameraOkBtn svg{
	width:100%;
	height:100%
}

.cameraShowButton, .cameraGetFromFile{
	color:purple;
	display:inline-block;
}
.cameraGetFromFile input{
	display:none
}
.cameraOkBtn{
		color:green;
}
.cameraOkBtn:hover{
		color:lightgreen;
}

.overlayCamera a {
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block; /* Display block instead of inline */
  transition: 0.3s; /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlayCamera a:hover, .overlay a:focus {
  color: #f1f1f1;
}

#canvases{
	position:relative;
	width:100%;
	height:100%;
}
.canvas{
    position:absolute;
    width:100%;
    height:100%;
    background-color:transparent;
    /* display: none; */
}
#video{
    position:absolute;
    width:100%;
    height:100%;
    background-color:transparent;
    /* border:solid olive 1em; */
}
.snapButton{
	position:absolute;
	width: 0.5em;
	height: 0.5em;
	border:0.5em solid azure;
	border-radius: 50%;
	bottom:2em;
	left: 50%;
	margin-left:-1em;
	cursor: pointer;
}

.cameraShowPicsImgDiv{
	position:relative;
	display:inline-block;
}
.cameraShowPicsImgDiv svg{
	position: absolute;
	left: 0;
	right: 0;	
	margin: auto;
	bottom: 0.1em;	
	height: 1.4em;
	width: 1.4em;
	cursor: pointer;
}
.FaxMain{
}
.FaxCamera{
	grid-column: 1/3;
}
.Playlist{
	border: solid lightgrey 0.1em;
	border-radius: 1em;
	width: 30em;
	padding: 0.4em;
	margin: 0.4em;
	box-shadow: 0.1em 0.15em #EFEFEF;
	display:inline-block;
}
.PlaylistImage{
	display:inline-block;
	height:6em;
}
.PlaylistImage img{
	height: 6em;
}
.PlaylistActive{
	display:inline-block;
}
.PlaylistPlay, .PlaylistAdd{
	background-color: var(--color-pink);
	color:white;
	width:fit-content;
	margin:0 auto;
	margin-top:1em;
	margin-bottom:1em;
	padding:0.5em 0.5em 0.5em 0.5em;
	cursor:pointer;
	border-radius:0.4em;
	display:inline-block;
	top: -0.5em;
	position: relative;
}

@media screen and (min-width:641px){
	.SMSHorizontal{
		display:flex;
		flex: 1;
		flex-direction: row;
		min-height: 0px;
	}
	.SMSCorrespondantContainer{
		flex: 0 1 15em;
	}
	.SMSRight{
		flex: 2;
		max-width:45em;
	}
}
.SMSPatientSearchContainer{
	
flex: 0 0 auto;
}
@media screen and (max-width:640px){
	nav{
		display:flex;
		overflow-x:auto;
		min-width:0;
		scrollbar-width: thin;
		scrollbar-color:lightgrey hsla(0, 50%, 90%, 1);
		
	}
	nav::-webkit-scrollbar{
		height:0.5em;
		background:hsla(0, 50%, 90%, 1);
	}
	nav::-webkit-scrollbar-thumb{
		background:lightgrey;
	}
	
	.SMSHorizontal{
		display:flex;
		flex: 1;
		flex-direction: column;
		min-height: 0px;
	}
	.SMSCorrespondantContainer{
		text-align:center;
		clear:both;
		width:100%;
		height:unset;
		flex: 1 0 auto;
		margin-left:0;
	}
	.SMSCorrespondantContainer.minimize:before{
		content:'<';
		color:purple;
		font-weight:bold;
		display:inline-block;
	}
	.SMSCorrespondantContainer.minimize > div {
		display:inline-block;
	}
    .SMSCorrespondantContainer.minimize .SMSPatient:not(.selectedItem){
    	display:none;
    }

	.SMSPatient .SMSPatientLastName,
    .SMSPatient .SMSPatientFirstName,
    .SMSPatient .SMSIdPatient,
    .SMSPatient .SMSIdPatient *,
    .SMSPatient .SMSPatientMobile{
    	display:inline-block;
    	float:none;
    	margin-left:0.3em;
    }
    .SMSPatient .SMSIdPatient {
    	margin-left:0;
    }
	.SMSRight{
		clear:both;
		width:100%;
		margin-left:0;
		display:flex;
		min-height:0;
	}
	.SMSMessageContainer{
        width:unset;
	}
	
}
.SpotifyControls svg{
	background-color:lightgrey;
	height: 2em;
	width: 2em;
	cursor:pointer;
	color: var(--color-pink);
}
.SpotifyControls .Previous {
	transform: rotate(180deg)
}
.Visible{ display:inherit;}
.Hidden{display:none;}
