/*!
Theme Name: Foursquare Builders 2019
Theme URI: http://underscores.me/
Author: Gabriel Serafini / Serafini Studios
Author URI: https://serafinistudios.com
Description: Custom theme for Foursquare Builders
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: foursquarebuilders-2019
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 with others.

Foursquare Builders 2019 is based on Underscores https://underscores.me/, (C) 2012-2017 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:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | 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; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
}

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

/**
 * Remove the margin in all browsers.
 */

body {
	margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

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

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
	box-sizing: content-box; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}

/**
 * 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; /* 1 */
	font-size: 1em; /* 2 */
}

/* 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; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}

/**
 * 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; /* 1 */
	font-size: 1em; /* 2 */
}

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

/* 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; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
	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; /* 1 */
	color: inherit; /* 2 */
	display: table; /* 1 */
	max-width: 100%; /* 1 */
	padding: 0; /* 3 */
	white-space: normal; /* 1 */
}

/**
 * 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; /* 1 */
	padding: 0; /* 2 */
}

/**
 * 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; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
 * 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; /* 1 */
	font: inherit; /* 2 */
}

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

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	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;
	font-size: 15px;
	font-size: 0.9375rem;
}

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

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

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff;
	/* Fallback for when there is no custom background color defined. */
}

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

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

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

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

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 {
	border-color: #aaa #bbb #bbb;
}

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

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: royalblue;
}

a:visited {
	color: purple;
}

a:hover, a:focus, a:active {
	color: midnightblue;
}

a:focus {
	outline: thin dotted;
}

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

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	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: 10002;
}

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

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

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

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

.main-navigation li {
	float: left;
	position: relative;
}

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

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

.main-navigation.toggled ul ul {
	float: none;
	position: relative;
	top: auto;
	left: auto;
  margin-left: 1em;
  font-size: .9em;
  box-shadow: none;
}

/* 
@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}
 */

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

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# 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; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.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: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

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

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

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

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

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

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

.post,
.page {
}

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

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# 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 embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* 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;
	font-style: italic;
	color: rgba(0,0,0,.6);
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

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

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
	
}


/* "Bootstrap" but smaller & css grids
 * https://hacks.mozilla.org/2017/04/replace-bootstrap-layouts-with-css-grid/
 */

/* CONTAINER */
.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 0em;
  padding-right: 0em;
}

@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}

@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

/* ROW */
.row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-gap: 1em;
  padding: 1em 1em;
}

.row .row {
    padding: 1em 0em;
}

.col-xs-12 {
  grid-column: span 12
}

.col-xs-11 {
  grid-column: span 11;
}

.col-xs-10 {
  grid-column: span 10
}

.col-xs-9 {
  grid-column: span 9
}

.col-xs-8 {
  grid-column: span 8
}

.col-xs-7 {
  grid-column: span 7
}

.col-xs-6 {
  grid-column: span 6
}

.col-xs-5 {
  grid-column: span 5
}

.col-xs-4 {
  grid-column: span 4
}

.col-xs-3 {
  grid-column: span 3
}

.col-xs-2 {
  grid-column: span 2
}

.col-xs-1 {
  grid-column: span 1
}

/* On mobile, everything else should be 1 column wide / collapse */
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12,
.col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12
 {
  grid-column: span 12
}


.col-xs-hide {
    display: none;    
}

@media (min-width: 768px) {
  .col-sm-12 {
    grid-column: span 12
  }

  .col-sm-11 {
    grid-column: span 11;
  }

  .col-sm-10 {
    grid-column: span 10
  }

  .col-sm-9 {
    grid-column: span 9
  }

  .col-sm-8 {
    grid-column: span 8
  }

  .col-sm-7 {
    grid-column: span 7
  }

  .col-sm-6 {
    grid-column: span 6
  }

  .col-sm-5 {
    grid-column: span 5
  }

  .col-sm-4 {
    grid-column: span 4
  }

  .col-sm-3 {
    grid-column: span 3
  }

  .col-sm-2 {
    grid-column: span 2
  }

  .col-sm-1 {
    grid-column: span 1
  }

    .col-xs-hide {
        display: block;
    }

}

