/*
    Theme Name: Essex National Heritage
    Theme URI: https://www.sperlinginteractive.com
    Description: Sperling Interactive WordPress Starter Theme
    Version: 1.0
    Author: Sperling Interactive
  Theme URI: https://www.sperlinginteractive.com
*/
/*------------------------------------*\
    

\*------------------------------------*/
/* global box-sizing */
*,
*:after,
*:before {
    box-sizing: border-box;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

* {
    min-width: 0;
    min-height: 0;
}

/* html element 62.5% font-size for REM use */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

.hidden{ display: none; }

#bannerbar {
    background: #C35133;
    position: relative;
    margin: 0 auto; /* This centers the element horizontally */
    padding-right:15%;
    padding-left:15%;
    width:100%;
    height:100%;
    box-sizing: border-box; /* Includes padding and border in element's total width and height */
}

#bannerbar a {
    color: white; /* Set the default text color */
    text-decoration: none; /* Remove underline, adjust as needed */
}

#bannerbar a:hover,
#bannerbar a:focus {
    color: white; /* Set the text color on hover and focus states */
    /* Additional styles for hover and focus can be added here */
}

body {
    color: #000000;
    font: 400 17px/1.7 'Montserrat', sans-serif;
    font: 400 1.7rem/1.7 'Montserrat', sans-serif;
}

/* clear */
.clear:before,
.clear:after {
    content: ' ';
    display: table;
}

.clear:after {
    clear: both;
}

.clear {
    *zoom: 1;
}

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

/* Lightspeed Lazy load fade in */
img[data-lazyloaded] {
    opacity: 0;
}

img.litespeed-loaded {
    -webkit-transition: opacity .5s linear 0.2s;
    -moz-transition: opacity .5s linear 0.2s;
    transition: opacity .5s linear 0.2s;
    opacity: 1;
}

a {
    text-decoration: none;
    color: #C35133;
}

a:hover {
    color: #833420;
}

a:focus {
    outline: 0;
}

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

input:focus {
    border: 1px solid #04A4CC;
    outline: 0;
}

p,
ul,
ol {
    font-size: 1.7rem;
}

h1 {
    font-size: 5rem;
    font-family: 'EB Garamond', serif;
    line-height: 1.25;
    margin-bottom: 2rem;
    font-weight: 400;
}

h2 {
    font-size: 3.8rem;
    font-family: 'EB Garamond', serif;
    line-height: 1.25;
    margin-bottom: 2rem;
    font-weight: 400;
}

h3 {
    font-size: 2.8rem;
    font-family: 'EB Garamond', serif;
    line-height: 1.25;
    margin-bottom: 2rem;
    font-weight: 400;
}

h4 {
    font-size: 2.6rem;
    font-family: 'EB Garamond', serif;
    line-height: 1.25;
    margin-bottom: 2rem;
    font-weight: 400;
}

h5 {
    font-size: 2.4rem;
    font-family: 'EB Garamond', serif;
    line-height: 1.25;
    margin-bottom: 2rem;
    font-weight: 400;
}

h6 {
    font-size: 2rem;
    font-family: 'EB Garamond', serif;
    line-height: 1.25;
    margin-bottom: 2rem;
    font-weight: 400;
}

.essex-header {
    font-size: 22px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    margin-top: 60px;
    position: relative;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 3px;
}

.essex-header:before {
    content: url('img/essex-icon.svg');
    position: absolute;
    left: calc(50% - 25px);
    top: -40px;
}

.essex-header-side {
    font-size: 22px;
    font-family: 'Montserrat', sans-serif;
    margin-left: 60px;
    position: relative;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 40px;
}

.essex-header-side:before {
    content: url('img/essex-icon.svg');
    position: absolute;
    left: -60px;
    top: 0;
}

blockquote {
    margin: 25px 0;
    padding: 25px 0 25px 5vw;
    font-style: italic;
    border-top: 1px solid;
    border-bottom: 1px solid;
    font-weight: 700;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/
/* wrapper */
.wrapper {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    width: 100%;
    max-width: 2560px;
}

.main {
    flex: 1 auto;
    width: 100%;
    height: 100%; 
}

.container {
    max-width:1280px; 
    align-self: center;
    flex: 1 auto;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    padding: 0 20px;
}

.container-thin {
    max-width:900px; 
    align-self: center;
    flex: 1 auto;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    padding: 0 20px;
}

.container-wide {
    max-width:1480px; 
    align-self: center;
    flex: 1 auto;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    padding: 0 20px;
}

/* header */
.header {
    position: relative;
    padding-top:5px;
    padding-bottom: 5px;
}
body.single-product .header {
    position: relative !important;
}
.header .columns {
    margin-bottom: 0;
}

.menu-area {
	justify-content: space-between;
}

.logo {
    padding: 20px 20px 20px 0px;
    flex: 0 1 auto;
}

.logo a {
    display:inline-block;
}

.logo-img {
    backface-visibility: hidden;
    max-width: 150px;
}

/* nav */
#responsive-menu-pro-additional-content img {
    padding-left: 7px;
}

