/*!
Theme Name: Flynn Tree Services
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: flynn-tree-services
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.

Flynn Tree Services 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
--------------------------------------------------------------*/

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

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

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

:root {
      --blue: #005586;
      --green: #94c93d;
      --dark-blue: #003f6b;
      --light-blue: #eef6fb;
      --light-green: #eef8df;
	  --line: #d7dde3;
      --text: #111827;
      --muted: #4b5563;
      --border: #d7dde3;
      --white: #ffffff;
    }

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 1.2;
	margin: 0 0 0.5em 0;
}

h1, h2 {
	font-family: 'Fira Sans Condensed', 'Jost', Arial, Helvetica, sans-serif;
	font-weight: 500;
}

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;
	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: var(--blue);
	text-decoration: none;
	transition: color 0.3s ease-in-out;
	-webkit-transition: color 0.3s ease-in-out;
	-moz-transition: color 0.3s ease-in-out;
	-o-transition: color 0.3s ease-in-out;
}

a:visited {
	color: var(--blue);
}

a:hover,
a:focus,
a:active {
	color: var(--dark-blue);
}

a:focus {
	outline: thin dotted;
}

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

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"],.btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      border-radius: 4px;
      border: 2px solid transparent;
      padding: 14px 24px;
      font-weight: 800;
      text-transform: uppercase;
      text-decoration: none;
      line-height: 1;
      white-space: nowrap;
    }

    .phone-btn { background: var(--blue); color: white; }
    .btn-green { background: var(--green); color: white; }
    .btn-blue { background: var(--blue); color: white; }
    .btn-outline { border-color: var(--blue); color: var(--blue); }

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

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

.container {
	margin: 0 auto;
	max-width: 90%;
}
.flex-container {
	display: flex;
	flex-wrap: wrap; }
.flex-center, section.flex-center .flex-container {align-items: center;}
.flex-top {align-items: flex-start;}
.flex-bottom {align-items: end;}
.flex-around {justify-content: space-around;}
.flex-between {justify-content: space-between;}
.justify-center {justify-content: center;}
.flex-container.flex-2 > *, .flex-container.flex-3 > *, .flex-container.flex-4 > * {flex-basis: 100%;}
.mobile-reverse .flex-container{flex-direction: column-reverse;}
.video-wrapper {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
  	overflow: hidden;
 	margin: 0;}
.video-wrapper iframe, .video-wrapper object, .video-wrapper embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.site-branding {flex-basis: 150px;}
.site-info {flex-basis: 100%;}
span.sep {margin: 0 10px;}
.grid-container {
	display: grid; 
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
	gap: 20px;}
@media(min-width: 767px){
	.flex-container.flex-4 > * {flex-basis: 48%;}
	.flex-container.flex-4.flex-flush > * {flex-basis: 50%;}
}
@media(min-width: 1025px) {
	.container.small-container, .small-container .container {max-width: 1000px;}
	.container.default-container {max-width: 900px;}
	.site-branding {flex-basis: 278px;}
	.site-info {flex-basis: calc(100% - 278px);}
	.flex-container.flex-2 > * {flex-basis: 48%;}
	.flex-container.flex-3 > * {flex-basis: 31%;}
	.flex-container.flex-3.justify-center>* {margin: 0 1% 1%;}
	.flex-container.flex-4 > * {flex-basis: 24%;}
	.flex-container.flex-2.flex-flush > * {flex-basis: 50%;}
	.flex-container.flex-3.flex-flush > * {flex-basis: 33.33333%;}
	.flex-container.flex-4.flex-flush > * {flex-basis: 25%;}
	.mobile-reverse .flex-container{flex-direction: row;}
	.flex-reverse {flex-direction: row-reverse;}
	.grid-container.grid-3 {grid-template-columns: repeat(3, 1fr);}
	.grid-container.grid-4 {grid-template-columns: repeat(4, 1fr);}
	#site-navigation {
		flex-basis: calc(100% - 320px);
	    display: flex;
        align-items: center;
        justify-content: space-between;}
}

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

