/* Sættes af temaets JS (menuer, accordion, karrusel m.m.) */
.active {
    background-color: #555;
}

@media screen and (min-width: 1301px) {
    .borderexample {
        border: 1px;
        border-style: solid;
        border-color: #e3e6e9;
        padding: 20px;
        margin-bottom: 0px;
    }
}

@media screen and (max-width: 1300px) {
    .borderexample {
        border-top: 1px;
        border-top-style: solid;
        border-top-color: #e3e6e9;
        padding: 20px;
        margin-bottom: 0px;
    }
}

.text-underline-hover {
    color: #4545F3;
    text-decoration: none;
}

.text-underline-hover:hover {
    color: #5DADE2;
    text-decoration: underline;
}

.incident-bruger {
    background-color: #D6EAF8;
}

.text-justify-wide {
    text-align: justify;
    text-justify: inter-word;
}

.dropdown-divider-menu {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid #e9ecef;
}

.DKJ-page-progress-bar {
    height: 8px;
    width: 0%;
    background-color: #21D4FD;
    background-image: linear-gradient(19deg, #21D4FD 0%, #B721FF 100%);
}

.DKJ-page-progress-bar.DKJ-page-progress-gradient {
    background-color: #007990;
    background-image: linear-gradient(90deg, #808B96 0%, #D5D8DC 100%);
}

.BB-font-note-overskrift {
    font-size: 0.8rem !important;
    text-align: left !important;
}

.BB-font-note-tekst {
    font-size: 0.8rem !important;
    text-align: left !important;
}

/* ============ banebasen.dk ============ */
.borderless td, .borderless th {
    border: none;
}

.borderless tr td {
    border: none !important;
    padding: 0;
}

.button-banebasen-lightyellow {
    background: #D8D7A0;
}

.button-banebasen-lightyellow:hover,
.button-banebasen-lightyellow:focus {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 6px 36px 0 rgba(21, 25, 29, 0.19);
    box-shadow: 0 6px 36px 0 rgba(21, 25, 29, 0.19);
    opacity: 0.9;
    color: white;
}

.button-banebasen-lightyellow {
    border: 0;
    -webkit-box-shadow: 0 6px 30px 0 rgba(21, 25, 29, 0.13);
    box-shadow: 0 6px 30px 0 rgba(21, 25, 29, 0.13);
    color: white;
}

.button-banebasen-lightblue {
    background: #8db1d7;
}

.button-banebasen-lightblue:hover,
.button-banebasen-lightblue:focus {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 6px 36px 0 rgba(21, 25, 29, 0.19);
    box-shadow: 0 6px 36px 0 rgba(21, 25, 29, 0.19);
    opacity: 0.9;
    color: white;
}

.button-banebasen-lightblue {
    border: 0;
    -webkit-box-shadow: 0 6px 30px 0 rgba(21, 25, 29, 0.13);
    box-shadow: 0 6px 30px 0 rgba(21, 25, 29, 0.13);
    color: white;
}

.button-banebasen-blue {
    background: #4682BE;
}

.button-banebasen-blue:hover,
.button-banebasen-blue:focus {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 6px 36px 0 rgba(21, 25, 29, 0.19);
    box-shadow: 0 6px 36px 0 rgba(21, 25, 29, 0.19);
    opacity: 0.9;
    color: white;
}

.button-banebasen-blue {
    border: 0;
    -webkit-box-shadow: 0 6px 30px 0 rgba(21, 25, 29, 0.13);
    box-shadow: 0 6px 30px 0 rgba(21, 25, 29, 0.13);
    color: white;
}

.button-banebasen-blue-lav {
    height: 25px;
    line-height: 25px;
    padding: 0 8px;
    font-size: 12px;
    display: inline-block;
    box-sizing: border-box;

    background-color: #4682BE !important;
    border: 1px solid #ccc;
    margin: 0;

    color: #ffffff;  /* vigtig for læsbarhed */
}

.button-banebasen-green {
    background: #64AF8C;
}

.button-banebasen-green:hover,
.button-banebasen-green:focus {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 6px 36px 0 rgba(21, 25, 29, 0.19);
    box-shadow: 0 6px 36px 0 rgba(21, 25, 29, 0.19);
    opacity: 0.9;
    color: white;
}

.button-banebasen-green {
    border: 0;
    -webkit-box-shadow: 0 6px 30px 0 rgba(21, 25, 29, 0.13);
    box-shadow: 0 6px 30px 0 rgba(21, 25, 29, 0.13);
    color: white;
}

.button-banebasen-vine {
    background: #B496C3;
}

.button-banebasen-vine:hover,
.button-banebasen-vine:focus {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 6px 36px 0 rgba(21, 25, 29, 0.19);
    box-shadow: 0 6px 36px 0 rgba(21, 25, 29, 0.19);
    opacity: 0.9;
    color: white;
}

.button-banebasen-vine {
    border: 0;
    -webkit-box-shadow: 0 6px 30px 0 rgba(21, 25, 29, 0.13);
    box-shadow: 0 6px 30px 0 rgba(21, 25, 29, 0.13);
    color: white;
}

.button-banebasen-reserve {
    background: #6991A0;
}

.button-banebasen-reserve:hover,
.button-banebasen-reserve:focus {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 6px 36px 0 rgba(21, 25, 29, 0.19);
    box-shadow: 0 6px 36px 0 rgba(21, 25, 29, 0.19);
    opacity: 0.9;
    color: white;
}

.button-banebasen-reserve {
    border: 0;
    -webkit-box-shadow: 0 6px 30px 0 rgba(21, 25, 29, 0.13);
    box-shadow: 0 6px 30px 0 rgba(21, 25, 29, 0.13);
    color: white;
}

.button-banebasen-tilbage {
    background: #A5A5A5;
}

.button-banebasen-tilbage:hover,
.button-banebasen-tilbage:focus {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 6px 36px 0 rgba(21, 25, 29, 0.19);
    box-shadow: 0 6px 36px 0 rgba(21, 25, 29, 0.19);
    opacity: 0.9;
    color: white;
}

.button-banebasen-tilbage {
    border: 0;
    -webkit-box-shadow: 0 6px 30px 0 rgba(21, 25, 29, 0.13);
    box-shadow: 0 6px 30px 0 rgba(21, 25, 29, 0.13);
    color: white;
}

.button-banebasen-red {
    background: #FF4344;
}

.button-banebasen-red:hover,
.button-banebasen-red:focus {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 6px 36px 0 rgba(21, 25, 29, 0.19);
    box-shadow: 0 6px 36px 0 rgba(21, 25, 29, 0.19);
    opacity: 0.9;
    color: white;
}

.button-banebasen-red {
    border: 0;
    -webkit-box-shadow: 0 6px 30px 0 rgba(21, 25, 29, 0.13);
    box-shadow: 0 6px 30px 0 rgba(21, 25, 29, 0.13);
    color: white;
}

.center-element {
    margin: auto;
    width: 100%;
    padding: 10px;
}

.BB-sunshine {
    color: #FEC503 !important;
}

.BB-img-fotograf {
    max-height: 600px !important;
}

.BB-outer {
    display: flex;
    justify-content: center;
    height: 600px;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #64AF8C;
}

input:focus + .slider {
    box-shadow: 0 0 1px #64AF8C;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.BB--form-input {
    display: block;
    width: 100%;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem; /* samme som form-select */
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;

    color: #212529 !important;
    background-color: #fff;
    background-clip: padding-box;

    border: 1px solid #ced4da;
    border-radius: 0.375rem;

    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;

    /* Højde som form-select */
    height: calc(2.25rem + 2px);
}

/* CONTAINER */
@media screen and (min-width: 1301px) {
    .container-BB {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 0;
        width: 100%;
        padding-right: calc(var(--bs-gutter-x) * .5);
        padding-left: calc(var(--bs-gutter-x) * .5);
        margin-right: auto;
        margin-left: auto
    }
}

@media screen and (max-width: 1300px) {
    .container-BB {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 0;
        width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
        margin-right: auto;
        margin-left: auto
    }
}

@media (min-width: 1300px) {
    .container-BB {
        max-width: 1240px
    }
}

@media (min-width: 1400px) {
    .container-BB {
        max-width: 1320px
    }
}

img.BB-media-image {
    max-height: min(400px, 90vh);
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.button--secondary {
    width: 170px;
    justify-content: center;
    text-align: center;
}

/* ============ GALLERI START ============ */
.BB-gallery {
    display: grid;
    gap: 14px;
    /* Responsivt: 1 kolonne på mobil, flere på større skærme */
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    width: 100%;
    min-width: 0;
}

.BB-gallery-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.BB-gallery-thumb {
    height: 180px;
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.BB-gallery-thumb img {
    min-width: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Finjuster på små skærme */
@media (max-width: 480px) {
    .BB-gallery {
        grid-template-columns: 1fr; /* altid 1 kolonne */
    }

    .BB-gallery-thumb {
        height: 220px;
    }
}

/* Eksempel på større skærme, større tiles */
@media (min-width: 1200px) {
    .BB-gallery-thumb {
        height: 210px;
    }
}

.BB-meta-grid {
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 12px;
    row-gap: 1px;
    font-size: 10px;
}

.BB-meta-grid .BB-label {
    font-weight: 900;
    white-space: nowrap;
}

.BB-meta-grid .BB-value {
    font-weight: 500;
    white-space: nowrap;
}

.BB-icon-btn-liste {
    border: none;
    background: none;
    cursor: pointer;
}

.BB-icon-btn-liste img {
    width: 66px;
    height: 50px;
    display: block;
}

.BB-icon-btn-gitter-small {
    border: none;
    background: none;
    cursor: pointer;
}

.BB-icon-btn-gitter-small img {
    width: 66px;
    height: 50px;
    display: block;
}

.BB-icon-btn-gitter-medium {
    border: none;
    background: none;
    cursor: pointer;
}

.BB-icon-btn-gitter-medium img {
    width: 89px;
    height: 50px;
    display: block;
}

/* ============ GALLERI SLUT ============ */

/* ============ GALLERI M START ============ */
.BB-M-gallery {
    display: grid;
    gap: 21px; /* Øget fra 14px (14 × 1.5 = 21) */
    /* Responsivt: 1 kolonne på mobil, flere på større skærme */
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); /* Øget fra 220px (220 × 1.5 = 330) */
    width: 100%;
    min-width: 0;
}

.BB-M-gallery-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 15px; /* Øget fra 10px (10 × 1.5 = 15) */
    overflow: hidden;
    background: #fff;
}

.BB-M-gallery-thumb {
    height: 270px; /* Øget fra 180px (180 × 1.5 = 270) */
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.BB-M-gallery-thumb img {
    min-width: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Finjuster på små skærme */
@media (max-width: 480px) {
    .BB-M-gallery {
        grid-template-columns: 1fr; /* altid 1 kolonne */
    }

    .BB-M-gallery-thumb {
        height: 330px; /* Øget fra 220px (220 × 1.5 = 330) */
    }
}

/* Eksempel på større skærme, større tiles */
@media (min-width: 1200px) {
    .BB-M-gallery-thumb {
        height: 315px; /* Øget fra 210px (210 × 1.5 = 315) */
    }
}

.BB-M-meta-grid {
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 18px; /* Øget fra 12px (12 × 1.5 = 18) */
    row-gap: 1px;
    font-size: 15px; /* Øget fra 10px (10 × 1.5 = 15) */
}

.BB-M-meta-grid .BB-M-label {
    font-weight: 900;
    white-space: nowrap;
}

.BB-M-meta-grid .BB-M-value {
    font-weight: 500;
    white-space: nowrap;
}

/* ============ GALLERI M SLUT ============ */

/* ============ ADMIN-SIDER START ============ */
/* Fælles udseende for administrationssiderne (upload, load, brugere, filter m.m.) */
.BB-admin {
    text-align: left;
    padding-bottom: 1rem;
}

.BB-admin > h4 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #64AF8C;
}

.BB-admin h5 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.BB-admin .BB-intro {
    color: #6c757d;
    margin-bottom: 1.25rem;
}

.BB-admin .table > thead th {
    background-color: #f3f5f7;
    white-space: nowrap;
}

.BB-admin .table td form {
    margin: 0;
}

.BB-admin .form-switch .form-check-input {
    width: 2.5em;
    height: 1.25em;
    cursor: pointer;
}

.BB-admin .form-switch .form-check-input:checked {
    background-color: #64AF8C;
    border-color: #64AF8C;
}

/* Lille knap til brug i tabeller */
.BB-knap-lille {
    padding: 4px 12px;
    font-size: 0.8rem;
    line-height: 1.5;
    white-space: nowrap;
}

/* Deaktiverede knapper må ikke "hoppe" ved hover */
[class*='button-banebasen-']:disabled,
[class*='button-banebasen-'][disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    -webkit-transform: none;
    transform: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* ============ ADMIN-SIDER SLUT ============ */

/* ============ LOGIN-SIDE (samme blå tema som mails) ============ */
.BB-login {
    display: flex;
    justify-content: center;
    padding: 40px 16px 56px 16px;
    text-align: left;
}

.BB-login-kort {
    width: 100%;
    max-width: 460px;
    background: #FFFFFF;
    border: 1px solid #D9E2EC;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(31, 41, 51, 0.10);
    overflow: hidden;
}

.BB-login-banner {
    background: #4682BE;
    background-image: linear-gradient(90deg, #2B5F93 0%, #4682BE 100%);
    color: #FFFFFF;
    padding: 26px 28px 24px 28px;
}

.BB-login-etiket {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #D6E6F5;
}

.BB-login-titel {
    font-size: 26px;
    line-height: 1.25;
    font-weight: 700;
    margin: 6px 0 6px 0;
    color: #FFFFFF;
}

.BB-login-undertekst {
    font-size: 14px;
    line-height: 1.5;
    color: #E8F1FA;
}

.BB-login-indhold {
    padding: 26px 28px 24px 28px;
    color: #1F2933;
}

.BB-login .form-label {
    font-size: 14px;
    font-weight: 600;
    color: #1F2933;
    margin-bottom: 6px;
}

/* theme.css giver alle input bredde 100%, margin og grå tekst - det nulstilles her */
.BB-login .form-control {
    margin-bottom: 0;
    padding: 11px 14px;
    background: #FFFFFF;
    color: #1F2933;
    border: 1px solid #D9E2EC;
    border-radius: 8px;
    font-size: 15px;
}

.BB-login .input-group > .form-control {
    width: 1%;
    flex: 1 1 auto;
}

.BB-login .form-control:focus {
    border-color: #4682BE;
    box-shadow: 0 0 0 0.2rem rgba(70, 130, 190, 0.25);
}

.BB-login .input-group > .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.BB-login .BB-login-vis {
    padding: 0 14px;
    border: 1px solid #D9E2EC;
    border-left: 0;
    border-radius: 0 8px 8px 0;
    background: #EEF4FA;
    color: #2B5F93;
    font-size: 14px;
    font-weight: 600;
    min-width: 72px;
}

.BB-login .BB-login-vis:hover,
.BB-login .BB-login-vis:focus {
    background: #DCE8F5;
    color: #2B5F93;
}

.BB-login-link {
    font-size: 14px;
    font-weight: 600;
    color: #4682BE;
    text-decoration: none;
}

.BB-login-link:hover {
    color: #2B5F93;
    text-decoration: underline;
}

.BB-login-knap {
    display: block;
    width: 100%;
    padding: 12px 20px;
    border: 0;
    border-radius: 8px;
    background: #4682BE;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: background-color 0.15s ease;
}

.BB-login-knap:hover,
.BB-login-knap:focus {
    background: #2B5F93;
    color: #FFFFFF;
}

.BB-login-knap:disabled {
    opacity: 0.7;
    cursor: wait;
}

.BB-login-knap-lys {
    background: #EEF4FA;
    color: #2B5F93;
    border: 1px solid #C9DBEE;
    font-size: 14px;
}

.BB-login-knap-lys:hover,
.BB-login-knap-lys:focus {
    background: #DCE8F5;
    color: #2B5F93;
}

/* Slet bruger (slet.bruger.php) */
.BB-login-knap-slet {
    background: #B42318;
}

.BB-login-knap-slet:hover,
.BB-login-knap-slet:focus {
    background: #912018;
}

.BB-login-knap-slet:disabled {
    background: #D9A29C;
    opacity: 1;
    cursor: not-allowed;
}

.BB-slet-advarsel {
    background: #FDF3F2;
    border: 1px solid #F4D3CF;
    border-left: 4px solid #B42318;
    border-right: 4px solid #B42318;
    border-radius: 8px;
    padding: 14px 16px 6px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #1F2933;
}

.BB-slet-advarsel ul {
    padding-left: 18px;
    margin: 6px 0 8px 0;
}

.BB-slet-advarsel li {
    margin-bottom: 4px;
}

.BB-login .form-check-input:checked {
    background-color: #B42318;
    border-color: #B42318;
}

.BB-login .form-check-label {
    font-size: 14px;
    font-weight: 600;
}

/* Styrkemåler på password.skift.php */
.BB-pw-maaler {
    height: 6px;
    margin-top: 8px;
    background: #EEF4FA;
    border-radius: 3px;
    overflow: hidden;
}

.BB-pw-maaler > div {
    width: 0;
    height: 100%;
    border-radius: 3px;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.BB-login-glemt {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #D9E2EC;
}

.BB-login-h2 {
    font-size: 17px;
    font-weight: 700;
    color: #1F2933;
    margin: 0 0 4px 0;
}

.BB-login-hjaelp {
    font-size: 14px;
    color: #6B7785;
    margin-bottom: 14px;
}

.BB-login-bund {
    background: #EEF4FA;
    border-top: 1px solid #D9E2EC;
    padding: 14px 28px;
    font-size: 12px;
    line-height: 1.6;
    color: #6B7785;
}

@media (max-width: 576px) {
    .BB-login {
        padding: 16px 0 32px 0;
    }

    .BB-login-kort {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        box-shadow: none;
    }

    .BB-login-banner,
    .BB-login-indhold {
        padding-left: 20px;
        padding-right: 20px;
    }

    .BB-login-bund {
        padding-left: 20px;
        padding-right: 20px;
    }

    .BB-login-titel {
        font-size: 22px;
    }
}

/* ============ LOGIN-SIDE SLUT ============ */

/* ============ banebasen.dk .end============ */
