@layer main, section, dialog;
@layer main, section, dialog;

:root {
    --lcol: 190px;
    --light: rgb(224, 236, 246);
    --lgrey: rgb(245, 250, 255);
    --grey: rgb(200, 210, 225);
    --dgrey: rgb(178, 182, 194);
    --brd: rgba(195,205,225);
	--shad: rgba(45,50,90,.15);
    --font: rgb(60, 74, 90);
    --label: rgba(60, 80, 90, .7);
    --green: rgb(100, 209, 184);
    --lgreen: rgba(100, 209, 184, .5);
    --dgreen: rgb(76, 176, 153);
    --blue: rgb(99, 172, 224);
    --lblue: rgb(229, 248, 255);
    --lblue: rgb(229, 242, 255);
    --dblue: rgb(21, 48, 90);
    --red: rgb(247, 116, 116);
    --lred: rgb(255, 143, 135);
    --yellow: rgb(252, 238, 174);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-tap-highlight-color: transparent;
    font-size: calc(1em * .625);
    line-height: 1;
    color: var(--font);
    -ms-high-contrast-adjust: none;
    -webkit-text-size-adjust: 100%;
}

body, form {
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100svh;
    overflow: hidden;
    font-size: 1.1rem;
    line-height: 1.2;
    font-family: roboto, Helvetica, Arial, sans-serif;
    font-weight: 400;
}

form {
    display: flex;
    flex-wrap: wrap;
    height: 100svh;
	background: var(--light);
	padding: 10px 10px 10px 0
}

main {
    display: flex;
    flex-direction: column;
    flex-grow: 2;
    width: calc(100vw - 20px);
	height: calc(100svh - 20px);
}

menu + main {
    border-radius: 6px;
	width: calc(100vw - var(--lcol) - 20px);
}

header {
    padding: 15px 40px 15px 20px;
    border-radius: 6px 6px 0 0;
	background: white;
	border: 1px solid var(--brd);
	border-bottom: none;
	box-shadow: 0 1px 2px 0 var(--shad);
	display: flex;
	align-items: flex-end;
	min-height: 58px;
}

 
	header.npb {
        padding-bottom: 5px;
    }

footer {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    min-height: 54px;
    z-index: 200;
	background: white;
	border-radius: 6px;
	margin-top: 10px;
	border: 1px solid var(--brd);
	box-shadow: 0 1px 2px 0 var(--shad);
}
footer.narrow {
	padding: 8px;
	justify-content: center;
	min-height: 32px;
}
footer.narrow.click {
	cursor: pointer;
	background: var(--light)
}
footer.narrow.click:hover {
	background: var(--blue);
	box-shadow: inset 0 1px 0 var(--blue);
}
footer.narrow.click svg {
	transform: rotate(-90deg);
	width: 20px;
	height: 20px;
}
footer.narrow.click .stroke {
	fill: none;stroke:var(--dgrey);stroke-miterlimit:10;stroke-width:5px;
}
footer.narrow.click:hover .stroke {
	stroke:white;
}
footer textarea {
	min-height: 28px;
	margin-right: 10px;
	padding: 5px;
	background: white;
}
@layer section {
    section {
		display: flex;
        flex-direction: column;
        flex-grow: 1;
        min-height: 42px;
        padding: 0 20px;
		border: 1px solid var(--brd);
		border-top: none;
		border-radius: 0 0 6px 6px;
		background: white;
		overflow: hidden;
		box-shadow: 0 1px 2px 0 var(--shad);
    }
	 section > *:not(table):first-child {
		padding-top: 20px !important;
	}
        section .box {
            border: 1px solid var(--brd);
            background: var(--lgrey);
            padding: 10px;
			border-radius: 3px;
        }
	
		section .box.inline {
			display: inline-block
		}
		section .box h4 {
			font-weight: 300 !important;
			color: var(--blue);
		}
}

@layer dialog {
    dialog {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100vw;
        height: 100svh;
        border: none;
        z-index: 2002;
        background: rgba(0,0,0,.15);
    }

        dialog > div {
            display: flex;
            position: relative;
            flex-direction: column;
            border-radius: 4px;
            padding: 30px;
            border: 2px solid var(--font);
            min-width: 320px;
            min-height: 260px;
            background: white;
        }

        dialog h1, dialog h2 {
            margin-bottom: 20px !important
        }

        dialog fieldset + .grow {
            margin-bottom: 20px;
        }

        dialog.show {
            display: flex;
        }

        dialog textarea {
            min-width: 260px;
        }

        dialog .tr {
            top: 10px;
            right: 10px;
        }
}
/* ========= Fonts ============ */
h1, h2, h3, h4 {
    margin: 0 0 8px;
    font-weight: 400;
}

h1 {
    font-size: 1.8rem;
	line-height: 1;
	margin: 0;
}

    h1 label {
        display: inline-block;
    }

h2 {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -.03rem;
}

