﻿.section-background7 {
    clip-path: polygon(0 10vw, 100% 0, 100% 100%, 0 calc(100% - 10vw));
    margin: -15vw 0 -10vw 0;
    padding: 13vw 0;
}
.orangebutton_large {
    background-color: #FF7F50;
    background-image: linear-gradient(180deg, #FF7F50 -152.94%, #e24b14 154.41%);
    text-align: center;
    color: white;
    padding: 20px;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 10px;
    width: 340px;
    max-width: 100%;
    font-size:1.5rem;
}
.orangebutton_large:hover {
    background-color: #e24b14;
    background-image: linear-gradient(180deg, #8a2906 -152.94%, #e24b14 154.41%);
    color:#ffffff;
}
#award-grid {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    border-spacing: 0 15px; 
}
    #award-grid tr > th:nth-child(2), #award-grid tr > td:nth-child(2) {
        padding-left: 50px;
        padding-right: 30px;
    }
    #award-grid tr > td, #award-grid tr > th > a {
        color: #26302F;
        text-align:left;
        text-decoration:none;
    }
    #award-grid tr > th > a{
        font-weight:400;
        float:left;
    }
    #award-grid tr >td{
        font-weight: 600;
    }
    #award-grid td label {
        display: none;
        font-weight: 500;
    }
    #award-grid tr > th:nth-child(1) {
        width: 5px;
    }
    #award-grid tr >th:nth-child(2){
        width:65%;
    }
    #award-grid tr > th:nth-child(3) {
        width: 90px;
    }
    #award-grid tr > td:nth-child(2){
        font-size:1rem;
    }
    #award-grid tbody tr:nth-of-type(even) {
        background-color: #EEF5F4;
    }
    #award-grid tbody tr {
        height: 52px;
        background-color: #EFF9F7;
        /*cursor: pointer;*/
    }
    #award-grid > tbody > tr:hover {
        background-color: rgb(48 206 187 / 15%) !important;
    }
#award-type-grid {
    gap: 1rem;
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(280px, 1fr) );
}
#directory-menu {
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: #F2F4F4;
    overflow-y: auto;
    top: 6.5rem;
    float: left;
    margin-right: 1rem;
    z-index: 1;
    max-height: 65vh;
    position: sticky;
    padding: 10px;
    color: #0F7771;
    border-radius: 10px;
    mask-image: linear-gradient(to bottom, black 0%, black calc(100% - 150px), transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black calc(100% - 150px), transparent 100%);
}
    #directory-menu::-webkit-scrollbar {
        display: none;
    }
    #directory-menu.active {
        cursor: grabbing;
    }
#directory-menu-items{
    padding-bottom:75px;
}

    #directory-menu-items ul li a {
        font-size: .9rem
    }
#mobile-directory-menu {
    display: none;
    max-width: 350px;
    margin: auto;
    background-color: #F2F4F4;
    margin-bottom: 50px;
    padding: 0 10px;
}
#dir-list {
    display: inline-flex;
    width: 100%;
}
    #dir-list > div {
        background: url('/img/green-box-rectangle.png') no-repeat, url('/img/black-box-rectangle.png') no-repeat;
        background-position: center;
        position: relative;
        left: 300px;
    }
        #dir-list > div > div {
            background-color: #ffffff;
            display: grid;
            grid-column: 2;
            margin: 50px;
            padding: 15px;
            width: 715px;
        }
    #dir-list h2 {
        grid-column: span 2;
        margin-bottom: 0;
        margin-left: 10px;
    }
    #dir-list ul {
        background-color: #ffffff;
        padding: 0;
        width: 350px;
        list-style: none;
    }

    #dir-list li {
        margin-left: 10px;
    }

    #dir-list ul a {
        text-decoration: none;
        font-size: 1.2rem;
        color: #344645;
    }

        #dir-list ul a:hover {
            color: #0F7771;
        }
