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


	$link:					#e85504;
	$link-hover:			#7A100B;

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

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


	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
---- Header
---- footer
---- site search

**** Widgets and modules
---- Related Links
---- Article Category Subscribe
---- Simple Image Gallery
---- Gallery
---- Gallery Preview
---- Children Page Gallery
---- Job Search
---- Order Form
---- Videos

**** Media Queries

**** Print styles

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

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

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

body {
	font-family: 'Archivo', 'Arial', sans-serif;
}


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

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


li ul,
li ol {
	list-style-type: none;
	margin: 10px 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: 25px 0 29px 0 !important;
	padding: 4px 16px !important;
	border: 1px solid #DEDEDE;
	font-size: 12px;
	color: #737373;
	text-transform: uppercase;
}
.breadcrumb > li {
	display: inline;
}
.breadcrumb > li a {
	color: #737373;
}
.breadcrumb > li:before {
	content: "\00a0//\00a0";
}
.breadcrumb > li:first-child:before {
	content: none;
}



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

blockquote {
	margin: 15px 0;
	padding: 5px 20px 15px;
	background: #f6f6f6;
	font-style: normal;
}
	blockquote small:before {
		content: '\00A0 \2014';
	}
	blockquote small:after {
		content: '';
	}
	blockquote.pull-right {
		float: right;
		background-color: transparent;
	}
	blockquote.pull-right p, blockquote.pull-right small {
		text-align: right;
	}
	blockquote.pull-right small:before {
		content: '';
	}
	blockquote.pull-right small:after {
		content: '\00A0 \2014';
	}
	blockquote cite {
		font-style: normal;
	}

q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

dl,
dd {
	margin-bottom: 1.5em;
	}

dt {
	font-weight: bold; }


	.dl-horizontal:before, .dl-horizontal:after {
		content: " ";
		display: table;
	}
	.dl-horizontal:after {
		clear: both;
	}
	.dl-horizontal dt {
		float: left;
		clear: left;
		width: 30.38869258%;
	}
	.dl-horizontal dd {
		margin-left: 32.99289258%;
	}

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

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

b, strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

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

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

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;
}


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

.button {
	margin-bottom: 0;
	white-space: nowrap;
	cursor: pointer;
	font-weight: normal;
	line-height: 1;
	text-decoration: none;
	border-radius: 0;
	font-size: 100%;
	border: none;
	background: #9E2525;
	color: #fff;
	text-align: center;
	display: inline-block;
	vertical-align: top;
	font-family: 'Archivo', 'Arial', sans-serif;
	padding: 13px 20px 12px;
	cursor: pointer;
	outline: none;
	text-transform: uppercase;
	margin-bottom: 10px;
}

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

.button-hover,
.button:hover,
.button:focus {
	background-color: #7A100B;
	color: #fff;
	text-decoration: none;
}

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

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

.button-block {
	display: block;
	width: 100%;
}

/* Disabled/unavailable button style */

.button[disabled],
.button-disabled,
.button-disabled:hover,
.button-disabled:focus,
.button-disabled:active {
	border: none;
	background-image: none;
	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;
}


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

a {
	color: #207584;
	word-break: break-word;
}

a:hover,
a:focus {
	color: #124750;
	text-decoration: underline;
}

/* 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

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


div.spacer {
	margin-bottom: 60px;
}


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

.expando-opener-heading {
	color: #e85504;
}

.expando-opener-heading:hover {
	color: #7A100B;
}

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

.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 ---- */

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


/* ---- Date Pattern ---- */

.calendar-date {
	background: #e85504;
	color: #fff;
	border-radius: 6px;
	padding: 0px 0 5px;
	width: 60px;
	text-align: center;
}
	.calendar-date-text {
		color: #fff;
		text-decoration: none; /* Used if the date is a link */
		font-size: 24px;
		line-height: 1;
		margin: 0;
		padding: 0;
	}

	.calendar-date-text span {
		font-size: 12px;
		line-height: 1;
		text-transform: uppercase;
	}


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

