/*! HTML5 Boilerplate v5.0.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 {
    color: #000;
    font-size: 1em;
    line-height: 1.4;
	font-family: 'Droid Serif', serif;
	padding: 2% 0 20px 0;
}

/*
 * 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 global styles
   ========================================================================== */

p{
	margin: 5px 0 0 0;
}

a, a:hover, a:focus{
	color: #000;
	cursor: pointer;
}

body{
	color: #000;
}

html.js .hideOnJs, html.no-js .hideOnNoJs{
	display: none;
	visiblity: hidden;
}

ul.inline{
	padding: 0;
	margin: 0;
}

ul.inline li{
	display: inline-block;
	list-style-type: none;
	padding-right: 10px;
}

ul.inline li.active{
    font-weight: bold;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */



h1{
	margin: 0 0 2% 0;
	font-weight: 400;
	font-size: 28px;
	line-height: 1em;
}

h1{
	text-align: left;
}

h1 span{
	position: relative;	
	right: 0;
}

h2{
  	  margin: 0 0 7% 0;
}

body.tpl1 h2{
	display: none;
}

h3{
	margin-top: 0;
}

h1 a:hover, h1 a:focus {
	text-decoration: none;
}

h3 a {
  color: #000;
  text-decoration: none;
  padding-right: 5px;
}

h3.mute{
	margin: 7px 0 20px 0;
	font-size: 16px;
}

#Lang{
	display: none;
	text-align: right;
}

.fix{
	padding-bottom: 10px;
	padding-top: 10px;
	border-bottom: 1px solid #f0f0f0;
}

#Menu{
	cursor: pointer;
	font-weight: 600;
	float: right;
}

#Menu.open{
	color: #ddd;
}

nav{
	margin-top: 15px;
	display: none;
}

nav.show{
	display: block;
}

nav ul{
	list-style-type: none;
	padding: 0;
	margin: 0;
}

nav ul li{
	display: block;
  	zoom: 1;
  	margin-bottom: 5px;
	//padding: 0 15px;
}

nav ul li.active a{
	font-weight: 700;
	text-decoration: none;
}

.row{
	position: relative;
}

.item{
	width: 130px;
	height: 130px;
	margin-bottom: 20px;
	//background-color: #ccc;
}

img.unveil {
  	opacity: 0;
  	transition: opacity .3s ease-in;
} 

#Content{
	margin-top: 20px;
}

#Content ul{
	padding-bottom: 2em;
}

#Lang{
	margin-bottom: 10px;
}

label,input{
	display: block;
}

input,textarea{
	width: 100%;
	margin-bottom: 20px;
	padding: 7px;
	border: 1px solid #ddd;
	-webkit-border-radius: 0;
	border-radius: 0;
	-webkit-appearance: none;
}

input:focus, textarea:focus{
	outline: none;
}

input[type="submit"] {
	background: #fff;
	width: 100px;
}

div.mce_inline_error{
	display: none;
}

p.error{
	border-bottom: 1px solid #f00;
	display: inline;
}

p.success{
	border-bottom: 1px solid #049E23;
	display: inline;
}

a.light, a.light:hover{
	/*color: #DBDBDB;*/
}

.container-fluid{
	overflow: hidden;
}

img.singleImage{
	width: 100%;
	max-width: 100%;
	display: none;
}

.controls{
	margin: 0 10px;
}

.masonry {
  margin: 0 0 40px 0;
}

.blogEntry{
	padding-bottom: 30px;
	margin-bottom: 30px;
	border-bottom: 1px solid #f0f0f0;
}

.blogEntry, .blogText{
	overflow: hidden;
  	zoom: 1;
}

.royalWrapper{
	width: 100%;
	visibility: hidden;
}

.royalWrapper, .blogText{
	vertical-align: top;
}

.thumbSlider {
  display: none;
}

.thumbSlider.rsFullscreen {
  display: block;
}

.thumbs{
	cursor: pointer;
}

.rsDefaultInv .rsGCaption {
	text-align: center;
	width: 100%;
	left: 0;
	font-size: 1em;
}

.royalSliderBlog.rsDefaultInv .rsFullscreenBtn {
	display: none;
}

.blogText h3.mute{
	margin: 20px 0 10px 0;
}

.embed-container { 
	position: relative; 
	padding-bottom: 56.25%; 
	height: 0; 
	overflow: hidden; 
	max-width: 100%; 
} 

.embed-container iframe, .embed-container object, .embed-container embed { 
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
}

#pageNav{
	text-align: left;
	clear: both;
	padding: 30px 0;
}

#pageNav a{
	line-height: 16px;
	text-transform: lowercase;
}

#pageNav img{
	display: none;
}

#pageNav.loading a{
	display: none;
}

#pageNav.loading img{
	display: inline;
}

#pageNav ul>li{
	margin: 0 5px;
}

#pageNav ul>li>a.active{
	font-weight: 600;
}

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

/*
 * Hide visually and from screen readers:
 * http://juicystudio.com/article/screen-readers-display-none.php
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * 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: 481px) {

	.royalSliderBlog.rsDefaultInv .rsFullscreenBtn {
		display: block;
		right: -47px;
		top: -12px;
	}

	.royalSliderBlog.rsDefaultInv.rsFullscreen .rsFullscreenBtn{
		right: 0;
		top: 0;
	}

	.blogText{
		position: relative;
		padding-left: 50px;
	}

	.royalWrapper{
		float: left;
	}
	.royalWrapper{
		width: 50%;
	}
	.blogText h3.mute{
		margin-top: 0;
	}

}

@media only screen and (min-width: 992px) {
	html{
		padding: 2% 5%;
	}
	body{
		text-align: left;
	}
	h1{
		text-align: left;
	}
	#Menu{
		display: none;
	}
	nav{
		margin-top: 20px;
		display: block !important;
	}
	nav ul li{
		text-align: left;
	}
	h2{
		display: none;
	}
    .fix{
		position: fixed;
		left: 5%;
		width: 23%;
		padding: 0;
		border-bottom: none;
	}
	#Content{
		margin-top: 0;
	}
	#Lang{
		display: block;
		margin-bottom: 0;
	}
	img.singleImage{
		width: auto;
	}
	label,input{
		max-width: 400px;
	}
}


@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 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;
    }
}
