/*
 Theme Name:   Estate on the Halifax Theme
 Theme URI:    https://wordpress.org/themes/twentyninteen/
 Description:  Custom theme built for Estate on the Halifax
 Author: 	   Garrett Johnson
 Template:     twentynineteen
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  eoth-theme
*/

/*




/* ========= COLOR REFERENCES ========= */
:root {
	--yellow: #ffe171;
	--black: #1f1f1f;
	--offWhite: #fafafa;
}

/* ==================================== */


/* ======== TABLE OF CONTENTS =========
	1. TYPOGRAPHY
	2. GLOBAL
	3. MAIN CONTENT
		- Navigation
		- Footer
		- Home Page
		- Videos/oEmbed
		- Privacy Policy
/* ==================================== */


/* ------------------------------ 
    1. Start Typography
------------------------------ */
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
.btn,
button,
input {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
	margin: 0;
}

h1,
.h1 {
	font-family: "Dancing Script", serif;
	font-weight: 400;
	font-style: normal;
	font-size: 50px;
	line-height: 65px;
	color: var(--yellow);
}

h2,
.h2 {
	font-family: "Dancing Script", serif;
	font-weight: 400;
	font-style: normal;
	font-size: 42px;
	line-height: 60px;
	color: var(--black);
}

h3,
.h3 {
	font-family: "Dancing Script", serif;
	font-weight: 400;
	font-style: normal;
	font-size: 30px;
	line-height: 40px;
	color: var(--black);
}

p,
.p {
	font-family: "Montserrat", serif;
	font-weight: 400;
	font-style: normal;
	font-size: 16px;
	line-height: 25px;
	color: var(--black);
	margin-bottom: 20px;
}

.small {
	font-family: "Montserrat", serif;
	font-weight: 400;
	font-style: normal;
	font-size: 12px;
	line-height: 18px;
	color: var(--black);
}

a {
	font-family: "Montserrat", serif;
	font-weight: 400;
	font-style: normal;
	font-size: 16px;
	line-height: 25px;
	color: var(--black);
	text-decoration: none;
	transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
}

a:hover,
a:focus {
	color: var(--yellow);
	text-decoration: none;
}

.btn-yellow {
	font-family: "Dancing Script", serif;
	font-weight: 400;
	font-style: normal;
	font-size: 25px;
	line-height: 25px;
	color: var(--black);
	display: block;
	background: var(--yellow);
	border: 1px solid var(--yellow);
	border-radius: 3px;
	padding: 12px 24px;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transform: all .3s ease-in-out;
}

.btn-yellow:hover,
.btn-yellow:focus,
.btn-yellow:active {
	background: var(--black);
	border: 1px solid var(--black);
	color: #fff !important;
}

.btn-tour {
	font-family: "Dancing Script", serif;
	font-weight: 400;
	font-style: normal;
	font-size: 25px;
	line-height: 25px;
	color: var(--black) !important;
	display: block;
	background: var(--yellow);
	border: 1px solid var(--yellow);
	border-radius: 3px;
	padding: 10px 20px;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transform: all .3s ease-in-out;
}

.btn-tour:hover,
.btn-tour:focus,
.btn-tour:active {
	background: var(--black);
	border: 1px solid var(--black);
	color: #fff !important;
}

.footer .btn-tour {
	font-family: "Dancing Script", serif;
	font-weight: 400;
	font-style: normal;
	font-size: 25px;
	line-height: 25px;
	color: var(--black) !important;
	display: block;
	background: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	padding: 10px 20px;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transform: all .3s ease-in-out;
}

.footer .btn-tour:hover,
.footer .btn-tour:focus,
.footer .btn-tour:active {
	background: var(--yellow);
	border: 1px solid var(--yellow);
	color: var(--black) !important;
}

/* ------------------------------ 
    === 1. End Typography ===
------------------------------ */




/* ------------------------------ 
    2. Start Global
------------------------------ */
@-ms-viewport {
	width: device-width;
}

