/* LBS styles */

:root {
    --clr-btn-active: SkyBlue; /*PowderBlue*/
    --clr-btn-border-focus: rgba(70, 130, 180, 1.0); /*SteelBlue*/
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    color: rgb(24, 96, 150); /*rgb(50, 120, 180);*/ /*SteelBlue;*/ /*#024073;*/
    background-color: #EBEBEB; /* Grey */
}

.lbs-txt-ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.lbs-radio {
    margin-left: 10px;
}

.lbs-btn-icon {
    width: 16px;
    height: 16px;
    fill: white;
}

.lbs-butt {
    outline: none;
    box-shadow: none;
    margin: 5px;
    padding: 5px 8px;
    font-size: 16px;
    background-color: SteelBlue; /*LightSlateGrey;*/
    color: white;
    border: none;
    border-radius: 5px;
    white-space: nowrap;
    transition-duration: 0.1s;
}
.lbs-butt:hover, .lbs-butt:focus {
    /*border: 2px solid SteelBlue;*/
    box-shadow: 0px 0px 5px var(--clr-btn-border-focus);
}
.lbs-butt:disabled {
    opacity: 0.3;
    background-color: LightSlateGrey;
    box-shadow: none;
}
.lbs-butt:active:enabled {
    transform: translateY(2px);
}
.lbs-butt-active:disabled {
    opacity: 1.0;
    text-shadow: 0px 0px 5px white;
    background-color: var(--clr-btn-active);
    /*box-shadow: none;*/
    box-shadow: 0px 0px 4px rgba(255, 255, 255, 0.5) inset;
    /*cursor: not-allowed;*/
}

.lbs-butt-stop {
    margin-left: 16px;
    padding-left: 32px;
    background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='white'%3E%3Cpath d='M320-320h320v-320H320v320ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z'/%3E%3C/svg%3E" );
    fill: white;
    background-position: 4px 50%;
    background-size: 24px 24px;
    background-repeat: no-repeat;
}

.lbs-block {
    margin-left: 5px;
    margin-right: 5px;
}

.lbs-header {
    display: flex;
    flex-direction: column;
    border-bottom: 2px solid lightgray;
}
.lbs-logo {
    flex: 0 0 120px;
    display: inline-flex;
    background-color: white;
}
.lbs-logo-img {
    flex: 0 0 150px;
    margin: 5px;
    background-color: white;
    background-image: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; /*auto 90%;*/
}
.lbs-logo-title {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to right, white, LightSkyBlue);
}
.lbs-logo-court {
    flex: 0 0 60px;
    padding: 5px 5px 0px 8px;
    font-size: 40px;
    font-weight: 500;
    line-height: 60px;
    text-decoration: underline;
}
.lbs-logo-live {
    flex: 1 1 auto;
    padding: 0px 10px;
    font-size: 30px;
}

.lbs-controls {
    flex: 1 1 auto;
    display: flex;
    background: linear-gradient(to right, white, lightgray);
}
.lbs-controls-selroom {
    margin: 0px 8px;
    font-size: 20px;
}
.lbs-controls-selroom-no {
    color: FireBrick;
}
.lbs-controls-rooms {
    flex: 1 1 auto;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}
.lbs-controls-dbg {
    display: none;
    flex: 0 0 100px;
    justify-content: flex-end;
    align-items: flex-end;
}

.lbs-main {
    flex: 1 1 auto;
    display: flex;
    margin-top: 5px;
}

.lbs-main-panel {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 5px;
    border: 1px solid lightgray;
    border-radius: 5px;
    /* background-color: white; */
    background-color: LightSlateGrey;
}

.lbs-debug-panel {
    display: none;
    flex: 0 0 30%;
    flex-direction: column;
    margin-left: 5px;
    padding: 5px;
    border: 1px solid lightgray;
    border-radius: 5px;
    background-color: antiquewhite;
}
.lbs-debug-title {
    padding: 5px;
    background-color: lemonchiffon;
    border: 1px solid lightgray;
    border-radius: 5px 5px 0px 0px;
    white-space: nowrap;
}
.lbs-debug-header {
    text-align: center;
    padding-bottom: 5px;
}
.lbs-debug-text {
    flex: 1 1 0; /*scroll*/
    padding-top: 5px;
    padding-bottom: 5px;
    word-break: break-all;
    overflow: auto; /*scroll*/
}

.lbs-footer {
    flex: 0 0 32px;
    display: flex;
    line-height: 32px;
}
.lbs-footer-vers {
    margin-right: 5px;
}
.lbs-footer-copy {
    flex: 1 1 auto;
    text-align: center;
}

.lbs-video-player {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    overflow: hidden;
}
.lbs-video-player video {
    pointer-events: none; /* Disable Controls */
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: black;
}

