/*
Theme Name: Pye Barker Fire v4
Description: Pye Barker Fire Website 2023-2024
Version: 4.1.0
Text Domain: provis_media
Tags:

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.

provis_media is based on Underscores http://underscores.me/, (C) 2012-2016 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 http://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Breadcrumbs
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    background: #e7e8ea;
    scroll-behavior: smooth;

    --color_body: #1e1e1e;
    --pye_blue: #115584;
    --pye_dk_blue: #07314f;
    --pye_yellow: #fabe39;
    --pye_green: #22b14a;
    --pye_grey: #5E7787;
}

body {
    font-family: frank-new, sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0 auto;
    background: #d4d5d8;
    outline: none;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

.wp-video {
    width: 100% !important;
    height: auto !important;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],
template {
    display: none;
}

a {
    background-color: transparent;
}

a:active,
a:hover {
    outline: 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

h1 {
    font-size: 2em;
    margin: 0.25em 0;
}

mark {
    background: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

hr {
    box-sizing: content-box;
    height: 0;
}

pre {
    overflow: auto;
    font-size: 15px !important;
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input {
    line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
    color: #1e1e1e;
    font-size: 17px;
    line-height: 1.8em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    text-align: center;
    font-weight: 500;
}

p {
    margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    font-family: "aglet-slab", sans-serif;
    font-style: italic;
    margin: 0 0 20px 20px;
    color: #245fac;
    font-size: 25px;
    line-height: 1.8em;
    padding: 1.2em;
    border-left: 3px solid #5aa15c;
}

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;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
}

blockquote,
q {
    quotes: "" "";
}

hr,
.wp-block-separator {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#727272+0,e7e8ea+100 */
    background: rgb(114, 114, 114);
    /* Old browsers */
    background: -moz-linear-gradient(left, rgba(114, 114, 114, 1) 0%, rgba(231, 232, 234, 1) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(114, 114, 114, 1) 0%, rgba(231, 232, 234, 1) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(114, 114, 114, 1) 0%, rgba(231, 232, 234, 1) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#727272', endColorstr='#e7e8ea', GradientType=1);
    /* IE6-9 */
    border: 0;
    height: 2px;
    border: none;
    border-bottom: none;
    margin-bottom: 1.5em;
    color: transparent;
    width: 100% !important;
}

ul,
ol {
    margin: 0 0 1.5em 0.5em;
}

ul {
    list-style: disc;
}

.entry-content ul,
.entry-content ol {
    list-style: disc;
    line-height: 1.4em;
    padding: 5px 0 0;
}

.entry-content ul li,
.entry-content ol li {
    margin-bottom: 10px;
}

.entry-content .nav-tabs>li {
    margin-bottom: -1px;
}

#content .nav-tabs>li a {
    text-decoration: none;
}

ol {
    list-style: decimal;
}

li>ul,
li>ol {
    margin-bottom: 0;
    margin-left: 1.5em;

}

.entry-content ul.bulletList.half {
    width: 50%;
}

.entry-content ul.half {
    -webkit-column-count: 2;
    /* Chrome/Opera, Safari */
    -moz-column-count: 2;
    /* Mozilla Firefox */
    column-count: 2;

    /* Properties below are optional: */
    -webkit-column-gap: 15px;
    /* Chrome/Opera, Safari */
    -moz-column-gap: 15px;
    /* Mozilla Firefox */
    column-gap: 15px;
    display: block;
}

.entry-content ul.bulletList {
    padding-top: 0px;
    line-height: 1.1em;
}

.entry-content ul.bulletList li {
    width: 45%;
    float: left;
    padding-bottom: 1px;
}

.entry-content ul.bulletList::after {
    content: '';
    display: block;
    clear: both;
}

.entry-content ul>li {
    list-style: none;
    padding-left: 2em;
}

.entry-content ul>li:before {
    content: "";
    border-color: transparent #0b6e45;
    border-style: solid;
    border-width: 0.35em 0 0.35em 0.45em;
    display: block;
    height: 0;
    width: 0;
    left: -1em;
    top: 1em;
    position: relative;
}

.entry-content ul.services_details {
    color: var(--pye_blue);
    font-weight: bold;
}

.entry-content ul.services_details>li li {
    margin-bottom: 0;
    padding-left: 0.5em;
}

.entry-content ul.services_details>li li:before {
    content: "";
    border-color: #245fac;
    border-style: solid;
    border-radius: 50px;
    border-width: 3px;
    display: block;
    height: 0;
    width: 0;
    left: -1em;
    top: 1em;
    position: relative;
}

.service_description {
    font-style: italic;
    font-size: 15px;
    font-weight: normal;
    color: var(--color_body)
}

.entry-content .wp-block-query ul>li:before {
    display: none;
}

.entry-content .nav-tabs>li:before {
    display: none;
}

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%;
}

.entry-meta {
    text-align: center;
}

/*--------------------------------------------------------------
# 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, .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:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    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;
}

select {
    border: 1px solid #ccc;
}

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;
}

textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
    color: royalblue;
}

a:visited {
    color: purple;
}

a:hover,
a:focus,
a:active {
    color: midnightblue;
}

a:focus {
    outline: none;
}

a:hover,
a:active {
    outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#site-navigation {
    line-height: 1em;
    width: 100%;
    position: absolute;
    top: 0;
}

#site-navigation ul#primary-menu {
    list-style: none;
    width: 100%;
    text-align: center;
    padding: 0;
    top: 90px;
    right: 0;
    position: absolute;
    text-align: right;
}

#site-navigation ul#top-menu {
    position: absolute;
    top: 25px;
    right: 0;
    text-align: right;
}

#site-navigation ul#top-menu a {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
}

#site-navigation li {
    display: inline-block;
}

#site-navigation a {
    font-weight: 500;
    display: block;
    color: #fff;
    font-size: 19px;
    padding: 11px 0 10px;
    margin: 0 45px;
    text-decoration: none;
}

#primary-menu li div.sub-wrapper {
    /* nested div (containing the sub nav) will be hidden by default */
    /*
	background: rgb(21,100,154);
	background: -moz-linear-gradient(top,  rgba(21,100,154,1) 0%, rgba(13,73,114,1) 100%);
	background: -webkit-linear-gradient(top,  rgba(21,100,154,1) 0%,rgba(13,73,114,1) 100%);
	background: linear-gradient(to bottom,  rgba(21,100,154,1) 0%,rgba(13,73,114,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#15649a', endColorstr='#0d4972',GradientType=0 );
	*/
    width: 100%;
    position: absolute;
    left: -9999px;
    z-index: 10;
    height: 0;
    transition: height 1s;
    padding-bottom: 30px;
}

nav ul li div.sub-wrapper ul {
    margin: 0 auto;
}

#primary-menu>li>a,
#top-menu>li>a {
    position: relative;
}

.main-navigation .current_page_item>a::after,
.main-navigation .current-menu-item>a::after,
.main-navigation .current_page_ancestor>a::after,
.main-navigation .current-menu-ancestor>a::after,
#top-menu>li>a::after,
#primary-menu>li>a::after {
    /* swap ":hover" with ".active" to allow this to work as a class */
    content: "";
    height: 2px;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: #fff;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.1s ease-out;
}

#primary-menu>li>a:hover::after,
#top-menu>li>a:hover::after,
#primary-menu>li>a:focus::after,
#top-menu>li>a:focus::after,
.main-navigation .current_page_item>a::after,
.main-navigation .current-menu-item>a::after,
.main-navigation .current_page_ancestor>a::after,
.main-navigation .current-menu-ancestor>a::after {
    transform: scaleX(1) !important;
    transform-origin: bottom left;
}

#primary-menu>li:hover>div.sub-wrapper {
    /* swap ":hover" with ".active" to allow this to work as a class */
    left: 0;
    height: auto;
}

#primary-menu .subNavMenu {
    width: 33%;
    float: left;
}

#site-navigation .subNavMenu li {
    display: block;
    text-align: left;
}

#site-navigation .menu-items {
    padding: 40px 0;
    line-height: 1.2em;
}

#site-navigation .sub-menu {
    display: none;
}

#site-navigation li.focus>.sub-menu {
    display: block;
}

#primary-menu li.focus>div.sub-wrapper {
    left: 0;
    height: auto;
}

#site-navigation:not(.toggled) .sub-wrapper .sub-menu {
    display: block !important;
}

#primary-menu .sub-menu>li.current_page_item>a {
    border-bottom: none;
}

