html {
	min-height: 100vh;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
.gridview tbody tr:hover {
	background-color: #315cb4 !important;
	color: white;
	cursor: pointer;
}
.gridview thead {
	background-color: #0099C6;
	color: white;
}

.gridview{
	padding:100px;
}
	.gridview th:nth-child(1), .gridview td:nth-child(1) {
		padding-left: 3px;
	}
	.gridview tbody tr {
	background-color: white;
	border-bottom:solid 1px black;
} .gridview tbody tr:nth-child(even) {
	background-color: #e6e6e6;
}
.validationError, .input-validation-error, .customValidationError {
	border: solid !important;
	border-color: red !important;
	/*color: red !important;*/
} 
.validationErrorLabel {
    color: red !important;
} .bold{
	font-weight:bold;
}
.validationMessages {
	background-color: white;
	border: solid !important;
	border-color: black !important;
	border-radius: 5px;
	color: red !important;
	height: 250px;
	display: block;
	padding-inline: 4px !important;
} .validationMessages li {
    list-style-type: disc;
	/*margin-left: -15px;*/
} .form-style-1 {
	float:left;
/*	margin:10px auto;
	max-width: 400px;
	padding: 20px 12px 10px 20px;
	font: 13px "Lucida Sans Unicode", "Lucida Grande", sans-serif;*/
} .clearflow{
	clear:left;
} .GroupHeading{
	font-weight: bold;
	margin-right:0px !important;
} .GroupHeading:disabled{
	color:  #949494 !important;
} .Disabled, .disabledLabel {
	 color:#9e9b9b !important;
 }

input[type="text"]:disabled, input[type="date"]:disabled, input[type="time"]:disabled, textarea:disabled {
	color: #949494
} /* #949494 */
	select:disabled { color: #949494 ; /*#4C4C4C; with  no changing opacity  */ 
				   background-color:  rgb(240 245 250); 
				   opacity: 100% ; 
 } .form-style-1 li {
	padding: 0;
	display: block;
	list-style: none;
	margin: 3px 0 0 0;
} .form-style-1 span, .form-style-1 label{
	margin:0 0 1px 0;
	padding:0px;
	display:block;
	font-weight: bold;
	/*color:blue;*/
} .form-style-1 input[type=text], .form-style-1 input[type=date], .form-style-1 input[type=datetime], .form-style-1 input[type=number], .form-style-1 input[type=search], .form-style-1 input[type=time], .form-style-1 input[type=url], .form-style-1 input[type=email], textarea, select{
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	border:1px solid #BEBEBE;
	padding: 2px;
	padding-left:5px;
	margin-bottom:5px;
	-webkit-transition: all 0.30s ease-in-out;
	-moz-transition: all 0.30s ease-in-out;
	-ms-transition: all 0.30s ease-in-out;
	-o-transition: all 0.30s ease-in-out;
	outline: none;	
} .form-style-1 input[type=text]:focus, .form-style-1 input[type=date]:focus, .form-style-1 input[type=datetime]:focus, .form-style-1 input[type=number]:focus, .form-style-1 input[type=search]:focus, .form-style-1 input[type=time]:focus, .form-style-1 input[type=url]:focus, .form-style-1 input[type=email]:focus, .form-style-1 textarea:focus, .form-style-1 select:focus{
	-moz-box-shadow: 0 0 8px #88D5E9;
	-webkit-box-shadow: 0 0 8px #88D5E9;
	box-shadow: 0 0 8px #88D5E9;
	border: 1px solid #88D5E9;
	color:black !important ;
} .form-style-1 .field-divided{
	width: 49%;
} .form-style-1 .field-long{
	width: 100%;
} .form-style-1 .field-select{
	width: 100%;
} .form-style-1 .field-textarea{
	height: 100px;
}

.form-style-1 textarea {
	height: 5em;
}

.form-style-1 input[type=text], textarea {
	width: 15em;
}
/* I want the buttons to look like buttons.
	.form-style-1 input[type=submit], .form-style-1 input[type=button]{
	background: #4B99AD;
	padding: 8px 15px 8px 15px;
	border: none;
	color: #fff;
}
.form-style-1 input[type=submit]:hover, .form-style-1 input[type=button]:hover{
	background: #4691A4;
	box-shadow:none;
	-moz-box-shadow:none;
	-webkit-box-shadow:none;

}*/
.form-style-1 .required {
	color: red;
}
.form-style-1 .indent{
    margin-left: 20px;
}

.horiz-Checkboxes span, .horiz-Checkboxes label {
	display: inline !important;
}
	.horiz-Checkboxes span input[type=checkbox] {
		/* Just for NEPTA to counter new checknox style below */
		position: inherit;
		margin-left: inherit;
	}


input[type=checkbox] {
	scale: 110%;
	position: relative;
	top: -3px;
	
}

span:has(input[type=checkbox]) {
	display: flex;
	margin-block:2px;
}

.location {
	width: 100%;
	border: groove;
}
.error {
  border:2px solid red;
}
.auto-style1 {
	height: 20px;
}

.data-group-1 {
	border: solid gray 1px;
	border-radius: 5px;
	margin: clamp(2px,10px,20px);
	padding: 10px;
	float: left;
}

.data-group-1 p {
		font-size: large;
		font-weight: bold;
		/*position:relative;
	top:-10px;*/
		color: #1705fb;
	}

#mc_divValidation {
	width: 360px;
	float: left;
}

