﻿bo.tab {
    overflow: hidden;
    background-color: inherit;
    border-bottom: 1px solid black;
}

.tab button {
    background-color: white;
    float: left;
    border: 1px solid black;
    border-bottom: none; /* Remove bottom border for all buttons by default */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    outline: none;
    cursor: pointer;
    padding: 10px 12px;
    transition: 0.3s;
    font-size: 18px;
    font-weight: bold;
    font-style: italic;
    margin-right: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    .tab button:hover {
        background-color: #4CAF50;
    }

    .tab button.active {
        background-color: #4CAF50;
        border-bottom: none; /* Remove bottom border only for the active tab */
    }

.tabcontent {
    display: none;
    padding: 3px 6px;
    border-top: none;
}

    .tabcontent.active {
        display: block;
        border-bottom: none; /* Optional: Remove bottom border for active tab content */
    }

.image-with-heading {
    display: flex; /* Use flexbox for layout */
    align-items: center; /* Align items vertically */
    gap: 10px; /* Gap between image and heading */
}

    .image-with-heading img {
        width: 48px; /* Width of the image */
        height: 48px; /* Height of the image */
    }

.image-with-subheading {
    display: flex; /* Use flexbox for layout */
    align-items: center; /* Align items vertically */
    gap: 10px; /* Gap between image and heading */
}

    .image-with-subheading img {
        width: 24px; /* Width of the image */
        height: 24px; /* Height of the image */
    }

.custom-dropdown {
    font-family: Arial, sans-serif;
    font-size: 16px;
    padding: 8px;
    width: 250px; /* Adjust width as needed */
    border: 1px solid #ccc;
    border-radius: 15px;
    background-color: #fff;
    color: #333;
}

    /* Style for dropdown list options */
    .custom-dropdown option {
        padding: 10px 15px;
        background-color: #fff;
        color: #333;
    }

    /* Add spacing between options */
    .custom-dropdown select {
        padding: 10px 15px; /* Adjust as needed */
    }

.styled-gridview {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 12px; /* Base text size */
}

    .styled-gridview th, .styled-gridview td {
        padding: 12px 15px;
        text-align: left;
        border-bottom: 1px solid #ddd;
        font-size: 12px; /* Text size for table cells */
    }

    .styled-gridview th {
        background-color: #4CAF50;
        color: white;
        text-transform: uppercase;
        font-size: 11px; /* Text size for header cells */
    }

.edit-field {
    width: 100%;
    padding: 2px 5px;
    margin: 3px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    white-space: normal; /* Ensure the text wraps within the TextBox */
    word-wrap: break-word; /* Break long words to fit within the TextBox */
    overflow-wrap: break-word; /* For better support */
}

    .edit-field:focus {
        border-color: #4CAF50;
    }

.styled-gridview tr:nth-child(even) {
    background-color: #f2f2f2;
}

.styled-gridview tr:hover {
    background-color: #ddd;
}

@media screen and (max-width: 600px) {
    .styled-gridview thead {
        display: none;
    }

    .styled-gridview, .styled-gridview tbody, .styled-gridview tr, .styled-gridview td {
        display: block;
        width: 100%;
    }

        .styled-gridview tr {
            margin-bottom: 15px;
        }

        .styled-gridview td {
            text-align: right;
            padding-left: 50%;
            position: relative;
        }

            .styled-gridview td::before {
                content: attr(data-label);
                position: absolute;
                left: 0;
                width: 50%;
                padding-left: 15px;
                font-weight: bold;
                text-align: left;
                font-size: 12px;
            }
}

.btn-edit, .btn-delete, .btn-update, .btn-cancel {
    color: #fff;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    margin: 2px; /* Add margin for spacing */
}

.btn-edit {
    background-color: #4CAF50;
}

.btn-delete {
    background-color: #f44336;
}

.btn-update {
    background-color: #008CBA;
}

.btn-cancel {
    background-color: #e7e7e7;
    color: #000;
}

.button-container {
    display: flex;
    justify-content: space-between;
}

.checkboxlist {
    list-style-type: none;
    padding-left: 0;
}

    .checkboxlist label {
        display: flex;
        align-items: center;
        margin-bottom: 5px;
    }

        .checkboxlist label .checkbox-text {
            margin-left: 10px;
        }

        .checkboxlist label:before {
            content: "";
            display: inline-block;
            width: 18px;
            height: 18px;
            border: 1px solid #ccc;
            background-color: #fff;
            margin-right: 10px;
        }

    .checkboxlist input[type="checkbox"] {
        display: none;
    }

        .checkboxlist input[type="checkbox"]:checked + label:before {
            content: "\2714";
            font-size: 14px;
            text-align: center;
            line-height: 18px;
            color: #3c763d;
            background-color: #dff0d8;
            border-color: #3c763d;
        }

.card {
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
}


#signatureCanvas {
    border: 2px solid black;
    border-radius: 20px;
    background-color: white;
}

#signatureCanvasFCA {
    border: 2px solid black;
    border-radius: 20px;
    background-color: white;
}

.custom-file-upload {
    width: 100%;
    padding: 10px;
    border: 1px solid #007bff;
    border-radius: 10px;
    background-color: #f8f9fa;
    color: #495057;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

    .custom-file-upload:hover {
        background-color: #e2e6ea;
        border-color: #0056b3;
    }

    .custom-file-upload:focus {
        outline: none;
        border-color: #0056b3;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

.headlbl {
    font-size: 18px;
    color: #808080;
    font-weight: bolder;
}

.lbl {
    font-size: 15px;
    color: #808080;
    font-weight: bolder;
    font-style: italic;
}

.radiobuttonlist {
    list-style-type: none;
    padding-left: 0;
}

    .radiobuttonlist label {
        display: flex;
        align-items: center;
        margin-bottom: 5px;
    }

        .radiobuttonlist label .radio-text {
            margin-left: 10px;
        }

        .radiobuttonlist label:before {
            content: "";
            display: inline-block;
            width: 18px;
            height: 18px;
            border: 1px solid #ccc;
            background-color: #fff;
            margin-right: 10px;
            border-radius: 50%; /* For rounded radio button appearance */
        }

    .radiobuttonlist input[type="radio"] {
        display: none;
    }

        .radiobuttonlist input[type="radio"]:checked + label:before {
            content: "\2714";
            font-size: 14px;
            text-align: center;
            line-height: 18px;
            color: #3c763d;
            background-color: #dff0d8;
            border-color: #3c763d;
            border-radius: 50%; /* For rounded radio button appearance */
        }
