/* -------------------------- GENERIC -------------------------- */
td.dtr-control {
    border-right: 0 solid #fff !important;
}

th.dtr-control {
    border-right: 0 solid #fff !important;
    align-items: center;
}

.hard-wrap {
    overflow-wrap: anywhere;
}

td.wrap, th.wrap {
    overflow-wrap: break-word;
}

.fa-duotone {
    --fa-primary-color: var(--color-brand);
    --fa-secondary-color: var(--color-brand);
}

.secondary-strong {
    --fa-secondary-opacity: 0.6;
}

.pagination .page-link {
    font-size: 0.8rem !important;
}

span {
    -font-size: 14px;
}

.modal {
    height: calc(var(--vh, 1vh) * 100) !important;
}

.modal .modal-body span {
    font-size: 14px;
}

#accordion .fa {
    margin-right: 10px;
}

.color-green {
    color: #292;
}

.color-main {
    color: var(--color-main);
}

button.close {
    display: none;
}

.h5, h5 {
    font-size: 1.25rem !important;
}

/* -------------------------- LEFT MENU -------------------------- */
.card-body {
    padding: 0;
}

.card-body table tr td {
    padding-left: 15px
}

.card-body .table {
    margin-bottom: 0;
}

.datatable-filters {
    border: 1px solid #eee;
    padding: 20px;
    background-color: rgba(245, 248, 250, 0.5) !important;
}

.card-header {
    padding: 10px 0 0 15px !important;
}

.card-header .card-title {
    color: #000;
    font-size: 14px;
}

.card-header .card-title > a {
    color: inherit;
}

.table > tbody > tr > td > span > a {
    color: #000;
    font-size: 14px;
}

.table > tbody > tr > td > span > a.active {
    color: var(--color-main);
    font-size: 14px;
}

table.table-wrap {
    table-layout: fixed;
}

table.table-wrap td {
    word-wrap: break-word;
}

/* -------------------------- DATA PANEL -------------------------- */
#dataPanel {
    zfont-size: 13px;
    zmin-width: fit-content;
}

#dataPanel .form-group:focus-within {
    color: var(--color-main) !important;
}

#dataPanel .dataPanel-section {
    font-weight: normal;
    color: #667680;
    background-color: #ffffff;
    margin-bottom: 50px;
    border: 1px solid rgba(0, 0, 0, .125);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
    font-size: 0.8rem;
}

#dataPanel .miniPanel-section {
    font-weight: normal;
    color: #667680;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, .125);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15);
}

.dataPanel-section .sub-section {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 4px;
    background-color: #fcfcfc;
}

.dataPanel-section .sub-section-small-p {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
    background-color: #fcfcfc;
}

.container-xsmall {
    max-width: 400px;
}

.container-xsmall form {
    max-width: 400px;
}

.container-small {
    max-width: 600px;
    margin: 0 auto;
}

.container-small form {
    max-width: 600px;
}

.container-medium {
    max-width: 800px;
    margin: 0 auto;
}

.container-large {
    max-width: 1000px;
    margin: 0 auto;
}

.container-xlarge {
    max-width: 1200px;
    margin: 0 auto;
}

#dataPanel .mw-800 {
    max-width: 800px;
}

#dataPanel .mw-700 {
    max-width: 700px;
}

#dataPanel .mw-600 {
    max-width: 600px;
}

#dataPanel .mw-500 {
    max-width: 500px;
}

#dataPanel .mw-400 {
    max-width: 400px;
}

#dataPanel .dataPanel-title {
    font-size: 1.1rem;
    font-weight: normal;
    color: #404040;
    background-color: rgba(0, 0, 0, .03);

    border-bottom: 1px solid rgba(0, 0, 0, .125);
    margin-bottom: 20px;
    padding: 5px 0 0 15px;
}

#dataPanel .dataPanel-actions {
    background-color: #f6f6f6;
    border-bottom: 1px solid #eee;
    text-align: right;
    padding: 4px 10px;
    font-size: 14px;
}

#dataPanel .dataPanel-actions-timeline {
    background-color: #00000099;
    border-bottom: none;
    text-align: right;
    padding: 4px 10px;
    font-size: 16px;
}

#dataPanel .dataPanel-title > .right {
    float: right;
}

#dataPanel .dataPanel-subtitle {
    width: 100%;
    margin-bottom: 20px;
}

