/*!
Theme Name: manorparks
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: manorparks
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

manorparks is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Base
	- Typography
	- Elements
	- Links
	- Forms
# Components
	- Navigation
	- Posts and pages
	- Widgets
	- Media
# plugins
	- 
# Utilities
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
@import url("https://use.typekit.net/kcu8ezo.css");

html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;
	-moz-osx-font-smoothing: grayscale !important;
	scroll-padding-top: 91px; /* Scroll padding to account for navbar */
}

body, button, input, select, textarea {
	color: #213b3a; /* Slate Grey */
	font-family: freight-sans-pro,sans-serif;
	font-size: 20px;
	font-size: 1.25rem;
	font-style: normal;
	font-weight: 400;
	line-height: 1.35;
}

h1, h2, h3, h4, h5, h6 {
	color: #3a6a66; /* Casal */
	clear: both;
	font-family: freight-text-pro, serif;
	font-weight: 600;
	font-style: normal;
	line-height: 1.15em;
	margin: 0 0 0.6em 0;
	padding: 0;

}

h1 {       
    font-size: 36px;
    font-size: 2.25rem;
}

h2 {       
    font-size: 44px;
    font-size: 2.75rem;
}

p {
	margin-bottom: 1.5em;
}

strong {
	font-weight: 600;
}

.has-large-font-size {
	color: #3a6a66; /* Casal */
	font-weight: 500;
}

.has-slate-grey-color, .has-slate-grey-color-scheme li:before {
	color: #213b3a !important; /* Slate Grey */
}

.has-white-color, .has-white-color-scheme li:before {
	color: #ffffff !important; /* White */
}

.has-gold-color, .has-gold-color-scheme li:before {
	color: #cfa22b !important; /* Gold */
}

.has-olive-color, .has-olive-color-scheme li:before {
	color: #adb56b !important; /* Olive */
}

.has-forest-color, .has-forest-color-scheme li:before {
	color: #157a59 !important; /* Forest */
}

.has-casal-color, .has-casal-color-scheme li:before {
	color: #3b6966 !important; /* Casal */
}

.has-plantation-color, .has-plantation-scheme li:before {
	color: #2A483C !important; /* Plantation */
}

.has-muddy-green-color, .has-muddy-green-color-scheme li:before {
	color: #617632 !important; /* Muddy Green */
}

.has-coffee-color, .has-coffee-color-scheme li:before {
	color: #B0794D !important; /* Coffee */
}

.has-white-background-color {
	background-color: #ffffff !important; /* White */
}

.has-gold-background-color {
	background-color: #cfa22b !important; /* Gold */
}

.has-olive-background-color {
	background-color: #adb56b !important; /* Olive */
}

.has-forest-background-color, .text-bg-dark {
	background-color: #157a59 !important; /* Forest */
}

.has-casal-background-color {
	background-color: #3b6966 !important; /* Casal */
}

.has-plantation-background-color {
	background-color: #2A483C !important; /* Plantation */
}

.has-muddy-green-background-color {
	background-color: #617632 !important; /* Muddy Green */
}

.has-coffee-background-color {
	background-color: #B0794D !important; /* Coffee */
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	h1 {       
		font-size: 48px;
		font-size: 3rem;
	}	
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	h1 {       
		font-size: 60px;
		font-size: 4.125rem;
	}	
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

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

/* Links
--------------------------------------------- */
a {
	color: #213b3a; /* Slate Grey */
}

a:hover, a:focus, a:active {
	color: #157a59; /* Forest */
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	text-decoration: none;
}

.btn, .wp-block-button__link {
	border-radius: 0.25rem;
	font-size: 1.125rem;
	font-weight: 500;
	padding: 0.8rem 1.2rem;
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-primary, .wp-block-button__link {
    color: #ffffff; /* White */
    background-color: #cfa12b; /* Gold */
    border-color: #cfa12b; /* Gold */
}

.btn-primary:hover, .wp-block-button__link:hover {
	color: #ffffff; /* White */
    background-color: #e6be34; /* Gold 30 Brightness */
    border-color: #e6be34; /* Gold 30 Brightness */
}

.btn-forest {
    color: #ffffff; /* White */
    background-color: #157a59; /* Forest */
    border-color: #157a59 /* Forest */
}

.btn-forest:hover {
	color: #ffffff; /* White */
    background-color: #0a946b; /* Forest 30 Brightness */
    border-color: #0a946b; /* Forest 30 Brightness */
}

/* Forms
--------------------------------------------- */
.wpforms-container {
	max-width: 768px;
}

.wpforms-form .wpforms-field-label {
    font-weight: 400 !important;
    font-size: 20px !important;
	font-size: 1.25rem !important;
}

.wpforms-form input[type=submit], 
.wpforms-form button[type=submit] {
    background-color: #cfa12b !important; /* Gold */
    border: 1px solid transparent !important;
	border-radius: 0.25rem !important;
    color: #ffffff !important; /* White */
	font-size: 1.125rem !important;
	font-weight: 500 !important;
    padding: 0.8rem 1.2rem !important;
}

.wpforms-form input[type=submit]:hover, 
.wpforms-form input[type=submit]:active, 
.wpforms-form button[type=submit]:hover, 
.wpforms-form button[type=submit]:active, 
.wpforms-form .wpforms-page-button:hover, 
.wpforms-form .wpforms-page-button:active {
    background-color: #e6be34 !important; /* Gold 30 Brightness */
}

/* Registration form with inline button */
#wpforms-455, #wpforms-484 {
    margin: 0;
	max-width: 600px;
}

#wpforms-455 .wpforms-form input[type=email], #wpforms-484 .wpforms-form input[type=email] {
    background-color: #fff;
    box-sizing: border-box;
    border: 1px solid #ced4da;
	border-radius: 0.25rem;
    color: #212529;
    display: block;
    float: none;
    font-size: 1.25rem;
    padding: 0.5rem 1rem;
    width: 100%;
    line-height: 1.5;
	min-height: calc(1.5em + 1rem + 6px);
	height: auto;
}