h3 {
    font-size: 1.2rem;

	color: var(--blue);
}

h4 {
    font-weight: 900;
	margin-bottom: 4px;
}

hr {
    border: none;
    border-top: 1px solid var(--brd);
    margin: 10px 0 20px;
}
p {
    margin: 0 0 12px
}

.medium {
    font-size: 1.3rem;
}
.blue {color: var(--blue)}
/*.highlight {
    display: inline-block;
    padding: 3px 4px 3px 6px;
    background: var(--lgrey);
    border: 1px solid var(--brd)
}
*/
.highlight {
	background-color: var(--yellow);
	box-shadow: 0 0 0 5px var(--yellow), -4px 0 0 5px var(--yellow), 4px 0 0 5px var(--yellow), 0 0 0 6px var(--brd), -4px 0 0 6px var(--brd), 4px 0 0 6px var(--brd);
	border-radius: 1px;
}
.error {
    color: var(--red);
    font-weight: 900;
}
.error input, .error .select, .error select  {
	color: var(--font);
	box-shadow: 0 0 1px var(--red);
	border-color: var(--red) !important;
}
label {
    display: block;
    font-size: .86rem;
    color: var(--label)
}
label strong {
	color: var(--font)
}
    label.inline {
        display: inline-block;
        min-width: 14px;
        padding-right: 2px;
    }

.flex > label {
    line-height: 1.8rem;
    min-width: 27px;
}

a, .link {
    display: inline-block;
    text-decoration: underline;
    color: var(--dgreen);
}

    a:hover, .link:hover {
        color: var(--green);
        opacity: 1;
    }

address {
    font-style: normal;
	margin-bottom: 10px;
}
header address {
	padding-right: 32px;
	margin-bottom: 0;
}
/*
a:focus {
	outline: none;
	box-shadow: inset 0 -1px 0 var(--blue);
	border-bottom-color: var(--blue) !important;
}
.btn:focus, input:focus, select:focus {
	box-shadow: inset 0 0 0 1px var(--blue);
}
*/
.small {font-size: 1rem}
ul.list {
    margin: 0;
    padding: 0;
    list-style: none;
}

    ul.list li {
        display: block;
        padding: 0;
    }

        ul.list li > a, ul.list li > span {
            display: block;
            padding: 7px 10px 6px;
            margin: 0;
            text-decoration: none;
            color: var(--font);
            border-bottom: 1px solid var(--brd);
        }

        ul.list li > span {
            padding-left: 0;
        }

        ul.list li > a:hover {
            background: var(--blue);
            color: white;
            border-bottom: 1px solid transparent;
        }

        ul.list li:last-child {
            border-bottom: none;
        }

        ul.list li:nth-child(odd) {
            background: var(--lgrey)
        }
/* ========= MENUS ============ */
menu {
    margin: 0;
    padding: 0 10px 20px 16px;
    width: var(--lcol);
    background: var(--light);
}

    menu.top {
        display: flex;
        width: 100vw;
        height: 0;
        padding: 0 30px 0 50px;
        border-bottom: 1px solid var(--brd);
        overflow: hidden;
    }

        menu.top menuitem {
            padding: 20px 30px 20px 0;
        }

        menu.top.open {
            min-height: auto;
            height: auto;
            overflow: visible;
        }

.nav-icon {
    position: fixed;
    left: 16px;
    top: 16px;
    z-index: 2002;
    cursor: pointer;
}

    .nav-icon + menu .logo {
        margin-left: 26px;
    }

menu.top.open + .nav-icon + menu .logo {
    margin-left: 0;
}

.nav-icon .icon.open .hammy {
    display: none
}

.nav-icon .icon .x {
    display: none
}

.nav-icon .icon.open .x {
    display: block
}

menu.top.open + .nav-icon + menu.left .logo {
    margin-left: 0
}

