	@charset "UTF-8";
/* CSS Document */
@import url(http://fonts.googleapis.com/css?family=Poiret+One);

html, body{
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}
body {
	margin: 0;
	padding: 0;
	font-family:'Poiret One', sans-serif;
}
a{
	
	color:#000;
	text-decoration:none
}

#title{
	color: #000;
	background: rgba(255,255,255,0.5);
}
#nav{
	margin: 0;
	padding: 0;
	list-style: none;
	width: 70%;
}
#nav ul{
	padding: 0 0 0 15px;
	list-style: none;
}
#nav li a{
	text-decoration: none;
	color: #000;
	background: rgba(255,255,255,0.5);
	
	display: block;
	padding: 5px;
	margin: 1px;
}
/*#nav li a:hover,*/ #nav li a.active{
	color: #999;
	/*border-bottom: solid 1px #ccc;*/
}
#nav li ul{
	display: none;
}
#nav li.active ul{
	display: block;
}

#sidebar, #content{
	position:absolute;
	z-index: 100;
	width: 15%;
}
#sidebar{
	z-index: 5;
	width: 20%;
	min-width: 260px;
}

#content{
	top: 5%;
	/*margin-left: 15%;*/
	margin-left:250px;
	width: 70%;	
	height: 95%;
}

#slider{
	height: 100%;
	width: 100%;
}
.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  padding: 0;
  margin: 0;
  margin-left:10px;
  height: 90%;
  width: 90%;
  }

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

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

.rslides img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  border: 0;
  float: none !important;
  margin: 0 auto;
  }
 
 .rslides_nav {
	background: rgba(0,0,0,0);
	z-index: 3;
	position: absolute;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	top: 0;
	left: 0;
	display: block;
	/*background: #fff; /* Fix for IE6-9 */
	opacity: 1.0;
	filter: alpha(opacity=1);
	width: 48%;
	text-indent: -9999px;
	overflow: hidden;
	height: 91%;
  }

.rslides_nav.next {
  left: auto;
  right: 0;
}

img.bg {
  /* Set rules to fill background */
  min-height: 100%;
  min-width: 1024px;
	
  /* Set up proportionate scaling */
  width: 100%;
  height: auto;
	
  /* Set up positioning */
  position: fixed;
  top: 0;
  left: 0;
}

@media screen and (max-width: 1024px) { /* Specific to this particular image */
  img.bg {
    left: 50%;
    margin-left: -512px;   /* 50% */
  }
}
@media screen and (max-width: 959px) {
	.gallery #sidebar, .gallery #content{
		position: relative;
		margin: 20px auto;		
	}
	.gallery #content{
		width: 100%;
	}
	
	#nav{
		width: 100%;
	}
}


