/* stylelint-disable declaration-no-important */

@mixin calendar-size {
    height: 300px;
    width: 308px;
    float: left;
    position: relative;
}

@mixin calendar-position {
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    box-shadow: none !important;
    border: 0 !important;
    position: unset;
}

@mixin calendar-dropdown-width {
    width: 215px;
    float: left;
}


/* Safari and Chrome */

@-webkit-keyframes rotating {
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.select2-container--default .select2-results__option[aria-disabled="true"] {
    color: #999 !important;
}

.select2-container.select2-container--open{
    direction: ltr !important;
}
.clearfix {
    clear: both;
}

.badge-success {
    background-color: #11c26d;
}

.badge-danger {
    background-color: #ff4c52;
}

.badge-warning {
    background-color: #eb6709;
}

.overflow-scroll {
    overflow: scroll;
}

.text-decoration-none {
    text-decoration: none;
}

.text-gold {
    color: #fdd703;
    font-size: 24px;
}

.text-silver {
    color: #bfc0bf;
    font-size: 20px;
}

.text-bronze {
    color: #cd7e33;
    font-size: 16px;
}

.bg-image-none {
    background-image: none;
}

.no-sorting-arrow {
    &:before {
        display: none;
    }
    &:after {
        display: none;
    }
}

.input-group-addon {
    font-weight: 300;
    padding: .429rem .729rem;
    color: #76838f;
    text-align: center;
    background-color: #e4eaec;
    border: 1px solid #e4eaec;
    border-radius: 0;
}

.accordion-arrow.icon {
    transition: all 350ms ease-in-out;
}

tr[aria-expanded="true"] {
    .accordion-arrow.icon {
        transform: rotate(90deg);
    }
}

#export-dropdown.dropdown-toggle {
    &:after {
        display: none;
    }
}


.summary-card{
    border: 1px solid #F98012;
    border-radius: 5px;
}
.summary-content, .summary-header{
    border-bottom: 1px solid #D9D9D9;
}


.edwiserreports-tabs {
    list-style: none;
    border-bottom: 1px solid #D9D9D9;
    padding: 0;
    &>.tab-item {
        padding: 1rem 0.714rem;
        display: inline-block;
        border: 1px solid #D9D9D9;
        border-bottom: 0;
        border-radius: 5px 5px 0px 0px;
        margin: 0.25rem 0.25rem 0 0.25rem;
        &.dropdown {
            padding: 1rem 0;
            .tab-link {
                padding: 0 0.714rem;
                &::after {
                    margin-left: 1rem !important;
                }
            }
            &.show {
                .dropdown-menu {
                    display: block;
                }
            }
        }
        &>.tab-link {
            background-color: transparent;
            color: #474747;
            border: unset;
        }
    }
}

#page-local-edwiserreports-old_logs .courses-list {
    .progress {
        height: 1.2rem;
    }
    .progress-bar {
        align-items: start;
        justify-content: center;
        padding-left: 0.2rem;
        font-size: 1rem;
    }
}

#page-local-edwiserreports-index {
    .edwiserreports-calendar {
        max-width: max-content;
    }
    .edwiserreports-tabs {
        margin-top: 0 !important;
    }
    .modal-trigger,
    .course-link {
        color: #62a8eb;
        text-decoration: none;
        background-color: transparent;
    }
    .comparisontable {
        width: 100%;
    }
    .modal-loader {
        min-height: 100px;
    }
    .dropdown-item {
        input {
            border-radius: 0 !important;
            border: 0 !important;
            box-shadow: none !important;
            font-size: inherit !important;
            min-height: inherit !important;
            cursor: inherit !important;
            font-weight: inherit !important;
        }
    }
    #page #region-main>.card {
        overflow: hidden;
    }
    .edwiserreports-header {
        z-index: 5;
        @media (min-width: 520px) {
            display: flex;
        }
        .filter-selector {
            position: relative;
            &>label {
                background-color: transparent;
            }
            .dropdown-menu {
                right: 0 !important;
                left: auto !important;
                transform: none !important;
                top: 100% !important;
                user-select: none;
            }
        }
    }
    .dropdown-menu.withcalendar {
        width: 310px;
        display: flex;
        .dropdown-body {
            display: none;
        }
        .dropdown-calendar {
            @include calendar-size;
            .flatpickr-calendar {
                @include calendar-position;
            }
        }
    }
    .filter-wrapper {
        width: fit-content;
        z-index: 1;
    }
    .modal .modal-table {
        .dataTables_info {
            padding-top: 0.1rem !important;
        }
    }
}