.divSelectPatient{
    position: absolute;
	background-color:#4a6cb1;;
	padding: 0px 5px 10px 0px;
	border-color:black;
	border-style:solid;
	border-radius:5px;
	border-width:thin;
	
/*    left: 64px;
    top: 65px;
    width: 376px;
*/}

footer { 
	text-align: center;
}

#divDebug{
	text-align:left;
}



/*Treeview*/
.node-closed, .node-open span {
	font-weight: Bold;
}

	.node-closed > ul {
		display: none;
	}

.node-open > ul {
	display: block;
}

.node-open::before {
	content: url(../../images/collapse.gif);
	position: relative;
	top: 3px;
	left: 2px;
}

.node-closed::before {
	content: url(../../images/expand.gif);
	position: relative;
	top: 3px;
	left: 2px;
}

.treeview > ul {
	margin-block: 3px 5px;
	padding: 0;
}

.treeview li {
	list-style-type: none;
	margin: 0;
	padding: 0 12px;
	line-height: 20px;
	cursor: pointer;
	position: relative;
	color: initial;
}

.treeview .selected a {
	color: white !important;
	background-color: blue;
	padding: 2px;
	font-weight: initial;
}

	.treeview .selected a:hover {
		color: white !important;
		background-color: blue;
		padding: 2px;
		font-weight: initial;
		text-decoration: none;
	}

.treeview a {
	/*remove underline */
	text-decoration: none;
	color: initial;
}

	.treeview a:hover {
		color: blue !important;
		font-weight: bold;
		text-decoration: underline;
	}

.treeview .open > ul {
	display: block;
}

button {
	border-width: 1px;
	border-radius: 3px;
	height: fit-content;
}

button:hover {
	background-color: #3498db; /* Lighter or darker shade of the original color */
	color: #ffffff;
}
	button:disabled:hover {
		background-color: #a9a9a9; /* Gray color to indicate disabled state */
		color: #ffffff;
		cursor: not-allowed; /* Change cursor to indicate non-interactive state */
	}
#btnNew {
	margin: 10px 0 0 25px
}

.treeview-parent {
	display: grid;
	grid-template-columns: 20% 80%;
}



/*==========================================================================*/
/* BEGIN - For the modal popup*/
/* The Modal (background) */
.dialog {
	display: none; /* Hidden by default */
}
dialog[open] {
	display: flex; /* Or block, depending on your needs */
}
.dialogIcon {
	margin-block: -20px;
	font-size: 84px;
	color: red;
}
.modal {
	position: fixed; /* Stay in place */
	z-index: 200000; /* Sit on top */
	padding-top: 100px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.6) /* Black w/ opacity */
}
/*==========================================================================*/
/* Modal Content */
.modal-content {
	/*background-color: #fefefe;*/
	background-color: #d4edf5; /*#caf5ff;*/
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	border-radius: 5px;
	width: auto;
}
.modal-content button {
	width: 80px;
}
.modalButtons {
	display: flex;
	gap: 5px;
	margin-inline: auto
}
.modalPopup {
	text-align: center;
}
.ModalHeading{
	font-size:x-large;
}
.ModalHeaderBlock{
	/*background-color:#8ca8e9;*/
	top:-15px;
	position:relative;
}

    element.style {
    position: fixed;
    left: 0px;
    top: 0px;
    z-index: 10001;
    width: 1522px;
    height: 1270px;
}
.w3-animate-zoom {
	animation:animatezoom ;
	animation-duration:0.3s;
	animation-timing-function: ease;
}
	@keyframes animatezoom{from{transform:scale(0)} to{transform:scale(1)}}
	}
	/**/