menuitem {
    display: block;
    padding-bottom: 17px;
    font-size: 1.15rem;
    font-weight: 400;
}

    menuitem ul {
        font-size: 1.16rem;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    menuitem > ul {
        margin-left: 0;
    }

    menuitem ul li {
        position: relative;
        padding: 0;
    }

    menuitem > ul > li > select {
        padding-left: 10px;
        margin-left: 10px;
        width: calc(100% - 10px);
    }

    menuitem ul li:last-child {
        margin: 0;
    }

    menuitem > ul.tree ul li:after {
        content: '';
        position: absolute;
        left: -10px;
        top: -4px;
        height: 100%;
        border-left: 1px dashed rgb(190,190,190);
    }

    menuitem > ul.tree ul li:before {
        content: '';
        position: absolute;
        left: -10px;
        top: auto;
        margin-top: 14px;
        width: 7px;
        border-top: 1px dashed rgb(190,190,190);
    }

    menuitem > ul.tree ul li:last-child:after {
        height: 20px;
        top: -5px;
    }

    menuitem > ul.tree .btn {
        max-width: 120px;
        padding: 0 12px;
		justify-content: flex-start;
    }

    menuitem ul li > a, menuitem ul li > span, menuitem ul li > span > a {
        display: flex;
		align-items: center;
        color: var(--lfont);
        min-height: 28px;
        padding-top: 5px;
        padding-bottom: 5px;
        text-decoration: none;
    }

        menuitem ul li > a:focus {
            box-shadow: none;
          /*  text-decoration: underline;
            text-decoration-color: var(--blue);
            text-decoration-thickness: 2px; */
        }

        menuitem ul li > span > a {
            padding-top: 0;
            padding-bottom: 0;
        }
		menuitem ul li > span > label {
            font-size: 11px;
			margin-right: 4px;
        }

        menuitem ul li > a.column, menuitem ul li > span.column {
            align-items: flex-start;
            justify-content: center;
        }

    menuitem > ul > li > * {
        padding-left: 10px;
    }

    menuitem > ul ul {
        margin-left: 14px;
    }

    menuitem ul li a:hover {
        color: var(--blue);
    }

    menuitem ul li.selected > a.aspNetDisabled, menuitem ul li.selected > span, menuitem ul li.selected > span > a {
        color: var(--blue);
        cursor: default;
		
    }

    menuitem li.active {
        color: var(--font);
    }

    menuitem > ul > li.active:after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: calc(100%);
        width: 2px;
        background: var(--blue);
    }

    menuitem ul.tree .btn {
        margin-bottom: 4px;
    }

menu input:not([type=checkbox], menu input[type=file]), menu select, menu textarea {
    display: block;
    width: 100%;
}

.breadcrumb {
    margin-bottom: 10px;
}
/* ========= INPUTS =========== */
.fieldgroup {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 20px;
	margin: -14px -21px 10px -21px;
}
.fieldgroup > div {
	border-left: 1px solid var(--brd);
	border-bottom: 1px solid var(--brd);
	padding: 14px 20px;
	flex-grow: 1;
}
fieldset {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px;
    border: none;
    margin: 0 0 10px;
    padding: 0;
}
fieldset.lgrey {
	background: var(--lgrey);
	border: 1px solid var(--brd);
	padding: 12px;
	gap: 5px;
}


section.scroll > .form:first-child {padding-top: 14px}
section > article {
    background: white;
    margin: -1px -11px 10px;
    padding: 10px;
    border: 1px solid var(--brd);
    border-radius: 4px;
}

header fieldset {
    margin-bottom: 0;
}

fieldset input[type=text] + input[type='text'] {
    margin-left: 2px;
}
fieldset label + p {
	font-size: 1.3rem;
	margin-right: 10px;
	margin-bottom: 0;
}
fieldset input:not([type=checkbox],[type=file]) {
    width: 100%;
}

fieldset select {
    display: block;
    width: 100%;
}

fieldset .xsm {
    width: 40px;
}

fieldset .sm {
    width: 70px;
}

fieldset .med {
    width: 118px;
}

fieldset .group.med {
    width: 127px;
}

fieldset .lg {
    width: 203px;
}
fieldset .name {
    width: 160px;
}
fieldset .ssn {
    width: 100px;
}
fieldset .phone {
    width: 118px
}

fieldset .email {
    width: 210px;
}

fieldset .zip {
    width: 56px
}

fieldset .city {
    width: 129px;
}

fieldset .addy {
    width: 238px;
}

fieldset .apt {
    width: 80px;
}
fieldset .npi {
    width: 110px;
}
fieldset select.day {
    width: 40px;
}
fieldset select.year {
    width: 50px;
}
fieldset .date {
	width: 118px;
}
fieldset input[type=date] {
	font-family: roboto, Helvetica, Arial, sans-serif;
}
fieldset .time {
    width: 100px;
}
fieldset .large {
    width: 260px;
}
fieldset h2 {
    margin: 0 20px 0 0
}

fieldset .group {
    align-items: flex-end
}

input:not([type=checkbox],[type=file]), select, .select, textarea {
    display: inline-block;
    border: 1px solid var(--brd);
    margin: 0;
    padding: 0 8px;
    font-weight: 400;
    outline: 0 !important;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    min-height: 1em;
    height: 28px;
    background-color: var(--lgrey);
    border-radius: 2px;
    font-size: 1.1rem;
    appearance: none;
}
fieldset.lgrey > div > input:not([type=checkbox],fieldset.lgrey > div >[type=file]), fieldset.lgrey > div > select, fieldset.lgrey > div > .select, fieldset.lgrey > div > textarea {
	background-color: white;
	
}
textarea {
    font-size: 1.1rem;
    line-height: 1.2;
    font-family: roboto, Helvetica, Arial, sans-serif;
    font-weight: 400;
    padding: 8px;
    width: 100%;
    min-height: 60px;
	max-width: 600px;
}
 {}
