:root{
    --color-1:#039be5;
    --color-2:#303f9f;
    --color-3: #045092;
    --color-0:rgb(172, 168, 168);
    --font-size-0:100%;
    --bg-color-0:#051e34;
    --bg-color-1:rgb(30, 30, 30);
    --bg-color-2:#1b3a57;
    --bg-color-3:#0e2337;
    --bg-color-4:#03101c;
    --shadow-0:1px 1px 20px 5px rgba(12, 12, 12, 0.979);
    --right-list-item-bg:rgb(26, 26, 26);
    --shadow-small: 1px 1px 5px 1px #a7a4a42b;
    --shadow-small-blue: 1px 1px 5px 1px #10d2ef2b;
    /* 1px 1px 10px 1px rgba(0, 0, 0, 0.427); */
    --shadow-big: 1px 1px 30px #0000004a;
    --green-1:  rgba(22, 77, 39, 0.552);
    --blue-1: rgba(5, 70, 123, 0.539);
    --blue-2:#0472ad;
    /* #1F2739; */
    --light-blue-1: rgb(14, 200, 233); 
    --main-color:rgb(72, 53, 53);
    --main-bg: rgba(229, 229, 229, 0.954);
    --main-bg: rgba(16, 15, 15, 0.954); 
    --hover-bg:rgba(36, 76, 124, 0.556);
    --item-left-bar-bg:rgb(231, 241, 49);
    --item-active-bg:#c9eafa;
    /* rgba(36, 76, 124, 0.556); */
    --header-bg:var(--bg-color-0);
    --upper-header-bg: whitesmoke;
    /* (--blue-2); */
    --btn-color:whitesmoke;
    --btn-after-bg:rgb(71, 124, 221);
    --btn-after-color: rgb(176, 235, 244);
    --btn-hover-bg:rgba(122, 169, 192, 0.94);
     /* rgba(12, 144, 226, 0.275); */
    --btn-hover-color: white;
    --btn-tool-color:var(--btn-color);
    --select_-bg:black;
    --select_-color:rgb(255, 255, 255);
    --_pannel_-tr-shadow:-1px -1px 8px 1px #576571;
    --_pannel_-tr-bg:none;
    --_pannel_-bg:none;
    --_pannel_-td-first-child-bg:#0f0606;
    --person-bg:var(--bg-color-3);
    --list-left-button-hover-bg:rgba(73, 72, 72, 0.38);
    --btn-hover-after-bg:rgb(151, 232, 174);
    --input-focus-border-color:aqua;
    --fa-hover-color:#03101c;
    --action-head-color:rgb(239, 248, 249);
    --label-next-label-bg:rgb(37, 40, 43);
    --label-hover-bg-1:var(--bg-color-1);
}
[data-theme="light"]{
    --color-1:#050505;
    --color-2:#171717;
    --color-3: #212427;
    --color-0:rgb(0, 0, 0);
    --color-0:#323459;
    --font-size-0:100%;
    --bg-color-0:rgb(245, 245, 245);
    --bg-color-1:rgb(30, 30, 30);
    --bg-color-2:white;
    --bg-color-3:#bed2e3;
    --bg-color-4:#f0f3f6;
    --bg-color-5: #cce4fa;
    --shadow-0:1px 1px 5px 1px rgba(12, 12, 12, 0.603);
    --right-list-item-bg:rgb(26, 26, 26);
    --shadow-small: 1px 1px 5px 1px #a7a4a42b;
    --shadow-small-blue: 1px 1px 5px 1px #10d2ef2b;
    --green-1:  rgba(22, 77, 39, 0.552);
    --blue-1: rgb(213, 229, 237);
    --blue-2:#9dbaff;
    --blue-3:#ffffff;
    --light-blue-1: rgb(120, 191, 203); 
    --main-color:rgb(0, 0, 0);
    --main-bg: rgba(236, 238, 239, 0.95); 
    --hover-bg:var(--blue-1);
    --item-left-bar-bg:rgb(10, 109, 190);
    --item-active-bg:var(--blue-1);
    --header-bg:var(--blue-3);
    --upper-header-bg:
    whitesmoke;
    /* #7cacf8; */
    --btn-color:black;
    --btn-after-bg:rgb(21, 23, 29);
    --btn-after-color: rgb(240, 249, 250);
    /* --btn-hover-bg: rgba(23, 25, 26, 0.946); */
    --btn-hover-bg:rgba(122, 169, 192, 0.94);

    --btn-tool-color:white;
    --select_-bg:rgb(255, 255, 255);
    --select_-color:rgb(0, 0, 0);
    --_pannel_-tr-shadow:none;
    --_pannel_-bg:var(--main-bg);
    --_pannel_-tr-bg:white;
    --_pannel_-td-first-child-bg:#e4e4e4;
    --person-bg: white;
    --list-left-button-hover-bg:var(--btn-hover-bg);
    --btn-hover-after-bg:rgb(30 145 253);
    --input-focus-border-color:rgb(0, 136, 255);
    --fa-hover-color:#badbfa;
    --action-head-color:black;
    --label-next-label-bg:rgb(240, 246, 251);
    --label-hover-bg-1:var(--fa-hover-color);
    -moz-osx-font-smoothing: grayscale;
}
html,body{
    margin: 0;
    padding: 0;
    background: var(--bg-color-0); 
    font-size: 96%;
    font-size: var(--font-size-0);
    color: var(--color-0);
    font-weight: 400;
    line-height: 1.75rem;
    font-family:Helvetica, Arial,  sans-serif; 
    background:var(--main-bg);
    display: flex;
    flex-direction: column;
    /* background-image: linear-gradient(to right, #eea2a2 0%, #bbc1bf 19%, #57c6e1 42%, #b49fda 79%, #7ac5d8 100%); */
    background-image: none;
    /* height: 100vh; */
    /* overflow: auto; */
    /* overflow: hidden; */
    /* background: #03101c; */
}
*{
    box-sizing: border-box;
    line-height: 1.3;
    cursor: default; 
    box-sizing: border-box;
    color: var(--color-0);
}
::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar {
    width: 3px;
}
:hover::-webkit-scrollbar-thumb {
    background: var(--color-1);
    border-radius: 2px;
} 
textarea::-webkit-scrollbar-track {
    visibility: hidden;
}

