/*All Variable must be declared here as future we might apply themes */
:root {
    --font-family: 'Calibri', sans-serif,-apple-system, 'Calibri', BlinkMacSystemFont, "Segoe UI";
    --font-family-bold: 'calibri-bold', sans-serif,-apple-system, 'calibri-bold', BlinkMacSystemFont, "Segoe UI";
    
    --primary-light-blue-100-rgb: 80, 188, 235;
    --primary-light-blue-100: #50BCEB;
    --primary-light-blue-70: #84D0F1;
    --primary-light-blue-50: #A7DDF5;
    --primary-light-blue-30: #CAEBF9;
    --primary-light-blue-20: #DCF2FB;
    --primary-light-blue-10: #EDF8FD;

    --primary-mid-blue-30: #B2D2E5;
    --primary-mid-blue-60: #66A5CC;
    --primary-mid-blue-90: #1A78B3;
    --primary-mid-blue-100: #0069AA;
    --primary-grey-scale-100: #455560;
    --primary-grey-scale-80: #6A7780;

    --primary-grey-scale-70: #7D8890;
    --primary-grey-scale-50: #A2AAAF;
    --primary-grey-scale-40: #B5BBBF;
    --primary-grey-scale-20: #C7CCCF;
    --primary-grey-scale-10: #ECEEEF;
    --primary-grey-scale-black: #1F272C;
    --primary-grey-scale-white: #fff;
    --secondary-alert-warning: #FDB913;
    --secondary-alert-warning-rgb: 253, 185, 19;
    --secondary-alert-success: #17C3B2;
    --secondary-alert-success-rgb: 23, 195, 178;
    --secondary-green:#00AF6B;
    --secondary-positive-pink: #D60C8C;
    
    --prefilled-indicator-background-color: #FFF5FA;

    --secondary-berry: #C83C57;
    --secondary-pink: #E5BBD3;

    --btn-tertiary-hover-bg-color: rgba(var(--primary-light-blue-100-rgb), 0.08);
    --btn-tertiary-focus-outline-color: var(--primary-light-blue-50); 
    --btn-tertiary-disabled-color: var(--primary-grey-scale-50);
    --btn-color: #0069AA;
    --btn-color-emergency: #D13439;
    --btn-text-color: #FFFFFF;
    --navbar-acronym-bg-color: #D6048C;

    --callout-info-text-color: var(--primary-mid-blue-100);
    --callout-error-text-color: var(--secondary-berry);
    --callout-warning-text-color: var(--secondary-alert-warning);
    --callout-success-text-color: var(--secondary-alert-success);

    --body-color: var(--primary-light-blue-10);
    
    --h-font-weight: 700;
    --h1-color: var(--primary-mid-blue-90);
    --h2-color: var(--primary-mid-blue-90);
    --h3-color: var(--primary-mid-blue-90);
    --h4-color: var(--primary-grey-scale-black);
    --h5-color: var(--primary-mid-blue-90);
    --h6-color: var(--primary-mid-blue-90);

    --h6-color-warning: var(--primary-grey-scale-black);

    --input-size: 2.0rem;
    --input-color: var(--primary-grey-scale-100);
    --input-background-color: white;
    --input-color-focus:  var(--primary-mid-blue-100);
    --input-color-active: var(--primary-mid-blue-100);
    --input-color-valid: var(--primary-grey-scale-100);
    --input-color-disabled: var(--primary-grey-scale-100);
    --input-color-readonly: var(--primary-mid-blue-100);
    --input-background-color-disabled: var(--primary-grey-scale-10);
    --input-background-color-readonly: var(--primary-grey-scale-10);
    --input-color-invalid: var(--secondary-berry);

    --radio-size: 2.0rem;
    --radio-color: var(--primary-grey-scale-100);
    --radio-background-color: white;

    --radio-color-hover:  white;
    --radio-background-color-hover:  var(--primary-mid-blue-100);
    --radio-color-selected: white;
    --radio-background-color-selected: var(--primary-mid-blue-100);
    --radio-color-disabled: var(--primary-mid-blue-100);
    --radio-background-color-disabled: var(--primary-grey-scale-10);
    --radio-color-invalid: white;
    --radio-background-color-invalid: red;

    --checkbox-color: var(--primary-mid-blue-100);
    --checkbox-border-color: var(--primary-grey-scale-100);

    --label-size: 2.0rem;
    --label-size-smaller: 1.8rem;
    --label-size-xxs: 1.4rem;
    --label-color: var(--primary-grey-scale-black);
    --label-color-focus: var(--primary-mid-blue-100);
    --label-color-active: var(--primary-mid-blue-100);
    --label-color-valid: var(--primary-mid-blue-100);
    --label-color-disabled: var(primary-grey-scale-90);
    --label-color-readonly: var(primary-grey-scale-90);
    --label-color-invalid: red;

    --footer-color: var(--primary-mid-blue-100);
    
    --title-size: normal normal bold 23px/28px;

    --font-weight-normal: normal;
    --font-weight-bold: bold;

    --color-black: #000000;
    --hover-color: #b1b80a;
  
    --mid-textsize: 18px;
    --space-unit: 1.2rem;

    --box-shadow: 0 8px 12px 0px rgba(69,85,96,0.35);
    --box-shadow-cardlist: 0 4px 6px 0px rgba(69,85,96,0.35);
}

/* "Segoe UI Regular", SegoeUI, "Segoe UI"; */
/* TheMixC5-Light, Verdana, sans-serif; */
/* Check with David 
font-family: -apple-system, 'Calibri', BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    */

/* Hides any field set labeled as admin - used for status fields */
fieldset[aria-label="AdminPanel"] {

	display:none;
}

/*overide for epworth blue */
a {
    color: var(--primary-mid-blue-100);
}

/* Elmer */
.navbar {
	margin-bottom: 0px;
}

.navbar-default .navbar-nav > .nav-active > a {
	color: var(--primary-mid-blue-100);
}

.navbar-nav.navbar-right > li.dropdown > a > .caret {
    display: inline;
}

button.navbar-toggle:before {
    font-family: 'Font Awesome 6 Pro';
    content: '\f00d';
    color: white;
}

button.navbar-toggle.collapsed {
    background-color: transparent;
    border: none;
    margin-top: 12px;
}

button.navbar-toggle.collapsed:before {
    font-family: 'Font Awesome 6 Pro';
    content: '\f0c9';
    color: var(--primary-mid-blue-100);
    font-size: 24px;
}

.navbar-default .navbar-toggle {
    border: none;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: transparent;	
}


[id ^=WebFormControl][id $=ProgressIndicator] .progress {
	display: none;
}

#sidebarMenu {
    z-index: 99;
}

.page-heading > .section-title {
	    background-color: white;
	}

@media (min-width: 1201px) {
    .btn {
        padding: 16px 20px;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    /* only pre-admission and profile pages */
    #liquid_form > div.container,
    #liquid_form > div.container > div > div > div.container {
		width: 100%;
        padding-left: 0px;
        padding-right: 0px;
	}

    .btn {
        padding: 16px 16px;
    }
}

@media (min-width: 992px) {
	#sidebarMenuButton {
		visibility: hidden;
	}

	#sidebarMenuLinks {
		display: block;
	}

	.page-heading > .section-title {
	    margin-bottom: 40px;
	}
}

@media (max-width: 991px) {
	

	#sidebarMenuButton {
		color: white;
		visibility: visible;	
	}

	.sidebarMenu__links.collapsing:after {
		visibility: hidden;
	}

	.page-heading > .section-title {
	    margin-bottom: 0px;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.container {
		width: unset;
	}
    
	
}

@media (max-width: 672px) {
    .btn-group--order-revert,
	#WebFormPanel > div.actions > div > div.btn-group.btn-group--order-revert {
		order: revert;
	}

	#WebFormPanel > div.actions > div,
    #EntityFormPanel > div.actions,
    .modal-footer

    {
		display: flex;
		flex-direction: column;
		padding-left: 0;
		padding-right: 0;
        width: 100%;
	}

	#WebFormPanel > div.actions > div > div:nth-child(1) {
		order: 3;
	}

	#WebFormPanel > div.actions > div > div:nth-child(2) {
		order: 2;
	}

	#WebFormPanel > div.actions > div > div:nth-child(3) {
		order: 1;
	}

	#WebFormPanel > div.actions > div > div > button, 
    #EntityFormPanel > div.actions > button,
    #EntityFormPanel > div.actions > input[type="button"],
    #EntityFormPanel > div.actions > div > div > button,
    #EntityFormPanel > div.actions > div > div > input[type="button"],
    .modal-footer > button
    
    {
		width: 100%;
		margin-bottom: 10px;
	}

    .modal-footer .btn+.btn {
		margin-left: 0px;
	}
}

.sidebarMenu__links:after {
	position: absolute;
	content: '';
	border-top: 1px solid #96D7F3;
	width: calc(100% - 80px);
	margin-left: 24px;
	top: 50px;
}

#sidebarMenu .list-group .list-group-item {
	background: var(--primary-mid-blue-100);
	color: white;
	border: none;
	padding-left: 20px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;


}



#sidebarMenu .list-group .list-group-item.top-spacer {
	padding: 0.5rem;
}

#sidebarMenu .list-group .list-group-item.bottom-spacer {
	padding: 1rem;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

#sidebarMenu .list-group .list-group-item.active, .navbar-default .navbar-nav > li > a.navbar__link--mobile-small:hover, .navbar-default .navbar-nav > li > a.navbar__link--mobile-small:focus {
	background: white;
	color: var(--primary-mid-blue-100);
	border: none;
}   


#sidebarMenu .list-group .list-group-item > i {
	color: white;

}

    
#sidebarMenu .list-group .list-group-item.active > i {
	color: var(--primary-mid-blue-100);
}

#sidebarMenu .list-group .list-group-item > span {
	margin-left: 16px;
    font-size: 2.0rem;
    line-height:24px;
	font-weight: 700;
}

.sidebar-header {
	display: block;
	position: relative;
	font-size: 2.4rem;
    line-height:32px;
	font-weight: 700;
	padding-top: 1.4rem;
}

.acronym-circle {
    background: var(--navbar-acronym-bg-color);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-weight: 700;
    font-style: normal;
    color: white;
    font-size: 2.0rem;
    margin: auto;
    margin-top: 3px;
    margin-right: 2px;
    display: inline-block;
} 

.acronym-circle-inner {
  color: white;
  display: table-cell;
  vertical-align: middle; 
  text-align: center;
  text-decoration: none;
  height: 46px;
  width: 46px;  
  font-size: 20px;
}

.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
    color: revert;
    background-color: revert; 
	/*display: flex;*/

}
.dropdown-menu {	
	padding: 16px 0px;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
    font-size: 2.0rem;
	font-weight: 400;
	line-height: 24px; 
    background-color: #fff;
    background-clip: padding-box;
    border: 0px;
	border-radius: 4px;
	background: var(--primary-grey-scale-white, #FFF);
	box-shadow: 0px 2px 30px 2px rgba(69, 85, 96, 0.35);
	-webkit-box-shadow: 0 2px 30px 2px rgba(0,0,0,.175);
}
.dropdown-menu li {

	padding: 8px 24px;
	gap: 10px;
	
}
.navbar-nav>li>.dropdown-menu {
    margin-top: 10px;
}

/*override  drop down boxes and hover */
.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover {
    color: black;
    text-decoration: none;
    background-color: transparent;
    outline: 0
}
.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover {
	color: black ;
	text-decoration: none;
	background-color: transparent;
    border:0px;
    padding:3px 20px;
}
/*override chevron in drop down of nav bar */
.caret {
  border: none;
}
.dropdown-toggle::after {
  	font-family: "Font Awesome 6 Pro";
	font-weight: 800;
    color: var(--primary-grey-scale-100);
	position: absolute;
    top: 20px;
    content: "\f107"; 
    vertical-align: 0; 
}
li.open a.dropdown-toggle::after {
    content: "\f106";
    color: var(--primary-mid-blue-100);
}


/*specific for survey table */
#epworth_question1 {
    width:100%;
}

#epworth_question1 tr {
    display: flex;
    align-items: stretch;
    align-self: stretch;
}





 #epworth_question1 td, .survey__button {
    display: flex;
    flex: 1 0 0;
    padding:unset;

}


#epworth_question1 label {
    cursor:pointer;
    display: flex;
    gap:8px;
    align-items: center;
    
    color: var(--primary-mid-blue-100, #0069AA);

    border-radius: 4px;
    border: 1px solid var(--primary-mid-blue-100, #0069AA);
    background: var(--primary-grey-scale-white, #FFF);
}

#epworth_question1 label:before {
    color: var(--primary-mid-blue-100, #0069AA);
    font-family: "Font Awesome 6 Pro";
    display: flex;
    flex-flow: column;
    font-weight: 400;
    font-style: normal;
    line-height: normal;
}


/*Desktop */
@media (min-width: 768px)  {
    #epworth_question1 tr {
        flex-direction: row-reverse;
        gap: 16px;
    }

    #epworth_question1 td, .survey__button {
        flex-direction: column;
        align-items: center;
    }

    #epworth_question1 label {
        flex-flow: column;
        width:100px;
        height:100px;
        padding-top: 8px;
    }

    #epworth_question1 label:before {
        font-size: 40px;
    }

    .cardlist__item-viewing-box {
        flex-direction: row;
        align-items: flex-start;
    }

    .cardlist__item-column-group-buttons {
        display: flex;
        flex-direction: row;
        padding: 10px;
    }

    .cardlist__item-box:has(.btn--cardlist-confirm) > .cardlist__item-column-group-buttons {
        width: 50%;
    }

    .cardlist__item-box:has(.btn--cardlist-confirm) > .cardlist__item-column-group {
	    width: 50%;
	}

    .cardlist__item-column-group-buttons {
        width: 25%;
    }

    .cardlist__item-column-group {
	    width: 75%;
	}

	.cardlist__item-column:has(button):last-of-type {
	    margin-right: 7px;
	} 
	
	.cardlist__item-column:has(button):first-of-type {
	    margin-left: auto;
	}
}