menu input:not([type=checkbox],[type=file]), .box.lgrey input:not([type=checkbox],[type=file]), .box.lgrey select, .box.lgrey textarea {
    background: white;
}

input:not([type=checkbox],[type=file]):hover, select:hover, textarea:hover {
    background-color: white;
}

select, .select {
    -webkit-border-bottom-right-radius: 0;
    -moz-border-bottom-right-radius: 0;
    border-bottom-right-radius: 0;
    background-image: linear-gradient(315deg, var(--green) 50%, transparent 50%);
    background-position: calc(100% - 3px) calc(100% - 3px);
    background-size: 10px 10px;
    background-repeat: no-repeat;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 14px;
    min-width: 40px;
}

    select:hover, .select:hover {
        background-image: linear-gradient(315deg, var(--blue) 50%, transparent 50%);
    }
.select {line-height: 28px }
input[type=checkbox] {
    margin: 0 4px 0 0;
    vertical-align: top;
    border: 1px solid var(--brd);
	
}
input[type=checkbox] + label {
    display: inline-block;
	
}
input[type="checkbox"]:checked {
    border-radius: 3px;
}

    input[type="checkbox"]:checked:before {
        content: "✓";
        font-size: 1.1rem;
        font-weight: 900;
        display: block;
        color: white;
        text-align: center;
        background: var(--blue);
        border-color: var(--blue);
        width: 16px;
        height: 16px;
        margin-left: -2px;
        margin-top: -2px;
        border-radius: 3px;
    }
.btn {
    display: flex;
    align-items: center;
	justify-content: center;
    padding: 0 20px;
    height: 28px;
    border-radius: 2px;
    background: var(--lgrey);
    border: 1px solid var(--brd);
    color: var(--font);
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
	font-size: 11px;
}

    .btn.small {
        height: 22px;
		padding: 0 10px;
    }

    .btn.green {
        background: var(--green);
        border: 1px solid var(--green);
        color: white;
    }

    .btn:hover {
        background: var(--blue);
        border-color: var(--blue);
        color: white;
    }

    .btn.red {
        background: var(--lred);
        border: 1px solid var(--lred);
        color: white;
    }

        .btn.red:hover {
            background: var(--red);
            border: 1px solid var(--red);
        }

    .btn:is(:hover,:focus) {
        outline: none;
    }

    .btn.icon {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        padding: 6px;
        width: 28px;
    }

        .btn.icon.circle {
            border-radius: 16px;
            position: relative;
            z-index: 3;
        }

            .btn.icon.circle:hover {
                background: white;
                border-color: var(--brd);
            }

        .btn.icon svg {
            height: 100%;
            width: 100%;
        }

    .btn svg .fill {
        fill: var(--font);
        opacity: .6;
    }

    .btn.green svg .fill {
        fill: white;
        opacity: 1;
    }

    .btn:hover svg .fill {
        fill: white;
        opacity: 1;
    }

    .btn.icon.circle:hover svg .fill {
        fill: var(--blue);
    }

    .btn.icon.red svg .fill {
        fill: white;
    }

    .btn.icon.red:hover svg .fill {
        fill: white;
    }

    .btn.icon.clear {
        border: none;
        background: none;
        padding: 5px;
    }

        .btn.icon.clear.edit {
            border: none;
            background: none;
            height: 22px;
            width: 22px;
            position: relative;
            top: -4px;
        }
	.btn.icon.clear:hover {
       fill: var(--green)
    }

label .btn.icon.clear.edit {
    left: 2px;
    padding: 0;
    height: 13px;
    width: 13px;
}

.btn.icon.clear.edit svg .fill {
    fill: var(--green);
    opacity: 1;
}

.btn.icon.clear:hover svg .fill {
    fill: var(--font)
}

.link {
    margin-left: 4px;
    cursor: pointer;
}

input[type='text'] + .btn.icon {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
}

    input[type='text'] + .btn.icon:not(.green) {
        background: none;
        border: none;
    }

input[type='text']:hover + .btn.icon svg .fill {
    opacity: 1;
}

input[type='text']:hover + .btn.icon:not(.green) .fill, input[type='text'] + .btn.icon:not(.green):hover .fill {
    fill: var(--green);
}

.btn:not('.trigger'):hover svg .fill {
    opacity: 1;
    fill: var(--blue);
}
.group {
    flex-gap: 0;
}
.group > * {display: block; flex-grow: 1}
.group > .btn {display: flex;}
    .group select, .group input:not([type=checkbox],[type=file]) {
        border-left: none;
        border-radius: 0;
    }
    .group > *:first-child select, .group > *:first-child input:not([type=checkbox],[type=file]) {
        border-left: 1px solid var(--brd);
        border-radius: 2px 0 0 2px;
    }
.group > *:last-child select {
    border-radius: 0 2px 2px 0;
}

.group > .btn:first-child {
    border-radius: 2px 0 0 2px;
}

