:root {
    --mblg-tb: #dee2e6;
}

.mblg-admin-wrap {
    padding-right: 20px;
}

@media screen and (max-width: 782px) {
    .mblg-admin-wrap {
        padding-right: 10px;
    }
}

.mblg-ut-root {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
}

.mblg-ut-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.mblg-ut-header {
    padding: 1rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, .03);
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.mblg-ut-body {
    flex: 1 1 auto;
    min-height: 1px;
}

.mblg-ut-table {
    position: relative;
    width: 100%;
    background: #fff;
    font-size: 16px;
}

.mblg-ut-table_row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.mblg-ut-table_h {
    display: none;
    border-top: 0;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
    background-color: #fff !important;
}

.mblg-ut-table_row:nth-child(odd) {
    background-color: rgb(238 238 238);
}

.mblg-ut-task_mb_title {
    font-size: 14px;
    font-weight: bold;
}


.mblg-ut-task_num {
    display: none;
}

.task_name {
    flex: 0 0 100%;
}

.mblg-ut-task_num_mb {
    margin-right: 5px;
}

.mblg-ut-task_preview_mb {
    margin-right: 5px;
    flex: 0 0 25px;
}

.mblg-ut-task_preview_mb img{
    width: 20px;
    height: 20px;
}

.task_name .mblg-ut-task_mb_title {
    padding-right: 10px;
    flex: 0 0 100%;
}

.task_name_text {
    display: flex;
    padding-right: 10px;
}

.mblg-ut-task_preview {
    display: none;
}

.mblg-ut-task_points {
    text-align: right;
    flex: 0 0 50%;
}

.task_progress {
    flex: 0 0 100%;
}

.mblg-ut-table_row > div {
    position: relative;
    padding: 5px 10px;
    box-sizing: border-box;
}

.mblg-ut-table_row > div:not(:first-child) {
    border-left: 1px solid var(--mblg-tb);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.mblg-progress-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.mblg-progress_text {
    bottom: -10px;
    flex: 0 0 50%;
    font-size: 14px;
}

.mblg-progress {
    display: inline-block;
    height: 5px;
    width: calc(100% - 50px);
    border-radius: 2.5px;
    line-height: 1.6rem;
    background-color: #ccd3d9;
}

.mblg-progress-bar {
    height: 5px;
    border-top-left-radius: 2.5px;
    border-bottom-left-radius: 2.5px;
    font-size: 12px;
    line-height: 20px;
    transition: width .6s ease;
    background-color: #65BF49;
}

.mblg-ut-complete .mblg-progress-bar {
    border-top-right-radius: 2.5px;
    border-bottom-right-radius: 2.5px;
}

.mblg-progress-count {
    display: inline-block;
    padding-left: 5px;
    flex-grow: 1;
    line-height: 1.6rem;
    color: #4A4A4A;
    text-align: right;
}

.mblg-completed {
    display: flex;
    align-items: center;
}

.mblg-completed-icon {
    margin-right: 15px;
    color: #54B185;
}

button.mblg-task-share {
    background-color: var(--btn-bgc);
    color: var(--btn-color);
}

button.mblg-task-share:hover {
    background-color: var(--btn-bgc-hover);
    color: var(--btn-color-hover);
}

button.mblg-task-share:active {
    background-color: var(--btn-bgc-active);
    color: var(--btn-color-active);
}

.mblg-ut-tooltip-ui {
    padding: 8px;
    position: absolute;
    z-index: 9999;
    width: 100%;
    font-size: 14px !important;
    line-height: 1;
    max-width: 300px;
    color: #fff;
    background: rgba(0, 0, 0, .75) !important;
    border: 0 !important;
}

.mblg-ut-tooltip {
    position: absolute;
    top: 10px;
    right: 10px;
}

.mblg-ut-tooltip:hover {
    cursor: help;
}

.mblg-ut-tooltip-mb {

}

.mblg-ut-tooltip.mblg-ut-tooltip-tb {
    display: none;
}

.mblg-ut-tooltip-ui {
    border-radius: 5px;
}

.mblg-ut-tooltip-ui:after {
    content: '';
    display: block;
    pointer-events: none;
    position: absolute;
    height: 0;
    width: 0;
}

.mblg-ut-tooltip-ui:after {
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, .75);
    border-left: 6px solid transparent;
    right: 34px;
    bottom: -6px;
}

.mblg-ut-tooltip-content {
    font-size: 14px;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .mblg-ut-table_row {
        display: grid;
        grid-template-columns: 40px 5fr 90px 80px 3fr;
    }

    .mblg-ut-task_mb_title {
        display: none;
    }

    .mblg-progress_text {
        display: none;
    }

    .mblg-ut-task_num_mb {
        display: none;
    }

    .mblg-ut-task_preview_mb {
        display: none;
    }

    .mblg-ut-tooltip {
        top: 6px;
    }

    .mblg-ut-tooltip.mblg-ut-tooltip-mb {
        display: none;
    }

    .mblg-ut-tooltip.mblg-ut-tooltip-tb {
        display: block;
    }

    .mblg-ut-task_preview {
        display: block;
        text-align: center;
    }

    .mblg-ut-task_num {
        display: block;
    }

    .mblg-ut-task_points {
        text-align: center;
    }

    .mblg-ut-tooltip-ui:after {
        left: 34px;
        right: unset;
    }
}
