/* STANDAARD INSTELLINGEN PAGINA */
html {
    background: url(../gfx/back-red.png) repeat-x 0 0;
}

body {
    padding: 0;
    margin: 0;
    overflow-y: scroll;
    overflow-x: hidden;
}

a, a:visited {
    color: #00457C; /* Donkerblauw, beter contrast dan het origineel */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* STANDAARD INSTELLINGEN HEADER */
#header {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0px auto;
    height: 180px;
    background: #fff;
    z-index: 50;
    text-align: left;
    overflow: none;
    border: 0px solid #ddd;
    -khtml-border-radius: 8px 8px 8px 8px;
    -moz-border-radius: 8px 8px 8px 8px;
    -webkit-border-radius: 8px 8px 8px 8px;
    border-radius: 8px 8px 8px 8px;
}

p {
    line-height: 1.5em;
}

p.info {
    margin-left: 10px;
}

#slogan {
    position: absolute;
    background: transparent;
    max-width: 400px;
    margin: -150px 0px 0px 390px;
    height: 160px;
    background: transparent;
    z-index: 50;
    overflow: none;
    border: 0px solid #900000;
    -khtml-border-radius: 8px 8px 8px 8px;
    -moz-border-radius: 8px 8px 8px 8px;
    -webkit-border-radius: 8px 8px 8px 8px;
    border-radius: 8px 8px 8px 8px;
}

h1.slogan {
    padding: 0px 0 0px 0px;
    margin: 0px 0 0 0px;
    font: italic 26px/50px 'texgyreadventorregular', 'lucida sans', arial, sans-serif;
    color: #00457C;
    float: left;
}

h2.slogan {
    padding: 0px 0 0px 0px;
    margin: 0px 0 0 0px;
    font: italic 18px/26px 'texgyreadventorregular', 'lucida sans', arial, sans-serif;
    color: #A34E00;
    float: left;
}

img.logo {
    height: 180px;
    margin-left: 10px;
}

#praktijkadres {
    position: relative;
    width: 80%;
    height: 50px;
    background: transparent;
    margin: auto auto;
    z-index: 20;
    font-family: verdana, arial, sans-serif;
    font-size: 0.8em;
    text-align: left;
    float: center;
    overflow: none;
    border: 0px solid #A34E00;
}

p.adres {
    font-family: verdana, arial, sans-serif;
    color: #222; /* Donkergrijs, zodat het leesbaar is op een lichte achtergrond */
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    margin: 4px 0px 0 0px;
    padding: 0px;
    text-transform: uppercase;
}

p.adres a,
p.adres a:hover,
p.adres a:visited {
    color: #222; /* Donkergrijs, consistent met de tekst */
}

#nva {
    position: absolute;
    background: transparent;
    margin: -120px 0px 0px 760px;
    padding: 2px 2px 6px 0px;
    font-family: verdana, arial, sans-serif;
    font-size: 0.8em;
    z-index: 20;
    height: auto;
    width: 240px;
    overflow: none;
    text-align: left;
    border: 0px solid #ddd;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    -ms-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    opacity: 1.0;
    filter: alpha(opacity=100);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

#nva img {
    position: relative;
    top: 10px;
    left: 10px;
    height: auto;
    width: 200px;
    z-index: 50;
    border: 0;
}

#nva p {
    text-align: center;
    font-family: verdana, arial, sans-serif;
    color: #333; /* Donkergrijs, goed leesbaar */
    font-size: 0.9em;
    font-weight: normal;
    float: center;
    margin: 5px 0 0 5px;
    padding: 1px;
}

#social {
    position: absolute;
    background: transparent;
    margin: 10px 0px 0px 840px;
    padding: 0 0 0 0;
    font-family: verdana, arial, sans-serif;
    font-size: 1.0em;
    /* position:fixed; */
    z-index: 200;
    height: 40px;
    width: 120px;
    overflow: none;
    text-align: left;
    border: 0px solid #ddd;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 0px 10px 10px;
    -ms-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    opacity: 1.0;
    filter: alpha(opacity=100);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

#social img {
    position: relative;
    top: 5px;
    left: 10px;
    height: 0px;
    width: 0px;
    z-index: 200;
    border: 0px;
}

/* STANDAARD INSTELLINGEN CONTENT */

.content {
    width: 100%;
    margin: 30px auto;
    max-width: 1000px;
}

.content h1 {
    padding: 0 30px;
    margin: 0 0px;
    font: normal 26px/50px 'texgyreadventorregular', 'lucida sans', arial, sans-serif;
    color: #00457C; /* Donkerblauw */
}

.content h2 {
    padding: 0 20px;
    margin: 10px;
    font: normal 22px/26px 'texgyreadventorregular', 'lucida sans', arial, sans-serif;
    color: #A34E00; /* Donker oranje/bruin */
}

