html, body, div { margin:0; padding:0; border:0; }
html, body { width:100%; height:100%; }

body {
  font:69% FuturaStdMedium,Helvetica,Arial,'Liberation Sans',FreeSans,sans-serif;
  line-height:1.2em;
  color:#444;
  background-color:#fff; 
}

#header { 
	position:fixed; 
	background-color:#fff; 
	top:0; 
	left:0; 
	right:0; 
	height:118px; 
	z-index:1; 
	line-height:1em;
	color:#444;
	font-family: FuturaStdMedium, Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;
	text-decoration:none;
  -webkit-user-select: none;
  -moz-user-select: none;  
  user-select: none;
}

#content { 
	background-color:transparent; 
	overflow:hidden;
  -webkit-user-select: none;
  -moz-user-select: none;  
  user-select: none;
}

body.thumbs { 
	overflow:auto; 
}

body.gallery { 
	overflow:hidden; 
}

body.text { 
	overflow:auto; 
}

body.text #content div { 
	margin-left:25%;
	padding-right:10%;
	margin-top:180px;
}

/*****************************************************************************
                             FONTS         				    
*****************************************************************************/

@font-face {
	font-family: 'FuturaStdMedium';
	/*src: local('FuturaStdMedium'), 
	local('FuturaStdMedium Regular');*/
	src: url('../font/futurastd-medium-webfont.eot'); /* IE9 Compat Modes */
	src: url('../font/futurastd-medium-webfontie.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
	url('../font/futurastd-medium-webfont.svg#FuturaStdMedium') format('svg'), /* Legacy iOS */
	url('../font/futurastd-medium-webfont.woff') format('woff'), /* Modern Browsers */
	url('../font/futurastd-medium-webfont.ttf') format('truetype'); /* Safari, Android, iOS */
	font-weight: normal; 
	font-style: normal;
}

/*****************************************************************************/
/*  other methods for FONT OPTIMIZATION in opera/chrome

@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {
font-family:'FuturaStdMedium';
src: url('futurastd-medium-webfont.svg#FuturaStdMedium') format('svg');
}
}

html {-webkit-text-stroke: 0.25px} //or higher like 0.5 etc
OR
-webkit-text-stroke: 1px rgba(0,0,0,0.1)
OR
html {-webkit-font-smoothing: antialiased}
*/
/*****************************************************************************/
	
a { color:#444; text-decoration: none; }
a:hover { color: #999; }
a:focus { outline: none; }

h1, h2, h3, h4, h5, h6 {
	color:#444;
	font-weight:normal;
	margin:0 0 1em 0;
	text-transform:none;
}

h1 { font-size:1.1em; letter-spacing:1px; }
h2 { font-size:1.1em; }
h3 { font-size:1.1em; }
h4 { font-size:1em; }
h5 { font-size:1em; }
h6 { font-size:1.2em; letter-spacing:0px; }

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	text-transform:uppercase;
	text-decoration:none;
	color:#aaa;
}

p {
	clear: both;
	color: #999;
	font-family: FuturaStdMedium, Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;
	text-decoration: none;
	text-transform: none;
	font-size: 1.2em;
	font-weight: normal;
	letter-spacing: 0px;
	line-height: 1.2em;
	display: block;
}

p a {
	color:#444;
	text-decoration: none;
}

p a:hover {color: #999;}

.content-text {
	text-align:justify;
}

.noscriptmsg { 
	position:relative;
	z-index:1001;	
}

.noscriptmsg span{ 
	text-decoration:none; 
	line-height:2em; 
	letter-spacing:0.4px; 
	color:red; 
}

/*****************************************************************************
                             HEADER INFO         				    
*****************************************************************************/

#info {
  margin-left:25%;
  border-top:solid 25px transparent;
}

#info a {
  line-height:1em;
  font-family: FuturaStdMedium, Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;
  text-decoration:none;
  text-transform:uppercase;
  color:#aaa;
  color:#444;
  font-weight:normal;
  margin:0;
  font-size:1.1em;



  letter-spacing:1px

;
}

#info .author {
  margin-left:13px;
  width: 150px;
  font-size:1.2em;
  letter-spacing:0px;
  line-height:1em;
  color:#444;
  font-family: FuturaStdMedium, Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;
  text-decoration:none;
  display:inline;
}

#info .separator {
  width:184px;
  height:1px;
  background-color:#a6a6a6;
  border:0;
  margin-top:4px;
}

/*****************************************************************************
                             NAV MENU         				    
*****************************************************************************/

nav {
	position: absolute;
	font-family: FuturaStdMedium,Helvetica,Arial,'Liberation Sans',FreeSans,sans-serif;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 1.1em;
	letter-spacing: 0px;
	line-height: 1.1em;
	margin-left:25%;
	margin-top:4px;
	margin-bottom:10px;	
	line-height: 1.1em;
	color:#444;
	font-family: FuturaStdMedium, Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;
	text-decoration:none;
}

