﻿body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Calibri, "myriad-pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 17px;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

section {
    display: flex;
    flex-direction: column;
}


form#form1 {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.MasterContainer {
    height: 150px !important;
    padding-top: 10px;
}


footer {
    background: var(--footer-color);
    color: var(--footer-text-color);
    font-weight: 500;
    font-size: .90em;
    text-align: center;
    line-height: 20px;
    height: 150px;
    width: 100%;
    -webkit-text-decoration: none;
    text-decoration: none;
    padding-top: 25px;
}

    footer a {
        -webkit-text-decoration: none;
        text-decoration: none;
        color: var(--footer-text-color);
    }

        footer a:hover {
            text-decoration: underline;
        }

.footer1 {
    vertical-align: top;
}

.footer2 {
    margin-left: 10%;
    vertical-align: top;
}

.footer3 {
    vertical-align: top;
    display: inline-block;
}

.footerContent {
    padding: 10px;
}

.footerImage {
    position: relative;
    left: 10px;
}


.overlayContent {
    width: 100%;
    height: 100%;
    position: relative;
}

section {
    width: 100% !important;
}

/*header {
    color: #FFF;*/
/*font-weight: 900;*/
/*font-size: 1em;
    text-align: left;*/
/*height: 50px;*/
/*line-height: 25px;
    background-color: var(--navbar-color);
    width: 100%;
    padding-top: 7px;
    height: 40px !important;*/
/*padding-right: 11px;*/

/*}*/
header {
    color: #FFF;
    font-size: 1em;
    text-align: left;
    background-color: var(--navbar-color);
    line-height: 25px;
    width: 100%;
    padding: 7px 15px;
    display: grid;
    /*flex-wrap: wrap; */
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
}

    header.active {
        border-bottom: 2px solid #fff;
    }


.nav-mobile {
    display: none;
}
/* skal tilpasses */
@media only screen and (max-width: 1200px) {
    header {
        height: 80px !important;
    }
}

@media only screen and (max-width: 768px) {
    header {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        height: 60px;
        color: transparent;
        height: auto !important;
    }

    .top-nav {
        display: none;
    }

    .desktop-nav {
        display: none;
    }

    .nav-mobile {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background-color: var(--navbar-color);
        border-top: 1px solid #ccc;
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 999;
    }

    body {
        padding-bottom: 60px; /* svarende til navbarens højde */
    }

    .footer {
        display: none !important;
    }

    .nav-mobile {
        display: flex;
    }

        .nav-mobile i {
            color: var(--navbar-text-color);
            font-size: 1rem;
        }

    footer {
        background: var(--footer-color);
        color: var(--footer-text-color);
        font-weight: 500;
        font-size: .90em;
        display:flex;
        justify-content: center;
        text-align: left;
        gap: 40px;
        line-height: normal;
        height: 150px;
        width: 100%;
        -webkit-text-decoration: none;
        text-decoration: none;
        padding-top: 25px;
    }

    .footer1,
    .footer2,
    .footer3 {
        margin: 0;
        display: flex;
        flex-direction: column;
    }

    .footer3 {
        vertical-align: top;
        display: inline-block;
        height: 1px;
    }

    .footer2 {
        height: 40vh;
    }
    /* .footerImage{
    }*/

    .footerContent {
        display: flex; /* Aktiver Flexbox */
        flex-direction: column; /* Arranger elementer vertikalt */
        align-items: flex-start; /* Centrer elementer horisontalt */
        justify-content: center; /* Centrer elementer vertikalt (valgfrit) */
        gap: 10px; /* Mellemrum mellem elementer */
        padding: 0 20px !important;
    }

    .clear {
        height: 135vh !important;
    }
}

@media only screen and (min-width: 769px) and (max-width: 994px) {
    .clear {
        height: 45rem !important;
    }
}

/*nav {
    height: 45px;
    background: #49b0fa;
    color: #FFF;
    font-weight: 900;
    line-height: 45px;
    text-align: center;
}

    nav ul {
        margin: 0;
        padding: 0;
    }

        nav ul li {
            padding-left: 15px;
            display: inline;
        }

            nav ul li a {
                text-decoration: none;
                color: #fff;
            }*/
