/* Project-wide style */

/* FONTS */

/* Open Sans */
@font-face {
    font-family: 'Open Sans';
    src: url("/static/base/fonts/Open_Sans/static/OpenSans-Light.c87e3b21e46c.ttf") format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url("/static/base/fonts/Open_Sans/static/OpenSans-LightItalic.07f95dc31e4f.ttf") format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url("/static/base/fonts/Open_Sans/static/OpenSans-Regular.931aebd37b54.ttf") format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url("/static/base/fonts/Open_Sans/static/OpenSans-Italic.60fdf6ed7b49.ttf") format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url("/static/base/fonts/Open_Sans/static/OpenSans-Medium.dac0e601db6e.ttf") format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url("/static/base/fonts/Open_Sans/static/OpenSans-MediumItalic.349744a19050.ttf") format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url("/static/base/fonts/Open_Sans/static/OpenSans-SemiBold.e2ca235bf1dd.ttf") format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url("/static/base/fonts/Open_Sans/static/OpenSans-SemiBoldItalic.223ce0be939c.ttf") format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url("/static/base/fonts/Open_Sans/static/OpenSans-Bold.0a191f836026.ttf") format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url("/static/base/fonts/Open_Sans/static/OpenSans-BoldItalic.3dc8fca5496b.ttf") format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url("/static/base/fonts/Open_Sans/static/OpenSans-ExtraBold.f0af8434e183.ttf") format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url("/static/base/fonts/Open_Sans/static/OpenSans-ExtraBoldItalic.ae6ca7d3e0ab.ttf") format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}


/* INTER */

@font-face { 
    font-family: 'Inter'; 
    src: url("/static/base/fonts/Inter/Inter-VariableFont_opsz,wght.0a77e23a8fdb.ttf") format('truetype'); 
    font-weight: 100 900; 
    font-style: normal; 
    font-display: swap;
} 

@font-face { 
    font-family: 'Inter'; 
    src: url("/static/base/fonts/Inter/Inter-Italic-VariableFont_opsz,wght.6dce17792107.ttf") format('truetype'); 
    font-weight: 100 900; 
    font-style: italic; 
    font-display: swap;
}



/* ROOT */

:root {
    --background-nav: var(--light-gray);
    --nav-color: var(--primary-color); /* 78, 97, 160 */

    --body-background: 255, 255, 255;

    --btn-color: 255, 255, 255;
    --btn-bg: var(--primary-color);
    --btn-border: var(--btn-bg);
    --btn-hover-color: 255, 255, 255;
    --btn-hover-bg: var(--primary-color), 0.75;
    --btn-hover-border: var(--btn-hover-bg);
    --btn-2-color : var(--primary-color);
    --btn-2-bg : 255, 255, 255;
    --btn-2-hover-color : var(--primary-color);
    --btn-2-hover-bg : 255, 255, 255, 0.75;
    --btn-red-color : 255, 255, 255;
    --btn-red-bg : var(--accent-dark-red);
    --btn-red-hover-color : 255, 255, 255;
    --btn-red-hover-bg : var(--accent-red);
    --btn-green-color: 255, 255, 255;
    --btn-green-bg: var(--accent-light-green);
    --btn-green-hover-color: 255, 255, 255;
    --btn-green-hover-bg: var(--accent-lighter-green);
    --btn-cancel-bg: 226, 231, 238;
    --btn-cancel-color: 20, 75, 132;

    --btn-light-gray-color: 226, 231, 238;
    --btn-light-gray-bg: 20, 75, 132;

    --primary-color: 2, 53, 60; /*50, 58, 69*/
    --secondary-color: 51, 51, 51;
    --primary-accent: 253, 217, 0;
    --accent-light-green: 46, 175, 125;
    --accent-lighter-green: 131, 188, 158;
    --accent-light-blue: 63, 208, 201;
    --accent-lighter-blue: 231, 249, 251; /*191, 244, 235;*/
    --gray: 209, 209, 209;

    --primary-red: 159, 17, 17;
    --accent-red: 236, 78, 67;
    --accent-dark-red: 202, 66, 56;

    --primary-black: 0, 0, 0;
    --primary-yellow: 250, 199, 16;
    --primary-green: 9, 225, 192;

    --primary-blue: 52, 86, 149;
    --accent-light-blue: 241, 247, 255;
    --accent-base-blue: 226, 231, 238;
    --accent-blue-80: 60, 104, 150;

    --light-gray: 241, 245, 254;
    --neutral-gray: 203, 213, 225;
    --dark-gray: 109, 118, 136;

    --form-background: var(--primary-color), 0.15;
    --form-input-bg: 255, 255, 255, 0;
    --form-input-border: var(--primary-color);

    --wa-color: 29, 193, 62;
    --text-color: var(--primary-color);
    --text-color-inv: 255, 255, 255;
    --text-color-gray: 122, 125, 142;

    --grain-uri: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjXqyC1krcKdhMpxEnt5JetoulscpyzhXN5FRpuPHvbeQaKxFAEB6EN+cYN6xD7RYGpXpNndMmZgM5Dcs3YSNFDHUo2LGfZuukSWyUYirJAdYbF3MfqEKmjM+I2EfhA94iG3L7uKrR+GdWD73ydlIB+6hgref1QTlmgmbM3/LeX5GI1Ux1RWpgxpLuZ2+I+IjzZ8wqE4nilvQdkUdfhzI5QDWy+kw5Wgg2pGpeEVeCCA7b85BO3F9DzxB3cdqvBzWcmzbyMiqhzuYqtHRVG2y4x+KOlnyqla8AoWWpuBoYRxzXrfKuILl6SfiWCbjxoZJUaCBj1CjH7GIaDbc9kqBY3W/Rgjda1iqQcOJu2WW+76pZC9QG7M00dffe9hNnseupFL53r8F7YHSwJWUKP2q+k7RdsxyOB11n0xtOvnW4irMMFNV4H0uqwS5ExsmP9AxbDTc9JwgneAT5vTiUSm1E7BSflSt3bfa1tv8Di3R8n3Af7MNWzs49hmauE2wP+ttrq+AsWpFG2awvsuOqbipWHgtuvuaAE+A1Z/7gC9hesnr+7wqCwG8c5yAg3AL1fm8T9AZtp/bbJGwl1pNrE7RuOX7PeMRUERVaPpEs+yqeoSmuOlokqw49pgomjLeh7icHNlG19yjs6XXOMedYm5xH2YxpV2tc0Ro2jJfxC50ApuxGob7lMsxfTbeUv07TyYxpeLucEH1gNd4IKH2LAg5TdVhlCafZvpskfncCfx8pOhJzd76bJWeYFnFciwcYfubRc12Ip/ppIhA1/mSZ/RxjFDrJC5xifFjJpY2Xl5zXdguFqYyTR1zSp1Y9p+tktDYYSNflcxI0iyO4TPBdlRcpeqjK/piF5bklq77VSEaA+z8qmJTFzIWiitbnzR794USKBUaT0NTEsVjZqLaFVqJoPN9ODG70IPbfBHKK+/q/AWR0tJzYHRULOa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==);
    --padding-top-header: 75px;

    /*  VOKASI COLORS  */

    --vokasi-green: 31, 162, 102;
    --vokasi-orange: 232, 148, 57;
    --vokasi-blue: 59, 66, 145;
}

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

html {
    width: 100%;
    scroll-snap-type: y mandatory;
    scroll-padding: var(--padding-top-header);
    scroll-behavior: smooth;

    color: rgb(var(--text-color));

    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'Open Sans', sans-serif;
    width: 100%;
    margin: 0;
    background: rgb(var(--body-background));
    font-weight: 400;

    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100dvh;

    overflow-x: hidden;

/*    background: var(--grain-uri), linear-gradient(-110deg, rgba(63,208,201,1) 0%, rgba(46,175,125,1) 10%, rgba(68,147,66,1) 35%, rgba(30,89,64,1) 65%, rgba(2,53,60,1) 90%);*/

    scroll-snap-type: y mandatory;
    scroll-padding: var(--padding-top-header);
    scroll-behavior: smooth;
}  

.content-container {
    font-size: 0.7em;
    padding-top: var(--padding-top-header);
    position: relative;
    width: 100%;
    height: 100%;
}

.content {
    position: relative;
    width: 100%;
}

.content h1 {
    margin: 0.4em 0 0.4em 0;
}

/* Navigation */

header {
    display: grid;
    grid-template-columns: 0.001fr minmax(100px, 1fr) auto auto 0.01fr;
    grid-row: 1 / 2;

    gap: 0.75em;

    background: rgb(var(--background-nav));
/*    background: var(--grain-uri), linear-gradient(-110deg, rgba(63,208,201,1) 0%, rgba(46,175,125,1) 10%, rgba(68,147,66,1) 40%, rgba(30,89,64,1) 80%, rgba(2,53,60,1) 100%);*/
    position: fixed;
    text-align: left;
    z-index: 1000;
    width: 100%;

    box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.4);

    min-height: 75px;

    transition: background 0.2s ease-in-out;
}

header.header-transparent {
    background-color: transparent;
    box-shadow: none;
}

nav {
    text-align: center;
    top: 100%;
    width: 100%;

    border-radius: 0 0 1em 1em;
    /*overflow-y: scroll;
    overflow-x: hidden;*/
    max-height: 75vh;
    box-shadow: 0px 3px 16px rgba(0, 0, 0, 0.2);

    grid-column: 3 / 4;
    display: flex;
    justify-content: flex-end;
    align-items: center;

    box-shadow: none;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;

    border: 0px black solid;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.6em;
}