#dataPanel .dataPanel-subtitle span {
    font-size: 15px;
    color: #667680;
    font-weight: 400;
    border-bottom: 1px solid var(--color-main);
}

#dataPanel .success {
    font-weight: bolder;
    color: var(--color-main);
}

#dataPanel .cleanSuccess {
    color: #40905A;
}

#dataPanel .error {
    font-weight: bolder;
    color: #900;
}

#dataPanel .form-control-light {
    border-radius: 0;
    border-width: 0;
    border-bottom-width: 1px;
    padding: 2px 5px;
}

#dataPanel input.form-control-light:focus {
    border-radius: 0;
    border-width: 0;
    border-bottom-width: 1px;
    border-bottom-color: var(--color-main);
    outline: none;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

#dataPanel input.form-control-light[type="text"]:disabled {
    color: #555;
    background-color: #fff;
}

#form_csv {
    font-size: 14px;
}

#form_csv .howto {
    border: 1px solid #ddd;
    border-radius: 5px;
}

#form_csv .howto div.mandatory {
    border-right: 1px solid #ddd;
    margin-bottom: 15px;
    padding: 5px 0;
}

#form_csv ul.field_ul {
    list-style-type: none;
    font-weight: bold;
}

#form_csv ul.field_ul li {
    text-indent: 5px;
}

#form_csv .mandatory li {
    color: #009900;
}

#form_csv .opt li {
    color: #777;
}

#form_csv .progress-bar {
    font-weight: bold;
}

#form_csv .upload_button {
    border: 0;
    border-radius: 0;
    border-left: 0 solid transparent;
}

.profile-header {
    width: 100%;
    border-bottom: 2px solid black;
    margin-bottom: 10px;
}

.profile-header span {
    color: var(--color-main);
    font-size: 18px !important;
}

.inlined-switch {
    position: relative;
    top: 0 !important;
    margin-left: 10px !important;
}

.mfa-icons img {
    height: 48px;
}

.warning {
    color: DarkOrange;
}

table.table-pricing td,
table.table-pricing th {
    text-align: center;
}

table.table-pricing th {
    font-size: 16px !important;
}

table.table-pricing > thead > tr /*:first-child */ > td:first-child,
table.table-pricing > tbody > tr /*:first-child */ > td:first-child,
table.table-pricing > tfoot > tr /*:first-child */ > td:first-child {
    text-align: left;
    text-indent: 10px;
}

table.table-pricing > tfoot > tr > td {
    border: 0 !important;
}

.invoice-header:first-child {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
}

.invoice-header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, .03);
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.invoice-header {
    padding: 0 !important;
}

.device-header {
    padding: 2px;
    margin: 2px 2px 0;
    border-top: 1px solid rgba(0, 0, 0, .125);
}

.device-info button, .device-info i {
    color: #000;
}

.device-header .progress-title {
    vertical-align: middle;
}

.device-header progress {
    width: 100px;
}

