body {
	padding: 0;
	margin: 0 !important;
	overflow-x: hidden;
	overflow-y: hidden;
	font-family: 'Raleway', sans-serif;
	text-rendering: optimizeLegibility;
	background-color: black;
}

canvas{ 
	position: fixed;
	z-index: -1;
	padding:0; 
	top: 0px;
	-webkit-transition: 0.6s;
			transition: 0.6s;
}

#sidebar {
	z-index: 1;
	text-align: center;
	position: absolute;
	width: 260px;
	height: 100%;
	right: 0px;
	color: white;
	background-color: rgba(0,0,0,0.6);

	-webkit-transform: translate3d(260px,0,0);
			transform: translate3d(260px,0,0);
	-webkit-transition: -webkit-transform .3s;
			transition: transform .3s;
}

#sidebar.isOpen {
	-webkit-transform: translate3d(0,0,0);
			transform: translate3d(0,0,0);
}

#sidebar_about_btn {
	font-size: 18px;
	border-top: 1px solid rgba(1,1,1,0.1);
	cursor: pointer;
}

ul#sidebar_pieces_list {
	padding: 20px;
	padding-left: 30px;
	list-style: none;
}

ul#sidebar_pieces_list li {
/*	text-align: center;
*/	display: block;
	padding: 20px;
	padding-top: 2px;
	padding-bottom: 2px;
	color: rgba(255,255,255,0.3);
	letter-spacing: 0.07em;
	cursor: pointer;
	-webkit-transition: 0.4s;
			transition: 0.4s;
}

ul#sidebar_pieces_list li:hover {
	color: rgba(255,255,255,0.7);
}



ul#brain_icons {
	visibility: hidden;
	padding-top: 44px;
	padding-left: 12px;
}

#brain_icons li {
	opacity: 0.3;
	line-height: 240px;
	display: inline-block;
	width: 61px;
	height: 100px;
	cursor: pointer;
	-webkit-transition: 0.4s;
			transition: 0.4s;
}

#brain_icons li:hover {
	opacity: 1;
}

ul#brain_icons #left_btn{
	background-image: url("../images/brain_left.png");
	/*background-size: cover;*/
}

ul#brain_icons #right_btn{
	background-image: url("../images/brain_right.png");
	/*background-size: cover;*/
}

#main_container {
	z-index: 0;
	position: absolute;
	box-shadow: 0 0 10px rgba(0,0,0,1);
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0 !important;
	border-right: 1px solid white;
	background-color: black;
}

.notActive {
	pointer-events: none;
}

#title {
	position: fixed;
	/*display: none;*/
	top: 0px;
	left: 25px;
	z-index: 1;
}

h1 {
	font-family: 'Raleway', sans-serif;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #ffffff;
/*	font-weight: normal;
*/	font-size: 30px;
	margin-bottom: 10px;
	-webkit-transition:0.6s;
			transition:0.6s;
}

h2 {
	font-family: 'Raleway', sans-serif;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	margin-top: -10px;
	color: white;
	font-weight: 300;
	font-size: 18px;
	/*font-weight: normal;*/
	-webkit-transition:0.6s;
			transition:0.6s;
}

#start-canvas {
	z-index: 100;
}

#about {
	padding-left: 15px;
	overflow-y: scroll;
	display: none;
	z-index: 1;
	width: 100%;
	height: 100%;
	font-weight: 400;
	line-height: 24px;
	position: absolute;
	background-color: rgba(0,0,0,0.6);
}

#about_content {
	margin-left: -15px;
}

#about p:first-child {
	margin-top: 100px;
}

#about p {
	font-family: 'Raleway', sans-serif;
	margin: 5px auto;
	max-width: 500px;
	padding: 10px;
	color: white;
	-webkit-transition: 0.6s;
			transition: 0.6s;
}

#about a {
	display: inline-block;
	text-align: center;
	color: white;
	text-decoration: none;
}

#mail_link {
	margin: 30px auto;
	display: block;
	width: 200px;
	border: 1px solid white;
	padding: 15px;
	text-align: center;
	-webkit-transition: 0.6s;
			transition: 0.6s;
}

