/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
	height: 100%;
}

body {
	height: 100%;
	font-size: 100%;
	font-family: Verdana, Geneva, sans-serif;
	color: #666666;
	background-color: #FFFFFF;
}

img {
	width: 100%;
}

a {
	text-decoration: none;
}

td {
	padding-right: 10px;
}

p,li, td {
	font-size: 0.875em; /* 14px / 16px */
}

h1 {
	font-size: 1.1875em; /* 19px / 16px */
}

h2 {
	font-size: 1.125em; /* 18px / 16px */
}

a:link, a:visited, a:active {
	color: #666666;
}

a:hover {
	color: #FFFFFF;
}

#page {
	margin: 35px auto;
	width: 90%;
	max-width: 1280px;
}

/* header */

#header {
	position: relative;
	width: 100%;
	height: 100px;
	background-color: #FFFFFF;
	margin: 0 0 0 0;
	border-style: solid;
	border-width: 1px 1px 0px 1px;
}

#header-text {
	position: relative;
	padding: 20px 0 0 30px;
	font-size: 3.125em; /* 50px / 16px */
}

#header a {
	color: #666666;
}

/* end header */

/* topmenu */
#topmenu {
	position: relative;
	float: left;
	width: 100%;
	list-style: none;
	padding: 0;
	margin: 0;
	background-color: #ffffff;
	border: 1px solid black;
	z-index: 2;
	opacity: .7;
	filter: alpha(opacity = 70);
}

#topmenu ul {
	list-style: none;
	padding: 0 0 0 10px;
}

#topmenu li {
	float: left;
	padding: 0 5px 0 0;
	margin: 0 0 20px 0;
	font-size: 1.375em; /* 22px / 16px */
	text-align: center;
}

#topmenu a {
	color: #333333;
	margin: 0 10px 0 10px;
}

#topmenu a.active {
	color: #CECD01;
}

/* end topmenu */

/* content */

#left-content {
	float: left;
	width: 66%;
	padding: 0 10px 0 10px;
	height: 100%;
	background-color: #CECD01;
}

#spreuk {
	position: relative;
	top: 40%;
	text-align: center;
	line-height: 200%;
	font-size: 1.375em; /* 22px / 16px */
}

#middle-content {
	position: relative;
	float: left;
	width: 20%;
	height: 100%;
	background-color: #FFFFFF;
}

#middle-content img {
	position: relative;
	top: -80px;
}

#right-content {
	float: right;
	width: 11%;
	background-color: #CECD01;
}

#home, #behandelaars, #jeugdzorg {
	height: 680px;
}

#verzekeraars td, th {
    padding: 5px;
    text-align: center;
}

/* end content */

/* behandelaars */
#behandelaars {
	position: relative;
	width: 500px;
	margin: auto;
}

.behandelaar {
	position: relative;
	width: 180px;
	height: 270px;
	float: left;
	font-size: 1em; /* 16px / 16px */
	margin: 30px 20px 20px 10px;
}

.behandelaar img {
	width: 100%;
	height: 100%;
}

.behandelaar p {
	text-align: center;
}

/* end behandelaars */

/* contact */

#contact td {
	padding: 5px 10px 5px 0
}

/* end contact */

/* footer */

#footer {
	width: 100%;
	clear: both;
	float: left;
	padding: 5px 0 10px 0;
	text-align: center;
	font-size: .75em; /* 12px / 16px */
}

#footer a:hover {
	color: #000000;
}

/* end footer */

/* adaptions for different screen sizes
	320px mobile portrait
	480px mobile landscape
	600px small tablet
	768px tablet portrait
	1024px tablet landscape/netbook/desktop
	1280px desktop large
 */
@media screen and (max-width: 479px) {
	#page {
		width: 100%;
		font-size: 50%;
		margin: 0px auto;
	}
	#home, #behandelaars {
		height: 320px;
	}
	#topmenu li {
		font-size: 1em; /* 16px / 16px */
		padding: 0;
		margin: 0px 0px 10px 0px;
	}
	#behandelaars {
		width: 222px;
	}
	.behandelaar {
		width: 53.3333px;
		height: 80px;
	}
	#header {
		height: 50px;
	}
	#header-text {
		padding: 10px 0 0 30px;
		font-size: 2em; /* 50px / 16px */
	}
	#middle-content {
		width: 15%;
	}
	#middle-content img {
		top: -60px;
	}
	#right-content {
		width: 10%;
	}
}

@media screen and (min-width: 480px) and (max-width: 767px) {
	/* 	480px mobile landscape
		600px small tablet
	 */
	#page {
		width: 100%;
		font-size: 60%;
		margin: 0px auto;
	}
	#home, #behandelaars {
		height: 250px;
	}
	#header {
		height: 60px;
	}
	#header-text {
		padding: 10px 0 0 30px;
		font-size: 3em; /* 50px / 16px */
	}
	#topmenu li {
		font-size: 1em; /* 16px / 16px */
		padding: 0;
		margin: 0px 0px 10px 0px;
	}
	#behandelaars {
		width: 350px;
	}
	.behandelaar {
		width: 64px;
		height: 96px;
	}
	#middle-content {
		width: 15%;
	}
	#middle-content img {
		top: -70px;
	}
	#right-content {
		width: 10%;
	}
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
	/* 	768px tablet portrait */
	#page {
		font-size: 75%;
	}
	#topmenu li {
		font-size: 1em; /* 16px / 16px */
		padding: 0;
	}
	#behandelaars {
		width: 470px;
	}
	.behandelaar {
		width: 96px;
		height: 144px;
	}
}

@media screen and (min-width: 1024px) and (max-width: 1279px) {
	/* 1024px tablet landscape/netbook/desktop */
	#topmenu li {
		font-size: 1.125em; /* 18px / 16px */
		padding: 0;
	}
}

@media screen and (min-width: 1280px) { /* 1280px desktop large */
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
