/* MAIN CSS */
@font-face {
    font-family: EBGaramond-Regular;
    src: url("../fonts/EB_Garamond/static/EBGaramond-Regular.ttf");
}

@font-face {
    font-family: EBGaramond-Bold;
    src: url("../fonts/EB_Garamond/static/EBGaramond-Bold.ttf");
}

html {
    background: #f4f3ef;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    font-family: 'EBGaramond-Regular', Georgia, 'Times New Roman';
    font-weight: 300;
    font-size: 18px;
    color: #191A39;
    line-height: 1.5;
    letter-spacing: .4px;
    margin: 0;
    padding: 0;
    background: #f4f3ef;
    color: #26486d;
}

.wrap,
header,
#content,
#footer-wrap {
    max-width: 1440px;
    margin: 0 auto;
}

header {
    max-width: 1060px;
}

.inner-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 1em 0 0;
}

.inner-wrap:first-of-type {
    padding: 1em 0;
}

.inner-wrap.nopad {
    padding: 0;
    max-width: 950px;
}

.inner-wrap.lesspad {
    padding: 1em 0;
    max-width: 950px;
}

.inner-wrap.center {
    text-align: center;
}

.outer-wrap {
    max-width: 1060px;
    margin: 0 auto;
    padding: 3em 0 0;
}

.wide-wrap {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0;
}

h1,
h1 a,
h1 a:hover {
    letter-spacing: 0;
    color: #000;
    color: #000;
    line-height: 1.1;
    padding: 0;
}

.title-wrap {
    width: 100%;
    padding: 1em 0;
    text-transform: uppercase;
    text-align: center;
}

.page-template-page-contact .title-wrap {
    padding: 2em 0;
}

h2.page-title,
h1.page-title {
    max-width: 900px;
    margin: 0 auto;
    display: block;
}

h2.page-title a,
h1.page-title a {
    color: white;
    font-family: 'EBGaramond-Bold', Georgia, 'Times New Roman';
    font-weight: 900;
    letter-spacing: 1px;
    display: inline-block;
}

.home h1 {
    font-size: 70px;
}

h2,
h3,
h4,
h5 {
    color: #3a6383;
    margin: 1em auto 10px;
    padding: 0;
    font-weight: normal;
    line-height: 1.25;
    display: inline-block;
    font-family: 'EBGaramond-Bold', Georgia, 'Times New Roman';
}

h2 {
    font-size: 34px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 21px;
}

h5 {
    font-size: 18px;
}

b.thanks {
    font-size: 1.5em;
    padding: 15px;
    display: block;
    text-align: center;
}

ul,
ol {
    list-style-position: inside;
}

.inner-wrap ul li,
.inner-wrap ol li,
.outer-wrap ul li,
.outer-wrap ol li {
    padding: 0;
    text-indent: -20px;
}

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

hr {
    clear: both;
    border: none;
    border-top: 3px dotted #002c4b;
    margin: 1em auto;
}

.more {
    font-size: 18px;
    display: block;
    margin: 26px auto 0;
    text-decoration: underline;
}

.flex {
    display: flex;
}

section {
    clear: both;
}

#head {
    clear: both;
    position: relative;
    padding: 10px 0 15px;
    background: #fff;
}

header {
    display: flex;
    align-items: center;
    margin: 0 auto;
    position: relative;
    padding: 0 4%;
}

.logo,
.logo:hover,
.logo:active {
    min-width: 250px;
    height: 95px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#top-bar-wrap {
    margin-left: auto;
}

#top-bar {
    list-style: none;
    display: flex;
    gap: 2em;
    justify-content: center;
    align-items: center;
    max-height: 40px;
    padding: 0;
}

#top-bar a {
    transition: .5s;
}

#top-bar .phone {
    width: 160px;
}

#head.sticky {
    position: fixed;
    z-index: 999999;
    top: 0;
    width: 100%
}

#head.sticky+.main-wrap {
    padding-top: 100px;
}

/* #head.sticky .logo {
    width: 60px;
    height: 60px;
    transition: .5s;
} */

.responsive-menu {
    display: none;
}

nav {
    flex: 4;
    margin: 0 auto;
    padding: 0;
    z-index: 1500;
    position: relative;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    width: auto;
    display: inline-block;
}

nav li {
    position: relative;
    display: inline;
    margin: 0 20px 0 0;
    padding: 0;
}

nav a:hover,
nav .current_page_item a,
nav .current_page_item a:hover {
    color: #e99944;
    /* border-bottom: 3px solid #002c4b; */
}

header nav li ul {
    position: absolute;
    left: 0;
    margin: 0 auto;
    padding: 7px;
    width: 100%;
    min-width: 200px;
    border-radius: 0 0 5px 5px;
    border: 1px solid #ddd;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    top: 0;
    -webkit-transition: all .25s ease;
    -moz-transition: all .25s ease;
    -ms-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
}

header nav {
    font-weight: bold;
    display: flex;
    justify-content: right;
    text-transform: uppercase;
    font-size: 16px;
}

nav li li {
    display: block;
    margin: 0;
    padding: 0;
}

nav li li a {
    font-size: 14px;
    line-height: 1.2;
    padding: 5px;
    text-align: left;
    background: none;
    display: inline-block;
}