body {
	font-family: "Montserrat", serif;
	font-weight: 400;
	font-style: normal;
	font-size: 16px;
	line-height: 25px;
	color: var(--black);
	background: #fff;
	overflow-x: hidden;
}

.dancing-script {
	font-family: "Dancing Script", serif;
}

.Montserrat {
	font-family: "Montserrat", serif;
}

.opacity-1 {
	opacity: 1;
}

.yellow {
	color: var(--yellow) !important;
}

.black {
	color: var(--black) !important;
}

.offWhite {
	color: var(--offWhite) !important;
}

.white {
	color: #fff !important;
}

.f-300 {
	font-weight: 300;
	/* Light */
}

.f-400 {
	font-weight: 400;
	/* Regular */
}

.f-500 {
	font-weight: 500;
	/* Medium */
}

.f-700 {
	font-weight: 700;
	/* Bold */
}

.f-800 {
	font-weight: 800;
	/* Extra Bold */
}

.italic {
	font-style: italic;
}

.normal {
	font-style: normal;
}

.letter-space-normal {
	letter-spacing: normal;
}

.uppercase {
	text-transform: uppercase;
}

.lowercase {
	text-transform: none;
}

section {
	position: relative;
}

.no-padding {
	padding: 0;
}

.z-1 {
	z-index: 1;
}

.z-2 {
	z-index: 2;
}

img {
	width: 100%;
}

.bg-yellow {
	background-color: var(--yellow) !important;
}

.bg-black {
	background-color: var(--black) !important;
}

.bg-offWhite {
	background-color: var(--offWhite) !important;
}

.bg-white {
	background-color: #fff;
}

/* ------------------------------ 
    === 2. End Global ===
------------------------------ */




/* ------------------------------ 
    3. Start Main Content
------------------------------ */
/* ------------------------------ 
	Navigation
------------------------------ */
/* Navigation hamburger menu slide out from the right side */
.menu-toggle {
	position: fixed;
	top: 20px;
	right: 20px;
	cursor: pointer;
	z-index: 999;
}

.bar {
	width: 30px;
	height: 3px;
	background-color: var(--yellow);
	margin: 6px 0;
	transition: 0.4s;
}

.menu.active .bar:nth-child(1) {
	background-color: #fff;
	transform: rotate(-45deg) translate(-5px, 6px);
}

.menu.active .bar:nth-child(2) {
	background-color: #fff;
	opacity: 0;
}

.menu.active .bar:nth-child(3) {
	background-color: #fff;
	transform: rotate(45deg) translate(-7px, -7px);
}

.menu {
	position: fixed;
	top: 0;
	right: -300px;
	width: 300px;
	/* height: 100%; */
	background-color: var(--yellow);
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
	box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
	transition: 0.4s;
}

.menu.active {
	right: 0;
}

.menu ul {
	list-style: none;
	padding: 0;
	margin: 60px 20px 40px;
}

.menu li {
	margin-bottom: 10px;
}

.menu a {
	text-decoration: none;
	color: #333;
	font-size: 18px;
	transition: color 0.3s;
	-webkit-transition: color 0.3s;
	-moz-transition: color 0.3s;
}

.menu a.active:before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 5px;
	border-bottom: 5px solid var(--black);
}

#desktop-navigation .main-menu-item .hvr-underline-from-left:before {
    background: var(--yellow);
}

/* Nav - Desktop */
.nav-bar {
	min-height: 80px;
	transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
}

.desktop-navigation {
	color: #fff;
}

/* .desktop-navigation .main-menu-item {
	padding: 20px;
} */

.main-menu-item a,
.desktop-navigation .main-menu-item span {
	/* font-family: "Montserrat", serif; */
	font-family: "Dancing Script", serif;
	font-weight: 400;
	font-style: normal;
	font-size: 22px;
	line-height: 25px;
	text-align: center;
	/* text-transform: uppercase; */
	color: var(--black);
	/* transition: opacity .2s ease-in-out; */
}