/*Mobile*/
@media (min-width: 0px) and (max-width: 767px) {
    #epworth_question1 tr {
        flex-direction: column-reverse;
        gap: 16px;
    }

    #epworth_question1 td, .survey__button {
        flex-direction: row;
        align-items: center;
    }

    #epworth_question1 label {
        flex-flow: row;
        width:100%;
        padding: 8px;
    }

    #epworth_question1 label:before {
        font-size: 32px;
    }

    .btn {
        padding: 16px 20px;
    }

    .cardlist__item-viewing-box {
        flex-direction: column;
    }

    .cardlist__item-column-group-buttons {
        display: flex;
        flex-direction: column;
    }

    div:has(.btn--primary.btn--cardlist-viewing) {
        order: 1;
    }

    div:has(.btn--secondary.btn--cardlist-viewing) {
        order: 2;
    }
}


#epworth_question1 label:hover,#epworth_question1 label:focus
 {

    background-color: var(--radio-background-color-selected);
    color: var(--radio-color-selected);
}
#epworth_question1 label:hover:before,#epworth_question1 label:focus:before {
    color: var(--radio-color-selected);
}

#epworth_question1 td:has(input[type="radio"]:checked) label,
#epworth_question1 td:has(input[type="radio"]:checked) label:before {
    border-radius: 4px;
    background-color: var(--radio-background-color-selected);
    color: var(--radio-color-selected);

}


label[for=epworth_question1_0]:before {
    content: '\e369';
}

label[for=epworth_question1_1]:before {
    content: '\f119';
}
label[for=epworth_question1_2]:before {
    content: '\f11a';
}
label[for=epworth_question1_3]:before {
    content: '\f118';
}
label[for=epworth_question1_4]:before {
    content: '\f59a';
}

/* end survey */

.success__icon {
    color:var(--secondary-green);
    font-size:24px;
}

.success__container {
    text-align:center;
    margin:25px;
}




.page-heading {
    padding-top: 0px;
    /*visibility:hidden;*/
}

main {
    margin-bottom: 30px;
}

html { font-size: 62.5%; }

/* remove font size set by bootstrap for text areas */
.form-control {
    font-size:unset;
}


/* Desktop */
@media (min-width: 961px) {
    .navbar > .container-fluid {
        margin: 8px 32px;
    }
    .navbar-brand {
        margin-right: 91px;
    }
    .navbar-default .navbar-nav > li > a {
     	margin: 0px 20px;
    }


}

@media (min-width: 992px) and (max-width: 1199px) {
	html[dir=ltr] .crmEntityFormView .actions .btn.btn--tertiary {
		margin-right: 2px;
	}
	.btn--secondary {
		margin-right: 0.6rem;
	}

   .page-heading > .section-title {
        padding: 16px 48px;
    }
}

/*override indentation on inputs */
.form-control {
    padding: 6px 0px;
}

.formheader {
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    padding: 24px 32px 32px 20px !important;
 /*   margin-bottom:unset !important; not sure why this is here*/
    color: var(--primary-grey-scale-black);

}

.callout-success {
    border-radius: 4px;
    border-top: 3px solid var(--secondary-alert-success);
    border-right: 3px solid var(--secondary-alert-success);
    border-bottom: 3px solid var(--secondary-alert-success);
    border-left: 6px solid var(--secondary-alert-success);

    background: var(--primary-grey-scale-white);
    padding: 24px 32px 32px 20px !important;

    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    color: var(--primary-grey-scale-black);
}

.callout-success > h6 > i {
	color: var(--secondary-alert-success);
}

.callout-success > h6 {
	color: var(--primary-grey-scale-black);
}

.callout-info {
    background: var(--primary-grey-scale-white);
    padding: 24px 32px 32px 20px !important;


    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    color: var(--primary-grey-scale-black);

}
.callout-close {
    width: 24px;
    height: 24px;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    top: -20px
}

fieldset, #EntityFormView fieldset, [id ^=EntityFormControl_] fieldset:not(.formheader__fieldset) {
    background-color: white;
    box-shadow: var(--box-shadow);
    padding-bottom: 20px ;
}

#EntityFormView fieldset:first-of-type, [id ^=EntityFormControl_] fieldset:first-of-type {
    padding-bottom: 0px;
}

.box-shadow-none {
    box-shadow: none !important;
}


#EntityFormView fieldset > legend, [id ^=EntityFormControl_] fieldset > legend {
    position:absolute;
    padding-left:28px;
}
.display-flex-column{
        display: flex; 
        flex-direction: column;
}
.display-flex-row{
        display: flex; 
        flex-direction: row;
}
/* Dashboards  */
.dashboard__section { 
    background-color: var(--primary-grey-scale-10);
}

.dashboard__container {
    display: flex;
    gap: 20px;
    align-self: stretch;
    background-color: white;
    padding:40px !important;
    margin-bottom:40px;
    flex-direction: column;
    align-items: flex-start;

    border-radius: 4px;
    border-left: 6px solid var(--primary-light-blue-100);

}

.dashboard__container_clear {
        display: flex;
        gap: 20px;
        align-self: stretch;
        margin-bottom:32px;
        flex-direction: column;
    }


.dashboard__blueborder {

    border-radius: 4px;
    border-left: 6px solid var(--primary-light-blue-100);
    padding-left:40px;

}

.dashboard__container-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}




.dashboard__container-choice {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
 
}
.dashboard__container-column, .dashboard__container-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 110px;
 /*   overflow: hidden; */
    text-overflow: ellipsis;
}

.dashboard__container-column-gap {
    gap: 15px;
}
.dashboard__container-centre {
    align-items: stretch;
    justify-content: center;
}
.dashboard__container-stretch {
    align-items: stretch;

}
.dashboard__container-mainrow {
    gap:70px;
    width:100%;
    align-content: space-between;
    justify-content: space-between;
}

.dashboard__container-admissiondetails {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: space-between;
    border-bottom: 3px solid var(--primary-light-blue-100);
    padding-bottom: 15px;
}

.dashboard__container-admission:has(.dashboard__container-admissiondetails--readonly) {
	padding-bottom: 24px;
}

.dashboard__container-admissiondetails--readonly {
    border-bottom: none;
    padding-bottom: 0px;
}


/* default order */
.dashboard__container-profileheader {
    order:1;
  /*  min-width: 255px; */
}


.dashboard__container-items {
    order:2;
}

.dashboard__container-link {
    order:3;
    min-width: 125px;
   /* text-wrap: nowrap; */
}
.dashboard__container-locationlink {
    order:4;
    gap:16px;

}

