/* Dark mode toggle and theme overrides - V1 */
.darkmode-toggle {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #183569;
    background: #ffffff;
    color: #183569;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.darkmode-toggle:hover,
.darkmode-toggle:focus {
    transform: translateY(-2px);
}

.darkmode-toggle i {
    font-size: 20px;
}

.darkmode-toggle.is-active {
    background: #183569;
    border-color: #335da8;
    color: #f8fbff;
}

html.dark-mode,
body.dark-mode {
    background: #12161d;
    color: white;
}

body.dark-mode.boxed {
    background-color: #12161d !important;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.45) !important;
}

body.dark-mode .body-page,
body.dark-mode .main,
body.dark-mode .content,
body.dark-mode .before_content,
body.dark-mode .after_content,
body.dark-mode .highlighted {
    background-color: #12161d;
    color: white;
}

body.dark-mode .adsense,
body.dark-mode .adsense.responsive,
body.dark-mode ins.adsbygoogle {
    background-color: transparent !important;
}

body.dark-mode #block-managedad,
body.dark-mode #block-managedad .block-content,
body.dark-mode #block-managedad .content,
body.dark-mode #block-managedad .text-align-center {
    background-color: transparent !important;
}

body.dark-mode.boxed div.body-page {
    background: #12161d !important;
}

body.dark-mode .block,
body.dark-mode .GridLayoutComplex,
body.dark-mode .StaffList,
body.dark-mode p.BlockBannerTitle,
body.dark-mode .snip1518 figcaption {
    color: white;
}

body.dark-mode .snip1518 {
    background-color: #1a202b;
    color: white;
    box-shadow: 0 0 0 1px rgba(120, 147, 194, 0.22), 0 8px 18px rgba(0, 0, 0, 0.35);
}

body.dark-mode .snip1518 .image,
body.dark-mode .snip1518 figcaption,
body.dark-mode .snip1518 footer {
    background-color: #1a202b;
}

body.dark-mode .snip1518 h3,
body.dark-mode .snip1518 h5,
body.dark-mode .snip1518 .date,
body.dark-mode .snip1518 footer,
body.dark-mode .snip1518 footer .icons,
body.dark-mode .snip1518 footer .icons i {
    color: white;
}

body.dark-mode .snip1518 footer {
    background-color: #1a202b !important;
    border-top-color: rgba(221, 230, 243, 0.2);
}

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,
body.dark-mode li,
body.dark-mode span,
body.dark-mode .main-content .item h6,
body.dark-mode .views-element-container > div > h3,
body.dark-mode div#block-views-block-news-display-block-1 h2 a,
body.dark-mode div#block-views-block-related-news-articles-block-1 h3 a {
    color: white;
}

body.dark-mode div#block-views-block-news-display-block-1 h3 {
    color: white !important;
}

body.dark-mode a {
    color: #94b8ff;
}

body.dark-mode .NewsInfoCard .views a,
body.dark-mode .NewsInfoCard .views a:hover,
body.dark-mode .NewsInfoCard .views a:focus {
    color: #ffffff !important;
}

body.dark-mode .toolbar a,
body.dark-mode .toolbar-tray a,
body.dark-mode .toolbar-menu a {
    color: inherit !important;
}

body.dark-mode .toolbar-menu.claro-toolbar-menu,
body.dark-mode .toolbar-menu.claro-toolbar-menu a,
body.dark-mode .toolbar-menu.claro-toolbar-menu li,
body.dark-mode .toolbar-menu.claro-toolbar-menu span {
    color: revert !important;
}

body.dark-mode a:hover,
body.dark-mode a:focus {
    color: #bfd6ff;
}

body.dark-mode .toolbar-menu.claro-toolbar-menu a:hover,
body.dark-mode .toolbar-menu.claro-toolbar-menu a:focus {
    color: revert !important;
}

body.dark-mode #toolbar-item-administration,
body.dark-mode #toolbar-item-administration.toolbar-item,
body.dark-mode #toolbar-item-administration.toolbar-icon,
body.dark-mode #toolbar-item-administration.toolbar-icon-menu,
body.dark-mode #toolbar-item-administration.trigger,
body.dark-mode #toolbar-item-administration.is-active {
    color: revert !important;
    background: revert !important;
    background-color: revert !important;
    border-color: revert !important;
    box-shadow: revert !important;
}

