@layer main, section, fonts, dialog;

:root {
    --lcol: 190px;
    --light: rgb(232, 236, 246);
    --lgrey: rgb(240, 242, 250);
    --lgrey: rgb(245, 246, 252);
    --grey: rgb(196, 201, 206);
    --grey: rgb(200, 210, 225);
    --dgrey: rgb(178, 182, 194);
    --shad: rgba(0,5,20,.22);
    --brd: rgba(200,205,215);
    --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);
    --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;
}

main {
    display: flex;
    flex-direction: column;
    flex-grow: 2;
    height: 100svh;
    width: 100vw;
}

menu + main {
    width: calc(100vw - var(--lcol));
    border-left: 1px solid var(--brd);
}

header {
    padding: 15px 46px 15px 20px;
	min-height: 57px;
    border-bottom: 1px solid var(--brd);
	display: flex;
	align-items: flex-end;
	gap: 5px;
}


 
	header.npb {
        padding-bottom: 5px;
    }

footer {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    min-height: 54px;
    background: var(--lgrey);
    z-index: 200;
    box-shadow: inset 0 1px 0 var(--brd);
}
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, section > #upMain {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        min-height: 42px;
        padding: 0 20px;
    }

	section > div:last-child:not(.table) {
		
	}
	section > #upMain {
		padding: 0
	}
		section.table {padding: 0}

        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);
		}
		section + article {padding: 14px 20px; flex-grow: 1; display: flex; flex-direction: column; justify-content: flex-start; min-height: 142px; }
}

@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: 210px;
            background: white;
        }

        dialog h1, dialog h2 {
            margin-bottom: 20px !important;
			padding-right: 20px;
			margin-top: 0;
        }
		dialog h1 + h2 {
            font-weight: 300;
			margin-top: 0;
			letter-spacing: 0;
			font-size: 1.2rem;
        }
		dialog h1 + h2 strong {
            font-weight: 700;
			font-size: 1.3rem;
        }

        dialog fieldset + .grow {
            margin-bottom: 20px;
        }

        dialog.show {
            display: flex;
        }

        dialog textarea {
            min-width: 260px;
        }

        dialog .tr {
            top: 10px;
            right: 10px;
        }
		dialog#DivSaved {
			display: none;
			background: none;
		}
		dialog#DivSaved.open {
			display: flex;
		}
		dialog#DivSaved svg {
			height: 220px;
			width: 220px;
			opacity: 0;
			transition: opacity .3s;
		}
		dialog#DivSaved.saved svg {
			height: 220px;
			width: 220px;
			opacity: 1;
		}
}
@layer fonts {
	h1, h2, h3, h4 {
		margin: 0 0 8px;
		font-weight: 400;
	}

	h1 {
		font-size: 1.8rem;
		margin: 0;
		line-height: 1;
	}

		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;
	}
	p {
		margin: 0 0 12px
	}

	.medium {
		font-size: 1.3rem;
	}
	.blue {color: var(--blue)}
}
hr {
    border: none;
    border-top: 1px solid var(--brd);
    margin: 20px 0;
}

section hr {
    margin: 14px -20px 10px;
}

section .table + hr {
    margin-top: 0
}



.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: 12px 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: 11px;
    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: 5px;
        height: calc(100% - 5px);
        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;
	min-width: 700px;
}
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: 8px;
	margin-bottom: 0;
	gap: 5px;
}


section.scroll > *: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;
}
input:not([type=checkbox],[type=file]), select, .select, textarea, .inlit {
    display: inline-block;
    border: 1px solid var(--brd);
    margin: 0 !important;
    padding: 0 8px;
    font-weight: 400;
    outline: 0 !important;
    min-height: 1em;
    height: 28px;
    background-color: var(--lgrey);
    border-radius: 2px;
    font-size: 1.1rem;
    appearance: none;
}
fieldset input[type=text] + input[type='text'] {
    margin-left: 2px;
}

.table > fieldset {
    padding: 0 20px;
}
fieldset label + p {
	font-size: 1.3rem;
	margin-right: 10px;
	margin-bottom: 0;
}
fieldset input:not([type=checkbox],[type=file]) {
    width: 100%;
}