#mail_link:hover {
	background-color: white;
	color:	#295DA0;

}

#mail_link:hover a{
	color:	#295DA0;

}

#quote {
	margin-top: 140px;
	font-size: 16px;
	font-style: italic;
	text-align: center;
}

#main_nav {
	position: absolute;
	/*display: none;*/
	font-family: 'Raleway', sans-serif;
	font-size: 20px;
	top: 40%;
	left: 2%;
	padding-left: 0px;
    list-style-type:none;
}

#main_nav li {
	display: inline-block;
	color: white;
	font-family: 'Raleway', sans-serif;
	letter-spacing: 5px;
	border: 1px solid white;
	font-size: 16px;
	padding: 10px;
	padding-left: 13px;
/*	font-weight: 500;
*/	text-align: center;
	cursor: pointer;
	margin-left: 6px;
	-webkit-transition: 0.8s;
			transition: 0.8s;
}

#main_nav li:hover {
	/*color:	#295DA0;*/
	color: black;
	background-color: white;
}

#main_nav li p{
	margin: 0px;
	padding: 0px;
}

#social_nav{
  	margin-top: 60px;
  	text-align: center;
  	margin-bottom: 20px;
}

#social_nav ul{
	z-index: 100;
	margin: 0px;
	padding: 0px;
	display: inline-block;
}

#social_nav li{
	opacity: 0.4;
	display: inline-block;
	width: 40px;
	height: 40px;
	margin-left: 16px;
	margin-bottom: -7px;
	-webkit-transition: 0.4s;
			transition: 0.4s;
}

#social_nav li:hover{
	opacity: 1;
}

#social_nav li:first-child{
	background-image: url("../images/social_01.png");
	background-size: cover;
}

#social_nav li{
	background-image: url("../images/social_02.png");
	background-size: cover;
}

#social_nav li:last-child{
	background-image: url("../images/social_03.png");
	background-size: cover;
}

#social_nav li a{
	display: block;
	width: 100%;
	height: 100%;
}

#overlay {
 	position: absolute;
	top: 100%;
	z-index: 1;
	width: 100%;
	bottom: 0px;
	overflow: hidden;
	-webkit-overflow-scrolling:touch;
	background-color: transparent;
	-webkit-transition: 0.6s;
			transition: 0.6s;
}

#overlay::-webkit-scrollbar { width: 0 !important }
#overlay { -ms-overflow-style: none; }

.scrollable {
	overflow-y: scroll !important;
	background-color: rgba(0,0,0,0.8) !important;
}

#pieces_container {
	text-align: center;
	margin-left: 0px;
}

#pieces_list{
	margin-top: 0px;
  	display: inline-block;
	padding-left: 0px;
	text-align: center;
	width: 100%;
}

#pieces_list li {
	display: none;
}

#pieces_list > li > div {
	padding-bottom: 100px;
}

#pieces_list h3 {
	text-transform: uppercase;
	letter-spacing: 4px;
	font-size: 24px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	margin-top: 0px;
	padding-bottom: 20px;
	font-weight: 300;
   	display: inline-block;
	color: white;
	border-bottom: 1px solid white;
}

#pieces_list h4 {
	text-transform: uppercase;
	font-size: 18px;
	letter-spacing: 2px;
	line-height: 22px;
	margin-left: auto;
	margin-right: auto;
	width: 90%;
	color: white;
	max-width: 300px;
	text-align: center;
	padding-top: 0px;
	margin-top: -15px;
	font-weight: 300;
}


#title_container {
	position: relative;
	width: 90%;
	height: 40px;
	margin-top: 220px;
	max-width: 1920px;
	margin-left: auto;
	margin-right: auto;
	width: 95%;
	margin-bottom: 8px;
}

#pieces_list h5 {
	display: block;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-size: 22px;
	font-weight: 300;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	margin-top: 260px;
	color: white;
}

#cross_btn {
	position: absolute;
	width: 40px;
	height: 40px;
	right: 20px;
	top: 430px;
	cursor: pointer;
	background-image: url(../images/cross.png);
	background-size: cover;
}

