html {
    font-size: 14px;
}

a {
    cursor: pointer;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.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;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.d-flex {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.d-flex-baseline {
    display: flex !important;
    justify-content: center;
    align-items: baseline;
}

.d-flex-space-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

form.user .btn-user {
    width: 50%;
    font-size: 16px;
}

.alert-dismissible {
    position: absolute;
    top: 10%;
    right: 20px;
}

.img-profile-edit {
    width: 80px;
}

.sidebar .nav-item .nav-link .img-profile, .topbar .nav-item .nav-link .img-profile {
    height: 2rem;
    width: 2.5rem;
}

.img-dashboard {
    width: 42px;
    height: 46px;
}

.img-dashboard-2 {
    width: 48px;
    height: 46px;
}

.signature-checkbox{
    width: 24px;
    height: 24px;
}

.img-checkTest {
    width: 20px;
}

    .img-checkTest:hover {
        transform: scale(1.1);
        cursor: pointer;
    }

.btn-img-icon {
    height: 20px;
}

.btn-missing-info-icon {
    height: 15px;
    margin-left: 5px;
}
    .btn-missing-info-icon:hover {
        transform: scale(1.2);
        cursor: pointer;
    }

.btn-pdf-icon {
    height: 32px;
    cursor: pointer;
}

    .btn-pdf-icon:hover {
        transform: scale(1.2);
    }

.tr-unread {
    background-color: #f1eef7;
}

#testKitDataTable_wrapper {
    margin: 10px;
}

.table tbody tr td:first-child {
    font-weight: bold;
}

.topbar.navbar-light .navbar-nav .nav-item .nav-link {
    color: #224abe;
}

    .topbar.navbar-light .navbar-nav .nav-item .nav-link:hover {
        color: #563d7c;
    }

/* Replacement of Export Buttons */
.dt-button {
    color: #fff !important;
    background-color: #2e59d9 !important;
    border-color: #2653d4 !important;
    text-transform: uppercase !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    border-radius: 0.35rem !important;
    font-weight: 400 !important;
}

.center{
    margin-left: auto;
    margin-right: auto;
    float: none;
}

#canvas_div {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

canvas {
    border: 1px solid black;
}

#signature-error{
    display: none;
}

.label-dont-break{
    white-space: nowrap;
    padding-right: 3px;
}
.cdi-logo-nav {
    width: 80%;
}

.navbar-brand{
    width: 300px;
}

#captcha-image {
    height: 80px;
}

.cdi-logo {
    width: 400px;
}

.blue-line {
    border-bottom: 2px solid #496edb;
}

.strong-blue {
    color: #496edb;
}

.border-top-white {
    border-top: 1px solid white;
    margin-top: 10px;
}

@media (max-width: 980px) {
    .cdi-logo {
        margin-top: 10%;
        padding: 10px !important;
    }
}
.pdf-container {
    margin-left: 20%; /* Adjusted to make space for the label */
    max-width: 800px;
    position: relative; /* Added to position the label relative to the container */
}

.pdf-page {
    margin-bottom: 20px;
    page-break-after: always;
    position: relative; /* Added to position the label relative to the page */
}

.pdf-toolbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px; /* Adjust height as needed */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent gray */
    padding: 5px;
    box-sizing: border-box;
    transition: opacity 0.3s ease;
    opacity: 0; /* Initially transparent */
    pointer-events: none; /* Initially disabled for hovering */
    border-radius: 25px;
}

    .pdf-toolbar .btn {
        padding: 2px 10px 1px 10px;
    }

.pdf-page:hover .pdf-toolbar {
    opacity: 1; /* Fully visible on hover */
    pointer-events: auto; /* Enable interactions on hover */
}

.pdf-label {
    color: black;
    margin-right: 10px;
    font-weight: bold;
}

/* Floating button style */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #2e59d9;
    border-color: #2653d4;
    color: #111111;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s, transform 0.3s;
}

    .scroll-to-top:hover {
        background-color: #0056b3;
        transform: scale(1.1);
    }

    .scroll-to-top:active {
        transform: scale(0.9);
    }

/* Merge PDF button style */
.merge-pdf-btn {
    position: fixed;
    top: 80px;
    right: 20px;
    background-color: #2e59d9;
    border-color: #2653d4;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s, transform 0.3s;
}

    .merge-pdf-btn:hover {
        background-color: #0056b3;
        transform: scale(1.1);
    }

    .merge-pdf-btn:active {
        transform: scale(0.9);
    }

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    z-index: 1000;
    color: white;
}

.loading-bar {
    width: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    height: 30px;
}

.loading-progress {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    width: 0;
    background-color: green;
    z-index: 2000;
}

div.dataTables_wrapper div.dataTables_filter input {
    margin: 5px;
}