fieldset select {
    cursor: pointer;
}
fieldset > div 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 .state {
    width: 118px;
}
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
}
.inlit {
	display: flex;
	align-items: center;
	background: var(--lblue);
	border: none;
}
fieldset.lgrey input:not([type=checkbox],fieldset.lgrey [type=file]), fieldset.lgrey select, fieldset.lgrey .select, fieldset.lgrey 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 { display: flex; align-items: center}
.select.med {min-width: 118px;}
input[type=checkbox] {
    margin: 0 4px 0 0;
    vertical-align: top;
    border-color: var(--blue);
	background: var(--lgrey);
}
input[type=checkbox] + label {
    display: inline-block;
}
input[type="checkbox"]:checked {
    border-radius: 3px;
}
	input[type="checkbox"]:before {
        content: "";
        font-size: 1.1rem;
        font-weight: 900;
        display: flex;
		align-items: center;
		justify-content: center;
        color: white;
        background: white;
        border: 1px solid var(--shad);
        width: 16px;
        height: 16px;
		padding-bottom: 1px;
        margin-left: -2px;
        margin-top: -2px;
        border-radius: 3px;
    }
	input[type="checkbox"]:hover:before {
        
        border-color: var(--blue);
    }
    input[type="checkbox"]:checked:before {
        content: "✓";
        background: var(--blue);
        border-color: var(--blue);
    }
.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;
}

.rel 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 {
    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 > * {
        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)
}


.table {
    display: flex;
    flex-direction: column;
    min-width: 100%;
	min-height: 42px;
}
    .table.mini {
        min-width: 0
    }

    .table:not(.mini) + .table {
        margin-top: 16px !important;
    }

section .table {
    margin: 0 -20px 0 -20px;
}
.table.external {
	position: relative;
	margin: 0;
	border-radius: 5px;
	border: 2px solid var(--font);
}

section .box .table {
    margin: 0;
}

section .box .table-body {
    border-left: 1px solid var(--brd);
    border-right: 1px solid var(--brd);
}

    section .box .table-body .table-row > *:first-child {
        padding-left: 10px;
    }
.table > p {
	display: block;
	background: var(--font);
	color: white;
	margin: 0;
	padding: 6px 12px;
	font-size: 1.4rem;
}
.table.external > p:after {
	content: "PCM";
	position: absolute;
	right: 9px;
	top: 6px;
}
.table > p label {
	display: inline;
	color: white;
	margin-left: 10px;
	margin-right:3px;
	opacity: .7;
}
article .table {
    margin: 0 -10px -10px -10px;
}

section .table.mini {
    margin: 0;
}

.table-body {
    flex-grow: 1;
    height: auto;
    min-height: 42px;
}

.table-row {
    display: grid;
    min-width: 100%;
    text-transform: uppercase;
    position: relative;
    grid-template-columns: 20px;
    grid-auto-columns: minmax(40px, 1fr);
    grid-auto-flow: column;
    align-items: stretch;
    font-size: 1.02rem;
    line-height: 1.16;
    letter-spacing: -.02em;
    cursor: pointer;
}

.table-body .table-row:nth-child(even) > * {
    background: var(--lgrey);
}


    .table-body .table-row > * {
        display: flex;
        position: relative;
        align-items: center;
        min-height: 40px;
        padding: 4px 8px 4px 0;
        border-bottom: 1px solid rgba(0,0,0,.15);
        word-wrap: break-word;
       
        max-width: 100%;
        background: white;
    }
		.table-body .table-row > *.center {
		justify-content: center;
		}

        .table-body .table-row > *:first-child {
            padding-right: 2px;
        }

    .table-body .table-row:last-child {
        border-bottom: 1px solid var(--brd);
    }
	.table-row.total {
		position: sticky;
		bottom: 0;
	}
	.table-row.total > * {
		color: white;
		font-weight: 700;
		letter-spacing: .4px;
		min-height: 27px;
		font-size: 1.1rem;
		background: var(--font) !important;
	}
article .table:last-child .table-body .table-row:last-child {
    border-bottom: none;
    border-radius: 0 0 4px 4px;
}

    article .table:last-child .table-body .table-row:last-child > *:first-child {
        border-radius: 0 0 0 4px;
    }

    article .table:last-child .table-body .table-row:last-child > *:last-child {
        border-radius: 0 0 4px;
    }

.table-body .table-row:hover > *:first-child {
    box-shadow: inset 3px 0 0 var(--blue);
}

.table-body .table-row:not(.color):hover > * {
    background: var(--lblue);
}

