
/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*, *:after, *:before {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* html element 62.5% font-size for REM use */
html {
	font-size: 62.5%;
}

body {
	font: 300 11px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #444;
}

/* clear */
.clear:before, .clear:after {
	content: " ";
	display: table;
}

.clear:after {
	clear: both;
}

.clear {}

img {
	max-width: 100%;
	vertical-align: bottom;
}

a {
	color: #8b0000;
	text-decoration: none;
}

a:hover {
	color: #8b0000;
}

a:hover, a:active {
	outline: 0;
}

input:focus {
	outline: 0;
	border: 1px solid #04a4cc;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width: 1280px;
	width: 95%;
	margin: 0 auto;
	position: relative;
}

/* header */
.header {}

/* logo */
.logo {}

.logo-img {}

/* nav */
.nav {}

/* sidebar */
.sidebar {}

/* footer */
.footer {}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/
@media only screen and (min-width:320px) {}

@media only screen and (min-width:480px) {}

@media only screen and (min-width:768px) {}

@media only screen and (min-width:1024px) {}

@media only screen and (min-width:1140px) {}

@media only screen and (min-width:1280px) {}

@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {}

/*------------------------------------*\
    MISC
\*------------------------------------*/
::selection {
	background: #04a4cc;
	color: #fff;
	text-shadow: none;
}

::-webkit-selection {
	background: #04a4cc;
	color: #fff;
	text-shadow: none;
}

::-moz-selection {
	background: #04a4cc;
	color: #fff;
	text-shadow: none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/
.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter, div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	background: #fff;
	max-width: 96%;
	padding: 5px 3px 10px;
	text-align: center;
}

.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 5px;
	width: auto;
}

.wp-caption .wp-caption-text, .gallery-caption {
	font-size: 14px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.wp-caption .wp-caption-text-blog {
	font-size: 14px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
	max-width: 300px;
}

.sticky {}

.bypostauthor {}

@media (max-width:500px) {
	.wp-caption {
		width: 100% !important;
		height: auto !important;
		margin: none !important;
		padding: 10px !important;
		justify-content: center;
		text-align: center !important;
	}
	
	.wp-caption img {
		width: 100% !important;
		height: auto !important;
		margin: none !important;
		padding: 10px !important;
		justify-content: center;
		text-align: center !important;
	}
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/
@media print {
	* {
		background: transparent !important;
		color: #000 !important;
		box-shadow: none !important;
		text-shadow: none !important;
	}
	
	a, a:visited {
		text-decoration: underline;
	}
	
	a[href]:after {
		content: " (" attr(href) ")";
	}
	
	abbr[title]:after {
		content: " (" attr(title) ")";
	}
	
	.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
		content: "";
	}
	
	pre, blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}
	
	thead {
		display: table-header-group;
	}
	
	tr, img {
		page-break-inside: avoid;
	}
	
	img {
		max-width: 100% !important;
	}
	
	@page {
		margin: .5cm;
	}
	
	p, h2, h3 {
		orphans: 3;
		widows: 3;
	}
	
	h2, h3 {
		page-break-after: avoid;
	}
}

p.c-image-right {
	float: right;
	margin: 0 0 0 15px;
}

p.c-image-left {
	float: left;
	margin: 0 15px 0 0px;
}

p.c-image-right img {
	float: right;
	margin: 0 0 0 15px;
}

p.c-image-left img {
	float: left;
	margin: 0 15px 0 0px;
}

@media (max-width: 767px) {
	p.c-image-right img {
		width: 100%;
		height: auto;
		margin: 0 0 20px;
	}
}

@media (max-width: 767px) {
	p.c-image-left img {
		width: 100%;
		height: auto;
		margin: 0 0 20px;
	}
}

.c-image-right {
	float: right;
	margin: 0 0 0 15px;
}

@media (max-width: 560px) {
	.c-image-right {
		float: none;
		width: 100%;
		display: table;
		margin: 0 auto 20px;
		text-align: center;
	}
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

.header {
	position: relative;
	z-index: 99;
}

.ag-case-study-box {
	height: 100%;
	border-radius: 3px;
	box-shadow: 0 8px 15px 0 rgba(20, 50, 20, .1);
	background-color: #fff;
	text-align: center;
	margin: 10px;
	padding-right: 0px;
	padding-left: 0px;
	padding-bottom: 10px;
	transition: box-shadow .3s ease-in-out;
	min-height: 350px;
	width: 25%;
}

@media (max-width:450px) {
	.ag-case-study-box {
		width: 100%;
		min-height: 0px;
	}
}

.ag-case-study-box
.ag-case-study-box:hover {
	box-shadow: 0 5px 15px rgba(0, 0, 0, .3);
}

.ag-case-study-box h2 {
	font-size: 22px;
}
