/* default */

.custom-scroll::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

.custom-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 6px;
    border: 3px solid #f1f1f1;
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.custom-scroll {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

.pagination {
    box-shadow: 0 0 1.25rem rgba(30, 34, 40, 0.04);
    margin-bottom: 0;
}

.question-title {
    font-size: 14px;
    color: #1d2630;
}

.btn:not(.btn-link):hover {
    transform: translateY(0rem) !important;
    box-shadow: none !important;
}

h5#title-test {
    font-size: 14px;
}

.custom-soft-bg-danger {
    background: #fce9e9 !important;
    color: #dc2626;
}

.custom-soft-bg-info {
    background: #eceff4 !important;
    color: #58cfdb !important;
}

.custom-bg-dark {
    background-color: #262626;
    color: #fff;
}

.custom-bg-dark:hover {
    background-color: #3b3b3b;
    color: #fff;
}

/* container test */

div#container-test {
    height: 100vh;
    overflow: hidden;
}

div#content-test {
    padding-right: 0;
}

.custom-card {
    border-radius: 0px;
}

/* cards header  */

.card-header.card-header-custom {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
}

h5.title-sidebar {
    margin-bottom: 0;
}

.custom-buttons-header {
    padding-right: 10px;
}

.btn-finish {
    border-radius: 5px !important;
    display: flex;
    width: 80px;
    justify-content: center;
    background: #1ba9bc;
    padding: 0px !important;
    height: 30px;
    font-size: 14px;
    align-items: center;
}

.btn-close-custom {
    border-radius: 5px !important;
    display: flex;
    width: 60px;
    justify-content: center;
    background: #dc2626;
    padding: 0px !important;
    height: 30px;
    font-size: 14px;
    align-items: center;
}

.btn-close-custom:before {
    display: none;
}

.btn-finish:hover {
    background-color: #127683;
}

/* content test */

.resume-results {
    margin-top: 1px;
}

.card-body.card-body-content-test {
    height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 0 25px;
    margin-top: 20px;
}

.incorrect-answer {
    background-color: #ffcccc;
}

.correct-answer {
    background-color: #ccffcc;
}

.without-answer {
    background-color: #ccebff;
}

/* footer content test */

.card-footer.card-footer-custom {
    height: 50px;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
}

button#replyQuestion {
    width: 90px;
    height: 30px;
    border-radius: 5px !important;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

/* pagination */

a#next {
    color: #fff;
    font-size: 18px;
    height: 30px;
    border-radius: 5px;
    background: #153878;
    border: none;
    display: flex;
}

a#prev {
    font-size: 18px;
    color: #fff;
    font-size: 22px;
    height: 30px;
    border-radius: 5px;
    background: #153878;
    border: none;
    display: flex;
}

.page-link.disabled {
    background: #153878;
    opacity: 0.7;
}

.page-link:hover,
.page-link:focus {
    background-color: #105a96;
}

#results-button {
    display: flex;
    justify-content: center;
    cursor: pointer;
    width: 100%;
    height: 30px;
    background: #396afc;
    background: -webkit-linear-gradient(to right, #2948ff, #396afc);
    background: linear-gradient(to right, #2948ff, #396afc);
    color: #fff;
    border: 1px solid #0b63bb;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 0 0 rgba(88, 120, 243, 0.4);
    -moz-animation: pulse 2s infinite;
    -webkit-animation: pulse 2s infinite;
    animation: pulse 2s infinite;
    align-items: center;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(88, 120, 243, 1);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(88, 120, 243, 0);
    }

    100% {
        box-shadow: 0 0 0 50px rgba(88, 120, 243, 0);
    }
}

#results-button-mobile {
    display: none;
    display: flex;
    justify-content: center;
    cursor: pointer;
    width: 100%;
    background: #396afc;
    background: -webkit-linear-gradient(to right, #2948ff, #396afc);
    background: linear-gradient(to right, #2948ff, #396afc);

    color: #fff;
    border: 1px solid #0b63bb;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 0 0 rgba(88, 120, 243, 0.4);
    -moz-animation: pulse 2s infinite;
    -webkit-animation: pulse 2s infinite;
    animation: pulse 2s infinite;
}

/* contador */

.progress-ring__circle {
    transition: stroke-dashoffset 0.35s;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    stroke: #007bff;
}

.progress-ring__background {
    fill: #f0f0f0;
}

.countdown {
    display: inline-block;
    position: absolute;
    width: 100px;
    left: 10px;
    right: 15px;
    bottom: 0px;
}

.countdown__timer {
    position: absolute;
    top: 50%;
    left: 28px;
    transform: translate(-50%, -50%);
    font-size: 16px;
}

/* sidebar */

.offcanvas-title-custom {
    font-size: 16px;
    margin-bottom: 0px;
}

button.btn.btn-icon.btn-light-danger {
    width: 30px;
    height: 30px;
    margin-top: -10px;
    border-radius: 5px;
}

.question-map {
    cursor: pointer;
}

ul.map-answers {
    margin-left: -30px;
    padding-right: 10px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: -5px;
    overflow-y: auto;
}

li.question-map {
    display: flex;
    align-items: flex-end;
    flex-direction: row;
    justify-content: space-between;
}

.question-map.active {
    background-color: lightgray;
}

#button-sidebar-resp.hidde {
    display: none;
}

