/* ------------------------------------------------------
   Variables for easy find and replace


	$link:					#0a5883;
	$link-hover:			#054b72;

	$second-bg-color: #F6F6F6;
	$second-font-color: #707070;
	$table-border-color: #D6D6D6;

	$body-font:				sans-serif;
	$heading-font:			Helvetica;

	futura font-weight bold = 500

	Table of Contents for search based navigation


BASE STYLES

**** Box Model Reset

**** Typography
---- Lists
---- Breadcrumbs
---- Quotations
---- Text level elements
---- Links

**** Content Design Patterns
---- Buttons
---- Expando Styles
---- Content Highlight box
---- Date Pattern
---- Site Messages

**** Images

**** Forms
---- Form Help
---- Form Errors
---- Horizontal Form
---- Oldschool Table based form styles
---- Search Form
---- Submit Bar
---- Captcha

**** Tables
---- No Styles Table

**** Logo Gallery

**** Helper classes
---- Clearfix
---- Floats and positioning
---- Visually Hidden

GLOBAL TEMPLATE

**** Template Layout
---- columns
---- Project Category listing buttons
---- Project Gallery styles
---- reusable heading style
---- reusable button bar
---- Header
---- Profiles layout
---- footer
---- site search

**** Widgets and modules
---- Related Links
---- widget-ArticlesList
---- Simple Image Gallery
---- Gallery
---- Gallery Preview
---- Children Page Gallery
---- Job Search
---- Order Form
---- Videos

**** Media Queries

**** Print styles

------------------------------------------------------ */

/* ------------------------------------------------------
**** Box Model Reset
------------------------------------------------------ */

*, *:before, *:after {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
 }


/* ------------------------------------------------------
**** Typography
------------------------------------------------------ */

html {
	font-size: 62.5%;
	-ms-text-size-adjust: 100%; /* These two prevent iOS text size adjust after orientation change, without disabling user zoom. */
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	line-height: 1.45;
	font-size: 20px;
	font-size: 2rem;
	font-weight: 300;
	color: #595959;
	font-family: "futura-pt", Helvetica, Arial, sans-serif;
}


/* ---- Headings ---- */

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
	margin: 0 0 15px 0;
	margin: 0 0 1.5rem 0;
	text-rendering: optimizelegibility;
	font-family: "futura-pt", Helvetica, sans-serif;
	font-weight: 300;
}
	h1 small,
	h2 small,
	h3 small,
	h4 small,
	h5 small,
	h6 small {
		font-weight: normal;
		line-height: 1;
		color: #8a7b7b;
	}

	p + h1,
	p + h2,
	p + h3,
	p + h4,
	p + h5,
	p + h6 {
		margin-top: 30px;
		margin-top: 3rem;
	}


h1, .h1 {
	line-height: 38px;
	line-height: 3.8rem;
	font-size: 38px;
	font-size: 3.8rem;
	color: #054b72;
	font-weight: 400;
	text-transform: uppercase;
}

h2, .h2 {
	font-size: 24px;
	font-size: 2.4rem;
	text-transform: uppercase;
}

h3, .h3 {
	font-size: 19px;
	font-size: 1.9rem;
	text-transform: uppercase;
}

h4, .h4 {
	font-size: 18px;
	font-size: 1.8rem;
}

h5, .h5 {
	font-size: 17px;
	font-size: 1.7rem;
}

.heading-inline {
	display: inline;
	float: left;
	padding: 0;
}

p,
ol,
ul,
dl,
p,
ol,
ul,
dl,
address {
	margin: 0 0 15px;
	margin: 0 0 1.5rem;
}

small {
	font-size: 12.8px;
	font-size: 1.28rem;
}

/* ---- Lists ---- */

ul,
ol {
	padding: 0 0 0 20px;
	padding: 0 0 0 2rem;
}


li ul,
li ol {
	list-style-type: none;
	margin: 1rem 0;
}

ul.inline,
ol.inline {
	list-style-type: none;
	margin-left: 0;
}
	ul.inline > li,
	ol.inline > li {
		display: inline-block;
		padding-left: 12px;
		padding-right: 12px;
	}

/* ---- Breadcrumbs ---- */

.breadcrumb {
	list-style-type: none;
	margin: 15px 0;
	margin: 1.5rem 0;
	padding: 10px 0;
	border-top: 1px solid #c6bfb5;
	border-bottom: 1px solid #c6bfb5;
	font-size: 16px;
	font-size: 1.6rem;
	color: #b3aa9d;
}
	.breadcrumb > li {
		display: inline;
		*display: inline;
		*zoom: 1;
	}
	.breadcrumb > li a {
		color: #434444;
	}
	.breadcrumb > li:before {
		content: " | ";
		padding: 0 5px;
	}
	.breadcrumb > li:first-child:before {
		content: none;
	}


/* ---- Quotations ---- */

blockquote {
	margin: 15px 0;
	margin: 1.5rem 0;
	padding: 5px 20px 15px;
	background: #f6f6f6;
	font-style: normal;
}

/* ---- Text level elements ---- */

abbr[title] {
	border-bottom: 1px dotted #c6bfbf;
	cursor: help;
}

b, strong {
	font-weight: 500;
}

dfn {
	font-style: italic;
}

ins {
	background-color: #f6f6f6;
	color: #473f3f;
	text-decoration: none;
}

mark {
	background-color: #f6f6f6;
	color: #473f3f;
	font-style: italic;
	font-weight: 500;
}

pre,
code,
kbd,
samp {
	font-family: Monaco, Courier New, monospace;
	color: #484040;
	background: #efefef;
	background: rgba(0, 0, 0, .07);
	padding: 0 2px;
	margin: 0 -2px;
}

pre {
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -.5em;
}

sub {
	bottom: -.25em;
}


/* ---- Links ---- */

a {
	color: #0a5883;
	word-break: break-word;
	-webkit-transition: all 300ms ease;
	-moz-transition: all 300ms ease;
	-ms-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease;
}

a:hover {
	color: #054b72;
}

/* Address `outline` inconsistency between Chrome and other browsers. */
a:focus {
	outline: thin dotted;
}

/* Improve readability when focused and also mouse hovered in all browsers. */
a:active,
a:hover {
	outline: 0;
}


