@charset "UTF-8";
/* CSS Document */

@font-face {
	font-family: biko;
	src:url(../fonts/bik.woff)
}

@font-face {
	font-family: gb;
	src:url(../fonts/gb.woff)
}


/*-------------------------- Normal styles ------------------------------*/

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
	background-color: rgba(232, 243, 238, 1.0);
	font-family: biko;
	letter-spacing: .75px;
	margin-top: -5px;
}

h2, nav{
	font-family: gb;
	letter-spacing: 8px;
}

.container {
	width: 85%;
	background-color: #FFFFFF;
	margin-left: auto;
	margin-right: auto;
	
	margin-top: -25px;
	max-width: 1200px;
	overflow:hidden;
	
	overflow-y: visible; 
	
	-webkit-box-shadow: 0px 0px 37px -2px rgba(0,0,0,0.48);
	-moz-box-shadow: 0px 0px 37px -2px rgba(0,0,0,0.48);
	box-shadow: 0px 0px 37px -2px rgba(0,0,0,0.48);
}

.absolute { /*fix style*/
	float: right;
}

/*--------------------------Navigation ------------------------------*/
nav {
	padding: 0;
	padding-top: 45px;
	width: 200px;
	font-size: 2.4em;
	overflow:hidden;
}

nav a {
	text-decoration: none;
	color:rgba(109,110,113,1.00);
	margin-left: -35px;
}

nav section article {
	margin-top: 10px;
}

.object-responsive, #connect-fix {
	margin-left: -35px;
	width: 250px;	
}

.object-responsive a, #connect-fix a {
	text-decoration: none;
	color:rgba(109,110,113,1.00);
	font-family: gb;
	letter-spacing: 8px;
	font-size: 3em;
}

.object-responsive a:hover, #connect-fix a:hover, .object a:hover {
	color: rgba(118,198,152,1.00);
}


/*Slide Animation*/
nav article:hover, .object-responsive:hover {
    transform: translate(10px,0);
    -webkit-transform: translate(10px,0); /** Chrome & Safari **/
    -o-transform: translate(10px,0); /** Opera **/
    -moz-transform: translate(10px,0); /** Firefox **/
}

.object, .object-responsive, .object a, .object-responsive a{
    transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out; /** Chrome & Safari **/
    -moz-transition: all .25s ease-in-out; /** Firefox **/
    -o-transition: all .25s ease-in-out; /** Opera **/
}

/*-------------------------- Intro ------------------------------*/
.logo {
	padding: 50px;
	padding-left: 75px;
	margin-left:auto;
	margin-right:auto;
	margin-top: 65px;
	width: 65%;
	max-width: 515px;
}

.hello {
	margin-top: 100px;
	background-image: url(../img/g-box.png);
	background-repeat: no-repeat;
	height: 200px;
	margin-left: 9%;
	border: 1px solid rgba(255,255,255,0.00);
	text-align: left;
}

.hello h2 {
	font-size: 3.5em;
	color: rgba(232, 243, 238, 1.0);
	float: left;
	padding-left: 75px;
	padding-top: 11px;
	font-weight:100;
}

.hello p {
	font-size: 1.1em;
	color: #414042;
	margin-top: 2%;
	margin-bottom: 4%;
	padding-left: 250px;
	padding-right: 35px;
	font-weight:100;
	line-height: 1.125em;
}

.hello-fix {
	display: none;
}

/*-------------------------- Work Header and Container ------------------------------*/
.work {
	margin-top: 450px;
	width: 100%;
}

.p-box { 
	background-image:url(../img/p-box.svg);
	background-repeat:no-repeat;
	height: 100px;
	width: 800px;
}

.p-box h2 {
	float:right;
	font-size: 2.3em;
	color: rgba(255, 255, 255, .90);
	margin-top: 11px;
	margin-right: 125px;
	font-weight:100;
	letter-spacing: 10.5px;
}

/*-------------------------- portfolio contents container and animations ------------------------------*/
#port {
	padding-bottom: 75px;
	margin-left:auto;
	margin-right:auto;
	max-width: 1000px;
}

#port ul {
	margin-top: 5px;
	padding-bottom: 85px;
	width: 90%;
	margin-left: 1%;
}

#port ul li{
	list-style:none;
	padding-top: 45px;
	cursor: pointer;
	-webkit-transform: translateZ(0);  /*My Work hover effect GROW*/
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
  
  	filter: grayscale(100%);  /*Grayscale Filter*/
	-webkit-filter: grayscale(100%);
	filter: gray;
    transition: all .4s ease; /*Grayscale filter --> color fade transition*/
}

#port ul li img {
	width: 99%;
}
	
#port ul li:hover, #port ul li:focus, #port ul li:active {
  -webkit-transform: scale(1.04);
  transform: scale(1.04);
  cursor: pointer;
  
  filter: grayscale(0%); /*Color filter on hover*/
  -webkit-filter: grayscale(0%);
}

/*--------------------------Footer ------------------------------*/

