html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}


/* width */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}


/* Track */

::-webkit-scrollbar-track {
    background: #f1f1f1;
}


/* Handle */

::-webkit-scrollbar-thumb {
    background: #888;
}


/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.cursor-move {
    cursor: move !important;
}

.cursor-pointer {
    cursor: pointer;
}

.padding-right-2 {
    padding-right: 2px;
}

.padding-right-5 {
    padding-right: 5px;
}

.overflow-y {
    overflow-y: auto;
}

.overflow-auto {
    overflow: auto;
}

.font-9 {
    font-size: 9px;
}

.font-10 {
    font-size: 10px;
}

.font-14 {
    font-size: 14px;
}

.font-16 {
    font-size: 16px;
}

.font-18 {
    font-size: 18px;
}

.font-bold {
    font-weight: 700 !important;
}

.no-radius {
    border-radius: 0;
}

.height-150 {
    height: 150px !important;
    resize: none;
}

.btn-sm {
    min-width: 35px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.padding-top-5 {
    padding-top: 5px;
}

.padding-top-bottom-10 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.mdg-toolbar {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.mdg-toolbar,
.mdg-toolbar a {
    color: #999;
    text-decoration: none;
    font-size: 24px;
}

.mdg-toolbar a:focus,
.mdg-toolbar a:hover,
.mdg-toolbar:focus,
.mdg-toolbar:hover {
    color: #000;
    cursor: pointer;
    text-decoration: none;
}

.mdg-format {
    line-height: 1.4;
    cursor: pointer;
    display: table-cell;
}

.mdg-filter {
    line-height: 1.4;
    cursor: default;
    display: table-cell;
}

.mdg-value-filter {
    line-height: 1.4;
    cursor: default;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: table-cell;
}

.mdg-filter-container,
.mdg-options-container {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    z-index: 1050;
}

.mdg-datefilter-popup-container {
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    width: 50%;
    max-width: 500px;
    position: relative;
    transition: all 5s ease-in-out;
    border: 1px solid #ddd;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.mdg-filter-popup-container {
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    width: 350px;
    position: relative;
    transition: all 5s ease-in-out;
    border: 1px solid #ddd;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.mdg-formatter-popup-container {
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    width: 550px;
    position: relative;
    transition: all 5s ease-in-out;
    border: 1px solid #ddd;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.mdg-filter-stack-container {
    height: calc(50vh);
    height: -webkit-calc(50vh);
    min-height: 200px;
    display: block;
    overflow: auto;
}

.mdg-filter-cell {
    display: block;
}

.mdg-filter-cell div {
    display: inline-block;
    width: 88%;
}

.mdg-filter-cell div.mdg-filter-cell-value {
    width: 93%;
}

.mdg-filter-cell div:first-child,
.mdg-filter-cell div:last-child {
    vertical-align: top;
    width: 15px;
}

.mdg-filter-cell div:last-child {
    text-align: right;
}

.mdg-options-popup-container {
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    width: 80%;
    position: relative;
    transition: all 5s ease-in-out;
    border: 1px solid #ddd;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.filter {
    width: 50%;
}

.formula-popup {
    width: 70%;
}

.mdg-options-popup-container .content {
    overflow: auto;
}

.mdg-formatter-popup-container h3,
.mdg-filter-popup-container h3,
.mdg-options-popup-container h3 {
    font-size: 20px;
    margin: 0;
}

.no-margin {
    margin: 0;
}

.mdg-title-container {
    display: block;
    border-bottom: 1px solid #ddd;
    margin: 5px 0;
    text-align: center;
}

.mdg-title-container h3 {
    margin: 0;
    font-size: 18px;
    padding-left: 5px;
    text-align: center;
}

.mdg-filter-items-container {
    display: block;
    overflow-x: auto;
    border-bottom: 1px solid #ddd;
}

.mdg-filter-title {
    display: inline-block;
    margin: 5px 0;
}

.mdg-filter-title h3 {
    margin: 0;
    font-size: 18px;
    padding-left: 5px;
}

.mdg-filter-item {
    display: inline-block;
    border: 1px solid #ddd;
    margin-top: -3px !important;
}

.mdg-filter-sort {
    display: block;
    float: right;
}

.mdg-filter-sort div {
    display: inline-block;
}

.mdg-filter-sort div h3 {
    font-size: 18px;
}

.mdg-filter-sort div.sortby {
    border: 1px solid #ddd;
    padding: 4px 6px;
}

.mdg-filter-sort div.sortby:hover {
    background-color: #f7f7f7;
    cursor: pointer;
}


/* Dropdown menu */

.mdg-options-popup-container .dropdown {
    position: fixed;
    display: inline-block;
}

.mdg-options-popup-container .dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    right: 0;
    margin-right: 33px;
    margin-top: -25px;
    min-width: 170px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    max-height: calc(100vh - 220px);
    overflow: auto;
    z-index: 10001;
}

.mdg-options-popup-container .dropdown-content a {
    color: black;
    font-style: normal;
    font-weight: normal;
    padding: 5px;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.mdg-options-popup-container .dropdown-content a:hover {
    background-color: #f1f1f1;
}

.mdg-options-popup-container .dropdown:hover .dropdown-content {
    display: block !important;
}

a.disabled {
    pointer-events: none;
    cursor: default;
}

.formula-editor {
    resize: none;
    height: 250px !important;
}


/*Ends Dropdown menu */

.mdg-options-stack-container {
    height: calc(100vh - 220px);
    height: -moz-calc(100vh - 220px);
    height: -webkit-calc(100vh - 220px);
    min-height: 200px;
    display: block;
    overflow: auto;
}

.mdg-options-stack-container img {
    height: 19px;
}

.mdg-options-stack-container .formulae {
    display: block;
    height: 30px;
}

.mdg-options-stack-container .formulae .fcontent {
    width: calc(100% - 30px);
    float: left;
}

.mdg-options-stack-container .formulae .option {
    width: 30px;
    display: inline-block;
}

.mdg-options-stack-container .formulae .option span {
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
}

.mdg-options-stack-container .formulae .option:focus,
.mdg-options-stack-container .formulae .option:hover {
    font-weight: bold;
}

.mouse-over-000:focus,
.mouse-over-000:hover {
    color: #000;
}

.border-left-d9d9d9 {
    border-left: 1px solid #d9d9d9;
}

.border-top-d9d9d9 {
    border-top: 1px solid #d9d9d9;
}

.border-ddd {
    border: 1px solid #ddd;
}

.border-top-ddd {
    border-top: 1px solid #ddd;
}

.border-right-ddd {
    border-right: 1px solid #ddd;
}

.border-bottom-ddd {
    border-bottom: 1px solid #ddd;
}

.border-left-ddd {
    border-left: 1px solid #ddd;
}

.right-buffer-5 {
    margin-right: 5px;
}

.right-buffer-10 {
    margin-right: 10px;
}

.right-buffer-12 {
    margin-right: 12px;
}

.buffer-5 {
    margin: 5px;
}

.buffer-5-0 {
    margin: 5px 0;
}

.padding-5 {
    padding: 5px;
}

.padding-7 {
    padding: 7px;
}

.padding-10 {
    padding: 10px;
}

.padding-5 {
    padding: 5px;
}

.text-999 {
    color: #999;
}

.bg-999 {
    background-color: #999;
}

.text-bold {
    font-weight: bold;
}

.mdg-selected {
    color: #000;
    font-weight: bold;
}

.bg-ddd {
    background-color: #ddd;
}

.bg-f7f7f7 {
    background-color: #f7f7f7;
}

.bg-e7e7e7 {
    background-color: #e7e7e7;
}

.top-buffer-5 {
    margin-top: 5px;
}

.top-buffer-15 {
    margin-top: 15px;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.mdg-no-record {
    text-align: center;
}

@media (max-width: 767px) {
    .mdg-options-container {
        overflow: auto;
    }
}

@media (min-width: 768px) {
    .right-sm-buffer-10 {
        margin-right: 10px;
    }
    .right-sm-buffer-15 {
        margin-right: 15px;
    }
    .text-sm-right {
        text-align: right;
    }
}

@media (min-width: 992px) {
    .right-md-buffer-10 {
        margin-right: 10px;
    }
    .right-md-buffer-15 {
        margin-right: 15px;
    }
    .text-md-right {
        text-align: right;
    }
}

@media (min-width: 1200px) {
    .right-lg-buffer-10 {
        margin-right: 10px;
    }
    .right-lg-buffer-15 {
        margin-right: 15px;
    }
    .text-lg-right {
        text-align: right;
    }
}

@media screen and (max-width: 767px) {}

@media screen and (-webkit-min-device-pixel-ratio: 0) {}

@media (max-device-width: 480px) and (orientation: landscape) {}


/* Start : pivot csss */

.padding-left-10 {
    padding-left: 10px;
}

.padding-top-10 {
    padding-top: 10px;
}

.padding-bottom-10 {
    padding-bottom: 10px;
}

.top-buffer--10 {
    margin-top: -10px;
}

.mdg-toolbar-search-input {
    border: none;
    width: 90%;
}

.mdg-pivot-container {
    margin: 15px;
    border: 1px solid #ddd;
}

.full-screen {
    width: calc(100% - 30px);
    height: calc(100vh - 30px);
}

.mdg-pivot-container-div {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    height: calc(100vh - 90px);
    width: calc(100%);
    overflow: hidden;
}

.mdg-pivot-container-div table {
    width: unset;
}

.mdg-detail-container-div {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    height: calc(100vh - 200px);
    width: calc(100%);
    overflow: hidden;
    border: 1px solid #d9d9d9 !important;
}

.mdg-detail-header-div {
    right: 10px;
    width: calc(100%);
    overflow: hidden;
    position: absolute;
    padding-left: 10px;
}

.mdg-detail-header-div table {
    position: relative;
    margin-right: 10px;
}

.mdg-detail-body-div {
    position: absolute;
    width: calc(100%);
    height: calc(100vh - 235px);
    overflow: auto;
    top: 32px;
}

.mdg-filter-visible {
    height: calc(100vh - 150px);
}

.mdg-detail {
    width: 100%;
}

.mdg-detail td,
.mdg-detail th,
.mdg-pivot td,
.mdg-pivot th {
    border-style: solid;
    border-color: #d9d9d9;
    border-width: 0 1px 1px 0;
    padding: 5px;
    min-width: 150px;
    max-height: 30px;
    height: 30px;
    min-height: 30px;
    font-weight: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mdg-detail td span,
.mdg-detail th span,
.mdg-pivot td span,
.mdg-pivot th span {
    min-width: 130px;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mdg-detail td,
.mdg-detail th {
    min-width: 150px;
    max-width: 150px;
    width: 150px;
}

.mdg-pivot .pivot-cell {
    border-top: 1px solid #e9e9e9;
    border-left: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
    border-right: none;
    margin-left: -2px;
    padding: 5px;
    min-width: 150px;
    max-height: 30px;
    font-weight: normal;
}

.mdg-pivot .pivot-row .pivot-cell:last-child {
    border-right: 1px solid #e9e9e9;
}

.mdg-pivot .pivot-row {
    display: block;
    overflow: visible;
}

.mdg-pivot .pivot-row .pivot-cell {
    display: table-cell;
    text-align: center;
}

.mdg-detail .detail-cell {
    padding: 5px;
}

.mdg-pivot .title-cell i:hover,
.mdg-pivot td:hover {
    cursor: pointer;
}

.mdg-pivot .title-cell {
    border-style: solid;
    border-color: #d9d9d9;
    border-width: 0 1px 1px 1px;
    background-color: #e7e7e7;
    font-weight: 700;
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    height: 30px;
    min-height: 30px;
    max-height: 30px;
}

.mdg-pivot .title-value {
    background-color: #f7f7f7;
    cursor: default;
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    height: 30px;
    min-height: 30px;
    max-height: 30px;
}

.mdg-pivot .title-format:hover {
    text-decoration: underline;
    font-style: italic !important;
    cursor: pointer;
}

.pivot-values {
    overflow-y: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.mdg-pivot .dropdown {
    display: inline-block;
}

.dropdown-menu {
    min-width: 240px;
}

.mdg-export .dropdown .dropdown-menu {
    right: 0;
}

.mdg-export .dropdown:hover .disabled:hover .dropdown-menu {
    display: none;
}

.mdg-export .dropdown:hover .dropdown-menu {
    display: block;
}

.mdg-pivot .dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    right: 0;
    margin-top: 20px;
    min-width: 120px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    max-height: 250px;
    overflow: auto;
    z-index: 10003;
}

.mdg-pivot .dropdown-content a {
    color: black;
    font-style: normal;
    font-weight: normal;
    padding: 5px;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.mdg-pivot .dropdown-content a:hover {
    background-color: #f1f1f1;
}

.mdg-pivot .dropdown:hover .dropdown-content {
    display: block !important;
}

.mdg-pivot-header {
    background-color: #f7f7f7;
    color: #000;
}

.mdg-pivot-footer {
    font-weight: bold;
    color: #000;
}


/* End : pivot csss */

.data-loader-wrap {
    position: relative;
}

.data-loader {
    position: absolute;
    top: 37px;
    bottom: 45px;
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 99999;
}

.data-loader .lds-css,
.data-loader .lds-double-ring {
    position: absolute;
}

.data-loader .lds-css {
    top: calc(50% - 75px);
    left: calc(50% - 75px);
    width: 150px !important;
    height: 150px !important;
    text-align: center;
}

@keyframes lds-double-ring {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes lds-double-ring {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes lds-double-ring_reverse {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

@-webkit-keyframes lds-double-ring_reverse {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

.lds-css {
    position: fixed;
    top: calc(50% - 75px);
    left: calc(50% - 75px);
    width: 250px !important;
    height: 150px !important;
}

.lds-css h4 {
    color: #055E6D;
}

.lds-double-ring {
    position: fixed;
    top: calc(50% - 100px);
    left: calc(50% - 75px);
    width: 150px !important;
    height: 150px !important;
}

.lds-double-ring div {
    position: fixed;
    width: 70px;
    height: 70px;
    top: 40px;
    left: 40px;
    border-radius: 50%;
    border: 4px solid #000;
    border-color: #a7a7a7 transparent #a7a7a7 transparent;
    -webkit-animation: lds-double-ring 1s linear infinite;
    animation: lds-double-ring 1s linear infinite;
}

.lds-double-ring div:nth-child(2) {
    width: 54px;
    height: 54px;
    top: 48px;
    left: 48px;
    border-color: transparent #d8d5cc transparent #d8d5cc;
    -webkit-animation: lds-double-ring_reverse 1s linear infinite;
    animation: lds-double-ring_reverse 1s linear infinite;
}

.lds-double-ring {
    width: 150px !important;
    height: 150px !important;
    -webkit-transform: translate(-75px, -75px) scale(1) translate(75px, 75px);
    transform: translate(-75px, -75px) scale(1) translate(75px, 75px);
}

.btn-sm {
    border-radius: 0;
    padding: 3px 7px;
    margin: 0;
}

.mdg-sr-cell {
    border-style: solid;
    border-color: #d9d9d9;
    border-width: 0 1px 1px 1px;
    max-width: 40px !important;
    width: 40px !important;
    min-width: 40px !important;
    text-align: center;
}

.mdg-pivot td:hover,
.mdg-pivot th:hover {
    background-color: #8d8e921f;
}

.height-0 {
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
}

.width-0 {
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
}

.no-padding {
    padding: 0 !important;
}

.no-border {
    border: none !important;
}

.overflow-hidden {
    overflow: hidden;
}

.right-10 {
    right: 10px;
}

.bottom-10 {
    bottom: 10px;
}

.right-buffer-10 {
    margin-right: 10px;
}

.bottom-buffer-10 {
    margin-bottom: 10px;
}

.border-bottom-d9d9d9 {
    border-bottom: 1px solid #d9d9d9 !important;
}

.border-right-d9d9d9 {
    border-right: 1px solid #d9d9d9 !important;
}

.hidden-visibility {
    visibility: hidden;
}

.hidden {
    display: none;
}

.chart-container {
    position: absolute;
    left: 0;
    right: 0;
    top: 40px;
    bottom: 0;
    display: block;
    overflow: auto;
    padding: 50px;
}

.chart-filter {
    padding: 5px;
    margin-top: 5px;
    display: block;
    overflow-x: auto;
    border-bottom: 1px solid #ddd;
}

.chart-filter .mdg-filter-item {
    margin: 0 5px;
}