body {
    overflow-x: hidden;
}

h2 {
    margin-top: 0;
}

.header-icons {
    cursor: pointer;
    margin-right: 20px;
}

.flex-three-evenly {
    margin-top: 0;
    padding: 25px 0;
}

#header-detail {
    max-width: 1180px;
    margin: auto
}

#header-detail hr {
    margin: 0;
}

#header-items-sch-detail {
    width: 100%;
    display: flex;
    gap: 1rem;
    flex-direction: column;
    margin: 15px 0 25px 0;
}

#previous {
    width: 100%;
    display: inline-block;
    text-align: right;
}

#next {
    width: 100%;
    display: inline-block;
    text-align: left;
}

#header-items-sch-detail-inner-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem 2rem;
    align-items: flex-start;
    width: 100%;
}

#header-items-sch-detail-inner-wrapper>div {
    display: flex;
    justify-content: flex-start;
    align-content: center;
    flex-wrap: wrap;
}

#header-items-sch-detail-inner-wrapper>div>div>div {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 5px;
}

#header-items-sch-detail-inner-wrapper>div>a.greenbutton,
.section-background12 a.greenbutton {
    width: 160px;
    height: fit-content;
}

.two-col-grid img #description-right-image {
    width: 486px;
}

#show-more-link {
    font-weight: 500;
    float: right;
    color: #969696;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 10px;
}

#show-more-link-icon {
    background: url("../img/icons/dropdown-arrow-white.svg");
    background-position: 50% 60%;
    background-repeat: no-repeat;
    background-size: 1rem;
    background-color: #969696;
    border-radius: 50%;
    padding: 5px;
    height: 16px;
    width: 16px;
}

#right-section {
    grid-row-end: span 2;
}

#right-section>div {
    position: sticky;
    position: -webkit-sticky;
    top: 100px;
}

#right-section>div>div:nth-child(2) img:hover {
    opacity: .5;
}

#right-section>div>div:nth-child(3) {
    margin-top: 20px;
}

#right-section>div>div:nth-child(3)>h3 {
    background-color: #F2F4F4;
    padding: 20px;
    border-radius: 10px 10px 0 0;
    margin-bottom: 0
}

#right-section>div>div:nth-child(3)>div>div {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #0F7771;
}

#right-section>div>div:nth-child(3)>div>div:nth-child(1)>a>span:nth-child(1),
#right-section>div>div:nth-child(3)>div>div:nth-child(2)>a>span:nth-child(2),
#right-section>div>div:nth-child(3)>div>div:nth-child(3)>a>span:nth-child(1) {
    font-weight: 700
}

.sch-description {
    max-height: 450px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
}

.contactDetail {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 20px 0;
}

.contactDetail div>a {
    word-break: break-all;
}

.sch-comment {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.won-icon,
.applied-icon,
.favorite-icon,
.selected-won,
.selected-applied,
.selected-favorite,
.elipse-icon {
    width: 25px;
    height: 25px;
    display: inline-block;
    align-self: center;
    justify-self: center;
    cursor: pointer;
    margin-right: 8px;
}

.selected-viewed,
.viewed-icon {
    width: 28px;
    height: 25px;
    display: inline-block;
    align-self: center;
    justify-self: center;
    cursor: pointer;
    margin-right: 8px;
}

.won-icon:hover,
.applied-icon:hover,
.favorite-icon:hover,
.selected-won:hover,
.selected-applied:hover,
.selected-favorite:hover,
.elipse-icon:hover,
.selected-viewed:hover,
.viewed-icon:hover {
    opacity: .5;
}

.elipse-icon {
    background: url('../img/icons/three-dots.svg');
    width: 26px;
}

.won-icon {
    background: url("../img/icons/won.svg") no-repeat;
    background-position: 45% 80%;
}

a.darkbgbutton {
    background-color: #20A699;
    color: #fff;
    padding: 20px, 30px, 20px, 30px;
}

a.darkbgbutton:hover {
    background-color: #08423F;
    color: #EAFAF8;
}

.viewed-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%;
}

.font-size-lg {
    font-size: 1.8rem;
    padding-top: 8px;
}