.dashboard__container-locationlink-label {
    color: var(--primary-grey-scale-90, #586670);
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
}

.dashboard__container-checklist-item {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 8px 16px;
    gap: 5px;
    
    border-radius: 4px;
    border: 1px solid var(--primary-mid-blue-30, #B2D2E5);
    background: var(--primary-grey-scale-white, #FFF);
}

.dashboard__progress {
    display: flex;
    border-radius: 10px;
	height: 16px;
    
}


.dashboard__container-progress {
    display: flex;
    align-items: center;
    gap: 5px;
    
}

progress[value]::-webkit-progress-bar {
	border-radius: 10px;
	background: var(--primary-grey-scale-10, #ECEEEF);
	height: 16px;
    
}

progress[value]::-webkit-progress-value {
	border-radius: 10px;
	background: var(--primary-mid-blue-100, #0069AA);
}

/*desktop*/
@media (min-width: 962px)  {

    .dashboard__container_clear {
        align-items: flex-end;
    }



    .dashboard__container-checklist-item {
        width:60%;
    }

    .dashboard__progress {
        width:60%;
    }

    .accountlite__background {
       /* Removed the attributes but class retained.*/

    }

    .accountlite__container {
        width: 519px;
        padding-top: 120px;

    }

    .accountlite__actions, .accountlite__form .actions  {
        padding-left:28px;
        padding-right:28px;
    }

    .dashboard__container-item-maxwidth {
        max-width:250px;
    }

    .dashboard__container-addpatient {
        padding: 40px;
    }
}




/*Tablet*/
@media (min-width: 768px) and (max-width: 961px) {
	
    .dashboard__container_clear {
        align-items: stretch;
        gap: 10px;
        align-self: stretch;
        padding: 0px 32px;
        margin-top:32px;
    }

    .dashboard__container-mainrow {
        flex-direction: column;
        align-items: flex-start;
        gap:16px;

    }

    .dashboard__container-profileheader {
        align-items: center;
        flex-direction: column;
    }

    .dashboard__container-admissiondetails {
        display: flex;
        flex-direction: column;
        gap:16px;
        flex-wrap: wrap;
        align-content: space-between;
        justify-content: space-between;
    }

     .dashboard__container-subrow {
        width: 100%;
        flex-direction: column;
    }

    .dashboard__container-footer {
        padding: 0px 30px 0px 30px;
    }

    .dashboard__container {
        border-radius: 0px;
        border-left: 0;
        margin-top:16px;
        padding:32px !important;
    }

    .dashboard__container-profileheader {
        order:1;
    }
    .dashboard__container-link {
        order:2;
        justify-content: center;
        align-items: center;
    }

    .dashboard__container-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }



    .dashboard__container-items {
        order:3;
    }


    .dashboard__container-column, .dashboard__container-item {
        align-items: stretch;
        width: 100%;
    }

    .dashboard__container-checklist-item {
        width: 100%;
    }

    .dashboard__progress {
        width:100%;
    }

    .dashboard__container-choice {
        margin-top: 30px;
    }

    .accountlite__background {
        background-image: unset;

    }

    .accountlite__container {
        width: 100%;
        padding-top: 0px;

    }

    .accountlite__actions, .accountlite__form .actions  {
        padding-left:28px;
        padding-right:28px;
    }

    .dashboard__container-addpatient {
        padding: 40px;
    }
}

.dashboard__container-item-email {
    max-width: 280px;
    word-wrap: break-word;
}


/*Mobile*/
@media (min-width: 0px) and (max-width: 767px) {
	
    .dashboard__container_clear {
        align-items: stretch;
        gap: 10px;
        align-self: stretch;
        padding: 0px 32px;
        margin-top:0px;
    }


    .dashboard__container-mainrow {
        flex-direction: column;
        align-items: flex-start;
        gap:16px;
    }

    .dashboard__container-subrow {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .dashboard__container-profileheader {
        align-items: center;
        flex-direction: column;
    }
	.dashboard__container-admissiondetails {
        display: flex;
        flex-direction: column;
        gap:16px;

    }

    .dashboard__container-subrow {
        width: 100%;
    }

    .dashboard__container {
        border-radius: 0px;
        border-left: 0;
        margin-top:0px;
        padding:32px !important;
    }

    .dashboard__container-profileheader {
        order:1;
    }
    .dashboard__container-link {
        order:2;
        justify-content: center;
        align-items: center;
    }
    
    .dashboard__container-footer {
        padding: 0px 30px 0px 30px;
    }


    .dashboard__container-item {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: wrap;
        align-content: space-between;
        justify-content: space-between;
        width: 100%;
    }
    .dashboard__container-items {
        order:3;
    }

    .dashboard__container-column, .dashboard__container-item {
        align-items: stretch;
        width: 100%;
    }
    
    .dashboard__container-checklist-item {
        width: 100%;
    }

     .dashboard__progress {
        width:100%;
    }

    .dashboard__container-item-email {
        text-align: right;
    }

    .dashboard__container-choice {
        margin-top: 30px;
    }

    .accountlite__background {
        background-image: unset;

    }

    .accountlite__container {
        width: 100%;
        padding-top: 0px;

    }
    .accountlite__actions, .accountlite__form .actions  {
        padding-left:20px;
        padding-right:20px;
    }

    .page-heading > .section-title.dashboard__section-title {
        margin-bottom:40px;
    }

    .dashboard__container-addpatient {
        padding: 20px;
    }
}


.dashboard__container-subrow {
    gap:16px;

}

.dashboard__container-action.open > .dropdown-menu {
	display: flex;
    min-width: 250px;

}

.dashboard__container-action.open > .dropdown-menu > .dropdown-item {
    padding-left: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.dropdown-item.disabled,
.dropdown-item.disabled > span {
	color: var(--primary-grey-scale-70);
}

.dashboard__container-action.open > .dropdown-menu > .dropdown-item > i{
    padding-right: 10px;
}

.dashboard__container-action > .dropdown-toggle::after {
	 content: initial;
}

/*Desktop */
@media (min-width: 962px)  {
    .dashboard__container-action.dashboard__container-action-dynamic-order {
         order: 5;
    }
}
/*Mobile*/
@media (min-width: 0px) and (max-width: 961px) {
    .dashboard__container-action.dashboard__container-action-dynamic-order {
        order: 0;
        align-items: end;
        margin-bottom: -30px;
    }
}

.dashboard__container-addpatient {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;

    border-radius: 4px;
    background: var(--primary-grey-scale-white, #FFF);
    box-shadow: 0px 2px 8px 2px rgba(69, 85, 96, 0.25);

    font-weight: 700;
}

.dashboard__container-accountdetails {
    display: table-column;
    max-width: 500px;
    padding: 32px;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    border-radius: 4px;
    background: var(--primary-grey-scale-white, #FFF);
    box-shadow: 0px 2px 8px 2px rgba(69, 85, 96, 0.25);
    font-weight: 700;
}

.dashboard__container-accountdetails-name {
    text-align: start;
    display: flex;
}

.dashboard__container-accountdetails-name > div > .dashboard__account-small-icon {
    margin-top: 12px;
}

.dashboard__container-accountdetails-name > div > span { 
    padding-right: 15px;
}

.dashboard__container-accountdetails-field {
    display: flex;
    flex-flow: column;
    padding-top: 20px;
}

.dashboard__container-accountdetails-field > .info {
    text-align: start;
    padding-bottom: initial;
}

.dashboard__container-addaccount {
    display: flex;
    width: 260px;
    padding: 32px;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;

    border-radius: 4px;
    background: var(--primary-grey-scale-white, #FFF);
    box-shadow: 0px 2px 8px 2px rgba(69, 85, 96, 0.25);

    font-weight: 700;
}


.dashboard__container-admission > .dashboard__container-row.dashboard__container-subrow.dashboard__container-items {
    border-bottom: 3px solid var(--primary-light-blue-100);
    padding-bottom: 20px;
}



/* for pipe seperator 3 items need to get to work for multiple https://codepen.io/massimo-cassandro/pen/mdpNvQj */
.dashboard__container-items::before, .dashboard__container-items::after {
  align-self: stretch;
  content: '';
  border: 1px solid var(--primary-grey-scale-10);
}
.dashboard__container-items-removeafter::after {
  content: none;
}
.dashboard__container-items .dashboard__container-item:first-child {
  order: -1;
}
.dashboard__container-items .dashboard__container-item:last-child {
  order: 1;
}



.dashboard__container-admission {
    background-color: var(--primary-light-blue-10);
    padding: 24px 24px 40px 24px;
    width: 100%;
}
.dashboard__container-admission-border {
    border: 2px solid var(--Primary-Light-Blue-100, #50BCEB);
}
.dashboard__account-badge {
    display: flex;
    padding: 8px 24px;
    align-items: flex-start;
    gap: 10px;
    border-radius: 75px;
    background: var(--primary-light-blue-10, #EDF8FD);

}
.dashboard__incomplete-badge {
    display: inline-flex;
    padding: 8px 24px;
    align-items: flex-start;
    gap: 10px;
    border-radius: 75px;
    color:#C16800;
    background: #FFF0DF;
    border: 1px solid;
    border-color:#C16800;
    font-weight: 900;

}

.dashboard__prefilled-badge {
    display: inline-flex;
    padding: 8px 24px;
    align-items: flex-start;
    gap: 10px;
    border-radius: 75px;
    color:var(--secondary-positive-pink);
    background: var(--prefilled-indicator-background-color);
    border: 1px solid;
    border-color:var(--secondary-positive-pink);
    font-weight: 900;
}
.dashboard__account-draft {
    display: flex;
    padding: 8px 24px;
    align-items: flex-start;
    gap: 10px;
    border-radius: 75px;
    background: var( --secondary-alert-warning);

}
.dashboard__account-icon {
    font-size: 30px;
    color: var(--primary-mid-blue-100);
    padding-top:15px;

}
.dashboard__account-small-icon {
    font-size: 24px;
    color: var(--primary-mid-blue-100);

}




.dashboard__account-checklist-item-todo {
    order:1;
    border-radius: 4px;
    border:0;
    box-shadow: 0px 2px 8px 2px rgba(69, 85, 96, 0.25);
}
.dashboard__account-checklist-item-static {
    order:2;
}
.dashboard__account-checklist-item-optional {
    border-radius: 4px;
    border:0;
    box-shadow: 0px 2px 8px 2px rgba(69, 85, 96, 0.25);
    order:3;
}
.dashboard__account-checklist-item-cancelled {
    order:4;
}
.dashboard__account-checklist-item-done {
    order:99;
}
.dashboard__account-checklist-item-todo:hover, .dashboard__account-checklist-item-optional:hover {
    color: var(--primary-grey-scale-white);
    background-color: var(--primary-mid-blue-100);
    cursor: pointer;
}

.dashboard__account-checklist-icon-todo-circle:after {
    color: var(--primary-grey-scale-70);
	font-family: "Font Awesome 6 Pro";
	content: '\f111';
}
.dashboard__account-checklist-icon-todo-arrow:after {
    color: var(--primary-mid-blue-100);
	font-family: "Font Awesome 6 Pro";
	content: '\f061';
}

.dashboard__account-checklist-icon-todo {
    width: 100%;
}

.dashboard__account-checklist-item-todo:hover .dashboard__account-checklist-icon-todo-circle:not(:hover):after,
.dashboard__account-checklist-item-todo:hover .dashboard__account-checklist-icon-todo-arrow:not(:hover):after,
    .dashboard__account-checklist-icon-todo-circle:hover:after, 
    .dashboard__account-checklist-icon-todo-arrow:hover:after {
    color: var(--primary-grey-scale-white);
}

.xrm-editable-hover {
    outline:none !important;
}

.dashboard__account-checklist-icon-done {

}
.dashboard__account-checklist-icon-done:before {
    color: var(--secondary-green);
	font-family: "Font Awesome 6 Pro";
	content: '\f058';
    font-weight: 900;
}

.dashboard__account-checklist-icon-done > div {
    margin-left: 5px;
}

.dashboard__account-checklist-icon-static {

}
.dashboard__account-checklist-icon-static:before {
    color: var(--primary-grey-scale-70);
	font-family: "Font Awesome 6 Pro";
	content: '\f2f2';
}

.dashboard__account-checklist-icon-optional {

}
.dashboard__account-checklist-icon-optional:before {
    color: var(--primary-grey-scale-70);
	font-family: "Font Awesome 6 Pro";
	content: '\e105';
}
.dashboard__account-checklist-icon-cancelled {

}
.dashboard__account-checklist-icon-cancelled:before {
    color: var(--primary-grey-scale-70);
	font-family: "Font Awesome 6 Pro";
	content: '\f057';
}

/* end new dashboard */

/* account owner start*/

.accountlite__container {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.accountlite__form {
    width:100%;
    display: flex;
    border-radius: 4px;
    background: var(--primary-grey-scale-white, #FFF);
    box-shadow: 0px 2px 8px 2px rgba(69, 85, 96, 0.25);
}

.accountlite__form fieldset {
    box-shadow: unset;
}

.accountlite__form [id ^=EntityFormControl_] {
    width:100%;
}




.accountlite__actions-btn, .btn.btn--primary.accountlite__actions-btn.submit-btn {
    width: 160px;
    float: unset;
}

accountlite__actions, .accountlite__form .actions  {
    padding-bottom:unset;
 }

/* account owner end */







/* OLD DASHBOARD */
.dashboard__card {
    background-color: #E8E8E8;
    margin-top: 10px;
    padding-left: 26px;
    padding-right: 26px;
    padding-top: 15px;
    border-radius: 4px;
    margin-bottom: 26px;
}

.container.dashboard__card 
.row {
    padding-bottom: 0px;
    margin-bottom: 8px;
}

.container.dashboard__card 
.row.dashboard__footer {
    margin-bottom: 15px;
}

.dashboard__item {
    border-radius: 4px;
    float: left;
    padding: 10px;
    background-color: white;
    word-wrap: break-word;
    line-height: 1.6;
    width: 100%;
    margin-bottom: 15px;
    min-height:250px;
}

.dashboard__subitem {
    float: left;
    padding: 10px;
    margin:8px;
    margin-left:5px;
    height: auto;
}

.dashboard__subitem--min-height {
    min-height: 220px;
}

.col--padding-0 {
    padding: 0px;
}

.text-danger-right {
    color: #a94442;
    font-size: 12px;
    text-align: right;
}
/* END OLD DASHBOARD? */




.color-black {
    color: var(--primary-grey-scale-black);
}
.color-blue {
    color: var( --primary-mid-blue-100);
}
.color-grey {
   color: var(--primary-grey-scale-90, #586670);
}

.desktop-link-container { 
    display: flex;
    flex-wrap: nowrap;
    gap:12px;
}

.desktop-link { 
    color: var(--primary-mid-blue-100, #0069AA);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; 
    text-decoration-line: underline;
}
.desktop-link-icon { 
    color: var(--primary-mid-blue-90);
    justify-content: center;
    align-items: center;
}



.page-heading > .section-title {
        box-shadow: var(--box-shadow);
       /* width:100vw; */
}

/* Mobile */
@media (max-width: 767px) {
    .navbar-default:has(div.container-fluid > div.navbar-collapse.collapse.in, div.container-fluid > div.navbar-collapse.collapsing) {
        background-color: var(--primary-mid-blue-100);
        border: none;
    }

    .navbar-default:has(div.container-fluid > div.navbar-collapse.collapse.in) {
		height:102vh;
		position: sticky;
		top: 0;
		z-index:100;
	}

    .navbar__link--mobile-big, .navbar-default .navbar-nav > li > a.navbar__link--mobile-big {	
        display: flex;
        flex-direction: column;
        align-content: center;
        flex-wrap: wrap;
        padding:0px; 
        margin-top: 24px;
    }

    a.navbar__link--mobile-big:hover, a.navbar__link--mobile-big:hover {
        color: white;
}

    .navbar-default .navbar-nav > li > a.navbar__link--mobile-big.navbar__logout-link{
        text-decoration: underline; 
        margin-bottom: 24px;
        font-weight:400;
    }

    .navbar-default .navbar-nav > li > a.navbar__link--mobile-small {
		border-top: 1px solid #96D7F3;
		padding: 24px;
	}

    .navbar-default .navbar-nav > li > a, .navbar-default .navbar-nav > li > a > i {
		color: white;
	}

    .navbar-default .navbar-nav > li.nav-active > a {
		background-color: white;
	}

    .navbar-default .navbar-nav > li > a.navbar__link--mobile-small {	
        font-size: 2.4rem;
        line-height: 32px;
    }

    .navbar-default:has(div.container-fluid > div.navbar-collapse.collapse.in, div.container-fluid > div.navbar-collapse.collapsing) #epworthLogo {
        content:url("epworth-logo-white");
    }

    .navbar-default:has(div.container-fluid > div.navbar-collapse.collapse) #epworthLogo {
        content:url("epworth-logo");
    }

    .navbar .navbar-collapse{
        box-shadow:none;
    }

     .navbar-default .navbar-nav > li > a.navbar__help-link{
        font-size: 2.0rem;
        line-height: 24px;
        font-weight: 400;
    }

    
    .page-heading > .section-title {
        padding: 16px 20px;
    }

    [id ^=WebFormControl][id $=ProgressIndicator] {
		padding-right: 0;
        padding-left: 0;

	}	

    /*adjust padding for mobiles to fit display */
    .modal-footer {
        padding: 5px;
    }

    html[dir=ltr] li a {
		margin-left: 0px;
	}




    body { 
        font-family: var( --font-family);
        font-size: 2.0rem; 
        line-height: 24px;
        font-weight: 400;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        background-color: var(--body-color);
    }




    .body2 { 
        font-size: 1.6rem; 
        line-height: 20px;
        font-weight: 400;
    }



    .crmEntityFormView td.cell,
    .crmEntityFormView label.cell {
        padding-left: 20px;
        padding-right: 20px;
    }

    .container {
        padding-right: 0px;
        padding-left: 0px; 
/* was auto, set to 0 as it was causing issues */
        margin-right: 0px;
        margin-left: 0px;
    }



    .navbar > .container-fluid {
        margin: 8px 0px;
    }

    .navbar-nav .desktop-only, .desktop-only  {
        display: none;
    }

    /*remove margins and padding for mobile view */
    #sidebarMenu {
        margin:0px;

    }

    #sidebarMenu .sidebarMenu__links.collapse.in {
        
        height: 100vh;
        background-color: var(--primary-mid-blue-100);

    }

    #WebFormPanel {
        padding:0px;
    }

    #sidebarMenu .list-group {
        margin-bottom: 0px;
    }


    h1 {
        margin-top: 0px;
        margin-bottom: 0px;
        line-height: 56px;
        font-size: 4.8rem;
        color: var(--h1-color);
        font-weight: var(--h-font-weight);
    }
    h2 {
        font-size: 4.0rem;
        color: var(--h2-color);
        font-weight: var(--h-font-weight);
        margin-bottom: 0px;
        line-height: 48px;
    } 
    h3 {
        color: var(--h3-color);
        font-weight: var(--h-font-weight);
        font-size: 3.2rem; 
        line-height: 40px;
    }
    legend > h3 {
        color: var(--h3-color);
        font-weight: var(--h-font-weight);
        font-size: 2.4rem; 
        line-height: 32px;
    }
    h4 {
        color: var(--h4-color);
        font-weight: var(--h-font-weight);
        font-size: 2.4rem; 
        line-height: 32px;
    }
    h5 {
        color: var(--h5-color);
        font-weight: var(--h-font-weight);
        font-size: 2.0rem; 
        line-height: 24px;
    }
    h6 {
        color: var(--h6-color);
        font-weight: var(--h-font-weight);
        font-size: 1.6rem; 
        line-height: 24px;
    }

    div.callout-info h6, #ValidationSummaryEntityFormView .validation-header span  {
        color: var(--h6-color);
        font-weight: var(--h-font-weight);
        font-size: 2.0rem; 
        line-height: 24px;
    }

    div.callout-success h6, #ValidationSummaryEntityFormView .validation-header span  {
        font-weight: var(--h-font-weight);
        font-size: 2.0rem; 
        line-height: 24px;
    }

	.crmEntityFormView .cell.section__nested {
		width: calc(100% - 60px);
	}

    
    .formheader {
        border:0px;
        border-radius: 0px;

    }



    .callout-info {
        border-radius: 4px;
        border-top: 3px solid var(--primary-light-blue-100);
        border-right: 3px solid var(--primary-light-blue-100);
        border-bottom: 3px solid var(--primary-light-blue-100);
        border-left: 6px solid var(--primary-light-blue-100);

    }

    .formheader__fieldset {
        box-shadow:none;
    }

    #EntityFormView fieldset > legend, [id ^=EntityFormControl_] fieldset > legend {
        padding-left:20px;
    }

    .crmEntityFormView .actions {
        padding-left:16px;
        padding-right:16px;
    }

    .sidebar--position-static {
        position: static;
    }

    .sidebar--position-fixed, .sidebar--position-fixed--padding-top-offset  {
        position: fixed;
        top: 0px;
        width: 100vw;
        left: 0px;
    }

	.sidebar--position-fixed--padding-top-offset .sidebar-header {
        padding-top: 30px;
    }

    .sidebar--position-fixed--padding-top-offset .sidebarMenu__links:after { 
		top: 70px;
	}

    .sidebarMenu__links:after {
        width: calc(100% - 48px);
    }


    
    /* fix for longer radio buttons to stack vertically if 3 -5 options (6-10 including label*/)
    div:has(input:not([disabled])[type="radio"]):has(:last-child:nth-child(4)),
    span.picklist.horizontal:has(input:not([disabled])[type="radio"]):has(:last-child:nth-child(6)),
    span.picklist.horizontal:has(input:not([disabled])[type="radio"]):has(:last-child:nth-child(8)),
    span.picklist.horizontal:has(input:not([disabled])[type="radio"]):has(:last-child:nth-child(10)) { 
        display: flex;
        flex-direction: column;
        width: min-content;
    }

	div:has(input:not([disabled])[type="radio"]):has(:last-child:nth-child(4)) input:not([disabled])[type="radio"] + label:not(.readonly),
    span.picklist.horizontal:has(input:not([disabled])[type="radio"]):has(:last-child:nth-child(6)) input:not([disabled])[type="radio"] + label:not(.readonly),
    span.picklist.horizontal:has(input:not([disabled])[type="radio"]):has(:last-child:nth-child(8)) input:not([disabled])[type="radio"] + label:not(.readonly),
    span.picklist.horizontal:has(input:not([disabled])[type="radio"]):has(:last-child:nth-child(10)) input:not([disabled])[type="radio"] + label:not(.readonly) {
        display: flex;
        flex-direction: column;
		align-items: flex-start;
        width: min-content;

        background-color: var(--radio-background-color);
        padding: 10px;
        border: 2px solid var(--radio-background-color-selected);
        border-bottom:0px;
        border-radius:0px;
        min-width: 230px;
        text-align: center;
        justify-content: center;
        align-items: center;
        margin:0;
    }

    div:has(input:not([disabled])[type="radio"]):has(:last-child:nth-child(4)) input:not([disabled])[type="radio"] + label:first-of-type,
	span.picklist.horizontal:has(input:not([disabled])[type="radio"]):has(:last-child:nth-child(6)) input:not([disabled])[type="radio"] + label:first-of-type,
    span.picklist.horizontal:has(input:not([disabled])[type="radio"]):has(:last-child:nth-child(8)) input:not([disabled])[type="radio"] + label:first-of-type,
    span.picklist.horizontal:has(input:not([disabled])[type="radio"]):has(:last-child:nth-child(10))  input:not([disabled])[type="radio"] + label:first-of-type {
          border-radius: 4px 4px 0px 0px;
        }

    div:has(input:not([disabled])[type="radio"]):has(:last-child:nth-child(4))  input:not([disabled])[type="radio"] + label:last-of-type:not(.readonly),
	span.picklist.horizontal:has(input:not([disabled])[type="radio"]):has(:last-child:nth-child(6))  input:not([disabled])[type="radio"] + label:last-of-type:not(.readonly),
    span.picklist.horizontal:has(input:not([disabled])[type="radio"]):has(:last-child:nth-child(8))  input:not([disabled])[type="radio"] + label:last-of-type:not(.readonly),
    span.picklist.horizontal:has(input:not([disabled])[type="radio"]):has(:last-child:nth-child(10))  input:not([disabled])[type="radio"] + label:last-of-type:not(.readonly) {
        border-bottom:2px solid var(--radio-background-color-selected);
        border-radius:0px 0px 4px 4px;
     }

    div:has(input:not([disabled])[type="radio"]):has(:last-child:nth-child(4)) input:not([disabled])[type="radio"]:checked + label:not(.readonly),
	span.picklist.horizontal:has(input:not([disabled])[type="radio"]):has(:last-child:nth-child(6)) input:not([disabled])[type="radio"]:checked + label:not(.readonly),
    span.picklist.horizontal:has(input:not([disabled])[type="radio"]):has(:last-child:nth-child(8)) input:not([disabled])[type="radio"]:checked + label:not(.readonly),
    span.picklist.horizontal:has(input:not([disabled])[type="radio"]):has(:last-child:nth-child(10)) input:not([disabled])[type="radio"]:checked + label:not(.readonly) {
        background-color: var(--radio-background-color-selected);
        color: var(--radio-color-selected);
    }

    .secondary__entitylist {
	    margin-top: 40px;
	}

    html[dir=ltr] .table-fluid td:before {
        margin-left: -14rem;
    }

    html[dir=ltr] .table-fluid td {
        padding-left: 15rem !important;
        word-break: break-word;
    }
}

@media (min-width: 768px) and (max-width: 960px) {
    .navbar > .container-fluid {
        margin: 8px 0px;
    }
    .navbar-default .navbar-nav > li > a {
     	margin: 0px 15px;
    }
    .page-heading > .section-title {
        padding: 16px 48px;
    }

    .secondary__entitylist {
	    margin-top: 16px;
	}
}

/* Desktop */
@media (min-width: 768px) {
    .navbar-default .navbar-nav > li > a {
		color: var(--primary-grey-scale-black);
        font-size: 2.0rem;
	}

    .navbar-default .navbar-nav > li > a > i {
	    color: var(--primary-mid-blue-90);
	}
    
    .navbar-default .navbar-nav {
        margin: 5px;
    }

    .navbar-default:has(div.container-fluid > div.navbar-collapse.collapse) #epworthLogo {
        content:url("epworth-logo");
    }

    body { 
        font-family: var( --font-family);
        font-size: 2.0rem; 
        line-height: 24px;
        font-weight: 400;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        background-color: var(--body-color);
    }

    .body2 { 
        font-size: 1.6rem; 
        line-height: 20px;
        font-weight: 400;
    }


    .navbar-nav .mobile-only, .mobile-only {
        display: none;
    }

    h1 {
        margin-top: 0px;
        margin-bottom: 0px;
        line-height: 80px;
        font-size: 7.2rem;
        color: var(--h1-color);
        font-weight: var(--h-font-weight);
    }
    h2 {
        font-size: 4.8rem;
        color: var(--h2-color);
        font-weight: var(--h-font-weight);
        margin-bottom: 0px;
        line-height: 56px;
    } 
    h3 {
        color: var(--h3-color);
        font-weight: var(--h-font-weight);
        font-size: 4.0rem; 
        line-height: 48px;
    }
    legend > h3 {
        color: var(--h3-color);
        font-weight: var(--h-font-weight);
        font-size: 3.2rem; 
        line-height: 40px;
    }
    h4 {
        color: var(--h4-color);
        font-weight: var(--h-font-weight);
        font-size: 3.2rem; 
        line-height: 40px;
    }
    

    h5 {
        color: var(--h5-color);
        font-weight: var(--h-font-weight);
        font-size: 2.4rem; 
        line-height: 32px;
    }
    h6, #ValidationSummaryEntityFormView .validation-header span {
        color: var(--h6-color);
        font-weight: var(--h-font-weight);
        font-size: 2.0rem; 
        line-height: 24px;
    }

	.crmEntityFormView .cell.section__nested {
		width: 100%;
	}


    
    .formheader {
        border-radius: 4px;
        border-left: 6px solid var(--primary-light-blue-100);
        

    }

    .callout-info {
        border-radius: 4px;
        border-top: 3px solid var(--primary-light-blue-100);
        border-right: 3px solid var(--primary-light-blue-100);
        border-bottom: 3px solid var(--primary-light-blue-100);
        border-left: 6px solid var(--primary-light-blue-100);

    }
    
    .page-heading > .section-title {
        padding: 16px 48px;
    }




}
body:has(h4[data-header="grey-background"]),
body:has(h4[data-header="payments"]),
body:has(h4[data-header="admissions"]),
body:has(h4[data-header="ifc"]),
body:has(h4[data-header="hc21"])
{		
    background-color: var(--primary-grey-scale-10);
}

div.entitylist .table-striped>tbody>tr:nth-of-type(odd) {
    background-color: revert;
}

div.entitylist table>thead>tr>th {
    border-bottom: 3px solid var(--primary-light-blue-100);
}

div.entitylist table.table-striped thead tr th a {
    color: var(--primary-grey-scale-black);
}

div.entitylist table.table-striped thead tr th a > span {
    color: var(--primary-mid-blue-100);
}

.secondary__entitylist {
    background-color: white;
    padding:14px;
    border-radius:4px; 
    box-shadow: var(--box-shadow);
}

body:has(div.page-heading > div.section-title > h4[data-header="payments"])
.view-grid .dropdown.action>.btn {
    display: none;
}
body:has(div.page-heading > div.section-title > h4[data-header="payments"])
.view-grid .dropdown.action .dropdown-menu {
    display: block;
    position: initial !important;
    border: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
    width: 10px;
	min-width: 70px;
}
body:has(div.page-heading > div.section-title > h4[data-header="payments"])
.view-grid .dropdown.action .dropdown-menu li {
    display: inline-block;
    text-align: center;
}
body:has(div.page-heading > div.section-title > h4[data-header="payments"])
.view-grid .dropdown.action .dropdown-menu li a {
    font-size: 0;
    padding: 2px;
    margin: 0;
}
body:has(div.page-heading > div.section-title > h4[data-header="payments"])
.view-grid .dropdown.action .dropdown-menu li a>span {
    font-size: 18px;
}
body:has(div.page-heading > div.section-title > h4[data-header="payments"])
.view-grid .dropdown.action .dropdown-menu li a:hover {
    color: #008C95;
    background: transparent;
}

@media (min-width: 399px) {
	.btn.btn--float-unset {
		float: unset;
	}
}

@media (min-width: 365px) {
	.btn.btn--float-unset {
		white-space: nowrap;
	}

	.actions--justify-content-flex-end {
		justify-content: flex-end;
		display: flex;
	}
}

.crmEntityFormView .cell {
	padding-top: 10px;
	padding-bottom: 5px;
}

.navbar-default .navbar-collapse {
    border: none;
}

.navbar-default .navbar-nav > li > a {
    font-weight: 700;
    font-style: normal;
    padding: 15px 0px;
    line-height: 24px;
}

.navbar-nav.navbar-right > li > a.dropdown-toggle {
    padding: 0px;
    margin-right: 0px;
}

.navbar-default .navbar-nav > li > a > i {
    margin-right: 12px;
}

.navbar-default{
    background-color: white;
    border-bottom: 3px solid var(--primary-grey-scale-10);
    min-height: 80px;
}

.navbar-brand {
    padding: 5px;

}





span[aria-label="Choose one record and click Select to continue"] {
    display:none;
}

.kiosk-modal-title,
.modal-title {
    text-transform: none;
}
.modal-content {
    border: 3px solid var(--primary-light-blue-100);
}

.modal-header {
    border-bottom: unset;
    
}



.modal-footer {
    border-top: unset;
    background-color: unset;
/*var(--primary-grey-scale-10); */
}

.form-close {
    color: var(--primary-grey-scale-100);
}

.grid-actions {
    border-bottom: 0px;
}
 /*remove gray lines in grids */
.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th {
    border-top:0px;
}


/* form modals */
/* general - removes icon - view details looks like a bug in dynamics containing the whole span */
.modal-title[title="Create"] span, 
.modal-title[title="View Details"] span,
.modal-title[title="<span class='fa fa-info-circle' aria-hidden='true'></span> View details"] span {
    display:none;
}

fieldset[aria-label="ModalDialog"] {
    box-shadow:unset !important;
}
.btn--modal {
    display: flex;
    width: 148px;
    height: 48px;
    justify-content: center;
    align-items: center;
    padding: unset !important;

}



/*pagination */

.view-pagination .pagination {
    justify-content: center;
    align-items: center;
    display: flex
}

.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
  border-color: transparent;
  border-radius: 4px;
}
.pagination>li>a,.pagination>li>span {
    color: var(--primary-mid-blue-100);
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover {
    background-color: var(--primary-mid-blue-100)!important;
}


/* specific lists */

#epworth_fundname_lookupmodal > div > section > div > div > div.modal-header > h1,
#epworth_fundlevelofcover_lookupmodal > div > section > div > div > div.modal-header > h1,
#epworth_generalpractitioner_lookupmodal > div > section > div > div > div.modal-header > h1,
#epworth_specialistname_lookupmodal > div > section > div > div > div.modal-header > h1,
#epworth_generalpractitioner_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > [aria-label="Address 1 (Company Name)"],
#epworth_generalpractitioner_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > [aria-label="Company Name"],
#epworth_generalpractitioner_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > th > [aria-label="Company Name"],
#epworth_generalpractitioner_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > [aria-label="Full Name"],
#epworth_generalpractitioner_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > th > [aria-label="Full Name"]

 {
   text-indent:-9999px;
}

/* hides the a href so cant be sorted */
#epworth_generalpractitioner_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > th > [aria-label="Company Name"],
#epworth_generalpractitioner_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > th > [aria-label="Full Name"]

 {
   display:none;
}
/* removes the a href so cant be sorted - for when not renaming column */
#epworth_specialistname_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > th > [aria-label="Title"], 
#epworth_specialistname_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > th > [aria-label="Full Name"],
#epworth_specialistname_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > th > [aria-label="Description"]
 {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: unset;
}



/* hide columns on GP search - keep for searching */
#epworth_generalpractitioner_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > [aria-label="Given Names"],
#epworth_generalpractitioner_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > th:has([aria-label="Given Names"]),
#epworth_generalpractitioner_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > tbody > tr > [data-th="Given Names"],
#epworth_generalpractitioner_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > [aria-label="Surname"],
#epworth_generalpractitioner_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > th:has([aria-label="Surname"]),
#epworth_generalpractitioner_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > tbody > tr > [data-th="Surname"],

#epworth_specialistname_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > th > [aria-label="Given Names"],
#epworth_specialistname_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > tbody > tr > [data-th="Given Names"],
#epworth_specialistname_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > th:has([aria-label="Given Names"]),
#epworth_specialistname_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > th > [aria-label="Surname"],
#epworth_specialistname_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > tbody > tr > [data-th="Surname"],
#epworth_specialistname_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > th:has([aria-label="Surname"]),
#epworth_specialistname_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > th > [aria-label="Prof Carer Main Code"],
#epworth_specialistname_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > tbody > tr > [data-th="Prof Carer Main Code"],
#epworth_specialistname_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > th:has([aria-label="Prof Carer Main Code"])
{
  display:none;

}


#epworth_fundname_lookupmodal > div > section > div > div > div.modal-header > h1:before
 {
  text-indent:0;
  content:'Enter the health fund';
  float:left;
} 

#epworth_fundlevelofcover_lookupmodal > div > section > div > div > div.modal-header > h1:before
 {
  text-indent:0;
  content:'Enter the level of cover';
  float:left;
} 

#epworth_generalpractitioner_lookupmodal > div > section > div > div > div.modal-header > h1:before
 {
  text-indent:0;
  content:"Enter the GP's name or the clinic name";
  float:left;
} 
#epworth_specialistname_lookupmodal > div > section > div > div > div.modal-header > h1:before
 {
  text-indent:0;
  content:"Enter the specialist name";
  float:left;
} 
/*GP Details - LIST */
#epworth_generalpractitioner_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > [aria-label="Address 1 (Company Name)"]:before
{
  text-indent:0;
  content:"Clinic Address";
  float:left;

}


#epworth_generalpractitioner_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > [aria-label="Company Name"]:before,
#epworth_generalpractitioner_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > th:has([aria-label="Company Name"]):before

{
  text-indent:0;
  content:"Clinic";
  float:left;

}

#epworth_generalpractitioner_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > [aria-label="Full Name"]:before,
#epworth_generalpractitioner_lookupmodal > div > section > div > div > div.modal-body > div.entity-grid > div.view-grid > table > thead > tr > th:has([aria-label="Full Name"]):before

{
  text-indent:0;
  content:"Full Name";
  float:left;

}

/* Forms */
/* carers */
#Subgrid_carers > div > section.modal.fade.modal-form.modal-form-insert.in > div > div > div.modal-header > h1:before {
  text-indent:0;
  content:'Add a carer';
  float:left;
} 

#Subgrid_carers > div > section.modal.fade.modal-form.modal-form-edit.in > div > div > div.modal-header > h1:before {
  text-indent:0;
  content:'Update a carer';
  float:left;
} 

/* previous pregnancies */
#Subgrid_PreviousPregancies > div > section.modal.fade.modal-form.modal-form-insert.in > div > div > div.modal-header > h1:before {
  text-indent:0;
  content:'Add a previous pregnancy';
  float:left;
} 