body.dark-mode #toolbar-item-administration:hover,
body.dark-mode #toolbar-item-administration:focus,
body.dark-mode #toolbar-item-administration:active,
body.dark-mode #toolbar-item-administration.is-active:hover,
body.dark-mode #toolbar-item-administration.is-active:focus {
    color: revert !important;
    background: revert !important;
    background-color: revert !important;
    border-color: revert !important;
    box-shadow: revert !important;
}

body.dark-mode h4.field-content a {
    color: white;
}

body.dark-mode h4.field-content a:hover,
body.dark-mode h4.field-content a:focus {
    color: #ffffff;
}

body.dark-mode .newspagelink {
    background-color: #1a202b;
    color: #ffffff;
    border: 1px solid #2f3d55;
}

body.dark-mode .newspagelink:hover,
body.dark-mode .newspagelink:focus {
    background-color: #223049;
    color: #ffffff;
    transform: none;
    box-shadow: none;
    margin: 0 !important;
    padding: 0.5em 1.5em !important;
}

body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select,
body.dark-mode .form-control {
    background-color: #111722;
    border-color: #2f3d55;
    color: #e7eef8;
}

body.dark-mode #block-contactblock .form-item__label {
    color: #e7eef8;
}

body.dark-mode #block-contactblock .form-text,
body.dark-mode #block-contactblock .form-email,
body.dark-mode #block-contactblock .form-textarea {
    background-color: #0f1420;
    border-color: #3a4a66;
    color: #f0f4fb;
    box-shadow: 0 0 0 1px rgba(20, 26, 40, 0.4);
}

body.dark-mode .contact-message-form #edit-name,
body.dark-mode .contact-message-form #edit-mail,
body.dark-mode .contact-message-form .form-item input[type="text"],
body.dark-mode .contact-message-form .form-item input[type="email"],
body.dark-mode .contact-message-form .form-item textarea {
    background-color: #0f1420 !important;
    color: #f0f4fb !important;
    border-color: #3a4a66 !important;
}

body.dark-mode #block-contactblock .form-text:focus,
body.dark-mode #block-contactblock .form-email:focus,
body.dark-mode #block-contactblock .form-textarea:focus {
    border-color: #94b8ff;
    box-shadow: 0 0 0 2px rgba(148, 184, 255, 0.25);
    outline: none;
}

body.dark-mode #block-contactblock ::placeholder {
    color: #9fb0cc;
}

body.dark-mode .topbar {
    background: #0e1218;
}

body.dark-mode header.header-v1 {
    background: #1a202b !important;
}

body.dark-mode header .header-main,
body.dark-mode header .header-inner,
body.dark-mode header .area-main-menu .area-inner,
body.dark-mode .header-content-layout,
body.dark-mode .header-main-inner,
body.dark-mode header .area-main-menu .gva-search-region .search-content,
body.dark-mode .gva-offcanvas-mobile,
body.dark-mode .gva-navigation ul.menu,
body.dark-mode .submenu,
body.dark-mode .post-block,
body.dark-mode .post-style-grid .post-block,
body.dark-mode .post-style-list .post-block,
body.dark-mode .sidebar .block .block-content,
body.dark-mode .widget,
body.dark-mode .views-row,
body.dark-mode .help .content-inner,
body.dark-mode .tfa-entry-form,
body.dark-mode table,
body.dark-mode .pagination > li > a,
body.dark-mode .pager li > a {
    background: #1a202b;
    color: white;
    border-color: #2f3d55;
}

body.dark-mode .tfa-entry-form .form-item__label,
body.dark-mode .tfa-entry-form .form-item__description {
    color: white !important;
}

body.dark-mode .tfa-entry-form .form-text {
    background-color: #111722;
    border-color: #2f3d55;
    color: #e7eef8;
}