/* Home Page */
	.hero {
      min-height: 500px;
      display: flex;
      align-items: center;
      color: white;
	position: relative;
	    background-size: cover;
    background-position: center;
	}
	.hero .container {flex-basis: 100%;}
	.hero:before {
	  	content: "";
    	background: linear-gradient(90deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .45) 42%, rgba(0, 0, 0, .1) 100%);
    	width: 100%;
    	height: 100%;
   	 	display: block;
    	position: absolute;
    }

    .hero-content {
      padding: 72px 0;
    }

    .hero h1 {
      margin: 0 0 18px;
      font-size: clamp(44px, 6vw, 76px);
      line-height: .95;
      text-transform: uppercase;
    }
	.hero-copy {
    	position: relative;
	}
    .hero p {
      margin: 0 0 32px;
      color: var(--green);
      font-size: 28px;
      line-height: 1.25;
      
    }

    .hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }
    .services-strip{padding:44px 0 48px;background: #fff;}
    .service-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0;text-align:center;}
    .service-card{padding:clamp(20px, 3.5vw, 45px);}
	.service-card:nth-child(even){border-left:1px solid var(--line)}
	.service-card:nth-child(1), .service-card:nth-child(2){border-bottom:1px solid var(--line)}
    .service-card:last-child{border-right:0}
    .service-icon{height:100px;margin:0 auto;color:var(--green);display:grid;place-items:center}
	.service-icon img, .service-icon picture {max-width:100px;max-height:100px;}
    .service-card h3{color:var(--blue);font-size:18px;margin:0 0 10px;font-weight:700; font-family: 'Jost', Arial, Helvetica, sans-serif; }
    .service-card p{font-size:14px;margin:0;color:#111;line-height:1.5}

	.tree-services-image img { border-radius: 12px;}

    .title-rule{display:flex;align-items:center;gap:28px;margin:0 auto 28px;color:var(--dark-blue);font-size:26px;font-weight:700;text-transform:uppercase;text-align:center;justify-content:center}
    .title-rule:before,.title-rule:after{content:"";height:1px;background:var(--line);flex:1;max-width:440px}

    .tree-services{padding:0 0 32px}
    .two-col{display:grid;grid-template-columns:1fr 1fr;gap:68px;align-items:start}
    .why h2{margin:0 0 18px;color:var(--dark-blue);font-size:28px;font-weight:700;text-transform:uppercase; font-family: 'Jost', Arial, Helvetica, sans-serif;}
    .why-item{display:grid;grid-template-columns:44px 1fr;gap:16px;margin:0 0 16px;align-items:center}
    .why-icon{font-size:28px;color:var(--dark-blue);line-height:1;text-align:center}
    .why h3{margin:0;color:#111;font-size:16px;font-weight:700;font-family: 'Jost', Arial, Helvetica, sans-serif;}.why p{margin:2px 0 0;font-size:14px;color:#111;}

    .emergency-container{margin:24px auto 38px;background:var(--dark-blue);color:white;border-radius:12px;padding:18px 44px;display:flex;align-items:center;justify-content:space-around;gap:36px;}
    .emergency-container h3{font-size:22px;margin:0;text-transform:uppercase}.emergency-container p{margin:0;font-size:14px}
	.emergency-container .circle span {color:#fff;}

    .recent{padding:0 0 42px;text-align:center}.recent h2{color:var(--dark-blue);font-size:24px;text-transform:uppercase;margin:0 0 24px;font-weight:700}
    .project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-bottom:22px}.project-img{height:175px;border-radius:12px;background:center/cover no-repeat}.project-title{font-weight:800;color:var(--dark-blue);font-size:16px;margin-top:9px}.project-title a{color:var(--dark-blue);text-decoration:none}.project-title a:hover{color:var(--blue)}

	@media(min-width: 767px) {
		.emergency-container .circle{width:52px;height:52px;border:3px solid #fff;border-radius:120%;display:grid;place-items:center;font-size:26px}
	}
	@media(min-width: 1025px) {
		.service-grid{grid-template-columns:repeat(4,1fr);}
		.service-card{padding:0 clamp(20px, 3.5vw, 45px);border-right:1px solid var(--line);}
	}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

.service-area-copy h2{
	font-family: 'Jost', Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--dark-blue);
}
.service-area-copy h3 {
	color: var(--green);
}

.site-footer {
      background: var(--blue);
      color: white;
      padding: 50px 0 24px;
    }

    .footer-grid {
      display: grid;
      gap: 56px;
      align-items: start;
      border-bottom: 1px solid rgba(255,255,255,.25);
      padding-bottom: 34px;
    }

    .footer-logo { max-width: 225px; margin-bottom: 20px; }
    .footer-title { margin: 0 0 14px;  text-transform: uppercase; font-weight: 600;}
    .footer-list, .footer-list ul { list-style: none; padding: 0; margin: 0; }
    .footer-list li { margin-bottom: 6px; }
    .footer-list a { color: white; text-decoration: none; }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 24px;
      padding-top: 20px;
      font-size: 13px;
    }
	.social-icons a {
		color: white;
		margin-right: clamp(18px, 2.5vw, 30px);
		text-decoration: none;
	}
	.social-icons a:hover {
		color: var(--light-green);
	}
	.social-icons a span {
		font-size: clamp(18px, 2.5vw, 30px);
	}

	@media(min-width: 1025px) {
		.footer-grid {grid-template-columns: 1.2fr 1fr 1fr;}
	}

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
	transition: background 0.3s ease-in-out;
	-webkit-transition: background 0.3s ease-in-out;
	-moz-transition: background 0.3s ease-in-out;
	-o-transition: background 0.3s ease-in-out;
}
.main-navigation.toggled {
    display: block;
    width: 100%;
    background: #fff;
}
.menu-main-menu-container {
    width: 100%;
}
.main-navigation ul {
	list-style: none;
}
.main-navigation .menu-main-menu-container > ul {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
	background: #fff;
}
.main-navigation ul.menu > li > a {
	font-weight: 400;
	padding: 5px 20px;
	font-size: clamp(16px, 1.25vw, 18px);
	display: flex;
    justify-content: space-between;
}
.main-navigation ul.menu > li > a:hover {
	color: #F28E00;
}
.site-header {
	padding: 20px 0;
	transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	position: relative;
    z-index: 999;
}

