/*
Theme Name: stoney-farm
Theme URI: 
Author: thinkbox
Author URI: 
Description: Theme for Stoney Farm - Martinborough Truffles
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stoney-farm
Tags: 
*/


:root {
  --clr-black: #4F4C4C;
  --clr-white: #FFFFFF;

  --grid-4: 1fr 1fr 1fr 1fr;
  --grid-3: 1fr 1fr 1fr;
  --grid-2: 1fr 1fr;
  --grid-1: 1fr;

  --std-trans: all 0.2s ease-out;
  --height-trans: height 0.2s ease-out;

}

.responsive {
    display: none;
}
.nonresponsive {
    display: block;
}

/**** fixes ****/
:where(.wp-site-blocks) > *,
:root :where(.is-layout-flow) > *,
:root :where(.is-layout-constrained) > * {
     margin-block-start: 0px !important;
}
p:empty {
  display: none;
}
.wp-site-blocks {
	overflow: hidden;
}


/**** layout ****/




/**** header ****/
header.wp-block-template-part {
    position: sticky;
    top: var(--wp-admin--admin-bar--height, 0);
    z-index: 99;
}
header nav {
    margin-block-start: 25px !important;
}


/**** footer ****/
footer {
    margin-block-start: 0px !important;
    padding-block: 55px !important;
}
footer .wp-block-group {
    padding-block: 0 !important;
}
footer .wp-block-navigation {
    margin-block: 23px 30px;
}
footer .wp-block-columns {
    max-width: 450px;
    margin-bottom: 30px;
}
footer .wp-block-column * {
    white-space: nowrap;
}



/**** text tweaks ****/

h2, p {
    margin-block-end: 15px !important;
}
h3, h4 {
    margin-block-end: 25px !important;
}



footer p {
  line-height: 1.8;
}
.single h1{
    font-size: 30px;
    margin-bottom: 90px;
}
.archive h1 {
    font-size: 30px;
    margin-bottom: 30px;
}



/**** link tweaks ****/
a,
a:visited,
a:active {
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  text-decoration: underline;
  text-decoration-skip-ink: auto;
  text-underline-offset: 2px;
  opacity: 1;
}
a.wp-block-button__link,
nav ul li a {
  text-decoration: underline;
  text-decoration-skip-ink: auto;
  text-underline-offset: 4px;   
}
footer p a {
  text-decoration: none;
}
a:hover,
nav ul li a:hover,
nav li.current-menu-item a
 {
  text-decoration: underline;
  color: #231F20;
}
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover {
  color: #231F20;
}





/**** general ****/

.wp-block-post-content > .wp-block-group {
    padding-block: 85px;
    border-bottom: solid 1px var(--wp--preset--color--base);
}
.wp-block-post-content > .wp-block-group:first-child {
    padding-block: 30px 50px;

}
.single .wp-block-post-content > .wp-block-group:first-child,
.wp-block-post-content > .wp-block-group.contact:first-child {
    padding-block: 85px;
}
.archive .wp-block-post-content > .wp-block-group:first-child{
    padding-block: 30px 85px;
}


.wp-block-group.contact,
.single .wp-block-post-content > .wp-block-group {
    border-top: solid 1px var(--wp--preset--color--base);
    position: relative;
}
.wp-block-group.contact::after,
.single .wp-block-post-content > .wp-block-group::after {
    content: '';
    display: block;
    height: 100%;
    width: 1px;
    background-color: var(--wp--preset--color--base);
    position: absolute;
    top: 0;
    left: 50%;
}



.recipes .heading h3 {
    font-size: 30px;
    translate: 25px 88px;
    rotate: -90deg; 
    white-space: nowrap;
}
.recipes .wp-block-buttons {
    padding-top: 20px;
}
.wp-block-post-content > .wp-block-group.outlets {
    background-color:  #fff;
    padding-block: 45px 85px;
}
.wp-block-post-content > .wp-block-group.outlets h2 {
    margin-block-end: 45px !important;
}
.wp-block-post-content > .wp-block-group.outlets figure {
    padding-left: 60px;
}




.recipe-collection .is-layout-grid {
    gap: 50px 4.5%; 
}

.recipe-collection figure {
    margin-bottom: 25px;
}

.recipe-collection h3 {
    margin-bottom: 15px;
    font-size: 20px;
}



.wp-block-group > .wp-block-columns.is-layout-flex {
    gap: 7.5%;
}
.recipes.wp-block-group > .wp-block-columns.is-layout-flex {
    gap: 30px !important;
}
.our-journey figure {
    padding-top: 150px !important;
}
.meet-the-family h3 {
    margin-bottom: 100px !important;
}
.meet-the-family h4 {
    font-size: 20px;
}
.truffle-dogs h4 {
    margin-bottom: 80px !important;
}

