import{css as e,unsafeCSS as r}from"lit";import{DefaultColor1 as o,DefaultColor2 as t,DefaultColor4 as a,DefaultColor5 as n}from"@openremote/core";export const style=e`

    :host {       
        --internal-or-asset-tree-header-color: var(--or-asset-tree-header-color, var(--or-app-color4, ${r(a)}));     
        --internal-or-asset-tree-header-text-color: var(--or-asset-tree-header-text-color, var(--or-app-color7, ${r(o)}));
        --internal-or-asset-tree-header-menu-background-color: var(--or-asset-tree-header-menu-background-color, var(--internal-or-asset-tree-header-text-color));
        --internal-or-asset-tree-header-menu-text-color: var(--or-asset-tree-header-menu-text-color, inherit);
        --internal-or-asset-tree-header-height: var(--or-asset-tree-header-height, 48px);
        --internal-or-asset-tree-background-color: var(--or-asset-tree-background-color, var(--or-app-color1, ${r(o)}));
        --internal-or-asset-tree-text-color: var(--or-asset-tree-text-color, inherit);
        --internal-or-asset-tree-item-height: var(--or-asset-tree-item-height, 24px);
        --internal-or-asset-tree-item-padding: var(--or-asset-tree-item-padding, 10px);
        --internal-or-asset-tree-selected-background-color: var(--or-asset-tree-selected-background-color, var(--or-app-color2, ${r(t)}));
        --internal-or-asset-tree-selected-color: var(--or-asset-tree-selected-color, var(--or-app-color4, ${r(a)}));
        --internal-or-asset-tree-button-color: var(--or-asset-tree-button-color, var(--or-app-color4, ${r(a)}));
        --internal-or-asset-tree-line-color: var(--or-asset-tree-line-color, var(--or-app-color5, ${r(n)}));
            
        display: flex;
        flex-direction: column;
        height: 100%;
        width: 100%;
        background-color: var(--internal-or-asset-tree-background-color);
    }

    @media only screen and (max-width: 640px){
        .hideMobile {
            display: none !important;
        }
    }
    @media only screen and (min-width: 641px){
        .showMobile {
            display: none !important;
        }
    }
    
    #container {
        display: flex;
        width: 100%;
        height: 100%;
    }
        
    #menu-header {
        background-color: var(--internal-or-asset-tree-header-color);
        display: flex;
        align-items: center;
        width: 100%;
        height: var(--internal-or-asset-tree-header-height);
        border-bottom: 1px solid var(--or-app-color5, ${r(n)});
        z-index: 3;
        line-height: var(--internal-or-asset-tree-header-height);
        color: var(--internal-or-asset-tree-header-text-color);
        --or-icon-fill: var(--internal-or-asset-tree-header-text-color);
    }

    #title-container {
        flex: 1;
        flex-direction: row;
        text-transform: capitalize;
        padding-left: 14px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    #title {
        font-weight: 500;
        font-size: 16px;
    }

    .expandableHeader {
        display: flex;
        align-items: center;
        padding: 12px;
        background: none;
        border-top: 1px solid var(--or-app-color5, ${r(n)});
        border-right: none;
        border-bottom: none;
        border-left: none;
        border-radius: 0;
        width: 100%;
        cursor: pointer;
        font-weight: 700;
        line-height: 1em;
        color: var(--internal-or-asset-viewer-title-text-color);
        flex: 0 0 auto;
    }
    .expandableHeader > or-icon {
        --or-icon-height: 20px;
        --or-icon-width: 20px;
    }
    .panel-title {
        text-transform: uppercase;
        font-weight: bolder;
        line-height: 1em;
        color: var(--internal-or-asset-viewer-title-text-color);
        /*margin-bottom: 20px;*/
        flex: 0 0 auto;
    }
`;