nav li {
    padding: 0.8em 0;
    border: 0px black solid;
}

nav a {
    position: relative;
    color: rgb(var(--nav-color));
    text-decoration: none;
    font-size: 1em;
    font-style: normal;
    font-weight: bold;
    transition: opacity 0.15s ease-in-out;

    width: 100%;
    height: 100%;
    display: block;
    text-align: left;

    opacity: 1;
    padding: 0.2em;
}

nav .button {
    font-size: 0.9em;
    padding: 0.6em 0.9em;
    width: fit-content;
}

nav .button.with-icon span {
    width: fit-content;
    white-space: nowrap;
}

.nav-only-desktop {
    display: none;
}

.nav-only-mobile {
    display: block;
}

.nav-dropdown-anchor {
    position: relative;
    background: rgb(var(--neutral-gray));
    padding: 0.5em 0.8em;
    border-radius: 0.75em;
    box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.4);

}

.nav-dropdown-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 1em;
}

nav .nav-dropdown-buttons a {
    width: 80%;
    text-align: center;
    background: white;
    border: 3px solid #EBEBEB;
}

nav .nav-dropdown-buttons a {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav .nav-dropdown-buttons a object {
    padding-right: 0.5em;
    pointer-events: none;
}

nav .nav-dropdown-buttons .btn-dashboard {
    color: rgb(var(--button-black));
}

nav .nav-dropdown-buttons .btn-keluar {
    color: rgb(var(--button-red));
}

/*
nav a:not(.not-text)::after {
    content: '';
    display: block;
    position: absolute;
    height: 2px;
    left: 1px;
    right: 1px;
    top: 90%;
    background: rgb(var(--accent));
    transform: scale(0);
    transform-origin: left;
    transition: transform 0.4s ease-in-out;
}

nav a:hover::after {
    transform: scale(1);
}
*/

.logo {
    grid-column: 2 / 3;
    text-decoration: none; 
    color: rgb(var(--nav-color)); 
    margin: 0 0 0 0.25em;
    white-space: nowrap;
    font-size: 1.2em;

    display: flex;
    align-items: center;
    width: fit-content;
}

.nav-toggle,
.modal-toggle {
    display: none;
}

.nav-toggle:checked ~ nav {
    transform: scale(1, 1);
}

.nav-toggle:checked ~ nav a {
    opacity: 1;
    transition: opacity 0.25s 0.25s ease-in-out;
}

.nav-toggle-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    grid-column: 4 / 5;
    
    height: 3.5em;

    cursor: pointer;
}

.nav-toggle:checked ~ #sidebar .nav-toggle-label {
    background: rgb(var(--neutral-gray));
}

.nav-toggle-label.profile {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    padding: 0 0.6em;
    border-radius: 1em;
}

.nav-toggle-label.profile:hover {
    background-color: rgb(var(--primary-color), 0.2);
}

.nav-toggle-label.profile > div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2.5em;
    width: 2.5em;
    border-radius: 50%;
    background-color: var(--user-profile-color, rgb(var(--primary-color)));
    color: white;
    font-weight: bold;
}

.nav-toggle-label.profile > p {
    font-weight: bold;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: 12em;
}


/* SIDEBAR NAVIGATION */

#sidebar {
    position: fixed;
    z-index: 1000;
    background: transparent;

    box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.4);

    right: auto;
    left: 100%;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 250px;
    max-width: 80%;

    display: flex;
    flex-direction: column;

    transition: transform 0.3s ease-in-out;
}

#nav-toggle:checked ~ #sidebar {
    transform: translateX(-100%);
}

#sidebar-header {
    position: relative;
    display: grid;
    grid-template-columns: 0.015fr auto 50px 0.015fr;
    height: 75px;
    padding: 0 0.5em;
    background: white;

    box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

#sidebar #sidebar-header .logo {
    grid-column: 2 / 3;
    margin: 0 0 0 0.25em;
}

#sidebar #sidebar-header .logo h5 {
    max-width: max(25vw, 100%);
    white-space: pre-wrap;
    word-break: break-word;

    height: 1.6em;
    overflow: hidden;
}

#sidebar #sidebar-header .nav-toggle-label {
    grid-column: 3 / 4;
    height: 2.6em;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;
}

#sidebar #sidebar-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: calc(100% - 75px);
}

#sidebar #sidebar-content ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#sidebar #sidebar-content #sidebar-content-top {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    background: rgba(255, 255, 255, 1);
    padding-top: 0.5em;
}

#sidebar #sidebar-content #sidebar-content-top > li {
    width: 100%;
    border-bottom: 1px solid rgb(var(--primary-color));
}

#sidebar #sidebar-content ul > li .nav-label {
    display: grid;
    place-items: center start;
    grid-template-columns: 2.2em 1fr 1em;

    padding: 0.5em 0.5em 0.5em 1.5em;
    width: 100%;
    color: white;
    min-height: 3.5em;
    color: rgb(var(--primary-color));
    font-weight: bold;
    font-size: 0.9em;

    word-break: break-word;
    text-decoration: none;

    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

#sidebar #sidebar-content ul > li .nav-label.no-icon {
    grid-template-columns: 1fr;
}

#sidebar #sidebar-content ul > li:hover > .nav-label,
#sidebar #sidebar-content ul > li.selected > .nav-label,
#sidebar #sidebar-content ul > li > input:checked + .nav-label,
#sidebar #sidebar-content ul > li:hover > input:checked + label.nav-label {
    background: rgb(var(--primary-color));
    color: rgb(var(--text-color-inv));
}

#sidebar #sidebar-content #sidebar-content-top > li > label.nav-label .arrow-down {
    margin-left: auto;
    transition: border-top 0.2s ease-in-out, transform 0.3s ease-in-out;
    --arrow-color: rgb(var(--primary-color));
}

#sidebar #sidebar-content #sidebar-content-top > li:hover > label.nav-label .arrow-down,
#sidebar #sidebar-content #sidebar-content-top > li > input:checked + label.nav-label .arrow-down {
    --arrow-color: white;
}

#sidebar #sidebar-content #sidebar-content-bottom {
    box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.4);
    background: rgb(255, 255, 255, 1);
}

#sidebar #sidebar-content #sidebar-content-bottom > li {
    width: 100%;
    border-bottom: 1px solid rgb(var(--primary-color), 0.4);
}

#sidebar #sidebar-content > ul > li .nav-label > svg {
    margin-right: 0.5em;
}

#sidebar #sidebar-content > ul > li > input {
    display: none;
}

#sidebar #sidebar-content > ul > li .more-options {
    width: 100%;
/*    background: rgb(var(--primary-color));*/

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    max-height: 0em;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);

    overflow: hidden;

    cursor: default;
}

#nav-toggle:checked ~ #sidebar #sidebar-content #sidebar-content-top > li > input:checked ~ .more-options {
    max-height: 150vh;
    transition: max-height 1s ease-in-out;
}

#nav-toggle:checked ~ #sidebar #sidebar-content #sidebar-content-top > li > input:checked + .nav-label .arrow-down {
    transform: rotate(180deg);
}

#sidebar #sidebar-content > ul > li .more-options > li {
    background: white;
    border-top: 1px solid rgb(var(--primary-color));
    border-left: 1px solid rgb(var(--primary-color));
    margin-left: 3em;
    width: calc(100% - 3em);
}

#sidebar #sidebar-content > ul > li .more-options > li > .nav-label {
    padding: 0.5em 1em;
}

#sidebar #sidebar-content > ul > li .more-options > li > .nav-label:hover {
    background-color: rgb(var(--accent-base-blue));
    color: rgb(var(--primary-color));
}


.sidebar-vokasi-colors {
    position: absolute;
    top: 0;
    left: 0;
    height: 0.5em;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.sidebar-vokasi-colors .green {
    background-color: rgb(var(--vokasi-green));
}

.sidebar-vokasi-colors .orange {
    background-color: rgb(var(--vokasi-orange));
}

.sidebar-vokasi-colors .blue {
    background-color: rgb(var(--vokasi-blue));
}




/* footer */

footer {
    grid-row: 3 / 4;

    background: var(--background-footer);
    position: relative;
    text-align: left;
    z-index: 998;
    width: 100%;
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    box-shadow: 0px -2px 16px rgba(0, 0, 0, 0.2);
    font-size: 1rem;

    min-height: 50px;
}

.footer-upper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer1 {
    display: flex;
    margin: 1em 0 0.6em 0;
    grid-column: 1 / 2;
    align-items: center;
    flex-direction: column;
}

.footer1 a img {
    width: 17.25em;
    height: 4.5em;
}

.footer1 div {
    font-size: 0.7rem;
    margin-left: 0.5em;
}

.footer2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
}

.footer2 strong {
    font-size: 0.6em;
}

.footer2 ul {
    margin: 0;
    padding: 0;
    list-style: none;

    display: flex;
    justify-content: flex-end;
}

.footer2 li {
    padding: 0.3em;
}

.footer2 svg {
    width: 24px;
    height: auto;
    color: #666666;
}

.footer2 i:hover, .footer2 a:hover {
    color: var(--accent);
}

.footer3 {
    margin: 0 0 1em 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer3 p {
    font-size: 1rem;
    text-align: center;
    margin: 0.5em;
}

.footer3 p svg {
    vertical-align: bottom;
}


.rico {
    display: inline-block;
    padding: 0.2em 0;
    color: blue;

    position: relative;
    cursor: pointer;
}

.rico:hover {
    text-decoration: underline;
}

.rico > div {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 0.25em;

    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 1em;
    cursor: default;
    padding: 0.5em;
    border: 1px solid rgb(var(--primary-color));
}

.rico:hover > div,
.rico > div:hover {
    display: flex;
}

.rico > div a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rico > div svg {
    color: rgb(var(--primary-color));
}

.rico > div svg:hover {
    color: rgb(var(--wa-color));
}




/* LOADING */

@keyframes loading {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.2);
  }
  100% {
    transform: scale(1);
  }
}