.sub-wrapper,
#primary-menu li>.sub-menu {
    box-shadow: 0 12px 10px -10px #000000;
}

#primary-menu>li>.sub-menu {
    min-width: 150px;
    background: #07314f;
    text-align: left;
    padding: 10px 0 15px;
    margin-left: 0;
    border: none;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    width: auto;
    line-height: 1.3em;
    position: absolute;
    z-index: 2;
    /*display:block !important;*/
}

#site-navigation .sub-menu li {
    display: block;
    padding-left: 5px;
    padding-right: 5px;
}

#site-navigation .payonline a::before {
    content: " ";
    /*
	 Image created by Font Awesome: https://fontawesome.com/icons/credit-card?style=regular
	 https://fontawesome.com/license
	*/
    -webkit-mask-image: url(images/credit-card-regular.svg);
    mask-image: url(images/credit-card-regular.svg);
    background: #0d4973;
    width: 20px;
    height: 18px;
    background-size: contain;
    display: inline-block;
    margin-right: 5px;
    margin-bottom: -3px;
}

#site-navigation .payonline a:hover::before {
    background: #fff;
}

@media screen and (min-width: 992px) {
    #site-navigation .payonline {
        position: absolute;
        top: -80px;
        right: 30px;
    }

    #site-navigation .payonline a {
        background: #fabe39;
        padding: 8px 15px 10px;
        color: #0d4973;
        line-height: 1em;
        border-radius: 3px;
        transition: background 0.3s, color 0.3s !important;
    }

    #site-navigation .payonline a:hover {
        background: #22b14a;
        color: #fff !important;
    }
}

@media screen and (max-width: 991px) {

    #site-navigation .payonline,
    #site-navigation .payonline a {
        background: #fabe39;
        color: #0d4973 !important;
    }

    #site-navigation .payonline:hover,
    #site-navigation .payonline a:hover {
        background: #22b14a !important;
        color: #fff !important;
    }
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled 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%;
}

.navigation {
    margin-bottom: 1em;
    text-align: center;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.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;
    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: 1em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-video.aligncenter {
    margin: 0 auto;
    max-width: 60%;
}

.aligncenter {
    text-align: center;
}

/*--------------------------------------------------------------
# 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-area {
    padding-top: 15px;
}

.widget {
    margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
    max-width: 100%;
}

.widget>h2 {
    text-align: left;
    color: #245fac;
    margin-bottom: .5rem;
}

.widget-post-data {
    margin-bottom: 1em;
}

.widget-post-data .time-est {
    font-size: 14px;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
    background: #797b7e;
    --ColGap: 0;
}

.breadcrumbs.border-t {
    border-top: 1px solid #fff;
}

.breadcrumbs .container .breadcrumb-col {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-shrink: 0;
    align-items: center;
    height: 34px;
}

.breadcrumbs,
#content .breadcrumbs a {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
}

.breadcrumbs .crumb:first-child {
    margin-left: calc(50px + var(--ColGap) * 0.5);
}

.breadcrumbs .crumb {
    position: relative;
    margin-right: 15px;
}

.breadcrumbs .crumb:not(:last-child)::after {
    content: "";

    right: -10px;
    top: calc(50% - 3px/2);
    position: absolute;
    width: 0px;
    height: 0px;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-left: 4px solid #fff;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
    display: block;
}

.hentry {
    margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
    display: none;
}

.single .byline,
.group-blog .byline {
    display: inline;
}

.page-content>.row>div,
.entry-content>.row>div,
.entry-summary>.row>div {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

.left {
    float: left;
    width: 64%;
    padding-left: 15px;
    padding-right: 35px;
    /*	margin-top:-5px;*/
}

.right {
    /*	border-left:1px dashed #96b7b8;*/
    float: left;
    width: 34%;
    /*	padding-left:50px;*/
    text-align: center;
}

.right::after {
    content: ' ';
    clear: both;
}

.clear {
    clear: both;
}

/*--------------------------------------------------------------
## 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,
/* Older / Newer Posts Navigation (always hidden) */
.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%;
}

/*--------------------------------------------------------------
## 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;
}

.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;
}

/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/
#header-shadow {
    background: url(images/shadow.png) transparent center no-repeat;
    content: " ";
    height: 28px;
    width: 100%;
    position: absolute;
    z-index: 1;
}

#masthead>.container-fluid {
    position: relative;
}

#masthead .sub-menu.container {
    max-width: 1050px;
}

#site-branding {
    width: 378px;
    height: 88px;
    margin: 0;
    text-align: center;
    margin-top: 24px;
    margin-bottom: 22px;
}

#site-branding a {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    ;
    z-index: 2;
    background-position: center;
    position: relative;
    display: inline-block;
}


h1 {
    font-weight: 500;
    color: #245fac;
    font-size: 54px;
    line-height: 1.2em;
    letter-spacing: -0.02em;
    margin-bottom: 0.5em;
}

h2 {
    font-weight: 500;
    font-size: 26px;
    line-height: 1.2em;
    color: #525252;
    margin-top: 17px;
    margin-bottom: 1.6em;
}

h3 {
    /*
	font-size:16px;	
	*/
    font-weight: 500;
    font-size: 26px;
    line-height: 1.2em;
    color: #525252;
}

#footer_split {
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #909090;
    background: #c51e25;
    height: 8px;
}

.site-footer {
    padding: 30px 0 30px;
    color: #0e4e79;
    font-size: 14px;
    background: rgb(239, 241, 246);
    background: -moz-linear-gradient(top, rgba(239, 241, 246, 1) 0%, rgba(212, 213, 216, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(239, 241, 246, 1) 0%, rgba(212, 213, 216, 1) 100%);
    background: linear-gradient(to bottom, rgba(239, 241, 246, 1) 0%, rgba(212, 213, 216, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eff1f6', endColorstr='#d4d5d8', GradientType=0);
}

.site-footer .pye_barker_logo {
    width: 300px;
    height: 94px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 1em;
}

.site-footer a {
    color: #0e4e79;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer_section {
    float: left;
    text-align: left;
}

.social-box {
    text-align: center;
    padding-top: 100px;
}

.footer_social .icon {
    position: relative;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 0;
    width: 40px;
    height: 40px;
    margin-top: 0;
}

.social-box .icon {
    position: relative;
    background-color: #6a6a6a;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 0;
    width: 32px;
    height: 32px;
    margin-top: 0;
}

.footer_social .icon a {
    position: absolute;
    width: 40px;
    height: 40px;
    top: 0;
    left: 0;
    background-size: 20px 20px !important;
    background-position: 10px 10px !important;
}

.social-box .icon a {
    position: absolute;
    width: 32px;
    height: 32px;
    top: 0;
    left: 0;
    background-size: 16px 16px !important;
    background-position: 8px 8px !important;
}

.footer_social .icon a:hover,
.social-box .icon a:hover {
    opacity: 0.75;
}

.footer_social:after {
    content: ' ';
    clear: both;
}

.footer_logos {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer_logos .logo {
    width: 100px;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.sdm_logo {
    background-image: url(images/sdm-2025.png);
}

.inc5000_logo {
    background-image: url(images/inc5000-2024.png);
    width: 110px;
}
.great_place_logo {
    background-image: url(images/great-place-logo-2025.png);
    width: 110px;
}

.site-footer .info {
    clear: both;
    margin-bottom: 20px;
}

.site-footer .container::after {
    content: ' ';
    clear: both;
}

#footer-reports {
    float: right;
    display: inline-block;
    padding: 3px 0;
    text-align: right;
}

#footer-reports a.link {
    padding: 10px 20px;
    background-color: #6a6a6a;
}

#footer-reports img {
    width: 60%;
    padding-top: 1em;
}

#content {
    background: #e7e8ea;
}

#content article {
    padding-top: 30px;
}

#content a {
    color: #0b6e45;
    text-decoration: underline;
    font-weight: 500;
}

#content a:hover {
    text-decoration: underline;
}

/* SLIDERS */
.master-slider-container {
    padding-bottom: 0;
    position: relative;
}

.master-slider {
    color: #fff;
    /*	background: #3e535d;*/
}

.master-slider h1,
.master-slider .title {
    color: #fff;
    font-size: 68px;
    line-height: 1.1em;
    font-weight: 600;
    margin-bottom: 0.2em;
}

.master-slider h2 {
    font-size: 32px;
}

.master-slider p {
    font-size: 22px;
    line-height: 1.4em;
}

.master-slider a {
    color: #fff !important;
    text-decoration: underline !important;
    /*text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.7);*/
}

