*, *::after, *::before {
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    /*changes browser default of 16px to font size default of 1rem = 10px*/
}

.bdh-listing__container {
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.8;
    color: #000000;
    box-sizing: border-box;
}

input[type=date]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    display: none;
}

@media (min-width: 1620px) {
    body {
        margin: auto;
    }
}

.bdhButton.bg-green,
.bdhButton.bg-blue,
.bdhButton.bg-blue-dark,
.bdhButton.bg-red {
    color: #ffffff;
    border: none;
}

.bg-green {
    background-color: #72bb53 !important;
}

.bg-blue {
    background-color: #2f7090 !important;
}

.bg-blue-dark {
    background-color: #004c64 !important;
}

.bg-red {
    background-color: #ff3823 !important;
}

.bg-white {
    background-color: #FFF !important;
    border: 1px solid #aaaaaa !important;
    color: #000 !important;
}

.bg-black {
    background-color: #000 !important;
    color: #FFF !important;
}

.fill-red svg use {
    fill: #ff3823 !important;
}

.fill-blue svg use {
    fill: #2f7090 !important;
}


.fill-black svg use {
    fill: #000 !important;
}

.justify-center {
    justify-content: center;
}

.justify-right {
    justify-content: flex-end;
}

.align-top {
    align-self: baseline;
}

.nowrap {
    flex-flow: nowrap !important;
}

.w-30 {
    width: 30% !important;
}

.w-50 {
    width: 50% !important;
}

.w-100 {
    width: 100% !important;
}

.hide {
    display: none !important;
}

.disabled {
    opacity: .25;
}

.grid-12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 10px;
}

.col-4 {
    grid-column: auto/span 4;
}

.col-6 {
    grid-column: auto/span 6;
}

.col-8 {
    grid-column: auto/span 8;
}

.col-12 {
    grid-column: auto/span 12;
}

.dashboard {
    position: relative;
    height: 100vh;
}

.dashboard__container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 40rem;
    margin: auto;
    border: 1px solid #aaaaaa;
    border-radius: 4px;
    overflow: hidden;
}

.dashboard__header {
    position: relative;
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    background: #d4d4d4;
    background: linear-gradient(0deg, #e8e8e8 0%, white 100%);
    border-bottom: 1px solid #aaaaaa;
    z-index: 3;
}

.dashboard__header__title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2f7090;
    margin: 0 .5rem;
    margin-right: auto;
}

