﻿.custom-tooltip {
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 1000;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}



.submission-overlay {
    position: fixed; /* Position it fixed over the entire screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 24px;
    font-weight: bold;
    z-index: 9999; /* Ensure it's on top of other content */
    text-align: center;
}

.content {
    padding: 5px !important;
}

.form-group {
    margin-bottom: 12px;
    font-size: 16px;
    color: rgb(17, 17, 17);
}
.form-control {
    padding: .575rem .75rem;
    font-size: 0.85rem;
    color: #212529;
}

    .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
        box-shadow: 0 1px 5px .25rem rgba(0,0,0,.08);
    }

    .form-control:focus {
        border-color: #0372b5;
        border: 1px solid #0372b5;
    }

.validation-message {
    color: #e50000;
    font-size: .77em;
}

.text-danger {
    font-size: .77em;
    margin-top: 4px;
}

span.required-input {
    margin-left: 4px;
}

.btn-primary {
    color: #fff;
    background-color: #0372b5 !important;
    font-size: 14px;
    border-color: #0372b5 !important;
    font-weight: 600;
}

    .btn-primary:hover {
        opacity: .8;
    }

.grecaptcha-badge {
    visibility: hidden;
}

.group {
    width: 100%;
    display: block;
    position: relative;
    vertical-align: top;
    margin: 0 0 1.5%;
}

input[type="file" i] {
    border-width: 2px;
    border-color: rgb(216, 220, 222);
    border-style: dashed;
    border-radius: 0.357143rem;
    background-color: rgb(255, 255, 255);
    opacity: 0.9;
    display: block;
    width: 97%;
    padding: 1rem 1%;
    color: rgb(47, 57, 65);
    cursor: pointer !important;
}

span.fileLimit {
    font-size: 12px;
    background-color: #f8f8f8;
    padding: 6px 8px;
    border-radius: 4px;
    color: #777;
    width: 96%;
    margin-top: 8px;
    text-align: center;
    display: none;
}

textarea:focus ~ .floating-label, textarea:not(:placeholder-shown) ~ .floating-label, input:focus ~ .floating-label, input:not(:placeholder-shown) ~ .floating-label {
    top: 0px;
    padding: 5px 0 0 9px;
    bottom: 0px;
    left: 0px;
    font-size: 9px;
    opacity: .5;
}

.inputText {
    font-size: 14px;
    width: 93%;
    height: 36px;
    border-radius: 3px;
    padding: 5px 3% 0px;
    border: 1px solid #aaa;
}

.floating-label {
    position: absolute;
    pointer-events: none;
    font-size: 15px;
    left: 14px;
    top: 12px;
    transition: 0.2s ease all;
    opacity: 0.5;
}

:focus-visible {
    outline: #0372b5 auto 1px;
}

textarea.inputText {
    font-size: 14px;
    width: 93%;
    height: 70px;
    border-radius: 3px;
    padding: 14px 3% 0;
    border: 1px solid #aaa;
    line-height: 20px;
    max-height: 70px;
    display: block;
    overflow-y: auto;
    resize: vertical;
}

.group.group-ta,
.group.group-co {
    width: 97.5%;
}

.group.group-ta {
    margin-bottom: 0;
}

button#submitBtn {
    background: #b54526;
    padding: 13px 15px;
    font-size: 14px;
    color: #fff;
    border-radius: 3px;
    border: 0;
    width: 99.5%;
    font-weight: 600;
    cursor: pointer;
}

@media only screen and (max-width: 600px) {
    .group {
        width: 100%;
        font-family: Arial, sans-serif;
        display: block;
        position: relative;
        vertical-align: top;
        margin: 0 0 1.5%;
    }
}

.error-message {
    color: #b22222; /* Matches your existing error color */
    font-size: 0.57em; /* Matches .validation-message and .text-danger */
    margin-top: 2px;
    margin-left: 2px;
    margin-bottom: 4px; /* Added for spacing */
    width: 94%; /* Leaves space consistent with inputText width */
    display: block;
    font-weight: 500;
}

.name-group {
    width: calc(50%-px);
    display: inline-block;
}
.first-name-group {
    margin-right: 5px;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}
