#home_carousel,
#home_resource-type-nav {
    display: flex;
    width: 100%;
}

#home_carousel_container {
    margin-bottom: 3em;
}

#home_carousel {
    position: relative;
}

#home_carousel img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 15px;
    transition: all .3s ease;
    opacity: 0;
    position: absolute;
    /* object-fit: contain; */
    border: .5px solid #dddddd;
    visibility: hidden;
}

#home_carousel img.selected {
    opacity: 1;
    z-index: 2;
    visibility: visible;
}

#home_resource-type-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 2em;
}

#home_resource-type-nav span {
    margin-right: 1.5em;
    font-size: 20px;
    color: #797979;
    cursor: pointer;
}

#home_resource-type-nav span.selected {
    color: #2397f3;
    font-weight: 500;
}

#home_resource-type-nav .underline {
    border-bottom: 2px solid;
    width: 70%;
    padding-top: 0.4em;
    margin: auto;
}

#home_resources {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2.5em;
    width: 100%;
    padding-bottom: 2em;
}

#home_carousel-image_container {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home_resource-img img {
    width: 9em;
    height: 6.5em;
    object-fit: cover;
    border-radius: 10px;
    border: 0.5px solid #dddddd;
}

.resource,
.resource div {
    display: flex;
}

.home_resource-description {
    justify-content: space-between;
    margin-left: 1.8em;
    flex-direction: row;
    align-items: center;
    width: 100%;
}

.home_resource-description .home_resource_title {
    color: #242424;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 0.3em;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.home_resource-description .home_resource_details {
    display: flex;
    align-items: center;
}

.home_resource-description .home_resource_details img {
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 0.3em;
}

.home_resource-description .home_resource_details small {
    font-size: 12px;
}

#arrow-left,
#arrow-right {
    position: absolute;
    cursor: pointer;
    z-index: 10;
    width: 47px;
    height: 47px;
    transform: translateY(-50%);
    top: 50%;
}

#arrow-left svg,
#arrow-right svg {
    width: 47px;
    height: 47px;
    fill: #2196f3;
}

#arrow-right {
    right: -3.5em;
}

#arrow-left {
    left: -3.5em;
}

.home_page_container {
    min-width: 75% !important;
    /* width: 75% !important; */
    display: flex;
    flex-direction: column;
    height: 100%;
}

#home_carousel_container {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 400px;
    min-height: 400px;
}

@media only screen and (max-device-width: 1920px) {
    #home_resources {
        grid-gap: 2em 2em;
    }

    .container {
        /* padding-top: 1.5em; */
        padding-right: 4em;
        padding-left: 3em;
    }

    .home_resource-img img {
        width: 7em;
        height: 5.5em;
    }

    #home_carousel_container {
        height: 340px;
    }

    #home_carousel {
        width: 90%;
    }

}

@media only screen and (max-device-width: 1600px) {
    #home_resources {
        grid-gap: 1.2em 2em;
    }

    .home_resource-img img {
        width: 6em;
        height: 5em;
    }

    #home_carousel_container {
        margin-bottom: 1.3em;
    }

    #home_carousel {
        width: 96%;
    }

    .home_page_container {
        height: 100% !important;
    }

    .home_resource-description .home_resource_title {
        -webkit-line-clamp: 2;
    }
    .home_resource-description .home_resource_details img {
        width: 19px;
        height: 19px;
    }
}

@media only screen and (max-device-width: 1366px) {
    #home_carousel_container {
        height: 270px;
    }

    #home_resource-type-nav span {
        font-size: 16px;
    }

    .home_resource-description {
        margin-left: 0.8em;
    }
}

@media only screen and (max-width: 1100px) {
    #home_resources {
        grid-template-columns: none;
    }

    #home_carousel_container {
        height: 330px;
        min-height: 330px;
    }

    #home_resource-type-nav span {
        margin-right: 0.7em;
        font-size: 14px;
    }

    .container {
        padding-right: 2.5em;
        padding-left: 2.5em;
    }
}

@media only screen and (max-width: 800px) {
    #home_carousel_container {
        height: 240px;
        min-height: 240px;
    }
}