#Subgrid_PreviousPregancies > div > section.modal.fade.modal-form.modal-form-edit.in > div > div > div.modal-header > h1:before {
  text-indent:0;
  content:'Update a previous pregnancy';
  float:left;
} 


.crmEntityFormView .cell.section__nested {
	padding-left: 28px;
	padding-bottom: 15px;
	margin-left: 30px;
	margin-bottom: 0px;
	border-left: 3px solid var(--primary-light-blue-100);
}

tr:has(td.section__nested) {
	display: flex;
}

.crmEntityFormView td.zero-cell {
	margin-bottom: 0px;
}

/*override padding for actions buttons  */
.actions > div {
	padding:0px;
}

.btn {
	font-size: 2.4rem; 
	font-weight: 700;
	border-radius: 4px;
}
.btn-default {
	padding: 6px 12px;
	border: none;
}

.btn--small {
	font-size: 2.0rem;
	font-weight: 700;
	padding: 12px 15px;
	border-radius: 4px;
}

.btn--smaller {
    font-size: var(--label-size-xxs);
    font-weight: 700;
    padding: 8px 15px;
    border-radius: 4px;
    border: 2px solid var(--primary-mid-blue-100);
}

.btn-default.btn--small {
	padding: 6px 12px;
}

.btn-group>.btn:last-child:not(:first-child) {
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}