#back_btn {
	position: absolute;
	width: 40px;
	height: 40px;
	top: 25px;
	right: 30px;
	cursor: pointer;
	position: absolute;
 	background-image: url(../images/cross.png);
 	background-size: cover;
}

#pieces_list div > p{
	font-size: 16px;
	padding-top: 30px;
	line-height: 1.5em;
	margin-bottom: 50px;
	margin-left: auto;
	margin-right: auto;
	width: 90%;
	max-width: 660px;
	color: white;
	text-align: left;
	font-weight: 300;
}

#more_btn {
	display: inline-block;
	margin: 30px auto;
	height: 20px;
	letter-spacing: 5px;
	border: 1px solid white;
	font-size: 16px;
	padding: 10px;
	padding-left: 13px;
	letter-spacing: 5px;
	text-align: center;
	cursor: pointer;
	-webkit-transition: 0.6s;
			transition: 0.6s;
}

#more_btn p {
	text-align: center;
	display: inline;
}

#pieces_list div > div > p {
	padding-top: 0px;
	margin-top: 0px;
	margin-left: auto;
	margin-right: auto;
	border: none;
	text-align: center;
	border: none;
	-webkit-transition: 0.6s;
			transition: 0.6s;
}

#more_btn:hover p {
	color: black;
}

#more_btn:hover {
	background-color: white;
}

#live_btn {
	letter-spacing: 5px;
	margin-bottom: 50px;
	cursor: pointer;
}

#live_btn a {
	border: 1px solid white;
	color: white;
	text-align: center;
	text-decoration: none;
	padding: 10px;
	-webkit-transition: 0.6s;
			transition: 0.6s;
}

#live_btn:hover > a{
	color: black;
	background-color: white;
	-webkit-transition: 0.6s;
			transition: 0.6s;
}

#case_btn {
	letter-spacing: 4px;
	margin-top: 100px;
	cursor: pointer;
}

#case_btn a {
	border: 1px solid white;
	color: white;
	text-align: center;
	text-decoration: none;
	padding: 10px;
	-webkit-transition: 0.6s;
			transition: 0.6s;
}

#case_btn:hover > a{
	color: black;
	background-color: white;
	-webkit-transition: 0.6s;
			transition: 0.6s;
}

#pieces_list div img {
	/*border-bottom: 1px solid white;*/
	/*border-top: 1px solid white;*/
	margin-top: 20px;
	margin-left:auto;
	margin-right: auto;
	min-width: 320px;
	width: 90%;
	max-width: 1280px;
	height: auto;
	background-size: cover;
}

#btn_list {
	width: 120px;
	padding: 0px;
	display: none;
	z-index: 10;
	position: fixed;
	margin: 0px;
	bottom: 10px;
	left: 50%;
	margin-left: -60px;
}

#btn_list > li {
	background-repeat: no-repeat;
	/*background-position: 0px 4px;*/
	background-size: cover;
	-webkit-transition: 0.6s;
			transition: 0.6s;
}

#btn_list > li#neuron_index {
	display: inline-block;
	width: 50px;
	height: 50px;

}

#btn_list > li#neuron_index > p {
	text-align: center;
	font-size: 18px;
	color: white;
}

#next_btn {
	display: inline-block;
	background-image: url(../images/next.png);
}

#prev_btn {
	display: inline-block;	
	background-image: url(../images/prev.png);
}

.active {
	color: white !important;
	/*background-color: rgba(255,255,255,0.15);*/
}

ul#brain_icons #left_btn.selected {
	/*background-image: url("../images/brain_left_selected.png");*/
	opacity: 1;
}

ul#brain_icons #right_btn.selected {
	/*background-image: url("../images/brain_right_selected.png");*/
	opacity: 1;
}

#brain_icons li.selected:hover {
	border: none;
	opacity: 0.3;
}

.btn {
	cursor: pointer;
	width: 40px;
	height: 40px;
}	

.img_label {
	text-transform: uppercase;
	font-size: 18px !important;
	display: block;
	margin: 0px auto;
	text-align: center !important;
}