@media (min-width: 992px) {
  .col-md-12 {
    grid-column: span 12
  }

  .col-md-11 {
    grid-column: span 11;
  }

  .col-md-10 {
    grid-column: span 10
  }

  .col-md-9 {
    grid-column: span 9
  }

  .col-md-8 {
    grid-column: span 8
  }

  .col-md-7 {
    grid-column: span 7
  }

  .col-md-6 {
    grid-column: span 6
  }

  .col-md-5 {
    grid-column: span 5
  }

  .col-md-4 {
    grid-column: span 4
  }

  .col-md-3 {
    grid-column: span 3
  }

  .col-md-2 {
    grid-column: span 2
  }

  .col-md-1 {
    grid-column: span 1
  }
}

@media (min-width: 1200px) {
  .col-lg-12 {
    grid-column: span 12
  }

  .col-lg-11 {
    grid-column: span 11;
  }

  .col-lg-10 {
    grid-column: span 10
  }

  .col-lg-9 {
    grid-column: span 9
  }

  .col-lg-8 {
    grid-column: span 8
  }

  .col-lg-7 {
    grid-column: span 7
  }

  .col-lg-6 {
    grid-column: span 6
  }

  .col-lg-5 {
    grid-column: span 5
  }

  .col-lg-4 {
    grid-column: span 4
  }

  .col-lg-3 {
    grid-column: span 3
  }

  .col-lg-2 {
    grid-column: span 2
  }

  .col-lg-1 {
    grid-column: span 1
  }
}

/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.btn:focus, .btn.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2em rgba(0, 0, 0, 0.1);
}

.button,
.btn,
a.btn,
a.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
    display: inline-block;
    padding: .6em 2em;
    color: rgba(0,0,0,.6);
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border-radius: 2px;
    border: 1px solid #bbb;
    cursor: pointer;
    box-sizing: border-box;
    font-weight: 700;
}

.button:hover,
.btn:hover,
a.btn:hover,
a.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
.btn:focus,
a.btn:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
    color: rgba(0,0,0,1);
    border-color: #888;
    outline: 0;
}
  
.button.button-primary,
.btn.btn-primary,
a.btn.btn-primary,
a.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
  color: #FFF;
  background-color: rgba(10,80,142,.9);
  border-color: rgba(10,80,142,.8);
}

.button.button-primary:hover,
.btn.button-primary:hover,
a.btn.btn-primary:hover,
a.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button.button-primary:focus,
.btn.button-primary:focus,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
    color: #FFF;
    background-color: rgba(10,80,142,1);
    border-color: rgba(10,80,142,1);
    -webkit-transition: all ease .2s;
    -moz-transition: all ease .2s;
    -o-transition: all ease .2s;
    transition: all ease .2s;
}

.button.button-info,
.btn.btn-info,
a.btn.btn-info,
a.button.button-info,
button.button-info,
input[type="submit"].button-info,
input[type="reset"].button-info,
input[type="button"].button-info {
  color: #FFF;
  background-color: rgba(12,144,187,.9);
  border-color: rgba(12,144,187,.8);
}

.button.button-info:hover,
.btn.button-info:hover,
a.btn.btn-info:hover,
a.button.button-info:hover,
button.button-info:hover,
input[type="submit"].button-info:hover,
input[type="reset"].button-info:hover,
input[type="button"].button-info:hover,
.button.button-info:focus,
.btn.button-info:focus,
button.button-info:focus,
input[type="submit"].button-info:focus,
input[type="reset"].button-info:focus,
input[type="button"].button-info:focus {
    color: #FFF;
    background-color: rgba(12,144,187,1);
    border-color: rgba(12,144,187,1);
    -webkit-transition: all ease .2s;
    -moz-transition: all ease .2s;
    -o-transition: all ease .2s;
    transition: all ease .2s;
}


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

.btn-lg, .btn-large, .button-lg, .button-large {
    font-size: 1.25em !important;
    padding: .6em 2em !important;
}

.btn-sm, .btn-small, .button-sm, .button-small {
    font-size: .9em !important;
    padding: .4em 1.4em !important;
}


[type="search"] {
    -webkit-appearance: none;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
}

input[type="checkbox"] {
    margin-right: .5em;
}

label input[type="text"],
label input[type="email"],
label textarea,
label select {
    margin-top: .2em;
}

/** Begin custom stylesheet **/
/*
    Foursquare Builders blue: #0A508E or rgba(10,80,142,1)
    Using CSS Grid
*/

