#console{
	position: fixed;
	display: none;
	bottom: 0px;
	width: 100%;
	background-color: rgba(0,0,0,0.42);
	height: 30px;
	color: white;
	text-align: center;
	padding: 1em;
}


html,
body {
    width:100%;
    height:100%;
}

html{
	display: table;
}

html, body, div, a, span{
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
	background-color: #f0f0f0;
	text-align: center;
	margin: 0px;
	font-weight: 300;
	color: #404040;
	font-family: "Open Sans", "Source Sans", "Helvetica Neue", Helvetica, Arial;
    display:table-cell;
    vertical-align:top;	
    text-align: center;
    font-size: 100%;
	-webkit-font-smoothing: subpixel-antialiased !important;
	
}


strong{
	font-weight: bold;
}

em{
	font-style: italic;
}

.normal{
	font-weight: 400;
	font-style: normal;
}


a{
	border-bottom: 1px solid transparent;
	text-decoration: none;
	transition: border-bottom 0.5s, background-color 0.5s;
	-moz-transition: border-bottom 0.5s, background-color 0.5s;
	-webkit-transition: border-bottom 0.5s, background-color 0.5s;
	-o-transition: border-bottom 0.5s, background-color 0.5s;
}

header{
	position: fixed;
	width: 100%;
	background-color: #ffffff;
	text-align: center;
	opacity: 0.9;
	color: grey;
	margin-bottom: 2em;
	z-index: 999;

	transition: top 2s;
	-moz-transition: top 2s;
	-webkit-transition: top 2s;
	-o-transition: top 2s;
}

#topqoute{
	width: 100%;
	max-width: 800px;

	margin-bottom: 0.5em;

	text-align: left;
	
	display: inline-block;
}

.movein{
	margin-left: 2%;
}

.tabtext{
	max-width: 750px;
}

.centermenu{
	display: inline-block;
}

.menuitemfirst{
	margin: 0px 1em;
}

.menuitem{
	height: 4em;
	padding: 0px 0.75em;
	line-height: 4em;
	vertical-align: middle;
	border-top: 2px solid transparent;
	float: left;

	transition: border-top 0.5s, color 0.5s;
	-moz-transition: border-top 0.5s, color 0.5s;
	-webkit-transition: border-top 0.5s, color 0.5s;
	-o-transition: border-top 0.5s, color 0.5s;
}


.focused, .menuitem:hover{
	border-top: 2px solid green;
	color: green;
	cursor: pointer;
}

.rightcell{
	float: right;
}

.leftcell{
	float: left;
}

.paddingleftright{
		padding: 0px 5%;
}

#navblock{
	display: block;
	width: 100%;
}

#mainsection{
	max-width: 900px;
	width: 90%;
	display: inline-block;
	text-align: left;
	margin-bottom: 2em;

}


footer{
	font-size: 90%;
	opacity: 0.75;
}


.rslides {
  position: relative;
  top: 0px;
  list-style: none;
  overflow: hidden;
  display: inline-block;
  width: 100%;
  padding: 0;
  margin: 0;
  }

.slidecontainer{
	width: 100%;
	max-width: 800px;
	display: inline-block;
}

.navcontainer{
	width: 100%;
	display: inline-block;
	float: left;
	height: 0px;
	top: 0px;
}

.rslides_nav{
	z-index: 3;
	display: inline-block;
	
	position: relative;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	float: left;
	left: 0;
	opacity: 0.7;
	text-indent: -9999px;
	overflow: hidden;
	text-decoration: none;
	height: 400px;
	width: 38px;
	background: transparent url("../img/themes.gif") no-repeat left center;
	background-size: 61px auto;
}

.next{
	left: auto;
	background-position: right center;
	right: 0;
	float: right;
}

.rslides li {
	-webkit-backface-visibility: hidden;
	position: absolute;
	display: none;
	width: 100%;
	left: 0;
	top: 0;
}

.rslides li:first-child {
	position: relative;
	display: block;
	float: left;
}

.rslides img {
	display: block;
	height: auto;
	float: left;
	width: 100%;
	border: 0;
}

#toTop{
	display: none;
	position: fixed;
	bottom: 0px;
	width: 100%;
	text-align: center;
	cursor: pointer;
	height: 3em;
	line-height: 3em;
	background-color: white;
}



@media all and (min-width: 0px) and (max-width: 299px){
	body{
		font-size: 80%;
	}
	
	header{
		position: absolute;
	}
	footer{
		font-size: 7px;
		text-shadow: none;
	}
	.spacer{
		font-size: 5px;
	}
	.icon{
		width: 25px;
		height: 25px;
	}

	#main{
		width: 100%;
	}
	
	#bgcwrapper{
		font-size: 300%;
	}
	
	#mainbgdragging{
		height: 5px;
	}
	
	#maindragging{
		height: 30px;
	}

	#dragginghelper{
		height: 25px;
	}	
}


@media all and (min-width: 300px) and (max-width: 399px){
	body{
		font-size: 90%;
	}
	
	header{
		position: absolute;
	}
	
	footer{
		font-size: 8px;
		text-shadow: none;
	}
	.spacer{
		font-size: 6px;
	}	
	.icon{
		width: 30px;
		height: 30px;
	}
	
	#bgcwrapper{
		font-size: 350%;
	}	

	#mainbgdragging{
		height: 8px;
	}		

	#maindragging{
		height: 30px;
	}
	
	#dragginghelper{
		height: 25px;
	}
}
@media all and (min-width: 400px) and (max-width: 649px){
	body{
		font-size: 100%;
	}
	
	footer{
		font-size: 9px;
		text-shadow: none;
	}
	.spacer{
		font-size: 8px;
	}
	
	#bgcwrapper{
		font-size: 400%;
	}	

	.icon{
		width: 40px;
		height: 40px;
	}	

	#maindragging{
		height: 35px;
	}		
}

@media all and (min-width: 650px) and (max-width: 799px){
	body{
		font-size: 100%;
	}
	footer{
		font-size: 9px;
		text-shadow: none;
	}
	.spacer{
		font-size: 9px;
	}	
	
	#bgcwrapper{
		font-size: 450%;
	}	

	.icon{
		width: 45px;
		height: 45px;
	}
	
	#maindragging{
		height: 35px;
	}
}


@media all and (min-width: 800px){
	article{
		padding: 20px 0px 0px 0px;
	}
	
	#mainbgdragging{
		height: 15px;
	}

	.paddingleftright{
		padding: 0px 40px;
	}
	
	.morepadding{
		padding-top: 15px;
		padding-bottom: 15px;
		padding-left: 20px;
	}
	
	.nav{
		width: 20%;
	}		

}

@media all and (min-width: 820px){
	article{
		width: 100%;		
	}
}