#nav1 {
    height: 45px;
    /*background: #49b0fa;*/
    color: #FFF;
    /*font-weight: 900;*/
    line-height: 45px;
    text-align: center;
    margin-left: 100px;
}

    #nav1 ul {
        margin: 0;
        padding: 0;
    }

        #nav1 ul li {
            padding-left: 15px;
            display: inline;
        }

            #nav1 ul li a {
                text-decoration: none;
                color: #fff;
            }

#nav2 {
    height: 45px;
    /*background: #49b0fa;*/
    color: #FFF;
    /*font-weight: 900;*/
    line-height: 45px;
    text-align: center;
}

    #nav2 ul {
        margin: 0;
        padding: 0;
    }

        #nav2 ul li {
            padding-left: 15px;
            display: inline;
        }

            #nav2 ul li a {
                text-decoration: none;
                color: #fff;
            }


/*#nav2{float:right;}*/

main {
}

#form1 {
}

article {
    width: 65%;
    float: left;
}

aside {
    width: 35%;
    float: left;
}


.clear {
    clear: both;
    height: 45vh;
}

.HeaderLeft {
    float: left;
    margin-left: 10px;
    margin-top: 10px;
}

#Web2 {
    margin-left: 200px;
}


.h1 {
    font-weight: bold !important;
    font-size: 32px !important;
    color: white !important;
}

.h2 {
    font-weight: bold;
    font-size: 24px;
    color: white;
}

.h3 {
    font-weight: bold;
    font-size: 16px;
    color: white;
}

.floatLeft {
    float: left;
}

.floatRight {
    float: right;
}

.gemt {
    visibility: hidden;
}

.synlig {
    visibility: visible;
}



.lblButtonStyle {
    background-color: #e5e3e3;
    border-radius: 5px;
    border: 1px solid;
    height: 26px;
    padding-left: 10px;
    padding-right: 10px;
}

    .lblButtonStyle:hover {
        cursor: pointer;
        opacity: 0.8;
    }

.ddlLister {
    width: 189px;
    height: 24px;
    border-color: black;
    padding: 0px 4px 0px 4px !important;
}

.marginLeft5 {
    margin-left: 5px;
}

.footer-text {
    display: inline-block;
    text-align: left;
    margin-bottom: 0;
}

    .footer-text p {
    }

footer p {
    margin-bottom: 0.1rem;
}

.marginRight {
    margin-right: 20px;
}



.btn-primary,
input[type="submit"] {
    background-color: var(--button-color) !important;
    border-color: var(--button-color) !important;
    color: white !important;
    border: none !important;
    padding: 10px 15px !important;
    border-radius: 5px !important;
    text-align: center !important;
    font-weight: bold !important;
    cursor: pointer !important;
    -webkit-text-decoration: none !important;
    text-decoration: none !important;
    font-size: 13px !important;
}

/*  .btn-primary:hover,
    input[type="submit"]:hover {
        background-color: color-mix(in srgb, var(--button-color) 50%, transparent) !important;
        border-color: color-mix(in srgb, var(--button-color) 50%, transparent) !important;
    }*/

.centerButtonDiv {
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    margin: 20px 0;
}
#NyhederButton {
    width: 100%;
    max-width: 600px; /* Optional: set a max-width if desired */
}

img {
    max-height: 280px;
    max-width: 500px;
    /*    margin-bottom: 15px;
    margin-top: 15px;*/
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Container for the header with dropdowns */
.header-dropdown-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #1E4A76;
}

/* Container for each dropdown */
.dropdown-box {
    display: flex;
    flex-direction: column;
    width: 30%;
}

    /* Dropdown label styling */
    .dropdown-box label {
        /*font-weight: bold;*/
        color: white;
        margin-bottom: 6px;
    }

/* Wrapper around the select element to add icon */
.select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

    /* Dropdown arrow icon */
    .select-wrapper i {
        position: absolute;
        top: 50%;
        right: 12px;
        pointer-events: none;
        transform: translateY(-50%);
        color: #555;
    }

/* Dropdown styling */
select {
    width: 100%;
    padding: 10px 32px 10px 10px;
    font-size: 14px;
    border-radius: 5px;
    appearance: none;
}

    select:focus {
        outline: none;
        border-color: var(--border-color);
    }