.action-item-title {
    padding: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.action-item-text {
    padding-top: 8px;
    vertical-align: top;
    min-height: 50px;
}

[data-procedure-validation-button],
[data-remote-signing-validation-button] {
    text-align: center;
    white-space: nowrap
}

[data-procedure-validation-button] > a,
[data-remote-signing-validation-button] > a {
    display: inline-block;
}

[data-procedure-validation-button] span,
[data-remote-signing-validation-button] span {
    padding: 4px;
    margin: 2px 2px 5px;
}

[data-procedure-validation-button] span:hover,
[data-remote-signing-validation-button] span:hover {
    text-decoration: underline;
}

.table-item, .action-item, .device-info-item {
    margin: 2px;
    padding: 4px;
}

.action-item.disabled {
    background: #eee;
    cursor: not-allowed;
}

.action-item.disabled:hover {
    background: #eee !important;
}

.table-item:not(.text-danger) span,
.action-item:not(.text-danger) span {
    color: var(--color-main);
}

.table-item:hover, .action-item:hover {
    background-color: #fafafa;
}

.btn-link-quiet,
.btn-link-quiet:hover {
    text-decoration: none !important;
}

.progress-bar-c0 {
    background-color: transparent !important;
    color: black !important;
    padding: 0 2px 0 2px;
}

.progress-bar-c20 {
    background-color: #f0a3a3 !important;
    background-image: linear-gradient(to bottom, rgba(82, 143, 229, 1) 0%, rgba(118, 167, 237, 1) 100%) !important;
    padding: 0 2px 0 2px;
}

.progress-bar-c40 {
    background-color: #f0a3a3 !important;
    background-image: linear-gradient(to bottom, rgba(82, 143, 229, 1) 0%, rgba(118, 167, 237, 1) 100%) !important;
    padding: 0 2px 0 2px;
}

.progress-bar-c60 {
    background-color: #f1a165 !important;
    background-image: linear-gradient(to bottom, rgba(82, 143, 229, 1) 0%, rgba(118, 167, 237, 1) 100%) !important;
    padding: 0 2px 0 2px;
}

.progress-bar-c80 {
    background-color: #1e5799 !important;
    background-image: linear-gradient(to bottom, rgba(82, 143, 229, 1) 0%, rgba(118, 167, 237, 1) 100%) !important;
    padding: 0 2px 0 2px;
}

.progress-bar-c100 {
    background-color: #c9de96 !important;
    background-image: linear-gradient(to bottom, rgba(28, 91, 191, 1) 0%, rgba(82, 143, 229, 1) 100%) !important;
    padding: 0 2px 0 2px;
}

table.table-activities td,
table.table-activities th {
    text-align: center;
}

table.table-activities th {
    font-size: 16px !important;
}

table.table-activities > thead > tr /*:first-child */ > td:first-child,
table.table-activities > tbody > tr /*:first-child */ > td:first-child,
table.table-activities > tfoot > tr /*:first-child */ > td:first-child {

}

table.table-activities > tfoot > tr > td {
    border: 0 !important;
}


/* ------------------------ PATIENT LIST PANEL ------------------------ */
#import-csv-result {
    border: 1px solid #ddd;
    border-radius: 5px;
}

#import-csv-result tr {
    border-bottom: 1px solid #ddd;
}

#import-csv-result tr:last-child {
    border: 0 solid black;
}

#import-csv-result td {
    padding: 5px;
}

#import-csv-result td.res-num {
    text-align: center !important;
    font-weight: bold;
    text-indent: 5px;
}

#import-csv-result td.res-button {
    text-align: center !important;
}

#import-csv-result td.res-button a,
#import-csv-result td.res-button button {
    padding: 0 10px;
    margin-bottom: 4px;
    text-indent: 0;
}

#import-csv-result td.res-label {
    text-align: left !important;
    font-weight: bold !important;
    text-decoration: none;
    line-height: 30px;
}

#import-csv-result td.error {
    color: #900;
}

progress,
progress::-webkit-progress-bar,
progress::-webkit-progress-value,
progress::-moz-progress-bar {
    border: 0;
    height: 10px;
    border-radius: 10px;
    vertical-align: middle !important;
    -webkit-appearance: none;
}

tr:nth-child(odd) progress[value] {
    -background-color: rgba(0, 0, 0, .05);
}

tr:nth-child(odd) progress {
    -background: rgba(0, 0, 0, .05);
}

progress.color-red::-moz-progress-bar,
progress.color-red::-webkit-progress-bar,
progress.color-red::-webkit-progress-value {
    border: 1px solid darkred;
    background-color: indianred;
    color: indianred;
}

progress.color-blue::-moz-progress-bar,
progress.color-blue::-webkit-progress-bar,
progress.color-blue::-webkit-progress-value {
    border: 1px solid cadetblue;
    background-color: lightskyblue;
    color: lightskyblue;
}

progress.color-green::-moz-progress-bar,
progress.color-green::-webkit-progress-bar,
progress.color-green::-webkit-progress-value {
    border: 1px solid green;
    background-color: darkseagreen;
    color: darkseagreen;
}

/* --------------------------- TABLE PANEL --------------------------- */

.maincontainer-table {
    margin: 20px auto !important;
    background-color: rgba(245, 248, 250, 0.5) !important;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    zmin-width: 768px;
}

.container-max {
    max-width: 1600px;
    margin: auto;
}

.col-thumbnail {
    width: 50px;
}

.amedsu-img-thumbnail {
    max-height: 100%;
    max-width: 100%;
    height: auto;
}

/* --------------------------- USERS PANEL --------------------------- */
table.user-list {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 5px;
}

table.user-list thead {
    background-color: rgba(0, 0, 0, .03);
}

table.user-list tbody tr.user-current {
    background-color: #f0fef3 !important;
}

