/*
Theme Name: IDv4
Theme URI: 
Author: AnnMarie DeVito - Green Closet Creative
Author URI: 
Description: A custom curated block theme built by Green Closet Creative.
Requires at least: 6.8
Tested up to: 7.0
Requires PHP: 8.0
Version:  4.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: idv4
Tags: 
*/


/* Header Styles ---------------------------------------------------------- */
.wp-site-blocks { position: relative; }
/* transparent header - add class to header .transparent-header */
header.transparent-header {
    position: absolute;
    z-index: 99;
    width: 100%;
}
header.transparent-header + main #hero {
    padding-top: 175px !important;
}


/* Hover Styles ---------------------------------------------------------- */
/* .hover-grow - makes image/background scale on hover. Add class to image block */
.hover-grow {
    transition: transform 0.3s ease-in-out;
}
.hover-grow:hover {
    transform: scale(1.05);
}


/* Pattern Styles ---------------------------------------------------------- */
/* alternating loop helper */
.alternating-h-loop > ul > li:nth-child(odd) .is-vertical {
    flex-direction: column-reverse;
}

.alternating-v-loop > ul > li:nth-child(even) .wp-block-columns {
    flex-direction: row-reverse;
}



/* Special Styles ----------------------------------------------------------- */
.home .wp-block-video { box-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.5); }

h3 mark {
	width: 25px;
    display: inline-block;
    text-align: center;
	font-size: 120%;
	font-weight: 900;
    padding: 5px;
    margin-right: 4px;
}

#history-gallery img {
	height: 300px;
}


/* Footer Logo Gallery */
/* Target modern Gallery block (has nested Image blocks) */
.footer-logos.wp-block-gallery.has-nested-images {
  --gallery-row-height: 100px; /* change to taste */
  align-items: stretch;         /* make all items same height */
}

.footer-logos.wp-block-gallery.has-nested-images figure.wp-block-image {
  display: flex !important;
  align-items: center !important;   /* vertical center */
  justify-content: center;          /* horizontal center */
  height: var(--gallery-row-height);
  margin: 0;                        /* kill odd gaps from theme */
  overflow: hidden;
}

.footer-logos.wp-block-gallery.has-nested-images figure.wp-block-image > a,
.footer-logos.wp-block-gallery.has-nested-images figure.wp-block-image > a > img,
.footer-logos.wp-block-gallery.has-nested-images figure.wp-block-image > img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;  /* no crop; stays centered */
}

/* Keep caption outside the centering box */
.footer-logos.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  margin-top: .5rem;
}



/* Form Styles -------------------------------------------------------------- */
/* Form Style #1 
.form-style-1 .gfield_required_asterisk {
	color: #ee0000;
	font-size: 18px;
}
.form-style-1 form fieldset {
	border: none;
	padding: 0;
	margin: 0;
}
.form-style-1 form input,
.form-style-1 form select,
.form-style-1 form textarea {
	background: #eee;
	color: #000;
	border: none;
	border-radius: 0;
	height: 24px;
	padding: .5rem;
	margin-bottom: 1rem;
}
.form-style-1 form select {
	height: 40px;
	border-right: .5rem solid #eee;
}
.form-style-1 form .gfield_label {
	font-size: 12px;
	text-transform: uppercase;
}

.form-style-1 form .gf_placeholder,
.form-style-1 form input::placeholder {
  color: #c9c9c9;
  text-transform: uppercase;
}*/