.react-app {
    padding: 20px 10px;
}

/*
    Funding Request
 */
.questions__spinner {
    margin: 120px 10px;
    text-align: center;
}

/*
    Dynamic Form
 */

.dynamic-form {
    max-width: 500px;
    margin: 0px auto;
}

.dynamic-form .form-group {
    margin-bottom: 30px;
}

.dynamic-form input[type='checkbox'] {
    top: -4px;
}

.consent-block li {
    display: list-item;
    list-style-type: decimal;
    list-style-position: outside;
}

.dynamic-form input[type='radio'] {
    top: -5px;
}

.dynamic-form .link {
    border: none;
    background: none;
}

.dynamic-form .link:hover {
    text-decoration: underline;
}

.dynamic-form .address-actions,
.dynamic-form .address-results,
.dynamic-form .address-field {
    margin-top: 20px;
}

.dynamic-form .form-actions {
    text-align: center;
}

.dynamic-form .go-back {
    margin-top: 20px;
}

@media (max-width: 991px) {
    .dynamic-form {
        max-width: 100%;
        font-size: 28px;
    }

    .dynamic-form label {
        display: flex;
    }

    .dynamic-form .orange-button {
        font-size: 28px;
        padding: 5px 20px;
        height: 50px;
    }

    .dynamic-form .form-control {
        font-size: 28px;
    }

    .dynamic-form input[type='date'] {
        -webkit-appearance: none;
        -moz-appearance: none;
    }

    .dynamic-form input[type='checkbox'],
    .dynamic-form input[type='radio'] {
        zoom: 1;
        width: 26px;
        height: 26px;
    }
}

div._loading_overlay_overlay {
    background: rgba(255, 255, 255, 0.7);
    color: #000000;
}

/*
    CompanyHouse
 */

.checkbox-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 600px) {
    .checkbox-grid-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.companies-house {
    background-color: #f2f2f2;
    padding: 10px 20px 20px 20px;
}

.companies-house--address-display {
    color: #666666;
}

.companies-house--logo {
    max-width: 140px;
    margin-top: 10px;
    margin-bottom: 20px;
}

@media (max-width: 991px) {

    .companies-house--address-display {
        font-size: 22px;
    }

    .companies-house--logo {
        max-width: 140px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

/*
    Downshift
 */

.downshift-dropdown--root {
    position: relative;
}

.downshift--dropdown--input-group {
    position: relative;
}

.downshift--dropdown--clear-button {
    display: block;
    position: absolute;
    right: 2px;
    top: 2px;
    border: none;
    background: none;
    height: 30px;
    width: 30px;
    padding: 1px;
    color: #888888;
}

.downshift--dropdown--menu {
    position: absolute;
    width: 100%;
    max-height: 43rem;
    overflow: auto;
    background: #ffffff;
    z-index: 1;
}

.downshift--dropdown--menu__open {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.downshift--dropdown--item {
}

.downshift--dropdown--item__active {
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
}

.downshift--dropdown--item__selected {
    background-color: #f5f5f5;
}

.downshift--dropdown--item__disabled {
    color: #888888;
}

@media (max-width: 991px) {
    .downshift--dropdown--menu {
        font-size: 28px;
    }

    .downshift--dropdown--clear-button {
        width: 44px;
        height: 44px;
        padding: 8px;
    }
}

/*
    CBIL scheme info
 */

.cbils-info-text-container {
    padding: 5px;
    font-weight: normal;
}

.error-wrapper {
    width: 100%;
    text-align: center;
}

.error {
    display: inline-block;
    font-size: 18px;
    margin-top: 50px;
    width: 500px;
}

/* Hide HTML5 Up and Down arrows. */
input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}
