/*
Theme Name: Seattle-Tacoma Box Legacy Foundation
Theme URI: https://https://stblegacy.org/
Description: Divi Child Theme
Author: JF Designs
Author URI: https://jfdesigns.com
Template:    Divi
Version:     1.2
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
  --primary-color:     #294634;
  --primary-color-dark:  #294634);
  --button-color-fill:   #C8A977;
  --button-color-fill-hover:   #a0875f;
  --button-color-outline: #a0875f;
  --button-color-hover: #a0875f;


 /* Fluid clamp-based font sizes */
/* 	Recipe: Rem value: 10px  ||| Base: 16px-18px ||| Screen: 360px > 1280px ||| Ratio: 1.25 > 1.333  1 -1.01 individual ||| Labels: h6,base,h5,h4,h3,h2,h1 */
--fs-h6:  clamp(1.6rem, 0.2vi + 1.5rem, 1.8rem);
--fs-base: clamp(1.6rem, 0.2vi + 1.5rem, 1.8rem);
--fs-h5: clamp(2rem, 0.24vi + 1.91rem, 2.2rem);
--fs-h4: clamp(2.5rem, 0.6vi + 2.3rem, 3rem);
--fs-h3: clamp(3rem, 0.7vi + 2.8rem, 3.6rem);
--fs-h2: clamp(3.3rem, 0.8vi + 3rem, 4rem);
--fs-h1: clamp(3.3rem, 1.7vi + 2.7rem, 4.8rem);
--fs-display: clamp(3.6rem, 3.22vi + 2.44rem, 6.5rem);
	
--ff-headline:  'Fraunces', Georgia, 'Times New Roman', serif;
--ff-body:   'Archivo', Helvetica, Arial, Lucida, sans-serif;
	
}
/* Divi modal sticky menu fix */
.mce-panel .mce-stack-layout-item.mce-first {
  position: sticky !important;
  top:      -6rem;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
html {
  font-size: 62.5%; /* 1rem = 10px */
}

body {
  font-size:  var(--fs-base);
  line-height:     1.7;
  font-weight:     400;
  font-family:     var(--ff-body)
  transition:      all 3000ms ease;
}

/* Reset paragraph spacing */
p {
  margin-top: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */
.jfd-base-text h1,
.jfd-base-text h2,
.jfd-base-text h3,
.jfd-base-text h4,
.jfd-base-text h5,
.jfd-base-text h6 {
  margin:       0;
  /*font-weight:  300; */
}
.jfd-base-text h1.display {
  font-size:  var(--fs-h1);
  line-height: 1.2;
  max-inline-size: 17ch;
}

.jfd-base-text h1 {
  font-size:  var(--fs-h1);
  line-height: 1.2;
  max-inline-size: 17ch;
}

.jfd-base-text h2, .subhead-lg {
  font-size:  var(--fs-h2);
  line-height: 1.25;
  text-wrap: pretty;
  max-inline-size: 25ch;
}

.jfd-base-text h3, .subhead-md {
  font-size:  var(--fs-h3);
  line-height: 1.3;
   text-wrap: pretty;
   max-inline-size: 30ch;
}

.jfd-base-text h4, .subhead-reg {
  font-size:  var(--fs-h4);
  line-height: 1.35;
   text-wrap: pretty;
  max-inline-size: 30ch;
}

.jfd-base-text h5, .subhead-sm {
  font-size:  var(--fs-h5);
  line-height: 1.5;
  text-wrap: pretty;
  max-inline-size: 35ch;
}

.jfd-base-text h6, .subhead-x-sm {
  font-size:       var(--fs-h6);
  line-height:     1.6;
   text-wrap: pretty;
  letter-spacing:  0.05em;
  text-transform:  uppercase;
  max-inline-size: 40ch;
}
.jfd-base-text, .jfd-base-text p {
  font-size:  var(--fs-base);
  line-height:     1.7;
  line-height: 1.7;
}

.jfd-base-text.et_pb_bg_layout_light .et_pb_post p{
	/* blog module grid excerpt font-size */
  font-size:  .85em !important;
  line-height: 1.7;
}

.et_pb_module.copyright{
  font-size:  1.2rem;
  line-height: 1.7;
}

/* Standalone headings */
h1 {
  margin-bottom: 0.125em;
  line-height:   1.25 !important;
}

/* Space before a heading following text or lists */
p + h1, p + h2, p + h3, p + h4, p + h5, p + h6,
ul + h1, ul + h2, ul + h3, ul + h4, ul + h5, ul + h6,
ol + h1, ol + h2, ol + h3, ol + h4, ol + h5, ol + h6 {
  margin-top: 0.75em !important;
}

/* Last-of-type paragraph padding */
p:not(.has-background):last-of-type {
  padding-bottom: 1rem;
}

blockquote > p:not(.has-background):last-of-type {
  padding-bottom: 0 !important;
}

sup {
  bottom:     0.5em;
  font-size:  0.7em;
}

/* ==========================================================================
   Layout & Grid Helpers
   ========================================================================== */
/* Clearfix */
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}

/* Multi-column List layout */
ul.service-list {
    columns: 2 24rem;
    column-gap: 6rem;
}
ul.service-list li{
    break-inside: avoid-column;
}
ul.service-list li.filler {
  visibility: hidden;
  height: 4rem; /* Adjust this to control how short the second column appears */
}
@media (max-width: 1079px) {
 ul.service-list li.filler {
 	display:none /* Hide on mobile */
	}
}

/* Multi-column flex layout */
.mutli-col {
  display:         flex;
  flex-wrap:       nowrap;
  column-gap:      6rem;
  justify-content: space-around;
}

.mutli-col ul {
  margin:  0;
  padding: 0;
}

@media (max-width: 890px) {
  .mutli-col,
  .mutli-col-no-wrap {
    flex-direction: column;
    gap:            0;
    justify-content:center;
  }
  .mutli-col-no-wrap {
    flex-direction: row;
    gap:            3rem;
  }
}


/* RESPONSIVE IMAGE FILLS DIVI COLUMN */

/*ADD jfd-full-height-image-column CLASS TO IMAGE AND SET ROW TO EQUALIZE HEIGHT */

/*this sets the height of the image module*/
.jfd-full-height-image-column {
	height: 100%;
}

/*this sets the height of the image container*/

.jfd-full-height-image-column .et_pb_image_wrap {
	height: 100%;
}

/*this sets the height and fit of the actual image*/
.jfd-full-height-image-column img {
	object-fit: cover;
	height: 100%;
}

/* ==========================================================================
   Components
   ========================================================================== */
/* Links */
a {
 transition: all 300ms ease;
}

a:hover {

}
/* Animated underline on hover */
.stb-link-underline a:not(.more-link) {
    position: relative;
    text-decoration: none;
}

.stb-link-underline a:not(.more-link)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 0;
    background-color:currentColor;
    transition: width 0.3s ease;
}