textarea::-webkit-scrollbar {
    width: 2px;
}
ol, ul{
    margin: 0;
    padding: 0;
} 
ul.no-style,
ol.no-style{
    list-style: none;
}
.flex, .fx{
    display: flex;
    gap: 10px;
}
.col{
    flex-direction: column;
}
.grid{
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.ct-y{
    align-items: center;
}
.ct-x{
    justify-content: center;
}
.no-gap{
    gap: 0;
}
.no-pad{
   padding: 0;
}
.gap-10{
    gap: 10px;
}
.small-gap{
    gap:2px;
}
.sp-btn{
    justify-content: space-between;
}
.no-mag{
    margin: 0;
}
.no-wrap{
    white-space: nowrap;
}
.rel{
    position: relative;
   }
.fixed{
    position: fixed;
} 
.f-h{
    height: 100%;
}
.can-fade-in{
    -webkit-transform:scale(0);
     /* translateY(50px) rotate(-15deg) translateZ(0); */
    transform: scale(0);
     /* translateY(50px) rotate(-15deg) translateZ(0); */
    -webkit-transition-delay: .4s;
    -o-transition-delay: .4s;
    transition-delay: .4s;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
    opacity: 0; 
}
.inView{
    opacity: 1;
    transform: scale(1);
    /* -webkit-transform: translateY(0px) rotate(0deg) translateZ(0);
    transform: translateY(0px) rotate(0deg) translateZ(0); */
}
fieldset{
    appearance: none;
    margin-bottom: 16px;
    border: 1px solid grey;
    padding: 20px 30px;
}
form, #manual-show{
    display: flex;
    flex-direction: column;
    gap: 15px; 
}
#form-show, #manual-show{
    display: none;
}
#form-show.active,  #manual-show.active{
    display: inline-block;
}
input,textarea{
    font-size: 16px;
}
form input,input#character-search, button, select, textarea{
    padding: 10px;
    border-radius: 5px;
    appearance: none;
    -webkit-appearance: none;
    border:  none;
    width: 100%;
    background: transparent;
    border: 1px solid grey;
    outline: none;
}
button.si-unit{
    width: fit-content;
    border: 1px solid transparent;
}
input#character-search{
    color: white;
}