table.user-list tbody tr.user-active td {
    background-color: none;
}

table.user-list tbody tr.user-inactive td {
    background-color: #eeeeee77;
}

table.user-list tbody tr.user-waiting-for-activation td {
    background-color: #ffffee;
}

table.user-list tbody tr.user-inactive > * {
    color: #999 !important;
}

table.user-list tbody tr {
    background-color: #fefefe !important;
}

td .user-subhead {
    font-size: 0.875em;
    font-style: italic;
}


/* -------------------------- PATIENT PANEL -------------------------- */
.img-thumbnail {
    padding: 0 !important;
}

.inf label {
    font-size: 11px;
    color: var(--color-brand);
    display: block;
    text-transform: uppercase;
    font-weight: normal;
}

.inf span {
    min-height: 26px;
    font-size: 14px;
    padding-left: 0;
    margin-bottom: 20px;
    color: #333;
    width: 100%;
    display: block;
}

.dropdown-menu-patient-details .dropdown-item {
    font-size: 14px;
}

#new-procedure-menu {
    position: absolute;
    right: 0;
    z-index: 130;
}

.inf span.dotted {
    border-bottom: 1px dotted #bfc9ce;
}

.ar-front, .ar-right, .ar-left {
    opacity: 0;
    padding: 0 !important;
    transition: opacity .55s ease-in-out;
    -moz-transition: opacity .55s ease-in-out;
    -webkit-transition: opacity .55s ease-in-out;
}

#patient_edit {
    max-width: 800px;
}

.notes-textarea {
    resize: none;
    overflow: hidden;
    background: transparent;
    width: 100%;
    border: 0;
    border-bottom: 1px dotted black;
    outline: 0 !important;
}

.notes-textarea:focus {
    border: 0;
}

.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.inputfile + label {
    font-weight: 700;
    color: white;
    background-color: rgba(0, 0, 0, 0.25);
    display: inline-block;
    position: relative;
    top: 5px;
    padding: 5px;
    width: 114px;
    font-size: 12px !important;
}

.inputfile:focus + label,
.inputfile + label:hover {
    background-color: rgba(28, 91, 191, 0.33);
}

.inputfile + label {
    cursor: pointer; /* "hand" cursor */
}

.inputfile:focus + label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

.inputfile + label * {
    pointer-events: none;
}

.patient-document {
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 5px;
    height: 30px;
    margin: 10px 15px;
    padding: 5px;
}

.patient-document.warning {
    background-color: antiquewhite;
}

.patient-document .delete {
    float: right;
    color: #900;
}

.rs-document-list-item {
    margin: 10px 15px;
    padding: 5px 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
}

.rs-document-list-item .doc-name {
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    white-space: nowrap;
}

.hidden-button {
    overflow: visible !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    padding: 0 !important;
    display: block !important;
}

/* -------------------------- PROCEDURE PANEL -------------------------- */
.procedureModal .modal-body {
    border: 2px solid transparent;
}

.procedureSummarizeHeader {
    color: #fff;
    margin: 0;
    padding: 3px;
    background-color: rgba(0, 0, 0, 0.5);
    float: left;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 100;
    width: 100%;
}

.procedureSummarizeHeader .icons {
    padding: 0 10px;
    width: 120px;
    margin-left: auto;
}

.procedureSummarizeHeader .icons span.danger {
    color: #f99;
}

.procedureSummarizeHeader .icons span {
    margin-right: 10px;
    margin-bottom: 5px;
    line-height: 30px;
    font-size: 22px;
}

.procedureSummarizeHeader div.top {
    display: inline-block;
    vertical-align: top;
}

.procedureSummarizeHeader div.middle {
    display: inline-block;
    vertical-align: middle;
}

.procedureSummarizeHeader.consultation {
    background-color: rgba(167, 142, 109, 0.65);
}

.procedureSummarizeHeader.procedure {
    background-color: rgba(0, 0, 0, 0.7);
}

.procedureContainer {
    position: relative;
}

.consultationSummarizeContainer {
    position: relative;
}

.thumbnail_images, .fullsize_images {
    display: contents;
}

.procedureSummarizeFooter {
    padding: 10px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
}

.procedureSummarizeFooter > .procedureSummarizeNotes {
    flex: 1;
}

.procedureSummarizeSync {
    float: left;
    position: absolute;
    top: 70px;
    z-index: 10;
    padding: 5px;
    margin: 5px;
    width: 50px;
    color: #fff;
}