/* Selected period */

#page-local-edwiserreports-index {
    .selected-period {
        padding: 0.1rem 0.8rem;
        border-radius: 1rem;
        font-weight: 500;
    }
}

#wdm-edwiserreports {
    @media (max-width: 767px) {
        & > [data-block], & > .col-12 {
            padding: 0 !important;
        }
    }
    .select2-container--default {
        max-width: 100%;
        width: 100% !important;
    }
    .apexcharts-toolbar {
        transform: translateY(-1.7rem);
    }
    .panel {
        box-shadow: unset;
        .panel-title {
            font-size: 1.287rem !important;
        }
    }
    .table {
        min-width: 100%;
    }
    a[id^="blocksetting-"] {
        font-size: 20px;
        text-decoration: none;
        .icon {
            font-size: 20px;
            text-decoration: none;
        }
        &:after {
            margin: 0;
        }
    }
    .panel-body {
        min-height: 200px;
    }
    input.dropdown-item {
        background-color: transparent;
        color: inherit;
        height: 22px;
    }
    input.dropdown-item:hover {
        cursor: pointer;
        background-color: #f8f9fa;
    }
    input.dropdown-item.custom:focus {
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    .loader {
        height: 100%;
        position: relative;
        img {
            width: 10%;
            height: 10%;
            position: absolute;
            top: 40%;
            left: 45%;
            right: 45%;
        }
    }
    .edwiserReport-block {
        #gradeblock,
        #courseprogressblock,
        #learnertimespentonsiteblock [data-charttype="donut"],
        #learnercourseprogressblock [data-charttype="donut"] {
            .graph-label {
                font-size: 1.1rem;
                font-weight: 700;
            }
            .apexcharts-tooltip {
                overflow: visible !important;
                background: transparent;
            }
        }
        .custom-donut-tooltip {
            padding: 1rem 1rem;
            background: white;
            color: orange;
            border: 1px solid #e5e5e5;
            border-radius: 5px;
            box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.1);
            &::after,
            &::before {
                content: " ";
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
                top: 95%;
                border-top: 0.8rem solid white;
                border-right: 0.8rem solid transparent;
                border-left: 0.8rem solid transparent;
            }
            &::before {
                border-top: 0.9rem solid #e5e5e5;
                border-right: 0.9rem solid transparent;
                border-left: 0.9rem solid transparent;
            }
        }
        >div {
            position: relative;
            height: 100%;
            background: white;
            box-shadow: 0 7px 14px 0 rgba(59, 65, 94, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
            border-radius: .25rem;
            .panel {
                .panel-header {
                    position: relative;
                }
                height: 100%;
                .panel-help {
                    color: rgba(82, 96, 105, 0.5) !important;
                }
                .panel-footer {
                    position: absolute;
                    bottom: 0;
                    text-align: right;
                    width: 100%;
                }
                &.has-footer {
                    padding-bottom: 4.7rem !important;
                }
            }
        }
    }
}

.download-graph {
    max-width: 100%;
    &#courseprogressblock,
    &#gradeblock {
        max-width: 768px;
    }
    margin: auto;
    .insight {
        display: none !important;
    }
}

.pie-placeholder {
    max-width: 450px;
    margin: auto;
    img.icon {
        width: 100%;
        height: 100%;
        margin: 0;
    }
}

.ct-chart {
    min-height: 350px;
    max-height: 350px;
}

.loading-icon.icon-no-margin {
    display: block;
    width: 100%;
    text-align: center;
}

.path-local-edwiserreports {
    [role="main"] {
        position: relative;
    }
    .breadcrumb {
        display: none;
    }
}

.esr-switch {
    height: 1rem;
    width: 2rem;
    margin-bottom: 0;
    cursor: pointer;
    display: block;
    input {
        display: none !important;
        &:checked {
            + {
                .switch-container {
                    .switch-lever {
                        left: 1rem;
                    }
                }
            }
        }
        &:not(:checked) {
            + {
                .switch-container {
                    .switch-background {
                        background-color: #808080 !important;
                    }
                    .switch-lever {
                        left: 0;
                        background-color: #808080 !important;
                    }
                }
            }
        }
    }
    .switch-container {
        height: 100%;
        width: 100%;
        position: relative;
        .switch-background {
            height: .8rem;
            width: inherit;
            border-radius: 1rem;
            opacity: .5;
            margin: .35rem 0;
            transition: background-color 0.2s linear;
        }
        .switch-lever {
            position: absolute;
            height: 1rem;
            width: 1rem;
            border-radius: 50%;
            top: -.1rem;
            box-shadow: grey 0 0 1px 0;
            transition: left 0.2s linear, background-color 0.2s linear;
        }
    }
}

