/* FARBEN */
:root {
    --blue: #5E50F9;
    --indigo: #6610f2;
    --purple: #6a008a;
    --pink: #E91E63;
    --red: #f96868;
    --orange: #f2a654;
    --yellow: #f6e84e;
    --green: #46c35f;
    --teal: #58d8a3;
    --cyan: #57c7d4;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-dark: #434a54;
    --gray-darkest: #12151e;
    --gray-light: #aab2bd;
    --gray-lighter: #e8eff4;
    --gray-lightest: #e6e9ed;
    --black: #000000;

    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    --transition-speed: 600ms;

    --text-primary: #1f1f1f;
    --text-secondary: #000000;
    --bg-navbar: #C0C0C0;
    --bg-primary: #ffffff;
    --bg-secondary: #e4e4e4;
    --bg-success: #00d25b;
    --bg-info: #8f5fe8;
    --bg-warning: #ffab00;
    --bg-danger: #DC143C;
    --bg-webkit-scrollbar-track: #1e1e24;
    --bg-webkit-scrollbar-thumb: #6649b8;
    --bg-btn-hover: #4682B4;
    --bg-card: #FFA07A;
    --border-card: rgba(205, 92, 92, .125);
    --bg-input: #FFFACD;
    --bg-content: #F0E68C;
    --bg-tile: #DAF7A6;
}

.dark {
    --text-primary: #b6b6b6;
    --text-secondary: #ececec;
    --bg-navbar: #2F4F4F;
    --bg-primary: #23232e;
    --bg-secondary: #141418;
    --bg-success: #008B8B;
    --bg-info: #4682B4;
    --bg-warning: #FF8C00;
    --bg-danger: #B22222;
    --bg-webkit-scrollbar-track: #483D8B;
    --bg-webkit-scrollbar-thumb: #8B008B;
    --bg-btn-hover: #191970;
    --bg-card: #191c24;
    --border-card: rgba(0, 0, 0, .125);
    --bg-input: #2a3038;
    --bg-content: #000;
    --bg-tile: #212E09;
}

.light {
    --text-primary: #1f1f1f;
    --text-secondary: #000000;
    --bg-navbar: #C0C0C0;
    --bg-primary: #ffffff;
    --bg-secondary: #e4e4e4;
    --bg-success: #00d25b;
    --bg-info: #8f5fe8;
    --bg-warning: #ffab00;
    --bg-danger: #DC143C;
    --bg-webkit-scrollbar-track: #1e1e24;
    --bg-webkit-scrollbar-thumb: #6649b8;
    --bg-btn-hover: #4682B4;
    --bg-card: #FFA07A;
    --border-card: rgba(205, 92, 92, .125);
    --bg-input: #FFFACD;
    --bg-content: #F0E68C;
    --bg-tile: #DAF7A6;
}

/* DESIGN */
.col-1 {
    width: 8.33%;
}

.col-2 {
    width: 16.66%;
}

.col-3 {
    width: 25%;
}

.col-4 {
    width: 33.33%;
}

.col-5 {
    width: 41.66%;
}

.col-6 {
    width: 50%;
}

.col-7 {
    width: 58.33%;
}

.col-8 {
    width: 66.66%;
}

.col-9 {
    width: 75%;
}

.col-10 {
    width: 83.33%;
}

.col-11 {
    width: 91.66%;
}

.col-12 {
    width: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
}

body {
    color: var(--text-primary);
    background-color: var(--bg-primary);
    margin: 0;
    padding: 0;
}

body::-webkit-scrollbar {
    width: 0.25rem;
}

body::-webkit-scrollbar-track {
    background: var(--bg-webkit-scrollbar-track);
}

body::-webkit-scrollbar-thumb {
    background: var(--bg-webkit-scrollbar-thumb);
}

main {
    margin-left: 5rem;
    /*padding: 1rem;*/
}

.navbar {
    position: fixed;
    background-color: var(--bg-navbar);
    transition: width 600ms ease;
    overflow: auto;
    z-index: 10;
}

.navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.nav-item {
    width: 100%;
}

.nav-item:last-child {
    margin-top: auto;
}

.nav-link {
    display: flex;
    align-items: center;
    height: 5rem;
    color: var(--text-primary);
    text-decoration: none;
    filter: grayscale(100%) opacity(0.7);
    transition: var(--transition-speed);
}

.nav-link:hover {
    filter: grayscale(0%) opacity(1);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: 0 20px 20px 0;
}

.link-text {
    display: none;
    margin-left: 1rem;
}

.nav-link svg {
    width: 2rem;
    min-width: 2rem;
    margin: 0 1.5rem;
}

.logo {
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    font-size: 1.5rem;
    letter-spacing: 0.3ch;
    width: 100%;
}

.logo svg {
    transform: rotate(0deg);
    transition: var(--transition-speed);
}

.logo-text {
    display: inline;
    position: absolute;
    left: -999px;
    transition: var(--transition-speed);
}

.navbar:hover .logo svg {
    transform: rotate(0deg);
}