.medlemsSystemMaster {
    height: 150px !important;
    padding-top: 10px;
}

.medlemsSystemMasterBund {
    vertical-align: top;
}

.medlemsSystemMasterBundPlus {
    margin-left: 10%;
    vertical-align: top;
}


/*-------------------- Bootstrap -----------------------------------*/

.textColorWhite {
    color: white;
}




#wrapper {
    background: #ccc;
    overflow: hidden;
    transition: max-height 300ms;
    max-height: 0 !important; /* <---hide by default */
}

    #wrapper.open {
        max-height: 100px !important; /* <---when open, allow content to expand to take up as much height as it needs, up to e.g. 100px */
    }


.divSportskategorierMenu {
    width: auto;
    height: 50px !important;
    background-color: #1E4A76 !important;
}

.sportskategori {
    float: left;
    height: 40px;
    width: 100px;
    cursor: pointer;
}

.SiteRoot {
    float: left;
    text-align: left;
    margin-left: 10px;
    margin-right: 30px;
    color: white;
    cursor: pointer;
}

.site-logo {
    height: 40px;
    cursor: pointer;
}

.divBruger {
    /*width: 350px;*/
    width: auto;
    float: right !important;
}

.divBrugerSub {
    float: right;
    margin-right: 25px;
}

/********** Til dropdown menu start ************/

.dropbtn {
    color: white;
    margin-right: 16px;
    margin-bottom: 5px;
    /*font-size: 16px;*/
    border: none;
    cursor: pointer;
    padding-bottom: 3px;
    border-bottom: 5px solid transparent;
    -moz-transition: color 0.3s;
    -o-transition: color 0.3s;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
    -webkit-text-decoration: none;
    text-decoration: none;
    display: inline-block;
}

    .dropbtn.active {
        border-color: var(--navbar-text-color);
    }

.ddl:hover .dropbtn {
    color: var(--button-color);
}

.ddl {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.ddlInner {
    display: none;
    position: absolute;
    /*background-color: #f1f1f1;
  min-width: 160px;*/
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    cursor: pointer;
    background-color: var(--navbar-color);
    padding: 10px !important;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 5px;
    -moz-transition: display 0.3s;
    -o-transition: display 0.3s;
    -webkit-transition: display 0.3s;
    transition: display 0.3s;
}

    .ddlInner a {
        z-index: 1000;
        color: var(--navbar-text-color);
        /*padding: 12px 16px;*/
        text-decoration: none;
        display: block;
        cursor: pointer;
        -moz-transition: color 0.3s;
        -o-transition: color 0.3s;
        -webkit-transition: color 0.3s;
        transition: color 0.3s;
        width: max-content;
    }

        /*.ddlInner a:hover {background-color: #ddd;}*/

        .ddlInner a:hover {
            color: var(--button-color);
            width: 100%;
        }


.ddl:hover .ddlInner {
    display: block;
}

/*.btn-primary,
input[type="submit"] {
    background-color: var(--button-color) !important;
    border-color: var(--button-color) !important;
    color: white !important;
    border: none !important;
    padding: 10px 15px !important;
    border-radius: 5px !important;
    text-align: center !important;
    font-weight: bold !important;
    cursor: pointer !important;
    -webkit-text-decoration: none !important;
    text-decoration: none !important;
    font-size: 13px !important;
}

/********** Til dropdown menu slut ************/

.hlSportsgrenClass {
}

.tablinks {
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 17px;
    margin-right: 15px;
    margin-bottom: 15px;
}

    .tablinks.active {
        border-bottom: 2px solid var(--border-color);
    }

    .tablinks:hover {
        border-bottom: 2px solid var(--border-color);
    }

.tabcontent {
    display: block;
    overflow-x: auto; /* Enable horizontal scrolling on tab content */
    width: 100%;
    padding: 10px 0;
    height: 100%;
}

.was-validated .form-control:invalid, .form-control.is-invalid {
    border: none !important;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

input[type="checkbox" i] {
    accent-color: var(--primary-color) !important;
    margin-right: 5px;
}


.form-col label,
.form-col .aspNetLabel {
    font-weight: 500;
    margin-bottom: 2px;
    font-size: medium;
}

.kvitteringVenstreMargin {
    margin-left: 200px;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}