﻿/*  © 2016 by Gilles Bossuyt - www.gillesbossuyt.be */

/* 
        
    Kleuren:

    Bruin: #7E4436;
    Geel: #F3AB3C;

*/

/* Lettertype */

@font-face {
    font-family: 'Damavand';
    src: url('lettertype/Damavand-Regular.woff2') format('woff2'),
        url('lettertype/Damavand-Regular.woff') format('woff'),
        url('lettertype/Damavand-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Algemeen */

html, body {
    margin: 0;
    padding: 0;
    border: 0;
    overflow-x: hidden;
}

body {
    --brown: #7E4436;
    --yellow: #F3AB3C;
    --white: #FFFFFF;
    --title-font: 'Damavand', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    --regular-font: 'Lato', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;

    background-color: var(--brown);
    font-family: var(--regular-font);
    font-weight: 400;
    font-size: 16px;
    color: var(--brown);
}

a {
    text-decoration: none;
    cursor: pointer;
    color: var(--yellow); 
}

p {
    margin: 10px auto;
    text-align: justify;
    font-size: 16px;
    line-height: 30px;
}

h1, h2, h3, h4, h5, h6 {
    margin: 10px auto;
    font-family: var(--title-font);
}

ul {
    margin: 0;
    padding: 0;
}

table {
    margin: 10px 0px; 
}

td {
    padding: 5px;
    margin: 10px 0px;    
}

*::selection,
*::-moz-selection {
    background-color: var(--yellow);
    color: var(--brown);
}

/* Inhoud */

.centraal {
    width: 100%;
    max-width: 1000px;
    margin: 0px auto;
}

.float-fix {
    overflow: hidden;
    clear: both;
}

/* Positie */

.links {
    float: left;
}
.centrum {
    margin: 0px auto;
    display: block !important;
}
.rechts {
    float: right;
}

.links-tekst {
    text-align: left;
}
.centrum-tekst {
    text-align: center;
}
.rechts-tekst {
    text-align: right;
}

/* Kleuren */

.bruin-tekst {
    color: var(--brown);
}
.bruin-ag {
    background-color: var(--brown);
}

.geel-tekst {
    color: var(--yellow);
}
.geel-ag {
    background-color: var(--yellow);
}

.wit-tekst {
    color: var(--white);
}
.wit-ag {
    background-color: var(--white);
}

.geel-onderlijnd {
    border-bottom: 5px var(--yellow) solid;
    padding-bottom: 5px;
    display: inline-block;
    margin-bottom: 10px;
}

/* Menu */

#hoofd {
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.3);
}

#menu ul {
    list-style: none;
}

/* Voet */

#voet {
    background-color: var(--white);
    height: 50px;
    text-align: center;
    box-shadow: 0px -2px 10px 0px rgba(0, 0, 0, 0.3);
}
#voet p {
    line-height: 50px;
    margin: 0px;
}

/* Inhoud */

.slide {
    padding: 20px;
    overflow: hidden;
}
.slide.tekst {
    background-color: var(--white);
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.3), 0px -2px 10px 0px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 100;
}
.slide.afbeelding {
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat;
}

/* Lijst */

ul.lijst li {
    display: inline-block;
    padding: 10px;
    margin: 10px 5px;
    background-color: var(--yellow);
    border-radius: 5px;
    font-size: 16px;
}
ul.lijst li:before {
    font-family: FontAwesome;
    content: "\f058";
    margin-right: 5px;
    font-size: 20px;
}

/* Input */

input, textarea, select {
    resize: none;
    color: var(--brown) !important;
    border: 1px var(--brown) solid;
    background-color: transparent;
    appearance: none;
    -webkit-appearance: none;
    padding: 10px;
    margin: 5px 0px;
    font-family: inherit;
    font-size: 16px;
    border-radius: 5px;
    display: inline-block;
    min-width: 280px;
}
textarea {
    min-height: 200px;
}

input:focus, textarea:focus {
    border-color: var(--yellow);
}

.knop {
    padding: 10px;
    margin: 5px 0px;
    color: var(--brown) !important;
    background-color: var(--yellow);
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
    appearance: none;
    -webkit-appearance: none; 
    border-width: 0px;
    display: inline-block;
    min-width: 280px;
}
.knop:hover, .knop:active, .knop:focus {
    cursor: pointer;
    background-color: rgba(243, 171, 60, 0.80);
}

/* Foto's */

#foto-galerij {
    text-align: center !important;
}

#foto-galerij a {
    display: inline-block;
    margin: 5px;
    border-radius: 5px;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Nieuws */

.nieuws-item {
    padding: 20px;
    border-radius: 5px;
}
.nieuws-item:nth-child(even) {
    background-color: #EEEEEE;
}

.nieuws-item .datum {
    font-size: 12px;
    color: #808080;
}
.nieuws-item .foto {
    height: 300px;
    width: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 5px;
    margin: 10px 0px;
}

