html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow-x:100%;
  }
*, *:before, *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
    margin: 0;
    padding: 0; 
}
:root{
    --main-color:#0D6EFD;
    --body-background-color:#3c3c3c;
    --form-background-color:#464646;
    --hover-blue:#0f73de;
    --delete-button-color:#C70000;
    --delete-button-hover-color:#b30000;
}
body{
    background-color: var(--body-background-color) !important;
}
header{
    width: 100%;
}
nav{
    width: 100% !important;
    display: flex;
    flex-direction: row;
    justify-content:space-evenly;
    padding: 20px 100px;
}
nav a{
    text-decoration: none;
}
main{
    padding: 0 2rem 30px;
}
p{
    margin-bottom: 0 !important;
}
h1,h2{
    margin: 0 0 10px;
}
h1{
    font-size: 27px !important;
}
h2{
    font-size: 22px !important;
}
h3{
    font-size: 18.72px !important;
}
label,p,h1,h2,h3,a, th, td, .white{
    color: white !important;
}
button{
    cursor: pointer;
}
i::before{
    max-width: 14px !important;
    max-height: 14px !important;    
    vertical-align: baseline;
}
.bi-trash::before{
    margin-right: 1.8px;
    color: white !important;
}
.Colorchanger{
    color: var(--body-background-color) !important;
    background-color: var(--body-background-color) !important; 
}
/*Utility classes*/
.full-width{
    width: 100%;
}
.flex, .flex-select, .flex-row{
    display: flex;
    flex-direction: row;
    column-gap: 5px;
}
.flex-select{
    height: 25.33px;
    margin: 1rem 0;
}
.flex-row{
    display: flex;
    flex-direction: row;
}
.flex-column{
    display: flex;
    flex-direction: column;
}
.justify-center{
    justify-content: center;
}
.align-center{
    align-items: center;
}
.align-content-center{
    align-content: center;
}
.wrap{
    flex-wrap: wrap;
}
.bi-search::before,.bi-arrow-right::before,.bi-calendar::before{
    vertical-align: baseline !important;
}
.pointer, .bi-arrow-right, .bi-search{
    cursor: pointer !important;
}
.none{
    display: none !important;
}
.hidden{
    /*Hides input while still displaying it*/
    position: absolute;
    right: 0;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
}
.center{
    margin: 0 auto;
    text-align: center;
}
.product-entry{
    margin-bottom: 1.5rem;
}
/*PAGES*/
.links,.delete{
    margin-top: 30px;
}
.delete{
    flex-direction: row !important;
    justify-content: center;
    text-align: center;
    column-gap: 7px;
}
.delete input{
    padding: 2px 10px;
}
.max-width{
    max-width: 8rem;
}
/*Select boxes and input fields*/
.custom-file-input {
    display: none; /* Hide the default file input button */
}
.selectize-input{
    width: 100% !important;
}
  .custom-file-label {
    background-color: var(--main-color);
    padding: 10px 15px; 
    border-radius: 5px; 
    cursor: pointer;
}
.custom-file-label:hover {
    background-color: var(--main-color); /* Change background color on hover */
}
.smallNumberInput{
    max-width: 80px;
}
.smallNumberInput .selectize-input.full{
    min-height: 25.31px;
}

input[type="file"]{
    max-width: 15.5rem;
}
.dateInput {
    max-width: 120px;
}
.min-margin{
    margin: 0 0 0 -30px;
}
.SelectIconChange .selectize-control.single .selectize-input:after {
    right: 10px;
}
.create{
    margin-bottom: 30px !important;
}
/*Form*/
form{
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
    width: 100%;
}
.form-container{
    width: 80%;
    margin: 0 auto;
    background-color: var(--form-background-color);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
    margin: 0 auto 20px;
    max-width: 950px; /* Set a max-width for the main container */
}
.form-container form label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}
.form-container form input,
.form-container form select {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 2.5px;
}
form .form-row{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    row-gap: 50px;
    width: 100%;
}
.testLayOut{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 15px;
    position: relative;
    margin-bottom: 5rem;
}
.testLayOut .positionBottom{
    position: absolute;
    margin: 1rem 0;
    top: 100%;
}
form .multi-items{
    display: flex;
    width: 100%;
    flex-direction: row;
    column-gap: 0.5rem;
}
form .multi-items .item{
    width: 100%;
}
form .multi-items .item p{
    opacity: 0.7;
}
/*Tables*/
table{
    --bs-table-bg: #3c3c3c !important;
    margin: 0 !important;
}
table input, table select{
    padding: 0 0.5rem !important;
}

