html{
    height:100%
}
body,body *{
    box-sizing:border-box;
    user-select:none
}
body{
    height:100%;
    overflow:hidden;
    margin:0;
    font-family:arial;
    cursor:default
}

.f_lay{
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    left:0;
    z-index:1;
    background:linear-gradient(300deg,rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0) 60%, rgba(0,0,0,.5) 100%);
    background-blend-mode:darken;
    transition:all 1s
}
.f_logo{
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    left:0;
    z-index:2;
    background-repeat:no-repeat;
    transition:all .5s
}
[data-f_tsk='1'] .f_logo,[data-f_tsk='4'] .f_logo{
    background-position:calc(100% - 60px) calc(100% - 30px)
}
[data-f_tsk='3'] .f_logo{
    background-position:calc(100% - 60px) calc(100% - 80px)
}
[data-f_tsk='2'] .f_logo{
    background-position:calc(100% - 110px) calc(100% - 40px)
}

/* FRAMES */
.f_frm_box{
    position:absolute
}
.f_frm{
    position:absolute;
    min-height:220px;
    min-width:220px;
    display:flex;
    flex-direction:column;
    border-radius:12pt;
    box-shadow:0 8px 16px 12px rgba(0,0,0,.3),0 0 0 100vw rgba(0,0,0,0);
    background:rgba(255,255,255,.5);
    backdrop-filter:blur(3px);
    transition:all .5s,box-shadow 1s
}
.f_frm_flx{
    position:absolute;
    left:0;
    top:0;
    right:0;
    bottom:0;
    display:flex;
    flex-direction:column
}
.f_frm[data-front='1']{
    box-shadow:0 8px 16px 8px rgba(0,0,0,.3),0 0 0 200vw rgba(0,0,0,.1)
}
.f_frm:hover{
    box-shadow:0 8px 16px 8px rgba(0,0,0,.5),0 0 0 200vw rgba(0,0,0,.3)
}
[data-spec='1']{
    transition:all 0s
}
.f_frm_head{
    position:relative;
    font-size:16pt;
    cursor:grab;
    box-shadow:0 -12px 8px -10px rgba(0,0,0,.1) inset;
}
[data-lay='col'] .f_frm_head{
    min-width:50px;
    padding-bottom:30px
}
.f_frm_head *{
    transition:opacity .3s
}
.f_frm_head section{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    padding:8px 16px 7px 16px;
    font-weight:bold;
    font-size:16pt;
    letter-spacing:-1px;
    text-shadow:0px -1px 0px rgba(0,0,0,.2),0px 1px 0px rgba(255,255,255,.3)
}
.f_frm_head section:empty{
    display:none
}
.f_frm_head section img[src*='/app/util/country/flag/']{
    height:16px;
    margin:0 8px 0 0
}
.f_frm_head section b{
    font-weight:normal
}
.f_frm_head p{
    margin:-8px 18px 12px 18px;
    padding:0;
    font-size:10pt;
    font-weight:normal
}
.f_frm_head p img[src*='/app/util/country/flag/']{
    height:10px;
    margin:0 6px -1px 0
}
.f_frm_head p:empty{
    display:none
}
.f_frm_head nav{
    position:absolute;
    top:8px;
    right:10px;
    z-index:9;
    padding:0;
    text-align:right;
    font-size:14pt;
    line-height:100%
}
.f_frm_head nav span{
    text-shadow:0px -1px 0px rgba(0,0,0,.2),0px 1px 0px rgba(255,255,255,.3);
    cursor:pointer;
    opacity:0
}
.f_frm:hover nav span{
    cursor:pointer;
    opacity:.4
}
.f_frm_head:hover nav span{
    opacity:.6
}
.f_frm_head nav:hover span{
    opacity:.6
}
.f_frm_head nav span:hover{
    opacity:1
}
.f_frm_mid{
    position:relative;
    display:flex;
    flex:2;
    align-items:stretch
}
[data-lay='row'] .f_frm_mid{
    flex-direction:row
}
[data-lay='col'] .f_frm_mid{
    flex-direction:column
}
.f_frm_mid > div{
    flex:auto;
    position:relative;
    transition:all .5s
}
[data-spec='1'] .f_frm_mid > div{
    transition:all 0s
}
[data-lay='row'] .f_frm_mid > div{
    height:100%;
    box-shadow:-10px 0px 11px -4px rgba(0,0,0,.25)
}
[data-lay='col'] .f_frm_mid > div{
    width:100%;
    box-shadow:0px -10px 11px -4px rgba(0,0,0,.25)
}
[data-lay='row'] .f_frm_mid > div:first-child{
    box-shadow:none
}
.f_frm_mid > div > iframe{
    height:100%;
    width:100%;
    border:0
}
.f_frm_mid > div > samp{
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0
}
.f_frm_msk{
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    z-index:99;
    background:rgba(255,255,255,.001);
    display:none
}
body[data-msk='1'] .f_frm_msk{
    display:block
}
.f_frm_mid samp{
    position:absolute;
    top:0;
    left:0;
    bottom:0;
    right:0;
    overflow:hidden;
    cursor:pointer
}
.f_frm_mid samp *{
    position:absolute
}
.f_frm_mid samp > div{
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:128px;
    height:128px
}
.f_frm_mid samp div div{
    top:0;
    right:0;
    bottom:0;
    left:0;
    border-radius:50%;
    border-style:solid;
    border-color:#000 #000 transparent transparent;
    border-width:16px;
    opacity:.1;
    transition:opacity .4s
}
.f_frm_mid div:not([style*="width: 20px"]) samp div div:nth-of-type(1){
    animation:fwait 2s linear infinite
}
.f_frm_mid div:not([style*="width: 20px"]) samp div div:nth-of-type(2){
    animation:fwait 4s linear infinite
}
.f_frm_mid > div[style*="width: 20px"] samp div div,.f_frm_mid > div[style*="height: 20px"] samp div div,.f_frm_mid > div[style*="width: 0px"] samp div div,.f_frm_mid > div[style*="height: 0px"] samp div div{
    opacity:0
}
.f_frm_foot{
    position:relative;
    min-height:20px;
    max-height:50px;
    box-shadow:0px 24px 12px -20px rgba(0,0,0,.2) inset
}
.f_frm_foot nav:empty,.f_frm_foot .f_icons:empty{
    display:none
}
.f_frm_foot .f_icons{
    margin:2px 0 0 20px;
    > *{
        float:left
    }
}
.f_frm_resize{
    position:absolute;
    right:8px;
    bottom:4px;
    line-height:100%;
    font-size:16pt;
    opacity:0;
    cursor:grab;
    text-shadow:0px -1px 0px rgba(0,0,0,.2),0px 1px 0px rgba(255,255,255,.3);
    transition:all .5s
}
.f_frm:hover .f_frm_resize{
    opacity:.3;
}
.f_frm .f_frm_resize:hover{
    opacity:1
}