input#character-search,
form input:focus, textarea:focus{
    border-color: var(--input-focus-border-color);
    box-shadow: var(--shadow-small-blue);
} 
button{
    position: relative;
    border: 1px solid transparent;
}
button.si-unit{
    position: initial;
}
button::after{
    content: '';
    width: 0%;
    /* z-index: -1; */
    height: 100%;
    position: absolute;
    background: rgba(255, 0, 0, 0.179);
    border-radius: 5px;
    top: 0;
    left: 0;
    transition: all .4s ease;
}
button.si-unit::after{
display: none;
}
#form_save::after{
    background: rgba(5, 112, 44, 0.416);
}
#form_save{
    background: rgb(29, 108, 193);
    border: 1px solid rgb(29, 108, 193);
    color: white;
}
button:hover{ 
    border-color: rgba(255, 0, 0, 0.179); 
}
button:hover::after,.switcher button.active::after{ 
    width: 100%; 
}
.btn.no-after:hover::after,
    button.no-after:hover::after{
    width: 0;
}
.options-container{
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: flex-end;
    justify-content: center;
    justify-content: flex-start;
}
.options-container button{
    max-width: 120px;
}
input[type="radio"],
input[type="checkbox"]{
    appearance: initial;
    width: 0px;
    display: none;
}
input[type="radio"]+label,
input[type="checkbox"]+label{
    background: var(--radio-next-label-bg);
    padding: 10px;
    border-radius: 5px;
    /* display: flex; */
    justify-items: center;
    line-height: initial;
}
input[type="radio"]:checked+label,
input[type="checkbox"]:checked+label:not(.radio-radio){
    background: rgb(2, 93, 185);
    color: white;
}

[data-theme="dark"] input[type="radio"] + label.file{
    background-image: linear-gradient(to right, rgb(1, 38, 51), rgb(2, 58, 90));
}
[data-theme="light"] input[type="radio"]:checked + label.file{
    background: rgb(253, 253, 253);
    /* background-image: linear-gradient(to right, rgb(1, 38, 51), rgb(2, 90, 33)); */
}