.btn.btn--float-revert, .btn.btn--float-revert:focus {
    float: revert;
}

.btn--return span {
  display: none;
}

.btn--return:after {
  content: 'Back to dashboard';
}

.btn--primary {
	background-color: var(--btn-color);
	color: white;
	float: right;
	border: 3px solid var(--btn-color);
	border-radius: 4px;
}

.btn--primary:hover {    
	background-color: white;
	color: var(--primary-mid-blue-100);
}

.btn--primary:active {
	background-color: var(--primary-mid-blue-100);
    color: white;
}

.btn--primary:focus {
    background-color: var(--primary-mid-blue-100);
    color: white;
	outline-offset: 3px;
    outline: 6px auto var(--primary-light-blue-50);
}

.btn--primary:disabled {
	background-color: var(--primary-grey-scale-40);
	color: white;
	border: 3px solid var(--primary-grey-scale-40);
}
/*need to put margin right on media query to 1.6 > 1199 */
.btn--secondary {
	background-color: white;
	color: var(--btn-color);
	border: 3px solid var(--btn-color);
	float: right;
	margin-right: 0.9rem;
	transition-property: border, color;
	transition-duration: 150ms;
	border-radius: 4px;
}

.btn--secondary:hover {
    background-color: var(--btn-color);
	color: white;
}

.btn--secondary:active {
	background-color: white;
	color: var(--btn-color);
} 

.btn--secondary:focus{
    background-color: white;
	color: var(--btn-color);
	outline-offset: 3px;
    outline: 6px auto var(--primary-light-blue-50);
}

.btn--secondary:disabled {
    background-color: white;
    color: var(--primary-grey-scale-40);
    border: 3px solid var(--primary-grey-scale-40);
}

.btn--tertiary {
	background-color: transparent;
	color: var(--btn-color);
	float: right;
	border: 3px solid transparent;
	border-radius: 4px;
}

.btn--tertiary:hover { 
	background-color: transparent;
	color: var(--btn-color);
	border: 3px solid var(--btn-color);
}

.btn--tertiary.btn--tertiary-dropdown:hover,
div.dropdown:has(a.btn--tertiary-dropdown):hover {
	background-color: var(--primary-light-blue-100);
}

.btn--tertiary.btn--tertiary-dropdown:hover {
	border: 3px solid transparent;
}

div.dropdown > a.btn--tertiary-dropdown:hover {
	color: revert;
	text-decoration: revert;
}

a.btn--tertiary-dropdown > h4 {
	color: var(--primary-mid-blue-100)
}

.btn--tertiary:active {
	background-color: transparent;
	color: var(--btn-color);
	border: 3px solid var(--btn-color);
}

.btn--tertiary:focus {
	background-color: transparent;
	color: var(--btn-color);
	border: 3px solid var(--btn-color);
	outline-offset: 3px;
    outline: 6px auto var(--primary-light-blue-50);
}

.btn--tertiary:disabled {
	background-color: transparent;
	color: var(--btn-tertiary-disabled-color);
}

.btn--emergency {
	background-color: var(--btn-color-emergency);
	color: white;
	float: right;
	border: 3px solid var(--btn-color-emergency);
	border-radius: 4px;
}

.btn--emergency:hover {    
	background-color: white;
	color: var(--primary-mid-blue-100);
}

.btn--emergency:active {
	background-color: var(--primary-mid-blue-100);
    color: white;
}

.btn--emergency:focus {
    background-color: var(--primary-mid-blue-100);
    color: white;
	outline-offset: 3px;
    outline: 6px auto var(--primary-light-blue-50);
}

.btn--emergency:disabled {
	background-color: var(--primary-grey-scale-40);
	color: white;
	border: 3px solid var(--primary-grey-scale-40);
}

.btn:active:focus, btn--small:active:focus {
	outline: none;
}

.btn--add:before {
	font-family: "Font Awesome 6 Pro";
	content: '\2b';
	font-weight: 800;
	position: absolute;
	left: 27px;
}

.btn--add {
	padding-left: 45px;
}

.btn--link,.btn--link:focus,.btn--link:hover {
	color: var(--primary-mid-blue-100);
	text-decoration: underline;
}


.field__prefilled-indicator {
	color: var(--secondary-positive-pink);
	display: inline-flex;
	padding: 8px 12px;
	margin-bottom: 6px;
	gap: 4px;
	border-radius: 75px;
	background: var(--prefilled-indicator-background-color);
	width: fit-content;
}

.prefilled-message {
    color: var(--secondary-positive-pink);
    text-transform: none;
    margin-bottom:0px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    display: none;
}

label, label.form-control {
     color: var(--label-color);
     font-size: var(--label-size);
     line-height: 24px;
}

.input-group-btn > .clearlookupfield, .input-group-btn > .launchentitylookup, .entitylist-search button {
    border:none ;
    border-bottom:1px solid var(--input-color-disabled) !important;
    padding-bottom: 10px;
    border-radius: 0px;
}


input, input.form-control, 
select, select.form-control, 
.datetimepicker > .input-group-addon  {
    font-size: var(--input-size);
    line-height: 24px;
    height:100%;
    border:none ;
    border-bottom:1px solid var(--input-color);
    color: var(--input-color);
    border-radius: 0px;
    background-color:  var(--input-background-color);
    -webkit-box-shadow: unset;
}

input.form-control.date__input:invalid,
input.form-control.date__input:focus:invalid {
	border-bottom-color: var(--input-color-invalid);
}

td:has(input.date__input:invalid) #birthdate_label.field-label {
	color: var(--input-color-invalid);
}

.datetimepicker > .input-group-addon  {
    padding: 0px 10px 0px 10px;
}


input:focus, input.form-control:focus, 
select:focus, select.form-control:focus, 
.datetimepicker > .input-group-addon:focus  { 
    border-bottom: 1px solid var(--input-color-focus);
    color: var(--input-color-focus);
}

input:active, input.form-control:active, 
select:active, select.form-control:active, 
.datetimepicker > .input-group-addon:active { 
    border-bottom: 1px solid var(--input-color-active);
    color: var(--input-color-active);
}

input[readonly], input.form-control[readonly], 
select[readonly], 
select.readonly,
select.form-control[readonly], 
.datetimepicker > .input-group-addon[readonly]  { 
    border-bottom:0px solid var(--label-color-readonly);
    color: var(--input-color-readonly);
    background-color: var(--input-background-color-readonly);
}

input[type=checkbox] + label {
    margin-top: -20px;
    vertical-align: middle;
    display: inline;
}

input[type=checkbox] + label.field-label {
	padding-left: 10px;
	font-weight: 700;
}

input[type=checkbox], .checkbox input[type=checkbox]{
     position: relative;
    bottom: 3px;
    vertical-align: middle;


	width: 32px;
	height: 32px;
	margin: 5px;
	-webkit-appearance: none;
	-moz-appearance: none;
	-o-appearance: none;
	appearance: none;
	box-shadow: none;
	font-size: 0.8em;
	text-align: center;
	line-height: 1em;
	background: white;
	border-radius: 2px;
    border: 1px solid var(--checkbox-border-color);
}

