﻿.container-with-overflow {
    height: 80vh;
    overflow-y: auto;
}

.blue-section {
    background: #0059A5;
    padding: 1.042vw 5.208vw;
}

    .blue-section h3 {
        color: #FFFFFF;
        font-family: Lato;
        font-size: 2.1875rem;
        font-style: normal;
        font-weight: 700;
        line-height: 44px;
    }

.breadcrumb {
    border-bottom: none;
}

.breadcrumb-item {
    border-bottom: none;
}

    .breadcrumb-item a {
        color: #FFFFFF;
        font-family: Lato;
        font-size: 0.875rem;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        /* text-decoration-line: underline;*/
        border-bottom: 1px solid #FFFFFF;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        color: #FFFFFF !important;
    }

    .breadcrumb-item:nth-last-child(n)::after {
        content: url('/resources/icons/breadcrumb-divider-icon.svg'); /* Divider after the single item */
        padding-left: 0.25rem;
    }


.nav-tabs {
    gap: 30px;
}

    .nav-tabs .nav-link {
        color: #FFFFFF;
        font-family: Lato;
        font-size: 1.25rem;
        font-style: normal;
        font-weight: 700;
        line-height: 33.2px;
        padding: 0;
    }

        .nav-tabs .nav-link.active {
            color: #FFFFFF;
            background-color: transparent;
            border: none;
            /*padding-bottom: 10px;*/
            border-bottom: 4px solid #FFFFFF;
        }

            .nav-tabs .nav-link.active:hover {
                border-bottom: 4px solid #FFFFFF;
            }

        .nav-tabs .nav-link:focus,
        .nav-tabs .nav-link:hover {
            border-color: #0059A5;
            border-bottom: 1px solid #FFFFFF;
        }

.challenge-category {
    /*padding: 1.042vw 0 1.024vw 5.208vw;*/
    display: flex;
    gap: 1.25rem;
}

    .challenge-category .cat-name-selected {
        border-radius: 5px;
        border: 1px solid #090909;
        padding: 0.5rem 0.9375rem;
        width: max-content;
        /*display: inline-block;*/
    }

        .challenge-category .cat-name-selected label {
            color: #090909;
            text-align: center;
            font-family: Lato;
            font-size: 0.875rem;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
        }

    .challenge-category .cat-name {
        border-radius: 5px;
        border: 1px solid #090909;
        padding: 0.5rem 0.9375rem;
        width: max-content;
        /* display: inline-flex;*/
    }

        .challenge-category .cat-name label {
            color: #090909;
            text-align: center;
            font-family: Lato;
            font-size: 0.875rem;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
        }

    .challenge-category .arrow-left {
        position: absolute;
        top: 1rem;
        z-index: 1;
    }

    .challenge-category .arrow-right {
        position: absolute;
        top: 1rem;
        right: -5%;
        z-index: 1;
    }

    .challenge-category .box-inner {
        width: 100%;
        /*  position: absolute;*/
        white-space: nowrap;
        overflow-y: hidden;
        overflow-x: scroll;
        margin-left: 1.5rem;
        overflow: hidden;
    }

.main-page {
    padding: 1.042vw 5.208vw;
}

    .main-page h6 {
        color: #191919;
        font-family: Lato;
        font-size: 1rem;
        font-style: normal;
        font-weight: 400;
        line-height: 26px;
    }