.group > .btn + .btn {
    border-radius: 0;
    border-left: none;
    border-left-color: var(--brd);
} 
.group > .btn.green + .btn.green {
    border-left: 1px solid var(--brd);
}

.group > .btn:last-child {
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}
.group.vert > .btn + .btn {
	border-left: 1px solid var(--brd);
	
}
.group.vert > .btn:first-child {
    border-radius: 2px 2px 0 0;
}
.group.vert > .btn:last-child {
	border-bottom: 1px solid var(--brd);
	border-top-right-radius: 0;
    border-bottom-left-radius: 2px;
}
.group.vert > .btn:not(:last-child) {
	margin-bottom: 0 !important;
	border-bottom: none;
}

fieldset .group > *:last-child .btn {
    border-radius: 0 2px 2px 0;
}
/* ============ THUMBS ================ */
.thumbs {
	display: flex;
	
}
.thumbs .thumb {
	display: flex;
    padding: 0;
    margin-right: 20px;
    position: relative;
    min-width: 70px;
	line-height: 1.1;
}
.thumb > a {
	display: block;
	width: 41px;
	height: 49px;
	margin-right: 3px;
	transition: transform ease .2s;
}
.thumb.pdf > a {
    background-image: url(../../../Assets/images/PDF-thumb.svg);
}
.thumb.img > a {
    background-image: url(../../../Assets/images/IMG-thumb.svg);
}
.thumb > a:after {
    content: "DOC";
    position: absolute;
	width: 26px;
    left: 8px;
    right: 0;
    top: 23px;
    font-size: 11px;
	font-weight: 900;
    color: var(--grey);
}
.thumb.pdf > a:after {
    content: "PDF";
    color: #fb736c;
}
.thumb em {
	display: block;
	font-size: .86rem;
	line-height: 1.2rem;
	opacity: .65;
}
.thumb > a:hover {
	transform: scale(1.1)
}
header + fieldset {
	padding: 0 20px 8px;
	background: white;
	margin: 0;
	box-shadow: 0 1px 2px 0 var(--shad);
	border-left: 1px solid var(--brd);
	border-right: 1px solid var(--brd);
	}
table {
	border-collapse: collapse;
	margin: 0 -20px;
	table-layout: fixed;
	min-width: 600px;
	margin-bottom: -1px;
}
thead {
	position: -webkit-sticky; 
	position: sticky; 
	top: 0px; 
	z-index: 100;
	background: white;
}
tfoot {
	position: -webkit-sticky; 
	position: sticky; 
	bottom: 0;
	z-index: 100;
	background: var(--font);
	color: white;
}
tbody tr {
	border-bottom: 1px solid var(--shad);
}
tbody tr:hover {
	cursor: pointer;
	background: var(--lblue) !important;
	box-shadow: inset 4px 0 0 var(--blue);
}
tbody tr:nth-child(even) {
	background: var(--lgrey)
}
thead th {
	position: relative;
	white-space: nowrap;
	vertical-align: bottom;
}
thead th:after {
	content: "";
	width: calc(100%);
	left: 0;
	right: 0;
	display: block;
	height: 2px;
	background-color: var(--font);
}
th {
	text-align: left;
	padding: 0 10px 0 0;
	-webkit-user-select: none;
	-ms-user-select: none; 
	user-select: none; 
	height: 14px;
}
th:last-child {
	padding-right: 0;
}
tbody td {
	height: 38px;
	padding: 6px 10px 6px 0;
}
td input[type='text']{
	width: 100%;
	background: white;
	height: 24px;
}
th:first-child, td:first-child {
	width: 20px;
	padding: 0;
}
tr.red td {
	background: red;
}
th.sort.asc:before, th.sort.desc:before {
	content: "";
	position: relative;
	display: inline-block;
	border: 5px solid transparent;
	margin-right: 3px;
}
th.sort {
	cursor: pointer;
	color: var(--blue);
}
th.sort.asc:before {
	border-top: 6px solid var(--green);
	top: 5px;
}
th.sort.desc:before {
	border-bottom: 6px solid var(--green);
	top: -1px;
}
.file.icon {
	display: flex;
	align-items: center;
	color: var(--font);
	text-decoration: none;
	position: relative;
}
.file.icon:before {
	content: "";
    display: inline-block;
    position: relative;
    min-width: 26px;
    height: 34px;
    border-radius: 3px;
    background: white;
    border: 1px solid rgba(0,0,0,.25);
    margin-right: 10px;
}

    .file.icon:after {
        content: "FILE";
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 8px;
        left: 4px;
        height: 14px;
        width: 26px;
        background: var(--dgrey);
        border-radius: 2px;
        color: white;
        font-weight: 800;
        font-size: .9rem;
    }
td .file.icon.pdf:before {
	content: "";
    display: inline-block;
    position: relative;
    min-width: 24px;
    height: 31px;
    border-radius: 3px;
    margin-right: 5px;
}
	td .file.icon.pdf:after {
		font-size: .8rem;
		width: 22px;
		height: 13px;
	}
