.grid {
	position: relative;
	clear: both;
	margin: 0 auto;
	max-width: 1280px;
	list-style: none;
	text-align: center;
}

/* Common style */
.grid figure {
	position: relative;
	overflow: hidden;
	min-width: 320px;
	max-width: 480px;
	max-height: 360px;
	width: 404px;
	margin:auto;
	display:inline-block;
	height: auto;
	background: #3085a3;
	text-align: center;
	cursor: pointer;
	margin:0 -4px 0 0;
}

.grid figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 1;
}

.grid figure figcaption {
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h2 {
	font-weight: bold;
	font-size:18px;
}

.grid figure h2 span {
	font-weight: 800;
}

.grid figure h2,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}

/*-----------------*/
/***** Goliath *****/
/*-----------------*/

figure.effect-goliath {
	background:url(../images/1a.jpg) no-repeat left;
	position: absolute;
    right: 239px;
    top: -158px;
}

figure.effect-goliath img,
figure.effect-goliath h2 {
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

figure.effect-goliath img {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

figure.effect-goliath h2,
figure.effect-goliath p {
	position: absolute;
	bottom: 0;
	left: 8px;
	padding: 30px;
}

figure.effect-goliath p {
	text-transform: none;
	font-size: 90%;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,50px,0);
	transform: translate3d(0,50px,0);
}

figure.effect-goliath:hover img {
	-webkit-transform: translate3d(202px,0,0);
	transform: translate3d(202px,0,0);
}

figure.effect-goliath:hover h2 {
	-webkit-transform: translate3d(210px,0,0);
	transform: translate3d(210px,0,0);
}

figure.effect-goliath:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}



figure.effect-goliath1 {
	background:url(../images/2a.jpg) no-repeat left;
}

figure.effect-goliath1 img,
figure.effect-goliath1 h2 {
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

figure.effect-goliath1 img {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

figure.effect-goliath1 h2,
figure.effect-goliath1 p {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 30px;
}

figure.effect-goliath1 p {
	text-transform: none;
	font-size: 90%;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,50px,0);
	transform: translate3d(0,50px,0);
}

figure.effect-goliath1:hover img {
	-webkit-transform: translate3d(202px,0,0);
	transform: translate3d(202px,0,0);
}

figure.effect-goliath1:hover h2 {
	-webkit-transform: translate3d(202px,0,0);
	transform: translate3d(202px,0,0);
}

figure.effect-goliath1:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}


figure.effect-goliath2 {
	background:url(../images/3a.jpg) no-repeat left;
}

figure.effect-goliath2 img,
figure.effect-goliath2 h2 {
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

figure.effect-goliath2 img {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

figure.effect-goliath2 h2,
figure.effect-goliath2 p {
	position: absolute;
	bottom: 0;
	left: 6px;
	padding: 30px;
}

figure.effect-goliath2 p {
	text-transform: none;
	font-size: 90%;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,50px,0);
	transform: translate3d(0,50px,0);
}

figure.effect-goliath2:hover img {
	-webkit-transform: translate3d(202px,0,0);
	transform: translate3d(202px,0,0);
}

figure.effect-goliath2:hover h2 {
	-webkit-transform: translate3d(205px,0,0);
	transform: translate3d(205px,0,0);
}

figure.effect-goliath2:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}



figure.effect-goliath3 {
	background:url(../images/4a.jpg) left no-repeat;
}

figure.effect-goliath3 img,
figure.effect-goliath3 h2 {
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

figure.effect-goliath3 img {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

figure.effect-goliath3 h2,
figure.effect-goliath3 p {
	position: absolute;
	bottom: 0;
	left:10px;
	padding: 30px;
}

figure.effect-goliath3 p {
	text-transform: none;
	font-size: 90%;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,50px,0);
	transform: translate3d(0,50px,0);
}

figure.effect-goliath3:hover img {
	-webkit-transform: translate3d(202px,0,0);
	transform: translate3d(202px,0,0);
}

figure.effect-goliath3:hover h2 {
	-webkit-transform: translate3d(202px,0,0);
	transform: translate3d(202px,0,0);
}

figure.effect-goliath3:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}



