/* Universal Box-Sizing */
#CybotCookiebotDialog *::before,
#CybotCookiebotDialog *::after {
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  vertical-align: top;
  outline: none;
}

/* Normalize Headings */
#CybotCookiebotDialog h1, #CybotCookiebotDialog h2, #CybotCookiebotDialog h3, #CybotCookiebotDialog h4, #CybotCookiebotDialog h5, #CybotCookiebotDialog h6 {
  font-family: inherit; /* Use the same font family as body */
  font-weight: bold; /* Default heading font-weight */
  line-height: 1.2; /* Slightly tighter line height for headings */
  color: inherit; /* Inherit text color */
  -webkit-text-fill-color: inherit;
  text-align: left; /* Default text alignment for headings */
  position: inherit;
  transform: inherit;
}

/* List resets */
#CybotCookiebotDialog ol, #CybotCookiebotDialog ul {
  list-style-type: none;
  list-style-position: inside;
}

/* Table resets */
#CybotCookiebotDialog table {
  border-collapse: collapse; /* Removes space between borders */
  width: 100%; /* Ensures tables take up the full width */
}

#CybotCookiebotDialog th, #CybotCookiebotDialog td {
  text-align: left;
  vertical-align: middle;
  padding: 0px;
  border: 1px solid #ccc;
}

/* Button and link resets */
#CybotCookiebotDialog button, #CybotCookiebotDialog a {
  background: none;
  border: none;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

/*#CybotCookiebotDialog button:focus, #CybotCookiebotDialog a:focus {
  /*outline: none;*/
  outline: revert-layer;
}*/

/* Input, Select, Textarea reset */
#CybotCookiebotDialog input, #CybotCookiebotDialog select, #CybotCookiebotDialog textarea, #CybotCookiebotDialog button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
  border: 1px solid #ccc;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  cursor: pointer;
}

#CybotCookiebotDialog input[type="checkbox"] {
  cursor: pointer;
}

/*#CybotCookiebotDialog input:focus, #CybotCookiebotDialog select:focus, #CybotCookiebotDialog textarea:focus {
  /*outline: none;
  box-shadow: 0 0 3px rgba(0, 0, 255, 0.5); /* Optional: blue focus outline */
  outline: revert-layer;
}*/

/* Placeholder text */
#CybotCookiebotDialog input::placeholder, #CybotCookiebotDialog textarea::placeholder {
  color: #999; /* Light gray color for placeholders */
}

#CybotCookiebotDialog input:hover, select:hover, textarea:hover, button:hover {
  background-color: #f4f4f4; /* Light background on hover */
}

/* Label styling */
#CybotCookiebotDialog label {
  display: inline;
  margin: 0;
  padding: 0;
  font-weight: inherit;
}

/* Styling checkboxes and radio buttons */
#CybotCookiebotDialog input[type="checkbox"],
#CybotCookiebotDialog input[type="radio"] {
  width: auto;
  height: auto;
  margin-right: 8px; /* Space between checkbox/radio and label */
  vertical-align: middle;
}

/* Reset for buttons */
#CybotCookiebotDialog button {
  background-color: #fff; /* Transparent background for buttons */
  border-radius: 4px;
  border: 1px solid #ccc;
  padding: 0;
  cursor: pointer;
  font-size: inherit;
  text-align: center;
}

#CybotCookiebotDialog button:hover {
  background-color: #f4f4f4; /* Light background on hover */
}

/* Custom Checkbox, Radio & Range Inputs */
#CybotCookiebotDialog input[type="checkbox"], input[type="radio"], input[type="range"] {
  appearance: none; /* Remove default styling */
  background-color: transparent;
  border: 1px solid #ccc;
  border-radius: 3px;
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  position: relative;
}

#CybotCookiebotDialog input[type="checkbox"]:checked, #CybotCookiebotDialog input[type="radio"]:checked {
  background-color: #007bff; /* Blue for checked */
  border-color: #007bff;
}

#CybotCookiebotDialog input[type="checkbox"]:checked::after, input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: white;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Styling the dialog box (for cookie bot) */
#CybotCookiebotDialog {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 32px 68px rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 16px);
  max-height: calc(100% - 16px);
  box-sizing: border-box;
  display: none; /* Hidden by default */
}

#CybotCookiebotDialog.CybotCookiebotDialogActive {
  display: block; /* Show when active */
}

#CybotCookiebotDialogBodyUnderlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 2147483630;
}

#CybotCookiebotDialog.CybotCookiebotDialogActive + #CybotCookiebotDialogBodyUnderlay {
  opacity: 1;
  pointer-events: auto;
}

/* Flexbox normalizations */
.CybotCookiebotDialogContentWrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

#CybotCookiebotDialog ol, #CybotCookiebotDialog ul {
  list-style-position: inside;
}

#CybotCookiebotDialog label {
  width: auto;
}

:root #CybotCookiebotDialogBody {
  height: 100%;
}

:root #CybotCookiebotDialogBody,
:root #CybotCookiebotDialogTabContent .CybotCookiebotDialogTabPanel {
  flex: auto;
}

/* Ensure consistency of the content inside the dialog */
#CybotCookiebotDialog #CybotCookiebotDialogNav::before,
#CybotCookiebotDialog #CybotCookiebotDialogNav::after {
  content: none; /* Remove default nav decorations */
}

/* extra override */
#CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton:hover, #CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton:focus{
    background-color: #00568A !important;
    border-color: #00568A !important;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0px 0px 12px 0px #00000073 !important;
    opacity: 1 !important;

}

#CybotCookiebotDialog input:checked+.CybotCookiebotDialogBodyLevelButtonSlider {
  background-color: #4F7A0D !important;

}

#CybotCookiebotDialog .CybotCookiebotDialogBodyLevelButtonSlider {
  background-color: #00568A !important;

}

#CybotCookiebotDialog form input[type=checkbox][disabled]:checked+.CybotCookiebotDialogBodyLevelButtonSlider {
    background-color: #d6d6d6 !important;
}

#CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink.CybotCookiebotDialogActive {
    border-color: transparent;
    border-bottom: 3px solid #00568a !important;
}

#CybotCookiebotDialogBodyContentText a {
    text-decoration: underline !important;
    font-weight: 400 !important;
}

#CybotCookiebotDialogBodyContent {
    padding-bottom: 10px !important;
}

#CybotCookiebotDialogFooter .CybotCookiebotDialogArrow {
   margin-left: 0.5rem !important;
}

.CybotCookiebotDialogDetailBodyContentCookieContainerButton:before {
  vertical-align: super !important;	
}

#CybotCookiebotDialog :focus-visible {
   outline: 3px dashed red !important;
}

#CybotCookiebotDialog form:focus-within {
    outline: 3px dashed red !important;
    outline-offset: 2px !important;
}