ul.messages {
	background: #f6f6f6;
	border: 2px solid #D6D6D6;
	font-family: 'Archivo', 'Arial', sans-serif;
	list-style-type: none;
	margin: 15px 0 30px 0;
	padding: 0;
}
	ul.messages.all-type-error {
		border-color: #900;
		background: #fee;
	}
	ul.messages.all-type-confirm {
		border-color: #090;
		background: #efe;
	}
	ul.messages li {
		margin: 0;
		padding: 10px 15px;
		vertical-align: bottom;
		text-align: center;
		font-size: 16px;
		line-height: 1.2em;
	}

/* ---- Highlight box ---- */
.highlight {
	background-color: #f2f2f2;
	padding: 25px 30px;
	margin-bottom: 20px;
}
.highlight :first-child {
	margin-top: 0;
}
.highlight :last-child {
	margin-bottom: 0;
}

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

form {
	margin: 0;
}
	form ul:not(.form-ul-show) {
		list-style-type: none;
		margin: 0 0 1.5em 0;
		padding: 0;
	}

	.form-ul-show {
		margin-block-start: 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;
	padding: 00;
	border: 0;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.5em;
	white-space: normal;
}
	legend small {
		font-size: 1.125em;
		color: #625757;
	}


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: 11px 15px;
	font-size: 14px;
	line-height: 15px;
	color: inherit;
	border-radius: 0;
	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,
	select:focus {
		border-color: #828282;
		outline: 0;
	}

input[type="color"] {
	padding: 0;
	border-radius: 4px;
	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 {
	border: 2px solid #d6d6d6;
	width: 100%;
	height: 41px;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url(../images/select-arrow.png);
	background-repeat: no-repeat;
	background-position: right top;
	padding-right: 34px;
}

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

select::-ms-expand {
    display: none;
}

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

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;
}


::-webkit-input-placeholder {
   color: #999;
}

:-moz-placeholder { /* Firefox 18- */
   color: #999;
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #999;
}

:-ms-input-placeholder {
   color: #999;
}

.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;
}
	.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;
}


/* ---- form help ---- */

.help-block,
.help-inline {
	color: #625757;
	font-size: 12.8px;
	line-height: 1.4;
}

.help-block {
	display: block;
	margin-bottom: 0.75em;
}

.help-inline {
	display: inline-block;
	vertical-align: middle;
	padding-left: 12px;
}

.help-block,
.help-inline {
	color: #625757;
}

.help-block {
	display: block;
	margin-bottom: 0.75em;
}

.help-inline {
	display: inline-block;
	vertical-align: middle;
	padding-left: 24px;
}

/* ---- 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: bold;
		font-style: italic;
	}



/* ---- Form section form styles ---- */


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

/* Field info */
span.field-info {
	color: #e85504;
}
span.field-info:before {
	content: "\2039\00a0";
}

span.field-info,
span.field-error {
	font-weight: bold;
	padding: 0;
	margin: 0;
	font-size: 12px;
	vertical-align: middle;
}

span.field-error {
	color: #D20000;
}
input[type=text].field-error,
input[type=password].field-error,
textarea.field-error,
.textbox.field-error {
	border: 1px #D20000 solid;
}
span.field-error + span.field-info {
	display: none;
}

span.s {
    font-size: small;
    font-weight: normal;
}

/* labels are block-level items, lets not show BRs */
table.form-section label + br {
	display: none;
}



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

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

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

	.submit-bar a {
		margin-right: 24px;
		margin-top: 11px;
		display: inline-block;
	}

@media screen and (max-width: 600px) {
		.submit-bar a {
			margin: 0 0 14px;
			display: block;
		}
	}