.master-slider h1 {
    margin-bottom: 0.4em;
}

/*
.home .master-slider .ms-layer:before{
	position: absolute;
	content:"";
	left:-110px;
	width:60px;
	height: 100%;;
	background:url(images/slide_cap.png) repeat-y;
}
*/
.home .master-slider .ms-layer {
    padding-right: 140px !important;
}

.home .master-slider .ms-layer::after {
    position: absolute;
    content: "";
    right: 0;
    top: 20px;
    width: 125px;
    height: 100%;
    ;
    background: url(images/hero-logos-2025.png) no-repeat;
    background-size: contain;
}

.home .master-slider .title {
    font-size: 56px;
}

.home .master-slider center {
    text-align: left;
}

.master-slider .ms-layer {
    max-width: 40%;
}

.pageQuote {
    background: #e9e6e6;
    padding: 35px 40px;
    font-style: italic;
    font-size: 1.2em;
}

.master-slider .pmg_buttonContainer {
    width: 100%;
    margin: 1.5em 0;
}

#content .master-slider .pmg_buttonContainer a {
    background: rgba(4, 4, 4, 0.1);
    border: 1px solid #ffffff;
    color: #ffffff;
    font-size: 22px;
}

#content .master-slider .pmg_buttonContainer a:hover {
    background: #fff;
    color: rgb(4, 4, 4) !important;
}

/* BUTTON */
/* [button] shortcode */
.master-slider .pmg_buttonContainer {
    text-align: left;
}

.pmg_buttonContainer,
.wp-block-button {
    font-size: 26px;
    margin: 0.5em 0;
    display: block;
    text-align: center;
}

.wp-block-buttons>.wp-block-button {
    margin: 0.5em 0;
}

.wp-block-buttons>.wp-block-button.wp-block-button__width-25,
.wp-block-buttons>.wp-block-button.wp-block-button__width-50,
.wp-block-buttons>.wp-block-button.wp-block-button__width-75 {
    width: auto;
}

.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link,
#content .pmg_button a,
.wp-block-button .wp-block-button__link {
    text-align: center;
    text-decoration: none !important;
    -webkit-transition: background 0.3s !important;
    -moz-transition: background 0.3s !important;
    -o-transition: background 0.3s !important;
    transition: background 0.3s !important;
    width: auto;
    padding: 11px 25px 12px;
    background: #22b14a;
    color: #fff !important;
    line-height: 1em;
    font-size: 22px;
    text-align: center;
    text-decoration: none !important;
    border: 2px solid #22b14a;
    -webkit-transition: background 0.3s, color 0.3s !important;
    -moz-transition: background 0.3s, color 0.3s !important;
    -o-transition: background 0.3s, color 0.3s !important;
    transition: background 0.3s, color 0.3s !important;
    border-radius: 5px;
}

#content .pmg_button a:hover,
.wp-block-button .wp-block-button__link:hover,
.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link:hover {
    box-shadow: none;
    background: transparent;
    color: #0d4973 !important;
    box-shadow: none;
    border: 2px solid #15649a;
}

.is-style-outline>.wp-block-button__link,
.wp-block-button__link.is-style-outline {
    background: #797b7e !important;
    border: 2px solid #ffffff !important;
    color: #ffffff;
}

.is-style-outline>.wp-block-button__link:hover,
.wp-block-button__link.is-style-outline:hover {
    background: #22b14a !important;
    color: #ffffff !important;
}

/*
.wp-block-buttons > .wp-block-button.has-custom-width .wp-block-button__link{
	padding:21px 27px;
}
*/
#content .mejs-controls .mejs-time-rail .mejs-time-current {
    background: #245fac !important;
}

#content .mejs-controls {
    background: rgba(255, 0, 0, .7);
    background: -webkit-linear-gradient(transparent, rgba(0, 0, 0, .35));
    background: linear-gradient(transparent, rgba(0, 0, 0, .35));
}

#content .mejs-captions-button {
    opacity: 0.5;
    ;
}

#content .mejs-captions-button.mejs-captions-enabled {
    opacity: 1;
}

/* form */
#footer-form {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#0d4972+0,15649a+100 */
    background: rgb(13, 73, 114);
    /* Old browsers */
    background: -moz-linear-gradient(left, rgba(13, 73, 114, 1) 0%, rgba(21, 100, 154, 1) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(13, 73, 114, 1) 0%, rgba(21, 100, 154, 1) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(13, 73, 114, 1) 0%, rgba(21, 100, 154, 1) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0d4972', endColorstr='#15649a', GradientType=1);
    /* IE6-9 */
    padding-top: 90px;
    padding-bottom: 90px;
    color: #fff;
}

#footer-form .form-title {
    font-size: 56px;
    line-height: 1.1em;
    margin: 40px 0 0;
    font-weight: 700;
}

#footer-form .form-text {
    margin: 2em 0 0
}

#footer-form .form-text a {
    color: #fff;
    text-decoration: underline;
}

#footer-form .form-text::after {
    content: "";
    width: 100px;
    height: 12px;
    background: #fff;
    display: block;
    margin-top: 75px;
}

h1.thanks {
    font-size: 28px;
    line-height: 1.2em;
    color: #22b14a;
}

h2.thanks {
    color: #fff;
}

#contact-form p {
    text-align: center;
}

.slider #col-contact-form {
    margin-top: -70px;
}

#contact-form {
    margin-top: 0;
    line-height: 1.6em;
}

.contact-form {
    width: 100%;
    /*margin-top:1.5em;*/
}

.contact-form .form-text {
    margin-top: 0.5em;
    font-size: 17px;
}

.contact-form .form-element {
    margin: 20px 0;
}

.contact-form .form-section {
    font-size: 15px;
    margin: 1.0em 0 0;
    clear: both;
}

.contact-form .form-element.inline-elements .radioButton {
    float: left;
    width: 50%;
}

.contact-form .other {
    margin-top: 2px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea,
.contact-form select,
select {
    color: #000;
    padding: 11px 16px;
    width: 100%;
    border-radius: 0;
    background: #fff;
    font-size: 17px;
    border: none;
    border-left: 6px solid #d5d5d5;
}

#news-navigation {
    margin-top: 33px;
    text-align: center;
}

select#location_state,
select#location_services,
select#news-type {
    width: auto;
    display: inline-block;
    margin: 0.5em 15px 1em 0;
    background: #00A650;
    color: #fff;
    flex: 1 1 50%;
    width: 50%;
}

select#news-type {
    width: auto;
}

.contact-form input[type="file"] {
    color: #000;
    padding: 5px 15px;
    width: 100%;
    border: none;
    border-radius: 0;
    font-size: 17px;
}

.contact-form select,
select {
    padding: 15px 16px;
}

.contact-form textarea {
    height: 125px;
    line-height: 1.2em;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus,
.contact-form select:focus,
select:focus {
    border-left: 6px solid #666;
    outline: none;
}

.contact-form .button {
    width: 100%;
    padding: 12px 25px 18px;
    background: #fabe39;
    line-height: 1em;
    font-size: 42px;
    font-weight: 700;
    color: #0d4973;
    text-align: center;
    text-decoration: none !important;
    border: none;
    -webkit-transition: background 0.3s, color 0.3s !important;
    -moz-transition: background 0.3s, color 0.3s !important;
    -o-transition: background 0.3s, color 0.3s !important;
    transition: background 0.3s, color 0.3s !important;
}

.contact-form .button:hover {
    background: #22b14a;
    color: #fff !important;
    box-shadow: none;
}

#contact-form .select-button {
    width: 100%;
    font-size: 17px;
    color: #000;
    background-color: #fff;
    padding: 13px 16px;
    border-left: 6px solid #d5d5d5;
    cursor: pointer;
    border-radius: 0;

    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#contact-form .select-button.disabled {
    background: #ddd;
    color: #666;
    border-left: 6px solid #666;
}

.select-button .arrow {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #000;
    transition: transform ease-in-out 0.3s;
}

.select-button.disabled .arrow {
    border-top: 6px solid #666;
}

.select-dropdown {
    position: absolute;
    z-index: 10;
    list-style: none;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    border: 1px solid #caced1;
    border-radius: 4px;
    padding: 10px;
    max-height: 300px;
    overflow-y: auto;
    transition: 0s ease;
    margin: 0;

    transform: scaleY(0);
    opacity: 0;
    visibility: hidden;
}

.select-dropdown li:hover,
.select-dropdown input:checked~label {
    background-color: #f2f2f2;
}

