@font-face {
    font-family: 'Josefin Sans';
    src: url('../fonts/JosefinSans-Bold.eot');
    src: local('../fonts/Josefin Sans Bold'), local('../fonts/JosefinSans-Bold'), url('../fonts/JosefinSans-Bold.eot?#iefix') format('embedded-opentype'), url('../fonts/JosefinSans-Bold.woff2') format('woff2'), url('../fonts/JosefinSans-Bold.woff') format('woff'), url('../fonts/JosefinSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body, html {
    font-family: 'Helvetica Neue', Verdana, sans-serif;
}

iframe {
    width: 96%;
    height: 96%;
}

@media screen and (min-width: 1200px) {
    body {
        margin: auto;
        max-width: 1280px;
        border-left: 1px double silver;
    }
}

@media screen and (max-width: 1200px) {
    body {
        margin: 0;
        padding: 0;
    }
}

h1, h2, h3, button, input, select, textarea, li {
    font-family: 'Josefin Sans', sans-serif;
}

button {
    -webkit-appearance: none;
    margin: 5px 0;
    padding: 10px;
    border: 1px solid silver;
}

h1 {
    font-size: 1.8em;
}

h4 {
    text-align: center;
    margin: 5px 0;
}

p {
    hyphens: auto;
}

label, figcaption {
    font-size: 0.9em;
}

input[type="text"], input[type="email"] {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
}

a:link {
    color: blue;
    text-decoration: none;
}

a:visited {
    color: blue;
}

a:hover {
    text-decoration: none;
    color: lightcoral;
}

.border {
    border: 1px solid silver;
    padding: 5px;
    border-radius: 5px;
}

.bg-light {
    background-color: #f8f8f8;
}

video {
    object-fit: cover;
    width: 100% !important;
    height: auto !important;
}

    video[poster] {
        object-fit: cover;
    }

.nowrap {
    white-space: nowrap;
}

.text-danger {
    color: red;
}

.text-muted {
    color: dimgrey;
}

.float-start {
    float: left !important;
    margin: 0 5px 5px 0 !important;
}

.float-end {
    float: right !important;
    margin: 0 0 5px 5px !important;
}

.main-head {
    grid-area: header;
    text-align: center;
}

    .main-head img {
        object-fit: cover;
        width: 100%;
        max-width: 960px;
    }

.content {
    grid-area: content;
    margin: 0 5px;
}

    .content h1 {
        text-align: center;
    }

    .content p {
        line-height: 1.5;
    }

.contenttext {
    margin: 0 5px;
}

.contentextra {
    margin: 0 5px 5px 15px;
}

.contentlist {
    display: grid;
    gap: 10px;
    grid-template-columns: auto;
    margin-bottom: 5px;
    font-size: 0.9em;
}

.datesgrid {
    display: grid;
    grid-template-columns: 100px auto;
    border-top: 1px dashed silver;
    margin-bottom: 10px;
}

    .datesgrid p {
        font-size: 0.9em;
        font-style: italic;
        margin: 5px;
    }

.main-nav {
    grid-area: nav;
}

    .main-nav ul {
        display: flex;
        justify-content: space-between;
        margin: 0 5px 0 0;
        padding: 0;
        background-color: #feed01;
        border-top: 1px dashed silver;
        border-right: 1px dashed silver;
        border-bottom: 1px dashed silver;
        border-radius: 0 5px 5px 0;
    }

    .main-nav li {
        padding: 10px 5px;
        list-style: none;
        font-size: 1.1em;
    }

.footer {
    grid-area: footer;
    text-align: center;
    margin-top: 15px;
    padding: 5px 0;
}

.wrapper {
    display: grid;
    grid-template-areas:
        "nav"
        "header"
        "content"
        "footer";
}

.webalbum img {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 2px;
    object-fit: cover;
    width: 100px;
    height: 100px;
}

.webvideo {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(250px, 1fr) );
    gap: 5px;
    text-align: center;
}

    .webvideo img {
        object-fit: cover;
        height: 126px;
        width: 224px;
    }

#nav-toggle, .burger-menu, .hiderow {
    display: none;
}

