.window {
    position: fixed;
    display: inline-block; width: auto; height: auto;
    min-width: 50px; min-height: 0px;
    background: #121112; z-index: 1110;
    border-radius: 2px; box-shadow: 0 0 10px #121112;
    transition: .2s ease;
    pointer-events: all;
}

/*#ui > .window {
    opacity: 0.75;
    background: transparent;
}
#ui > .window > * {
    display: none;
    background: transparent;
}*/

.window.mini {
    opacity: 0.5;
}
.window:hover.mini {
    opacity: 1.0;
}

.windowHeader {
    display: block; width: 100%; height: 32px; line-height: 32px;
    background: /*#2a1e27*/ #121112; cursor: move; outline: 8px solid transparent;
    color: #dccbbe;
    /*position: relative; overflow: hidden; white-space: nowrap;*/
}
.windowContent {
    display: block; width: auto; height: calc(100% - 32px);
    background: #000;
}
.windowInner {
    padding: 0px; height: 100%; clear:both;
}
.windowInnerH { padding: 0; overflow: hidden; }
.window .frame { border: 0; background: transparent; width: 100%; height: 100%; }

.windowTitle { padding: 0 8px; display: inline-block; width: auto; white-space: nowrap; overflow: hidden; }
.windowTitle::before {
	content: " ◆ ";
    font-size: 12pt;
    color: rgb(255, 123, 188);
    line-height: 0;
    height: 0px;
    padding: 0px 5px;
}

/*.windowButtonGroupWrap { position: absolute; top: 0; left: 0; width: 100%; overflow: hidden; }*/
.windowButtonGroupWrap { float: right; /*display: inline-block; position: absolute; right: 0;*/ cursor: pointer; height: auto; }
.windowButtonGroup { white-space: nowrap; height: 32px; }
.windowButton {
    padding: 0px 16px; display: inline-block;
    /*background: #4b3c44;*/ cursor: pointer;
    border: 0; /*color: #dccbbe;*/ height: 100%;
    margin: 0;
    color: transparent !important;
}
/*.windowButton:hover {
    background: #541ebd;
}
.windowClose:hover { /*background: #af0c1b; background: url('/img/chatico/pinkwin02.png') no-repeat center center transparent;}*/

.windowClose { background: url('/img/chatico/pinkwin213.png?v=2') no-repeat center center transparent; } /* 01 */
.windowMaximize { background: url('/img/chatico/pinkwin215.png?v=2') no-repeat center center transparent; } /* 03 */
.windowMinimize { background: url('/img/chatico/pinkwin218.png?v=2') no-repeat center center transparent; } /* 06 */
.windowTile { background: url('/img/chatico/pinkwin223.png?v=2') no-repeat center center transparent; } /* 11 */
.windowClose:hover { background-color:/* #a74378*/ #b52e37 !important; }
.windowMaximize:hover { background-color: /* #541ebd*/ #652eb5 !important; }
.windowMinimize:hover { background-color: #652eb5 !important; }
.windowTile:hover { background-color: #652eb5 !important; }

#chatWindow1, #chatWindow2, #chatWindow { width: 420px; height: calc(237px + 32px); /*z-index: 1122 !important;*/ /*transition: background .2s ease, box-shadow .2s ease;*/ }
#camWindow { width: 420px; height: calc(237px + 32px); }
#camshareWindow { width: 420px; height: calc(237px + 32px); }
#tvWindow { width: 420px; height: calc(237px + 32px); }
#cmdWindow { width: 520px; height: calc(448px + 32px); }
#openpuzzleWindow { width: 520px; height: calc(420px + 32px); }
#openimmerseWindow { width: 420px; height: calc(237px + 32px); }
/*#openpuzzleWindow { width: 640px; height: calc(270px + 32px); }*/
.opencamWindow { width: 420px; height: calc(237px + 32px); }
.opentvWindow { width: 420px; height: calc(237px + 32px); }
.callWindow { width: 420px; height: calc((237px * 2) + 32px); }
#broadWindow { width: 420px; height: 640px; }
#broadWindownew { width: 640px; height: 586px; }

.genericWindow { width: 500px; height: 600px; }

#windowcontainer {
   position: fixed; /*bottom: 2px; right: 140px;*/ z-index: 999; /*transition: bottom 1s ease;*/
   width: 48px; top: 0px /*25%*/; right: 2px;
}
.minibuttons {
    background: #4b3c44; border-top-left-radius: 10px !important; /*border-top-right-radius: 10px !important;*/
    border-bottom-left-radius: 10px !important;
    cursor: pointer; width: 48px; height: 48px; /*position: fixed; bottom: 7px; z-index: 999;*/
    border: 0; /*margin-left: 8px;*/ margin-top: 8px;
    box-shadow: 0 0 0px 1px #2a1e27;
    position: relative;
}
.minibuttons:hover {
    background-color: #a74378 !important;
    box-shadow: 0 0 0px 1px #dccbbe;
}
.minibuttons#spacebutton { height: 25px; width: 100%; }
.minibuttons#chatbutton { background: url('/img/minichat.png') center center no-repeat #4b3c44; }
.minibuttons#cambutton { background: url('/img/minicam.png') center center no-repeat #4b3c44; }
.minibuttons#tvbutton { background: url('/img/minitv.png?v=2') center center no-repeat #4b3c44; }
.minibuttons#cmdbutton { background: url('/img/miniconsole2.png') center center no-repeat #4b3c44; }
.minibuttons#broadbutton { background: url('/img/minibroadcast2.png') center center no-repeat #4b3c44; }

.wbutsig {
    position: absolute; top: 0; left: 0;
    border-radius: 10px;
    padding: 2px;
}
#cmdbutton_sig {
    background: #e0326d; color: #fff;
    display: none;
}
#cambutton_sig {
    background: #7cc54d; color: #fff;
    display: none;
}
#tvbutton_sig {
    background: #30ace2; color: #fff;
    display: none;
}
#chatbutton_sig {
    background: #e0326d; color: #fff;
    display: none;
}

