.fellowship-links {
    margin-top: 2rem;
    background: var(--il-storm-lighter-4);
    padding: 1rem;
}

.fellowship-links h2 {
    margin: 0 0 1rem;
    font-size: 1.5rem;
}

.finder-title .fellowship-finder {
    font-size: 3.2rem;
    line-height: 1.5;
    margin: 1.4rem 0 1.5rem;
    font-family: var(--il-font-sans);
}

.finder-main {
    display: grid;
    max-width: 900px;
    margin: 0 auto;
    grid-template-columns: 1fr auto;
    grid-template-areas: 
            "title title"
            "search-content sidebar";
}

@media screen and (max-width: 650px) {
    .finder-main {
        display: block;
    }
}

.finder-title {
    grid-area: title;
}

.finder-form {
    grid-area: search-content;
}
.sidebar {
    grid-area: sidebar;
}

.finder-main legend {
    font-size: 1.25rem;
}

.filter-group {
    margin-bottom: 2rem;
}

.search-by-wrap {
    display: inline-block;
    margin-top: 2rem;
    padding: 1.7rem 2rem 2rem;
    background: var(--il-storm-lighter-4);
}

.search-by-wrap > * {
    display: inline-block;
}

.search-by-wrap label {
    margin-right: 0.3rem;
}

#search-by {
    display: block;
}

.search-by {
    font-weight: 600;
}

.finder-submit {
    text-align: center;
    margin-bottom: 2rem;
}

.finder-submit .ilw-button {
    font-size: 1.5rem;
    padding: 1.1rem 2rem;
}

.search-content {
    padding: 0 1rem;
    margin-bottom: 2rem;
}

.sidebar-left {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.sidebar-left > :first-child {
    flex: 0 0 250px;
    max-width: 250px;
    margin-top: 13rem;
}

.sidebar-left > :last-child {
    flex: 1;
}


@media screen and (max-width: 991px) {
    .sidebar-left {
        display: block;
    }

    .sidebar-left > :first-child {
        max-width: 100%;
    }
}

#filters-label button {
    display: none;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    width: 100%;
    font-size: 1.5rem;
    font-weight: bold;
    justify-content: space-between;
    padding: 1rem;
}
#filters-label button:hover {
    color: var(--il-altgeld);
}
#filters-label button:active {
    background: #e8e8e8;
}

#filters-label button:hover svg {
    fill: var(--il-altgeld);
}

#filters-label button svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: var(--il-blue);
    transform: rotate(180deg);
}
#filters-label {
    font-size: 1.5rem;
    margin: 0;
}
.filters-text-heading {
    display: inline-block;
    padding: 0.5rem 1rem 0;
}
#filters {
    padding: 1rem 0 1rem 1rem;
    width: 100%;
    box-sizing: border-box;
}

@media screen and (max-width: 991px) {
    #filters-label button {
        display: flex;
    }
    #filters-label .filters-text-heading {
        display: none;
    }
    
    .filters-container[collapsed] #filters {
        display: none;
    }
    .filters-container[collapsed] #filters-label button svg {
        transform: rotate(0deg);
    }
}


.myfolder-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}
.myfolder-link:hover span {
    text-decoration: underline;
}

.search-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.search-content h1 {
    margin: 1.8rem 0 0;
    font-family: var(--il-font-sans);
}

.controls {
    padding: 0.5rem;
    display: flex;
    gap: 1rem;
}

.controls .icon-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    height: 60px;
}

.controls a {
    text-align: center;
    display: block;
    text-decoration: none;
}
.controls a:hover .label {
    text-decoration: underline;
}

.controls .fa {
    font-size: 36px;
    line-height: 1;
    margin: 0;
    padding: 0;
}
.controls ilw-icon {
    font-size: 52px;
    line-height: 1;
    margin: 0;
    padding: 0;
}
.controls a .label, .controls button .label {
    font-size: 1rem;
    line-height: 1.5rem;
}

.controls button {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

#filters details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 0.5rem 0;
    font-weight: 700;
    font-size: 1.125rem;
}
#filters details summary:hover {
    color: var(--il-altgeld);
    text-decoration: underline;
}
#filters details summary:hover svg {
    fill: var(--il-altgeld);
}

#filters details summary svg {
    width: 16px;
    height: 16px;
    padding: 0 1rem;
    min-width: 16px;
}
#filters details[open] summary svg {
    transform: rotate(180deg);
}

.accordion-button > legend {
    display: block;
}

.accordion {
    /*font-size: 12px;*/
}

.accordion-button legend {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}


.accordion-header {
    display: none;
}

.accordion-body {
    padding: 0;
    margin: 0 0 1.5em 0;
}

table .table-bordered .smalltext {
    font-size: .85em;
}

p {
    max-width: 100%;
    word-wrap: break-word;
}

#div1 {
    overflow: scroll;
    height: 200px;
    width: 500px;
    
}

#div1 table {
    min-width: 500px;
    
}