.what-are-truffles {
    padding-top: 50px !important;
}

.growing img,
.how-much img {
    display: block;
    position: relative;
    width:  127% !important;
    max-width: 1000px !important;
    margin-left: -27%;
}
.our-farm img {
    display: block;
    position: relative;
    width:  127% !important;
    max-width: 1000px !important;
    margin-right: -27%;
}

.are-vertically-aligned-bottom p:last-child  {
    margin-bottom: 0px  !important;
}

.contact .wp-block-column .wp-block-columns {
    padding-block: 50px 100px;
}


/**** tabs ****/
.nav-tabs ul {
  display: flex;
  flex-direction: row;
  column-gap: 0;
  row-gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 0 0 50px;
  padding: 0;
  list-style: none;
}
.nav-tabs ul li {
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-image: none;
  flex: 1 1;
  padding: 0 0 15px;
  border-bottom: solid 1px rgb(from var(--wp--preset--color--base) r g b / 50%);
  opacity: 0.7;
}
.nav-tabs ul li.active {
  border-bottom: solid 1px rgb(from var(--wp--preset--color--base) r g b / 100%);
  opacity: 1;
}
.nav-tabs ul li.active a:hover {
  color: var(--wp--preset--color--base);
}
.nav-tabs ul li a, 
.nav-tabs ul li a:visited, 
.nav-tabs ul li a:hover, 
.nav-tabs ul li a:active {
    font-size: 18px;
    text-decoration:none;
}


.wp-block-social-links li {
    color: transparent !important;
    background-color: transparent !important;
}
.wp-block-social-links li a {
  display: block;
  width: 26px;
  height: 26px;
  padding: 0 !important;
/*   margin-inline:  6px; */
  background: transparent url(images/social-icons.svg) no-repeat left center !important;
  background-size: auto 26px !important;
  border-radius:  0;
  text-indent: -9999px;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
.wp-block-social-links li.wp-social-link-facebook a { background-position: right center !important; }
.wp-block-social-links li.wp-social-link-instagram a { background-position: left center !important; }
.wp-block-social-links li a svg {
    display: none;
}





.gform_wrapper {
}
.gform_required_legend {
    display: none;
}
.gform_wrapper input,
.gform_wrapper textarea {
    background-color: transparent !important;
    color: var(--wp--preset--color--base);
    border-width: 0 0 1px 0 !important;
    border-color:var(--wp--preset--color--base) !important;
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	box-shadow: none !important;
}

.gform_wrapper .gform_footer input[type="submit"] {
    color: var(--wp--preset--color--base) !important;
    font-family: var(--wp--preset--font-family--montserrat) !important;
    padding: 0 0 0 0 !important;
    line-height: 13px  !important;
    height: 22px  !important;
    min-block-size: 22px  !important;
    min-height: 22px  !important;
}
.gform_wrapper .gform_footer input[type="submit"]:hover {
    color: #231F20 !important;
    border-color: #231F20 !important;

}
.gform_wrapper legend {
    color: var(--wp--preset--color--base) !important;
    font-family: var(--wp--preset--font-family--montserrat) !important;
    font-size: 13px;
    font-weight: 400;
}
.gform_wrapper label {
    color: var(--wp--preset--color--base) !important;
    font-family: var(--wp--preset--font-family--montserrat) !important;
    font-size: 13px;
    font-weight: 400;
}
.gform_wrapper .ginput_counter {
    color: var(--wp--preset--color--base) !important;
    font-family: var(--wp--preset--font-family--montserrat) !important;
    font-size: 12px;
    font-weight: 400;
}


























/**** return to top - added by js ****/

a.floattotop {
  display: none;
  overflow: hidden;
  width: 40px;
  height: 40px;
  z-index: 1038;
  position: fixed;
  bottom: 30px;
  right: 30px;
  top: auto;
  left: auto;
  padding: 0;
  border: none;
  background: var(--wp--preset--color--base) url(images/icon-up.svg) no-repeat center center;
  border-radius: 99px;
  text-indent: -9999px;
  background-size: 75%;
  -webkit-transition: var(--std-trans);
  -moz-transition: var(--std-trans);
  transition: var(--std-trans);
  opacity: 1;
}
a.floattotop:hover {
  opacity: 0.5;
  background: var(--wp--preset--color--base) url(images/icon-up.svg) no-repeat center center;
  background-size: 75%;
}





@media only screen and (max-width: 599px){




}