/* Reset some basic elements */
body, h1, p {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Add some styling to the header, main and footer sections */
header, main, footer {
    padding: 20px;
}

header {
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

main {
    margin: 20px 0;
}

form {
    margin-left: 10px;
}

footer {
    background: #f5f5f5;
    border-top: 1px solid #ddd;
    text-align: center;
}

a {
    color: blue;
    text-decoration: none;
    background-color: lavender;
    padding: 5px 10px;
    border-radius: 4px;
}
a:hover{
    background-color: #7d88fa;
    color: white;
}

.warning{
    background-color: #faa9a4;
    color: white;
}

.warning:hover{
    background-color: #fa5453;
    color: white;
}

input[type=text], input[type=password], select{
    width: 400px;
    padding: 4px;
    border: 1px solid grey;
    border-radius: 4px;
}
textarea{
    width: 97%;
    height: 300px;
    padding: 4px;
    border: 1px solid grey;
    border-radius: 4px;
}



/*Navigation*/
nav {
    width: 100%;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

nav li {
    width: 100%;
    border-bottom: 1px solid #ddd;
}

nav li:last-child {
    border-bottom: none;
}

nav li a {
    display: block;
    color: #000;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: background-color .3s;
}

nav li a:hover {
    background-color: #ddd;
}

/* Desktop Styles */
@media (min-width: 768px) {
    nav ul {
        display: flex;
        flex-wrap: wrap;
    }

    nav li {
        width: auto;
        border-bottom: none;
    }

    nav li a {
        padding: 20px;
    }
}



/*Page*/
.pageHeader{
    font-size: x-large;
    padding: 20px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pageHeader a {
    font-size: 0.6em;
    margin-left: auto;
}

/*Customer*/
.klantrijkop{
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    padding: 5px;
    margin-top: 5px;
    margin-left: 0px;
    margin-right: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.klantrijkop p{
    font-size: 0.8em;
    margin-left: 10px;
}

.klantrijkop p:first-child{
    width: 40%;  /* adjust the width as needed */
    flex-shrink: 0; /* prevent the item from shrinking if there's not enough space */
}

.klantrijkop p:nth-child(2) {
    /*text-align: left;*/
    width: 300px;
}

.klantrij{
    padding: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid #d5d5d5;
    border-left: 1px solid #d5d5d5;
    border-right: 1px solid #d5d5d5;
    border-top: 1px solid #d5d5d5;
}

.klantrij a {
    font-size: 0.8em;
}
.klantrijBody a {
    font-size: 0.8em;
}

.klantNaam{
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.klantNaam p{
    font-weight: normal;
    font-size: 0.8em;
    margin-left: auto;
}

.klantInfo{
    padding: 10px;
}

button {
    border: 1px solid #b3b3b3;
}

#hardwareList{
    margin-top: 10px;
    margin-bottom: 10px;
}

.hardwareItem {
    margin-bottom: 10px;
    color: #696969;
}

/*Pipeline*/

#viewColumns {
    display: flex;
    flex-direction: row;
}

#viewColumns > div:nth-child(1) {
    flex: 0 0 45%; /* Or you can use width: 40%; */
}

#viewColumns > div:nth-child(2) {
    flex: 0 0 55%; /* Or you can use width: 60%; */
}

.klantRijColumns{
    display: flex;
    flex-direction: row;
}

.klantRijColumns > div:nth-child(1) {
    flex: 0 0 90px;
}

.klantRijColumns > div:nth-child(2) {
    flex: 0 0 90%;
}

.colKop{
    margin-left: 10px;
}

.eventView{
    margin: 5px;
}

.name-tag {
    display: inline-block;
    margin-right: 10px;
    padding: 5px 10px;
    border-radius: 12px;
    background-color: #f2f2f2;
    font-size: 14px;
}

.kader {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.kaderEvents {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 5px;
}

.kaderMemo {
    background-color: #eeeeee;
    padding: 10px;
}

.labelKop {
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: bold;
    display: inline-block;
}

.eventLog{
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.piperijkop{
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    padding: 5px;
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;

}

.piperijkop p{
    font-size: 0.8em;
    /*margin-left: auto;*/
}

.piperijkop p:first-child{
    width: 40%;  /* adjust the width as needed */
    flex-shrink: 0; /* prevent the item from shrinking if there's not enough space */
}

.piperijkop p:nth-child(2) {
    /*text-align: left;*/
    width: 50%;
}

.memo {
    background-color: #f0f0f0; /* Grey background */
    border-radius: 4px;        /* Rounded corners */
    padding: 10px;              /* Padding */
}

.checkbox-container {
    display: flex;
    align-items: center; /* Vertical centering */
}
.checkbox-container label {
    margin-left: 10px; /* Optional space between checkbox and label */
}

.checkboxContact a{
    margin-bottom: 5px;
    display: inline-block;
}

.subscriptionKop {
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    padding: 5px;
    margin: 5px;

    display: flex;
    justify-content: space-between;
    text-align: left;
}

.subscriptionKop p{
    /*border: 1px solid red;*/
}

.subscriptionKop p:first-child {
    text-align: left;
    width: 45%;  /* adjust the width as needed */
    flex-shrink: 0; /* prevent the item from shrinking if there's not enough space */
}

.subscriptionKop p:last-child {
    text-align: right;

}

.subscriptionKop p:nth-child(2) {
    text-align: left;
    width: 33%;
}


.system-message-error {
    background-color: rgba(255, 0, 0, 0.36);
    padding: 10px;
    /* other styles for error messages... */
}

.system-message-success {
    background-color: rgba(0, 128, 0, 0.36);
    padding: 10px;
    /* other styles for success messages... */
}

.system-message-default {
    background-color: rgba(128, 128, 128, 0.35);
    padding: 10px;
    /* other styles for default messages... */
}