.table-body .table-row:last-child > * {
    border-bottom: none;
}
.table-row.header {
		
		min-height: 21px;
}
.table-row.header.sticky {
	background: white;
	position: sticky;
	top: 0;
	z-index: 2000;
}
fieldset + .table .table-row.header.sticky {
	top: 37px;
}
.table-row.header > * {
    display: flex;
    position: relative;
    align-items: flex-end;
    max-width: 100%;
    height: 100%;
    padding: 3px 0;
    font-weight: 600;
	
}
.table-row.header > *.center {
    justify-content: center;
	padding-right: 10px;
}

    .table-row.header > *:after {
        content: '';
        position: absolute;
        height: 2px;
        width: calc(100% - 10px);
        background: var(--font);
        bottom: 0;
        left: 0;
    }

    .table-row.header > *.ngap:after {
        width: 100%;
    }

    .table-row.header > *:last-child {
        padding-right: 8px;
    }

        .table-row.header > *:first-child:after, .table-row.header > *:last-child:after {
            width: 100%;
        }

        .table-row.header > *:last-child:after {
            width: 100%;
        }

    .table-row.header > *:first-child:after, .table.checklist .table-row.header > *:nth-child(2):after {
        width: 100%;
    }

    .table-row.header > *:last-child:after {
        width: 100%;
    }

.table-row.header a.sort, .table-row.header .trigger {
    display: inline-block;
    position: relative;
    text-decoration: none;
    padding-right: 10px;
    color: inherit !important;
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer;
}

    .table-row.header a.sort:before, .table-row.header a.sort:after {
        content: "";
        display: inline-block;
        right: 0;
        margin-left: 3px;
        position: absolute;
        border: solid rgba(124,132,139,1);
        border-width: 0 2px 2px 0;
        padding: 2px;
    }

    .table-row.header a.sort:before {
        top: 0;
        transform: rotate(-135deg) scale(.8);
        -webkit-transform: rotate(-135deg) scale(.8);
    }

    .table-row.header a.sort:after {
        bottom: 1px;
        transform: rotate(45deg) scale(.8);
        -webkit-transform: rotate(45deg) scale(.8);
    }

    .table-row.header a.sort:hover:before, .table-row.header a.sort:hover:after {
        border-color: var(--green);
    }

    .table-row.header .trigger:after {
        content: "";
        display: inline-block;
        top: -2px;
        margin-left: 3px;
        position: relative;
        border: solid rgba(124,132,139,1);
        border-width: 0 2px 2px 0;
        padding: 2px;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
    }

    .table-row.header .trigger:hover:after, .table-row.header a.sort:hover:before, .table-row.header a.sort:hover:after {
        border-color: var(--green);
    }

.table-row > *.span0 {
    grid-column: span 1;
    justify-content: flex-start;
}

.table-row > *.span2 {
    grid-column: span 2;
    justify-content: flex-start;
}

.table-row > *.span3 {
    grid-column: span 3;
    justify-content: flex-start;
}

.table-row > *.span4 {
    grid-column: span 4;
    justify-content: flex-start;
}

.table-row > *.span5 {
    grid-column: span 5;
    justify-content: flex-start;
}

.table-row > *.span6 {
    grid-column: span 6;
    justify-content: flex-start;
}

.table-row > *.span7 {
    grid-column: span 7;
    justify-content: flex-start;
}

.table-row > *.span8 {
    grid-column: span 8;
    justify-content: flex-start;
}

.table-row > *.span9 {
    grid-column: span 9;
    justify-content: flex-start;
}

.table-row > *.span10 {
    grid-column: span 10;
    justify-content: flex-start;
}

.table .table-row > *:not([class*="span"]):last-child {
    justify-content: flex-end;
}

.table-body .table-row.red {
    border-color: rgba(201, 119, 115, .6);
}

    .table-body .table-row.red > div {
        background-color: rgba(251, 115, 108, .3);
    }

    .table-body .table-row.red:nth-child(odd) > div {
        background-color: rgba(251, 115, 108, .4);
    }

.table-body .table-row.orange {
    border-color: rgba(201, 160, 101, .7);
}

    .table-body .table-row.orange > div {
        background-color: rgba(255, 177, 94, .4);
    }

    .table-body .table-row.orange:nth-child(odd) > div {
        background-color: rgba(255, 177, 94, .3);
    }

.table-body .table-body .table-row.blue {
    border-color: rgba(99, 162, 214, .5);
}

.table-body .table-row.blue > div {
    background-color: rgba(99, 162, 214, .25);
}

.table-body .table-row.blue:nth-child(odd) > div {
    background-color: rgba(99, 162, 214, .3);
}
.table-body .table-body .table-row.green {
    border-color: rgba(99, 214, 114, .5);
}

