@charset "UTF-8";
/* CSS Document */
body {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
}

.wrap {
    width: 100%;
}

.header {
    background: #0A6AD0;
    height: 4em;
}

.wrap1200 {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    position: relative;
    padding-left: 1em;
    padding-right: 1em;
}

.logo {
    background: url('i/logo.svg');
    width: 3em;
    height: 3em;
    top: 0.5em;
    background-size: cover;
    position: relative;
    float: left;
}

.clear {
    clear: both;
}

.title {
    display: block;
    position: relative;
    float: left;
    color: #FFF;
    font-weight: 600;
    font-size: 2em;
    line-height: 2em;
    padding-left: 1em;
}

.menu {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-top: 1em;
    margin-bottom: 1em;
}

.menu a {
    font-size: 1em;
    text-transform: uppercase;
    line-height: 2em;
    color: #444;
    text-decoration: none;
    display: inline-block;
    padding-right: 1em;
}

.menu a:hover {
    color: #c17325;
}

.content h1 {
    font-size: 3em;
    font-weight: 300;
}

.content h2 {
    color: #0A6AD0;
    font-size: 2em;
    font-weight: 600;
    display: block;
    margin-top: 1em;
    padding-top: 1em;
    border-top: 1px solid #0A6AD0;
}

.footer {
    padding-top: 24px;
    text-align: center;
}

.textfield {
    display: block;
    width: 29%;
    font-size: 1.5em;
    line-height: 2em;
    margin: 0;
    margin-right: 1%;
    outline-width: 0;
    font-weight: 300;
    text-transform: uppercase;
    color: #444;
    font-family: 'Open Sans', sans-serif;
    border: 1px solid #eee;
    padding: 0;
    float: left;
    padding-left: 0.5%;
    padding-right: 0.5%;
}

.submitbutton {
    display: block;
    width: 3em;
    height: 3em;
    float: left;
    font-size: 1em;
    line-height: 3em;
    border: 1px solid #eee;
    padding: 0;
    margin: 0;
    outline-width: 0;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
    border-radius: 1.5em;
    font-weight: 600;
    color: white;
    background: #ff9900;
    cursor: pointer;
}

.submitbutton:hover {
    background: #0A6AD0;
}

.date {
    font-size: 1.5em;
    color: #0A6AD0;
    font-weight: 300;
}

.names {
    font-size: 2.2em;
    color: #444;
    font-weight: 600;
}

.kirke {
    font-size: 1.5em;
    color: #666;
    font-weight: 400;
    float: right;
    top: -1.5em;
    position: relative;
}

.tableblock {
    border-bottom: 1px solid #efefef;
    padding-bottom: 1em;
    margin-bottom: 1em;
}

.tableblock.tablehead {
    padding-bottom: 0;
    font-size: 1.4em;
    background: #ccc;
}

.tablehead .dead:before, .tablehead .born:before, .tablehead .kirkegard:before, .tablehead .gravnr:before {
    content: '';
    height: 100%;
    width: 1px;
    position: absolute;
    background: #eee;
    left: -2%;
    top: 0;
}

.navn {
    width: 30%;
    float: left;
    padding: 1%;
    position: relative;
}

.born, .dead {
    width: 8%;
    float: left;
    margin-left: 2%;
    margin-right: 2%;
    padding: 1%;
    position: relative;
}

.dead:before, .born:before, .kirkegard:before, .gravnr:before {
    content: '';
    height: 100%;
    width: 1px;
    position: absolute;
    background: #eee;
    left: -2%;
    top: 0;
}

.kirkegard {
    width: 18%;
    float: left;
    margin-left: 2%;
    margin-right: 2%;
    padding: 1%;
    position: relative;
}

.gravnr {
    padding: 1%;
    width: 14%;
    float: left;
    position: relative;
}

.nameholder {
    width: 70%;
    float: left;
    font-size: 1.3em;
    line-height: 1em;
}

.maplink {
    font-size: 1em;
    line-height: 1.3em;
    color: #C3C3C3;
    text-decoration: none;
}

.mediaholder {
    float: right;
    font-size: 1em;
    line-height: 1.3em;
    color: #C3C3C3;
    text-decoration: none;
}

.maplink:hover {
    color: #0A6AD0;
}

.map:before {
    font-family: ecclesia;
    content: '\e800';
    padding-right: 0.5em;
    color: rgba(10, 106, 208, 0.5);
}

.map:hover:before {
    font-family: ecclesia;
    content: '\e800';
    padding-right: 0.5em;
    color: rgba(10, 106, 208, 1);
}

.popup-link:before {
    font-family: ecclesia;
    content: '\e801';
    padding-left: 1em;
    color: rgba(10, 106, 208, 0.5);
}

.popup-link:hover:before {
    font-family: ecclesia;
    content: '\e801';
    padding-left: 1em;
    color: rgba(10, 106, 208, 1);
}

@media (max-width: 800px) {
    body {
        font-size: 12px;
    }
}

@media (max-width: 700px) {
    .nameholder, .mediaholder {
        width: 100%;
        float: none;
    }

    .mediaholder {
        padding-top: 0.5em;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 11px;
    }

    .kirke {
        float: none;
        top: 0;
    }
}

@media (max-width: 800px) {
    .textfield {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1em;
    }

    .submitbutton {
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 500px) {
    body {
        font-size: 10px;
    }

    .header {
        font-size: 1.8em;
    }

    .title {
        font-size: 1.2em;
        line-height: 3.4em;
    }

    .tableblock.tablehead {
        display: none;
    }

    .navn, .gravnr, .kirkegard {
        width: 100%;
        float: none;
        margin: 0;
    }

    .kirkegard:before, .gravnr:before {
        display: none;
    }

    .born, .dead {
        width: 45%;
        margin: 0;
    }

    .born:before {
        content: "F: ";
        color: #CCC;
        display: inline;
        font-family: 'Open Sans', sans-serif;
        width: auto;
        background: none;
        position: relative;
        left: auto;
        top: auto;
        font-size: 0.8em;
    }

    .dead:before {
        content: "D: ";
        color: #CCC;
        display: inline;
        font-family: 'Open Sans', sans-serif;
        font-size: 0.8em;
        width: auto;
        background: none;
        position: relative;
        left: auto;
        top: auto;
    }

    .gravnr:before {
        content: "#: ";
        color: #CCC;
        display: inline;
        font-family: 'Open Sans', sans-serif;
        font-size: 0.8em;
        width: auto;
        background: none;
        position: relative;
        left: auto;
        top: auto;
    }

    .kirkegard {
        padding-top: 1.6em;
        color: #666;
        font-size: 1.1em;
    }
}