/* LOADING ICON */

.loading-container-full {
    --bg: white;

    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--loading-bg-color, transparent);
    padding: var(--padding, 0);
}

.loading-circle {
    border-radius: 50%;
    width: var(--loading-width, 1em);
    height: var(--loading-width, 1em);
    background: rgb(var(--loading-color, var(--primary-color)));
    margin: 0 0.2em 0 0.2em;
    animation: 1.5s ease-in-out calc(var(--delay) * 0.333s) infinite loading;
}

.loading-container + h3 {
    color: rgb(var(--primary-color));
}

.loading-content-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2em 1em;
}

.loading-description {
    margin-bottom: 2em;
    text-align: center;
}


.progressbar-div {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-self: center;
    align-items: center;
    gap: 0.5em;
    margin: 2em auto 0 auto;
}

.progressbar-rail {
    width: 100%;
    height: 1.5em;
    background-color: rgb(var(--accent-base-blue));
    border-radius: 1.5em;
    overflow: hidden;
}

.progressbar-div .progressbar-status {
    color: rgb(var(--primary-color));
    font-size: 1.1em;
}

.progressbar {
    background-color: rgb(var(--primary-color));
    width: 0%;
    height: 100%;
}



/* button */

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    
    font-size: 1.1em;
    font-weight: bold;

    padding: 0.65em 1em;
    margin: 0.3em 0;

    color: rgb(var(--btn-color));
    background: rgb(var(--btn-bg));
    outline: 1px solid rgb(var(--btn-border));
    border-radius: 1em;

    cursor: pointer;
    text-decoration: none;
    text-align: center;

    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;

    transition: opacity 0.2s ease-in-out, color 0.2s ease-in-out, background 0.2s ease-in-out;
}

.button:hover {
    background: rgb(var(--btn-hover-bg));
    color: rgb(var(--btn-hover-color));
    outline: 1px solid rgb(var(--btn-hover-border));
}

.button.no-hover:hover {
    color: rgb(var(--btn-color));
    background: rgb(var(--btn-bg));
    outline: none;
}

.button.no-hover-outline:hover {
    outline: none;
}

.button.light-hover:hover {
    opacity: 0.8;
    color: rgb(var(--btn-color));
    background: rgb(var(--btn-bg));
    outline: none;
}

.button-disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

/*.button.button-disabled:hover {
    outline: none;
    color: rgb(var(--primary-accent));
    background: rgb(var(--primary-color));
}*/

.button.secondary {
    color: rgb(var(--btn-2-color));
    background: rgb(var(--btn-2-bg));
    border: none;
    outline: none;
}

.button.secondary:hover {
    background: rgb(var(--btn-2-hover-bg));
    color: rgb(var(--btn-2-hover-color));
}

.button.red {
    color: rgb(var(--btn-red-color));
    background: rgb(var(--btn-red-bg));
    border: none;
    outline: none;
}

.button.red:hover {
    background: rgb(var(--btn-red-hover-bg));
    color: rgb(var(--btn-red-hover-color));
}

.button.green {
    color: rgb(var(--btn-green-color));
    background: rgb(var(--btn-green-bg));
    border: none;
    outline: none;
}

.button.green:hover {
    background: rgb(var(--btn-green-hover-bg));
    color: rgb(var(--btn-green-hover-color));
}

a.button {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.button.with-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
}

.button.with-icon img {
    width: 24px;
}

.button.with-icon .button-label {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.08em;
}

.button.with-icon.collapse-on-mobile .button-label,
.button.with-icon.collapse-on-small-mobile .button-label {
    display: none;
}


.button.no-bg {
    background-color: transparent;
    color: rgb(var(--vokasi-green));
    outline: none;
    text-align: left;
    padding: 0.1em;
}

.button.no-bg:hover {
    text-decoration: underline;
}


/* form */

.form-text-control,
.form-choice-control {
    box-sizing: border-box;
    font-family: 'Open Sans';
    background: rgb(var(--form-input-bg));
    outline: 0.125em solid rgb(var(--form-input-border));
    border: none;
    color: rgb(var(--text-color));
    border-radius: 0.5em;
    font-size: 1.1em;
    padding: 0.6em 0.75em;
    margin-bottom: 1em;
    
    width: 100%;
}

.form-text-control:focus,
.form-choice-control:focus,
.form-focused {
    outline-width: 0;
    outline: 0.15em solid rgb(var(--primary-color));

    transition: outline 0.30s ease-in-out;
}

.form-text-control:focus::placeholder {
    color: rgb(var(--primary-color));
}

.form-text-control::placeholder {
    color: rgb(var(--text-color));
    opacity: 0.4;
}

.form-text-control.round,
.form-choice-control.round {
    border-radius: 2em;
}

.form-text-control.disabled {
    opacity: 0.5;
}

.form-text-control.secondary {
    background-color: rgb(255, 255, 255, 0.1);
    outline: 0.125em solid rgb(255, 255, 255);
    color: white;
}

.form-text-control.secondary::placeholder {
    color: rgb(255, 255, 255);
}

.form {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.form-title {
    font-size: 2em;
    margin-top: 0.5em;
}

.form-subtitle {
    font-size: 1.6em;
    margin-top: -0.75em;
    margin-bottom: 0.5em;
}

.form-radio-div {
    --form-radio-color-1: rgb(var(--primary-color));
    --form-radio-color-2: white;
}

.form-radio {
    display: none;
}

input.form-radio + .button.form-radio-label {
    position: relative;
    width: 100%;
    text-align: center;
    background: transparent;
    color: var(--form-radio-color-1);
    outline: 0.1em solid var(--form-radio-color-1);
    border-radius: 2.5em;
    padding-left: 2em;
}

input.form-radio:checked + .button.form-radio-label {
    color: var(--form-radio-color-2);
    background: var(--form-radio-color-1);
}

input.form-radio + .button.form-radio-label::before {
    position: absolute;
    content: '';
    left: 1em;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25em;
    height: 1.25em;
    border-radius: 50%;
    background-color: var(--form-radio-color-2);
    outline: 0.1em solid var(--form-radio-color-1);
    border: 0.2em solid var(--form-radio-color-2);
}

input.form-radio:checked + .button.form-radio-label::before {
    background-color: var(--form-radio-color-1);
}

.form > div {
    text-align: left;
}

.form-label {
    position: relative;
    display: inline-block;
    margin: 0.5em auto 0.2em 0;
    font-size: 1.15em;
}

.form-label.required::after {
    content: '*';
    color: red;
    position: absolute;
    font-size: 1em;
    top: -0.1em;
    right: -0.75em;
}

.form-hidden {
    display: none;
}

.form-section-header {
    width: 100%;
    margin: 1.25em 0 1em 0;
    border-bottom: black solid 0.05em;
    text-align: left;
}

.form-horizontal-fields-container {
    display: grid;
    grid-template-columns: repeat(var(--num-of-fields, 2), 1fr);
    gap: 0.5em 1em;
}

.form-horizontal-fields-container.vertical-on-mobile {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(var(--num-of-fields, 2), 1fr);
}


form[data-form-type=create] .modal-title-edit,
form[data-form-type=edit] .modal-title-create {
    display: none;
}


/* FORM WITH ICONS */

.form-icons-container {
    --icon-width: 4em;

    padding: 0em 0.5em;
    margin-bottom: 1em;
    background: rgb(var(--form-input-bg));
    outline: 0.15em solid rgb(var(--form-input-border));
    border-radius: 2em;
    width: 100%;

    display: flex;
    justify-content: space-around;
    align-items: center;

    transition: border 0.25s ease-in-out;
}

.form-icons-container .icon-container {
    width: var(--icon-width);
    position: relative;
    margin-left: 0em;
    padding: 0.25em 0;

    display: flex;
    justify-content: center;
    align-items: center;
}

.form-icons-container .icon-container > * {
    height: 2.5em;
    margin: auto;
}

.form-icons-container .form-text-input-container {
    width: calc(100% - var(--icon-width));
}

.form-icons-container .form-text-control {
    width: 100%;
    outline: none;
    margin-bottom: 0;
}

.form-icons-container:focus-within {
    outline: 2px solid rgb(var(--primary-color));
}

.form-icons-container .button-container {
    font-size: 0.8em;
}


/* FORM BACKGROUND */

.form-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 1em 0.5em 4em 0.5em;
}

.form-container h1 {
    font-size: 2.5em;
    text-align: left;
}

.form-container .form-background {
    width: 100%;
    padding: 3em 5em;
    border-radius: 1em;
    background: rgba(var(--form-background));
}

.form-container .form-background h1 {
    margin: 0 0 0.6em 0;
    text-align: center;
    color: rgb(var(--text-color));
}

/* Input Inside Input */

.form-text-control.outer {
    padding: 0;
    display: flex;
}

.form-text-control.outer .form-text-control {
    margin: 0;
    border: none;
    outline: none;
}

.form-text-control.outer .button {
    font-size: 0.8em;
    padding: 0.3em 1em;
    margin-right: 0.8em;
    margin-left: 0.8em;
}

.form-text-control.outer .show-hide-pass {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0.75em;
    color: rgb(0, 0, 0, 0.4);
}

