.notes ul,
.notes ol{
    padding: initial;
} 
.ho i, .fa i{
    padding: 0 6px;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
}
.abs {
    position: absolute;
}
.bottom{
    bottom: 0;
}
.center{
    display: flex;
    align-items: center;
    justify-content: center;
}
.flex, .fx{
    display: flex;
}
.jst-b{
    justify-content: flex-start;
}
.jst-y{
    align-items: center;
} 
.jst-x{
    justify-content: space-between;
}
.jst-s{
    justify-content: space-between;
}

.main-header-tools{
    overflow: auto;
    column-gap: 10px;
    width: 100%;
    background: #08142f;
    box-shadow: var(--main-shadow);
    z-index: 5;
}
form .btn{
    background: #1e3c4185;
    width: fit-content;
    padding: 6px 15px;
}
.main-header-tools *{
    color: var(--btn-tool-color);
} 
button.tool{
    border: 1px solid transparent;
}
.row{
    flex-direction: row;
}
.column, .col{
    flex-direction: column;
    gap: 5px;
}
.no-gap {
    gap: 0px;
}
.self-left{
    align-items: left;
    width: fit-content;
}
nav, footer{
    width: 100%;
    position: fixed;
    left: 0;
    box-shadow: var(--shadow-small);
    display: flex;
    flex-direction: column;
    flex-direction: row;
    z-index: 2;
    transition: all .4s ease-in;
}
nav{
    top: -200%;
}
nav.active{
    top: 0;
}
footer{
    bottom: 0;
}
footer ul, nav ul, nav h3{
    list-style: none;
    display: flex;
    flex-direction: row;
    background:  var(--blue-2); 
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
    align-items: center;
}
.aside{
    position: relative;
}
.pallet-middle{
    min-width: 200px;
}
.pallet-middle:first-child{
    background-color: red;
    position: fixed;
    left: 5px;
    z-index: 5;
    box-shadow: var(--shadow-small);
    top: 85px; 
}
nav h3{
    padding-left: 10px;
    color: rgb(215, 214, 213);
    text-align: center;
}
.menu-bar li{
    display: grid;
    gap: 5px;
    white-space: nowrap;
    padding: 10px;
}
.menu-bar span{
    width: 30px;
    line-height: 4px;
    background-color: white;
    height: 4px;
}
.reg+li{
    /* border-radius: 15px; */
    margin: 5px;
    font-weight: 300; 
    /* background: var(--blue-1); */
}
footer ul li, nav ul li, aside ul li{
    padding: 10px 13px;
    color: aliceblue;
    font-size: 90%;
    transition: all .3s ease-in-out;
    width: 100%;
    text-align: center;
    position: relative;
} 
aside ul li, ul.menu{
    text-align: left;
}
.list-selector .switch-container:has(input:checked)::before,
aside ul li.active::after, aside ul li.active::before,
footer ul li.active::before, nav ul li.active::before,
footer ul li.active::after, nav ul li.active::after{
   content: '';
   width: 100%;
   height: 5px;
   position: absolute;
   background: var(--light-blue-1);
   z-index: 20;
   left: 0;
   animation: scale_in 0.4s forwards;
   /* border-radius: 6px 6px 0 0; */
}  
.list-selector .switch-container:has(input:checked)::before,
 aside ul li.active::before 
 {
    width: 5px;
    height: 100%;
    top: 0;
    border-radius: 0 6px 6px 0;
}
aside .navs{
    height: calc(100% - 102px); 
}
aside .navs ul{
    height: 100%;
    overflow-y: auto;
}
footer ul li.active::before, nav ul li.active::before{
    top: 0;
}

.list-selector .switch-container:has(input:checked),
footer ul li.active::after, nav ul li.active::after,aside ul li.active::after{
    bottom: 0;
    height: 100%;
    z-index: -1;
    background: var(--blue-1);
    animation: scale_in_bottom 0.4s forwards;
}
footer ul li:hover,li.active, nav ul li:hover{
    background:var(--blue-1);
}
nav ul li.menu{
    padding: 6px;
}
nav ul li.menu:hover{
    background: black;
}