.site-header.smaller {background: #fff;box-shadow: 0px 1px 11px rgba(0, 0, 0, 0.2);}
.site-header.smaller .main-navigation ul.menu#primary-menu > li > a {
	color: #194224;
}
.main-navigation ul.menu > li > a:hover, .main-navigation ul.menu > li.current-menu-item > a {
	color: #194224;
}
.main-navigation ul.menu > li.current-menu-item.button > a {
	color: #fff;
}
.main-navigation ul ul {
	margin-left: 0;
}

.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 {
	padding: 5px 20px;
	font-size: 16px;
	color: #fff;
}
.main-navigation ul ul a:hover {
	background:#38557C;
	color: #fff;
}
.main-navigation ul#primary-menu > li:first-of-type{
	border-top: 1px solid #38557C42;
}
.main-navigation ul#primary-menu > li {
	border-bottom: 1px solid #38557C42;
}
.mobile-menu-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}
.main-navigation ul li > .sub-menu {margin: 0;padding: 0;}
.main-navigation .phone-button {display: none;}
.main-navigation a {
	display: block;
	text-decoration: none;
}
.main-navigation a.button {display: inline-block;}
.menu-item-has-children a span.plus {
    display: inline-block;
    margin-left: 10px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    background: #194224;
    text-align: center;
    color: #fff;
    font-weight: bold;
    transform: rotate(0deg);
    -webkit-transition: transform .4s;
    -o-transition: transform .4s;
    transition: transform .4s;
    font-size: 20px;
    font-family: 'Manrope', sans-serif;
    line-height: 1;
    vertical-align: middle;
}
.menu-item-has-children a span.plus.open {
	transform: rotate(45deg);
}
.header-phone {
    text-align: center;
}
.header-phone a {
	color: #fff;
}
.phone a, .header-phone a {
    font-size: clamp(20px, 3vw, 32px);
    text-align: center;
    margin-left: 8px;
}
.site-header.smaller .header-phone a {
	color: #194224;
}
/* Small menu. */
.menu-toggle {
	display: block;
}
ul#utility-menu li:not(.gray-back) {
    display: none;
}
nav#site-navigation .menu-toggle {
	position: absolute;
    width: 45px;
    height: 45px;
    border-radius: 0;
    border: 0px solid transparent;
    z-index: 999;
    top: 20px;
}
nav#site-navigation .menu-toggle:hover {
	background: #194224;
}
.menu-toggle .menu-bar {
	display: block;
	left: 50%;
	transform: translateX(-50%);
	width: 25px;
	height: 0.25em;
	margin-top: 0.5em;
	background-color: #194224;
	position: absolute;
	-webkit-border-radius: 1px;
	-moz-border-radius: 1px;
	border-radius: 1px;
	-webkit-transition: transform .4s;
	-o-transition: transform .4s;
	transition: transform .4s;}
