/*
 Mørkegrøn: 156834
 Olivengrøn: 78913D
 Rød: E04A28
 Gul: FFD800
*/

img {
    max-width: 100%;
}

body a {
    color: #004FA3;
}

#dstoplinks {
    position: absolute;
    right: 5px;
    bottom: 5px;
    font-variant: small-caps;   
    margin: 0;
    width: 100%;
    text-align: right;
}

#dstoplinks > a {
    color: black;
    margin: 0px 10px;   
}

#dstoplinks img {
    height: 20px;
}

#dsfacebooklink {
    position: absolute;
    right: 10px;
    top: 10px;
    margin: 0;
}

#dsfacebooklink img {
    width: 30px;
    height: 30px;
}

#side-forside .nyheder  {
    background-color:#F0EEEC;
    padding: 20px;
}

#side-forside .nyheder > div:first-child {
    text-align: center;
    font-size: xx-large;
    margin: 20px;
}

#side-forside .nyheder div.card {
    max-width: 400px;
}

#side-forside .nyheder .btn-primary {
    background-color: #156834;
    border-color: #156834;
}

#side-forside .nyheder div.card img {
    max-height: 250px;
}

.caption {
    font-style: italic;
    font-size: smaller;
}

.dsbrødkrumme {
    font-size: small;
    margin-bottom: 10px;
}


body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #FAFFF8;
}


body > header {
    position: relative;
    display: flex;
    padding: 15px;
    background-image: url("/media/tfbjqiq5/banner.jpg");   
    background-size: cover;

}

body > header .overskrifter {
    font-family: 'Times New Roman';
    padding-left: 80px;
    padding-top: 10px;
    text-align: right;
    position: absolute;
    right: 10%;
    font-size: 15pt;
    font-weight: bold;
    bottom: 40px;
    font-style: italic;
}

body > header a {
    margin-left: 5%;
}

body > header img {
    height: 100px;
    
}

#indhold {
    margin-bottom: 40px;
}


body > footer {
    position: fixed;
    bottom: 0;
    height: 40px;
    width: 100%;
    background-color: #EEEEEE;
    text-align: center;
}

body > footer > span {
    vertical-align: middle;
    line-height: 40px;
}

nav {
    background-color: #156834;
}

.dsmenu {
    overflow: hidden;
    background-color: #156834;
    padding: 0 !important;
}

.dsmenu *, .dsmenu {
    box-sizing: border-box;
}

.dsmenu > a {
    float: left;
    color: #F2F2F2;
    font-weight: bold;
    text-align: center;
    padding: 4px 16px;
    text-decoration: none;
}

.dsmenu > a.blivMedlem, .dsmenu > a.blivMedlem:hover {
    background-color: #FFD800;
    color: black;
}

.dsmenu > a.lokalforening, .dsmenu > a.lokalforening:hover {
    display: block !important;
    background-color: #E04A28 !important;
}

.aktivtMenupunkt {
    background-color: #4CAF50;
    color: white;
}

.dsmenu > a:first-child {
    display: none;
    font-weight: bold;
}

.dsmenu > a:first-child:hover {
    background-color: inherit;
}

.dsmenu > a:last-child {
    display: none;
    font-size: 16px;
}

.dsmenu > div {
    float: left;
    overflow: hidden;
}

.dsmenu > div.stor > div:first-child {
    border: none;
    outline: none;
    color: #F2F2F2;
    font-weight: bold;
    padding: 4px 16px 2px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    cursor: pointer;
}


