﻿body {
    min-height: 100vh !important;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex: 1;
    flex: 1;
}

.main-content, #layout-wrapper {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.page-content {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex: 1;
    flex: 1;
    overflow: auto;
}

.container-fluid {
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.app-search span {
    position: absolute;
    z-index: 10;
    font-size: 20px;
    line-height: 38px;
    left: 3px;
    top: -2px;
    color: #1CA8DD;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.auth-full-bg {
    background-color: #ced4da !important;
}

.badge-success {
    background-color: green !important;
}


.badge-secondary {
    background-color: gray !important;
}

.badge-primary {
    background-color: #004990 !important;
}

.badge-danger {
    background-color: #DC3545 !important;
}

.badge-downtime-reason-type-0 {
    background-color: #F97B22 !important;
}

.badge-downtime-reason-type-1 {
    background-color: #9CA777 !important;
}

.badge-downtime-reason-type-2 {
    background-color: gray !important;
}

.badge-workorder-status-0 {
    background-color: gray !important;
}

.badge-workorder-status-1 {
    background-color: #004990 !important;
}

.badge-workorder-status-2 {
    background-color: green !important;
}


span[class*="badge-cpu-type"] {
    background-color: gray;
}

.badge-log-3 {
    background-color: #DC3545 !important;
}

.badge-log-6 {
    background-color: #004990 !important;
}

.badge-log-4 {
    background-color: #f1b44c !important;
}

span[class*="badge-log"] {
    background-color: gray;
}


.badge-cpu-type-100 {
    background-color: #DE8971 !important;
}

.badge-cpu-type-200 {
    background-color: #7B6079 !important;
}

.badge-cpu-type-300 {
    background-color: #A7D0CD !important;
}

.badge-cpu-type-400 {
    background-color: #A7D0CD !important;
}

.badge-cpu-type-500 {
    background-color: #A7D0CD !important;
}

.badge-cpu-type-1000 {
    background-color: #2bc8c8 !important;
}

.badge-cpu-type-2000 {
    background-color: #265fb3 !important;
}

.badge-cpu-type-2100 {
    background-color: #d4be66 !important;
}

span[class*="badge-device-type-group"] {
    background-color: gray;
}

.badge-device-type-group-1 {
    background-color: #2b8dc8 !important;
}

.badge-device-type-group-2 {
    background-color: #2bc5c8 !important;
}

.badge-device-type-group-3 {
    background-color: #75718b !important;
}

span[class*="badge-training-status"] {
    background-color: gray;
}

.badge-training-status-1 {
    background-color: #2b8dc8 !important;
}

.badge-training-status-2 {
    background-color: #004990 !important;
}

.badge-training-status-3 {
    background-color: #34c38f !important;
}

.badge-training-status-4 {
    background-color: #DC3545 !important;
}


.badge-process-type-0 {
    background-color: #046582 !important;
}

.badge-process-type-1 {
    background-color: #6E7582 !important;
}

.badge-module-0 {
    background-color: #6E7582 !important;
}

.badge-module-1 {
    background-color: #046582 !important;
}

.badge-module-2 {
    background-color: #A7D0CD !important;
}

.badge-module-3 {
    background-color: #A7D0CD !important;
}

.badge-module-4 {
    background-color: #50a5f1 !important;
}

.badge-module-99 {
    background-color: gray !important;
}

.badge-warning {
    background-color: #ffc107 !important;
}


/*.page-content {
    padding-bottom: 0px !important;
}*/

.report-list-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 25px;
}

.alert {
    margin-top: 1rem;
}

.alert-info-custom-style {
    color: #000000;
    background-color: #f9f9f9;
    border-color: #34c38f;
    border-width: 0px 0px 0px 3px;
}

.card {
    border-top-width: 2px;
    border-top-color: #82b52a;
}

.card-custom-border {
    border: 1px solid #ddd;
    border-top-width: 2px;
    border-top-color: #82b52a;
}

.card-login {
    border-top-width: 2px;
    border-top-color: #337ab7;
}

.card-info {
    border-left-width: 5px;
    border-left-color: #114681;
    border-top-width: 0px !important;
}