body.dark-mode .tfa-entry-form .button--primary {
    background: linear-gradient(135deg, #223049 0%, #183569 100%) !important;
    color: #ffffff !important;
}

body.dark-mode .footer,
body.dark-mode .footer a,
body.dark-mode .copyright,
body.dark-mode .copyright a {
    color: #f5f5f5;
}

body.dark-mode .footer .footer-center,
body.dark-mode .copyright {
    background: none;
    background-color: #1a202b;
}

body.dark-mode .copyrightbanner {
    background-color: #1a202b !important;
}

body.dark-mode .FooterCodeMain {
    background-color: #1a202b !important;
}

body.dark-mode .footer .footer-center .block,
body.dark-mode .copyright .block,
body.dark-mode .copyright .copyright-inner {
    background: transparent;
    border-top-color: rgba(255, 255, 255, 0.15);
}

body.dark-mode .navigation .gva_menu > li > a,
body.dark-mode .gva-navigation a,
body.dark-mode .breadcrumb a,
body.dark-mode .post-block .post-title a {
    color: white;
}

body.dark-mode .navigation .gva_menu > li > a:hover,
body.dark-mode .gva-navigation a:hover,
body.dark-mode .post-block .post-title a:hover {
    color: #bfd6ff;
}

body.dark-mode ul.TPGMenu,
body.dark-mode .TPGMenu,
body.dark-mode .TPGNavigation,
body.dark-mode .submenus,
body.dark-mode .submenu .column {
    background: #1a202b !important;
    border-color: #2f3d55;
}

body.dark-mode .TPGMenu > li,
body.dark-mode .TPGMenu > li > a,
body.dark-mode .TPGMenu tpgmenulink,
body.dark-mode .submenus a {
    color: white !important;
}

body.dark-mode .TPGMenu > li > a:hover,
body.dark-mode .TPGMenu tpgmenulink:hover,
body.dark-mode .submenus a:hover {
    color: #bfd6ff !important;
}

body.dark-mode .TPGNavigation .block-content,
body.dark-mode .TPGNavigation .view-content,
body.dark-mode .TPGNavigation .view-content-wrap,
body.dark-mode .TPGNavigation .menu-footer {
    background: #1a202b !important;
    color: #c7d6ef !important;
    border-color: #2f3d55 !important;
}

body.dark-mode .TPGNavigation .menu-footer {
    border-top-color: rgba(199, 214, 239, 0.2) !important;
}

body.dark-mode tpgmenutopitem,
body.dark-mode tpgmenuseconditem,
body.dark-mode tpgmenulink {
    color: white !important;
}

body.dark-mode .TPGMenu > li:hover,
body.dark-mode .TPGMenu > li:focus,
body.dark-mode .TPGMenu > li:focus-within,
body.dark-mode .TPGMenu > li.selected,
body.dark-mode .TPGNavigation .selected {
    background: #111722;
    border-bottom-color: #2f3d55 !important;
}

body.dark-mode .TPGMenu > li,
body.dark-mode .TPGNavigation .selected {
    border-bottom: none !important;
}

body.dark-mode #menu-bar,
body.dark-mode .menu-bar {
    background: #1a202b;
}

body.dark-mode #menu-bar span,
body.dark-mode .menu-bar span,
body.dark-mode .menu-bar .one,
body.dark-mode .menu-bar .two,
body.dark-mode .menu-bar .three {
    background: #dde6f3;
}

body.dark-mode .close-offcanvas,
body.dark-mode .close-offcanvas i,
body.dark-mode .close-offcanvas .gv-icon-4 {
    color: white;
}

body.dark-mode .staff-card {
    background: #1a202b;
    color: white;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

body.dark-mode .InformationCounter,
body.dark-mode .CounterContainer {
    color: white;
}

body.dark-mode .InformationCounter .counter {
    color: #f5f9ff;
}

body.dark-mode .counter {
    color: #f5f9ff !important;
}

body.dark-mode .InformationCounter .subtext {
    color: #b7c7e6;
}

body.dark-mode .subtext {
    color: #b7c7e6 !important;
}

body.dark-mode .MainNewsLayout,
body.dark-mode #NewsContentShown,
body.dark-mode #NewsTextShown {
    background: #1a202b !important;
    color: white;
}

body.dark-mode #NewsLayoutLink {
    background: #1a202b !important;
    display: block;
    color: white !important;
}

body.dark-mode #NewsTextShown {
    background: #1a202b !important;
    color: white !important;
    margin: 0 !important;
    padding: 4px;
}

body.dark-mode newsblocktitle,
body.dark-mode newsblocktext,
body.dark-mode newsblockcontent {
    color: #ffffff !important;
}

body.dark-mode #newsicon {
    color: #ffffff;
}