.dsmenu > div > button {
    cursor: pointer;
    font-size: 16px;
    border: none;
    outline: none;
    color: #F2F2F2;
    font-weight: bold;
    padding: 4px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.dsmenu > div > div:last-child {
    display: none;
    position: absolute;
    background-color: #F9F9F9;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.dsmenu > div.stor > div:last-child {
    width: 100%;
    left: 0;
}

.dsmenu > div.lille > div:last-child {
    min-width: 160px;
}


.dsmenu > a:hover, .dsmenu > div:hover > div:first-child, .dsmenu > div:hover > button, .dsmenu > div > button:focus {
    background-color: #78913D;
    color: white; 
}


.dsmenu > div > div:last-child a:hover {
    background-color: #D0D0D0;
    color: black;
}
/*
.dsmenu > div:hover > div:last-child {
    display: block;
    background-color:  #EEEEEE;
}
*/
.dsmenu > div.stor > div:last-child > div:after {
    content: "";
    display: table;
    clear: both;
}

.dsmenu > div.stor > div:last-child > div > div {
    float: left;
    width: 33.33%;
    padding: 10px;
}

.dsmenu > div.stor > div:last-child > div > div > div.menutitel {
    font-weight: bold;
    font-size: large;
    padding: 10px 10px 0 10px;
}

.dsmenu > div > div:last-child a {
    float: none;
    color: black;
    padding: 12px;
    text-decoration: none;
    display: block;
    text-align: left;
}
  
.dsmenu > div.stor > div:last-child > div > div > a:hover {
    background-color: #D0D0D0;
}

.dsmenu > div > div:last-child.vis {
    display: block;
}



@media screen and (max-width: 600px) {
    .dsmenu > a:first-child {
        display: block;
        width: 100%;
        text-align: left;
    }

    .dsmenu > a:not(:first-child), .dsmenu > div {
        display: none;
    }

    .dsmenu > a:last-child {
        position: absolute;
        right: 0;
        display: block;
    }
    
    .dsmenu > a:hover, .dsmenu > div:hover > div:first-child, .dsmenu > div:hover > button, .dsmenu > div > button:focus {
        background-color: transparent;
        color: white; 
    }


    .dsmenu.responsive {
        position: relative;
    }

    .dsmenu.responsive > a:last-child {
        position: absolute;
        right: 0;
        top: 0;
    }

    .dsmenu.responsive > a, .dsmenu.responsive > div {
        float: none;
        display: block;
        text-align: left;
    }

    .dsmenu.responsive > div > button {
        width: 100%;
        text-align: left;
    }
    
    .dsmenu.responsive > div > div:last-child {
        position: relative;
    }
    
    .dsmenu.responsive > div.stor > div:last-child > div > div {
        float: none;
        width: 100%;
    }

    body > header {
        display: none;
    }

    body > footer {
        display: none;
    }

    #indhold {
        margin: 0;
    }

    #dsforside {
        padding: 20px !important;    
        display: flex;
        flex-direction: column;

    }
    
    #dsforside > div {
        float: none !important;
        width: 100% !important;
    }
    
    #dsforside > div:nth-child(1) {
        order: 2;
    }

    #dsforside > div:nth-child(2) {
        order: 1;
        padding: 0 !important;
    }

    #dsforside > div:nth-child(3) {
        order: 3;
    }


}


#indholdssti {
    margin: 20px 0;
}


#lokalforeninger {
    height: 600px;
    width: 100%;
}


.visitkort {
    margin-bottom: 10px;
    overflow: hidden;
    padding: 5px;
    background-color: #F8F8F8;
    width: 400px;
    max-width: 100%;
}

.visitkort >  div > div:first-child {
    font-weight: bold;
}

.visitkort > div > div:last-child {
    margin-top: 3px;
}

.visitkort > div > div:last-child > button {
    margin: 0;
    padding: 0;
    border: none;
    background-color: inherit;
    font-family: inherit;
    font-size: inherit;
    color: blue;
}

.visitkort img {
    float: left;
    width: 100px;
    margin-right: 10px;
}

#dsarrangementsliste > div:first-child {
    font-size: x-large;
    font-weight: bold;
}

#dsarrangementsliste > div {
    margin-bottom: 20px;
}

#dsarrangementsliste > div > div {
    margin-bottom: 5px;
}

#dsarrangementsliste > div > div:first-child {
    font-size: large;
    font-weight: bold;
}
/*
#dsarrangementsliste > div > div a {
    font-size: small;
}
*/

#lokalmenu > div {
  float: left;
  overflow: hidden;
}

#lokalmenu > div > button {
    cursor: pointer;
    font-size: 16px;
    border: none;
    outline: none;
    color: #F2F2F2;
    font-weight: bold;
    padding: 15px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}


#lokalmenu > div:hover > button, #lokalmenu button:focus  {
    background-color: #78913D;
}

#lokalmenu > div > div {
    display: none;
    position: absolute;
    left: inherit;
    background-color: #F9F9F9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, .2);
    z-index: 10;
}

#lokalmenu > div > div > a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

#lokalmenu > div > div > a:hover {
  background-color: #ddd;
}

#lokalmenu .vis {
    display: block;
}

.lokaltest2 img {
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
}

.lokaltest img {
   width: 100%; 
}

.dsnyheder > div > div:first-child {
    font-size: large;
    font-weight: bold;
}


.yderligere > button {
    background: none;
    margin: 0;
    border: 0;
    font-size: small;
    padding: 0;
    color: blue;
}

.yderligere > div {
    display: none;
}

.dsmappe > h1 {
    font-size: xx-large;
    margin-bottom: 14px;
}

.dsmappe > div:nth-child(2) {
    font-size: large;
    margin-bottom: 24px;
}

.dsmappe > div:nth-child(3) {
    overflow: hidden;
}

.dsmappe > div:nth-child(3) > div {
    float: left;
    width: 350px;
    margin: 10px;
    background-color: #F2F2F2;
    height: 400px;
    overflow: hidden;
}
.dsmappe > div:nth-child(3) > div > a:hover {
    text-decoration: none;
}

.dsmappe > div:nth-child(3) > div > a > img {
    width: 350px;
    height: 150px;
}

.dsmappe > div:nth-child(3) > div > a > div {
    font-size: large;
    color: black;
    font-weight: bold;
    padding: 8px;
}

.dsmappe > div:nth-child(3) > div > div {
    padding: 8px;
}

