/*!
Theme Name: Snowy Range Ranch 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: 75px;
	--white: #FFF;
	--black: #000;
	--light-gray: var(--wp--preset--color--light-gray);
	--dark-gray: var(--wp--preset--color--dark-gray);

	--x-margin:20px;

	--content-width:1200px;

	--base-font-size:16px;
	--wp--preset--font-size--small:	.75rem;
	--wp--preset--font-size--medium: 1.65rem;
	--wp--preset--font-size--large: 2.5rem;
	--wp--preset--font-size--x-large: 3.5rem;
	
}
@media (max-width: 1300px) { 
	:root {
	  	--x-margin:30px;
	  	--header-height: 80px;
	}
}
@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(--light-gray);
	background-color: var(--dark-gray);
	font-size: var(--base-font-size);
	line-height: 1.5;
}

body {
	font-family: haboro-contrast-normal, sans-serif;
	font-weight: 300;
	font-style: normal;	
	letter-spacing: 1.5px;
}
h1, h2, h3, h4, h5, h6 {
	font-family: haboro-contrast-normal, sans-serif;
	font-weight: 700;
	font-style: normal;
	margin: .5rem 0;
	margin-block-start: 0;
	letter-spacing: 2px;
}
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 {
	background-color: transparent;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
	border-top: 2px var(--light-gray) solid;

}

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
--------------------------------------------------------------*/
#primary-menu .button a:link,
a.button,
.button a,
.wp-block-button__link{
	background: var(--light-gray);
	color: var(--dark-gray);
	padding: 11px 28px;
	font-size: inherit;
	text-decoration: none;
	display: inline-block;
	border-radius: 0;
	transition: all 300ms;
	border: 2px solid var(--light-gray);
}
a.button:visited,
a.button:hover,
#primary-menu .button a:hover,
.button a:visited,
.button a:hover,
.wp-block-button__link:hover{
	text-decoration: none;
	background-color:#FFF;
	color: var(--dark-gray);
	border: 2px solid #FFF;
}

.wp-block-button.is-style-outline > .wp-block-button__link,
.button-outline{
	background: transparent;
	color: var(--light-gray);
	padding: 11px 28px;
	font-size: inherit;
	text-decoration: none;
	display: inline-block;
	border-radius: 0;
	transition: all 300ms;
	border:2px solid var(--light-gray);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.button-outline:hover{
	color: var(--dark-gray);
	text-decoration: none;
	background-color: #FFF;
	border:2px solid #FFF;
}



/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	text-decoration: none;
	color: var(--light-gray);
	transition: all 300ms;
}
a:focus {

}
a:hover, a:active {
	color: #FFF;
}
:where(p.has-text-color:not(.has-link-color)) a{
	color: inherit !important;
}
/*--------------------------------------------------------------
## Primary Header
--------------------------------------------------------------*/

.main-header{
	padding: 15px var(--x-margin);
	color: var(--light-gray);
	position: fixed;
	top:0;
	left:0;
	width:100%;
	z-index:110;
	transition: all .5s;
	background-color: transparent;
	white-space-collapse: collapse;
}
.page-template-fullheight-template .main-header.scroll-top{
	background-color: transparent;
/*	display: none;*/
}
.admin-bar .main-header {
	top: 32px;
}
.mobile-toggle {
	padding: 15px;
	cursor:pointer; 
	color: var(--light-gray);
	transition: all 300ms;
	z-index: 100;
}
.mobile-toggle:hover {
	color: #FFF;
}
.mobile-toggle .material-icons{
	padding-top: 30px;
}
.hamburger-row {
	padding: 15px 0;
}

/*--------------------------------------------------------------
# Side Menu
--------------------------------------------------------------*/
body.side-menu-open {
    overflow: hidden;
}

.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1055;
    width: 100%;
    height: 100vh;
    visibility: hidden;
    pointer-events: none;
}
 .side-menu hr{
	background-color:var(--light-gray) !important;
	height: 1px;
	border:none;
}

.side-menu.active .side-menu-bg {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
}

.side-menu-bar, .side-menu-overlay {
    height: 100%!important;
}

.side-menu-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1056;
    background-color: var(--dark-gray);
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
    -webkit-transition: all ease .6s;
    -o-transition: all ease .6s;
    transition: all ease .6s;
    opacity: 0;
}

.side-menu-bg .simplebar-scrollbar:before {
    background: #eee;
}

.side-menu-container {
    width: 100%;
    position: relative;
    display: block;
    height: 100%;
}

.side-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1054;
    width: 100%;
    height: 100%;
    visibility: hidden;
    pointer-events: none;
    -webkit-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
    transition: 0.3s all ease;
    opacity: 0;
    background: rgba(22, 22, 22, .72);
}

.side-menu-overlay.active {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}

.side-menu.active {
    visibility: visible;
    pointer-events: auto;
}

.side-menu-wrapper {
    display: block;
    position: relative;
    height: 100%;
    width: 100%;
}

.sm-exit-btn {
    z-index: 20;
    -webkit-transition: 0.4s all ease-in-out;
    -o-transition: 0.4s all ease-in-out;
    transition: 0.4s all ease-in-out;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    margin-left: auto;
    margin-right: 0;
}