.greenbutton_headerlg {
    background-color: #FF7F50;
    /* For browsers that do not support gradients */
    background-image: linear-gradient(180deg, #FF7F50 -152.94%, #e24b14 154.41%);
    text-align: center;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    white-space: nowrap;
    font-size: 1.5rem;
    border: none;
    border-radius: 10px;
    margin-top: 20px;
}

.green_background {
    background-color: #0F7771;
    /* For browsers that do not support gradients */
    background-image: linear-gradient(180deg, #30CEBB -152.94%, #0F7771 154.41%);
}

.green_background:hover {
    background-image: linear-gradient(180deg, #000 -152.94%, #0F7771 154.41%);
    color: #fff;
}

.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-viewed {
    background: url("../img/icons/visibility_off-selected.svg") no-repeat !important;
}

.inactiveBanner {
    width: fit-content;
    background: #F2F4F4;
    padding: 1.5rem 1rem;
    border: solid;
    border-color: #96552F;
    border-width: 1px;
    color: #222;
    border-radius: 5px;
}

.inactiveBanner a {
    font-weight: 600;
}

footer:nth-of-type(1) {
    margin-top: 0 !important;
}

#divFlagMore {
    flex-direction: column;
    background: #FFFFFF;
    color: #505050;
    font-weight: 400;
    padding: 1.5rem;
    gap: 0.5rem;
    border: 1px solid #50505050;
    border-radius: 1rem;
    width: 275px;
    position: absolute;
    top: 20px;
    left: -50px;
    z-index: 800;
    display: none;
}

.apply-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;
    gap: 8px;
    width: 100%;
    height: 47px;
    background: linear-gradient(180deg, #FE7C4D 0%, #E6511B 100%);
    border-radius: 10px;
    color: #ffffff;
    border: 0;
    font-size: 17px;
}

.apply-button:hover {
    background-color: #e24b14;
    background-image: linear-gradient(180deg, #8a2906 -152.94%, #e24b14 154.41%);
}

.schs-slides {
    max-width: 1180px;
    overflow: hidden;
    margin: auto;
}

.schs-slides .apply-now-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;
    gap: 8px;
    width: 164px;
    height: 47px;
    background: linear-gradient(180deg, #FE7C4D 0%, #E6511B 100%);
    border-radius: 10px;
    color: #ffffff;
    border: 0;
    font-size: 17px;
}

#left-arrow-sch-slides {
    background: url('../img/icons/left_carousel_navigate.svg');
    width: 80px;
    height: 80px;
    cursor: pointer;
    display: flex;
    flex-flow: column;
    align-self: center;
}

#right-arrow-sch-slides {
    background: url('../img/icons/right_carousel_navigate.svg');
    width: 80px;
    height: 80px;
    cursor: pointer;
    display: flex;
    flex-flow: column;
    align-self: center;
}

#top-display {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    max-width: 1180px;
    width: 100%;
    margin: 40px auto;
}

#top-display h1 {
    font-weight: 700;
    font-size: 2.5rem;
    flex: 1;
}

#top-display>div:first-child {
    width: 740px;
}

#top-display>div:first-child {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

#top-display>div:nth-child(2) {
    flex: 1
}

#div-past-winners>h2,
#div-past-winners>div {
    max-width: 1180px;
    margin: auto;
}

#div-past-winners>div>div {
    display: flex;
    margin: 20px 0;
}

#div-past-winners>div>div>div:first-child {
    flex: 3;
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 350px;
    min-width: 300px;
    width: 100%;
}

#div-past-winners>div>div>div:first-child img {
    border-radius: 136px;
    margin-right: 20px;
}

#div-past-winners>div>div>div:nth-child(2) {
    display: flex;
    flex: 6;
}

#div-past-winners>div>div>div:nth-child(2)>div:first-child,
#div-past-winners>div>div>div:nth-child(2)>div:nth-child(2) {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    max-width: 350px;
    width: 100%;
}

#div-past-winners>div>div>div:nth-child(2)>div:nth-child(3) {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

@media(max-width:1250px) {
    .two-col-grid {
        grid-template-columns: 100%;
        max-width: initial;
    }
    .two-col-grid img {
        float: unset;
        margin: 50px auto;
        display: block;
        width: 100%;
        max-width: 468px;
        object-fit: cover;
    }
    .two-col-grid>div:first-child {
        margin-right: unset;
    }
    .category--content {
        order: 2;
    }
    .category--image {
        order: 1;
    }
    .commentWrapper {
        grid-template-columns: 1fr 1fr;
        column-gap: 30px;
    }
    .schs-slides {
        max-width: 800px;
    }
}

@media(max-width:1180px) {
    #header-detail>div>div:nth-child(1) a {
        text-align: left;
    }
    #header-detail>div>div:nth-child(3) a {
        text-align: right;
    }
    .flex-three-evenly>div {
        margin: 5px;
    }
    #div-past-winners>div>div>div:nth-child(2)>div:nth-child(3) {
        flex: unset;
        font-size: .8rem;
    }
    #top-display {
        grid-template-columns: 1fr;
    }
    #right-section {
        grid-row-end: unset;
    }
    #right-section>div {
        position: unset;
    }
    #top-display>div:first-child {
        width: unset;
    }
}

@media(max-width:1000px) {
    /*Overriding styles from sitewide, so the previous/next buttons stay aligned, when the screen gets narrower.*/
    .flex-three-evenly {
        display: flex;
    }
    .flex-three-evenly>div {
        width: 33%;
        text-align: initial;
    }
}

@media(max-width: 834px) {
    .commentWrapper {
        display: flex;
        flex-direction: column;
    }
    #featured-content-grid .slick-slide {
        display: inline-flex !important;
    }
    .slick-list {
        overflow: hidden !important;
    }
}

@media(max-width: 600px) {
    .sponsored-scholarships .margin-auto {
        text-align: center;
    }
    .two-col-grid .animate-medium-1-underline,
    .sponsored-scholarships .animate-medium-2-underline {
        display: none;
    }
    .flex-three-evenly {
        padding: 10px 0;
    }
    .flex-three-evenly>div {
        width: unset;
        font-size: 1rem;
    }
    #top-display {
        gap: 20px;
        margin: 20px auto;
    }
}