﻿div.Pane
{
    position: absolute;
    top: 0;
    left: 0;
    padding: 0px;
    margin: 20px;
    min-width: 400px;
    border-radius: var(--radius);
/*  box-shadow: var(--shadow);*/
    height: 100%;
}

div.Pane.Right
{
    right: 0;
    left: auto;
}

div.Pane.FullHeight
{
    margin: 0;
    height: 100%;
    border-radius: 0;
}

div.Pane.FullHeight div.Window
{
    height: 100%;
    border-radius: 0;
}

div.Pane.FullScreen
{
    margin: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
}

div.Pane.FullScreen div.Window
{
    margin: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    background-color: #000000;
    box-shadow: none;
}
div.Pane.NoHeader div.Window div.Header
{
    display: none;
}

div.Pane.FullScreen div.Window div.Body
{
    margin: 0;
    width: 100%;
    height: 100%;
}

div.Pane.FullScreen div.Window div.Content
{
    margin: 0;
    width: 100%;
    height: 100%;
    padding: 0px;
    padding-right: 10px;
    overflow-y: scroll;
}


div.Pane div.Body.WDO_Scrollable.Vert div.Content
{
 /*   padding-right: 30px;*/
}

div.Window div.Header
{
    display: flex;
    flex-direction: row;
    background-color: #404040;
    padding: 0px;
    min-height: 50px;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-size: 24px;
    font-weight: 700;

    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 30px;
}

div.Window div.Header div.Tools
{
    display: flex;
}

div.Window div.Header div.PrevNext
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    /* vertical-align: middle; */
    align-items: center;
    font-size: 20px;
}

div.Window div.Header h2
{
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 0px;
    background-size: 20px;
    overflow: hidden;
    line-height: 30px;
}

div.Window div.Header h2 button
{
    margin-right: 20px;
    cursor: initial;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
    background-color: transparent;
}

div.Window div.Header a.butClose
{
    display: block;
    width: 30px;
    height: 30px;
    background-color: var(--color-bg-window);
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: color 0.25s;
    border-radius: var(--radius);
    margin-left: 20px;
}

div.Window div.Header a.butClose:hover
{
    color: var(--bgSelected);
}

div.Window div.Body
{
    position: relative;
    min-height: 200px;
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);

/*  max-height: calc(100vh - 160px);*/
}

div.Window div.Body.WDO_Scrollable.Vert > div
{
    position: relative;
    overflow: hidden;
    max-height: calc(100vh - 220px);
    width: 100%;
    margin: 20px 0;
}

div.FullScreen div.Window div.Body.WDO_Scrollable.Vert > div,
div.FullHeight div.Window div.Body.WDO_Scrollable.Vert > div
{
    max-height: calc(100vh - 140px);
}

div.Widget
{
    position: relative;
    background-color: gray;
}

.WidgetHeader::after
{
    content:"";
    position: absolute;
    z-index: 1;
    width: 0px;
    height: 0px;
    right: 15px;
    top: 20px;
    border-top: solid 10px #ffffff;
    border-left: solid 10px transparent;
    border-right: solid 10px transparent;
    transform: rotate(0deg);
    transition: transform 0.25s;
    cursor: pointer;
}

div.Widget.Reduced .WidgetHeader::after
{
    transform: rotate(-90deg);
}

div.Widget.Reduced div.WidgetContent
{
    display: none;
}

.WidgetHeader
{
    position: relative;
    border-top: solid 1px rgba(255, 2558, 255, 0.5);
    cursor: pointer;
}

div.PropertiesExplorer div.TableRow div.TableCell:first-child
{
    max-width: 200px;
    width: 150px;
    background-color: rgba(0, 0, 0, 0.04);
}
