.image-upload {
    position: relative;
    display: inline-block;
}

.image-upload-label {
    display: inline-block;
    padding: 10px 10px;
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.image-upload-label:hover {
    background-color: #e0e0e0;
}

.upload-icon {
    margin-right: 5px;
}

.upload-text {
    vertical-align: middle;
}


.input_file_upload {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    opacity: 0;
}

#modaladd_file_img2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    opacity: 0;
}

.image-preview-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-bottom: 10px;
}

.image-container {
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 5px;
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
    margin-right: 5px;
}

.image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

.featured-button {
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    color: #ff0000;
    width: 100%;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.delete-button {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    color: #ff0000;
    width: 100%;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

#chartjs-tooltip {
    opacity: 1;
    position: absolute;
    background: rgba(0, 0, 0, .7);
    color: white;
    border-radius: 3px;
    -webkit-transition: all .1s ease;
    transition: all .1s ease;
    pointer-events: none;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    z-index: 99999;
}

.chartjs-tooltip-key {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 10px;
}


.signature-pad {
    position: absolute;
    left: 0;
    top: 0;
    width: 400px;
    height: 200px;
    background-color: white;
}

.m-signature-pad {
    font-size: 10px;
    width: 400px;
    height: 150px;
    border: 1px solid #e8e8e8;
    /*  /background-color: #fff;*/
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
    border-radius: 4px;
    margin-left: auto;
    margin-right: auto;
}

.m-signature-pad--body canvas {
    width: 400px;
    height: 150px;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
}

.header-body {
    padding-top: 0.7rem !important;
}

.table-xs td,
.table-xs th {
    padding: 0.2rem;
    font-size: 0.8rem;
}

.table-xss td,
.table-xss th {
    padding: 0rem;
    font-size: 0.71rem;
}

.table-xs .form-control-sm {
    padding: .0rem .3rem !important;
}

/* select2 */
.select2-dropdown {
    z-index: 1051;
}

.select2 {
    width: 100% !important;
}

.select2-results__group {
    background-color: grey !important;
    color: #fff !important;
    text-align: center !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0.3rem !important;
}

.form-select2-sm .select2-container .select2-selection
{
    min-height: unset !important;
    /* line-height: unset !important; */
}

.form-select2-sm .select2-container .select2-selection .select2-selection__rendered{
    line-height: 28px !important;
    padding: unset !important;
    padding-left: 0.5rem !important;
    font-size: 0.813rem !important;
    border-radius: 0.125rem !important;
}

.select2-results {
    font-size: 0.813rem !important;
}


/* SELECT2 */
.select2-selection--multiple {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    float:left !important;
    color: lightcoral !important;
    padding-left: 5px !important;
}

.select2-search__field {
    margin: unset !important;
}

.select2-selection__choice__display {
    margin-left: -5px !important;
}

.select2-selection__clear {
    margin-right: unset !important;
}

.select2-selection--single {
    height: 100% !important;
}

.select2-selection__rendered{
    word-wrap: break-word !important;
    text-overflow: inherit !important;
    white-space: normal !important;
}

.select2-selection__choice{
    background-color:blue !important;
    margin-right: unset !important;
    background-color: gray !important;
    border: unset !important;
    margin-bottom: 0.1rem !important;
    margin-right: 0.1rem !important;
}