.header .nav {
    display: none;
    padding: 0;
}

/* mega menu */
/* #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-megamenu.mega-nav-about > ul.mega-sub-menu {
    opacity: 1!important;
    visibility: visible!important;
    position:absolute;
} */

#mega-menu-wrap-header-menu p {
    font-size: 1.5rem;
}

.mega-menu-link,
.mega-block-title {
    font-family: 'EB Garamond', serif!important;
}

.mega-block-title {
    font-size: 30px!important;
    text-transform: none!important;
}

.mega-menu-width-controller {
    width: 100%;
}

#mega-menu-header-menu {
    display: flex!important;
    justify-content: space-between!important;
}

.nav-blue > a.mega-menu-link:hover,
.nav-blue.mega-toggle-on {
    border-color: #2E86AA!important;
}

.nav-orange > a.mega-menu-link:hover,
.nav-orange.mega-toggle-on {
    border-color: #E18424!important;
}

.nav-red > a.mega-menu-link:hover,
.nav-red.mega-toggle-on {
    border-color: #C35133!important;
}

.nav-lt-blue > a.mega-menu-link:hover,
.nav-lt-blue.mega-toggle-on {
    border-color: #9BC7DF!important;
}

#mega-menu-wrap-header-menu #mega-menu-header-menu li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row {
    width: 70%;
}

.mega-nav-about > ul.mega-sub-menu:before {
    content: ''!important;
    position: absolute!important;
    background-size: cover!important;
    background-position: center!important;
    background-repeat: no-repeat!important;
    display: block!important;
    top: 20px;
    right: 20px;
    bottom: 20px;
    width: calc(30% - 20px);
}

.mega-nav-about > ul.mega-sub-menu:after {
    position: absolute!important;
    display: block!important;
    right: 30px;
    bottom: 30px;
    padding: 3px 10px;
    font-size: 1.4rem;
    font-style: italic;
    max-width: calc(30% - 40px);
}

.mega-nav-explore > ul.mega-sub-menu:before {
    content: ''!important;
    position: absolute!important;
    background-size: cover!important;
    background-position: center!important;
    background-repeat: no-repeat!important;
    display: block!important;
    top: 20px;
    right: 20px;
    bottom: 20px;
    width: calc(30% - 20px);
}

.mega-nav-explore > ul.mega-sub-menu:after {
    position: absolute!important;
    display: block!important;
    right: 30px;
    bottom: 30px;
    padding: 3px 10px;
    font-size: 1.4rem;
    font-style: italic;
    max-width: calc(30% - 40px);
}

.mega-nav-programs > ul.mega-sub-menu:before {
    content: ''!important;
    position: absolute!important;
    background-size: cover!important;
    background-position: center!important;
    background-repeat: no-repeat!important;
    display: block!important;
    top: 20px;
    right: 20px;
    bottom: 20px;
    width: calc(30% - 20px);
}

.mega-nav-programs > ul.mega-sub-menu:after {
    position: absolute!important;
    display: block!important;
    right: 30px;
    bottom: 30px;
    padding: 3px 10px;
    font-size: 1.4rem;
    font-style: italic;
    max-width: calc(30% - 40px);
}

.mega-nav-about > ul.mega-sub-menu {
    background-color: rgba(46, 134, 170, 0.85)!important;
    backdrop-filter: blur(5px)!important;
}

.mega-nav-explore > ul.mega-sub-menu {
    background-color: rgba(225, 132, 36, 0.85)!important;
    backdrop-filter: blur(7px)!important;
}

.mega-nav-programs > ul.mega-sub-menu {
    background-color: rgba(195, 81, 58, 0.85)!important;
    backdrop-filter: blur(7px)!important;
}

.mega-border-bottom .textwidget {
    border-bottom: solid 1px white!important;
    padding-bottom: 10px!important;
    margin-bottom: 10px!important;
}

.mega-nav-items {
    margin-bottom: 30px!important;
}

.mega-nav-items p,
.mega-nav-items li.mega-menu-item {
    margin-top:0!important;
    margin-bottom:0!important;
    padding-top: 0!important;
    padding-bottom: 0!important;
}

.nav-button {
    display:flex; 
    justify-content:center; 
    align-items:center; 
    width:50px; 
    height: 50px; 
    float: left; 
    color: #FFFFFF; 
    font-size: 21px;
}

.nav-button.nav-search {
    background-color:#2E86AA; 
    cursor: pointer;
}
.nav-button.nav-search:hover {
    background-color:#206079; 
}
.nav-button.nav-fb {
    background-color:#C35133; 
}
.nav-button.nav-fb:hover {
    background-color:#8c351f; 
}
.nav-button.nav-twitter {
    background-color:#E18424; 
}
.nav-button.nav-twitter:hover {
    background-color:#b5681b; 
}
.nav-button.nav-insta {
    background-color:#9BC7DF; 
}
.nav-button.nav-insta:hover {
    background-color:#7096ab; 
}