/* FRAME ICONS */
.f_frm_foot{
    .f_icons{
        a{
            width:36px;
            height:44px;
            &:hover{
                width:68px;
                img{
                    &:nth-child(1){
                        height:64px;
                        width:64px;
                        bottom:0
                    }
                    &:nth-child(2){
                        right:-2px;
                        bottom:-2px;
                        height:48px;
                        width:48px
                    }
                }
            }
            img{
                &:nth-child(1){
                    height:32px;
                    width:32px;
                    bottom:4px
                }
                &:nth-child(2){
                    right:2px;
                    bottom:2px;
                    height:16px;
                    width:16px;
                    transition:all 1s
                }
            }
        }
    }
}

.f_foot_span{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    opacity:0;
    transition:1s all;
    *{
        display:inline !important;
        transition:1s all
    }
    select,input{
        width:0;
        height:27px;
        margin-left:-1px;
        border-radius:0 !important;
        padding:2px 0;
    }
    select:first-child{
        border-radius:20px 0 0 20px !important;
    }
    select:last-child{
        border-radius:0 20px 20px 0 !important;
    }
}
.f_foot_span[data-viz='1'],[data-0='1'] .f_foot_span[data-0='1'],[data-1='1'] .f_foot_span[data-1='1'],[data-2='1'] .f_foot_span[data-2='1'],[data-3='1'] .f_foot_span[data-3='1'],[data-4='1'] .f_foot_span[data-4='1'],[data-5='1'] .f_foot_span[data-5='1'],[data-6='1'] .f_foot_span[data-6='1'],[data-7='1'] .f_foot_span[data-7='1'],[data-8='1'] .f_foot_span[data-8='1'],[data-9='1'] .f_foot_span[data-9='1']{
    opacity:1
}
.f_foot_span[data-viz='1'] *,[data-0='1'] .f_foot_span[data-0='1'] *,[data-1='1'] .f_foot_span[data-1='1'] *,[data-2='1'] .f_foot_span[data-2='1'] *,[data-3='1'] .f_foot_span[data-3='1'] *,[data-4='1'] .f_foot_span[data-4='1'] *,[data-5='1'] .f_foot_span[data-5='1'] *,[data-6='1'] .f_foot_span[data-6='1'] *,[data-7='1'] .f_foot_span[data-7='1'] *,[data-8='1'] .f_foot_span[data-8='1'] *,[data-9='1'] .f_foot_span[data-9='1'] *{
    width:120px;
    padding:2px 8px
}