.card-header {
    background-color: transparent;
}

.card-footer {
    background-color: #ffffff !important;
    border-top: 0 solid #ffffff !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
}

.card.border-left {
    border-top-width: 0px !important;
    border-left-width: 2px !important;
    border-color: #114681 !important;
}


.header-icon {
    color: #ffe019 !important;
}



#btn-fleets {
    background-color: #17a2b8;
    color: white;
}

#footer {
    position: absolute;
    left: 15px;
    bottom: 15px;
    font-size: 16px;
}

.vertical-menu {
    background-color: #97CB3B;
}

.menu-title {
    color: white;
}

#sidebar-menu ul li a i {
    color: white !important;
    font-size: 1.25rem !important;
}

#sidebar-menu ul li a {
    color: white !important;
}

.mm-active .active {
    color: white !important;
    background-color: #82b52a !important;
}

#sidebar-menu ul li a:hover {
    color: white !important;
    background-color: #97CB3B !important;
}

.vertical-collpsed .vertical-menu #sidebar-menu > ul ul {
    background-color: #97CB3B !important;
}

.vertical-collpsed .vertical-menu #sidebar-menu > ul > li:hover > a {
    background-color: #97CB3B !important;
}

/*Devexpress*/
.dx-button {
    border-radius: 50rem !important;
}

.dx-toolbar {
    background-color: transparent !important;
}

.dx-datagrid-pager {
    border-top: unset;
}

.dx-icon.fal {
    font-size: 1.2em !important;
}

.header-icon {
    color: #ffe019 !important;
}

.dx-dropdowneditor-icon {
    color: #0e487b !important;
    border-radius: 2.25em !important;
}

.dx-texteditor.dx-editor-outlined:not(.dx-textarea), .dx-texteditor.dx-editor-outlined:not(.dx-textarea) input {
    border-radius: 2.25em !important
}

/*.dx-datagrid-headers .dx-datagrid-table .dx-row > td {
    color: #495057 !important;*/
/*background-color: #f8f9fa !important;*/
/*border-color: #eff2f7 !important;
    font-weight: 600 !important;
    border-top: 1px solid #eff2f7 !important;
    border-bottom: 2px solid #eff2f7;
}*/

.dx-datagrid-group-panel .dx-group-panel-item {
    border-radius: 2.25em !important;
}

.dx-gridbase-container > .dx-datagrid-rowsview {
    border-top: unset;
}

body:not(.report-viewer) .dx-datagrid .dx-row-lines > td {
    border-bottom: 1px solid #eff2f7 !important;
}

.dx-fileuploader-wrapper {
    margin: 10px 0px 0px 0px;
    padding: 0px;
}

.dx-row > td, .dx-row > tr > td {
    padding: .75rem; /*!important;*/
}

.dx-dashboard-panel-extension {
    display: none !important
}

.dx-overlay-content dx-toast-custom dx-toast-content dx-resizable {
    transform: translate(711px,100px) !important;
    margin: 0px;
    padding: 0px;
}
/*
.dx-dashboard-control {
    background-color: transparent !important;
}*/

.report-viewer {
    height: 100%;
    width: 100%;
}

    .report-viewer .dx-dashboard-surface {
        left: 0 !important;
        right: 0;
        top: 0;
    }

.dx-selectbox-container .dx-texteditor-container {
    padding-left: 7px !important;
}

.dx-tag-content {
    border-radius: 2.25em !important;
}

.dx-tagbox:not(.dx-texteditor-empty) .dx-texteditor-input {
    padding-left: 5px !important
}

.dx-datagrid .text-white .dx-link {
    color: white !important;
}
/*End Devexpress Dashboard*/

@media (min-width: 1300px) {
    .p-6 {
        padding: 6rem !important;
    }

    .pt-7 {
        padding-top: 7rem !important;
    }
}

.running-color {
    color: #16a085;
}

.downtime-color {
    color: #d35400;
}

/** Svg Donut **/
.svg-item {
    width: 100%;
    font-size: 16px;
    animation: donutfade 1s;
}

