/*!
Theme Name: Huff House 2025
Theme URI: http://Gliffen.com/
Author: Gliffen Designs
Author URI: http://gliffen.com/
Description: Under Gliffen is the base wordpress theme created by Gliffen Designs that is setup for customization. The theme requires that Advanced Custom Fields be installed on the website. 
Version: 2025.6.12
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: under_gliffen
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Variables
--------------------------------------------------------------*/
:root {
	--header-height: 0;
	--white: #FFF;
	--black: #000;
	
	--blue: var(--wp--preset--color--blue);
	--dkblue: var(--wp--preset--color--dkblue);
	--tan: var(--wp--preset--color--tan);
	--brown: var(--wp--preset--color--brown);
	--dark: var(--wp--preset--color--dark);

	--x-margin:40px;

	--content-width:1200px;

	--base-font-size:16px;
	--wp--preset--font-size--small:	.75rem;
	--wp--preset--font-size--medium: 1.5rem;
	--wp--preset--font-size--large: 1.75rem;
	--wp--preset--font-size--x-large: 2.5rem;
	
	--hr-height:3px;
	
}
@media (max-width: 1300px) { 
	:root {
	  	--x-margin:30px;
	  	--header-height: 150px;
	}
}
@media (max-width: 575.98px) {
	:root {
		--base-font-size:12px;
	  	--x-margin:20px;
	}
}


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
html{
	font-size: var(--base-font-size);
}
body,
select,
optgroup,
textarea {
	color: var(--dark);
	background-color: var(--white);
	font-size: var(--base-font-size);
	line-height: 1.5;
}

body {
	font-family: 'Lora', serif;
	font-weight: 300;
	font-style: normal;	
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	font-style: normal;
	margin: .5rem 0;
	margin-block-start: 0;
	color: var(--brown);
}
h1 {
	font-size: var(--wp--preset--font-size--x-large);
}
h2 {
	font-size: var(--wp--preset--font-size--large);
}
h3 {
	font-size: var(--wp--preset--font-size--medium);
}
h4, h5, h6 {
	font-size: var(--base-font-size);
}
strong, b{
	font-weight: 700;
}

p {
	margin:0 auto 1.5em auto;
}

dfn, cite, em, i {
	font-style: italic;
}
/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
	scroll-padding-top: var(--header-height);
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	overflow-x: hidden!important;
}

hr {
	border: 0;
	height: 3px !important;
	margin-bottom: 1.5em;
	background-color: var(--brown);
	opacity: 1;

}

ul, ol {
	margin: 0 0 1em 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 0;
	
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}
figcaption {
	text-align: center;
	font-size: .75em;
}
sup{
	top:0;
	vertical-align: middle;
	font-size: .4em;
}


/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
a .button,
a.button,
.button a,
.wp-block-button__link,
input.button{
	background: var(--blue);
	color: var(--white);
	padding: 11px 28px;
	font-size: inherit;
	text-decoration: none;
	display: inline-block;
	border-radius: 0;
	transition: all 300ms;
	border: 2px solid var(--blue);
}
a .button:hover,
a.button:hover,
.button a:hover,
.wp-block-button__link:hover,
input.button:hover{
	text-decoration: none;
	background-color:var(--dkblue)!important;
	color: var(--white)!important;
}

.wp-block-button.is-style-brown-button > .wp-block-button__link{
	background: var(--brown);
	color: var(--white);
	padding: 11px 28px;
	font-size: inherit;
	text-decoration: none;
	display: inline-block;
	border-radius: 0;
	transition: all 300ms;
	border: 2px solid var(--brown);
}
.wp-block-button.is-style-brown-button > .wp-block-button__link:hover{
	text-decoration: none;
	background-color:var(--tan);
}

.wp-block-button.is-style-outline > .wp-block-button__link,
.button-outline{
	background: transparent;
	color: var(--brown);
	padding: 11px 28px;
	font-size: inherit;
	text-decoration: none;
	display: inline-block;
	border-radius: 0;
	transition: all 300ms;
	border:2px solid var(--brown);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.button-outline:hover{
	text-decoration: none;
	background-color:var(--tan);
}



/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	text-decoration: underline;
	color: var(--blue);
}
a:focus {

}
a:hover, a:active {
	color: var(--dkblue);
}
:where(p.has-text-color:not(.has-link-color)) a{
	color: inherit !important;
}
a h1, a h2, a h3, a h4, a h5,
h1 a, h2 a, h3 a, h4 a, h5 a{
	text-decoration: none;
	color: inherit;
}
/*--------------------------------------------------------------
## Primary Header
--------------------------------------------------------------*/
.main-header{
	padding: 15px var(--x-margin);
	color:#FFF;
	position: absolute;
	top:0;
	left:0;
	width:100%;
	z-index:110;
	transition: all .5s;
	white-space-collapse: collapse;
}
.page-template-fullheight-template .main-header.scroll-top{
	background-color: transparent;
}
.admin-bar .main-header {
	top: 32px;
}
.mobile-toggle {
	padding: 15px;
	cursor:pointer; 
	color:#FFF;
}
.mobile-toggle .material-icons{
	padding-top: 30px;
}
.mobile-menu{
	width: 100%; 
	position: absolute; 
	left: 0; 
	top: var(--header-height);
}
.material-icons {
	font-size: 48px;
}