.dashboard__header__btn {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #aaaaaa;
    border-radius: 5px;
    background: #7a7a7a;
    background: linear-gradient(0deg, #a6a6a6 0%, #e6e6e6 100%);
}

.dashboard__header__btn::after {
    content: '▲';
    position: absolute;
    left: 50%;
    transform: translateX(-45%);
    color: #FFF;
}

.dashboard__header__btn:hover {
    cursor: pointer;
}

.dashboard__header__btn:focus {
    outline: none;
}

.dashboard__filter {
    position: relative;
    display: flex;
    align-items: center;
    flex-flow: wrap;
    background-color: #f7f7f7;
    padding: 1.5rem 1.8rem;
    box-shadow: 0px 1px 7px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dashboard__filter__search {
    display: flex;
    flex-flow: wrap;
    width: 100%;
    max-height: 0;
    opacity: 0;
    padding: 0;
    background-color: #FFF;
    position: absolute;
    top: 5rem;
    left: 0;
    box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.dashboard__filter__search::before {
    content: '';
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, 0.25);
    display: block;
    position: absolute;
}

.dashboard__filter__search__dropdown {
    display: inherit;
    flex-flow: wrap;
    width: 100%;
    max-height: inherit;
}

.dashboard__filter__search.dashboard__filter__search-open {
    max-height: 200%;
    opacity: 1;
    padding: .5rem 2rem .8rem;
    transition: all 0.3s ease;
}

.dashboard__filter__label {
    font-size: 1.4rem;
    color: #aaaaaa;
}

.dashboard__filter__input {
    display: block;
    margin-bottom: .5rem;
    padding: .8rem 1rem;
    border: 1px solid #aaaaaa;
    border-radius: 3px;
    z-index: 1;
}

.dashboard__filter__btn {
    border: none;
    border-radius: 3px;
    background-color: #72bb53;
    color: #FFF;
    padding: .5rem 1.2rem;
    font-size: 1.2rem;
    margin-left: auto;
    z-index: 1;
}

.dashboard__filter__btn:hover {
    cursor: pointer;
}

.dashboard__filter__btn:focus {
    outline: none;
}

.dashboard__checkbox {
    position: relative;
    right: -1.5rem;
    width: auto;
    z-index: 1;
    cursor: pointer;
}

.dashboard__checkbox:checked + .dashboard__checkbox__label:after {
    opacity: 1;
}

.dashboard__checkbox + .dashboard__checkbox__label {
    position: relative;
    font-size: 1.2rem;
    padding: 0 .5rem 0 2.2rem;
    overflow: hidden;
}

.dashboard__icon {
    text-align: center;
    background-color: transparent;
    color: #aaaaaa;
    display: inline-block;
    text-decoration: none;
    margin: 0 .5rem;
    border: none;
    width: 1.8rem;
    height: 1.8rem;
}

.dashboard__icon:hover {
    cursor: pointer;
}

.dashboard__icon:hover use {
    fill: #000;
}

.dashboard__icon:hover use:active {
    fill: #000;
}

.dashboard__icon:focus {
    outline: none;
}

.dashboard__icon svg {
    width: 100%;
    height: 100%;
}

.dashboard__icon svg use {
    fill: #aaaaaa;
}

.dashboard-table {
    overflow-y: auto;
    height: 50vh;
    min-height: 180px;
}

.dashboard-table__icon {
    text-align: center;
    background-color: transparent;
    color: #aaaaaa;
    display: inline-block;
    text-decoration: none;
    margin: 0 .5rem;
    border: none;
    width: 1.8rem;
    height: 1.8rem;
}

.dashboard-table__icon:hover {
    cursor: pointer;
}

.dashboard-table__icon:hover use {
    fill: #000;
}

.dashboard-table__icon:hover use:active {
    fill: #000;
}

.dashboard-table__icon:focus {
    outline: none;
}

.dashboard-table__icon svg {
    width: 100%;
    height: 100%;
}

.dashboard-table__icon svg use {
    fill: #aaaaaa;
}

.dashboard-table table {
    position: relative;
    width: 100%;
    background-color: #FFF;
    border-collapse: collapse;
}

.dashboard-table table tr {
    border-bottom: 1px solid #ebebeb;
}

.dashboard-table table tr:last-child {
    border: none;
}

.dashboard-table__row {
    position: relative;
    display: flex;
    flex-flow: nowrap;
    align-items: center;
    padding: 0 .5rem;
}

.dashboard-table__row:nth-child(even) {
    background-color: #f7f7f7;
}

.dashboard-table__row td {
    display: flex;
    align-items: center;
    width: 100%;
    padding: .5rem 0;
    padding-left: 1rem;
    font-size: 1.4rem;
    font-weight: normal;
    line-height: 1.6;
}

.dashboard-table__row td span:first-child {
    font-weight: bold;
}

.dashboard-table__row .dashboard-table__filter {
    padding-left: initial;
    width: 10%;
    justify-content: center;
}

.dashboard-table__row .dashboard-table__heading {
    padding-left: initial;
    width: 40%;
    justify-content: center;
}

.dashboard-table__row .dashboard-table__status {
    padding-left: initial;
    width: 15%;
    justify-content: center;
}

.dashboard-table__row .dashboard-table__status button {
    width: 3rem;
    height: 3rem;
}

.dashboard-table__row .dashboard-table__details {
    width: 75%;
    flex-direction: column;
    align-items: baseline;
}

.dashboard-table__row .dashboard-table__snooze {
    width: 10%;
}

.dashboard-table__row .dashboard-table__snooze button {
    position: absolute;
    top: .5rem;
    width: 2.5rem;
    height: 2.5rem;
}

.dashboard-table__dropdown {
    display: flex;
    max-height: 0;
    opacity: 0;
    padding: 0;
    background-color: #FFF;
    position: absolute;
    top: 3rem;
    right: 0;
    border: 0.5px solid #ebebeb;
    border-radius: 3px;
    box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.2);
    transition: all .2s ease-out;
    z-index: 2;
}

.dashboard-table__dropdown ul {
    display: inherit;
    flex-flow: column;
    width: 100%;
    max-height: inherit;
    align-items: baseline;
}

.dashboard-table__dropdown ul li {
    display: inherit;
    align-items: inherit;
}

.dashboard-table__dropdown ul li:first-child {
    font-weight: bold;
    padding-left: 1rem;
}

.dashboard-table__dropdown.dashboard-table__dropdown-open {
    max-height: 200%;
    opacity: 1;
    padding: .8rem .5rem .8rem 0;
    transition: all 0.3s ease;
}

.bdh-listing {
    position: relative;
    padding: 2rem 3rem;
}

.bdh-listing__container {
    display: block;
    position: relative;
    border: 1px solid #aaaaaa;
    border-radius: 2px;
    margin-bottom: 4rem;
    overflow: hidden;
}

.bdh-listing__container:last-child {
    margin-bottom: initial;
}

.bdh-listing__header {
    position: relative;
    display: flex;
    align-items: center;
    padding: .5rem 1rem;
    background-color: #FFF;
    border-bottom: 1px solid #aaaaaa;
}

.bdh-listing__header__title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2f7090;
    margin: 0 .5rem;
    display: inline-block;
}

