/*Button action*/
.dt-button {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.buttons-html5,
.buttons-print {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
    box-shadow: none;
}

/*Image upload*/
.image-preview-area {
    display: inline-block;
    position: relative;
}

.image-preview-area .image-preview {
    margin-top: 10px;
    display: inline-block;
    width: 142px;
    height: 142px;
    background-position: center center;
    background-size: cover;
    /*background-color: #A8A8A8;*/
    /*border: 1px solid #eee;*/
}

.image-preview-area .image-preview img {
    /*border: 1px solid #eee;*/
    width: 140px;
    height: 100%;
    min-width: 100%;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
    object-fit: cover;
}

.user-image {
    object-fit: cover;
}

.user-header img {
    object-fit: cover;
}

.user-panel .info img {
    width: 34px;
    height: 34px;
    object-fit: cover;
}

.image-preview-verify,
.image-preview-verify img {
    margin-top: 10px;
    position: relative;
}

.image-preview-verify img {
    z-index: 101;
}

.image-preview-verify img:first-child {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

.image-preview-area .delete-image-preview {
    background-color: #fff;
    line-height: 1em;
    font-size: 1.2em;
    position: absolute;
    top: 20px;
    right: 10px;
    display: none;
    cursor: pointer;
}

.image-preview-area .delete-image-preview.show {
    display: inline-block;
}

.image-preview-area .delete-image-preview i {
    border: solid 1px #fff;
    box-shadow: 0 0 8px #fff
}

.image-upload-label {
    color: #d9534f;
    display: block;
}

.login-page,
.register-page {
    background-color: #0093E9 !important;
    background-image: linear-gradient(160deg, #0093E9 0%, #80D0C7 100%) !important;
}

.login-card-body,
.register-card-body {
    border-radius: 10px;
}

.hide {
    display: none;
}

.show {
    display: block;
}

.stepwizard-step p {
    margin-top: 10px;
}

.stepwizard-row {
    display: table-row;
}

.stepwizard {
    display: table;
    width: 100%;
    position: relative;
}

.stepwizard-step button[disabled] {
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
}

.stepwizard-row:before {
    top: 14px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 100%;
    height: 1px;
    background-color: #ccc;
    z-order: 0;
}

.stepwizard-step {
    display: table-cell;
    text-align: center;
    position: relative;
}

.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}

.btn-primary-modif {
    color: #fff !important;
    background-color: #007bff !important;
    border-color: #007bff !important;
    box-shadow: none !important;
}

.border-only-bottom {
    border: 0 !important;
    border-bottom: 1px solid #ced4da !important;
}

.reload {
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 9999999999999;
    background: #f1f2fc url(https://mir-s3-cdn-cf.behance.net/project_modules/disp/09b24e31234507.564a1d23c07b4.gif) no-repeat fixed center;
    opacity: 0.9;
}

input[type="checkbox"] {
    outline: 1px solid #000 !important;
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
    padding-left: 2.25rem !important;
    background-position: center left calc(.375em + .1875rem) !important;
}

.select2-container {
    width: 100% !important;
}

input[type='radio'][readonly] {
    pointer-events: none;
}

input[type='radio']:read-only {
    pointer-events: none;
}

.one-line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-width-height {
    height: 30px;
    widows: 30px;
}

.datepicker.datepicker-dropdown.dropdown-menu.datepicker-orient-left.datepicker-orient-top {
    z-index: 9999999999999999 !important;
}

.dt-button.buttons-collection.buttons-page-length,
.dt-button.buttons-reload {
    background: #17a2b8;
    color: #fff;
}

.dt-button.button-page-length {
    background: #6a48f2;
    color: #fff;
    margin-top: 2px;
    border-radius: 5px !important;
}

.pad-bottom-10 {
    margin-bottom: 10px;
}

.gallery {
    display: inline-block;
    margin-top: 20px;
}

.close-icon {
    border-radius: 50%;
    position: absolute;
    right: 5px;
    top: -10px;
    padding: 5px 8px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.control-sidebar .nav-sidebar .nav-link {
    color: white;
}

.alert-orange {
    background: #fd7e14;
    color: #FFF;
}

.cus-disabled {
    pointer-events: none;
}

#description-checkbox {
    padding: 7px;
}

.blink {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.buttons-white {
    background-color: #fff !important;
}

.nav-item.Covid-19_Daily_Self_Monitoring a p {
    font-size: 14px !important;
}

.clinical-row .btn-outline-primary:hover {
    color: #3b92f0;
    background-color: #007bff;
    border-color: #007bff;
}

.clinical-row .btn-outline-success:hover {
    color: #31c252;
    background-color: #28a745;
    border-color: #28a745;
}

.clinical-row .btn-outline-danger:hover {
    color: #e65a67;
    background-color: #dc3545;
    border-color: #dc3545;
}

.clinical-row .btn-outline-info:hover {
    color: #44b7c9;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.clinical-row .btn-outline-warning:hover {
    color: #edc95c;
    background-color: #ffc107;
    border-color: #ffc107;
}

#monitoring,
#needDoctor {
    cursor: pointer;
}

@media only screen and (max-width:500px) {

    /* For mobile phones: */
    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        justify-content: unset !important;
    }
}

.error-message {
    color: red;
    font-size: 0.7rem;
    display: revert;
    margin-top: 5px;
}

.image.area_location {
    padding-top: 8px;
}

.nav.nav-treeview {
    background-color: #474f57 !important;
    border-radius: 4px;
}

.user-panel,
.user-panel .info {
    white-space: normal !important;
}

/* Complaints message styles */
.message-item {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-body::-webkit-scrollbar {
    width: 6px;
}

.card-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.card-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.card-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}