/* “Read More” button */
a.more-link,
article a.more-link,
.et_pb_post .post-content a.more-link {
  position:       relative;
  display:        inline-block;
  clear:          both;
  text-align:     center;
  padding:        0.6em 1em;
  color:          #ffffff !important;
  border:         0rem solid var(--button-color-fill) !important;
  border-radius:  5rem;
  /* letter-spacing: 0.05em; */
  font-size:      .85em;
  line-height:    1.3rem;
  font-weight:    600 !important;
  text-transform: uppercase !important;
  background:     var(--button-color-fill);
}

a.more-link:hover,
article a.more-link:hover,
.et_pb_post .post-content a.more-link:hover{
  padding:    0.6em 2em 0.6em 1em !important;
  background: var(--button-color-fill-hover);
}

a.more-link::after {
  content:        "\35";
  font-family:    'ETmodules' !important;
  font-size:      1.2em;
  position:       absolute;
  opacity:        0;
  margin-left:    -1em;
}

a.more-link:hover::after {
  opacity:     1;
  margin-left: 0;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.padding-0,
.no-padding {
  padding: 0 !important;
}

.padding-bottom-0 {
  padding-bottom: 0 !important;
}

/* add space above header * if following list */
 ul + h1, ul + h2, ul + h3, ul + h4, ul + h5, ul + h6, ol + h1, ol + h2, ol + h3, ol + h4, ol + h5, ol + h6 {
     padding-top: .375em !important;
}
/* add space below list items */
 .et_pb_text ul, .et_pb_text ol,
 .et_pb_post_content ul, .et_pb_post_content ol{
     margin-left: 1.5em;
	 list-style-position: outside;
}
 .et_pb_text li,
 .et_pb_post_content li{
     margin-bottom: .75em 
}
 .et_pb_row.col-bot-margin-none .et_pb_column {
     margin-bottom: 0px !important 
}

/* create inline display */
.display-inline-block{
	display:inline-block !important
}

/* ==========================================================================
   Forms & Contact Form 7 Overrides
   ========================================================================== */
/* Remove stubborn Divi pseudo-border */
#main-content .container:before {
  content: none;
}

/* Smart Grid container override */
.cf7sg-container .cf7-smart-grid.has-grid .container {
  display:      block;
  width:        100% !important;
  max-width:    100% !important;
  margin:       0 auto !important;
  padding:      0 !important;
  flex-wrap:    wrap;
}

.cf7sg-container {
  line-height: 1.7 !important;
}

