:root {
    --main-color:rgb(50, 52, 54);
    --chart-height: 500px;
    --table-fontsize: 18px;
    --fontsize: 18px;
    --fontsize-small: 14px;
    --screensize-small: 1600;
    --fontsize-h1: 26px;
    --fontsize-h2: 24px;
    --fontsize-h3: 22px;
}

body { font-family: Arial, sans-serif; }

title { font-size: 28px; }

h1 { font-size: var(--fontsize-h1); }

h2 { font-size: var(--fontsize-h2); color: white; }

h3 { font-size: var(--fontsize-h3); color: white; }

.tabs { display: flex; justify-content: left; cursor: pointer; margin-bottom: 10px; }
.tab { padding: 5px 5px; margin-right: 10px; border-radius: 3px; font-size: var(--fontsize); height: 80%; overflow: auto; }
.tab.active { background: #007BFF; color: white; }
.tab-content { display: none; border-radius: 5px; width: 100%; height: 100% !important; }
.tab-content.active { display: block; padding-bottom: 100px;} /*padding bottom is to prevent last part comes below bottom-header*/

.tab-content-v-container {width: 75%; height: 80%; }
.tab-advertise-v-container {width: 25%; height: 80%;}
.pno-leftright { width: 75%; }
.tabinner { width: 60%; }

@media only screen and (max-width: 1600px) 
{
    .tab-content-v-container {max-width: 75%;}
    .tab-advertise-v-container {width: 25%;}
    .tabinner { width: 100% !important; }
}

.tabinner { height: auto; font-size: var(--fontsize); font-weight: 400; }

.button-container {
    display: flex;
    justify-content: center;
    color: white;
    gap: 10px; /* Adds spacing between buttons */
}
label {
    display: flex;
    align-items: center;
    padding: 5px 5px; 
    gap: 5px;
    cursor: pointer;
    font-size: var(--fontsize);
}

.btn {
    padding: 5px 5px;
    background: #007BFF;
    color: white !important;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: var(--fontsize);
    min-width: 50px;
}


.btn:hover {
    background: #0056b3;
}

.btn:disabled,
.btn[disabled]{
  border: none;
  background-color: #cccccc;
  color: #666666;
}

canvas {
    /* max-width: 700px; */
    margin: 5px auto;
    background-color: white;
}

.tableFixHead {
    overflow: auto;
    height: 60vh;
}

.tableFixHead thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

table {
    border-collapse: collapse;
    width: 100% !important;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: var(--table-fontsize);
    text-align: left;
    border: none;
    /* border-radius: 3px; */
    overflow: hidden;
    /* box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); */
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
    table-layout: fixed;
    word-wrap: break-word;
} 

table label { font-size: var(--table-fontsize); }

table th {
    background-color: #ff9800;
    color: #fff;
    /* font-weight: bold; */
    /* font-size: 12px; */
    padding: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
    vertical-align: top;
    /* border-top: 1px solid #fff; */
    /* border-bottom: 1px solid #ccc; */

    /* next is for tooltip icon */
    /* text-align: left; */
    /* padding: 10px; */
    /* position: relative; Enable positioning for contained elements */
}

/* th {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
} */
  
th {
    hyphens: auto; /* Prefer proper word-breaking */
    overflow-wrap: break-word; /* Break inside words */
    word-break: break-word; /* Force breaking if needed */
    white-space: normal;
}

th {
    hyphens: auto;
}
  
table tr:nth-child(even) td {
    background-color: #f2f2f2;
}

.tab-content tr:hover td {
    background-color: #ffedcc;
}

table td {
    background-color: #fff;
    padding: 3px;
    /* border-bottom: 1px solid #ccc; */
    font-weight: bold;
}

.chart-container {
    width: 100% !important;
    /* height: 90% !important; */
    /* width: 80% !important;
    height: 50% !important;
    max-width: none !important;
    max-height: none !important; */
}

.pnochart {
    width: 95% !important;
    height: var(--chart-height) !important;
    max-width: none !important;
    max-height: none !important;
}

    /* Container styles for visual alignment */
.lang-selector-container {
    display: flex;
    align-items: center;
    /* margin-top: 30px; */
}
#languageSelector {
    margin-right: 10px;
    padding: 5px;
    font-size: var(--fontsize);
}
#selectedFlag {
    width: 32px;
    height: auto;
}

.outer {
    display: flex;
    /* justify-content: center; */
    /* align-items: center; */
    height: 100vh; /*Optional: Makes the parent take the full screen height*/
    /* background-color: #f0f0f0; Just for visibility */
}