/* sidebar */
.sidebar {}

.sidebar h4 {
    color: #2E86AA;
}

.sidebar .wp-block-latest-posts li a {
    font-weight:bold;
    color: black;
    border-bottom: solid 5px #2E86AA;
    margin-bottom: 30px;
    margin-top: 10px;
    padding-bottom: 10px;
    display: block;
}

/* footer */
.footer {
    background: #2E86AA;
    margin-top: 100px;
    color: #FFFFFF;
}

.footer a {
    color: #FFFFFF;
}

.footer-nav {
    padding: 0;
    font-family: 'EB Garamond', serif;
    font-size: 2.2rem;
}

.footer-logo-img {
    display: none;
}

.footer fieldset {
    padding-bottom: 0!important;
}

.flex-icon {
    display: flex;
}

.flex-icon i {
    font-size: 32px;
    margin-right:10px;
    flex: 0 0 auto;
}

.footer-contact-area > .column {
    display: flex;
    justify-content: flex-start;
}

.footer .company-social-area {
    display: flex;
    align-items:center;
}

.company-social-area strong {
    margin-right: 10px;
}

.company-social-area i {
    font-size: 26px; 
    margin: 0 5px;
    height: 100%;
}

.footer-email {
    word-break: break-word;
}

.pagination {
    border-radius: 20px;
    background-color: #ebf2f5;
    padding: 7px;
    -moz-box-shadow: inset 0 0 10px #dbdbdb;
    -webkit-box-shadow: inset 0 0 10px #dbdbdb;
    box-shadow: inset 3 0 2px #dbdbdb;
    background: linear-gradient(
    174deg
    , rgba(255,255,255,0) 0%, #ebf2f5 100%);
    text-align:center;
    font-size: 2rem;
    margin-top: 60px;
    width: 100%;
}

.pagination .page-numbers {
    margin: 0 5px;
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*------------------------------------*\
    FORMS
\*------------------------------------*/

.with_frm_style input[type=text], .with_frm_style input[type=password], .with_frm_style input[type=email], .with_frm_style input[type=number], .with_frm_style input[type=url], .with_frm_style input[type=tel], .with_frm_style input[type=phone], .with_frm_style input[type=search], .with_frm_style select, .with_frm_style textarea, .frm_form_fields_style, .with_frm_style .frm_scroll_box .frm_opt_container, .frm_form_fields_active_style, .frm_form_fields_error_style, .with_frm_style .frm-card-element.StripeElement, .with_frm_style .chosen-container-multi .chosen-choices, .with_frm_style .chosen-container-single .chosen-single {
    -webkit-box-shadow: 0px 2px 5px 1px rgba(0,0,0,0.1)!important; 
    box-shadow: 0px 2px 5px 1px rgba(0,0,0,0.1)!important;
}

.frm_preview_page .pojo-a11y-toolbar-toggle {
    display: none!important;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

/* COMMON */

.page-header {
    padding: 275px 0 150px 0;
    position: relative;
}
.page-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2E86AA;
    opacity: 64%;
    mix-blend-mode: multiply;
}

.single-cities-and-towns .page-header:before,
.parent-pageid-183 .page-header:before,
.page-id-183 .page-header:before {
    background-color: #E18424;
}

.parent-pageid-301 .page-header:before,
.page-id-301 .page-header:before {
    background-color: #C35133;
}

.page-header-caption {
    position: absolute; 
    left:0; 
    bottom: 30px; 
    right: 0;
    font-style:italic;
    font-size: 1.6rem;
}
.page-header-caption .container {
    text-align: right;
    color: white;
}

.page-header-inner {
    position: relative;
}
.page-header h1 {
    color: #FFFFFF;
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: 2px;
}
.page-header .parent-title {
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.dotted-separator {
    border: dashed 2px #A4C6DC;
    margin: 50px 0;
}

.caption-image {
    position: relative;
}

.photo-caption {
    position: absolute;
    color: white;
    bottom: 10px;
    left: 10px;
    padding: 3px 10px;
    background-color: rgba(0, 0, 0, 0.4);
    font-size: 1.4rem;
    font-style: italic;
}

.tall-gallery-image {
    height: 100%;
    min-height: 325px;
    position: relative;
}

.tall-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

/* HOMEPAGE */
.home-hero {
    position: relative;
}
.home-hero .slick-nav-wrap {
    z-index: 1;
    position:absolute;
    bottom: 35px;
    right: 55px;
}
.home-hero .slick-nav-wrap .slick-prev:before {
    font-family: "Font Awesome 5 Pro";
    content: '\f177';
    font-size: 32px;  
}
.home-hero .slick-nav-wrap .slick-next:before {
    font-family: "Font Awesome 5 Pro";
    content: '\f178';
    font-size: 32px;  
}
.home-hero .slick-next, .home-hero .slick-prev {
    padding: 20px;
    width: auto;
    height: auto;
    background-color: #2E86AA!important;
}

.home-hero .slick-next:hover, .home-hero .slick-prev:hover {
    background-color: #1c556c!important;
}

.home-hero .slick-prev {
    left: -111px;
}

.home-hero h1 {
    color: white;
    /* margin: 230px 0 70px 0px; */
    max-width: 100%;
    border-left: solid 10px #2E86AA;
    padding-left: 45px;
    padding-top: 20px;
    font-size: 3.5rem;
}

.hero-slider .hero-slide {
    min-height:550px; 
    box-shadow:inset 0 0 0 2000px rgba(0, 0, 0, 0.3);
}

.home-hero .container-wide {
    position: absolute; 
    left: 0; 
    right: 0; 
    bottom: 90px; 
    height: auto;
}

/* home tabs */

.home-tabs {
    position: relative;
}

.home-tabs:before {
    position: absolute;
    content: '';
    top: -90px;
    left: 10%;
    width: 450px;
    max-width: 80vw;
    height: 150px;
    background-size: 100% 100%;
}

.home-tabs #tabs {
    display: flex;
    justify-content:flex-start;
    flex-flow: row wrap;
    margin: 0 -20px;
    padding: 0;
    list-style: none;
}

.home-tabs #tabs li {
    width: 100%;
    padding: 10px;
}

.home-tabs #tabs a {
    background-color: #2E86AA;
    padding: 12px 30px;
    border-radius: 60px;
    border: solid 2px white;
    color: white;
    display: block;
    text-align: center;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: background-color 0.5s ease;
    cursor: pointer;
    font-size: 15px;
}