footer {
	color: rgba(255,255,255,1.00);
	font-weight: lighter;
	margin-top: -25px;
	height: auto;
	background-color: white;
	max-width: 1200px;
	width: 85%;
	margin-left: auto;
	margin-right: auto;
	text-align:center;
	
	
}

footer h3 {
	padding-top: 2.5em;
	font-size: 1.1em;
	font-weight: 100;
	letter-spacing: 3px;
	color:rgba(255,255,255,1.00);
	line-height: 1.5em;
}

footer section article h3 {
	font-family: biko;
	color:rgba(25,25,25,1.00);
	font-size: 2em;
	font-weight: lighter;
	
	border-bottom: 2px solid rgba(118,198,152,1.00);
	
	width: 15%;
	margin-left:auto;
	margin-right:auto;
	
	padding: 0;
	margin-bottom: -55px;
	margin-top: 33px;
}

footer section {
	text-align:center;
}

footer ul {
	padding-top: 4.25em;
	list-style:none;
	margin-left:auto;
	margin-right:auto;
	padding-left:0;
	padding-bottom: .7em;
}

footer ul li {
	display: inline-block;
	padding: 15px 6.6%;
}

footer ul li img {
	width: 90%;
	height: auto;
}

#purple-bar {
	background-color: rgba(79,46,126,1.00);
	height: 7em;
	
	-webkit-box-shadow: 0px 0px 19px 0px rgba(235,235,235,1.00);
	-moz-box-shadow: 0px 0px 19px 0px rgba(235,235,235,1.00);
	box-shadow: inset 0 20px 20px -20px  rgba(235,235,235,1.00);
}

#gray-bar {
	height: 5%;
	background-color:rgba(92,92,92,1.00);
	
	-webkit-box-shadow: 0px 0px 19px 0px rgba(235,235,235,1.00);
	-moz-box-shadow: 0px 0px 19px 0px rgba(235,235,235,1.00);
	box-shadow: inset 0 20px 20px -20px  rgba(235,235,235,1.00);
}

#black-bar {
	background-color:rgba(39,39,39,1.00);
	height: 4em;
	font-family:biko;
	font-size: 1em;
}

#black-bar p {
	padding:8px;
	background-color: rgba(118,198,152,1.00);
	width: 20%;
	margin-right: 0px;
	margin-left: 70%;
}

/*--------------------------Back to top java scirpt ------------------------------*/

.cd-top {
  display: inline-block;
  height: 50px;
  width: 50px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: rgba(79,46,126,0.67) url(../img/up-box.png) no-repeat center 10%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}
.no-touch .cd-top:hover {
  background-color: #e86256;
  opacity: 1;
}


@media only screen and (min-width: 768px) {
  .cd-top {
    right: 20px;
    bottom: 20px;
  }
}
@media only screen and (min-width: 1024px) {
  .cd-top {
    height: 60px;
    width: 60px;
    right: 30px;
    bottom: 30px;
  }
}



/*-------------------------- Responsive ------------------------------*/

@media (max-width: 1090px) {
	
#port ul li{
  	filter: grayscale(0%);  /*Grayscale Filter*/
	-webkit-filter: grayscale(0%);
}
	
.logo {
	margin-top: 0px;
}
	
.hello {
	margin-top: 50px;
	background-image: url(../img/g-box-responsive.png) !important;
	height: 280px;
}

.hello h2 {
	padding-top: 52px;
	padding-left: 90px;
}

.hello p {
	margin-top: 6%;
}

.work {
	margin-top: 450px;
	margin-left: .7em;
}

.p-box {
	width: 700px;
}

.p-box h2 {
	margin-top: 7px;
}

#port ul li{
	padding-top: 22px;
	padding-bottom: 25px;
	margin-right: 80px;
	margin-left: ;
}

#port ul li img {
	width: 106%;
}

.p-box {
	margin-left: -10.5px;
}
}   /*----------------------------------------------------------*/

@media (max-width: 950px) {

.container, footer {
	width: 100%;
	box-shadow: none;	
}

.p-box {
	margin-left: -20px;
}

body {
	background-color: #FFF;
}

.logo-bosch {
	width: 80% !important;
	padding-left: 0px !important;
}
	
#rfgmock {
		width: 60% !important;
}
	
#rfg-fix {
		margin-left: -30px;
}

#plast-fix {
	margin-top: -75px !important;
}
}  /*----------------------------------------------------------*/

@media (max-width: 780px) {
	
#bg-01 {
	display: none;
}
	

	
.body {
	background-color:  #FFFFFF;
}

.container { 
	width:100%;
}

.work {
	margin-left: auto;
	margin-right:auto;
}

.p-box {
	margin-left: auto;
	margin-right:auto;
	width: 100%;
	background-color: rgba(79,46,126,1.00);
	background-image:none;
	
	margin-bottom: 65px;
	
	height: 4.25em;
}

