*, *:after, *:before { border-box; box-sizing: border-box; }
.clearfix:before, .clearfix:after { content: ''; display: table; }
.clearfix:after { clear: both; }


.grid {
	overflow: hidden;
	margin: 0;
	padding: 0;
	width: 100%;
	list-style: none;
	text-align: center;
}

/* Common style */
.grid figure {
	position: relative;
	z-index: 1;
	display: inline-block;
	overflow: hidden;
	margin: -0.2em;
	width: 100%;
	height: 400px;
	background: #8b6002;
	text-align: center;
	cursor: pointer;
}
@media screen and (min-width: 440px){
	.grid figure {
		width: 50%;
	}
}
@media screen and (min-width: 768px){
	.grid figure {
		width: 50%;
	}
}
@media screen and (min-width: 999px){
	.grid figure {
		width: 33%;
	}
}
@media screen and (min-width: 1200px){
	.grid figure {
		width: 25%;
	}
}
.grid figure.partnerfigure {
	width: 100%;
	height: auto;
}
.grid figure.partnerfigure img{
	min-width: 100%;
	height: auto;
	width: 100%;
}
.grid figure img.attachment-pusher-thumb {
	position: absolute;
	display: block;
	min-height: 100%;
	opacity: 0.8;
	right: -60px;
}

.grid figure figcaption {
	padding: 2em;
	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 a.viewmore {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.grid figure a.whitelink{
	color: #fff;
	font-size: 18px;
	letter-spacing: 20px;
}
.grid figure a.whitelink:hover{
	color: #fa0;
}
.teamcontent{
	position: absolute;;
	bottom: 30px;
	z-index: 1200;
	width: 100%;
	margin-left: -50px;
	padding: 0 50px;
}
/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure a.viewmore {
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

/*---------------*/
/***** Oscar *****/
/*---------------*/

figure.effect-oscar {
	background: -webkit-linear-gradient(45deg, #333333 0%, #000000 15%, #000000 100%);
	background: linear-gradient(45deg, #000000 0%, #000000 15%, #000000 100%);
}
figure.effect-oscar h3{
	font-weight: lighter;
	font-size: 1.5em;
	margin-top: 140px;
}
figure.effect-oscar h3 span{
	font-weight: bold;
}
figure.effect-oscar p{
	color: #fff;
}
figure.effect-oscar img {
	opacity: 0.9;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect-oscar figcaption {
	padding: 3em;
	background-color: rgba(58,52,42,0.1);
	-webkit-transition: background-color 0.35s;
	transition: background-color 0.35s;
}

figure.effect-oscar figcaption::before {
	position: absolute;
	top: 30px;
	right: 30px;
	bottom: 30px;
	left: 30px;
	border: 1px solid #fff;
	content: '';
}

figure.effect-oscar h2 {
	margin: 20% 0 10px 0;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
}

figure.effect-oscar figcaption::before,
figure.effect-oscar p {
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(0);
	transform: scale(0);
}

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

figure.effect-oscar:hover figcaption::before,
figure.effect-oscar:hover p {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
	font-size: 16px;
	line-height: 15px;
}

figure.effect-oscar:hover figcaption {
	background-color: rgba(58,52,42,0);
	z-index: 10;
}

figure.effect-oscar:hover img {
	opacity: 0.4;
}

#effect-2 figure a{
	color: #333;
}
figure a{
	color: #fff;
}
/*---------------------*/
/***** TIROCINANTI *****/
/*---------------------*/
#tirocinanti h1{
	margin-bottom: 30px;
}

/*---------------------*/
/***** STARTUP *****/
/*---------------------*/
#startup h1{
	margin-bottom: 50px;
}
#startup .grid figure a:hover {
color: #fa0;
}
@media screen and (min-width: 660px){
	#startup .grid figure {
		width: 50%;
	}
}
/*-----------------*/
/***** PARTNER *****/
/*-----------------*/
#partners h1{
	margin-bottom: 50px;
}
#partners img{
	max-width: 100%;
	height: auto;
}