.form-text-control.outer .show-hide-pass > svg {
    cursor: pointer;
}

input[type='color'] {
    padding: 0;
    width: 100%;
    height: 2.5em;
    cursor: pointer;
}

/* Additional FORM AUTOFILL CSS */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: rgb(var(--primary-color)) !important;
}


/* FILE INPUT */

.file-upload-label {
    display: grid;
    grid-template-columns: 5em auto;
    place-items: center;
    gap: 0.5em;

    padding: 0em 1em;
    border: 0.15em solid rgb(var(--primary-color));
    background: rgb(var(--primary-color));
    color: rgb(var(--text-color-inv));
    border-radius: 1em;
    cursor: pointer;
}

.file-upload-label .label {
    text-align: left;
}

.file-upload-label .label h3 {
    margin-bottom: 0;
}

.file-upload-label .label p {
    margin-top: 0;
}

.file-upload-label #uploaded-file-name {
    font-weight: bold;
}

.file-upload-label .upload-info {
    width: 100%;
}



/* CHECKBOX SLIDER */

.slider-with-label-container {
  display: flex;
  align-items: center;
}

.slider-with-label-container .form-sub-label {
  margin-left: 0.5em;
}

.slider-container {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.slider-container input[type="checkbox"] { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
     top: 0;
    left: 0;
    right: 0;
     bottom: 0;
     background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input[type="checkbox"]:checked + .slider {
    background-color: rgb(var(--primary-color));
}

input[type="checkbox"]:focus + .slider {
    box-shadow: 0 0 1px rgb(var(--primary-color));
}

input[type="checkbox"]:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}


/* DJANGO MESSAGES */

.messages-container {
    position: fixed;
    top: 2em;
    left: 50%;
    transform: translate(-50%, 0);
    max-width: 90%;
    width: min(800px, 70%);
    z-index: 20000;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1em;
    place-items: center;
}

.messages {
    padding: 0.3em 1em;
    border-radius: 0.75em;
    z-index: 20000;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}

.messages .left-icon {
    cursor: default;
    width: 0.4em;
    height: 0.4em;
    border-radius: 50%;
    margin-right: 0.6em;
}

.messages svg {
    cursor: default;
    margin-right: 0.6em;
}

.messages p {
    margin: 0;
}

.messages span {
    margin-left: 0.5em;
    font-size: 2em;
    margin: 0;
    cursor: pointer;
    color: rgb(0, 0, 0, 0.5);
}

.messages span:hover {
    color: rgb(0, 0, 0);
}

.messages.success-msg {
    background: rgb(var(--accent-lighter-green));
    color: rgb(var(--primary-color));
}

.messages.success-msg .left-icon {
    background: rgb(var(--primary-color));
}

.messages.error-msg {
    background: rgb(var(--primary-red));
    color: white;
}

.messages.error-msg .left-icon {
    background: white;
}

.messages .close-messages {
    margin: -0.25em 0;
    padding: 0;
}

.messages .close-messages:hover {
    opacity: 0.8;
}

.messages.error-msg .close-messages {
    color: white;
}


/* SEARCH BAR */

.search-bar {
    padding: 0em 0.25em;
    border: 2px solid rgb(var(--accent-light-green));
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1.5em;
    font-size: 1em;
    width: 100%;

    transition: border 0.25s ease-in-out;
    background: white;
}

.search-bar input {
    background: transparent;
    width: 100%;
    border: none;
    padding: 0.6em 1em;
}

.search-bar input:focus {
    outline: none;
}

.search-bar:focus-within {
    border: 2px solid rgb(var(--primary-color));
}

.search-bar input:focus::placeholder {
    color: rgb(var(--primary-color));
}

.search-bar div {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5em;
    height: 2.25em;
}

.search-bar div:hover {
    background: rgb(var(--accent-light-blue));
    border-radius: 50%;
}

.search-bar div:active {
    background: rgb(var(--accent-base-blue));
}

.search-bar-and-add-button {
    display: flex; 
    flex-direction: column;
}

.search-bar-and-add-button .header-with-add-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
}

.search-bar-and-add-button .header-with-add-button h1 {
    margin: 0.3em 0;
}

.search-bar-and-add-button .button {
    margin: 0;
    padding: 0.4em 0.75em;
    border-radius: 16px;
}


.filter-and-searchbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 1em;
}

.filter-and-searchbar > * {
    width: 100%;
}

.filter-and-searchbar * {
    margin-top: 0;
    margin-bottom: 0;
}

.filter-and-searchbar > .filter-div {
    display: flex;
    gap: 1em;
}

.filter-and-searchbar > .search-bar-and-more-filter {
    display: flex;
    gap: 0.25em;
}


/* SEARCH BAR WITH FILTER */

.search-bar-with-filter-div {
    display: flex;
    flex-direction: column;
}

.search-bar-with-filter-div .filters-div {
    display: grid;
    grid-template-columns: repeat(var(--num_columns, 2), 1fr);
    grid-column-gap: 0.5em;
    width: 100%;
}

.search-bar-with-filter-div .filters-div > select {
    border: 2px solid rgb(var(--accent-light-green));
    outline: 0;
    margin-top: 0.2em;
    font-size: 1em;
}



/* CATEGORY SELECTOR 2 */

.category-selector-2 {
    width: 100%;
    margin: 1em 0;
}

.user-panel-general-content .category-selector-2 {
    margin: 0;
}

.category-selector-2 .category-selector-rail {
    width: 100%;
    background: rgb(var(--neutral-gray));
    border-radius: 2em;
    overflow: hidden;
}

.category-selector-2 .category-selector-rail .category-selector-rail-inner {
    transition: width 0.2s ease-in-out;
    width: var(--custom-width, calc(100vw - var(--offset-width, 0)));
    margin: 0;
    padding: 0.5em 1em;
    list-style-type: none;

    display: flex;
    gap: 1em;

    overflow-x: auto;
}

.category-selector-2.no-offset .category-selector-rail .category-selector-rail-inner {
    width: 100%;
}

.category-selector-2.full .category-selector-rail-inner {
    justify-content: space-around;
}

.category-selector-2.full .category-selector-rail-inner > .category-selector-2-label {
    width: 100%;
}

.category-selector-2 .category-selector-rail .category-selector-rail-inner > .category-selector-2-label {
    padding: 0.4em 1em;
    font-weight: bold;
    text-wrap: nowrap;

    background: white;
    border-radius: 2em;
    cursor: pointer;
}

.category-selector-2 .category-selector-rail .category-selector-rail-inner > .category-selector-2-label:hover,
.category-selector-2 .category-selector-rail .category-selector-rail-inner > input[type=radio]:checked + .category-selector-2-label,
.category-selector-2 .category-selector-rail .category-selector-rail-inner > .category-selector-2-label.selected {
    background: rgb(var(--primary-color));
    color: rgb(var(--text-color-inv));
}

input.category-selector-2-input {
    display: none;
}

input.category-selector-2-input + .category-selector-div {
    display: none;
}

input.category-selector-2-input:checked + .category-selector-div {
    display: block;
}

input.category-selector-2-input:checked + .category-selector-div.flex {
    display: flex;
}



.category-selector-2.no-bg .category-selector-rail {
    background-color: transparent;
}

.category-selector-2.no-bg .category-selector-rail .category-selector-rail-inner {
    padding: 0em;
}

.category-selector-2.no-bg .category-selector-rail .category-selector-rail-inner > .category-selector-2-label { 
    padding: 0.5em 1em;
    border: 1.5px solid rgb(var(--dark-gray));
}



/* FILTERS */

.filters-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0.5em 0 1em 0;

    width: 87vw;
    overflow-x: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.filters-container::-webkit-scrollbar {
    display: none;
    /*width: 10px;*/
}

.filters-container select {
    margin-right: 1em;
    width: 10em;
    border-radius: 1.25em;
    font-size: 0.8em;
}


/* SEARCH OR FILTER RESULT */

#search-or-filter-result-container {
    width: 100%;
    margin: 0.5em 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

#search-or-filter-result-container .search-or-filter-result-text {
    padding: 0.25em 0;
    color: rgb(var(--primary-color));
    font-size: 0.925em;
}

#search-or-filter-result-container #search-result-text-close {
    margin: 0.2em 0 0em 0.7em;
    cursor: pointer;
    color: rgb(var(--primary-color));
}

#search-or-filter-result-container #search-result-text-close:hover {
    color: rgb(0, 0, 0, 0.6);
}


/* MODAL BOX */

.modal-toggle:checked + .modal {
    display: flex;
}

.modal {
    display: none;
    position: fixed; 
    z-index: 1000000000;
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);

    justify-content: center;
    align-items: center;
}

.modal-container-with-close {
    position: relative;
    width: 90%;
    font-size: 0.8em;

    border-radius: 20px;
    overflow: hidden;
}

.modal-content {
    --modal-background: #fefefe;

    color: rgb(var(--text-color));
    background-color: var(--modal-background);
    margin: auto;
    padding: 1.4em;

    text-align: center;
    max-height: calc(100dvh - 8em);
    overflow-y: auto;
}

.modal-content.with-absolute-buttons {
    padding: 1.4em 1.4em 4.5em 1.4em;
}

.modal-content h1 {
    font-weight: bold;
    padding: 0 1em;
}

.modal-container-with-close .close-modal {
    position: absolute;
    top: 0.6em;
    right: 0.75em;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    background: rgb(var(--primary-red));
    color: white;
    font-size: 1.7em;
    font-weight: bold;
    cursor: pointer;

    z-index: 1000;
}