nav ul {
	list-style:none;
	margin: 0;
	padding: 0;
	width: 100px;
}

nav li {
	height: 1.1em;
	width: 50px;
}

nav li li {
	margin-left: 104px;
	width: 100px;
}

nav li ul {
	margin-top: -1.1em;
	display:none;
}

nav li li li {
	margin-left: 90px;
	width: 120px;
}

nav a,
nav span {
	display: block;
	color:#aaa;
	cursor: pointer;
}

nav a.active,
nav span.active {
	color:#444
}

nav a:hover,
nav a.active:hover,
nav span:hover,
nav span.active:hover {
	color:#444
}

/*****************************************************************************
                             ROYALSLIDER         				    
*****************************************************************************/

/* Non-linear resizing on smaller screens */
/* check if it makes sense (images get cut of at lower end of gallery) 
@media screen and (min-width: 0px) and (max-width: 900px) { 
  .royalSlider {
    padding: 12px 0 12px;
  }
  .royalSlider .rsOverflow,
  .royalSlider {
    height: 400px !important;
  }
}
@media screen and (min-width: 0px) and (max-width: 500px) { 
  .royalSlider .rsOverflow,
  .royalSlider {
    height: 300px !important;
  }
}
*/

.royalSlider {
	-webkit-user-select: none;
	-moz-user-select: none;  
	user-select: none;
	position: absolute;
	display:none;
	left: 0;
	top: 115px;
	right: 0;
	bottom: 0; /* height of thumbs (if not required set to 0) */
	width: auto; /*only added for royal test*/
	height: auto; /*only added for royal test (w/o does not position correct, with does not scale correct)*/
	background: #FFF;
}

.imagepos {	
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	position: absolute;
	width: auto; /*check if necessary*/
	height: auto; /*check if necessary*/
	display: block; /*check if necessary*/
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin-top: auto;
	margin-right: auto;
	margin-bottom: auto;
	margin-left: 25%;
}

.rsImg {
	/* -webkit-backface-visibility: hidden;
	-webkit-transform: translate3d(0, 0, 0);
	-webkit-perspective: 1000; needed for hardware acceleration & performance (against flickering?)? */
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: block;
	width: auto; /* ie8: width: auto\9; */ /*check if necessary, seems to make trouble in FF*/
	height: auto; /*check if necessary*/
	max-width: 90% !important; /*otherwise this gets overwritten by royalslider.css*/
	max-height: 71%;
	position: absolute;
	left: 0;
	right: 0;
	top: -25%;
	bottom: 0;
	margin-top: auto;
	margin-right: auto;
	margin-bottom: auto;
	margin-left: 0;
	border-bottom: 0px solid #444;
	border-left: 0px solid #444;
	border-right: 0px solid #444;
	border-radius: 0px;
	/*box-shadow:12px 15px 20px -12px #888, 3px 5px 10px 2px #AAA;*/
	border-collapse: separate; /* IE fix for box shadows */ /*check if necessary*/
	-moz-box-shadow: 0px 3px 7px rgba(0,0,0,0.8); /* for old firefox */ /*check if necessary*/
	-webkit-box-shadow: 0px 3px 7px rgba(0,0,0,0.8); /* override for Chrome & Safari */ /*check if necessary*/
	box-shadow: 0px 3px 7px rgba(0,0,0,0.8); /* for all browsers */
	/* alternative   box-shadow: 0px 4px 8px rgba(0,0,0,0.8); ...and other... */
}

@media screen and (max-height:888px) {
	.rsImg {
		max-height: 88%;
		top: -8%;
	}
}

.rsDefaultInv.rsFullscreen .rsFullscreenBtn { top:5px; }
	
.rsDefaultInv .rsGCaption {
	top: -93px; /* nudging up by 1px */
}

.rsArrowIcn { top:46% !important; }

/*****************************************************************************
                             THUMBS         				    
*****************************************************************************/
.thumb-grid {
	display:none;
	margin-top:180px;
	margin-left:25%;
        width:65%;
	text-align:center;
}
.grid-cell, .row-filler {
	width:60px; 
	height:60px; 
	float:left; 
	margin-right:15px; 
	margin-bottom:15px;
}
.cell2 {
	width:60px; 
	height:60px; 
	position:relative;
	overflow:hidden;
	-moz-box-shadow: 3px 3px 4px rgba(0,0,0,0.8);
	-webkit-box-shadow: 3px 3px 4px rgba(0,0,0,0.8);
	box-shadow: 3px 3px 4px rgba(0,0,0,0.8);
	z-index:0;
}
.cell3 {
	position:relative;
	width:60px;
	height:60px;
	top:50%;
	left:50%;
}

.colored {
	position:absolute;
	left:0;
}

.grayscale {
	position:absolute;
	left:0;
}

#grid-last-row { float:right; }
#grid-last-row .grid-cell { margin-bottom:45px; }