@supports (display: grid) {
    @media only screen and (max-width: 1024px) {
        .burger-menu {
            display: inline-block;
            margin-left: 5px;
        }

        .main-nav {
            border-bottom: 1px solid silver;
            padding-bottom: 5px;
        }

            .main-nav ul {
                flex-direction: column;
            }

        .contenttext img {
            margin: 0 5px 5px 0;
            max-width: 100%;
        }

        .left-menu {
            display: none;
        }

        #nav-toggle:checked ~ .left-menu {
            display: grid;
        }
    }
}

@media (min-width: 1024px) {
    .wrapper {
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "header header"
            "nav content"
            "nav content"
            "footer footer";
    }

    .side {
        border-right: 1px solid #dcdcdc;
    }

    .contenttext img {
        margin: 0 5px 5px 0;
        max-width: 300px;
        float: left;
    }

    @supports (display: grid) {
        .main-nav ul {
            flex-direction: column;
        }
    }
}

.clearfix {
    overflow: auto;
}

h3::before {
    content: url(images/logosmall.png);
    padding-right: 10px;
}

.fullimg {
    margin: 5px;
    width: 100%;
}

.dropdown {
    color: dodgerblue;
    margin: 15px 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    font-size: 0.8em;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 5px;
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-item {
    margin: 5px;
    padding: 5px;
}

@media (max-width: 768px) {
    form {
        padding: 10px;
        border: 1px solid #eee;
        background-color: ghostwhite;
    }

    textarea {
        width: 100%;
    }

    .contentinfo {
        padding: 5px;
        font-size: 0.9em;
    }

        .contentinfo p {
            margin: 5px;
        }

    .contentinfotext img {
        display: block;
        margin: 0 auto;
        width: 90%;
    }

    .contentextra img {
        margin: 0 5px 5px 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .datesimage {
        margin-bottom: 30px;
        padding-bottom: 10px;
        border-bottom: 1px dashed silver;
    }

        .datesimage img {
            display: block;
            margin: 0 auto;
            width: 90%;
        }

    .kop {
        font-family: 'Josefin Sans', sans-serif;
        margin: 20px 0 0 0;
    }

    .koplinks {
        padding: 5px;
        background-color: black;
        font-weight: bold;
        color: white;
        border: solid 1px #333333;
    }

    .koprechts {
        margin-bottom: 5px;
        padding: 5px;
        background-color: #feed01;
        font-weight: bold;
        border: solid 1px #333333;
    }

    .seperator {
        padding-bottom: 5px;
        border-bottom: dashed 1px #333333;
    }
}

@media (min-width: 768px) {
    form {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 15px;
        margin-right: 10px;
        margin-bottom: 5px;
        padding: 5px;
        border: 1px solid #eee;
        background-color: ghostwhite;
    }

    .span2 {
        grid-column: 1 / span 2;
    }

    .span3 {
        grid-column: 1 / span 3;
    }

    .contentall {
        display: grid;
        grid-template-columns: 1fr 400px;
    }

    .contentinfo {
        display: grid;
        grid-template-columns: 70px 1fr;
        align-self: start;
        margin: 5px;
        font-size: 0.9em;
    }

        .contentinfo p {
            margin: 5px;
        }

    .contentlist {
        grid-template-columns: auto auto auto;
    }

    .contentinfotext img {
        margin: 0 5px 5px 0;
        width: 320px;
        height: auto;
        object-fit: cover;
        float: left;
    }

    .contentextra img {
        margin: 0 5px 5px 0;
        width: 240px;
        float: right;
    }

    .datesimage {
        border-top: 1px dashed silver;
    }

        .datesimage img {
            display: block;
            margin-left: auto;
            margin-right: 10px;
            width: 200px;
        }

    .dropdown {
        display: inline-block;
    }

    .kop {
        font-family: 'Josefin Sans', sans-serif;
        margin: 35px 0 15px 0;
    }

    .kopclear {
        clear: both;
    }

    .koplinks {
        position: relative;
        background-color: black;
        width: 70%;
        font-size: 1.1em;
        font-weight: bold;
        border: 1px solid #eee;
        padding: 10px;
        color: white;
        margin: 25px 0 0 0;
        z-index: 1;
    }

    .koprechts {
        position: relative;
        color: black;
        background-color: #feed01;
        top: -18px;
        width: 40%;
        font-size: 1.1em;
        font-weight: bold;
        text-align: right;
        float: right;
        border: 1px solid #333;
        padding: 8px;
        z-index: 2;
    }
}
