@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/*@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;700&display=swap');

html, body {
    font-family: 'Oswald', sans-serif !important;
}*/
/*DEFAULT CODE START*/
/*html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI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1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}
*/
/*DEFAULT CODE END*/

/*CUSTOM CODE START*/
.mb_60 {
    margin-bottom: 60px !important;
}

.loaging-image-div-main {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
}

    .loaging-image-div-main > img {
        height: 150px;
        object-fit: contain;
    }

.loader-progress-text {
    position: absolute;
    top: 30%; /* You can adjust this value if needed */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.8); /* Optional: Adds a background for better visibility */
    padding: 5px; /* Optional: Adds some padding around the text */
    z-index: 10; /* Ensures it stays above other content */
}

.alert-light-white {
    background-color: white !important;
    color: #000000;
    font-size: 3vh;
}

.div-main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.div-middle-container {
    max-width: 500px;
    width: 100%;
    margin: auto;
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
}

.div-main-container-single {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 80vh; /* Use 100vh to ensure the container takes up the full height of the viewport */
}

.div-main-container-single-2 {
    text-align: left;
    width: 100%;
    height: 80vh; /* Use 100vh to ensure the container takes up the full height of the viewport */
}

.div-middle-container-single {
    max-width: 500px;
    width: 100%;
    margin: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.div-middle-container-single-confirmation {
    max-width: 800px;
    width: 100%;
    margin: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.div-middle-container-single-2 {
    width: 100%;
    margin: auto;
}

.scrollable-div {
    max-height: 600px;
    height: 80vh;
    width: 100%;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
}

.selected-files {
    max-height: 300px;
    height: 80vh;
    width: 100%;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
}

.sync-options-div {
    overflow-x: auto;
    white-space: nowrap;
    width: 98%;
}

    .sync-options-div select {
        font-size: 1.5rem;
    }

.sync-user-div {
    overflow-x: auto;
    white-space: nowrap;
    width: 98%;
}

.sync-user-role-div {
    background-color: rgba(0, 0, 0, 0.2);
    margin: 10px 2px;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 10px 15px;
    border: 1px solid #808080;
}

.div-app-name {
    color: white;
    border-radius: 10px 10px 0 0;
    padding: 10px;
}

    .div-app-name a {
        color: inherit;
        text-decoration: none;
    }

.div-form-container {
    width: 100%;
    margin: auto;
    padding: 20px;
}

.div-footer {
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    background-color: #ececec;
}

    .div-footer a {
        margin-left: 10px;
        text-decoration: none;
    }

    .div-footer img {
        max-height: 30px;
    }

.custom-textarea {
    height: 150px !important;
}

.custom-textarea-2 {
    height: 126px !important;
}

.nodata-div {
    font-size: 2vw;
    text-align: center;
    margin: auto;
    padding: 40px 0;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.create-link {
    font-size: 2.5vh;
    text-decoration: none;
    margin-right: 5px;
}

.force-word-breaks {
    word-break: break-word;
    overflow-wrap: break-word;
}

.bottom-action-buttons {
    margin-top: 10px;
    margin-bottom: 70px;
}

.header-link {
    font-size: 1.5vw !important;
    padding: 30px;
}

    .header-link i {
        margin-right: 10px;
    }

.header-link-links {
    margin-top: 20px;
}

    .header-link-links a {
        text-decoration: none;
        font-size: 1.1vw;
    }

.header-link-disabled {
    font-size: 1.5vw !important;
    padding: 30px;
    cursor: default;
}

    .header-link-disabled i {
        margin-right: 10px;
    }

.see-more-link {
    text-decoration: none;
    margin-left: 10px;
}

.file-upload-files-name {
    font-size: 11px !important;
}

.manage-rule-container {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.demo-text {
    font-size: 1.3rem;
    color: red;
    font-weight: bold;
    text-transform: uppercase;
}

.bottom-align {
    vertical-align: bottom;
}

.import-rules-header {
    font-size: 1.2rem;
}
/* Lowercase */
.text-lowercase {
    text-transform: lowercase;
}

/* Uppercase */
.text-uppercase {
    text-transform: uppercase;
}

/* Capitalize only the first letter of the first word */
.text-capitalize-first {
    text-transform: none; /* Reset any previous transformations */
    display: inline-block; /* Ensure ::first-letter works */
}

    .text-capitalize-first::first-letter {
        text-transform: uppercase;
    }

/* Capitalize the first letter of every word */
.text-capitalize-all {
    text-transform: capitalize;
}

.cbcl-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Creates 3 equal-width columns */
    gap: 1rem; /* Adds spacing between items */
    max-height: 740px; /* Set a maximum height for the container */
    overflow-y: auto; /* Enable vertical scrolling when content overflows */
    border: 1px solid #ccc; /* Optional: Add a border for better visualization */
    border-radius: 10px;
    padding: 1rem; /* Optional: Add padding inside the container */
}

.cbcl-grid-small {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Creates 3 equal-width columns */
    gap: 1rem; /* Adds spacing between items */
    max-height: 200px; /* Set a maximum height for the container */
    overflow-y: auto; /* Enable vertical scrolling when content overflows */
    border: 1px solid #ccc; /* Optional: Add a border for better visualization */
    border-radius: 10px;
    padding: 1rem; /* Optional: Add padding inside the container */
}

.cbcl-item {
    display: flex; /* Use flexbox to align the checkbox and label */
    align-items: center; /* Vertically align the checkbox and label */
}

.cbcl-label {
    white-space: normal; /* Allow text to wrap */
    word-break: break-word; /* Break words if necessary */
    overflow-wrap: break-word; /* Wrap long words onto the next line */
    margin-left: 0.5rem; /* Add spacing between the checkbox and label */
}

.img_certificate {
    width: 100%;
    max-width: 300px;
    max-height: 400px;
}

.file_upload_note {
    margin-top: 10px;
    margin-bottom: 10px;
    font-style: italic;
}
/*CONTROL WIDTH START*/
.control-width-auto {
    width: auto;
}

.cw-25 {
    width: 25px !important;
}

.cw-40 {
    width: 40px !important;
}

.cw-50 {
    width: 50px !important;
}

.cw-60 {
    width: 60px !important;
}

.cw-80 {
    width: 80px !important;
}

.cw-100 {
    width: 100px !important;
}

.cw-120 {
    width: 120px !important;
}

.cw-150 {
    width: 150px !important;
}

.cw-180 {
    width: 180px !important;
}

.cw-200 {
    width: 200px !important;
}

.cw-220 {
    width: 220px !important;
}

.cwmax-25 {
    max-width: 25px !important;
    min-width: 15px !important;
    width: 20px !important; /* Target width in the middle of your range */
    box-sizing: border-box !important; /* Ensures padding/border are included in width */
    table-layout: fixed !important; /* Apply to the table element */
    white-space: nowrap !important; /* Prevents text wrapping */
    overflow: hidden !important; /* Hides overflow */
    text-overflow: ellipsis !important; /* Shows ellipsis for overflow text */
}

.cwmax-40 {
    max-width: 40px !important;
    min-width: 30px !important;
    width: 35px !important; /* Target width in the middle of your range */
    box-sizing: border-box !important; /* Ensures padding/border are included in width */
    table-layout: fixed !important; /* Apply to the table element */
    white-space: nowrap !important; /* Prevents text wrapping */
    overflow: hidden !important; /* Hides overflow */
    text-overflow: ellipsis !important; /* Shows ellipsis for overflow text */
}

.cwmax-50 {
    max-width: 50px !important;
    min-width: 40px !important;
    width: 45px !important; /* Target width in the middle of your range */
    box-sizing: border-box !important; /* Ensures padding/border are included in width */
    table-layout: fixed !important; /* Apply to the table element */
    white-space: nowrap !important; /* Prevents text wrapping */
    overflow: hidden !important; /* Hides overflow */
    text-overflow: ellipsis !important; /* Shows ellipsis for overflow text */
}

.cwmax-60 {
    max-width: 60px !important;
    min-width: 50px !important;
    width: 55px !important; /* Target width in the middle of your range */
    box-sizing: border-box !important; /* Ensures padding/border are included in width */
    table-layout: fixed !important; /* Apply to the table element */
    white-space: nowrap !important; /* Prevents text wrapping */
    overflow: hidden !important; /* Hides overflow */
    text-overflow: ellipsis !important; /* Shows ellipsis for overflow text */
}

.cwmax-80 {
    max-width: 80px !important;
    min-width: 70px !important;
    width: 75px !important; /* Target width in the middle of your range */
    box-sizing: border-box !important; /* Ensures padding/border are included in width */
    table-layout: fixed !important; /* Apply to the table element */
    white-space: nowrap !important; /* Prevents text wrapping */
    overflow: hidden !important; /* Hides overflow */
    text-overflow: ellipsis !important; /* Shows ellipsis for overflow text */
}

.cwmax-100 {
    max-width: 100px !important;
    min-width: 90px !important;
    width: 95px !important; /* Target width in the middle of your range */
    box-sizing: border-box !important; /* Ensures padding/border are included in width */
    table-layout: fixed !important; /* Apply to the table element */
    white-space: nowrap !important; /* Prevents text wrapping */
    overflow: hidden !important; /* Hides overflow */
    text-overflow: ellipsis !important; /* Shows ellipsis for overflow text */
}

.cwmax-120 {
    max-width: 120px !important;
    min-width: 110px !important;
    width: 115px !important; /* Target width in the middle of your range */
    box-sizing: border-box !important; /* Ensures padding/border are included in width */
    table-layout: fixed !important; /* Apply to the table element */
    white-space: nowrap !important; /* Prevents text wrapping */
    overflow: hidden !important; /* Hides overflow */
    text-overflow: ellipsis !important; /* Shows ellipsis for overflow text */
}

.cwmax-150 {
    max-width: 150px !important;
    min-width: 140px !important;
    width: 145px !important; /* Target width in the middle of your range */
    box-sizing: border-box !important; /* Ensures padding/border are included in width */
    table-layout: fixed !important; /* Apply to the table element */
    white-space: nowrap !important; /* Prevents text wrapping */
    overflow: hidden !important; /* Hides overflow */
    text-overflow: ellipsis !important; /* Shows ellipsis for overflow text */
}

.cwmax-180 {
    max-width: 180px !important;
    min-width: 170px !important;
    width: 175px !important; /* Target width in the middle of your range */
    box-sizing: border-box !important; /* Ensures padding/border are included in width */
    table-layout: fixed !important; /* Apply to the table element */
    white-space: nowrap !important; /* Prevents text wrapping */
    overflow: hidden !important; /* Hides overflow */
    text-overflow: ellipsis !important; /* Shows ellipsis for overflow text */
}

.cwmax-200 {
    max-width: 200px !important;
    min-width: 190px !important;
    width: 195px !important; /* Target width in the middle of your range */
    box-sizing: border-box !important; /* Ensures padding/border are included in width */
    table-layout: fixed !important; /* Apply to the table element */
    white-space: nowrap !important; /* Prevents text wrapping */
    overflow: hidden !important; /* Hides overflow */
    text-overflow: ellipsis !important; /* Shows ellipsis for overflow text */
}

.cwmax-220 {
    max-width: 220px !important;
    min-width: 190px !important;
    width: 215px !important; /* Target width in the middle of your range */
    box-sizing: border-box !important; /* Ensures padding/border are included in width */
    table-layout: fixed !important; /* Apply to the table element */
    white-space: nowrap !important; /* Prevents text wrapping */
    overflow: hidden !important; /* Hides overflow */
    text-overflow: ellipsis !important; /* Shows ellipsis for overflow text */
}

.cwmax-250 {
    max-width: 250px !important;
    min-width: 190px !important;
    width: 245px !important; /* Target width in the middle of your range */
    box-sizing: border-box !important; /* Ensures padding/border are included in width */
    table-layout: fixed !important; /* Apply to the table element */
    white-space: nowrap !important; /* Prevents text wrapping */
    overflow: hidden !important; /* Hides overflow */
    text-overflow: ellipsis !important; /* Shows ellipsis for overflow text */
}

.dashboard-box {
    border-top: 1px solid #ccc;
    margin-top: 10px;
    padding: 10px;
}
/*CONTROL WIDTH END*/
/*GRID CONTROL START*/
.sort-column {
    cursor: pointer;
}

.table-pager-container {
    margin-bottom: 70px;
}

.table-action-buttons {
    display: flex;
    justify-content: center;
    gap: 4px;
    flex-wrap: nowrap; /* Prevent wrapping */
}

    .table-action-buttons button {
        flex: 1 1 auto;
        margin: 2px;
        padding: 0.5rem; /* Adjust padding for better fit */
        max-width: 50px;
    }

    .table-action-buttons .oi {
        font-size: 1.2rem; /* Adjust font size for better fit */
    }

.search-button {
    z-index: auto !important;
    border-radius: 0 5px 5px 0;
}

.bg-alert-red {
    background-color: #f88383 !important;
    border: 1px solid #8d0707 !important;
}

.bg-gray-header {
    background-color: #ececec;
    border: 1px solid #cccccc;
    font-size: 2.2vh;
    padding: 5px 10px;
    margin: auto 10px;
    font-weight: 600;
}

.custom-no-data {
    text-align: center;
    font-size: 1.8vh;
    padding: 20px;
    margin-bottom: 10px;
    border: 1px solid #cccccc;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06);
}

.small_note {
    font-size: 11px;
}
/*GRID CONTROL END*/
@media (max-width: 640.98px) {
    .table-action-buttons {
        gap: 2px; /* Reduce gap between buttons */
    }

        .table-action-buttons button {
            padding: 0.3rem; /* Reduce padding */
        }

        .table-action-buttons .oi {
            font-size: 1rem; /* Further reduce icon size */
        }
}
/*CUSTOM CODE END*/