.no-wrap {
    white-space: nowrap;
}

#scheduletab {
    input {
        height: 2.7rem;
    }
    input,
    textarea,
    .dropdown button {
        background: #FFFFFF;
        box-sizing: border-box;
        border-radius: 0.285rem;
        box-shadow: 0px 0.142rem 0.142rem rgba(0, 0, 0, 0.3);
    }
    .disabled {
        .dropdown,
        .esr-switch {
            pointer-events: none;
            opacity: 0.5;
        }
    }
    .date-filters,
    .data-filter {
        align-items: center;
    }
    .invalid-feedback {
        font-size: 1rem;
    }
}

#listemailstab {
    .esr-switch {
        &[data-value="0"] {
            .show-svg {
                display: none;
            }
        }
        &[data-value="on"],
        &[data-value="1"] {
            .hide-svg {
                display: none;
            }
        }
    }
    tbody.empty {
        display: none;
    }
    thead {
        th {
            border-bottom: none;
        }
    }
    .fa-edit,
    .fa-trash {
        font-size: 1.429rem;
        &::before {
            position: relative;
        }
    }
    .fa-trash::before {
        top: 0.19rem;
    }
    .fa-edit::before {
        top: 0.214rem;
    }
}

.font-size-14 {
    font-size: 14px;
}

#mostactivecourses {
    input[type="search"] {
        margin: 0;
    }
}

.modal-dialog {
    .table {
        min-width: 100%;
    }
}

#cover-spin {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: none;
    &::after {
        content: '';
        display: block;
        position: absolute;
        left: 48%;
        top: 40%;
        width: 40px;
        height: 40px;
        border-style: solid;
        border-color: black;
        border-top-color: transparent;
        border-width: 4px;
        border-radius: 50%;
        -webkit-animation: spin .8s linear infinite;
        animation: spin .8s linear infinite;
    }
}

.modal-body {
    .form-group {
        margin-right: 0;
        margin-left: 0;
    }
}

.modal-open {
    .select2-container {
        z-index: unset;
    }
}

.modal {
    .path-admin-tool-capability {
        .comparisontable {
            thead {
                th {
                    div {
                        >a {
                            left: 0px;
                            transform: rotate(270deg);
                            -webkit-transform: rotate(270deg);
                            -moz-transform: rotate(270deg);
                            -ms-transform: rotate(270deg);
                            -o-transform: rotate(270deg);
                        }
                    }
                }
            }
        }
    }
    .menucapabilities {
        max-width: 100%;
    }
    .comparisontable {
        .switch-capability {
            cursor: pointer;
            label {
                cursor: pointer;
            }
        }
    }
}

#page-local-edwiserreports-index {
    .insight-danger {
        color: #DC0000;
    }
    .insight-success {
        color: #1AB900;
    }
    #page-header {
        #editing-btn {
            vertical-align: middle;
            right: 1.25rem;
            text-align: center;
            margin-left: auto;
            margin-bottom: 1.2rem;
            top: 28px;
        }
    }
}

.block-hidden {
    .panel-title {
        opacity: 0.4;
    }
    .panel-body {
        opacity: 0.4;
    }
    .panel-footer {
        opacity: 0.4;
    }
}

.edwiserreports-loader {
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 12;
    &.position-fixed {
        z-index: 1701;
    }
    .animation-wrapper {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        color: #667984;
        font-family: 'Roboto', sans-serif;
        text-align: center;
        text-transform: uppercase;
        font-weight: 500;
        .fa-animation {
            height: 55px;
            width: 70px;
            margin: 0 auto;
            position: relative;
            .fa {
                position: absolute;
                &.spin-reverse {
                    -webkit-animation-direction: reverse;
                    -moz-animation-direction: reverse;
                    animation-direction: reverse;
                }
            }
            .fa-lg {
                font-size: 45px;
                top: 8px;
                left: 0px;
            }
            .fa-md {
                font-size: 30px;
                top: 0px;
                left: 40px;
            }
            .fa-sm {
                font-size: 24px;
                top: 30px;
                left: 35px;
            }
        }
    }
}