table.style th{
    color: rgb(14, 240, 210);
}
.topic-questions{
    box-shadow: 2px 2px 10px 2px rgba(0, 0, 0, 0.327);
    border-radius: 5px;
    padding: 10px;
}
ol{
    margin-left: 0;

}
li{
    margin-left: 0px;
    padding: 0;
}
ol.alpha{
    list-style:lower-alpha
}
ol.roman{
    list-style:lower-roman;
}
li>ol{
    margin-left: -20px;
}
.ans, .ans p{
    color: rgb(109, 108, 108);
}
.ans{
    background: whitesmoke;
    padding: 10px;
    margin-left: -60px;
    display: none;
}
.ans.active{
    display: grid;
}
.grid
{
    display: grid;
}
.grid p{
    margin-top: 0;
}
aside{
background: black;
position: fixed;
top: 0;
left: 0;
bottom: 0;
width: 100%;
max-width: 520px;
z-index: 100;
transform: translateX(-300%);
transition: all .4s ease;
counter-reset: number;
}
aside .header{
display: flex;
gap: 12px;
/* background: rgb(247, 242, 242); */
}
aside .header span{
padding: 10px;
}
aside .header span.left+span{
width: 100%;
text-align: center;
color: rgb(200, 186, 158);
}
aside .navs{
display: inline-flex;
overflow: hidden;
width: 100%;
}

aside .me{
padding:20px 10px;
color: wheat;
display: flex;
align-items: center;
gap: 15px;
background:var(--blue-1);
}

aside ul{
list-style: none;
padding: 0;
margin: 0;
min-width: 100%;
float: left;
display: none;
}
aside ul.active{ 
display: block;
animation: slide .3s ease-in-out;
}
aside ul li{
padding: 10px 13px;
}
.photo{
width: 30px;
height: 30px;
border-radius: 50%;
padding: 2px;
border: 4px solid white;
}
.dccp{
    margin: 0;
    padding: 0;
    list-style: none;
}
.dccp li{
    padding: 8px 10px;
    width: 100%;
    align-items: center;
    justify-content: center;
    transition:  all .3s ease;
    text-align: center;
    color: rgb(191, 187, 187);
}
.dccp li:hover{
    background: var(--blue-1);
    color: white;
    animation:  scale_in .3s ease;
}
.container{
    margin: 5px;
    padding: 8px;
    border-radius: 6px;
}
.buttons{
    display: flex;
    gap: 15px;
    padding: 10px;
    align-items: center;
    justify-content: right;
}
button:not(.ptable button,.login-container button, .tool, .list-toggle-btn, .si-unit){
    z-index: 1;
    outline: none;
    appearance: none;
    color: rgb(255, 255, 255);
    /* border: none; */
    font-size: 12px;
    position: relative;
    /* padding:3px 13px; */
    /* border-radius: 6px; */
    background: #08142f;
    /* background: darkcyan; */
    transition: all .3s ease-in-out;
} 
button.fw, .f-w{
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    /* background: darkcyan; */
    font-size: 115%;
} 
.upper-header{
    margin-top: 0;
    background: var(--upper-header-bg);
}
button.ok{
    background: var(--blue-1);
}
.drop-down{
    position: relative;
    padding: 1px;
}
.drop-down h3{
    text-align: center;
    background: var(--blue-2);
    width: 100%;
    padding: 6px 10px;
    margin: 0;
    border-radius: 5px;
    transition: all .3s ease-in-out;
    border: 1px solid transparent;
    font-weight: normal;
    font-size: medium;
}  
.drop-down h3::after{
    content: '';
    position: absolute;
    bottom: 15px;
    right: 14px;
    width: 10px;
    height: 10px;
    border: 1px solid rgb(174, 173, 173);
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
}
.drop-down-content{
    position: absolute;
    background: rgb(26, 25, 25);
    z-index: 150;
    width: 100%;
    box-shadow: 2px 2px 10px 1px rgba(0, 0, 0, 0.337);
    top: 85%;
    border-radius: 6px;
    gap: 5px;
    display: none;
}
.drop-down-content.active{
    display: initial;
}
.drop-down-content:not(.fw) label{
    width: 33%;
    float: left;
}
.drop-down-content .content{
   padding: 10px;
   max-height: 160px;
   overflow: auto;
}
.drop-down-content label{
    white-space: nowrap;
    width: 100%;
}
.drop-down .head{
    margin-bottom: 10px;
    font-weight: 600;
    color: white;
}
.more-drop{
    left: 15px;
}
.more-drop ul li{
    border-radius: 0;
}
.div{
    margin-top: 45px;
    gap: 20px;
    position: fixed;
    left: 10px;
    max-width: 420px;
    background: var(--bg-color-0);
    padding: 25px 15px;
    border-radius: 6px;
    z-index: 1;
    overflow: hidden;
    padding: 0;
    transition: all .3s ease;
    max-height: 0;
}
.div.active{
    padding: 25px 15px;
    overflow:initial;
    max-height: fit-content;
    z-index: 98;
    box-shadow: var(--shadow-0);
}