nav#site-navigation .menu-toggle:hover .menu-bar {
	background-color: #fff;
}
.menu-toggle .menu-bar:first-of-type {top: 7px;}
.menu-toggle .menu-bar:nth-child(2) {top: 14px;}
.menu-toggle .menu-bar:nth-child(3) {top: 21px;}
.toggled .menu-toggle .menu-bar:nth-child(1) {
	top: 14px;
	-webkit-transform: translateX(-50%) rotate(45deg);
	-ms-transform: translateX(-50%) rotate(45deg);
	-o-transform: translateX(-50%) rotate(45deg);
	transform: translateX(-50%) rotate(45deg);
	-webkit-transition: transform .4s;
	-o-transition: transform .4s;
	transition: transform .4s;}
.toggled .menu-toggle .menu-bar:nth-child(2) {
	opacity: 0;
	-webkit-transition: opacity .3s;
	-o-transition: opacity .3s;
	transition: opacity .3s;}
.toggled .menu-toggle .menu-bar:nth-child(3) {
	top: 14px;
	-webkit-transform: translateX(-50%) rotate(-45deg);
	-ms-transform: translateX(-50%) rotate(-45deg);
	-o-transform: translateX(-50%) rotate(-45deg);
	transform: translateX(-50%) rotate(-45deg);
	-webkit-transition: transform .4s;
	-o-transition: transform .4s;
	transition: transform .4s;}

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

	.menu-toggle {
		display: none;
	}
	.main-navigation {
		display: inline-block;
    	width: auto;}
	.menu-main-menu-container {
		position: relative;
		top: auto;
		margin-bottom: 10px;}
	.smaller .menu-main-menu-container {
		border-top: 1px solid #194224;
	}
	.main-navigation .menu-main-menu-container > ul {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0px;
    	margin-left: auto;
		background: transparent;
	}
	.main-navigation ul#primary-menu > li,
	.main-navigation ul#primary-menu > li:first-of-type {
		border: 0px solid transparent;
		margin-left: 10px;
	}
	.main-navigation ul.menu#primary-menu > li > a {
		padding: 12px 20px;
		font-size: clamp(12px, 1.5vw, 18px);
		font-weight: 700;
        color: var(--blue);
		text-transform: uppercase;
	}
	ul#utility-menu li:not(.gray-back) {display: block;}
	.main-navigation ul.menu#utility-menu > li.dark > a {
		background: #003061;
	}
	.main-navigation ul#primary-menu > li.button {
		border-radius: 26px;
		background-color: #2895CE; }
	.main-navigation ul#primary-menu > li.button > a {font-weight: 700;}
	.main-navigation .menu-main-menu-container > ul#primary-menu > li > a,
	.header-phone a {
		line-height: 1;
	}
	.header-phone {
   		margin-bottom: 16px;
        justify-content: right;
	}
	.header-phone a {
		font-size: clamp(20px, 3.5vw, 39px);
		color: #fff;
	}
	.menu-item-has-children a span.plus {
		display: none;
	}
	.main-navigation ul li > .sub-menu {
		box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
		background: #194224;
		margin: 0;
		padding: 0;
		position: absolute;
		top: 100%;
		z-index: 99999;
		left: -999em;
  		transition: all .3s ease-in-out;
  		line-height: 0;
		color: transparent;}
	.main-navigation ul li:hover > ul.sub-menu {
		left: auto;
		line-height: 1.5;}
	.main-navigation ul li > .sub-menu li {
		border-bottom: 2px solid #fff;
	}
	.main-navigation ul li > .sub-menu li:last-of-type {
		border-bottom: none;
	}
	.main-navigation ul li > .sub-menu li a{
		color: #fff;
		font-size: clamp(12px, 1.5vw, 18px);
	}
	.main-navigation ul li > .sub-menu li a:hover {
		color: #fff;
		background: #464646;
	}
}

@media(max-width: 1025px){
	.main-navigation ul li > .sub-menu {
		display: none;
        background-color: #194224;}
}

.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,
.page {
	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;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

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

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