.desktop-navigation .main-menu-item a.active:after,
.mobile-navigation .main-menu-item a.active:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	border-bottom: 5px solid var(--yellow);
}

.desktop-navigation .main-menu-item a.btn-tour.active:after,
.mobile-navigation .main-menu-item a.btn-tour.active:after,
.desktop-navigation #itemVenues.main-menu-item a.active:after,
.mobile-navigation #itemVenues.main-menu-item a.active:after {
	border-bottom: none;
}

.desktop-navigation .main-menu-item .sub-menu-item a.active:after,
.mobile-navigation .main-menu-item .sub-menu-item a.active:after {
	border: none;
}

.desktop-navigation .has-sub-menu .sub-menu .sub-menu-item a:hover {
	color: var(--yellow) !important;
}

.desktop-navigation .main-menu-item.has-sub-menu .fa-angle-down {
	position: relative;
	top: 2px;
}

/* .main-menu-item:last-of-type a,
.main-menu-item:last-of-type span {
    padding-right: 0;
} */

/* Sub-Menu */
ul.nav li {
	position: relative;
	margin: 5px 0;
}

ul.nav ul {
	display: none;
	visibility: hidden;
	opacity: 0;
	position: absolute;
	padding: 5px 5px 5px 5px;
	right: calc(50% - 170px);
	top: 0;
	transform: translateY(0em);
	min-width: 220px;
	width: 100%;
	list-style: none;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transform: all .3s ease-in-out;
	transition: all .3s ease-in-out;
	z-index: 99;
	margin: 0;
	background: #fff;
	border-bottom: 3px solid var(--yellow);
}

/* ul.nav ul:before {
	content: "";
	height: 36px;
	position: absolute;
	top: -36px;
	right: 0;
	width: 100%;
} */

ul.nav .sub-menu:after {
	content: "";
	height: 20px;
	position: absolute;
	top: -20px;
	left: 15px;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid var(--yellow);
	width: 20px;
}

ul.nav .has-sub-sub-menu a {
	border: none !important;
}

ul.nav ul ul {
	top: 0;
	left: 100%;
}

ul.nav li:hover>ul {
	display: block;
	visibility: visible;
	opacity: 1;
	transform: translateY(30px);
	/* box-shadow: 0 6px 12px 0 rgb(0 0 0 / 18%); */
}

ul.nav ul li {
	/* min-width: 260px; */
	width: auto;
}

.desktop-navigation .sub-menu-item {
	padding: 8px 10px;
	margin: 5px 0;
}

.desktop-navigation .sub-menu-item .border-bottom {
	padding: 10px 2px;
	border-bottom: none !important;
}

.desktop-navigation .sub-menu-item a {
	display: block;
	transition: all .3s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-o-transform: all .2s ease-in-out;
}

.desktop-navigation .sub-menu-item:last-of-type .border-bottom {
	border: 0 !important;
}

.brand-logo img {
	max-width: 170px;
}

.has-sub-sub-menu.sub-menu-item {
	padding-top: 10px;
}

.has-sub-sub-menu.sub-menu-item a {
	padding-bottom: 0;
}

ul.nav ul ul.sub-sub-menu {
	position: relative;
	min-width: 0;
	display: block;
	visibility: visible;
	margin-top: 0;
	padding-top: 0 !important;
	opacity: 1;
	transform: none;
	border: none;
	top: 0;
	left: 0;
}

ul.nav ul ul.sub-sub-menu a {
	color: #fff;
	font-size: .75em;
	font-weight: 400;
	padding: 0;
}

ul.nav ul ul.sub-sub-menu:before {
	display: none;
}

ul.nav ul ul.sub-sub-menu li:after {
	display: none;
}

/* Sub-Menu With Children */
ul.nav ul li.has-sub:after {
	content: "";
	position: absolute;
	right: 10px;
	top: calc(50% - 7px);
	border-bottom: 5px solid transparent;
	border-left: 5px solid var(--yellow);
	border-top: 5px solid transparent;
}