/* ------------------------------------------------------
**** Design Patterns

Reusable bits of badass code that we probably use a lot

------------------------------------------------------ */

/* ---- Buttons ---- */

.button {
	/* Structure */
	display: inline-block;
	*display: inline; /*IE 6/7*/
	zoom: 1;
	margin-bottom: 0;
	white-space: nowrap;
	vertical-align: middle;
	text-align: center;
	cursor: pointer;
	/* styles */
	font-weight: normal;
	font-family: inherit;
	line-height: 1;
	color: #fff;
	background-color: #9c8a6e;
	text-decoration: none;
	border: none;
	font-size: 100%;
	*font-size: 90%; /*IE 6/7 - To reduce IE's oversized button text*/
	*overflow: visible; /*IE 6/7 - Because of IE's overly large left/right padding on buttons */
	padding: 10px 15px 8px; /* not the below equiv, dif for ie8 */
	padding: 1.05rem 15px 0.8rem;
	transition: background 300ms ease-in-out;
}

/* Firefox: Get rid of the inner focus border */
.button::-moz-focus-inner {
	padding: 0;
	border: 0;
}

.button-hover,
.button:hover,
.button:focus {
	background-color: #7b6c55;
	color: #fff;
}

.button-small {
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 8px;
	line-height: 0.8rem;
	padding: 5px 8px 5px;
	margin: -2px 0
}

.button-large {
	font-size: 20px;
	font-size: 2rem;
	padding: 15px 18px 10px;
}

.button-block {
	display: block;
}

/* Disabled/unavailable button style */

.button[disabled],
.button-disabled,
.button-disabled:hover,
.button-disabled:focus,
.button-disabled:active {
	border: none;
	background-image: none;
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
	filter: alpha(opacity=40);
	-khtml-opacity: 0.40;
	-moz-opacity: 0.40;
	opacity: 0.40;
	cursor: default;
	box-shadow: none;
}

/* Gets the buttons to line up with form inputs when you want them to */

.button.inline {
	margin-bottom: 0.75em;
}


/* ---- Expando Styles ---- */

.expando-opener-heading {
	color: #D7C7B0;
	-webkit-transition: color 300ms ease;
	-moz-transition: color 300ms ease;
	-ms-transition: color 300ms ease;
	-o-transition: color 300ms ease;
	transition: color 300ms ease;
}

.expando-opener-heading:hover,
.expando-opener-heading.expanded {
	color: #746D64;
}

a.expando-opener-link:before,
.expando-opener-heading:before {
	content:"\003e ";
	margin-right: 5px;
	display: inline-block;
	top: -2px;
	position: relative;

	-webkit-transition: all 300ms ease;
	-moz-transition: all 300ms ease;
	-ms-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease;
}

.expando-opener-heading.expanded:before {
	-moz-transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);

}


hr {
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 2em 0;
	padding: 0;
	clear: right; /* --------!!!! Change this to left if the sidebar is on the right !!!!-------- */
}

/* ---- Content Highlight box ---- */

.box {
	margin: 15px 0;
	margin: 1.5rem 0;
	padding: 30px;
}

.box--blue {
	background: #054b72;
}

.box--gold {
	background: #b3aa9d;
	color: #fff;
}

.content-highlight {
	margin: 15px 0;
	margin: 1.5rem 0;
	padding: 30px;
	background: #f6f6f6;
}


/* ---- Site Messages ---- */

.messages {
    background: #f6f6f6;
    border: 1px solid #D6D6D6;
    font-family: arial,sans-serif;
    list-style-type: none;
    margin: 15px 0;
    padding: 10px 0;
    -webkit-box-shadow: 0 0 8px 0 #404040;
	box-shadow: 0 0 8px 0 #404040;
}

	.messages li {
		 margin: 0 0 0 16px;
    	padding: 7px 20px 7px 30px;
    	vertical-align: bottom;
	}

/* ------------------------------------------------------
**** Images
------------------------------------------------------ */


img {
	vertical-align: middle;
	max-width: 100%;
	height: auto;
}

/*

Old school image left and right are more generic now so we can use them on anything

You can find them in the helper classes section

*/

/* ------------------------------------------------------
**** Forms
------------------------------------------------------ */

form {
	margin: 0;
}
	form ul {
		list-style-type: none;
		margin: 0 0 1.5em 0;
		padding: 0;
	}

fieldset {
	margin-bottom: 1.5em;
	padding: 0;
	border-width: 0;
}
fieldset:last-of-type {
	margin-bottom: 0;
}

legend {
	display: block;
	width: 100%;
	margin-top: 15px;
	*margin-left: -7px;
	padding: 00;
	border: 0;
	font-size: 18px;
	font-size: 1.8rem;
	font-weight: 500;
	line-height: 1.5em;
	white-space: normal;
}
	legend small {
		font-size: 1.125em;
		color: #625757;
	}

label,
input,
button,
select,
textarea {
	font-family: sans-serif;
}

label {
	display: block;
	margin-bottom: 0.375em;
}

select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"] {
	display: inline-block;
	margin-bottom: 0.75em;
	padding: 6px 10px 7px; /* not the below equiv, dif for ie8 */
	padding: 0.85rem 10px 0.65rem;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 15px;
	line-height: 1.5rem;
	color: inherit;
	vertical-align: middle;
}

textarea {
	height: auto;
	resize-x: none;
}

textarea,
input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"]{
	width: 100%;
}

textarea,
select,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"] {
	background-color: #fff;
	border: 2px solid #d6d6d6;
}
	textarea:hover,
	input[type="text"]:hover,
	input[type="password"]:hover,
	input[type="datetime"]:hover,
	input[type="datetime-local"]:hover,
	input[type="date"]:hover,
	input[type="month"]:hover,
	input[type="time"]:hover,
	input[type="week"]:hover,
	input[type="number"]:hover,
	input[type="email"]:hover,
	input[type="url"]:hover,
	input[type="search"]:hover,
	input[type="tel"]:hover,
	input[type="color"]:hover {
		border-color: #aeaeae;
	}
	textarea:focus,
	input[type="text"]:focus,
	input[type="password"]:focus,
	input[type="datetime"]:focus,
	input[type="datetime-local"]:focus,
	input[type="date"]:focus,
	input[type="month"]:focus,
	input[type="time"]:focus,
	input[type="week"]:focus,
	input[type="number"]:focus,
	input[type="email"]:focus,
	input[type="url"]:focus,
	input[type="search"]:focus,
	input[type="tel"]:focus,
	input[type="color"]:focus {
		border-color: #828282;
		outline: 0;
		outline: thin dotted \9;
	}

