body {
    margin: 0;
    /*font-family: Helvetica, sans-serif;*/   
    font-family: Calibri;
    background-color: #c9e0f6;
    word-break: break-word;
}

a {
    color: #000;
}
.capitalize{
    /*text-transform:capitalize;*/
    font-variant:small-caps;     
    font-weight:bold; 
}

/* header */

.header {
    background-color: #97bee3;
    box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
    /*position: fixed;*/
    width: 100%;
    z-index: 3;
}

.header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    background-color: transparent;
}

.header li a {
    display: block;
    padding: 20px 20px;
    border-left: 0.5px solid #f4f4f4;
    border-right: 0.5px solid #f4f4f4;
    text-decoration: none;
    user-select: none;
    color: #fff;
    font-weight: 600;
}

.header li a:hover,
.header .menu-btn:hover {
    background-color: #c9e0f6;
}
.header .logo {
    display: flex;
    float: left;
    font-size: 2em;
    padding: 1%;
    text-decoration: none;
    text-align: center;
    width: 80%;  

}
.header .logo p{
    margin: 0;
    padding-top:1.2em;
    width: 100%;
    color: #fff;
    font-size: 0.5em;
}
.header .logo img{
    height: 2.0em;
    border-radius: 50%;
    background: white;
    padding: 0.1em;
    box-shadow: 1px 1px 14px 0 rgba(0,0,0,.6)
}

/* menu */

.header .menu {
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
}

/* menu icon */

.header .menu-icon {
    cursor: pointer;
    float: right;
    padding: 33px 10px;
    position: relative;
    user-select: none;
}

.header .menu-icon .nav-icon {
    background: white;
    display: block;
    height: 2px;
    position: relative;
    transition: background .4s ease-out;width: 18px;
    border-radius: 0.5em;
}

.header .menu-icon .nav-icon:before{
    background: #217599;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .4s ease-out;
    width: 100%;
}
.header .menu-icon .nav-icon:after {
    background: #a59e96;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .75s ease-out;
    width: 100%;
}

.header .menu-icon .nav-icon:before {
    top: 5px;
    background: #217599;
    border-radius: 0.5em;
}

.header .menu-icon .nav-icon:after {
    top: -5px;
    background: #a59e96;
    border-radius: 0.5em;
}

/* menu btn */
.header .search{
    float: right;
    display: none;
    background-color: #3ab44a;
    border-radius: 60%;
    color: white;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    font-size: 1.5em;
    margin: .5em;
}
.header .menu-btn {
    display: none;
}

.header .menu-btn:checked ~ .menu {
    max-height: fit-content;
}