.bdh-listing__dropdown {
    display: flex;
    flex-flow: wrap;
    width: 100%;
    max-height: 0;
    opacity: 0;
    padding: 0;
    background-color: #FFF;
    position: absolute;
    top: 4.3rem;
    left: 0;
    box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.bdh-listing__dropdown-list {
    display: inherit;
    flex-flow: nowrap;
    width: 100%;
    max-height: inherit;
}

.bdh-listing__dropdown-group {
    display: flex;
    flex-flow: wrap;
    width: 100%;
    margin: 0 1rem;
    justify-content: center;
}

.bdh-listing__dropdown-group label {
    width: 100%;
}

.bdh-listing__dropdown-group .bdh-listing__input {
    width: 100%;
}

.bdh-listing__dropdown-group button:first-child {
    margin-left: 0;
    margin-right: auto;
}

.bdh-listing__dropdown ul {
    display: inherit;
    width: 100%;
    max-height: inherit;
    align-items: baseline;
}

.bdh-listing__dropdown ul li {
    display: inherit;
    align-items: inherit;
    margin-top: .2rem;
}

.bdh-listing__dropdown ul li:first-child {
    font-weight: bold;
    padding-left: 1rem;
    margin-right: auto;
}

.bdh-listing__dropdown button {
    background-color: #72bb53;
    color: #FFF;
    border: none;
    margin-right: 0;
}

.bdh-listing__dropdown div.bdh-form {
    display: block;
    flex-flow: unset;
}

.bdh-listing__dropdown div.bdh-form .bdh-form__checkbox__label::after {
    top: 0;
}

.bdh-listing__dropdown.bdh-listing__dropdown-open {
    max-height: 1000%;
    opacity: 1;
    padding: .5rem 2rem .8rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.bdh-listing__icon {
    text-align: center;
    background-color: transparent;
    color: #aaaaaa;
    text-decoration: none;
    margin: 0 .5rem;
    border: none;
    width: 1.8rem;
    height: 1.8rem;
}

td .bdh-listing__icon {
    display: inline-block;
}

.bdh-listing__icon:hover {
    cursor: pointer;
}

.bdh-listing__icon:hover use {
    fill: #000;
}

.bdh-listing__icon:hover use:active {
    fill: #000;
}

.bdh-listing__icon:focus {
    outline: none;
}

.bdh-listing__icon svg {
    width: 100%;
    height: 100%;
    min-width: 1.8rem;
}

.bdh-listing__icon svg use {
    fill: #aaaaaa;
}

.bdh-listing__checkbox {
    position: relative;
    right: -1.5rem;
    width: auto;
    z-index: 1;
    opacity: 0;
    cursor: pointer;
}

.bdh-listing__checkbox:checked + .bdh-listing__checkbox__label:after {
    opacity: 1;
}

.bdh-listing__checkbox + .bdh-listing__checkbox__label {
    position: relative;
    font-size: 1.4rem;
    padding: 0 .5rem 0 2.2rem;
    overflow: hidden;
}

.bdh-listing__checkbox + .bdh-listing__checkbox__label::before {
    content: "";
    margin-right: 0.5em;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-56%);
    width: 1.6rem;
    height: 1.6rem;
    border: 1px solid #aaaaaa;
    border-radius: 2px;
    background-color: #FFF;
}

.bdh-listing__checkbox + .bdh-listing__checkbox__label:after {
    transform: rotate(-45deg);
    display: block;
    position: absolute;
    top: .4rem;
    left: .4rem;
    width: 12px;
    height: 8px;
    opacity: 0;
    background: transparent;
    border-left: 3px solid #000;
    border-bottom: 3px solid #000;
    content: '';
}

.bdh-listing__label {
    /*DELETE*/
    font-size: 1.4rem;
    color: #aaaaaa;
}

.bdh-listing__input {
    /*DELETE*/
    display: block;
    margin-bottom: .5rem;
    padding: .8rem 1rem;
    border: 1px solid #aaaaaa;
    border-radius: 3px;
    z-index: 1;
}

.bdhButton {
    margin: 0 .5rem;
    margin-left: auto;
    padding: .5rem 1.2rem;
    border: 1px solid #aaaaaa;
    border-radius: 3px;
    background-color: #FFF;
    color: #000;
    white-space: nowrap;
}

.bdhButton:hover {
    cursor: pointer;
}

.bdhButton:focus {
    outline: none;
}

.bdh-listing__toggle {
    display: flex;
    align-items: center;
    margin: 0 1rem;
}

.bdh-listing__toggle p {
    margin: .5rem;
}

.bdh-listing__toggle-label {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    border-radius: 34px;
}

.bdh-listing__toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.bdh-listing__toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 34px;
    background-color: #ccc;
    box-shadow: inset 0 1px 8px rgba(0, 0, 0, 0.2);
    transition: .4s;
}

