
html * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    box-sizing: border-box;
    font-size:0.9rem;
}
::-webkit-scrollbar {
    width: 16px;
}
::-webkit-scrollbar-track {
    background-color: #e4e4e4;
}
::-webkit-scrollbar-thumb {
    background: #33b5e5;
    border: 6px solid rgba(0, 0, 0, 0.2);
}


.sb-sidenav-menu .nav .nav-link.active {
    background-color: #33b5e5;
}
.search input[type=text]{
    border-color: red; /*Set the border color for search box*/
}
mark{
    background-color: yellow;
}
/*Appointments CSS*/

.icon{
    margin-right: 0.25rem !important;
    margin-left: 0.25rem !important;
}

.icon:hover{
    cursor: pointer;
    transform: scale(1.3);
}

.fa-thumbs-up.icon-active{
    color: green;
    transform: scale(1.3);
}
.fa-thumbs-down.icon-active{
    color: red;
    transform: scale(1.3);
}
.fa-ban.icon-active{
    color: gray;
    transform: scale(1.3);
}


.fa-thumbs-up:hover{
    color: green;
}
.fa-thumbs-down:hover{
    color: red;
}
.fa-ban:hover{
    color: gray;
}


.bg-deleted{
    background-color: #ff8484;
}

.appointment-view-active:hover,
.appointment-view-active{
    background-color: #0dcaf0;
}
.dot {
    border: 1px solid;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    display: inline-block;
}

.table-appointment-list thead tr th:first-child,
.table-appointment-list tbody tr td:first-child {
    width: 7em;
    min-width: 7em;
    max-width: 7em;
    word-break: break-all;
}
.table-appointment-week thead tr th:first-child,
.table-appointment-week tbody tr td:first-child {
    table-layout: fixed;
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    word-break: break-all;
}
.appointment-card{
transition: all .2s ease-in-out;
}
.appointment-card:hover{
transform: scale(1.03);
}

/*Appointments CSS*/

.sidebar-reminder {
    -webkit-animation: pulsate 10s ease-out;
    -webkit-animation-iteration-count: infinite;
    opacity: 0.3;
}
@-webkit-keyframes pulsate {
    0% { opacity: 0.3; }
    50% { opacity: 1.0; }
    100% { opacity: 0.3; }
}

.checkbox-xl{
    margin-top: 10px;
    scale:27.2px;
}

img.avatar-50 {
    border: solid  1px #33b5e5;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    overflow: hidden;
    transition: all .2s;
    -webkit-transition: all .2s;
}
#searchWrapper {
    position: absolute;
    border: solid 1px black;
    overflow-y: auto;
    overflow-x: auto;
    max-height: 650px;
    height: auto;
    z-index: 1001;
}
#searchWrapper a:hover > ul li{
    background-color: #0dcaf0;
}

