
/*#dynamicForm {
    margin: 0;
    padding: 0;
    margin-top: 2rem;
}*/

.col-4 {
    margin: 5px 0;
}

.signature-clear-btn {
    position: relative;
    padding: 0.1em 0.5em;
    background: transparent;
    box-shadow: 2px 2px 4px #ccc;
    border: 1px solid #ccc;
    font-size: 1rem;
    float: right;
    border-radius: 5px;
    background-color: #414d68;
    color: white;
}

    .signature-clear-btn:hover {
        background-color: #122143;
    }

canvas {
    display: block;
    position: relative;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

.group-header {
    margin-top: 8px;
}

.expandable-group .group-header {
    font-size: 16px;
    font-weight: bold;
}

.expandable-group .plus-icon, .expandable-group .minus-icon {
    font-size: 20px;
    float: right;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    border: 1px solid #ccc;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 3px;
    background-color: #414d68;
    color: white;
}

    .expandable-group .plus-icon:hover, .expandable-group .minus-icon:hover {
        background-color: #122143;
    }

label:has(~ input:required)::after {
    content: " *";
    color: red;
}
label:has(~ select:required)::after {
    content: " *";
    color: red;
}

label:has(~ .radio-group.required)::after {
    content: " *";
    color: red;
}
label:has(~ .checkbox-group.required)::after {
    content: " *";
    color: red;
}
label:has(~ select.required)::after {
    content: " *";
    color: red;
}
label:has(~ div.signature-canvas.required)::after {
    content: " *";
    color: red;
}

label:has(~ textarea:required)::after {
    content: " *";
    color: red;
}

.inline-text > input::placeholder{
    color:red;
    padding-left:5px;
}



.next-btn, .back-btn, .submit-btn {
    font-size: 18px;
    float: right;
    cursor: pointer;
    width: 7.5rem;
    height: 3rem;
    border: 1px solid #ccc;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    background-color: #c00000;
    color: white;
}

    .next-btn:hover, .back-btn:hover, .submit-btn:hover {
        background-color: #a10000;
    }

.panel-main-header {
    padding: 1em;
    background-color: ghostwhite;
    height: 4rem;
    display: grid;
    align-items: center;
    text-transform: capitalize;
    color: #122143;
}

.panel-main-footer {
    height: 5rem;
    background-color: ghostwhite;
    padding: 15px;
}
.panel-default {
    background-color: ghostwhite;
    padding-top:0.5rem;
    padding-bottom:0.5rem;
}

label.form-label {
    text-transform: capitalize;
}

.group-header {
    text-transform: capitalize;
    /* background: #c00000;
    padding: 4px;
    color: white;*/
}

.checkboxdivForDocument {
    margin-top: 15px;
}


.documentInput {
    margin-top: 0.5rem;
    display: none;
}

.group-body {
    margin-top: 3px;
    padding: 8px;
    box-shadow: 4px 4px 4px #122143;
    border: 2px inset #122143;
}

.existing-file-group{
    max-height: 74.92px;
    overflow-y:auto;
}
    .existing-file-group > .row button {
        border-radius: 5px;
        width:70%;
    }

    .existing-file-group > .row {
        border: 1px solid #E0E0E0;
        border-radius:5px;
        border-bottom:none;
    }
    .existing-file-group > :last-child {
        border-bottom: 1px solid #E0E0E0;
        border-radius: 5px;
    }

.panel-heading h5 {
    padding: 0.5rem;
    text-transform: uppercase;
    background-color: #103442;
    border: 1px solid #ccc;
    color: #ffffff;
    word-spacing: 3px;
}
