* {box-sizing: border-box; position: relative; }

:root {
    --blue: rgb(19,51,64);
    --green: #92a28e;
    --beige: rgb(255,242,194);
    --red:rgb(201 18 37);
    --green_radiant: #4dba1d;
}

.preload, .preload * {
    transition: 0s !important;
}

textarea {
    font-family: inherit;
}


a {
    color: rgb(6,56,95);
    font-weight: bold;
}


h1, h2, h3, label {
    font-family: roboto, sans-serif;
}

h3 {
    font-size: 16px;
    line-height: 20px;
    color: var(--green);
    margin-bottom: 0px;
}
html, body {
    padding:0px;
    margin: 0px;
    width: 100%;
    background: white;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    background: rgb(246,246,246);
}

input[type="text"], input[type="number"], input[type="password"], select, textarea {
    border: 1px solid #ccc;
    padding: 10px 12px;
    color: #000;
    border-radius: 7px;
    margin: 10px 0px;
}

pre {
    text-transform: initial;
    text-align: left;
}

.align-left { text-align: left;}
.max400 { width: 100%; max-width: 400px; }
.center { text-align: center; }
.left { text-align: left !important; }
.right { text-align: right !important; }
.white { color: white; }
.full {
    width: 100%;
    display: block;
}

.has_overlay {
    overflow-y: hidden;
}

i.number-icon {
    font-style: normal;
    width: 17.5px;
    display: inline-block;
    color: white;
    background: var(--green);
    border-radius: 5px;
    text-align: center;
    font-size: 10px;
    height: 15px;
}

.pointer {
    cursor: pointer;
}
.margin-v {
    margin: 20px 0;
}
.margin-v-l {
    margin: 5vh 0;
}
.margin-v-s {
    margin: 2.5px 0px;
}
.margin-h {
    margin-left: 10px !important;
    margin-right: 10px !important;
}
.margin-top{
    margin-top: 20px;
}
.padding {
    padding: 20px 10px !important;
}
.padding-l {
    padding: 30px;
}
.padding-m {
    padding: 20px 20px;
}
.padding-s {
    padding: 5px;
}

.padding-h {
    padding: 0px 10px;
}

.no-margin {
    margin: 0px;
}

.cntr {
    text-align: center;
}

input.small {
    padding: 5px 6px;
    margin: 0px;
}

.space-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.flex-start {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.flex-end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.thumb.file_thumb  {
    width: 200px;
}

.thumb.file_thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: 50% 0%;
}

.column {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-direction: column;
    height: 100%;
}

.container {
    margin: 0px auto;
    width: 100%;
    max-width: 1920px;
    padding: 0px 10px;
}

.logo {
	margin: 20px 50px;
	margin-left: 0px;
}

header {
	position: sticky;
	top: 0px;
	z-index: 9000;
	background: white;
}

.logo {
    background: var(--blue);
    display: block;
    margin: 0px;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 25px;
}

.logo img {
    height: 100px;
    margin: 15px auto;
}

nav {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.user {
    padding: 12px 12px;
    font-size: 18px;
    background: rgba(0,0,0,0.25);
    color: white;
    text-align: center;
}

.user .fas {
    font-size: 18px;
    color: white;
    margin-right: 10px;
}

nav a, .dropdown>span, nav>div {
    padding: 12px 12px;
    display: block;
    vertical-align: middle;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
    text-align: left;
}
nav a i {
    width: 22px;
    text-align: center;
}


.abs-right {
    position: absolute;
    right: 0px;
}

.btn {
    display: inline-block;
    vertical-align: middle;
    text-decoration: none;
    text-transform: uppercase;
    color: black;
    cursor: pointer;
    text-align: center;
    background: var(--green);
    padding: 12px 40px;
    border-radius: 25px;
    font-weight: bold;
    color: white;
    border: none;
    width: max-content;
}

.btn i {
    color: white;
    font-size: 12px !important;
    margin-right: 15px;
}

form .btn {
    margin: 5px 0px;
}

.btn.small {
    padding: 6px 15px;
}

.container>form {
    max-width: 500px;
    margin: 25px auto;
    width: 100%;
    text-align: center;
}

.container>form>* {
    width: 100%;
}

.full input[type="text"], .full select, .full textarea {
    width: 100%;
}

.block {
    padding: 20px; 
    background: white;
    border-radius: 3px;
}


.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
    text-align: center;
}
.alert-primary {
    color: #1b5798;
    background-color: #9bccff;
    border-color: #7abaff;
}
.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}
.alert.hidden {
    display: none;
}

