#cms-content {
    overflow: visible;
}
#results {
    margin-top: 30px;
    margin-bottom: 50px;
}

#results {
    position: relative;
}

#results.loading::before {
    content: ' ';
    position: absolute;
    left: 50%;
    margin-left: -40px;
    display: block;
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #af0e13;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#docfinder-form {
    position: relative;
    margin-bottom: 0;
    display: flex;
}

#docfinder-form [type='text'] {
    padding-right: 50px;
}

#docfinder-form [type='submit'] {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0;
    width: 50px;
    height: 50px;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
}

#docfinder-form [type='submit']::before {
    content: '\f002';
    display: inline-block;
    font-family: 'FontAwesome';
    font-weight: normal;
    font-size: 22px;
    color: #333;
}

#results section {
    margin-top: 80px;
    margin-bottom: 80px;
}

#results section + section {
    margin-top: 20px;
    padding-top: 60px;
    border-top: 1px solid #eee;
}

#results .table-responsive {
    margin-bottom: 10px;
}

#results .maintable {
    width: 100%;
}

@media (min-width: 992px) {
    .maintable.table-2-cols th,
    .maintable.table-2-cols td {
        width: 50%;
    }
}

#docfinder-form .choices {
    flex: 1;
    font-size: 20px;
}

#docfinder-form .choices__inner {
    border-radius: 0;
    height: 57px;
    display: flex;
    align-items: center;
}

#docfinder-form .choices__item {
    font-size: 20px;
}

#docfinder-form .choices[data-type*='select-one']::after {
    display: none;
}

#docfinder-form button {
    appearance: none;
    border: 0;
    background: transparent;
    width: 57px;
    height: 57px;
    box-shadow: none;
    background: var(--c-primary);
}

#docfinder-form button::before {
    content: ' ';
    display: block;
    width: 100%;
    height: 100%;
    background: transparent url(/public/icons/search.svg) no-repeat center;
    filter: brightness(0) invert(1);
}

.contenttable .address {
    white-space: nowrap;
    hyphens: auto;
}
