﻿html, body {
    margin: 0;
    padding: 0;
    background: #F6F6F6;
}

.hideoverflow {
    overflow-x: hidden;
}

.LoginOverskrift {
    font-family: 'Tilt Warp';
    font-size: 50px;
    color: #4B4B4B;
    margin-left: 50px;
    margin-bottom: 0px;
}


nav {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
}


.mainbilledetekst {
    width: 100%;
    background-color: white;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    height: 10vh;
}

.mainbilledetekst ul {
    list-style: none;
    background-color: white;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;

}

.mainbilledetekst ul li {
    display: inline-block; 
    position: relative;
}

.mainbilledetekst ul li p {
    font-family: 'Quicksand';
    font-size: 18px;
    margin-right: 25px;
}

.mainbilledetekst ul li p:hover {
    color: lightgray;
}

.mainbilledetekst ul li.Overskrift {
    margin-right: 10px;
    padding-left: 30px;
}

.mainbilledetekst ul li.Login {
    margin-left: 175px;
}

.mainbilledetekst ul li:not(.Overskrift) a:hover {
    background: lightgrey;
    color: white;
}

.mainbilledetekst ul li.Overskrift p {
    font-family: 'Paytone one';
    font-size: 30px;
    color: #222222;
    margin: 0;
}

.mainbilledetekst ul li a {
    display: block;
    padding: 10px 20px;
    color: #222222;
    text-decoration: none;
    text-align: center;
    font-size: 18px; 
    font-family: 'Quicksand';
    transition: background 0.2s, color 0.2s;
    border-radius: 2px;
}

.mainbilledetekst ul li ul.DropDown {
    width: 100%;
    background: white;
    position: absolute;
    z-index: 999;
    display: none;
    min-width: max-content;
    position: absolute;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    left: 50%;
    transform: translateX(-50%);
}

.mainbilledetekst ul li:hover ul.DropDown {
    display: block;
}

.mainbilledetekst ul li ul.DropDown li {
    display: block;
}






.Indhold {
    max-width: 1425px;
    margin: auto;
    background: #F6F6F6;
}

.Velkommen {
    margin-top: 25px;
    margin-bottom: 25px;
    text-align: left;
    font-family: Quicksand;
    color: #6B6B6B;
}

