﻿.activenav {
    background-color: #00aa91;
    color: white;
    border-radius: 0.5rem;
}

div.dataTables_wrapper div.dataTables_processing:before {
    content: "\f021"; /* Unicode character for the refresh icon in Font Awesome */
    font-family: "Font Awesome 5 Free"; /* Specify the Font Awesome font family */
    font-size: 24px; /* Adjust the size of the icon */
    display: block; /* Ensure the icon is displayed as a block element */
    margin-bottom: 10px; /* Adjust the spacing between the icon and the text */
    animation: spin 1s linear infinite; /* Apply the spin animation */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    /* Start rotating from 0 degrees */
    100% {
        transform: rotate(360deg);
    }
    /* End rotating at 360 degrees */
}

div.dataTables_wrapper div.dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    margin-left: -100px;
    margin-top: -26px;
    text-align: center;
    padding: 1em 0;
    background: #00ae8d !important;
    border-radius: 10px;
    z-index: 999;
    color: white;
}

.VerifiedSDGTableCell {
    display: flex;
    flex-wrap: wrap;
}

    .VerifiedSDGTableCell div {
        flex: 1 1 calc(20% - 5px); /* Each div takes up 20% of the width minus margin */
    }

.error {
    color: red;
    font-weight: normal !important;
}

.shiftButtonToRight {
    float: right;
    text-align: right;
}

.select2-container--default .select2-selection--multiple {
    background-color: white;
    border: 1px solid #d2d6da !important;
    border-radius: 8px !important;
    cursor: text;
}

.asterisk_input {
    color: #e32;
}

.card .card-body {
    padding: 20px !important;
}

.btnrght {
    float: right;
    text-align: right;
}

.form-switch .form-check-input {
    width: 2.5rem !important;
}

    .form-switch .form-check-input:checked {
        border-color: rgb(0, 174, 141) !important;
        background-color: rgb(0, 174, 141) !important;
    }

.certificateDownload {
    text-decoration: underline;
    color: blue;
}

.VerifiedSDGTableCell {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: 76px;
    justify-content: normal;
}

.grid-item {
    /*flex: 1 1 auto;
            margin: 0.25rem;
            max-width: 4rem;*/
}

    .grid-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        width: 30px;
        height: 30px;
        object-fit: cover;
        border-radius: 0.15rem;
        transition: transform .2s;
        margin: 0 auto;
        position: relative;
    }



        .grid-item img:hover {
            transform: scale(2.5);
            z-index: 9999;
        }
/* Reduce column width to fit in window */
table.dataTable thead th,
table.dataTable tbody td {
    white-space: nowrap !important;
    /*overflow: hidden !important;*/
    text-overflow: ellipsis !important;
}

/* Allow text wrapping */
table.dataTable thead th,
table.dataTable tbody td {
    white-space: normal !important;
    word-wrap: break-word !important;
}
.custom-colvis-btn {
    background-color: #00b894; /* Bootstrap green */
    color: white;
    font-weight: bold;
    border-radius: 10px;
    padding: 6px 16px;
    border: none;
}

custom-colvis-btn:hover {
    background-color: #001f3f; /* Navy blue */
    color: white !important;
}
