
body,html{
    height: 100%;
}
body.lstream .lstream{
    border-radius: 0px !important;
}

.lstream .canvas-preview{
    /*height: 690px;*/
    position: relative;
    justify-content: center;
    flex: 1 1 auto;
    overflow: hidden;
}
.lstream .canvas-preview canvas{
    width: 100%;
    height: 100%;
    background-color: black;
    border-radius: 0px;
    object-fit: contain;
    background-color: #002e00;
    /*position: relative;
    z-index: 1099;*/
}



.preview-section{
    max-height: 100%;
    overflow: auto;
}

.stream-title{
    font-size: 2em;
    vertical-align: middle;
}
.small-font{
    font-size: 0.3em;
}

.stream-title > *{
    vertical-align: middle;
}

div.lstream{
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    width: 100%;
    padding: 0px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}
body.lstream{
    background-color: transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    border-radius: 5px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.lstream .sysdevices{
    display: none;
}
.lstream .sections{
    display: flex;
    flex-direction: row;
    flex: 1 1 auto;
    border-radius: 5px;
    overflow: hidden;
    gap: 10px;
}

.lstream .sections .presentation{
    flex: 1 1 auto;
    min-width: 500px;
    display: flex;
    flex-direction: column;
}
.lstream .sections .controls{
    flex: 0 0 0px;
    min-width: 600px;
    max-height: 100%;
}

.lstream .presentation .canvas-preview{
    max-height: 690px;
    flex: 1 1 0px;
    justify-content: center;
}
.lstream canvas{
    width: 100%;
    height: 100%;
    background-color: black;
    border-radius: 5px;
    object-fit: contain;
    background-color: #002e00;
}
.lstream .ltab{
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 10px;
    min-width: 500px;
}
.lstream .ltab .buttons{
    display: flex;
    flex-direction: row;
    gap: 10px;
    min-width: max-content;
    white-space: nowrap;
}
.lstream .ltab .buttons button{
    color: black;
    background-color: chartreuse;
    border: none;
    border-bottom: solid 4px transparent;
    padding: 6px 20px;
    padding-bottom: 1px;
    border-radius: 5px;
    outline-offset: -2px;
    outline-color: rgb(93, 187, 0);
    min-width: max-content;
    white-space: nowrap;
}
.lstream .ltab .buttons button.active{
    border: none;
    border-bottom: solid 5px white;
    background-color: rgb(103, 206, 0);
}
.lstream .ltab .buttons button:focus{
    outline: none;
}
.lstream .ltab .buttons button:hover{
    background-color: rgb(116, 231, 0);
}
.lstream .ltab .buttons button[disabled]{
    color: #686868;
    background-color: #2d5a00;
    cursor: not-allowed;
}
.lstream .ltab .ltab-content{
    flex: 1 1 auto;
    overflow: auto;
}
.lstream .ltab .ltab-content > .active{
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 5px;
    height: 100%;
    padding: 5px;
    overflow: auto;
}
.lstream .ltab .ltab-content > :not(.active){
    display: none;
}
.lstream .titletext{
    font-size: 1.5em;
    font-weight: bold;
}
.lstream .titletext{
    font-size: 1.5em;
    font-weight: bold;
}

.lstream .inputsource .preview video{
    width: 150px;
    background-color: #202020;
    object-fit: contain;
    aspect-ratio: 1/1;
    border-radius: 0px;
}
.lstream .lrow{
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 5px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.lstream .lrow > *{
    margin-top: auto;
    margin-bottom: auto;
}
.lstream .lrow > .label{
    font-size: 1.1em;
    flex: 1 1 auto;
    color: #5a5a5a;
}
.lstream .lrow > .label > sup{
    color: red;
}
.lstream .lrow > .input{
    flex: 0 0 0px;
    min-width: 300px;
}
.lstream .lrow > .input > input,
.lstream .linput{
    border: 1px solid #d8d6de;
    line-height: 2;
    padding: 0.438rem 1rem;
    width: 100%;
    border-radius: 3px;
    background-color: #f8f8f8 !important;
}
.lstream button.std{
    color: white;
    background-color: #00a1ff;
    border: none;
    border-bottom: solid 4px transparent;
    padding: 6px 20px;
    padding-bottom: 1px;
    border-radius: 5px;
    outline: none;
}
.lstream button.std:hover{
    background-color: #008ddf;
}
.lstream button.std[disabled]{
    background-color: #b0e2ff;
}
.lstream button.std:active{
    background-color: #0075b9;
}
.lstream .chats{
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
}

.lstream .chats > .messages{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    overflow: auto;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    gap: 10px;
    padding: 5px;
}
.lstream .chats > .messages > .fill-line{
    flex: 1 1 auto;
    order: 0;
}
.lstream .chats > .toolbox{
    display: flex;
    overflow: hidden;
    flex-direction: row;
    flex-wrap: nowrap;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    padding: 0px;
    gap: 10px;
}
.lstream .chats > .messages > .message{
    display: flex;
    flex-direction: column;
    background-color: rgb(0 0 0 / 6%);
    overflow: hidden;
    border-radius: 5px;
    padding: 5px;
    flex: 0 0 auto;
}
.lstream .chats .message > .header {
    font-weight: 900;
    font-size: 0.8em;
    display: flex;
    flex-direction: row;
}
.lstream .chats .message > .header > span {
    display: block;
    flex: 1 1 auto;
}
.lstream .chats .message > .header > .time {
    font-size: 0.9em;
    font-weight: 500;
}
.lstream .chats .message > .lcontent {
    color: #313131;
}
.lstream .chats .message > .lcontent a{
    word-break: break-all;
}

.ratio-16-9{
    aspect-ratio: 16/9;
}
.canvas-toolbar{
    height: 1.5cm;
    background-color: #001a00;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 0 10px;
    color: white;
    gap: 10px;
    border-bottom: solid 1px #28c76fb8;
    box-shadow: 0 0 12px 0px #28c76f;
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
}
.canvas-toolbar > *{
    margin-top: auto;
    margin-bottom: auto;
}

.toolbar-divider{
    flex: 1 1 auto;
}

#chat-box-area{
    width: 400px;
    height: calc(100% - 10px);
    position: absolute;
    right: 10px;
    top: 0px;
    bottom: 30px;
}

.pertchat{
    border-bottom: solid 1px #28c76f;
    box-shadow: 5px 12px 12px 0px #28c76f;
    position: relative;
    z-index: 7;
}