.VeerstBillede {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.VeerstBilledeX {
    flex: 1.2;
}

.VeerstBillede img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.NyesteTing {
    flex: 0.5;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.NyesteTing a {
    text-decoration: none;
    color: #4B4B4B;
}

.NyesteTing a:hover {
    color: darkgray;
}

.NyeOpslag, .NyeBegivenheder {
    background: white;
    padding: 15px;
    border-radius: 7.5px;
    display: flex;
    display: list-item;
    list-style: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.NyeOpslag p, .NyeBegivenheder p {
    font-family: 'Tilt Warp';
    color: #222222;
    padding-bottom: 10px;
    margin-top: 0;
}

.closest-posts {
    width: 100%;
    position: center;

}

.post {
    background: #F3F3F3;
    border-radius: 7.5px;
    display: flex;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    justify-content: space-between;
}

.post p.Popslag {
    font-family: 'Quicksand';
    margin-left: 10px;
    text-align: left;
    margin-top: 10px;
    margin-bottom: 0px;
    font-size: 20px;
}

.post p.Ptid {
    font-family: 'Quicksand';
    font-size: 10px;
    margin-top: 10px;
    margin-right: 10px;
}




footer {
    background-color: #DFDFDF;
    color: #4B4B4B;
    padding: 15px;
    font-family: 'Quicksand';
    margin-top: 10vh;
    margin-bottom: 5vh;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 18vh;
}

.FooterIndhold {

    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.Webmaster {
    text-align: left;
}

.Webmaster p {
    padding: 8px;
    color: #4B4B4B;
    font-size: 18px;
}

.Nyhedsbrev {
    text-align: left;
}

.Nyhedsbrev p {
    color: #4B4B4B;
    font-size: 18px;
    margin-left: 70px;
}

.TilmeldNyhedsbrev {
    display: flex;
    gap: 10px;
    margin-left: 100px;
}

.TilmeldNyhedsbrev input[type="email"] {
    padding: 6px;
    padding-left: 12px;
    width: 350px;
    border: none;
    border-radius: 25px;
    font-family: 'Quicksand';
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-size: 18px;
}

.TilmeldNyhedsbrev button {
    background-color: gray;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Quicksand';
    transition: background-color 0.2s;
    width: 100px;
    font-size: 18px;
    box-shadow: 0 5px 5px rgba(0,0,0,0.1);
}

.TilmeldNyhedsbrev button:hover {
    background-color: #b3b3b3;
}


.nav {
    padding: 10px;
    padding: 20px 0;
    margin: 0 auto;
}

.nav p {
    font-family: 'Tilt Warp';
    font-size: 30px;
    color: #4B4B4B;
}

.nav p a {
    text-decoration: none;
    color: #4B4B4B;
    font-family: 'Tilt Warp';
    font-size: 20px;
    
}

.nav p a:hover {
    color: lightgrey;
}

.innav {
    display: flex;
    margin-left: 125px;
    margin-top: -50px;
    margin-bottom: 0;
}

.måneder, .år {
    display: flex;
    align-items: center;
    height: auto;
}

.måneder p, .år p {
    margin: 0;
}

.år {
    margin-left: 25px;
}

.kalenderoverskrift {
    font-family: 'Tilt Warp';
    font-size: 35px;
    color: #4B4B4B;
    margin-left: 125px;
}

.kalenderoverskrift {
    width: 100%;
    display: flex;
}

.GalleriOverskrift {
    font-family: 'Tilt Warp';
    font-size: 75px;
    color: #4B4B4B;
    text-align: center;
    margin-top: 50px;
    margin-bottom: -20px;
}

.GalleriTekst {
    font-family: 'Tilt Warp';
    font-size: 18px;
    color: #4B4B4B;
    text-align: center;
}

table {
    width: 100%;
    margin: 20px auto;
    border-collapse: collapse;
    font-family: 'Quicksand';
}

th {
    background-color: #FFFFFF;
    border-bottom: 3px solid #D9D9D9;
    padding: 10px;
    font-weight: bold;
    height: 40px;
    font-family: 'Tilt Warp';
    color: #4B4B4B;
    font-size: 18px;
}

td {
    padding: 15px;
    border: 3px solid #D9D9D9;
    height: 125px;
    position: relative;
    width: 5%;
    color: #4B4B4B;
}


th:first-child {
    width: 10%;
    border-left: none;
    text-align: right;
    padding-right: 4%;
    
}

td:first-child {
    width: 10%;
    border-left: none;
    text-align: right;
    padding-right: 20px;
}

th:last-child {
    width: 25%;
    border-right: none;
    text-align: left;

}

td:last-child {
    border-right: none;
}

td:last-child strong {
    position: absolute;
    right: 80%;
    top: 2px;
    text-align: right;
}

td:last-child .event {
    width: auto;
    position: static;
    max-width: 18%;
    overflow: hidden;
    max-height: 20%;
}

td strong {
    position: absolute;
    top: 2px;
}

td:first-child strong {
    text-align: right;
}

td:not(:first-child):not(:last-child) strong {
    right: 5px;
    text-align: right;

}

th:not(:first-child):not(:last-child) {
    text-align: left;
}

td:first-child .event {
    width: auto;
    max-width: 50%;
    margin-left: auto;
    text-align: center;
    padding-right: 5px;
    overflow: hidden;
    max-height: 20%;
}

.event {
    background-color: #EB4141;
    margin-bottom: 2px;
    border-radius: 5px;
    padding: 2px;
    color: white;
    text-align: center;
    overflow: hidden;
    
}

.event a {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 13px;
}

.event a:hover {
    color: #B4B4B4;
}

#logintekst {
    font-family: 'Quicksand';
    max-width: 500px;
    margin: auto;
    padding: 10px;
}

#logintekst input[type="text"],
#logintekst input[type="password"] {
    width: 100%;
    padding: 17.5px;
    margin-bottom: 20px;
    border-radius: 25px;
    border: none;
    font-size: 16px;
    box-shadow: 0 5px 4px rgba(0, 0, 0, 0.2);
}

#logintekst input::placeholder {
    color: #4B4B4B
}

#logintekst input[type="submit"] {
    background: #4B4B4B;
    border-radius: 25px;
    box-shadow: 0 5px 4px rgba(0, 0, 0, 0.2);
    font-size: 15px;
    padding: 10px;
    width: 20%;
    padding-top: 12px;
    padding-bottom: 12px;
    margin-left: 190px;
    border: none;
    color: white;
}

#logintekst input[type="submit"]:hover {
    background: lightgray;
    color: gray;
}

.LoginContact {
    width: 100%;
    font-family: 'Quicksand';
    text-align: center;
    margin-top: 10%;
    color: #4B4B4B;
}

.EventSamlet {
    background: white;
    width: 90%;
    margin: auto;
    border-radius: 5px;
    padding: 10px;
    margin-top: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    padding-left: 30px;
    min-height: 50vh;
    margin-bottom: 5vh;
    
}

.EventIndhold {
    min-height: 250px;
    height: auto;
    width: 100%;
}

.EventTid {
    display: flex;
    padding-right: 20px;
}

.EventTidspunkter {
    display: flex;
    margin-left: auto;
    margin-top: 15px;
}

.EventBetween {
    margin: 0px;
}

.EventStart, .EventBetween {
    margin-right: 25px;
}

.EventStart, .EventSlut, .EventBetween {
    font-family: 'Quicksand';
    color: #ABABAB;
}

.EventTitle {
    font-family: 'Tilt Warp';
    color: #4B4B4B;
    font-size: 40px;
    padding-left: 12px;
}

.ForsmalingKalender {
    margin-top: 100px;
}

.KontaktInfo {
    margin-top: 50px;
    margin-left: 40%;
    margin-right: 40%;
    width: 20%;
    text-align: center;
}

.KontaktOverskrift {
    font-family: 'Tilt Warp';
    font-size: 24px;
    color: #4B4B4B;
    margin-bottom: 0px;
}

.KontaktTekst {
    font-family: 'Quicksand';
    font-size: 18px;
    color: #4B4B4B;
}
.tox { 
    border: none !important; 
}
.tox-editor-container { 
    user-select: none !important; 
}
#content_display { 
    pointer-events: none; 
}