﻿#scholarship-matches {
    padding-bottom: 15px;
    padding-top: 15px;
}

#no-deleted-matches, #no-favorited-matches, #no-applied-matches, #no-won-matches {
    text-align: center;
    display: none;
}

#no-scholarships {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 30px;
    display: none;
}
/*#divModalCongrats{
    vertical-align:top;
}
.blocker{
    text-align:left;
}*/
#scholarship-search-textbox {
    padding-left: 48px;
}
#matches-totals-box {
    padding: 0px !important;
    display: flex;
    align-content: stretch;
    justify-content: space-between;
    gap: 15px;
}
    #matches-totals-box > div {
        border-radius: 10px;
        font-size: 1.2rem;
        padding: 20px;
        flex: 1;
        display: flex;
        align-items: center;
        color: #333;
        font-weight: bold;
        background-color: #EAFAF8;
    }

    .scholarship-matches-section {
        max-width: 1180px;
        margin: 0 auto 15px auto;
    }

    .scholarship-matches-section h2 {
        font-size: 1.25rem;
    }

#div-popular-scholarships {
    margin-top: 0px;
    padding-top: 0px;
    display: inline-flex;
}

.scholarships-list-item {
    margin-top: 15px;
}

    .scholarships-list-item > div:nth-child(1) {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        padding: 15px 15px 0 15px;
        gap: 15px;
        background: #EAFAF8;
        border-radius: 10px 10px 0 0;
        position:relative;
    }

        .scholarships-list-item > div:nth-child(1) > div:nth-child(1) {
            background-size: contain;
            width: 60px;
            height: 60px;
            background-repeat: no-repeat;
            background-position-y: center;
            border-radius: 10px;
            background-color: white;
            margin-bottom:15px;
        }

        .scholarships-list-item > div:nth-child(1) > div:nth-child(2) {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            padding: 0px;
            gap: 10px;
            width:100%;
            max-width: 650px;
        }
        .scholarships-list-item > div:nth-child(1) > div:nth-child(3) {
            display: none;
            font-style: normal;
            font-weight: 400;
            font-size: 14px !important;
            line-height: 160%;
            align-items: center;
            color: #1A2020;
            margin-bottom: 15px;
        }
        .scholarships-list-item > div:nth-child(1) > div:nth-child(4) {
            background: #F2F4F4;
            position: absolute;
            top: 5px;
            right: 10px;
            border-radius: 10px;
            font-size: .7rem;
            display: flex;
            align-items: center;
        }
            .scholarships-list-item > div:nth-child(1) > div:nth-child(2) > h3 {
                margin: 5px 0;
                cursor:pointer;
            }

            .scholarships-list-item > div:nth-child(1) > div:nth-child(2) > p {
                font-style: normal;
                font-weight: 400;
                font-size: 14px !important; 
                line-height: 160%;
                align-items: center;
                color: #1A2020;
                margin-bottom: 0;
            }

    .scholarships-list-item > div:nth-child(2) {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        gap: 30px;
        background: #F2F4F4;
        border-radius: 0 0 10px 10px;
    }

        .scholarships-list-item > div:nth-child(2) > div:nth-child(1) {
            display: flex;
            flex-direction: row;
            align-items: center;
            padding: 0px;
            gap: 25px;
        }

        .scholarships-list-item > div:nth-child(2) > div:nth-child(2) {
            display: flex;
            flex-direction: row;
            align-items: center;
            padding: 0px;
            gap: 20px;
        }

        .scholarships-list-item > div:nth-child(2) > div:nth-child(1) > div {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            padding: 0px;
            gap: 5px;
        }

            .scholarships-list-item > div:nth-child(2) > div:nth-child(1) > div > div {
                display: flex;
                flex-direction: row
            }

            .scholarships-list-item > div:nth-child(2) > div:nth-child(1) > div > h5 {
                font-style: normal;
                font-weight: 700;
                font-size: 24.48px;
                line-height: 130%;
                display: flex;
                align-items: center;
                color: #1A2020;
                margin: 5px 0;
            }

.winners-grid {
    grid-template-columns: auto auto;
    gap: 15px;
}

    .winners-grid > div:nth-child(1) {
        position: sticky;
        top:100px;
        align-self: flex-start;
    }

    .winners-grid > div:nth-child(2) {
        width:100%;
        margin: 0 auto;
    }