li.nav-item > a.nav-link > span > i {
    font-size: 32px;
    margin-left: 10px;
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    border-radius: 10px;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-success {
    background: var(--bg-success);
    color: var(--text-secondary);
}

.btn-danger {
    background: var(--bg-danger);
    color: var(--text-secondary);
}

.btn-info {
    background: var(--bg-info);
    color: var(--text-secondary);
}

.btn-primary {
    background: var(--bg-info);
    color: var(--text-secondary);
}

.btn-light.active, .btn-light.active:hover {
    background: var(--bg-info);
    color: var(--text-secondary);
}

.btn-light:hover {
    background: var(--bg-btn-hover);
    color: var(--text-secondary);
}

tr:hover td:not(.pag), tr:hover td:not(.pag) > a, tr:hover td:not(.pag) > a:visited {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.table {
    width: 100%;
    font-size: 20px;
}

.table tr:not(.fancySearchRow) > th {
    background-color: var(--bg-info);
    color: var(--text-secondary);
}

.table tr:nth-child(2n+1) td:not(.pag) {
    background-color: var(--bg-secondary);
}

a, a:visited {
    color: var(--text-primary);
}

.card .card-body {
    padding: 1.75rem 1.5625rem;
}

.card-body {
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 5px;
    word-wrap: break-word;
    background-color: var(--bg-card);
    background-clip: border-box;
    border: 1px solid var(--border-card);
    border-radius: 0.3125rem;
}

label {
    display: inline-block;
}

.form-group label {
    font-size: .875rem;
    line-height: 1;
    vertical-align: top;
    margin-bottom: 0.5rem;
}

.col-form-label {
    padding-top: calc(0.875rem + 1px);
    padding-bottom: calc(0.875rem + 1px);
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1;
}

.auth button {
    font-size: 0.875rem;
}

.auth form .auth-form-btn {
    padding: 1rem 3rem;
    line-height: 1.5;
}

.card .card-title {
    color: var(--text-primary);
    margin-bottom: 1.125rem;
    text-transform: capitalize;
    font-weight: 500;
    /*font-size: 1.125rem;*/
}

label input, select, .form-control {
    border: 1px solid var(--bg-primary);
    font-size: .875rem;
    font-weight: 400;
    padding: 0.625rem 0.6875rem;
    background-color: var(--bg-input);
    border-radius: 2px;
}

.form-control {
    display: block;
    width: 100%;
    /*height: 2.875rem;*/
    padding: 0.56rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    background-clip: padding-box;
    border: 1px solid var(--bg-content);
    border-radius: 2px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.font-weight-light {
    font-weight: 300;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left !important;
}

.content-wrapper {
    background: var(--bg-content);
    padding: 1.875rem 1.75rem;
    width: 100%;
    -webkit-flex-grow: 1;
    flex-grow: 1;
}

.blockquote {
    padding: 1.25rem;
    border: 1px solid var(--bg-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.blockquote-danger {
    border-color: var(--bg-danger);
}

.blockquote-info {
    border-color: var(--bg-info);
}

.blockquote-success {
    border-color: var(--bg-success);
}

.blockquote-warning {
    border-color: var(--bg-warning);
}

.align-items-center {
    align-items: center !important;
}

.align-content-center {
    align-content: center;
}

.d-flex {
    display: flex;
}

.mx-auto {
    margin-right: auto;
    margin-left: auto;
}

.page-body-wrapper.full-page-wrapper {
    width: 100%;
    min-height: 100vh;
}

.lightGallery .image-tile,
.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
.col-xl-auto {
    position: relative;
    width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}

.col {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
}

.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl {
    width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    margin-right: auto;
    margin-left: auto;
}

.hidden {
    display: none;
}

.btn-marge {
    margin-bottom: 0.6rem;
    margin-left: 0.6rem;
}

/* Small screens */
@media only screen and (max-width: 600px) {
    .navbar {
        bottom: 0;
        width: 100vw;
        height: 5rem;
    }

    .logo {
        display: none;
    }

    .navbar-nav {
        flex-direction: row;
    }

    .nav-link {
        justify-content: center;
    }

    main {
        margin: 0;
        padding: 1rem;
    }

    li.nav-item > a.nav-link > span > i {
        font-size: 22px;
        margin-left: 5px;
    }

    .table {
        font-size: 14px;
        display: block;
    }
}

/* Large screens */
@media only screen and (min-width: 600px) {
    .navbar {
        top: 0;
        width: 5rem;
        height: 100vh;
    }

    .navbar:hover {
        width: 16rem;
    }

    .navbar:hover .link-text {
        display: inline;
    }

    .navbar:hover .logo svg {
        margin-left: 11rem;
    }

    .navbar:hover .logo-text {
        left: 0;
    }
}

.theme-icon {
    display: none;
}

.dark #darkIcon {
    display: block;
}

.light #lightIcon {
    display: block;
}

.icon {
    fill: url(#rainbow);
}


/* Tags */
.tags-input-wrapper {
    background: transparent;
    padding: 10px;
    border-radius: 4px;
    max-width: 400px;
    border: 1px solid #ccc
}

.tags-input-wrapper input {
    border: none;
    background: transparent;
    outline: none;
    width: 150px;
}

.tags-input-wrapper .tag {
    display: inline-block;
    background-color: #fa0e7e;
    color: white;
    font-size: 14px;
    border-radius: 40px;
    padding: 0 3px 0 7px;
    margin-right: 5px;
    margin-bottom: 7px;
    box-shadow: 0 5px 15px -2px rgba(250, 14, 126, .7)
}

.tags-input-wrapper .tag a {
    margin: 0 7px 3px;
    display: inline-block;
    cursor: pointer;
}

/* Kacheln */

.kachel-container {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(200px, 1fr));
}

.kachel-tile {
    height: 210px;
    flex-direction: row;
    border: 2px solid black;
    border-radius: 20px;
    margin: 0 12px 24px;
    text-align: center;
    background-color: var(--bg-tile);
}

.kachel-tile i {
    font-size: 4em;
    margin-top: 10px;
}

.kachel-tile:empty {
    order: 999999999999999999999;
    height: 0;
    border: 0;
}