@media (max-width: 991.98px) { 
	.main-header{
		padding-top: 20px;
	}
}
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.menu-primary-container {
	padding:0;
}
#primary-menu{
	list-style:none;	
	margin:0;
	letter-spacing: 1px;
	display: flex;
	justify-content: end;
	text-transform: uppercase;
}
#primary-menu a:link, #primary-menu a:visited, #primary-menu a:active{
	padding: 8px 13px;
	letter-spacing: 1px;
	text-decoration:none;
	display:block;
	color:#FFF;
}
#primary-menu a:hover,
#primary-menu .current-menu-item > a{
	color: #FFF;
	text-decoration: none;
	border-bottom: 1px solid var(--white);
}

#primary-menu > li{
	display: inline-block;
    position: relative;
    font-size: 16px;
}
#primary-menu > li .sub-menu {
    display: none; 
    position: absolute;
    left: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: var(--white);
    min-width: 200px;
    z-index: 1000;
    text-align: left;
}
#primary-menu > li:hover .sub-menu {
    display: block; 
}
#primary-menu > li .sub-menu > li a {
    font-size: 16px; 
	color: var(--dark);
	padding: 8px 15px ;
}
#primary-menu > li:hover .sub-menu li a:hover {
    background-color:#444; 
}

#mobile-menu{
	list-style:none;	
	padding:18px;
	margin:0;
	height: calc(100vh - var(--header-height));
	width:100%;
	overflow: auto;
	display:block;
	background: var(--tan);
	position:absolute;
	font-size:18px;
	z-index: 1000;
    text-align: left;
}
#mobile-menu ul {
	margin: 0;
	list-style: none;
	padding: 0;
}
#mobile-menu .children{
	list-style:none;
	margin: 0;
	padding-left: 15px;

}
#mobile-menu > li .sub-menu{
	padding-left: 30px;
}
#mobile-menu a:link, #mobile-menu a:visited, #mobile-menu a:active{
	padding:6px 10px;
	color:var(--white);	 
	text-decoration:none;
	display:block;
	text-align: left;
}
.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
body:not(.wp-admin) .alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

body:not(.wp-admin) .alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

body:not(.wp-admin) .aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
body:not(.wp-admin) .alignwide {
	margin-left: calc( -75vw / 2 + 100% / 2 );
	margin-right: calc( -75vw / 2 + 100% / 2 );
	width: 75vw;
	max-width: 100vw;
}
body:not(.wp-admin)  .alignfull {
	margin-left  : calc( -100vw / 2 + 100% / 2 );
	margin-right : calc( -100vw / 2 + 100% / 2 );
	max-width    : 100vw;
	width 		 : 100vw;
}
@media (max-width: 500px){
	body:not(.wp-admin) .alignleft,
	body:not(.wp-admin) .alignright {
		display: block;
		float: none !important;
		text-align: center;
	}
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,header
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
#content {
	/*padding-top: var(--header-height);*/
}
.page-template-fullheight-template #content{
	padding-top: 0;
}


/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}
.updated:not(.published) {
	display: none;
}

.page-content,
.entry-summary {
	margin: 1.5em 0 0;
}
.entry-content{
	min-height: 50vh;	
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
h1.entry-title{
	color: var(--white);
}
.single-post .entry-title, .archive .entry-title {
	display: block;
}
.page-header{
	text-align: center;
	color: #FFF;
	padding-top: 150px;
	padding-bottom: 30px;
	font-style: italic;
	background-size: cover;
	background-position: top;
	background-color: rgba(0,0,0,.4);
	background-blend-mode: darken;
	border-bottom: 3px solid var(--brown);
	letter-spacing: .05em;
	text-shadow: 1px 1px 3px #000000;
}
/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
object {
	max-width: 100%;
}

iframe {
	width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.blocks-gallery-item {
	padding: 0px 16px 16px 0px;
}

.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gal-container {
	margin-bottom: 20px;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
	font-size: 14px;
	background-color: var(--dark);
	color: var(--white);
	padding-top: 45px;
	padding-bottom:20px;
}
.site-info {
	font-size: 11px;
	border-top: 1px solid rgba(255,255,255,.5);
}
.site-footer a, .site-footer a:visited {
	color: var(--white);
	text-decoration: none;
}
.site-footer a:hover{
	text-decoration: underline;
}
/*--------------------------------------------------------------
# Custom Block Styles
--------------------------------------------------------------*/

@media (min-width:786px){
	.is-style-hover-reveal .wp-block-cover__inner-container,
	.is-style-hover-reveal .has-background-dim{
		opacity:0 !important;
		transition: all 200ms;
	}
	.is-style-hover-reveal:hover .wp-block-cover__inner-container{
		opacity:1 !important;
	}
	.is-style-hover-reveal:hover .has-background-dim{
		opacity: 0.8 !important;
	}
}


/*--------------------------------------------------------------
# specific to the accomodations 
--------------------------------------------------------------*/
.accomodation-slideshow .slick-prev:before,
.accomodation-slideshow .slick-next:before{
	color: var(--brown);
	opacity: .9;
}
.accomodation-slideshow{
	border: 1px solid rgba(100,100,100,.5);
	padding: 20px;
}
.accomodation-slideshow .slide{
	min-height: 300px;
	width: 100%;
	height: 600px;
}
.accomodation-slideshow .slide img{
	height: 100%;
	width: 100%;
	object-fit: contain;
	object-position: center;	
}