#gradeblock,
#courseprogressblock,
#learnercourseprogressblock [data-charttype="donut"] {
    .empty-donut {
        .apexcharts-legend {
            display: none;
        }
    }
    .apexcharts-legend {
        bottom: auto;
        border-radius: 4px;
        padding: 1.2rem;
        margin-bottom: 0.3rem;
        &.position-right {
            border: 1px solid #E5E5E5;
        }
        .apexcharts-legend-series {
            &:first-child {
                margin-top: 0 !important;
            }
            &:last-child {
                margin-bottom: 0 !important;
            }
            &{
                font-size: 1rem;
                font-weight: 400;
                margin: 5px 0 !important;
            }
        }
    }
}

.report-header {
    padding: 0.5rem 0 0.5rem 0;
    border-bottom: 1px solid #D9D9D9;
}

#courseengagementblock {
    table {
        th {
            text-transform: capitalize;
        }
    }
}

#page-local-edwiserreports-old_logs {
    .progress {
        height: 1.3rem !important;
        font-size: 0.8rem;
        .progress-bar {
            text-align: left;
            padding-left: 0.3rem;
        }
    }
}

.filters {
    .dropdown-menu {
        &[aria-labelledby="cohortfilter"] {
            max-height: 300px;
            overflow: auto;
        }
    }
}

.graph .apexcharts-canvas .fa-refresh {
    font-size: 1.2rem;
    margin-top: 3px;
}

.download-links {
    @media screen and (max-width: 426px) {
        justify-content: center;
        .download-label {
            text-align: center;
            display: block;
            width: 100%;
        }
    }
    .download-label {
        font-weight: 500;
        text-transform: uppercase;
        margin: auto;
    }
    &:not(.dropdown-item) {
        button:focus {
            outline: none !important;
        }
    }
}

.checkbox-edwiserreports {
    display: block;
    position: relative;
    padding: 0.892rem;
    margin-bottom: 0;
    user-select: none;
    input {
        display: none !important;
        &:disabled {
            &+.checkmark {
                opacity: 0.5;
            }
        }
        &:checked {
            &~.checkmark {
                background-color: #2196F3;
                &:after {
                    display: block;
                }
            }
        }
        &+.checkmark {
            user-select: none;
            position: absolute;
            top: 0;
            left: 0;
            cursor: pointer;
            height: 1.785rem;
            width: 1.785rem;
            border: 1px solid #E5E5E5;
            border-radius: 5px;
            &:after {
                content: "";
                position: absolute;
                display: none;
                left: 0.6rem;
                top: 0.214rem;
                width: 0.428rem;
                height: 1rem;
                border: solid white;
                border-width: 0 0.2rem 0.2rem 0;
                -webkit-transform: rotate(45deg);
                -ms-transform: rotate(45deg);
                transform: rotate(45deg);
            }
        }
    }
}


/* Date dropdown and Table length language css */

html[lang="de"] {
    .local-edwiserreports {
        .filter-selector {
            .edwiserreports-calendar {
                min-width: 11.5rem;
            }
        }
    }
}

html[lang="es"] {
    .local-edwiserreports {
        .filter-selector {
            &.table-length-input {
                width: 9rem !important;
                max-width: 9rem !important;
            }
            .edwiserreports-calendar {
                min-width: 10rem;
            }
        }
    }
}


/* Global css */

