/* Aanvullingen op de originele stijl (style.css) voor de nieuwe site */

/* Hoofdmenu dat blijft staan bij scrollen (voorheen met jQuery UI animatie) */
header #mainmenu-container {
    background: #fff;
    transition: background-color .3s;
}
header #mainmenu-container.scrolled {
    width: 100%;
    background: rgba(0, 0, 0, .5);
}

/* Meldingen zonder losse icoon-bestanden */
.message-container.success { background: #e6f9e3; border-color: #62ff5b; padding-left: 24px; }
.message-container.warning { background: #fff8d6; border-color: #ffc857; padding-left: 24px; }
.message-container.error   { background: #ffe9db; border-color: #f99082; padding-left: 24px; }
.message-container ul { margin: 0; padding: 0; }
.message-container { font-size: 12px; }
#contents .message-container { width: auto; max-width: none; margin: 0 0 20px; }

/* Startpagina: tegels */
.tiles { margin: 25px 0 35px; }
.tiles .tile {
    display: block;
    height: 100%;
    padding: 18px 20px;
    min-height: 120px;
    border: 1px solid #a2a2a2;
    text-decoration: none;
    margin-bottom: 15px;
}
.tiles .tile:hover { background: #efefef; color: #1a1a1a; }
.tiles .tile h3 { margin-top: 0; }
.tiles .tile p { margin: 0; }

/* Nieuws op startpagina / lijst zonder afbeelding */
ul#nieuws li { margin-bottom: 20px; }
ul#nieuws div.content h2 a { text-decoration: none; }
ul#nieuws div.content h2 a:hover { color: #ff731c; }
.news-image { max-width: 100%; height: auto; }

/* Downloads */
div#content section#contents ul#attachments li.line .title small { margin-left: 8px; }
div#content section#contents ul#attachments li.line span.title { display: block; padding-left: 60px; padding-top: 4px; }

/* Contactformulier */
form.form .field-error {
    display: block;
    clear: both;
    margin: -5px 0 10px 200px;
    color: #c00;
    font-size: 10pt;
}
form.form .field-validation-valid { display: none; }
form.form .hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}
form.form .privacy-row { margin: 5px 0 15px; }
form.form .privacy-row input[type="checkbox"] { float: left; margin: 7px 10px 0 0; }
form.form .privacy-row label.inline { float: none; clear: none; width: auto; padding-top: 0; }
form.form .privacy-row .field-error { margin-left: 0; }

@media (max-width: 767px) {
    form.form label { float: none; clear: both; width: auto; }
    form.form input:not([type=checkbox]), form.form textarea, form.form select { float: none; width: 100%; }
    form.form input[type=submit] { margin-left: 0; width: auto; }
    form.form .field-error { margin-left: 0; }
}

/* Taalkeuze (vlaggen) in de balk bovenaan */
#topmenu li.lang { margin-right: 8px; }
#topmenu li.lang a { display: inline-block; padding: 0 4px; opacity: .55; line-height: 1; }
#topmenu li.lang a.cur, #topmenu li.lang a:hover { opacity: 1; }
#topmenu li.lang img { height: 16px; width: auto; vertical-align: middle; border: 1px solid rgba(255,255,255,.35); }

/* Franse menu-items zijn langer: iets compacter zodat het menu op een regel past (breed scherm) */
@media (min-width: 1041px) {
  body.lang-fr-BE header nav#mainmenu ul li a { padding: 5px 4px; font-size: 9pt; }
}