.procedureSummarizeProducts {
    float: left;
    position: absolute;
    bottom: 0;
    z-index: 10;
    padding: 5px;
    margin: 5px;
    border: 1px dotted rgba(0, 0, 0, 0.15);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.procedureSummarizeNotes, .patientSummarizeNotes, .procedureSummarizeBilling {
    background-color: #FFF6D8;
    padding: 10px;
    margin: auto;
    -moz-box-shadow: 1px 1px 3px 0 #777777;
    -webkit-box-shadow: 1px 1px 3px 0 #777777;
    -o-box-shadow: 1px 1px 3px 0 #777777;
    box-shadow: 1px 1px 3px 0 #777777;
    filter: progid:DXImageTransform.Microsoft.Shadow(color=#777777, Direction=134, Strength=3);
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}

.procedureSummarizeNotes.procedure {
    background-color: #FFF6D8;
}

.procedureSummarizeNotes.consultation {
    background-color: #ECDAC6;
}

.procedureSummarizeBilling {
    background-color: #e1fafb;
    margin: 0 0 0 10px;
    color: #497CC8;
    cursor: pointer;
}

.procedureSummarizeNotes span {
    display: block;
    cursor: pointer;
}

.procModalDoc p.p1 {
    margin: 0 0 10px 0;
    text-align: center;
    font: 12.0pt Helvetica
}

.procModalDoc p.p2 {
    margin: 0 0 10px 0;
    text-align: justify;
    font: 12.0pt Helvetica
}

.procModalDoc p.p3 {
    margin: 5px 0 5px 0;
    text-align: justify;
    font: 12.0pt Helvetica
}

.procModalDoc p.p4 {
    margin: 0 0 10px 0;
    text-align: justify;
    font: 12.0pt Helvetica;
    min-height: 13.8px;
}

.procModalDoc span.s1 {
    font-family: 'Helvetica';
    font-weight: bold;
    font-style: normal;
    font-size: 12.00pt;
    text-decoration: underline;
}

.procModalDoc span.s2 {
    font-family: 'Helvetica';
    font-weight: normal;
    font-style: normal;
    font-size: 12.00pt;
}

.procModalDoc ul, .procModalDoc ol {
    list-style-type: none
}

.procModalDoc p, .procModalDoc {
    display: block;
    width: 100%;
}

.procModalDoc span {
    display: inline-block;
    margin-bottom: 5px;
}

#canvas-wrap {
    position: relative
}

#canvas-wrap > canvas {
    touch-action: none;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
}

/* Make this a positioned parent */

#overlay {
    position: absolute;
    width: 100%;
}

#overlay .procedureSummarizeProducts {
    float: none;
    bottom: 5px;
    left: 0;
    z-index: 1000;
    padding: 5px;
    margin: 5px;
    border: 1px dotted rgba(0, 0, 0, 0.15);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 5px;
}

/* Portrait 3 / 4 images */
.ar-34 {
    image-orientation: from-image;
}

.procedure_images {
    display: flex;
}

.slider {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    overflow: hidden;
    background-color: #000;
    color: #FFF;
    transition: all 1s;
}

.slider.close {
    top: 100%;
    height: 0;
}

.product-pastil {
    height: 15px;
    width: 15px;
    border-radius: 8px;
    border: 2px solid white;
    display: inline-block;
    vertical-align: sub;
}

.procedureProductAdditionalInfo {
    margin-left: 20px;
}

.procedureProductInfo {
    margin-top: 5px;
}

/* -------------------------- BILLING MODAL -------------------------- */
.billingModal .modal-dialog {
    overflow-y: initial !important
}

.currency-tf {
    height: 35px;
    text-align: center;
    font-weight: bolder;
}

.billingModal input.mini-tf {
    max-width: 75px;
}

.billingModal input.mini-tf.lot-number {
    max-width: 150px;
}

/* -------------------------- PROCEDURE MODAL -------------------------- */
.centered-modal {
    display: flex !important;
    padding: 0 !important;
}

.centered-modal .modal-dialog {
    margin: auto;
    min-width: 360px;
    max-width: 850px;
    width: 850px;
}

.carousel-item.overflow-h {
    overflow-y: auto;
    max-height: 600px;
    height: 600px;
}

.carousel-link {
    cursor: pointer;
}