.modal-container-with-close .close-modal:hover,
.modal-container-with-close .close-modal:focus {
    color: rgb(var(--accent-red));
}

.modal-buttons {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-top: 1em;
}

.modal-buttons a,
.modal-buttons button,
.modal-buttons label {
    width: 40%;
    padding: 0.4em 0.1em;
    font-weight: bold;
    border: none;
}

.modal-buttons a.button {
    margin: 0.5em 0 0.5em 0;
    font-size: 1.1em;
}

.modal-buttons .delete {
    background: rgb(var(--primary-red));
    color: white;
}

.modal-buttons .cancel {
    background: rgb(var(--btn-cancel-bg));
    color: rgb(var(--btn-cancel-color));
}

.modal-buttons.absolute {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--modal-background);
    padding: 0.5em 0;
}


/* Modal Content for FORM */

.modal-content.form-modal-content {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    overflow: hidden;

    --form-buttons-height: 5em;
    position: relative;
    padding-bottom: var(--form-buttons-height);
}

form.form-template,
.modal-content.form-modal-content form.form-template {
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    height: 100%;

    padding: 0.25em 0.5em 0.75em 0.5em;
}

form.form-template,
form.form-template .form-field-div,
.modal-content.form-modal-content form.form-template,
.modal-content.form-modal-content form.form-template .form-field-div {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.form-field-div .form-field-with-label,
.modal-content.form-modal-content form.form-template .form-field-div .form-field-with-label {
    display: flex;
    flex-direction: column;
    width: var(--horizontal-width, 100%);
}

.modal-content.form-modal-content form.form-template .form-field-div .form-field-with-label .field_note,
.modal-content.form-modal-content form.form-template .form-field-div .form-field-with-label .field_note_safe {
    margin: 0.25em 0 0 0;
    white-space: pre-wrap;
}

form.form-template .form-field-div.horizontal,
.modal-content.form-modal-content form.form-template .form-field-div.horizontal {
    display: flex;
    gap: 1em;
    flex-direction: row;
    align-items: center;
}

.modal-content.form-modal-content form.form-template .modal-buttons {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--form-buttons-height);
    padding: 0.75em 0 1.25em 0;
    margin: 0;
}

.modal-content.form-modal-content form.form-template .form-text-control {
    margin: 0;
}

.modal-content.form-modal-content form.form-template .form-error-occured {
    margin-bottom: 0;
}


.modal-content.form-modal-content .form-title {
    font-size: 2em;
    margin: 0.5em 0 0 0;
}

.modal-content.form-modal-content h3.form-subtitle {
    font-size: 1.6em;
    margin: 0;
}

.modal-content.form-modal-content p.form-subtitle {
    font-size: 1.25em;
    margin: 0;
}

.modal-content.form-modal-content div.form-subtitle {
    font-size: 1.4em;
    margin: 0;
    white-space: pre-wrap;
}

.modal-content.form-modal-content div.form-subtitle .tag {
    white-space: normal;
}

.file-form-field {
    display: none;
}


/* hideshow-input */

.hideshow-input {
    display: none;
}

.hideshow-input + * {
    display: none;
}

.hideshow-input:checked + * {
    display: block;
}

.hideshow-input.show-flex:checked + * {
    display: flex;
}

.hideshow-input-max-height {
    display: none;
}

.hideshow-input-max-height + * {
    max-height: 0;
    overflow-y: hidden;

    transition: max-height 0.2s cubic-bezier(0, 1, 0, 1);
}

.hideshow-input-max-height:checked + * {
    max-height: var(--max-height, 100em);
    transition: max-height 0.4s ease-in-out;
}


.searchable-dropdown-readonly-input-container {
    position: relative;
}

.searchable-dropdown-readonly-input-container i {
    content: '';
    position: absolute;
    top: 50%;
    right: 0.5em;

    transform: translate(0, -50%) rotate(45deg);
    -webkit-transform: translate(0, -50%) rotate(45deg);
}

.searchable-dropdown-readonly-input-container label {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    cursor: pointer;
}

.searchable-dropdown-readonly-input-container label.disabled {
    background-color: rgb(255, 255, 255, 0.6);
    cursor: default;
}

.searchable-dropdown-readonly-input-container input,
.searchable-dropdown-readonly-input-container textarea {
    cursor: default;
}

.searchable-dropdown-readonly-input-container textarea {
    height: 6em;
    resize: none;
}

.searchable-dropdown-readonly-input-container .form-text-control {
    margin: 0;

    padding: 0.35em 1.4em 0.45em 0.7em;

    display: flex;
    flex-direction: column;
    gap: 0.2em;
}

.searchable-dropdown-readonly-input-container .form-text-control.with_outer_label {
    padding: 0.7em 0.8em;
}

.searchable-dropdown-readonly-input-container .form-text-control .visual-label {
    font-size: 0.7em;
    font-weight: var(--bold);
    color: rgb(var(--dark-gray));
    position: relative;
    width: fit-content;
}

.searchable-dropdown-readonly-input-container .form-text-control .visual-label.required::after {
    content: '*';
    color: red;
    position: absolute;
    font-size: 1em;
    top: -0.1em;
    right: -0.75em;
}

.searchable-dropdown-readonly-input-container .form-text-control .visual-div {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
}

.searchable-dropdown-readonly-input-container .form-text-control .visual-div > span {
    display: inline-block;
    width: 100%;
    text-align: left;
}

.arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.searchable-dropdown-container {
    position: relative;

    display: flex;
    align-items: center;
    gap: 0.5em;
    width: 100%;
}


.searchable-dropdown-container .searchable-dropdown-readonly-input-container {
    width: 100%;
}

.searchable-dropdown-container label.button {
    white-space: nowrap;
}


.searchable-dropdown-checkbox {
    display: none;
}

/*.searchable-dropdown-container .searchable-dropdown-checkbox:checked ~ .searchable-dropdown-readonly-input-container input,
.searchable-dropdown-container .searchable-dropdown-checkbox:checked ~ .searchable-dropdown-readonly-input-container textarea,
.searchable-dropdown-container .searchable-dropdown-checkbox:checked ~ .searchable-dropdown-readonly-input-container div.form-text-control {
    outline-width: 0;
    border: 0.15em solid rgb(var(--primary-color));
    color: rgb(var(--primary-color));

    transition: all 0.30s ease-in-out;
}*/

.searchable-dropdown-container .searchable-dropdown-checkbox:checked ~ .searchable-dropdown-readonly-input-container input::placeholder,
.searchable-dropdown-container .searchable-dropdown-checkbox:checked ~ .searchable-dropdown-readonly-input-container textarea::placeholder {
    color: rgb(var(--primary-color));
}

.searchable-dropdown-container .searchable-dropdown {
    position: absolute;
    top: calc(100% + 0.4em);
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0px 3px 16px rgb(0 0 0 / 20%);
    z-index: 100;
    width: 100%;
    max-height: 15em;
    padding: 0.5em 0.6em;
    font-size: 1.1em;

    display: none;
    flex-direction: column;
    align-items: center;

    outline: 0.1em solid rgb(var(--form-input-border));
}

.searchable-dropdown-container .searchable-dropdown .search-container {
    margin-bottom: 0.4em;
    position: relative;
    min-height: 2em;
    height: 2em;
}

.searchable-dropdown-container .searchable-dropdown .search-container input {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.searchable-dropdown-container .searchable-dropdown .search-container .search-actions {
    position: absolute;
    right: 0.4em;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4em;
}

.searchable-dropdown-container .searchable-dropdown .search-container .x {
    display: block;
    padding: 0.1em 0.3em;
    border-radius: 0.25em;
    font-size: 0.9em;
}

.searchable-dropdown-container .searchable-dropdown .search-container .x:hover {
    background-color: rgb(var(--primary-color));
    color: white;
}

.searchable-dropdown-container .searchable-dropdown .search-container .reset {
    transition: transform 0.2s ease-in-out;
    transform: translateY(0.05em);
    transform-origin: center;
}

.searchable-dropdown-container .searchable-dropdown .search-container .reset:hover {
    transform: translateY(0.05em) rotate(135deg);
}

.searchable-dropdown-container .searchable-dropdown .dropdown-container {
    width: 100%;
    overflow-y: auto;
}

.searchable-dropdown-container .cl2 {
    font-size: 0.7em;
    display: inline-flex;
    align-items: center;
}

.searchable-dropdown-container .searchable-dropdown .dropdown-container::-webkit-scrollbar {
    width: 0.6em;
    height: 90%;
}

.searchable-dropdown-container .searchable-dropdown .dropdown-container::-webkit-scrollbar-track {
    background: transparent;
}

.searchable-dropdown-container .searchable-dropdown .dropdown-container::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 20px;
}

.searchable-dropdown-container .searchable-dropdown .dropdown-container p {
    margin: 0;
}

.searchable-dropdown-container .searchable-dropdown .dropdown-container label {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25em 0.5em;
    cursor: pointer;
}

.searchable-dropdown-container .searchable-dropdown .dropdown-container label ul.errorlist {
    display: none;
}

.searchable-dropdown-container .searchable-dropdown .dropdown-container label:hover {
    background: rgb(var(--accent-base-blue));
}

.searchable-dropdown-container .searchable-dropdown input[type='text'] {
    font-size: 1em;
}

.searchable-dropdown-container .searchable-dropdown > div {
    width: 100%;
}

.searchable-dropdown-container .searchable-dropdown-checkbox:checked ~ .searchable-dropdown {
    display: flex;
}