.p-box h2 { 
	padding-top: .5em;
	font-size: 2em;
	float: none;
	width:100%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.logo {
	padding-top: 100px; 
	padding-left: 65px;
}

.hello {
	margin-left: auto;
	
	background-color: #76C698;
	background-repeat: no-repeat;
	height: auto;
}

.hello h2 {
	padding-left: 71px; 
	padding-top: 3%;
}

.hello p {
	font-size: 1.1em;
	color: #414042;
	margin-top: 2%;
	margin-bottom: 4%;
	padding-left: 250px;
	padding-right: 35px;
	font-weight:100;
	line-height: 1.125em;
}	

#port ul {
	padding-bottom: 0px;
	margin-left: -16.25%;
	width: 122%;
}

#port ul li {
	padding-top: 2%;
	padding-bottom: 4%;
}

#bg-01 {
	margin-left: 25% !important;
}

legend {
	font-size: 2.2em !important;
}

.board {
	display: block !important;
	width: 55% !important;
	margin-left: auto;
	margin-right: auto;
}

.logo-rfg {
	width: 50% !important;
}





} /*----------------------------------------------------------*/

@media (max-width: 640px) {
	
.logo {
	padding-top: 0;
	margin-top: 15%;
	width: 90%;
	padding: 0;
	padding-bottom: 75px;
}
	
nav {
	display: none;
}

#connect-fix {
	display: block !important;
	position:absolute;
	margin-top: 90%;
	padding-top: 3em;
}

.hello {
	height: 60% !important;
}

.hello h2 {
	display: none;
}

.hello-fix {
	display: block;
	border-bottom: 2.5px solid rgba(118,198,152,1.00);
	width: 40%;
	font-size: 3em;
	font-weight: 100;
	text-align: center;
	
	margin-left:auto;
	margin-right:auto;
	margin-bottom: -40px;
}

.hello p {
	padding: 3% 4.5%;
	text-align:left;
	font-size: 1em;
	font-family:Arial, Helvetica, sans-serif !important;
}

.p-box a {
	font-size: 1.2em;
}

#port ul {
	width: 180%;
	margin-left: -45%;
}


/*Individual responsive page styles*/

/*Bosch*/

.logo-bosch {
	width: 100%;
	margin-top: 10em !important;
}

.bosh-photo-container img {
	width: 100% !important;
	margin-left: -9% !important;
}

.bosch-photo-container li {
	margin-left: -9% !important;
}

#rfglogo, {
	width: 75% !important;
}

#rfg-fix {
	margin-left: -6% !important;
}

#rfg-fix img {
	width: 100%;
}

#rfgmock {
	width: 80% !important;
}

} /*----------------------------------------------------------*/

@media (max-width: 500px) {

.logo {
	padding-bottom: 0px;
}
	
.p-box h2 {
	padding-top: 0.25em;
}
	
footer section article h3 {
	display: none;
}

footer h3 {
	padding-top: 2em;
}

footer ul {
	padding-top: 1.25em;
	
}

footer ul li {
	display: inline-block;
	padding: 35px 10%;
}

footer ul li img {
	width: 100%;
	height: auto;
}

#purple-bar {
	
}

#black-bar p {
	width: 40%;
	margin-left: 50%;
}
	
	
} /*----------------------------------------------------------*/

/* Small Devices, Tablets TURNS OFF ALL ANIMATIONS FOR SMALL DEVICES*/
@media only screen and (max-width : 768px) {
	.animated {
		/*CSS transitions*/
		-o-transition-property: none !important;
		-moz-transition-property: none !important;
		-ms-transition-property: none !important;
		-webkit-transition-property: none !important;
		transition-property: none !important;
		/*CSS transforms*/
		-o-transform: none !important;
		-moz-transform: none !important;
		-ms-transform: none !important;
		-webkit-transform: none !important;
		transform: none !important;
		/*CSS animations*/
		-webkit-animation: none !important;
		-moz-animation: none !important;
		-o-animation: none !important;
		-ms-animation: none !important;
		animation: none !important;
	}
	
	nav article:hover{
    transform: none !important;
    -webkit-transform: none !important; /** Chrome & Safari **/
    -o-transform: none !important; /** Opera **/
    -moz-transform: none !important; /** Firefox **/
}

.object, .object-responsive, .object a, .object-responsive a { {
    transition: none !important;
    -webkit-transition: none !important; /** Chrome & Safari **/
    -moz-transition: none !important; /** Firefox **/
    -o-transition: none !important; /** Opera **/
}

#port ul li:hover, #port ul li:focus, #port ul li:active {
  -webkit-transform: none !important;
  transform: none !important;
  
  filter: none !important; /*Color filter on hover*/
  -webkit-filter: none !important;
}

#port ul li{
	-webkit-transform: none !important;  /*My Work hover effect GROW*/
    transform: none !important;
    -webkit-backface-visibility: none !important;
    backface-visibility: none !important;
    -moz-osx-font-smoothing: none !important;
    -webkit-transition-duration: none !important;
    transition-duration: none !important;
    -webkit-transition-property: none !important;
    transition-property: none !important;
  
  	filter: none !important;  /*Grayscale Filter*/
	-webkit-filter: none !important;
	filter: none !important;
    transition: none !important; /*Grayscale filter --> color fade transition*/
}
}