input[type=checkbox]:checked:after {
    content: '✔';
    color: white;
    background: var(--primary-mid-blue-100);
    font-family: "Font Awesome 6 Pro";
    font-weight: 800;
    font-size: 24px;
    padding: 8px 4px;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 30px;
    height: 30px;
}

input[type=checkbox]:hover {
    outline-offset: 2px;
    outline: 3px auto var(--primary-light-blue-20);
}

input[type=checkbox]:focus {
    outline-offset: 1px;
    outline: 3px auto var(--primary-light-blue-70);
    background: var(--primary-mid-blue-100);
    border: 1px auto var(--primary-mid-blue-100); 
}

input[type=checkbox][disabled]:after, input[type=checkbox][disabled] {
    outline: 1px auto var(--primary-grey-scale-40); 
}


input[type=checkbox][disabled]:focus {
    outline-offset: unset;
    outline: 1px auto var(--primary-grey-scale-40); 
    background: white;
	border-radius: 2px;
    border: 1px solid var(--primary-grey-scale-40);
}


input[type=checkbox][disabled]:checked:after{
    background: var(--primary-grey-scale-40);
}
input[type=checkbox][disabled] + label {
    color: var(--primary-grey-scale-40); 
}

/* override weird character in read only */
.text-muted {
    display:none;
    visibility: hidden;
}

/*override grid dialog chjeckbox size */
.modal-body > .entity-grid span[role=checkbox] {
	width: 22px;
	height: 22px;
}




input[type="radio"] {
    opacity: 0;
    position: fixed; 
    width: 0;
}

span:has(input[type=radio]:focus) {
    outline-offset: 0px;
    outline: 1px auto var(--primary-light-blue-70);
}

 input[type="radio"] + label:first-of-type {
	 border-radius:4px 0px 0px 4px;
 }
 input[type="radio"] + label:last-of-type {
    border-right:2px solid var(--radio-background-color-selected);
	border-radius:0px 4px 4px 0px;
 }

 input[type="radio"] + label {
	display: inline-block; 
	background-color: var(--radio-background-color);
	padding: 10px;
	border: 2px solid var(--radio-background-color-selected);
    border-right:0px;
	border-radius:0px;
	min-width: 115px;
	text-align: center; 
    justify-content: center;
    align-items: center;
}
 input[type="radio"] + label:hover {
	background-color: var(--radio-background-color-hover);
	color: var(--radio-color-hover);
}

/* this needs fixing, its not working */
  input[type="radio"]:focus {
    border:1px solid var(--primary-light-blue-70);
    border-radius: 4px;
}

  


input[type="radio"]:checked + label {
    background-color: var(--radio-background-color-selected);
	color: var(--radio-color-selected);
}
input[type="radio"][disabled] + label, input + label.readonly {
    display:none;
    padding:0px;
}
input[type="radio"][disabled]:checked + label, input:checked + label.readonly {
    background-color: unset;
	color: unset;
    border:unset;
    display:inline;

}



/*used to set backbround colour of inputs to grey */
.crmEntityFormView .form-control.readonly, 
.crmEntityFormView .form-control[readonly][disabled],  
div.control:has(input[type="radio"][disabled]:checked + label),
div.control:has(.readonly:checked + label)
{
    background-color: var(--radio-background-color-disabled);
	color: var(--radio-color-disabled);
    padding-top: 5px;
    height: 36px;
}

#WebFormPanel {
    background-color: transparent;
}


/*removes grey border from under legend on forms */
.crmEntityFormView .section-title.show-bar {
    border-bottom-width: 0px;
    padding-bottom: 0px;
}
/*removes grey border from top of action button bar at bottom of screen (back and next) */
.crmEntityFormView .actions {
    border-top: 0px;
}

#EntityFormView fieldset:has(legend) > table:first-of-type, [id ^=EntityFormControl_] fieldset:has(legend) > table:first-of-type {
    margin-top:60px;
}
#EntityFormView fieldset > table:first-of-type, [id ^=EntityFormControl_] fieldset > table:first-of-type {
    margin-top:20px;
    padding:0px;
}


/* call out error for validation box override */

#ValidationSummaryEntityFormView  {
    border-radius: 4px;
    border-top: 3px solid var(--secondary-berry);
    border-right: 3px solid var(--secondary-berry);
    border-bottom: 3px solid var(--secondary-berry);
    border-left: 6px solid var(--secondary-berry);
    background: var(--primary-grey-scale-white);
    padding: 24px 32px 32px 20px !important;
}


#ValidationSummaryEntityFormView .validation-header {
    color: var(--secondary-berry);
    text-transform: none;
    margin-bottom:0px;
}

#ValidationSummaryEntityFormView .validation-description {
    margin-bottom:20px;
}
#ValidationSummaryEntityFormView .callout-close  {
    color: inherit!important;
}
#ValidationSummaryEntityFormView .validation-header span {
	color: var(--secondary-berry);
	
}

