#ah-hrgrid-shortcode-container { max-width: 1280px; display: block; margin: 10px auto; height: 460px; }
	
#ah-grid-wrapper {
	display: block;
	height: 460px;
	width: 96%;
	margin: auto;
	max-width: 1200px;
}			
			
.ah-grid-link {
	width: 17%;
	display: block;
	float: left;
	text-align: center;
	padding: 15px 10px;
	text-decoration: none !important;
	font-size: 15px !important;
	height: 220px;
	max-width: 198px;
	margin: 1px;
	background: #fff;
}

.ahcb-container:hover, .ah-grid-link:hover {
	background: linear-gradient(90deg, rgba(17,17,17,1) 5%, rgb(101, 67, 33) 100%) !important;
}

.ah-grid-link:hover h3.ah-grid-title,
.ah-grid-link:hover .ah-grid-lupdate,
.ah-grid-link:hover .ah-grid-country {
	color: #fff !important;
}

.ah-grid-icon {
	background: url(/wp-content/themes/airline-history/images/air_plane_airport-32x32.png) no-repeat !important;
	height: 32px;
	width: 32px;
	margin: 5px auto;
	display: block;
}	

h3.ah-grid-title {
	font-size: 2.0rem !important;
	font-size: 20px !important;
	height: 65px;
	line-height: 1;
}

.ah-grid-country {
	font-size: 16px !important;
	line-height: 1;
}

@media only screen and (max-width: 1280px) {
	
	#ah-hrgrid-shortcode-container { height: 460px; }
	
	#ah-grid-wrapper {
		height: 460px;
	}
	
	.ah-grid-link {
		width: 16.3%;
		max-width: 24%;
		padding: 15px 5px;
		margin: 1;
	}

}

@media only screen and (max-width: 1050px) {
	
	.ah-grid-link {
		width: 19.5%;
	}
	
}

@media only screen and (max-width: 768px) {
	
	.ah-grid-link {
		width: 32.3%;
		max-width: 32.3%;
		padding: 15px 10px;
		margin: 0.51%;
	}
	
	h3.ah-grid-title {
		font-size: 1.8rem !important;
		font-size: 18px !important;
		height: 50px;
	}

}

@media only screen and (max-width: 450px) {
	
	.ah-grid-link {
		width: 48%;
		max-width: 48%;
		margin: 1%;
	}

}