/* TASKBAR */
#f_tsk{
    position:fixed;
    z-index:999;
    text-align:center;
    background:rgba(0,0,0,.2);
    transition:all .5s;
    &:hover{
        background:rgba(0,0,0,.5)
    }
    nav{
        position:absolute;
        display:flex;
        flex-wrap:nowrap;
        justify-content:center;
        *{
            transition:all .5s
        }
        a{
            position:relative;
            display:inline-block;
            width:0;
            height:0;
            cursor:pointer;
            img{
                max-height:0;
                max-width:0;
                margin:0
            }
        }
        a[data-mode='1']{
            width:36px;
            height:36px
        }
    }
}
[data-f_tsk='1'] #f_tsk{
    top:0;
    right:0;
    left:0;
    height:50px
}
[data-f_tsk='2'] #f_tsk{
    top:0;
    right:0;
    bottom:0;
    width:50px
}
[data-f_tsk='3'] #f_tsk{
    left:0;
    right:0;
    bottom:0;
    height:50px
}
[data-f_tsk='4'] #f_tsk{
    top:0;
    left:0;
    bottom:0;
    width:50px
}
[data-f_tsk='1'] #f_tsk[data-off='1']{
    top:-50px;
    opacity:0
}
[data-f_tsk='2'] #f_tsk[data-off='1']{
    right:-50px;
    opacity:0
}
[data-f_tsk='3'] #f_tsk[data-off='1']{
    bottom:-50%;
    opacity:0
}
[data-f_tsk='4'] #f_tsk[data-off='1']{
    left:-50%;
    opacity:0
}
[data-f_tsk='1'] #f_tsk nav{
    top:8px;
    right:0;
    bottom:0;
    left:0;
    align-items:flex-start;
}
[data-f_tsk='2'] #f_tsk nav{
    top:0;
    right:6px;
    bottom:0;
    left:0;
    flex-direction:column;
    align-items:flex-end
}
[data-f_tsk='3'] #f_tsk nav{
    top:4px;
    right:0;
    bottom:0;
    left:0;
    align-items:flex-end
}
[data-f_tsk='4'] #f_tsk nav{
    top:0;
    right:8px;
    bottom:0;
    left:0;
    flex-direction:column
}
[data-f_tsk='3'] #f_tsk a[data-mode='1']{
    margin-bottom:4px
}
[data-f_tsk='4'] #f_tsk a[data-mode='1']{
    margin-left:6px
}
[data-f_tsk='1'] #f_tsk a[data-mode='1']:hover,[data-f_tsk='3'] #f_tsk a[data-mode='1']:hover{
    width:80px;
    height:76px
}
[data-f_tsk='2'] #f_tsk a[data-mode='1']:hover,[data-f_tsk='4'] #f_tsk a[data-mode='1']:hover{
    width:76px;
    height:80px
}
#f_tsk a[data-mode='1'] img:nth-child(1){
    max-height:32px;
    max-width:32px;
    margin:0 2px
}
#f_tsk a img:nth-child(2){
    position:absolute;
    right:0;
    bottom:0
}
#f_tsk a[data-mode='1'] img:nth-child(2){
    max-height:16px;
    max-width:16px;
    transition:all 1s
}
#f_tsk a img:nth-child(3){
    position:absolute;
    left:-2px;
    bottom:0
}
#f_tsk a[data-mode='1'] img:nth-child(3){
    max-height:16px;
    max-width:16px;
    transition:all 1s
}
#f_tsk a[data-mode='1']:hover img:nth-child(1){
    max-height:72px;
    max-width:64px
}
[data-f_tsk='1'] #f_tsk a[data-mode='1']:hover img:nth-child(1){
    margin:0 4px 16px 4px
}
[data-f_tsk='2'] #f_tsk a[data-mode='1']:hover img:nth-child(1){
    margin:4px 0 4px 16px
}
[data-f_tsk='3'] #f_tsk a[data-mode='1']:hover img:nth-child(1){
    margin:16px 4px 0 4px
}
[data-f_tsk='4'] #f_tsk a[data-mode='1']:hover img:nth-child(1){
    margin:4px 16px 4px 0
}
#f_tsk a[data-mode='1']:hover img:nth-child(2){
    max-height:48px;
    max-width:48px;
    right:4px;
    bottom:4px
}
#f_tsk a[data-mode='1']:hover img:nth-child(3){
    max-height:32px;
    max-width:32px
}
#f_tsk a[data-hop='1'] img:nth-child(1){
    animation-name:f_tsk_bnc1;
    animation-duration:1s
}
#f_tsk a[data-hop='1'] img:nth-child(2){
    animation-name:f_tsk_bnc2;
    animation-duration:1s
}
@keyframes f_tsk_bnc1{
    0%{
        margin-bottom:0
    }
    20%{
        margin-bottom:8px
    }
    40%{
        margin-bottom:0
    }
    50%{
        margin-bottom:4px
    }
    60%{
        margin-bottom:0
    }
    70%{
        margin-bottom:2px
    }
    100%{
        margin-bottom:0
    }
}
@keyframes f_tsk_bnc2{
    0%{
        margin-bottom:0
    }
    20%{
        margin-bottom:12px
    }
    40%{
        margin-bottom:0
    }
    50%{
        margin-bottom:8px
    }
    60%{
        margin-bottom:0
    }
    70%{
        margin-bottom:4px
    }
    100%{
        margin-bottom:0
    }
}
#f_tsk a[data-hop='2'] img:nth-child(1){
    animation-name:f_tsk_bnc11;
    animation-duration:1s;
    animation-iteration-count:infinite
}
#f_tsk a[data-hop='2'] img:nth-child(2){
    animation-name:f_tsk_bnc22;
    animation-duration:1s;
    animation-iteration-count:infinite
}
@keyframes f_tsk_bnc11{
    0%{
        margin-bottom:0
    }
    20%{
        margin-bottom:8px
    }
    40%{
        margin-bottom:0
    }
}
@keyframes f_tsk_bnc22{
    0%{
        margin-bottom:0
    }
    20%{
        margin-bottom:16px
    }
    40%{
        margin-bottom:0
    }
}

