:root {
    --sidebar-color: #000;
    --sidebar-background: #d1d1d1;
    --header-background: #1a3a52;
    --header-color: #fff;
    --content-background: #f9f9f9;
    --content-color: #000;
}

html, body {
    background: #1a3a52;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 1rem;
    z-index: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    height: 100px;
    width: 100%;
    min-width: 980px;
    box-shadow: 0px 5px 5px #000;
    z-index: 2;
}

header img {
    padding-top: 10px;
    max-height: 80px;
    width: auto;
}

#header {
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: left;
    background-color: var(--header-background);
}

#header img {
    padding-top: 9px;
    padding-left: 20px;
    max-height: 40px;
    width: auto;
}

.company_navbar {
    background-color: var(--sidebar-background);
    color: var(--sidebar-color);
}

#container-login::-webkit-scrollbar {
    display: none;
}

#container-login {
    background-image: url("/img/background-prismium.png");
    background-size: cover;
    height: calc(100vh - 220px);
    color: #fff;
    display: flex;
    justify-content: space-around;
    z-index: 1;
    overflow: scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.content-container::-webkit-scrollbar {
    display: none;
}

.content-container {
    overflow: scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

#container {
    min-height: calc(100vh - 60px);
    height: auto;
    color: #fff;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    z-index: 1;
}

footer {
    background-color: rgb(66,107,138);
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    color: #fff;
    height: 120px;
}

.footer-container {
    display: flex;
    flex-direction: column;
}

#color-parts {
    display: flex;
    flex-direction: row;
}

#color-parts #part1 {
    background-color: #ECBF4F;
    width: 326px;
    height: 10px;
}

#color-parts #part2 {
    background-color: #D37230;
    width: 326px;
    height: 10px;
}

#color-parts #part3 {
    background-color: #8B0000;
    width: 326px;
    height: 10px;
}

#copyright {
    padding-top: 40px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

#login-form {
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.8);
    justify-content: center;
    color: #000;
    align-items: center;    
    height: 520px;
    border-radius: 10px;
    margin-top: 40px;
    padding: 40px;
}

#login-form h1 {
    text-align: center;
}

#login-form form {
    display: flex;
    flex-direction: column;
}

#login-form form label {
    font-size: 1.2rem;
    margin-top: 10px;
}

#login-form form button {
    border-radius: 5px;
    height: 2.5rem;
    border-collapse: collapse;
    outline: none;
    box-shadow: none;
    font-size: 1.4rem;
    margin-top: 20px;
}

#login-form button a,
#login-form button a:hover,
#login-form button a:visited {
    text-decoration: none;
    color: #000;
    width: 100%;
}

.btn-yellow {
    background-color: #ECBF4F;
    padding-top: 5px;
}

.btn-green {
    background-color: #4f964f;
    padding-top: 5px;
}

.btn-info {
    background-color: #5079ff;
    padding-top: 5px;
}

.btn-primary {
    background-color: #122d86;
    padding-top: 5px;
}

.btn .material-symbols-outlined.navigation {
    display: inline-block;
    font-size: 14px;
    padding: 0px 5px;
    color: #fff;
}

.category {
    list-style: none;
    padding: 5px;
}

/* .category li {
    padding: 10px;
    border: 1px solid #000;
    margin-bottom: 5px;
}

.category li:nth-child(even) {
    background-color: #d1d1d1;
}

.category li .category_item {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.category li .category_item .name {
    width: 80%;
}

.category li .category_item .name span {
    display: inline-block;
    font-size: 16px;
}

.category li .category_item .buttons {
    text-align: right;
    width: 19%;
} */

.indent-2 {
    margin-left: 20px;
    width: calc(100% - 20px) !important;
}

.indent-3 {
    margin-left: 40px;
    width: calc(100% - 40px) !important;
}

.category .category_item:nth-child(even) {
    background-color: hsl(from var(--content-background) h s calc(l - 20));
}

.category .category_item {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 10px;
    border: 1px solid var(--content-color);
    margin-bottom: 5px;
}

.category .category_item .name {
    width: 80%;
}

.category .category_item .name span {
    display: inline-block;
    font-size: 16px;
}

.category .category_item .buttons {
    text-align: right;
    width: 19%;
}

nav {
    padding-top: 0px;
    margin-top: 0px;
    box-shadow: 5px 0 5px -2px #333;
    width: 300px;
}

nav ul {
    list-style-type: none;
    width: 100%;
    padding: 0;
    margin: 0;
}

nav ul li {
    width: 100%;
    height: 40px;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
}

nav ul li a .material-symbols-outlined {
    font-size: 1.5rem;
    display: inline-block;
    padding-right: 20px;
    margin: 0;
    color: var(--sidebar-color);
}

nav ul li a .nav-title {
    font-size: 1rem;
    display: inline-block;
    color: var(--sidebar-color);
}

nav ul li:hover {
    background-color: hsl(from var(--sidebar-background) h s calc(l - 20));
}

nav ul li.spacer:hover {
    background-color: var(--sidebar-background);
}