.open-challenges-section {
    /*margin: 3.646vw 5.208vw;*/
    cursor: pointer;
}

    .open-challenges-section .image-container {
        width: 100%;
        display: block;
        overflow: hidden;
        border-radius: 10px !important;
    }

        .open-challenges-section .image-container img {
            width: 100%;
            height: 328px;
            transition: transform 1s ease;
        }

    .open-challenges-section:hover .image-container img {
        transform: scale(1.1);
        border-radius: 10px !important;
    }

    .open-challenges-section:hover .challenge-title {
        color: #007DC4;
    }

    .open-challenges-section:hover .challenge-description p {
        color: #191919;
    }

    .open-challenges-section .challenge-type {
        padding: 5px 10px 5px 10px;
        border-radius: 20px;
        border: 1px solid #007DC4;
        display: flex;
        align-self: center;
    }

        .open-challenges-section .challenge-type label.challenge-text {
            color: #007DC4;
            font-family: Lato;
            font-size: 0.75rem;
            font-weight: 400;
            line-height: 14.4px;
            text-align: center;
            display: inline-block;
            width: 142px;
            white-space: nowrap;
            overflow: hidden !important;
            text-overflow: ellipsis;
        }

        .open-challenges-section .challenge-type label {
            color: #007DC4;
            font-family: Lato;
            font-size: 0.75rem;
            font-weight: 400;
            line-height: 14.4px;
            text-align: center;
        }

    .open-challenges-section .challenge-title {
        font-family: Lato;
        font-size: 1.625rem;
        font-weight: 600;
        line-height: 33px;
        text-align: left;
        height: 6.5rem;
        display: -webkit-box;
        max-width: 400px;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .open-challenges-section label.grey-text {
        font-family: Lato;
        font-size: 1rem;
        font-weight: 400;
        line-height: 26px;
        color: rgba(9, 9, 9, 0.50);
    }

    .open-challenges-section label.date-amount {
        color: #090909;
        font-family: Lato;
        font-size: 1.25rem;
        font-style: normal;
        font-weight: 600;
        line-height: 33.2px;
    }

    .open-challenges-section .challenge-description {
        color: rgba(9, 9, 9, 0.50);
        font-family: Lato;
        font-size: 1rem;
        font-style: normal;
        font-weight: 400;
        line-height: 25px;
        letter-spacing: 0.16px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

/* media query */
@media only screen and (min-width:1366px) and (max-width:1920px) {
    .open-challenges-section .challenge-type label.challenge-text {
        width: 142px;
    }
}

@media only screen and (min-width:992px) and (max-width:1365px) {
    .open-challenges-section .challenge-type label.challenge-text {
        width: 90px;
    }
}

@media only screen and (min-width:768px) and (max-width:991px) {
    .open-challenges-section .challenge-type label.challenge-text {
        width: 115px;
    }
}

@media only screen and (max-width: 768px) {
    .nav-tabs {
        gap: 10px;
    }

        .nav-tabs .nav-link {
            font-size: 1rem;
            line-height: 24px;
        }

    .challenge-category {
        padding: 0.833vw 0 0.833vw 5.208vw;
        padding-left: 0;
    }

        .challenge-category .cat-name {
            padding: 6px 5px;
            border: 1px solid #090909 !important;
        }

            .challenge-category .cat-name label {
                font-size: 0.75rem;
                color: #090909 !important;
            }

            .challenge-category .cat-name:hover {
                border: 1px solid #007DC4;
                background: transparent !important;
            }

                .challenge-category .cat-name:hover label {
                    color: #005483;
                }

            .challenge-category .cat-name:active,
            .challenge-category .cat-name:focus {
                color: #FFFFFF;
                border: 1px solid #007DC4;
            }



        .challenge-category .cat-name-selected {
            background-color: rgb(0, 125, 196);
            border: 1px solid rgb(0, 125, 196);
            padding: 6px 5px;
        }

            .challenge-category .cat-name-selected label {
                font-size: 0.75rem;
                color: rgb(255, 255, 255);
            }


        /* .challenge-category .arrow-right {
            right: -34rem;
        }*/

        .challenge-category .box-inner {
            width: 90%;
        }

        .challenge-category .cat-name-selected {
            background-color: rgb(0, 125, 196);
            border: 1px solid rgb(0, 125, 196);
        }

            .challenge-category .cat-name-selected label {
                color: rgb(255, 255, 255);
            }

    .main-page {
    }

        .main-page h6 {
            line-height: 26px;
        }

    .open-challenges-section .challenge-type label.challenge-text {
        width: 74px;
    }

    .open-challenges-section label.grey-text {
        font-size: 0.875rem;
        line-height: 20px;
    }

    .open-challenges-section label.date-amount {
        font-size: 0.875rem;
        line-height: normal;
    }

    .open-challenges-section .challenge-title {
        font-size: 1.125rem;
    }

    .open-challenges-section .challenge-description {
        font-size: 0.875rem;
        line-height: 22px;
        letter-spacing: 0.28px;
    }

    .container-with-overflow {
        height: 90vh;
        overflow-y: auto;
    }
}

@media only screen and (max-width:576px) {
    .open-challenges-section .challenge-type label.challenge-text {
        width: 135px;
    }
}

@media only screen and (max-width:420px) {
    .open-challenges-section .challenge-type label.challenge-text {
        width: 120px;
    }
}