.searchable-dropdown-container .dropdown-select-all,
.searchable-dropdown-container .dropdown-deselect-all {
    font-size: 0.65em;
    padding: 0.3em 0.6em;
    border-radius: 0.5em;
    background-color: rgb(var(--primary-color), 0.1);
    color: rgb(var(--primary-color), 1);
}

.searchable-dropdown-container .dropdown-select-all:hover,
.searchable-dropdown-container .dropdown-deselect-all:hover {
    background-color: rgb(var(--primary-color), 0.2);
}





/* CAROUSEL */

.carousel {
    position: relative;
    transition: width 0.2s ease-in-out;
    width: var(--custom-width, calc(100vw - var(--offset-width, 0)));
    margin: 1em 0;
    padding: 0 2.5em;
}

.carousel-slides-frame {
    overflow: hidden;
    width: 100%;
}

.carousel-slides {
    position: relative;
    display: flex;
    width: 100%;
}

.carousel-slides.dragging {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.carousel-slide {
    flex: 0 0 auto;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.carousel.clickToGoToSlide .carousel-slide {
    cursor: pointer;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(var(--primary-color), 0.5);
    color: white;
    border: none;
    width: 2em;
    padding: 0.75em;
    cursor: pointer;
    z-index: 1;

    display: flex;
    justify-content: center;
}

.carousel-control.prev {
    left: 0;
}

.carousel-control.next {
    right: 0;
}

.carousel-control:hover {
    background-color: rgba(var(--primary-color), 0.8);
}



/* ARROWS */

.arrow-up {
    width: 0; 
    height: 0; 
    border-left: var(--arrow-size, 7.5px) solid transparent;
    border-right: var(--arrow-size, 7.5px) solid transparent;
    border-bottom: var(--arrow-size, 7.5px) solid var(--arrow-color, rgb(var(--primary-color)));
    cursor: pointer;
}

.arrow-up.white {
  border-bottom: var(--arrow-size, 7.5px) solid white;
}

.arrow-down {
    width: 0; 
    height: 0; 
    border-left: var(--arrow-size, 7.5px) solid transparent;
    border-right: var(--arrow-size, 7.5px) solid transparent;
    border-top: var(--arrow-size, 7.5px) solid var(--arrow-color, rgb(var(--primary-color)));
    cursor: pointer;
}

.arrow-down.white {
  border-top: var(--arrow-size, 7.5px) solid white;
}

.arrow-right {
    width: 0; 
    height: 0; 
    border-bottom: var(--arrow-size, 7.5px) solid transparent;
    border-top: var(--arrow-size, 7.5px) solid transparent;
    border-left: var(--arrow-size, 7.5px) solid var(--arrow-color, rgb(var(--primary-color)));
}

.arrow-right.white {
    border-left: var(--arrow-size, 7.5px) solid white;
}

.arrow-right.literal {
    cursor: pointer;
}

.arrow-right.literal.white {
    border-bottom: var(--arrow-size, 7.5px) solid white;
}

.arrow-left {
    width: 0; 
    height: 0; 
    border-bottom: var(--arrow-size, 7.5px) solid transparent;
    border-top: var(--arrow-size, 7.5px) solid transparent;
    border-right: var(--arrow-size, 7.5px) solid var(--arrow-color, rgb(var(--primary-color)));
    cursor: pointer;
}

.arrow-left.white {
    border-right: var(--arrow-size, 7.5px) solid white;
}


/* BREAD CRUMB */

.bread-crumb-container {
    padding: 1.5em 0;
}

.bread-crumb-container a,
.bread-crumb-container span {
    color: rgb(var(--primary-color));
    text-decoration: none;
    font-size: 1.05em;
}

.bread-crumb-container span {
  margin: 0 0.25em;
}

.bread-crumb-container a.clickable:hover {
    text-decoration: underline;
}


/* CUSTOM SCROLLBAR */

.custom-scrollbar {
    scrollbar-width: thin;  /* Firefox */
    scrollbar-color: rgb(var(--scrollbar-color, var(--primary-color))) transparent;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
    border: none;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgb(var(--scrollbar-color, var(--primary-color)));
    border-radius: 20px;
    border: 4px solid transparent;
}

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

.no-scrollbar::-webkit-scrollbar {
    display: none;
}


/* FORM ERROR */

.errorlist {
    margin: 0.75em 0 1em 0;
    padding: 0;
}

.errorlist li {
    text-align: center;
    color: rgb(var(--primary-red));
    list-style-type: none;
    font-weight: bold;
    white-space: prewrap;
}

.form-error-occured + .errorlist {
    margin: -0.5em 0 0 0;
}

.custom-field-error {
    color: rgb(var(--primary-red));
    text-align: center;
    font-weight: bold;
}

.custom-field-error-container p {
    color: rgb(var(--primary-red));
    text-align: center;
    font-weight: bold;
    max-height: 0;
    overflow: hidden;
    margin: 0.25em;

    transition: max-height 0.4s ease-in-out;
}

.form-error-occured {
    text-align: center;
    color: rgb(var(--primary-red));
    font-weight: bold;
}


/* TAGS */

.tag {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

    background: rgb(var(--tag-color, var(--gray)));
    color: rgb(var(--tag-font-color, var(--primary-color)));
    width: fit-content;
    font-size: var(--tag-font-size, 0.75em);
    font-weight: bold;
    padding: 0.2em 0.75em;
    border-radius: 0.8em;
    text-align: center;
}

.tag > .tag.on-hover {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 0.25em;

    position: absolute;
    bottom: calc(100% + 0.4em);
    left: 50%;
    transform: translateX(-50%);
    min-width: 100%;
    width: fit-content;
    white-space: nowrap;
}

.tag:hover > .tag.on-hover {
    display: flex;
}

.tag.clickable {
    margin: 0 1em 1.5em 0;
    cursor: pointer;
    background: white;
    border: 2px solid black;
}

.tag.clickable:hover {
    background-color: rgb(255, 255, 255, 0.8);
}

.tag.primary {
    --tag-color: var(--primary-color);
    --tag-font-color: 255 255 255;
}

.tag.yellow {
    --tag-color: var(--primary-yellow);
    --tag-font-color: 255 255 255;
}

.tag.green {
    --tag-color: var(--vokasi-green);
    --tag-font-color: 255 255 255;
}

.tag.red {
    --tag-color: var(--accent-red);
    --tag-font-color: var(--text-color-inv);
}

.tag.blue {
    --tag-color: var(--primary-blue);
    --tag-font-color: var(--text-color-inv);
}

.tag.orange {
    --tag-color: var(--vokasi-orange);
    --tag-font-color: var(--text-color-inv);
}

.tag.white {
    --tag-color: 255, 255, 255;
    outline: 1.5px solid rgb(var(--gray));
}

.tag.white.transparent {
    --tag-color: 255, 255, 255, 0;
    --tag-font-color: 255, 255, 255;
    outline: 1.5px solid rgb(255, 255, 255);
}


span.green,
SPAN.GREEN {
    color: rgb(var(--vokasi-green));
}

span.orange,
SPAN.ORANGE {
    color: rgb(var(--vokasi-orange));
}

span.blue,
SPAN.BLUE {
    color: rgb(var(--vokasi-blue));
}

span.gray,
SPAN.GRAY {
    color: rgb(var(--text-color-gray));
}

span.red,
SPAN.RED {
    color: rgb(var(--primary-red));
}



/* CALENDAR */

.content-calendar {
    --calendar-bg: rgb(var(--light-gray));
	padding: 1em;
    background-color: var(--calendar-bg);
	width: 100%;
}

.content-calendar > div {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.content-calendar .calendar-and-loading-container {
    position: relative;
} 

.content-calendar .loading {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: var(--calendar-bg);
    z-index: 10;
}


/* CALENDER MONTH PICKER */

.content-calendar .month-picker-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5em;
    width: 100%;
}

.content-calendar .month_picker_choices {
    cursor: pointer;
    padding: 0.25em 0.75em;
    border-radius: 1em;
    color: rgb(var(--dark-gray));
    font-weight: bold;
}

.content-calendar .month_picker_choices.selected {
    background-color: rgb(var(--vokasi-green));
    color: white;
}

.content-calendar .next-prev-calendar-button {
    border-radius: 50%;
    width: 2.25em;
    height: 2.25em;
}

.calendar-header {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-radius: 1em;
	padding: 0em 0.5em;
}

.calendar-container {
	width: 100%;
}

.calendar-container .calendar {
	width: 100%;
}

.calendar-container .calendar tr,
.calendar-container .calendar th,
.calendar-container .calendar td {
	word-break: break-word;
}

.calendar-container .calendar tr {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	grid-column-gap: 0.5em;
	margin-bottom: 0.5em;
}

.calendar-container .calendar th {
	height: 2em;
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--primary-blue);
	border-radius: 0.5em;
}

.calendar-container .calendar td {
	position: relative;
	display: flex;
	flex-direction: column;

	height: 10em;
	padding: 0.3em 0;
    background-color: white;
}

.calendar-container .calendar td .black-screen {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(var(--dark-gray), 0.2);
    z-index: -1;
}

.calendar-container .calendar td:hover .black-screen {
	display: block;
	border-radius: 0;
	z-index: 1;
	margin-bottom: 0;
}

.calendar-container .calendar td .outside-month-screen {
	display: block;
	border-radius: 0;
	z-index: 1;
	margin-bottom: 0;
    background: rgba(0,0,0,0.25);
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

.calendar-container .calendar td label.label-modal {
	display: block;
	position: absolute;
	z-index: 10;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	cursor: pointer;
}

.calendar-container .calendar td.today {
	background: rgb(var(--vokasi-green));
	color: white;
}

.calendar-container .calendar td.today .modal-content {
	color: black;
}

.calendar-container .calendar td.noday {
	background: var(--light-gray);
}

.calendar-container .calendar td .date {
	padding: 0 0.3em;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;

	margin-bottom: 0.2em;
}

.calendar-container .calendar td .date .date-int {
	white-space: nowrap;
}

.calendar-container .calendar td .date .today-sign {
	font-size: 0.5em;
	font-weight: bold;
	margin: 0 0 0 0.75em;
	text-align: right;
}

.calendar-container .calendar td .objects-in-date {
	display: flex;
	flex-direction: column;
	padding: 0 0.25em;
    overflow-y: hidden;
}




.calendar-container .calendar td .objects-in-date div.sidang {
    background-color: rgb(var(--dark-gray));
    outline: 1px solid white;
}

.calendar-container .calendar td .objects-in-date div.sidang.orange {
    background-color: rgb(var(--vokasi-orange));
}

.calendar-container .calendar td .objects-in-date div.sidang.green {
    background-color: rgb(var(--vokasi-green));
}

.calendar-container .calendar td .objects-in-date div.sidang.red {
    background-color: rgb(var(--primary-red));
}


.calendar-container .calendar td .objects-in-date > div.sidang {
    padding: 0.25em 0.4em;
	border-radius: 0.5em;
	margin-bottom: 0.5em;
	font-size: 0.85em;
	font-weight: bold;
    
    color: white;
}

.calendar-container .calendar td .objects-in-date .modal div.sidang {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    width: 100%;
    font-size: 1.15em;

    padding: 0.75em 1em;
    border-radius: 1em;

    color: white;
}

.calendar-container .calendar td .objects-in-date .modal div.sidang .sidang-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.35em;
}

.calendar-container .calendar td .objects-in-date .modal div.sidang .button {
    width: 5em;
}

.calendar-container .calendar td .objects-in-date .modal div.sidang .sidang-info h3,
.calendar-container .calendar td .objects-in-date .modal div.sidang .sidang-info p {
    margin: 0;
}

/*
.calendar-container .calendar td .objects-in-date {
	scrollbar-width: thin;  
    scrollbar-color: black transparent;
}

.calendar-container .calendar td .objects-in-date::-webkit-scrollbar {
    width: 6px;
}

.calendar-container .calendar td .objects-in-date::-webkit-scrollbar-track {
    background: transparent;
    border: none;
}

.calendar-container .calendar td .objects-in-date::-webkit-scrollbar-thumb {
    background: black;
    border-radius: 20px;
    border: 2px solid transparent;
}
*/

.calendar-container .calendar td .modal-content > h2 {
	text-align: left;
}



/* SIGNATURE PAD */

.signature-pad {
    position: relative;
    width: 100%;
    height: 100%;
}

.signature-pad .signature-pad--body {
    width: 100%;
    height: 100%;
    position: relative;
    border: 2px solid black;
}

.signature-pad--actions {
    font-size: 0.95em;
    gap: 0.5em;
    margin-top: 0.5em;
}

.signature-pad canvas {
    width: 100%;
    height: 15em;
}

.signature-pad--actions .pen-color-selection-div {
    display: flex;
    justify-content: center;
    gap: 0.5em;
}

.signature-pad--actions .pen-color-selection-div input {
    display: none;
}

.signature-pad--actions .pen-color-selection-div label {
    display: flex;
    justify-content: space-around;
    align-items: center;

    border-radius: 1em;
    font-weight: bold;
    border: 0.15em solid rgb(var(--primary-color));
    color: rgb(var(--primary-color));
    background: rgb(255, 255, 255);
    cursor: pointer;
    padding: 0.6em 1em;
}

.signature-pad--actions .pen-color-selection-div input:checked + label {
    color: rgb(255, 255, 255);
    background: rgb(var(--primary-color));
}

.signature-pad--actions .pen-color-selection-div label .square {
    width: 1.25em;
    height: 1.25em;
    border: 2px solid white;
    margin-right: 0.25em;
}

#signature-undo {
    background: rgb(var(--btn-cancel-bg));
    color: rgb(var(--btn-cancel-color));
}


