/*
Theme Name: Minimly Child
Theme URI: https://thisisadvantage.com
Template: minimly
Text Domain: minimly-child
Author: Cameron Knight
Author URI: https://thisisadvantage.com
Description: 100% organic theme. Full-site editing, vegan friendly, gluten-free.
Tags: one-column,custom-colors,custom-menu,custom-logo,editor-style,featured-images,full-site-editing,block-patterns,rtl-language-support,sticky-post,threaded-comments
Version: 1.1646729210
Updated: 2022-03-08 19:46:50
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/



.no-underline, .no-underline a {
	text-decoration: none !important;
}

@media (max-width: 781px) {
  .cover-mobile {    
      min-width: 100% !important;
	  max-height: 50vh !important;
	  min-height: 50vh !important;
	  object-fit: cover;
	  border-radius: 16px !important
  }
}

.above-section {
    position: relative;
    z-index: 10;
}

.behind-cover {
    margin-top: -5rem !important;
    z-index: 0 !important;
}

.wp-block-heading.cta-heading {
    text-align: right;
    margin: auto;
    margin-top: -6rem;
}

@media (max-width: 1024px) {
	.cta-heading {
	    font-size: clamp(2rem, 4.5vw, 4.5rem) !important;
		line-height: 1;
		text-align: left !important;
   }
}

@media (max-width: 781px) {
     .padding-mobile {
	padding-left: 1.5rem !important;
	padding-right: 1.5rem !important;
		 
   }
}

.inline-image img {
	margin-bottom: 20px;
}

[data-animation="imagereveal"].wp-block-image {
    overflow: hidden;
}

.wp-block-query-pagination-numbers {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
	gap: 4px;
}


.has-modal-open {
    overflow: visible !important;
}

.portfolio-gallery > figure.wp-block-image img {
  max-height: 80vh !important;
  min-height: 60vh !important;
  object-fit: cover;
}

@media (max-width: 781px) {
  .portfolio-gallery > figure.wp-block-image img {
    max-height: 50vh !important;  
  }
}

@media (max-width: 781px) {
  .wp-block-gallery .portfolio-gallery {    
    display: grid;
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 781px) {
  .portfolio-gallery * {    
   min-width: 100% !important;
  }
}

/* Sticky-friendly scrollport — do NOT use overflow-x: clip on html/body */
html {
  height: 100%;
  width: 100% !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
}

body {
  height: 100%;
  width: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  position: relative;
}

.wp-site-blocks {
  overflow-x: visible !important;
}

@media (min-width: 782px) {
  .wp-block-column:has(> .is-sticky-image) {
    align-self: stretch !important;
  }

  .is-sticky-image {
    position: sticky !important;
    top: 1.25rem !important;
    align-self: flex-start;
    max-height: calc(100vh - 2.5rem);
    min-height: calc(100vh - 2.5rem) !important;
    z-index: 2;
    transform: none !important;
  }
}

/* --- Navigation ---*/

/* --- Header Navigation START ---*/


.wp-block-navigation__submenu-container {
    border-radius: 10px;
    min-width: 200px !important;
    line-height: 1 !important;
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
    background-color: var(--wp--preset--color--background) !important;
    border: 0px !important;
    color: var(--wp--preset--color--foreground) !important;
}

.wp-block-navigation ul, .wp-block-navigation ul li {
    line-height: 1.4;
}

@media (min-width: 1024px) {
  header .wp-block-navigation__submenu-container.wp-block-navigation-submenu {
    margin-top: 0.5rem;
  }

  header .wp-block-navigation__submenu-container.wp-block-navigation-submenu::before {
    content: "";
    position: absolute;
    width: 100%;
    left: 0;
    bottom: calc(100% - 0.5rem);
    height: 1.2rem;
  }
  .wp-block-navigation-submenu li.wp-block-navigation-item.wp-block-navigation-link {
    width: 100%;
    background: none !important;
  }

	ul.wp-block-navigation__submenu-container.wp-block-navigation-submenu {
		padding: 1rem !important;
	}

	.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		padding: 0.4rem !important;
	}
}

@media (min-width: 1025px) {
  header .wp-block-navigation-submenu.wp-block-navigation__submenu-container {
    box-shadow: 2.8px 2.8px 2.2px rgba(0, 0, 0, 0.02),
  6.7px 6.7px 5.3px rgba(0, 0, 0, 0.018),
  12.5px 12.5px 10px rgba(0, 0, 0, 0.025),
  22.3px 22.3px 17.9px rgba(0, 0, 0, 0.032),
  41.8px 41.8px 33.4px rgba(0, 0, 0, 0.02),
  100px 100px 80px rgba(0, 0, 0, 0.04);
}
} 


#modal-1 .wp-block-navigation__responsive-container-content::before {
    content: "";
    background: url(/wp-content/uploads/2023/04/Fine-Earth-Joinery_MAIN-Logo-Light.svg);
    background-repeat: no-repeat;
    height: 50px;
    width: 140px;
    margin-top: -51px;
    margin-bottom: 10px;
    margin-left: -4px;
}


div#modal-1 {
    padding-right: 2rem !important;
    padding-left: 2rem !important;
}


/*--- Gravity Forms START ---*/

.gform_heading {
    display: none;
}

div#field_8_9 {
    display: none !important;
}