.border-radius-bottom-0 {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.pointer{
    cursor: pointer;
}
.zoom:hover {
    cursor: zoom-in;
}
@media (min-width: 1200px) {
    .modal-xl {
        max-width: 80%;
    }
}
@media (min-width: 992px) {
    .modal-xl {
        max-width: 80%;
    }
}

.card {
    box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
    border-radius: 12px;
}
.form-label {
    color: #aaa;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.42857;
}
.borderless td, .borderless th {
    border-style: none;
}
.scale-i{
    transition: all .2s ease-in-out;
}
.scale-i:hover{
    transform: scale(1.1);
}

.form-label {
    color: #aaa;
    font-weight: 400;
}
.form-label {
    font-size: 14px;
    line-height: 1.42857;
}

.page-button {
    background: lightgrey;
    position: relative;
    min-width: 81px;
    min-height: 81px;
    width: 81px;
    height: 81px;
    border: none;
    border-radius: 50%;

}

.page-button:hover {
    box-shadow: 0 1px 10px #33b5e5;
}
.page-active {
    color: white;
    background: #33b5e5;
    box-shadow: 0 1px 10px #33b5e5;
}
.tabmenu-icon{
    top:25%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
}
.icon-size-big {
    font-size: 18px;
}
.icon-position-center {
    margin-left: auto;
    margin-right: auto;
    display: block !important;
}
.btn-style-off {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}
.borderless td, .borderless th {
    border-style: none;
}

.patient-avatar,
.file-preview{
    max-width: 100%
}


.file-preview-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.preview-item {
    max-width: 355px;
    max-height: 355px;
    overflow: hidden;
}
.preview-item img, .preview-item video {
    width: 100%;
    height: auto;
}
.preview-item {
    margin-bottom: 10px;
}

.scroll-up {
    position: fixed;
    right: 25px;
    bottom: 25px;
    display: none;
    z-index:99;
    width: 48px;
    height: 48px;
    border-radius: 50%;
}
.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > td,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > thead > tr > th
{
    border: none;
}
.table-borderless > thead > tr {
    border-style: none;
    border-bottom: solid 2px black;
}
.today {
    background-color: #cacaca;
    color: #0a58ca;
}

.avatar-container {
    position: relative;
}
.avatar-image {
    object-fit: cover;
    max-height: 100%;
    max-width: 100%;
    overflow: hidden;
    transition: all .2s;
    -webkit-transition: all .2s;
    border-radius: 100%;
    border: 6px solid #33b5e5;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}

.avatar-input {
    top:0;
    right: 0;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.avatar-input + label {
    color: #aaa;
    display: inline-block;
}
.avatar-input:focus + label,
.avatar-input + label:hover {
    color: black;
    cursor: pointer;
}
.avatar-image:hover {
    cursor: zoom-in;
}
.avatar-upload {
    position: absolute;
    top: calc(-3px + 7%);
    right: calc(-3px + 7%);
    border-radius: 100%;
    width: 34px;
    height: 34px;
    display: inline-block;
    margin-bottom: 0;
    background: #FFFFFF;
    border: 1px solid black;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    font-weight: normal;
    transition: all .2s ease-in-out;
    text-align: center;
}
.avatar-upload:hover{
    background: #f1f1f1;
    border: 1px solid black;
}
.tabmenu-notification {
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 100%;
    width: 25px;
    height: 25px;
    display: inline-block;
    margin-bottom: 0;
    background: #FFFFFF;
    border: 1px solid black;
    cursor: pointer;
    font-weight: normal;
    transition: all .2s ease-in-out;
    text-align: center;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
    transform: scale(1);
    color: black;
}

.pulsing{
    color: red;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 5px rgba(0, 0, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

[data-tooltip] {
    position: relative;
}
[data-tooltip]:hover::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    right:-5px;
    display: inline-block;
    padding: 3px 6px;
    border:1px solid black;
    border-radius: 5px;
    background: #ffffff;
    color: #000000;
    font-size: 15px;
    white-space: nowrap;
    z-index: 1;
}
[data-tooltip]:hover::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 6px;
    display: inline-block;
    border: 8px solid transparent;
    border-bottom: 8px solid #000;
}

.preview{
    position: relative;
    height: 500px;
    background-color: #0d6efd;
}
.preview textarea{
    width: 100%;
    height: 100%;
}
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    height: 1em;
    width: 1em;
    border-radius: 50em;
    background: url(https://pro.fontawesome.com/releases/v5.10.0/svgs/solid/times-circle.svg) no-repeat 50% 50%;
    background-size: contain;
    opacity: 0;
    pointer-events: none;
}
input[type="search"]:focus::-webkit-search-cancel-button {
    opacity: .3;
    pointer-events: all;
}

.card-hover:hover{
    border: 1px solid #0dcaf0;
}
.card-hover:hover p{
    text-decoration: underline;
}
.nav-tabs {
    border-bottom: 1px solid #0dcaf0;
}
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    color: #495057;
    background-color: #fff;
    border-color: #0dcaf0 #0dcaf0 #fff;
}

.btn-outline-pink {
    color: #212529; /* Text color */
    border-color: #ff1493; /* Border color (DeepPink) */
    background-color: transparent; /* Transparent background */
}

.btn-outline-pink:hover {
    color: #fff; /* Text color on hover */
    background-color: #ff1493; /* Background color on hover (Green) */
}

.btn-outline-pink.active {
    color: #fff; /* Text color when active */
    background-color: #ff1493; /* Background color when active (slightly darker green) */
}

.btn-outline-green {
    color: #212529; /* Text color */
    border-color: #28a745; /* Border color (Green) */
    background-color: transparent; /* Transparent background */
}

.btn-outline-green:hover {
    color: #fff; /* Text color on hover */
    background-color: #28a745; /* Background color on hover (Green) */
}

.btn-outline-green.active {
    color: #fff; /* Text color when active */
    background-color: #218838; /* Background color when active (slightly darker green) */
}

/* Custom CSS for Yellow Button */
.btn-outline-yellow {
    color: #212529; /* Text color */
    border-color: #ffc107; /* Border color (Yellow) */
    background-color: transparent; /* Transparent background */
}

.btn-outline-yellow:hover {
    color: #fff; /* Text color on hover */
    background-color: #ffc107; /* Background color on hover (Yellow) */
}

.btn-outline-yellow.active {
    color: #fff; /* Text color when active */
    background-color: #d39e00; /* Background color when active (slightly darker yellow) */
}

.btn-outline-orange {
    color: #212529; /* Text color */
    border-color: #ff6800; /* Border color (Yellow) */
    background-color: transparent; /* Transparent background */
}

.btn-outline-orange:hover {
    color: #fff; /* Text color on hover */
    background-color: #ff6800; /* Background color on hover (Yellow) */
}

.btn-outline-orange.active {
    color: #fff; /* Text color when active */
    background-color: #e35b00; /* Background color when active (slightly darker yellow) */
}

.border-orange {
    border-color: #ff6800 !important;
}

.border-pink {
    border-color: #ff1493 !important;
}

.border-green {
    border-color: #28a745 !important;
}

.border-yellow {
    border-color: #ffc107 !important;
}