$filterborder: 1px solid #ccc;
$button-width: 2.5rem;
.local-edwiserreports {
    .filter-selector {
        .exclude-select {
            &.notselected {
                &+.select2-container {
                    height: 100%;
                    ul {
                        padding: 0 !important;
                    }
                    .selection {
                        display: flex;
                        height: 100%;
                        width: 100%;
                        &>.select2-selection {
                            width: 100%;
                            height: 2.7rem;
                            .select2-selection__rendered {
                                padding-left: 0.5rem;
                            }
                        }
                    }
                    .select2-search__field {
                        background: transparent;
                        padding: 0.829rem 2.5rem 0.429rem 1rem !important;
                        margin: 0 !important;
                        width: 100% !important;
                    }
                    .select2-selection__rendered .select2-selection__clear+li {
                        margin-top: 1rem;
                    }
                    .select2-selection__choice {
                        margin: 1px;
                    }
                }
            }
            &.selected {
                &+.select2-container {
                    height: 100%;
                    ul {
                        padding: 0 0.3rem !important;
                    }
                    .select2-search {
                        float: none;
                    }
                    .select2-search__field {
                        background: transparent;
                        margin-top: 1rem !important;
                    }
                    .select2-selection__rendered{
                        padding-left: 10px !important;
                    }
                    .select2-selection__rendered .select2-selection__clear+li {
                        margin-top: 1rem;
                    }
                    .select2-selection__choice {
                        margin: 1px;
                        padding-left: 15px;
                        padding-right: 15px;
                    }
                }
            }
        }
        select:not(.exclude-select) .select2-container {
            .select2-selection {
                height: 2.7rem;
            }
        }
        .dropdown-toggle {
            border: $filterborder !important;
        }
        .edwiserreports-calendar {
            padding: 0.829rem 2rem 0.229rem 1rem !important;
            min-width: 9rem;
            position: relative;
            text-align: left;
            justify-content: left!important;
            &::after {
                position: absolute;
                content: "" !important;
                border-color: transparent;
                right: 0.829rem;
                bottom: 0.829rem;
                font-size: 0px !important;
                border-style: solid !important;
                border-width: 0.286rem 0.286rem 0 0.286rem !important;
            }
        }
        position: relative;
        &>label {
            position: absolute;
            background: white;
            left: 2.1rem;
            z-index: 1;
            top: -0.5rem;
            font-size: 0.857rem;
            color: #474747;
        }
    }
    &.report-page {
        .dropdown.export-options {
            .dropdown-menu {
                top: 65%;
            }
        }
        .dropdown-item {
            input {
                border-radius: 0 !important;
                border: 0 !important;
                box-shadow: none !important;
                font-size: inherit !important;
                min-height: inherit !important;
                cursor: inherit !important;
                font-weight: inherit !important;
            }
        }
        .dropdown-menu.withcalendar {
            width: 310px;
            display: flex;
            right: 0;
            left: auto;
            .dropdown-body {
                display: none;
            }
            .dropdown-calendar {
                @include calendar-size;
                .flatpickr-calendar {
                    @include calendar-position;
                }
            }
        }
        .filter-wrapper {
            width: fit-content;
        }
        input.dropdown-item {
            background-color: transparent;
            color: inherit;
        }
        input.dropdown-item:hover {
            cursor: pointer;
            background-color: #f8f9fa;
        }
        input.dropdown-item.custom:focus {
            -webkit-box-shadow: none;
            box-shadow: none;
        }
        .selected-period {
            span {
                padding: 0.1rem 0.8rem;
                border-radius: 1rem;
                font-weight: 500;
                border-radius: 1rem;
                font-weight: 500;
                background-color: #00A1A8 !important;
            }
            text-transform: capitalize;
            font-weight: unset;
            font-size: 14px;
            line-height: 19px;
            color: #474747;
        }
        .report-content {
            position: relative;
            overflow: hidden;
            padding: 2rem;
            background-color: white;
            box-shadow: 0 7px 14px 0 rgba(59, 65, 94, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
            min-height: 350px;
            .modal-trigger,
            .course-link {
                text-decoration: none;
            }
        }
    }
    .select2-container--default {
        .select2-search--dropdown .select2-search__field,
        .select2-selection--single,
        .select2-selection--multiple {
            border: $filterborder !important;
        }
        .select2-dropdown {
            border-color: #ccc;
        }
        .select2-results__option {
            padding: 0.5rem 1rem;
        }
    }
    .dropdown.export-options {
        .dropdown-menu {
            overflow: visible !important;
            &::after,
            &::before {
                content: " ";
                position: absolute;
                right: 0.5rem;
                top: -0.8rem;
                border-bottom: 0.8rem solid white;
                border-right: 0.6rem solid transparent;
                border-left: 0.6rem solid transparent;
            }
            &::before {
                transform: translate(0.1rem, -0.2rem);
                border-bottom: 1rem solid #e5e5e5;
                border-right: 0.7rem solid transparent;
                border-left: 0.7rem solid transparent;
            }
        }
        &.show {
            &>button {
                background: #E5E5E5;
                border-radius: 5px;
            }
            .dropdown-menu {
                display: block;
            }
        }
    }
}


.report-header #userfilter .edw-calendar{
    margin-right: 0px !important;
}

.local-edwiserreports.report-page.theme_remui #page-content,
.local-edwiserreports.report-page.theme_moove #page-content,
.local-edwiserreports.report-page.theme_moove #page-content #region-main{
    background-color: white !important;
}

.learner-course-activties-lastaccess{
    display: none;
}

.edwiserreports-tabs > .tab-item.dropdown .tab-link::after {
    margin-left: 1rem !important;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    font-size: inherit;
}


/* RTL comaptibility  */

html[dir=rtl] #wdm-edwiserreports .apexcharts-yaxis {
    transform: translate(0px, 0px);
}

html[dir=rtl] #userfilter .erp-activeusers-calendar-dropdown{
    transform: translate3d(0px, 33px, 0px) !important;
}

