@import url('https://fonts.googleapis.com/css?family=Alegreya+Sans:400,700&subset=latin-ext');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300i,600,600i&subset=latin-ext');

/* ============================================================
   LIGHT MODE BASE
   ============================================================ */
a {
    color: #33A1FD;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Alegreya Sans", "Open sans", sans-serif;
    font-weight: 700;
}

strong {
    font-weight: 600;
}

blockquote {
    font-size: 15px;
    font-weight: 300;
    font-style: italic;
}

ul.typeahead.dropdown-menu>li.active * {
    color: #fac905 !important;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

body>.top {
    background-color: #fac905;  
}

body>.top .login>p {
    padding: 3px 0;
}

body>.top .login>p>a {
    font-family: "Alegreya Sans";
    letter-spacing: 1px;
    color: #000000 !important;
}

header .container .header-nav-top .login p a {
    font-family: "Alegreya Sans", "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: none;
    color: #000000 !important;
}

#content {
    flex: 1 0 auto;
}

header {
    border-bottom: none;
    background-color: #fac905;
}

header .navbar-header {
    margin: 1em 0;  
}

#menu {
    margin-bottom: 0 !important;
}

.button {
    background-color: #fac905;
    border: none;
    color: black;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    font-family: "Alegreya Sans", "Open sans", sans-serif;
    border-radius: 10px;
}

.sf-menu>li {
    padding: 0 .2em;
    border: none;
}

.sf-menu ul {
    box-shadow: none;
}

.sf-menu>li>ul {
    border: none;
}

.sf-menu>li>ul li {
    border: none;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.sf-menu>li>ul li a:hover {
    color: #000;
    background-color: #feefb4;
}
.sf-menu>li>ul>li>ul {
    margin-left: .3em;
}
.sf-menu>li>ul>li>ul>li>a:first-of-type {
    margin-top: 0 !important
}

.sf-menu>li:last-of-type {
    border: none !important;
}

.sf-menu>li a {
    color: #000;
    border-radius: 3px;
    display: block;
    text-transform: none;
    font-family: "Alegreya Sans", "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 1.2em;
    padding: .4em .7em;
    margin: .3em 0;
    transition: background-color .1s;
}

.sf-menu>li a:hover {
    background-color: #feefb4;
}

.sf-menu>li a[href="/preipop"] {
    color: #32ae70;
    background-color: #674574;
    transition: background-color .1s;
}

.sf-menu>li a[href="/preipop"]:hover {
    background-color: #4a1c5b;
}

.sf-menu>li a[href="/word-lid"] {
    color: #fff;
    background-color: #a314d7;
}

.sf-menu>li a[href="/word-lid"]:hover {
    margin: .1em 0 .5em 0;
    box-shadow: 0 .2em #880db5;
}

.sf-menu>li a[href="/word-lid"]:active {
    margin: .2em 0 .4em 0;
    box-shadow: 0 .1em #60a810;
}

.sf-menu.sf-arrows .sf-with-ul {
    padding-right: 1.9em;
}

.sf-arrows .sf-with-ul:after {
    right: 0.8em;
}

@media (max-width: 767px) {
    header ul.sf-menu>li a {
        padding: .4em .7em;
    }
}

#content>.container {
    background-color: #fff;
    padding-top: 3vh;
}

footer {
    color: #000;
    background-color: #eee;
} 

footer a {
    color: #fac905 !important;
}

footer a:hover {
    color: #fac905 !important;
    text-decoration: underline;
}

footer dl.headlines.headlines-footer dd *{
    color: #000 !important;
}

dt.date {
    border-radius: 3px;
    overflow: hidden;
    font-family: "Alegreya Sans";
}

dt.date a {
    background-color: #fac905 !important;
}

dt.date a div {
    color: #000 !important;   
}

dl.headlines dt.date div:last-child {
    line-height: 13px;
}

footer .col-xs-12.col-sm-4 {
    margin-bottom: 1em;
}

footer .headline {
    background-color: #fac905;
    border-radius: 3px;
    border-bottom: none;
    padding: .4em .7em;
    margin: 0 0 1em 0;
}

footer .headline>h3 {
    color: #000;
    border-bottom: none;
    padding: 0;
}

footer ul.social-icons li a {
    border-radius: 3px;
}

#copyright {
    border-top: none !important;
    background-color: #222 !important;
}

#carousel-homepage .carousel-inner, #carousel-homepage .item {
    height: 300px !important;   
}

.c-quicklink {
    max-width: 150px;
    width: 100%;
    height: 98px;
    position: relative;
    display: block;
    overflow: hidden;
    background-color: black;
    border-radius: 10px;
}

@media (min-width: 1100px) {
    .c-quicklink {
        max-width: 200px;
        height: 113px;
    }
}

@media (min-width: 1200px) {
    .c-quicklink {
        max-width: 250px;
        height: 141px;
    }
}