table .flex input{
    max-height: 25.33px;
}
table .selectize-input{
    padding: 2px 10px !important;
}
table .selectize-input.full{
    min-height: 25.33px !important;
}
.factuurUpdateTable input{
    max-width: 80px;
}
.change_table button{
    max-width: 31.33;
    max-height:30.33px;
    padding: 4px 8px;
}
.change_table button i::before{  
    vertical-align: baseline;
}
.product_table td{
    min-height: 54.32px;
}
.column-gap{
    display: flex;
    column-gap: 10px;
}
.table-fixed {
    table-layout: fixed; /* Ensure table does not overflow */
}
.gemeente_table_change{
    visibility: hidden;
}
.gemeente_table_change tr{
    display: none;
}
table button[type="submit"]{
    width: auto !important;
}
button[type="submit"]{
    width: 13%;
}
table .TypeSelect{
    width: 110px;
}
table .Submit-max-height{
    max-height: 37.33px;
}

th form i:hover{
    /*Puts pointer on the filter icons*/
    cursor: pointer;
}
th form input[type="radio"], th form button[type="submit"]{
    display: none;
}
.Klant_table_container{
max-width: 90%;
}

/*Buttons*/
.remove-product{
    color: #ffffff;
    background-color: var(--delete-button-color);
    border-color: var(--delete-button-hover-color);
    padding: 6px 9px;
    border-radius: 8px;
}
.remove-product:hover{
    background-color: var(--delete-button-hover-color);
    border-color: var(--delete-button-hover-color);
}
.factuur-bekijken{
    width: 15%;
}
.datebutton{
    width: 100%;
    padding: 0.5rem 14px 0.5rem 0.5rem;
    background-color: white;
    border: rgb(118, 118, 118) 2px solid;
    border-radius: 4px;
    font-size: 1rem;
    text-align: start;
    display: flex;
    justify-content: space-between;
}
.datebutton i{
    margin: 0 0 0 20px;
}
.datebutton .dateInput{
    border: none !important;
    width: 100px !important;
    padding: 0;
}
.margin-left{
    /*Ga na factuur knop in korting update*/
    margin-left:5px;
}
/*Searchbar*/
.Searchbar{
    width: 450px !important;
}
.Searchbar .selectize-input, .smallNumberInput .selectize-input{
    padding: 2px 10px !important;
}
/*Filter*/
th form input[type="radio"]:checked {
    color: blue;
    background-color: blue;
}
.ASC_DESC{
    display: flex;
    flex-direction: row;
    column-gap: 0px;
}
/*Portfolio*/
.portfolio .portfolioButton, .portfolio button[type="submit"]{
    width: 12rem;
}
.portfolio section{
    margin: 0 0 25px;
}
/*Tussenstap*/
.portfolioImages{
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 20px;
    padding: 0 10% !important;
    width: 100%;
    margin: 2rem auto 0;
    flex: 1;
}
.portfolioImages article{
    display: flex;
    flex-direction: column;
}
.portfolioImages img{
    margin: auto auto 5px !important;
    width: auto;
    max-width: 100px;
    height: auto;
    max-height: 100px;
}
.tussen button[type="submit"]{
    width: 100%;
}
.tussen .go_back_button{
    width: 75.5%;
}
/*Login*/
.login {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 100px 0 0;
}
.login form{
    row-gap: 0;
}
.login .form-container {
    padding: 40px 60px;
    max-width: 400px;
    text-align: center;
    height: 350px;
}
.loginform h1 {
    margin-bottom: 30px;
    font-size: 24px;
    color: #ffffff!important;
    font-weight: 600;
}
.login form label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    color: #ffffff !important;
    font-weight: 500;
    text-align: left;
}
.login form input[type="password"]{
    padding: 12px 15px;
    margin-bottom: 30px;
}
.login form input[type="password"]:focus{
    border-color: var(--main-color);
    outline: none;
}
.login form button  {
    background-color: var(--main-color);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    width: 100%; 
}
.login form button:hover {
    background-color: var(--hover-blue);
}
/*Homepage*/
.homepage main {
    max-width: 450px;
    margin: 20px auto 0;
    padding: 0 2rem;
}
.homepage .links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.homepage .links a {
    padding: 0.6rem; 
    transition: background-color 0.3s ease;
}
.homepage .links h2 {
    margin-bottom: 0px;
}
/*one time use prob*/
.hundredpxwidth{
    width: 100px !important;
}