@keyframes donutfade {
    /* this applies to the whole svg item wrapper */
    0% {
        opacity: .2;
    }

    100% {
        opacity: 1;
    }
}

.donut-ring {
    stroke: #575757;
}

.donut-segment {
    transform-origin: center;
    /*stroke: #FF6200;*/
    animation: donut 3s;
}

.donut-percent {
    animation: donutfadelong 1s;
}

@keyframes donutfadelong {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes donut {
    0% {
        stroke-dasharray: 0, 100;
    }
    /*100% {
        stroke-dasharray: 69, 31;
    }*/
}

.donut-text {
    font-family: Arial, Helvetica, sans-serif;
    fill: #fff;
}

.donut-label {
    font-size: 0.28em;
    font-weight: 700;
    line-height: 1;
    fill: #000;
    transform: translateY(0.25em);
}

.donut-percent {
    font-size: 0.5em;
    line-height: 1;
    transform: translateY(0.5em);
    font-weight: bold;
}

.donut-data {
    font-size: 0.12em;
    line-height: 1;
    transform: translateY(0.5em);
    text-align: center;
    text-anchor: middle;
    color: #666;
    fill: #666;
    animation: donutfadelong 1s;
}

.cursor-pointer {
    cursor: pointer;
}

#kpi-asset-name {
    position: absolute;
    left: 4%;
    top: 18%;
    z-index: 99999;
}
/** End Svg Donut **/

/*Cutom Dropzone*/
.dx-custom-dropzone {
    width: 100%;
    min-height: 6rem;
    background-color: rgb(183 183 183 / 2%);
    border-width: 2px;
    border-style: dashed;
    padding: 10px;
    text-align: center;
    display: inline-block;
}

    .dx-custom-dropzone .dropzone-active {
        border-style: solid;
    }

    .dx-custom-dropzone .dropzone-text {
        min-height: 5rem;
        display: inline-flex;
        margin: auto;
        align-self: center;
        padding: 5px;
    }

        .dx-custom-dropzone .dropzone-text > span {
            font-weight: 100;
            opacity: 0.5;
            margin: auto;
            font-size: 0.7rem;
        }

    .dx-custom-dropzone .selected-item {
        width: 5rem;
        height: 5rem;
        overflow: hidden;
        border: 1px solid #ccc;
        float: left;
        margin: 5px;
        display: inline-flex;
        position: relative;
        align-items: center;
    }

        .dx-custom-dropzone .selected-item.image-large {
            width: 10rem;
            height: 10rem;
        }

        .dx-custom-dropzone .selected-item img {
            width: 100%;
            z-index: 7;
        }

        .dx-custom-dropzone .selected-item .selected-item-bg {
            display: -ms-flexbox;
            display: flex;
            -ms-flex-direction: column;
            flex-direction: column;
            -ms-flex-pack: center;
            justify-content: center;
            text-align: center;
            position: absolute;
            top: 0;
            left: 0;
            background-color: rgb(224 224 224 / 67%);
            padding: .5rem;
            color: #ef5350;
            opacity: 0;
            width: 100%;
            height: 100%;
            border-radius: .25rem;
            transition: opacity ease-in-out .15s;
            z-index: 8;
        }

        .dx-custom-dropzone .selected-item:hover .selected-item-bg {
            opacity: 1;
        }

        .dx-custom-dropzone .selected-item:hover i {
            display: inline-block;
        }

        .dx-custom-dropzone .selected-item i {
            display: none;
            content: "\f00d";
            color: #f46a6a !important;
            position: absolute;
            z-index: 9;
            top: 0;
            right: 0;
            padding: .2rem;
            font-size: 25px;
            cursor: pointer;
        }

.dx-custom-dropzone-single {
    height: 6rem;
    width: 6rem;
    display: block;
    padding: unset;
}

    .dx-custom-dropzone-single .selected-item {
        width: 90%;
        height: 5rem;
    }

    .dx-custom-dropzone-single .dropzone-text {
        height: 5rem;
    }

.dx-custom-dropzone-error {
    border-color: #d9534f !important;
}

