﻿/* Algemeen stylesheet voor Breed Welzijn Delft en Vrijwilligerswerk Delft */

/**
 * HTML elementen
 */
html {
    overflow-y: scroll; /* Scrollbar ruimte altijd aanwezig */
    font-family: Arial, sans-serif;
    font-size: 0.75em; /* 12px (standaard: 16px = 1em) */
}
html, body, form {
    height: 100%; /* Maakt verticaal uitvullen van de viewport mogelijk */
}
table {
    table-layout: fixed;
    border-collapse: collapse;
    width: 100%;
}
table.valign-hack td {
    vertical-align: middle;
}
table.valign-hack p {
    margin: 0;
}
hr {
    height: 1px;
    border: none;
    background-color: #7c7c7c;
    margin: 1em 0;
}
p {
    line-height: 1.5em;
    margin-bottom: 1em;
}
ul {
    margin-bottom: 1em;
}
li {
    line-height: 1.5em;
    margin-left: 15px;
}
h2 {
    margin-bottom: 1em;
    font-size: 1.7em; 
    font-weight: normal;
}
h3 {
    margin-bottom: 1em;
    font-size: 1.4em;
    font-weight: normal;
}


/**
 * Layout van de site
 * 960 Grid System container met 16 kolommen (16 * 60px)
 */
#site { 
    /* container_16 */
    min-height: 100%; /* Verticaal uitvullen */

    /* Achtergrondafbeelding gaat over in de achtergrondkleur */
    background: #35629b url(../images/Delft-40.jpg) no-repeat bottom; 
}

#overlay { 
    /* Color overlay effect: 60% #ffffff */
    background-image: url(../images/overlay.png);
    padding-bottom: 50px;
}

#tools {
    /* Link naar homepage en tekstgrootte selectie*/
    padding: 10px 0;
    zoom: 1;
}
#tools a {
    text-decoration: none;
    color: #ffffff;
}

#payoff {
    /* Op de homepage, boven het logo en de mission statement */
    padding: 10px 0;
    background-color: #87a6c2;
}
#payoff * {
    text-align: right;
    font-style: italic;
    font-weight: bold;
}
#payoff h2 {
    margin: 0;
    color: #ffffff;
    font-size: 1.5em; 
}

#nav {
    /* Navigatie */
    margin: 20px 0;
}
#nav table.valign-hack {
    height: 97px;
}

#content {
    /* Pagina inhoud */
    margin: 20px 0;
}

#peek {
    /* Toont een deel van de achtergrond onderaan de pagina */
    height: 100px;
}

#footer {
    display: none;
}

.row {
    /* Een rij binnen het gridsysteem */
    margin: 20px 0;
}


/**
 * Diverse unieke elementen
 */
#homelink {
    /* Link naar de homepage (staat niet op de homepage zelf) */
    display: inline-block;
    padding-left: 30px;
    line-height: 20px;
    font-size: 14px;
}

#fontsize {
    /* Drie keuzes voor lettergrootte */
    text-align: right;
}
#fontsize a {
    /* Selectie lettergrootte */
    display: inline-block;
    padding: 0 5px;
    cursor: pointer;
    font-size: 14px;
    line-height: 18px;
}
#fontsize a.large {
    font-size: 17px;
}
#fontsize a.larger {
    font-size: 20px;
}
body.large {
    font-size: 1.15em;
}
body.larger {
    /* Derde optie geselecteerd */
    font-size: 1.3em;
}

h1#logo {
    /* Komt voor in #nav en in #bwd (op de homepage) */
    text-indent: -10000px;
}
h1#logo a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Opsommingen die niet de standaard stijlen overnemen */
ul.reset, ul.reset li, 
#menu ul, #menu li,
#submenu ul, #submenu li {
    margin: 0;
    padding: 0;
    list-style-type: none;
    line-height: normal;
}

/* Hoofdmenu bovenaan */
#menu li {
    float: left;
}
#menu a {
    display: inline-block;
    padding: 2px 10px;
    color: #7c7c7c;
    font-weight: bold;
    font-size: 1.15em;
    text-decoration: none;
}


#menu li.first {
    margin-left: -10px; /* Schuif het eerste item naar links */
}

/* Submenu links */
#submenu a {
    display: block;
    padding: 5px 0 5px 15px;
    color: #7c7c7c;
    text-decoration: none;
}

input.watermark {
    /* Tekst in een textbox als er nog geen tekst is ingevuld */
    font-style: italic;
    color: #7c7c7c;
}