.switch-container{
    border-radius: 0px;
    padding: 8px;
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 2px;
    transform: all .3s ease;
    background: rgb(44, 45, 44);
}
.container .head{
    background: var(--bg-color-4);
    padding: 8px 10px;
    width: 100%;
    display: grid;
    align-items: flex-start;
    justify-content: left;
}
.container h3{
    margin-top: 0;
}
.container h3+.item .switch-container{
    border-radius: 6px 6px 0 0;
}
.container .item:last-child .switch-container{
    border-radius: 0 0 6px 6px;
}
.switch-container input{
    appearance: none;
    position: absolute;
}

.switch{
    width: 50px;
    height: 25px;
    border-radius: 25px;
    position: relative;
    transition: all .3s ease-in;
    margin: 0;
    background-color: rebeccapurple;
    border: 1px solid rgb(207, 207, 207);
} 
.switch span{
    position: absolute;
    top: 15%;
    left: 10%;
    width: 50%;
    height: calc(100% - 30%);
    background: white;
    border-radius: 25px;
    transition: all .3s ease;
}
.switch-container input:checked+label span{
    left: calc(50% - 10%);
}
.switch-container:has(input:checked) .switch{
    border: 1px solid dodgerblue;
    background: var(--blue-1);
}
.list-selector .switch-container:has(input:checked){
    padding-left: 20px;
}
.switcher button{
    margin: 0;
    background-color: rebeccapurple;
    width: 50%;
    border-radius: 0;
}
.switcher+form{
    max-height: 0;
    overflow: hidden;
    transition: all .6s ease;
}.switcher+form.active{
    max-height: initial;
    overflow: auto;
    margin-top: 15px;
}
.drop-down-content .content.hide{
    display: none;
}
p.italic{
    font-style: italic;
}
.instructions p{
    margin: 4px;
}
.doc-preview .page-remover,
    .doc-preview .page-adder{
    display: none;
}
.input-container{
    position:relative;
    color: grey;
}
.input-container .input{
    background: transparent;
    color: rgb(142, 130, 89);
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    padding: 15px 12px;
    margin: 0;
    outline: none;
    font-size: 125%;
    border: 1px solid grey;
    border-radius: 6px;
    margin: 15px 5px;
} 
.input-container .input+span{
    font-size: 125%;
    transition: all .2s ease-in-out;
}
.placeholder, .input-container i{
    position: absolute;
    top: 27px;
    left: 20px;
    color: grey;
    transition: all .2s ease-in-out;
    padding: 2px 8px;
    z-index: -1;
}
.input-container i{
    top: 90%;
    left: 10px;
    line-height: 15px;
}
.input-container .input:valid,
.input-container .input:focus
{
    border: 1px solid rgb(144, 166, 188);
}
.input-container .input:focus+span,
.input-container .input:valid+span{
    top:2px;
    left: 15px;
    background: black;
    z-index: 2;
    font-size: 100%;
} 
.actions{
    background: black;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 80%;
    min-width: 250px;
    max-width: 350px;
    z-index: 100;
    transform: translateY(300%);
    transition: all .4s ease;
    border-radius: 20px 20px 0 0;
    max-height: 100vh;
}
aside.active{
    transform: translateX(0);
}
.actions.active{
    transform: translateY(0);
    animation: slideUp .4s ease;
}
.action-head{
    padding:25px 10px 6px 10px;
    border-radius: 20px 20px 0 0;
    text-align: center;
    color: var(--action-head-color);
    position: relative;
    margin: 6px 0 15px 0;
    font-size: 19px;
}
.action-head::before{
    content: '';
    position: absolute;
    width: 30px;
    height: 4px;
    left: calc(50% - 15px);
    background: #b2acac;
    border-radius: 5px;
    top: 13px;
}
.body{
    padding: 10px;
    /* max-height:calc(100vh - 80px); */
    overflow: auto;
    /* background: red; */
}
.photo{
    /* position: fixed; */
    top: 0;
    background: white;
}
.topic-title{
    font-size: 15px;
    display: flex;
    background: white;
    border-radius: 5px;
}.topic-title span{
    padding: 8px;
}
.topic-title span:not(:empty, :last-child):after{
    content: '>>';
    padding: 8px;
}
.workingspace{
    display: flex;
    gap: 10px;
    padding: 2%;
    width: 100%;
    max-width: 100vw;
    height: fit-content;
}
.pallets{
    display: flex;
    float: left;
    min-width: 100%;
    gap: 10px;
}
[data-theme="light"] .file-list+.workingspace{
    background: rgb(229, 229, 229);
}
.pallets.notes{
    background: transparent;
    box-shadow: none;
}
.pallets .aside{
    gap: 10px;
    flex-direction: column;
}