.dsmappe > div:nth-child(3) > div > div > a {
    display: block;
    margin: 4px 0;
}

.dsmappe > div:nth-child(4) > div {
    margin-bottom: 7px;
}

.dsgeneralforsamlingsliste {
    overflow: hidden;
}

.dsgeneralforsamlingsliste > div {
    min-width: 50%;
    max-width: 550px;
    float: left;
}

.dsgeneralforsamlingsliste > div > a {
    display: block;
    margin-bottom: 7px;
}

#dsforside {
    padding: 0 0 30px 0;
    overflow: hidden;
}

#dsforside > div {
    float: left;
}

#dsforside > div:nth-child(1) {
    width: 20%;
}

#dsforside > div:nth-child(1) > div:nth-child(1) {
    font-size: large;
    font-weight: bold;
}

#dsforside > div:nth-child(1) > div:nth-child(1) > a {
    color: black;
    margin-left: 8px;
}

#dsforside > div:nth-child(1) > div:nth-child(2) {
    display: flex;
    flex-direction: column;
}

#dsforside > div:nth-child(1) > div:nth-child(2) > div {
    margin: 4px 0;
    padding: 8px;
    order: 2;
}

#dsforside > div:nth-child(1) > div:nth-child(2) > div.vigtig {
    background-color: lightyellow;
    order: 1;
}

#dsforside > div:nth-child(2) {
    width: 60%;
    padding: 0 20px;
}

#dsforsidemeddelelse {
    background-color: #E3E3E3;
    padding: 15px;
    border: black solid 1px;
    margin-bottom: 20px;
}

#dsforsidemeddelelse hr {
    border-color: black;
    border-width: 2px;
}

#dsforsideknapper > div {
    float: left;
    width: 50%;
    margin-bottom: 30px;
}

#dsforsideknapper > div:nth-child(2n) {
    padding-left: 10px;
}

#dsforsideknapper > div:nth-child(2n+1) {
    padding-right: 10px;
    clear: left;
}

#dsforsideknapper > div > a {
    color: black;
}

#dsforsideknapper > div > a > div:nth-child(2) {
    font-weight: bold;
    margin-top: 8px;
    margin-bottom: 5px;
}

#dsforside > div:nth-child(3) {
    width: 20%;
}

#dsforside > div:nth-child(3) > div {
    margin-bottom: 30px;
}

#dsforside > div:nth-child(3) > div:nth-child(2) > div:nth-child(1) {
    font-size: large;
    font-weight: bold;
    margin-bottom: 5px;
}

#dsforside > div:nth-child(3) > div:nth-child(2) > div:nth-child(2) > a {
    display: block;
    margin-bottom: 5px;
}

/*
#dsforside > div:nth-child(1) {
    margin-bottom: 20px;
}

#dsforside > div:nth-child(2) {
    overflow: hidden;
}

#dsforside > div:nth-child(2) > div {
    float: left;
}

#dsforside > div:nth-child(2) > div:nth-child(1) {
    width: 70%;
    padding-right: 10px;
}

#dsforside > div:nth-child(2) > div:nth-child(2) {
    width: 30%;
    padding-left: 10px;
}

#dsforside > div:nth-child(2) > div > div {
    margin-bottom: 20px;
}

#dsrullebanner  {
    border: none
}

#dsrullebanner img {
    height: 100px;
}

*/

#dsudvalgsoversigt > div {
    margin-bottom: 20px;
}

#dsudvalgsoversigt > div > div:first-child {
    font-weight: bold;
}

#dsnyheder > div {
    margin: 20px 0;
}

#dsnyheder > div > a {
    display: block;
    font-size: larger;
    color: inherit;
}

#dsnyheder > div > div:nth-child(2) {
    font-size: smaller;
    font-style: italic;
}

#dsforsidenyheder > div {
    margin-bottom: 10px;
}

#dsnyheder > div > a {
    display: block;
}

#dsforsidearrangementer > div {
    margin-bottom: 20px;
}

#dsforsidearrangementer > div:first-child {
    font-size: large;
    font-weight: bold;
    margin-bottom: 10px;
}

#dsforsidearrangementer > div:nth-child(2) > div {
    margin-bottom: 10px;
}

#dsforsidearrangementer > div:nth-child(2) > div > div:first-child > a {
    color: black;
    font-weight: bold;
}

#dspodcasts > div:first-child {
    margin-bottom: 20px;    
}

#dspodcasts > div:first-child > div:first-child {
    font-size: xx-large;
    margin-bottom: 10px;
}

#dspodcasts > div:first-child > div:last-child {
    font-size: large;
}

#dspodcasts > div:last-child > div {
    background-color: #F3F3F3;
    margin-bottom: 10px;
    padding: 15px;
}

#dspodcasts > div:last-child > div > div:first-child {
    font-size: x-large;
    margin-bottom: 5px;
}

#dspodcasts > div:last-child > div > audio {
    display: block;
    margin: 4px;
}

.modal .modal-title {
    font-weight: bold;
}