.home-tabs #tabs a.active,
.home-tabs #tabs a:hover {
    background-color: #E18424;
}

/* .home-tabs #tabs a:after {
    content: '';
    position: absolute;
    height: 2px;
    right: -42px;
    top: 50%;
    background-color: #E18424;
    width: 40px;
}

.home-tabs #tabs li:last-of-type a:after,
.home-tabs #tabs li:nth-of-type(5n) a:after {
    display: none;
} */

#tab-results-container {
    margin-top: 80px;
}

#tab-results-container,
#tab-results-container p,
#tab-results-container ul,
#tab-results-container li,
#tab-results-container a {
    color: white;
}

.home-tabs-image img {
    border: solid 4px white;
}
/* /home tabs */

/* program tabs */
ul#program-tabs {
    list-style: none;
    padding: 0;
    font-weight:bold;
}
ul#program-tabs a {
    font-size: 2rem;
    display: block;
    padding: 20px 40px;
    border-bottom: solid 1px #A4C6DC;
    position: relative;
}
ul#program-tabs a:after {
    font-size: 2.3rem;
    position:absolute;
    right:20px;
    top:20px;
    font-family: "Font Awesome 5 Pro";
    content: "\f054";
}
/* /program tabs */

/* home events */
.home-events .date-month {
    font-size: 2rem;
    text-transform: uppercase;
}
.home-events .date-day {
    font-weight:bold;
    font-size: 4rem;
    line-height: 32px;
}
.home-events .date-year {
    font-style: italic;
    margin-top: 2px;
}
.home-events .three-only .button {
    margin-bottom:60px;
}
.home-events .three-only .button {
    background-color: white;
    border-color: white;
    color: #E18424!important;
}
.home-events .three-only .button:hover {
    border-color: white;
    color: white!important;
}
.home-events .column.three-only:nth-child(1) .home-event .home-event-inner {
    background-color: rgba(195, 81, 51, 0.8);
}
.home-events .column.three-only:nth-child(2) .home-event .home-event-inner {
    background-color: rgba(46, 134, 170, 0.8);
}
.home-events .column.three-only:nth-child(3) .home-event .home-event-inner {
    background-color: rgba(225, 132, 36, 0.8);
}
.home-events .home-event:after {
    position:absolute;
    content: '';
    bottom:-1px;
    left: calc(50% - 25px);
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 25px solid white;
}

.home-events .column:after {
    content: '';
    height: 15px;
    margin-top: 10px;
    bottom: 20px;
    display: block;
}
.home-events .column.three-only:nth-child(1):after {
    background-color: #C35133;
}
.home-events .column.three-only:nth-child(2):after {
    background-color: #2E86AA;
}
.home-events .column.three-only:nth-child(3):after {
    background-color: #E18424;
}

.home-events .column.four-only:nth-child(1) .home-event .home-event-inner {
    background-color: rgba(46, 134, 170, 0.8);
}
.home-events .column.four-only:nth-child(2) .home-event .home-event-inner {
    background-color: rgba(195, 81, 51, 0.8);
}
.home-events .column.four-only:nth-child(3) .home-event .home-event-inner {
    background-color: rgba(46, 134, 170, 0.8);
}
.home-events .column.four-only:nth-child(4) .home-event .home-event-inner {
    background-color: rgba(225, 132, 36, 0.8);
}
.home-events .column.four-only:nth-child(1):after {
    background-color: #2E86AA;
}
.home-events .column.four-only:nth-child(2):after {
    background-color: #C35133;
}
.home-events .column.four-only:nth-child(3):after {
    background-color: #2E86AA;
}
.home-events .column.four-only:nth-child(4):after {
    background-color: #E18424;
}
/* /home events */