html[dir=rtl] .dropdown-item.custom input{
    direction: ltr;
    text-align: right;
}

html[dir=rtl] #todaysactivityblock .apexcharts-xaxis-texts-g,
html[dir=rtl] #siteaccessblock .apexcharts-xaxis-texts-g{
    transform: translate(-35px, 30px);
}

html[dir=rtl] .summary-card-filtertags,
html[dir=rtl] #todaysactivityblock .dropdown-toggle.flatpickr-input{
    direction: ltr;
}

/* html[dir=rtl] #timespentoncourseblock .apexcharts-xaxis-texts-g{
    transform: translate(-3rem, 3rem);
}
html[dir=rtl] #learnercourseprogressblock .apexcharts-xaxis-texts-g{
    transform: translate(-4rem, 4rem);
} */

/* .apexcharts-xaxis-texts-g */
html[dir=rtl] #timespentoncourseblock .apexcharts-xaxis-texts-g,
html[dir=rtl] #learnercourseprogressblock .apexcharts-xaxis-texts-g{
    direction: ltr;
}


html[dir=rtl] .local-edwiserreports.report-page.theme_remui .dropdown-menu.withcalendar{
    right: auto !important;
    left: 0 !important;
}

html[dir=rtl] .timespentoncourses .insight-value,
html[dir=rtl] #timespentoncourseblock .insight .insight-details .detail span,
html[dir=rtl] #timespentoncourseblock .insight .insight-value,
html[dir=rtl] #timespentonsiteblock .insight .insight-details .detail span,
html[dir=rtl] #timespentonsiteblock .insight .insight-value,
html[dir=rtl] #timespentonsiteblock .apexcharts-tooltip-text .apexcharts-tooltip-text-y-value,
html[dir=rtl] #timespentoncourseblock .apexcharts-tooltip-text .apexcharts-tooltip-text-y-value,
html[dir=rtl] .erp-time-rtl{
    direction: ltr;
    /* text-align: left; */
}

/* html[dir=rtl] .timespentoncourses .insight-value{
    direction: ltr;
} */

html[dir=rtl] #cr-preview-table_wrapper table td,
html[dir=rtl] .customreportdata td {
    direction: ltr;
}

html[dir=rtl] .edwiserreports-header .edwiserreport-title .selected-period{
    direction: ltr;
}

html[dir=rtl] .insight .details-wrap .detail{
    display: flex;
}

html[dir=rtl] .summary-card .summary-card-subtitle{
    display: inline-flex;
}
html[dir=rtl] .local-edwiserreports.report-page .report-content table .fa.fa-search-plus{
    position: absolute;
    left: 0.2rem;
    right: unset;
    top: 50%;
    transform: translateY(-50%);
    color: #F98012;
}

html[dir=rtl] .local-edwiserreports .filter-selector .edwiserreports-calendar::after{
    position: absolute;
    content: "" !important;
    border-color: transparent;
    left: 0.829rem;
    right: unset;
    bottom: 0.829rem;
    font-size: 0px !important;
    border-style: solid !important;
    border-width: 0.286rem 0.286rem 0 0.286rem !important;
}

html[dir=rtl] .local-edwiserreports .filter-selector .edwiserreports-calendar{
    padding: 0.829rem 1rem 0.229rem 2rem !important;
    min-width: 9rem;
    position: relative;
    text-align: left;
    justify-content: left !important;
}


html[dir=rtl] .edwiserreports-table table.dataTable thead .sorting::before,
html[dir=rtl] .edwiserreports-table table.dataTable thead .sorting::after,
html[dir=rtl] .edwiserreports-table table.dataTable thead .sorting_asc::before,
html[dir=rtl] .edwiserreports-table table.dataTable thead .sorting_asc::after,
html[dir=rtl] .edwiserreports-table table.dataTable thead .sorting_desc::before,
html[dir=rtl] .edwiserreports-table table.dataTable thead .sorting_desc::after,
html[dir=rtl] .edwiserreports-table table.dataTable thead .sorting_asc_disabled::before,
html[dir=rtl] .edwiserreports-table table.dataTable thead .sorting_asc_disabled::after,
html[dir=rtl] .edwiserreports-table table.dataTable thead .sorting_desc_disabled::before,
html[dir=rtl] .edwiserreports-table table.dataTable thead .sorting_desc_disabled::after{
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-family: "FontAwesome" !important;
    position: absolute;
    left: 0.1rem !important;
    right: unset !important;
}