header .nav-wrapper li li a {
    margin: 10px 0;
    padding: 5px;
    color: #002c4b;
    line-height: 1.4;
}

.sub-menu .current_page_item a {
    color: #e99944;
}

header nav ul li:hover>ul {
    opacity: 1;
    top: 24px;
    visibility: visible;
}

header nav ul ul li:hover>ul {
    top: -8px;
    left: 104%;
}

.menu-item-has-children>a:after {
    content: '';
    background: url(../../images/carrot.webp) right no-repeat;
    background-size: contain;
    display: inline-block;
    padding: 0 0 10px 10px;
    margin-left: 10px;
}

.menu-item-has-children li a:after {
    transform: rotate(270deg);
}

/* BOOK NOW NAV BUTTON */
header .menu-item-103 a {
    border: 2px solid;
    border-radius: 4px;
    background: none;
    padding: 13px 12px 10px !important;
}

header .menu-item-103 a:hover {
    border: 2px solid #002c4b;
    background: #002c4b;
    color: white;
}

.iconify {
    display: inline-block;
    width: 1em;
    height: 1em;
    font-size: 1.25rem;
    vertical-align: -0.25em !important;
}

/*  BREADCRUMBS AIOSEO SEO  */
.aioseo-breadcrumbs {
    margin: 9px auto 0;
    max-width: 1440px;
    max-width: 900px;
    padding: 0 4.375%;
}

/*  BREADCRUMBS YOAST SEO  */
#breadcrumbs {
    margin: 2em 0 2em -40px;
}

#breadcrumbs,
#breadcrumbs a {
    color: #7D7D7D;
    font-size: 14px;
}

#breadcrumbs a:hover,
#breadcrumbs a:active {
    text-decoration: underline;
}

#breadcrumbs:nth-of-type(1) a:after {
    font-family: 'Font Awesome 5 Free';
    content: "\f015";
    font-weight: 900;
    color: #7D7D7D;
}

#breadcrumbs span span a:nth-of-type(1) {
    color: transparent;
    position: relative;
}

#breadcrumbs span span span a:nth-of-type(1) {
    color: #7D7D7D;
    display: inline;
}

#breadcrumbs span span span a:nth-of-type(1):after {
    content: "";
}

#breadcrumbs .fa-angle-right {
    padding: 0 5px;
}

/* #main {
    background-image: url(../../images/JA_BG.png);
    background-size: cover;
    background-repeat: no-repeat;
} */

.main-wrap {
    float: left;
    width: 100%;
}

#main .wp-post-image {
    margin: auto;
    display: block;
    width: 100%;
}

#hero {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 80vh;
    width: 100%;
}

/*    SLICK SLIDER JS    */
.home>.inner-wrap {
    padding-top: 5em;
}

/* .home .slick-slide>div.hero-wrap {
    width: 50%;
} */

.home .slides .slick-slide {
    justify-content: left;
}

.slides {
    width: 100%;
    overflow: hidden;
    background-color: #002c4b;
}

.slick-slider {
    margin-bottom: 0;
}

.slick-list {
    padding: 0 !important;
}

.slick-track {
    text-align: center;
}

.slick-slide {
    text-align: center;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 99;
}

.slick-slide img {
    margin: auto;
}

.home .slick-slide {
    background-size: cover;
}

.slides .slick-slide {
    height: 60vh;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .slides .slick-slide.portait {
    width: 50%;
    height: auto;
} */

.slides .slick-dots {
    bottom: 1em;
}

.slides .slick-dots li button::before {
    background: #fff;
}

.slick-slide h1 {
    line-height: .9;
    letter-spacing: 6px;
    overflow-wrap: inherit;
    margin: 0 auto 20px;
    text-align: left;
}

.hero-overlay {
    background: rgb(0, 0, 0);
    background: radial-gradient(circle, rgba(0, 0, 0, 0.44579830223104866) 46%, rgba(255, 255, 255, 0) 100%);
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
}

.slick-slide>.hero-wrap {
    /* background: black;
    background: rgba(0, 0, 0, .4); */
    /*! justify-content: center; */
    margin: auto;
    padding: 2em 4%;
    text-align: left;
    color: white;
    text-shadow: 1px 1px 5px #000;
    line-height: 1.2;
    font-size: 1.3rem;
    border-radius: 20px;
    max-width: 1060px;
    width: 100%;
}

.slick-slide>.hero-wrap>div {
    width: 65%;
}

.slick-slide>div.hero-wrap h2 {
    color: white;
    font-size: 2em;
    font-weight: bold;
    margin: 0;
}

.slick-slide a.cta {
    margin: 20px auto 0;
    display: inline-block;
    font-size: 1.25rem;
    padding: .5em 1em;
}

.slider-nav .slick-slide img.portrait {
    object-fit: cover;
}

.slider-nav {
    box-sizing: border-box;
    width: 95%;
    margin: 10px auto 0;
}

.slider-nav .slick-slide {
    height: 130px;
    margin: 9px;
    padding-bottom: 9px;
    border-bottom: 6px solid #fff;
}

.slider-nav .slick-slide img {
    height: 100%;
    width: auto;
    margin: auto;
}

.slider-nav .slick-slide.slick-active {
    border-bottom: 6px solid #002c4b;
}

.prev,
.next {
    position: absolute;
    top: 45%;
    right: 3%;
    background: url(../../images/arrow.png) no-repeat;
    width: 18px;
    height: 35px;
    cursor: pointer;
}

.prev {
    left: 3%;
    right: 0;
    background: url(../../images/arrow-prev.png) no-repeat;
}

.carousel .prev {
    left: 0;
    top: 34%;
}

.carousel .next {
    right: 0;
    top: 34%;
}

.slick-prev,
.slick-next {
    background: url(../../images/arrow-prev.png) no-repeat;
}

.slick-next {
    background: url(../../images/arrow.png) no-repeat;
}

.slick-prev::before,
.slick-next::before {
    content: "";
}

.cta {
    background: url() center center no-repeat;
    text-align: center;
    vertical-align: middle;
    color: #fff;
    border: 2px solid;
    border-color: white;
    background-size: contain;
    text-transform: uppercase;
    display: table-cell;
    font-size: 18px;
    padding: 1em 1.5em;
}

.cta:hover {
    border: 2px solid #e99944;
}

.slick-slide .portrait {
    max-width: 600px;
    margin: auto;
}

.sub-head {
    background: #002c4b;
}

#pg-home .sub-head p {
    margin: 1em auto 3em;
}