.select-dropdown:focus-within {
    box-shadow: 0 10px 25px rgba(94, 108, 233, 0.6);
}

.custom-select.active .arrow {
    transform: rotate(180deg);
}

.custom-select-group.active .select-button {
    border-left: 6px solid #666 !important;
}

.custom-select-group.active .select-dropdown {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
}

.select-dropdown li {
    position: relative;
    cursor: pointer;
    color: #000;
    margin: 0.25em 0;
}

#contact-form .select-button .selected-value {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    padding: 3px 5px 3px 0;
}

.select-dropdown li span,
#contact-form .select-button .selected-value span {
    color: #666;
    font-style: italic;
}

.svg {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

.entry-header h1 {
    margin-top: 0.2em;
}

#footer_misc .info {
    display: inline;
}

#footer_misc {
    width: 100%;
}

#footer_misc .menu {
    float: right;
}

#footer_misc .menu:after {
    clear: both;
}

ul#footer-menu {
    list-style: none;
    text-align: left;
    display: inline-block;
    width: 100%;
    margin-left: 0;
    padding-left: 0;
}

ul#footer-menu li {
    padding: 0 10px;
    float: left;
    width: 25%;
}

#content h1.entry-title a {
    text-decoration: none;
    color: #245fac;
}

#content h1.entry-title a:hover {
    text-decoration: underline;
}

article .info {
    margin-top: 1.3em;
}

.content-listing h1.entry-title {
    font-size: 23px;
    text-align: center;
}

.content-listing .more {
    margin: 0.7em auto 0;
    text-align: center;
}

.location {
    padding: 15px 25px;
}

.location_title {
    text-align: left;
}
.location_former_name{
    font-style: italic;   
    font-size:14px;
    margin-left:0.5em;
}

.card {
    position: relative;
    border: none;
    margin-bottom: 30px;
}

.card>p,
.card a>p {
    display: none;
}

.card .title {
    font-style: normal;
    position: absolute;
    text-align: center;
    bottom: 0;
    font-size: 20px;
    color: #fff;
    /*text-transform: uppercase;*/
    width: 100%;
    padding: 20px 0;
    line-height: 1em;
    z-index: 10;
    padding-left: 5px;
    padding-right: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /*transition: all 0.3s ease-in;*/
}

.card a,
.card span {
    text-decoration: none;
    background: none;
    color: #ffffff;
    display: block;
}

.card a .cover,
.card .cover {
    visibility: hidden;
    position: absolute;
    align-items: center;
    text-align: center;
    padding: 25px;
    font-style: normal;
    font-size: 22px;
    line-height: 1.6em;
    opacity: 0;
    transition: opacity 0.2s linear;
    width: 100%;
    height: 100%;
}

.card a:hover .cover,
.card>span:hover .cover {
    visibility: visible;
    display: flex;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 5;
    justify-content: center;
    opacity: 1;
}

.card.bullet a:hover .cover {
    background-image: url(../images/card-bullet.png);
    background-repeat: no-repeat;
    background-position: center;
}

.card.video a:hover .cover {
    background-image: url(../images/card-play.png);
    background-repeat: no-repeat;
    background-position: center;
}

.card .photo {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    height: 475px;
}

#personnel_row {
    max-width: 1200px;
}

.personnel {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1.5em;
}

.personnel .photo {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    height: 500px;
    background: cover;
}

.personnel .name {
    margin-top: 0.5em;
    font-weight: 500;
    font-size: 26px;
    line-height: 1.2em;
    color: #525252;
}

.slider_mask {
    position: relative;
}

.slider_mask:after {
    position: absolute;
    background: url(images/slide_mask.svg) no-repeat center bottom;
    background-size: cover;
    z-index: 99;
    content: "";
    width: 100%;
    height: calc(2.5vw + 80px);
    left: 0;
    bottom: -1px;
}

.group-title {
    text-align: left;
    color: #245fac;
    font-size: 42px;
}

.entry-content>[class^="wp-container-"],
.combo-client-testimonial>.container,
.entry-content>.alignwide,
.entry-content>p,
.entry-content>div,
.entry-content>h1,
.entry-content>h2,
.entry-content>h3,
.entry-content>h4,
.entry-content>h5,
.entry-content>h6,
.entry-content>hr,
.entry-content>ul,
.entry-content>ol,
.entry-content>blockquote {
    max-width: 1840px;
    margin-left: auto;
    margin-right: auto;
    padding-right: 15px;
    padding-left: 15px;
}

.wp-block-columns {
    margin: 2em;
}

.wp-block-column {
    margin-left: -15px;
    margin-right: -15px;
    padding: 20px 60px;
}

.no-pad .wp-block-column,
.recent-news .wp-block-column {
    padding: 0;
}

.entry-content>p,
.entry-content>ul,
.entry-content>ol,
.entry-content>blockquote {
    max-width: 750px;
}
.entry-content>p.w-25,
.entry-content>p.w-50,
.entry-content>p.w-75,
.entry-content>p.w-100,
.entry-content>p.w-auto{
    max-width: none;
}
.entry-content>h1,
.entry-content>h1,
.entry-content>h3 {
    margin-left: auto;
    margin-right: auto;
    max-width: 60%;
}