#button-sidebar-resp.show {
    display: initial !important;
}

div#button-sidebar-resp {
    position: relative;
    padding: 3px;
}

div#showResult {
    width: 100%;
}

/* menu hamburguesa */

.menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    padding: 5px 5px 5px 5px;
    border-radius: 5px;
    align-items: center;
}

.bar {
    height: 2px;
    width: 100%;
    background-color: #58cfdb;
    margin: 3px 0;
    transition: 0.4s;
}

.menu-close {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    padding: 5px;
    border-radius: 5px;
    align-items: center;
    position: relative;
    height: 24px;
    align-content: center;
    justify-content: center;
}

.bar1,
.bar2 {
    position: absolute;
    height: 2px;
    width: 60%;
    background-color: #dc2626;
    transition: 0.4s;
}

.bar1 {
    transform: rotate(45deg);
}

.bar2 {
    transform: rotate(-45deg);
}

/* comments */

li.media.bg-light.rounded {
    display: flex;
    align-items: center;
    padding: 0px 15px;
    justify-content: space-between;
}

.media-body {
    display: flex;
    gap: 10px;
    flex-direction: row;
    align-items: center;
}

.media .comment {
    background: #f4f4f4;
    border: none;
    border-radius: 10px;
}

h6.user {
    color: #5c5c5c;
    font-size: 15px !important;
    padding-left: 15px !important;
    margin-bottom: 0;
}

h6.user:hover {
    text-decoration: underline;
}

.text-comment {
    margin-bottom: 0;
    color: #8a8a8a !important;
    font-size: 14px;
}

.ml-auto {
    margin-right: 10px;
}

p.reply {
    color: #5c5c5c;
    font-size: 15px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-body.comments-content {
    height: 500px;
    overflow-y: auto;
}

.delete-comment {
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

/* reviews */

span.total-review {
    font-size: 26px;
    font-weight: 600;
    color: #2c2c2c;
}

.star-container {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.star {
    width: 100%;
    height: 100%;
    background: #ffc107;
    clip-path: polygon(50% 0%,
            61% 35%,
            98% 35%,
            68% 57%,
            79% 91%,
            50% 70%,
            21% 91%,
            32% 57%,
            2% 35%,
            39% 35%);
    background-size: 100% 100%;
    background-clip: content-box;
    position: relative;
    overflow: hidden;
}

.container-stars.disabled {
    opacity: 0.5;
}

.star-empty {
    background: #adadad;
}

.star-filled {
    background: gold;
}

.star-partial {
    background: linear-gradient(to right, gold 50%, #adadad 50%);
}

@media (max-width: 768px) {

    
    .header-test-content {
        position: absolute;
        background: white;
        width: 100%;
    }

    .card-body-content-test{
        margin-top: 50px;
    }

    h5#title-test {
        position: relative;
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .table-statistics {
        padding-right: 5px;
    }

    .custom-buttons-header {
        padding-right: 5px;
    }

    div#button-sidebar-resp {
        display: flex !important;
    }

    .container-sidebar.open {
        position: absolute;
        width: 50%;
        right: 0;
        padding: 0;
        height: calc(100vh - 100px);
    }

    .card.custom-card.sibebar-content {
        height: 100vh;
    }

    .card-body-content-test {
        margin-top: 10px !important;
        padding:   0px 20px 20px 10px !important;
    }

    .card-header.card-header-custom {
        padding: 10px 20px 10px 10px !important;
    }

    div#content-question {
        padding: 0px 5px 0px 0px;
    }
    
    div#pagination-custom {
    display: flex;
    justify-content: flex-start !important;
    margin-left: -45px;
}

.card-footer.card-footer-custom {
    height: 50px;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 60px;
}

div#questions-list {
    margin-top: 35px;
}

.resume-results {
            margin-top: 50px;
}

}