/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #b3b3b3b3; 
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b3b3b390; 
}

/* Main layout */
html, body{
    margin: 0px;
    padding: 0px;
    font-family: sans-serif;
    height: 100%;
    overscroll-behavior: none;
}
h1, p {
    color: white;
}
#particles-js{
    height: 100%;
    width: 100%;
    background: #111111;
    overflow: auto;
}

div.navparent {
    color: white;
    height: 52px;
}
div.navholder {
    height: 100%;
    display: flex;
    vertical-align: middle;
    justify-content: space-between;
}
div.user {
    padding: .5rem;
}
div.user a.logout {
    color: #DDDDDD80;
}
div.user a.clearataguser {
    text-decoration: none;
    color: white;
}
a.brand {
    color: white;
    font-family: sans-serif;
    text-shadow: 2px 2px black;
    border-radius: 7px;
    text-decoration: none;
    font-size: 32px;
    margin: auto 0 auto 1rem;
    padding: .25rem 1rem;
}

div.boxparent {
    position: absolute;
    width: 100%;
    height: 100%;
}
div.boxholder {
    display: flex;
    justify-content: center;
    height: calc(100% - 52px);
}

@media (max-width: 400px) {
    div.box {
        min-width: calc(100% - 3rem);
    }
}
@media (min-width: 400px) {
    div.box {
        min-width: 60%;
    }
}

div.box {
    display: flex;
    flex-direction: column;
    margin: 0 0 2rem 0;
    background-color: #BBBBBB55;
    padding: 1rem;
    border-radius: 7px;
    overflow-y: hidden;
    max-height: 100%;
}

div.boxheader {
    padding-bottom: .5rem;
}

span.directorydisplay {
    color: white;
}
span.directorydisplay a {
    color: #33b1f8;
    text-decoration: none;
}
span.directorydisplay a:hover {
    color: #33b1f8CC;
}

div.boxfooter {
    padding-top: .5rem;
    margin-top: auto;
}

div.items {
    overflow-y: auto;
    max-height: calc(100% - 3rem);
}

a.item, li.item {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1rem;
    margin: .25rem 0;
    border: 1px solid #00000055;
}
a.item:hover {
    background-color: #BBBBBB77;
}

span.itemsrightbadge {
    float: right;
    background-color: #55AA55;
    padding: 4px;
    border-radius: 7px;
    font-size: 12px;
}

a.back {
    color: white;
    display: inline-block;
    text-decoration: none;
    background-color: #BBBBBB77;
    padding: .5rem 1rem;
    border-radius: 7px;
    text-align: center;
}
a.back:hover {
    background-color: #BBBBBB99;
}