.entry-content>ul,
.entry-content>ol {
    padding-left: 45px;
    padding-right: 45px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.entry-content>ul li,
.entry-content>ol li {
    flex: 1 1 auto;
    width: 750px;
    padding-left: 5px;
    padding-right: 5px;
}

.entry-content .alignfull {
    margin-left: 30px;
    margin-right: 30px;
    max-width: none;
}

.entry-content hr.alignfull {
    width: calc(100% - 60px) !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.entry-content .testimonial {
    max-width: none;
}

.entry-content>.wp-block-cover {
    margin-top: -30px;
    max-width: none;
    margin-bottom: 40px;
}

.entry-content>.wp-block-cover::after {
    position: absolute;
    background: url(images/slide_mask.svg) no-repeat center bottom;
    z-index: 99;
    content: "";
    width: 100%;
    height: calc(2.5vw + 80px);
    left: 0;
    bottom: -1px;
}

/* If wp-block-cover comes after any element, don't make it the "feature" */
.entry-content>*+.wp-block-cover {
    margin-top: auto;
    margin-bottom: auto;
}

.entry-content>*+.wp-block-cover::after {
    display: none;
}

.wp-block-cover-image .wp-block-cover__inner-container,
.wp-block-cover .wp-block-cover__inner-container {
    width: auto;
}

.wp-block-cover-image.is-light .wp-block-cover__inner-container,
.wp-block-cover.is-light .wp-block-cover__inner-container {
    color: #525252;
}

.wp-block-cover p {
    font-size: 68px;
    line-height: 1.1em;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.entry-footer {
    text-align: center;
}

.wp-block-image.is-style-rounded img {
    border-radius: 15px;
}

img.lazy {
    opacity: 0;
}

img {
    opacity: 1;
    -webkit-transition: opacity .5s linear 0.2s;
    -moz-transition: opacity .5s linear 0.2s;
    transition: opacity .5s linear 0.2s;
}

.product-photo {
    text-align: center;
    padding-bottom: 1.5em;
}

.product-photo .title {
    margin: 0.5em auto 1.5em;
}

#content .product-photo a {
    text-decoration: none;
}

#content .product-photo a:hover {
    text-decoration: underline;
}

.product-photo .hero,
.news-article .hero {
    display: inline-block;
    height: 200px;
    width: 100%;
}

.product-photo .hero img,
.news-article .hero img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.product-photo .hero img.contain {
    object-fit: contain;
}

.content-listing .post {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.branch_info {
    margin-top: 2em;
}

/* News */
.news-content-listing {
    max-width: 1056px;
}

.news-category {
    background: #15649a;
    color: #fff;
    display: inline-block;
    padding: 2px 8px;
    margin: 7px 0;
    text-transform: uppercase;
    letter-spacing: .93px;
    font-size: 11px;
}

.news-post-item {
    border-top: 1px solid #15649a;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 25px 0;
    flex-direction: row;
    flex: 1;
    text-align: left;
}

#content .news-post-item a {
    color: #15649a;
    text-decoration: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.news-post-item h2 {
    text-align: left;
    color: #15649a;
}

.news-post-item .post-image {
    max-width: 230px;
    height: auto;
    line-height: 0;
    flex: 1;
    text-align: center;
    justify-content: flex-end;
    display: flex;
    position: relative;
    overflow: hidden;
}

.news-post-item .post-image a {
    position: relative;
}

.news-post-item .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-post-item .post-content {
    flex: 1;
    background: #fff;
    border-left: 7px solid #0e4e79;
    padding: 10px 20px;
}

.news-post-item .news-action {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.news-post-item.featured {
    display: block;
    border-top: none;
}

.news-post-item.featured .post-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.blog .news-post-item.featured .post-image,
.archive.category .news-post-item.featured .post-image {
    aspect-ratio: 16/9;
    height: auto;
}

.news-post-item.featured .post-content {
    border-left: none;
    border-bottom: 7px solid #0e4e79;
    padding: 20px 40px;
}

.news-post-item .pmg_button {
    margin: 2em 0 1em;
}

#content .news-post-item.featured .pmg_button a {
    border: 1px solid #fff;
    background: #797b7e;
}

#content .news-post-item.featured .pmg_button a:hover {
    color: #fff !important;
    background: #22b14a;
}

/* Custom Editor Colors */
.has-pbfs-blue-background-color {
    background-color: #0054A6;
}

.has-pbfs-blue-color {
    color: #0054A6;
}

.has-pbfs-green-background-color {
    background-color: #00A650;
}

.has-pbfs-green-color {
    color: #00A650;
}

.has-pbfs-grey-background-color {
    background-color: #939598;
}

.has-pbfs-grey-color {
    color: #939598;
}


.testimonial {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#15649a+0,22b14a+100 */
    background: rgb(21, 100, 154);
    /* Old browsers */
    background: -moz-linear-gradient(left, rgba(21, 100, 154, 1) 0%, rgba(11, 137, 69, 1) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(21, 100, 154, 1) 0%, rgba(11, 137, 69, 1) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(21, 100, 154, 1) 0%, rgba(11, 137, 69, 1) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#15649a', endColorstr='#22b14a', GradientType=1);
    /* IE6-9 */

    padding: 70px 0 70px;
    position: relative;
    text-align: center;
    color: #fff;
    display: grid;
    align-items: center;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.testimonial.scrollable .container:not(:first-child) {
    opacity: 0;
}

.testimonial.scrollable {
    position: relative;
    height: auto;
    transition: height 5s;
}

.testimonial.scrollable .arrow {
    position: absolute;
    z-index: 1;
    width: 100px;
    cursor: pointer;
    height: 100%;
    top: 0;
    background: url(images/slider-next.png) center no-repeat;
    /*background-color:rgba(0,0,0,0.3);*/
}

.testimonial.scrollable .right {
    right: 0;
}

.testimonial.scrollable .left {
    left: 0;
    transform: rotate(180deg);
}

.testimonial.scrollable>.container {
    grid-row-start: 1;
    grid-column-start: 1;
}

.testimonial .quote,
.inline-testimonial .quote {
    font-family: "aglet-slab", sans-serif;
    font-style: italic;
    font-size: 36px;
    line-height: 1.35em;
    margin: 0 auto 1em;
    max-width: 60%;
}

.testimonial .author {
    font-weight: 500;
    font-size: 22px;
    margin-bottom: 0.5em;
}

.testimonial .info,
.inline-testimonial .info {
    font-weight: 400;
    font-size: 18px;
    margin: auto;
}

.inline-testimonial .info span {
    display: block;
}

.inline-testimonial .quote {
    color: #004b79;
    margin: 1em 0 1em;
    max-width: 100%;
}

.inline-client {
    margin-bottom: 2em;
}

.entry-content>.combo-client-testimonial,
.combo-client-testimonial {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#dadfe5+30,bdc3c9+100 */
    background: rgb(218, 223, 229);
    /* Old browsers */
    background: -moz-linear-gradient(top, rgba(218, 223, 229, 1) 30%, rgba(189, 195, 201, 1) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(218, 223, 229, 1) 30%, rgba(189, 195, 201, 1) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(218, 223, 229, 1) 30%, rgba(189, 195, 201, 1) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#dadfe5', endColorstr='#bdc3c9', GradientType=0);
    /* IE6-9 */
    width: 100%;
    padding: 2em 0;
    max-width: 100%;
    ;
}

.combo-client-testimonial>.container>.row>div[class^="col"] {
    padding: 20px 60px;
}

.combo-client-testimonial h2 {
    text-align: left;
    color: #8e98a5;
    font-size: 42px;
    margin-bottom: 1em;
}

.entry-content .combo-client-testimonial .row.clients,
.combo-client-testimonial .row.clients {
    margin-bottom: -2em;
}

/* END Custom Editor Colors */
/* Locations & Map */
#location_filters {
    display: flex;
    margin: 1em auto;
}

.entry-content .location-row {
    margin-bottom: 0;
    margin-left: -15px;
    margin-right: 0;
}

.location-row>* {
    margin-bottom: 0;
}

.location-card {
    /*background:#fff;*/
    border-bottom: 1px solid var(--pye_grey);
    height: 100%;
    text-align: left;
}
.location_state {
    background: var(--pye_grey);
    padding: 7px 20px;
    font-size: 22px;
    color: #fff;
    line-height: 1.2em;
    margin: -1px 0 0;
}

#location_results_grid .location-card {
    height: auto;
}

#location_results_grid .results_col .location-card:last-child,
.state_locations .col:last-child .location-card,
.location-row .col:last-child .location-card {
    border-bottom: none;
}
#location_results_grid > .location_state{
    margin-top:1em;
}
.location .email,
.location .icon_envelope,
.location .icon_phone,
.location .icon_map-marker-alt,
.mapinfo .email,
.mapinfo .icon_envelope,
.mapinfo .icon_phone,
.mapinfo .icon_map-marker-alt {
    padding-left: 18px;
    background-size: 12px 12px;
    font-size: 15px;
    background-position: left center;
}

#content .location-card a.btn,
#content .mapinfo a.btn {
    border: 2px solid #15649a;
    background: #15649a;
    color: #fff;
    text-decoration: none;
    margin-top: 5px;
    margin-right: 5px;
    transition: background 0.3s, color 0.3s !important;
}

#content .location-card a.btn:hover,
#content .mapinfo a.btn:hover {
    background: transparent;
    color: #15649a;
    border: 2px solid #15649a;
}

.location_info {
    clear: both;
    margin-top: 1em;
    background: #f5f5f5;
    padding: 0.5em 2em 1em;
}

.mapinfo {
    line-height: 1.5em;
    font-size: 17px;
    font-family: frank-new, sans-serif;
}

#map_container {
    position: relative;
    display:flex;
    flex-direction: row-reverse;
}
/*
#map,
#locations_list {
    width: 100%;
    height: 700px;
    border: none;
    position: relative;
}*/
#map_container #map, #map_container #locations_list{
    height:520px;
}
#map{
    flex-grow:1;
}
#map.demo_map {
    background: url(images/map_full_placeholder.jpg) center no-repeat;
    background-size: cover;
}

#metro_map {
    min-height: 400px;
    height: 50vh;
    margin: 1em auto;
}

.metro-location .services {
    text-align: left;
}

.metro-other-tag {
    font-size: 20px;
    margin-bottom: 1em;
}

#locations_list {
    overflow-y: scroll;
}

#locations_search {
    max-width: 1000px;
    margin-top:2em;
    margin-left: auto;
    margin-right: auto;
}
#locations_search label{
    color:#fff;
    text-align: center;
    display:block;
    margin-bottom:1em;
}
#locations_search label span{
    background:var(--pye_green);
    padding:5px 0.75em;
    font-size:24px;
}
#locations_search label span span{
    padding:0;
    display:inline;
    white-space: nowrap;
}
#location_search_input{
    font-size:20px;
    padding:13px;
}
#search_location {
    background-color: var(--pye_green);
    display: inline-block;
    width: auto;

    border: 2px solid var(--pye_green);
    color: #fff;
    text-decoration: none;
    transition: border 0.3s, background 0.3s, color 0.3s !important;
}
#content a.dropdown-item{
    font-weight: 400;
}
#content a.dropdown-item.active{
    background-color: var(--pye_blue);
    color:#fff;
}
#services_legend {
    background: var(--pye_blue);
    color: #fff;
    padding: 0;
    display:flex;
    flex-direction: column;
}
#services_legend_title {
    color: var(--pye_blue);
    background: #fff;
    padding: 10px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}
#services_legend .services{
    display:flex;
    flex-direction: column;
    justify-content: space-evenly;
    flex-grow:1;
}
#services_legend .service {
    display: flex;
    align-items: center;
    padding-left: 10px;
    padding-right: 20px;
    font-size:14px;
}