[data-procedure-modal] {
    cursor: pointer;
}

.closeProcModalButton {
    position: absolute;
    left: 10px;
}

.saveProcModalButton {
    position: absolute;
    right: 10px;
}

.saveProcModalButton.disabled {
    zborder-color: gray;
    color: gray;
    cursor: not-allowed;
}

[data-modal-button] {
    color: var(--color-brand) !important;
    opacity: 1 !important;
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
}

[data-modal-button]:disabled {
    color: #999 !important;
}

.procModalHeader {
    background-color: #f9f9f9;
    border-bottom: 1px solid #ccc;
    border-radius: 5px 5px 0 0;
    padding-top: 7px !important;
    padding-bottom: 5px !important;
    font-size: 18px;
}

.procModalFooting {
    font-size: 11px !important;
    padding: 5px !important;
    text-align: center !important;
}

.procModalTextfield {
    border-bottom: 1px solid #eee;
    margin-bottom: 9px;
}

.procModalTextfield.carousel-link {
    cursor: pointer;
}


.procModalTextfield {
    font-size: 14px !important;
}

.procModalTextfield > .procModalTextfieldItem > input {
    font-size: 14px !important;
}

.procModalNotes {
    border: 0;
    height: 290px;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;

    background-color: #FFF6D8;
    border-radius: 2px;
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
    padding: 15px;
    font-size: 14px !important;
}

.procModalDoc {
    overflow-y: auto;
    min-height: 80px;
    max-height: 520px;
    background-color: #f2f2f2;
    border-radius: 2px;
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
    padding: 15px;
    font-size: 12px !important
}

.procModalDoc.signed {
    overflow-y: auto;
    max-height: 400px;
}

.procModalTextfieldTitle {

}

.procModalTextfieldItem {
    color: black;
}

.procModalTextfieldResult {
}

.backlight {
    background-color: #fcfcfc;
}

.backlightblue {
    background-color: #eef;
}

.capitalize {
    text-transform: uppercase;
}

.docsigned {
    color: green;
}

.docnotsigned {
    color: red;
}

.docremotesign {
    color: orange;
}

#remoteSigningDocumentInfo, #documentInfo {
    font-size: 14px;
}

.self_clear:after {
    content: "";
    clear: both;
    display: table;
}

.consentText, .prescriptionText {
    min-height: 200px;
}

.questionnaireTitle, .consentTitle, .hdcTitle {
    font-size: 16px;
}

.questionnaire-container {
    margin: 0;
    overflow-y: auto;
    max-height: 600px;
    height: 600px;
}

[data-questionnaire-inlined], [data-consent-inlined] {
    padding: 15px;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
}

.questions_container {
    padding-top: 20px;
    --max-height: 500px;
    overflow-y: auto;
}

.question_header_wrapper {
    margin-bottom: 10px;
}

.question_content {
    background-color: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 14px;
    color: black;
    margin-bottom: 20px;
}

.question_text {
    display: inline-block;
    float: left;
}

.question_answers {
    display: inline-block;
    float: right;
}

.question_info {
    width: 100%;
    margin-top: 10px;
    border: 1px solid #eee;
    border-radius: 3px;
    color: black;
    clear: both;
    padding: 5px;
    min-height: 32px;
}

.question_info.fillable {
    border-radius: 5px;
    -border: 1px solid #0009;
}

.question-group {
    border: 1px solid #e8e8e8;
    background-color: #fff;
    border-radius: 4px;
    padding: 16px;
}

.iframe-consent {
    width: 100%;
    min-height: 400px;
}

.iframe-consent-lg {
    width: 100%;
    min-height: 800px;
}

.modal-consent-chk {
    vertical-align: middle;
    display: flex;
}

.modal-consent-chk input {
    margin: 0 auto;
    height: 20px;
    width: 20px;
    align-self: center;
}

.modal-consent-title {
    font-weight: bolder;
    font-size: 1.2em;
}

.modal-consent-text {
    color: #999;
    font-size: 0.8em;
    text-align: justify;
}

.modal-consent-view-link {
    color: #999;
    font-size: 1.4em;
    vertical-align: middle;
    align-items: center;
    display: flex;
}

.modal-consent-view-link i {
    margin: 0 auto;
    align-self: center;
}

