@font-face {
    font-family: 'Montserrat';
    src: url('font/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('font/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

.charlie-font {
    font-family: 'Charlie', 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

.charlie-font-bold {
    font-family: 'Charlie Semibold', 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
}

.montserrat {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif !important;
}

body {
    margin: 0;
    padding: 20px;
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    display: flex;
    background-color: white;
}

a {
    text-decoration: none;
    color: #000;
}

a:hover,
a:active,
a:visited {
    text-decoration: underline;
}

.sidebar {
    width: 250px;
    padding: 20px;
    background: white;

    overflow-y: auto;
    height: calc(100vh - 40px);
    position: fixed;
    top: 20px;
    left: 20px;
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
}

.sidebar.collapsed {
    transform: translateX(calc(-100% - 20px));
}

.sidebar-toggle {
    position: fixed;
    top: 0px;
    left: 40px;
    z-index: 1001;
    background: white;
    color: #8e8e8e;
    border: 1px solid #8e8e8e;
    padding: 1px 3px;
    cursor: pointer;
    font-size: 13px;
    transition: left 0.3s ease-in-out, background-color 0.2s ease;

}

.sidebar-toggle.collapsed {
    left: 0px;
}

@media (max-width: 968px) {
    .sidebar-toggle {
        top: 38px;
        left: 300px;
    }

    .sidebar-toggle.collapsed {
        left: 30px;
    }
}



.sidebar-toggle:hover {
    background: #f0f0f0;
}

@media (max-width: 768px) {
    .sidebar {
        width: 280px;
    }
}

.sidebar-section {
    margin-bottom: 40px;
}

.sidebar-section-title {
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 6px;
    color: #333;
    letter-spacing: 0.5px;
    border-bottom: 1px solid black;
}

.sidebar-section-content {
    max-height: 90px;
    overflow-y: auto;
    padding-right: 5px;
    padding-left: 0;
}

.sidebar-section-content-no-scroll {
    max-height: none;
    overflow-y: visible;
}

.sidebar-section-content::-webkit-scrollbar {
    width: 6px;
}

.sidebar-section-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.sidebar-section-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.sidebar-section-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    margin: 6px 0;
    font-size: 13px;
    color: #555;
}

.filter-checkbox input[type="checkbox"] {
    margin-right: 4px;
    margin-left: 0px;
}

.inline-options {
    display: flex;
    align-items: center;
    margin: 6px 0;
    font-size: 13px;
    color: #555;
}

.inline-options .option-group {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.inline-options .option-group input[type="checkbox"] {
    margin-right: 6px;
    width: 14px;
    height: 14px;
}

input[name="education-main"] {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
}

#education-basisonderwijs,
#education-voortgezet {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    background-size: 14px 14px !important;
}

label {
    cursor: pointer;
}

.inline-options .option-group label {
    margin-right: 15px;
    font-size: 13px;
}

.unavailable {
    opacity: 0.4;
    pointer-events: none;
}

.sidebar-section.disabled {
    opacity: 0.4;
}

.unavailable label {
    color: #999 !important;
}

.color-square {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 6px;
    border: 1px solid #ccc;
    vertical-align: middle;
}

.section-divider {
    height: 1px;
    background: #000;
    margin: 15px 0;
}


.content {
    margin-left: 320px;
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    transition: margin-left 0.3s ease-in-out;
    padding-top: 30px;
}

.content.sidebar-collapsed {
    margin-left: 50px;
}

@media (max-width: 768px) {
    .content {
        margin-left: 350px;
    }

    .content.sidebar-collapsed {
        margin-left: 50px;
    }
}

.content.photo-view {
    gap: 30px;
}

.content.classic-view {
    gap: 4px;
}


.photo-row {
    display: grid;
    grid-template-columns: repeat(7, 20px);
    grid-auto-rows: 20px;
    gap: 0px;
    margin: 20px;
}



.square {
    width: 20px;
    aspect-ratio: 1;
    border-radius: 0px;
    cursor: pointer;
}

#modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    align-items: flex-start;
    justify-content: flex-start;
    z-index: 200;
    padding: 0;
    pointer-events: none;
}

#modal .modal-content {
    position: absolute;
    left: 359px;
    top: 86px;
}