/* Nav Extras */
header#masthead {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: #fff;
	/* background: rgba(255, 255, 255, 0.9); */
}

#masthead.scrolled {
	background: #fff;
	/* background: rgba(255, 255, 255, 0.5);
	-webkit-backdrop-filter: blur(30px);
	backdrop-filter: blur(30px); */
	transition: all .1s ease-in-out;
	-webkit-transition: all .1s ease-in-out;
	-moz-transition: all .1s ease-in-out;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

/* #masthead.scrolled .desktop-navigation .brand-logo img {
	max-width: 150px;
} */

/* #masthead.scrolled .nav-bar {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
} */

.brand-logo img {
	transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
}

.brand-logo img:hover {
	opacity: 0.7;
}

.desktop-navigation .brand-logo img {
	position: relative;
    bottom: 18px;
}

/* #masthead.scrolled .brand-logo img {
	display: none;
}

#masthead.scrolled .brand-logo-color {
	display: block !important;
} */

.brand-logo-color img {
	max-width: 95px;
}

/* Nav - Mobile */
.navbar {
	padding: 0;
	position: unset;
}

#mobile-navigation {
	position: absolute;
	width: 100%;
	left: 0;
	top: 100%;
	/* overflow-y: scroll; */
	/* height: calc(100vh - 70px); */
	z-index: 2;
}

.mobile-navigation .btn-donate {
	color: rgba(11, 34, 57, 0.8) !important;
	background: transparent;
	border-top: none;
	border-right: none;
	border-bottom: 5px solid var(--yellow);
	border-left: none;
	padding: 0 !important;
}

.mobile-navigation .btn-donate:hover,
.mobile-navigation .btn-donate:focus,
.mobile-navigation .btn-donate:active {
	color: var(--black) !important;
}

.mobile-nav .navbar-toggler {
	line-height: normal;
	width: auto;
	background: none;
}

.mobile-navigation .navbar-toggler {
	font-size: 1.5rem;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transform: all .3s ease-in-out;
}

.mobile-nav-btn {
	margin: 5px 15px;
	font-weight: 100;
	background: transparent !important;
}

.mobile-nav ul {
	list-style-type: none;
	padding: 30px 20px 10px 20px;
}

.mobile-nav li {
	border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
	border-bottom: 0;
	border-right: 0 !important;
	padding: 10px 15px;
}

.mobile-nav li:nth-child(1) {
	border-top: 0 !important;
}

.mobile-nav li:nth-last-child(2) {
	border: none !important;
}

li.sub-menu-item:first-of-type a {
	padding-top: 0;
}

.mobile-nav .menu-item-has-children:first-of-type {
	border: 0 !important;
}

.mobile-nav li a:after {
	display: none;
}

.mobile-nav ul li .has-sub {
	font-family: "Dancing Script", serif;
	font-weight: 400;
	font-style: normal;
	font-size: 22px;
	line-height: 25px;
}