.sub-head img {
    margin: auto;
    width: 100%;
}

.sub-head video {
    width: 100%;
    height: 100%;
}

.sub-head .button {
    margin: auto;
    display: block;
}

.col-2 {
    columns: 2;
    column-gap: 75px;
}

.col-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2em;
}

.col-3 h3 {
    margin: 0;
}

.open-content-module .fa-solid {
    margin: 0 10px 0 5px;
    font-size: 1.25rem;
}

#pg-basement-finishes .open-content-module ul {
    list-style: none;
    font-size: 1.2rem;
}

#pg-basement-finishes .open-content-module ul li {
    margin: 0 auto 20px;
}

.home #three-column-module .col-3 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1em;
    padding: 1em;
}

.info-wrap {
    position: relative;
    padding-bottom: 1em;
    text-align: center;
}

.info-wrap p {
    margin-bottom: 2.5em;
    font-size: 1.25rem;
}

.info-wrap a {
    position: absolute;
    bottom: 1em;
}

.home .col-3 .info-wrap {
    padding: 1em;
    background: black;
    color: white;
}

.home .col-3 .info-wrap * {
    color: white !important;
}

.home .col-3 .info-wrap a:hover {
    color: #e99944 !important;
}

.home .col-3 .info-wrap:before {
    content: "";
    background-size: cover;
    background-repeat: no-repeat;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    background-image: url(../../images/types-of-vinyl-siding.webp);
    opacity: 0.3;
}

.home .col-3 .info-wrap:nth-of-type(2):before {
    background-image: url(../../images/doors-and-windows.webp);
}

.home .col-3 .info-wrap:nth-of-type(3):before {
    background-image: url(../../images/decks-and-pergolas.webp);
}

.home .col-3 .info-wrap:nth-of-type(4):before {
    background-image: url(../../images/finished-basement.webp);
}

/* PROCESS MODULE */
.process-wrap {
    display: grid;
    text-align: right;
    padding: 0;
    max-width: 900px;
    margin: auto;
}

.process {
    list-style: none;
    max-width: 50%;
    border: 4px solid #2b3b84;
    border-radius: 20px 0 0 20px;
    position: relative;
}

ol.process-wrap li {
    text-indent: 0;
    padding: 1em 2em;
    margin: 1em 0;
    position: relative;
    counter-increment: step-counter;
}

.process:nth-of-type(even) {
    text-align: left;
    justify-self: end;
    border: 4px solid #fc9417;
    border-radius: 0 20px 20px 0;
}

.process strong {
    display: block;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.process:before {
    border-radius: 100%;
    position: absolute;
    background: #2b3b84;
    color: white;
    font-size: 22px;
    text-align: center;
    text-indent: 0px;
    height: 35px;
    width: 35px;
    top: 20px;
    left: 20px;
    content: counter(step-counter);
}

.process:nth-child(even):before {
    left: auto;
    right: 20px;
    background: #fc9417;
}

/* PROJECTS MODULE */
.single-projects .slides .slick-slide {
    background-size: contain;
}

.projects .inner-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 5%;
}

.projects .thumb-wrap {
    flex: 0 0 35%;
}

.projects .info-wrap {
    flex: 0 0 60%;
    font-size: 80%;
}

.projects .info-wrap h2 {
    margin-top: 0;
    margin-top: -10px;
}

/* TESTIMONIALS */
#testi * {
    color: #fff;
}

#testi blockquote {
    font-size: 22px;
    line-height: 35px;
    text-align: left;
    padding: 0 1em;
}

#testi blockquote::before {
    content: '“';
    font: bold 79px/45px Helvetica;
    position: absolute;
    margin-left: -0.8em;
    margin-top: .3em;
}

#testi blockquote::after {
    content: '';
}

#testi blockquote cite {
    display: block;
    margin: 1em auto;
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
}

.slick-dots {
    bottom: initial;
}

