@charset "utf-8";

/* ----------------------------------------------------
   RESET
---------------------------------------------------- */
html, body {
    margin: 0;
    padding: 0;
    background-color: #DDDDDD;
    font-family: Arial, sans-serif;
}

/* ----------------------------------------------------
   BOVENSTE BALKEN
---------------------------------------------------- */
.container {
    width: 100%;
    height: 85px;
    background-color: #DDDDDD;
}

/* TOPHEADER */
.topheader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 62px;
    background-image: url('../images/luchtfoto02.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    z-index: 1;
}

.topheader h2 {
    margin: 0;
    padding: 10px 0;
}

/* TOP2HEADER */
.top2header {
    position: fixed;
    top: 62px;
    left: 0;
    width: 100%;
    height: 23px;
    line-height: 23px;
    background-color: #DDDDDD;
    z-index: 3000;
    font-weight: bolder;
    box-shadow: 0 0 1px rgba(0,0,0,0.01);
}

.top2header .datum {
    position: absolute;
    left: 10px;
    color: black;
}

.top2header .welkom {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #ff0000;
}

/* Alarmkleuren */
.top2header.yellow { background-color: yellow; }
.top2header.orange { background-color: orange; }
.top2header.red    { background-color: red; }
.top2header.green  { background-color: #4CAF50; }

body.yellow { background-color: yellow; }
body.orange { background-color: orange; }
body.red    { background-color: red; }
body.green  { background-color: #4CAF50; }

/* ----------------------------------------------------
   ZIJBALKEN
---------------------------------------------------- */
.Left {
    z-index: 10;

    position: fixed;
    top: 85px;
    left: 0;
    width: 188px;
    bottom: 0;
    background-color: #DDDDDD;
    padding: 0;
    overflow-y: auto;
}

.lastmsg-title {
    font-size: 11px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 3px;
    color: #333;
}

.lastmsg {
    font-size: 12px;
    line-height: 1.3;
    color: #444;
}

#histatsC,
#histatsC * {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    pointer-events: none !important;
}

.Right {
    position: absolute;
    top: 85px;
    right: 0;
    width: 140px;
    background-color: #DDDDDD;
    padding: 0;
    box-sizing: border-box;
    overflow: visible;
}

/* ----------------------------------------------------
   MIDDEN GEBIED
---------------------------------------------------- */
.Content {
    position: absolute;
    top: 85px;
    left: 188px;
    right: 140px;
    background-color: #DDDDDD;
    min-height: calc(100vh - 85px);
    padding: 0;
    box-sizing: border-box;
}

/* ----------------------------------------------------
   MENU (NIEUW & OPSCHOOND)
---------------------------------------------------- */

/* Klikbare headers */
.submenuheader {
    display: block;
    background: #336699;
    color: white;
    padding: 8px;
    font-weight: bold;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
    position: relative;
    z-index: 10; /* voorkomt blokkeren */
}

/* Plus/min iconen */
.submenuheader::after {
    content: url('/menu/plus.gif');
    position: absolute;
    right: 10px;
}

.submenuheader.open::after {
    content: url('/menu/minus.gif');
}

/* Submenu */
.submenu {
    background: #ffffff;
    padding: 5px 10px;
    display: none; /* standaard dicht */
}

/* Glossy menu container */
.glossymenu {
    margin: 2px 0;
    padding: 2px 0;
    width: 185px;
    border: 1px solid #dddddd;
    border-bottom-width: 0;
}

/* Glossy achtergrond van headers */
.glossymenu a.menuitem {
    background: black url(/menu/glossyback3.gif) repeat-x bottom left;
    font: bold 12px "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, sans-serif;
    color: white;
    display: block;
    position: relative;
    padding: 5px 0 5px 10px;
    text-decoration: none;
    z-index: 1; /* ligt onder submenuheader */
}

.glossymenu a.menuitem:hover {
    background-image: url(/menu/glossyback2.gif);
}

/* Submenu lijsten */
.glossymenu div.submenu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.glossymenu div.submenu ul li {
    border-bottom: 1px solid blue;
}

.glossymenu div.submenu ul li a {
    display: block;
    font: normal 12px "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, sans-serif;
    color: #009999;
    text-decoration: none;
    padding: 5px 0 5px 10px;
}

.glossymenu div.submenu ul li a:hover {
    background: #dddddd;
    color: #000000;
}

/* ----------------------------------------------------
   RESPONSIVE
---------------------------------------------------- */

/* Afbeeldingen */
.Content img,
.center img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Iframes */
.Content iframe {
    max-width: 100%;
}

.Content iframe:not([width]) {
    width: 100% !important;
}

.Content iframe:not([height]) {
    height: 1000px;
}

/* Tekstcontainers */
.center { text-align: center; }

.center p,
.Content p,
.Content div.center {
    max-width: 100%;
    overflow: hidden;
}

/* Tablets */
@media screen and (max-width: 1024px) and (min-width: 601px) {
    .Left { width: 180px; }
    .Right { width: 120px; }
    .Content {
        left: 180px;
        right: 120px;
    }
}

/* iPad portrait */
@media screen and (max-width: 820px) and (min-width: 600px) and (orientation: portrait) {
    .Left { width: 150px; }
    .Right { width: 110px; }
    .Content {
        left: 150px;
        right: 110px;
    }
}

/* Mobiel */
@media screen and (max-width: 500px) {
    .Right {
        position: relative !important;
        width: 100%;
        top: auto;
    }
}