#search_geocode {
    background-color: var(--pye_blue);
    display: inline-block;
    width: auto;

    border: 2px solid var(--pye_blue);
    color: #fff;
    text-decoration: none;
    transition: border 0.3s, background 0.3s, color 0.3s !important;
    display: flex;
    align-items: center;
}

#search_geocode span svg {
    display: block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

#search_geocode span svg path {
    fill: #fff;
    transition: fill 0.3s !important;
}

#search_geocode:hover,
#search_location:hover {
    background-color: transparent;
    color: var(--pye_blue);
    border-color: var(--pye_blue);
}

#search_geocode:hover span svg path {
    fill: var(--pye_blue) !important;
}
#reset_search{
    display:none;
    justify-content:flex-end;
    margin-top:-1.5em;
}
#search_reset_btn {
    background-color: transparent;
    color: var(--pye_blue);
    border-color: var(--pye_blue);
}
#search_reset_btn:hover{
    background-color: var(--pye_blue);
    color:#fff;
}

#form-locations-search .form-content {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 2em;
}

#form-locations-search .form-content .btn {
    flex: 1 1 auto !important;
    white-space: nowrap;
    padding-top:8px;
    padding-bottom:8px;
}

.spinner {
    border: 15px solid #ccc;
    border-top-color: var(--pye_blue);
    border-radius: 50%;
    display: inline-block;
    width: 75px;
    height: 75px;
    animation: spin 1000ms linear infinite;
    flex-shrink: 0;
    display: none;
    margin-bottom: 2em;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.services {
    display: flex;
    flex-wrap:wrap;
}
.location .services{
    flex-wrap:wrap;
    gap:5px;
}
#services_legend .service-icon{
    border-radius: 0;
    background-size:contain;
    background-position:  center;
    width: 25px;
    height: 25px;
    margin-right:8px;
}
.service-icon {
    background-color: var(--pye_blue);
    background-size: 15px 15px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50px;
    width: 25px;
    height: 25px;
    display: inline-block;
}

.icon-24-hour-emergency-service {
    background-image: url(images/services/24-hour.svg);
}

.icon-code-compliance-reporting {
    background-image: url(images/services/code-compliance.svg);
}

.icon-fire-alarms-detection {
    background-image: url(images/services/fire-alarms.svg);
}

.icon-fire-extinguishers {
    background-image: url(images/services/fire-extinguisher.svg);
}

.icon-fire-safety-training {
    background-image: url(images/services/training.svg);
}

.icon-fire-sprinklers {
    background-image: url(images/services/sprinklers.svg);
}

.icon-fire-suppression-systems {
    background-color: var(--pye_green);
    background-image: none;
}

.icon-life-safety-equipment {
    background-image: url(images/services/life-safety.svg);
}

.icon-kitchen-hood-cleaning {
    background-image: url(images/services/kitchen-hood.svg);
}

.icon-mass-notification {
    background-image: url(images/services/mass-notification.svg);
}
.icon-engineered{
    background-image:url(images/services/engineered-systems.svg);
}
.icon-security {
    background-image: url(images/services/security.svg);
}

.location_filter_label {
    display: inline-block;
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 1em;
    font-style: italic;
}

/* end Locations & Map */
.wp-block-image.aligncenter>figcaption,
.wp-block-image .aligncenter>figcaption,
.wp-block-image.alignleft>figcaption,
.wp-block-image .alignleft>figcaption,
.wp-block-image.alignright>figcaption,
.wp-block-image .alignright>figcaption {
    line-height: 1.5em;
}


@media screen and (max-width:1899px) {
    #site-navigation a {
        margin: 0 15px;
    }

    .testimonial .quote,
    .inline-testimonial .quote {
        max-width: none;
    }
}

@media screen and (max-width:1399px) {
    .entry-content ul.bulletList li {
        width: auto;
        float: none;
    }

    .content-listing .news-article .news-headline {
        font-size: 16px;
        line-height: 1.875em;
    }

    .master-slider .ms-layer {
        max-width: 70%;
        font-size: 58px;
    }

    .news-post-item.featured .post-image {
        height: auto;
    }

}

@media screen and (max-width:1199px) {
    #primary-menu li a {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 16px;
    }

    /* Set 4 columns to 2 columns */
    .wp-block-column:first-child:nth-last-child(4),
    .wp-block-column:first-child:nth-last-child(4)~.wp-block-column {
        flex: 1 0 41%;
    }

    .wp-block-columns {
        flex-wrap: wrap !important;
    }
}

@media screen and (min-width: 992px) {
    .menu-toggle.hamburger {
        display: none;
    }

    .main-navigation ul {
        display: block;
    }
}