/* ---- 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;
		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;
	}



.content-search-box {
	background: #eee;
	padding: 15px 20px;
	margin: 0 0 10px 0;
}
	.content-search-box .textbox {
		display: inline-block;
		width: 80%;
	}
	.content-search-box .button {
		display: inline-block;
		width: 17%;
		margin-left: 2%;
	}

.search-result {
	border-bottom: 1px #ccc solid;
	padding: 20px 0;
}

	.search-result h2 {
		margin: 0 0 10px 0;
	}


/* ---- Custom form box class ---- */
.form-box {
	background: #f6f6f6;
	padding: 20px 15px 15px;
	margin-bottom: 20px;
}

@media screen and (min-width: 650px) {
	.form-box {
		padding: 20px 30px 15px;
	}
}

/* ---- Form row system ---- */


.form-row select {
	width: 100%;
}
.form-row select,
.form-row input[type="text"] {
	margin: 0 1.5% 10px 0;
	float: left;
}
.form-row select:last-child,
.form-row input[type="text"]:last-child {
	margin-right: 0;
}
@media screen and (min-width: 650px) {
	.form-row {
		margin-bottom: 10px;
	}
	.form-row select,
	.form-row input[type="text"] {
		margin: 0 1.5% 0 0;
	}
}

/*
Layout 1 - Two inputs, then a button
*/

@media screen and (min-width: 650px) {
	.form-row-1 select,
	.form-row-1 input[type="text"] {
		width: 40%;
	}
	.form-row-1 input[type="submit"] {
		width: 16%;
	}
}

/*
Layout 2 - Two inputs, then a button
*/
@media screen and (min-width: 650px) {
	.form-row-2 select,
	.form-row-2 input[type="text"] {
		width: 49.25%;
	}
	.form-row-2 input[type="submit"] {
		width: 16%;
	}

}

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

.search-paginate {
	padding: 10px 0;
	text-align: center;
}
	.search-paginate .page-prev {
		margin: 0 8px 0 0;
	}
	.search-paginate .page {
		background: #9E2525;
		border: 1px #9E2525 solid;
		padding: 2px 9px;
		margin: 0 3px;
		transition: all 150ms ease-in-out 0s;
		-moz-transition: all 150ms ease-in-out 0s;
		-ms-transition: all 150ms ease-in-out 0s;
		-o-transition: all 150ms ease-in-out 0s;
		-webkit-transition: all 150ms ease-in-out 0s;
		text-decoration: none;
		color: #fff;
	}
	.search-paginate .page.on,
	.search-paginate .page:hover,
	.search-paginate .page:active,
	.search-paginate .page:focus {
		background: #444;
		border-color: #444;
		color: #fff;
	}

	.search-paginate .page-next {
		margin: 0 0 0 8px;
	}




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

.captcha {
	background-color: #f6f6f6;
	padding: 10px;
	width: 100%;
	border: 1px solid #D7D7D7;
}

	.captcha .captcha-info, .captcha .info {
		float: right;

		padding-bottom: 8px;
}
	.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,
.table--borderless {
	width: 100%;
	margin: 20px 0;
}
.table--content-standard caption,
.form-section caption,
.table--borderless 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;
}
.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;
}

.table--content-standard.candy-striped tr th,
.table--content-standard.candy-striped tr td {
	border-left: 1px solid #d7d7d7;
	border-right: 1px solid #d7d7d7;
}
.table--content-standard.candy-striped tr:nth-child(even) td {
	background-color: #fdfdfd;
}

.table--content-standard tr.selected td {
	background-color: rgba(32,117,132,0.1) !important;
}

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

/* Small */
.table--content-standard.table--content-small {
	font-size: 13px;
}
.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;
}

/* ---- Form section tables ---- */

.form-section td.field-info {
	vertical-align: middle;
	font-size: 10px;
}
.checkbox-list td.check {
	width: 10px;
	text-align: center;
}
.form-section .checkbox-list {
	margin: 0;
}