nav ul li.active {
    background-color: hsl(from var(--sidebar-background) h s calc(l - 20));
    color: #fff;
}

nav ul li a,
nav ul li a:hover,
nav ul li a:visited {
    text-decoration: none;
    color: #000;
    display: inline-block;
    display: flex;
    flex-direction: row;
    align-items: center;
}

#version-and-copyright {
    position: relative;
    margin-top: 20px;
    margin-left: 20px;
    width: 300px;
    font-size: 0.7rem;
    font-style: italic;
    color: hsl(from var(--sidebar-color) h s calc(l + 20));
}

nav .user {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: bold;
}

#content-wrapper {
    width: calc(100vw - 300px);
    padding: 40px;
    padding-top: 0px;
    margin-top: 0px;
    background-color: var(--content-background);
    color: var(--content-color);
}

#crumb-path {
    background-color: hsl(from var(--sidebar-background) h s calc(l + 8));
    border-bottom: hsl(from var(--sidebar-background) h s calc(l + 50));
    margin: 0px;
    margin-left: -40px;
    margin-right: -40px;
    padding: 10px 40px;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    box-shadow: 2px 0 5px -2px #333;
}

.crumb-path-title {
    font-weight: bold;
    font-size: 20px;
    width: 100%;
    color: var(--sidebar-color);
}

.crumb_splitter {
    display: inline-block;
    font-size: 14px;
    padding: 0px 10px;
    color: hsl(from var(--sidebar-color) h s calc(l + 10));
}

#crumb-path #path {
    display: flex;
    flex-direction: row;
    margin-top: 10px;
}

.crumb-path-subtitle {
    font-style: italic;
    color: hsl(from var(--sidebar-color) h s calc(l + 10));
    font-size: 12px;
}

#crumb-path #path a:visited,
#crumb-path #path a:hover,
#crumb-path #path a {
    display: inline-block;
    text-decoration: none;
    margin-top: 0px;
    padding-top: 0px;
    font-size: 12px;
}

a.category_overview_link:visited,
a.category_overview_link:hover,
a.category_overview_link {
    color: #000;
    text-decoration: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    padding: 10px;
    margin-bottom: 40px;
}

table th {
    padding: 10px;
    text-align: left;
}

tr:nth-child(odd) {
    background-color: var(--content-background);
}

tr:nth-child(even) {
    background-color: hsl(from var(--content-background) h s calc(l - 20));
}

table td {
    padding: 10px;
}

form {
    width: 100%;
    padding: 10px;
}

div.row {
    display: flex;
    flex-direction: row;
    padding: 10px;
}

/* div.row:nth-child(even) {
    background-color: #d1d1d1;
} */


div.row label {
    flex-basis: 20rem;
    line-height: 1.5rem;
}

select,
.form-control,
input[type='password'],
input[type='text'],
input[type='email']  {
    display: block;
    /* width: 100%; */
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.full {
    width: 100%;
}

.form-control-color {
    min-width: 50px;
}

.header-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    justify-items: center;
    margin-bottom: 20px;
}

.header-row h1 {
    margin: 0;
    padding: 0;
}

.header-row a {
    color: #fff;
    text-decoration: none;
}

.footer-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    justify-items: center;
    margin-bottom: 20px;
}

.btn {
    border-radius: 10px;
    border: 0px;
    padding: 10px;
    text-align: center;
    cursor: default;
    max-height: 2.5rem;
}

.btn:hover {
    cursor: -webkit-grab; cursor: grab;
}

.btn-green {
    color: #fff;
    background-color: green;
}

.content-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.content-container .category_overview_link {
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
    min-height: 100%;
}

.content-container .item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid hsl(from var(--content-color) h s calc(l - 10));
    border-radius: 5px;
    text-align: center;
    padding: 20px;
    margin-right: 10px;
    margin-top: 10px;
    min-height: 250px;
    max-width: 240px;
    min-width: 240px;
    text-wrap: balance;
    word-break: break-all;
    color: var(--content-color);
}