body {
    font-family: "Source Sans Pro", sans-serif;
    background: #fff;
}

a {
    color: rgba(10,80,142,1);
    }

h1, h2, h3, h4, h5 {
    font-family: Lora, serif;
    line-height: 1.2em;
    font-variant-ligatures: normal;
    margin: 0;
}

.intro-text, .lead {
    font-size: 1.3em;
    margin: .5em 0;
}

.site-header {
    background: #0A508E;
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 1px 1px 8px rgba(0,0,0,.3);
    z-index: 10000;
}

/* hero cover images */
.page-template-page-with-hero-cover .site-header,
.single-portfolio .site-header,
.single-post .site-header {
    background: transparent;
    box-shadow: none;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.page-template-page-with-hero-cover .site-header.toggled,
.single-portfolio .site-header.toggled,
.single-post .site-header.toggled,
.no-post-thumbnail .site-header {
    background: #0A508E;
    box-shadow: 1px 1px 8px rgba(0,0,0,.3);
}

#content {
    background: #F2F4F6;
    padding: 5em 0 2em 0;
    position: relative;
}

.page-template-page-with-hero-cover.has-post-thumbnail #content,
.single-portfolio.has-post-thumbnail #content,
.single-post.has-post-thumbnail #content {
    padding-top: 0;
}

.single-portfolio.no-post-thumbnail #content,
.single-post.no-post-thumbnail #content {
    padding-top: 11em;
}

.entry-content {
    margin: 0;
    /* padding: 0 1.5em; */
}

.posted-on {
    font-size: .9em;
    padding: .5em 0;
    color: rgba(0,0,0,.5);
}

.project-details {
    margin-top: .2em;
}

.project-details h4  {
    padding: 0;
    margin: 0;
    font-family: "Source Sans Pro", sans-serif;
    text-transform: uppercase;
    font-size: .9em;
    letter-spacing: .09em;
    font-weight: bold;
}

.project-details p  {
    padding: 0;
    margin: 0 0 1em 0;
}

.portfolio .gallery-caption {
	display: none;
}

.hero {
    background-color: #555;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
    height: 84vh;
    min-height: 14em;
    color: rgba(255,255,255,1);
}

/* gradient overlay so white text is visible */
.hero:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 20em;
    background-image: linear-gradient(to bottom, rgba(0,0,0,.3), transparent);
/*     border: 1px solid #f00; */
}

.home .hero {
    height: 84vh;   
}

.hero .entry-title {
    font-size: 2.4em;
    text-align: center;
}

.entry-title {
    font-size: 1.5em;
    padding: 1.8em 1.2em .5em .8em;
    margin: 0;
    line-height: 1.4em;
}

.entry-content .entry-title {
    padding: 1em 0 .5em 0;
}

ul, ol {
	margin: .5em 0em;
	padding: 0 1em;
}

.comments-title {
    font-size: 1.2em;
}

.comment-list {
    margin-top: 1em;
}

.comment-author .avatar {
    float: left;
    padding: .2em .5em .5em 0;
}

/* When signed in, move the top header bar */
.admin-bar .site-header {
    top: 46px;
}

.site-branding {
    padding: 1.2em 0 .8em 1em;
    float: left;
    z-index: 100000;
}

#mobile-logo-header {
    width: 224px;
    height: auto;
}

#desktop-logo-header {
    width: 200px;
    height: auto;
    display: none;
}


@media print {
    #mobile-logo-header, #desktop-logo-header {
        filter: brightness(0) grayscale(1);
    }
}

/* WordPress admin screen on small mobile (they move their bar out of the way) */
@media screen and (max-width: 600px) {

    .admin-bar .site-header {
        position: sticky;
        top: 0px;
    }

    .admin-bar #content {
        position: relative;
        top: -10em;
    }

}


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

    .admin-bar .site-header {
        top: 32px;
    }

}

#site-navigation {
    display: none;
    margin: 0;
    padding: 0 0 2em 0;
}

#site-navigation.toggled, #header-search-form.toggled {
    display: block;
/*     opacity: 0; */
/*     animation: fade-in ease 0.8s forwards; */
}

.main-navigation ul {
    margin: 0 0 1em 0;
}

.main-navigation ul li {
    float: none;
    display: block;
}

.main-navigation .spot-for-logo {
    display: none;
}