.bdh-listing__toggle-slider::before {
    position: absolute;
    content: "";
    top: .2rem;
    left: .1rem;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background-color: #fff;
    transition: .4s;
}

.bdh-listing__toggle input:checked + input + .bdh-listing__toggle-slider {
    box-shadow: inset 0 1px 8px rgba(0, 0, 0, 0.2);
    background-color: #72bb53;
}

.bdh-listing__toggle input:checked + input + .bdh-listing__toggle-slider::before {
    transform: translateX(24px);
}

.bdh-listing-table {
    overflow-y: auto;
    height: 19vh;
    min-height: 180px;
    box-sizing: border-box;
}

.bdh-listing-table table {
    position: relative;
    width: 100%;
    background-color: #FFF;
    border-collapse: collapse;
}

.bdh-listing-table table thead tr {
    position: sticky;
    top: 0;
    background-color: #d5edfa;
    box-shadow: 0 -1px 4px 1.5px rgba(0, 0, 0, 0.359);
    z-index: 2;
}

.bdh-listing-table table thead tr::after {
    content: '';
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.122);
    display: block;
    position: absolute;
}

.bdh-listing-table table tr {
    border-bottom: 1px solid #ebebeb;
}

.bdh-listing-table table tr:last-child {
    border: none;
}

.bdh-listing-table__row {
    display: flex;
    flex-flow: nowrap;
    align-items: center;
}

.bdh-listing-table__row:nth-child(even) {
    background-color: #f7f7f7;
}

.bdh-listing-table__row td {
    display: flex;
    align-items: center;
    width: 100%;
    padding: .5rem 0;
    padding-left: 1rem;
    font-size: 1.4rem;
    font-weight: normal;
}

.bdh-listing-table__row .bdh-listing__check {
    padding-left: initial;
    width: 4%;
    justify-content: center;
}

.bdh-listing-table__row .bdh-listing__name {
    width: 19%;
}

.bdh-listing-table__row .bdh-listing__date {
    width: 14%;
}

.bdh-listing-table__row .bdh-listing__type {
    width: 14%;
}

.bdh-listing-table__row .bdh-listing__title {
    width: 14%;
}

.bdh-listing-table__row .bdh-listing__staff {
    width: 19%;
}

.bdh-listing-table__row .bdh-listing__view {
    padding-left: initial;
    width: 8%;
    justify-content: center;
}

.bdh-listing-table__row .bdh-listing__status {
    padding-left: initial;
    width: 8%;
    justify-content: center;
}

.bdh-heading {
    position: relative;
    display: flex;
    padding: 1rem 2rem;
    background-color: #FFF;
    border-bottom: 1px solid #7a7a7a;
    align-items: center;
}

.bdh-heading__title {
    font-size: 2rem;
    font-weight: bold;
    color: #2f7090;
    margin-right: auto;
}

.bdh-heading__btn {
    text-align: center;
    background-color: transparent;
    color: #aaaaaa;
    display: inline-block;
    text-decoration: none;
    margin: 0 1rem;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
}

.bdh-heading__btn:hover {
    cursor: pointer;
}

.bdh-heading__btn:focus {
    outline: none;
}

.bdh-heading__btn svg {
    width: 100%;
    height: 100%;
}

.bdh-heading__btn svg use {
    fill: #aaaaaa;
}

.bdh-heading__btn svg use:hover {
    fill: #000;
}

.bdh-heading__btn svg use:active {
    fill: #000;
}