#header-scholarship-directory {
    width: 100%;
    max-width: 1100px;
    margin: 15px auto 0;
    display: flex;
    flex-direction: row;
    gap: 1rem;
}
    #header-scholarship-directory > div:nth-child(1) {
        display: flex;
        gap: 20px;
        flex-direction: column;
        flex:1
    }
        #header-scholarship-directory > div:nth-child(1) h1 {
            font-size: 2rem;
            font-weight: 700
        }

        #header-scholarship-directory > div:nth-child(1) > div:nth-child(2) {
            display: flex;
            flex-direction: column;
            align-self: flex-start;
            gap: 15px;
        }

        .student-slides-container .slick-current, .student-slides-container .slick-current + div + div {
            box-shadow: 0px 5px 45px rgba(15, 119, 113, 0.05);
        }
#header-scholarship-directory > div:nth-child(2) {
    max-width: 500px;
    width:100%;
}
#most-popular {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1150px;
    margin: auto;
    gap: 1rem;
}

    .student-slides-container .slick-current + div {
        box-shadow: 0px 5px 45px rgba(15, 119, 113, 0.12);
    }
.winners-grid {
    padding-top: 100px;
}
.winners-grid div:nth-child(1) > h2 {
    font-size: 3rem;
    font-weight: 400;
}
.textWithUnderline {
display: flex;
flex-direction: column;
}
.winners-grid #spn-winners {
font-weight: 900;
max-width: fit-content;
}
.directory-item-header {
    margin: 35px 0 25px 0;
    grid-column-start: 1;
    grid-column-end: span 2;
}
img.in-house-rectangle-add {
    margin-top: 30px;
}

.success-stories-slides {
    overflow: hidden;
    max-width: 500px;
    height: 250px;
    background: #EAFAF8;
    border-radius: 10px;
    display: none;
}

.success-stories-slides-mobile {
    overflow: hidden;
}

.success-stories-slides .slick-slide {
    margin: 10px 20px;
    padding: 15px;
    border-radius: 10px;
}

    .success-stories-slides .slick-slide > div:nth-child(1) a {
        text-decoration: none;
        color: #1A2020;
        line-height: 1.5;
    }

.success-stories-slides h4, .success-stories-slides-mobile h4, .winners-slides > .slick-list > .slick-track > div > div > div:last-child h4 {
    margin: 0;
}

.success-stories-slides img, .success-stories-slides-mobile .slick-slide img, .winners-slides > .slick-list > .slick-track > div > div > div:last-child img {
    border-radius: 136px;
}

.success-stories-slides .slick-slide > div:nth-child(1){
    height:125px;
}

.success-stories-slides .slick-slide > div:nth-child(2), .success-stories-slides-mobile .slick-slide > div:nth-child(2), .winners-slides > .slick-list > .slick-track > div > div > div:last-child {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: flex-start;
    padding: 0px;
    gap: 10px;
    margin-top: 10px;
    height: 100px;
}

    .success-stories-slides .slick-slide > div:nth-child(2) a, .success-stories-slides-mobile .slick-slide > div:nth-child(2) a, .winners-slides > .slick-list > .slick-track > div > div > div:last-child a {
        color: #0F7771;
    }

.success-stories-slides-mobile .slick-slide > div:nth-child(2), .winners-slides > .slick-list > .slick-track > div > div > div:last-child {
    line-height: 1.5;
    font-size: 1.1rem;
    margin-top: 20px;
    padding-bottom: 20px;
}