/* Prijslijst */

.prijslijst-tabel td {
    white-space: nowrap;
}

/* Contact */

#contact-openingsuren td:first-child {
    font-weight: bold;    
}

#contact-map iframe {
    border:  0px;
    margin: 10px 0px;
}

/* Beheer */

#actie_menu .link {
    display: inline-block;
    width: 200px;
    height: 200px;
    margin: 10px;
    border: 4px var(--yellow) solid;
    border-radius: 4px;
}
#actie_menu .link a {
    font-size: 120px !important;
    line-height: 200px !important;
    height: 100%;
    width: 100%;
    display: block;
}

/* Mobiel */

@media only screen and (max-device-width: 481px) {

    /* Algemeen */

    h1 {
        font-size: 28px;
    }
    h2 {
        font-size: 22px;
        font-weight: 300;
    }

    /* Menu */

    #open-menu {
        background-color: rgba(255, 255, 255, 0.8);
        height: 60px;
        width: 60px;
        border-radius: 50%;
        overflow: hidden;
        position: fixed;
        z-index: 300;
        top: 15px;
        left: 15px;
        text-align: center;
    }
    #open-menu i {
        cursor: pointer;
        font-size: 40px;
        line-height: 60px;
    }

    #hoofd {
        background-color: var(--white);
    }

    #logo {
        text-align: center;
    }
    #logo img {
        height: 80px;
        width: auto;
        margin: 10px 0px;
        display: inline-block;
    }

    #menu {
        position: fixed;
        z-index: 200;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background-color: var(--white);
        display: none;
    }
    #menu li {
        display: block;
        text-align: center;
        font-size: 36px;
        margin: 30px 0px;
    }         
    #menu li.huidig a {
        border-bottom: 5px var(--yellow) solid;
    }
    #menu a {
        line-height: 50px;
        color: var(--brown);
    }

    /* Inhoud */

    .slide {
        min-height: 150px;
    }

    /* Foto's */

    #foto-galerij a {
        height: 250px;
        width:  100%;
    }

    /* Prijslijst */

    .prijslijst-tabel td:first-child {
        width: 200px;
        font-weight: bold;
    }

    /* Contact */

    #contact-map iframe {
        width: 100%;
        height: 300px;
    }

}

/* Tablet */

@media only screen and (min-device-width: 481px) {

    /* Algemeen */

    h1 {
        font-size: 36px;
    }
    h2 {
        font-size: 26px;
        font-weight: 300;
    }
        
    /* Raster */

    * {
        box-sizing: border-box;
    }

    *::before, *::after {
        box-sizing: inherit;
    }

    .raster-1 {width: 8.33%;}
    .raster-2 {width: 16.66%;}
    .raster-3 {width: 25%;}
    .raster-4 {width: 33.33%;}
    .raster-5 {width: 41.66%;}
    .raster-6 {width: 50%;}
    .raster-7 {width: 58.33%;}
    .raster-8 {width: 66.66%;}
    .raster-9 {width: 75%;}
    .raster-10 {width: 83.33%;}
    .raster-11 {width: 91.66%;}
    .raster-12 {width: 100%;}

    [class*="raster-"] {
        display: inline-block;
    }

    /* Hoofd */

    #open-menu {
        display: none;
        visibility: hidden;
    }

    #hoofd {
        background-color: var(--white);
        font-family: var(--title-font);
        height: 70px;
        overflow: hidden;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        position: fixed;
        z-index: 200;
        top: 0;
        left: 0;
        right: 0;
    }

    #logo {
        float: left;
    }
    #logo img {
        height: 60px;
        width: auto;
        margin: 5px 0px;
    }

    #menu {
        text-align: right;
        display: inline-block;
        float: right;
    }
    #menu li {
        display: inline-block;
    }
    #menu li:hover {
        background-color: rgba(0, 0, 0, 0.05);
        transition: background-color 0.2s ease-out;
    }
    #menu li:hover, #menu li.huidig {
        border-bottom: 5px var(--yellow) solid;
    }
    #menu a {
        line-height: 30px;
        padding: 20px 20px 15px 20px;
        color: var(--brown);
        font-size: 26px;
        display: block;
    }

    /* Inhoud */

    #inhoud {
        min-height: 500px;
        margin-top: 70px;
    }

    .slide {
        min-height: 300px;
    }

    /* Foto's */

    #foto-galerij a {
        height: 200px;
        width:  300px;
    }

    /* Prijslijst */

    .prijslijst-tabel td:first-child {
        width: 300px;
        font-weight: bold;
    }

    /* Contact */

    #contact-map iframe {
        width: 400px;
        height: 300px;
    }

}

/* Desktop */

@media only screen and (min-device-width: 1025px) {

    /* CSS HIER */
        
}