input[type="color"] {
	padding: 0;
	min-height: 38px;
	overflow: hidden;
}

input[type="radio"],
input[type="checkbox"] {
	margin: 2px 0 0;
	margin-top: 6px \9;  /* IE8-9 */
	line-height: normal;
}

input[type="file"],
input[type="image"],
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="radio"],
input[type="checkbox"],
input.timepicker {
	width: auto;
}

input.datepicker.wd {
	margin-left: 0;
}
input.datepicker.wy {
	margin-right: 0;
}
input.datepicker {
	width: 60px;
	margin: 0 4px;
}
input.timepicker {
	width: 135px;
}

select {
	padding: 6px;
	border: 2px solid #d6d6d6;
}

select[multiple],
select[size] {
	height: auto;
}

select.cc-type,
select.cc-exp,
input.cc-cvn {
	width: 30%;
}

@media screen and (max-width: 780px) {
	select.cc-type,
	select.cc-exp,
	input.cc-cvn {
		width: 100%;
	}
}


input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
	outline: thin dotted #333;
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
	font-size: 14px;
	font-size: 1.4rem;
	color: #ccc;
}

.radio,
.checkbox {
	min-height: 1.5em;
}

.radio input[type="radio"],
.checkbox input[type="checkbox"] {
	float: left;
	margin-right: 10px;
}

.controls > .radio:first-child,
.controls > .checkbox:first-child {
	padding-top: 5px;
}

.radio.inline,
.checkbox.inline {
	display: inline-block;
	padding-top: 5px;
	margin-bottom: 0;
	vertical-align: middle;
}

.radio.inline + .radio.inline,
.checkbox.inline + .checkbox.inline {
	margin-left: 12px;
}

.-input-mini {
	width: 60px;
}

.-input-small {
	width: 90px;
}

.-input-medium {
	width: 150px;
}

.-input-large {
	width: 210px;
}

.-input-xlarge {
	width: 270px;
}

.-input-xxlarge {
	width: 530px;
}


input[disabled],
select[disabled],
textarea[disabled],
input[readonly],
select[readonly],
textarea[readonly] {
	opacity: .25;
}

.form-actions {
	margin-top: 1.5em;
	margin-bottom: 1.5em;
	padding: 0.5em 24px 1.5em;
	*zoom: 1;
}
	.form-actions:before, .form-actions:after {
		content: " ";
		display: table;
	}
	.form-actions:after {
		clear: both;
	}

[placeholder]:focus::-webkit-input-placeholder {
	opacity: 0;
	transition: opacity .5s .5s ease;
}


/* Messages */
ul.messages {
	padding: 10px 0 10px 0;
	margin: 10px 0 10px 0;
	list-style-type: none;
	font-family: arial, sans-serif;
	font-size: 12px;
	font-size: 1.2rem;
	border: 1px dashed #999;
	background-color: #EEEEDE;
	zoom: 1;
}

ul.messages li {
	display: block;
	vertical-align: bottom;
	margin: 0px;
	margin-left: 10px;
	padding: 5px 20px 4px 30px;
}

ul.messages li.confirm {
	color: #090;
	list-style-type: none;
}

ul.messages li.error {
	color: #900;
	list-style-type: none;
}


/* ---- Form Errors ---- */

.has-error {

	background: #fae8e7;
	padding: 10px 20px;
	margin: 0 -20px;
}
	.has-error input {
		border-color: #B94A48;
	}

	.has-error .help-block,
	.has-error .help-inline {
		color: #B94A48;
		font-weight: 500;
		font-style: italic;
	}



/* ---- Oldschool Table based form styles ---- */

.form-section,
.checkbox-list {
	border-collapse: collapse;
	background: #F6F6F6;
	border: 1px #A9A7A7 solid;
	margin-bottom: 30px;
	width: 100%;
}

	.form-section tr,
	.checkbox-list tr {
		border-bottom: 1px #A9A7A7 solid;
	}

		.form-section th,
		.form-section tr > th:first-child {
			width: 25%;
			font-weight: 500;
			padding: 20px 10px 16px 15px;
			vertical-align: top;
			border: none;
		}

		.sidebar .form-section th,
		.sidebar .form-section td {
			display: block;
			padding-top: 5px;
			padding-bottom: 5px;
		}

		.form-section td,
		.checkbox-list td {
			width: auto;
			padding: 12px 11px;
			vertical-align: top;
			border: none;
		}

		.sidebar .form-section,
		.sidebar .checkbox-list {
			margin-bottom: 10px;
		}

		.sidebar .form-section th,
		.sidebar .form-section td {
			display: block;
			background: none repeat scroll 0 0 #f6f6f6;
		}

		.sidebar .form-section th {
			padding-top: 10px!important;
			padding-bottom: 5px!important;

		}

		.sidebar .form-section td {
			padding-top: 5px!important;
			padding-bottom: 5px!important;

		}

		.form-section td.field-info {
			vertical-align: middle;
			font-size: 10px;
			font-size: 1rem;
		}
		.form-section span.field-error {
			font-size: 10px;
			font-size: 1rem;
		}
		.checkbox-list td.check {
			width: 10px;
			text-align: center;
		}
		td .checkbox-list td.check {
			padding: 12px 5px 11px 20px;
		}

		.form-section span.s {
			display: block;
			margin: 15px 0 0 0;
			background: url("../images/arw_blue.gif") no-repeat scroll left center transparent;
			padding: 0 0 0 22px;
		}

		.form-section .checkbox-list {
			margin: 0;
		}
		.form-section input,
		.form-section label,
		.form-section select {
			margin-bottom: 0;
		}

.form-section .field-info span {
	color: #0a5883;
	font-size: 12px;
	font-size: 1.2rem;
	font-weight: 500;
}