td .file.icon.pdf:hover:before, td .file.icon.pdf:hover:after {
	box-shadow: 1px 1px 0 rgba(0,0,0,.1)
}
td .file.icon.pdf:hover:after {
	left: 5px;
}
.txt .file.icon:after {
    content: "TXT";
    background: rgb(87, 128, 143)
}

.pdf .file.icon:after, .file.icon.pdf:after {
    content: "PDF";
    background: rgb(237, 90, 90)
}

.jpg .file.icon:after {
    content: "JPG";
    background: rgb(82, 158, 135)
}

.jpeg .file.icon:after {
    content: "JPEG";
    background: rgb(82, 158, 135)
}

.bmp .file.icon:after {
    content: "BMP";
    background: rgb(82, 158, 135)
}

.tif .file.icon:after {
    content: "TIF";
    background: rgb(82, 158, 135)
}

.tiff .file.icon:after {
    content: "TIFF";
    background: rgb(82, 158, 135)
}

.png .file.icon:after {
    content: "PNG";
    background: rgb(82, 158, 135)
}

.xls .file.icon:after {
    content: "XLS";
    background: rgb(53, 122, 43)
}

.xls .file.icon:after {
    content: "XLSX";
    background: rgb(53, 122, 43)
}

.xlm .file.icon:after {
    content: "XLM";
    background: rgb(53, 122, 43)
}

.doc .file.icon:after {
    content: "DOC";
    background: rgb(49, 115, 135)
}

.docx .file.icon:after {
    content: "DOCX";
    background: rgb(49, 115, 135)
}
.notes {
	padding: 10px 20px 20px;
	margin: 20px -20px -20px;
	border-top: 1px solid var(--brd)
}
.notes .note {
	padding: 10px 10px 5px;
	margin-bottom: 4px;
	background: rgb(217, 250, 242);
	border: 1px solid var(--brd);
	border-radius: 6px;
	position: relative;
	z-index: 2;
}
.notes .note.from {
	background: rgb(225, 245, 252);
	background: var(--lgrey)
}
.notes .note:after, .notes .note:before {
	top: 8px;
	border: solid transparent;
	content: "";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	z-index: -1;
}
.notes .note:after {
	border-top-color: rgb(217, 250, 242);
	border-width: 8px;
	margin-top: -8px;
	z-index: 3;
	right: -7px;
}
.notes .note.from:after {
	border-top-color: rgb(225, 245, 252);
	border-top-color: var(--lgrey)
}
.notes .note:before {
	border-top-color: var(--brd);
	border-width: 9px;
	margin-top: -9px;
	right: -9px;
	z-index: 3;
}
.notes .note.from:after {
	right: auto;
	left: -7px
}
.notes .note.from:before {
	right: auto;
	left: -9px
}
.notes .note.to {
	margin-left: 30px;
}
.notes .note.from {
	margin-right: 30px;
}
.notes .note:first-child {
	padding-top: 0;
}
.notes .note p {
	margin-bottom: 8px;
}
.note label {
	margin-bottom: 2px;
}
/* ============= DROPS =========== */
.ddwn-wrap {
    display: inline-block;
    position: static;
	z-index: 2001;
}

    .ddwn-wrap.tr {
        position: absolute;
        right: 17px;
		top: 17px;
    }

.ddwn {
    display: none;
    position: absolute;
    margin: -2px 0 0;
    flex-direction: column;
    z-index: 2;
    padding: 10px;
    border-radius: 0 3px 3px 3px;
    background: white;
    box-shadow: 0 0 1px 1px rgba(0,0,0,.15);
    min-width: 160px;
    opacity: 0;
    font-size: 1.1rem;
}

    .ddwn hr {
        margin: 10px -10px 0
    }

    .ddwn.right {
        right: 0;
        border-radius: 3px 0 3px 3px;
    }

.ddwn-wrap.open .ddwn {
    display: flex;
    opacity: 1;
    transform: scale(1);
    animation: show .3s;
}

.ddwn-wrap.open .icon.trigger svg .fill {
    fill: var(--blue);
    opacity: 1;
}

.ddwn .sort {
    width: 100%;
    margin-bottom: 10px;
}

.circle + .ddwn {
    top: 16px;
    z-index: 1;
    text-align: center;
}

.ddwn hr {
    margin: 10px -10px 0
}

.ddwn ul.list {
    margin: 0 -10px -10px;
}

@keyframes show {
    0% {
        opacity: 0;
        transform: scale(.95);
    }
}

.ddwn ul.list {
    max-height: 208px;
}

.ddwn input[type='text'] + ul.list {
    border-top: 1px solid var(--brd)
}

.ddwn .tabs {
    min-width: 330px;
}
/* ============= Tooltips ============= */
.tooltip-wrap.icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--dark);
    color: white;
    height: 14px;
    width: 14px;
    border-radius: 9px;
}

