/* service portfolio; also company structure */

.services {
	margin: 0 auto;
	text-align: center;
}

.service {
	border: 3px solid navy;
	border-radius: 1em;
	display: inline-block;
	margin: 1em 1em 0;
	height: 14em;
	vertical-align: top;
	width: 20em;
}

.service h3 {
	background: navy;
	border-radius: 0.5em 0.5em 0 0;
	color: white;
	font-weight: bold;
	margin-top: 0;
	padding: 1em;
	text-align: center;
}

.service p {
	margin: 0.5em;
	text-align: justify;
}

.endsvc {
	clear: both;
	padding: 1em;
	text-align: center;
}

@media (max-width: 370px) {
	.service {
		height: auto;
		width: 18em;
	}
}

/* company structure overrides */

.services.corp .service {
	margin-bottom: 0.5em;
	width: 32em;
}

@media (max-width: 560px) {
	.services.corp .service {
		height: auto;
		width: 24em;
	}
}

@media (max-width: 440px) {
	.services.corp .service {
		width: 18em;
	}
}

@media print {
	article.service { height: 12em; }
	.services.corp article.service {
		height: 16.5em;
		width: 20em;
	}
	article.service h3 {
		margin-bottom: 0;
		padding: 0.5em 0 0 0;
	}
	div.endsvc { padding: 1em 0; }
}