/*.window * { outline: 1px solid #f0f; }*/

.window .border-t {
    width: 100%; height: 30px; background: transparent;
    position: absolute; left: 0px; top: -20px;
    cursor: ns-resize;
}
.window .border-tl {
    content: ' '; width: 30px; height: 30px; background: transparent;
    position: absolute; top: -20px; left: -20px;
    cursor: nwse-resize;
}
.window .border-tr {
    content: ' '; width: 100px; height: 20px; background: transparent;
    position: absolute; top: -20px; right: -20px;
    cursor: nesw-resize;
}
.window .border-c {
    width: 0; height: 0; line-height: 0;
}
.window .border-l {
    width: 25px; height: auto; background: transparent;
    position: absolute; top: 0px; bottom: 0px; left: -20px;
    cursor: ew-resize;
}
.window .border-r {
    width: 25px; height: auto; background: transparent;
    position: absolute; top: 32px; bottom: 0px; right: -20px;
    cursor: ew-resize;
}
.window .border-b {
    width: auto; height: 25px; background: transparent;
    position: absolute; left: 0px; right: 70px; bottom: -20px;
    cursor: ns-resize;
}
.window .border-bl {
    content: ' '; width: 30px; height: 30px; background: transparent;
    position: absolute; bottom: -20px; left: -20px;
    cursor: nesw-resize;
}
.window .border-br {
    content: ' '; width: 90px; height: 20px; background: transparent;
    position: absolute; bottom: -20px; right: -20px;
    cursor: nwse-resize;
}

.rez { /*background: rgba(255,0,127,.5) !important;*/ }

#winbar {
    position: fixed;
    bottom: 0px;
    right: 0px;
    width: 100%;
    max-width: calc( 100% - 208px );
    height: auto;
    /*background: #000;
    opacity: 0.6;*/
    background: #2a1e27;
    /*box-shadow: 0 0 10px #121112;*/
    border: 5px solid #2a1e27;
    z-index: 2121;
}
#winbar_mask {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 200px;
    background: #2a1e27;
    z-index: 2122;
}

#winbar_inner {
    /*padding: 5px;*/
}

.winflex { /*display: flex; flex-flow: nowrap;*/ display: table; width: auto; max-width: 100%; box-sizing: border-box; }
.wincell {
    /*display: inline-block;*/ display: table-cell; min-width: 10px; width: auto;
    border-left: 5px solid transparent; /*border-right: 5px solid transparent;*/ cursor: pointer;
}
.wincell_inner:hover:not(.winfocused) {
    background: #eee; color: #111;
}
.wincell_inner {
    display: inline-block;
    outline: 1px solid #eee;
    background: #dccbbe; color: #111;
    width: 100%; max-width: 200px;
    white-space: nowrap;
    user-select: none;
}
.wincell_inner_pad {
    /*padding: 5px;*/
    padding: 0 5px;
    overflow: hidden; 
    text-overflow: ellipsis;
}

.winfocused {
    background: #fdbaf8;
    color: #111;
    outline: 1px solid #f7e;
}
.winminimized:hover {
    outline: 1px solid #eee !important;
    background: #333 !important;
    color: #eee !important;
}
.winminimized {
    outline: 1px solid #ccc;
    background: #111;
    color: #999;
}

#wclock {
    display: inline-block; padding: 0 36px 0 8px; white-space: nowrap; cursor: default; color: #cec08d;
    cursor: pointer; height: 100%;
}
#switchClock {
    width: 16px;
    display: inline-block; cursor: pointer;
    background: url('/img/chatico/1222/Untitled12.png') no-repeat center 3px transparent;
    border: 0;
    margin-left: 4px;
}
#tskCalc {
    width: 16px;
    display: inline-block; cursor: pointer;
    background: url('/img/chatico/widget/Untitled04.png') no-repeat center 3px transparent;
    border: 0;
    margin-left: 4px;
}
#tskNotes {
    width: 16px;
    display: inline-block; cursor: pointer;
    background: url('/img/chatico/widget/Untitled07.png') no-repeat center 3px transparent;
    border: 0;
    margin-left: 8px;
}
#tskTip {
    width: 16px;
    display: inline-block; cursor: pointer;
    background: url('/img/chatico/1222/Untitled26.png') no-repeat center 3px transparent;
    border: 0;
    margin-left: 8px;
}
#tskSpin {
    width: 16px;
    display: inline-block; cursor: pointer;
    background: url('/img/chatico/1222/Untitled27.png') no-repeat center 3px transparent;
    border: 0;
    margin-left: 8px;
}
#tskSignal {
    width: 16px;
    display: inline-block; cursor: default;
    background: url('/img/chatico/1222/Untitled13.png') no-repeat center 3px transparent;
    border: 0;
    margin-left: 8px;
}
#tskBroadcaster {
    width: 16px;
    display: inline-block; cursor: pointer;
    background: url('/img/chatico/live/cam102.png') no-repeat center 3px transparent; /* live 11 */
    border: 0;
    margin-left: 8px;
    filter: grayscale(1);
}
#tskDisks {
    width: 16px;
    display: inline-block; cursor: default;
    background: url('/img/chatico/widget/pies11.png') no-repeat center 3px transparent; /* live 11 */
    border: 0;
    margin-left: 8px;
}
#tskisLive {
    width: 16px;
    display: inline-block; cursor: default;
    background: url('/img/chatico/live/live06.png') no-repeat center 3px transparent;
    border: 0;
    margin-left: 8px;
    filter: grayscale(1);
}
