﻿
/* For smaller screens */
@media (max-width: 480px) {
    .note-toolbar {
        display: block !important;  
        flex-direction: row-reverse;
    }
}

.main-panel {
    background: #fff !important;
}
.profile-image-container {
    position: relative;
}

.copy-icon {
    cursor: pointer;
}

.btn.dropdown-toggle {
    display: block !important;
}

.badge-small {
    font-size: 0.5rem; /* Smaller font size */
    padding: 0.4em 0.4em; /* Padding for the badge */
}
.alert-warning {
    border-radius: 1px;
}

.error {
    color: #dc3545 !important;
}
label {
    font-weight: 600;
    /* font-size: 18px;*/
}

.admin-sidebar .admin-nav-item {
    width: 100%;
}

.admin-side-bar-icon {
    -moz-filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

/*.admin-menu {
    border-right: 2px solid #e1e1e1;
}*/

.underline {
    text-decoration: underline;
}
.image-container {
    position: relative; /* Set the container's position to relative */
}

.overlay {
    background-color: rgba(255, 255, 255, 0.5); /* Background color and opacity for the overlay */
    bottom: 0; /* Position the overlay at the bottom of the container */
    color: #fff; /* Text color for the overlay content */
    left: 0;
    position: absolute; /* Set the overlay's position to absolute */
    width: 100%; /* Make the overlay cover the entire image */
}
@media (max-width: 768px) {
    .admin-sidebar {
        position: relative;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 1000;
        padding: 20px 0;
        overflow-x: hidden;
        overflow-y: auto;
        border-bottom: 2px solid #eee;
        width: 100%;
        padding: 20px;
        background: #fff;
    }

    .admin-menu {
        position: relative;
    }

    .card-wizard .wizard-navigation {
        visibility: hidden !important;
    }

    .card-footer {
        padding: 0;
    }

    .cr-boundary {
        width: auto !important;
        height: 300px !important;
    }
}
/**********************************************************Move to Core *******************************************************/

/* *********************************************************Fix for select picker width********************************/
.bootstrap-select .dropdown-toggle .filter-option-inner-inner {
     text-wrap: wrap;
     overflow: hidden;
 }

.bootstrap-select.show-tick .dropdown-menu li a span.text {
    text-wrap: wrap
}

.bootstrap-select > .dropdown-toggle.bs-placeholder.btn-primary{
}

.bootstrap-select > .bootstrap-select > .dropdown-toggle.disabled {
    background: grey !important;
    color: #000;
    opacity: 0.5;
}
/****************************************Custom Scrollbar********************************************************************************/
/* Custom Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px; /* Width of the vertical scrollbar */
    height: 8px; /* Height of the horizontal scrollbar */
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #2f749c; /* Thumb color */
    border-radius: 4px; /* Roundness of the thumb */
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #245f70; /* Darken the color a bit on hover for feedback */
}

/* Track */
::-webkit-scrollbar-track {
    background: #f0f0f0; /* Light track color */
    border-radius: 4px; /* Match the thumb's roundness */
}

/* Optional: Track shadow to give some depth */
::-webkit-scrollbar-track:shadow {
    box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

/* Corner */
::-webkit-scrollbar-corner {
    background: #f0f0f0;
}


.note-panel {
    background-color: rgba(207, 226, 247, 0.5); /* Soft, light blue */
    border-color: #559cd9; /* Medium blue border for better contrast */
}

.note-panel .card-header {
    background-color: rgba(186, 212, 239, 0.6); /* Slightly deeper blue for the header */
    color: #24567a; /* Dark blue for text, good contrast on light backgrounds */
}

.info-panel {
    background-color: #e5e5e5; /* Soft, light blue */
    border-color: #495057; /* Medium blue border for better contrast */
}

.info-panel .card-header {
        background-color: rgba(186, 212, 239, 0.6); /* Slightly deeper blue for the header */
        color: #24567a; /* Dark blue for text, good contrast on light backgrounds */
    }





/****************************************Typeahead********************************************************************************/
.label-info {
    cursor: pointer;
    margin: 5px 3px 5px 0;
    position: relative;
    padding: 4px 8px 3px 0.8em;
    border-radius: 12px;
    color: #fff;
    font-size: .75em;
    font-weight: 500;
    display: inline-block;
    line-height: 1.5em;
    text-transform: uppercase;
    border-color: #17b028;
    background-color: #17b028;
}

.accordion {
    margin-bottom: -3px;
}

.accordion-group {
    border: none;
}

.twitter-typeahead .tt-query,
.twitter-typeahead .tt-hint {
    margin-bottom: 0;
}

.twitter-typeahead .tt-hint {
    display: none;
}

.tt-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
    cursor: pointer;
}

.tt-suggestion {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.428571429;
    color: #333333;
    white-space: nowrap;
}

.tt-suggestion:hover,
.tt-suggestion:focus {
    color: #ffffff;
    text-decoration: none;
    outline: 0;
    background-color: #428bca;
}

.hidden {
    display: none;
}

.align-bottom {
    display: flex;
    align-items: end;
}

::-webkit-input-placeholder {
    font-style: italic;
}

:-moz-placeholder {
    font-style: italic;
}

::-moz-placeholder {
    font-style: italic;
}

:-ms-input-placeholder {
    font-style: italic;
}

.bs-invalid,
.bs-invalid:focus {
    background-color: red !important;
}