.popper input[type="radio"]+label,
.popper input[type="checkbox"]+label,
.popper button.tool{
    padding: 5px;
}
.switch-btn{
    /* background: var(--tt-bg-offset-1); */
    margin: 10px 0;
    border: 1px solid dodgerblue;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-grow: 1;
    padding:0 10px 0 0;
    /* box-shadow: var(--main-shadow); */ 
}
.switch-btn span{
    flex:1;
    /* display: inline-flex; */
    padding: 6px 10px;
    border: none;
    cursor: pointer;
    width: 50%;
    box-sizing: border-box;
    z-index: 2;
    font-size: 95%;
}
.switch-btn span.active{
    color: white;
} 
.switch-btn .indicator{
    position: absolute; 
    border-radius: 5px;
    top: 0;
    left: 0;
    width: calc(50% - 0px);
    height: calc(100% - 0px);
    transition: all .4s ease;
    background: dodgerblue;
    /* box-shadow: var(--main-shadow-1); */
    transform: translateX(0);
} 
.switch-btn.active .indicator{
    transform: translateX(100%);
}
.list-items li label{
    transition: all .3s ease;
    margin: 0;
    /* border-radius: 0; */
    border-left: 3px solid transparent;
    background: transparent;
}
.list-items li input:checked+label{
    border-left: 3px solid var(--item-left-bar-bg);
    background: var(--item-active-bg);
}
.select_{
    margin-left: 15px;
    min-width: 100px;
    background: var(--select_-bg);
    color: var(--select_-color);
    border: none;
    text-align: center;
    padding: 6px 10px;
    position: relative;
}
#select_{
    max-width: 60px;
    min-width: 50px;
    margin-left: 0;
}
/* #select_::after{
    content:'\2195';
    position: absolute;
    right: 5px;
    top: 5px;
} */
.list-items p:hover, .list-items li label:hover{
    background: var(--hover-bg);
    color: rgb(216, 252, 250);
}
#same_address+label{
    margin-bottom: 15px;
}
div.same_address {
    display: none;
}
.forms{
    position: fixed;
    box-shadow: var(--shadow-0);
    border-radius: 6px;
    /* max-width: 400px; */
    margin: auto;
    z-index: 100;
    top: 0;
    /* bottom: 5%; */
    height: calc(100vh - 0%);
    left: 0;
    background:#f0f3f6;
     /* var(--bg-color-4); */
    right: 0;
    overflow: auto;
    display: none;
}
.forms.active{
    display: initial;
}
form label:has(img){
    display: flex;
    justify-content: center;
    margin-bottom: 17px;
}
form .fx.sp-btn{
    margin-bottom: 20px;
}
form .fx.sp-btn .fx.col{
    width: 100%; 
} 
header{
    padding: 10px;
    background: var(--header-bg); 
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 98;
    display: flex;
    justify-content: space-between;
    align-items: center;
} 
.menu-bar{
    padding: 17px 7px;
    border-radius: 6px;
    width: fit-content;
    position: relative;
    /* background-color: rgb(21, 1, 1); */
}

.menu-bar h2{ 
    margin: 0;
}
.menu-bar:hover{
    background: rgb(48, 47, 47);
}
.bars,
.bars::before,
.bars::after{
    width: 30px;
    height: 1.5px;
    background: #eee5e5;
    position: relative;
    transition: all .3s ease-in-out;
}
.bars::before,
.bars::after{
    content: '';
    position: absolute;
    top: -7px;
    width: 80%;
}
.bars::after{
    content: '';
    position: absolute;
    top: 7px;
    width: 80%;
}
.menu-bar:hover 
.bars,
.menu-bar:hover 
.bars::before,
.menu-bar:hover 
.bars::after{
    background: rgb(236, 144, 144);
} 
main{
    overflow: auto;
    height: 100%;
}
main,.main{
    width: 100%;
    border-radius: 6px;
    position: relative;
    display: flex;
    width: 100%;
    height: calc(100vh - 65px); 
    /* flex-direction: column; */
    /* flex-direction: row; */
    gap: 15px;
}
.main{
    padding:0;
    margin: 10px 5px;
    flex-direction: column;
    width: calc(100% - 10px);
}
.overlay{
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    left: 0;
    background: rgba(9, 9, 9, 0.731);
    z-index: 99;
    display: none;
}

.container{
    width: 100%;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 6px;
    /* background: rgba(9, 9, 9, 0.731); */
    background: var(--bg-color-0);

    /* z-index: 2; */
    /* box-shadow: var(--shadow-0); */
}
.side-menu div{
    width: 100%;
}
.side-menu{
    align-items: flex-start;
    position: sticky;
    width: 50px;
    padding: 0px;
    min-width: 47px;
    max-width: 350px;
    transition: all .3s ease-in-out;
    justify-content: space-between;
    background-color: var(--bg-color-2);
    align-self: start;
    height: 100%;
    top: 25px;
    overflow: auto;
    box-shadow: none;
    border-radius: 0;
} 
.side-menu{
    left: -435px;
}
.container.side-menu{
    padding: 0px;
    padding-bottom: 45px;
}
.sticky{
    position: sticky;
    overflow: auto;
    height: calc(100vh - 100px);
}
form .close.sticky{
    height: fit-content;
    top: 15px;
    cursor: default;
    background: #926304;
    text-align: right;
    align-self: flex-end;
    width: fit-content;
    padding:2.5px 10px;
    border-radius: 50%;
    right: 2px;
}
.side-menu.active{
    margin-left: 10px;
    min-width: 250px;
    margin-top: 15px;
}
.header-text{
    white-space: nowrap;
    overflow: hidden;
    width: 850px;
}
.side-menu .no-click .header-text,
.side-menu .no-click .header-text+span{
 display: none;
}