/* home news */
.front-news-post {
    background-color: #ebf2f5;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* /home news */

/* link boxes */
.link-box-inner {
    height: 100%;
    min-height: 300px;
    padding: 60px 30px 60px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
.link-boxes .columns > .column:nth-child(3n + 1) .link-box-inner {
    background-color: #C35133;
}
.link-boxes .columns > .column:nth-child(3n + 2) .link-box-inner {
    background-color: #2E86AA;
}
.link-boxes .columns > .column:nth-child(3n + 3) .link-box-inner {
    background-color: #E18424;
}

.link-boxes .columns > .column {
    position: relative;
}

.link-boxes .columns > .column:after {
    content: '';
    height: 15px;
    margin-top: 10px;
    bottom: 20px;
    display: block;
}

.link-boxes .columns > .column:nth-child(3n + 1):after {
    background-color: #C35133;
}
.link-boxes .columns > .column:nth-child(3n + 2):after {
    background-color: #2E86AA;
}
.link-boxes .columns > .column:nth-child(3n + 3):after {
    background-color: #E18424;
}

.link-boxes .columns > .column .link-box-inner:after {
    position:absolute;
    content: '';
    bottom:0;
    left: calc(50% - 25px);
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 25px solid white;
}

.link-boxes .button {
    background-color: transparent;
    border-color: white;
    color: white!important;
}
.link-boxes .button:hover {
    background-color:white;
    border-color: white;
    color: #E18424!important;
}
/* /link boxes */


/* ABOUT */
.about-what-we-do-section img {
    margin-bottom: -100px;
}
.about-what-we-do-section .photo-caption {
    margin-bottom: -100px;
}
.about-what-we-do-section {
    margin-bottom: 140px;
}

/* STAFF */
.staff-repeater .column {
    margin-bottom: 60px;
}

.board-member-columns .column {
    margin-bottom: 40px;
}

.board-member-columns h5 {
    margin:0;
}

.board-member-columns p {
    font-style: italic;
    margin:0;
}

/* CONTACT US */
.main-contact-area > .column {
    display: flex;
}

.main-contact-area i,
.main-contact-area .bold {
    color: #2E86AA;
}

/* NEWS */
.news-listings .column {
    margin-bottom: 40px;
}

.news-listing-small {
    background-color: #ebf2f5;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-listing-date {
    font-size: 1.7rem;
    margin-top: 0;
}

.news-listings h2 {
    font-size: 2.7rem;
    margin-top: 20px;
}

.news-listing-info-wrapper {
    padding: 20px;
}

.news-listing-button {
    margin: 0 20px 20px 20px;
    text-align:center;
}

.single-title-area {
    justify-content: space-between;
    color: #FFFFFF;
}


/*------------------------------------*\
    EXPLORE
\*------------------------------------*/

.city-listing-image {
    height: 100%;
    min-height: 325px;
    position: relative;
    color: white;
    padding: 15px;
}

.city-listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.city-listing-image-inner {
    position: relative; 
    background-color: rgba(0,0,0,0.4); 
    height: 100%;
    padding: 15px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.city-listing-image-inner-flex {
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    height: 100%;
    flex: 1 0 auto;
}

.cities-and-towns .city-listing-image-inner-flex {
    justify-content: center; 
}

.location-map .acf-map {
    margin: 0;
}

.single-cities-and-towns .footer {
    margin-top: 0;
}

/* Style The Dropdown Button */
.dropbtn {
    background-color: #E18424;
    color: white;
    padding: 16px 130px 16px 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    position: relative;
    border-radius: 4px;
  }

.dropbtn:after {
    position: absolute;
    right: 16px;
    top: 12px;
    font-family: "Font Awesome 5 Pro"; 
    font-weight: 900; 
    content: "\f078";
    font-size: 24px;
}
  
/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    width: 100%;
    text-align: center;
    max-height:500px;
    overflow: auto;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: #bb6b1a;
}

.explore-link-area {
    background-color: #E18424;
    margin: 30px 0 60px 0;
    color: white;
    padding: 20px 30px;
    font-family: 'EB Garamond', serif;
    font-size: 2.6rem;
}

.explore-link-area .columns {
    justify-content: space-between;
}

/* Regional Visitor Centers */
.regional-visitor-centeres-section h3 {
    font-size: 3rem;
    font-weight:bold;
    font-family: 'Montserrat', sans-serif;
    margin: 0
}

.featured-vc {
    font-size: 3rem;
    font-weight:bold;
    font-family: 'Montserrat', sans-serif;
}

.regional-visitor-centeres-section p {
    margin: 10px 0;
}

.regional-center-website {
    justify-content: flex-start;
}

.regional-center-website,
.regional-center-name {
    display: flex;
    align-items: center;
}

.regional-visitor-centeres-section .columns {
    border-bottom: solid 1px black;
    justify-content: space-between;
    padding-bottom: 20px;
    padding-top: 20px;
}


/*------------------------------------*\
    PROGRAMS
\*------------------------------------*/

.programs-photo-bottom img {
    margin-bottom: -100px;
    margin-top: 30px;
}

/* Education Programs */

.education-programs-section .columns {
    margin-bottom: 80px;
}

.education-programs-section .columns:nth-child(even) {
    flex-direction: row-reverse;
}

/* Partnership Grants */
.program-part:nth-child(odd) {
    background-color: #f3d7d1;
}

.program-part h4 {
    margin-top: 0;
}

.program-part p:last-of-type {
    margin-bottom: 0;
}

.program-part {
    padding: 30px;
}

/* Future Leaders */

.fl-application-buttons {
    margin: 60px 0 40px 0;
}

.fl-application-buttons .button {
    margin-right: 20px;
}

.fl-program-description {
    background-color: #f3d7d1;
    padding: 50px;
}

.fl-accordion-toggle {
    display: none;
}

.fl-program-description-inner {
    transition: height .25s ease;
    height: 350px;
    overflow: hidden;
    position: relative;
}

.fl-program-description-inner.collapsible:before {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient( 0deg,rgba(243,215,209,1) 5%,rgba(243,215,209,0) 30%);
    opacity: 1;
    transition: opacity .25s ease;
}

.fl-program-description-inner.collapsible.active:before {
    opacity: 0;
}

.fl-accordion-toggle {
    text-align:center;
    font-size: 32px;
    cursor: pointer;
    position: relative;
    padding:10px;
    background-color: #C35133;
    border-radius: 10px;
    line-height: 36px;
}

.fl-accordion-toggle i {
    color: white;
    position: relative;
}

.fl-accordion-toggle:hover {
    background-color: #973b24;
}

.fl-more-info-inner {
    background-color: #efefef;
    padding: 50px;
    text-align:center;
}

.fl-info-head {
    font-size: 2.5rem;
    font-weight:bold; 
    margin-top: 0;
    margin-bottom: 15px;
}

.fl-info-email, .fl-info-phone {
    margin:0;
    font-weight: bold;
    font-size: 2rem;
}

/* Photo Contest */
.photo-contest .regular {
    overflow: hidden;
}

.photo-contest .regular .slick-prev {
    font-size: 32px;
    left: 15px;
    z-index: 1;
    width: 50px;
    height: 50px;
}
.photo-contest .regular .slick-prev:before {
    content: '\f104';
    font-family: "Font Awesome 5 Pro"; 
    font-size: 50px;
}

.photo-contest .regular .slick-next {
    font-size: 32px;
    right: -10px;
    z-index: 1;
    width: 50px;
    height: 50px;
}
.photo-contest .regular .slick-next:before {
    content: '\f105';
    font-family: "Font Awesome 5 Pro"; 
    font-size: 50px;
}

.photo-contest .regular .slick-next:before, .photo-contest .regular .slick-prev:before {
    color: #FFFFFF;
}

.photo-contest-gallery a {
    display: block;
    position: relative;
}

.photo-contest-gallery a:after {
    font-family: "Font Awesome 5 Pro";
    position: absolute;
    content: '\f00e';
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.2s;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 24px;
}

.photo-contest-gallery a:hover:after {
    opacity: 1;
}

.how-apply-header {
    padding: 20px;
    background-color: #f3d7d1;
    text-align:center;
    font-weight: bold;
    margin-bottom: 15px;
}

.step-inner {
    padding: 20px;
    background-color: #f3d7d1;
    height: 100%;
}

.step-name {
    color: #C35133;
    opacity: 55%;
    font-weight: bold;
    font-size: 4rem;
    margin-bottom: 20px;
}

.winner-image {
    position: relative;
    font-size: 1.3rem;
}

.winner-image img {
    width: 100%;
}

.image-year {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #C35133;
    padding: 5px 20px;
    color: white;
    max-width: 250px;
    text-align:center;
}

/* .image-year:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 10px;
    height: 10px;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);;
    background-color: #5a1f10;
} */

.image-winner {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: #2E86AA;
    padding: 5px 10px;
    color: white;
    max-width: 250px;
    font-style:italic;
    text-align:center;
}

.sponsors-repeater {
    background-color: #efefef;
    padding: 80px 0;
    margin-top: 80px;
}

.photo-sponsors .slick-track {
    display: flex;
    align-items: center;
}

.photo-sponsors .slick-next {
    right: -20px;
}
.photo-sponsors .slick-prev {
    left: -20px;
}

.photo-sponsors .slick-next:before, .photo-sponsors .slick-prev:before {
    color: #C35133;
}

.category-description {
    margin-top: -15px;
}

.parent-page.column {
    margin-bottom: 60px;
}

.photo-contest .footer {
    margin-top: 0;
}

.prev-winners {
    padding: 0 30px;
    border-left: solid 1px #dadada;
}

/* Membership */
.membership-opportunities-columns {
    justify-content: center;
}

.mo-inner {
    height: 100%;
    background: #9BC7DF;
    padding: 30px 20px;
}

.mo-inner h3 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 2.4rem;
}

.mo-price {
    margin: 0;
    font-size: 24px;
    font-weight:bold;
}

.mo-inner-columns {
    justify-content: space-between;
}

.mo-inner p,
.mo-inner ul {
    font-size: 1.4rem;
}

.perks-repeater {
    margin-top: 30px;
}

.perks-repeater .perk-inner {
    background: #ddebf2;
    height: 100%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.perk-inner p {
    font-size: 1.4rem;
    text-align: center;
}

.logo-repeater {
    justify-content: center;
}

.logo-repeater img {
    max-height:80px;
}
.logo-repeater p {
    font-size: 1.4rem;
    line-height:1em;
    margin-bottom:0;
    margin-top: 15px;
}
.logo-repeater .is-3 > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
    height:100%;
    border: solid 1px #dadada;
    border-radius:10px;
    padding:15px;
    text-align:center;
}

/*------------------------------------*\
    BUTTONS
\*------------------------------------*/
.button {
    padding: 7px 40px;
    font-size: 2rem;
    display:inline-block;
    text-align:center;
    transition: all 0.5s ease;
    border: solid 2px #E18424;
    background-color: #E18424;
    color: #FFFFFF!important;
    border-radius: 60px; 
    font-family: 'EB Garamond', serif;
    line-height: 2.75rem;
}
.button:hover {
    background-color: #b1661b;
    border: solid 2px #b1661b;
    color: #000000;
}

.location-map .button {
    font-size: 1.7rem;
    line-height: 2rem;
    padding: 4px 20px;
}

.button.arrow-btn {
    padding: 10px 50px 10px 15px;
    position: relative;
}

.button.arrow-btn:after {
    position:absolute;
    right:20px;
    top:12px;
    font-family: "Font Awesome 5 Pro";
    content: "\f054";
}

.button.outline-btn {
    border: solid 2px #000000;
    color: #000000;
    background-color:transparent;
}
.button.outline-btn:hover {
    background-color: #000000;
    color:#FFFFFF;
}

.button.reversed {
    border: solid 2px #FFFFFF;
    color: #FFFFFF!important;
    /*background-color:#FFFFFF;*/
}
.button.reversed:hover {
    background-color: #FFFFFF;
    color:#000000!important;
}

.button.outline-btn.reversed {
    border: solid 2px #FFFFFF;
    color: #FFFFFF;
}
/*.button.outline-btn.reversed:hover {
    background-color: #FFFFFF;
    color:#000000;
}*/

.button.large-btn {
    padding: 12px 70px;
    font-size: 2.3rem;
}

.button.full-btn {
    width: 100%;
}

.button.white-btn {
    background-color: white;
    border-color: white;
    color: #E18424!important;
}
.button.white-btn:hover {
    border-color: #E18424;
    color: white!important;
    background-color: #E18424;
}

.take-me-button {
    border-color: white;
    color: white;
    background-color: transparent;
    position: relative;
    padding: 7px 80px 7px 40px;
}

.take-me-button:after {
    position:absolute;
    right:20px;
    top:9px;
    font-family: "Font Awesome 5 Pro";
    content: "\f30b";
    font-size: 24px;
}

.take-me-button:hover {
    color: #E18424!important;
    background-color: white;
    border-color: white;
}



/*------------------------------------*\
    IMAGES
\*------------------------------------*/


/*------------------------------------*\
    ACF GOOGLE MAP
\*------------------------------------*/

.acf-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
    max-height: 600px;
    border: #ccc solid 1px;
    margin: 20px 0;
}