.document-main {
    position: relative;
    width: 90%;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.bdh-patient {
    position: relative;
}

.bdh-patient__img {
    display: block;
    width: 9rem;
    height: 9rem;
    margin: 0 2rem 1rem 1rem;
    border-radius: 3px;
    overflow: hidden;
}

.bdh-patient__img img {
    width: 100%;
    height: 100%;
}

.bdh-patient__name {
    font-size: 2rem;
    font-weight: bold;
}

.bdh-patient__birthday {
    font-size: 1.6rem;
    font-weight: normal;
}

.bdh-form {
    display: block;
}

.bdh-form__group {
    display: flex;
    align-items: center;
    margin: 1.8rem 0;
}

.bdh-form__label {
    font-size: 1.6rem;
    font-weight: bold;
}

.bdh-form__input {
    border: 1px solid #7a7a7a;
    border-radius: 3px;
    padding: .8rem 1.2rem;
    margin-left: 1.5rem;
    text-decoration: none;
}

.bdh-form__icon {
    text-align: center;
    background-color: transparent;
    color: #aaaaaa;
    display: inline-block;
    text-decoration: none;
    margin: 0 1.5rem;
    border: none;
    width: 2.8rem;
    height: 2.8rem;
}

.bdh-form__icon:focus {
    outline: none;
}

.bdh-form__icon svg {
    width: 100%;
    height: 100%;
}

.bdh-form__icon svg use {
    fill: #aaaaaa;
}

.bdh-form__icon svg use:hover {
    fill: #000;
}

.bdh-form__icon svg use:active {
    fill: #000;
}

.bdh-form__message {
    margin-left: 1.5rem;
    padding: .8rem 1.2rem;
}

.bdh-form__checkbox {
    position: relative;
    right: -1.5rem;
    width: auto;
    z-index: 1;
    opacity: 0;
    cursor: pointer;
}

.bdh-form__checkbox:checked + .bdh-form__checkbox__label:after {
    opacity: 1;
}

.bdh-form__checkbox + .bdh-form__checkbox__label {
    position: relative;
    font-size: 1.4rem;
    padding: 0 .5rem 0 2.2rem;
    overflow: hidden;
}

.bdh-form__checkbox + .bdh-form__checkbox__label::before {
    content: "";
    margin-right: 0.5em;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-56%);
    width: 1.6rem;
    height: 1.6rem;
    border: 1px solid #7a7a7a;
    border-radius: 2px;
    background-color: #FFF;
}

.bdh-form__checkbox + .bdh-form__checkbox__label:after {
    transform: rotate(-45deg);
    display: block;
    position: absolute;
    top: .5rem;
    left: .4rem;
    width: 12px;
    height: 8px;
    opacity: 0;
    background: transparent;
    border-left: 3px solid #000;
    border-bottom: 3px solid #000;
    content: '';
}

.bdh-form__record {
    display: flex;
    flex-flow: wrap;
    width: 70%;
}

.bdh-form__record select {
    width: 75%;
    margin-top: 1rem;
}

.bdh-form__record__item {
    margin: .5rem 0 0 1.5rem;
    font-size: 1.2rem;
}

.bdh-form__record__item span {
    margin-right: .5rem;
}

.bdh-form__record__item span use {
    fill: blue;
}

.bdh-form__record__item a {
    color: #000;
}

.bdh-form__record__item .bdh-form__icon {
    width: 1rem;
    height: 1rem;
    margin-left: .5rem;
    display: inline-block;
}

.bdh-form__record__item .bdh-form__icon:hover {
    cursor: pointer;
}

.bdh-form__radio {
    display: none;
}

.bdh-form__radio__group {
    display: inline-block;
    margin-left: 1.5rem;
    align-self: baseline;
}

.bdh-form__radio__label {
    display: block;
    cursor: pointer;
    position: relative;
    padding-left: 2rem;
    font-size: 1.4rem;
}

.bdh-form__radio__btn {
    background-color: #FFF;
    height: 1.6rem;
    width: 1.6rem;
    border: 1px solid #7a7a7a;
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    left: 0;
    top: .2rem;
}

.bdh-form__radio__btn::after {
    content: "";
    display: block;
    height: 1rem;
    width: 1rem;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #000;
    opacity: 0;
    transition: opacity .2s;
}

.bdh-form__radio:checked + .bdh-form__radio__label .bdh-form__radio__btn::after {
    opacity: 1;
}

.bdh-form__btn {
    width: 100%;
    margin: 0 1rem;
    padding: .8rem 2rem;
    border: none;
    border-radius: 3px;
    background-color: transparent;
    color: #FFF;
    text-decoration: none;
}

.bdh-form__btn:hover {
    cursor: pointer;
}

.bdh-form__btn:focus {
    outline: none;
}

.bdh-form__submit {
    margin: 0 1rem;
    padding: .8rem 2rem;
    border: none;
    border-radius: 3px;
    background-color: transparent;
    color: #FFF;
    align-self: flex-end;
}