.side-menu.active .no-click .header-text,
.side-menu.active .no-click .header-text+span{
 display: inline;
}
.side-menu .closer{
    display: none;
    margin-bottom: 15px;
    justify-content: space-between;
    align-items: center;
}
.side-menu .closer .img{
   width: 25px;
   height: 25px;
}
.side-menu .closer .close{
    border-radius: 50%;
    text-align: center;
    color: rgb(21, 21, 21);
    cursor: default;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .4s ease;
}
.side-menu .closer .close:hover{
    background: rgb(62, 62, 62);
    color: rgb(165, 140, 42);
}

.video-container{
    width: 100%;
    padding: 5px;
    align-items: center;
    display: flex;
}
.video{
    width: 100%;
    display: flex;
    gap: 10px;
    justify-content: left;
    margin: 5px;
}
iframe,
    video{
    width: 90%;
    background-color: black;
    margin: 5px auto;
    border-radius: 6px;
    display: none;
}
.video video,
    .video iframe{
    width: 80%;
    display: flex;
    margin: 0px auto;
}
.video-details{
    width: 100%;
}
.dropdown{
    overflow: hidden;
    box-shadow: var(--shadow-0);
    border-radius: 5px;
    transition: all .5s ease-in-out;
    position: absolute;
    background: var(--bg-color-3);
    z-index: 100;
    top: -300%;
    right: 5px;
}
.dropdown.active{
    top: 90%;
    overflow: auto;
}
.dropdown.more-drop.active{
    max-height: calc(100vh - 150px);
}
.dropdown li{
    padding: 10px 15px;
    cursor: default;
    color: rgb(133, 179, 227);
}
.dropdown li:hover,
    .dropdown li.active{
    background: var(--color-3);
    color: aliceblue;
}
.minor-container{
    max-width: 850px;
    margin: auto; 
    align-self: center;
    margin-top: 0;
    padding-bottom: 100px;
    padding-top: 20px;
}
.minor-container.forms{
    padding: 0;
}
.minor-container.forms form{
    padding: 0 35px;
}
.minor-container.set-qb{
    padding-bottom: 0px;
    overflow: hidden;
}
.st-qb_content_{
    margin-bottom: 100px;
}
.list-item-data-container,
.list-item-data-container .container{
    width: 100%;
    align-items: flex-start;
}
.list-item-data-container{
    min-width: 215px;
    padding-top: 0px;
    margin-bottom: 0px;
    padding-bottom: 0px;
    position: relative;
    /* height: calc(100vh - 0px); */
}
.list-item-data-container.mini{
    width: fit-content;
}
.forms{
    margin-top: 0;
}
.load-container{
    max-width: 100%;
} 
.btn{
    border-left: 2px solid rgba(0, 183, 255, 0.39);
    transition: all .4s ease;
    cursor: default;
    position: relative;
    padding: 8px 10px;
    border-radius: 5px;
    border: 1px solid transparent;
    background: none;
    color: var(--btn-color);
    margin: 0;
}
.article-subtitles ul, [class*=_pannel_] ul{
    width: 100%;
    overflow: auto;
}
.upper-header .white-icons .btn, button.ho{
    background: none;
    border-radius: 1px;
}
.btn.active{
    color:var(--btn-after-color);
}