@media screen and (max-width: 650px) {
	table.form-section:not(.radiogrid) th,
	table.form-section:not(.radiogrid) tr > th:first-child {
		padding-bottom: 0;
	}
	table.form-section:not(.radiogrid) > tbody > tr > th,
	table.form-section:not(.radiogrid) > tbody > tr > td {
		display: block;
		width: 100%;
	}
	table.form-section .field-info {
		text-align: right;
	}
	table.form-section td.nothing {
		padding: 0;
		height: 0;
	}
	.form-section .buttons {
		text-align: center;
	}

}



/* ---- Submit Bar ---- */

.submit-bar {
	text-align: right;
	background: #F6F6F6;
	padding: 14px;
}

	.sidebar .submit-bar {
		padding: 10px 0;
	}

	.submit-bar a {
		margin-right: 20px;
	}


/* ---- Search Form ---- */

input.search-query {
	margin-bottom: 0;
	padding-right: 14px;
	padding-right: 4px \ 9;
	padding-left: 14px;
	padding-left: 4px \9;
	border-radius: 0;

}

.form-search .input-append .search-query,
.form-search .input-prepend .search-query {
	border-radius: 0;
}

.form-search .input-append .search-query {
	border-radius: 14px, 0, 0, 14px;
}

.form-search .input-append .btn {
	border-radius: 0, 14px, 14px, 0;
}

.form-search .input-prepend .search-query {
	border-radius: 0, 14px, 14px, 0;
}

.form-search .input-prepend .btn {
	border-radius: 14px, 0, 0, 14px;
}

.form-search {
	/*radio*/
}
	.form-search input,
	.form-search textarea,
	.form-search select {
		display: inline-block;
		*display: inline;
		*zoom: 1;
		margin-bottom: 0;
		vertical-align: middle;
	}
	.form-search .hide {
		display: none;
	}
	.form-search label,
	.form-search .btn-group {
		display: inline-block;
	}
	.form-search .radio,
	.form-search .checkbox {
		margin-bottom: 0;
		padding-left: 0;
		vertical-align: middle;
	}
	.form-search .radio input[type="radio"],
	.form-search .checkbox input[type="checkbox"] {
		float: left;
	}
	.form-search .radio input[type="radio"] margin,
	.form-search .checkbox input[type="checkbox"] margin {
		right: 3px;
		left: 0;
	}
	.form-search .control-group {
		margin-bottom: 0.75em;
	}
	.form-search legend + .control-group {
		margin-top: 1.5em;
		-webkit-margin-top-collapse: separate;
	}


/* ---- Search pagination ---- */

.search-paginate {
	padding: 10px 0;
	text-align: center;
}
	.search-paginate .page-prev {
		margin: 0 8px 0 0;
	}
	.search-paginate .page {
		padding: 2px 9px;
		margin: 0 3px;
		background: #eee;
		border: 1px #0a5883 solid;
		text-decoration: none;
	}
	.search-paginate .page.on {
		color: #000;
		border-color: #000;
	}
	.search-paginate .page-next {
		margin: 0 0 0 8px;
	}


/* ---- Captcha ---- */

.captcha {
	background: #f6f6f6;
	margin: 5px 0px;
	padding: 10px;
	width: 90%;
	border: 1px #D6D6D6 solid;
}

	.captcha .captcha-info, .captcha .info {
		width: 20px;
		float: right;
	}
	.captcha .captcha-info, .captcha .info a {
		text-decoration: none;
	}
		.captcha .captcha-info .captcha-icon {
			width: 16px;
			height: 16px;
			margin-bottom: 16px;
		}

	.captcha .captcha-img {
		width: 200px;
		margin-bottom: 10px;
	}

	.captcha .captcha-input {
		width: 200px;
	}



/* ------------------------------------------------------
**** Tables
------------------------------------------------------ */

/* ---- Content tables & Form section tables & Checkbox list tables (shared styles) ---- */
.table--content-standard,
.form-section,
.checkbox-list {
	width: 100%;
	margin: 20px 0;
	margin: 2rem 0;
}
.table--content-standard caption,
.form-section caption {
	text-align: left;
	padding-bottom: 13px;
}
.table--content-standard th,
.form-section th,
.checkbox-list th {
	font-weight: bold;
	background-color: #F0F0F0;
	font-size: 17px;
	font-size: 1.7rem;
}
.table--content-standard td,
.form-section td,
.checkbox-list td {
	background-color: #FFF;
}
.table--content-standard th,
.table--content-standard td,
.form-section th,
.form-section td,
.checkbox-list th,
.checkbox-list td {
	border-top: 1px solid #d7d7d7;
	border-right: 1px solid #d7d7d7;
	padding: 12px 15px;
	text-align: left;
}
.table--content-standard tr th:first-child,
.table--content-standard tr td:first-child,
.form-section tr th:first-child,
.form-section tr td:first-child,
.checkbox-list tr th:first-child,
.checkbox-list tr td:first-child {
	border-left: 1px solid #d7d7d7;
}
.table--content-standard tr:last-child,
.form-section tr:last-child,
.checkbox-list tr:last-child {
	border-bottom: 1px solid #d7d7d7;
}

/* ---- Content tables ---- */

/* Small */
.table--content-standard.table--content-small {
	font-size: 13px;
	font-size: 1.3rem;
}
.table--content-standard.table--content-small th,
.table--content-standard.table--content-small td {
	padding: 5px 10px;
}
.table--content-standard.table--content-small th {
	font-size: 14px;
	font-size: 1.4rem;
}

/* ------------------------------------------------------
**** Helper classes
------------------------------------------------------ */

/* ---- Clearfix ---- */

.clear {
	height: 0;
	clear: both;
	display: block;
}

.-clearfix:before,
.-clearfix:after {
	content: " ";
	display: table;
}

.-clearfix:after {
	clear: both;
}

.-clearfix {
	*zoom: 1;
}

/* Image Replacement */
.-ir {
	background-color: transparent;
	border: 0;
	overflow: hidden;
	*text-indent: -9999px;
}

.-ir:before {
	content: "";
	display: block;
	width: 0;
	height: 150%;
}

