body {
    font-size: medium;
}

.equal-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}



.carousel-control-next-icon:after {
    content: '>';
    color: red;
}

.carousel-control-prev-icon:after {
    content: '<';
    color: red;
}


.form-outline .app-date-input.form-control[readonly] {
    background-color: transparent;
}

.app-navbar {
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;

}

.messages-container {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
}

.select2-selection.select2-selection--multiple {
    height: 40px;
}

.select-box-container .select2-container {
    width: 100% !important;
}

.select-box-container .select2-container .select2-selection--single {
    height: 40px;
}

.select-box-container .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0.75rem;
}

.select-box-container .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
}

.select-box-container .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
}

.select-box-container .select2-container--default .select2-selection--single .select2-selection__arrow {
    width: 37px;
}

.select2-results__options .select2-results__option {
    padding-left: 0.75rem;
    padding-right: 0.75rem;

}

.select2-dropdown {
    z-index: 500 !important;
}

.text-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tooltip {
    z-index: 4000;
}

.app-navbar .navbar-brand {
    height: 60px;
}

.table.no-border {
    border-color: transparent;
}

.app-navbar-spacer {
    height: 77px;
}

.gradient-custom-2 {
    /* fallback for old browsers */
    background: #fccb90;

    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-linear-gradient(to right, #ee7724, #d8363a, #dd3675, #b44593);

    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background: linear-gradient(to right, #ee7724, #d8363a, #dd3675, #b44593);
}

@media (min-width: 768px) {
    .gradient-form {
        height: 100vh !important;
    }
}

@media (min-width: 769px) {
    .gradient-custom-2 {
        border-top-right-radius: .3rem;
        border-bottom-right-radius: .3rem;
    }
}

a.disabled {
    /* Make the disabled links grayish*/
    color: gray;
    /* And disable the pointer events */
    pointer-events: none;
}

.text-box-header {
    position: relative;
}

.text-box-header-icon-container {
    position: absolute;
    right: 0px;
    top: 0px;
    bottom: 0px;
    display: flex;
    align-items: center;
}


.text-block.edit .show-on-view {
    display: none;
}

.text-block:not(.edit) .show-on-edit {
    display: none;
}

.text-block-header-icon {
    font-size: 1.25rem;
}

.dashboard-side-menu {
    width: 300px;
    flex-shrink: 0;
    min-height: calc(100vh - 77px);
}

.dashboard-link {
    height: 60px;
    display: flex;
    align-items: center;
}

@media (max-width:767px) {
    .dashboard-link span {
        display: none;
    }

    .dashboard-side-menu {
        width: auto;
    }
}

.dashboard-icon {
    min-width: 30px;
}

.dashboard-user-info-form-group {
    max-width: 500px;
    margin: 0 auto
}

.voucher-form {
    margin: 0 auto;
    max-width: 600px;
}

#question-nav {
    max-height: 50vh;
    /* Adjust this value based on your needs or design */
    overflow-y: auto;
}


.banner {
    background-color: #f7f8fa;
    text-align: center;
}


.font-weight-semibold {
    font-weight: 600;
}

.font-weight-normal {
    font-weight: 400 !important;
}

.timer-display {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    color: #333;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timer-label {
    font-weight: bold;
    color: #555;
}

.timer-time {
    font-size: 22px;
    font-weight: bold;
    color: black;
    margin-left: 8px;
}


.timer-green {
    color: #28a745; /* Green color for more than 70% time left */
}

.timer-orange {
    color: #fd7e14; /* Orange color for 30% to 10% time left */
}

.timer-red {
    color: #dc3545; /* Red color for less than 10% time left */
}


.correct {
    font-weight: bold;
    color: rgb(10, 178, 18);
}


.choice {
    color: black;
}


.table-hover tbody tr:hover td {
    background-color: #e6ebf461 !important;
    border-top: 2px solid #0056b3;  /* Adds a top border to each cell on hover */
    border-bottom: 2px solid #0056b3;  /* Adds a bottom border to each cell on hover */
}


.question-danger{
    background-color: rgba(220, 76, 100, 0.80) !important; 
    color: white;
}

.question-danger:hover{
    color: white;
}
.question-success:hover{
    color: white;
}
.question-success{
    background-color: #14a44ed5 !important;
    color: white;
}

.list-group-item.active:hover {
    border-color: #333 !important;
}

.list-group-item:hover {
    border-color: #333;
}

.list-group-item+.list-group-item {
    border-top-width: 1px;
}

.explanation-inline{
    font-size: small;

    background-color: #efefef;
}