.btn:hover::after,
.btn.active::before{
    content: '';
    position: absolute;
    width: 5px;
    border-width: 5px;
    left: -3.5px;
    top: 0;
    height: 100%;
    background: var(--btn-after-bg);
    border-radius: 2px;
} 
.btn.no-before::after{
    display: none;
}
.btn.flat{
    background: transparent;
    border-radius: none;
    width: fit-content;
}
.upper-header .white-icons .btn:hover,
.btn:hover{
    background:var(--btn-hover-bg);
    color:var(--btn-hover-color);
}
.btn:hover *{
    color:var(--color-0);
    color:var(--btn-hover-color);
} 
.btn:hover::after{
    background: var(--btn-hover-after-bg);
}
.upper-header button,
#create-doc{
    border: 1px solid transparent;
}
.upper-header .btn:hover::after,
#create-doc::after,
    .upper-header button:hover::after{
    display: none;
}
/* 
.article-subtitles.sticky p{
    margin: 20px 0; 
    font-weight: 600;
}
.article-subtitles p{
    font-size: large;
    white-space: nowrap;
    cursor: default;
} */
.load-container{
    margin: 0;
    height: 100%;
    width: 100%;
    max-width: 950px;
}
.horizontal-tab{
    height: fit-content;
    background: var(--bg-color-4);
    padding: 8px;
    width: 100%;
    overflow: auto;
    z-index: 4;
}
.horizontal-tab:not(.actions){
    margin-bottom: 30px;
    top: 55px;
}
.horizontal-tab.actions{
    background: var(--bg-color-3);
    position: fixed;
    bottom: 0;
    left: 0;
    display: none;
}
.horizontal-tab.actions::before{
    content: attr(data-counter) " items marked";
    background: rgba(6, 6, 6, 0.67);
    padding: 5px 8px;
    position: fixed;
    bottom: 50px;
    border-radius: 6px 6px 0 0;
    z-index: 5;
    line-height: normal;
}
.horizontal-tab.actions.active{
    display: flex;
}
.article-subtitles .subtitles-dropdown li,
[class*=_pannel_] li,
.horizontal-tab button{
    padding: 8px 15px;
    line-height: initial;
    border-radius: 25px;
    width: fit-content;
    white-space: nowrap;
}
.article-subtitles .subtitles-dropdown li,
[class*=_pannel_] li{
    /* margin: 6px; */
    border-radius: 0 4px 4px 0;
    width: 100%;
    border-width: 1px;
}
.horizontal-tab button::after{
    border-radius: 25px;
}
.real-content{
    width: 100%;
}
.gallery-0{
    z-index: 1;
    position: relative;
}
.gallery{
    /* z-index: 1;
    background: red;
    position: relative; */
    min-height: 100px;
    height: fit-content;
    width: 100%;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    display: flex;
    flex-wrap: wrap;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    justify-content: center;
}
ul.gallery{
    justify-content: left;
    min-height: 10px;
}
.actions{
    z-index: 5;
}
.gallery img{
    height: 100px;
    border-radius: 6px;
    opacity: .8;
    transition:  all .3s ease;
}
.gallery img:hover{
    opacity: .6;
}

.gallery .person .img-shadow{
    padding: 55px;
    background-color: rgba(0, 174, 255, 0.201);
    border-radius: 50%;
    display: none;
}
.gallery .person img,
    .gallery .person .img-shadow{
    width: 50%;
    height: 57%;
    margin: 10px;
}
.gallery .person{
    /* float: left; */
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    align-items: center;
    background: var(--person-bg);
    padding-bottom: 8px;
    position: relative;
    margin: 8px;
    max-width: 100%;
    transition: all .3s ease;
    cursor: default;
    border-radius: 6px 6px 0 0;
}
.gallery .person.active::after{
    content: '';
    background: rgb(8, 184, 193);
    position: absolute;
    border-radius: 0 8px 0 0;
    width: 15%;
    height: 15%;
    top: -1%;
    right: -1%;
}
.gallery .person:not(.zoom):hover{
    opacity: .7;
} 
.gallery .person.zoom .img-shadow{
    display: inline;
}
    .gallery .person.zoom img{
    z-index: 100;
    position: fixed;
    border: 3px solid rgb(14, 14, 14);
    box-shadow: var(--shadow-0);
    border-radius: 6px;
    width: 100%;
    height: 100%;
    max-width: 400px;
    max-height: 420px;
    background: #070707;
    padding: 20px;
    top: 20px;
    left: 20px;
    opacity: 1;
}
.gallery .person:not(.zoom).active{
    opacity: .5;
    padding-top: 15px;
    background-color: rgba(19, 16, 16, 0.477);
    height: fit-content;
}
.gallery .person span:first-of-type{
    background: #024178b6;
    width: 100%;
    text-align: center;
    padding: 10px;
}
#counter{
    position: absolute;
    background: rgb(8, 184, 193);
    color: white;
    top: -20px;
}

