:root {

  --color-1: #ffffff;
  --color-2: #c268a5;
  --color-3: #e22328;
  --color-4: #009fe3;
  --color-5: #6a3084;
  /* background white */
  --color-6: #fff; 

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* Standard page style */
body {
  background: var(--color-2);
  font-family: Arial, Helvetica, sans-serif;
  max-width: 100%;
}

header{

  background-color: var(--color-4);
  margin: 0px;
  text-align: center;
}

footer{
text-align: center;
color: var(--color-1);
background-color: var(--color-4);
padding: 20px;
margin-top: 25px;
}

section{
    padding-top: 40px;
    display: block;
    margin: 0 auto;
    text-align: center;
    
}

header p {
    color: var(--color-5);
    padding: 0px; 
    margin: 0px;
    padding-bottom: 10px;
    font-size: 30px;
    text-align: center;
    font-weight: Bold;
    border-bottom: 2px solid var(--color-3);
}

h1 {
  padding: 10px;
  padding-left: 20px;
  margin: 0;
  margin-top: 15px;
  font-size: 16px;
  background-color: var(--color-4);
  color: var(--color-1);
  text-align: left;
  border-bottom: 3px var(--color-2) solid;
}

h2, h3 {
  padding: 10px;
  padding-left: 20px;
  margin: 0;
  margin-top: 15px;
  font-size: 14px;
  background-color: var(--color-4);
  color: var(--color-1);
  text-align: left;
}
h3 {
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 12px;
}
.box1, .box2 {
  display: inline-block;
  box-sizing: border-box;
  padding: 20px;
  margin-top: 0px;
  margin-bottom: 15px;
  
}

.box1{
  width: 12%;
  margin-right: 10px;
}

.box2{
  width: 79%;
}

.box1 ul {
  list-style: none;
  font-weight: Bold;
  
}

.box1 ul li {
  color: var(--color-1);
  display: inline-block;
  padding: 0.6rem;
  position: relative;
  background-color: var(--color-2);
}

#navbar {
  background-color:var(--color-4);
  position:sticky;
  top: 0;
  text-align: center;
  color: var(--color-1);
}

#navbar ul {
list-style: none;
font-weight: Bold;

}

#navbar ul li {
color: var(--color-1);
display: inline-block;
padding: 0.6rem;
position: relative;
background-color: var(--color-4);
}

#navbar ul li a {
color: var(--color-1);
text-decoration: none;
}

#navbar ul li ul {
display: none;
}

#navbar ul li:hover {
cursor: pointer;
background: var(--color-3);
color: var(--color-1);
}

#navbar ul li:hover a {
color: var(--color-1);
}


#navbar ul li:hover ul {
display: block;
position: absolute;
left: 0;
width: 200px;
margin-top: 0.6rem;
}

#navbar ul li:hover ul li {
display: block;
background: var(--color-4);
}

#navbar ul li:hover ul li a {
color: var(--color-1);
}

#navbar ul li:hover ul li:hover {
background: var(--color-3);
color: inherit;
}

#navbar ul li:hover ul li span {
float: right;
color: var(--color-5);
background: var(--color-1);
padding: 0.2rem 0.5rem;
text-align: center;
font-size: 0.8rem;
}

#navbar ul li:hover ul li:hover span {
background: var(--color-4);
}


#myInput {
  background-image: url('/image/searchicon.png');
  background-position: 5px 8px;
  background-size: 25px 25px;
  background-repeat: no-repeat;
  padding: 5px;
  border: var(--color-4) 5px solid;
  background-color: var(--color-4);
  font-weight: bold;
  padding-left: 35px;
  padding-top: 15px;
  padding-bottom: 15px;
  width: 100%;
}
/* font search box */
::placeholder {
  color: var(--color-5);
  font-weight: bold;

}


/* Normal table style */
table {
  border-collapse: collapse;
  table-layout: auto;
  background-color: var(--color-4);
  text-align: left;
  width: 100%;
  border: none;
}
  
a:link {
  color: Black;
  text-decoration: none;
}

a:visited {
color: Black;
text-decoration: none;
}

a:hover {
  text-decoration: none;
}

th, td {
    text-align: left;
    padding: 8px;
    border: none;
    border-bottom: 1px solid var(--color-4);
}
th{
background-color: var(--color-4);
color: var(--color-1);
}
tr:nth-child(even) {
  /* background-color: var(--color-2); */
}

/* Item list style */
#myTable tr:hover{
  background-color: var(--color-4)
}


/* Project view style */
#Project_info_table, #Project_BOM_table,  #Project_edit, #Invoice_edit { 
  border: 1px solid var(--color-5);
  padding: 0px ;
  margin: 0px ;
}

#Project_edit td{
  Width: auto ;
}

#Project_info_table td:nth-child(1){
  width: 25%;
}

#Project_details_box{
  padding: 0px ;
  margin: 0px ;
  padding-bottom: 40px;
}

#project_details_box h1{
  margin-bottom: 20px;
}

#Invoice_change_box, #Project_change_box{
  padding: 0px;
  margin: 0px;
  padding-top: 40px;
  width: 700px;
}

