/*! 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
   ========================================================================== */

body {
	background-color: #f1f1f1;
}

body * {
	font-family: 'leelawadeeregular';
}

p, li {
	font-size: 13px;
}

ul {
	padding: 0 0 0 20px;
}

strong, b {
	font-family: 'leelawadeebold';
	font-weight: normal;
}

#cookie-notification {
	display: none;
	background-color: #c1c1c1;
	color: #fff;
	padding: 5px 10px;
	position: relative;
	z-index: 10;
}

#cookie-notification p {
	margin: 0 auto;
	font-size: 12px;
	text-align: center;
	max-width: 760px;
}

#cookie-notification a,#cookie-notification a:hover, #cookie-notification a:link {
	color: #fff;
}

.title--home {
	position: absolute;
	left: 273px;
	line-height: 32px;
	top: 100px;
	margin-right: 30px;
}

.page-container {
	width: 760px;
	margin: 0 auto;
	-webkit-box-shadow: 0 0 40px rgba(0,0,0,0.3);
	   -moz-box-shadow: 0 0 40px rgba(0,0,0,0.3);
	        box-shadow: 0 0 40px rgba(0,0,0,0.3);

	background: #dcdcdc; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2RjZGNkYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjQyJSIgc3RvcC1jb2xvcj0iI2YxZjFmMSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkY2RjZGMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #dcdcdc 0%, #f1f1f1 42%, #dcdcdc 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dcdcdc), color-stop(42%,#f1f1f1), color-stop(100%,#dcdcdc)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #dcdcdc 0%,#f1f1f1 42%,#dcdcdc 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #dcdcdc 0%,#f1f1f1 42%,#dcdcdc 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #dcdcdc 0%,#f1f1f1 42%,#dcdcdc 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #dcdcdc 0%,#f1f1f1 42%,#dcdcdc 100%); /* W3C */
}

.lt-ie9 .page-container {

	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dcdcdc', endColorstr='#f1f1f1',GradientType=0 );
}

.lt-ie9 body {
	background-image: url('img/bg-wrapper.png');
	background-position: 50% 0;
	background-repeat: repeat-y;

}


.page-header {
	position: relative;
	padding: 30px;
}

.main-navigation {
	position: absolute;
	bottom: 30px;
	right: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-navigation li {
	display: inline-block;
	margin: 0 0 0 30px;
}

.main-navigation li a {
	text-decoration: none;
	color: #666;
	font-family: 'leelawadeebold';
	font-size: 16px;
}

.main-navigation li a.on {
	color: #000;
}

.language-navigation {
	position: absolute;
	top: 50px;
	right: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.language-navigation li {
	display: inline-block;
	margin-left: 5px;
}

.language-navigation-item {
	text-decoration: none;
	display: block;
	color: #666;
	text-indent: -9999px;
	background-image: url('./img/icon-flag-nl.png');
	background-position: 0 0;
	background-repeat: no-repeat;
	background-size: 30px 20px;
	width: 30px;
	height: 20px;
}

.language-navigation-item.on {
	color: #000;
}

.language-navigation-item--1011 {
	background-image: url('./img/icon-flag-es.png');
}

.language-navigation-item--1012 {
	background-image: url('./img/icon-flag-en.png');
}

.masthead {
	position: relative;
}

.masthead-img {
	width: 100%;
}

.masthead h1 {
	position: absolute;
	bottom: 30px;
	margin: 0;
	padding: 0;
	color: #fff;
	text-shadow: 2px 1px 0 #666;
	text-weight: normal;
	z-index: 100;
}

.highlights {
	margin: 0;
	padding: 30px 0;
}

.highlights-list {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 96.052631578947%;
}

.highlights-list-item {
	margin: 0;
	padding: 0 0 0 4.109589041096%;
	float: left;
	width: 33.33%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.highlights-list-item a {
	display: block;
	width: 100%;
	text-decoration: none;
}

.highlights-list-item img {
	max-width: 100%;
	border: 2px solid #ccc;
}

.highlights-list-item-caption {
	display: block;
	text-align: center;
	font-size: 16px;
	font-family: 'leelawadeebold';
	color: #000;
	padding-top: 10px;
}

.page-footer {
	padding: 30px;
}

.page-footer * {
	color: #909090;
	font-size: 11px;
}

.page-footer a {
	text-decoration: none;
}

.content {
	padding: 15px 0;
}

.pull-left {
	float: left;
}

.pull-right {
	float: right;
}

.section-border {
	border-bottom: 2px solid #fff;
}

.grid {

}

.grid--profile {
	position: absolute;
	bottom: 0;
}

.grid-unit {
	float: left;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.grid-unit--aside {
	width: 210px;
	padding: 0 0 0 30px;
}

.grid-unit--main {
	width: 520px;
	padding: 0 0 0 30px;
}

.grid-unit--half {
	width: 365px;
	padding: 0 0 0 30px;
}

.span--aside {
	margin-left: 210px;
}

.Inputfield {
	margin-bottom: 10px;
}

.Inputfield > label {
	float: left;
	width: 160px;
	font-size: 13px;
}

.InputfieldStateRequired > label:after {
	content: '*';
}

.Inputfield > .ui-widget-content {
	margin-left: 160px;
}

.ui-widget-content input[type="text"],
.ui-widget-content input[type="email"] {
	width: 215px;
}

.ui-widget-content textarea {
	width: 300px;
}

input, textarea, select {
	border: 1px solid #999;
	padding: 5px;
	font-size: 13px;
}

.ui-button {
	background-color: #333;
	color: #fff;
	border: none;
	padding: 5px 15px;
}

.InputfieldHeaderHidden {
	visibility: hidden;
}

.InputfieldStateError .ui-widget-content > p {
	display: none;
}

.InputfieldStateError input, .InputfieldStateError textarea {
	border: 1px solid red;
}

.ui-state-error {
	color: red;
}

.logos {
	background-color: #fff;
	padding: 10px 0 10px 10px;
}

.logos-item {
	float: left;
	margin-bottom: 10px;
}

.logos-item:nth-child(even) {
	margin-left: 10px;
}

/* ==========================================================================
   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;
    }
}