.-hidden {
	display: none !important;
	visibility: hidden;
}

.-vis-hidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.-vis-hidden.focusable:active,
.-vis-hidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

.-invisible {
	visibility: hidden;
}

/* Separating line*/

.-top-sep-line {
	border-top: 3px solid #054b72;
	padding-top: 15px;
}

/* Angle Brackets */
.-r-arrow-after:after {
	content: "\00a0\003e";
}
.-r-arrow-before:before {
	content: "\003e\00a0";
}
.-l-arrow-after:after {
	content: "\00a0\003c";
}
.-l-arrow-before:before {
	content: "\003c\00a0";
}

/* Ellipsis */
.ellipsis-2:after {
	content: "..";
}
.ellipsis-3:after {
	content: "...";
}

/* ---- Floats and positioning ---- */

.left {
	margin: 0 15px 15px 0;
	float: left;
}

.right {
	margin: 0 0 15px 15px;
	float: right;
}

.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* ---- Clearfix ---- */

.clear {
	height: 0;
	clear: both;
	display: block;
}

.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

.clearfix {
	*zoom: 1;
}


/* ------------------------------------------------------
**** Template Layout
------------------------------------------------------ */

.section {
	margin: 0 20px;
}

@media screen and (min-width: 601px) {

	.section {
		max-width: 560px;
		margin: 0 auto;
	}
}

@media screen and (min-width: 750px) {

	.section {
		max-width: 720px;
		margin: 0 auto;
	}
}

@media screen and (min-width: 840px) {

	.section {
		max-width: 800px;
		margin: 0 auto;
	}
}

@media screen and (min-width: 980px) {

	.section {
		max-width: 1302px;
		margin: 0 5.102040816327%;
	}
}

@media screen and (min-width: 1342px) {

	.section {
		margin: 0 auto;
	}
}

.wrap--blue {
	color: #fff;
	background: #0a5883;
}

.wrap--blue a {
	color: #d7c7b0;
}

.wrap--blue a:hover {
	color: #efe9df;
}

.wrap--grey {
	background: #f0efed;
}



/* ---- columns ---- */

.col {
	padding: 0;
	margin-bottom: 8%;
}

@media screen and (min-width: 750px) {

	.col {
		float: left;
		margin-bottom: 5.5%;
	}

	.col--one-third {
		margin-left: 7.142857142857%;
		width: 28.571428571429%;
	}

	.col--first,
	.col--one-third:nth-child(3n+1) {
		margin-left: 0;
	}

	.col--last,
	.col--one-third:nth-child(3n+0) {
		float: right;
		margin-left: 0;
	}
}
@media screen and (min-width: 750px) {

	.col--one-fifth {
		margin-left: 3.609831029186%;
		width: 17.127496159754%;
	}

	.col--first {
		margin-left: 0;
	}

	.col--last {
		float: right;
		margin-left: 0;
	}


	/* Uneven end of rows (3 col) */

	.gallery-item--last-row-2.gallery-item--col-0 {
		margin-left: 17.8955453149%;
	}

	.gallery-item--last-row-1.gallery-item--col-0 {
		margin-left: 35.714285714286%;
	}

	/* Uneven end of rows (5 col) */

	.gallery-item--row-of-3.gallery-item--col-0 {
		margin-left: 23.57910906298%;
	}

	.gallery-item--row-of-4.gallery-item--col-1,
	.gallery-item--row-of-4.gallery-item--col-2 {
		margin-left: 9.52380952381%;
	}
}


/* ---- Project Category listing buttons ---- */


.project-cat-list,
.project-cat-list li {
	list-style: none;
	padding: 0;
}
.project-cat-list {
	margin-top: 40px;
	margin-bottom: 40px;
}
.project-cat-list li {
	display: block;
	border: 2px solid #fff;
	background: #f0efed;
	text-align: center;
}
.project-cat-list li a {
	display: block;
	padding: 20px;
	color: #595959;
	font-weight: 400;
	text-decoration: none;
}
.project-cat-list li a:hover,
.project-cat-list li.on a {
	background: #c6bfb5;
	color: #fff;
	text-decoration: none;
}
@media screen and (min-width: 500px) {

	.project-cat-list li {
		float: left;
		width: 50%;
	}
}
@media screen and (min-width: 980px) {

	.project-cat-list li {
		float: left;
		width: 24.884792626728%;
	}
}

/* ---- Project Gallery styles ---- */



.gallery {
	list-style: none;
	padding: 0;
}

.gallery_item {
	position: relative;
	overflow: hidden;
	aspect-ratio: 558 / 413;
}

.gallery_item__hover {
	/*layout*/
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	opacity: 0;
	/* styling */
	padding: 20px 20px 20px;
	text-align: center;
	background: rgb(17,86,125);
	background: rgba(17,86,125,.85);
	color: #fff;
	text-transform: uppercase;
	-webkit-transition: opacity 500ms ease;
	-moz-transition: opacity 500ms ease;
	-ms-transition: opacity 500ms ease;
	-o-transition: opacity 500ms ease;
	transition: opacity 500ms ease;
}

.gallery_item:hover .gallery_item__hover {

	opacity: 1;
}

.gallery_item__hover__vert-cent-wrap {
	display: table;
	height:100%;
	width:100%;
}

.gallery_item__hover__vert-cent-content {
	display: table-cell;
	vertical-align: middle;
}

.gallery_item__name {
	font-size: 24px;
	font-size: 2.4rem;
	line-height: 1.2;
	font-weight: 400;
}

.gallery_item__category {
	text-transform: none;
	font-size: 18px;
	font-size: 1.8rem;
}

.gallery__btn {
	position: relative;
	top: 10px;
	border: 3px solid #d7d1c9;
	font-size: 16px;
	font-size: 1.6rem;
}

@media screen and (min-width: 750px) {

	.gallery_item__hover {
		padding: 15px 20px 20px;
	}

}

@media screen and (min-width: 750px) and (max-width: 839px) {
	.gallery_item__hover {
		line-height: 18px;
	}
	.gallery_item__name {
		font-size: 1.6rem;
	}
}