@media screen and (max-width: 991px) {
    .wp-block-column {
        padding: 20px 40px;
    }

    .menu-top-menu-container {
        display: none;
    }

    .master-slider-container .slider_menu {
        display: none;
    }

    #masthead {
        padding-left: 0;
        padding-right: 0;
    }

    #masthead #site-branding {
        top: 0;
        left: 30px;
        background-size: contain;
        width: 250px;
        height: 76px;
        position: absolute;
    }

    #masthead #site-branding a {
        width: 250px;
        height: 76px;
        top: 0;
    }

    .breadcrumbs {
        display: none;
    }

    .left,
    .right {
        float: none;
        clear: both;
        width: 100%;
        border: none;
        padding: 0;
    }

    .site-phone {
        display: none;
    }

    #masthead {
        height: 125px;
    }

    #site-navigation {
        height: auto;
    }

    #site-navigation .menu-main-menu-container {
        display: none;
    }

    #site-navigation.toggled .menu-main-menu-container {
        display: block;
    }

    #primary-menu li div.sub-wrapper {
        background: none;
        position: relative;
        left: 0;
        display: block;
        padding-bottom: 0;
    }

    #primary-menu li div.sub-wrapper .sub-menu {
        display: none;
    }

    #primary-menu li div.sub-wrapper .menu-items {
        width: 100%;
    }

    #primary-menu .subNavMenu {
        float: none;
    }

    #primary-menu .sub-menu>li,
    #site-navigation .subNavMenu li {
        text-align: center;
    }

    #header_container {
        position: relative;
        z-index: 500;
    }

    /* Small menu. */
    .menu-toggle,
    .menu-toggle:focus,
    .menu-toggle:hover {
        position: absolute;
        top: 35px;
        right: 45px;
        width: 40px;
        outline: none;
    }

    .main-navigation.toggled .container {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .menu-toggle,
    .main-navigation ul {
        display: none;
    }

    #site-navigation.main-navigation.toggled #primary-menu {
        display: none;
    }

    .main-navigation.toggled #primary-menu>li>a::after {
        display: none;
    }

    .main-navigation.toggled #primary-menu>li {
        float: none;
        padding: 0;
        margin: 0;
        display: block;
    }

    #primary-menu>li>a {
        /*text-shadow: 0px 1px 0  #fff;*/
        text-shadow: none;
    }

    #primary-menu li a {
        padding: 20px 0;
    }

    .main-navigation.toggled #primary-menu a {
        color: #fff;
        padding-right: 25px;
    }

    .main-navigation.toggled #primary-menu li:hover,
    .main-navigation.toggled #primary-menu li:hover a {
        background: #fff;
        color: #000;
    }

    .main-navigation.toggled #primary-menu ul.sub-menu {
        /*		display: block !important;*/
        display: none;
        float: none;
        position: relative;
        padding: 0;
        left: 0;
        margin: 0;
        background: #fff;
    }

    .main-navigation.toggled #primary-menu li.focus ul.sub-menu {
        display: block;
    }

    .main-navigation.toggled #primary-menu ul.sub-menu a {
        color: #444;
    }

    .main-navigation.toggled #primary-menu ul.sub-menu li {
        background: none !important;
    }

    .main-navigation.toggled ul.menu>li:hover>a,
    .main-navigation.toggled ul.menu>li.focus>a {
        color: #990000;
        border-bottom: none;
    }

    .main-navigation ul.menu>li:hover>a,
    .main-navigation ul.menu>li.focus>a {
        color: #990000;
        border-bottom: none;
    }

    .main-navigation .current_page_item,
    .main-navigation .current-page-ancestor,
    .main-navigation .current_page_item>a,
    .main-navigation .current-menu-item>a,
    .main-navigation .current_page_ancestor>a,
    .main-navigation .current-menu-ancestor>a,
    #primary-menu>li.current-menu-parent {
        color: #000;
        background: #fff !important;
        border-bottom: none;
    }

    .main-navigation .current-page-ancestor .current_page_item>a {
        text-decoration: underline;
    }

    /*FROM PMG*/
    .main-navigation.toggled .nav-menu {
        display: block;
        padding-bottom: 20px;
    }

    .main-navigation.toggled .nav-menu .current_page_item a,
    .main-navigation.toggled .nav-menu .current_menu_item a {
        color: #000 !important;
        background: none;
    }

    .main-navigation.toggled .nav-menu a:hover,
    .main-navigation.toggled .nav-menu li:hover a {
        background: none;
        color: #000;
    }

    .main-navigation.toggled .nav-menu .current_page_ancestor>ul {
        display: block;
    }

    .main-navigation.toggled .nav-menu li {
        display: block;
        width: 100%;
    }

    .main-navigation.toggled a {
        padding: 5px 10px;
    }

    #site-navigation.toggled .menu li .sub-menu {
        top: 0;
        width: auto;
        /*	padding-right: 15px;*/
    }

    #primary-menu .menu-items {
        padding: 0;
    }

    #primary-menu .menu-items>div {
        width: auto;
        padding-bottom: 0;
    }

    .leftSubNav {
        float: none;
    }

    .rightSubNav {
        float: none;
    }

    /*END FROM PMG*/
    .master-slider {
        font-size: 14px;
    }

    .master-slider .ms-layer {
        padding: 0 20px;
        max-width: 90%;
    }

    .home .master-slider .ms-layer::after {
        display: none;
    }

    .home .master-slider .ms-layer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        padding: 0 20px !important;
        margin: 0 auto !important;
        left: 0 !important;
        text-align: center;
    }

    .home .master-slider .ms-layer .pmg_buttonContainer {
        text-align: center;
        margin-top: 20px;
    }

    .main-navigation ul ul a {
        width: 100%;
    }

    #primary-menu .sub-menu {
        height: auto;
    }

    #primary-menu .sub-menu>li {
        margin-left: 0;
        padding-left: 0;
    }

    #masthead .site-branding {
        top: 27px;
        background-size: contain;
        width: 179px;
        height: 50px;
        left: 15px;
    }

    #masthead .site-branding a {
        width: 100%;
        height: 100%;
    }

    #masthead .site-phone {
        right: auto;
        font-size: 22px;
        left: 37px;
        top: 82px;
    }

    #footer_info {
        margin-top: 0;
        border: none;
        height: auto;
        padding: 0 15px;
    }

    #footer_misc {
        margin-top: 0;
        margin-left: 0;
        padding: 0 15px;
    }

    .contact-form .form-title {
        padding-top: 15px;
    }

    .footer_section {
        float: none;
        width: auto !important;
    }

    .contact-form .button {
        width: 100%;
    }

    .slider #col-contact-form {
        margin-top: 1.5em;
    }

    .site-footer,
    .site-footer .info,
    .site-footer .building-reports {
        text-align: center;
    }

    .footer_social {
        text-align: center;
        float: none;
    }

    .entry-content>p,
    .entry-content>ul,
    .entry-content>ol,
    .entry-content>blockquote {
        max-width: 80%;
    }

    .entry-content>ul li,
    .entry-content>ol li {
        width: auto;
    }

    .entry-content>h1,
    .entry-content>h1,
    .entry-content>h3 {
        max-width: none;
    }

    .site-footer .pye_barker_logo {
        margin-left: auto;
        margin-right: auto;
    }

    .entry-content>ul,
    .entry-content>ol {
        display: block;
    }

    ul#footer-menu {
        margin-left: 0;
        padding-left: 0;
    }

    ul#footer-menu li {
        width: 50%;
        text-align: center;
    }

    #form-locations-search .form-content {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 991px) {

    .testimonial .quote,
    .inline-testimonial .quote {
        font-size: 24px;
        max-width: 85%;
    }

    #footer-form {
        padding-top: 0;
    }

    #footer-form .form-text::after {
        display: none;
    }

    #footer-form .branch_info::before {
        content: "";
        width: 100px;
        height: 12px;
        background: #fff;
        display: block;
        margin-bottom: 1em;
    }

    .footer_logos {
        justify-content: center;
        margin-bottom: 1em;
    }
    #locations_search label span{
        display:block;
    }
}

@media screen and (max-width: 767px) {

    .home .master-slider .ms-layer .title {
        font-size: 30px;
        padding-top: 150px;
    }

    .home .master-slider .ms-layer p {
        font-size: 20px;
    }

    .home .master-slider .ms-layer .pmg_buttonContainer {
        margin-top: 0em;
    }


    .wp-block-column {
        padding: 20px;
    }

    .team img,
    .team .info {
        display: block;
        width: 100%;
        margin-left: 0;
    }

    .team h2 {
        margin-top: 0.5em;
    }

    #locations_list {
        height: auto;
        overflow-y: visible;
    }

    .news-post-item {
        flex-direction: column;
        gap: 0;
        display: block;
    }

    .news-post-item .post-image {
        height: auto;
        width: 100%;
        max-width: 100%;
    }

    .news-post-item .post-content {
        border-left: none;
        border-top: 7px solid #0e4e79;
    }

    #map {
        height: 400px;
    }

    #locations_list {
        height: auto;
    }

    .wp-block-image .alignright,
    .wp-block-image .alignright {
        float: none;
        margin-left: auto;
        margin-right: auto;
    }

    .entry-content ul.half {
        -webkit-column-count: 1;
        /* Chrome/Opera, Safari */
        -moz-column-count: 1;
        /* Mozilla Firefox */
        column-count: 1;
    }
    #services_legend_title{
        cursor: pointer;
    }
    #services_legend_title .arrow{
        background:url(images/carat-blue.svg) left center no-repeat;
        transform: rotate(180deg);
        display:inline-block;
        width:1em;
        height:1em;
    }
    #map_container{
        display:block;
    }
    #services_legend.toggle .arrow{
        transform: rotate(0);
        background-position: right center;
    }
    #services_legend.toggle .services{
        display:block;
    }
    #services_legend .services{
        display:none;
    }
    #services_legend.toggle .service{
        margin:0.5em 0;
    }
    #services_legend .service:first-child{
        padding-top:10px;
    }
    #services_legend .service:last-child{
        padding-bottom:10px;
    }
    .location_state{
        cursor: pointer;
        margin-bottom:1em;
        display:flex;
        align-items: center;
    }
    .location_state .arrow{
        background:url(images/carat-white.svg) left center no-repeat;
        transform: rotate(180deg);
        align-self: flex-end;
        width:1em;
        height:1em;
        flex-grow:1;
    }
    .location_state.toggle .arrow{
        transform: rotate(0);
        background-position: right center;
    }
    .state_list {
        margin-top:-1em;
        display:none;
    }
    .state_list.toggle{
        display:block;
    }
}

@media screen and (max-width: 500px) {

    #content .pmg_button a {
        font-size: 16px;
    }

    .master-slider .title {
        font-size: 34px;
    }

    .master-slider .ms-layer {
        padding: 0 10px;
        font-size: 16px !important;
    }

    .master-slider .ms-layer .pmg_buttonContainer {
        margin-top: 3.4em;
        width: 100%;
    }

    .master-slider h1 {
        font-size: 42px;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 22px;
    }

    .contact-form .form-title {
        font-size: 26px;
    }

    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form textarea {
        padding: 5px 7px;
    }

    .contact-form select {
        padding: 10px 7px;
    }

    #footer_social_media {
        float: none;
        margin: 10px 0;
    }

    .contact-form .button {
        font-size: 24px;
        padding: 16px 25px 16px;
    }

    #footer_misc .info {
        margin-bottom: 0.5em;
    }

    ul#footer-menu li {
        width: 100%;
        float: none;
    }

    .entry-content>p,
    .entry-content>ul,
    .entry-content>ol,
    .entry-content>blockquote {
        max-width: 90%;
    }

}

.headline {
    font-size: 35px;
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
    line-height: 70px;
    margin: 0px;
    padding: 0px;
}

.icon {
    margin-left: auto;
    margin-right: auto;
    margin-top: 20%;
    margin-bottom: 10%;
    height: 100px;
    /*	border-radius:50%;*/
    /*	border:1px solid #fff;*/
    background-position: center center;
    background-repeat: no-repeat;
}

.entry-content .row {
    margin-bottom: 15px;
    text-align: justify;
}

.entry-content #home_product .row {
    margin-bottom: 0;
}

.ms-thumb-list {
    margin-bottom: 10px;
}