.explore-directions-area .location-map {
    height: 100%;
}

.explore-directions-area .acf-map {
    min-height: 250px;
    max-height: 400px;
}

/* Fixes potential theme css conflict. */
.acf-map img {
    max-width: inherit !important;
}


/*------------------------------------*\
   Tribe Events
\*------------------------------------*/

.single-tribe_events #tribe-events-pg-template {
    margin-top: 200px;
}

#tribe-events-pg-template {
    max-width: 1300px;
}

.tribe_events-template-default .header {
    background-color: #2E86AA;
}

/* .post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    margin-top: 200px;
} */

.post-type-archive-tribe_events .header {
    background-color: #2E86AA;
}

.events-topper .container {
    padding: 0 20px;
    max-width: 1260px;
    margin-bottom:-50px;
    position: relative;
    z-index: 1;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/
@media only screen and (min-width:320px) {}

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

@media only screen and (min-width:769px) {
    .image-year {
        bottom: 30px;
        left: 30px;
        top: auto; 
        font-size: 1.6rem;
        font-weight:bold;
    }
    
    .image-winner {
        font-size: 1.6rem;
        bottom: 30px;
        right: 30px;
    }

    .footer-contact-area > .column {
        justify-content: center;
    }
    
    .footer-logo-img {
        display: block;
    }

    .footer-contact-area > .column {
        border-left: dashed 2px #A4C6DC;
    }
    
    .footer-contact-area > .column:nth-of-type(1) {
        border-left: none;
    }

    .link-boxes .columns > .column {
        margin-bottom:100px;
    }
    .home-tabs #tabs li {
        width: 50%;
        padding: 20px;
    }
    .events-topper .container {
        padding: 0 42px;
    }
}