figure.effect-goliath4 {
	background:url(../images/5a.jpg) left no-repeat;
	position:absolute;
	top:158px;
	left:238px;
}

figure.effect-goliath4 img,
figure.effect-goliath4 h2 {
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

figure.effect-goliath4 img {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

figure.effect-goliath4 h2,
figure.effect-goliath4 p {
	position: absolute;
	bottom: 0;
	left:10px;
	padding: 30px;
}

figure.effect-goliath4 p {
	text-transform: none;
	font-size: 90%;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,50px,0);
	transform: translate3d(0,50px,0);
}

figure.effect-goliath4:hover img {
	-webkit-transform: translate3d(202px,0,0);
	transform: translate3d(202px,0,0);
}

figure.effect-goliath4:hover h2 {
	-webkit-transform: translate3d(205px,0,0);
	transform: translate3d(205px,0,0);
}

figure.effect-goliath4:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}


figure.effect-goliath5 {
	background:url(../images/6a.jpg) left no-repeat;
	position:absolute;
	right:36px;
	top:158px;
}

figure.effect-goliath5 img,
figure.effect-goliath5 h2 {
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

figure.effect-goliath5 img {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

figure.effect-goliath5 h2,
figure.effect-goliath5 p {
	position: absolute;
	bottom: 0;
	left:10px;
	padding: 30px;
}

figure.effect-goliath5 p {
	text-transform: none;
	font-size: 90%;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,50px,0);
	transform: translate3d(0,50px,0);
}

figure.effect-goliath5:hover img {
	-webkit-transform: translate3d(202px,0,0);
	transform: translate3d(202px,0,0);
}

figure.effect-goliath5:hover h2 {
	-webkit-transform: translate3d(205px,0,0);
	transform: translate3d(205px,0,0);
}

figure.effect-goliath5:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}


/* Media queries */
@media screen and (max-width: 50em) {
	.content {
		padding: 0 10px;
		text-align: center;
	}
	.grid figure {
		display: inline-block;
		float: none;
		/*margin: 10px auto;*/
		width: 100%;
	}
	#header .logo{width:100%; top:-281px;}
}

/* skillbar */
.skillbar {
	position:relative;
	display:block;
	margin: 5px 0 20px 30px;
	width:93%;
	background:#eee;
	height:20px;
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	-webkit-transition:0.4s linear;
	-moz-transition:0.4s linear;
	-ms-transition:0.4s linear;
	-o-transition:0.4s linear;
	transition:0.4s linear;
	-webkit-transition-property:width, background-color;
	-moz-transition-property:width, background-color;
	-ms-transition-property:width, background-color;
	-o-transition-property:width, background-color;
	transition-property:width, background-color;
}

.skillbar-title {
	position:absolute;
	top:0;
	left:0;
	font-weight:bold;
	font-size:12px;
	color:#fff;
	background:#6adcfa;
	-webkit-border-top-left-radius:3px;
	-webkit-border-bottom-left-radius:4px;
	-moz-border-radius-topleft:3px;
	-moz-border-radius-bottomleft:3px;
	border-top-left-radius:3px;
	border-bottom-left-radius:3px;
}

.skillbar-title span {
	display:block;
	background:rgba(0, 0, 0, 0.1);
	padding:0 10px;
	height:20px;
	line-height:20px;
	-webkit-border-top-left-radius:3px;
	-webkit-border-bottom-left-radius:3px;
	-moz-border-radius-topleft:3px;
	-moz-border-radius-bottomleft:3px;
	border-top-left-radius:3px;
	border-bottom-left-radius:3px;
}

.skillbar-bar {
	height:20px;
	width:0px;
	background:#6adcfa;
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
}

.skill-bar-percent {
	position:absolute;
	right:10px;
	top:0;
	font-size:11px;
	height:20px;
	line-height:20px;
	color:#444;
	color:rgba(0, 0, 0, 0.4);
}