/* Form sections in sidebar */
.sidebar > .form-section,
.sidebar > .form-section > tbody,
.sidebar > .form-section > tbody > tr,
.sidebar > .form-section > tbody > tr > th,
.sidebar > .form-section > tbody > tr > td,
.blog-sidebar .form-section,
.blog-sidebar .form-section > tbody,
.blog-sidebar .form-section > tbody > tr,
.blog-sidebar .form-section > tbody > tr > th,
.blog-sidebar .form-section > tbody > tr > td {
	display: block;
	width: 100%;
}
.sidebar .form-section > tbody > tr > td,
.blog-sidebar .form-section > tbody > tr > td {
	 border-left: 1px solid #d7d7d7;
}
.sidebar .form-section input,
.blog-sidebar .form-section input {
	width: 100% !important;
}
.sidebar .form-section .field-info,
.blog-sidebar .form-section .field-info {
	text-align: right;
}
.sidebar .form-section td.field-info:empty,
.sidebar .form-section td.nothing,
.blog-sidebar .form-section td.field-info:empty,
.blog-sidebar .form-section td.nothing {
	display: none !important;
}
.sidebar span.field-info:before,
.blog-sidebar span.field-info:before {
	content: "^\00a0";
}
.sidebar .form-section > tbody > tr > th:first-child,
.blog-sidebar .form-section > tbody > tr > th:first-child {
	width: 100%;
}

/* Responsiveness */
@media all and (min-width: 651px) {
	.form-section > tbody > tr > th:first-child {
		width: 25%;
	}
}

@media screen and (max-width: 650px) {
	.form-section,
	.form-section > tbody,
	.form-section > tbody > tr,
	.form-section > tbody > tr > th,
	.form-section > tbody > tr > td {
		display: block;
		width: 100%;
	}
	.form-section > tbody > tr > td {
		 border-left: 1px solid #d7d7d7;
	}
	.form-section .field-info {
		text-align: right;
	}
	.form-section td.field-info:empty,
	.form-section td.nothing {
		display: none !important;
	}
}

/* ---- Responsive table ---- */
table.responsive {
	overflow: auto;
	overflow-y: hidden;
	overflow-x: auto;
	display: block;
}

/* ---- No Styles Table ---- */

.table__no-styles {
	border-collapse: separate;
	border: none;
	background: none;
	min-width: 0;
}

	.table__no-styles th,
	div:not(.widget) > table.table__no-styles th,
	.table__no-styles td,
	div:not(.widget) > table.table__no-styles tr:nth-child(odd) td {
		padding: 0;
		border: 0;
		background: none;
	}


/* ---- Borderless table --- */
.table--borderless th {
	font-weight: bold;
	font-size: 17px;
}

.table--borderless th,
.table--borderless td {
	padding: 12px 15px;
	text-align: left;
}

/* ------------------------------------------------------
**** Logo Gallery
------------------------------------------------------ */

.logo-gallery .logo {
	float: left;
	padding: 0 10px;
	margin: 15px 1.6665% 15px 1.6665%;
	border: 1px solid #cccccc;
	width: 30%;
}

.logo-gallery .logo-wrap {
	position: relative;
	width: 100%;
	height: 200px;
	display: table-cell;
	vertical-align:middle;
}

.logo-gallery .logo-wrap:before {
	content: "";
	display: block;
	padding-top: 0%;
}

.logo-wrap img {
	width: 100%;
	max-width: 50em;
	height: auto;
	max-height: 100%;
	margin: 0 auto;
}

.logo-details {
	text-align: center;
}


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

/* ---- Caps ---- */
.caps {
	text-transform: uppercase;
}

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

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

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

.-clearfix:after,
.form-row:after {
	clear: both;
}


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

.-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;
}

/* 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,
.alignleft {
	margin: 0 30px 25px 0;
	float: left;
}

.right,
.alignright {
	margin: 0 0 25px 30px;
	float: right;
}

.float-left {
	float: left;
}
.float-right {
	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;
}





/* ---- Detail box ---- */
.detail-box {
	background-color: #f6f6f6;
	padding: 25px 30px;
	float: right;
	margin: 0 0 30px 40px;
	width: 280px;
}
.detail-box h3:first-child {
	margin-top: 0;
}
.detail-box h3 {
	margin: 17px 0 0;
}
.detail-box p {
	margin: 5px 0;
}
.detail-box p:last-child {
	margin-bottom: 0;
}


