html {
    font-family: Verdana, Arial, sans-serif;
    height: 100%;
}

body {
    margin: 5px;
    font-family: Verdana, Arial, sans-serif;
    /* background-color: #d8f571; 3.-1.-2025: Første grønne */
    /* background-color: #b6d6a3; Nye grønne */
    background-color: white;
}

a {
    color: black;
}
a:hover {
    color: darkslategray;
}

code, kbd, pre, samp {
    font-family: monospace;
}

button, input, optgroup, select, textarea {
    font-family: inherit;
}

.tooltip {
    font-family: Verdana, Arial, sans-serif;
}

.popover {
    font-family: Verdana, Arial, sans-serif;
}

.text-monospace {
    font-family: monospace;
}

.forside_billede {
    height: 250px;  /* Set the desired height */
    object-fit: cover;
    /* filter: brightness(0%) invert(100%); */
}

.dps-error {
    color: #FF0000;
}

.required:after {
    content:" *";
    color: red;
}

abbr[title] {
    text-decoration: none;
}

.nav-link1{
    display:block;
    padding:.5rem 1rem
}

.nav-link1:focus,
.nav-link1:hover{
    text-decoration:none
}

/* .nav-link1.disabled{color:#6c757d;pointer-events:none;cursor:default}*/
.nav-link1.disabled{
    color:#6c757d;
    cursor:default
}

/* Overskriver fancybox-css */
/* Original
.fancybox-caption{opacity:1;transition:opacity .25s,visibility 0s;visibility:visible}
.fancybox-toolbar{direction:ltr;opacity:0;position:absolute;transition:opacity .25s,visibility 0s linear .25s;visibility:hidden;z-index:99997}
*/
.fancybox-caption{
    opacity:1 !important;
    transition:none !important;
    visibility:visible !important
}
.fancybox-toolbar{
    direction:ltr;
    opacity:1 !important;
    position:absolute;
    transition:none !important;
    visibility:visible !important;
    z-index:99997
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #F0F8FF;
    background-color: #a8d394;
}

.navbar-custom {
    background-color: #b6d6a3;
}

/* change the brand and text color */
.navbar-custom .navbar-brand,
.navbar-custom .navbar-text {
    color: black;
    /*                padding: 0.8rem 1rem; */
}

/* change the link color and add padding for height */
.navbar-custom .navbar-nav .nav-link {
    color: black;
    /*               padding: 1rem 1rem; */
}

/* change the link color and add padding for height */
.navbar-custom .nav-link {
    color: black;
}

/* change the color of active links */
.navbar-custom .nav-item:active .nav-link {
    color: white;
    background-color: #a8d394; /* add background-color to active links */
    cursor: none;
}

.navbar-custom .btn {
    color: black;
    border-color: black;
    background-color: #a8d394;
}

.navbar-custom .btn:hover {
    color: white;
}

.navbar-custom .btn:active {
    color: black;
    background-color: #a8d394;
    border-color: #000;
}
/* change the hovered links */
.navbar-custom .nav-item:hover .nav-link {
    color: white;
    background-color: #a8d394; /* add background-color to active links */
    cursor: pointer;
}

/* for dropdown only - change the color of dropdown */
.navbar-custom .dropdown-menu {
    background-color: #b6d6a3;
}

.navbar-custom .dropdown-item {
    color: black;
}

.navbar-custom .dropdown-item:hover,
.navbar-custom .dropdown-item:focus {
    color: white;
    background-color: #a8d394;
}

.dps-knap {
    border-radius: 4px;
    background-color: beige;
    border: none;
    color: #b6d6a3;
    text-align: center;
    font-size: 14px;
    padding: 10px;
    width: 200px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 0px;
}

.dps-knap span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.dps-knap span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.dps-knap:hover span {
    padding-right: 25px;
}

.dps-knap:hover span:after {
    opacity: 1;
    right: 0;
}

.scroll {
    position: relative;
}

.collapsible {
    /*  background-color: #777; */
    color: black;
    background: #a8d394;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 18px;
}

.active, .collapsible:hover {
    /*  background-color: #555; */
    background: #a8d394;
}

.collapsible:after {
    content: 'Klik for at udvide \21E9';
    color: black;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.active:after {
    content: "Klik for at sammenfolde \21E7";
}

.content {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    /*  background-color: #f1f1f1; */
    background: rgba(250, 224, 66, .2);
}

.content_start {
    padding: 0 18px;
    /*  background-color: #f1f1f1; */
    background: rgba(250, 224, 66, .2);
}

.brodtekst {
    padding-top: 7px;
}

.thumb {
    max-height:100px;
    display:inline-block;
    margin-right:10px;
    vertical-align:middle;
}
.meta {
    display:inline-block;
    vertical-align:middle;
    max-width:60%;
}
.pagination a {
    margin:0 4px;
    text-decoration:none;
}
.pagination .current {
    font-weight:bold;
}
.thumb_lazy {
    width:200px;
    height:140px;
    background:#eee;
    display:block;
    object-fit:cover;
}

/* PBN
@supports ((position: -webkit-sticky) or (position: sticky)) {
.sticky-top2 {
position: -webkit-sticky;
position: sticky;
top: 50px;
z-index: 1019;
}
}
*/

@media screen and (max-width: 800px) {
    /* Skærmbredde 800px og mindre */
    #DPS_test_baggrundsfarve {
        background-color: lightblue;
    }
    #venstremenu {
        position: fixed;
    }
    #bestmenu {
        position: fixed;
    }
    #admmenu {
        position: fixed;
    }
    #omosmenu {
        position: fixed;
    }
    #plantningmenu {
        position: fixed;
    }
    #linksmenu {
        position: fixed;
    }
}

@media screen and (max-width: 600px) {
    /* Skærmbredde 600px og mindre */
    #DPS_test_baggrundsfarve {
        background-color: yellow;
    }
    #venstremenu {
        position: fixed;
    }
    #bestmenu {
        position: fixed;
    }
    #admmenu {
        position: fixed;
    }
    #omosmenu {
        position: fixed;
    }
    #plantningmenu {
        position: fixed;
    }
    #linksmenu {
        position: fixed;
    }
}

@media screen and (max-width: 400px) {
    /* Skærmbredde 400px og mindre */
    #DPS_test_baggrundsfarve {
        background-color: lightpink;
    }
    #venstremenu {
        top: 0;
        bottom: 0;
    }
    #bestmenu {
        top: 0;
        bottom: 0;
    }
    #admmenu {
        top: 0;
        bottom: 0;
    }
    #omosmenu {
        top: 0;
        bottom: 0;
    }
    #plantningmenu {
        top: 0;
        bottom: 0;
    }
    #linksmenu {
        top: 0;
        bottom: 0;
    }
}

@media screen and (min-width: 801px) {
    /* Skærmbredde 801px og større */
    #DPS_test_baggrundsfarve {
        background-color: blueviolet;
    }
    #venstremenu {
        position: fixed;
    }
    #bestmenu {
        position: fixed;
    }
    #admmenu {
        position: fixed;
    }
    #omosmenu {
        position: fixed;
    }
    #plantningmenu {
        position: fixed;
    }
    #linksmenu {
        position: fixed;
    }
}