.content h3 {
    padding: 0 20px;
    margin: 20px;
    font: normal 18px/26px 'texgyreadventorregular', 'lucida sans', arial, sans-serif;
    color: #555; /* Donkergrijs */
}

.content h3.indent {
    text-indent: 20%;
    padding: 0 40px;
    margin: 10px;
    font: normal 22px/26px 'texgyreadventorregular', 'lucida sans', arial, sans-serif;
    color: #A34E00; /* Donker oranje/bruin */
}

.content h5 {
    padding: 0 20px;
    margin: 0;
    font: normal 16px/20px 'texgyreadventorregular', 'lucida sans', arial, sans-serif;
    color: #555; /* Donkergrijs */
}

.content p {
    padding: 0px 20px;
    margin: 10px 30px;
    font: normal 14px/18px 'texgyreadventorregular', 'lucida sans', arial, sans-serif;
    color: #333;
}

article h1.art {
    font: normal 22px/26px 'Ubuntu Condensed', arial, sans-serif;
    color: #555; /* Donkergrijs, past beter dan de originele kleur */
    margin: 0;
    padding: 5px 15px 0 20px;
}

article h2.art {
    padding: 0 10px;
    margin: 10px;
    font: normal 18px/22px 'texgyreadventorregular', 'lucida sans', arial, sans-serif;
    color: #A34E00; /* Donker oranje/bruin */
}

article h3.art {
    font: normal 20px/30px 'Ubuntu Condensed', arial, sans-serif;
    color: #8D1F1F; /* Donkerrood, goed contrast */
    margin: 0;
    padding: 0;
}

article p.art {
    display: block;
    padding: 6px 15px;
    margin: 10px 10px;
    font: normal 14px/18px 'texgyreadventorregular', 'lucida sans', arial, sans-serif;
    color: #333;
}

article p.titel {
    display: block;
    padding: 0 10px;
    margin: 0px 10px 10px 20px;
    font: normal 11px/12px 'Ubuntu', arial, sans-serif;
}

article p.right {
    display: block;
    clear: left;
    text-align: right;
    padding: 0 10px;
    font: normal 14px/18px 'Ubuntu', arial, sans-serif;
}

article p.backwards {
    display: block;
    clear: left;
    padding: 0 20px;
    margin: 10px 10px 10px 30px;
    font: normal 14px/16px 'Ubuntu', arial, sans-serif;
    unicode-bidi: bidi-override;
    direction: rtl;
}

article p.info {
    color: #8D1F1F; /* Donkerrood, goed leesbaar */
    margin: 10px 10px 10px 10px;
}

article p a.art {
    font: normal 14px/16px 'Ubuntu', arial, sans-serif;
    color: #8D1F1F; /* Donkerrood, goed contrast */
    text-decoration: none;
}

article p.betalen {
    display: block;
    margin: 10px 10px 10px 60px;
    clear: left;
    padding: 0 20px;
    font: normal 12px/14px 'Ubuntu', arial, sans-serif;
}

/* FOOTER SECTIE VOOR ALLE PAGINA'S */

.footer {
    background: #5D0000; /* Donkerder rood voor beter contrast */
    padding: 0px;
    order: 4;
    flex: 0 0 60px;
    -webkit-flex: 0 0 60px;
    -ms-flex: 0 0 60px;
}

p.footer {
    padding: 10px 10px;
    margin: 0;
    font: normal 12px/14px 'texgyreadventorregular', 'lucida sans', arial, sans-serif;
    color: #fff;
    text-align: right;
}

h1 {
    font: bold 12px/20px 'texgyreadventorregular', 'lucida sans', arial, sans-serif;
    color: #A34E00; /* Donker oranje/bruin */
    margin: 0;
    line-height: 1.5em;
}

h2 {
    font: bold 10px/20px 'texgyreadventorregular', 'lucida sans', arial, sans-serif;
    color: #555; /* Donkergrijs */
    margin: 0;
    line-height: 1.5em;
}

img.footer {
    width: 100%;
    margin-left: 0px;
    opacity: 0.75;
    filter: alpha(opacity=75);
}

ul {
    list-style-type: square;
}

.extra {
    display: inline;
    float: left;
    text-decoration: none;
    margin: 0 0px;
    display: inline;
    width: 100%;
    z-index: 100;
}

.extra em {
    font-style: normal;
}

.extra em.txt,
.extra b {
    display: none;
    text-align: left;
}

.extra em.txt,
.extra a {
    display: none;
    text-align: left;
}

.extra .head {
    display: block;
    width: 100%;
    height: 180px;
    position: relative;
    margin: -180px 0 0px 0px;
}

.extra .color1 {
    background: transparent;
}