.err {
    color: #b61726;
    font-size: 11px;
}

.website {
    padding: 5px 10px;
    transition: .5s;
    margin: 2.5px 0px;
}

.website>label>i {
    margin-right: 5px;
}

.website label {
    cursor: pointer;
    width: 100%;
    display: block;
}


#main-left {
    position: sticky;
    top: 0px;
    align-self: flex-start;
    border-right: 1px solid #eee;
    min-height: 100vh;
    min-width: 250px;
}

#main-right {
    xxpadding: 10px;
    background: white;
}

.main_header {
    background: var(--blue);
    color: white;
    padding: 20px;
}


.website.active, .website:hover {  
    background-color: white; 
    transition: .5s;
}

.website.active>label>i, .website:hover>label>i {
    color: var(--blue);
}

.website.active label {
    font-weight: bold;
    margin-bottom: 5px;
}

main {
    display: grid;
    grid-template-columns: max-content auto;
}

.website>.content {
    margin-left: 15px;
    overflow: hidden;
    max-height: 0px;
    transition: .5s;
}

.website.active>.content {
    max-height: max-content;
    transition: .5s;
}

.function {
    cursor: pointer;
    line-height: 27px;
}

.table-cnt {
    xxoverflow-x: auto;
}

.table-cnt>table {
    min-width: max-content;
    width: 100%;
}

.menu-collapsed .logo {
    display: none;
}

.toggle_menu_collapsed.fas {
    position: absolute;
    right: 0px;
    top: 0px;
    font-size: 22px;
    padding: 10px;
    cursor: pointer;
    color: white;
}

.menu-collapsed .toggle_menu_collapsed.fas {
    color: var(--green);
}

table {
    border-collapse: collapse;
    margin: 10px 0px;
}

.table-striped tr:nth-child(odd) {
    background-color: #e2e2e2;
}

.table-border td, .table-border th {
    border: 1px solid #d4d4d4;
    text-align: left;
}

.table-border td {
    border: 1px solid #d4d4d4;
    padding: 8px 12px;
}

table th {
    padding: 12px 12px;
}

.table-black th {
    background-color: #1d1d1d;
    color: white;
    font-weight: normal;
}

.paginate {
    border-top: 1px solid rgb(156, 156, 156);
    padding-top: 25px;
}
.paginate div:not(.dots) {
    cursor: pointer;
}
.paginate .active {
    background-color: var(--green);
    color: white;
    border-radius: 50%;
}
.paginate div {
    display: inline-block;
    vertical-align: middle;
    padding: 0px 12px;
    color: #333;
    line-height: 40px;
    min-width: 40px;
    text-align: center;
}

.paginate .btn {
    color: white;
}

.blocks-double {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 10px;
}

.block-simple {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: rgb(246,246,246);
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.block-simple:hover {
    background: #eee;
}

    .spinner {
    position: relative;
    height: 50px;
    width: 50px;
    margin: 15px auto;  
    display: none;
}
    .spinner-fixed {
            position: fixed;
    top: calc(50% - 25px);
    left: calc(50% - 25px);
    z-index: 9000;
    }


    .spinner div{
    border: 8px solid #f3f3f3; /* Light grey */ 
    border-radius: 50%;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    position: absolute;
}

.spinner #spinner1 {
    border-top: 8px solid var(--green); /* Blue */
    animation: spineen 1s linear infinite;
}

