﻿div.Modale
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(96, 96, 96, 0.75);
    z-index: 1000;
    display: flex;
    /* align-content: center; */
    justify-content: space-around;
    align-items: center;
    backdrop-filter: blur(2px);
}

div.Window
{
    display: flex;
    background-color: var(--color-bg-window);
    padding: 0px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 300px;
    flex-direction: column;
    align-items: initial;
    position: relative;
    color: var(--color-txt-window-header);
}

div.Window.UserProfile
{
    width: 400px;
    max-width: 100vw;
}

div.Window div.Header
{
    display: flex;
    flex-direction: row;
    background-color: var(--color-bg-window-header);
    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: 30px;
    background-size: 20px;
    overflow: hidden;
    line-height: 30px;
}

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);*/

    padding: 20px;
}

div.Modale div.Window div.Body
{
    padding: 20px;
    min-height: 100px;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
}

div.Modale div.Body button.UXButton
{
    width: 100%;
}

div.Modale div.Body button.UXButton
{
    margin-top: 20px;
}

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.Modale.Maximized div.Window
{
    width: 100%;
    height: 100%;
}
