﻿/*
Theme Name: New Heritage Distillery
Author: Nick Zwinggi
Author URI: https://zwinggicreative.com
Description: Theme built for New Heritage Distillery
Version: 2022.1
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}body{line-height:1}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);position:absolute !important}




@font-face {
    font-family: 'Royal Signage';
    src: url('fonts/RoyalSignage-Rg.woff2') format('woff2'),
        url('fonts/RoyalSignage-Rg.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}





   /* ----------------                                  ---------------- */
  /* --------                  Global Elements                 -------- */
 /* ----------------                                  ---------------- */

body * {font-family: 'Nanum Myeongjo', serif;;-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;}
body { font-weight:normal; font-family: 'Nanum Myeongjo', serif;; font-size: 16px; background:url('/wp-content/themes/newheritage/images/rice_paper.jpg') #fefdfc repeat; color:#53534A; overflow-x: hidden;}
strong, b, strong a, b a { font-weight:700;}
strong em, em strong, i strong, strong i, b i, i b, b em, em b, strong em a, em strong a, i strong a, strong i a, b i a, i b a, b em a, em b a {  font-style:italic; font-weight:700;}
em, i, em a, i a { font-weight:normal; font-style: italic;font-family: 'Nanum Myeongjo'; }
.thin { }
.alignright { float:right; margin: 0 0 20px 20px; max-width: 50%; padding: 10px; border: 1px solid #cc9832;}
.alignleft { float:left; margin: 0 20px 20px 0; max-width: 50%; padding: 10px; border: 1px solid #cc9832;}
@media (max-width:767px){
    .alignleft, .alignright { float:none; margin: 0 0 20px; max-width: 100%; }
}


hr { height:52px; border:none; width:100%; background: none; margin: 10px 0; position: relative;}
hr::before { content: ''; background: url("/wp-content/themes/newheritage/images/curly-hr-left-med.png") no-repeat; width:50%; height:39px; background-position: left top; position: absolute; left: 0; top: 0;}
hr::after { content: ''; background: url("/wp-content/themes/newheritage/images/curly-hr-right-med.png") no-repeat; width:50%; height:39px; background-position: right top; position: absolute; right: 0; top: 0;}
hr.white::before { content: ''; background: url("/wp-content/themes/newheritage/images/curly-hr-left-med-white.png") no-repeat; width:50%; height:39px; background-position: left top; position: absolute; left: 0; top: 0;}
hr.white::after { content: ''; background: url("/wp-content/themes/newheritage/images/curly-hr-right-med-white.png") no-repeat; width:50%; height:39px; background-position: right top; position: absolute; right: 0; top: 0;}


hr.top { height:23px;}
hr.top::before { height:18px; background-image: url("/wp-content/themes/newheritage/images/curly-hr-top-left-med.png");}
hr.top::after { height:18px; background-image: url("/wp-content/themes/newheritage/images/curly-hr-top-right-med.png");}
hr.bottom { height:24px;}
hr.bottom::before { height:18px; background-image: url("/wp-content/themes/newheritage/images/curly-hr-bottom-left-med.png");}
hr.bottom::after { height:18px; background-image: url("/wp-content/themes/newheritage/images/curly-hr-bottom-right-med.png");}

@media (min-width:991px){
    nav hr { display:none;}
    hr::before { background-image: url("/wp-content/themes/newheritage/images/curly-hr-left.png"); height:52px;}
    hr::after { content: ''; background-image: url("/wp-content/themes/newheritage/images/curly-hr-right.png"); height:52px;}
    hr.white::before { background-image: url("/wp-content/themes/newheritage/images/curly-hr-left-white.png"); height:52px;}
    hr.white::after { content: ''; background-image: url("/wp-content/themes/newheritage/images/curly-hr-right-white.png"); height:52px;}
    hr.top::before { height:23px; background-image: url("/wp-content/themes/newheritage/images/curly-hr-top-left.png");}
    hr.top::after { height:23px; background-image: url("/wp-content/themes/newheritage/images/curly-hr-top-right.png");}
    hr.bottom::before { height:24px; background-image: url("/wp-content/themes/newheritage/images/curly-hr-bottom-left.png");}
    hr.bottom::after { height:24px; background-image: url("/wp-content/themes/newheritage/images/curly-hr-bottom-right.png");}
}

article ul { list-style: disc; margin: 30px;}
article ol { list-style: decimal; margin: 30px;}
article ul li, article ol li { padding:5px 0 5px 5px;}

.blue { color:#3F3B51;}
.green { color:#265349;}
.burgundy { color:#770D26;}
.gold { color:#C99261;}
.slate { color:#565656;}
.black { color:#241F29;}
.white { color:#fff;}

.bg-blue { background-color:#3F3B51;}
.bg-green { background-color:#265349;}
.bg-burgundy { background-color:#770D26;}
.bg-gold { background-color:#C99261;}
.bg-slate { background-color:#565656;}
.bg-black { background-olor:#241F29;}
.bg-white { background-color:#fff;}

.bg-blue *, .bg-green *, .bg-burgundy *, .bg-slate * { color:#fff;}
.bg-white *, .bg-gold * { color:#565656;}

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

.pane {	position: absolute; overflow: hidden;top: 0;width: 100%;height: 100%;z-index: 1;}
.pane img {  object-fit: cover; position: absolute; width: 100%; height: 100%; opacity: .79;}

.relative { position:relative;}
.static { position:static;}
.fixed { position:fixed;}
.absolute { position:absolute;}

.fader { opacity:0; transition:.5s all .25s ease-in-out !important;}
.fader.opaque { opacity:1; transition:.5s all .25s ease-in-out !important;}
.fader.opaque-delay { opacity:1; transition:.5s all 1.25s ease-in-out !important;}
.headline .fader { opacity:0; transition:1s all .5s ease-in-out !important;}
.headline .fader.opaque { opacity:1; transition:1s all .5s ease-in-out !important;}
.headline .fader.opaque-delay { opacity:1; transition:1s all 1.5s ease-in-out !important;}

@media (max-width:767px){
    .fader { opacity:0; transition:.5s all 0s ease-in-out !important;}
    .fader.opaque { opacity:1; transition:.5s all 0s ease-in-out !important;}
    .fader.opaque-delay { opacity:1; transition:.5s all .5s ease-in-out !important;}
    .headline .fader { opacity:0; transition:1s all 0s ease-in-out !important;}
    .headline .fader.opaque { opacity:1; transition:1s all 0s ease-in-out !important;}
    .headline .fader.opaque-delay { opacity:1; transition:1s all .5s ease-in-out !important;}
}

a { transition: .25s all ease-in-out; color:#3F3B51; text-decoration: none;}
a:hover { transition: .25s all ease-in-out; color:#770D26; text-decoration: none;}

a.button, 
.button-link a, 
a.button-link, 
.search-submit, 
button.forminator-button-submit,
.age-gate-submit,
#sb_instagram #sbi_load .sbi_load_btn, #sb_instagram .sbi_follow_btn a
{ margin: 20px auto; background: #3F3B51;  padding:19px 50px !important; font-style: normal; font-family:'Nanum Myeongjo'; line-height: 1em; color:#fff !important; letter-spacing: -0.5px; transition: .25s all ease-in-out; font-size: 18px !important; cursor: pointer; text-align: center; display: inline-block; position: relative; z-index: 2; font-weight: 800; border:none; border-radius: 0;}
.age-gate-submit { padding:10px 35px !important;}

.bg-green a.button, 
.bg-green .button-link a, 
.bg-green a.button-link, 
.bg-green .search-submit, 
.bg-green button.forminator-button-submit {background: #265349;}
.bg-blue a.button, 
.bg-blue .button-link a, 
.bg-blue a.button-link, 
.bg-blue .search-submit, 
.bg-blue button.forminator-button-submit {background: #3F3B51;}
.bg-gold a.button, 
.bg-gold .button-link a, 
.bg-gold a.button-link, 
.bg-gold .search-submit, 
.bg-gold button.forminator-button-submit {background: #C99261;}
.bg-slate a.button, 
.bg-slate .button-link a, 
.bg-slate a.button-link, 
.bg-slate .search-submit, 
.bg-slate button.forminator-button-submit {background: #565656;}


.forminator-ui.forminator-design--default .forminator-button-submit {
	font-weight: 400 !important;
	font-family: 'MP Bold' !important;
	font-size: 16px !important;
}

a.button:hover, 
.button-link a:hover, 
a.button-link:hover, 
.search-submit:hover, 
button.forminator-button-submit:hover,
.age-gate-submit:hover,

#sb_instagram #sbi_load .sbi_load_btn:hover, #sb_instagram .sbi_follow_btn a:hover { background: #565656 !important; transition: .25s all ease-in-out !important; transform: scale(104%); box-shadow: none !important;}


a.button.button-white { color: #3F3B51; background:#fff !important; margin:30px 0 0 !important;}
a.button.button-white:hover { color: #fff; background:#3F3B51 !important; margin-right: 20px;}

a.download-link { padding-right: 42px !important; }
a.download-link::after { content:''; position: absolute; top:50%; transform: translateY(-50%); right:8px; height:20px; width:25px; background: url("/wp-content/themes/newheritage/images/downloadable.svg") no-repeat; background-size: contain;}

p, ul, li { line-height: 30px; font-size: 23px; color: #241F29; letter-spacing: -0.77px; }
p { margin-bottom: 40px; }

@media (max-width:990px){
    p, ul, li { line-height: 25px; font-size: 18px; }
}

#memberships, #memberships p { display:flex; align-items: center; justify-content: center;}
#memberships img { margin:0 20px;}
@media (max-width:990px){
    #memberships p { flex-wrap: wrap;}
    #memberships img { margin: 10px 0; display: block; max-width: 100%;}
}

.flex-wrap {flex-wrap: wrap;}
.flex-center { justify-content: center;}
.flex-center > a { margin-left:10px !important; margin-right: 10px !important;}





.pageinner { max-width:1280px; width:90%; margin:0 auto; padding: 0; position: relative;}
@media (max-width:990px) {
    .pageinner { width:calc(100% - 50px); margin:0 25px;}
}
.pageinnerslim { max-width:1024px;}
@media (max-width:990px) {
	.pageinnerslim img, .wp-caption { max-width:100%;}
	.pageinnerslim {	max-width: 1024px;	margin: 0;	width: 100%;}
}
.wp-caption-text { padding:5px 0 0; line-height: 1.5em; font-weight: 600;color: #241F29; }



.attachment-post-thumbnail, .page-setting img {  margin-bottom: 30px;}

@media (max-width:767px) {
    .attachment-post-thumbnail, .page-setting img { display:block;}
}


.flex { display:flex;}



@media (max-width:990px) {
    .desktop-only { display:none !important;}
}
@media (min-width:991px) {
    .mobile-only { display:none !important;}
}


#header { position: relative; width:100%; z-index: 99999;}
#header .headerimage { width:calc(100% - 100px); max-width:1820px; margin: 50px auto; height:calc(100vh - 100px); background:#565656; position: relative; overflow: hidden;}
@media (max-width:990px) {
    #header .headerimage {width: calc(100% - 48px);max-width: 1820px;margin: 24px auto;height: calc(100vh - 48px);background: #565656;position: relative;}
}

.headerimage h1 { font-family: 'Royal Signage'; font-size: 100px; text-align: center; color: #fff; padding: 0 24px; line-height: 1.1em;}
@media (max-width:1250px) {
    .headerimage h1 { font-size: 85px;}
}
@media (max-width:990px) {
    .headerimage h1 { font-size: 72px;}
}
@media (max-width:640px) {
    .headerimage h1 { font-size: 56px;}
}
@media (max-width:480px) {
    .headerimage h1 { font-size: 48px;}
}
@media (max-width:350px) {
    .headerimage h1 { font-size: 42px;}
}

.headline { width: 100%; position: absolute; left: 0; top: 50%; transform: translateY(-50%); z-index: 3;}

.slick-slider { opacity:.29; }
.slick-slider,
.slick-list,
.slick-track {
	height: 100%;
}
.slick-initialized .slick-slide {
	display: block;
	height: 100% !important;
}
.slick-slide img {
	display: block;
	object-fit: cover;
	height: 100%;
	width: 100%;
}


.image-rail-top { position:absolute; width:70%; height:1px; background: #565656; left:15%; top:-10px; z-index: 3;}
.image-rail-bottom { position:absolute; width:70%; height:1px; background: #565656; left:15%; bottom:-10px; z-index: 3;}
.image-rail-left { position:absolute; height:70%; width:1px; background: #565656; top:15%; left:-10px; z-index: 3;}
.image-rail-right { position:absolute; height:70%; width:1px; background: #565656; top:15%; right:-10px; z-index: 3;}

.embellish-rail-top { position:absolute; width:calc(100% - 108px); height:2px; background: #C99261; left:54px; top:14px; z-index: 3;}
.embellish-rail-bottom { position:absolute; width:calc(100% - 108px); height:2px; background: #C99261; left:54px; bottom:14px; z-index: 3;}
.embellish-rail-left { position:absolute; height:calc(100% - 108px); width:2px; background: #C99261; top:54px; left:14px; z-index: 3;}
.embellish-rail-right { position:absolute; height:calc(100% - 108px); width:2px; background: #C99261; top:54px; right:14px; z-index: 3;}

.embellish-topright { background:url("/wp-content/themes/newheritage/images/corner1.png") right top no-repeat; background-size:contain; width:45px; height:45px; position: absolute; top:10px; right:10px; z-index: 2;}
.embellish-topleft { background:url("/wp-content/themes/newheritage/images/corner4.png") left top no-repeat; background-size:contain; width:45px; height:45px; position: absolute; top:10px; left:10px; z-index: 2;}
.headerimage .embellish-topleft { display:none;}
.embellish-bottomleft { background:url("/wp-content/themes/newheritage/images/corner3.png") left bottom no-repeat; background-size:contain; width:45px; height:45px; position: absolute; bottom:10px; left:10px; z-index: 2;}
.embellish-bottomright { background:url("/wp-content/themes/newheritage/images/corner2.png") right bottom no-repeat; background-size:contain; width:45px; height:45px; position: absolute; bottom:10px; right:10px; z-index: 2;}

.header-logo { width:260px; height: 260px; top:-27px; left:-40px; position: relative; z-index: 3;}
@media (max-width:1420px) {
    .header-logo { left:-20px;}
}
@media (max-width:1023px) {
    .header-logo { height: 175px; top:-23px; left:0px;}
}
@media (max-width:767px) {
    .header-logo { height: 145px;}
}
@media (max-width:640px) {
    .header-logo { left:-40px;}
}

#site-title { background:url("/wp-content/themes/newheritage/images/logo.png") no-repeat; background-size:contain; width:260px; height:260px; background-position: left center; text-indent: -9999px; overflow: hidden;}

@media (max-width:1200px) {
    #site-title { width: 227px;height: 227px;} 
}
@media (max-width:990px) {
    #site-title { width: 200px;height: 200px;}  
    .headerimage .embellish-rail-top { width:calc(100% - 105px); left:59px;}
    .headerimage .embellish-rail-left { height:calc(100% - 104px); top:57px;}

}
@media (max-width:640px) {
    #site-title { width: 182px; height: 182px; }
}

#site-title a { display: block; height: 100%; cursor: pointer;}




#searchoverlay { position:fixed; top:0; left:0; width:100%; height: 100%; background:rgba(45,69,83,.9); z-index: 999999999999999999; visibility: hidden; opacity: 0; transition:.25s all ease-in-out;}
#searchoverlay.active { visibility: visible; opacity: 1; transition:.25s all ease-in-out;}
#searchoverlay #search {margin:0vh auto 0; max-width: 700px; background: #fff; padding:25px; border-radius:3px; width: calc(100% - 50px); transition:.25s all ease-in-out;}
#searchoverlay.active #search {margin:20vh auto 0; transition:.25s all ease-in-out;}


form.search-form {display: flex; justify-content: space-between;}

textarea, input[type="text"], input[type="button"], input[type="reset"], input[type="search"], input[type="password"] {
	-webkit-appearance: none;
	appearance: none;
	border-radius: 0;
	border: 1px solid #ccc;
	font-size: 16px;
	padding: 12px 22px 10px; width:100%;
}
form.search-form label { width:calc(100% - 135px)}

.closeX { position:absolute; right:50px; top:50px; width:34px; height:34px;}

@media(max-width:990px){
    .closeX { right: 25px;  top: 30px;}
}

.closeX::before { transition:.25s all ease-in-out; content: ''; height:2px; width:35px; top:16px; left:0; transform: rotate(-45deg); background:#fff; position: absolute;}
.closeX::after { transition:.25s all ease-in-out; content: ''; height:2px; width:35px; top:16px; left:0; transform: rotate(45deg); background: #fff; position: absolute;}
.closeX:hover::before, .closeX:hover::after { transition: .25s all ease-in-out; transform:rotate(0deg)}

.default-header, .text-header { padding:120px 0 100px;}

@media(max-width:990px){
    .default-header, .text-header {padding: 60px 25px 30px;}
}

.subH1 {  font-size: 48px; color: #3F3B51; letter-spacing: 0; text-align: center; margin: 20px 0;}


@media(max-width:990px){
    .subH1 { font-size: 28px;}
}






   /* ----------------                                    ---------------- */
  /* --------                     Navigation                     -------- */
 /* ----------------                                    ---------------- */

header .pageinner { display:flex; width:calc(100% - 48px); align-items: center; justify-content: space-between;}

.navigation {display: block;width: calc(100% - 242px); height: auto;text-align: center;z-index: 4;}
.navigation.fader { opacity:0; transition:1s all 1s ease-in-out; bottom:-50px;}
.navigation.fader.opaque { opacity:1; transition:1s all 1s ease-in-out;bottom: 25px;}


.navigation ul { display:flex; justify-content: flex-end;}
.navigation ul li { margin:0 20px;}
.navigation ul li a { color:#C99261; font-size: 26px; font-weight:800; font-style: normal; font-family: 'Nanum Myeongjo';letter-spacing: -0.5px; transition:.25s all ease-in-out; position: relative; display: inline-block;}
.navigation ul li a::after { content: ''; background:#C99261; height:2px; width:0%; position: absolute; bottom:0px; left:0;transition:.25s all ease-in-out;}
.navigation ul li a:hover, .navigation ul li.current_page_item a { color:#770D26; transition:.25s all ease-in-out;}
.navigation ul li a:hover::after { width:100%; transition:.25s all ease-in-out;}



@media (max-width:1250px){
    .navigation ul li a { font-size: 24px; }
}
@media (max-width:1100px){
    .navigation ul li a { font-size: 20px; }
    .navigation ul li a::after { height:1px; bottom:5px;}
}
@media (max-width:1023px){
    .navigation ul li a { font-size: 18px; }
}
@media (max-width:990px){
    .navigation {right: 0px;top: 0;background:url('/wp-content/themes/newheritage/images/rice_paper.jpg') #fefdfc repeat;height:100%;width: 100%; z-index: 98;max-height: 0;overflow: hidden;padding: 0; transition:.5s all ease-in-out; bottom:unset !important; opacity: 1 !important; position: fixed; }
    .navigation.active { transition: .5s all ease-in-out; max-height: 100vh; position: fixed; right: 0px; top: 0; width:100%;}
    .navigation ul { display:flex; flex-wrap: wrap; justify-content: flex-end; border:1px solid #fff; margin:10px;}
    .navigation ul li { padding:4px; margin: 0; width:100%;}
    .navigation ul li:first-child { margin-top:20px;}
    .navigation ul li:last-child { margin-bottom:40px;}
    .navigation ul li a { font-size: 27px; }
}


.stackNav { position: absolute; display: block; top: 60px; right: 19px; height: 35px; width: 35px; z-index: 99;}
@media (min-width:991px){
    .stackNav { display:none;}
}
.stackNav * { transition:.25s all ease-in-out;}
.stackNav .one { height:2px; width:35px; top:0; left:0; position: absolute; background: #C99261;}
.stackNav .two { height:2px; width:35px; top:8px; left:0; position: absolute; opacity: 1; background: #C99261;}
.stackNav .three { height:2px; width:35px; top:16px; left:0; position: absolute; background: #C99261;}
.stackNav.active {}
.stackNav.active .one { transform:rotate(45deg); top:6px;}
.stackNav.active .two { transform:rotate(45deg); top:6px; opacity: 0; transition:.25s all ease-in-out, .125s opacity .125s ease-in-out;}
.stackNav.active .three { transform:rotate(-45deg); top:6px;}



.scrollNav { width:100%; position: fixed; margin: 0; height:100px; background:url('/wp-content/themes/newheritage/images/rice_paper.jpg') #fefdfc repeat; left: 0; z-index: 99999; box-shadow: 0 1px 10px rgba(0,0,0,.15); top:-100px; transition: .5s top ease-in-out;}
.scrollNav.active { top:0px; transition: .5s top ease-in-out;}
.scroll-down .scrollNav.active { top:-100px; transition: .5s top ease-in-out;}
.scroll-down .scrollNav.active.locked { top:0px; transition: 0s top ease-in-out;}
.scrollNav-inner { width:calc(100% - 100px); max-width:1820px; margin: 20px auto; height:60px; position: relative;}
@media (max-width:990px) {
    .scrollNav-inner {width: calc(100% - 48px);}
}

.scrollNav-inner::before { content:''; position:absolute; width:100%; height:1px; background: #C99261; left:0%; top:-10px;}
.scrollNav-inner::after { content:''; position:absolute; width:100%; height:1px; background: #C99261; left:0%; bottom:-10px;}
.full-title a { font-family: 'Royal Signage'; font-size: 42px; text-align: left; color: #3F3B51; padding: 0 10px; line-height: 64px;display: block;}
@media (max-width:540px) {
    .full-title a { font-size:24px;}
}
@media (max-width:400px) {
    .full-title a { font-size:18px;}
}

.scrollNav .stackNav { display:block; top:23px; right:20px;}

.scrollNav .stackNav .one { background: #3F3B51;}
.scrollNav .stackNav .two { background: #3F3B51;}
.scrollNav .stackNav .three { background: #3F3B51;}
.scrollNav .stackNav.active .one { background: #C99261;}
.scrollNav .stackNav.active .two { background: #C99261;}
.scrollNav .stackNav.active .three { background: #C99261;}


.scrollNav .navigation {
	right: 0px;
	top: 90px;
	background: url('/wp-content/themes/newheritage/images/rice_paper.jpg') #fefdfc repeat;
	z-index: 999999;
	max-height: 0;
	overflow: hidden;
	padding: 0;
	transition: .5s all ease-in-out;
	bottom: unset !important;
	opacity: 1 !important;
	position: fixed;
	width: 100%;
	padding-top: 0px;
}

.scrollNav .navigation::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 1px;
	background: #C99261;
	left: 50px;
	bottom: 12px;
	max-width: calc(100% - 100px);
}

.scrollNav .navigation.active { transition:.5s all ease-in-out; max-height: 100vh; padding-top: 20px; box-shadow: 0 10px 10px rgba(0,0,0,.2);}
.scrollNav .navigation ul { display:flex; flex-wrap: wrap; justify-content: flex-end; margin:10px;}
.scrollNav .navigation ul li { padding:4px; margin: 0; width:100%;}
.scrollNav .navigation ul li:first-child { margin-top:20px;}
.scrollNav .navigation ul li:last-child { margin-bottom:30px;}


.nav1 #menu-man-nav { position:relative; padding-bottom:56px;}
.nav1 #menu-man-nav::after { content:''; width:calc(100% + 19px); height:37px; position: absolute; bottom:20px; right:-25px; background:url('/wp-content/themes/newheritage/images/spear-right.png') no-repeat; background-position: right top;}
.nav1 #menu-man-nav::before { content:''; width:6px; height:37px; position: absolute; bottom:20px; left:0px; background:url('/wp-content/themes/newheritage/images/spear-right-ball.png') no-repeat;}

@media (max-width:1420px) {
    .nav1 #menu-man-nav::after {display: block;width: calc(100% - 15px); right:10px;}
}

@media (max-width:1100px) {
    .nav1 #menu-man-nav::after {bottom:30px;}
    .nav1 #menu-man-nav::before {bottom:30px;}
}

@media (max-width:990px) {
    .nav1 #menu-man-nav { padding-bottom:0px;}
    .nav1 #menu-man-nav::after { display: none;}
    .nav1 #menu-man-nav::before { display: none;}
}

.meta-info { font-size:18px; margin: 0 0 20px; font-weight: 600; letter-spacing: -0.67px}
.meta-info * { display: inline-block; margin-right: 20px; }
.excerpt { font-size:20px; margin: 0; font-weight: 600; letter-spacing: -0.67px; line-height: 1.3em;}






   /* ----------------                                  ---------------- */
  /* --------                     Headings                     -------- */
 /* ----------------                                  ---------------- */

h1 {  font-size: 69px; color: #3F3B51; letter-spacing: 0; text-align: center; font-family: 'Royal Signage';}
.single-post h1 {
	color: #3F3B51;
	letter-spacing: 0;
	text-align: right;
	width: calc(100% - 200px);
	margin-left: 200px;
}

.single-post h1 a { }
.masthead h1 { font-size: 49px; color: #3F3B51; letter-spacing: 0; text-align: left; margin-top:20px;}
@media (max-width:990px){
    h1 {font-size: 48px;}
    .single-post h1 {font-size: 48px; width:100%; margin-left:0; }
}
.entry-title { margin-bottom:40px;}

h2 { font-size: 69px;color: #3F3B51;letter-spacing: 0;text-align: left; width: 100%;font-family: 'Royal Signage';}

@media (max-width:1250px){
    h2 { font-size: 48px; }
}
@media (max-width:990px){
    h2 { font-size: 40px;padding-right: 24px; }
}

h3 {  font-size: 67px; letter-spacing:-2px; color: #3F3B51; line-height: 1.1em; text-align: left; font-family: 'Royal Signage'; margin-bottom: 30px;}

@media (max-width:990px){
    h3 { font-size:45px;}   
}
h4 { font-family: 'MP Semibold'; font-size: 16px; color: #FFFFFF; letter-spacing: 1px; text-transform: uppercase; padding-bottom:10px; margin-bottom:10px; border-bottom: #fff 1px solid; line-height: 1.5}
.meta-info h4 {
	font-size: 16px;
	letter-spacing: 6px;
	text-transform: uppercase;
	padding-bottom: 5px;
	margin-bottom: 10px;
	border-bottom: #C99261 1px solid;
	line-height: 1.5;
 color: #3F3B51; 
}
.meta-info h4.time {
	font-size: 14px;
	letter-spacing: 3px;
	text-transform: uppercase;
	padding-bottom: 0px;
	margin-bottom: 0px;
	border-bottom: none;
	line-height: 1.5;
 color: #3F3B51; 
}

h5 {  line-height: 1.3em; font-weight: 800; font-size: 30px; color: #241F29; letter-spacing: -1px; margin:5px 0 15px;}
a:hover h5 { color: #770D26;}

.page-setting h2, .page-setting h3, .page-setting h4 { color: #3F3B51; margin-bottom: 20px;}


   /* ----------------                                  ---------------- */
  /* --------                Flex Panel Values                 -------- */
 /* ----------------                                  ---------------- */

.flexPanel  { display: flex !important; padding: 0; width:calc(100% + 68px); flex-wrap: wrap; margin:0 -34px; position: relative;}
.flexPanel.flexReverse { flex-direction:row-reverse;}
.flexPanel .cell_12,
.flexPanel .cell_11, 
.flexPanel .cell_10, 
.flexPanel .cell_9, 
.flexPanel .cell_8, 
.flexPanel .cell_7, 
.flexPanel .cell_6, 
.flexPanel .cell_5, 
.flexPanel .cell_4, 
.flexPanel .cell_3, 
.flexPanel .cell_2, 
.flexPanel .cell_1 { width:100%; margin:34px; display:block;}
.flexPanel .cell_12.fader,
.flexPanel .cell_11.fader, 
.flexPanel .cell_10.fader, 
.flexPanel .cell_9.fader, 
.flexPanel .cell_8.fader, 
.flexPanel .cell_7.fader, 
.flexPanel .cell_6.fader, 
.flexPanel .cell_5.fader, 
.flexPanel .cell_4.fader, 
.flexPanel .cell_3.fader, 
.flexPanel .cell_2.fader, 
.flexPanel .cell_1.fader { position: relative; top:100px;}
.flexPanel .cell_12.fader.opaque,
.flexPanel .cell_11.fader.opaque, 
.flexPanel .cell_10.fader.opaque, 
.flexPanel .cell_9.fader.opaque, 
.flexPanel .cell_8.fader.opaque, 
.flexPanel .cell_7.fader.opaque, 
.flexPanel .cell_6.fader.opaque, 
.flexPanel .cell_5.fader.opaque, 
.flexPanel .cell_4.fader.opaque, 
.flexPanel .cell_3.fader.opaque, 
.flexPanel .cell_2.fader.opaque, 
.flexPanel .cell_1.fader.opaque { top:0px;}
.flexPanel .cell_12.fader.opaque-delay,
.flexPanel .cell_11.fader.opaque-delay, 
.flexPanel .cell_10.fader.opaque-delay, 
.flexPanel .cell_9.fader.opaque-delay, 
.flexPanel .cell_8.fader.opaque-delay, 
.flexPanel .cell_7.fader.opaque-delay, 
.flexPanel .cell_6.fader.opaque-delay, 
.flexPanel .cell_5.fader.opaque-delay, 
.flexPanel .cell_4.fader.opaque-delay, 
.flexPanel .cell_3.fader.opaque-delay, 
.flexPanel .cell_2.fader.opaque-delay, 
.flexPanel .cell_1.fader.opaque-delay { top:0px;}
@media (min-width:767px){
    .flexPanel .cell_8, 
    .flexPanel .cell_7, 
    .flexPanel .cell_6, 
    .flexPanel .cell_5, 
    .flexPanel .cell_4 { width:calc(50% - 68px);}
}
@media (min-width:991px){
    .flexPanel .cell_8,.flexPanel .cell_9 { width:calc(67.777% - 68px);}
    .flexPanel .cell_8.offset-left { width:calc(50% - 68px);}
    .flexPanel .cell_4, .flexPanel .cell_3 { width:calc(33.333% - 68px);}
}
@media (min-width:1200px){
    .flexPanel .cell_11 { width:calc(91.667% - 68px);} 
    .flexPanel .cell_10 { width:calc(83.333% - 68px);} 
    .flexPanel .cell_9 { width:calc(75% - 68px);} 
    .flexPanel .cell_8, .flexPanel .cell_8.offset-left { width:calc(66.667% - 68px);}
    .flexPanel .cell_7 { width:calc(58.333% - 68px);}
    .flexPanel .cell_5 { width:calc(41.667% - 68px);}
    .flexPanel .cell_4 { width:calc(33.333% - 68px);} 
    .flexPanel .cell_3 { width:calc(25% - 68px);} 
    .flexPanel .cell_2 { width:calc(16.667% - 68px);} 
    .flexPanel .cell_1 { width:calc(8.333% - 68px);}
    .flexPanel .offset-left { margin-left:calc(-8.333% + 32px);}
}




   /* ----------------                                  ---------------- */
  /* --------                   Panel Values                   -------- */
 /* ----------------                                  ---------------- */

main#content { width:100%; overflow-x: hidden; overflow-y: clip; margin-top: -70px;}
@media (max-width:990px){
    main#content { margin-top:0px;}
    #main-panel-1 { padding-top:0;}
    #main-panel-1 .flexPanel > div:first-child { margin-top:0 !important;}
}
.page-panel { padding: 17px 0; position: relative;}
@media (max-width:990px){
    .page-panel { padding: 17px 0;}
}
.page-panel.fader { top:100px;}
.page-panel.fader.opaque { top:0px;}
.page-panel.fader.opaque-delay { top:0px;}

.page-panel.logo-panel { position:relative;}
.page-panel.logo-panel::before { background-image:url('/wp-content/themes/newheritage/images/logo_lrg.png'); width: 586px; height: 586px; content: ''; right:-235px; top:0; position: absolute; background-size: contain;}

@media (max-width:990px) {
    .page-panel.logo-panel::before { width:30vw; height:30vw;left: 50%; transform: translateX(-50%); right: unset; top:unset; bottom:0;}
    
    .page-panel.logo-panel .flexPanel { margin-bottom:27vw;}
}


.panel-over-right { position:absolute; right:-20px; top:120px; min-width: 386.65px;}
.panel-over-right p { line-height:1em;}

.masthead {
	width: calc(100%);
	margin: 10px 0;
	background: #565656;
	position: relative;
}

@media (max-width:990px) {
    .masthead {max-width: 1820px;margin: 30px auto;height:auto;background: #565656;position: relative;}
}

.masthead .pane {  height:100%; }
@media (max-width:990px){
    .panel-over-right {  min-width: 215px;}
}

.masthead-content { width: calc(100% - 48px); position: relative; padding: 150px 0%; z-index: 3; max-width: 1280px; text-align: right; margin: 0 auto;}
.masthead-content h2 { color:#fff; font-size:113px; letter-spacing: -3.77px; text-align: right; line-height: 1.2em; max-width: 638px;display: inline-block;}
@media (max-width:990px){
    .masthead-content { margin:50px auto; width: 100%; position: relative; top: 0; left: 0; text-align: center; padding: 0 20%; transform: none; z-index: 3;}
    .masthead-content h2  { text-align: center; font-size: 69px; padding: 0;}
}

.panel-bg-padding { padding:40px;}

.masthead-text { margin-top:28px;max-width: 922px; width: 100%;
display: inline-block;}
.masthead-text p {  color: #FFFFFF; letter-spacing: 0; font-weight: 800; }
.image-icon { bottom: -1px; left: -94px; position: absolute; width: 230px; height: 272px; z-index: 2; background-size: contain; background-repeat: no-repeat; background-position: left bottom;}

.image-icon.building {
	bottom: 0px;
	left: -83px;
	position: absolute;
	width: 230px;
	height: 172px;
	z-index: 2;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: left bottom;
}
@media (max-width:990px){
    .image-icon.building { bottom: -1px;}
}
.image-icon.house {
	bottom: 0px;
	left: -104px;
	position: absolute;
	width: 230px;
	height: 146px;
	z-index: 2;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: left bottom;
}
@media (max-width:990px){
    .image-icon.house { bottom: -1px;}
}



@media (max-width:990px){
    .image-icon {  bottom: -1px; left: -37px; position: absolute; width: 90px; height: 122px; z-index: 2; background-size: contain;background-repeat: no-repeat; background-position: left bottom;}
    .masthead .cell_4 { width: calc(100% - 40px); top: -20px; position: relative; margin: 0; z-index: -1; }
    .panel-bg-padding {	padding:25px;}
    .image-icon.house {bottom: -1px;left: 0px;width: 110px;height: 96px;}
    .image-icon.building {left: 0;	width: 70px;	height: 172px;}
}


.card-info { width:100%;padding-bottom: 0px;}

.card-info h2 { text-align:center;}

.card-info p { max-width: 800px; margin: 30px auto; text-align: center;}

.card { position:relative;}
.card-title { display: flex; align-items: center; justify-content: flex-start; width:calc(100% + 2px); margin-left:-1px;}
.card-icon { width:64px; height: 85px; background-position: center center; background-repeat: no-repeat; margin:25px; background-size: contain;}
@media (max-width:990px){
    .card-icon { width:44px; height: 60px;}
}
.card-icon.none { width:40px; margin-left:0; margin-right: 0;} 
.card-icon.leaf { background-image: url("/wp-content/themes/newheritage/images/leaf_icon.svg"); }
.card-icon.building { background-image: url("/wp-content/themes/newheritage/images/building_icon.svg"); }
.card-icon.house { background-image: url("/wp-content/themes/newheritage/images/house_icon.svg"); }
.card .pane { height:352px; width:100%; margin-bottom:35px;}
.card-content {  padding:0 50px; text-align: center;}
.card-content p {  text-align: center; width:100%;}
@media (max-width:1250px){
    .card-content {  padding:35px;}
    .card .pane { height:252px;}
}

@media (max-width:990px){
    .card-content {  padding:20px;}
    .card .pane { height:200px;}
}

.card-title h3 { padding:80px 20px 20px; text-align: center; width:100%; font-size: 38px;}

.card-big-image img { margin: 0 auto; display: block;}



.flexPanel .cell_12.flex { display:flex; }
.space-between { justify-content:space-between; align-items: center;}
.border-bottom {border-bottom:1px solid #dedede; margin-bottom: 20px; padding-bottom:20px;}

.article_img { position:relative; height:265px; margin-bottom: 20px;}
.blog-insights .article_img { max-height:200px;}
.flex-related .article_img { max-height:200px;}
.article_img .pane { height:265px;} 
.blog-insights .article_img .pane { max-height:200px;} 
.flex-related .article_img .pane { max-height:200px;} 

.team_img { position:relative; height:400px; margin-bottom: 20px;}
.team_img .pane { height:400px;} 
@media (max-width:1250px){  
    .team_img, .team_img .pane { height:300px;} 
}
@media (max-width:1100px){  
    .team_img, .team_img .pane { height:250px;} 
}
@media (max-width:990px){  
    .team_img, .team_img .pane { height:225px;} 
}
@media (max-width:768px){  
    .team_img, .team_img .pane { height:300px;} 
}


.team_member h3 { margin-bottom: 10px;}

.insights.page-panel { width: calc(100% - 48px); max-width: 1150px;}
.insights.page-panel.blog-insights { max-width: 1280px;}
.insights .flexPanel { width:calc(100% - 48px); margin: 20px 24px 0;}
.insights.blog-insights .flexPanel { width: calc(100% - 78px); margin: 20px 39px;}

@media (max-width:640px){
	.insights.page-panel {	width: calc(100%);max-width: 1150px; margin: 0;}
	.insights.blog-insights .flexPanel { width: calc(100% - 14px); margin: 20px 7px;}
}

.insights .titleArea { display:flex; border-bottom:2px solid #C99261;margin-bottom: 10px; padding-bottom: 20px;}
@media (max-width:990px){
    .insights .titleArea { border-bottom:1px solid #C99261;}
}
@media (max-width:640px){
    .insights .titleArea { flex-wrap:wrap;}
}

.insights .titleArea > div, .insights .titleArea > h2 { width:50%;}
.insights .titleArea  h2 { font-size:95px; letter-spacing: -3.77px; line-height: 1.2em;}
@media (max-width:990px){
    .insights .titleArea  h2  { text-align: center; font-size: 69px; padding: 0 20px 0 0;}
    .insights .titleArea p { margin-bottom:20px; }
}

@media (max-width:640px){
    .insights .titleArea > div, .insights .titleArea > h2 { width:100%;}
    .insights .titleArea > h2 { margin-bottom:30px;}
}

.insights h3 { font-size:25px; margin: 20px 0 14px; line-height: 1.2em;}
.insights .link-panel span { font-size:20px; color:#565656; display: block; line-height: 1.12;}
.insights .pane { background:#565656;}
.insights .pane img { opacity: .9;}
.insights .cell { padding-bottom:0px; position: relative; margin-bottom:50px;} 
.insights .cell a.read-more { position: absolute; bottom:0; left:0;} 

a.link-panel { display:block; transition:.25s all ease-in-out; position: relative;}
a.link-panel:hover { display:block; transition:.25s all ease-in-out; transform:scale(104%);}

.stat .stat-title { padding: 40px;}
.stat .stat-title p { font-size: 49px;color: #FFFFFF;letter-spacing: 0;  line-height: .9em; margin: 30px 0 0;}
@media (max-width:1250px){    
    .stat .stat-title p { font-size: 36px; line-height: 1;}
}

.stat .stat-title img { float: right; width: 50%;}
.right-icon { position: absolute; right: -108px; bottom: 37px;}

@media (max-width:990px){    
    .right-icon { right: -51px; bottom: 37px; width:100px; height: auto;}
}

footer { border-radius:0 !important; padding:60px 0 30px; text-align:center; line-height: 1.5em; margin-top: 40px;}
.footer-logo, .footer-contact-info, #memberships { padding-bottom: 40px;}
.footer-logo img {max-width: 523px !important; height: auto !important; width: 80% !important;}
footer .social a { height:40px; width:40px; margin: 10px; text-indent: -9999px; overflow: hidden; background-position: center center; background-size: contain; background-repeat: no-repeat; display: block;}
footer .social.facebook a { background-image:url("/wp-content/themes/newheritage/images/facebook.svg");}
footer .social.instagram a { background-image:url("/wp-content/themes/newheritage/images/instagram.svg");}
.menu-footer-container #menu-footer { display:flex; align-items: center; justify-content: center;}
.menu-footer-container #menu-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

.menu-footer-container #menu-footer li {
	padding: 20px 0;
}

@media (max-width:990px){  
    .menu-footer-container #menu-footer li:not(.social){ width:100%;}
}

footer { width:100%; max-width:100%; margin: 50px auto 0; height:auto; background:url('/wp-content/uploads/2022/06/barrels.jpg') #3F3B51 no-repeat; position: relative; background-size: cover; }
@media (max-width:990px) {
    footer {max-width: 1820px;margin: 24px auto; position: relative;}
}

footer * { color:#fff;}

.footer-menu ul { display:flex; justify-content: center;}
.footer-menu ul li { display:inline-block; margin: 0 10px;}

@media (max-width:767px) {
    .footer-menu ul { flex-wrap:wrap; }
}

#split-widget { display:flex; margin: 0 auto; max-width:700px; justify-content: space-around; color:#fff; margin-bottom:30px; margin-top:20px;}
#split-widget * { font-size:20px;}
@media (max-width:767px) {
    #split-widget { flex-wrap:wrap;}
}

.footer-contact { margin-bottom:30px;}
.footer-contact * { font-size:20px;}
.footer-contact a { text-decoration:underline;}

.footer-contact span { display:inline-block; margin: 0 20px;}
@media (max-width:767px) {
    .footer-contact span { display:block; margin: 10px 0;}
}


footer #menu-social { display: flex; justify-content: center; margin: 0; padding: 0;}
footer .forminator-ui.forminator-design--default .forminator-button-submit { background:#C99261 !important; font-size:18px; }
#forminator-module-123 {
	border-color: rgba(0,0,0,0);
	background-color: rgba(0,0,0,0);
	display: flex;
	justify-content: space-evenly;
}

.forminator-ui#forminator-module-123.forminator-design--default .forminator-input {line-height: 41px;}



   /* ----------------                                 ---------------- */
  /* --------                   Blog Values                   -------- */
 /* ----------------                                 ---------------- */



.navigation.pagination { width:100%; margin: 10px 0 20px; border-top:1px solid #C99261; padding-top:20px;}
.navigation.pagination .page-numbers {
	font-size: 18px;
	font-weight: 600;
	margin: 0 10px;
	border: #C99261 1px solid;
	display: inline-block;
	padding: 10px 15px;
}
.navigation.pagination .page-numbers.current { background: #C99261; color: #fff;}
.meta-border {	border-bottom: #C99261 1px solid; padding-bottom: 20px;}


.portfolio-container { margin-top:20px; margin-bottom: 150px; transition:.75s all ease-in-out;}
.cat-resource { font-size: 21px;color: #3F3B51;letter-spacing: 0;line-height: 24px; margin:10px 0; text-transform: uppercase;}
.resource-title { font-family: 'MP Semibold'; font-size: 30px; color: #3F3B51; letter-spacing: 0; line-height: 32px; margin: 20px 0 10px; text-transform: uppercase;}
.portfolio-container .cell { padding:20px 0 50px; position: relative;}
.portfolio-container .cell .button { position:absolute; bottom: 10px;left:0; }


.portfolio-container.fadey { transition:.75s all ease-in-out; opacity: 0; filter:blur(5px);}

.tags { border-top:#ECECEC 1px solid; border-bottom:#ECECEC 1px solid; text-transform: uppercase; padding:5px 0;margin-bottom: 12px; }
.tags a { display:inline-block; padding: 10px 10px 8px 0; position: relative; font-size: 14px; margin-right:10px; letter-spacing: 1px;}
.tags a::after { height:76%; width:1px; content: ''; right:0; top:12%; position: absolute; background:  #ECECEC;}
.tags a:last-child::after { display:none;}

.resource_search input[type="search"] { padding: 2px 9px; font-size: 11px; width:100%;height: 21px; border: none; color:#53534A;}

.project-overlay { display:flex; justify-content: space-between; align-items: center;}
@media (max-width:990px){
    .project-overlay { flex-wrap:wrap;}   
}
.resource_search input[type="submit"] {
	text-indent: -9999px;
	overflow: hidden;
	background-color: #fff;
	height: 21px;
	width: 30px;
	padding: 0;
	background-image: url('/wp-content/themes/newheritage/images/spyglass.svg');
    background-position: center center; 
    background-size:12px 12px; 
    background-repeat: no-repeat;
}
.resource_search input[type="submit"]:hover { transform:none; background-color:#63C863; box-shadow: none;}
.resource_search  form.search-form label { width: 100%; }

.single-post .entry-content { margin-top:40px;}
@media (max-width:767px){
	.single-post .entry-content { margin-top:23px;}
}
.project-buttons {padding-right:20px;}
.single-thumbnail {	padding: 0 0 62px 0; display: block; position: relative; margin: 45px !important;  height:500px; width:100%;}
.single-thumbnail-inner {	padding: 0; display: block; position: relative; height:500px; width:100%; overflow: hidden;}
@media (max-width:990px){
    .single-thumbnail-inner {  height:400px; }
}
@media (max-width:767px){
    .single-thumbnail { height:300px; }
    .single-thumbnail-inner {  height:300px; }
}
.single-thumbnail img { display:block;  margin-bottom: 0; width: 100%; height:100%; position: absolute; object-fit: cover;}


.single-thumbnail::before { content:''; background:url("/wp-content/themes/newheritage/images/leaf-right.svg") no-repeat; z-index: 3; bottom:0; right:-108px; width:180px; height: 180px; position: absolute; background-size: contain;}
@media (max-width:990px){
    .single-thumbnail::before { bottom: 0;}
}


blockquote {font-size: 42px;color: #3F3B51;letter-spacing: 0;text-align: center; padding:40px; border-top:1px solid  #d7d7d7; border-bottom: 1px solid #d7d7d7; margin: 40px 0;}
blockquote p {font-size: 42px;color: #3F3B51;letter-spacing: 0;text-align: center; line-height: 1.2em;}
blockquote p:last-of-type { margin-bottom:0;}
@media (max-width:990px){
    blockquote {font-size: 31px; padding:20px;}
    blockquote p {font-size: 31px;}
}


.cell_12.tags.singletags {
	margin-top: -30px;
	display: flex;
	justify-content: space-between;
	flex-wrap: nowrap;
	margin-bottom: 80px;
}
.singletags .meta {
	display: inline-block;
	padding: 10px 0 8px 10px;
	position: relative;
	font-size: 14px;
	margin-left: 10px;
	letter-spacing: 1px;
}

.singletags .meta.author { display:none;}
.cell_12.related-title { padding:30px 0 0;}
.cell_12.related-title h3 { margin-bottom: 0;}

.flex-related {
	padding: 0 39px 39px;
}



.forminator-ui.forminator-design--default .forminator-input, .forminator-ui.forminator-design--default .forminator-input:hover, .forminator-ui.forminator-design--default .forminator-input:focus, .forminator-ui.forminator-design--default .forminator-input:active, 
.forminator-ui.forminator-design--default select.forminator-select2 + .forminator-select .selection .select2-selection--single[role="combobox"] .select2-selection__rendered, .forminator-ui.forminator-design--default .forminator-select2 + .forminator-select .selection .select2-selection--single[role="combobox"], .forminator-ui#forminator-module-254.forminator-design--default .forminator-textarea, .forminator-ui#forminator-module-254.forminator-design--default .forminator-textarea:hover, .forminator-ui#forminator-module-254.forminator-design--default .forminator-textarea:focus, .forminator-ui#forminator-module-254.forminator-design--default .forminator-textarea:active, .forminator-ui.forminator-design--default .forminator-checkbox .forminator-checkbox-box, .forminator-ui.forminator-design--default .forminator-textarea
{
	border-color: #ccc !important;
	background-color: #fff !important;
}

.forminator-ui.forminator-design--default .forminator-label {
	color: #444 !important;
}

.forminator-ui.forminator-design--default .forminator-description, .forminator-ui.forminator-design--default .forminator-description p {
	color: #444 !important;
	margin-top: 18px !important;
}


::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #494357 !important;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #494357 !important;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #494357 !important;
}




.phone { display:flex; flex-wrap: wrap; margin-top:20px; padding-top: 20px; border-top:1px solid rgb(76,116,140);}
.phone-item { width:100%; margin-bottom: 10px; }
.phone-item:last-child { margin-bottom: 0px; }

.social-contacts { display:flex; margin-top:20px; padding-top: 20px; border-top:1px solid rgb(76,116,140);}

.social-item {	height: 35px;	width: 35px;	overflow: hidden;	text-indent: -9999px;	display: block;	position: relative; margin-right:5px;transition:.25s all ease-in-out;}
.social-item.email { width:40px;}
.social-item a {	height: 25px;	width: 25px;	overflow: hidden;	text-indent: -9999px;	display: block;	position: relative;}
.social-item:hover { transform:scale(114%); transition:.25s all ease-in-out;}

.social-item.facebook a { background:url('data:image/svg+xml;utf8,<svg role="img" viewBox="0 0 24 24" fill="rgb(76,116,140)" xmlns="http://www.w3.org/2000/svg"><title>Facebook</title><path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/></svg>'); color:#fff;}
.social-item.linkedin a { background:url('data:image/svg+xml;utf8,<svg role="img" viewBox="0 0 24 24" fill="rgb(76,116,140)" xmlns="http://www.w3.org/2000/svg"><title>LinkedIn</title><path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/></svg>'); color:#fff;}
.social-item.twitter a { background:url('data:image/svg+xml;utf8,<svg role="img" viewBox="0 0 24 24" fill="rgb(76,116,140)" xmlns="http://www.w3.org/2000/svg"><title>Twitter</title><path d="M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"/></svg>'); color:#fff;}
.social-item.youtube a { background:url('data:image/svg+xml;utf8,<svg role="img" viewBox="0 0 24 24" fill="rgb(76,116,140)" xmlns="http://www.w3.org/2000/svg"><title>YouTube</title><path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/></svg>'); color:#fff;}
.social-item.instagram a { background:url('data:image/svg+xml;utf8,<svg role="img" viewBox="0 0 24 24" fill="rgb(76,116,140)" xmlns="http://www.w3.org/2000/svg"><title>Instagram</title><path d="M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678c-3.405 0-6.162 2.76-6.162 6.162 0 3.405 2.76 6.162 6.162 6.162 3.405 0 6.162-2.76 6.162-6.162 0-3.405-2.76-6.162-6.162-6.162zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405c0 .795-.646 1.44-1.44 1.44-.795 0-1.44-.646-1.44-1.44 0-.794.646-1.439 1.44-1.439.793-.001 1.44.645 1.44 1.439z"/></svg>'); color:#fff;}
.social-item.pinterest a { background:url('data:image/svg+xml;utf8,<svg version="1.0" id="Layer_1" image-rendering="optimizeQuality" fill="rgb(76,116,140)" text-rendering="geometricPrecision" shape-rendering="geometricPrecision" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 3333 3333" style="enable-background:new 0 0 3333 3333;" xml:space="preserve"><style type="text/css">.st0{fill-rule:evenodd;clip-rule:evenodd;}</style><path class="st0" d="M1665,2C746.7,2,2.3,746.4,2.3,1664.7c0,704.8,438.5,1306,1057,1548.1c-14.2-131.2-27.9-333.6,6-476.9    c30-129.7,195.1-826.2,195.1-826.2s-49.4-99.9-49.4-246.7c0-231,134.1-404,300.6-404c141.8,0,210.6,106.5,210.6,233.9	c0,142.5-90.7,356-137.9,553.2c-39.8,165.7,82.5,300.6,245.9,300.6c295.3,0,522.6-311.9,522.6-761.7	c0-397.9-286.4-676.3-694.3-676.3c-473.1,0-750.4,354.6-750.4,721.8c0,143.3,54.7,296,123.8,379.3c13.4,16.6,15.8,30.7,11.2,47.9	c-12.7,52.5-40.6,165.8-46.5,188.8c-7.4,30.7-24,36.7-55.4,22.6c-207.7-96.7-337.3-400.4-337.3-643.9	c0-524.9,380.7-1006.1,1098.3-1006.1c576.5,0,1024.8,410.7,1024.8,960.3c0,572.8-361.3,1034.6-862.9,1034.6	c-168.7,0-326.8-87.8-381-191.2c0,0-83.2,317.1-103.4,395.1c-37.4,144.6-138.7,325.3-206.8,435.6c156,48,320.7,74.1,492.5,74.1	c918.3,0,1662.7-744.4,1662.7-1662.7C3328,746,2583.7,1.7,1665.4,1.7L1665,2L1665,2z"/></svg>'); color:#fff;}
.social-item.houzz a { background:url('data:image/svg+xml;utf8,<svg version="1.0" id="Layer_1" xmlns="http://www.w3.org/2000/svg" fill="rgb(76,116,140)" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"	 viewBox="0 0 1056 1056" style="enable-background:new 0 0 1056 1056;" xml:space="preserve"><path d="M528,0C236.4,0,0,236.4,0,528s236.4,528,528,528s528-236.4,528-528S819.6,0,528,0z M758,786H584.9V624.8H470V786h-58.3	H296.9v-344V271.6h114.8v122.8L758,494.2V786z"/></svg>'); color:#fff;}
.social-item.tiktok a { background:url('data:image/svg+xml;utf8,<svg version="1.0" id="Layer_1" image-rendering="optimizeQuality" fill="rgb(76,116,140)" text-rendering="geometricPrecision" shape-rendering="geometricPrecision" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 3333 3333" style="enable-background:new 0 0 3333 3333;" xml:space="preserve"><style type="text/css">.st0{fill-rule:evenodd;clip-rule:evenodd;}</style><path class="st0" d="M1667,0C746,0,0,747,0,1667c0,921,747,1667,1667,1667c921,0,1667-747,1667-1667C3334,746,2587,0,1667,0z M2442.6,1432.7c-147.7,0-280.3-40.4-394-120c-17.3-12.1-34.2-25.1-50.5-39v717.1c0,116.7-28.6,221.6-85.1,311.6 c-48.7,77.7-117.9,144.4-200.1,192.8c-90.5,53.4-192.8,81.5-296.3,81.5c-2,0-4,0-6.1,0c-13.6-0.1-86.2-2.4-176.6-32.6 c-52.8-17.7-102.2-41.7-146.9-71.4c-56.5-37.6-105.2-84.2-144.9-138.6c-41.5-56.8-72-120.7-90.8-189.7 c-12.9-47.6-20.1-96.8-21.2-146.3c-2.9-126.6,31.1-245.5,98.4-343.7c39.8-58.1,90.4-107.5,150.5-146.9 c47.1-30.9,100-55.5,157.2-73.2c93.9-29,173.9-31,196.2-31l-1,300c-2,0-49.8,0-106.7,17.6c-65.8,20.3-115.8,55-148.7,102.9 c-31.5,46-47.4,103.9-46,167.3c1,43.1,11.2,106.8,54.5,166.1c33.6,46,80.5,79.8,139.6,100.6c48.1,16.9,87,18.7,90.3,18.9 c51.3,0.5,100.5-13,146.1-39.9c40.4-23.8,75.3-57.2,98.4-93.9c39.3-62.6,39.3-130,39.3-152.2V688.2h0v-21.1h298.5l0,0l-0.1-0.6 c0.2,1.3,20,129.1,91.7,251.2c38.2,65.1,83.8,116,135.5,151.4c62.5,42.8,134.1,63.6,218.9,63.6V1432.7z"/></svg>'); color:#fff;}
.social-item.email a {height: 30px;	width: 30px; margin-top: -2px; background:url('data:image/svg+xml;utf8,<svg version="1.0"	 fill="rgb(76,116,140)" id="Layer_1" image-rendering="optimizeQuality" text-rendering="geometricPrecision" shape-rendering="geometricPrecision"	 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 3333 3333"	 style="enable-background:new 0 0 3333 3333;" xml:space="preserve"><path d="M2976.3,2736.1h-2658c-74.6,0-135-60.4-135-135V846.7c0-74.6,60.4-135,135-135h2658c74.6,0,135,60.4,135,135v1754.4	C3111.3,2675.7,3050.9,2736.1,2976.3,2736.1z M453.3,2466.1h2388V981.7h-2388V2466.1z"/><path d="M1647.3,1858.9c-25.9,0-51.8-7.4-74.4-22.3l-1329-877.2c-49.7-32.8-72.1-94.4-54.9-151.5c17.1-57.1,69.7-96.2,129.3-96.2	h2658c59.6,0,112.2,39.1,129.3,96.2c17.1,57.1-5.2,118.7-54.9,151.5l-1329,877.2C1699.1,1851.5,1673.2,1858.9,1647.3,1858.9z	 M767.9,981.7l879.4,580.5l879.4-580.5H767.9z"/></svg>'); color:#fff;}


.team_member .cell:hover .team_img .normy { opacity:0;}
.normy { z-index:3;}
.funny { z-index:2;}



.dl { border-top:1px solid #ececec; padding: 37px 0; display:flex; }
.dl:last-child { border-bottom:1px solid #ececec; margin-bottom: 100px;}
.dl-image { width:67%; margin-right:50px; height:300px; position: relative;  overflow: hidden; background: #241F29;}
.dl-image img { position: absolute; width: 100%; height: 100%; object-fit: cover; opacity: .95;}
.dl-meta-inner { border-top:1px solid #ececec; border-bottom:1px solid #ececec; padding:20px 0; margin: 20px 0; font-family: 'MP Semibold';	font-size: 14px;letter-spacing: 1px;text-transform: uppercase;}
@media (max-width:640px){
    .dl { flex-wrap: wrap;}
    .dl-image { width:100%; margin: 0; height: 200px;}
    .dl-meta { width:100%; margin-top:40px;}
}

.gm-style-iw { padding:0 !important;}
.marker-panel { padding:30px;}
.marker-panel h2 { background:url("/wp-content/themes/newheritage/images/plans_green.jpg"); padding:30px 30px 30px 60px; width:calc(100% + 60px); margin:-30px 0 0 -30px; font-size: 30px; font-weight:500; color:#fff; position: relative;}
.marker-panel h2::before { width:40px; height: 100%; content: ''; position: absolute; left:10px; top:0px; background-size: contain; background-repeat: no-repeat; background-position:center center; background-image: url("/wp-content/themes/newheritage/images/leaf_icon.svg"); }
.marker-panel-inner { padding: 30px 0 0 30px;}
.marker-panel-inner div { padding: 5px 0;}
@media (max-width:640px){
    .marker-panel-inner { padding: 30px 0 0 0;}
}

.gm-ui-hover-effect {top: 0px !important;right: 0px !important;} 
.gm-ui-hover-effect::before { top:17px; left: 0; width:20px; height:2px; content: ''; transform: rotate(-45deg); background: #fff !important;transition: .25s all ease-in-out !important; position: absolute;}
.gm-ui-hover-effect::after { top:17px; left: 0; width:20px; height:2px; content: ''; transform: rotate(45deg); background:#fff !important;transition: .25s all ease-in-out !important; position: absolute;}
.gm-ui-hover-effect:hover::before, .gm-ui-hover-effect:hover::after { background: #dfd; transition: .25s all ease-in-out !important;}
.gm-ui-hover-effect img { display: none !important;}

.forminator-select.forminator-select-dropdown-container--open .forminator-select-dropdown.forminator-dropdown--default {	background: #fff;}

.gallery-limit { margin-bottom: 60px; width:calc(100% - 70px);}
.gallery-limit .gallery { display:flex; align-items: center; justify-content: flex-start; }
.gallery-limit .gallery .gallery-item, .gallery-limit .gallery br { display:none; width:auto !important; }
.gallery-limit .gallery .gallery-item:nth-child(1),
.gallery-limit .gallery .gallery-item:nth-child(2),
.gallery-limit .gallery .gallery-item:nth-child(3),
.gallery-limit .gallery .gallery-item:nth-child(4),
.gallery-limit .gallery .gallery-item:nth-child(5) { display:block;}
.gallery-limit .gallery .gallery-item img { border:none !important;}
@media (max-width:767px){
    .gallery-limit { width:calc(100%);}
    .gallery-limit .gallery { flex-wrap: wrap;}
    .gallery-limit .gallery .gallery-item { width:auto !important; max-width:33%;}
}



.gallery, #sb_instagram #sbi_images { display:flex; flex-wrap:wrap; width:calc(100% + 48px); margin-left:-24px; margin-right:-24px; padding:0;}
.gallery-item, #sb_instagram #sbi_images .sbi_item { width:33.333%; padding:24px; position: relative; }
#sb_instagram #sbi_images .sbi_item { padding:12px !important;}
#sb_instagram .sbi_inner_wrap, .sbi_lb-container { padding:12px; position: relative;}

.gallery-icon { position: relative; }
.gallery-icon::before{
	content: '';
	position: absolute;
	z-index: 1;
	height: calc(100% + 18px);
	width: calc(100% + 20px);
	top: -12px;
	left: -12px;
	border: 2px solid #C99261;
}
#sb_instagram .sbi_inner_wrap::before, .sbi_lb-container::before {
	content: '';
	position: absolute;
	z-index: 1;height: calc(100% - 5px);
width: calc(100% - 5px);
	top: 0;
	left: 0;
	border: 2px solid #C99261;
}

#sb_instagram .sbi_hover_bottom, #sb_instagram .sbi_hover_top { z-index:999;}
#sb_instagram .sbi_link a { z-index:999;}
#sb_instagram .sbi_hover_bottom p, #sb_instagram .sbi_hover_top p { color:#fff !important; font-size:18px; line-height: 20px; padding-left:12px; padding-right:12px;}
#sb_instagram .sbi_link, #sb_instagram .sbi_photo_wrap:hover .sbi_link { display:flex; align-items:center;}

@media (max-width:990px){
    .gallery-icon::before { border-width: 1px;}
}
.gallery-item img { margin:0; position: relative; z-index: 2;}

@media (max-width:990px){
.gallery-item img {
	margin: 0;
	position: relative;
	z-index: 2;
	display: block;
	width: 100%;
}
}

@media (max-width:1023px){
    .gallery {  width:calc(100% + 24px); margin-left:-12px; margin-right:-12px;}
    .gallery-item { width:50%; padding:12px;}
}

@media (max-width:640px){
    .gallery { ; width:100%; margin-left:0; margin-right:0;}
    .gallery-item { width:100%; padding:12px 0;}
}

ul.flex { flex-wrap:wrap; width:calc(100% + 40px); margin-left:-20px; margin-right:-20px;}
ul.flex li {
	width: calc(33.333% - 40px);
	padding: 20px;
	font-size: 17px;
	border: 1px solid #ccc;
	margin: 20px;
}
@media (max-width:1023px){
    ul.flex li { width: calc(50% - 40px);}
}
@media (max-width:767px){
    ul.flex, ul.flex li { width:100%; margin-left:0; margin-right:0;}
}

.map-trigger { max-width:638px; width:80%; margin:0px auto 30px; height:auto; display:block; transition:.25s all ease-in-out;}
.map-trigger:hover { transform:scale(104%); transition:.25s all ease-in-out;} 
.mapPanel { display:none; padding: 1px 0; margin: 1px 0;}
.mapPanel .flexPanel { max-width:90%; margin: 50px auto 0;}

@media (max-width:767px){
	main#content.mondo {margin-top: -80px;}
}
@media (max-width:480px){
	main#content.mondo {margin-top: 0px;}
}

.mondo-panel { padding-left:8.333%;}
.mondo-panel h1 { font-size:100px; line-height: 80px; text-align: left; position: relative;}
.mondo-panel h1::before {
	content: '';
	background: url("/wp-content/themes/newheritage/images/flair-1.svg") center center no-repeat;
	width: 128px;
	height: 117px;
	position: absolute;
	left: -64px;
	top: -33px;
}
.mondo-panel h1::after {
	content: '';
	background: url("/wp-content/themes/newheritage/images/flair-2.svg") center center no-repeat;
	width: 144px;
	height: 108px;
	position: absolute;
	bottom: -75px;
	margin-left: -83px;
}
@media (max-width:767px){
.mondo-panel h1::after {
	content: '';
	background: url("/wp-content/themes/newheritage/images/flair-2.svg") center center no-repeat;
	width: 108px;
	height: 49px;
	position: absolute;
	bottom: -38px;
	margin-left: -43px;
}
}


.mondo-panel h1 em, .mondo-panel h1 i { font-size:68px; font-style: normal; display: block; margin-left:75px; font-family: 'Royal Signage'; margin-bottom: 10px;}
.mondo-panel p { margin: 50px 8.333%;}

@media (max-width:1350px){
	.mondo-panel { padding-left:4.167%;}
}
@media (max-width:1200px){
	.mondo-panel { padding-left:0;}
	.mondo-panel h1 { font-size:80px; line-height: 69px;}
	.mondo-panel h1 em, .mondo-panel h1 i { font-size:50px;}
	.mondo-panel p { margin: 50px 30% 100px 2%;}
}

@media (max-width:1023px){
	.mondo-panel { padding-left:0;}
	.mondo-panel h1 { font-size:68px; line-height: 60px;}
	.mondo-panel h1 em, .mondo-panel h1 i { font-size:44px;}
}

@media (max-width:767px){
	.mondo-panel-shell .flexPanel { flex-direction: column-reverse;}
	.mondo-panel { margin:0; padding-left:200px;}
	.mondo-panel p { margin: 50px 30% 0 2%;}

}
@media (max-width:640px){
	.mondo-panel { padding-left:125px;}
}

@media (max-width:480px){
	.mondo-panel { padding-left:10%;}
	.mondo-panel h1 { font-size:55px; line-height: 50px;}
	.mondo-panel h1 em, .mondo-panel h1 i { font-size:32px;}
}

@media (max-width:359px){
	.mondo-panel { padding-left:5%;}
}

.blog-panel .mondo_content { max-width:500px;}


@media (min-width:1024px){
	img.blog_title_image { margin-top: -80px; padding-left: 20%;}
}

.blog-panel.mondo-panel h1::before { left: -73px; top: -91px;}
@media (max-width:767px){ 
	.blog-panel.mondo-panel h1::before { left: -93px; top: -51px; height: 90px;}
}

main#content.blogroller {
	margin-top: -34px;
}

a.tall-tales { display:block; transition: .5s all ease-in-out; }
a.tall-tales h2 { transition: .5s all ease-in-out; }
a.tall-tales:hover { transition: .5s all ease-in-out; transform:scale(104%); color:#770D26;}
a.tall-tales:hover h2 { transition: .5s all ease-in-out; color:#770D26;}


@media (min-width:768px) {
	.desktop-reverse, .desktopReverse, .desktopreverse, .desktop_reverse{ flex-direction: row-reverse;}
}
@media (max-width:767px) {
	.mobile-reverse, .mobileReverse, .mobilereverse, .mobile_reverse{ flex-direction: column-reverse;}
}


   /* ----------------                                  ---------------- */
  /* --------                 Events Overrides                 -------- */
 /* ----------------                                  ---------------- */


.tribe-events-content h2, .tribe-events-content h3, .tribe-events-content h4 { font-family: 'Royal Signage', serif;}
.tribe-events-content h5, .tribe-events-content h6 {font-family: 'Nanum Myeongjo'; color:#53534A;}
.meta_top h5 { font-family: 'Nanum Myeongjo'; color: #53534A; letter-spacing: 14px; font-size: 19px;}
.event_color_panel.cell_4 {	font-size: 21px; text-align: center;}
.event_color_panel.cell_4 .meta_top { font-weight: 700; margin-bottom: 10px; text-align: center;margin-top: 60px;}
.event_color_panel.cell_4 .meta_top .month {font-size: 42px;}
.event_color_panel.cell_4 .meta_top .day {font-size: 42px;}
.event_color_panel.cell_4 .meta_top h5.year {margin-top:10px; margin-bottom: 20px;}
.event_color_panel.cell_4 .meta_middle { font-size: 31px;}
.event_color_panel.cell_4 .meta_bottom { width: 80%; margin: 50px 10% 0; line-height: 1.5em;}
.tribe-events-single-event-description.tribe-events-content.cell_8 { position:relative;}
.tribe-events-content h5 { font-size: 15px; letter-spacing: 5px !important; line-height: 1em; text-transform: uppercase !important; margin: 0px 0 50px;}
.tribe-events-cal-links { margin-top: 100px; padding-top: 10px;}
#tribe-events-pg-template {max-width: 1280px; padding-top: 0; margin-top: -40px;}
.tribe-events-single > .tribe_events > :not(.primary, .secondary, .tribe-events-related-events-title, .tribe-related-events) { width: unset;}
.tribe-events-content h2 { text-align: left;}
.event_color_panel.cell_4 .meta_bottom h5 { padding-top:40px; margin-top:10px; border-top: #C99261 1px solid; line-height: 1.5; color:#53534A;}
.tribe-link-view-attendee { display: none;}
.tribe-events-c-subscribe-dropdown__container { width: 100% !important;}
.single-tribe_events .tribe-events-c-subscribe-dropdown__button { width: auto !important; border-radius: 0 !important; border: none !important;}
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover, 
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus , 
.tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:visited { background-color: #363636 !important; }
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list-item a, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list-item a { font-size: 15px !important;	line-height: 1em !important;}
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list-item, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list-item {	padding: 0 !important;}
.single-tribe_events .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__content, .tribe-block__events-link .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__content { top: -5px !important; width: 50% !important; left: 267px !important; border-radius: 0 !important;}
.event-tickets { width:100%;}
.tribe-events-related-events-title,
.tribe-related-events,
.tribe-tickets__rsvp-attendance{ display:none !important;}
.event-tickets .tribe-tickets__rsvp-wrapper, .event-tickets .tribe-tickets__tickets-wrapper { border: none !important; border-top: 1px solid var(--tec-color-border-secondary) !important; border-radius: 0 !important; max-width: 100% !important;}
.event-tickets .tribe-common-g-row--gutters > .tribe-common-g-col { padding-left:  3px !important;}
.tribe-tickets__rsvp-details *, 
.tribe-tickets__tickets-wrapper *,
.tribe-common-h2.tribe-common-h6--min-medium, 
.tribe-common-h5, .event-tickets .tribe-tickets__form input[type="color"], .event-tickets .tribe-tickets__form input[type="date"], .event-tickets .tribe-tickets__form input[type="datetime-local"], .event-tickets .tribe-tickets__form input[type="datetime"], .event-tickets .tribe-tickets__form input[type="email"], .event-tickets .tribe-tickets__form input[type="month"], .event-tickets .tribe-tickets__form input[type="number"], .event-tickets .tribe-tickets__form input[type="password"], .event-tickets .tribe-tickets__form input[type="range"], .event-tickets .tribe-tickets__form input[type="search"], .event-tickets .tribe-tickets__form input[type="tel"], .event-tickets .tribe-tickets__form input[type="text"], .event-tickets .tribe-tickets__form input[type="time"], .event-tickets .tribe-tickets__form input[type="url"], .event-tickets .tribe-tickets__form input[type="week"], .event-tickets .tribe-tickets__form select, .event-tickets .tribe-tickets__form textarea { font-family:'baskerville-urw', serif !important;}
.event-tickets .tribe-common-h4--min-medium { font-size: 30px !important;}
.event-tickets .tribe-common-b3--min-medium { font-size: 15px !important;}
.tribe-common-c-btn.tribe-tickets__tickets-actions-button-going.tribe-common-b1.tribe-common-b2--min-medium, 
.tribe-common-c-btn.tribe-tickets__rsvp-actions-button-going.tribe-common-b1.tribe-common-b2--min-medium, 
.tribe-common-c-btn.tribe-tickets__tickets-form-button, 
.tribe-common-c-btn.tribe-tickets__rsvp-form-button { border-radius:0px !important;}
.tribe-tickets__rsvp-form-wrapper { padding:50px 0 !important;}
.event-tickets .tribe-tickets__rsvp-form-button--cancel {	font-family: inherit !important;}
.event-tickets .tribe-tickets__rsvp-form-buttons > * { margin-left: 0 !important;}
.event-tickets .tribe-tickets__rsvp-form-buttons { flex-direction: column-reverse !important;}
.single-tribe_events #tribe-events-footer { border-top: 1px solid var(--tec-color-border-secondary); opacity: 0; visibility: hidden; height: 0; overflow: hidden; margin-bottom: 50px;}
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list-item, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__list-item { padding: 0 !important; line-height: 21px !important;}
.fc-liquid-hack td *, .fc-liquid-hack th * { font-size: 15px; font-weight: 400 !important;flex-wrap: wrap;}
.fc-daygrid-event { white-space: unset !important;}
.fc-daygrid-dot-event { align-items: first baseline !important;}
.fc-direction-ltr .fc-daygrid-event .fc-event-time { margin-right: 9px !important;}
.fc .fc-daygrid-event-harness { margin: 3%;}
.fc-daygrid-dot-event .fc-event-title { flex-grow: 1; flex-shrink: 1; min-width: 0; overflow: hidden; font-weight: bold; width: 100%; margin: 3% 0 3% 15px;}
.tui-location-div { display:none !important;}
.tui-full-calendar-schedule-title h2 { font-size: 36px; text-align: left;}
span.tui-full-calendar-popup-detail-date.tui-full-calendar-content { font-size: 18px !important; line-height: 38px !important; font-weight: 400 !important;}
.tui-full-calendar-popup-detail-item .tui-full-calendar-content {width: 100%; height: 200px; display: block; margin: 0; padding: 0; overflow: hidden;}
.tui-full-calendar-popup.tui-full-calendar-popup-detail img { height: 100% !important; width: 100% !important; object-fit: cover;}
.tui-full-calendar-popup-detail-item.tui-full-calendar-popup-detail-item-separate p { font-size: 18px;}
[id^="ect-calendar-popup-"] {  top: 0;}
.tui-full-calendar-popup-detail-item.tui-full-calendar-popup-detail-item-separate {	padding-bottom: 0px !important;}
.ect-calendar-header {border-left:4px solid #ffffff !important;}

.tribe-events-content h1 {
	color: #3F3B51;
	letter-spacing: 0;
	text-align: right;
	width: 100%;
	margin-bottom: 50px; }

.single-thumbnail-tribe img {
	padding: 10px;
	border: 2px solid #cc9832;
}

.tribe-events-c-subscribe-dropdown__list { max-height:125px;}
.single-tribe_events .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__content, .tribe-block__events-link .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__content { max-height:135px;}
.tribe-events-event-meta ~ div:not(.tribe-events-event-meta, .event-tickets) {
  min-height: 200px;
}
.tribe-common--breakpoint-medium.tribe-common .tribe-common-b2 { margin-top: 20px;}


.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-featured-image-wrapper {
	margin-bottom: 0;
	width: calc(var(--tec-grid-width-1-of-8)*2.5);
}





   /* ----------------                                    ---------------- */
  /* --------                 Age Gate Overrides                 -------- */
 /* ----------------                                    ---------------- */



.age-gate-wrapper { background:url(/wp-content/uploads/2022/08/wooden-door.jpg) no-repeat; background-size:cover;}
h1.age-gate-heading { font-size: 32px; margin: 0 0 15px;; width: 100%; text-align: center; color:#fff;}
.age-gate p {color:#fff;}
.age-gate { width: 80vw; height: 46.8vw; background-color: transparent; max-width: unset; position: relative;min-height: 551px;display: flex;align-items: center;}
.age-gate::before { content: ''; z-index: -1; position: absolute; top: 5vw; left: 5vw; width: calc(100% - 10vw); height: calc(100% - 11vw); backdrop-filter: blur(5px); background-color: rgba(7,2,0,.68);}
.age-gate::after  { background-image: url(/wp-content/uploads/2022/08/wooden-frame-1.png); background-size: 100% 100%; content: ''; position: absolute; top:0; left:0; background-repeat: no-repeat; width: 100%; height: 100%; z-index: 0;}
.age-gate-label { margin-right:10px; font-size:12px; text-transform:uppercase; letter-spacing: 2px; color:#fff;}
.age-gate-form { width: 49.66vw; max-width: 100vw; height:42vh;  background:none; z-index: 2; margin:0 auto 0;}
.age-gate-form input[type="text"] { font-size: 14px; padding: 6px 22px 5px;}

@media (max-height: 560px) {
	.age-gate-form {  height: 47.1vh;}
}
@media (max-width:954px){
	.age-gate-label { margin-right:0px;}
	.age-gate-form input[type="text"] { font-size: 14px; padding: 6px 8px 5px;}
}
@media (max-width:580px){
	.age-gate { min-height:400px;}
	.age-gate::after { background-image: url(/wp-content/uploads/2022/08/wooden-frame-vert2.png) !important;}
}
.age-gate-wrapper::before { width: 58vw; height: 24VW; content: ''; position: absolute;left: 50%; top: 50%;transform: translateX(-50%) translateY(-50%); background: url("/wp-content/themes/newheritage/images/wooden-window.jpg") no-repeat; background-size: cover; background-position: right center; z-index: 0;}
@media (max-width:1150px){
	.age-gate-wrapper::before {	height: 27vw;}
}
@media (max-width:1023px){
	.age-gate-wrapper::before {	height: 50vh;}
}
@media (max-height: 560px) {
	.age-gate-wrapper::before {	height: 29vw;transform: translateX(-50%) translateY(-47%)}
}
.age-gate-form { opacity:0; filter: blur(10px);}
.age-gate-wrapper.active .age-gate-form { opacity:1; transition:1s all 5s ease-in-out; filter: blur(0px); display: flex; flex-wrap: wrap; align-items: center; align-content: center; position: relative; z-index: 999999999999999999999;}
.age-gate-wrapper.active .age-gate-form > * { width:100%; }
.age-gate-wrapper.active .age-gate-form .age-gate-submit { width:auto;}
.age-gate-wrapper.active::before { width: 4vw; left: 22%; transition:2s left 2.5s ease-in-out, 2s width 2.5s ease-in-out;}



/* vertical layout */
@media (max-aspect-ratio: 1/1) {
	.age-gate { background: none; width: 100%; height: 100%; overflow: hidden; padding: 0; margin: 0;}
	.age-gate::after  { background-image: url(/wp-content/uploads/2022/08/wooden-frame-vert2.png); background-size: 100% 100%; content: ''; position: absolute; top:0; left:0; background-repeat: no-repeat; width: 100%; height: 95%; z-index: 3;}
	.age-gate-form { padding: 0 10px;}
	.age-gate::before { content: ''; z-index: -1; position: absolute; top: 10vw; left: 10vw; width: calc(100% - 18vw); height: calc(100% - 27vw); backdrop-filter: blur(5px); background-color: rgba(7,2,0,.68);}
	.age-gate-wrapper::before {	 background-image:url("/wp-content/themes/newheritage/images/wooden-door-mobile.jpg"); height: 82vh; width: 69vw; z-index: 2;}
	.age-gate-wrapper.active::before { width: 4vw; left: 19%;}
	ol.age-gate-form-elements { display: flex; flex-wrap: wrap; width: 100%;}
	ol.age-gate-form-elements li { display: flex; flex-wrap: wrap; width: 170px; justify-content: space-between;}
}
/* ultra wide */
@media (min-aspect-ratio: 10/5) {
	.age-gate { width: 97vw; height: 61.8vw;}
	.age-gate-form {  height: 47.1vh;}
	.age-gate::after  { background-image: url("/wp-content/themes/newheritage/images/wooden-frame-horiz2.png"); }
	.age-gate-wrapper::before {	width: 78vw; height: 32vw;}
	.age-gate-wrapper.active::before {	 left: 12.9%;}
}

.age-gate-form input[type="text"] {
    padding: 6px 16px 5px;
}