.award-grid {
    width: 100%;
    border-spacing: 0 15px;
}

    .award-grid tr > th:nth-child(2), .award-grid tr > td:nth-child(2) {
        padding: 0 30px;
        position: relative;
    }

    .award-grid tr > td, .award-grid tr > th {
        color: #26302F;
        text-align: left;
        text-decoration: none;
    }

    .award-grid tr > th {
        font-weight: 400;
    }

        .award-grid tr > th:nth-child(1) {
            width: 5px;
        }

        .award-grid tr > th:nth-child(2) {
            width: 50%;
        }

        .award-grid tr > th:nth-child(3) {
            width: 90px;
            padding-right: 20px;
        }

        .award-grid tr > th:nth-child(5) {
            width: 125px;
        }

    .award-grid tr > td {
        font-weight: 600;
    }

    .award-grid td label {
        display: none;
        font-weight: 400;
    }

    .award-grid th > td:nth-child(2) {
        width: 25%;
    }

    .award-grid tbody tr {
        height: 60px;
        background-color: #EFF9F7;
        cursor: pointer;
    }

    .award-grid > tbody > tr:hover {
        background-color: rgb(48 206 187 / 15%) !important;
    }

    .award-grid tbody tr.even-row {
        background-color: #EEF5F4;
    }

.won-icon, .applied-icon, .favorite-icon, .selected-won, .selected-applied, .selected-favorite {
    width: 25px;
    height: 25px;
    display: inline-block;
    align-self: center;
    justify-self: center;
    cursor: pointer;
    margin-right: 8px;
}

.selected-delete, .delete-icon {
    width: 28px;
    height: 25px;
    display: inline-block;
    align-self: center;
    justify-self: center;
    cursor: pointer;
}

    .won-icon:hover, .applied-icon:hover, .favorite-icon:hover, .selected-won:hover, .selected-applied:hover, .selected-favorite:hover, .elipse-icon:hover, .selected-delete:hover, .delete-icon:hover {
        opacity: .5;
    }

.won-icon {
    background: url("/img/icons/won.svg") no-repeat;
    background-position: 45% 80%;
}

.delete-icon {
    background: url("/img/icons/visibility_off.svg") no-repeat;
}

.applied-icon {
    background: url("/img/icons/applied.svg") no-repeat;
}

.favorite-icon {
    background: url("/img/icons/favorited.svg") no-repeat;
    background-position: 45% 80%;
}

.selected-won {
    background: url("/img/icons/won-selected.svg") no-repeat !important;
    background-position: 45% 100% !important;
}

.selected-applied {
    background: url("/img/icons/applied-selected.svg") no-repeat !important;
    background-position: 45% 50% !important;
}

.selected-favorite {
    background: url("/img/icons/favorited-selected.svg") no-repeat !important;
    background-position: 45% 50% !important;
}

.selected-delete {
    background: url("/img/icons/visibility_off-selected.svg") no-repeat !important;
}

td:nth-of-type(5) {
    display: flex !important;
    gap: 5px;
    align-items: center;
    height: 60px;
    padding: 0 10px;
    flex-direction: row;
    width: 100%;
}

    td:nth-of-type(5) > span {
        display: flex;
        align-items: center;
    }



#deleted-matches {
    display: none;
}

.tracking-image {
    position: absolute;
}

button.filter-accordion {
    background-color: #F2F4F4;
    color: #1A2020;
    cursor: pointer;
    padding: 20px 0;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    margin-bottom: 1px;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
}

div.panel {
    padding: 0;
    background-color: #F2F4F4;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.panel label {
    display: flex;
    align-items: center;
}

    .panel label span {
        margin-left: 10px;
    }

img.down {
    margin: 0 5px 1px 0;
    transition: transform 0.2s;
}

img.up {
    margin: 0 5px 1px 0;
    transform: rotate(180deg);
    transition: transform 0.2s;
}

.popular-scholarship-categories-slides {
    max-width: 1180px;
    overflow: hidden;
    margin: auto;
}

.slick-list > .slick-track > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #EAFAF8;
    border-radius: 10px;
    margin: 40px 30px 25px 0;
}

.popular-scholarship-categories-slides > div > div > div img {
    width: 365px;
    border-radius: 10px 10px 0 0;
}

.popular-scholarship-categories-slides > div > div > div {
    max-width: 365px;
}

#right-arrow-popular-scholarship-categories {
    background: url(/img/icons/right_carousel_navigate.svg);
    width: 80px;
    height: 80px;
    cursor: pointer;
    display: flex;
    flex-flow: column;
    align-self: center;
}

#left-arrow-popular-scholarship-categories {
    background: url(/img/icons/left_carousel_navigate.svg);
    width: 80px;
    height: 80px;
    cursor: pointer;
    display: flex;
    flex-flow: column;
    align-self: center;
}

@media(max-width:1600px) {
    #div-popular-scholarships {
        display: flex;
    }
}

