html{
	height:100%;
}

.mCSB_container { width: auto !important; display: table; }

body {
	font: 100%/1.2 'Josefin Sans', 'Alegreya Sans SC', 'Trebuchet MS', Helvetica, sans-serif;
	background: left top no-repeat #faffee;
	letter-spacing:.5px;
    background-attachment: fixed;
	margin: 0;
	padding: 0;
	color: #000;
	width:100%;
}

a img { 
	border: none;
}

a:link {
	color:#000;
	text-decoration: none; 
}
a:visited {
	color: #000;
	text-decoration: underline;
}
a:hover, a:active, a:focus {
	color: #6a6655;
	text-decoration:none;
}

.headertext, .headertext a{
	padding:0px;
	text-decoration:none;
	line-spacing:15px;
	font-size:52px;
	letter-spacing:15px;
}

.separator{
	margin-top:10px;
	width:90%;
	height:1px;
	background-color:#ddd;
}



.piece table{/*, table .piece{*/
	padding:0;
	margin:0;
	background:#fff;
}


.slider div{
	align:center;
}

.slider a, .instructions a, .toccontent a, .biodiv a, .cover a, .toc table a .rollarrow a{
	text-decoration:none;
}
.slider a:hover, .instructions a:hover, .toccontent a:hover, .biodiv a:hover, .cover a:hover, .toc table a:hover .rollarrow a:hover{
	color:#666;
	text-decoration:none;
}

.alttitles{
	font-size:10pt;
	width:250px;
}

.mute{
	position:absolute;
	opacity:0.9;
	background:url(../img/mutebutton.png);
	width:70px;
	height:50px;
	bottom:30px;
	left:5px;
	z-index:3;
}

.mute a {
	top:16px;
	padding:16px;
	position:relative;
	text-decoration:none;
}

.biodiv {
	display:none;
	background:url('../img/texture.png') repeat;
	z-index:2;
	position:absolute;
	top:0;
	left:0;
}
.rollarrow{
	position:absolute;
	z-index:4;
	top:40%;
}

.rollarrow a{
	text-align:center;
	padding:15px;
	background:url('../img/texture2.png');
	opacity:0.5;
	text-decoration:none;	
	color:#222;
}

.scrollarrow a:hover{
	opacity:.9;
	text-decoration:none;
}


.left{
	left:0;
}

.right{
	right:0;
}

@media screen and (max-width: 867px){
 	.home {
		padding-top:45px;
		font-size:12px;
	}
	.container {
		width:calc(90%);
		margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout. It is not needed if you set the .container's width to 100%. */
	}
	.tile img {
		width:calc(100%);
		height:calc(100%);
	}
	
	.selfp img {
		width:calc(100%);
		height:calc(100%);
	}
	.bg strong{
		font-size:20px;
	}
	.tile {
		width:calc(46%);
		height:calc(46%);
		padding:calc(2%);
		float:left;
	}
	.selfp {
		width:calc(46%);
		height:calc(46%);
		padding:calc(2%);
		float:left;
	}
	.tile p {
		font-size:14px;
		float:center;
	}

	.selfp p {
		font-size:14px;
		float:center;
	}
	.slideshow img{
		width:90%;
		height:90%;
		padding:0px;
	}
}


@media screen and (min-width: 868px) {
	.container {
		width:90%;
		max-width:1200px;
		margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout. It is not needed if you set the .container's width to 100%. */
	}
	.tile img {
		width:calc(100%);
		height:calc(100%);
	}
	.selfp img {
		width:calc(100%);
		height:calc(100%);
	}
	.bg strong{
		font-size:20px;
	}
	.bg {
		padding:10px 0 0 0 ;
	}
	.tile {
		width:230px;
		height:230px;
		padding:30px 15px 30px 15px;
		float:left;
	}
	.selfp {
		width:400px;
		padding:30px 5px 30px 5px;
		float:left;
	}
	.tile p {
		font-size:16px;
		float:center;
	}
	.selfp p {
		font-size:16px;
		float:center;
	}

}


/* ~~ miscellaneous float/clear classes ~~ */
.fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the overflow:hidden on the .container is removed */
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}

.navcontainer a{
	margin:0px 15px 0px 15px;
}

.topnav {
  overflow: hidden;
}

.topnav a {
  float: left;
  display: inline;
  color: #555;
  text-align: center;
  padding: 4px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  color: #999;
}

.topnav .icon {
  display: none;
}
@media screen and (max-width: 750px) {
   
   body { background-attachment: initial; }
   
  .topnav a {display: none;}
  .topnav a.icon {
    float: left;
    display: block;
  }
  .topnav.responsive {
  	position: relative;
	transition:.5s
	}
  
  .topnav.responsive .icon {
    right: 0;
    top: 0;
	font-size:inherit;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: right;
  }
}