#ValidationSummaryEntityFormView .validation-header span:before {
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    padding:5px;
    content: "\f071";
    display: inline-block;
    vertical-align: middle; 


}
/* Medicare card tool tip */
.medicare {outline:none; width:150px;  }
.medicare strong {line-height:30px;}
.medicare:hover {text-decoration:none;} 
.medicare span {
    z-index:10;
    display:none; 
    padding:14px 20px;
    margin-top:40px; 
    margin-left:0px;
    width: 275px;
    height: 146px;
    line-height:16px;
}
.medicare:hover span{
    display:inline; 
    position:absolute; 
  
    border-radius: 4px;
    border: 3px solid var(--primary-light-blue-100);
    background:#fff url(/medicare-card-tooltip);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

    
/*CSS3 extras*/
.medicare span
{
    border-radius:2px;        
    box-shadow: 0px 0px 8px 4px #666;
    /*opacity: 0.8;*/
}

.margin-bottom-1su{
    margin-bottom: var(--space-unit);
}

.margin-top-2su{
    margin-top: calc(var(--space-unit) * 2);
}

.margin-bottom-2su{
    margin-bottom: calc(var(--space-unit) * 2);
}

.margin-top-4su{
    margin-top: calc(var(--space-unit) * 4);
}

.margin-bottom-4su{
    margin-bottom: calc(var(--space-unit) * 4);
}

.display-block {
    display: block;
}

@media screen and (max-width: 993px) {
    .section-landing h1 {
        font-size: revert; 
    }
}

@media (max-width: 768px) {
    .col-xs-12.text-right {
        text-align: left;
    } 
}


h1,
h2,
h4 {
    text-transform: lowercase;
}

h1::first-letter, 
h2::first-letter,
h4::first-letter {
    text-transform: uppercase;
}

h1.h1--text-transform-none, 
h2.h2--text-transform-none,
h3.h3--text-transform-none,
h4.h4--text-transform-none,
h5.h5--text-transform-none,
h6.h6--text-transform-none {
    text-transform: none;
}

h1.h1--margin-0, 
h2.h2--margin-0,
h3.h3--margin-0,
h4.h4--margin-0,
h5.h5--margin-0,
h6.h6--margin-0 {
    margin: 0px
}

h1.h1--margin-top-0, 
h2.h2--margin-top-0,
h3.h3--margin-top-0,
h4.h4--margin-top-0,
h5.h5--margin-top-0,
h6.h6--margin-top-0 {
    margin-top: 0px
}

h1, h2 {
    margin-top: calc(var(--space-unit) * 2);
    margin-bottom: var(--space-unit);
}

h3, h4 {
    margin-top: var(--space-unit);
    margin-bottom: calc(var(--space-unit) / 2);
}

h4.h4--color-blue {
    color: var(--h1-color);
}

h2.h2--color-black,
h3.h3--color-black,
h5.h5--color-black {
    color: var(--primary-grey-scale-black);
}

/*Hint text*/

.description.below {
    color: var(--callout-info-text-color);
    font-size: 2.0rem;
    font-weight: 400;
    font-style: normal;
    line-height: 24px; 
    padding-top: 15px;
    padding-bottom: 15px;
    display: inline-block;

}
.description.below:before {
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  padding-right:5px;
  content: "\f05a";
  display: inline-block;
  vertical-align: middle;  
}


.description.below.helptext {
    font-size: 1.6rem;
    font-weight: 400;
}


.helptext.below {
    color: var(primary-grey-scale-100);
    font-size: 1.6rem;
    font-weight: 400;
    font-style: normal;
    line-height: 24px; 
    padding-top: 15px;
    padding-bottom: 15px;
    display: inline-block;

}


/* warning */
.warning.below {
    color: var(--primary-grey-scale-black);
    font-size: 2.0rem;
    font-weight: 400;
    font-style: normal;
    line-height: 24px; 
    padding-top: 15px;
    padding-bottom: 15px;
    display: inline-block;

}
.warning.below:before {
  color: var(--callout-warning-text-color);
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  padding-right:5px;
  content: "\f06a";
  display: inline-block;
  vertical-align: middle;  
}

.warning.below.helptext {
    font-size: 1.6rem;
    font-weight: 400;
}

/*error text*/
.error.below {
    color: var(--callout-error-text-color);
    font-size: 2.0rem;
    font-weight: 400;
    font-style: normal;
    line-height: 24px; 
    padding-top: 15px;
    padding-bottom: 15px;
    display: inline-block;

}
.error.below:before {
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  padding-right:5px;
  content: "\f071";
  display: inline-block;
  vertical-align: middle;  
}

/*required fields*/
.crmEntityFormView .cell div.info.required label:after {
    content: '';
}


.crmEntityFormView .cell div.info label:after, 
.optionalfield:after,
.crmEntityFormView .cell div.info:not(.required) + div.control input[type=checkbox] + label.field-label:after {
    content: ' (optional)';
    color: var(--primary-grey-scale-100, #455560);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

/*override optional flag for helper fields - address lookups (addressify) */
label#address1_name_label:after, label#address2_name_label:after, label#address3_name_label:after
{
      content: '';
}

/*warning */
.callout-warning {
    background: var(--primary-grey-scale-white);
    padding: 24px 32px 32px 20px !important;


    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    color: var(--primary-grey-scale-black);

}

div.callout-warning h6 i {
    color: var(--secondary-alert-warning);
    margin-right: 5px;
}

div.callout-warning h6 {
    color: var(--h6-color-warning);
    font-weight: var(--h-font-weight);
    font-size: 2.0rem; 
    line-height: 24px;
}

.callout-warning {
    border-radius: 4px;
    border-top: 3px solid var(--secondary-alert-warning);
    border-right: 3px solid var(--secondary-alert-warning);
    border-bottom: 3px solid var(--secondary-alert-warning);
    border-left: 6px solid var(--secondary-alert-warning);
}

.alert.alert-block.alert-warning {
    color: var(--primary-grey-scale-black);

    font-size: 2.0rem;
    font-weight: 700;
    font-style: normal;
    line-height: 24px; 
    padding-top: 15px;
    padding-bottom: 15px;
    display: inline-block;
    border-radius: 4px;
    border-top: 3px solid var(--secondary-alert-warning, #FDB913);
    border-right: 3px solid var(--secondary-alert-warning, #FDB913);
    border-bottom: 3px solid var(--secondary-alert-warning, #FDB913);
    border-left: 6px solid var(--secondary-alert-warning, #FDB913);
    width:100%;
    background-color: unset;

}
.alert.alert-block.alert-warning:before {
  color: var(--callout-warning-text-color);
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  padding-right:5px;
  content: "\f06a";
  display: inline-block;
  vertical-align: middle;  
}

/*sucsess notification alert alert-success success alert-dismissible*/
.alert.alert-block.alert-success, .notification.alert.alert-success.success.alert-dismissible {
    color: var(--primary-grey-scale-black);

    font-size: 2.0rem;
    font-weight: 700;
    font-style: normal;
    line-height: 24px; 
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 4px;
    border-top: 3px solid var(--secondary-alert-success);
    border-right: 3px solid var(--secondary-alert-success);
    border-bottom: 3px solid var(--secondary-alert-success);
    border-left: 6px solid var(--secondary-alert-success);
    width:70%;
    background-color: white;
    margin:auto;

}
.alert.alert-block.alert-success:before, .notification.alert.alert-success.success.alert-dismissible:before {
  color: var(--callout-success-text-color);
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  padding-right:5px;
  content: "\f058";
  display: inline-block;
  vertical-align: middle;  
}

/*Fix for misaligned checkboxes text*/
.crmEntityFormView table.section > tbody > tr > td.clearfix.cell.checkbox-cell {
    padding-left: 5px;
    padding-bottom: 15px;
    position: relative;
}

/*Fix for long check box*/
div.info:has(#epworth_emfoptout_label) {
    padding-top: 0px;
    padding-left: 20px;

}

/*Fix for no padding on checkboxes */
html[dir=ltr] .crmEntityFormView .cell.checkbox-cell div.info {
    padding-top: 6px;
    padding-left: 30px;
}
html[dir=ltr] .crmEntityFormView .cell.checkbox-cell:first-child {
    padding: 20px 10px 0 0;
}

.crmEntityFormView td.cell.checkbox-cell > div:has(span.checkbox) {
    left: 20px;
    position: relative;
}
/*End fix for misaligned checkboxes text*/


/* forms */

.field__label {
    color: var(--label-color);
    font-weight: var(--font-weight-bold);
    font-size: 2.0rem;
    line-height: 24px;
}

.field__value {
    color: var(--value-color);
    font-weight: var(--font-weight-normal);
    font-size: 2.0rem;
    line-height: 24px;
}



footer{
    margin-top: auto;
}


footer .footer-bottom {
    width: 100%; 
    min-height: 36px; 
    background-color: var(--footer-color);
    font-size: 1.6rem;
    line-height: 20px;
    font-weight: 400;
    display: flex; 
    align-items: center; 
    padding: 10px 0;
    color: #fff;
}

footer .footer-bottom a {
    color: #fff;
}

/* Grids */
.table>thead>tr>th {
    vertical-align: bottom;
    border-bottom: 3px solid var(--primary-light-blue-100);
  
}


div.actions .col-sm-6.clearfix {
    text-align: right;
    width: 100%;
}

/*Copy style from HC21*/
div.ifccontainer table {
    border: 0px solid black;
    padding: 5px;
    width: 800px;
    border-spacing: 0px;
}

div.ifccontainer th {
    background-color: #DCDCDC;
    font-weight: bold;
    height: 30px;
    padding-left: 5px;
    padding-right: 5px;
}

div.ifccontainer td {
    height: 20px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: #FFFFFF;
}

/* Required to hide all h2 tab-titles from all forms */
h2.tab-title {
	display: none;
}

.padding-left-1_5rem { 
	padding-left: 1.5rem;
}

.margin-0 {
	margin: 0;
}

.all--text-left, 
.all--text-left * {
	text-align: left;
}

.ul--list-style-position-inside {
	padding-left: 0;
    list-style-position: inside;
}

.ul--list-style-position-inside > div {
	margin-top: 15px;
    margin-bottom: 15px;
}

.ul--list-style-position-inside > li {
	padding-left: 40px;
	text-indent: -28px;
}

#ui-datepicker-div {
    display: none !important;
}

.field-label.text-transform-none {
	text-transform: none;
}

select[readonly],
select.readonly {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
}


/* ED progress bar */

.progress-indicator {
  display: flex;
  flex-direction: row;
  padding: 0;
  list-style: none;
}

.progress-step {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  flex: auto;
  position: relative;
}

.progress-step .step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 4px solid transparent;
  background: transparent;
  border-radius: 50%;
  padding: 20px;
  height: 2.0em;
  width: 2.0em;
  z-index: 1;
  color: var(--secondary-green);
  transition: transform 0.5s ease 0.5s, background 0.5s ease, border-color 0.5s ease;
}

.progress-step.incomplete .step-number {
  background: #eeeeee;
  border-color: var(--primary-grey-scale-70);
  color: var(--primary-grey-scale-black);
}

.progress-step.active .step-number {
  background: var(--primary-grey-scale-white);
  border-color: var(--primary-light-blue-100);
  color: var(--primary-light-blue-100);
 transform: scale(1.2);
}

.progress-step.complete .step-number {
  background: var(--secondary-green);
  color: var(--primary-grey-scale-white);
}

.progress-step .step-name {
  margin: 5px 0 0;
  font-size: smaller;
  padding: 7px;
  color: var(--primary-grey-scale-70);
  
}

.progress-step.active .step-name {
  color: var(--primary-grey-scale-black);
}

.progress-step.complete .step-name {
  color: var(--primary-grey-scale-70);
}
.progress-step:not(:last-child):before,
.progress-step:not(:last-child):after {
  content: '';
  position: absolute;
  height: 2px;
  left: 50%;
  top: 25px;
}

.progress-step:before {
  width: 100%;
  background: var(--primary-grey-scale-40);
}


/* This is to remove empty TRs generated at the top of forms */
fieldset>table>tbody>tr>td:empty, fieldset>table>tbody>tr>td:empty + td { display: none; }

.input-loading {    
    background-color: #ffffff;
    background-image: url("https://media.tenor.com/On7kvXhzml4AAAAi/loading-gif.gif");
    background-size: 25px 25px;
    background-position:right center;
    background-repeat: no-repeat;
}

.cardlist__item-box {
    display: flex;
    box-shadow: var(--box-shadow-cardlist);
    padding-bottom: 10px;
    padding-top: 10px;
    margin-bottom: 10px;
    margin-top: 5px;
}

.cardlist__item-managing-box {
    flex-direction: column;
    padding-bottom: 0;
    border-top: 3px solid var(--primary-light-blue-100);
    border-right: 3px solid var(--primary-light-blue-100);
    border-bottom: 3px solid var(--primary-light-blue-100);
    border-left: 3px solid var(--primary-light-blue-100);
}

.cardlist__item-viewing-box-confirmed {
    border-radius: 4px;
    border-top: 3px solid rgba(var(--secondary-alert-success-rgb), 0.5);
    border-right: 3px solid rgba(var(--secondary-alert-success-rgb), 0.5);
    border-bottom: 3px solid rgba(var(--secondary-alert-success-rgb), 0.5);
    border-left: 3px solid rgba(var(--secondary-alert-success-rgb), 0.5);
}

.cardlist__item-viewing-box-unconfirmed {
    border-radius: 4px;
    border-top: 3px solid rgba(var(--secondary-alert-warning-rgb), 0.5);
    border-right: 3px solid rgba(var(--secondary-alert-warning-rgb), 0.5);
    border-bottom: 3px solid rgba(var(--secondary-alert-warning-rgb), 0.5);
    border-left: 3px solid rgba(var(--secondary-alert-warning-rgb), 0.5);
}

.cardlist__item-column {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 110px;
    text-overflow: ellipsis;
}

.cardlist__item-column-details {
    margin-right: 20px;
    overflow-wrap: break-word;
}

.cardlist__item-column--align-center {
    align-items: center;
}

.cardlist__item-column-group {
    display: flex;
    flex-direction: row;
}

.cardlist__item-column.cardlist__item-logo-column {
    width: 70px;
    min-width: 70px;
}

.btn--primary.btn--cardlist-managing {
    background-color: transparent;
	color: var(--btn-color);
	float: right;
	border: 3px solid transparent;
	border-radius: 4px;

    order: 3;
}

.btn--secondary.btn--cardlist-managing {
    background-color: transparent;
	color: var(--btn-color);
	float: right;
	border: 3px solid transparent;
	border-radius: 4px;

    order: 2;
}

.btn--cardlist-managing-remove.btn--cardlist-managing {
	background-color: transparent;
	color: var(--secondary-berry);
	float: right;
	border: 3px solid transparent;
	border-radius: 4px;
    
    order: 1;
    position: absolute;
    left: 50px;
}

.btn--primary.btn--cardlist-viewing {
    background-color: var(--btn-color);
	color: white;
	float: right;
	border: 3px solid var(--btn-color);
	border-radius: 4px;
    min-width: 120px;
}

.btn--secondary.btn--cardlist-viewing {
    background-color: white;
	color: var(--btn-color);
	border: 3px solid var(--btn-color);
	float: right;
	margin-right: 0.9rem;
	transition-property: border, color;
	transition-duration: 150ms;
	border-radius: 4px;
    min-width: 120px;
}

.btn--secondary.btn--cardlist-viewing:disabled {
	background-color: transparent;
	color: var(--btn-tertiary-disabled-color);
}

.cardlist__item-managing-box-actions {
    display: flex;
    background: var(--primary-grey-scale-10);
    justify-content: right;
}

.btn--secondary.btn--cardlist-viewing {
    margin-right: 0;
}

.btn--primary.btn--cardlist-viewing {
    margin-left: 0.9rem;
}

/*Mobile*/
@media (min-width: 0px) and (max-width: 767px) {
    .btn--primary.btn--cardlist-viewing {
        margin-left: 0;
        width: 100%;
    }
    
    .btn--secondary.btn--cardlist-viewing {
        margin-right: 0;
        width: 100%;
        margin-top: 10px;
    }

    .btn--cardlist-managing-remove.btn--cardlist-managing {
        left: 30px;
    }

    .cardlist__item-column-group-buttons {
        padding: 10px;
    }
}

.btn--cardlist-add {
    width: 100%; 
    margin-top: 10px; 
    margin-bottom: 10px;

}


/*Type ahead control checkboxes*/
/*.ui-menu-divider.ui-widget-content:has(.dropdown-button ) {
	padding:12px 24px 12px 24px;
    display:flex;
    gap:8px;
}*/

.ui-menu, .autocomplete-dropdown {
    min-height: 33px;
    overflow-x: auto;
    overflow-y: auto;
    border:1px solid var(--primary-mid-blue-30);
    box-shadow: 2px 38px 29px 23px rgba(173,173,173,0.6);
    -webkit-box-shadow: 2px 38px 29px 23px rgba(173,173,173,0.6);
    -moz-box-shadow: 2px 38px 29px 23px rgba(173,173,173,0.6);
}



tr:has(.autocomplete-dropdown) > td.clearfix.cell.lookup.form-control-cell {
    margin-bottom: initial;
    padding-bottom: initial;
}

.ui-menu-divider.ui-widget-content {
    border: initial;
}

.ui-widget-content a {
    color:revert;
    border: 5px solid var(--primary-grey-scale-white);
}
.ui-menu .ui-menu-item a.ui-state-active:has(.dropdown-button-container) {
        outline: unset;
        border: 5px solid var(--primary-grey-scale-white);
       
        color:revert;
        margin:revert;
        
     
}
.ui-menu .ui-menu-item  a.ui-state-active:has(.autocomplete-primarytext) {
        outline: unset;
        border: 5px solid var(--primary-light-blue-10);
       
        color:revert;
        margin:revert;
        
     
}



.ui-widget-content a:has(.autocomplete-primarytext):focus, .ui-widget-content a:has(.autocomplete-primarytext):hover {
        outline: unset;
        background: var(--primary-light-blue-10);
        border: 5px solid var(--primary-light-blue-10);
        cursor:pointer;
  }

.ui-widget-content a:has(.dropdown-button-container):focus, .ui-widget-content a:has(.dropdown-button-container):hover {
        background:unset;
        border: 5px solid var(--primary-grey-scale-white);
        cursor:unset;
        outline:unset;
}

.ui-menu .ui-menu-item {
    padding:8px 24px 8px 24px !important;
    display:flex;
    gap:4px;
    align-items: center;
}
.ui-menu .ui-menu-item a {
    padding:revert !important;
    line-height:revert !important;
    width: 100%;
    margin:0px;

}

.ui-menu .ui-menu-item a:hover {

}
.dropdown-results-count  {
    z-index: 0;
}
/*Desktop */
@media (min-width: 768px)  {

    .ui-menu, .autocomplete-dropdown {
    max-height: 600px;

}

    .dropdown-button-filters-label {
        margin-left:-12px;
    }

    .dropdown-button-container  {
        display:flex;
        gap:8px;
        align-items: center;
        flex-direction: row;
    }

    .dropdown-results-count  {
        font-family: var(--font-family); 
        font-size:14px;
        line-height:18px;
        font-weight:400;
        color: var(--primary-mid-blue-100);
        margin-left: auto

    }

}
/*Mobile*/
@media (min-width: 0px) and (max-width: 767px) {

    .ui-menu, .autocomplete-dropdown {
    max-height: 330px;

    }

    .dropdown-button-filters-label {
    margin-left:0px;
}

    .dropdown-button-container  {
        display:flex;
        gap:8px;
        align-items: flex-start;
        flex-direction: column;
    }

    .dropdown-results-count  {
        font-family: var(--font-family); 
        font-size:14px;
        line-height:18px;
        font-weight:400;
        color: var(--primary-mid-blue-100);
        margin-left: unset;
    }

}

 .dropdown-button-filters-label {
    font-family: var(--font-family); 
    font-size:14px;
    line-height:18px;
    font-weight:400;
    margin-right:10px;
    color: var(--primary-grey-scale-70);
}

.dropdown-button-filters {
    display:flex;
    gap:8px;
    align-items: center;
}



button.dropdown-button, .dropdown-button  {
    font-family: var(--font-family); 
    font-size:14px;
    line-height:18px;
    font-weight:700;
    border-radius:75px;
    padding:8px 12px 9px 12px;

}
.dropdown-button-selected  {
    background-color: var(--primary-mid-blue-100);	
    border:  2px solid var(--primary-mid-blue-100);
    color: var(--primary-grey-scale-white);

}
.dropdown-button-notselected  {
    background-color: var(--primary-grey-scale-10);	
    border: 2px solid  var(--primary-grey-scale-20);
    color: var(--primary-grey-scale-20);

}

.dropdown-button-notselected:hover  {
    background-color: var(--primary-light-blue-30);	
    border: 2px solid  var(--primary-mid-blue-100);
    color: var(--primary-mid-blue-100);

}

.dropdown-button-selected:hover  {
    background-color: var(--primary-mid-blue-60);	
    border:  2px solid var(--primary-mid-blue-100);
    color: var(--primary-grey-scale-white);

}



.autocomplete-primarytext {
    font-family: var(--font-family); 
    font-size:16px;
    line-height:18px;
    font-weight:700;
    color:  var(--primary-grey-scale-black);
}
.autocomplete-subtext {
    font-family: var(--font-family); 
    font-size:14px;
    line-height:18px;
    font-weight:400;
    color: var(--primary-grey-scale-80);
}

.autocomplete-subtext-black {
    font-family: var(--font-family); 
    font-size:14px;
    line-height:18px;
    font-weight:400;
    color: var(--primary-grey-scale-black);
}

.autocomplete-noresults {
    font-family: var(--font-family); 
    font-size:14px;
    line-height:18px;
    font-weight:400;
    color: var(--primary-grey-scale-80);
}
.autocomplete-highlighttext {
    color: var(--primary-mid-blue-100);
}

.input-wrapper {
    position: relative
}
.input-wrapper:after {
    font-family: 'FontAwesome';
    content: '\f002';
    position: absolute;
    left: 6px;
    color: var(--primary-grey-scale-70);
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    top: 12px;
}

.input-wrapper > input,
.form-readonly .input-wrapper > input { 
    padding-left: 30px;
}

.crmEntityFormView label.declaration__question.cell {
	padding: 0 28px 0px;
	font-weight: 500;
    font-size: var(--label-size-smaller);
}

td:has(label.declaration__question) > div.validators {
    display: none;
}

.crmEntityFormView label.declaration__answer.cell {
	padding: 0 28px 10px;
	color: var(--primary-mid-blue-100);
}

.crmEntityFormView table.section>tbody>tr:has(.declaration__question) {
    display: table-row;
}

.crmEntityFormView table.section>tbody>tr>td:has(.declaration__question) {
    display: table-cell;
}

.crmEntityFormView table.section>tbody>tr>td:has(.declaration__answer) {
    display: table-cell;
	text-align: right;
}

.declaration__details {
    border: 1px solid var(--primary-grey-scale-20);
    margin: 10px 28px 20px 28px;
    padding: 10px;
}

.callout-prefilled {
    background: var(--primary-grey-scale-white);
    padding: 24px 32px 32px 20px !important;


    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    color: var(--primary-grey-scale-black);

}

div.callout-prefilled h6 i {
    color: var(--secondary-positive-pink);
    margin-right: 5px;
}

div.callout-prefilled h6 {
    color: var(--h6-color-warning);
    font-weight: var(--h-font-weight);
    font-size: 2.0rem; 
    line-height: 24px;
}

.callout-prefilled {
	border-radius: 4px;
    border-top: 3px solid var(--secondary-positive-pink);
    border-right: 3px solid var(--secondary-positive-pink);
    border-bottom: 3px solid var(--secondary-positive-pink);
    border-left: 6px solid var(--secondary-positive-pink);
}

.status__icon {
    color: white;
	padding: 15px;
	border-radius: 50%;
    height: 50px; 
    width: 50px;
}

.status__icon--success {
	background: var(--secondary-green);
}

.status__icon--pending {
	background: var(--primary-grey-scale-50);
}

.status__step {
    padding-right: 5px;
    padding-left: 5px;
}

.status__title { 
    font-size: 1.4rem; 
    font-weight: 700;
}
.status__title--success {
    color: var(--secondary-green);
}

.status__title--pending {
    color: var(--primary-grey-scale-50);
}

.status__line {
    border-radius: 6px; 
    width: 29px; 
    background: var(--primary-grey-scale-50); 
    height: 2px;
}

.status__container {
    padding-top: 50px; 
    padding-bottom: 25px;
    align-content: center; 
    display: flex; 
    flex-wrap: wrap; 
    flex-direction: column;
}

.status__container > div {
    display: flex;
}

.status__step:has(hr.status__line) {
    align-content: center;
}

.transfer__container {
    display: flex; 
    padding: 0px 0px 40px 0px
}

.transfer__arrows_container {
    align-content: center; 
    text-align: center;
}

.transfer__edit_container {
    background: white;
    display: flex; 
    flex-direction: row; 
    margin: 0px 0px 40px 0px;
    border: 6px solid var(--primary-light-blue-100);
}

.transfer__edit_account { 
    display: revert; 
    margin: 30px; 
    background-color: white; 
    border-radius: 4px;
}

.transfer__edit_detail {
    flex-direction: column; 
    display: flex; 
    align-items: flex-start; 
    margin-top: 5px;
}

.transfer__icon {
    font-size: 32px;
    color: var(--primary-mid-blue-100);
}

.btn--icon {
    padding: 3px 12px;
}

.transfer__name_container {
    display: flex;
}

/*Desktop */
@media (min-width: 962px)  {
    .transfer__container {
         flex-direction: row; 
    }

    .transfer__account {
        width: 45%;
    }

    .transfer__arrows_container {
        width: 10%;
        padding: 0px;
    }

    .transfer__arrows
    {
        rotate: 0deg;
    }

    .transfer__edit_container {
        flex-direction: row; 
    }

    .transfer__edit_account {
        width: 50%;
    }
}

/*Mobile*/
@media (min-width: 0px) and (max-width: 961px) {
    .transfer__container {
        flex-direction: column;
    }
    
    .transfer__account {
        width: 100%;
    }

    .transfer__arrows_container {
        width: 100%;
        padding: 30px 0px 10px 0px;
    }

    .transfer__arrows
    {
        rotate: 90deg;
    }

    .transfer__edit_container {
        flex-direction: column; 
    }

    .transfer__name_container {
        flex-direction: column;
        align-items: center;
    }

    .transfer__name_container > h3 {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .container > div {
        padding-right: 15px;
        padding-left: 15px;
    }
}

div#loading > h2 {
    text-align: center;
}

.spinner {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.8;
    background-color: #fff;
    z-index: 99;
}

a[id^=removeProfile]:hover {
    cursor:pointer;
}

.login__message {
    width: 100%; 
}

@media (min-width: 962px)  {
    .login__message {
        padding: 0px 13%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .login__message {
        padding: 0px 7%;
    }
}

@media (max-width: 767px)  {
    .login__message {
        padding: 0px;
    }
}



.portalinbox.menu-container {
  background: #f8f9fa;
  padding: 10px;
}

.portalinbox.menu-left {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 250px;
  z-index: 1000;
}

.portalinbox.menu-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.portalinbox.btn-toggle-menu {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1100;
}

.portalinbox.left-buttons {
  display: flex;
  gap: 8px;
}

.portalinbox.right-button {
  margin-left: auto;
}


/* Mobile-specific adjustments */
@media (max-width: 576px) {
.portalinbox.centered-button-group {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px; /* spacing between buttons */
  margin-bottom: 1rem;
}

  .portalinbox.centered-button-group button {
    font-size:14px;
    padding: 4px 10px;
    min-width: 100px;
  }


  .portalinbox.sidebar-menu.hidden {
    display: none;
  }


}
.portalinbox-row {
  border-radius: 6px;
  background-color: #fff;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.portalinbox-row:hover {
  background-color: #f3f3f3;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

.portalinbox-row > td {
  padding: 12px;
}

/* List view container */



table tbody tr td .portalinbox.row-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px;
 /* border: 1px solid #d1d1d1;
  border-radius: 6px;
  background-color: #fff;*/
  transition: background-color 0.2s ease;
  flex-wrap: nowrap;
}

/* Hover effect */
.portalinbox .row-content:hover {
  background-color: #f3f3f3;
}

/* Left section: action + subject */
.portalinbox .row-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-grow: 1;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
}

.portalinbox .action {
  flex-shrink: 0;
}

.portalinbox .cardview {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
padding-bottom: 15px;
}

/* Mobile-only wrapping */
@media (max-width: 768px) {

  table tbody tr td .portalinbox.row-content {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

.portalinbox .sandboxed-html {
  all: initial;
  display: block;
  width: 100%;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
}

/* Optional: re-enable specific styles */
.portalinbox .sandboxed-html * {
  all: unset;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

.auto-truncating {
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
}

.portalinbox {
    display: flex;
}

#sidebarMenu.portalinbox {
    flex-direction: column;
}

.portalinbox .list-group {
	display: flex;
}

#sidebarMenu.portalinbox .list-group .list-group-item {
	border: solid 1px var(--primary-mid-blue-100);
}

.portalinbox__body {
    padding: 0px;
    border-radius: 4px;
    border: solid 1px var(--primary-mid-blue-100);    
}

.portalinbox__root.row {
    margin-left: 0px;
    margin-right: 0px;
}

.portalinbox__actions .btn--secondary {
    margin-right: 0px;
}

.portalinbox__actions {
    padding: 8px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.portalinbox__actions .left-buttons {
    display: flex;
    gap: 12px;
}

.portalinbox__actions .left-buttons .btn--primary {
    order: 1;
}

.portalinbox__actions .left-buttons .btn--secondary {
    order: 2;
}

.portalinbox__content {
    border-top: solid 1px var(--primary-mid-blue-100);
}

.portalinbox__content > table {
    margin-bottom: 0px;
}

.portalinbox__content td:last-child {
    border-radius: 4px;
}

.portalinbox__body .portalinbox__content td {
    padding-top: 0px;
	padding-bottom: 0px;
    border-top: 1px solid var(--primary-grey-scale-40);
}

.portalinbox__body .portalinbox__content tr:first-child td{
    border-top: 0px;
}

.portalinbox__header {
    display: flex;
    border-bottom: solid 1px var(--primary-mid-blue-100);
    padding-top: 8px;
    padding-bottom: 8px;
    background: var(--primary-grey-scale-white);
}

.portalinbox__message_body {
    background: var(--primary-light-blue-10);
    padding-bottom: 16px;
}

.portalinbox__header_action {
    padding-left: 12px;
    padding-right: 12px;
}

.portalinbox__content tr.expanded > td {
    padding: 0px;
}

.portalinbox__header_lines > div:first-child {
    font-weight: 700;
}

.portalinbox__details {
    background: var(--primary-light-blue-10);
}

.portalinbox__content .subject {
    font-size: var(--label-size-smaller);
}

.portalinbox__content .time {
    white-space: nowrap;
    font-size: var(--label-size-smaller);
    color: #555;
    flex-shrink: 0;
    margin-left: auto;
}

.portalinbox__actions .btn {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

@media (min-width: 992px) {
    .page_section.section-landing .row.portalinbox__root {
        padding: 7px;
    }
    .portalinbox .list-group {
        flex-direction: column;
    }

    #sidebarMenu.portalinbox.sidebar-menu.col-md-3 {
        padding-left: 0px;
        padding-right: 16px;
    }

    #sidebarMenu.portalinbox .list-group .list-group-item:first-child {
	    border-top-left-radius: 4px;
        border-top-right-radius: 4px;
	}

	#sidebarMenu.portalinbox .list-group .list-group-item:last-child {
	    border-bottom-right-radius: 4px;
        border-bottom-left-radius: 4px;
	}
}

@media (max-width: 991px) {
    .portalinbox__header_action i {
        margin-top: 10px;
    }

    .portalinbox__actions .left-buttons {
        gap: 8px;
    }

    .portalinbox__actions, .portalinbox__actions > .left-buttons {
        gap: 5px;
        flex-direction: row;
    }

    .portalinbox__actions .btn {
        padding-right: 6px;
        padding-left: 6px;
        gap: 5px;
    }

    .page_section.section-landing .row.portalinbox__root {
        padding: 2px;
    }
    .portalinbox .list-group {
        flex-direction: row;
        align-items: stretch;
    }    

    .page_section.section-landing .row.portalinbox__root > .portalinbox__body {
        margin-top: 16px;
    }

    .portalinbox__actions > button {
        display: flex;
        gap: 8px;
        justify-content: center;
    }

    #sidebarMenu.portalinbox.sidebar-menu.col-md-3 {
        padding-left: 0px;
        padding-right: 0px;
    }

    #sidebarMenu.portalinbox .list-group .list-group-item {
        margin-bottom: 0px;
        padding: 6px;
        flex: 1;
        text-align: center;
        display: flex;
        gap: 4px;
        justify-content: center;
    }

    #sidebarMenu.portalinbox .list-group .list-group-item > span {
        margin-left: 1px;
        font-size: var(--label-size-xxs);
    }

    #sidebarMenu.portalinbox .list-group .list-group-item:first-child {
	    border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
	}

	#sidebarMenu.portalinbox .list-group .list-group-item:last-child {
	    border-top-right-radius: 4px;
        border-bottom-left-radius: revert;
	}
}