.spinner #spinner2 {
    border: 8px solid transparent;
    border-top: 8px solid var(--green);
    animation: spintwee 1s linear infinite;
}

@keyframes spineen {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spintwee {
    0% { transform: rotate(75deg); }
    50% { transform: rotate(180deg); }
    100% { transform: rotate(435deg); }
}

.spinner-float {
        position: absolute;
    top: calc(50% - 25px);
    left: calc(50% - 25px);
}

td .fas {
    font-size: 18px;
    padding: 5px 10px;
    cursor: pointer;
}

td .fas:hover {
    transform: scale(0.9);
}

.fas {
    color: var(--green);
    display: inline-block;
    vertical-align: middle;
}


.fa-yellow {
    color: #bab84c;
}

.function i {
    margin-right: 5px;
    width: 20px;
}

td .fas.fade {
    opacity: 0.15;
}

.input-with-before {
    display: grid;
    grid-template-columns: max-content auto;
}

.input-with-before span {
    background: #fff;
    border: 1px solid #ccc;
    padding: 1px 12px;
    color: #000;
    border-radius: 7px 0px 0px 7px;
    border-right: 0px;
}

.input-with-before input {
    border-radius: 0px 7px 7px 0px;
    }


#searchbar {
    display: flex;
    align-items: center;
}

    #searchbar>* {
        margin-right: 10px;
    }

.input-with-after {
    display: inline-grid;
    grid-template-columns: auto max-content;
    width: max-content;
}

.input-with-after i {
    background: #fff;
    border: 1px solid #ccc;
    padding: 1px 12px;
    color: #000;
    border-radius: 0px 7px 7px 0px;
    border-left: 0px;
    margin: 10px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.input-with-after input {
    border-radius: 7px 0px 0px 7px;

}

.function.active {
    text-decoration: underline;
    font-weight: bold;
}

.functionHeadline {
    display: grid;
    grid-template-columns: max-content auto;
    align-items: center;
    grid-gap: 7.5px;
}

.main_header h1 {
    margin: 5px 0px;
}

.functionHeadline h2 {
    margin: 10px;
}

.functionHeadline i {
    font-size: 24px;
    color: var(--white);
}

.popup{
    position: fixed;
    width: var(--right-width);
    height: 100vh;
    background: white;
    z-index: 500;
    right: 0px;
    transition: .5s;
    top: 0px;

    display: grid;
    grid-template-rows: max-content auto;
}

    .popup.left {
        transition: .5s;
        right: calc( var(--right-width) / 2 );
        width: calc( var(--right-width) / 2 );
    }

    .popup.right {
        transition: .5s;
        right: 0%;
        width: calc( var(--right-width) / 2 );
        text-align: left !important;
    }

.popup-content {
    padding: 20px;
    border: 1px solid #eee;
    border-top: none;
    overflow-y: scroll; 
}

.titelbar {
    background: black;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.buttons i {
    color: white;
    cursor: pointer;
    padding: 10px 10px;
    border-radius: 4px;
}

.buttons i:hover {
    background: white;
    color: black;
}

#fotoalbum, #files, #sortable {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 1000px;
    flex-wrap: wrap;
}

#fotoalbum .thumb, #files .thumb {
    border: 1px solid var(--green);
    overflow: hidden;
    cursor: pointer;
}

#fotoalbum .thumb.highlight {
    border: 2px solid var(--red);
}

.thumb.highlight:after {
    content: 'hoofdfoto';
    position: absolute;
    left: 0px;
    top: 0px;
    background: var(--red);
    padding: 3px;
    color: white;
}

.thumb.highlight[data-type="magazine"]:after {
    content: 'cover';
}

#fotoalbum img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.buttons {
    display: flex;
    column-gap: 5px;
}

.thumb .buttons {
    position: absolute;
    right: 0px;
    bottom: 0px;
    background: black;
    padding: 5px;
}

.popup.left .buttons .icon-left {
    opacity: 0.5;
    cursor: not-allowed;
}