/* PROFILE */

.user-circle-profile {
    outline: 1px solid black;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}


/* USER PROFILE PICTURE */

.profile-picture-with-name {
    display: flex;
    gap: 0.6em;
    align-items: center;
}

.profile-picture-name {
    display: flex;
    flex-direction: column;
}

.profile-picture-name > p {
    margin: 0;
}

.profile-picture-name > .name {
    font-weight: bold;
    font-size: 1.1em;
    word-break: break-word;

    display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2; /* Number of lines to display */
	line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
}

.profile-picture {
    position: relative;
    --pp-width: 2.8em;
    --pp-height: 2.8em;
    width: var(--pp-width);
    height: var(--pp-height);
    min-width: var(--pp-width);
    min-height: var(--pp-height);
    border-radius: 50%;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(var(--primary-color));
    color: white;
    font-weight: bold;
}

.profile-picture > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    position: absolute;
    z-index: 3;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
}

.profile-picture > .pp-bg {
    background-color: white;
    
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.profile-picture > span {
    position: absolute;
    z-index: 1;
}




@media only screen and (min-width: 800px) {

	.calendar-container .calendar td {
		height: 9em;
	}

	.calendar-container .calendar td .objects-in-date > div {
		font-size: 0.9em;
	}

	.calendar-container .calendar td .date .today-sign {
		font-size: 0.7em;
	}

}


/* OTHER */

.only-desktop,
.only-desktop.flex,
.only-desktop-flex,
a.only-desktop,
a.only-desktop-flex {
    display: none !important;
}

.only-mobile,
a.only-mobile {
    display: block !important;
}

.only-mobile-flex,
a.only-mobile-flex {
    display: flex !important;
}

.form-additional-info {
    margin: -1em 0 1.5em 0.1em;
}

.file-additional-info {
    margin: 0 0 0 0.1em;
}

.hide {
    display: none !important;
}

.flex {
    display: flex;
}

.flex.fd-col {
    flex-direction: column;
}

.flex.fd-col-rev {
    flex-direction: column-reverse;
}

.flex.wrap {
    flex-wrap: wrap;
}

.jc {
    justify-content: center;
}

.jsb {
    justify-content: space-between;
}

.ac {
    align-items: center;
}

.afe {
    align-items: flex-end;
}

.grid {
    display: grid;
}

.gap-1em {
    gap: 1em;
}

.gap-075em {
    gap: 0.75em;
}

.gap-05em {
    gap: 0.5em;
}

.gap-025em {
    gap: 0.25em;
}

.fs-1-2em {
    font-size: 1.2em;
}

.fs-1-1em {
    font-size: 1.1em;
}

.fs-1em {
    font-size: 1em;
}

.fs-09em {
    font-size: 0.9em;
}

.fs-085em {
    font-size: 0.85em;
}

.fs-08em {
    font-size: 0.8em;
}

.fs-075em {
    font-size: 0.75em;
}

.fs-06em {
    font-size: 0.6em;
}

.fs-05em {
    font-size: 0.5em;
}

.fs-025em {
    font-size: 0.25em;
}

.fit-content {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

.w100 {
    width: 100%;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-025 {
    margin-bottom: 0.25em;
}

.no-user-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.bolden,
.BOLDEN,
.bold,
.BOLD {
    font-weight: bold;
}

.link {
    color: blue;
    text-decoration: underline;
}

.non-bolden {
    font-weight: normal;
}

.italic {
    font-style: italic;
}

.underline {
    text-decoration: underline;
}

.ws-pw {
    white-space: pre-wrap;
}

.wb-bw {
    word-break: break-word;
}

.ta-c {
    text-align: center;
}

.ta-l {
    text-align: left;
}

.ta-r {
    text-align: right;
}


.title-button-header-div {
    display: flex;
    flex-direction: column;
}

.title-button-header-div .right {
    margin-left: auto;
}

a {
    text-decoration: none;
    color: inherit;
}


/* web-vokasi-btn */

.web-vokasi-btn {
    margin-right: 0.1em;
    font-size: 0.85em;
}


/* OBJECT LIST */

.object-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1em;
}

#object-list-container {
    overflow-y: auto;
    min-height: 200px;

    --padding-right-and-left: 0em;
    padding: 0.2em var(--padding-right-and-left);
}

#object-list-container.custom-scrollbar {
    --padding-right-and-left: 0.3em;
}

.object-div {
    background: rgb(var(--light-gray));
    color: rgb(var(--primary-color));
    outline: 1px solid rgb(var(--neutral-gray));
    border-radius: 1em;

    display: flex;
    gap: 0.5em;
}

.object-div .data-container {
    display: flex;
    flex-direction: column;
    width: calc(100% - (2 * var(--padding-right-and-left, 0)));
    padding: 1.25em 1.25em;
}

.object-div .title-button-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    place-items: center start;
    gap: 0.4em;
    width: 100%;
    cursor: pointer;
}

.object-div .title-button-container .button-and-arrow-container {
    display: grid;
    grid-template-columns: auto 1.25em;
    place-items: center end;
    gap: 1em;
    width: 100%;
}

.object-div .button-container {
    display: flex;
    gap: 1em;
    font-size: 0.55em;
}

.object-div .button-container.column {
    flex-direction: column;
}

.object-div .button-container .button {
    border-radius: 10px;
    padding: 0.7em;
}

.object-div .title {
    margin: 0;
    line-height: 0.9;
}

.object-div .subtitle {
    margin: 0;
}

.object-div .header {
    display: flex;
    flex-direction: column;
    gap: 0.25em;
}