.mejs-controls .mejs-time-rail .mejs-time-current {
    background: #ba2028 !important;
}

#products_services {
    text-align: center;
}

#products_services .row>div {
    margin-bottom: 15px;
}

#products_services .product-photo {
    background-color: #0e4e79;
}

#products_services .product-photo a img {
    transition: all 0.5s;
    opacity: 0.5;
}

#products_services .product-photo a:hover img {
    opacity: 1;
}

#payForm input[type="text"] {
    background: #f0f0f0;
    /* Old browsers */
    background: -moz-linear-gradient(top, #f0f0f0 0%, #fff 99%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #f0f0f0 0%, #fff 99%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #f0f0f0 0%, #fff 99%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f0f0f0', endColorstr='#fff', GradientType=0);
    /* IE6-9 */
}

#payForm input[type="text"]:focus {
    background: #fff;
}

#content a.more-link {
    display: inline-block;
    width: auto;
    line-height: 1em;
    padding: 10px 25px;
    background: #245fac;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
}

#content a.more-link:hover {
    background: #22b14a;
}

#careers-preloader {
    width: 100%;
    padding: 26px 25px;
    background: #245fac;
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    display: none;
}

/*Typing Loader*/
.typing_loader {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    -webkit-animation: typing 1s linear infinite alternate;
    -moz-animation: Typing 1s linear infinite alternate;
    animation: typing 1s linear infinite alternate;
    margin: 0 auto;
    /* Not necessary- its only for layouting*/
    position: relative;
    left: -12px;
}

img.buildingReport {
    max-width: 140px;
}

#news-box {
    width: calc(16*325px);
}

#recent-news .post,
.content-listing .post {
    position: relative;
    height: 325px;
    width: 305px;
    float: left;
    margin: 0 10px;
    border-bottom: 5px solid #0e4e79;
    background: rgb(217, 218, 219);
    background: -moz-linear-gradient(top, rgba(217, 218, 219, 1) 0%, rgba(238, 240, 245, 1) 51%);
    background: -webkit-linear-gradient(top, rgba(217, 218, 219, 1) 0%, rgba(238, 240, 245, 1) 51%);
    background: linear-gradient(to bottom, rgba(217, 218, 219, 1) 0%, rgba(238, 240, 245, 1) 51%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d9dadb', endColorstr='#eef0f5', GradientType=0);
    padding: 0;
    box-shadow: 0px 0px 32px 0px rgba(5, 5, 5, 0.24) inset;
    transition: transform 0.2s;
}

#recent-news .post .news-link,
.content-listing .post .news-link {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.content-listing .post {
    width: 100%;
    margin: 30px 0;
    padding-top: 0 !important;
}

#recent-news .post:hover,
.content-listing .post:hover {
    transform: scale(1.05);
    z-index: 5;
}

#recent-news .photo,
.content-listing .photo {
    background-color: #c0c0c0;
    background-position: center;
    background-size: cover;
    height: 185px;
    position: relative;
    margin-bottom: 25px;
}

#recent-news .photo a,
.content-listing .photo a {
    position: absolute;
    ;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#recent-news .news-headline,
.content-listing .news-headline {
    text-align: center;
    padding: 0 15px;
    color: #303030;
    font-size: 20px;
    line-height: 32px;
    text-decoration: none;
    -webkit-font-smoothing: subpixel-antialiased;
    text-overflow: ellipsis;
}

#recent-news .arrow,
#masterslider-news .ms-nav-prev,
#masterslider-news .ms-nav-next {
    width: 75px;
    height: 100%;
    position: absolute;
    top: 0;
    cursor: pointer;
    background: url(images/arrow.svg) rgba(0, 0, 0, 0.1) no-repeat;
    background-size: 18px 32px;
    background-position: center;
    ;
    opacity: 0.7 !important;
    z-index: 10;
}

#masterslider-news .ms-nav-prev {
    left: 0;
}

#recent-news .arrow:hover {
    opacity: 1;
}

#recent-news .arrow.right,
#masterslider-news .ms-nav-next {
    right: 0;
    transform: rotate(180deg);
}

.news-container {
    padding: 30px 75px;
    margin: 0;
    overflow: hidden;
}

#contact_map {
    width: 100%;
    height: 580px;
    border: none;
    position: relative;
    margin-top: 1em;
}

/* Videos */
#video_frame {
    text-align: center;
}

.video {
    cursor: pointer;
    text-align: center;
    position: relative;
    margin-bottom: 1em;
}

.video .mejs-overlay-button {
    position: absolute;
    left: calc((100% - 80px)/2);
    top: calc((250px - 80px)/2);
}

.video .image {
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 250px;
}

#video_header {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#0b915c+0,2a5389+100 */
    background: rgb(11, 145, 92);
    /* Old browsers */
    background: -moz-linear-gradient(-45deg, rgba(11, 145, 92, 1) 0%, rgba(42, 83, 137, 1) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, rgba(11, 145, 92, 1) 0%, rgba(42, 83, 137, 1) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, rgba(11, 145, 92, 1) 0%, rgba(42, 83, 137, 1) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0b915c', endColorstr='#2a5389', GradientType=1);
    /* IE6-9 fallback on horizontal gradient */
    position: absolute;
    height: 300px;
    width: 100%;
}

@media screen and (max-width: 730px) {
    #video_header {
        height: 150px;
    }
}

/* Cookie Notice */
#cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    background: rgba(21, 100, 154, 0.9);
    color: #fff;
    z-index: 100;
    padding: 1em 0;
    font-size: 14px;
    letter-spacing: 0px;
    border-radius: 5px;
}

#cookie-banner.cookie_banner_float {
    max-width: 24em;
    bottom: 1em;
    left: 1em;
    padding: 1em 0.5em;
    text-align: left;
}

#cookie-banner a {
    color: #fff;
    text-decoration: underline;
}

#cookie-banner #cookie-banner-ok {
    vertical-align: middle;
    display: inline-block;
    font-size: 22px;

    color: #fff;
    border: 1px solid #fff;
    background: #0404044B;

    border-radius: 5px;
    width: auto;
    margin: 10px 15px;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s, color 0.3s !important;
    padding: 7px;
}

#cookie-banner.cookie_banner_float #cookie-banner-ok {
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#cookie-banner #cookie-banner-ok:hover {
    background: #22b14a;
    color: #fff;
}

@media screen and (max-width: 730px) {
    #cookie-banner.cookie_banner_float {
        max-width: none;
        bottom: 0;
        left: 0;
        padding: 1em 0;
        text-align: center;
        border-radius: 5px 5px 0 0;
    }
}

@-webkit-keyframes typing {
    0% {
        background-color: rgba(255, 255, 255, 1);
        box-shadow: 12px 0px 0px 0px rgba(255, 255, 255, 0.2),
            24px 0px 0px 0px rgba(255, 255, 255, 0.2);
    }

    25% {
        background-color: rgba(255, 255, 255, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(255, 255, 255, 2),
            24px 0px 0px 0px rgba(255, 255, 255, 0.2);
    }

    75% {
        background-color: rgba(255, 255, 255, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(255, 255, 255, 0.2),
            24px 0px 0px 0px rgba(255, 255, 255, 1);
    }
}

@-moz-keyframes typing {
    0% {
        background-color: rgba(255, 255, 255, 1);
        box-shadow: 12px 0px 0px 0px rgba(255, 255, 255, 0.2),
            24px 0px 0px 0px rgba(255, 255, 255, 0.2);
    }

    25% {
        background-color: rgba(255, 255, 255, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(255, 255, 255, 2),
            24px 0px 0px 0px rgba(255, 255, 255, 0.2);
    }

    75% {
        background-color: rgba(255, 255, 255, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(255, 255, 255, 0.2),
            24px 0px 0px 0px rgba(255, 255, 255, 1);
    }
}

@keyframes typing {
    0% {
        background-color: rgba(255, 255, 255, 1);
        box-shadow: 12px 0px 0px 0px rgba(255, 255, 255, 0.2),
            24px 0px 0px 0px rgba(255, 255, 255, 0.2);
    }

    25% {
        background-color: rgba(255, 255, 255, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(255, 255, 255, 2),
            24px 0px 0px 0px rgba(255, 255, 255, 0.2);
    }

    75% {
        background-color: rgba(255, 255, 255, 0.4);
        box-shadow: 12px 0px 0px 0px rgba(255, 255, 255, 0.2),
            24px 0px 0px 0px rgba(255, 255, 255, 1);
    }
}

.grecaptcha-badge {
    visibility: hidden;
}