/*!
Theme Name: africanswinefever.ca Theme
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: africanswinefever-ca-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

africanswinefever.ca Theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

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

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

html[lang="fr-CA"] .show-for-en ,
html[lang="en-CA"] .show-for-fr {
	display : none;
}

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 40px;
}
h2 {
	font-size: 30px;
}
h3 {
	font-size: 25px;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

.wpcf7-form input[type="text"] ,
.wpcf7-form input[type="tel"] ,
.wpcf7-form input[type="email"] ,
.wpcf7-form textarea ,
.wpcf7-form select {
	width : 100%;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #333333;
	font-family: 'Roboto Slab', serif;
	font-size: 20px;
	line-height: 1.25;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Anton', sans-serif;
	font-weight : 400;
	clear : both;
	margin : 0 0 0.67em 0;
}

ul,
ol,
p,
blockquote,
address,
pre,
.p-margin {
	margin : 0 0 1.67em 0;
}

h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child,
ul:last-child,
ol:last-child,
p:last-child,
blockquote:last-child,
address:last-child,
pre:last-child,
.p-margin:last-child  { 
	margin-bottom : 0;
}

dfn,
cite,
em,
i {
	font-style: italic;
}


pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

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

/* Forms
--------------------------------------------- */
a.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background-color: #54595F;
	color: #ffffff;
	line-height: 1;
	padding: 0.6em 1em 0.4em;
    font-size: 18px;
    padding: 20px 40px;	
	display : inline-block;
	border-radius: 5px;
	text-decoration : none;
}

a.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	text-decoration : underline;
}

a.button:active,
a.button:focus,
button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	text-decoration : underline;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
#page {
	position : relative;
	max-width : 1920px;
	margin : 0 auto;
}

#masthead {
	position : absolute;
	top : 0;
	left : 0;
	right : 0;
	z-index : 999;
	height : 144px;
}


#masthead .new-site-title {
	font-family: 'Roboto Slab', serif;
	font-weight : 700;
	display : inline-block;
	line-height : 1em;
	margin : 65px 0 0 50px;
	font-size : 40px;
}
#masthead .new-site-title a {
	color : #095684 !important;
	text-decoration : none;
}
#masthead .new-site-title:focus a,
#masthead .new-site-title:hover a{
	text-decoration : underline;
}

#masthead nav li ,
#masthead nav ul {
	list-style : none;
	margin : 0 0;
	padding : 0 0;
}

#masthead nav#primary-navigation ul {
	background-color : #ffffff;
	padding : 20px 0;
	-webkit-box-shadow: 6px 5px 6px 2px rgba(0,0,0,0.25);
	box-shadow: 6px 5px 6px 2px rgba(0,0,0,0.25);
	position : absolute;
	top : 65px;
	right : 0;
}

#masthead nav ul li {
	display : inline-block;
	vertical-align : top;
}
#masthead nav#primary-navigation ul li {
	padding : 0 25px;
}
#masthead nav ul li a {
	text-decoration : none;
	font-family: 'Roboto Slab', serif;
	font-weight : 500;
	color : #095684 !important;
	font-size : 20px;
}
#masthead nav ul li a:focus,
#masthead nav ul li a:hover {
	text-decoration : underline;
}

#masthead nav#secondary-navigation ul {
	position : absolute;
	top : 20px;
	right : 60px;
}

#masthead nav#secondary-navigation ul li {
	padding : 0 0;
}
#masthead nav#secondary-navigation ul li a {
	color : #333333 !important;
	font-size : 17px;
}
#masthead nav#secondary-navigation ul li:nth-child(2) ,
#masthead nav#secondary-navigation ul li:first-child {
	padding-right : 60px;
}
#masthead nav#secondary-navigation ul li.lang-item {
	padding : 0 12px;
	text-transform : uppercase;
}