@media only screen and (min-width:1024px) {
    .header .nav {
        display: block;
    }
    .home-tabs #tabs li {
        width: 25%;
        padding: 20px;
    }
    .regional-center-website {
        justify-content: flex-end;
    }
    .home-hero h1 {
        /* margin:450px 0 60px 0px;  */
        max-width:65%; 
        padding-left: 85px; 
        padding-top:60px;
        font-size: 5rem;
    }
    .hero-slider .hero-slide {
        min-height:650px; 
    }
    .home-hero .container-wide {
        bottom: 70px; 
    }
    .main-contact-area > .column {
        justify-content: center;
    }
}

@media only screen and (min-width:1140px) {}

@media only screen and (min-width:1280px) {}

/*------------------------------------*\
    Search Bar
\*------------------------------------*/

#searchModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(255,255,255); /* Fallback color */
    background-color: rgba(255,255,255,0.8); /* Black w/ opacity */
}

/* Modal Content/Box */
#modal {
    display: none;
    position: fixed;
    z-index: 999;
    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-content {
    position: relative;
    /* background-color: rgba(255,255,255,0.9); */
    background-color: #2E86AA;
    margin: 10% auto;
    padding: 0;
    border: 0;
    width: 800px;
    max-width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    color:#FFFFFF;
}