.tooltip {
    display: none;
    position: absolute;
    left: -6px;
    top: -6px;
    min-width: 210px;
    max-width: 300px;
    border: 1px solid var(--brd);
    padding: 8px 12px 8px 26px;
    background: var(--lgrey);
    color: var(--font);
    cursor: default;
}

    .tooltip .icon {
        position: absolute;
        left: 5px;
        top: 5px;
    }

.tooltip-wrap:hover .tooltip {
    display: block;
}
/* ============ Tabs ================== */
.tabs {
    display: flex;
    flex-wrap: nowrap;
    margin: 0 0 10px;
    padding: 0;
    background: white;
    list-style: none;
}
header + .tabs {
 margin-bottom: 0;
    border-left: 1px solid var(--brd);
	border-right: 1px solid var(--brd);
	border-top: 1px solid var(--brd);
	box-shadow: 0 1px 2px 0 var(--shad)
}
.tabs + section > table {
 margin-top: 14px;
}
    .tabs > * {
        display: block;
        height: 34px;
        padding: 11px 20px 0;
        background: var(--lgrey);
        color: var(--lfont);
        flex-grow: 1;
        border-right: 1px solid var(--brd);
        border-bottom: 1px solid var(--brd);
        text-decoration: none;
    }

header .tabs {
    margin: 0 -15px -5px -20px;
    border-top: 1px solid var(--brd);
}

    header .tabs > * {
        border-bottom: 0;
    }

section > .tabs {
    margin: 0 -20px;
}

article .tabs > * {
    padding: 10px;
    height: 24px;
}

.block .tabs > * {
    padding-top: 5px;
}

.tabs > *:hover {
    background: var(--blue);
    color: white;
    border-bottom: 1px solid var(--blue);
}

.tabs > *:last-child {
    border-right: none;
}

.tabs > *.current {
    color: var(--font);
    background: white;
    border-bottom: none;
    cursor: default;
}

.tabs.grey > *.current {
    background: var(--grey);
}

.tabcontent {
    display: none
}

    .tabcontent.current {
        display: block;
    }

.block .tabs, .ddwn .tabs {
    margin: -10px -10px 10px -10px;
}

h3.tabs {
    border-bottom: 0;
}
/* ========= Misc ============= */
.flex {
    display: flex
}

    .flex.columns {
        flex-direction: column
    }

    .flex.top {
        align-items: flex-start
    }

    .flex.bottom {
        align-items: flex-end
    }

    .flex.center {
        align-items: center
    }
	.flex.middle {
        justify-content: center
    }
    .flex.columns.top {
        justify-content: flex-start;
    }

    .flex.end {
        align-items: flex-end;
        justify-content: flex-end;
    }

.wrap {
    flex-wrap: wrap
}

.gap {
    gap: 10px;
}
.gapsm {
    gap: 5px;
}
.gap20 {
	gap: 20px
}

.grow {
    flex-grow: 1
}
.nwrap {
	white-space: nowrap;
}
.scroll.y {
    overflow: overlay;
    overflow-x: hidden;
    scrollbar-width: thin;
	scrollbar-color: var(--green) transparent;
    scrollbar-width: normal;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-corner {
    background-color: transparent;
}

::-webkit-scrollbar-track {
    background: var(--lgrey);
    box-shadow: inset 1px 1px 0 var(--brd);
}

::-webkit-scrollbar-thumb {
    background: var(--grey);
}

.table::-webkit-scrollbar-thumb {
    background: var(--dgrey);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--green);
}

.rel {
    position: relative
}

.tr {
    position: absolute;
    top: 10px;
    right: 10px;
}

.logo {
    display: flex;
    align-items: center;
    height: 28px;
    padding-left: 35px;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--font) !important;
    background: url(../images/ADH-icon.png) no-repeat;
    background-size: auto 100%;
}
.logo a {
	text-decoration: none;
	color: var(--font);
}
.logo a:hover {
	color: var(--dgreen);
}
a.logo {
    text-decoration: none;
}

.npad {
    padding: 0 !important
}

.mr10 {
    margin-right: 10px
}

.mr20 {
    margin-right: 20px
}

.mb0 {
    margin-bottom: 0 !important
}
.mb0 {margin-bottom: 0}
.mb10 {
    margin-bottom: 10px
}
.mb20 {
    margin-bottom: 20px
}

.mt10 {
    margin-top: 10px !important
}
.mt20 {
    margin-top: 20px !important
}
.pt10 {
    padding-top: 10px !important
}
.pt20 {
    padding-top: 20px !important
}
.pl20 {
    padding-left: 20px !important
}
.nbrd {
    border: none !important
}
.nowrap {white-space: nowrap}
.brdt {border-top: 1px solid var(--brd)}
.brdb {border-bottom: 1px solid var(--brd)}
.hidden {
    display: none !important
}