.table-body .table-row.green > div {
    background-color: rgba(99, 214, 114, .25);
}

.table-body .table-row.green:nth-child(odd) > div {
    background-color: rgba(99, 214, 114, .3);
}
.table-body .table-row.yellow {
    border-color: rgba(204, 200, 118, .6);
}

    .table-body .table-row.yellow > div {
        background-color: rgba(255, 247, 94, .2);
    }

    .table-body .table-row.yellow:nth-child(odd) > div {
        background-color: rgba(255, 247, 94, .3);
    }

.table-body .table-row.purple {
    border-color: rgba(240, 173, 255, .6);
}

    .table-body .table-row.purple > div {
        background-color: rgba(240, 173, 255, .3);
    }

    .table-body .table-row.purple:nth-child(odd) > div {
        background-color: rgba(240, 173, 255, .37);
    }

.table-body .table-row.color:hover > * {
    box-shadow: inset 0 0 0 100px rgba(0,0,0,.02);
}

    .table-body .table-row.color:hover > *:first-child {
        box-shadow: inset 3px 0 0 var(--blue), inset 0 0 0 100px rgba(0,0,0,.02);
    }

.table-body .table-row.green-check > div:nth-child(2) {
    background-image: url(../images/check-icon.svg);
    background-repeat: no-repeat;
    background-position: left;
    background-size: 55%;
}

.table-body .table-row.green-check input[type=checkbox] {
    display: none;
}

.table-row input[type='text'], .table-row input[type='number'], .table-row select {
    width: auto;
    min-width: 0;
    max-width: 100%;
    margin: 0;
}
.table-row .ddwn input[type='text'], .table-row .ddwn select {
	margin-bottom: 5px;
}
.table h3 {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
}

.table-row p {
    margin: 0;
}

.table-row label {
    display: inline-block;
    text-align: right;
    padding-right: 2px;
    min-width: 20px;
    position: relative;
    top: 1px;
}
.table-row .ddwn {
	text-transform: none;
}
.table-row .ddwn label {
	text-align: left;
	top: 0;
}
.table-row input[type='number'] {
    max-width: 50px;
    min-width: 40px;
}
.table .table-row.sent > *:first-child {
	background-image: url(../images/check-icon.svg);
	background-repeat: no-repeat;
	background-position: 0 center;
	background-size: 20px auto
}
.table.checks-active .table-row > *:first-child {
	grid-column: span 2;
	justify-content: flex-end;
	padding-right: 5px;
}
.table.checks-active .table-row {
	pointer-events: none;
}
.table.checks-active .table-row > *:first-child > input[type='checkbox'] {
	pointer-events: auto;
}
.table .table-row input[type=checkbox] {
    position: relative;
    top: -1px;
    cursor: pointer;
}

.table .table-row.header input[type=checkbox] {
    top: -2px;
}

.table-row .btn.icon {
    padding: 5px;
    height: 22px;
    width: 22px;
    min-width: 0;
}
.table-row.header .btn.icon {
    position: relative;
    top: -1px;
	height: 15px;
	width: 15px;
	padding: 1px;
	margin-left: 4px;
	background: var(--green);
    border: none;
}
.table-row.header .btn.icon:hover, .table-row.header .open .btn.icon  {
	background: var(--blue);
}
.table-row.header .btn.icon .fill {
   opacity: 1;
   fill: white;
}
.table-row.header .btn.icon:hover .fill {
	opacity: 1;
   fill: white;
}
.table-row .btn.icon.edit {
    padding: 0 0 0 5px;
    height: 100%;
    width: 100%;
    position: relative;
    top: -1px;
}

.table-row .btn.icon.add, .table-row .btn.icon.upload {
    padding: 4px;
}

.table-row .btn.icon, .table-row .group {
    z-index: 200;
}

.table-row > *.txtr {
    justify-content: flex-end;
}

.table-row em {
    font-style: normal;
    opacity: .6;
}

.table-body .btn.icon:not(.green) .fill {
    fill: var(--green);
    opacity: 1;
}

.table-row .icon:not('.btn') {
    padding: 3px;
    min-width: 0;
    width: 26px;
    height: 26px;
    font-size: 12px;
    display: inline-block;
    position: relative;
    margin-right: 4px;
    z-index: 1000;
    border: none;
    background: none !important;
    color: var(--font)
}

.table-body .btn.icon:not(.green):hover .fill {
    fill: var(--blue) !important;
}