body.kiosk .navbar-nav,
body.kiosk div.page-heading [class*="dashboard"],
body.kiosk main [class*="dashboard__section"] {
	display: none;
}

body.kiosk > nav.navbar.navbar-default {
    position: sticky;
    top: 0;
    z-index: 100;
}

#modal-inactive > div > div > div.modal-footer {
    display: flex;
    justify-content: center;
}

#modal-inactive > div.modal-dialog {
	width: 610px;
}

body .navbar-nav.navbar-nav__kiosk {
    display:none;
}

body.kiosk .navbar-nav.navbar-nav__kiosk {
    display: block;
}

.kiosk__progress-button {
  position: relative; 
  overflow: hidden; 
}

.kiosk__progress-button__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 10%;
  width: 0%; 
  background-color: var(--primary-light-blue-100); 
  transition: width 0.5s ease-in-out; 
}

.kiosk-modal-title {
    margin: 0px;
    line-height: 1.42857143;
}


ul.kiosk__login {
	display: inline-block; 
	text-align: left; 
	max-width: 580px; 
	list-style-type: none;
    padding-left: 0;
}

ul.kiosk__login > li:nth-child(n+2):before {
    content: "\1f552\00a0";
}

ul.kiosk__login > li:before, ul.kiosk__login > li:nth-child(n+3):before {
	content: "\00a0\00a0\2022\00a0\00a0\00a0";
}

ul.kiosk__login > li {
    margin-bottom: 10px;
	display:flex;
}

@media (min-width: 768px) {
	#loginbutton h3 {
		font-size: revert;
	}
}