.modal-content a {
    color:#FFFFFF;
}

.modal-header {
    padding: 2px 16px;
    background-color: #E18424;
    color: white;
}

.modal-header h4 {
    margin: 0;
    padding: 10px 0;
}

.modal-body{
    padding: 20px;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

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

.modal-body .form-inner{
    display: flex;
    justify-content: center;
}

.modal-body .form-inner input[type=search]{
    padding: 10px 15px;
    font-size: 1.6rem;
    color: #E18424;
    border-radius: 20px 0 0 20px;
    border: 0;
    background-color: #fff;
    width: 80%;
    font-family: 'Lato', sans-serif;
}

.modal-body .form-inner button.search-submit{
    border-radius: 0 20px 20px 0;
    background-color: #E18424;
    font-size: 2rem;
    border: 0;
    padding: 10px 15px;
    color: #fff;
    transition: all .4s;
}

.modal-body .form-inner button.search-submit:hover{
    background-color: #E18424;
}

@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}


.search-header{
    background-color: #163C6F;
    color: #fff;
}

.search-result-wrapper article{
    margin-bottom: 30px;
}

.search-result-wrapper h2{
    margin: 10px 0;
}

.search-result-wrapper h2 a{
    color: #163C6F;
    transition: all .3s;
}

.search-result-wrapper h2 a:hover{
    color: #F7B524;
}

.search-article {
    margin-bottom: 40px;
    background-color: #efefef;
    padding: 30px;
}
/* /Search Bar */


/*------------------------------------*\
    WOOCOMMERCE
\*------------------------------------*/

.woocommerce-page .sidebar{
    display: none!important;
}

.woocommerce #content input.button, .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce-page #content input.button, .woocommerce-page #respond input#submit, .woocommerce-page a.button, .woocommerce-page button.button, .woocommerce-page input.button {
background: #E18424 !important;
color:white !important;
text-shadow: transparent !important;
border-color:#E18424 !important;
}

.woocommerce #content input.button:hover, .woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce-page #content input.button:hover, .woocommerce-page #respond input#submit:hover, .woocommerce-page a.button:hover, .woocommerce-page button.button:hover, .woocommerce-page input.button:hover {
background:#E18424 !important;
background-color:#E18424 !important;
color:white !important;
text-shadow: transparent !important;
box-shadow: none;
border-color:#E18424 !important;
}

/*------------------------------------*\
    MISC
\*------------------------------------*/
::selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}

::-webkit-selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}

::-moz-selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}

.error404 .header,
.archive .header,
.single-product .header {
    background-color: #2E86AA;
}

.single-product .header {
    margin-bottom: 60px;
}

.error404 .wrapper,
.archive .wrapper {
    padding-top: 200px;
}

.video-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}
.video-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #FFF;
    border: 1px solid #F0F0F0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption .wp-caption-text,
.gallery-caption {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.sticky {}

.bypostauthor {}

/*------------------------------------*\
    PRINT
\*------------------------------------*/
@media print {
    * {
        background: transparent !important;
        box-shadow: none !important;
        color: #000 !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " ("attr(href) ")";
    }

    abbr[title]:after {
        content: " ("attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

    .nav,
    .sidebar,
    .home-slider,
    #respond {
        display: none;
    }

    @page {
        margin: 2cm;
    }
}