.lbs-mess-area {
    display: none;
    margin: 20px;
    padding: 20px 10px;
    background-color: LightCyan;
    /*color: FireBrick;*/
    border-radius: 5px;
}

.lbs-text-area {
    position: relative;
    margin: 5vh 0px;
    font-size: calc(3px + 3vh);
    line-height: calc(5px + 3vh);
    max-height: calc(3 * (5px + 3vh)); /* 3 x line-height */
    width: 80%;
    height: fit-content;
    overflow: hidden;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    /*text-align: center;*/
}

.lbs-controls-panel {
    position: relative;
    display: none;
    align-items: center;
    width: fit-content;
    height: calc(10px + 5vh);
    color: white;
    background-color: rgba(0, 0, 0, 1.0);
}

.lbs-butt-ctrls,
.lbs-butt-ctrls-fullscr,
.lbs-butt-ctrls-fullscr-exit,
.lbs-butt-ctrls-volume,
.lbs-butt-ctrls-volume-off {
    /*flex: 1 1 auto;*/
    outline: inherit;
    border: none;
    box-shadow: none;
    border-radius: 50%;
    background-position: center;
    background-size: 80% 80%;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.0);
    cursor: pointer;
    width: calc(10px + 5vh);
    height: calc(10px + 5vh);
}

.lbs-butt-ctrls-fullscr:hover,
.lbs-butt-ctrls-fullscr-exit:hover,
.lbs-butt-ctrls-volume:hover, 
.lbs-butt-ctrls-volume-off:hover {
    transform: scale(1.1);
}
.lbs-butt-ctrls-fullscr,
.lbs-butt-ctrls-fullscr-exit {
    margin-left: 50px;
}
.lbs-butt-ctrls-fullscr {
    background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960' fill='rgba(255, 255, 255, 1.0)'%3E%3Cpath d='M120-120v-200h80v120h120v80H120Zm520 0v-80h120v-120h80v200H640ZM120-640v-200h200v80H200v120h-80Zm640 0v-120H640v-80h200v200h-80Z'/%3E%3C/svg%3E" );
}
.lbs-butt-ctrls-fullscr-exit {
    background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960' fill='rgba(255, 255, 255, 1.0)'%3E%3Cpath d='M240-120v-120H120v-80h200v200h-80Zm400 0v-200h200v80H720v120h-80ZM120-640v-80h120v-120h80v200H120Zm520 0v-200h80v120h120v80H640Z'/%3E%3C/svg%3E" );
}
.lbs-butt-ctrls-volume {
    background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960' fill='rgba(255, 255, 255, 1.0)'%3E%3Cpath d='M560-131v-82q90-26 145-100t55-168q0-94-55-168T560-749v-82q124 28 202 125.5T840-481q0 127-78 224.5T560-131ZM120-360v-240h160l200-200v640L280-360H120Zm440 40v-322q47 22 73.5 66t26.5 96q0 51-26.5 94.5T560-320ZM400-606l-86 86H200v80h114l86 86v-252ZM300-480Z'/%3E%3C/svg%3E" );
}
.lbs-butt-ctrls-volume-off {
    background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960' fill='rgba(255, 255, 255, 1.0)'%3E%3Cpath d='M792-56 671-177q-25 16-53 27.5T560-131v-82q14-5 27.5-10t25.5-12L480-368v208L280-360H120v-240h128L56-792l56-56 736 736-56 56Zm-8-232-58-58q17-31 25.5-65t8.5-70q0-94-55-168T560-749v-82q124 28 202 125.5T840-481q0 53-14.5 102T784-288ZM650-422l-90-90v-130q47 22 73.5 66t26.5 96q0 15-2.5 29.5T650-422ZM480-592 376-696l104-104v208Zm-80 238v-94l-72-72H200v80h114l86 86Zm-36-130Z'/%3E%3C/svg%3E" );
}

.lbs-slider {
    -webkit-appearance: none;
    height: calc(0px + 1vh);
    max-height: 8px;
    background: gray;
    outline: none;
    cursor: pointer;
}
.lbs-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: calc(8px + 1vh);
    height: calc(8px + 1vh);
    background: white;
    border-radius: 50%;
    border: none;
}
.lbs-slider::-moz-range-thumb {
    width: calc(8px + 1vh);
    height: calc(8px + 1vh);
    background: white;
    cursor: pointer;
    border-radius: 50%;
    border: none;
}

.lbs-slider:disabled {
    cursor: auto;
}
.lbs-slider:disabled::-webkit-slider-thumb {
    cursor: auto;
    background: gray;
}
.lbs-slider:disabled::-moz-range-thumb {
    cursor: auto;
    background: gray;
}

