/*    Fancy Button    */

.btn_fancy{
	display: inline-block;
	position: relative;
	text-align: center;
	color: #454545;
	font-family: "raleway-bold", Helvetica, Arial, sans-serif;
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
	padding: 16px 36px;
	border-radius: 2px;
	background: transparent;
	-webkit-transition:all .2s ease-out;
	     -o-transition:all .2s ease-out;
	        transition:all .2s ease-out;
}

.btn_fancy .text_layer{
	position: relative;
}

.btn_fancy:hover,
.btn_fancy:focus{
	color: #454545;
}


.btn_fancy .border_layer{
	position: absolute;	
	top:0;
	left: 0;
	width: 100%;
	height: 100%;	
	border: 1px dashed #000000;
	-webkit-transition:all .2s ease-out;
	     -o-transition:all .2s ease-out;
	        transition:all .2s ease-out;
}

.btn_fancy .solid_layer{
	position: absolute;
	top: 4px;
	left: -4px;
	width: 100%;
	height: 100%;	
	background: #817f79;
	border-radius: 2px;
	-webkit-transition:all .2s ease-out;
	     -o-transition:all .2s ease-out;
	        transition:all .2s ease-out;
}

.btn_fancy:hover .border_layer{
	-webkit-transform:translate(2px,-2px);
	    -ms-transform:translate(2px,-2px);
	     -o-transform:translate(2px,-2px);
	        transform:translate(2px,-2px);
}
.btn_fancy:hover .solid_layer{
	-webkit-transform:translate(-2px,2px);
	    -ms-transform:translate(-2px,2px);
	     -o-transform:translate(-2px,2px);
	        transform:translate(-2px,2px);
}










/*  Back To Top button  */

#back_top{
	text-decoration: none;
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 9999;
	opacity: 0;
}

.btn_fancy#back_top{
	padding: 6px 16px;
}

.btn_fancy#back_top:hover .border_layer{
	-webkit-transform:translate(1px,-1px);
	    -ms-transform:translate(1px,-1px);
	     -o-transform:translate(1px,-1px);
	        transform:translate(1px,-1px);
}
.btn_fancy#back_top:hover .solid_layer{
	-webkit-transform:translate(-1px,1px);
	    -ms-transform:translate(-1px,1px);
	     -o-transform:translate(-1px,1px);
	        transform:translate(-1px,1px);
}


/*    Responsive CSS    */

@media only screen and (max-width: 40em){
	.top-bar .top-bar-section{
		display: none;
	}

	.top-bar.expanded .top-bar-section{
		display: block;
	}

	.top-bar-section ul{
		margin-top: 70px;
		background: #ffffff;
	}

	.top-bar-section li:not(.has-form) a:not(.button){
	  color: #454545;
	  margin: 0;
	  display: block;
	  text-align: center;
	  padding: 20px 0;
	  background: #ffffff;
	  border-bottom: 1px solid #fff4d7;
	  -webkit-transition: all .2s linear;
	       -o-transition: all .2s linear;
	          transition: all .2s linear;
	}

	header .top-bar-section li:not(.has-form):last-child a:not(.button){
		border: 0;
	}

	header .top-bar-section li:not(.has-form) a:not(.button):hover{
		color: #454545;
		background: #fbdd90;
		padding: 20px 0;
	}


	.hero .caption h1.mean_cap,
	.hero .caption h2.sub_cap{
		font-size: 45px;
		line-height: 60px;
	}

	footer .copyrights{
		width: 100%;
		text-align: center;
		margin-bottom: 60px;
	}


	footer .social,
	footer .contact{
		width: 100%;
		text-align: center;
		float: none;
		margin: 0;
	}

	footer .contact{
		margin-top: 60px;
	}
}






@media only screen and (min-width: 64.063em) {
	#back_top{
		right: 40px;
		bottom: 40px;
		margin-top: -22px;
	}	
}