.div-checkbox {
    border-radius: 50%;
    width: 15px;
    height: 15px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

.checkbox-container {
    -width: 80px;
    display: inline-block;
    vertical-align: middle;
    text-align: right;
}

.checkbox-container span {
    vertical-align: text-top;
}

tr.checked {
    background-color: var(--color-main-alpha11);
}

table.pointer > tbody > tr:hover {
    cursor: pointer;
}

.checked {
    background-color: var(--color-brand);
}

.unchecked {
    background-color: #ccc;
}

canvas.signature {
    width: 100%;
    height: 100%;
    min-height: 200px;
    max-width: 700px;
    max-height: 400px;
    border: 1px solid #e8e8e8;
    background-color: #fff;
    box-shadow: 0 1px 4px rgb(0 0 0 / 27%), 0 0 40px rgb(0 0 0 / 8%) inset;
    border-radius: 4px;
    padding: 16px;
}

.signBelow {
    color: #999;
    text-align: center;
    font-size: 1em;
    margin-top: 8px;
}

.signSummazyFooter {
    text-align: right;
    float: right;
    background: #fff;
    padding: 10px;
    margin: 20px;
    border-style: solid !important;
    border-color: #ccc !important;
    border-width: 0 1px 0 1px !important;
    border-radius: 6px;
}

.signSummazyFooter img {
    max-width: 400px;
    max-height: 200px;
}

/* -------------------------- CONSENT PANEL ---------------------------- */
div[data-rich-text] {
    background-color: #FFF6D8;
    padding: 5px;
    margin: auto;
    -moz-box-shadow: 1px 1px 3px 0 #777777;
    -webkit-box-shadow: 1px 1px 3px 0 #777777;
    -o-box-shadow: 1px 1px 3px 0 #777777;
    box-shadow: 1px 1px 3px 0 #777777;
    filter: progid:DXImageTransform.Microsoft.Shadow(color=#777777, Direction=134, Strength=3);
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}

div[data-rich-text] table {
    overflow: hidden;
    border: 1px double #b3b3b3;
    border-collapse: collapse;
    border-spacing: 0;
    height: 100%;
    width: 100%;
}

div[data-rich-text] td, div[data-rich-text] th {
    border: 1px solid #bfbfbf;
    min-width: 2em;
    padding: 0.4em;
    overflow-wrap: break-word;
    position: relative;
}

.scroll-overflow-y {
    overflow-y: scroll;
}

#consent_edit, #questionnaires_edit {
    max-width: 1000px;
}

.loading-img {
    height: 100%;
    width: 100%;
    position: absolute;
    background: transparent url('/images/loading.gif') center no-repeat;
}

.loading-img-questionnaires {
    opacity: 1;
    height: 600px;
}

.note-editor {
    border: 0 solid #a9a9a9 !important;
}

.info-text {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
}

.otp-container {
    border: 2px solid #ddd;
    border-radius: 10px;
    width: 250px;
}

.otp-container > h5 {
    font-size: 16px !important;
    text-align: center;
    font-weight: bold;
}

.otp-container > input {
    height: 50px;
    width: 180px;
    font-size: 32px !important;
    text-align: center;
    letter-spacing: 5px;
}

/* ------------------------- USERS PANEL ------------------------- */
#createUserModal {
    padding-bottom: 0 !important;
}

#createUserModal .modal-header h4, #createUserModal .modal-header span {
    font-size: 18px !important;
}

/* -------------------------- LAB PANEL -------------------------- */
.infoHeaderText {
    font-size: 14px;
    font-weight: bold;
    vertical-align: text-top;
}

img.flipY {
    -moz-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
    -ms-filter: "FlipV";
}

.fade-visible {
    opacity: 1;
    transition: opacity 1s;
}

.fade-hidden {
    opacity: 0;
    transition: opacity 1s;
}

