﻿.container-with-overflow {
    height: 82vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.main-section {
}

.blue-section {
    background-color: #0059A5;
    padding: 1.042vw 5.208vw;
}

    .blue-section h4 {
        color: #FFFFFF;
        font-family: Lato;
        font-size: 2.1875rem;
        font-style: normal;
        font-weight: 700;
        line-height: 44px;
        height: 150px;
    }

.content-section {
    padding: 1.042vw 5.208vw 0 5.208vw;
}

.breadcrumb {
    border-bottom: none;
}

.breadcrumb-item {
    border-bottom: none;
    display: flex;
}

    .breadcrumb-item a {
        color: #FFFFFF;
        font-family: Lato;
        font-size: 0.875rem;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        border-bottom: 1px solid #FFFFFF;
    }

    .breadcrumb-item:last-child a {
        /*border: none;*/
    }

    .breadcrumb-item.active {
        display: flex;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        color: #FFFFFF !important;
        font-size: 1rem;
    }

    .breadcrumb-item:last-child::after {
        content: url('/resources/icons/breadcrumb-divider-icon.svg');
        margin-left: 0.5rem;
        margin-top: -5px;
    }

/* top carousel */
.carousel-indicators {
    border-radius: 0px 0px 10px 10px;
    /*  background: rgba(9, 9, 9, 0.60);
    backdrop-filter: blur(1px);*/
    position: relative;
    margin-left: 0;
    margin-right: 0;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0;
    align-items: center;
}

    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: rgba(0, 125, 196, 0.5);
        transition: background-color 0.3s ease;
    }

    .carousel-indicators button.active {
        border-radius: 50%;
        width: 16px;
        height: 16px;
        background-color: #007DC4;
    }

.carousel-inner .carousel-item img {
    height: 315px;
    border-radius: 10px 10px 0 0;
}