/* CF7 grid columns breakpoints */
@media (max-width: 980px) {
  .cf7sg-container .cf7-smart-grid.has-grid form .container .row .columns {
    float:  none !important;
    width:  100%   !important;
    margin: 0      !important;
  }
  .cf7sg-container .cf7-smart-grid.has-grid form .container .row .columns.one-half {
    float:       left !important;
    width:       48.93617% !important;
    margin-left: 2.12766%  !important;
  }
  .cf7sg-container .cf7-smart-grid.has-grid form .container .row .columns.one-half:first-child {
    margin-left: 0 !important;
  }
  .cf7sg-container .cf7-smart-grid.has-grid form .container .row .columns.one-third {
    float:       left !important;
    width:       31.91489% !important;
    margin-left: 2.12766%  !important;
  }
  .cf7sg-container .cf7-smart-grid.has-grid form .container .row .columns.one-third:first-child {
    margin-left: 0 !important;
  }
}

@media (max-width: 768px) {
  .cf7sg-container .cf7-smart-grid.has-grid form .container .row .columns,
  .cf7sg-container .cf7-smart-grid.has-grid form .container .row .columns.one-half,
  .cf7sg-container .cf7-smart-grid.has-grid form .container .row .columns.one-third {
    float:  none !important;
    width:  100%   !important;
    margin: 0      !important;
  }
  .cf7sg-container .cf7-smart-grid.has-grid .container.spacer-margin-top {
    margin-top: 1.5rem !important;
  }
}

/* Signature field styling */
.wpcf7-form-control-signature-body canvas {
  width:         100%;
  height:        15rem;
  border:        0.1rem solid #e0e0e0;
  border-radius: 0.5rem;
  background:    #eee;
}

.wpcf7-form-control-signature-wrap {
  width:  70%     !important;
  height: 16.5rem !important;
}

@media (max-width: 768px) {
  .wpcf7-form-control-signature-wrap {
    width: 100% !important;
  }
}

/* Other CF7 tweaks */
input[type="button" i] {
  color:          #800 !important;
  border:         0.2rem solid #800;
  font-size:      1.4rem;
  font-weight:    500;
  padding:        0.3em 1em;
  line-height:    1.7em !important;
  background:     transparent;
  border-radius:  0.3rem;
}

input[type="button" i]:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.wpcf7-form-control::placeholder {
  color: #333 !important;
}

.wpcf7-response-output {
  display: block;
}

.wpcf7 form.sent .cf7sg-response-output {
  display: none !important;
}

.wpcf7-not-valid-tip {
  font-size:      1rem    !important;
  letter-spacing: 0.5px   !important;
  font-weight:    700     !important;
  display:        block   !important;
  position:       relative!important;
  top:            100%    !important;
  padding-top:    0.3rem  !important;
  line-height:    1.2em   !important;
  z-index:        7777    !important;
  background:     none    !important;
}

.wpcf7-not-valid {
  border: 0.1rem solid red !important;
}

.wpcf7-form.sent div.container {
  display:    none !important;
  transition: all 0.5s ease;
}

.wpcf7 div.wpcf7-response-output {
  font-size:   2.2rem;
  text-align:  center;
}

@media (max-width: 768px) {
  .cf7sg-container .cf7-smart-grid.has-grid .container.spacer-margin-top {
    margin-top: 1.5rem !important;
  }
  .wpcf7-form-control-signature-wrap {
    width: 100% !important;
  }
}
/* ==========================================================================
   Blog Grid
   ========================================================================== */


@media (max-width: 767px) {
  .et_pb_blog_grid .et_pb_post {
    margin:     3.6rem 0 !important;
    box-shadow: 0 0.9rem 2.8rem -1.5rem rgba(0, 0, 0, 0.5);
  }
}
/* ==========================================================================
   Special Design Styles
   ========================================================================== */

/* Menu breakpoint */

.stb-navigation .stb-navigation-menu-icon {
    display:none
  }

@media(max-width: 1000px) {
  .stb-navigation .stb-navigation-menu-item {
    display:none
  }
   .stb-navigation .stb-navigation-menu-icon {
    display:block
  }
}


/* Nav manu */

.nav-row{
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
}

.nav-column-first{
	display:flex;
	justify-content:center;
	flex:90%;
	width:90% !important;
	margin-left:auto !important;
	margin-right:auto !important;
}
.nav-column-second{
	display:flex;
	justify-content:center;
	flex:90%;
	width:90% !important;
	margin-left:auto !important;
	margin-right:auto !important;
}
@media (max-width: 768px) {
  .nav-column-first{
	display:flex;
	justify-content:center;
	flex:100%;
	width:100% !important;
	margin-left:auto !important;
	margin-right:auto !important;
}
}