/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   
p{
	margin: 0px 0px 15px 0px;
	text-align: justify;
}
   
header{
	width: 960px;
	height: 90px;
	background: url(../img/logo.png) no-repeat left;
	padding: 0px 20px;
	margin: 30px auto;
	color: #FFF;
	text-shadow: #000;
	font-family: 'Candal', sans-serif;
	font-size: 1.4em;
	text-align: right;
	padding-top: 50px;
}

footer{
	display: inline-block;
	float: right;
	margin: 10px 15px 15px 0;
	padding: 10px;
	background: #FFF;
	border-radius: 5px;
}

footer p{
	
	text-align: center;
	font-size: 9px;
	margin: 0;
	padding: 0;
	
}

footer p a{
	
	text-align: right;
	color: #222;
	text-decoration: none;
	
}


#hoofding{
	width: 100%;
	background: url(../img/bg/header.png);
	height: 150px;
}


body{
	font-family: 'Josefin Sans', sans-serif;
	font-size: 1.4em;
}

#content_wrapper{
	width: 950px;
	padding: 25px;
	margin: 0 auto;
	overflow: hidden;
	margin-bottom: 25px;
}

nav{
	font-family: 'Candal', sans-serif;
	font-size: 1em;
	width: 237;
	float:left;
	display: inline;
	margin-bottom: 50px;
}

nav ul 
	{ 
	margin: 20px 0px 30px 0px;; 
	width: 100%; 
	list-style:none;
	display:inline;
	float:right; 		
	-webkit-margin-before: 0em;
    -webkit-margin-after: 0em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 0px;
	}	

nav li a 
	{ 
	width:calc(100% - 42px);
	box-shadow: 2px 2px 2px #000;
	border: #FFF solid 1px; 
	text-decoration:none;
	color:#d2ac67;
	padding: 8px 30px 12px 10px; 
	margin: 0px 0px 6px 0px;
	list-style:none; 
	display:inline; 
	float:left; 
	text-decoration:none; 
	text-align:right;
	background: #d2ac67; /* For browsers that do not support gradients */    
    background: -webkit-linear-gradient(left top, rgba(68,68,68,1), rgba(0,0,0,1)); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(bottom right, rgba(68,68,68,1), rgba(0,0,0,1)); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(bottom right, rgba(68,68,68,1), rgba(0,0,0,1)); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to bottom right, rgba(68,68,68,1), rgba(0,0,0,1)); /* Standard syntax (must be last) */
	border-radius: 0px 10px 10px 10px;
	font-weight:bold; 
	text-transform: uppercase;
	}	

nav li a:hover
	{ 
	color: #000; 
	border-radius: 10px 10px 0px 10px;
	box-shadow: 5px 5px 2px #000;
	background: #d2ac67; /* For browsers that do not support gradients */    
    background: -webkit-linear-gradient(left top, rgba(210,172,103,1), rgba(240,218,178,1)); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(bottom right, rgba(210,172,103,1), rgba(240,218,178,1)); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(bottom right, rgba(210,172,103,1), rgba(240,218,178,1)); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to bottom right, rgba(210,172,103,1), rgba(240,218,178,1)); /* Standard syntax (must be last) */
	}	
		
article {
	width: 643px;
	padding: 25px;
	min-height: 500px;
	margin-left: 20px;
	float:left;
	display:inline;
	border-radius: 0px 25px 25px 25px;
	background: #d2ac67; /* For browsers that do not support gradients */    
    background: -webkit-linear-gradient(left top, rgba(210,172,103,1), rgba(240,218,178,1)); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(bottom right, rgba(210,172,103,1), rgba(240,218,178,1)); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(bottom right, rgba(210,172,103,1), rgba(240,218,178,1)); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to bottom right, rgba(210,172,103,1), rgba(240,218,178,1)); /* Standard syntax (must be last) */
}

article img{
	width: 50%;
	border: #FFF solid 1px;
	border-radius: 0px 10px 10px 10px;
	margin: 0px 0px 15px 25px;
	float: right;
}

article h1{
	border-radius: 5px 5px 0px 5px;
	background: #d2ac67; /* For browsers that do not support gradients */    
    background: -webkit-linear-gradient(left top, rgba(68,68,68,1), rgba(0,0,0,1)); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(bottom right, rgba(68,68,68,1), rgba(0,0,0,1)); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(bottom right, rgba(68,68,68,1), rgba(0,0,0,1)); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to bottom right, rgba(68,68,68,1), rgba(0,0,0,1)); /* Standard syntax (must be last) */
	margin: 10px 0px 15px 0px;
	padding: 3px 10px 3px 10px;
	color: #FFF;
	font-size: 1.1em;
	clear: both;
}

article ul{
	text-align:left;
}
		
.foto{
	width: 100%;
	float:left;
	display:inline;
	margin: 0px 0px 20px 0px;
}

.fotodetail{
	width: 154px;
	height: 125px;
	margin: 2px;
	float:left;
	display:inline;
	border-radius: 0px 5px 5px 5px;
	border: #FFF solid 1px;
}














/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   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,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