.content-container .item .icon {
    min-height: 170px;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.content-container .item .icon a {
    color: var(--content-color);
}

.content-container .item .icon span {
    font-size: 140px;
    color: var(--content-color);
}

.content-container .item img {
    max-width: 150px;
    height: auto;
    justify-content: center;
}

.content-container .item .name {
    font-weight: bold;
    font-size: 14px;
    color: var(--content-color);
}

.content-container .item .name .file_size {
    font-weight: normal;
    font-size: 12px;
    /* color: #7a7a7a; */
    color: hsl(from var(--content-color) h s calc(l - 20));
    margin-top: 10px;
}

.content-container .item .name .name-type {
    font-style: italic;
    font-weight: normal;
    font-size: 11px;
    color: hsl(from var(--content-color) h s calc(l - 20));
}

.content-container  a,
.content-container  a:hover,
.content-container  a:visited {
    text-decoration: none !important;
}

.logo-preview {
    max-width: 200px;
    height: auto;
}

.category_icon {
    height: 200px;
    width: auto;
}

.download-container {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.nav-option {
    border: 1px solid hsl(from var(--content-color) h s calc(l - 10));
    border-radius: 5px;
    display: flex;
    justify-items: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    min-width: 150px;
    max-width: 150px;
    text-align: center;
    vertical-align: middle;
    color: var(--content-color);
}

.nav-option .icon {
    min-height: 110px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: var(--content-color);
}

.nav-option .icon span {
    font-size: 100px;
}

.nav-option  .name {
    font-weight: bold;
    font-size: 14px;
    color: var(--content-color);
    margin-bottom: 20px;
    padding-left: 5px;
    padding-right: 5px;
    min-height: 60px;
    align-items: center;
    justify-items: center;
    display: inline-block;
    vertical-align: middle;
}

li.nav-title:hover,
li.nav-title {
    background-color: var(--header-background);
    color: var(--header-color);
    margin-top: 5px;
}

/* .content-container {
    display: flex;
    flex-direction: row;
} */

.titlebar {
    background-color: var(--header-background);
    color: var(--header-color);
}

.form-card form {
    padding: 0;
    margin: 0;
}

.form-card .title {
    font-size: 16px;
    font-weight: bold;
    /* background-color: #1a3a52; */
    background-color: var(--header-background);
    color: var(--header-color);
    padding: 10px;
}

.form-card .body form > * {
    border-bottom: 1px solid var(--content-color);
}

.icon-picker {
    max-width: 550px;
    max-height: 250px;
    overflow: scroll;
    margin-top: 20px;
    margin-bottom: 20px;
}

.icon-picker .material-icons {
    font-size: 30px;
    cursor: pointer;
    border-radius: 50%;
    padding: 10px;
    margin: 3px;
    transition: .2s;
}

.icon-picker .material-icons .material-symbols-outlined {
    padding: 5px;
}

.toggle {
    --width: 80px;
    --height: calc(var(--width) / 3);

    position: relative;
    display: inline-block;
    width: var(--width);
    height: var(--height);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
    border-radius: var(--height);
    cursor: pointer;
}

.toggle input {
    display: none;
}

.toggle .slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--height);
    background-color: #ccc;
    transition: all 0.4s ease-in-out;
}

.toggle .slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(var(--height));
    height: calc(var(--height));
    border-radius: calc(var(--height) / 2);
    background-color: #fff;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease-in-out;
}

.toggle input:checked+.slider {
    background-color: #2196F3;
}

.toggle input:checked+.slider::before {
    transform: translateX(calc(var(--width) - var(--height)));
}

.toggle .labels {
    position: absolute;
    top: 6px;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 12px;
    font-family: sans-serif;
    transition: all 0.4s ease-in-out;
}

.toggle .labels::after {
    content: attr(data-off);
    position: absolute;
    right: 20px;
    color: #4d4d4d;
    opacity: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease-in-out;
}

.toggle .labels::before {
    content: attr(data-on);
    position: absolute;
    left: 20px;
    color: #ffffff;
    opacity: 0;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.4);
    transition: all 0.4s ease-in-out;
}

.toggle input:checked~.labels::after {
    opacity: 0;
}

.toggle input:checked~.labels::before {
    opacity: 1;
}

.draggable {
    cursor: move;
}

.draggable.dragging {
    opacity: .5;
}

.drop-zone {
    background-color: #4190cc;
    border: 2px dotted red !important;
    display: none;
}

.drop-zone.active {
    display: block;
}

.alert {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 5px;
}

.alert-danger {
    border: 1px solid #ebccd1;
    background: #f2dede;
    color: #a94442;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

#dashboard a,
#dashboard {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
    color: var(--content-color);
}

#dashboard .item {
    display: flex;
    flex-direction: column;
    justify-content: left;
    border: 1px solid hsl(from var(--content-color) h s calc(l - 10));
    border-radius: 5px;
    text-align: center;
    padding: 20px;
    margin-right: 10px;
    margin-top: 10px;
    min-height: 20px;
    max-width: 48%;
    min-width: 48%;
    text-wrap: balance;
    word-break: break-all;
    color: var(--content-color);
}

#dashboard .item .item-content {
    display: flex;
    flex-direction: row;
}

#dashboard .item .item_children {
    display: flex;
    flex-direction: column;
    justify-content: left;
}

#dashboard .item .item_children .subitem {
    display: flex;
    flex-direction: row;
    justify-content: left;
}

#dashboard span {
    color: var(--content-color);
    padding-right: 10px;
}

#dashboard .indent {
    padding-left: 30px;
}

#dashboard .file_icon {
    max-width: 20px;
    max-height: 20px;
    width: 20px;
    height: auto;
    margin-right: 10px;
}

.more-link {
    font-style: italic;
    font-size: 14px;
    text-decoration: none;
}

.search-table {
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    border: 0;
    padding-top: 20px;
    padding-bottom: 20px;
}

.search-group {
    display: flex;
    flex-direction: column;
    width: 24%;
    border: 0;
}

.search-button {
    text-align: right;
    max-width: 25%;
    float: right;
    margin-bottom: 20px;
}

.validated {
    background-color: #90EE90;
}

.dashboard-box {
    background-color: var(--sidebar-background);
}