html.no-scroll{
    overflow:hidden;
}

body.no-clicks {
    pointer-events: none;
    background:#aaaaaa;
    overflow:hidden;
}

.custom-window-wrapper{
    display:flex;
    width:100%;
    flex-direction:column;
    position: absolute;
    top: 0;
}

.custom-window{
    pointer-events: auto;
    display:none;
    background:white;
    z-index:0;
    flex-direction:column;
    width:100%;
    height:100%;
}

.custom-window-header{
    display : flex;
    justify-content : space-between;
    width:100%;
    height:50px;
    align-items:center;
}

.custom-window-close-btn{
    width: 50px;
    line-height: 2em;
    outline: unset;
    border: unset;
    font-size: 40px;
    background:transparent;
    color:#40562d;
}

.dimmed-element{
    opacity:0.1;
}

.window-visible{
    display:flex;
}

.left-aligned-window{
    align-items: flex-start;
}

.right-aligned-window{
    align-items: flex-end;
}

.center-aligned-window{
    align-items: center;
}

.top-aligned-window{
    justify-content: flex-start;
}

.top-aligned-window .custom-window{
    height: 300px;
    width:100%;
}

.bottom-aligned-window{
    justify-content: flex-end;
}