#masthead nav#mobile-navigation ul li:last-child ,
#masthead nav#secondary-navigation ul li:last-child {
	position : relative;
}
#masthead nav#mobile-navigation ul li:last-child:before ,
#masthead nav#secondary-navigation ul li:last-child:before {
	content : '';
	width : 2px;
	height : 15px;
	position : absolute;
	left : -2px;
	top : 50%;
	transform : translateY(-50%);
	background-color : #333333
}
#masthead nav#mobile-navigation {
	display : none;
}
@media screen and ( max-width : 510px ){
	
}
@media screen and ( max-width : 1485px ){
	#masthead nav#primary-navigation ul li {
		padding : 0 15px;
	}
}
@media screen and ( max-width : 1385px ){
	#masthead nav#primary-navigation ul li {
		padding : 0 10px;
	}
	#masthead nav#primary-navigation ul li a {
		font-size : 16px;
	}
}
@media screen and ( max-width : 1790px ){
	#masthead .new-site-title {
		margin : 35px 0 0 50px;
	}
	#masthead nav#secondary-navigation ,
	#masthead nav#primary-navigation {
		display : none;
	}
	#masthead nav#mobile-navigation {
		display : block;
	}
}

#masthead nav#mobile-navigation {
	position : absolute;
	right : 0;
	top : 32px;
	
}

#masthead nav#mobile-navigation > div {
	display : none;
	position : absolute;
	right : 0;
	top : 0;
}
#masthead nav#mobile-navigation.is-active > div {
	display : block;
	position : absolute;
	top : 100%;
	right : 0;
}
#masthead nav#mobile-navigation > div > ul {
	display : block;
	background-color : #ffffff;
	padding : 20px 20px;
	-webkit-box-shadow: 6px 5px 6px 2px rgba(0,0,0,0.25);
	box-shadow: 6px 5px 6px 2px rgba(0,0,0,0.25);
	width : 320px;
}
#masthead nav#mobile-navigation > div > ul li {
	display : block;
	padding : 7px 0;
}
#masthead nav#mobile-navigation ul li.lang-item {
	display : inline-block;
	text-transform : uppercase;
}
#masthead nav#mobile-navigation ul li:nth-last-child(2) {
	padding-right : 15px;
}
#masthead nav#mobile-navigation ul li:last-child {
	padding-left : 15px;
}

@media screen and ( max-width : 650px ){
	#masthead .new-site-title {
		margin-top : 70px;
	}
	#masthead nav#mobile-navigation {
		top : 10px;
	}
}
@media screen and ( max-width : 590px ){
	#masthead .new-site-title a {
		font-size : 6.5vw;
	}
}

.color-red {
	color : red;
}
a.color-red {
	color : red !important;
}


.page-margins {
	padding-left : 90px;
	padding-right : 90px;
}
.anti-page-margins {
	margin-left : -90px;
	margin-right : -90px;
}

@media screen and ( max-width : 1920px ){
	.page-margins {
		padding-left : 4.688vw;
		padding-right : 4.688vw;
	}
	.anti-page-margins {
		margin-left : -4.688vw;
		margin-right : -4.688vw;
	}
}

.site-footer {
	text-align : right;
	background-image : url(images/footer-background-desktop.jpg);
	background-size : cover;
	background-position : left center;
	min-height : 220px;
	padding : 40px 0;
}
.site-footer * {
	color : #ffffff !important;
}

@media screen and ( max-width : 1024px ) {
	.site-footer {
		background-image : url(images/footer-background-tablet.jpg);
	}
}
@media screen and ( max-width : 768px ) {
	.site-footer {
		background-image : url(images/footer-background-mobile.jpg);
	}
}

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

.outer-video-container {
	max-width : 100%;
}
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-container iframe, .video-container object, .video-container embed, .video-container video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }


/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

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


/* Home
--------------------------------------------- */

section.home-banner {
	height : 1080px;
	overflow : hidden;
	position : relative;
}

section.home-banner .home-banner-cover ,
section.home-banner .home-banner-image {
	position : absolute;
	width : 100%;
	height : 100%;
	background-size : cover;
	background-position : center bottom;
	z-index : 1;
	/* background-attachment: fixed; */
}

section.home-banner .home-banner-cover {
	z-index : 2;
	background-image : url(images/banner/home-cover.png);
	background-size : cover;
	background-position : center top;
}