.object-div .data {
    display: grid;
    gap: 0.2em;
}

.object-div input[type='checkbox'] + .title-button-container + .data {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;

    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1), padding 0.75s;
}

.object-div input[type='checkbox']:checked + .title-button-container + .data {
    max-height: 1000em;
    padding-top: 1em;
    transition: max-height 1s ease-in-out;
}

.object-div input[type='checkbox'] + .title-button-container .arrow-down {
    transition: transform 0.2s ease-in-out;
}

.object-div input[type='checkbox']:checked + .title-button-container .arrow-down {
    transform: rotate(180deg);
}


.table-object-header {
    background-color: rgb(var(--primary-color));
    color: rgb(var(--text-color-inv));
    margin: 0.5em 0 -0.5em 0;
}

.table-object-header > *,
.table-object > * {
    margin: 0;
}

.table-object-header,
.table-object,
.table-object-container {
    padding: 1em;
    border-radius: 0.5em;
}

.table-object,
.table-object-container {
    background-color: rgb(var(--accent-base-blue));
}

.table-object-header,
.table-object,
.table-object-row {
    display: grid;
    gap: 1em 0.5em;
    word-break: break-word;
    place-items: center normal;

    font-size: 0.85em;
}

.table-object .action-buttons {
    grid-column: 1 / -1;
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25em 0.5em;
}

.table-object .action-buttons > .button {
    margin: 0;
}

.no-item-msg {
    width: 100%;
    text-align: center;
}




/* PROGRESSIVE IMAGE */

.placeholder-img-blur {
    filter: blur(3px);
}

.progressive-image-container {
    position: relative;

    padding-bottom: calc(100% * var(--img-aspect-ratio, 0));
}

.progressive-image-container .progressive-image {
    position: absolute;
    z-index: 1;
}

.progressive-image-container .progressive-image + .progressive-image-fallback {
    position: absolute;
    z-index: 0;
}



/* PAGE NOT FOUND */

.page-not-found-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2em;
}


/* USER NAME AND PROFILE */

.user-name-with-profile {
    display: flex;
    align-items: center;
    gap: 0.35em;
}

.user-name-with-profile .profile {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3em;
    min-height: 2.1em;
    min-width: 2.1em;
    border-radius: 50%;
    background-color: var(--user-profile-color, rgb(var(--primary-color)));
    color: white;
    font-weight: bold;
}

.user-name-with-profile .name-container {
    display: flex;
    flex-direction: column;
    gap: 0em;
}

.user-name-with-profile .name-container .name,
.user-name-with-profile .name-container .position {
    margin: 0;
}

.user-name-with-profile .name-container .position {
    font-size: 0.9em;
    color: rgb(var(--dark-gray));
}



@media only screen and (min-width: 800px) {

    .content-container {
        font-size: 0.875em;
    }

    input {
        font-size: 1em;
    }

    /* nav */

    header {
        grid-template-columns: 0.01fr auto minmax(100px, 1fr) auto 0.01fr;
    }

    nav {
        grid-column: 3 / 4;
    }

    .logo {
        grid-column: 2 / 3;
    }

    .nav-toggle-label {
        grid-column: 4 / 5;
    }

    .nav-only-desktop {
        display: inline-block;
    }

    .nav-only-mobile {
        display: none;
    }

    /* footer */
    footer {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 0.25fr;
    }

    .footer-upper {
        display: grid;
        grid-template-columns: 0.05fr auto minmax(400px, 1fr) 0.05fr;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: -3em 30vw 1em 30vw;
        font-size: 0.85em;
    }

    .footer-bottom p {
        margin: 0.5em;
        text-align: center;
    }

    .footer-bottom p svg {
        vertical-align: bottom;
    }

    

    .footer1 {
        display: grid;
        grid-template-rows: 1fr auto;
        margin: 1.25em 0 0 1em;
        grid-column: 2 / 3;
    }

    .footer1 a img {
        width: 11.5em;
        height: 3em;
    }

    .footer1 div {
        font-size: 0.8em;
        display: flex;
        align-items: center;
    }

    .footer1 div p {
        margin: 0 0 0 0.25em;
    }

    .footer2 {
        align-items: flex-end;
        margin-top: 0.75em;
        margin-right: 2em;
        grid-column: 3 / 4;
    }

    .footer2 li {
        padding: 0.25em 0 0 0.75em;
        display: flex;
        align-items: center;
    }

    .footer2 svg {
        width: 32px;
        height: auto;
    }

    /* nav dropdown */
    .nav-user-container {
        display: flex;
        align-items: center;
        margin-right: 1em;
    }

    .nav-user {
        display: flex;
        justify-content: center;
        cursor: pointer;
        position: relative;
    }

    .nav-user .dropdown-content-container {
        display: none;
        position: absolute;
        top: 2.4em;
        left: 50%;
        transform: translateX(-50%);
        width: 10em;
        border-radius: 0.3em;
        background: rgb(var(--nav-dropdown));
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        overflow: hidden;
        /*max-height: 5.5em;*/
        padding: 0.2em;
    }

    .nav-user .dropdown-content-container .dropdown-content {
        position: relative;
        font-size: 1em;
        text-transform: none;
        padding: 0.5em;

        display: flex;
        align-items: center;
        width: 100%;
    }

    .nav-user .dropdown-content {
        color: black;
    }

    .nav-user .dropdown-content:hover {
        color: rgb(var(--primary-color));
    }

    .nav-user .dropdown-content-container .dropdown-content svg {
        margin-right: 0.4em;
    }

    .nav-user .dropdown-content-container .dropdown-content .icon-dashboard {
        margin: 0 0.5em 0 0.3em;
    }

    .nav-user .dropdown-content-container .logout {
        color: rgb(var(--button-gray));
    }

    .nav-user .dropdown-content-container .logout:hover {
        color: rgb(var(--button-red));
    }

    .nav-user:hover .dropdown-content-container {
        display: block;
    }

    .dropdown-btn {
        cursor: pointer;
    }

    .dropdown-btn svg,
    .dropdown-btn object {
        margin: 0 0.2em;
    }


    /* SIDEBAR */

    #sidebar {
        /* left: auto;
        right: 100%; */
        width: 300px;
    }

    /* #nav-toggle:checked ~ #sidebar {
        transform: translateX(100%);
    } */

    /* #sidebar-header {
        grid-template-columns: 0.05fr 50px auto 0.015fr;
        padding: 0 0.5em;
    } */

    /* #sidebar #sidebar-header .logo {
        grid-column: 3 / 4;
    }

    #sidebar #sidebar-header .nav-toggle-label {
        grid-column: 2 / 3;
    } */

    #sidebar #sidebar-content ul li .nav-label {
        padding: 0.6em 1em;
        font-size: 1.1em;
    }


    /* FORM BACKGROUND */

    .form-container .form-background {
        width: min(90%, 900px);
        margin: auto;
    }

    .form-container {
        height: 100%;
    }

    .form-horizontal-fields-container.vertical-on-mobile {
        grid-template-columns: repeat(var(--num-of-fields, 2), 1fr);
        grid-template-rows: 1fr;
    }


    /* DJANGO MESSAGES */

    .messages {
        width: 500px;
    }


    /* OTHER */

    .only-desktop,
	a.only-desktop {
		display: inline-block !important;
	}

	.only-desktop-flex,
    .only-desktop.flex,
	a.only-desktop-flex {
		display: flex !important;
	}

	.only-mobile,
	a.only-mobile,
	.only-mobile-flex,
	a.only-mobile-flex {
		display: none !important;
	}

    .flex-flexible {
        flex-direction: row;
    }


    /* SEARCH BAR */

    .search-bar,
    .filter-and-searchbar > .search-bar,
    .filter-and-searchbar > .search-bar-and-more-filter {
        margin-left: auto;
        width: max(40%, 21em);
    }

    .filter-and-searchbar > .search-bar-and-more-filter > .search-bar {
        width: calc(100% - 2em); 
        /* - 2em is for 'more-filter' at the right side */
    }

    .filter-and-searchbar .filter-div {
        width: max(50%, 21em);
    }

    /*.search-bar-and-add-button {
        align-items: flex-end;
        margin-top: 1.5em;
    }*/

    .filter-and-searchbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.5em;
    }

    .filter-and-searchbar > select,
    .filter-and-searchbar > form {
        width: 45%;
    }

    .filter-and-searchbar > form {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 0.5em;
    }


    /* Buttons */

    .button.with-icon.collapse-on-mobile .button-label {
        display: flex;
    }

    /* MODAL */

    .modal-container-with-close {
        width: max(50%, 650px);
    }

    /* SIGNATURE PAD */

    #signature_label {
        width: 100%;
        margin: auto;

        grid-row: 1 / 4;
        grid-column: 3;
    }

    /* web-vokasi-btn */

    .web-vokasi-btn {
        font-size: 1em;
    }


    /* OBJECT LIST */

    .table-object-header,
    .table-object,
    .table-object-row {
        font-size: 0.95em;
    }

    .table-object .action-buttons {
        grid-column: unset;
        margin-left: 0;
    }

    .table-object .action-buttons > .button {
        width: fit-content;
    }
}



@media only screen and (min-width: 400px) {

    .object-div .title-button-container {
        grid-template-columns: 1fr auto;
        grid-template-rows: 1fr;
        gap: 1em;
    }

}


@media only screen and (min-width: 375px) {

    /* Buttons */

    .button.with-icon.collapse-on-small-mobile .button-label {
        display: flex;
    }

}


@media only screen and (max-width: 300px) {
    nav {
        display: none;
    }
}