.slick-dots li {
    margin: 0 10px;
}

.slick-dots li button::before {
    background: #DBCAAD;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    content: '';
    opacity: 1;
}

.slick-dots li.slick-active button::before {
    background: #002c4b;
    opacity: 1;
}

/* TESTIMONIAL POSTS */
#testi_posts blockquote {
    font-size: 16px;
    line-height: 1.5;
    margin: 1em auto 2em;
    text-align: left;
}

#testi_posts blockquote p {
    background: #f7f7f7;
    border-radius: 10px;
    padding: 10px 20px;
}

#testi_posts blockquote cite {
    padding: 0 40px;
}

#testi_posts blockquote cite::before {
    content: '- ';
    padding: 0 5px;
}

#testi_posts blockquote .more {
    display: inline;
    text-transform: lowercase;
    font-size: inherit;
}

#testi_posts blockquote p::before {
    color: #a4a4a4;
    content: open-quote;
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.1em;
    vertical-align: -0.4em;
}

blockquote {
    quotes: "“" "”";
}

/* TESTIMONIAL MODULE */
.testimonial blockquote+p {
    text-align: center;
    font-style: italic;
}

.testimonial blockquote:before {
    position: absolute;
    content: open-quote;
    font-size: 3em;
    margin-left: -0.6em;
}

.testimonial blockquote:after {
    position: absolute;
    content: close-quote;
    font-size: 3em;
    bottom: 0;
    right: 0;
    margin-right: -0.6em;
    margin-bottom: 1em;
}

.testimonial blockquote p {
    display: inline;
}

/* POSTS SLIDER */
#posts .inner-wrap {
    padding: 3em 0 0;
}

#posts .inner-wrap h4 {
    color: #002c4b;
}

#posts .outer-wrap .inner-wrap {
    padding: 0;
}

#posts .outer-wrap .inner-wrap .cat-wrap {
    position: relative;
}

#posts .outer-wrap .inner-wrap .cat-wrap h1 {
    margin: 10px auto .5em;
}

#posts .outer-wrap .inner-wrap .cat-wrap h1 a span {
    position: absolute;
    right: 0;
    bottom: .75em;
    text-decoration: underline;
    font-size: 18px;
    color: #002c4b;
}

#posts .outer-wrap .inner-wrap .cat-wrap h1 a:hover * {
    text-decoration: none;
    color: #000;
}

#posts .outer-wrap {
    padding: 0 0 3em;
}

#posts .post {
    text-align: left;
}

#posts .post>div {
    width: 315px;
    height: 210px;
}

#posts .slick-dots li button::before {
    background: #002c4b;
}

#posts .slick-dots li.slick-active button::before {
    background: #002c4b;
}

/* SIDEBAR */
.sidebar {
    padding: 2em 20px;
    text-align: center;
}

.sidebar h4 {
    font-size: 24px;
    display: block;
    font-family: tenso, sans-serif;
    font-weight: 500;
}

.sidebar h4 a {
    color: rgba(25, 42, 57, 1);
}

.sidebar .social {
    text-align: inherit;
}

.sidebar .social a {
    margin: 1em 10px;
    width: 29px;
    height: 29px;
    font-size: 29px;
    color: rgba(99, 133, 137, 1);
}

/* PAGE BUILDER MODULES PAGE */
.intro {
    text-align: center;
}

.module-slide .slick-slide {
    text-align: left;
}

.module-slide .info-wrap {
    display: flex;
    gap: 1em;
    margin: 0 auto 3em;
}

.module-slide .thumb-wrap {
    margin: 10px 0 0;
    flex: 1;
}

.module-slide .thumb-wrap img {
    min-width: 440px;
}

.module-slide .info-wrap {
    flex: 2;
}

.module-slide .info-wrap h2 {
    margin: 0;
    font-family: tenso, sans-serif;
    font-weight: 500;
}

/* FAQ SECTION */
ul.faq li {
    /* background: #002c4b; */
    list-style: none;
    margin: 20px auto;
    padding: 17px;
    max-width: 700px;
    text-indent: 0;
}

ul.faq h4 {
    line-height: 1.6;
    cursor: pointer;
    color: #638589;
    margin: 0;
    width: 96%;
    position: relative;
    transition: 300ms;
    border-bottom: 1px solid transparent;
}

ul.faq h4:before {
    background: url(../../images/carrot.webp) right no-repeat;
    content: "";
    transform: rotate(-180deg);
    position: absolute;
    top: 0;
    left: -30px;
    z-index: 99999;
    width: 18px;
    height: 35px;
}

ul.faq h4.carrot:before {
    transform: rotate(0deg);
}

ul.faq .answer * {
    margin: 1em auto;
}

/* TILES MODULE */
.tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    row-gap: 1em;
    text-align: center;
}

.tile {
    flex: 1 0 49%;
    height: 300px;
    position: relative;
}

.tile .bg-img {
    background-size: 100%;
    width: 100%;
    height: 100%;
    transition: all 1s;
    transition-timing-function: ease;
}

.tile .bg-img:hover {
    background-size: 107%;
    -webkit-filter: sepia(100%) saturate(700%);
    filter: sepia(100%) saturate(700%);
    cursor: pointer;
}