.home-banner-content {
	position : absolute;
	top : 200px;
	left : 50%;
	transform : translateX(-50%);
	z-index : 3;
	background-color : #c76135;
	color : #ffffff;
	text-align : center;
	padding : 30px 40px;
	display : inline-block;
	width : 84%;
	font-size : 25px;
}
.home-banner-content h1 ,
.home-banner-content p {
	color : #ffffff !important;
}
.home-banner-content h1 {
	font-size : 45px;
}

.home-banner-content .banner-video {
	width : 714px;
	position : absolute;
	left : 50%;
	transform : translateX(-50%);
	top : 100%;
	max-width : 100%;
}

.home-banner .goto-content {
	position : absolute;
	left : 50%;
	transform : translateX(-50%);
	bottom : 33px;
	display : inline-block;
	width : 56px;
	height : 56px;
	border-radius : 100%;
	background-color : #095684;
	background-image : url(images/banner-down-arrow.png);
	background-repeat : no-repeat;
	background-position : center center;
	z-index : 4;
}
@media screen and ( max-width : 510px ){
	.home-banner-content {
		top : 140px;
	}
	.home-banner-content {
		font-size : 20px;
	}
	.home-banner-content h1 {
		font-size : 30px;
	}
}
#home-video {
	padding : 115px 0;
}
#home-video .video-content {
	background-color : #095684;
	padding : 50px 65px;
}
#home-video .video-content .video-title  {
	color : #ffffff;
	font-size : 50px;
	color : #ffffff;
}
#home-video .video-content .video-description {
	font-size : 25px;
	color : #ffffff;
	padding-top : 45px;
}
#home-video .video-content .video-description * {
	color : #ffffff !important;
}
#home-video .video-content .the-video {
	margin-top : -80px;
	margin-right : -95px;
}

.video-content-table {
	display : table;
	width : 100%;
}
.video-content-row {
	display : table-row;
}
.video-content-cell {
	display : table-cell;
	vertical-align : middle;
}
.video-content-cell:first-child {
	width : 530px;
	padding-right : 60px;
}

@media screen and ( max-width : 1920px ){
	.video-content-cell:first-child {
		width : 27.604vw;
		padding-right : 3.125vw;
	}
}

@media screen and ( max-width : 1024px ){
	#home-video {
		padding-bottom : 0;
		padding-top : 60px;
	}
	#home-video .page-margins {
		padding-left : 0;
		padding-right : 4.883vw;
	}
	#home-video .video-content {
		padding : 30px 40px;
	}
	.video-content-cell:first-child {
		width : 28.32vw;
		padding-right : 50px;
	}
	#home-video .video-content .the-video {
		margin-top : -50px;
		margin-right : -90px;
	}	
}
@media screen and ( max-width : 800px ){
	#home-video .video-content-table ,
	#home-video .video-content-table > div ,
	#home-video .video-content-table > div > div {
		display : block;
		width : 100%;
		padding-right : 0;
	}
	#home-video .video-content .the-video {
		margin-top : 0;
		margin-right : -40px;
		margin-left : -40px;
	}
	#home-video .page-margins {
		padding-right : 0;
	}
	#home-video {
		padding-top : 0;
	}
	.video-content-cell:first-child {
		text-align : center;
	}	
}

#buckets {
	text-align : center;
	padding-top : 25px;
	padding-bottom : 30px;
	/* background-color : #e6e6e6; */
}
#buckets .page-margins .inner {
	max-width : 1096px;
	margin : 0 auto;
}
#buckets .bucket {
	text-align : left;
	display : inline-block;
	position : relative;
	width : 480px;
	max-width : 48%;
	margin-left : 127px;
	margin-bottom : 80px;
	vertical-align : top;
}
#buckets .bucket ,
#buckets .bucket * {
	color : #ffffff !important;
}

#buckets .bucket:nth-child(odd) {
	margin-left : 0;
}
#buckets .bucket .bucket-image {
	margin-bottom : 25px;
}
#buckets .bucket .bucket-title {
	padding-left : 25px;
	padding-right : 25px;
	margin-bottom : 25px;
	text-transform : uppercase;
}
#buckets .bucket .bucket-content {
	padding : 0 60px 25px 25px;
}