#modal.sidebar-collapsed .modal-content {
    left: 89px;
    top: 86px;
}

#modal .modal-content {
    background: #fff;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    max-width: 502px;
    pointer-events: auto;
}

#modal .modal-img-wrap {
    position: relative;
    flex: 1 1 auto;
    height: 100%;
    display: flex;
}

#modal .modal-img-wrap img {
    height: 100%;
    width: auto;
    display: block;
    flex: 1 1 auto;
}

#modal #modal-color-strip {
    position: absolute;
    top: -43px;
    left: 0;
    width: 100%;
    height: 20px;
    display: flex;
    flex-direction: row;
    z-index: 16;
    pointer-events: none;
}


#modal #modal-color-strip .color-block {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

#modal .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#modal .overlay .circle {
    position: absolute;
    border-radius: 0;
}



#modal .mask {
    position: absolute;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(circle at center,
            transparent 49%,
            black 50%);
    -webkit-mask-mode: alpha;
    mask-image: radial-gradient(circle at center,
            transparent 49%,
            black 50%);
    mask-mode: alpha;
}



#modal .close {
    position: absolute;
    top: 0px;
    right: 0px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 2px 5px;
    cursor: pointer;
    font-size: 13px;
    border-radius: 0px;
    z-index: 30;
}

.view-switch {
    margin-bottom: 30px;
}

.view-switch label {
    margin-right: 15px;
    font-size: 13px;
    cursor: pointer;
}

.sort-switch {
    margin-bottom: 20px;
    font-size: 13px;
}

.sort-switch label {
    cursor: pointer;
}

.sort-switch select {
    margin-left: 8px;
}

body,
.sidebar,
.content,
.sidebar-section,
.sidebar-section-title,
.sidebar-section-content,
.filter-checkbox,
.inline-options,
.view-switch,
.sort-switch,
.sidebar-toggle,
.modal,
.modal-content,
.modal-close,
#results-count,
.photo-row,
.square,
input,
label,
select,
button,
span,
div:not(.about-wrap):not(.about-wrap *) {
    font-size: 13px !important;
}

.about-wrap * {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    -webkit-text-size-adjust: none !important;
}

@media screen and (max-width: 768px),
screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px),
screen and (max-device-width: 768px) {
    .about-wrap * {
        font-size: 20px !important;
        -webkit-text-size-adjust: 100% !important;
        text-size-adjust: 100% !important;
        -webkit-text-size-adjust: none !important;
    }

    .thirteen {
        font-size: 13px !important;
    }
}

#photo-container>div[style*="maxWidth"] {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
}

input[type="checkbox"],
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 12px;
    height: 12px;
    background: url('assets/unchecked.svg') no-repeat center;
    background-size: contain;
    cursor: pointer;
    margin-right: 6px;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background: url('assets/checked.svg') no-repeat center;
    background-size: contain;
}

input[type="checkbox"],
input[type="radio"] {
    vertical-align: middle;
}

input[type="checkbox"]+label,
input[type="radio"]+label {
    vertical-align: middle;
    line-height: 1;
    margin-left: 4px;
}


#education-sub-section.inline-options {
    display: block;
    align-items: initial;
}

#education-sub-section.inline-options .option-group {
    display: block;
    margin: 6px 0;
}

#education-sub-section.inline-options .option-group input {
    margin-right: 6px;
}

#education-sub-section.inline-options .option-group label {
    margin: 0;
    padding: 0;
    font-size: inherit;
}

#modal-filename {
    display: none !important;
}

#white-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 86px;
    background-color: #fff;
    z-index: 9;
}

#blue-stripe {
    position: fixed;
    top: 86px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #000;
    z-index: 10;
    transition: width 200ms ease, left 200ms ease;
    will-change: width, left;
}



#results-count,
.content-overlay,
.content-border {
    display: none;
}