.dx-custom-dropzone-single .dx-progressbar {
    height: 5rem;
    padding: 15%;
    width: 100% !important;
}

/*.dx-layout-manager .dx-label-h-align.dx-flex-layout .dx-field-item-label {
    margin: auto;
}*/

.dx-custom-dropzone .dx-progressbar {
    width: 100% !important;
}
/*End Cutom Dropzone*/

.text-system {
    color: #97CB3B !important;
}

.gauge-center-label {
    position: absolute;
    top: 45%;
    left: 0;
    width: 100%;
    line-height: 1.2;
}

.gauge-center-label-60 {
    top: 60% !important;
}

.gauge-center-label-53 {
    top: 50% !important;
}

.dx-datagrid-header-panel {
    border-bottom: 0 !important;
}

.vertical-align-middle {
    vertical-align: middle !important;
}

@media (min-width: 1300px) and (max-width: 1920px) {
    .col-xxl-6 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        width: 75%;
    }
}

/*.dx-dashboard-title-toolbar .dx-toolbar-item {
    color: white;
}*/
.CodeMirror {
    width: 100% !important;
    height: auto !important;
    background: none !important;
}

.dx-textbox:not(.dx-textarea) .CodeMirror {
    padding: 5px 9px 5px;
}

.CodeMirror-wrap pre span {
    word-break: break-word;
}

.fullscreen-enable .page-content {
    padding: 0 !important;
}

.fullscreen-enable .main-content {
    margin-left: 0;
}

.fullscreen-enable .vertical-menu {
    display: none;
}

.fullscreen-enable #page-topbar, .fullscreen-enable .fullscreen-hide {
    display: none;
}

.fullscreen-enable .container-fluid.static-report {
    padding-top: 10px;
}

.table-client-config {
    width: 100%;
    table-layout: fixed;
}

    .table-client-config > tbody > tr > td:nth-child(1) {
        width: 200px;
    }

    .table-client-config > tbody > tr > td:nth-child(2) {
        width: 30px;
    }

.dx-visibility-change-handler .dx-datagrid-filter-row .dx-menu {
    z-index: 0 !important;
}

.dx-visibility-change-handler.dx-drawer-opened .dx-datagrid-filter-row .dx-menu {
    z-index: 1 !important;
}

.font-size-9 {
    font-size: 9px !important;
}

.dx-item.dx-tile {
    border: 0;
    border-radius: 0.25rem;
}

.table-product-info {
    width: 100%;
    table-layout: fixed;
}

    .table-product-info > tbody > tr > td:nth-child(1) {
        width: 120px;
    }

    .table-product-info > tbody > tr > td:nth-child(2) {
        width: 30px;
    }

.ml-auto {
    margin-left: auto !important;
}

.box-shadow-none {
    box-shadow: none !important;
}

.dx-field-item-help-text {
    white-space: pre-line !important;
}

.dx-scheduler-header-panel-container {
    background-color: #f5f5f5;
}

.dx-scheduler-header-tables-container th.dx-scheduler-group-header {
    border-right: 1px solid rgba(221, 221, 221, .6);
    height: 45px;
}

.dx-scheduler-header-panel {
    margin-top: 0;
}

.dx-scheduler-header {
    display: none;
}

.valid-field {
    border-color: #4CAF50 !important; /* Yeşil */
}

.valid-field.dx-texteditor.dx-editor-filled.dx-show-invalid-badge .dx-texteditor-input-container::after,
.valid-field.dx-texteditor.dx-editor-outlined.dx-show-invalid-badge .dx-texteditor-input-container::after,
.valid-field.dx-texteditor.dx-editor-underlined.dx-show-invalid-badge .dx-texteditor-input-container::after {
    pointer-events: none;
    font-weight: 700;
    position: absolute;
    top: 50%;
    margin-top: -9px;
    width: 18px;
    height: 18px;
    text-align: center;
    line-height: 18px;
    font-size: 13px;
    background-color: #4CAF50;
    color: #fff;
    content: "✓";
    border-radius: 50%;
}

.dx-texteditor.valid-field .dx-texteditor-input-container::after {
    right: 4px;
}