#buckets .bucket .learn-more-link {
	position : absolute;
	right : -25px;
	bottom : -40px;
	border-radius : 100%;
	width : 109px;
	height : 109px;
	text-align :center;
	font-size : 25px;
	font-family: 'Anton', sans-serif;
	line-height : 1.1;
	text-decoration : none;
	padding-top : 1em;
	border : 2px solid #095684;
}
#buckets .bucket .learn-more-link:focus , 
#buckets .bucket .learn-more-link:hover {
	border-color : #ffffff !important;
}
#buckets .bucket {
	background-color : #c76135;
}
#buckets .bucket .image img {
	transform : translate( 25px , -25px );
}
#buckets .bucket .bucket-image-mobile ,
#buckets .bucket .bucket-image-tablet {
	display : none;
}
#buckets .bucket .learn-more-link {
	background-color : #095684;
	border-color : #095684;
}

#buckets .bucket:nth-child(even) {
	background-color : #095684;
}

#buckets .bucket:nth-child(even) .learn-more-link {
	background-color : #c76135;
	border-color : #c76135;
}
@media screen and ( max-width : 1920px ) {
	#buckets .bucket {
		/* width : 25vw; */
		margin-left : 6.615vw;
	}
	#buckets .bucket .learn-more-link {
		right : -2.083vw;
		bottom : -2.083vw;
		width : 5.677vw;
		height : 5.677vw;
		font-size : 1.302vw;
	}
}
@media screen and ( min-width : 1201px ) {
	br.optional-bucket-break {
		display : none;
	}
}
@media screen and ( max-width : 1200px ) {
	#buckets .bucket {
		width : 32.917vw;
		margin-left : 6.25vw;
		margin-bottom : 100px;
	}
	/* #buckets .bucket:nth-child(even) {
		margin-left : 0;
	} */
	#buckets .bucket .learn-more-link {
		right : -2.083vw;
		bottom : -2.083vw;
		width : 7.5vw;
		height : 7.5vw;
		font-size : 1.667vw;
	}	
}
@media screen and ( max-width : 1024px ) {
	#buckets .bucket .bucket-image-desktop {
		display : none;
	}
	#buckets .bucket .bucket-image-tablet {
		display : block;
	}
}
@media screen and ( max-width : 940px ) {
	#buckets {
		padding-top : 0;
		padding-bottom : 0;
	}
	#buckets .page-margins {
		padding-left : 0;
		padding-right : 0;
	}
	#buckets .bucket .bucket-image-tablet {
		display : none;
	}
	#buckets .bucket .bucket-image-mobile {
		display : block;
	}
	#buckets .bucket {
		display : block;
		width : 100%;
		max-width : 100%;
		margin-left : 0 !important;
	}
	br.optional-bucket-break {
		display : none;
	}
	#buckets .bucket .image img {
		transform : translate( 0 , 0 );
		width : 100%;
	}
	#buckets .bucket .image {
		margin-bottom : 75px;
	}
	#buckets .bucket .learn-more-link {
		position : absolute;
		display : block;
		right : 35px;
		bottom : 25px;
		width : 110px !important;
		height : 110px !important;
		font-size : 25px;
		margin-left : 35px;
	}
	#buckets .bucket {
		padding-bottom : 20px;
		margin-bottom : 0;
	}
	#buckets .bucket .bucket-title {
		padding-left : 35px;
		padding-right : 35px;
		margin-bottom : 30px;
		transform : translateY(-15px);
	}
	#buckets .bucket .bucket-content {
		padding : 0 35px 25px 35px;
	}
	#buckets .bucket .learn-more-link {
		background-color : #095684;
		border-color : #095684;
	}

	#buckets .bucket:nth-child(odd) {
		background-color : #095684;
	}
	#buckets .bucket:nth-child(even) {
		background-color : #c76135;
	}

	#buckets .bucket:nth-child(odd) .learn-more-link {
		background-color : #c76135;
		border-color : #c76135;
	}	
	#buckets .bucket:nth-child(even) .learn-more-link {
		background-color : #095684;
		border-color : #095684;
	}	
}