.gallery .person{
    max-width: calc(50% - 30px);
    margin: 15px;
}
 
.article-subtitles{
    z-index: 150;
    bottom: 50px;
    height: fit-content;
    padding: 1px;
    margin-left: 0;
    right: 0;
    gap: 0;
    max-width: 100vw;
} 
.article-subtitles.active{
    height: 75vh;
}
.article-subtitles .subtitles-dropdown{
    display: none;
    width: 100%;
    overflow: auto;
}
.article-subtitles .subtitles-dropdown.active{
    display: flex;
}
.article-subtitles .subtitles-dropdown:not(.col){
    flex-direction: row;
}
.article-subtitles .subtitles-dropdown li,
[class*=_pannel_] li{
    text-align: center;
    width: fit-content;
}
.article-subtitles span:not(.si-unit){
    display: none;
}
.si-unit{
    padding: 6px 8px;
    border-radius: 4px;
    background: var(--bg-color-2);
    color: wheat;
    margin: 6px;
    height: 43px;
    float: left;
}
[data-theme="light"] .si-unit{
    color: var(--color-0);
}
.article-subtitles p{
    width: 30px;
    height: 30px;
    background-color: var(--bg-color-2);
    border-radius: 6px;
    padding: 0px;
    position: relative;
    color: rgba(250, 238, 238, 0.901);
    display: none;
} 
.article-subtitles ul{
    background-color: var(--bg-color-4);
    border-radius: 6px;
    max-height: 0;
    transition: all .3s ease;
    padding: 10px;
    display: flex;
    max-height: fit-content;
} 
.article-subtitles ul.dropdown{
    position: relative;
    top: 0px;
}
.article-subtitles ul li,
[class*=_pannel_] li{
    border: 2px solid rgba(0, 183, 255, 0.39);
    font-size: 80%;
    margin: 6px 7px;
    border-radius: 25px;
} 
.article-subtitles .subtitles-dropdown li{
    border-radius: 25px;
}
.article-subtitles ul li:hover::after,
[class*=_pannel_] li:hover::after,
.list-right .btn:hover::after,
.article-subtitles ul li.active::before{
    display: none;
}
.list-right .btn{
    max-width: 80px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fit.btn{
    width: 30px;
    height: 30px;
    align-self: center;
    border-radius: 0;
    position: relative;
    background: transparent;
    margin-right: -4.5px;
}
.fit.btn:hover{
    background: transparent;
    border: none;
}
.fit.btn::before{
display: none;
}
.fit.btn:after{
    content: '\f0ad';
    width: 10px;
    height: 12px; 
    padding: 10px;
    background: black;
    color: white;
    border-radius: 0;
}
.fit.btn.active:after{
    transform: rotate(-137deg);
    left: 8px;
    border-top-right-radius: 5px;
}

/* CHAT OPEN ICON */
  .chat-open {
    border-radius: 50%;
    padding: 10px;
    position: fixed;
    right: 15px;
    bottom: 20px;
    z-index: 500;
    background: var(--bg-color-3);
    box-shadow: var(--shadow-0);
    transform: scale(0);
  }
   .chat-open.active {
    transform: scale(1);
  }
  .white-color {
    color: white;
  }
  .fus-chat {
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: relative;
  } 
  .fus-chat::before, .fus-chat::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 13px;
    width: 15px;
    height: 10px;
    z-index: 1;
    background: rgb(253, 253, 253);
    border-radius: 1px 15px 5px 4px;
    transform: rotate(-30deg);
  }
  .fus-chat::before {
    background: var(--bg-color-3);
    bottom: 7px;
    right: 7px;
    height: 7px;
    width: 14px;
    border-radius: 0 0 14px 14px;
    transform: rotate(0deg);
    z-index: 2;
  }
  .saved-files{
    margin-top: 20px;
  }
