.tiles {
	padding: 10px;
	background: #fff;
}
.tiles__list {
	width: calc(100% + 10px);
	margin: 0 -5px -10px;
	overflow: auto;
}
.tiles__list .tile {
	display: block;
	float: left;
	width: calc(100% - 10px);
	height: 300px;
	margin: 0 5px 10px;
	position: relative;
	overflow: hidden;
	background-color: #f5f5f5;
	background-size: cover;
	background-position: center;
}
.tiles__list .tile__bg {
	min-width: 100%;
	min-height: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
.tile__content {
	position: absolute;
	top: auto;
	right: auto;
	bottom: 50px;
	left: 0;
	max-width: calc(100% - 25px);
	min-width: 0%;
	height: 45px;
	padding: 10px 25px;
	display: table;
	overflow: hidden;
	color: #fff;
	background-color: rgba(0, 87, 135, 1);
	color: #fff;
	text-align: center;
	box-shadow: 5px 5px 0 #29a7cf;
	-webkit-transition:
		height 100ms,
		bottom 100ms,
		padding 100ms,
		right 100ms 250ms,
		min-width 150ms 150ms,
		background-color 100ms 150ms;
	transition:
		height 100ms,
		bottom 100ms,
		padding 100ms,
		right 100ms 250ms,
		min-width 150ms 150ms,
		max-width 150ms 150ms,
		background-color 100ms 150ms;
}
.tile__inner {
	display: table-cell;
	vertical-align: middle;
}
.tiles__list .tile:hover .tile__content,
.tiles__list .tile.selected .tile__content {
	bottom: 0;
	height: 100%;
	min-width: 100%;
	max-width: 100%;
	padding: 50px 25px;
	background-color: rgba(0, 87, 135, 0.9);
	-webkit-transition:
		height 100ms 150ms,
		bottom 100ms 150ms,
		padding 100ms 150ms,
		right 100ms,
		min-width 150ms,
		background-color 100ms 150ms;
	transition:
		height 100ms 150ms,
		bottom 100ms 150ms,
		padding 100ms 150ms,
		right 100ms,
		min-width 150ms,
		max-width 150ms,
		background-color 100ms 150ms;
}
.tile__heading {
	color: inherit;
	font: 14px/1.714 Roboto, sans-serif;
    text-transform: uppercase;
	-webkit-transition: font-weight 150ms;
	transition: font-weight 150ms;
}
.tiles__list p,
.tiles__list ul {
	display: block;
	width: 100%;
	margin: 0;
	max-height: 0;
	padding: 0;
	opacity: 0;
	color: #7dbad8;
	font: 16px/1.25 Roboto, sans-serif;
	text-indent: -9999px;
	-webkit-transition:
		text-indent 0,
		opacity 100ms,
		max-height 0;
	transition:
		text-indent 0,
		opacity 100ms,
		max-height 0;
}
.tiles__list ul li {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: 20px;
	background: none;
}
.tiles__list ul a {
	display: block;
	width: 100%;
	-webkit-transition: color 150ms;
	transition: color 150ms;
}
.tiles__list ul p {
	color: #fff;
}
.tiles__list ul a:hover {
	color: #fff;
}
.tiles__list .tile:hover p,
.tiles__list .tile:hover ul,
.tiles__list .tile.selected p,
.tiles__list .tile.selected ul {
	opacity: 1;
	max-height: 100%;
	margin: 25px 0 0;
	text-indent: 0;
	-webkit-transition:
		text-indent 0,
		opacity 250ms 300ms,
		max-height 0 200ms,
		margin 0 200ms;
	transition:
		text-indent 0,
		opacity 250ms 300ms,
		max-height 0 200ms,
		margin 0 200ms;
}
@media (min-width: 381px) and (max-width: 440px), (min-width: 781px) and (max-width: 900px), (min-width: 1121px) and (max-width: 1300px) {
	.tile__heading {
		font: 16px/1.5 Roboto, sans-serif;
	}
}
@media (min-width: 441px) and (max-width: 660px), (min-width: 901px) and (max-width: 960px), (min-width: 1301px) {
	.tile__heading {
		font: 18px/1.333 Robot, sans-serif;
	}
}
@media (min-width: 661px) and (max-width: 720px), (min-width: 961px) and (max-width: 1020px) {
	.tile__heading {
		font: 12px/2 Roboto, sans-serif;
	}
}
@media (min-width: 721px) and (max-width: 780px), (min-width: 1021px) and (max-width: 1120px) {
	.tile__heading {
		font: 14px/1.714 Roboto, sans-serif;
	}
}

@media (min-width: 661px) {
	.tiles {
		padding: 40px;
	}
	.tiles__list {
		margin: 0 -6px -12px;
	}
	.tiles__list .tile {
		width: calc(50% - 12px);
		margin: 0 6px 12px;
	}
}
@media (min-width: 961px) {
	.tiles__list .tile {
		width: calc(33.333% - 12px);
	}
}