/*!
Theme Name: Plant in a Box (2024)
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 is preconfigured with bootstrap css and Carbon Fields
Version: 1.0.0
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: 80px;
  --white:#FFFFFF;
  --black: #000000;
  --lt-green: #EBFFE3;
  --dk-green: #5DA53E;
  --red: #C41616;
  --grey: #929292;
	  
  --x-margin: 20px;
/*  --wp--style--global--content-size: 2000px;*/
}
@media (max-width: 991.98px) { 
	:root {
	  --x-margin:15px;
	  --header-height: 115px;
	}
}
@media (max-width: 575.98px) {
	:root {
	  --x-margin:10px;
	}
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

body,
select,
optgroup,
textarea {
	color: var(--black);
	font-size: 16px;
	line-height: 1.5;
}

body {
	font-family: "Inria Sans", sans-serif;
	font-weight: 400;
	font-style: normal;	
}
h1, h2, h3, h4, h5, h6 {
	font-family: "Inria Sans", sans-serif;
	font-weight: 700;	
	font-style: normal;
}
h1 {
	font-size: 60px;
}
h2 {
	font-size: 36px ;
}
h3 {
	font-size: 24px;
}
@media (max-width: 575.98px) {
	h1 {
		font-size: 40px;
	}
	h2 {
		font-size: 30px;
	}
	h3 {
		font-size: 20px;
	}
}
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: calc(40px + 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(--red) dashed;

}

ul, ol {
	margin: 0 0 1em 1em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin: 0 0 0 1em;
}

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: 1em 0;
	
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}
figcaption {
	text-align: center;
}


/*--------------------------------------------------------------
Color Palettes
---------------------------------------------------------------*/
.bg-white,
:root .has-white-background-color{
	background-color:var(--white);
}
.text-white,
.text-white a,
:root .has-white-color,
:root .has-white-color a {
	color:var(--white);
}
.bg-black,
:root .has-black-background-color{
	background-color:var(--black);
}
.text-black,
.text-black a,
:root .has-black-color,
:root .has-black-color a{
	color:var(--black);
}
.bg-lt-green,
:root .has-lt-green-background-color{
	background-color:var(--lt-green); 
}
.text-lt-green,
.text-lt-green a,
:root .has-lt-green-color,
:root .has-lt-green-color a{
	color:var(--lt-green);
}
.bg-dk-green,
:root .has-dk-green-background-color{
	background-color:var(--dk-green);
}
.text-dk-green,
.text-dk-green a,
:root .has-dk-green-color,
:root .has-dk-green-color a{
	color:var(--dk-green);
}
.bg-red,
:root .has-red-background-color{
	background-color:var(--red);
}
.text-red,
.text-red a, 
:root .has-red-color,
:root .has-red-color a{
	color:var(--red);
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
#primary-menu .button a:link,
a.button, a.button:visited,
.button a, .button a:visited,
a.wp-block-button__link, a.wp-block-button__link:visited{
	border-radius: 5px;
	background: var(--red);
	color: #FFF;
	padding: 10px 25px;
	font-size: inherit;
	text-decoration: none;
	display: inline-block;
}
a.button:hover,
#primary-menu .button a:hover,
.button a:hover,
a.wp-block-button__link:hover{
/*	color: #000; */
	text-decoration: none;
	background-color:var(--grey);
}
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a, a:visited, a:active {
	color: var(--red);
	text-decoration: none;
}

a:hover{
	color: var(--red);
	text-decoration: underline;
}
:where(p.has-text-color:not(.has-link-color)) a{
	color: inherit !important;
}
/*--------------------------------------------------------------
## Primary Header
--------------------------------------------------------------*/
.main-header{
	padding: 10px var(--x-margin);
	height:var(--header-height); 
	color:var(--black);
	position: fixed;
	top:0;
	left:0;
	width:100%;
	z-index:110;
	transition: all .5s;
	background-color: #FFF;
}
.page-template-fullheight-template .main-header.scroll-top{
	background-color: transparent;
}
.page-template-fullheight-template .main-header .logo-container{
	transition: all .5s;
}
.page-template-fullheight-template .main-header.scroll-top .logo-container{
	opacity:0;
}
.admin-bar .main-header {
	top: 32px;
}
.mobile-toggle {
	cursor:pointer; 
}
.mobile-toggle .material-symbols-rounded{
	font-size: 40px;
	background-color: var(--red);
	color: var(--white);
	padding: 2px 4px;
	border-radius: 6px;
}
.mobile-menu{
	padding: 15px var(--x-margin);
	width: 100%;
	height: 100vh;
	position: absolute; 
	z-index: 10000;
	left: 0; 
	top: 0;
	background-color: rgba(255,255,255,.7);
	background-image: url("img/menu-background.jpg");
	background-blend-mode: lighten;
	overflow: auto;
}
.mobile-menu .mobile-toggle{
	position: absolute;
	right: var(--x-margin);
}
.mobile-menu .row > div:first-of-type{
	border-right: 2px solid var(--dk-green);
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
/*
#primary-menu{
	list-style:none;	
	margin:0;
	letter-spacing: 2px;
}
#primary-menu a:link, #primary-menu a:visited, #primary-menu a:active{
	padding:15px;
	text-decoration:none;
	display:block;
	color:#FFF;
}
#primary-menu a:hover{
	color: #FFF;
	text-decoration: underline;
}

#primary-menu > li{
	display: inline-block;
    position: relative;
    font-size: 18px;

}
#primary-menu > li:last-of-type {
	border-right: none;
}
#primary-menu > li .sub-menu {
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: var(--dk-blue);
    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: #fff;
	padding: 8px 15px ;
}
#primary-menu > li:hover .sub-menu li a:hover {
    background-color:#444; 
}
*/
#mobile-menu{
	list-style:none;	
	padding:15px;
	margin:0;
	overflow: auto;
	display:block;
	font-size:22px;
	text-transform: uppercase;
	font-weight: 700;
}
#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:10px 10px;
	color:var(--black);	 
	text-decoration:none;
	display:block;
}
@media (max-width:786px){
	.mobile-menu p{
		margin-bottom: .25em;
	}
	#mobile-menu a:link, #mobile-menu a:visited, #mobile-menu a:active{
		padding:0 10px;
	}
}