.btn.icon.folder, .table-row .btn.icon.folder {
    padding: 0;
    top: -2px;
    position: relative;
}

.table-row .btn.icon.folder {
    margin-right: 10px;
    width: 22px;
    height: 22px;
    top: -1px;
}

.table-row.header > .folder {
    padding-left: 32px;
}

.table-row > .end {
    justify-content: flex-end;
}

a.table-row {
    text-decoration: none;
    color: var(--font)
}
.table-row .missing {
	fill: none;
    stroke: var(--red);
    stroke-linecap: round;
    stroke-miterlimit: 10;
    stroke-width: 5px;
}
.table-row .approved {
	fill: none;
    stroke: var(--green);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 5px;
}
.table-row .alert {
	fill: #fc3;
}
.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;
    }
.table-row .file.icon.pdf:before {
	content: "";
    display: inline-block;
    position: relative;
    min-width: 24px;
    height: 31px;
    border-radius: 3px;
    margin-right: 5px;
}
	.table-row .file.icon.pdf:after {
		font-size: .8rem;
		width: 22px;
		height: 13px;
	}
.table-row .file.icon.pdf:hover:before, .table-row .file.icon.pdf:hover:after {
	box-shadow: 1px 1px 0 rgba(0,0,0,.1)
}
.table-row .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;
        top: 5px;
        right: 5px;
    }

.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;
	z-index: 2001;
}

    .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;
}

    .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;
    }
	.flex.reverse {
		flex-direction: row-reverse;
	}
	.flex.reverse > div {
		min-width: 110px;
	}

.wrap {
    flex-wrap: wrap
}

.gap {
    gap: 10px;
}
.gapsm {
    gap: 5px;
}
.gaplg {
	gap: 20px
}
.ngap {gap: 0 !important}
.ngap > fieldset {
	border-right: none;
	border-radius: 0;
}
.ngap > fieldset:first-child {
	border-radius: 3px 0 0 3px;
}
.ngap > fieldset:last-child {
	border-right: 1px solid var(--brd);
	border-radius: 0 3px 3px 0;
}
fieldset.ngap > div input[type='text'] {
	border-right: none;
	border-radius: 0;
}
fieldset.ngap > div:first-child input[type='text'] {
	border-radius: 3px 0 0 3px;
}
fieldset.ngap > div:last-child input[type='text'] {
	border-right: 1px solid var(--brd);
	border-radius: 0 3px 3px 0;
}
fieldset.sm input:not([type=checkbox],[type=file]), fieldset.sm select, fieldset.sm textarea, fieldset.sm .btn, fieldset.sm .select {
	height: 24px;
}
.grow {
    flex-grow: 1
}
.nwrap {
	white-space: nowrap;
}
.scroll.y {
    overflow: overlay;
    overflow-x: auto;
    scrollbar-width: thin;
	scrollbar-color: var(--green) var(--light);
	scrollbar-width: normal;
}
.sticky {position: sticky;position: -webkit-sticky;background: white;z-index: 2000;}
.sticky.top {top: 0;}
.sticky.bot {bottom: 0;}
fieldset.sticky.top {
	margin: 0 -20px;
	padding: 0 20px 10px;
	
}
section .sticky {
	
}
/*.table-body.scroll.y, .table-row.header {
		scrollbar-gutter: stable;
}*/

::-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;
    }

    

  .table-row.header {
		overflow: visible;
	
}

    ::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }
	
}
@media screen and (max-width: 800px) {
    .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;
    }
	.fieldgroup > div {
		min-width: 50%;
	}
	header {padding-right: 20px}
    header h1 {
        padding-right: 20px
    }
	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, .select {
		padding: 0 12px;	
		height: 38px;
		font-size: 1.4rem;
	}
	.btn.icon {width: 38px;padding: 10px}
	fieldset > div, .btn {
		min-width: calc(50% - 5px);
	}
	.btn {justify-content: center}
	fieldset .email, fieldset .name, fieldset .lg {
		width: 100%;
	}
	fieldset label {font-size: 1.1rem;}
	
	.mpgrow {
		flex-grow: 1;
	}
	.mpblock {display: block !important}
	fieldset select {
		min-width: 0;
	}
	.msticky {position: sticky;background: white;border-top: 1px solid var(--brd)}
	
	.msticky.bot {bottom: 0}
	section .msticky.bot {
		margin: 0 -20px;
		padding: 12px 20px;
	}
	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}
}