#wpforms-455 .wpforms-confirmation-container-full, #wpforms-484 .wpforms-confirmation-container-full {
    color: #ffffff;
	font-weight: 500;
    margin: 10px 0;
    background: #cfa12b; /* Gold */
    border: none;
    padding: 15px 15px;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Header
--------------------------------------------- */
.navbar-brand {
 	background-image: url(img/mp-logo-white.svg);
    background-size: 372px 24px;
	background-repeat: no-repeat;
	display: block;
	height: 24px;
	text-indent: -9999em;
	width: 180px;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 
	.navbar-brand {
		background-size: 372px 24px;
		height: 24px;
		width: 372px;
	}
}

/* Navigation
--------------------------------------------- */
/* Main menu */
.site-header .navbar {
	background-color: rgba(173,181,107,0); /* Olive */
	color: #ffffff; /* White */
	transition: all 0.3s;
}

.site-header .navbar.scrolled {
	background-color: rgba(173,181,107,1); /* Olive */
}

.navbar-toggler {
	border: none !important;
	border-radius: 0 !important;
	color: transparent;
}

.navbar-toggler-icon {
    background-image: url(img/hamburger-white.svg);
	background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
	display: inline-block;
    width: 34px;
    height: 21px;
    vertical-align: middle;
	transition: all 0.5s;
}

.navbar-nav .nav-link {
	color: #ffffff; /* White */
	font-weight: 500;
	padding: 1rem 0 !important;
}

.dropdown-toggle::after {
    display: inline-block;
    font-family: 'FontAwesome';
    content: '\f107';
    vertical-align: bottom;
    border: none!important;
}

.navbar-nav .dropdown-menu {
	background-color: transparent;
	border: none;
    border-radius: 0;
	left: auto;
	margin: -8px 0 0 0;
	padding: 0;
}

.navbar-nav .dropdown-item {
    color: #ffffff;
    padding: 0.3rem 0;
}

.dropdown-item:focus, .dropdown-item:hover, .dropdown-item.active, .dropdown-item:active {
    background-color: transparent;
}

.anchor-nav .nav-link:focus, .anchor-nav .nav-link:hover {
    color: #c1ca78; /* Bright Olive */
}

/* Page anchor nav */
.anchor-area.sticky-top {
    top: 78px;
}

.anchor-nav .nav-link {
	color: #ffffff; /* White */
	font-size: 18px;
	font-size: 1.125rem;
	font-weight: 500;
	padding: 0.5rem 0.8rem;
}

/* Footer menu */
.footer-menu {
    font-size: 17px;
	font-size: 1.063rem;
	list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    display: inline-block;
    margin-right: 1rem;
}

.footer-menu a, .contact a {
	text-decoration: none;
}