.mobile-nav ul li a {
	font-family: "Dancing Script", serif;
	font-weight: 400;
	font-style: normal;
	font-size: 22px;
	line-height: 25px;
	/* color: #fff; */
	display: inline-block;
	z-index: 1;
	margin: 0;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a:visited {
	padding-left: 7px;
}

.mobile-nav ul li a.btn-tour:hover,
.mobile-nav ul li a.btn-tour:visited {
	padding-left: 20px;
}

.mobile-nav ul li a.btn-tour {
	display: flex;
    justify-content: center;
    max-width: 180px;
    margin: 10px auto 0;
}

.mobile-nav ul li .has-sub + .dropdown-caret:hover {
	cursor: pointer;
}

.mobile-nav ul li a.btn-nav:hover,
.mobile-nav ul li a.btn-nav:visited {
	padding-left: 20px;
}

.mobile-nav ul ul {
	margin-left: -20px;
	margin-right: -20px;
	padding: 10px 20px 0;
}

.mobile-nav ul ul li {
	line-height: 1;
	border: 0;
}

.mobile-nav ul ul a {
	font-size: 20px;
}

.mobile-nav ul ul ul a {
	padding-left: 80px !important;
}

.mobile-nav .sub-menu-item:first-of-type {
	border: 0 !important;
}

.mobile-nav .sub-menu-item a {
	font-weight: 400;
}

.mobile-nav .sub-menu-item .sub-sub-menu {
	display: block !important;
	border: none !important;
}

.mobile-nav .sub-menu-item .sub-sub-menu-item a {
	font-size: .75em;
	padding-left: 25px !important;
}

.mobile-navigation .brand-logo img {
	max-width: 150px;
}

.dropdown-caret svg {
	color: #fff;
	margin-left: 10px;
}

.dropdown-caret {
	padding-right: 20px;
	position: absolute;
	right: 0;
	display: inline-block;
	width: 100%;
	text-align: right;
	z-index: 999;
}

.mobile-social-menu {
	padding: 15px 0;
	margin: 25px -20px 0;
}

.social-nav {
	position: absolute;
	right: 30px;
}

/* Hamburger Bars */
#hamburger {
	width: 30px;
	height: 30px;
	position: relative;
	margin: 15px;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
	cursor: pointer;
}

#hamburger span {
	display: block;
	position: absolute;
	height: 5px;
	width: 100%;
	background: var(--black);
	border-radius: 10px;
	opacity: 1;
	left: 0;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .25s ease-in-out;
	-moz-transition: .25s ease-in-out;
	-o-transition: .25s ease-in-out;
	transition: .25s ease-in-out;
}

#hamburger:hover span {
	background: var(--yellow);
}

#hamburger span:nth-child(1) {
	top: 0px;
}

#hamburger span:nth-child(2) {
	top: 10px;
	width: 20px;
	left: 8px;
}

#hamburger span:nth-child(3) {
	top: 20px;
}

#hamburger.open span:nth-child(1) {
	top: 12px;
	background: var(--yellow);
	-webkit-transform: rotate(135deg);
	-moz-transform: rotate(135deg);
	-o-transform: rotate(135deg);
	transform: rotate(135deg);
}

#hamburger.open span:nth-child(2) {
	opacity: 0;
	left: -60px;
	background: var(--yellow);
}

#hamburger.open span:nth-child(3) {
	top: 12px;
	background: var(--yellow);
	-webkit-transform: rotate(-135deg);
	-moz-transform: rotate(-135deg);
	-o-transform: rotate(-135deg);
	transform: rotate(-135deg);
}




/* ------------------------------ 
	Footer
------------------------------ */
.footer .footer-logo-wrap.brand-logo img {
	max-width: 230px;
	width: 100%;
}

.footer .main-menu-item a.active {
	border-bottom: 5px solid var(--black);
}

.footer .main-menu-item .sub-menu-item a {
	font-family: 'ff-real-text-pro', sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 16px;
	line-height: 28px;
	text-align: center;
	color: var(--darkGray);
}

.footer .main-menu-item .sub-menu-item a.active {
	color: #fff !important;
	font-weight: 800;
}




/* ------------------------------ 
    Home Page
------------------------------ */
/* .hero {
	min-height: 810px;
	height: 100%;
	width: 100%;
}

.hero-image-default {
	background: url('') no-repeat;
	background-size: cover;
	background-position: center center;
} */




/* ------------------------------ 
    Videos/oEmbed
------------------------------ */
.embed-container {
	position: relative;
	padding-bottom: 56.25%;
	overflow: hidden;
	max-width: 100%;
	height: auto;
}

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




/* ------------------------------ 
	Privacy Policy
------------------------------ */
.privacy-policy p {
	margin-bottom: 20px;
}

/* ------------------------------ 
	=== 3. End Main Content ===
------------------------------ */