.inner {
    /* width: 200px;
    height: 100px; */
    /* background-color: #4caf50; */
    /* text-align: center; */
    /* line-height: 100px; Centers text vertically inside the inner div */
    color: white;
    /* font-size: 20px; */
}

.header {
    font-size: 24px;
    margin-bottom: 20px;
}

.list-item {
    margin: 20px 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    position: relative;
}

.buttons {
    display: none; /* Hidden by default */
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.buttons button {
    margin-left: 5px;
    margin: 5px;
}

.pno-leftright { display: flex; }

.pno-leftright div:nth-child(1) { margin-right: auto; }


.pno-row { display: flex; gap: 10px; }

.pno-row-element {
    display: inline-block;
    /* padding: 10px; */
    margin-right: 5px;
}

.pnoadmin { visibility: hidden; width:0% !important; }

/* Ensuring parent container won't clip the dropdown */
body, .dropdown-container {
    overflow: visible;
}

/* Dropdown container styles */
.dropdown-container {
    display: inline-block;
    position: relative; /* Ensures dropdown menu is aligned */
    /* border: 1px solid #ccc; */
    /* border-radius: 5px; */
    /* background-color: #f9f9f9; */
    background-color: transparent;
    cursor: pointer;
}

/* Dropdown button styles */
.dropdown-button {
    padding: 10px 20px;
    font-size: var(--fontsize);
    /* background-color: #f9f9f9; */
    background-color: transparent !important;
    color: white;
    border: none;
    outline: none;
    width: 100%;
    cursor: pointer;
}

/* Dropdown menu styles */
.menuitems {
    display: none; /* Hidden by default */
    position: absolute; /* Ensures it appears directly below */
    top: 100%; /* Aligns below the button */
    left: 0; /* Aligns to the left of the button */
    border: 1px solid #ccc;
    border-radius: 0 0 5px 5px;
    background-color: #fff;
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 1000; /* Ensures it appears above other elements */
}

.menuitems li {
    padding: 10px;
    font-size: 14px;
    color: #333;
}

.menuitems li:hover {
    background-color:rgb(152, 172, 214);
}

.ui-widget-overlay {
    background: black;  /* rgba(0, 0, 0, 1);* Dark background with transparency */
}

.ui-datepicker-year {
    display: none;
}

.tooltip-field::after {
    content: '';
    display: inline-block;
    background-image: url('images/info.ico');
    background-size: contain; /* Ensures the image fits nicely */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    width: 14px; /* Adjust width to fit the image */
    height: 14px; /* Adjust height to fit the image */
    margin-left: 5px; /* Adds some spacing between the text and image */
    vertical-align: top; /* Aligns the image with the text */
}
  
#map {
width: 100%; /* or a fixed width like 600px */
height: 80%; /* Define a fixed height */
aspect-ratio: 16 / 9; /* Optional, helps set a consistent aspect ratio */
}

.pnolink {
color: lightblue !important;
/* background-color: transparent; */
/* text-decoration: none; */
}
.pnolink:visited {
color: lightblue !important;
/* background-color: transparent; */
/* text-decoration: none; */
}

input {
    text-align: left; /* Aligns text horizontally */
    vertical-align: top; /* Doesn't work inside input, so use padding */
    padding-top: 5px; /* Pushes text toward the top */
}

textarea {
    text-align: left; /* Aligns text horizontally */
    vertical-align: top; /* Aligns text vertically */
    font-size: var(--fontsize);
}

li {
    margin: 10px 0;
}

body, .tabs, .tab-content, .tab-content, .tab-content-v-container, .pno-row { background-color: var(--main-color); color: white; }
.tab-advertise-v-container {background-color: #474646}
.tab { background: #666464; }

.pnotablink {
    color: rgb(173, 216, 230);
    text-decoration: underline;
    cursor: pointer;
}

/* Hover state (when the mouse is over the link) */
.pnotablink:hover {
    color: rgb(73, 163, 193);
}

/* Active state (when the link is clicked) */
/* .pnotablink:active {
    color: rgb(73, 163, 193);;
} */

/* Visited state (after clicking the link) */
/* .pnotablink:visited {
    color: purple;
} */

.highlight {
    font-weight: bold;
}

.ads-container {
    display: flex;
    flex-direction: column; /* Zet de richting op verticaal */
    align-items: center;
    gap: 10px;
}
.ad-box {
    /* width: 300px; */
    height: 250px;
}

.fixed-bottom {
    position: fixed;
    bottom: -10px;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    text-align: center;
    padding-left: 15px;
    padding-top: 20px;
    padding-bottom: 10px;
}
.fixed-bottom-div {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* background-color: #333;
    color: white;
    text-align: center; */
    padding-top: 20px;
    padding-bottom: 20px;
}