.bdh-form__submit:hover {
    cursor: pointer;
}

.bdh-form__submit:focus {
    outline: none;
}

.bdh-form__upload {
    width: 100%;
    background-color: transparent;
    border: 1px dashed #7a7a7a;
    padding: 1rem;
    box-sizing: border-box;
}

.bdh-form__upload:hover {
    cursor: pointer;
}

.bdh-form__upload svg {
    width: 5rem;
    height: 5rem;
}

.bdh-form__upload svg use {
    width: 100%;
    height: 100%;
    fill: #aaaaaa;
}

.bdh-form__upload svg use:hover {
    fill: #000;
}

.bdh-form__upload svg use:active {
    fill: #000;
}

.document-upload {
    background-color: #FFF;
    border-radius: 3px;
    padding: 1rem 2.5rem;
}

.document-upload.document-file__container {
    border: none !important;
}

.document-file__container {
    border: 1px solid #7a7a7a;
    border-radius: 3px;
    padding: 1rem 2.5rem;
}

.document-file__title {
    font-size: 1.6rem;
    font-weight: bold;
}

.document-file__titleTrimmed {
    overflow: hidden;
    text-overflow: ellipsis;
}

.document-file__author {
    font-size: 1.6rem;
    font-weight: normal;
}

.document-file__icon {
    border: none;
    text-decoration: underline;
}

.document-file__icon:hover {
    cursor: pointer;
}

.document-file__icon:focus {
    outline: none;
}

.document-file__uploaded {
    display: block;
    width: 100%;
    height: auto;
}

.document-file__uploaded img {
    position: relative;
    width: 100%;
    height: 100%;
}

.document-divider {
    background-color: #7a7a7a;
    height: 1px;
    margin: 2rem 0;
}

.document-excuse .bdh-form__group {
    flex-flow: wrap;
}

.document-excuse .bdh-form__checkbox {
    left: .5rem;
}

.document-excuse .bdh-form__checkbox__label {
    left: -1rem;
}

.document-excuse .bdh-form__input {
    margin-left: initial;
}

.document-excuse .bdh-form__message {
    margin-left: initial;
}

.document-excuse .bdh-form__label-date {
    margin: 0 1rem;
}

.document-excuse .bdh-form__btn {
    margin: initial;
}

.document-phone-note .bdh-form__group {
    flex-flow: wrap;
}

.document-phone-note .bdh-form__checkbox {
    left: .5rem;
}

.document-phone-note .bdh-form__checkbox__label {
    left: -1rem;
}

.document-phone-note .bdh-form__input {
    margin-left: initial;
}

.document-phone-note .bdh-form__message {
    margin-left: initial;
}

.document-phone-note .bdh-form__label-date {
    margin: 0 1rem;
}

.document-phone-note .bdh-form__btn {
    margin: initial;
}

.document-free-form-letter .bdh-form__group {
    flex-flow: wrap;
}

.document-free-form-letter .bdh-form__checkbox {
    left: .5rem;
}

.document-free-form-letter .bdh-form__checkbox__label {
    left: -1rem;
}

.document-free-form-letter .bdh-form__input {
    margin-left: initial;
}

.document-free-form-letter .bdh-form__message {
    margin-left: initial;
}

.document-free-form-letter .bdh-form__label-date {
    margin: 0 1rem;
}

.document-free-form-letter .bdh-form__btn {
    margin: initial;
}

.quick-sign {
    padding: 2.5rem;
}

.quick-sign__heading {
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px solid #aaaaaa;
    margin-bottom: 1rem;
}

.quick-sign__heading__title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-right: auto;
    white-space: normal;
}

.quick-sign__heading__btn {
    text-align: center;
    background-color: transparent;
    color: #aaaaaa;
    display: inline-block;
    text-decoration: none;
    margin: 0 1rem;
    border: none;
    width: 2rem;
    height: 2rem;
}

.quick-sign__heading__btn:hover {
    cursor: pointer;
}

.quick-sign__heading__btn:focus {
    outline: none;
}

.quick-sign__heading__btn svg {
    width: 100%;
    height: 100%;
}

.quick-sign__heading__btn svg use {
    fill: #aaaaaa;
}

.quick-sign__heading__btn svg use:hover {
    fill: #000;
}

.quick-sign__heading__btn svg use:active {
    fill: #000;
}

.quick-sign__preview {
    position: relative;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}

.quick-sign__preview-img {
    display: flex;
    width: 100%;
    max-height: 50rem;
    justify-content: center;
    overflow-y: scroll;
}