.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
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignwide {
	margin-left: calc( -75vw / 2 + 100% / 2 );
	margin-right: calc( -75vw / 2 + 100% / 2 );
	width: 75vw;
	max-width: 100vw;
}
.alignfull {
	margin-left  : calc( -100vw / 2 + 100% / 2 );
	margin-right : calc( -100vw / 2 + 100% / 2 );
	max-width    : 100vw;
	width 		 : 100vw;
}
@media (max-width: 500px){
	.alignleft,
	.alignright {
		display: block;
		float: none !important;
		text-align: center;
	}
}

body .is-layout-flex {
	flex-wrap: wrap;
	align-items: center;
	display: flex;
}
body .is-content-justification-center{
	justify-content: center;
}
.wp-block-post-template.is-layout-flex{gap: 1.25em;}
.wp-block-post-template.is-layout-grid{gap: 1.25em;}
.wp-block-columns.is-layout-flex{gap: 2em; }
.wp-block-columns.is-layout-grid{gap: 2em;}

/*--------------------------------------------------------------
# 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;
}
.container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
  width: 100%;
  padding-right: var(--x-margin);
  padding-left: var(--x-margin);
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 1400px) {
  .container{
    max-width: 1320px !important;
  }
}

/*--------------------------------------------------------------
## 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(--red);
	padding-top: 20px;
	padding-bottom: 20px;
}
/*--------------------------------------------------------------
## 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;
}

/*--------------------------------------------------------------
## Forms
--------------------------------------------------------------*/
.gform-theme--foundation{
	--gf-form-gap-y:15px;
}
/*--------------------------------------------------------------
## 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;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
	border-top: 1px solid #FFF;
	padding-left: var(--x-margin);
	padding-right: var(--x-margin);
	font-size: 16px;
	background-color: var(--red);
	color:var(--white);
	padding-top: 45px;
	padding-bottom:45px;
}
.site-info {
	font-size: 11px;
}
.site-footer a, .site-footer a:visited {
	color:#FFF;
}
.site-footer a:hover{
	text-decoration: underline;
}
/*-----------------------------------------------------------
# Custom Blocks
--------------------------------------------------------------*/
.recent-posts .image{
	background-color: #FFF;
	background-size: cover;
	background-position: center;
	height: 200px;
	display: block;
	margin-bottom: 1em;
}
.wp-block-separator{
	border-top: 2px solid var(--red);
	border-bottom: none;
	opacity: 1
}



h1.has-background, h2.has-background, h3.has-background, h4.has-background, h5.has-background, h6.has-background {
	padding: 5px 15px;
	margin-bottom: 0;
}

@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;
	}
}
.is-style-hover-focus .wp-element-button{
	position: relative;
	padding: 15px 45px;
	background-color:transparent;	
}

.wp-block-columns.is-style-cards {
 	gap: 4em;
	margin-bottom: 4em;
}
.wp-block-columns.is-style-cards .wp-block-column {
	border: 1px solid #666;
	padding: 20px;
	border-radius: 10px;
}
.wp-block-columns.is-style-cards .wp-block-column p {
	margin-bottom: .5em;
}
.wp-block-gallery.is-style-rounded-gallery{
	gap:2em !important;
	padding:2em;
}
.wp-block-gallery.is-style-rounded-gallery .wp-block-image{
	flex-basis: 0;
	border-radius: 10px;
	overflow: hidden;
}