.success-stories-slides-mobile .slick-slide > div:nth-child(2) {
    margin-top: 50px;
}
.browse-by-scholarships-section {
    background-color: #F0F0F0;
    padding: 30px 6px;
    margin: 0 0 50px 0;
}
.slick-slide a:hover {
    opacity: 50%;
}
/*Select list on mobile*/
.field {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.field__label {
    color: #000;
    font-weight: 800;
    white-space: nowrap;
    height: 22px;
    padding-right:7px;
}

/* select shell */
.select {
    position: relative;
    flex: 1 1 auto;
}

    /* native select reset + base style */
    .select select {
        appearance: none !important;
        -moz-appearance: none !important;
        -webkit-appearance: none !important;
        width: 100%;
        height: var(--h);
        padding: 0 calc(var(--pad-x) + 28px) 0 var(--pad-x); /* room for caret */
        border: 1px solid var(--border);
        border-radius: var(--radius);
        background: var(--bg);
        color: var(--text);
        font-size: 14px;
        line-height: var(--h);
        cursor: pointer;
        height: 50px;
        white-space: normal;
    }

    /* interactions */
    .select select:hover {
        border-color: #d6d6d6;
    }

    .select select:focus {
        outline: 0;
        box-shadow: 0 0 0 4px var(--ring);
        border-color: #22c55e55;
    }
    /* optional: disabled & placeholder look */
    .select select:disabled {
        color: #9ca3af;
        background: #f9fafb;
        cursor: not-allowed;
    }
@media(max-width:1250px) {
    #dir-list > div{
        position:initial;
        margin:30px auto;
    }
    .directory-item-header {
        grid-column-start: unset;
        grid-column-end: unset;
    }
}
@media(max-width:1180px){
    .directory-slides {
        mask-image: linear-gradient(45deg, #000 85%, transparent);
        -webkit-mask-image: linear-gradient(45deg, #000 85%, transparent);
    }
}
@media(max-width:1080px) {
    #header-scholarship-directory {
        flex-direction: column;
    }
    #header-scholarship-directory > div:nth-child(2) {
        margin: auto; 
    }

    #header-scholarship-directory > div:nth-child(1) > div:nth-child(2) {
        align-self: center;
    }

    #header-scholarship-directory > div:nth-child(1) h1 > span {
        display: inline-block;
        width: 100%;
        text-align: center;
    }

    #header-scholarship-directory > div:nth-child(2) {
        display: none;
    }
    #directory-menu {
        max-width: 180px;
    }

    #scholarshipsby-container {
        padding: 0 5px;
    }
    #dir-list {
        padding-top: 0;
        background-color: #F2FFFE;
    }
    #dir-list > div > div {
        background-color: #F2FFFE;
        display:block;
    }
    #dir-list ul {
        background-color: #F2FFFE;
    }
    #dir-list h4 {
        margin: 0 0 0 10px;
    }
    .section-background6{
        height:auto;
    }
    .sponsored-scholarships > h2 {
        font-size: 2rem;
    }
    .winners-grid {
        position: initial;
    }
    .winners-grid > div:first-child {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
    }

    .winners-grid div:nth-child(1) > h2 {
        text-align: center;
        font-size: 2rem;
    }

    .textWithUnderline {
        align-items: center;
    }
    .animate-long-underline {
        width: 75%;
    }

    #award-grid tbody tr {
        height: unset;
        margin: 0 5px 25px 5px;
        padding: 5px 0;
        display: flex;
        flex-wrap: wrap;
    }

    #award-grid tr > th:nth-child(2), #award-grid tr > td:nth-child(2) {
        padding-left: unset;
    }
    #award-grid tr > th:nth-child(2) {
        width: 100%;
    }
    #award-grid tr > td:nth-child(2) {
        font-size: 1.25rem;
        width: 100%;
    }
    #award-grid, #award-grid td, #award-grid tr, #award-grid th {
        display: block;
        text-align: left;
        -webkit-border-vertical-spacing: 0;
    }

        #award-grid th, #award-grid td {
            margin: 0;
            padding-left: 25px;
        }

        #award-grid td {
            margin: 10px;
            list-style: none;
            display: list-item;
            padding-left: 0;
        }
        #award-grid td label{
            display:block;
        }
        #award-grid thead {
            display: none;
        }

        #award-grid tr > td:nth-child(1) {
            display:none;
        }
    #header-scholarship-directory > div:nth-child(1) > div:nth-child(3) {
        flex-direction: column;
    }
    .orangebutton_large {
        width:300px;
        font-size:1.25rem;
    }
}
@media(max-width:600px) {
    #directory-menu {
        display: none;
    }
    .browse-by-scholarships-section {
        margin: 0 0 25px 0;
    }
    #mobile-directory-menu {
        display: block;
        margin-bottom: 25px;
    }

    #scholarshipsby-container {
        padding: 0 5px;
    }
}