/* -------------------- CUSTOMIZE & MARKETING -------------------- */
.customize-wrapper {
    background-color: #f3f3f3;
    border: 1px solid transparent;
    max-width: 240px !important;
    text-align: center;
    position: relative;
    cursor: pointer;
    box-shadow: 0 2px 6px -2px #636363;
    padding: 0 10px 0 10px;
    margin: 20px auto;
    min-height: 215px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.customize-image-wrapper {
    height: 80px;
}

.customize-image-svg {
    max-width: 80px;
    max-height: 80px;
}

/* ---------------------------- UTILS ---------------------------- */
.blur {
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
}

input.readonly, select.readonly {
    background-color: #eee !important;
}

div.fullsize {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

div.overlay {
    opacity: 0.5;
    background: #000;
    z-index: 1090;
    display: none;
}

div.please_wait {
    background-image: url('/images/svg/please-wait-1s-200px.svg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    z-index: 1091;
    display: none;
}

div.procedure.fit-height {
    width: calc((100vh - 250px) * (9 / 4));
    max-width: 100%;
}

.clickable {
    cursor: pointer;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-question {
    cursor: help;
}

.patient_info {
    cursor: pointer;
}

.uploaded-file {
    border-left: 1px solid gray;
    margin-left: 30px;
}

/* --------------------------- STRIPE --------------------------- */
/**
 * The CSS shown here will not be introduced in the Quickstart guide, but shows
 * how you can use CSS to style your Element's container.
 */
input.StripeLocalElement,
.StripeElement {
    height: 40px;
    padding: 10px 12px;

    color: #32325d;
    background-color: white;
    border: 1px solid transparent;
    border-radius: 4px;

    box-shadow: 0 1px 3px 0 #e6ebf1;
    -webkit-transition: box-shadow 150ms ease;
    transition: box-shadow 150ms ease;
}

input.StripeLocalElement {
    padding-top: 14px;
    width: 100%;
    color: #32325d;
    font-family: sans-serif;
    font-size: 16px !important;
}

.StripeElement--focus {
    box-shadow: 0 1px 3px 0 #cfd7df;
}

.StripeElement--invalid {
    border-color: #fa755a;
}

.StripeElement--webkit-autofill {
    background-color: #fefde5 !important;
}

.ui-autocomplete {
    z-index: 100000 !important;
}

[data-suggestion-container] {
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    margin-top: 5px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: none;
    z-index: 55;
}

.suggestionItem {
    overflow: hidden;
    padding: 5px;
    cursor: pointer;
    color: black;
}

.suggestionItem:hover {
    overflow: visible;
    background-color: #fefefe;
    color: var(--color-main);
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: var(--color-main) !important;
    border-color: var(--color-main) !important;
}

.fw-bold-500 {
    font-weight: 500;
}

input.form-control.sso-code {
    height: 80px;
    text-align: center;
    letter-spacing: 10px;
    font-size: 40px;
    padding: 0 !important;
}

textarea.multi-cell-editable-light {
    resize: none;
    overflow: hidden;
    background: transparent;
    width: 100%;
    border: 0;
    border-bottom: 1px dotted black;
}

img.more-photos-thumbnail {
    max-height: 200px;
    width: 100%;
}

.more-photos .modal-body {
    background: aliceblue;
}

/*
.more-photos-take {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    height: 150px;
    font-size: 36px;
}

.more-photos-take i {
    height: 100px;
    width: 100px;
}
 */

img.more-photos-thumbnail.loaded,
img.more-photos-fullsize.loaded {
    border: 1px solid gray;
    position: relative;
}

img.more-photos-fullsize.loaded {
    max-width: 1200px;
    max-height: 900px;
}

.photo-fullsize-wrapper {
    position: relative;
    display: inline-block;
}

.photo-thumbnail-wrapper {
    position: relative;
    display: inline-block;
}

.photo-fullsize-wrapper .actions,
.photo-thumbnail-wrapper .actions {
    position: absolute;
    top: 0;
    right: 0;
    background-color: white;
    text-align: center;
    border: 1px solid red;
}

#upload-overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #00000090;
    z-index: 9999;
}

#upload-overlay > .overlay-wrapper {
    height: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
}

#upload-overlay > .overlay-wrapper > .inner {
    background: white;
    border: 1px solid rgba(130, 200, 250, 0.9);
    border-radius: 10px;
    padding: 15px 30px;
    box-shadow: rgba(130, 200, 250, 0.8) 0 2px 8px 0;
}

#upload-overlay > .overlay-wrapper > .inner span {
    display: block;
    text-align: center;
}

#upload-overlay > .overlay-wrapper > .inner .please-wait {
    font-weight: bolder;
    padding-bottom: 10px;
}

#upload-overlay > .overlay-wrapper > .inner progress {
    height: 20px;
}

#upload-overlay > .overlay-wrapper > .inner progress {
    height: 20px;
}

#backup-progress-message > .in-progress {
}

#backup-progress-message > .finished {
}

.label-group {
    text-indent: 0.5em;
    display: block;
}
