/* Dashboard */
.mails .mail-select {
    padding: 12px 20px;
    min-width: 134px;
}

.mails .checkbox {
    margin-bottom: 0;
    margin-top: 0;
    vertical-align: middle;
    display: inline-block;
}

.media-scroll {
    overflow-y: scroll;
    max-height: 400px
}

.media-block .img-wrap {
    cursor: pointer;
    margin: 5px 5px 0 0;
    border: 1px solid #dee2e6;
    display: inline-block !important
}

.media-block .img-wrap.selected {
    border: 5px solid #0073b7
}

.media-scroll-md {
    overflow-y: scroll;
    max-height: 320px
}

.media-block-md .img-wrap {
    cursor: pointer;
    margin: 5px 5px 0 0;
    border: 1px solid #dee2e6;
    display: inline-block !important
}

.media-block-md .img-wrap.selected {
    border: 3px solid #0073b7
}

.text-title {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

@media (max-width: 425px) {
    .error-wrap.offline {
        background: none;
    }

    .text-title {
        max-width: 250px !important;
    }
}

.swal2-container {
    z-index: 999999 !important
}

.ws-normal {
    white-space: normal !important;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    cursor: inherit;
    display: block;
}

select.form-control-sm {
    height: calc(1.4em + 1rem + 2px) !important;
    background-position: calc(100% - 12px) 8px, calc(100% - 20px) 13px, 100% 0 !important;
}

.form-control-sm {
    font-size: 0.9rem;
}

.input-group-sm {
    font-size: 0.9rem;
}

.form-control.form-control-sm::-webkit-input-placeholder {
    font-size: 0.9rem;
    color: #343439;
}

.form-control.form-control-sm::-moz-placeholder {
    font-size: 0.9rem;
    color: #343439;
}

.form-control.form-control-sm:-ms-input-placeholder {
    font-size: 0.9rem;
    color: #343439;
}

.form-control.form-control-sm::-ms-input-placeholder {
    font-size: 0.9rem;
    color: #343439;
}

.form-control.form-control-sm::placeholder {
    font-size: 0.9rem;
    color: #343439;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #343439;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #343439;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #343439;
}

.card-header .btn-sm {
    padding: 0.7rem 1.5rem;
    font-size: 0.8rem;
}

.form-control::-webkit-input-placeholder, .form-control::placeholder { /* Edge */
    color: #959494;
}

.picker {
    min-width: 320px;
}

.select2-container--classic .select-sm2, .select2-container--default .select-sm2 {
    min-height: calc(1.4em + 1rem + 2px) !important;
    padding: 0.2rem 0.2rem;
    font-size: 0.86rem;
    margin-bottom: 0 !important;
    line-height: 1.5;
}

.picker__input.form-control-sm {
    padding: 1.1rem 0.6rem;
}

.modal .modal-md {
    width: 100%;
    max-width: 100%;
}

@media (min-width: 980px) {
    .modal .modal-md {
        max-width: 720px;
    }
}


.group-input-line {
    border-bottom: 1px dotted rgba(0, 0, 0, 0.35);
    margin-bottom: 5px;
    min-height: 21px;
    font-family: Arial, sans-serif;
}

.group-input-line > .group-label {
    padding-top: 4px;
    padding-bottom: 6px;
    background: #fff;
    border-color: transparent !important;
}

.form-print .form-text-invoice {
    font-size: 1em;
    font-weight: 500;
    color: #000;
    letter-spacing: 0;
    font-family: Arial, sans-serif;
}

.form-print .total-money .form-text-invoice {
    font-size: 1.2em;
}

.form-print .form-text {
    font-size: 1em;
    font-weight: 500;
    color: #000;
    font-family: Arial, sans-serif;
    letter-spacing: 0; }

.group-input-line > div {
    display: inline;
}

.a5 {
    font-size: 13px;
}


.group-main-title {
    font-family: Arial, sans-serif;
    font-size: 1em;
    margin-bottom: 20px;
}

table.table-invoice {
    margin-top: 10px;
    margin-bottom: 5px;
    margin-right: 15px;
}

table.table-invoice td {
    font-size: 1.2em;
    border: 1px solid #000 !important;
}

table.table-invoice td, table.table-invoice thead tr th {
    height: 30px;
}

table.table-invoice thead tr th {
    font-size: 1em !important;
    border: 1px solid #000 !important;
    background-color: #808080bd;
}

.form-print.time-new-roman .form-text {
    font-family: 'Times New Roman', serif; }

.form-print .table-bordered {
    border: 1px solid #000;
}

.form-print table {
    width: 96%;
}

.table-bordered {
    border: 1px solid #e4e7ea;
}

.group-main-title .address-hotline-label {
    font-size: 1.2em;
    font-weight: 400;
}

.group-content .block-signal {
    overflow: hidden;
    padding-top: 15px;
    margin-bottom: 15px;
}

.dotted {
    border-bottom: 2px dotted #000;
    border-bottom: 2px dotted #000;
}

.group-main-title .address-label {
    margin-bottom: 10px;
}

.group-main-title .center-title {
    text-align: center;
}

.group-main-title .invoice-title {
    font-size: 1.33em;
    margin-bottom: 7px;
}

.group-main-title .center-title .invoice-title {
    font-size: 1.6em;
}

.border-bottom {
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
}

.form-print .form-main-title.large {
    font-size: 1.6em;
    line-height: 21px;
    font-weight: 600;
}

.form-print .form-text-invoice.text-small {
    font-size: 0.9em;
}

.form-print .form-main-title {
    font-family: Arial, sans-serif;
    font-size: 1.25em;
    line-height: 1;
}

.form-print h1, h2, h3, h4, h5, h6 {
    font-weight: 600 !important;
}

.text-center {
    text-align: center;
}

ol.list-medicine {
    padding-left: 15px;
}

.form-print strong, .form-print table > tbody > tr > td {
    color: #000;
}


@media print {

    .form-print * {
        visibility: visible;
        overflow: visible;
    }
    #mainPage * {
        display: none;
    }
    .modal.invoice {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
        padding: 0;
        min-height: 550px;
        visibility: visible;
        /**Remove scrollbar for printing.**/
        overflow: visible !important;
    }
    .modal-dialog.invoice {
        visibility: visible !important;
        /**Remove scrollbar for printing.**/
        overflow: visible !important;
    }

    @page {
        font-size: 1.2em;
        font-family: Arial, sans-serif;
        margin: 15px;
    }

    h1,h2,h3,h4,h5,p, table {
        font-family: Arial, sans-serif;
    }

    .modal-body {
        padding: 0!important;
    }

    .modal-scrollable {
        position: static !important;
    }

    .modal-print-scrollable {
        position: static !important;
    }

    .modal-backdrop {
        display: none !important;
    }

    .print-hidden {
        display: none !important;
    }

    .print-visible {
        display: block !important;
    }

    .form-print {
        padding: 20px !important;
        max-width: 100% !important;
        page-break-after: auto;
    }



    ol li, ol li > div {
        page-break-after: always;
        page-break-inside: avoid;
    }

    .a5 {
        font-size: 11px;
    }

    .modal {
        width: 100%;
        border: none !important;
        margin: 0 0 0 0 !important;
    }

    .group-main-title {
        margin-top: 0px !important;
        margin-bottom: 5px !important;
    }

    .group-main-title .invoice-title {
        font-size: 1.2em;
        margin-bottom: 5px;
    }

    .a5 .group-content .block-signal {
        padding-top: 5px;
        margin-bottom: 0;
    }

    table.table-invoice td {
        font-size: 1.2em;
    }

    table.table-invoice td, table.table-invoice thead tr th {
        height: 20px;
    }

    table.table-invoice {
        margin-bottom: 5px;
    }

    thead tr th {
        font-size: 1em !important;
        border: 1px solid #000;
        background-color: #808080bd !important;
        -webkit-print-color-adjust: exact;
    }

    table.table-invoice > tbody > tr > td {
        line-height: 0.9em;
        border: 1px solid #000;
    }

    .a5 table.table-invoice > tbody > tr > td, .a5 table.table-invoice th {
        padding: 5px 8px !important;
    }

    table.table-invoice thead tr.total-money {
        background-color: #808080bd !important;
        -webkit-print-color-adjust: exact;
    }

    .examination-content {
        margin-left: 0;
        margin-right: 0;
    }

    .dt-print .form-group {
        page-break-inside: avoid;
    }

    .a4 {
        font-size: 16px;
    }

    body {
        background-color: #fff !important;
        direction: ltr;
    }

    .content-wrapper {
        padding: 0!important;
    }

    .a4 {
        font-size: 1.5em;
    }

    .a4 h3, .a4 h4 {
        font-size: 2em;
    }

    .invoice {
        margin: 30px;
    }

    table {
        page-break-inside: auto;
        width: 100%;
    }

    tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }

    thead {
        display: table-header-group;
    }

    tfoot {
        display: table-footer-group;
    }



    .card-print .card-body {
        display: flex!important;
        justify-content: flex-start;
    }

    .table-print {
        width: 85%!important;
        font-size: 1.5em;
        margin-top: 15px;
    }



}

.table-print {
    width: 100%;
}
.card-print .card-body {
    display: flex;
    justify-content: flex-start;
}

.card-header .btn[class*='btn-'].btn-sm {
    padding-top: calc(0.6rem - 1px);
    padding-bottom: calc(0.6rem - 1px);
}

.card-header .btn[class*='btn-outline-'].btn-sm {
    padding-top: calc(0.5rem - 1px);
    padding-bottom: calc(0.5rem - 1px);
}

.table-bordered {
    border : 1px solid #626262;
}
.table-bordered th, .table-bordered td,.table-bordered  th {
    border : 1px solid #626262;
}
.table-bordered thead th, .table-bordered thead td,.table-bordered  th {
    border-bottom-width : 2px;
}