body.dark-mode .NavigationFlex,
body.dark-mode .guides.NavigationFlex,
body.dark-mode .typeselector.NavigationFlex {
    background: transparent;
}

body.dark-mode .typeselector.NavigationFlex,
body.dark-mode .typeselector.NavigationFlex ul {
    align-items: stretch;
}

body.dark-mode li.selectatype {
    background: #2a3548 !important;
    color: white !important;
    border-color: #2f3d55;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    height: auto;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: center;
}

body.dark-mode li.selectatype.selected1 {
    background: #183569 !important;
    color: #f5f9ff !important;
}

body.dark-mode .FlexNavigation4,
body.dark-mode .FlexNavigation3,
body.dark-mode .FlexNavigation2 {
    background: #1a202b !important;
    color: white;
    border-color: transparent !important;
    margin: 5px !important;
}

body.dark-mode .FlexNavigation4 {
    width: calc(25% - 10px) !important;
}

body.dark-mode .FlexNavigation3 {
    width: calc(33.3333333333% - 10px) !important;
}

body.dark-mode .FlexNavigation2 {
    width: calc(50% - 10px) !important;
}

body.dark-mode .FlexNavigation4 h4,
body.dark-mode .FlexNavigation3 h4,
body.dark-mode .FlexNavigation2 h4 {
    color: white !important;
}

body.dark-mode .FlexNavigation3 h4 a,
body.dark-mode .FlexNavigation4 h4 a,
body.dark-mode .FlexNavigation2 h4 a {
    color: #ffffff !important;
}

body.dark-mode .FlexNavigation4 h2 a,
body.dark-mode .FlexNavigation3 h2 a,
body.dark-mode .FlexNavigation2 h2 a {
    color: #ffffff !important;
}

body.dark-mode .queue-card-container,
body.dark-mode .queue-card-content {
    color: white;
    border-color: #2f3d55;
}

body.dark-mode .queue-card {
    background: #1a202b;
}

body.dark-mode .queue-card-image.no-ride-image {
    background: #2f3d55;
}

body.dark-mode .queue-area-header,
body.dark-mode .queue-card-title,
body.dark-mode .queue-info,
body.dark-mode .queue-time,
body.dark-mode .queue-time.closed,
body.dark-mode .ride-status-icon {
    color: white;
}

body.dark-mode .queue-time.open,
body.dark-mode .minutes,
body.dark-mode .queue-time.closed {
    color: #000000 !important;
}

body.dark-mode .queue-card-link {
    color: white;
}

body.dark-mode .fa-regular.fa-star {
    color: #ffffff;
}

body.dark-mode .queue-card-container ~ div span,
body.dark-mode .queue-card-container ~ div a {
    color: white !important;
    border-color: #2f3d55 !important;
    box-shadow: none !important;
}

body.dark-mode .manufacturers-container,
body.dark-mode .manufacturer-item,
body.dark-mode .manufacturer-item .img,
body.dark-mode .manufacturer-item .FlexNavigation4,
body.dark-mode .manufacturer-item.FlexNavigation4 {
    background: #1a202b;
    color: white;
    border-color: #2f3d55;
}

body.dark-mode .manufacturer-item .img {
    background: #1a202b !important;
}

body.dark-mode .manufacturer-item h4 {
    color: white !important;
}

body.dark-mode .manufacturer-item .count-bubble {
    background: rgba(24, 53, 105, 0.9);
    color: #ffffff;
    border-color: white;
}

body.dark-mode .tech-container,
body.dark-mode .tech-data,
body.dark-mode .tech-row-full {
    background: #1a202b !important;
    color: white;
    border-color: #2f3d55;
}

body.dark-mode .tech-header,
body.dark-mode .tech-label,
body.dark-mode .tech-value {
    color: white !important;
}

body.dark-mode .tech-value a {
    color: white !important;
}

body.dark-mode .tech-value a:hover,
body.dark-mode .tech-value a:focus {
    color: #ffffff !important;
}