.extra img {
    border: 0;
    display: block;
}

.extra em.mh2 {
    padding-left: 5px;
    margin: 0;
    color: #000;
    font-weight: normal;
    font-family: verdana, arial, sans-serif;
    font-size: 24px;
}

.extra em.mh3 {
    padding: 5px 10px;
    margin: 0;
    font: normal 10px/20px 'texgyreadventorregular', 'lucida sans', arial, sans-serif;
    color: #fff;
}

.extra:hover {
    background: #fff;
    position: relative;
    cursor: pointer;
    text-decoration: none;
}

.extra:hover b {
    display: block;
    position: absolute;
    top: -550px;
    left: 0;
    width: 100%;
    background: #222;
    height: 550px;
    opacity: 0.9;
    filter: alpha(opacity=90);
}

.extra:hover .color1 b {
    background: #333;
}

.extra:hover em.txt {
    display: block;
    position: absolute;
    top: -535px;
    width: 98%;
    left: 10px;
    height: 560px;
    font: normal 10px/18px 'texgyreadventorregular', 'lucida sans', arial, sans-serif;
    color: #fff;
    margin: 0;
    line-height: 1.5em;
    vertical-align: text-top;
}

.extra:hover em.txt a.klacht {
    display: block;
    position: absolute;
    top: -515px;
    width: 98%;
    left: 10px;
    height: 520px;
    font: normal 10px/18px 'texgyreadventorregular', 'lucida sans', arial, sans-serif;
    color: #fff;
    margin: 0;
    line-height: 1.5em;
    vertical-align: text-top;
}

.greyscale {
    float: left;
    width: 100%;
    height: auto;
    margin-right: 0px;
    margin-left: 0px;
}

.greyscale h2 {
    clear: left;
    padding: 10px 0;
    margin: 0;
    font: bold 14px/20px arial, sans-serif;
    color: #00457C; /* Donkerblauw, consistent met de rest */
}

.greyscale img {
    width: 100%;
    height: auto;
    max-height: 195px;
    opacity: 0.5;
    filter: alpha(opacity=50);
}

.greyscale img.spinnaarkleur {
    width: 100%;
    height: auto;
    max-height: 300px;
    opacity: 0.5;
    filter: alpha(opacity=50);
}

.naarkleur {
    display: block;
    float: left;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    filter: url(#nocolor);
    -webkit-filter: grayscale(100%);
    filter: gray;
}

.naarkleur:hover {
    -webkit-filter: grayscale(0%);
    opacity: 1.0;
    -webkit-backface-visibility: hidden;
    filter: none;
}

.spinnaarkleur {
    display: block;
    float: left;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    filter: url(#nocolor);
    -webkit-filter: grayscale(100%);
    filter: gray;
}

.spinnaarkleur:hover {
    -webkit-filter: grayscale(0%);
    opacity: 1.0;
    -webkit-backface-visibility: hidden;
    filter: none;
}
/* Styling voor de Donkere Modus schakelaar */
.dark-mode-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 2em;
    padding: 5px;
    z-index: 200;
}

/* Aanpassingen voor de donkere modus */
body.dark-mode {
    background-color: #121212 !important;
    color: #f0f0f0;
}

body.dark-mode a,
body.dark-mode a:visited {
    color: #4CAF50; /* Groen, voor beter contrast op donkere achtergrond */
}

body.dark-mode a:hover {
    text-decoration: underline;
}

body.dark-mode #header {
    background-color: #1a1a1a;
    border-color: #333;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode p {
    color: #f0f0f0;
}

body.dark-mode .content h1,
body.dark-mode h1.slogan,
body.dark-mode .greyscale h2 {
    color: #4A90E2; /* Helderblauw voor accenten */
}

body.dark-mode .content h2,
body.dark-mode h2.slogan,
body.dark-mode .content h3.indent,
body.dark-mode h1.panel {
    color: #E2943B; /* Oranje-goud voor accenten */
}

body.dark-mode .footer {
    background-color: #2c0000 !important;
    border-color: #600000;
}

body.dark-mode p.adres,
body.dark-mode p.adres a,
body.dark-mode p.adres a:visited {
    color: #f0f0f0;
}

body.dark-mode .greyscale img {
    filter: invert(100%) grayscale(50%); /* Beeld behoudt kleur, maar met een donkerdere uitstraling */
}

body.dark-mode .naarkleur,
body.dark-mode .spinnaarkleur {
    -webkit-filter: grayscale(100%) brightness(50%);
    filter: grayscale(100%) brightness(50%);
}

body.dark-mode .naarkleur:hover,
body.dark-mode .spinnaarkleur:hover {
    -webkit-filter: grayscale(0%) brightness(100%);
    filter: none;
}