/*Canopy - The next generation of stoner streaming software
Copyright (C) 2024-2026 Rainbownapkin and the TTN Community

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.*/
#pm-panel-main-div{
    display: flex;
    flex-direction: horizontal;
    height: 100%;
    overflow: hidden;
}

#pm-panel-sesh-list-container{
    flex: 1;
    max-width: 10em;
    margin-left: 0.25em;
    overflow-y: auto;
}

#pm-panel-sesh-container{
    display: flex;
    flex-direction: column;
    flex: 1;
    height: calc(100% - 0.25em);
    margin-top: 0;
    margin-right: 0.25em;
}

#pm-panel-start-sesh{
    padding: 0 0.5em;
    text-wrap: nowrap;
    display: flex;
    font-size: 1.2em;
    font-weight: bold;
}

#pm-panel-start-sesh span{
    flex: 1;
    text-align: center;
}

#pm-panel-sesh-buffer{
    flex: 1;
    overflow-y: auto;
}

#pm-panel-sesh-control-div{
    margin: 0.5em;
}

div.pm-panel-sesh-list-entry{
    padding: 0 0.5em;
    display: flex;
    flex-direction: row;
}


div.pm-panel-sesh-list-entry p{
    pointer-events: none;
}

div.pm-panel-sesh-list-entry, div.pm-panel-sesh-list-entry p{
    margin: 0;
    text-wrap: nowrap;
    text-align: center;
}

.pm-panel-sesh-message-sender, .pm-panel-sesh-message-content{
    margin: 0;
    font-size: 10pt;
}

#pm-panel-sesh-welcome{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: 100%;
}

.pm-panel-sesh-entry{
    display: flex;
    align-content: center;
    font-size: 10pt;
}

.pm-panel-sesh-entry-username{
    margin: auto 0.2em auto 0;
    text-wrap: nowrap;
}

.pm-panel-sesh-entry-body{
    margin: 0.2em;
    align-content: center;
}

.pm-panel-sesh-entry-high-level{
    margin: auto 0 auto 0.2em;
}

.high-level{
    z-index: 2;
    background-image: url("/img/sweet_leaf_simple.png");
    background-size: 1.3em;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: top;
    width: 1.5em;
    text-align: center;
    flex-shrink: 0;
}