.mobile {
    display: none
}
.mshow {display: none}

@media screen and (max-width: 1215px) {
	.scroll.x {
        overflow-x: auto;
    }

    .mnscroll {
        overflow: visible !important;
    }

    



    ::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }
	
}
@media screen and (max-width: 1098px) {
    .mobile {
        display: block !important;
    }

    .mhide {
        display: none;
    }
    .mblock {
        display: block;
    }

    .mgrow {
        flex-grow: 1;
    }
	.mshow {display: block !important}
    .flex.mobile, .mflex, .tabs.mobile {
        display: flex !important;
    }

    form {
        flex-direction: column;
        flex-wrap: nowrap;
    }
	header address {
        padding-right: 0
    }
	header.nbrd:not(.mnbrd) {
		border-bottom: 1px solid var(--brd) !important;
	}
    menu, menu + main {
        width: 100vw;
    }
	menu + main {
		height: calc(100svh - 53px)
	}

        menu.left {
            display: flex;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--brd);
            padding-right: 40px;
        }

    .btn.icon.circle {
        margin-top: 8px;
    }

    menu.left menuitem {
        padding: 0;
    }

    menu.top {
        background: var(--lgrey);
    }

  

    
	
}


@media screen and (max-width: 540px) {
	.fieldgroup.g20 fieldset {
		gap: 20px;
		margin: 0 0 20px;
		flex-wrap: nowrap
	}
	.fieldgroup.g10 fieldset {
		gap: 10px;
		margin: 0 0 10px;
		flex-wrap: nowrap
	}
	input:not([type=checkbox],[type=file]), select, textarea, .btn {
		padding: 0 12px;	
		height: 38px;
		font-size: 1.4rem;
	}
	.btn.icon {width: 38px;padding: 10px}
	input:not([type=checkbox],[type=file]), .btn {
		min-width: 100px;
	}
	.btn {justify-content: center}

	fieldset label {font-size: 1.1rem;}
	
	.mpgrow {
		flex-grow: 1;
	}
	.mpblock {display: block !important}
	fieldset select {
		min-width: 0;
	}
	
	fieldset input:not([type=checkbox],[type=file]).med, fieldset input:not([type=checkbox],[type=file]).lg, fieldset input:not([type=checkbox],[type=file]).email, fieldset input:not([type=checkbox],[type=file]).addy, fieldset input:not([type=checkbox],[type=file]).city {
		width: 100%;
	}
	fieldset input:not([type=checkbox],[type=file]).phone {
		width: 187px;
	}
	.group > div {
		flex-grow: 1;
	}
	.group > div select {
		width: 100%
	}
	menu.left > menuitem:first-child {
		
	}
	
	
}

.context-menu {
    display: none;
    position: absolute;
    margin-top: -15px;
    z-index: 3009;
    padding: 0;
    width: 150px;
    background-color: #fff;
    border: solid 1px var(--dgrey);
    box-shadow: 1px 1px 2px #cfcfcf;
    border-radius: 3px;
}

    .context-menu:after {
        right: 100%;
        top: 15px;
        border: solid transparent;
        content: "";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }

    .context-menu:after {
        border-color: rgba(255, 255, 255, 0);
        border-right-color: var(--dgrey);
        border-width: 7px;
        margin-top: -7px;
    }

.context-menu--active {
    display: block;
}

.context-menu_items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.context-menu_item {
    display: block;
    margin-bottom: 4px;
}

    .context-menu_item:last-child {
        margin-bottom: 0;
    }

.context-menu_link {
    display: block;
    border-bottom: 1px solid var(--lblue);
    padding: 8px 16px;
    color: var(--font);
    text-decoration: none;
    cursor: pointer;
}

    .context-menu_link:last-child {
        border-bottom: none;
    }

    .context-menu_link:hover {
        color: var(--blue);
    }

.pdf-viewer {
    padding: 0
}

    .pdf-viewer object {
        width: 100%;
        height: 100%;
        flex-grow: 1;
    }

.ztop {
    position: relative;
    z-index: 3000;
}
.loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20001;
  background: rgba(255,255,255,.4); 
}
.loader .filter {
  transform: scale(7)
}
.loader svg polyline {
      fill: none;
      stroke-width: .75;
      stroke-linecap: round;
      stroke-linejoin: round;
}
#back {stroke: transparent}
#front {
        stroke: rgba(59, 211, 171);
        stroke-dasharray: 12, 36; /*Dash 12 & Gap 36 */
        stroke-dashoffset: 48;
        animation: dash 1s linear infinite;
}
.loader .text {
	font-size: 1.6rem;
	color: var(--blue);
	opacity:.7; 
    filter:blur(4);	
    animation: flicker 1s infinite;
}
@keyframes flicker {
  55.5% {opacity: 1}
  to {opacity: .7}
}
@keyframes dash { 
  62.5% {opacity: 0}
  to {stroke-dashoffset: 0}
}