/* END -----------For the modal popup*/
/*==========================================================================*/
/* BEGIN Loading Spinner */

body{
	margin: 0;
	padding: 0;
	background: #262626;
}

#divTimeout {
	position: absolute;
	top: 38%;
	left: 50%;
	margin-left: auto;
	background-color: #37af8c;
	font-size: large;
	transform: translate(-50%,-50%);
	text-align: center;
	display : none;
}

.validation-summary-valid{
	display:none
}
.validation-summary-errors ul li {
	display: list-item;
	list-style-type: initial;
	color: red;
}
.input-validation-error-label {
	color: red !important;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
 /* For displaying setup or onboarding instructions*/
.SetupGuide {
	background-color: #f0f8ff;
	color: #333;
	padding: 20px;
	text-align: left;
	font-family: Arial, sans-serif;
	border-radius: 8px;
	width: 90%;
	max-width: 770px;
	margin: 20px auto;
	box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
	position: relative;
	cursor: move;
	z-index:200000;
}
	.SetupGuide span {
		/*content: "\2716"; /* The close icon, you could also use Unicode like '\2716' */
		position: absolute;
		top: 5px;
		right: 5px;
		font-size: 15px;
		color: #333;
		cursor: pointer;
		background-color: #58f3fc;
		padding-inline: 4px;
		border-radius: 5px;
	}


	.SetupGuide ol li::marker {
		font-weight: bold;
	}
	.SetupGuide h2 {
		margin: 0;
		font-size: 26px;
		color: #2a52be;
		font-weight: bold;
	}

	.SetupGuide p {
		margin-top: 10px;
		font-size: 16px;
		line-height: 1.6;
	}
	.SetupGuide .SetupGuideButtons{
		display:flex;
	}

.btnNextOnBoardingSection, .btnPrevOnBoardingSection, .btnTurnOffOnBoardingSection {
	background-color: initial;
	border: none;
	cursor: pointer;
	font-size: small;
	text-decoration: underline;
}



	.SetupGuide .btnPrevOnBoardingSection {
		margin-left:-5px;
	}
	.SetupGuide .btnTurnOffOnBoardingSection {
        margin-inline: auto;
    }


/*
	decided not to use css as need js control over when user can click cancel
	
	#divLoading {
	animation: HideLoadingScreen 0s ease-in 30s forwards;
}

@keyframes HideLoadingScreen {
	0% {
		visibility: visible;
	}

	100% {
		visibility: hidden;
		height: 0px;
		width: 0px;
	}
}*/
.loadingSpinner {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 150px;
	height: 150px;
	background: transparent;
	border: 3px solid #505050;
	border-radius: 50%;
	text-align: center;
	line-height: 150px;
	font-family: sans-serif;
	font-size: 20px;
	color: #37af8c;
	letter-spacing: 4px;
	text-transform: uppercase;
	text-shadow: 0 0 10px #37af8c;
	box-shadow: 0 0 20px rgba(0,0,0,.5);
}

.loadingSpinner::before {
	content: '';
	position: absolute;
	top: -3px;
	left: -3px;
	width: 104%;
	height: 104%;
	border: 3px solid transparent;
	border-top: 3px solid #37af8c;
	border-right: 3px solid #37af8c;
	border-radius: 50%;
	animation: animateC 2s linear infinite;
}

.loadingSpinner span {
	display: block;
	position: absolute;
	top: calc(50% - 2px);
	left: 50%;
	width: 50%;
	height: 4px;
	background: transparent;
	transform-origin: left;
	animation: animate 2s linear infinite;
}

.loadingSpinner span:before {
	content: '';
	position: absolute;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #37af8c;
	top: -6px;
	right: -8px;
	box-shadow: 0 0 20px #37af8c;
}

@keyframes animateC {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

@keyframes animate {
	0% {
		transform: rotate(45deg);
	}

	100% {
		transform: rotate(405deg);
	}
}

/* END Loading Spinner */


/