/* List style */
#List_box{
padding: 0px;
margin: 0px;
margin-top: 0px;
}

/* Item details style*/
#Invoice_details_table, #Item_details_table {
border: 1px solid var(--color-5);
padding: 0px ;
margin: 0px ;
width: 100;
}

#Item_details_table td:nth-child(1), #Invoice_details_table td:nth-child(1){
width: 28%;
}

#Item_details_box, #Invoice_details_box{
margin: 0;
padding: 0;
margin-bottom: 40px;
text-align: center;
color: white;
}

#Item_details_box b, button, #button_reg, #Remove_button{
padding: 10px;
background-color: var(--color-2);
font-size: 18px;
font-weight: bold;
cursor: pointer;
border: none;
}

#Update_points button{
  padding: 2px;
  width: 100%;
background-color: var(--color-2);
color: white;
font-size: 12px;
font-weight: bold;
cursor: pointer;
border: none;
}
#Update_points, #Update_points a{
  font-weight: bold;
  color: white;
}
#Remove_button{
background-color: red;
color: white;
margin-bottom: 40px;
}
#Remove_button a{
color: white;
}
#Remove_button:hover{
background-color: darkred;
}

#Item_details_box b:hover, button:hover, #button_reg:hover{
background-color: var(--color-3);
}

#Item_details_box a, button, #button_reg, #Invoice_details_box a{
color: var(--color-5);
}

#item_change_form td:first-child, #Item_details_table td:first-child, #Form_style td:first-child, #Invoice_details_table td:first-child{
font-weight: bold;
width:1px;
white-space:nowrap;
text-align: center;
}

.container input {
position: absolute;
opacity: 0;
cursor: pointer;
}

.checkmark {
position: absolute;
top: 0;
left: 0;
height: 16px;
width: 16px;
background-color: #eee;
border-radius: 50%;
}

.container input:checked ~ .checkmark {
background-color: var(--color-5);
}

/* Form style */
#Form_style{
border: 1px solid var(--color-5);
text-align: center;
}

#Form_style input, #Invoice_edit input {
  width: 100%;
  padding: 3px;
  border: var(--color-4) 1px solid;
  border-radius: 0px;
  vertical-align: left;
}

#Form_style button, #login button, #Invoice_details_table button, #Invoice_edit button, #Project_edit button {
  width: 50%;
  margin: 0px;
  padding: 0px;
  padding-top: 3px;
  padding-bottom: 3px;
  background-color: var(--color-2);
  color: var(--color-1);
  font-size: 16px;
  cursor: pointer;
  /* border: 1px var(--color-5) solid; */
  /* border-radius: 15px; */
}

#Form_style button:hover, #Invoice_details_table button:hover {
  background-color: var(--color-3);
}

/* New account */
.form-group{
padding: 0px;
margin: 0px;
margin-top: 5px;
margin-bottom: 5px;
text-align: left;
}

.container {
display: block;
position: relative;
padding-left: 35px;
margin-bottom: 3px;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}


/* Login page */
#login {
border: 2px solid var(--color-4);
}

@media(min-width: 1000px){
section{
width: 100%;

   }
}  

@media(max-width: 1000px) {
h1{
  border-radius: 0px;
}

.box1, .box2, #Invoice_change_box, #Project_change_box {
  width: 100%;
  padding: 0px;
  
}

#navbar {
  background-color:var(--color-2);
  position: relative;
  top: 0;
  text-align: center;
  color: var(--color-5);
}

#Nav_mobile_sticky{
position: sticky;
top: 0px;
}
#navbar ul li {
  display: block;
  padding: 0px;
  padding-top: 1px;
  padding-bottom: 1px;
}

#navbar b{
    display: none;
}

#navbar ul li:hover ul {
  width: 100%;
  position: relative;
}
section{
    float: middle;
    width: 100%;
    height: auto;
}
#Item_details_table , #Invoice_details_table{
  width: 100%;
}
header p{
    font-size: 24px;
}
}


/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
margin: auto;
display: block;
width: 80%;
max-width: 700px;
}

/* Caption of Modal Image */
#caption {
margin: auto;
display: block;
width: 80%;
max-width: 700px;
text-align: center;
color: #ccc;
padding: 10px 0;
height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
-webkit-animation-name: zoom;
-webkit-animation-duration: 0.6s;
animation-name: zoom;
animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
from {-webkit-transform:scale(0)} 
to {-webkit-transform:scale(1)}
}

@keyframes zoom {
from {transform:scale(0)} 
to {transform:scale(1)}
}

/* The Close Button */
.close {
position: absolute;
top: 15px;
right: 35px;
color: #f1f1f1;
font-size: 40px;
font-weight: bold;
transition: 0.3s;
}

.close:hover,
.close:focus {
color: #bbb;
text-decoration: none;
cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
.modal-content {
  width: 100%;
}
}

#login_logo {
  width: 150px;
}

#wrong_code, #Question_image, #Groeps_foto{
  width: 100%;
}
#Selfie_image{
  width: 40%;
}
#waiting_symbol{
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-top: 10px;
  width: 100px;
}