[__id="__Application"] div[__t="WindowFrame"]:has(div[class="rsPane"]){
    *:hover{
        outline: 1px dotted #3D2EFF;
        box-shadow:
            0 0 0 4px #CCC, /* Inner outline color */
            0 0 0 8px #444;
    }
}
[__id="__StudioDesigner"], ._designer{
    /*--scrollthbcolor: darkgray;*/
    font-family: sans-serif;
    background: transparent !important;
    pointer-events: none;
    .aLabel{
        color: white !important;
    }
    select option{
        background-color: #1a1a1a;
    }
    [__id]{
        background: #121212;
        color: white !important;
        /*box-shadow: #ccc 1px 1px 12px;
        /*padding:1em;*/
    }
    [__t=Grid] p:first-child {
        display: none;
    }
    .StudioGroups{
        padding-top: 1em;
        background-color: #2B2B2B;
        border-radius: 1em;
        td[__n="name"]{
            margin-top:-3em;
            background-color: #000000a0 !important;
            div{
                height: 3em;
                min-height: unset;
            }
        }
        .__GridFilter{
            display: none;
        }
    }
    .StudioLists tbody{
        padding-top: 1em;
        background-color: #181818;
        border-radius: 1em;
        td[__n="name"]{
            /*margin-top:-100%;*/
            background-color: #00000080 !important;
            div{
                height: 3em;
                min-height: unset;
            }
        }
        .__GridFilter{
            display: none;
        }
    }
    [__id="__StudioBar"]{
        background: black;
        font-size:1em;
        padding: 1em 0 1em 0;
        .ActionButtons{
            text-align: center;
            button{
                font-size:1.6em;
                width: 1.6em !important;
                height: 1.6em;
                border-radius: 50%;
                background: #3f3f3f;
            }
            button:before {
                color: #ffffffdf !important;
            }
        }
        .StepsButtons{
            padding-top: 0.4em !important;
            height:4.2em;
            text-shadow: 1px 1px 10px blue, 1px 1px 8em #ccc;
            border-bottom: 1px dashed gray;
            p{
                font-size: 1em !important;
                color: #b5b5b5 !important;
            }
            button{
                font-size: 2.4em;
            }
        }
        .StepsButtons:hover, .StepsButtons:focus{
            background: #181818;
            p{
                text-decoration: underline
            }
            button:before{
                color:#f5f5f5;
            }
        }
        .StuxioButtons{
            background-color: #181818;
            padding-top: 0.4em !important;
            /*box-shadow:rgba(255, 255, 255, 0.075) 0px 0px 0.5px 4px inset, rgba(0, 0, 0, 0.024) 0px 0.3px 0.4px 0px, rgba(0, 0, 0, 0.05) 0px 0.9px 1.5px 0px, rgba(0, 0, 0, 0.1) 0px 3.5px 6px 0px;*/
            /*margin-top: 0.6em !important;
            /*border-radius: 0.8em;
            /*border-radius: 50%;*/
            height: 3.6em !important;
            /* margin: 0.2em 0 0.2em 0 !important; */
            text-shadow: 1px 1px 10px #FC0106, 1px 1px 8em #ccc;
            /*box-shadow: #3C3C3C 0 0 0px 0.2em;*/
            border-bottom: 1px dotted #5e5e5e;
        }
        .StuxioButtons p{
            font-size: 0.88em !important;
            color: #5f5f5f !important;
        }
        .StuxioButtons button{
            background: transparent;
            color:#5f5f5f !important;
            box-shadow: none;
        }
        .StuxioButtons:hover, .StuxioButtons:focus{
            background: linear-gradient(0deg, #121212, #121212);
            button:before{
                color:#f5f5f5;
            }
        }
    }
    [__id="__StudioBrowse"] {
        border-radius: 0.6em 0 0 0.6em;
        padding:0 0.6em 0 0.6em;
        img, picture{
            /*filter:opacity(0.8);*/
        }
        .StylerControl{
            height:8em;
            padding:1em;
            background: white;
            *:last-child{
                height:6em;
            }
        }
        tr{
            box-shadow: rgba(256, 256, 256, 0.8) 0px 0px 3px 0px;
            margin-bottom: 1em !important;
            border-radius: 1em;
            padding: 0.5em;
            /*border: 1px dotted lightgray;*/
        }
        span[__n="group_name"] tbody{
            display:flex;
            font-size: 0.8em;
            tr{
                width:8em !important;
                margin-left: 1em !important;
                margin-right: 0em !important;
                box-shadow: rgba(256, 256, 256, 0.8) 0px 0px 6px 0px;
            }
        }
        td:nth-child(1){

        }
        td:not(:nth-child(1)) *{
            /*background-color: #000000bf !important;*/
        }
        [__t="Explorer"]{
            height: 100vh;
            overflow: auto !important;
        }
    }
    [__n="preview_element"] > p{
        border-radius: 0.6em 0 0 0.6em;
        padding:0 0.6em 0 0.6em;
        background: #1A1A1A;
        color: white !important;
        height: 4em;
    }
    [__id="__StudioPreview"] {
        border-radius: 0.6em 0 0 0.6em;
        padding:0 0.6em 0 0.6em;
        background: #1A1A1A;
        color: white !important;
    }
    span[__t="Frame"]{
        padding-bottom: calc(var(--aspectratio)*100%);
        iframe{
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }
    }
    span[__t]:not([__t="Section"]) {
        *{
            /*background-color: inherit;*/
            color: #eBeBeB !important;
        }
        table[__t]
        {
            background-color: inherit;
            tr{
                background-color: inherit;
                td{
                    background-color: inherit;
                    /*border: 1px solid #2B2B2B;
                background-color: #1A1A1A !important;*/

                }
            }
        }
    }
    span[__t]:not([__t="Section"]) *:focus{
        /*background-color: #2B2B2B !important;*/
    }

    button:before{
        /*text-shadow: 1px 1px 10px #fff, 1px 1px 10px #ccc;*/
        color: gray;
    }
}
[_dragging]{
    border : 1px solid darkgray;
    background-color: #f0f0f01f;
}
[_hover]{
    outline: 2px dashed gray;
    outline-offset: -2px;
    background-color: #f0f0f00f;
    /*box-shadow:
        0 1px 0 1px #CCC, /* Inner outline color 
        0 0 1px 1px #444;*/
}
span[_hover] > *:not(div){
    pointer-events: none;
}
[_design]{
    /*background-color: #f0f0f03f;*/
    * {

    }
}
[__t="WindowFrame"] > .rsPane .editImg{
    display: block;
}
.x{
    background-color: #2B2B2B;
    border-radius: 0.5em;
}

._app_layout{
    height: 64vh;
    width: 24vw!important;
}
[__id="__StudioDesigner"] [__id]{
    pointer-events: auto;
}
._designer {
    border-radius: 0.25em;
    background: #fff;
    font-size:0.84em;
}
._designer *{
}
._designer button{
    height:auto;
}
._designer [__t="RichButton"] p{
    width:100%;
    text-align: center;
    font-size: 0.8em;
}
[__id="__StudioMenu"] [__t="Link"]{
    text-align: center;
}
.nextgenai p{
    font-size: 1em!important;
    color: white;
}
.nextgenai{
    background: transparent;/*radial-gradient(#605CFF, #008CB8, transparent 70%);*/
    border-radius: 50%;
    border: 0;
    /*box-shadow: 0 0 0 0.25em #008CB8;
    -webkit-box-shadow: 0 0 0 1em #008CB8;*/
}
.nextgenai input{
    width:5em!important;
    height: 5em!important;
    background-size: contain !important;
    border: 0;
    border-radius: 50% !important;
    box-shadow: none;
}
.NextGenAIText{
    background-color: #2B2B2B;
    border-radius: 0.6em;
    /*background-image: url("../../NextGenAI/Studio/Assets/Images/NextGenAI.png");*/
    background-position: center right;
    background-repeat: no-repeat;
    margin: 0.6em 0em 0.6em 0em !important;
}
.NextGenAIText textarea{
    height: 12em;
    color:white;
    border: 0;
    padding: 1em;
}
[__id="__StudioDesigner"] tbody{
    padding:0.1em
}
[__id="__StudioDesigner"] tbody::-webkit-scrollbar {
    width: 0.4em;
    background: #2B2B2B;
}
[__id="__StudioDesigner"] tbody::-webkit-scrollbar-track {
}
[__id="__StudioDesigner"] tbody::-webkit-scrollbar-thumb {
    background: #1A1A1A;
}
.DesignerIcon{
    right:0px;
    top:-1.25em;
    position:fixed;
    width:2.4em;
    height: 2.4em;
    cursor: pointer;
    background: white;
    filter:alpha(opacity=50);
    opacity:0.5;
    -moz-opacity:0.5;
    border-radius: 50%;
}
.DesignerIcon:hover{
    filter:alpha(opacity=100);
    top:-1.25em;
    opacity:1;
    -moz-opacity:1;
}
._designer input[type="button"]{
    /*background-color: #848484;
    box-shadow: none;
    border-radius: 0;*/
    color:#ffffff;
    height: 2em;
    font-size:1em;
    background: linear-gradient(#5f5f5f, #5f5f5f) padding-box,
        linear-gradient(90deg, #3D2EFF 0%, #FC0106 100%) border-box;
    border-radius: 50em;
    border: 2px solid transparent;
}
._designer input[type="button"]:hover, ._designer input[type="button"][__selected]{
    background-color: #606060;
    color:#ffffff;
}
._designer input[name="powered"]{
    position: fixed;
    right: 0%;
    bottom: 0%;
    width: 20%;
}
.resizeImage{
    background: white;
    position:absolute;
    background-image:url("../../System/images/icons/designer/bottom_right.gif");
    background-repeat: no-repeat;
    background-size:100% 100%;
    border:0;
    bottom:0;
    right:0;
    width:1em;
    height:1em;
    display: inline-block;
    pointer-events:auto;
    filter:alpha(opacity=100);
    opacity:1.0;
    -moz-opacity:1.0;
    cursor: se-resize;
}
.editImg{
    background: white;
    position:absolute;
    background-image:url("../../System/images/icons/designer/Edit.png");
    background-repeat: no-repeat;
    background-size:100% 100%;
    top:0;
    right:0;
    width:1em;
    height:1em;
    display: none;
    pointer-events:auto;
    filter:alpha(opacity=100);
    opacity:1.0;
    -moz-opacity:1.0;
    cursor: pointer;
    border:0;
}
.selPane{
    background-color: gray!important;
    display: block;
    position: absolute;
    outline : 0.01em solid blue;
    cursor : pointer;
    pointer-events: none;
    left:0em;
    top:0em;
    width:100%;
    height:100%;
    filter:alpha(opacity=30);
    opacity:0.3;
    -moz-opacity:0.3;
}
.StudioCode{
    max-height: 80vh;
    overflow-y: auto;
    [__t="GridExplorer"]{
        max-height: 50vh;
        overflow-y: auto;
        > p{
            display: none;
        }
        >ul{
            padding-left:unset;
        }
        td:has(tr td){
            display: grid;
            grid-auto-columns: auto;
            grid-template-columns: 1fr 1fr 1fr 1fr;
            /*grid-template-columns: auto;
            grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;*/
        }
        tr:has(td tr){
            grid-template-columns: 1fr 1fr 1fr 1fr;
            grid-row-start: 4;
            td:first-child input{
                /*display: none;*/
            }
        }
        td:has(tr td [name$="-top"]){
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
            /*grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;*/
            gap: 10px;
            width: 100%;
            padding: 10px;
            tr td:last-child{
                display:none;
            }
        }
        tr:has(td [name$="-top"]){
            grid-column: 3;
            grid-row: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        tr:has(td [name$="-left"]){
            grid-column: 1;
            grid-row: 2;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
        }
        tr:has(td [name$="-right"]){
            grid-column: 5;
            grid-row: 2;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-end;
        }
        tr:has(td [name$="-bottom"]){
            grid-column: 3;
            grid-row: 3;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        /*tr:has(td [name$="-block"]), tr:has(td [name$="-inline"]){
            td:last-child{
                display: flex;
            }
        }*/
        [name$="font"]{
            [name$="font-family"]{
                grid-column: 1;
                grid-row: 1;
            }
            [name$="font-size"]{
                grid-column: 2;
                grid-row: 1;
            }
        }
        tr{
            tr:has(td [name="font-synthesis"]){
                display:none;
            }
            tr:has(td [name="font-variant"]){
                display:none;
            }
        }

        li ul{
            /*display:table-cell;
            background: linear-gradient(#5f5f5f, #5f5f5f) padding-box,
                linear-gradient(90deg, #3D2EFF 0%, #FC0106 100%) border-box;
            border-radius: 50em;
            border: 2px solid transparent;
            padding: 0.2em 1em 0.2em 1em;*/
        }
        .folder::before{
            content:"";
            margin-bottom:1.2em;
        }
        .file::before{
            content:"";
        }
    }

    padding: 1em 1em 0 1em;
    span[__n="siteicon"]{
        height: 12em;
    }
    [__t="WindowTitle"]{
        border-radius: 0.5em 0.5em 0 0 !important;
        span{
            color:gray !important;
        }
    }
    [__t="WindowContent"]{
        background-color: #3c3c3c;
    }
}
.rsPane{
    pointer-events: none !important;
    display: block;
    position: absolute;
    border : 1px solid darkgray;
    left:0;
    top:0;
    width:100%;
    height:100%;
    padding: 0 0.2em 0.2em 0;
}
.drawPane{
    display:block;
    position: relative;
    background-color: lightblue;
}
.__Debug{
    pointer-events: none;
}
.Overfloew{
    overflow: scroll
}
input.SaveMonacoButton {
    background-color: #3f4463 !important;
    border-bottom: none !important;
    padding: 10px !important;
    height: 100% !important;
    border-radius: 5px !important;
    font-size: 20px !important;
}
/*[__id="__Application"] span[__t]{
    background-image: url("../wireframe.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    * {
        visibility: hidden;
    }
}*/