.tile a {
    width: 100%;
    height: 100%;
    display: inline-block;
}

.tile a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(215, 53, 2, .5);
    -webkit-transition: opacity .15s ease-out;
    -moz-transition: opacity .15s ease-out;
    transition: opacity .15s ease-out;
    z-index: 1;
}

.tile a:hover::after {
    opacity: 1;
}

.tile h3 {
    color: white;
    font-weight: bold;
    position: absolute;
    bottom: 0em;
    left: 6%;
    text-shadow: 1px 1px 2px #000;
    z-index: 5;
}

.tile h3 .fa-solid {
    font-size: 80%;
    margin-left: 5px;
}

/* OUR TEAM PAGE */
#pg-our-team .wide-wrap {
    padding: 0;
}

#pg-our-team .inner-wrap {
    float: right;
    width: 29%;
    padding: 75px 40px 0 20px;
    background: rgba(233, 224, 209, 1);
}

#pg-our-team .outer-wrap {
    padding-top: 110px;
    width: 65%;
    float: left;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 1em;
    grid-template-rows: auto;
    justify-items: center;
    align-items: center;
}

.member {
    font-family: tenso, sans-serif;
    font-weight: 400;
    font-weight: bold;
    padding: 0;
    text-align: center;
    width: 272px;
    height: 272px;
    overflow: hidden;
    position: relative;
    z-index: 9;
}

.member .thumb-wrap {
    width: 100%;
    margin: 0 auto;
}

.member .thumb-wrap img {
    min-width: 272px;
}

.member .info-wrap {
    position: absolute;
    width: 100%;
    bottom: -10px;
    z-index: 9999;
}

.member .info-wrap * {
    color: white;
    font-weight: 500;
}

.member .info-wrap>div {
    background: rgba(39, 54, 55, 0.63);
    padding: 0 0 20px;
}

.member .info-wrap h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.member .info-wrap p {
    margin: 0;
    font-size: 10px;
    line-height: 1.5;
    text-transform: uppercase;
}

.member .info-wrap .social div {
    padding: 0;
    text-align: center;
}

.member .info-wrap .social div a {
    width: 16px;
    height: 16px;
    margin: 0 20px 0 0;
}

.member .info-wrap .social div a i {
    font-size: 16px;
}

.bio {
    font-family: tenso, sans-serif;
    font-weight: 300;
    color: black;
    font-size: 18px;
    line-height: 1.6;
    font-weight: normal;
    text-align: left;
    background: white;
    height: 50%;
    width: 80%;
    max-width: 600px;
    background-color: #fefefe;
    margin: auto;
    padding: 2em;
    border: 1px solid #002c4b;
    border-radius: 5px;
    position: relative;
    box-shadow: 0 0 10px #000;
    overflow: auto;
}

.bio>div.wrap {
    display: flex;
    align-items: start;
}

.bio img {
    max-width: 200px;
    float: left;
    margin: 8px 4% 0 0;
}

.bio h4 {
    margin: 0 auto .5em;
    display: block;
}

.bio p {
    margin: 0 auto 1em;
}

.member.active .modal {
    display: block;
}

.modal {
    display: none;
    position: fixed;
    z-index: 99999;
    padding-top: 10%;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal.active {
    display: block;
}

.close {
    color: #000;
    position: absolute;
    top: .75em;
    right: .6em;
    line-height: 0;
    font-size: 36px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* BLOG POSTS */
.single .wide-wrap,
.blog .wide-wrap,
.archive .wide-wrap {
    display: flex;
    gap: 2em;
}

.single .inner-wrap,
.blog .inner-wrap,
.archive .inner-wrap {
    flex: 4;
    max-width: none;
    padding: 3em 2%;
}

.single .sidebar,
.blog .sidebar,
.archive .sidebar {
    flex: 1;
}

.single h1 {
    margin: 0;
}

/* BLOG ARCHIVE */
.post {
    /* margin:0 10px; */
    display: block;
    width: 100%;
    clear: both;
}

.post>div {
    width: 440px;
    height: 293px;
    margin: 12px 20px 3em 0;
    float: left;
    background-repeat: no-repeat;
    background-size: cover;
}

.post h3 {
    display: block;
    font-size: 32px;
    font-family: tenso, sans-serif;
    font-weight: 500;
    margin: 0 auto;
}

.post p {
    margin: 10px auto 0;
}

.blog .wide-wrap {
    padding: 0;
}

.pager {
    margin: 2em auto 0;
    clear: both;
    width: 100%;
    text-align: center;
}

.pager a,
.pager span.current {
    margin: 1em;
    border: 1px solid;
    padding: 5px 10px;
}

.pager span.current {
    background: #002c4b;
    color: white;
}

.pager .next,
.pager .prev {
    border: none;
}

/* TAXONOMY ARCHIVES */

/* TABBED CONTENT */
.tabbed h2 {
    display: block;
    width: 100%;
    text-align: center;
}

.tab {
    color: #002c4b;
    margin: 1em 0;
    cursor: pointer;
    border-bottom: 2px solid #002c4b;
}

.tab:hover,
.tab.active {
    font-weight: 500;
}

.panel {
    display: flex;
    align-items: center;
    gap: 2em;
}

.panel p {
    margin: 0 auto 1em;
    font-size: 18px;
    line-height: 1.6;
}

/* CONTACT PAGE */
.contact-form {
    padding-bottom: 3em;
}

.contact {
    padding: 0 0 1em;
}

.contact h4 {
    color: #638589;
}

.contact p {
    color: #638589;
    font-size: 28px;
    margin: 0 auto;
}

.contact .button {
    flex-shrink: 2;
    margin: 10px auto;
}

.contact .contact-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 3em 0;
}

.contact .contact-wrap .flex {
    align-items: flex-start;
    gap: 3em;
}

.col-1-2 {
    width: 48%;
    float: left;
    margin: 0 4% 0 0;
}

.col-1-2:nth-last-of-type(2) {
    margin: 0;
}

/* NINJA FORM */
.nf-form-content >* {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5%;
    padding: 0 0 2em;
}

.nf-form-content button,
.nf-form-content input[type="button"],
.nf-form-content input[type="submit"] {
    background: #ff9319 !important;
    color: #000 !important;
    text-transform: uppercase;
    float: right;
}

.nf-form-content input:not([type="button"]) {
    color: #26486d !important;
}

#foot {
    margin: 0 auto 1em;
    padding: 50px 0;
    clear: both;
    float: left;
    width: 100%;
    background: #262424;
}