html[dir=rtl] #page-local-edwiserreports-index .edwiserreports-header .filter-selector .dropdown-menu{
    right: unset !important;
    left: 0 !important;
}

html[dir=rtl] #wdm-edwiserreports .block-filters .dropdown-menu{
    position: absolute;
    transform: translate3d(-90px, 41px, 0px) !important;
    top: 0px;
    right: 0px !important;
    left: unset !important;
    will-change: transform;
}

html[dir=rtl] #wdm-edwiserreports .edwiserReport-block > div .panel .panel-footer{
    position: absolute;
    bottom: 0;
    text-align: left;
    width: 100%;
}

html[dir=rtl] #wdm-edwiserreports .apexcharts-legend-series .apexcharts-legend-marker{
    margin-left: 5px;
}
html[dir=rtl] .local-edwiserreports .filter-selector > label {
    position: absolute;
    background: white;
    right: 2.1rem;
    left: unset;
    z-index: 1;
    top: -0.5rem;
    font-size: 0.857rem;
    color: #474747;
}

html[dir=rtl] .path-admin-tool-capability .comparisontable thead th div>a{
    position: absolute;
    bottom: 9em;
    top: unset;
    right: 1em;
    width: 150px;
    text-align: left;
    margin-bottom: 0em;
}
html[dir=rtl] .apexcharts-tooltip-text{
    margin-right: 3px;
}
html[dir=rtl] .erp-completion-calendar{
    width: 14rem;
}
html[dir=rtl] .local-edwiserreports .report-actions .dropdown-menu.show{
    /*transform: translate3d(6rem, 30px, 0px) !important;*/
}

/* 4.2 RTL COMPATIBILITY start*/
html[dir=rtl] .local-edwiserreports .pull-right {
    float: left;
}
/* 4.2 RTL COMPATIBILITY end */

html[dir=rtl] .local-edwiserreports .dropdown.export-options .dropdown-menu::after,
html[dir=rtl] .local-edwiserreports .dropdown.export-options .dropdown-menu::before {
    content: " ";
    position: absolute;
    right: unset;
    left: 0.5rem;
    top: -0.6rem;
    border-bottom: 0.8rem solid white;
    border-right: 0.6rem solid transparent;
    border-left: 0.6rem solid transparent;
}

/* RTL comaptibility  END*/


.path-local-edwiserreports .breadcrumb {
    /* display: none; */
    border: none;
}

.path-local-edwiserreports #page-header .breadcrumb {
    display: none !important;
}

.path-local-edwiserreports .breadcrumb-item+.breadcrumb-item::before{
    content: "/" !important;
}

.path-local-edwiserreports #page-navbar .breadcrumb li::after,
.path-local-edwiserreports #page-navbar .breadcrumb li>*::after{
    display: none !important;
}
.path-local-edwiserreports #page-navbar .breadcrumb li>*{
    background-color: white !important;
}

.theme_fordson.path-local-edwiserreports .breadcrumb-item+.breadcrumb-item::before{
    content: "/" !important;
    padding-right: 5px !important;
    background: none !important;
    background-color: white !important;
}

.summary-card{
    border-radius: 5px;
}
.summary-content, .summary-header{
    border-bottom: 1px solid #D9D9D9;
}
.summary-card .summary-card-subtitle{
    font-size: 14px;
    line-height: 19px;
    color: #666666;
}
.summary-card .summary-card-title{
    font-size: 16px;
    line-height: 22px;
    color: #133F3F;
}
.ed-reports-large-column{
    text-overflow: ellipsis;
    word-wrap: break-word;
    max-height: 3.6em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
.local-edwiserreports.report-page .report-content{
    padding: 20px 0px 0px 0px !important;
    box-shadow: none !important;
}
.breadcrumb .breadcrumb-item a{
    color: #3AAA9E;
    text-decoration-line: underline;
}
.breadcrumb{
    font-size: 14px;
}
.page-title h2{
    font-weight: 400;
    font-size: 25px;
    line-height: 30px;
    /* identical to box height */
    color: #133F3F;
}

.local-edwiserreports .path-admin-tool-capability .comparisontable{
    margin-top: 160px;
}

html:not([dir=rtl]) #apexchartsgrade .apexcharts-graphical{
    transform: translate(0px, 0) !important;
}

.checkbox-edwiserreports input,
.checkbox-edwiserreports input.custom-field-checkbox,
#cr-list-table input.custom-field-checkbox {
    display: none !important;
}