.main-navigation a {
    color: rgba(255,255,255,.8);
    display: block;
    padding: .4em 1.4em;
    font-size: 1.3em;
}

.main-navigation a:hover {
    color: rgba(255,255,255,1);
}

.main-navigation .current-menu-item a {
}

#header-search-form {
    width: 100%;
    padding: .3em 2em;
    margin-bottom: 1em;
    display: none;
}

.main-navigation ul li.header-nav-search-link {
    display: none;
}

#header-search-icon {
    width: 1em;
    margin: 0 .5em 0 0;
}

#header-search-form input[type="search"] {
    background-color: transparent;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,.4);
    color: rgba(255,255,255,1);
    width: 100%;
    padding-left: .5em;
}

#header-search-form input[type="search"]:focus {
    background: rgba(255,255,255,.08);
    outline: none;
}

#header-search-form input[type="search"]::-webkit-input-placeholder {
    color: rgba(255,255,255,.3);
}


#header-search-form input[type="submit"] {
    
}

#nav-toggle {
    float: right;
    position: relative;
    margin: 2em 1.4em 0 0;
    width: 3em;
    padding: 1.2em;
    overflow: hidden;
    white-space: nowrap;
    color: transparent;
    background: transparent;
    border: 0;
    outline: none;
}

#nav-toggle span {
    position: absolute;
    top: 50%;
    right: 5px;
    margin-top: -2px;
    -webkit-transition: rotate 0.3s, translate 0.1s;
    -moz-transition: rotate 0.3s, translate 0.1s;
    -o-transition: rotate 0.3s, translate 0.1s;
    transition: rotate 0.3s, translate 0.1s;
    display: inline-block;
    height: .08em;
    width: 2em;
    background: rgba(255,255,255,1);
}

#nav-toggle span:before {
    top: -8px;
}

#nav-toggle span:after {
    top: 8px;
}

#nav-toggle span:before, #nav-toggle span:after {
    position: absolute;
    display: inline-block;
    height: .08em;
    width: 2em;
    background: rgba(255,255,255,1);
    content: "";
    right: 0;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-origin: 0% 50%;
    -ms-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
    -webkit-transition: -webkit-transform 0.1s;
    transition: -webkit-transform 0.1s;
    transition: transform 0.1s;
    transition: transform 0.1s, -webkit-transform 0.1s;
}

#nav-toggle.nav-is-visible span {
    background: transparent;
}

#nav-toggle.nav-is-visible span:before {
    -webkit-transform: translateX(4px) translateY(-1px) rotate(45deg);
    -ms-transform: translateX(4px) translateY(-1px) rotate(45deg);
    transform: translateX(4px) translateY(-1px) rotate(45deg);
}

#nav-toggle.nav-is-visible span:after {
    -webkit-transform: translateX(4px) translateY(0px) rotate(-45deg);
    -ms-transform: translateX(4px) translateY(0px) rotate(-45deg);
    transform: translateX(4px) translateY(0px) rotate(-45deg);
}

#nav-toggle.nav-is-visible span:before, #nav-toggle.nav-is-visible span:after {
  background: rgba(255,255,255,1);
}

.nav-links a {
    text-decoration: none;
    color: rgba(0,0,0,.5);
    padding: 1em;
}

.nav-links a:hover {
    color: rgba(0,0,0,1);
}

.nav-links .nav-next a:after {
	content: " →";
}

.nav-links .nav-previous a:before {
	content: "← ";
}


#masthead .container .row {
  padding: 0;
}