.sm-exit-btn span {
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    -webkit-transition: 0.3s all ease-in-out;
    -o-transition: 0.3s all ease-in-out;
    transition: 0.3s all ease-in-out;
}

.sm-exit-btn:hover span {
    color: var(--light-gray);
}

.side-menu-main-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.side-menu-main-bg>div {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.side-menu-main-bg canvas {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.side-menu-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    position: relative;
    height: 100vh;
}

.side-menu-col {
    display: inline-block;
    vertical-align: middle;
    width: 50%;
    position: relative;
}

.side-menu-info {
    display: block;
    position: relative;
    padding: 72px 50px 57px;
    height: 100%;
	background-color: rgba(22, 22, 22, .3);
}

.side-menu-logos {
    display: block;
    position: relative;
    padding: 0 25px 53px;
    margin-bottom: 54px;
    border-bottom: 1px solid var(--light-gray);
    text-align: left;
}

.side-menu-logos>div {
    display: block;
    position: relative;
}

.side-menu-logos>div img {
    max-width: 100%;
    height: auto;
}

.side-menu-logos>div:not(:last-child) {
    margin-bottom: 57px;
}

.side-menu-col:first-child {
    width: 25%;
}

.side-menu-col:last-child {
    width: 75%;
}
.side-menu-main {
    display: block;
    position: relative;
    background-color: rgba(22, 22, 22, .9);
    height: 100%;
    padding: 16px 19px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.sidemenu-nav>li>a {
    font-size: 31px;
    line-height: 1;
    color: var(--light-gray);
    -webkit-transition: 0.4s all ease-in-out;
    -o-transition: 0.4s all ease-in-out;
    transition: 0.4s all ease-in-out;
}

.sidemenu-nav>li>a:hover {
    color: #FFF;
}

/* Unsure if we'll have submenus - delete if we won't end up having them
.sidemenu-nav .sub-menu {
    margin: 20px 0 0 0;
	padding: 0;
    display: block;
    width: 100%;
    max-width: 205px;
}

.sidemenu-nav .sub-menu li {
    display: block;
    position: relative;
    margin-bottom: 9px;
}

.sidemenu-nav .sub-menu li a {
    color: #aa7f71;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0.020em;
    -webkit-transition: 0.4s all ease-in-out;
    -o-transition: 0.4s all ease-in-out;
    transition: 0.4s all ease-in-out;
    text-transform: uppercase;
    font-weight: 300;
}

.sidemenu-nav .sub-menu li a:hover {
    color: #fff;
}
*/

.sidemenu-nav {
    position: relative;
    display: block;
    vertical-align: top;
    padding: 0 10px;
	column-count: 3;
	column-gap: 30px;
	width: 100%;
}

.sidemenu-nav>li.menu-item-7544 .sub-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
}

.sidemenu-nav>li.menu-item-7544 .sub-menu li {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% / 2);
}

.side-menu-nav .menu-primary-menu-container {
    margin: 0 -10px;
}

.sidemenu-nav>li {
    display: block;
    text-align: left;
    position: relative;
	break-inside: avoid;
}

.sidemenu-nav>li:not(:last-child) {
    margin-bottom: 50px;
}

.sidemenu-nav>li>.sub-menu>li:last-child {
    margin-bottom: 0;
}

.side-menu-nav {
    display: block;
    position: relative;
    width: 100%;
	flex-grow: 1;
	padding: 60px;
}

.side-menu-nav .menu-side-menu-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

@media (max-width:992px){
	.side-menu-main {
		overflow: auto;
		padding: 0 15px;
	}
	.sidemenu-nav {
		column-count: 1
	}
	.side-menu-nav{
		padding: 15px;	
	}
	.side-menu-col:first-child {
		width: 10%;
	}
	.side-menu-col:last-child {
		width: 90%;
	}
}

/*--------------------------------------------------------------
# END Side Menu
--------------------------------------------------------------*/

.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-open-access-template #content,
.page-template-fullheight-template #content{
	padding-top: 0;
	min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}
.updated:not(.published) {
	display: none;
}

.page-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
.single-post .entry-title, .archive .entry-title {
	display: block;
}
.page-header{
	text-align: center;
	color: var(--light-gray);
	padding-top: 200px;
	padding-bottom: 150px;
	font-style: italic;
	background-size: cover;
	background-position: center;
}
/*--------------------------------------------------------------
## 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;
}
.wp-block-gallery img{
	aspect-ratio: 1/1;
}

.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;
}

/*--------------------------------------------------------------
# forms
--------------------------------------------------------------*/
body .gform-theme--foundation{
	--gf-form-gap-y: 15px;	
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
	font-size: 16px;
	background-color: var(--dark-gray);
	color: var(--light-gray);
	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(--light-gray);
	text-decoration: none;
}
.site-footer a:hover{
	color: #FFF;
}
/*--------------------------------------------------------------
# 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;
	}
}


.background_video.justify-content-end .content {
	justify-content: end;
}
