﻿.e-sidebar.e-left.e-open.e-disable-animation, .e-sidebar.e-right.e-open.e-disable-animation, .e-sidebar.e-right.e-close.e-disable-animation, .e-sidebar.e-left.e-close.e-disable-animation {
    transition: width 0.5s;
    transform: unset !important;
}

.e-sidebar {
    overflow: hidden;
    display: flex;
}

/*WORKAROUND: Syncfusion 19.4.0.38 Icons in toolbar are shrunk*/
.pl-toolbar-btn-icon.e-btn-icon {
    width: unset;
}

.pl-planta-page-mi {
    background: #0079ae;
    color: white;
}
    .pl-planta-page-mi:hover {
        background: #005794;
        color: white;
    }

.pl-popup-module > div > div {
    max-height: 400px;
}

.pl-listbox-module .pl-datafield-content {
    cursor: pointer;
}

.pl-error {
    background-color: #b22222;
    border-radius: 10px;
    padding: 20px;
    font-weight: bold;
    color: white;
}

.pl-info {
    background-color: #357e32;
    border-radius: 10px;
    padding: 20px;
    font-weight: bold;
    color: white;
}

.e-input-group .e-input[readonly], .e-input-group.e-control-wrapper .e-input[readonly], .e-float-input input[readonly], .e-float-input.e-control-wrapper input[readonly], .e-float-input textarea[readonly], .e-float-input.e-control-wrapper textarea[readonly] {
    background: unset;
    color: unset;
}

.login-form-content .mud-input-control > .mud-input-control-input-container > .mud-input-label-outlined.mud-input-label-inputcontrol {
    line-height: 1;
}

/* Scrollbar settings: */

/* For Chrome and other browsers that supports -webkit: */
@supports (-webkit-appearance: none) {
    ::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }

    ::-webkit-scrollbar-thumb {
        background: #666;
        border-radius: 3px;
    }

        ::-webkit-scrollbar-thumb:hover {
            background: #00355a;
        }

    ::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
}

/* For Firefox and IE browsers: */
@supports not (-webkit-appearance: none) {
    div {
        scrollbar-color: #666 transparent;
        scrollbar-width: thin; /* also hides arrows on scrollbar */
    }
}

.e-navigate-arrow.e-arrow-up, .e-navigate-arrow.e-arrow-left {
    visibility: hidden;
}

.pl-textbox {
    width: 100%;
    border: 0;
    font: inherit;
    background-color: transparent;
    padding: 1px;
}

.pl-button .mud-button {
    min-width: unset;
    background-color: white !important;
    border-radius: 0 !important;
    padding: 3px 3px !important;
    font-family: 'Roboto', sans-serif;
    letter-spacing: unset;
    text-transform: unset;
}

.pl-button .mud-icon-root {
    width: unset;
    height: unset;
}
.pl-button .mud-button-icon-start {
    display: inherit;
    margin-left: unset;
    margin-right: unset;
    margin-inline-start: unset;
    margin-inline-end: unset;
}

.pl-icon-insert {
    content: url(/icons/ContextMenuInsertIcon.png);
}

img.pl-icon- {
    display: none !important;
}

/* upload file tooltip, its a popup rendered outside of actual component, so css isolation does not work correctly */
.file-upload__file {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-upload__file a {
    white-space: nowrap;
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 21px;
    cursor: pointer;
    color: #00355a;
}

.file-upload__upload-button {
    color: #aaa;
    cursor: pointer;
}

.file-upload__upload-button:hover {
    color: #00355a;
}

.file-upload__dropzone {
    height: 23px;
    /* for vertical aligning */
    line-height: 23px;
    cursor: pointer;
    font-size: 10px;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upload-static-tooltip {
    width: 100%;
}

.upload-tooltip.e-tooltip-wrap.e-popup {
    background-color: white;
}

.upload-tooltip.e-tooltip-wrap .e-arrow-tip-inner {
    color: white
}

.upload-tooltip.e-tooltip-wrap .e-tip-content {
    padding: 0;
}

.upload-tooltip .e-upload {
    width: 300px;
    height: auto;
}

.upload-tooltip .e-upload .e-css.e-btn {
    background-color: white;
    border: 1px solid #6c757d;
    color: #6c757d;
}

.upload-tooltip .e-upload .e-css.e-btn:hover {
    border-color: #00355a;
    color: #00355a;
}

.pl-popover .pl-popup-module > div {
    min-height: fit-content !important;
    box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.25);
}

@keyframes appear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.pl-popover.mud-popover-open {
    animation: appear 0.2s;
}

.mud-popover.pl-popover .pl-datepicker.pl-listbox-module .mud-picker {
    position: relative !important;
} 