.quick-sign__preview-img img {
    display: block;
    max-width: 500px;
    width: 100%;
    height: 100%;
}

.quick-sign__btn {
    text-align: center;
    background-color: transparent;
    color: #FFF;
    display: inline-block;
    text-decoration: none;
    margin: 2rem;
    padding: .8rem 1rem;
    border: none;
    border-radius: 3px;
    max-width: 10rem;
}

.quick-sign__btn:hover {
    cursor: pointer;
}

.quick-sign__btn:focus {
    outline: none;
}

.quick-sign__details {
    position: relative;
    display: block;
    width: 80%;
    margin: 0 auto;
}

.quick-sign__details-group {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #aaaaaa;
    margin: .5rem 0;
}

.quick-sign__details-group:last-child {
    border-bottom: none;
}

.quick-sign__message {
    position: relative;
}

.quick-sign__message .bdh-form__submit {
    margin: 0;
}

.quick-sign__message .bdh-listing-table {
    overflow: hidden;
    overflow-y: unset;
    height: unset;
    min-height: unset;
}

.quick-sign__img {
    position: relative;
    display: block;
    max-width: 5rem;
    height: auto;
}

.quick-sign__img img {
    width: 100%;
    height: 100%;
}

.quick-sign__patient {
    font-size: 2rem;
    font-weight: bold;
    margin-left: auto;
}

.quick-sign__text {
    display: inherit;
    width: 100%;
    font-size: 1.6rem;
    font-weight: normal;
}

.quick-sign__text span:first-of-type {
    font-weight: bold;
    margin-right: auto;
}

.quick-sign__list {
    display: flex;
    overflow-x: scroll;
    align-items: center;
}

.quick-sign__list-item {
    display: inherit;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 3px;
    list-style: none;
    background-color: transparent;
    transition: all .3s ease-in-out;
}

.quick-sign__list-item img {
    max-width: 10rem;
    height: auto;
    border-radius: 2px;
}

.quick-sign__list-item.selected {
    background-color: #aaaaaa;
}

.quick-sign__list-item:hover {
    cursor: pointer;
}

/* BDH CSS */
div.bdh-listing__header {
    min-height: 4.3rem;
    box-sizing: border-box;
}

div.bdh-listing__container input[type="checkbox"] {
    margin: 0 0.5rem;
    padding: 0.8rem;
    width: 1.6rem;
    height: 1.6rem;
    line-height: initial;
}

div.ui-dialog-content div.bdh-listing__container input[type="checkbox"],
div.bdh-listing__container.embedInLegacyStyle input[type="checkbox"] {
    padding: 8px;
    width: 16px;
    height: 16px;
}

div.modal-box.overflow-auto > div.bdh-listing__container {
    margin: -20px;
}

div.bdh-listing__container div.k-grid table input[type="checkbox"],
div.bdh-listing__container div.instructionsTitle input[type=checkbox] {
    zoom: 1;
    transform: scale(1);
}

div.bdh-listing__container label {
    font-size: 1.4rem;
}

.bdh-form__input .ui-dropdownchecklist-text {
    font-size: 12px;
}

.bdh-listing__dropdown {
    margin-top: -1px;
    box-sizing: border-box;
}

.bdh-listing__dropdown-group {
    width: 200px;
}

.bdh-listing__dropdown-group label {
    font-size: 1.4rem;
    color: #aaaaaa;
}

.bdh-listing__dropdown-group ul label {
    padding: 0 .5rem 0 2.2rem;
}

.bdh-listing__dropdown-group label,
.bdh-form__group label {
    white-space: pre;
}

.bdh-listing__dropdown-group input:not([type='checkbox']),
.bdh-listing__dropdown-group select,
.bdh-form__group input:not([type='checkbox']),
.bdh-form__group select,
.bdh-form__group textarea {
    display: block;
    margin-bottom: .5rem;
    padding: .8rem 1rem;
    border: 1px solid #aaaaaa;
    border-radius: 3px;
    z-index: 1;
    width: 100%;
}