#footer-wrap {
    margin: auto;
}

footer {
    margin: 1.5em auto;
    color: #eaeaea;
}

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

footer .wrap>* {
    text-align: center;
    margin: auto;
}

footer nav div ul li {
    display: block;
    margin: 7px auto;
}

footer .logo,
footer .logo:hover,
footer logo:active {
    width: 200px;
    height: 200px;
    background-position: center;
}

footer .cta {
    margin: 1em auto;
    display: table;
}

footer h3 {
    margin: 0;
    padding: 10px 16px;
}

footer .nav-wrapper a,
.social>a {
    color: #eaeaea;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 500;
    display: inline-block;
    text-align: left;
    line-height: 1;
    opacity: 1;
    font-family: Helvetica, sans;
}

footer .nav-wrapper a {
    border: none;
    font-size: 15px;
}

footer .nav-wrapper .sub-menu a {
    font-family: tenso, sans-serif;
    font-weight: 400;
    font-weight: 300;
    text-transform: none;
    border: none;
}

footer nav li.current-menu-item>a {
    color: #e99944;
    border-bottom: 1px solid #e99944;
}

footer nav li.current_page_item li a {
    color: white;
}

footer nav li li.current_page_item a {
    color: #002c4b;
}

footer a:hover,
footer .nav-wrapper a:hover {
    color: #e99944;
    border: none;
}

/* footer a,
footer a[href^="tel"],
footer span {
    padding: 0 20px 0 0;
    color: #fff;
    opacity: 1;
} */

.footer-contact {
    display: grid;
    font-size: 16px;
    padding: 4em 0 0;
    text-align: center;
    gap: 3em;
    grid-template-columns: 1fr 1fr 1fr;
}

.footer-contact .iconify {
    display: block;
    font-size: 2em;
    margin: auto;
    text-align: center;
    border: 1px solid white;
    border-radius: 50%;
    padding: 1em;
    margin-bottom: 20px;
    width: 30px;
    height: 30px;
}

.footer-contact .iconify:hover {
    border-color: #e99944;
}

.footer-contact a {
    color: #eaeaea;
    line-height: 1.5;
}

footer .social {
    max-width: 191px;
    margin-left: 10px;
}

footer .social div {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
}

footer .social a {
    padding: 0;
}

footer .social img {
    width: 100%;
}

footer .form-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 4%;
}

footer .form-wrap form {
    display: flex;
    gap: 4%;
}

.nf-before-form-content {
    display: none;
}

footer .form-wrap input {
    border: 2px solid white;
    color: white;
    background: none;
    padding: 10px 15px;
}

footer .hs-form-field {
    display: grid;
    grid-template-columns: 2fr 1fr;
}

footer .form-wrap label {
    color: white;
    font-size: 18px;
    padding: 3px 5px 0;
    flex: 2;
    text-align: right;
}

footer .form-wrap .hs-form-required {
    display: none;
}

footer .form-wrap .submitted-message {
    color: white;
}

.social {
    text-align: left;
}

.social div {
    padding: 10px 0;
}

.social div a {
    background-size: contain;
    margin: 0 5px 0 0;
    display: inline-block;
    opacity: 1;
    background-repeat: no-repeat;
}

.social a:hover {
    opacity: .7;
}

.social div a:last-of-type {
    margin: 0;
}

.social a.twitter {
    background: url(../../images/twitter.svgz) no-repeat;
}

.social a.facebook {
    background: url(../../images/facebook.svgz) no-repeat;
}

.social a.instagram {
    background: url(../../images/instagram.svgz) no-repeat;
}

a {
    text-decoration: none;
    color: #26486d;
    -webkit-transition: all .1s linear;
    -moz-transition: all .1s linear;
    -o-transition: all .1s linear;
    transition: all .1s linear
}

*:focus {
    /* for accesibility */
    outline: 3px dashed;
}

a:active {
    background: none;
    outline: none;
}

a:hover {
    color: #e99944;
}

a:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible,
.wp-block-button__link:focus-visible,
input.button:focus-visible,
a.button:focus-visible,
#commentform input#submit:focus-visible,
#searchsubmit:focus-visible {
    border: 1px solid white;
}

#search-form >div {
    display: flex;
}

#search-form input {
    margin: 0 20px 0 0;
}

a[name] {
    scroll-margin-top: 180px;
    overflow: auto;
}

header a[href^=tel] {
    text-decoration: none;
}

a.post-edit-link {
    display: block;
    background: #fff;
    width: auto;
    float: right;
    padding: 0 3px;
    font-size: smaller;
    color: #ccc;
}

img,
a.img,
img a {
    border: none;
    max-width: 100%;
    height: auto;
}

.copy,
.copy a {
    font-size: 14px;
    color: #000;
    text-decoration: none;
    max-width: 1440px;
    padding: 0;
    clear: both;
    margin: 1em auto 0;
    padding-bottom: 1.5em;
}

.copy a {
    padding: 0 0 0 20px;
    white-space: nowrap;
}

.copy a:hover {
    color: inherit;
    text-decoration: underline;
}

.wp-block-button__link {
    padding: 10px 20px 35px !important;
}

button,
.wp-block-button__link,
input.button,
a.button,
#commentform input#submit,
#searchsubmit {
    width: auto;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 14px;
    padding: 7px 15px 5px;
    color: #fff;
    background: #002c4b;
    border-radius: 4px;
    -webkit-appearance: none;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    line-height: 2;
}

.button.invert {
    background: white;
    color: #002c4b;
    border: 2px solid #002c4b;
    border-radius: 4px;
    letter-spacing: 1.6px;
    padding: 15px 25px;
}

.button.invert:hover {
    background: #002c4b;
    color: white;
    border: 2px solid #002c4b;
    border-radius: 4px;
}

.button.invert.aligncenter {
    display: block;
    margin: 100px auto;
}

.button.free,
.button.free:hover {
    border: 3px solid #262424;
    background: none;
    color: #262424;
    border-radius: 25px;
    line-height: 1.5;
}

header .button:hover {
    font-size: 90%;
}

button:hover,
.wp-block-button__link:hover,
.button:hover,
input.button:hover,
a.button:hover,
#commentform input#submit:hover,
#searchsubmit:hover {
    color: #fff;
    cursor: pointer;
    border: none;
    opacity: .8;
}

.button.white {
    background-color: white;
}

.button.white:hover {
    background-color: #000;
}

.button.center {
    margin: 2em auto;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 2em auto;
}

.alignleft {
    float: left;
    margin: 2em 1em 2em 0;
}

.alignright {
    float: right;
    margin: 2em 0 2em 1em;
}

.clear {
    clear: both;
    margin: 1em auto;
}

.aligncenter {
    margin: auto;
    text-align: center;
    display: inline-block;
}

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

.wp-caption img {
    border: 0 none;
    margin: 4px 0 0;
    padding: 0;
}

.wp-caption p.wp-caption-text {
    font-size: 1.1rem;
    line-height: 1.2;
    margin: 0;
    padding: 0 4px 5px;
}

.cats,
.tags {
    color: #ccc;
}

/*
#commentform {text-align:center;}
.commentlist, .commentlist .children {list-style:none; width:100%; padding:0; margin:0; float:left;}
.commentlist li {margin:0 2%; padding:2%; float:left;}
.comment-meta,.comment-author {float:left; width:45%; margin:0 2.5% 1% 0; display:block; line-height:32px; padding:0; font-size:1.1rem; color:#7893a0}
.comment-meta a {font-size:11px; line-height:1; color:#ccc}
.comment-author img {float:left; margin:0 10px 0 0;}
.comment-body p {width:100%; float:left; padding:3px 0; margin:0; }
#commentform input, #commentform textarea, #commentform label {float:left; width:45%; margin:5px 1%}
#commentform label {width:25%;}
#commentform input.submit { margin:10px 0 2rem 30%; border:none; border-radius:5px; background:#b95a9c; color:#fff; }
#commentform input.submit:hover {background:#00679a;}
*/



/* RESPONSIVE
================================================== */
@media only screen and (max-width:1460px) {
    .home_boxes a:nth-of-type(2) {
        min-width: 100px;
    }

    .home_boxes h2 {
        margin-top: 1em;
    }

    .home_boxes a:nth-of-type(2) h2 {
        bottom: 2em;
    }

    .home_boxes {
        padding: 0 20px;
    }

    #footer-wrap {
        padding: 0 2%
    }

    .copy {
        padding: 0 2% 1.5em;
        text-align: center;
    }
}

