form input,
form textarea {
    box-sizing: border-box;
}

form textarea {
    height: auto;
}

input:focus,
input:focus:required:invalid:focus,
textarea:focus {
    border-color: rgb(255,183,13);
    box-shadow: none;
}

form label {
    display: none;
}

form .row {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(12, 1fr);
    margin-left: 0;
}

@media(max-width: 640px) {
    
    form .row {
        display: block;
    }
}

form .row::before,
form .row::after {
    display: none;
}

form .row .col-lg-2 {
    grid-column: span 2;
}

form .row .col-lg-4 {
    grid-column: span 4;
}

form .row .col-lg-6 {
    grid-column: span 6;
}

form .row .col-lg-8 {
    grid-column: span 8;
}

form .row .col-lg-10 {
    grid-column: span 10;
}

form .actions {
    margin-top: 20px;
}

.clearfix {
    font-size: 12px;
    margin-top: 10px;
}

.clearfix h2 {
    margin-top: 10px;
    margin-bottom: 20px;
}

#maincontent .clearfix h2 {
    margin-bottom: 20px;
}

form .form-check-label {
    display: flex;
    align-items: center;
}

form .form-check-label > span {
    margin-left: 1em;
}

form .form-check-label input[type="radio"],
form .form-check-label input[type="checkbox"] {
    margin-top: 0;
    margin-left: 0;
}

form .input.checkbox {
    margin-top: 10px;
    padding-left: 0;
}

form .inputs-list {
    margin-top: 10px;
    margin-bottom: 20px;
}

.span8 form {
    margin-top: 20px;
}

#c19761 {
    /* Footnote text */
    margin-top: 3.75rem;
    font-size: 0.75rem;
}