body.dark-mode .construction-update-date-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.dark-mode .construction-update-date-link {
    background: #111b2a !important;
    border: 1px solid #3a4f73 !important;
    color: #e7efff !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

body.dark-mode .construction-update-date-link:hover,
body.dark-mode .construction-update-date-link:focus {
    background: #1a2e4f !important;
    border-color: #7ea2e6 !important;
    color: #ffffff !important;
}

body.dark-mode .construction-update-focus {
    outline: 2px solid #94b8ff !important;
    box-shadow: 0 0 0 3px rgba(148, 184, 255, 0.28) !important;
    border-radius: 8px;
}

body.dark-mode .DrupalBreadcrumbs,
body.dark-mode .DrupalBreadcrumbs a {
    color: #ffffff !important;
}

body.dark-mode .DrupalBreadcrumbs {
    background: #1a202b !important;
    border-bottom-color: #2f3d55 !important;
}

body.dark-mode .DrupalBreadcrumbs a:hover {
    color: white !important;
}

body.dark-mode #LinkTree {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

body.dark-mode #LinkTree #LinkItem {
    width: 50%;
    background: #102440;
    text-align: center;
    align-content: center;
    justify-content: center;
    border-style: solid;
    border-width: 5px;
    border-color: #12161d;
    padding-top: 10px;
    padding-bottom: 10px;
}

body.dark-mode #LinkTree #LinkItem a,
body.dark-mode #LinkTree #LinkItem i,
body.dark-mode #LinkTree #LinkItem linklink {
    color: #ffffff !important;
}

body.dark-mode #LinkTree #LinkItem:hover,
body.dark-mode #LinkTree #LinkItem:focus-within {
    background: #183569;
}

body.dark-mode #block-gavias-tico-views-block-parkmapsdisplayscreen-block-3 .map-library-row {
    width: calc(50% - 8px) !important;
    margin: 0 !important;
    background: #1a202b !important;
    border-color: #2f3d55 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.38);
}

@media only screen and (max-width: 900px) {
    body.dark-mode #block-gavias-tico-views-block-parkmapsdisplayscreen-block-3 .map-library-row {
        width: 100% !important;
    }
}

body.dark-mode #block-gavias-tico-views-block-parkmapsdisplayscreen-block-3 .map-file-cell {
    background: transparent;
    border: none;
    border-radius: 0;
}

body.dark-mode #block-gavias-tico-views-block-parkmapsdisplayscreen-block-3 .map-file-fallback {
    color: #dce9ff;
}

body.dark-mode #block-gavias-tico-views-block-parkmapsdisplayscreen-block-3 .map-meta-cell h4 {
    color: #f5f9ff;
}

body.dark-mode .map-meta-cell p.map-subtitle,
body.dark-mode #block-gavias-tico-views-block-parkmapsdisplayscreen-block-3 .map-subtitle {
    color: #b7c7e6 !important;
}

body.dark-mode #block-gavias-tico-views-block-parkmapsdisplayscreen-block-3 .map-badge-type,
body.dark-mode #block-gavias-tico-views-block-parkmapsdisplayscreen-block-3 .map-badge-year {
    background: #111b2a;
    color: #e7efff;
    border-color: #3a4f73;
}

body.dark-mode #block-gavias-tico-views-block-parkmapsdisplayscreen-block-3 .map-action-btn {
    background: #111b2a;
    border-color: #3a4f73;
    color: #e7efff;
}

body.dark-mode #block-gavias-tico-views-block-parkmapsdisplayscreen-block-3 .map-action-btn:hover,
body.dark-mode #block-gavias-tico-views-block-parkmapsdisplayscreen-block-3 .map-action-btn:focus {
    background: #1a2e4f;
    border-color: #7ea2e6;
    color: #ffffff;
}

body.dark-mode #block-gavias-tico-views-block-parkmapsdisplayscreen-block-3 .map-action-btn-disabled,
body.dark-mode #block-gavias-tico-views-block-parkmapsdisplayscreen-block-3 .map-action-btn-disabled:hover,
body.dark-mode #block-gavias-tico-views-block-parkmapsdisplayscreen-block-3 .map-action-btn-disabled:focus {
    background: #2a3548;
    border-color: #3a4a66;
    color: #8fa3c6;
}

@media only screen and (max-width: 767px) {
    .darkmode-toggle {
        right: 12px;
        bottom: 12px;
        width: 42px;
        height: 42px;
    }
}

@media only screen and (max-width: 700px) {
    body.dark-mode .FlexNavigation4,
    body.dark-mode .FlexNavigation3 {
        width: calc(50% - 10px) !important;
    }
}