/* Blokken met schaduw */
.box .top {
    height: 11px; /* 1px border, 1px 'padding' */
    background-repeat: no-repeat;
}
.box .middle {
    zoom: 1;
    overflow: hidden; /* Voorkomt scrollbars en uitstekende marges */
    background-repeat: repeat-y;
    padding-left: 11px; /* 1px border, 10px padding */
    padding-right: 16px /* 10px padding, 1px border, 5px schaduw */
}
.box .bottom {
    height: 16px; /* 10px 'padding', 1px border, 5px schaduw */
    background-repeat: no-repeat;
    background-position: bottom;
}
.grid_16 .box .top {
    background-image: url(../images/grid_16-box-top.png);
}
.grid_16 .box .middle {
    background-image: url(../images/grid_16-box-middle.png);
}
.grid_16 .box .bottom {
    background-image: url(../images/grid_16-box-bottom.png);
}
.grid_12 .box .top {
    background-image: url(../images/grid_12-box-top.png);
}
.grid_12 .box .middle {
    background-image: url(../images/grid_12-box-middle.png);
}
.grid_12 .box .bottom {
    background-image: url(../images/grid_12-box-bottom.png);
}
.grid_8 .box .top {
    background-image: url(../images/grid_8-box-top.png);
}
.grid_8 .box .middle {
    background-image: url(../images/grid_8-box-middle.png);
}
.grid_8 .box .bottom {
    background-image: url(../images/grid_8-box-bottom.png);
}
.grid_4 .box .top {
    background-image: url(../images/grid_4-box-top.png);
}
.grid_4 .box .middle {
    background-image: url(../images/grid_4-box-middle.png);
}
.grid_4 .box .bottom {
    background-image: url(../images/grid_4-box-bottom.png);
}

/* Blokken met schaduw op de homepage */
.homebox .top {
    background-repeat: no-repeat;
    padding-top: 3px; /* 1px border, 2px padding */
    padding-right: 8px; /* 2px padding, 1px border, 5px schaduw */
    padding-bottom: 2px; /* 2px padding */
    padding-left: 3px; /* 1px border, 2px padding */
}
.homebox .bottom {
    height: 6px; /* 10px 'padding', 1px border, 5px schaduw */
    background-repeat: no-repeat;
    background-position: bottom;
}
.grid_12 .homebox .top {
    background-image: url(../images/grid_12-homebox-top.png);
}
.grid_12 .homebox .bottom {
    background-image: url(../images/grid_12-homebox-bottom.png);
}
.grid_8 .homebox .top {
    background-image: url(../images/grid_8-homebox-top.png);
}
.grid_8 .homebox .bottom {
    background-image: url(../images/grid_8-homebox-bottom.png);
}
.grid_4 .homebox .top {
    background-image: url(../images/grid_4-homebox-top.png);
}
.grid_4 .homebox .bottom {
    background-image: url(../images/grid_4-homebox-bottom.png);
}

/* Box verdeling in kolommen */
.col_1, 
.col_2 {
    display: inline;
    float: left;
    position: relative;
    margin: 0 10px;
    overflow: hidden;
}
.cols .first {
    margin-left: 0;
}
.cols .last {
    margin-right: 0;
}
/* Definities voor .box in .grid_16 en .grid_12 */
.grid_16 .box .col_1 {
    width: 209px;
}
.grid_16 .box .col_2 { 
    width: 684px;
}
.grid_12 .box .col_1 {
    width: 209px;
}
.grid_12 .box .col_2 { 
    width: 444px;
}

/* Homepage */
#home a {
    /* Links in de verschillende blokken */
    display: block;
    color: #7c7c7c;
    text-decoration: none;
}
#home .grid_4 .homebox .top a.image {
    /* Kader voor afbeeldingen op de eerste en laatste rij */
    width: 209px;
    height: 128px;
    overflow: hidden;
    background-color: #efefef;

    background-image: none;
    padding: 0;
    position: relative;
}
#home .grid_4 .homebox .top a.image img  {
    /* Afbeeldingen minimaal zo breed als het kader*/
    min-width: 100%;
}
/* CMSDesk stijl voor de afbeelding selectie control */
#home .grid_4 .homebox .top div.image a div.EditableImageEdit {
    position: absolute; /* Links bovenaan positioneren*/
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#home .grid_4 .homebox .top a {
    /* Links in de blokken op de homepage */
    min-height: 2.6em; 
    padding: 10px 50px 10px 10px;
    font-size: 1.5em;
    line-height: 1.3em;
    white-space: nowrap;
    background: url(../images/arrow-right-red.png) no-repeat 150px center;
}
#home .grid_4 .homebox .top a.text {
    white-space: pre; /* Behouden zoals ingevoerd */
}

/* Zoekoptie op de tweede rij */
#search td#textbox input {
    width: 97%;
    padding: 5px;
    font-size: 1.2em;
}
#search td#button {
    width: 25px;
}

.col_1.last img {
    /* Afbeeldingen in een smalle rechterkolom */
    margin-bottom: 10px;
}