.header .menu-btn:checked ~ .menu-icon .nav-icon {
    background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .nav-icon:before {
    transform: rotate(-45deg);
    background: #217599;
    top:0;
}

.header .menu-btn:checked ~ .menu-icon .nav-icon:after {
    background: #a59e96;
    transform: rotate(45deg);
    top:0;
}
/*information navigations linje*/
.information_page{
    width: 100%;
    text-align: center;
}

.information_element{
    margin-top: 2%;
    margin-bottom: 2%;
    padding: 1%;
    background-color: #e9f4fe;
    text-align: center;
    border-radius: 0.35em;
    box-shadow: 1px 1px 14px 1px rgba(0,0,0,.2);
}
.information_info{
    display: flex;
    margin: auto;
    width: fit-content;
}
/*icon*/
.icon{
    padding: 0;
    width: 1.25em;
    padding-right: 0.5em;
    padding-left: 0.5em;
}

/*information*/
.information{
    width: 98%;
    margin-top: 2%;
    margin-bottom: 2%;
    padding: 1%;
    background-color: #e9f4fe;
    text-align: center;
    border-radius: 0.35em;
    box-shadow: 1px 1px 14px 1px rgba(0,0,0,.2);
}
.church_cermonys{

}
#cermony{

}
#cermony h1{
    font-size: 1.5em;
    margin: 0;
    margin-top: 0.5em;
}
#cermony p{
    font-size: 1.25em;
    text-align: left;
    padding: .75em;
    margin: 0;
}
.nav{
    margin: 1em;
    box-shadow: 1px 1px 14px 1px rgba(0,0,0,.2);
}
.nav ul{
    display: block;
    padding: 0;
}
.nav li{
    text-align: center;
    width: auto;
    color: #fff;
    background-color: #97bee3;
    list-style: none;
    cursor: pointer;
    padding: 1em;
    border: 1px solid #f4f4f4;
    transition: all .75s ease-out;
}
.nav li:hover{
    background-color: #c9e0f6;
}
.nav a{
    color: white;
    text-decoration: none;
    word-break: normal;
}
/*page*/
.page{
    display: block;
    width: 96%;
    margin: auto;
    margin-top: 1%;
    color: #217599;
}
.page img{
    padding: 0.5em;
    /*border-radius: 1em;*/
}
.page h1{
    font-size: 1.5em;
}
.page h2{
    font-size: 1.25em;
    /*text-decoration: underline;*/
    padding: 0.5em;

}
.page p{
    font-size: 1em;
}
/*content*/
.content{
    /*color: #217599;*/
    /*position: relative;*/
}
/*element*/
.element{
    width: 98%;
    margin-top: 2%;
    margin-bottom: 2%;
    padding: 1%;
    background-color: #e9f4fe;
    text-align: center;
    border-radius: 0.35em;
    box-shadow: 1px 1px 14px 1px rgba(0,0,0,.2);
}
/*gudstjenester*/
.gudstjenester{
    width: 100%;
}
#sogn{
    width: 90%;
    height: 500px;
}
/*information*/
.infomation{
    width: 100%;
    margin-bottom: 5em;
}
/*bibelvers*/
.scripture{
    padding: 1em;
    text-align: center;
}
.scripture h1{
    font-size: 1.5em;
    text-decoration: underline;
    margin: 0;
    margin-bottom: 0.5em;
}
.scripture p{
    font-size: 1em;
    text-align: justify;
}
.scripture a{
    padding: 1%;
    transition: all 1s;
}
.scripture a:hover{
    font-weight: bold;   
    background-color: #c9e0f6;
}
/*maps*/
.maps{
    padding: 1em;
    text-align: center;
}
.maps h1{
    font-size: 1.5em;
    text-decoration: underline;
    margin: 0;
    margin-bottom: 0.5em;
}
.maps p{
    font-size: 1em;
    text-align: justify;
}
.maps a{
    padding: 1%;
    transition: all 1s;
}
.maps a:hover{
    font-weight: bold;   
    background-color: #c9e0f6;
}
.maps ul{
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    background-color: transparent;
}
.maps li{
    text-align: center;
    width: auto;
    color: #fff;
    background-color: #97bee3;
    list-style: none;
    cursor: pointer;
    padding: 1em;
    border: 1px solid #f4f4f4;
    transition: all .75s ease-out;
}
.maps li:hover{
    background-color: #c9e0f6;
}
#map h1{
    margin-top: 0.5em;
}
/*featured*/
.featured{
    padding: 1em;
    text-align: center;
}
.featured h1{
    font-size: 1.5em;
    text-decoration: underline;
    margin: 0;
    margin-bottom: 0.5em;
}
.featured h2{
    font-size: 1em;
    text-align: left;
    text-decoration: none;
}
.featured p{
    font-size: 1em;
    text-align: left;
}
.featured img{
    width: 30%;
    padding: 0;
    border-radius: 0.25em;
    margin: 0.5em;
    cursor: pointer;
}
.big_image{
    padding: 1.5em;
}
.big_image img{
    border-radius: 0.25em;
    width: 100%;
}
.citat{
    font-size: .9em;
    width: 75%;
    padding: 1em;
    font-style: italic;
    text-align: left;
}
.confirmation{
    width: 80%;
    margin: auto;
}
.lapidarium{
    display: flex;
    flex-wrap: wrap;    
    justify-content: center;
}
.qr{
    width: 40%;
    background-color: #c9e0f6;
    padding: 0.5em;
    margin: 1%;
    border-radius: 0.25em;
    transition: 2s;
}
.qr:hover{    
    background-color: #97bee3;
    cursor: pointer; 
}
.qr_details{
    width: 95%;
    display: block;
    margin: auto;
    background-color: azure;
    padding: 1em;  
}
.qr_details img{
    width: 90%;
    padding: 0;
    margin: auto;
    display: block;
}
.qr_names{
        text-align: center;
    font-weight: bold;
    padding: 0.5em;
}
.button_back{
    width: 90%;
    margin: auto;
    margin-bottom: 1em;
    font-size: 2em;
    padding: 0.5em;
    text-align: center;
    border-radius: 0.25em;
    border: 1px solid grey;
    background-color: #c9e0f6;
    cursor: pointer;
}
/*modal begin*/
#modal_background{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 4; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
    /*//padding-top: 60px;*/   
}
.modal_close_x {
    transition: all 1s;
    background-color: #ff7575;
    margin: -.56em;
    float: right;
    border-left: 1px solid #888888;
    border-bottom: 1px solid #888888;
    border-top-right-radius: 0.25em;
    border-bottom-left-radius: 0.25em;
    cursor: pointer;
}
.modal_close_x:hover{
    transform: scale(1.1);
}
#modal_page {
    display: none;
    z-index: 1;
    width: 90%;
    background: white;
    padding: 0.5em;
    border-radius: 0.25em;
    border: 1px solid #888888;
    margin: auto;
    margin-top: 3%;
    cursor: default;
}
#modal_content{
    z-index: 5;
    /*width: 80%;*/
    background: white;
    /*padding: 1em;*/
    /*border-radius: 1em;*/
    margin: auto;
    /*margin-top: 1%;*/
    margin-bottom: 1%;
    cursor: default;
    height: auto;
}
#modal_content h1{
    text-align: center;
    margin: 0.25em;
}
/*modal end*/
/*Kirkeblad*/
.mag_nav{
    display: flex;
    justify-content: space-around;
}
.prev,
.next {
    cursor: pointer;
    /*top: 60%;*/
    width: 30%;
    padding: 8px;
    background-color: #18837e;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 6px 6px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 2%;
    border-radius: 0.5em;
}
.prev {
    left: 2%;
    border-radius: 0.5em;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.3);
}
.magazine{
    text-align: center;
    width: 100%;
}
/*kirkeblad*/
.magazine_pages{
    display: none;
    margin-top: 3em;
}
.magazine_pages img{
    width: 80%;
}
.show{
    display: block;
}