.f_tsk_note{
    text-align:center;
    padding:12px;
    img{
        display:block;
        height:16px;
        margin:4px auto 2px auto
    }
    s{
        display:block;
        white-space:nowrap;
        font-size:10pt;
        margin:0 0 2px 0;
        opacity:.5
    }
    b{
        display:block;
        white-space:nowrap;
        font-size:10pt
    }
}

/* NOTES */
.f_notes{
    position:fixed;
    z-index:9999;
    background:initial;
    color:initial;
}
.f_note{
    position:fixed;
    display:flex;
    flex-direction:column;
    visibility:hidden;
    max-width:calc(100vw - 50px);
    max-height:calc(100vh - 50px);
    overflow:hidden;
    box-shadow:4px 4px 24px 0px rgba(0,0,0,.5),0 0 0 100vw rgba(0,0,0,0);
    background:#FFF;
    transition:box-shadow 1s
}
.f_note:hover{
    box-shadow:6px 6px 24px 4px rgba(0,0,0,.6),0 0 0 100vw rgba(0,0,0,0)
}
.f_note[data-backing='1']{
    box-shadow:4px 4px 24px 0px rgba(0,0,0,.6),0 0 0 100vw rgba(0,0,0,0)
}
.f_note[data-backing='1']:hover{
    box-shadow:6px 6px 24px 4px rgba(0,0,0,.6),0 0 0 100vw rgba(0,0,0,.2)
}
.f_note .f_icons{
    padding:8px 12px 4px 12px
}
.f_note_arr{
    position:fixed;
    width: 0;
    height: 0;
    border-style:solid;
}
.f_note_arr[data-post='1']{
    border-width:0 12px 12px 12px;
    border-color:transparent transparent #fff transparent
}
.f_note_arr[data-post='3']{
    border-width:12px 12px 0 12px;
    border-color:#FFF transparent transparent transparent
}
.f_note_arr[data-post='2']{
    border-width:12px 0 12px 12px;
    border-color:transparent transparent transparent #FFF
}
.f_note_arr[data-post='4']{
    border-width:12px 12px 12px 0;
    border-color:transparent #FFF transparent transparent
}
.fnoteC{
    position:relative;
    flex-grow:100;
    overflow:auto;
    padding:8px 12px;
    &::-webkit-scrollbar{
        width:10px
    }
    &::-webkit-scrollbar-track{
        background:transparent
    }
    &::-webkit-scrollbar-thumb{
        border-radius:8px;
        background:rgba(128,128,128,.5)
    }
    &::-webkit-scrollbar-thumb:hover{
        background:rgba(128,128,128,.75)
    }
}
.f_note_head,.f_note_foot{
    position:relative;
    width:100%;
    padding:8px 32px 8px 16px;
    transition:all .5s
}
.f_note_head{
    background:rgba(128,128,128,.2);
    font-weight:bold;
    font-size:12pt;
    text-shadow:0px -1px 0px rgba(0,0,0,.2),0px 1px 0px rgba(255,255,255,.3);
    cursor:move
}
.f_note_head .f_note_close{
    position:absolute;
    top:7px;
    right:8px;
    height:0;
    width:0;
    opacity:0;
    font-size:16pt;
    line-height:100%;
    cursor:pointer;
    transition:all .5s
}
.f_note:hover .f_note_close{
    height:16px;
    width:16px;
    opacity:.3
}
.f_note_head img[src*='/app/util/country/flag/']{
    height:20px;
    margin:0 8px -4px -8px
}
.f_note hr{
    background:rgba(0,0,0,.05)
}
.f_note_text{
    user-select:text !important;
    overflow:auto;
    word-wrap:break-word !important
}
.f_list{
    white-space:nowrap;
    [data-stk]{
        img{
            float:left
        }
    }
}

#fimgs s{
    white-space:nowrap;
    transition:all .5s
}
#fimgs s:hover{
    padding:16px 0
}
#fimgs s > img{
    height:18px;
    width:18px
}
#fimgs s:hover > img{
    max-height:48px;
    max-width:48px;
    width:48px;
    height:48px
}

/* CHAT */
.chat_emoji{
    text-align:center;
    font-size:18pt;
    b{
        cursor:pointer
    }
}

/* TOOL TIP */
#f_tip{
    position:absolute;
    left:-999px;
    top:-999px;
    z-index:999999;
    max-width:90%;
    max-height:90%;
    box-shadow:3px 3px 16px 2px rgba(0,0,0,.6);
    background:#FFF;
    color:rgba(0,0,0,0.6);
    img[src*='/app/util/country/flag/']{
        height:8px
    }
    .f_tip_td{
        padding:6px 9px;
        font-size:9pt;
        white-space:nowrap
    }
    .f_tip_style{
        height:128px;
        width:128px
    }
    .f_tip_color{
        height:128px;
        width:128px
    }
    .f_tip_image{
        max-height:128px;
        max-width:128px;
        margin:16px
    }
}