@media only screen and (max-width:960px) {
    header nav {
        display: none;
    }

    header {
        gap: 5%;
    }

    .slides .slick-slide {
        height: 40vh;
    }

    .menu-btn {
        cursor: pointer;
        width: 45px;
        z-index: 9999;
    }

    .menu-btn span {
        display: block;
        width: 45px;
        height: 5px;
        margin: 10px 0;
        border-radius: 5px;
        background: #002c4b;
        z-index: 9999;
    }

    .menu-btn.trans div {
        position: absolute;
        top: 1em;
        right: 0;
        line-height: 0;
    }

    .menu-btn.trans div:before {
        content: "\00d7";
        color: white;
        font-size: 66px;
    }

    .menu-btn.trans span {
        display: none;
    }

    .mobile-nav {
        list-style: none;
        padding: 5px 2em 1em;
        margin: auto;
    }

    .mobile-nav ul {
         list-style: none;
    }
    
    .mobile-nav li {
        margin: 20px 0 0;
        padding:0;
    }

    .mobile-nav a {
        color: white;
        margin: .5em auto;
        display: block;
    }

    .mobile-nav a:hover {
        color: rgb(172, 172, 172);
    }

    .responsive-menu {
        top: -500px;
        left: 0;
        position: absolute;
        transition: top 1s;
        z-index: 9999;
    }

    .expand {
        top: 0;
        width: 100%;
        display: block;
    }

    .menu-social-menu-container {
        display: none;
    }

    .overlay {
        background: rgba(0, 0, 0, .8);
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 99;
        display: none;
    }

    .show {
        display: block;
        transition: 1s;
    }

    .home #three-column-module .col-3 {
        grid-template-columns: 1fr 1fr;
    }

    .module-slide .thumb-wrap img {
        min-width: 300px;
    }

    .carousel-wrap.outer-wrap {
        padding: 3em 0;
    }

    .inner-wrap.nopad,
    .inner-wrap.lesspad {
        padding: 1em 12%;
    }

    .inner-wrap, 
    .inner-wrap:first-of-type, 
    .outer-wrap {
        padding: 1em 4%;
    }

    #posts .inner-wrap {
        padding: 2em 12% 0;
    }

    #posts .slick-slide {
        padding: 0 2em;
    }

    #posts .outer-wrap .post {
        width: auto;
    }

    .contact .contact-wrap {
        padding: 3em 12%;
    }

    .contact .contact-wrap .flex {
        flex-wrap: wrap;
    }
}

@media only screen and (max-width:768px) {

    .slick-slide>div.hero-wrap h2 {
        font-size: 1.75em;
    }

    h1.page-title a,
    h2.page-title a {
        font-size: 22px;
    }

    .single .wide-wrap,
    .blog .wide-wrap,
    .archive .wide-wrap {
        display: block;
        padding: 0 4%;
    }
}

@media only screen and (max-width: 767px) {
    .thumb-wrap {
        float: none;
        width: 100%;
        margin: 0 auto 1em;
    }

    .home h1 {
        font-size: 2em;
    }

    h1,
    h1 a,
    h1 a:hover {
        margin: 0 auto;
    }

    .slick-slide > .hero-wrap > div {
        width: 100%;
    }

    .col-2 {
        columns: 1;
    }

    .col-2 br {
        display: none;
    }

    .col-2 br:nth-of-type(odd) {
        display: block;
        margin: 0 0 1em;
    }

    .col-3 {
        grid-template-columns: 1fr;
        gap: 4em;
    }

    button,
    input.button,
    a.button,
    #commentform input#submit,
    #searchsubmit {
        max-width: 265px;
    }

    #ba .outer-wrap {
        display: block;
    }

    #ba .outer-wrap>div {
        padding: 0;
        margin: 0 auto 2em;
    }

    .process {
        max-width: 92%;
    }

    .module-slide .info-wrap {
        display: block;
    }

    .module-slide .info-wrap .button {
        position: relative;
    }

    #pg-community-giving-back .wide-wrap {
        grid-template-columns: 1fr;
    }

    .projects .thumb-wrap {
        order: initial !important;
    }

    .projects .thumb-wrap,
    .projects .info-wrap {
        flex: 0 0 100%;
        text-align: center;
    }

    footer .social {
        margin: 36px 12%;
    }

}

@media only screen and (max-width: 700px) {
    header,
    #top-bar {
        flex-direction: column;
        max-height: none;
        gap: 10px;
        margin: 0 auto;
    }

    #top-bar-wrap {
        margin-left: 0;
    }

    .logo {
        flex: auto;
        min-width: 220px;
    }

    .slick-slide>div.hero-wrap h2 {
        font-size: 1.5em;
    }
}

@media only screen and (max-width: 600px) {
    .slides .slick-slide {
        height: 60vh;
    }
 
    .slick-slide>div.hero-wrap h2 {
        font-size: 1.25em;
    }

    .carousel-item.slick-slide img {
        width: 90%;
    }

    h2 {
        font-size: 28px;
    }

    .home #three-column-module .col-3 {
        grid-template-columns: 1fr;
    }

    footer .wrap {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-contact {
        font-size: 16px;
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 480px) {

    h2.page-title,
    h1.page-title,
    h1.subheading {
        padding-left: 30px;
    }

    .archive-wrap {
        display: block;
    }

    .archive-wrap .archive-single {
        margin: 2em auto 5em;
    }

    .slides {
        background: #fff;
    }

    .slides .slick-dots {
        bottom: 20px;
    }

    .slick-dots li {
        margin: 0 6px;
    }

    .bio>div.wrap {
        display: block;
    }

    .bio img {
        max-width: 94%;
        float: none;
        margin: 0 auto 1em;
    }

    footer .footer-contact a {
        text-align: center;
        display: block;
    }
}