.challenge-name h4 {
    color: #007DC4;
    font-family: Lato;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    height: 52px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

.challenge-data {
}

    .challenge-data .challenge-desc {
        color: #090909;
        font-family: Lato;
        font-size: 1rem;
        font-style: normal;
        font-weight: 400;
        margin-top: 10px;
        line-height: 24px;
        height: 97px;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        overflow: hidden;
    }

.custom-tooltip {
    --bs-tooltip-bg: #D9D9D9;
    --bs-tooltip-color: --bs-black;
    font-weight: bold;
}

/*.tooltip-inner {
    color: #090909;
    font-family: Lato;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    white-space: normal;
    background-color: #FFFFFF !important;
    box-shadow: 0px 3px 5px 0px rgba(9, 9, 9, 0.30);
    max-width: 300px !important;
}

.tooltip .tooltip-arrow {
    top: -40% !important;
}

    .tooltip .tooltip-arrow::before {
        border-right: 15px solid red !important;
    }*/

.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip {
    visibility: hidden;
    color: #fff;
    text-align: left;
    border-radius: 10px;
    padding: 10px;
    position: absolute;
    top: -35%;
    left: 170%;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: pre-wrap;
    color: #090909;
    font-family: Lato;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    white-space: normal;
    /*  box-shadow: 0px 3px 5px 0px rgba(9, 9, 9, 0.30);*/
    width: 300px !important;
    background-color: #F7F9FA;
    filter: drop-shadow(0px 3px 5px rgba(9, 9, 9, 0.30));
}

.tooltip-container:hover .tooltip {
    visibility: visible;
    opacity: 1;
    }

.tooltip::after {
    content: '';
    position: absolute;
    top: 6%;
    left: -6.75%;
    border-width: 10px;
    border-style: solid;
    border-color: transparent #F7F9FA transparent transparent;
    /* Arrow pointing to the left */
}

.amount {
    color: #090909;
    font-family: Lato;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.days-left {
    color: #D24F2A;
    font-family: Lato;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

label.form-check-label {
    color: #090909;
    font-family: Lato;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
}

.terms-conditions {
    color: #007DC4;
    font-family: Lato;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.challenge-section {
    margin-top: 32px;
    padding: 0 5.208vw 1.042vw 5.208vw;
}

    .challenge-section h3 {
        color: #090909;
        font-family: Lato;
        font-size: 1.25rem;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    .challenge-section p,
    .challenge-section ul,
    .challenge-section span {
        color: #090909 !important;
        font-family: Lato !important;
        font-size: 1rem !important;
        font-style: normal !important;
        font-weight: 400 !important;
        line-height: 26px !important;
    }

.open-challenges {
    margin-top: 1.25rem;
    padding: 1.042vw 5.208vw;
}

    .open-challenges label.open-label {
        color: #090909;
        text-align: center;
        font-family: Lato;
        font-size: 1.625rem;
        font-style: normal;
        font-weight: 700;
        line-height: 33.2px;
    }

    .open-challenges label span {
        color: #F7931E;
    }

.open-challenges-section {
    cursor: pointer;
 /*   overflow: hidden;*/
    border-radius: 10px 10px 0 0;
}

    .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 {
        color: #191919;
    }

    .open-challenges-section .challenge-type {
        padding: 5px 8px;
        border-radius: 20px;
        border: 1px solid #007DC4;
        display: flex;
        align-self: center;
    }

        .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;
        height: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

.control-label {
    color: #090909;
    font-family: Lato;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

#SeekClarificationModal .modal-header {
    padding: 20px 20px 10px 20px;
    border-bottom: 1px solid rgba(9, 9, 9, 0.20) !important;
    background-color: #FFFFFF !important;
}

#SeekClarificationModal .modal-body {
    padding: 20px;
}

.captcha-block {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    border-left: 5px solid #5682FD;
}

    .captcha-block .refresh-captcha {
        border-radius: 4px;
        background: #2F7AFE;
        padding: 5px;
    }

#captchaCode {
    padding: 7px;
}

    #captchaCode::placeholder {
        color: #A1ACCA;
        text-align: center;
        font-family: Lato;
        font-size: 1rem;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }

@media only screen and (max-width: 768px) {
    .blue-section h4 {
        font-size: 1.375rem;
        line-height: 26px;
        height: 100px;
    }

    .content-section {
        width: 100%;
    }

    .carousel-inner .carousel-item img {
        height: 250px;
    }

    .challenge-name h4 {
        height: max-content;
        -webkit-line-clamp: none;
    }

    .challenge-data {
        position: static;
    }

        .challenge-data .challenge-desc {
            font-size: 0.875rem;
            font-style: normal;
            font-weight: normal;
            line-height: 24px;
            padding: 0;
            height: max-content;
            -webkit-line-clamp: none;
        }

    .amount {
        color: #090909;
        text-align: right;
        font-family: Lato;
        font-size: 0.875rem;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    .days-left {
        color: #D24F2A;
        font-family: Lato;
        font-size: 0.875rem;
        font-style: normal;
        font-weight: 700;
        /*line-height: normal;*/
    }

    .terms-conditions {
        font-size: 1rem;
        text-decoration-line: underline;
    }

    .challenge-section {
        padding-right: 2.5rem;
    }

        .challenge-section h3 {
            font-size: 1.125rem;
            line-height: 27px;
        }

        .challenge-section p,
        .challenge-section ul,
        .challenge-section span {
            font-size: 0.875rem;
            line-height: 20px;
        }

    .open-challenges {
        margin-top: 1.125rem;
    }

        .open-challenges label.open-label {
            font-size: 1.375rem;
        }

        .open-challenges label span {
            text-decoration-line: none;
        }

    .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;
    }

    .context-text {
        width: 100%;
    }

    .container-with-overflow {
        height: 88vh;
        overflow-y: auto;
    }
}

@media only screen and (min-width: 769px) {
    .content-text {
        width: 63%;
    }

    .linkdin-icon {
        width: 2%;
    }
}

@media only screen and (max-width:576px) {
    .d-xs-none {
        display: none !important;
    }

    .d-xs-block {
        display: block !important;
    }

    .col-xs-12 {
        width: 100%;
    }

    .d-xs-flex {
        display: flex !important;
    }

    .justify-content-xs-end {
        justify-content: flex-end !important
    }

    .justify-content-xs-between {
        justify-content: space-between !important;
    }
}

.capitalize::first-letter {
    text-transform:uppercase;
}