.footer-menu a:hover, .contact a:hover {
	text-decoration: underline;
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.navbar-nav > .nav-item {
    	padding: 0 0.7rem;
	}
	.navbar-nav .nav-link {
		padding: 0.5rem 0 !important;
	}
	.navbar-nav .dropdown-menu { 
		display: block;
    	opacity: 0;
		transition: all .2s ease-in-out;
		visibility: hidden;
	}
	.navbar-nav .nav-item:hover .dropdown-menu { 
    	opacity: 1;
		visibility: visible;
	}
	/* Space above dropdown. Changes for scrolling */
	.navbar .dropdown-menu::before {
		display: block;
		content: '';
		height: 10px;
		transition: all 0.3s;
	}
	.navbar.scrolled .dropdown-menu::before {
		height: 31px;
	}
	/* Dropdown bubble arrow. Changes for scrolling */
	.navbar .dropdown-menu:after {
		position: absolute;
		top: 4px;
		left: 10px;
		display: inline-block;
		border-right: 8px solid transparent;
		border-bottom: 8px solid #157a59; /* Forest */
		border-left: 8px solid transparent;
		content: '';
	}
	.navbar.scrolled .dropdown-menu:after {
		top: 25px;
	}
	.dropdown-menu .nav-item {
		background-color: #157a59; /* Forest */
	}
	.dropdown-menu .nav-item:first-child {
		padding-top: 0.5rem; /* Padding above first item in dropdown */
	}

	.dropdown-menu .nav-item:last-child {
		padding-bottom: 0.4rem; /* Padding after last item in dropdown */
	}
	.navbar-nav .dropdown-item {
		padding: 0.3rem 1rem;
	}
	.anchor-area.sticky-top {
    	top: 91px;
	}
}

/* Hero
--------------------------------------------- */
.hero-area {
	height: 600px;
	min-height: 600px;
	position: relative;
    overflow: hidden;
}

.hero-area video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: 0;
	-ms-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}

.hero-area .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) ,rgba(0,0,0,0) );
    background-blend-mode: multiply;
    z-index: 1;
}

.hero-area .container {
	z-index: 2;
}

.hero-image {
	width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hero-content p {
	color: #ffffff;
	margin-bottom: 1.3rem;
}

/* This will use a fallback image instead of a video for devices that commonly do not support the HTML5 video element */

@media (pointer: coarse) and (hover: none) {
	.hero-area {
		background-color: #3b6966; /* Casal */
		background-image: url('img/home-hero-novid.jpg');
	}
	.hero-area video {
		display: none;
	}
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 
	.hero-area {
		height: 700px;
		min-height: 700px;
	}
}

/* Pages
--------------------------------------------- */
 .site-main {
    padding: 4rem 0;
}

.page-title {
	color: #ffffff;
}

/* Space above and below all block elements inside page-content area */
.page-content > div, .page-content > blockquote, .page-content > figure.alignfull, .page-content > hr {
	margin: 4rem 0;
}

/* Remove margin from bottom of last div in page-content area */
.page-content > div:last-child {
	margin-bottom: 0
}

/* Remove margin between content blocks placed together */
.content-block + .content-block, .text-image-block + .content-block, .content-block + .text-image-block {
	margin-top: -4rem;
}

.wp-block-columns {
	margin: 2rem 0 !important;
}

/* Space above and below button blocks */
.wp-block-buttons {
	margin: 1.6em 0 !important; 
}

.page-content .wp-block-heading, .page-content > p, .page-content > ul {
	max-width: 768px; /* Set width of all paragraph blocks to max of 768px wide*/
}

.wp-block-separator {
    border-bottom: 0;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 
	.site-main {
		padding: 6rem 0;
	}
	/* Space above and below all block elements inside page-content area */
	.page-content > div, .page-content > blockquote, .page-content > figure.alignfull, .page-content > hr {
		margin: 6rem 0;
	}
	/* Remove margin berween content blocks placed together */
	.content-block + .content-block, .text-image-block + .content-block, .content-block + .text-image-block {
		margin-top: -6rem;
	}
}

/* Widgets
--------------------------------------------- */
.widget-area .wp-block-columns {
	margin: 0;
	padding: 0;
}

/* Footer
--------------------------------------------- */
.footer-logo {
	display: inline-block;
	margin: 0 1.5rem 1rem 0;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 
	.footer-logo {
		margin: 0 0 1rem 1.5rem;
	}
}

/* Media
--------------------------------------------- */
.bkgd-img {
    background-size: cover;
    background-position: center center;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: -1;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/



/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

.alignwide {
    width: 100vw;
    position: relative;
    left: calc(50% - 50vw);
}

.alignfull {
	width: 100vw;
	position: relative;
	left: calc(-1 * (100vw - 100%) / 2);
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { 
	.alignwide {
		padding-inline: calc((100vw - 540px) / 2);
	}
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 
	.alignwide {
		padding-inline: calc((100vw - 720px) / 2);
	}
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.alignwide {
		padding-inline: calc((100vw - 960px) / 2);
	}
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	.alignwide {
		padding-inline: calc((100vw - 1140px) / 2);
	}	
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
	.alignwide {
		padding-inline: calc((100vw - 1320px) / 2);
	}
}