.pallets [class*='pallet-content']{
    background: none;
    width: 100%;
}
.pallet-content .notes:first-of-type(1){
    background: red
}
.pallets [class*='pallet-']{
    padding-inline: 10px;
    border-radius: 5px;
    margin:auto;
    margin-top: 10px;
} 
h3:empty{
    display: none;
}
.my-profile .photo{
    width: 100px;
    height: 100px;
    padding: 2px;
    border-width: 1px;
}
.my-profile .body{
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.my-profile img{
    display: none;
}
.my-profile .item input{
    text-align: center;
    background: transparent;
    outline: none;
    border: none;
    color: rgb(124, 118, 118);
}
iframe{
    width: 600px;
    height: 300px;
}
.content-categories{
    gap: 0;
    left: 0;
    right: 0;
    top: 0%;
    z-index: 99; 
    margin-top: 0;
    transition: all .5s ease;
    display: none;
    position: sticky;
}
.content-categories .main-header-tools{
    flex-direction: row;
    order: 0;
}
.content-categories.active{
    top: 0;
    display: flex;
} 
@media only screen and (max-width: 700px) {
    .pallets{
        flex-direction: column;
    }
    iframe{
        background: black;
        width: 100%;
        height: 300px;
    }
    .drop-down{
        position: initial;
    }
    .drop-down-content.active{
        position: fixed;
        top: 0;
        bottom: 0;
        width: 100%;
        left: 0;
    }
    .drop-down-content .content{
        max-height: calc(100vh - 100px);
    }
} 
@media only screen and (max-width: 620px) {
    .topic-title span:not(.topic){
        display: none;
    } 
    .page{
        box-shadow: 1px 1px 4px 1px rgba(128, 128, 128, 0.63);
        padding: 4%;
    }
    .actions{
        width: 100%;
        max-width: 100%;
    }
    main{
        padding-left: 2px;
        padding-right: 2px;
    }
}

@media print{
.pie-view+div,
.topic-title,.pie-view,
.actions,.aside,.canvas,
nav, footer,
.page iframe{
display: none;
}
.workingspace, .pallets{
padding: 0;
}
.notes h1{
margin-top: 0;
}
main{
margin-top:0;
padding-top:0;
background: white;
}
.page{
height: 210mm;
box-shadow: none;
padding: 0px;
margin: 1in;
/* break-after: always; */
}
.notes h1,
.notes h2{
box-shadow: none;
background: none;
}
}

.feedback {
visibility: hidden;
width: 200px;
background-color: rgba(4, 3, 3, 0.887);
color: #fff;
text-align: center;
border-radius: 4px;
padding: 10px;
position: fixed;
z-index: 1500;
left: calc(50% - 100px);
bottom: -100%;
font-size: 17px;
transition: all 1s ease;
}

.feedback.exhibit {
visibility: visible;
bottom: 50px;
/* -webkit-animation: fadein .5s;
animation: fadein .5s; */
}

@-webkit-keyframes fadein {
from {
bottom: -100%;
opacity: 0;
}
to {
bottom: 50px;
opacity: 1;
}
}

@keyframes fadein {
from {
bottom: -100%;
opacity: 0;
}
to {
bottom: 50px;
opacity: 1;
}
}

@-webkit-keyframes fadeout {
from {
bottom: 50px;
opacity: 1;
}
to {
bottom: -100%;
opacity: 0;
}
}

@keyframes fadeout {
from {
bottom: 50px;
opacity: 1;
}
to {
bottom: -100%;
opacity: 0;
}
}
table{
position: relative;
}
.table-options ul li ul,
.table-options{
position: fixed;
top: 40%;
left: 30%;
padding: 0;
background: white;
box-shadow: var(--shadow-small);
border-radius: 6px;
}
.table-options{
display: none;
position: absolute;
}
.table-options.active{
display: inline-block;
}
.table-options ul{
margin: 0;
padding: 0;
}
.table-options ul li{
margin: 0;
padding: 0;
list-style: none;
position: relative;
}
.table-options ul li{
padding: 6px 10px;
width: 100%;
border-radius: 6px;
}
.table-options ul li:first-child{ 
border-radius: 6px 6px 0 0;
}
.table-options ul li:last-child{ 
border-radius: 0 0 6px 6px;
}
.table-options ul li:hover{
background: rgb(158, 217, 249);
}
.table-options ul li ul{
position: absolute;
min-width: 100px;
left: 100%;
top: -10px;
display: none;
}
.table-options ul li:hover ul{
display: initial;
}
.col{
    flex-direction: column;
}

.ct-y{
    display: flex;
    align-items: center;
}
.drop-down-content input[type="search"]{
    outline: none;
    border: 1px solid grey;
    appearance: none;
    width: 100%;
    background: transparent;
    padding: 5px 12px;
    color: white;
    /* border-radius: 6px; */
}
.page-adder{
    position: absolute; 
    padding: 6px; 
    right: 0px; 
    bottom: 0px;
}
.notes *{
    color: black;
}
.page-number,
.page-options,
.page-adder,
.page-remover{
    background:rgba(0, 0, 0, 0.658);
    color:white;
    border-radius: 8px 0 0 0;
    position: absolute;
}
.page-remover{
    border-radius: 0 0 0 8px;
}
.page-options{
    left: 0;
    top: 0;
    padding: 10px; 
    border-radius: 5px 0 8px 0;
}
.page-number{
    left: 0;
    left: 0;
    bottom: 0;
    padding: 6px 3px; 
    overflow: hidden;
    white-space: nowrap;
    border-radius: 0px 8px 0 0px;
}
.page-options:hover,
.page-remover:hover,
.page-adder:hover{
    color: dodgerblue;
}
td.mt-colspan, td[class*=lt-chem-]{
    white-space: nowrap;
}

#file-namer-save-btn{
    max-width: 100px;
}
#file-namer{
    padding: 6px 10px;
    font-size: 100%;
    width: 100%;
    height: fit-content;
    border: 1px solid grey;
    border-radius: 4px;
}
.view-importer .head-close{
    background: rgb(204, 227, 250); 
    position:sticky;
    top:-10px;
    z-index:2;
    padding: 8px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.294);
}