.main .file-list{
    max-width: 120px;
}
.lister:first-child{
    margin-top: 25px;
}
.lister{
    padding: 5px 10px;
    font-size: 15px;
    width: 100%; 
    position: relative;
    /* display: inline-flex; */
}
.lister:hover{
    opacity: .8;
    background: var(--bg-color-2);
    padding: 8px 10px;
    padding-left: 15px;
}
.lister:hover::before{
    content: '';
    height: 100%;
    padding: 2px;
    top: -2px;
    position: absolute;
    background: rgb(32, 218, 193);
    left: 0;
}
.popper .closer{
    position: sticky;
    top: -10px;
    right: 0;
    z-index: 10;
    padding: 10px;
    padding-bottom: 15px;
    text-align: right;
    background: var(--bg-color-0);
}
.popper:has(.lister){
    max-height: 75vh;
}
.search{
    padding: 3px 10px;
    width: 180px;
    border: none; 
    border-bottom: 1px solid gray;
    border-radius: 0;
    width: 100%;
    margin: 0;
    /* margin-right: 15px; */
    font-size: 12pt;
    transition: all .3s ease;
    outline: none;
}
.search:focus{
    border-bottom:1px solid rgb(35, 158, 235);
}
.popper .fa{
    padding: 10px;
}
.popper .fa:hover{
    background: var(--bg-color-2);
    color: red;
}
.popper{
    max-height: calc(100vh - 20px);
    overflow: auto;
}
@media only screen and (max-width: 973px) {
    main .main{
        flex-direction: column;
    }
    .main .file-list{
        position: absolute;
        width: 100%;
        max-width: 100%;
        max-height: 40%;
        z-index: 150;
        background: var(--bg-color-0);
        display: none;
    }
    .main .file-list.active{
        display: block;
    }
    [class*="_ul"] li{
        float: left;
    }
    .list-item-data-container.mini,
    .play-list{
        width: 100%;
    }
    .video iframe,
        .video iframe{
        width: 35%;
    }

    header .fx{
        z-index: 150;
        /* background-color: red; */
    }

}
@media only screen and (max-width: 800px) {
    
    .side-menu .closer{
        display: flex;
    }
    .forms{
        top: 0;
        bottom: 0;
        height: 100vh;
    }
    .side-menu{
        position: fixed;
        bottom: 0;
        padding-top: 5px;
        margin-top: 0;
        margin-left: 0;
        left: -200%;
        top: 0;
        margin: 0;
        z-index: 120;
        height: 100vh;
        background: var(--bg-color-0);
        box-shadow: var(--shadow-0);
        border: none;
        width: 100%;
        max-width: 320px;
    }
    .side-menu.active{
        left: 0;
        margin: 0px;
        border-radius: 0;
    }
    .overlay.active{
        display: block;
    }
    .gallery .person{
        max-width: 100%;
    }
}
@media only screen and (max-width: 550px) {
    .forms{
        padding-top: 0;
    }
    form .fx.sp-btn{
        flex-direction: column;
        justify-content: initial;
    }
    form button{
        margin-top: 20px;
    }
}
@media print {
    header, .article-subtitles, 
    .dropdown, .side-menu {
        display: none;
    }
}
.hide{
    display: none;
}