@media screen and (min-width: 840px) and (max-width: 999px) {
	.gallery_item__hover {
		line-height: 20px;
	}
	.gallery_item__name {
		font-size: 1.8rem;
	}
}

@media screen and (min-width: 1000px) and (max-width: 1180px) {
	.gallery_item__hover {
		line-height: 22px;
	}
	.gallery_item__name {
		font-size: 2rem;
	}
}

.col.col--one-fifth.gallery_item {
	margin-top: 1.5%;
	margin-bottom: 1.5%;
}

@media screen and (max-width: 749px) {

	.col.col--one-fifth.gallery_item {
		margin-bottom: 8%;
	}
}
/* small gallery styles */

.col--one-fifth .gallery_item__hover {
	padding: 10px 20px 20px;
}
@media screen and (min-width: 440px) {

	.col--one-fifth .gallery_item__hover {
		padding: 20px 35px 20px;
	}
}

@media screen and (min-width: 750px) and (max-width: 1180px) {
	/* only three items to fit space better */
	.col--one-fifth.gallery_item {
		margin-left: 7.142857142857%;
		width: 28.571428571429%;
	}

	.col--one-fifth .gallery_item__hover {
		padding: 12% 20px 20px;
	}

	.col--one-fifth.gallery_item.col--first {
		margin-left: 0;
	}

	.col--one-fifth.gallery_item:nth-child(3) {
		float: right;
		margin-right: 0;
	}
	.col--one-fifth.gallery_item:nth-child(4),
	.col--one-fifth.gallery_item:nth-child(5) {
		display: none;
	}
	.col--one-fifth .gallery_item__hover {
		line-height: 1.2;
	}
	.col--one-fifth .gallery_item__name {
		font-size: 16px;
		font-size: 1.6rem;
	}
}
@media screen and (min-width: 1180px) {

	.col--one-fifth .gallery_item__hover {
		padding: 10% 20px 20px;
		line-height: 1.2;
	}

	.col--one-fifth .gallery_item__name {
		font-size: 16px;
		font-size: 1.6rem;
	}

}





/* ---- reusable heading style ---- */

.heading_centered {
	text-align: center;
	color: #595959;
	font-size: 26px;
	font-size: 2.6rem;
	border-bottom: 3px solid #b3aa9d;
	padding-top: 50px;
	padding-bottom: 40px;
}

.centered-intro {
	max-width: 780px;
	text-align: center;
	/*font-weight: 400;*/
	font-size: 24px;
	font-size: 2.4rem;
	margin: 40px auto 40px;
}

@media screen and (min-width: 750px) {

	.heading_centered {
		font-size: 36px;
		font-size: 3.6rem;
	}

}


/* ---- reusable button bar ---- */

.button-bar {
	border-top: 3px solid #b3aa9d;
	padding: 20px 0 30px;
}

.button-bar__button {
	color: #b3aa9d;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: 400;
	-webkit-transition: all 400ms ease;
	-moz-transition: all 400ms ease;
	-ms-transition: all 400ms ease;
	-o-transition: all 400ms ease;
	transition: all 400ms ease;
	font-size: 26px;
	font-size: 2.6rem;
}

.button-bar__button:hover {
	margin-left: -12px;
	color: #b3aa9d;
}

/* ---- header ---- */

.header {
	display: block;
	-webkit-box-shadow: 0 3px 3px 0 rgba(0,0,0,.15);
	box-shadow: 0 3px 3px 0 rgba(0,0,0,.15);
	position: relative;
	z-index: 9;
}

#nav-wrap {
	padding-bottom: 1px;
	height: 125px;
	background: #fff;
	-webkit-box-shadow: 0 3px 3px 0 rgba(0,0,0,.15);
	box-shadow: 0 3px 3px 0 rgba(0,0,0,.15);

	-webkit-transition: all 600ms ease;
	-moz-transition: all 600ms ease;
	-ms-transition: all 600ms ease;
	-o-transition: all 600ms ease;
	transition: all 600ms ease;
}

#nav-wrap.sticky {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 71px;
}

@media screen and (max-width: 980px) {
	#nav-wrap,
	#nav-wrap.sticky {
		height: auto;
	}
}

.header .section {
	position: relative;
}

.header .logo {
	float: left;
	padding-top: 24px;
	max-width: 254px;
	margin-top: 0px;
	padding-bottom: 16px;
	transition: all 500ms ease;
}

#nav-wrap.sticky .logo {
	max-width: 154px;
	max-height: 71px;
	padding-top: 12px;
	padding-bottom: 8px;
	margin-top: 0;
	animation: fadeOutIn 1s;
	-webkit-animation: fadeOutIn 1s;
}


.header .nav {
	margin-left: 280px; /* Width of logo plus extra for whitespace */
	background: #fff;
	position: absolute;
	right: 0;
	bottom: 0;

}

#nav-wrap.sticky .nav {
	animation: fadeOutIn 1s;
	-webkit-animation: fadeOutIn 1s;
}

