html, body, div, span, p, a, img, ol, ul, li, fieldset, form, label, article, aside, footer, header, nav, section, main{
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
h1, h2, h3, h4, h5, h6{
	margin: 0;
}
article, aside, footer, header, nav, section, main{
	display: block;
}
html{
	min-width: 320px;
}
body{
	font: 500 16px/1.4 'Raleway', sans-serif;
	color: #7c7c7c;
	background: url(../img/bg.jpg) no-repeat center 0 #202020;
}
a{
	text-decoration: none;
}
img{
	display: block;
	max-width: 100%;
}
*{
	box-sizing: border-box;
}


/* Globalne -------------- */

.clr{
	clear: both;
}

.clrfix:after {
	content:"";
	display:table;
	clear:both;
}

.in{
	
}

.logo{
	padding: 20px 0 30px;
}

.logo img{
	max-width: 85%;
	max-height: 110px;
	margin: 0 auto;
}

.tiles{
	padding-bottom: 50px;
	text-align: center;
}

.tiles_wrapper{
	display: inline-block;
}

.tiles a{
	color: inherit;
}

.tiles .tile{
	width: 291px;
	float: left;
	padding-bottom: 10px;
	margin: 0 15px;
	box-shadow: 0 21px 10px -10px rgba(0,0,0,.7);
	background: #fff;
	-webkit-transition: all .5s ease;
	transition: all .5s ease;
	-webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
}

.tiles .tile:hover{
/* 	box-shadow: 0 21px 10px -10px rgba(0,0,0,.7), 0 0 10px 0px rgba(0,0,0,.7); */
	-webkit-transform: scale(1.03) translateZ(0);
	transform: scale(1.03) translateZ(0);
}

.tile img{
	width: 100%;
}

.tile h2{
	padding: 7px 7px;
	font-size: 12px;
	font-weight: 500;
	background: #f2f2f2;
}

.tile.tech h2 span{
	color: #e32229;
}

.tile.works h2 span{
	color: #ea9a0f;
}

.tile.energy h2 span{
	color: #61a320;
}

.tile h3{
	font-size: 23px;
	line-height: 65px;
	color: #3b3b3b;
}

.tile h3 span{
	position: relative;
	line-height: 1;
}

.tile h3 span::after{
	position: absolute;
	top: 100%;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	content: "";
}

.tile.tech h3 span::after{
	width: 129px;
	height: 10px;
	background: url(../img/tile_stripe1.png);
}

.tile.works h3 span::after{
	width: 87px;
	height: 10px;
	background: url(../img/tile_stripe2.png);
}

.tile.energy h3 span::after{
	width: 88px;
	height: 10px;
	background: url(../img/tile_stripe3.png);
}

.bottom_stripe{
	height: 160px;
	background: #de1a22;
	background: -webkit-linear-gradient(left, #de1a22 0%,#5d0407 100%);
	background: linear-gradient(to right, #de1a22 0%,#5d0407 100%);
}



/* Media --------------- */

/* @media screen and (max-width: 1050px){
	
	.tiles_wrapper{
		width: 90%;
	}
	
	.tiles .tile{
		width: calc(33.333% - 30px);
	}
	
	
	
} */

@media screen and (max-width: 750px){
	
	body{
		background-size: 1300px auto;
	}
	
/* 	.tiles .tile{
		width: 370px;
		float: none;
		margin: 0 auto 20px;
	} */
	
	.tiles_wrapper{
		width: 90%;
	}
	
	.tiles{
		padding-bottom: 20px;
	}
	
	.tiles .tile{
		width: 45%;
		margin: 0 2% 20px;
	}
	
	.tiles a:nth-child(3) .tile{
		clear: both;
	}
	
	.bottom_stripe{
		height: 50px;
	}
	
}

@media screen and (max-width: 560px){
	
	.tiles .tile{
		width: 90%;
		max-width: 370px;
		margin: 0 auto 20px;
		float: none;
	}
	
}