.popup.right .buttons .icon-right,
.popup.minimize .icon-minimize,
.popup .icon-max {
    opacity: 0.5;
    cursor: not-allowed;
}

.popup.left .icon-max, 
.popup.right .icon-max, 
.popup.minimize .icon-max {
    opacity: 1;
    cursor: not-allowed;
}

.flex {
    display: flex;
}

.popup .titelbar .flex .fas {
    color: white;
    margin-right: 10px;
}

.popup.minimize {
    width: max-content;
    left: auto;
    right: 10px;
    z-index: 9999 !important;
    height: auto;
    top: calc(100vh - 65px);
    position: fixed;
}

.popup.minimize .titelbar {
    flex-direction: column-reverse;
    justify-content: left;
    align-items: flex-end;
    padding: 8px;
    box-shadow: 0px 0px 3px 2px rgb(0 0 0 / 20%);
}

.popup.minimize .titelbar .flex i {
    display: none;
}

.popup.minimize .popup-content {
    display: none;
}

.ck-editor__editable {
    height: 300px;
}

table .ck-editor__editable {
    max-width: 500px;
}

table .ck.ck-editor {
    max-width: 500px;
}

nav a.active, nav a:hover {
    background: #eee;/
    border: 1px solid #e6e6e6;
    border-left: 0px;
    border-right: 0px;
}

nav a.active .fas, nav a:hover .fas {
    color: black;
}

.slots {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 7.5px;
    margin: 25px 0px;
}

.slots .slot {
    background: #ddd;
    min-height: 150px;
    display: grid;
    align-items: stretch;
    justify-content: stretch;
    cursor: grabbing;
}

.slot .inner {
    margin: 15px 10px;
    display: grid;
    grid-template-rows: max-content auto;
    grid-gap: 7.5px;
}

.slot h2 {
    margin: 0px;
    width: max-content;
}

.slots .slot i {
    cursor: pointer;
}

.slot-item {
    background: white;
    overflow: auto; /* WAAROM IS DIT NODIG? MARGIN BUGGGG */
    cursor: default;
}

.slot .buttons {
    position: absolute;
    top: 0px;
    right: 0px;
}

.slot .buttons i {
    cursor: pointer;
    color: black;
    margin-left: 5px;
}

    .fa-trash {
        color: var(--red) !important;
    }

.overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1000;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

    .overlay-content {
        min-width: 500px;
        box-shadow: 0px 0px 15px rgba(0,0,0,0.6);
    }

    .overlay-content>div:last-child {
        text-align: left;
        padding: 20px;
        background: white;
        overflow-y: auto;
        min-height: 500px;
        max-height: calc(100vh - 75px);
    }

    .overlay-content .titelbar {
        padding: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.overlay-grid {
    display: grid;
    grid-template-columns: 1fr 200px;
    align-items: stretch;
    margin: -20px;
    min-width: 750px;
    height: 100%;
}

.overlay-left {
    padding: 20px;
}
.overlay-right {
    background: #ddd;
    padding: 20px;
}

.dropzone {
    flex-direction: column;
}

.dz-default {
     min-height: 150px;
    border: 2px dashed var(--green);
    background: rgba(255,255,255,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.dz-preview {
    width: 120px;
    aspect-ratio: 1;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
}

.dz-image {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dz-success-mark, .dz-error-message, .dz-error-mark, .dz-remove {
    display: none;
}

.tabs {
    display: flex;
}

.tabs>div{
    padding: 15px 20px;
    margin-right: -1px;
    text-decoration: none;
    border-radius: 5px 5px 0px 0px;
    display: inline-block;
    text-transform: uppercase;
    color: black;
    margin-bottom: -1px;
    cursor: pointer;
}

.tabs .active {

    border: 1px solid black;
}

.tab {
    border: 1px solid black;
    display: none;
    padding: 10px;
}

.tab.active {
    display: block;
}

.tabs>div.active:after {
    content: '';
    width: 100%;
    height: 1px;
    background: white;
    position: absolute;
    bottom: -1px;
    z-index: 9000;
    left: 0px;
}

.row-expand {
    display: none;
}

td .btn {
    padding: 8px 15px;
    font-size: 10px;
}

#pic_focus_cntr {
    padding: 0px 50px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}

#pic_focus {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    max-width: 650px;
    margin: 50px auto;
}

.focuspunt {
    width: 20px;
    height: 20px;
    background: var(--green);
    border-radius: 25px;
    position: absolute;
    top: calc( var(--y) - 10px);
    left: calc( var(--x) - 10px);
}

#pic_focus img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1.75;
    object-fit: cover;
    border: 1px solid black;
}

#pic_focus img:nth-child(2){
    grid-column: auto / span 2;
}

