@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.filetile {
    display: inline-block;
    width: 28rem;
    height: auto;
    margin: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    text-align: center;
    -moz-box-shadow: inherit;
    -webkit-box-shadow: inherit;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.5);
}

        .filetile table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 10px;
        }

            .filetile table th {
                border: 1px solid #ccc;
                padding: 8px;
                background-color: #f2f2f2;
                text-align: left;
            }

            /* Style for table cells inside filetile */
            .filetile table td {
                /*border: 1px solid #ccc;*/
                padding: 0px;
                text-align: left;
            }

            /* Optional: Style for table rows inside filetile */
            /*.filetile table tr:nth-child(even) {
                background-color: #f9f9f9;
            }*/

            /* Optional: Hover effect for table rows inside filetile */
            /*.filetile table tr:hover {
                background-color: #f1f1f1;
            }*/

            .filetile img {
                width: 50px;
                height: 50px;
            }

.filemetadata td:first-child{
    width: 6rem;
}

.custom-file-input1 input[type="file"] {
    color: lightgrey;
}

    .custom-file-input1 input[type="file"]::-webkit-file-upload-button {
        background-color: #4CAF59; /* Change this to your desired color */
        color: white;
        border: none;
        padding: 10px 20px;
        cursor: pointer;
        border-radius: 4px;
    }

    .custom-file-input1-button
    {
        background-color: #4CAF59; /* Change this to your desired color */
        color: white;
        border: none;
        padding: 10px 20px;
        cursor: pointer;
        border-radius: 4px;
    }

        .custom-file-input1 input[type="file"]::-webkit-file-upload-button:hover {
            background-color: #1861ac; /* Change this to your desired hover color */
        }

.file-upload-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.drag-drop-area {
    border: 2px dashed #ccc;
    border-radius: 4px;
    width: 300px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .drag-drop-area p {
        margin: 0;
        font-size: 16px;
        color: #666;
    }

.drag-drop-area.drag-over {
    background-color: #e6f7ff;
}

.file-upload-container {
    margin: 20px;
}
.upload-button {
    margin-top: 10px;
}
.upload-button {
    background-color: #1b6ec2; /* Green */
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 10px;
    cursor: pointer;
}

    .upload-button:hover {
        background-color: #45a049;
    }




.table-auto {
    width: 80% !important;
    margin-left: auto;
    margin-right: auto;
    color: white;
    font-size: .6rem;
    border-collapse: collapse;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.5);
}

.table-auto-left {
    width: 100% !important;
    margin-left: 0px;
    margin-right: auto;
    color: white;
    font-size: .6rem;
    border-collapse: collapse;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Media query for screens smaller than 768px */
@media (max-width: 768px) {
    .table-auto {
        width: 100%; /* Make the table width 100% on smaller screens */
        font-size: .8rem; /* Increase the font size for better readability on smaller screens */
    }
}

@media (max-width: 768px) {
    .table-menu {
        width: 100%; /* Make the table width 100% on smaller screens */
        font-size: .18rem; /* Increase the font size for better readability on smaller screens */
        margin-left: auto;
        margin-right: auto;
        border-collapse: collapse;
        padding: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.5);
    }

}
.table-menu tr {
    /*background-color: #12586f;*/
    color: white;
    font-size: 1rem;
    border:outset;
    vertical-align: middle;
    /*border-collapse: ;*/
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.5);*/
}
.table-menu td{
    padding: 4px;
    color: white;
    font-size: 1rem;
    border-collapse: collapse;
    vertical-align: middle;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.5);*/
}

.table-auto-regfont {
    width: 80% !important;
    margin-left: auto;
    margin-right: auto;
    color: white;
    font-size: 1rem;
}

th {
    background-color: #12586f;
    padding: 8px;
    /*border: 1px solid black;*/
    text-align: left;
}

/* Top left corner of the first row */
thead tr:first-child th:first-child {
    border-top-left-radius: 8px;
}

/* Top right corner of the first row */
thead tr:first-child th:last-child {
    border-top-right-radius: 8px;
}

/* Bottom left corner of the last row in thead */
thead tr:last-child th:first-child {
    border-bottom-left-radius: 8px;
}

/* Bottom right corner of the last row in thead */
thead tr:last-child th:last-child {
    border-bottom-right-radius: 8px;
}


th, td {
    padding: 8px;
    color: white;
}

/* not hovered over*/
.table-striped tbody tr:nth-child(odd) {
    background-color: #404346;
    color: white;
}

.table-hover tbody tr:hover,
.table-hover.table-striped tbody tr:nth-child(odd):hover {
    transform: scale(1.25);
    transform-origin: center;
    transition: transform 0.3s ease;
    color: white;
}

.table-hover tbody tr td:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.table-hover tbody tr td:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.alert-dark {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.pdf-table {
    background-color: #f8f9fa; /* Light gray background */
    color: #343a40; /* Dark text color */
    border: 1px solid #dee2e6;
}

    .pdf-table th {
        /*display: table-header-group;*/
        background-color: #12586f;
        color: #ffffff; /* White text */
        border: 1px solid #dee2e6;
        page-break-before: auto;
    }

    .pdf-table td {
        border: 1px solid #dee2e6;
        color: black;
    }

    .pdf-table, .pdf-table tr, .pdf-table td, .pdf-table th {
        page-break-inside: avoid;
    }

        .pdf-table .no-print {
            display: none;
        }



.clickable-div {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
    .clickable-div:hover {
        background-color: #0056b3;
    }

    .clickable-div:active {
        background-color: #004085;
    }