.local-edwiserreports.report-page.theme_remui .dropdown-menu.withcalendar{
    transform: none !important;
    left:auto !important;
    right: 0px;
    top:auto !important;
}

.summary-card-filtertags span{
    font-weight: 600;
    font-size: 12px;
    margin-top: 10px;
    line-height: 16px;
    background-color: #00A1A8 !important;
    padding: 0.1rem 0.8rem;
    border-radius: 1rem;
    text-align: center;
    color: #FFFFFF;
}

.edwiserreports-table table.dataTable thead .sorting::before,
.edwiserreports-table table.dataTable thead .sorting_asc::before,
.edwiserreports-table table.dataTable thead .sorting_desc::before,
.edwiserreports-table table.dataTable thead .sorting_asc_disabled::before,
.edwiserreports-table table.dataTable thead .sorting_desc_disabled::before {
    margin-top: -5px !important;
    /* content: "\f0d8" !important; */
}

.edwiserreports-table table.dataTable thead .sorting::after,
.edwiserreports-table table.dataTable thead .sorting_asc::after,
.edwiserreports-table table.dataTable thead .sorting_desc::after,
.edwiserreports-table table.dataTable thead .sorting_asc_disabled::after,
.edwiserreports-table table.dataTable thead .sorting_desc_disabled::after {
    margin-top: 5px !important;
    /* content: "\f0d7" !important; */
}

/* 4.2 compatibility tests START */
.local-edwiserreports table.dataTable thead .sorting_asc::before{
    margin-top: -5px !important;
    content: "" !important;
    display: block;
    width: 0px;
    height: 0px;
    border-bottom: 6px solid transparent;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom-color: #133F3F;
    border-top-width: 0px;
}


.local-edwiserreports table.dataTable thead .sorting::before,
.local-edwiserreports table.dataTable thead .sorting_desc::before{
    margin-top: -5px !important;
    content: "" !important;
    display: block;
    width: 0px;
    height: 0px;
    border-bottom: 6px solid transparent;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom-color: #8fbdbe;
    border-top-width: 0px;
}

.local-edwiserreports table.dataTable thead .sorting_desc::after{
    margin-top: 5px !important;
    content: "" !important;
    content: '';
    display: block;
    width: 0px;
    height: 0px;
    border-top: 6px solid transparent;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    border-top-color: #133f3f;
    border-bottom-width: 0px;
}

.local-edwiserreports table.dataTable thead .sorting::after,
.local-edwiserreports table.dataTable thead .sorting_asc::after {
    margin-top: 5px !important;
    content: "" !important;
    content: '';
    display: block;
    width: 0px;
    height: 0px;
    border-top: 6px solid transparent;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    border-top-color: #8fbdbe;
    border-bottom-width: 0px;
}
.local-edwiserreports .pull-right {
    float: right;
}

.insight-divider {
    margin: 12px;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.2);
}

.local-edwiserreports .edwiserreports-table th {
    background: #C5F3F5 !important;
}
.local-edwiserreports .edwiserreports-table th {
    color: #133F3F !important;
}

html[dir=rtl] .local-edwiserreports .edwiserreports-table .table-pagination .page-item.previous a::before,
.local-edwiserreports .edwiserreports-table .table-pagination .page-item.next a::before {
    content: '';
    display: block;
    width: 0px;
    height: 0px;
    border-left: 11px solid transparent;
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    border-left-color: #ccc;
    border-right-width: 0px;
}
.local-edwiserreports .edwiserreports-table .table-pagination .page-item.previous a::before,
html[dir=rtl] .local-edwiserreports .edwiserreports-table .table-pagination .page-item.next a::before {
    content: '';
    display: block;
    width: 0px;
    height: 0px;
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    border-right: 10px solid transparent;
    border-right-color: #ccc;
    border-left-width: 0px;
}

/* REM UI V2 compatibility */
.insight-wrapper button.bg-secondary{
    background-color: #ced4da!important;
}

#wdm-edwiserreports .fa-plus{
    color: white;
}

.insight-wrapper button.bg-secondary:hover {
    background-color: #b1bbc4!important;
}
.panel .panel-header button.dropdown-toggle{
    border: 1px solid gainsboro;
    padding: 5px 9px;
    border-radius: 5px;
}
.switch-capability input.d-none,
#esr-toggle-email,
#esr-toggle-filter{
    display: none !important;
}

.paginate_button.page-item.previous,
.paginate_button.page-item.next{
    margin: 2px;
}

.edwiserreports-table table tbody tr td > p{
    margin-bottom: 0px;
}


/* END REM UI V2 compatibility */