#pic_focus img:nth-child(3){
    grid-column: auto / span 3;
}


.hv {
    display: block;
    width: 50px;
    height: 25px;
    position: absolute;
    cursor: pointer;
}

.hv i {
    font-size: 42px;
    color: var(--blue);
}

.hv.side {
    width: 25px;
    height: 50px;
}

#r {
    left: 100%;
    top: calc(50% - 50px);
}

#o {
    left: calc(50% - 50px);
    top: 100%;
}

#b {
    left: calc(50% - 50px);
    top: -50px;
}

#l {
    left: -50px;
    top: calc(50% - 50px);
}

span.counter {
    position: absolute;
    bottom: 0px;
    right: 4px;
    background: var(--blue);
    color: white;
    width: 15px;
    border-radius: 50%;
    font-size: 10px;
    height: 15px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

span.counter.fa-check {
    background: var(--green_radiant);
}

.menu-collapsed .website:not(.active), .menu-collapsed nav, .menu-collapsed .user, .menu-collapsed .website label{
    display: none;
}

.menu-collapsed .website>.content {
    margin-left: 0px;
}



.menu-collapsed .function span {
    max-width: 0px;
    overflow: hidden;
    transition: .3s;
    color: white;
    background: var(--green);
    line-height: 50px;
}

.menu-collapsed .function:hover span {
    max-width: max-content;
    transition: .3s;
    padding-right: 10px;
}

.menu-collapsed #main-left {
    position: fixed;
    left: 0px;
    top: 0;
    width: 50px;
    height: 100svh;
    z-index: 750;
    background: white;
    min-width: 0px;
}

.menu-collapsed #main-right {
    background: white;
    padding-left: 50px;
    min-height: 100svh;
    width: 100svw;
}

.menu-collapsed .function {
    display: grid;
    align-items: stretch;
    text-decoration: none;
    justify-content: stretch;
    grid-template-columns: 50px max-content;
    grid-template-rows: 50px;
}

.menu-collapsed .function i {
    font-size: 22px;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.menu-collapsed .website.active,.menu-collapsed  .website:hover {
    background: none;
    margin-top: 75px;
    padding: 0px;
}

.menu-collapsed .function.active i, .menu-collapsed .function:hover i {
    background: var(--green);
    color: white;
}

.menu-collapsed .website.active>.content {
    width: max-content;
}

.pill {
    background: var(--blue);
    border-radius: 25px;
    padding: 3px 7px;
    display: inline-block;
    margin: 0px 5px;
    color: white;
    font-size: 11px;
}

    .pill.red {
        background: red;
    }

    .pill.green {
        background: var(--green);
    }

    .pill.orange {
        background: #d08a0b;
    }


.autocomplete {
    --ac_width: 300px;
    width: var(--ac_width);
}

.autocomplete input {
    border-radius: 7px 7px 0px 0px;
    margin: 10px 0px;
    width: 100%;
}

.autocomplete_result {
    position: absolute;
    background: white;
    border: 1px solid #aaa;
    z-index: 3000;
    min-height: var(--ac_width);
    min-width: var(--ac_width);
    display: none;
    width: 100%;
    border-radius: 0px 0px 7px 7px;
    top: calc(100% - 10px);
}

.autocomplete_result>div {
    padding: 10px 10px;
    cursor: pointer;
}