/* Desktop 780px */
@media screen and (min-width: 1024px) {

    #nav-toggle {
        display: none;
    }    

    /* #mobile-logo-header {
        display: none;
    }
    
    #desktop-logo-header {
        display: block;
        padding: 0;
        margin: 0;
        position: relative;
        left: -.2em;
    } */

    #masthead {
        text-align: right;
        -webkit-transition: all 0.4s ease;
        -moz-transition: all 0.4s ease;
        -o-transition: all 0.4s ease;
        transition: all 0.4s ease;
    }

    #masthead .container .row {
      padding: 0;
    }

    #masthead .container .row .col-md-12 {
      display: flex;
      justify-content: space-between;
    }

    .site-branding {
      display: flex;
      padding: 1.2em 0 .8em 1em;
      /* border: 1px solid #0f0; */

    }

    .site-branding a {
      display: block;
    }
    
    #site-navigation {
        display: flex;
        width: auto;
        padding: 1.2em 0 0 0;
        margin-left: auto;
        /* border: 1px solid #f00; */
        
    }

    .main-navigation ul {
        display: block;
        margin: 0;
        padding: 0;
        position: relative;
    }

    .main-navigation ul li {
        display: inline-block;
        /* display: block; */
        margin: 0;
    }

    .main-navigation ul li li {
      display: block;
      text-align: left;
      font-size: .9em;
    }

    .main-navigation a {
        display: block;
        color: rgba(255,255,255,1);
        padding: .6em 1em;
        font-size: 1.1em;
        border-bottom: 2px solid #0A508E;
    }

    .main-navigation a:hover {
        color: rgba(255,255,255,1);
        border-bottom: 2px solid rgba(255,255,255,.6);
    }

    .main-navigation .current-menu-item a {
        border-bottom: 2px solid rgba(255,255,255,.6);
    }

    .main-navigation ul li li a {
      display: block;
      color: rgba(0,0,0,.8);
      border-bottom: 2px solid rgba(0,0,0,.1);
      background: rgba(255,255,255,1);
    }

    .main-navigation ul li li a:hover {
      color: rgba(0,0,0,1);
      background: rgba(255,255,255,1);
      border-bottom: 2px solid rgba(0,0,0,.1);
    }

    .main-navigation .spot-for-logo {
        display: inline-block;
        width: 290px;
    }

    .main-navigation .spot-for-logo a {
        display: none;
    }

    .main-navigation ul li.header-nav-search-link {
        display: inline-block;
    }

    #header-search-form {
        display: none;
        width: 400px;
        margin: -1em auto 0 auto;
        padding: 0 0 .5em 0;
    }
    
    .page-template-page-with-hero-cover #header-search-form input[type='search'],
    .single-portfolio #header-search-form input[type='search'],
    .single-post #header-search-form input[type='search'] {
        background: rgba(255,255,255,.5);
    }

    #header-search-form input[type="search"]::-webkit-input-placeholder {
        color: rgba(255,255,255,.8);
    }

    .hero .entry-title {
        font-size: 3em;
        text-align: center;
    }

    #content {
        padding: 5em 0 2em 0;
    }


}



.post-edit-link {
/* 
    padding: 2em;
    border: 2px solid rgba(10,80,142,1);
 */
}

.post-edit-link:hover {
}

.widget-title {
    font-family: "Source Sans Pro", sans-serif;
    text-transform: uppercase;
    font-size: .9em;
    letter-spacing: .09em;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

.textwidget p {
    margin-top: .5em;;
}

#footer-container {
    background: #fff;
    padding: 2em 0em;
    box-shadow: 1px -4px 8px rgba(0,0,0,.01);
    
}

#footer-logo {
    width: 240px;
    height: auto;
}

footer .textwidget {
    color: rgba(0,0,0,.6);
}

footer .textwidget a {
    color: rgba(0,0,0,.6) !important;
    text-decoration: none;
}

footer .textwidget a:hover {
    color: rgba(0,0,0,.9) !important;
}

footer .textwidget .row {
    padding-top: .5em;
    grid-gap: 0;
}

.footer-bottom-area p {
    font-size: .9em;
    color: rgba(0,0,0,.6);
}


.screen-reader-shortcut, .screen-reader-text {
    color: rgba(255,255,255,1);
    background: rgba(10,80,142,1);
}

/* Hide flash of unstyled content / fonts */

.wf-loading * { 
    /*
    first things first, we need to hide everything,
    but bear in mind that this will only take effect
    once the loading script has taken effect.
    here we're hiding all content within
    the <html> once it has the class "wf-loading"
    */
    opacity: 0;
}

.wf-active *, 
.wf-inactive * {
    /*
    add some transitional effects
    to reintroduce the content
    gradually once fonts are loaded
    */
    -webkit-transition: opacity .6s ease-out;  
    -moz-transition: opacity .6s ease-out; 
    -o-transition: opacity .6s ease-out;  
    transition: opacity .6s ease-out; 
 
    opacity: 1;

}

/* Animations */

@keyframes fade-in-right {
  from {
    opacity: 0;
    transform: translateX(-15px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes grow-left {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes grow-down {
  from {
    opacity: 0;
    transform: scaleY(0);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}