body .gform_wrapper .gform_body input {
    color: var(--wp--preset--color--foreground);
    border-color: var(--wp--preset--color--foreground);
    background-color: transparent;
    border-width: 1.5px;
    border-radius: 10px;
    border-style: solid;
	padding: 0.6rem;
    width: 100%;
}


body .gform_wrapper .gform_body input,
body .gform_wrapper .gform_body select,
body .gform_wrapper .gform_body textarea {
  font-family: var(--wp--preset--font-family--satoshi);
  font-size: 0.9rem;
  color: var(--wp--preset--color--foreground);
}

body .gform_wrapper .gform_body input::placeholder,
body .gform_wrapper .gform_body textarea::placeholder {
  color: var(--wp--preset--color--foreground);
  font-family: var(--wp--preset--font-family--satoshi);
  font-size: 0.9rem;
  opacity: 1;
}

.gfield_label {
    font-family: var(--wp--preset--font-family--satoshi);
    font-size: 1rem;
    text-transform: normal;
    letter-spacing: 0.02rem;
    font-weight: 700;
}

.gform_button {
    color: var(--wp--preset--color--foreground);
    background-color: var(--wp--preset--color--primary);
    font-family: var(--wp--preset--font-family--satoshi);
    font-weight: 700;
    font-size: 1rem;
    border: none !important;
    border-radius: 8px;
    padding: 0.6rem 1.4rem;
    width: 100%;
}

.gform_button:hover {
	background-color: var(--wp--preset--color--primary) !important;
    opacity: 0.9 !important;
}

body .gform_wrapper .gform_body .gform_fields .gfield select {
    color: var(--wp--preset--color--foreground);
    border-color: var(--wp--preset--color--foreground);
    background-color: transparent;
    border-width: 1.5px;
    border-radius: 10px;
	padding: 0.6rem;
    width: 100%;
}

body .gform_wrapper .gform_body .gform_fields .gfield textarea {
    color: var(--wp--preset--color--foreground);
    border-color: var(--wp--preset--color--foreground);
    background-color: transparent;
    border-width: 1.5px;
    border-radius: 10px;
	padding: 0.6rem;
    width: 100%;
}

.ginput_container {
    margin-bottom: 0.6rem;
}

.gform_fields {
    list-style-type: none !important;
    padding-inline-start: 0px !important;
}

.gfield_radio input, .gfield_checkbox input {
    width: 25px !important;
    max-height: 35px;
}

.gfield_radio li, .ginput_container_checkbox * {
    list-style-type: none;
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.gform_wrapper .gform_body input:focus-visible {
    outline: var(--wp--preset--color--primary) auto 1px !important;
}

.gform_wrapper .gform_body .gfield textarea:focus-visible {
    outline: var(--wp--preset--color--primary) auto 1px !important;
}

.gform_wrapper .gform_body .gfield select:focus-visible {
    outline: var(--wp--preset--color--primary) auto 1px !important;
}
/*/body .gform_wrapper .gform_body .gform_fields .gfield {
   padding:20px 0 0 0;
}*/

.gfield.gfield--type-checkbox {
    border: none !important;
    padding-left: 0;
    padding-right: 0;
}

.gfield.gfield--type-name {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.gfield.gfield--type-name legend.gfield_label {
  padding: 0;
}

.gfield.gfield--type-name .ginput_container_name {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.gfield.gfield--type-name .name_first,
.gfield.gfield--type-name .name_last {
  display: block;
  width: 100%;
}


/*--- Gravity Forms END ---*/


/*--- Projects Single Template ---*/

#project-info figure,  #project-info .minimly-acf-image-container {
  height: 100%;
}

#project-info img {
  width: 100%;
  max-height: 85vh;
  min-height: 85vh;
  object-fit: cover;
  border-radius: 16px;
}

@media (max-width: 781px) {
  #project-info img {
  max-height: 50vh !important;
  min-height: 50vh !important;
 }
}

#project-info h3 {
	font-size: var(--wp--preset--font-size--medium)!important;
	margin-bottom: 0 !important;
}

.acf-innerblocks-container > *:not(.ignore-theme-spacing) {
    padding: inherit;
}

#project-intro h1 {
	font-family: var(--wp--preset--font-family--gt-sectra-display);
    font-size: var(--wp--custom--typography--font-size--colossal);
    font-weight: 400;
    letter-spacing: .02rem;
    line-height: 1;
    text-transform: uppercase;
	max-width: 1250px;
	margin-bottom: 0 !important;
}


.full-section-image img {
	min-width: 100%;
    max-height: 70vh;
	min-height: 70vh;
    object-fit: cover;
    margin-bottom: -0.5rem;
}

@media (max-width: 1024px) {
  .full-section-image img {
    max-height: 50vh !important;
	min-height: 50vh !important;
    object-fit: cover;
	width: 100%;
 }
}

#project-gallery h2 {
	text-align: center;
	font-size: var(--wp--preset--font-size--x-large)!important;
	padding-top: 3rem;
}

#project-gallery p {
	max-width: 850px;
	margin: auto;
	text-align: center;
	padding-bottom: 5rem;
}


#project-gallery .acf-gallery img {
    min-height: 60vh;
    max-height: 60vh;
    min-width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

#project-gallery .acf-gallery .carousel-item {
  padding: 0px 20px;
}