.element{
    width: 98%;
    margin-top: 2%;
    margin-bottom: 2%;
    padding: 1%;
    background-color: #e9f4fe;
    text-align: center;
    border-radius: 0.35em;
    box-shadow: 1px 1px 14px 1px rgba(0,0,0,.2);
}
.link_archiv{
    background-color: #97bee3;
    border-radius: 0.25em;
    cursor: pointer;
}

.contact_info{
        display: flex;
    width: 50%;
    margin: auto;
}
.contact_info img{
    width: 2em;
}
/*Menighedsråd*/
.council_agendas{
    padding: 1em;
    overflow: auto;
}
.council_agenda_year{
    border-radius: 0.35em;
    box-shadow: 1px 1px 14px 1px rgba(0,0,0,.2);
    padding-bottom: 1em;
}
.gallery{
    display: block;
    width: 100%;
    margin: auto;        
}
.gallery img{
    width: 100%;
    padding: 0;
}
.gallery #image{
    background-color: #97bee3;
    border-radius: 0.5em;
    margin: auto;
    width: fit-content;
    margin-bottom: 1em; 
}
.gallery #image p{
    color: white;
    font-size: 1.25em;    
    margin: 0;
    padding: 0.5em;
    text-align: center;
}
.search{
    border: 2px solid #c9e0f6;
    border-radius: 0.25em;
    padding-bottom: 1em;
}
.search h1{
    padding: 0;
    font-size: 1em;
}
.search_feedback{
    width: 100%;
    padding: 1em;
}
.search_results{    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    
}
@media (min-width: 48em) {
    .header .logo {
        width: 98%;  
    }

    /*menu*/
    .header ul{
        display: flex;
    }
    .header li{
        width: 100%;
        text-align: center;        
        cursor: pointer;
    }

    .header .menu {
        max-height: none;
    }
    .header .menu-icon {
        display: none;
    }
    .header .logo p{
        padding-top:.2em;
        font-size: 1em;
    }
    /*content*/
    .content{
        width: 100%;
        display: flex;
    }
    /*fp_element*/
    .fp_element{
        width: 32%;
        margin: 1%;
        margin-top: 1%;
        margin-bottom: 5em;
    }
    .featured img{
        width: 50%;
    }
    /*Kirkeblad*/
.prev,
.next {
    position: absolute;
}
    /*Kirkeblad*/
    .magazine_pages img{
    width: 50%;
}
    /*gudstjenester*/
    /*    .gudstjenester{
            width: 33%;
            height: 20em;
            margin-bottom: 5em;
        }*/
    /*facebook*/
    .facebook{
    }
    /*information*/
    .information{
    }
    /*kirkeblad*/
    .magazine-view img{
        width: 50%;
    }
    .next {
        right: 15%;
        border-radius: 0.5em;
    }
    .prev {
        left: 15%;
        border-radius: 0.5em;
    }
    /*meninghedsråd*/
    .page{
        /*display: flex;*/
    }
    .element{
        margin: 1%;
        margin-top: 1%;
        margin-bottom: 5em;
    }
    /*information navgation linje*/
    .nav ul{
        display: flex;
    }
    .nav li{
        width: 100%;
    }
    .qr{
    width: 45%;
}
    .qr_details{
    width: 80%;  
}

}