.bdh-form__input.ui-dropdownchecklist:has(>.ui-dropdownchecklist-selector.ui-state-active-open),
.bdh-listing__dropdown-group .ui-dropdownchecklist:has(>.ui-dropdownchecklist-selector.ui-state-active-open),
.bdh-form__input.ui-dropdownchecklist:has(>.ui-dropdownchecklist-selector:focus-visible),
.bdh-listing__dropdown-group .ui-dropdownchecklist:has(>.ui-dropdownchecklist-selector:focus-visible){
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

.bdh-form__input .ui-dropdownchecklist-selector,
.bdh-listing__dropdown-group .ui-dropdownchecklist-selector {
    cursor: default;
    border: none;
    background: none;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

.bdh-form__input .ui-dropdownchecklist-selector:focus,
.bdh-listing__dropdown-group .ui-dropdownchecklist-selector:focus {
    outline-offset: -2px;
    box-shadow: none;
    background-color: #ffffff;
    outline: -webkit-focus-ring-color auto 1px;
}

.bdh-form__input.ui-dropdownchecklist,
.bdh-listing__dropdown-group .ui-dropdownchecklist {
    display: block;
    border: 1px solid #7a7a7a;
    background-color: #ffffff;
    box-shadow: none;
    padding: 0;
    border-radius: 3px;
    margin-bottom: 0.5rem;
    height: 34px;
    text-decoration: none;
}

.bdh-form__input.ui-dropdownchecklist + .ui-dropdownchecklist-dropcontainer-wrapper,
.bdh-form__group .ui-dropdownchecklist-dropcontainer-wrapper,
.bdh-listing__dropdown-group .ui-dropdownchecklist-dropcontainer-wrapper {
    border: 1px solid #7a7a7a;
    border-radius: 3px;
}

.bdh-form__input .ui-dropdownchecklist-selector::before,
.bdh-listing__dropdown-group .ui-dropdownchecklist-selector::before {
    content: none;
}

.bdh-form__input .ui-dropdownchecklist-selector::after,
.bdh-listing__dropdown-group .ui-dropdownchecklist-selector::after {
    content: "˅";
    font-size: 18px;
    font-family: "Consolas", monospace;
    font-weight: bold;
    right: 6px;
    top: 10px;
    position: absolute;
    pointer-events: none;
    background: none;
    box-shadow: none;
}

bdh-form
.bdh-listing__dropdown-group input:not([type="radio"]):focus,
select:focus,
.bdh-listing__container input:not([type="radio"]):focus {
    outline-offset: -2px;
    box-shadow: none;
    background-color: #ffffff;
    outline: -webkit-focus-ring-color auto 1px;
}

.bdh-listing__container {
    overflow: visible;
    background: #f7f7f7;
}

div.bdh-listing__container input,
div.bdh-listing__container textarea,
div.bdh-listing__container .k-editor-inline {
    -webkit-box-shadow: none;
    box-shadow: none;
}

div.bdh-listing__container .k-editor-inline {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.quickFilter-Name {
    font-weight: bold;
    padding-left: 1rem;
    margin-right: auto;
    font-size: 1.6rem;
}

.k-grid-header .k-auto-scrollable th.k-header {
    vertical-align: bottom;
    background: none;
    border: none;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
}

.k-grid-header .k-auto-scrollable th.k-header:hover {
    background-color: #0000000f;
}

.k-grid tr:hover {
    background-color: #d5edfa;
}

.k-grid-header-wrap.k-auto-scrollable {
    border: none;
}

.bdh-form__group .bdh-form__input:not([type="checkbox"]) {
    width: auto;
}

div.bdh-listing__container textarea:focus {
    box-shadow: none;
}

.bdh-listing__container .gridcustom {
    box-sizing: border-box;
}

.bdh-listing__dropdown-group .lookup-wrapper-div {
    box-sizing: border-box;
    padding: 0;
    width: 100%;
    height: 40px;
}

.bdh-listing__dropdown-group .lookup-wrapper-div input {
    box-sizing: border-box;
    height: 35.5px;
}

.printButton {
    margin-left: auto;
}

.addButton {
    margin-left: auto;
}

.push-right {
    margin-left: auto;
}

.bdh-form input.bdh-form__input.ui-autocomplete-input {
    width: 25vw;
}

.filterQuickClear:after {
    content: 'x';
    font-weight: bold;
    padding-left: 0.3rem;
    color: grey;
    pointer-events: auto;
    cursor: pointer;
}

.filterQuickClear {
    padding: 0 10px 0 0;
    pointer-events: none;
}

.bdh-listing__container input.ui-autocomplete-input {
    padding-right: 25px;
    box-sizing: border-box;
}

div.bdh-listing__container .k-grid input[type="checkbox"] {
    margin: 0;
}

.dateDisabled {
    opacity: .25;
    pointer-events: none;
}

.bdh-listing__container input.inline-search {
    background-color: #ffffff;
}

.bdh-form__value {
    margin-left: 0.5rem;
    padding-left: 1rem;
    font-size: 14px;
}

.bdh-listing__container pre {
    font-family: Helvetica, Arial, sans-serif;
}

/* BDH CSS END */