@-webkit-keyframes fadeOutIn{
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeOutIn{
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@media screen and (max-width: 600px) {

	.header .logo {
		float: left;
		margin-top: -20px;
		max-width: 165px;
		padding-top: 0;
	}

	.social-btns-wrap {
		background: #fff;
	}
}

.social-btns {
	list-style: none;
	text-align: right;
}

.social-btns--footer {
	text-align: left;
	padding: 0;
	margin: 0;
}


@media screen and (min-width: 600px) {
	.social-btns {
		height: 46px;
	}
}

.social-btns li {
	display: inline-block;
	margin-left: 1px;
}

.social-btn {
	background: #c6bfb5;
	width: 46px;
	height: 46px;
	display: block;
	overflow: hidden;
	text-indent: 9999em;
	background-repeat: no-repeat;
	background-position: center center;border: 0;
	overflow: hidden;
	*text-indent: -9999px;
}

.social-btn:hover,
.social-btn:focus,
.social-btn:active {
	background-color: #9c8a6e;
}

.social-btns--footer .social-btn {
	border-radius: 50%;
}


.social-btn:before {
	content: "";
	display: block;
	width: 0;
	height: 150%;
}

.social-btn__facebook {
	background-image: url(../images/icon_facebook.svg);
}
.social-btn__linkedin {
	background-image: url(../images/icon_linkedin.svg);
}

.content {

}

.banner {
	background: url(../images/bnr_inner.jpg) no-repeat center center;
	background-size: cover;
	color: #fff;
}

.banner .section {
	position: relative;
	min-height: 80px;

}


.banner__section-title {
	display: none;
}

@media screen and (min-width: 750px) {

	.banner .section {
		min-height: 166px;
	}
	.banner__section-title {
		display: block;
		position: absolute;
		bottom: -16px;
		margin-left: 19.201228878648%;
		font-size: 98px;
		font-size: 9.8rem;
		font-weight: 500;
		text-transform: uppercase;
		line-height: 1;
	}

}

/* ---- Profiles layout ---- */

.directors-list,
.associates-list {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: grid;
	gap: 24px;
}

.directors-list {

	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.associates-list {
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}


/* profile name overlays */

.profile {
	position: relative;
}

.profile > a {
	display: block;
	aspect-ratio: 3.75/4;
	overflow: clip;
}

.profile > a > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}


.profile__name {
	padding: 5px 12px;
	color: #fff;
	background: #b3aa9d;
	transition: background 300ms ease;
}

.profile__name a {
	color: currentColor;
	text-decoration: none;
}

@media screen and (min-width: 1180px) {
	.profile__name {
		padding: 5px 20px;
	}

}

:where(a) ~ .profile__name:after,
:where(a) ~ .profile__name:after {
	content: "\00a0\003e";
}

.profile:hover :where(a) ~ .profile__name,
.profile:hover :where(a) .profile__name {
	background: #7b756c;
}


/* simple-image card newsletter grid */


/* 2 col card list*/

.card-list {
	list-style: none;
	padding: 0;
	margin: 0 -20px;
}

.card-list__item {
	margin: 0;
	padding: 20px;
	display: block;
}

.card-list__item .profile {
	text-decoration: none;
	line-height: 1.2;

	display: flex;
	flex-flow: column nowrap;
	height: 100%;
}

.card-list__item .profile__name {
	display: block;
	padding-top: 8px;
	padding-bottom: 8px;

	flex: 1 0 auto;

	display: flex;
	align-items: flex-end;
}


@media screen and (min-width: 600px) {

	.card-list {
		display: flex;
		flex-flow: row wrap;
	}
	.card-list__item {
		width: 50%;
		float: left;
	}

	.card-list__item:nth-child(2n+1) {
		clear: left;
	}
}



/* newsletter image hack because I'm too lazy to crop them manually */

.newsletter-image-trim-top,
.newsletter-image-trim-bottom {
	overflow: hidden;
	display: block;
}

.newsletter-image-trim-top img {
	margin: -6px -4% 0;
	max-width: 108%;
}

.newsletter-image-trim-bottom img {
	margin: 0px -4% -6px;
	max-width: 108%;
}


/* ---- footer ---- */

.footer {
	position: relative;
}

.footer::after {
	background: url('../images/deco-brand-circles.svg') no-repeat center right -95px;
	background-size: 400px auto;
	content: '';
	position: absolute;
	top: -50px;
	bottom: 0;
	left: 0;
	right: 0;
}
@media screen and (min-width: 1010px) {
	.footer {
		margin-top: 141px;
	}

	.footer::after {
		top: -141px;
		background-image: url('../images/deco-brand-circles-flip.svg');
		background-size: 600px auto ;
		background-position: top right 20px;
	}

}
@media screen and (min-width: 1280px) {
	.footer::after {
		top: -165px;
		background-size: 700px auto ;
		background-position: top right 32px;
	}

}

@media screen and (min-width: 2000px) {
	.footer::after {
		top: -206px;
		background-size: 875px auto ;
		background-position: top right 32px;
	}

}



.footer .section {
	position: relative;
	z-index: 3;
	padding-bottom: 20px;
}

.footer-cols {
	padding-top: 6%;
	padding-bottom: 35px;

	display: grid;
	gap: 24px;
}

.footer-cols__col {

}

@media screen and (min-width: 1010px) {
	.footer-cols {
		padding-top: 0;
		margin-right: calc(100% - 390px);
		gap: 40px;
	}
	.footer-cols__col--contact {
		padding-top: 40px;
		margin-top: -52px;
	}
}

@media screen and (min-width: 1340px) {
	.footer-cols {
		margin-right: calc(28.571428571429% + 7.142857142857%);
		gap: 12%;
		row-gap: 30px;
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto;
	}
	.footer-cols__col--social {
		padding-top: 64px;
	}
	.footer-cols__col--contact {
		padding-top: 64px;
		grid-row: -1 / 1;
		margin-top: 0;
		margin-bottom: 0;
	}


}


.box--footer h2 {
	font-size: 26px;
	font-size: 2.6rem;
}

.box--footer h2,
.box--footer p {
	margin-bottom: 20px;
}

.footer-cols__col--copyright {
	border-bottom: 3px solid #054b72;
	display: grid;
	align-content: end;
}

.footer-cols__col--copyright a {
	color: #fff;
	text-decoration-color: rgba(255,255,255, 0);
	transition: all 300ms ease-in-out;
}
.footer-cols__col--copyright a:hover {
	text-decoration-color: rgba(239,233,223, 1);
}

.terms {
	line-height: 1.75;
}

.box--footer {
	font-size: 2.2rem;
	font-weight: 100;
}

.box--footer strong {
	text-transform: uppercase;
	font-weight: 100;
}

.enews-signup {
	margin-bottom: 30px;
	color: #5d5d5d;
}

input.enews-signup__email-field {
	padding: ;
	border-color: #fff;
	padding: 14px 15px 12px;
	margin-bottom: 25px;
}

.enews-signup .button {
	width: 50%;
	padding: 14px 15px 12px;
}

.feed-facebook .feed-img {
	float: left;
	margin: 0 20px 0 0;
}

.feed-facebook .feed-txt {
	padding-top: 10px;
}

.feed-facebook .name {
	display: block;
	font-size: 2.6rem;
	margin-bottom: 15px;
}

/* ---- site search ---- */



.search-result {
	margin-bottom: 15px;
	border-bottom: 1px #777 solid;
}

	.search-result  {
		padding: 10px;
	}

	.search-result .odd {
		background-color: #EEE;
	}

	.search-result .even {
		background-color: #DDD;
	}


/* ---- Pagination for search results ---- */

.search-paginate {
	padding: 12px;
	text-align: center;
}

	.search-paginate .page-prev {
		float: left;
		*float: none;
	}

	.search-paginate .page {
		border: 1px #DDD solid;
		background: #FFF;
		text-decoration: none;
		padding: 5px 8px;
		margin: 0 3px;
	}

	.search-paginate .page.on {
		border: 1px #CCC solid;
		background: #EEE;
	}

	.search-paginate .page-next {
		float: right;
		*float: none;
	}



/* ie on the /search page */


@media screen and (min-width: 650px) {
	.site-search-form input[type="text"] {
		width: 60%;
		margin: 0 1.5% 0 0;
	}

}

/* Generic style for all widgets */

.widget h3.widget-title {

}



/* ------------------------------------------------------
**** Widgets

Widgets & Modules that ship with sprout.
If they don't they belong in separate partial file

------------------------------------------------------ */

/* ---- Catch all ---- */
.sidebar .widget {
	margin-bottom: 25px;
}

/* ---- Related Links ---- */
.widget-RelatedLinks {
	margin-bottom: 25px;
}
.widget-RelatedLinks ul {
	padding: 0;
	margin:  0;
}
.widget-RelatedLinks li {
	list-style: none;
}
.widget-RelatedLinks a {
	text-decoration: none;
	color: #fff;
}

.widget-RelatedLinks li.depth1 {
	position: relative;
}
.widget-RelatedLinks li.depth1:last-child {
	border-bottom: none;
}
.widget-RelatedLinks li.depth1 > a {
	display: block;
	padding: 10px 0 10px 0;
	font-weight: 400;
	transition: all 150ms ease-out;
}
.widget-RelatedLinks li.depth1.on > a,
.widget-RelatedLinks li.depth1 > a:hover {
	background-color: #f0efed;
	color: #746d64;
	margin: 0 -45px;
	padding-left: 45px;
	padding-right: 45px;
}
.widget-RelatedLinks li a {
	line-height: 140%;
}

/* Children */
.widget-RelatedLinks li.depth2 a {
	background: #f0efed;
	color: #746d64;
	margin: 0 -45px;
	padding: 8px 45px 8px 65px;
	font-size: 18px;
	font-size: 1.8rem;
	display: block;
	-webkit-transition: all 150ms ease-out;
	-moz-transition: all 150ms ease-out;
	-o-transition: all 150ms ease-out;
	transition: all 150ms ease-out;
}
.widget-RelatedLinks li.depth1.on li.on a,
.widget-RelatedLinks li.depth1.on li.on a:hover {
	font-weight: 400;
}
.widget-RelatedLinks li.depth2 a:before {
	content: "- ";
}

.widget-RelatedLinks li.depth2 a:hover {
	padding-left: 75px;
}

/* ---- widget-ArticlesList ---- */

.widget-ArticlesList h2 {
	font-size: 2.2rem;
}

.widget-ArticlesList h3 {
	text-transform: none;
	font-size: 2rem;
	color: #b4ab9d;
}

.widget-ArticlesList .article-title {
	text-transform: none;
	font-size: 2.6rem;
	color: #054B72;
}

.widget-ArticlesList.orientation-wide .date {
	margin-bottom: 5px;
}

@media screen and (min-width: 560px) {
	.widget-ArticlesList .article-image {
		float: right;
		max-width: 250px;
		max-height: 200px;
		margin-left: 20px;
		margin-bottom: 20px;
	}
	.widget-ArticlesList.orientation-wide .date {
		margin-bottom: -0.4rem;
	}
}

/* ---- Simple Image Gallery ---- */
.widget-GallerySimple {
	margin: 15px -10px;
}

.widget-GallerySimple h3 {
	padding: 10px;
}

.widget-GallerySimple .gallery-simple-thumb {
	width: 33.333%;
	padding: 10px;
	float: left;
}
.widget-GallerySimple .gallery-simple-thumb img {
	width: 100%;
}

/* ---- Children Page Gallery ---- */
.children-gallery {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.widget-ChildrenGallery:before,
.widget-ChildrenGallery:after {
	content: " ";
	display: table;
}
.widget-ChildrenGallery:after {
	clear: both;
}
.widget-ChildrenGallery {
	*zoom: 1;
}
/*
Width + right margin decides how many columns there are.
The nth-child settings remove the right margin on the final row item, so it sits full width.
If you adjust how many items per row, you'll need to adjust which nth-child */
.widget-ChildrenGallery /*li*/.pg-item {
	width: 22%;
	float: left;
	margin: 0 4% 20px 0;
	position: relative;
	overflow: hidden;
}

.widget-ChildrenGallery .pg-item:nth-child(4n+4) {
	margin-right: 0;
}

.widget-ChildrenGallery .pg-no-image {
	position: relative;
	width: 100%;
	background: #ccc;
}
.widget-ChildrenGallery .pg-no-image:before {
	content: "";
	display: block;
	padding-top: 87%; 	/* sets the block ratio of the grey box image placeholder */
}

.widget-ChildrenGallery .pg-anchor {
	margin: 0;
	background: #000;
	background: rgba(0,0,0,.5);
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
	padding-top: 40%;
	display: none;
}

.widget-ChildrenGallery .pg-link:hover .pg-anchor {
	display: block;
}


/* ---- Order Form ---- */
.widget-OrderForm .product {
	width: 30%;
	margin-right: 5%;
	float: left;
}
.widget-OrderForm .product:nth-child(3n+3) {
	margin-right: 0;
}

/* ---- Videos ---- */
.widget-Video {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}

.widget-Video iframe,
.widget-Video object,
.widget-Video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ------------------------------------------------------
**** Print styles
------------------------------------------------------ */

@media print {
	* {
		background: transparent !important;
		color: #000 !important; /* Black prints faster: h5bp.com/s */
		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) ")";
	}

	/*
	 * Don't show links for images, or javascript/internal links
	 */

	.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; /* h5bp.com/t */
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: 0.5cm;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}
}