.small_btn {
	cursor: pointer;
	width: 30px;
	height: 30px;
}	

.svg-wrapper {
 	position: relative;
	margin: 0 auto;
 	width: 320px;
 	height: 0px;
 	margin-top: 50px;
 	margin-bottom: 100px;
}

.shape {
  stroke-dasharray: 140 540;
  stroke-dashoffset: -474;
  stroke-width: 8px;
  fill: transparent;
  stroke: white;
  transition: stroke-width 1s, stroke-dashoffset 1s, stroke-dasharray 1s;
}
.text {
	text-align: center;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 16px;
	line-height: 38px;
	letter-spacing: 4px;
	color: #fff;
	top: -71px;
	position: relative;
}

.text a {
	padding-left: 0px;
	padding: 15px;
}
.svg-wrapper:hover .shape {
  stroke-width: 2px;
  stroke-dashoffset: 0;
  stroke-dasharray: 760;
}

.progress-wrap {
	z-index: 1000;
	/*display: block;*/
	position: absolute;
	background: #000000;
	width: 100%;
	height: 100%;
}

.progress-bar {
    position: absolute;
    height: 3px;
    width: 10%;
    left: 0;
    top: 50%;
    background: #FFFFFF;
}

.video_wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	width: 90%;
	height: 0;
	margin: 0px auto;
	min-width: 320px;
	max-width: 1280px;
}

.video_wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/*max-height: 720px;*/
}

video{
	margin-left: 20px;
	margin-right: 20px;
	margin-bottom: 40px;
}

#tips{
	display: none;
	position:fixed;
	bottom:0px;
	width: 280px;
	left:50%;
	margin-left: -140px;
	margin-bottom: 50px;
}

#tips> p{
	text-align: center;
	text-transform: uppercase;
	font-size: 16px;
	color: white;
}

#work_1 video {
	width: 90%;
	height: auto;
	margin-left: auto;
	margin-right: auto;
}

#menu_btn {
	display: none;
	z-index: 10;
	width: 40px;
	height: 45px;
	position: absolute;
	right: 30px;
	top: 30px;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
	cursor: pointer;
	/*border: 1px solid white;*/
}

#menu_btn span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #ffffff;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#menu_btn span:nth-child(1) {
  top: 0px;
}

#menu_btn span:nth-child(2) {
  top: 14px;
}

#menu_btn span:nth-child(3) {
  top: 28px;
}

#menu_btn.open span:nth-child(1) {
  top: 18px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

#menu_btn.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#menu_btn.open span:nth-child(3) {
  top: 18px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

ul#resurces {
	padding-left: 0px;
	margin: 0px auto;
	text-align: center;
}

#resurces li {
	display: inline-block;
}
#resurces li:last-child {
	margin-left: 10px;
}

#resurces li a {
	padding: 5px;
	margin-top: 10px !important;
	/*border: 1px solid white;*/
	-webkit-transition: .4s ease-in-out;
	-moz-transition: .4s ease-in-out;
	-o-transition: .4s ease-in-out;
	transition: .4s ease-in-out;
}

#resurces li a:hover {
	background-color: white;
	color: black;
	margin-top: 10px !important;
}


/* ----------- iPhone 5 and 5S ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) {
  	#main_nav {
  		bottom: 0px;
  	}

  	#overlay p {
  		font-size: 13px;
  	}

}

/*CSS for serving the retina image to devices with a high "device-pixel-ratio":*/
@media only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-devicepixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx) {
	
	#cross_btn{
	  	background-image: url(../images/cross@2x.png);
	}

	#prev_btn{
	  	background-image: url(../images/prev@2x.png);
	}

	#next_btn{
	  	background-image: url(../images/next@2x.png);
	}

	#back_btn {
	  	background-image: url(../images/cross@2x.png);
	}

	.btn{
		background-size: 50px 50px;
	}
}

/* Portrait */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
}

/* Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {

}

/* ----------- iPhone 6 ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2) { 

}

/* Portrait */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) { 

}

/* Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) { 

}

/* ----------- iPhone 6+ ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3) { 

}

/* Portrait */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: portrait) { 

}

/* Landscape */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 

}