.comments {
    font-style: italic;
    color: var(--il-storm);
    margin: 4rem 0 2rem;
}

p.intro {
    font-size: 1.5rem;
    margin: 2rem 0 3rem;
}

.fa-circle-question {
    color: #B5B2B2;
}

ul {
    display: block;
    /*list-style-type: disc;*/
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    /*padding-inline-start: 50px;*/
    padding-inline-start: 40px;
}

.resultCount {
    font-style: italic;
    font-weight: bold;
}

.fldr {
    border: none;
    background: none;
    font-size: 1.5rem;
    padding: 0.5rem;
    color: var(--il-industrial);
    cursor: pointer;
}
.fldr.fldradd {
    color: var(--il-blue);
}
.fldr:hover, .fldr.fldradd:hover {
    color: var(--il-altgeld);
}

.resultCount {
    font-style: italic;
    font-weight: bold;
}

.fellowship-links ul {
    list-style: none;
    margin: 0.5em 0;
    padding: 0;
}

.table-wrapper {
    overflow-x: auto;
    display: block;
    width: 100%;
    margin: 0 -10px 40px;
    padding: 0 10px;
}

table.table {
    border: none;
    border-spacing: 0;
    min-width: 100%;
    box-sizing: border-box;
}

table>caption {
    padding: .5rem;
    font-style: italic
}

.table thead tr {
}

table.table thead th {
    border-bottom: 2px solid var(--ilw-text--color)
}

table.table td,table.table th {
    padding: .75rem 1rem
}

table.table th {
    text-align: left;
    font-size: 1.25rem;
    border-radius: 0;
    background-color: var(--il-blue);
    color: #fff;
    font-weight: bold;
    padding: .75rem 1rem;
    vertical-align: middle;
}

table.table th:first-of-type {
    padding-left: 1.2rem;
}
table.table th:last-of-type {
    font-size: 1.1rem;
}

table.table th i {
    margin-left: .25rem;
}

table.table th a {
    color: #fff;
    text-decoration: underline;
}

table.table th a:hover {
    text-decoration: underline;
    color: var(--il-orange);
}

table.table th a:focus {
    color: var(--ilw-link--focus-color);
}


table.table td {
    vertical-align: center;
    border-bottom: 1px solid var(--il-storm-lighter-2);
    border-right: 1px solid var(--il-storm-lighter-2)
}

table.table p {
    margin-top: 0;
}
table.table p:last-child {
    margin-bottom: 0;
}
table td:last-child {
    border-right: none
}

table.table td:first-of-type {
    border-left: 1px solid var(--il-blue);
}
table.table td:last-of-type {
    border-right: 1px solid var(--il-blue);
}

table tr:nth-child(even) {
    background: #f4f4F4FF
}

th.awards {
    min-width: 19rem;
}
th.amount {
    min-width: 7rem;
}
th.deadline {
    min-width: 10rem;
}

th.add-to-folder, td.add-to-folder {
    text-align: center;
}

.table th.amount, td.amount {
    text-align: center;
}

.table th.deadline, td.deadline {
    text-align: center;
}

@media screen and (max-width: 767px) {
    th.awards {
        min-width: 15rem;
    }
    th.amount {
        min-width: 6rem;
    }
    th.deadline {
        min-width: 4rem;
    }
}
@media screen and (max-width: 650px) {
    table.table th, table.table td {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    th.awards {
        min-width: 12rem;
    }
    th.amount {
        min-width: 5rem;
    }
    th.deadline {
        min-width: 3rem;
    }
}

.fellowship-container {
    display: flex;
    gap: 2rem;
    flex-direction: row-reverse;
    max-width: 1200px;
    padding: 20px;
    margin: 0 auto;
    justify-content: flex-end;
}

.fellowship-container > :first-child {
    flex: 0 0 140px;
    max-width: 140px;
    margin-top: 1rem;
}
.fellowship-container > :last-child {
    max-width: 900px;
}

.fellowship-container .controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar {
    max-width: 300px;
}

.sidebar .controls {
    justify-content: flex-end;
}

@media screen and (max-width: 768px) {
    .fellowship-container {
        display: block;
    }

    .fellowship-container > :first-child {
        max-width: 100%;
    }
    .fellowship-container .controls {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    
    .sidebar {
        margin: 2rem auto;
    }
    
    .sidebar .controls {
        justify-content: center;
    }
}

@media screen and (min-width: 768px) and (max-width: 1600px) {

    .tooltip-inner {
        max-width: 300px;
        font-size: 15px;
    }

    .tooltip {
        max-width: 400px;
    }
    .floatright {
        float: right;
    }
    
}

@media screen and (min-width: 1601px) and (max-width: 1920px) {

    .tooltip-inner {
        max-width: 400px;
        font-size: 15px;
    }

    .floatright {
        float: right;
    }
    .fellowship-links {
    }


}

@media screen and (min-width: 1921px) {

    .tooltip-inner {
        max-width: 400px;
        font-size: 15px;
    }

    .floatright {
        float: right;
    }

}