.page-banner {
	position : relative;
	height : 510px;
}
section.page-banner .page-banner-cover {
	z-index : 2;
	background-image : url(images/banner/page-cover.png);
	background-size : cover;
	background-position : center top;
}

section.page-banner .page-banner-cover ,
section.page-banner .page-banner-image {
	position : absolute;
	width : 100%;
	height : 510px;
	background-size : cover;
	background-position : center bottom;
	z-index : 1;
	/* background-attachment: fixed; */
}

.page-banner .banner-title {
	position : absolute;
	left : 55px;
	right : 55px;
	bottom : 0;
	transform : translateY(50%);
	z-index : 5;
}

.page-banner .banner-title h1.page-title {
	background-color : #c76135;
	color : #ffffff;
	font-size : 50px;
	padding : 30px 55px;
	line-height : 1.1em;
	display : inline-block;
}

@media screen and ( max-width : 1920px ){
	.page-banner .banner-title {
		left : 2.865vw;
		right : 2.865vw;
	}
}

.page-content {
	padding-top : 120px;
	padding-bottom : 110px;
}



/****
sub-footer with funding message and logos
****/

.sub-footer {
	padding-top : 40px;
	padding-bottom : 30px;
	background-color : #ffffff;
	font-size : 18px;
}

.sub-footer table {
	width : 100%;
	margin-bottom : 0;
}
.sub-footer table td {
	vertical-align : middle;
	text-align : left;
}
.sub-footer table td:nth-child(1) {
	padding-right : 40px; 
}
.sub-footer table td:nth-child(2) {
	width : 263px;
	vertical-align : top;
}
.sub-footer table td:nth-child(3) {
	width : 213px;
	text-align : right;
	vertical-align : top;
	padding-top : 39px;
}
.sub-footer .mobile-text {
	text-align : center;
}
@media screen and ( min-width : 961px ){
	.sub-footer table {
		margin-bottom : 0;
	}
	.sub-footer .mobile-text {
		display : none;
	}
}
@media screen and ( max-width : 960px ){
	.sub-footer table td:nth-child(1) {
		display : none;
	}
	.sub-footer table td:nth-child(2) {
		width : auto;
	}
}
@media screen and ( max-width : 560px ){
	.sub-footer table ,
	.sub-footer table tbody ,
	.sub-footer table tbody tr ,
	.sub-footer table tbody tr td:nth-child(2) ,
	.sub-footer table tbody tr td:nth-child(3) {
		display : block;
		text-align : center;
		padding-left : 0;
		padding-right : 0;
		width : 100%;
	}
	.sub-footer table tbody tr td:nth-child(2) {
		margin : 0 0 10px 0;
	}
	.sub-footer table tbody tr td:nth-child(3) {
		margin : 0 0 1.67em 0;
	}
	.sub-footer table tbody tr td:first-child {
		display : none;
	}
	.sub-footer table tbody tr td:nth-child(3) {
		padding-top : 0;
	}
}


#new_footer {
	background-color : #095684;
	padding-top : 40px;
	padding-bottom : 40px;
	line-height : 1;
	text-align : center;
}
#new_footer a {
	color : #ffffff !important;
	text-decoration : none;
	font-size : 30px;
	font-weight : 700;
}
#new_footer a:hover,
#new_footer a:focus {
	text-decoration : underline;
}

@media screen and ( min-width : 765px ){
	#new_footer a[rel="home"] {
		float : left;
	}
	#new_footer a[rel="contact"] {
		float : right;
	}
	#new_footer a {
		display : inline-block;
		vertical-align : top;
	}
	#new_footer br.mobile-break {
		display : none;
	}
}
@media screen and ( max-width : 500px ){
	#new_footer a {
		font-size : 20px;
	}
}
.home-middle-blurb {
	padding-top : 50px;
	padding-bottom : 50px;
}
.home-middle-blurb h2 {
	margin-bottom : 0;
	font-size : 45px;
	color : #095684;
	text-align : center;
}