@media (min-width: 1300px) {
    .c-quicklink {
        max-width: 300px;
        height: 169px;
    }
}

.c-quicklink__image {
    height: 100%;
    width: 100%;
    text-align: center;
    opacity: 0.6;
    transition: opacity 0.2s;
    background-position: center;
    background-size: 100%;
}

.c-quicklink:hover .c-quicklink__image {
    opacity: 0.4;
}

.c-quicklink__text {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    position: absolute;
    left: 0;
    height: 100%;
    width: 100%;
    font-size: 20px;
    line-height: 1.1;
    text-align: center;
    font-family: "Alegreya Sans", "Open sans", sans-serif;
}

.c-arrow-button {
    background-color: transparent;
    border: 0;
    background-repeat: no-repeat;
    height: 32px;
    width: 32px;
    cursor: pointer;
}

.c-arrow-button--left {
    background-image: url("https://www.cleopatra-groningen.nl/_media/1636817/7c4a32b4c49c4be6a66bfe94b4f748f4");
}

.c-arrow-button--right {
    background-image: url("https://www.cleopatra-groningen.nl/_media/1636816/b3b4525f0a674f4fa8a8298999d71c0a");
}

.c-page-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    box-shadow: inset 0 0 3px 1px rgba(0,0,0,0.18);
}

[data-currentpage="0"] > [data-page-indicator="0"],
[data-currentpage="1"] > [data-page-indicator="1"],
[data-currentpage="2"] > [data-page-indicator="2"]{
    box-shadow: 0 0 1px 1px rgba(0,0,0,0.18);
    background-color: #fac905;
}

.ps-l-quicklink {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 930px;
    position: relative;
    top: -16px;
    margin: 0 auto;
}

@media (min-width: 1200px){
    .ps-l-quicklink {
        max-width: 100%;
    }
}

.ps-l-quicklink > * {
    margin-top: 16px;
}

.l-hor-gap-s > * + * {
    margin-left: 8px;
}

.l-hor-gap-m > * + * {
    margin-left: 16px;
}

.webpage-37888 .col-md-3{
    width: 0 !important;
}

.webpage-37888 .col-md-9{
    width: 100% !important;
}

.webpage-37888 .container{
    margin-left: 0;
    margin-right: 0;
}

section#content>.container>.row{
    margin-left: -15px;
    margin-right: -15px;
}

.spacer {
    border-bottom: 1px solid #E5E7EB;
    margin-top: 24px;
    margin-bottom: 24px;
}

/* ============================================================
   SIGNED-IN HEADER AREA — PURE BLACK TEXT
   ============================================================ */

.cleo-userarea,
#cleo-userarea,
div.login .cleo-userarea,
header div.login .cleo-userarea {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 3px 0 !important;
    color: #000000 !important;
}

.cleo-userarea *,
#cleo-userarea *,
.cleo-userarea a,
#cleo-userarea a,
.cleo-userarea a.c-username,
.cleo-userarea a.c-logout {
    color: #000000 !important;
    font-family: "Alegreya Sans", "Open Sans", sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.cleo-userarea a:hover,
#cleo-userarea a:hover {
    color: #000000 !important;
    text-decoration: underline !important;
}

button.cleo-theme-toggle,
.cleo-theme-toggle, 
#cleo-theme-toggle {
    border-radius: 50% !important;
    background-color: rgba(0, 0, 0, 0.22) !important;
    background: rgba(0, 0, 0, 0.22) !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* ============================================================
   MOBILE DRAWER (≤767px)
   ============================================================ */
@media (max-width: 767px) {
    .top-mobile::before {
        content: "";
        display: block;
        width: 100%;
        height: 1px;
        margin: 8px 0 12px 0;
        background-color: rgba(0, 0, 0, .25);
    }

    .top-mobile .cleo-userarea {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        padding: 0 4px !important;
        width: 100% !important;
    }

    .top-mobile .cleo-userarea * {
        color: #000000 !important;
    }

    .top-mobile .cleo-theme-toggle {
        margin: 4px 0 0 0 !important;
    }

    .top-mobile {
        overflow: visible;
    }
}

/* ============================================================
   DARK MODE OVERRIDES (html.cleo-dark)
   ============================================================ */

/* Main background & content containers */
html.cleo-dark body { 
    background-color: #18181b !important; 
    color: #F3F4F6 !important; 
}
html.cleo-dark #content,
html.cleo-dark section#content,
html.cleo-dark #content > .container { 
    background-color: #18181b !important; 
}

/* Subpage Banner / Header */
html.cleo-dark .sub-header,
html.cleo-dark .page-header,
html.cleo-dark .hero,
html.cleo-dark div[class*="header"] {
    background-color: #26262c !important;
    color: #FFFFFF !important;
}
html.cleo-dark h1, html.cleo-dark h2, html.cleo-dark h3, 
html.cleo-dark h4, html.cleo-dark h5, html.cleo-dark h6 {
    color: #FFFFFF !important;
}