@media screen and (max-width: 767px) {
	.detail-box {
		float: none;
		width: 100%;
		margin: 20px auto;
		padding: 20px 25px;
	}
}

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

/* 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 h2.widget-title {
	font-size: 22px;
}



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

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

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

/* ---- Catch all ---- */
.sidebar .widget {
	margin-bottom: 25px;
}
.widget-ArticleDateList ul,
.widget-RelatedLinks ul,
.widget-ForumCategoryList ul {
	padding: 0;
	list-style: none;
	margin: 0;
}
/* ---- Related Links ---- */
.widget-RelatedLinks {
	margin-bottom: 25px;
}
.widget-RelatedLinks ul {
	padding: 0;
	margin:  0;
}
.widget-RelatedLinks ul.depth2 {
	padding-left: 20px;
}
.widget-RelatedLinks ul.depth3 {
	padding-left: 20px;
}
.widget-RelatedLinks li {
	list-style: none;
}
.widget-RelatedLinks a {
	text-decoration: none;
}


.widget-RelatedLinks > ul > li {
	position: relative;
}
.widget-RelatedLinks > ul > li:last-child {
	border-bottom: none;
}
.widget-RelatedLinks > ul > li > a {
	display: block;
	padding: 10px 18px 10px 0;
	-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 ul li.on ul li {
	font-size: 12px;
}


/* Children */
.widget-RelatedLinks > ul li.on li a {
	background: #f6f6f6;
	padding: 8px 16px 8px 29px;
}
.widget-RelatedLinks ul.depth2 > li > a:before {
	content: "- ";
	margin-left: -13px;
}
.widget-RelatedLinks ul.depth3 > li > a {
	font-size: 14px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.widget-RelatedLinks > ul > li ul > li a {
	-webkit-transition: all 150ms ease-out;
	-moz-transition: all 150ms ease-out;
	-o-transition: all 150ms ease-out;
	transition: all 150ms ease-out;
	position: relative;
	padding: 10px 25px 10px 25px;
	display: block;
}
.widget-RelatedLinks > ul > li ul > li a:hover {
	background: #eee;
}



/* ---- 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;
}

/*
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 .pg-item {
	width: 22%;
	float: left;
	margin: 0 4% 20px 0;
	position: relative;
	overflow: hidden;
	background-color: #E7EAEC;
}
.widget-ChildrenGallery .pg-title {
	padding: 10px 20px 20px;
	margin: 0;
	line-height: 1.2;
}

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

.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: #FFF;
	background: rgba(255,255,2555,0.4);
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
	padding-top: 45%;
	display: none;
	color: #000;
	display: block;
	opacity: 0;
	transition: opacity 200ms ease-in-out;
}

.widget-ChildrenGallery .pg-link:hover .pg-anchor {
	opacity: 1;
}

@media screen and (max-width:991px) {
	.widget-ChildrenGallery .pg-item {
		width: 30.6%;
		margin: 0 4% 20px 0;
	}
	.widget-ChildrenGallery .pg-item:nth-child(4n+4) {
		margin-right: 4%;
	}
	.widget-ChildrenGallery .pg-item:nth-child(3n+3) {
		margin-right: 0;
	}
}

@media screen and (max-width:480px) {
	.widget-ChildrenGallery .pg-title {
		padding: 6px 10px 15px;
	}
	.widget-ChildrenGallery .pg-item {
		width: 48%;
		margin: 0 4% 20px 0;
	}
	.widget-ChildrenGallery .pg-item:nth-child(3n+3) {
		margin-right: 4%;
	}
	.widget-ChildrenGallery .pg-item:nth-child(2n+2) {
		margin-right: 0;
	}
	.widget-ChildrenGallery .pg-link:hover .pg-anchor {
		display: none;
	}
}


/* ---- 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;
	}
}