@media(max-width:1180px) {

    #left-arrow-popular-scholarship-categories, #right-arrow-popular-scholarship-categories {
        display: none !important;
    }

    #not-deleted-matches, #deleted-matches {
        padding: 0 5px;
    }

    .winners-grid {
        display: block;
        position: initial;
    }

        .winners-grid > div:nth-child(1) {
            position: static;
        }

        .winners-grid .big-button {
            display: inline-block;
            margin-bottom: 50px;
        }

        .winners-grid div:nth-child(1) > div > p {
            font-size: 2.5rem;
        }

    .award-grid tr > td:nth-child(1), .award-grid tr > th:nth-child(1) {
        display: none;
    }

    .promotion-card > td {
        display: table-cell !important;
    }

    #divCareerOpsText > td, #divPreferredText > td, #divMatchesText > td {
        display: table-cell !important;
    }

    #divModalCongrats {
        left: 0;
        top: 25px;
    }

    .popular-scholarship-categories-slides {
        max-width: 400px;
    }

    .winners-grid > div:nth-child(2) {
        max-width: unset;
    }
}

@media(max-width:834px) {
    .award-grid {
        margin-top: 0;
    }

        .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 tbody tr {
            height: unset;
            margin: 10px 0;
            padding: 5px 0;
            display: flex;
            flex-wrap: wrap;
        }

        .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: 5px 10px;
                list-style: none;
                display: list-item;
                padding-left: 0;
            }

                .award-grid td label, tbody {
                    display: block;
                }

            .award-grid thead {
                display: none;
            }
    .scholarships-list-item > div:nth-child(2){
        display:none;
    }
    td:nth-of-type(5) {
        height: fit-content;
    }

    #divCareerOpsText > td, #divPreferredText > td, #divMatchesText > td {
        display: table-cell !important;
    }

    #divCareerOpsText, #divPreferredText, #divMatchesText {
        display: table-row !important;
    }

        #divSponsoredText, #divCareerOpsText h3, #divPreferredText h3, #divMatchesText h3 {
            margin-top: 2rem;
        }

    .modal {
        width: 99%;
    }

    #divTotalAwards .font-size-md, #divTotalAmountAwards .font-size-md {
        font-size: 1rem;
    }

    .promotion-card .adsbygoogle {
        width: calc(100vw - 22px) !important;
    }

    .slick-list > .slick-track > div {
        margin: 10px 10px 25px 0;
    }
    #matches-totals-box{
        flex-direction:column;
        gap:15px;
    }
        #matches-totals-box > div {
            padding:10px;
        }
    .scholarships-list-item > div:nth-child(2) {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 15px;
    }
        .scholarships-list-item > div:nth-child(2) > div:nth-child(1) {
            grid-column: 1 / 3;
            grid-row: 1;
            justify-content:space-around;
        }
        .scholarships-list-item > div:nth-child(2) > div:nth-child(2) {
            grid-column:1;
            grid-row:2;
            justify-content:space-around;
            gap:0;
        }
        .scholarships-list-item > div:nth-child(2) > div:nth-child(3) {
            grid-column: 2;
            grid-row: 2;
            display:flex;
            justify-content:space-around;
        }
    .scholarships-list-item > div:nth-child(1) > div:nth-child(2) > p{
        display:none;
    }
    .scholarships-list-item > div:nth-child(1) {
        display: grid;
        grid-template-columns: 60px 1fr;
        grid-template-rows: auto auto;
        gap: 15px;
    }
        .scholarships-list-item > div:nth-child(1) > div:nth-child(1) {
            width: 60px;
            height: 60px;
            grid-column: 1;
            grid-row: 1;
            justify-content: space-around;
            margin-bottom: 0;
        }
        .scholarships-list-item > div:nth-child(1) > div:nth-child(2) {
            grid-column: 2;
            grid-row: 1;
            justify-content: space-around;
            height:100%;
        }
        .scholarships-list-item > div:nth-child(1) > div:nth-child(3) {
            display: block;
            grid-column: 1 / 3;
            grid-row: 2;
            gap: 0;
        }

}

.educators-sidebar {
    background: #F2F4F4;
    border-radius: 10px;
    padding: 15px 20px;
    margin-top: 15px;
}

    .educators-sidebar .sort-box-left-top {
        margin-bottom: 12px;
    }

.educator-card {
    background: #fff;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 8px;
}

    .educator-card:last-child {
        margin-bottom: 0;
    }

.educator-card-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1A2020;
    margin-bottom: 3px;
}

.educator-card-org {
    font-size: 0.8rem;
    color: #748A83;
    margin-bottom: 8px;
    line-height: 1.4;
}

.educator-card-action a {
    display: inline-block;
    background-color: #0F7771;
    background-image: linear-gradient(180deg, #30CEBB -152.94%, #0F7771 154.41%);
    text-align: center;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    white-space: nowrap;
    font-size: 0.9rem;
    border: none;
    border-radius: 10px;
}

    .educator-card-action a:hover {
        background-image: linear-gradient(180deg, #000 -152.94%, #0F7771 154.41%);
        color: white;
        text-decoration: none;
    }