/* --- Top Navigation Bar links -> CONSISTENTLY WHITE ACROSS ALL PAGES --- */
html.cleo-dark .sf-menu a,
html.cleo-dark .sf-menu > li > a,
html.cleo-dark .sf-menu > li.active > a,
html.cleo-dark .sf-menu > li.current > a,
html.cleo-dark .sf-menu > li.active > a:link,
html.cleo-dark .sf-menu > li.active > a:visited,
html.cleo-dark header nav a,
html.cleo-dark header .navbar-nav > li > a,
html.cleo-dark header .navbar-nav > li.active > a {
    color: #FFFFFF !important;
    background-color: transparent !important;
}
html.cleo-dark .sf-menu a:hover,
html.cleo-dark .sf-menu > li > a:hover,
html.cleo-dark header nav a:hover {
    color: #000000 !important;
    background-color: #fac905 !important;
}

/* --- Dropdown Submenus (Mijn Cleopatra, Vereniging) -> Dark background + white text --- */
html.cleo-dark .sf-menu ul,
html.cleo-dark .sf-menu li ul,
html.cleo-dark .dropdown-menu,
html.cleo-dark .sf-menu > li > ul li {
    background-color: #26262c !important;
    border: 1px solid #3f3f46 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6) !important;
}
html.cleo-dark .sf-menu ul a,
html.cleo-dark .dropdown-menu a,
html.cleo-dark .sf-menu > li > ul li a,
html.cleo-dark .dropdown-menu > li > a {
    color: #FFFFFF !important;
    background-color: #26262c !important;
    border-bottom: 1px solid #333338 !important;
}
html.cleo-dark .sf-menu ul a:hover,
html.cleo-dark .dropdown-menu a:hover,
html.cleo-dark .sf-menu > li > ul li a:hover,
html.cleo-dark .dropdown-menu > li > a:hover {
    color: #000000 !important;
    background-color: #fac905 !important;
}

/* --- Subpage Sidebar Navigation --- */
html.cleo-dark .sidebar,
html.cleo-dark aside,
html.cleo-dark .nav-stacked,
html.cleo-dark .list-group,
html.cleo-dark ul.nav-pills,
html.cleo-dark div[class*="sidebar"],
html.cleo-dark .col-md-3,
html.cleo-dark .col-sm-3 {
    background-color: #18181b !important;
}

html.cleo-dark .sidebar a,
html.cleo-dark aside a,
html.cleo-dark .nav-stacked a,
html.cleo-dark .list-group-item,
html.cleo-dark ul.nav-pills li a,
html.cleo-dark .nav.nav-pills > li > a,
html.cleo-dark .nav > li > a {
    background-color: #232329 !important;
    color: #E5E7EB !important;
    border: 1px solid #3f3f46 !important;
    margin-bottom: 4px;
    border-radius: 4px !important;
}

html.cleo-dark .sidebar a:hover,
html.cleo-dark aside a:hover,
html.cleo-dark .nav-stacked a:hover,
html.cleo-dark .list-group-item:hover,
html.cleo-dark ul.nav-pills li a:hover,
html.cleo-dark .nav > li > a:hover {
    background-color: #fac905 !important;
    color: #000000 !important;
    border-color: #fac905 !important;
}

html.cleo-dark .sidebar .active a,
html.cleo-dark .nav > li.active > a,
html.cleo-dark .list-group-item.active {
    background-color: #fac905 !important;
    color: #000000 !important;
    border-color: #fac905 !important;
}

/* --- General Link and Footer styling --- */
html.cleo-dark .text-muted,
html.cleo-dark .text-muted a,
html.cleo-dark time { color: #9CA3AF !important; }

html.cleo-dark a { color: #38BDF8; }
html.cleo-dark footer a { color: #fac905 !important; }

html.cleo-dark footer,
html.cleo-dark footer p,
html.cleo-dark footer span,
html.cleo-dark footer div {
    color: #F3F4F6 !important;
    background-color: #1f1f24;
}

html.cleo-dark header,
html.cleo-dark body > .top,
html.cleo-dark dt.date a,
html.cleo-dark footer .headline {
    background-color: #fac905 !important;
    color: #000000 !important;
}

html.cleo-dark .cleo-userarea *,
html.cleo-dark #cleo-userarea * {
    color: #000000 !important;
}

@media (max-width: 767px) {
    html.cleo-dark .top-mobile .cleo-userarea * {
        color: #000000 !important;
    }
    html.cleo-dark .top-mobile::before {
        background-color: rgba(0, 0, 0, .35);
    }
}

html.cleo-dark #copyright { background-color: #18181b !important; color: #9CA3AF !important; }