/*
 Theme Name:   Alaska Farmers Market Association
 Description:  A Basic Child Theme
 Author:       Rising Tide Communications John Moriarty
 Author URI:   https://risingtidealaska.com
 Template:     basic
 Version:      1.46

/** Bootstrap's mobile breakpoint is overridden in a few places here. it was 781px. In this doc it is 852px**/



:root {
  --green: #7B866E;
  --sage: #8C9038;
  --forest: #555129;
  --carrot: #D7771A;
  --gold: #CDAB33;
  --beet: #8D295D;
  --beige: #F1DEB8;
  --beige-bg: #F8EEDB;
  --very-light-gray: #eee;
  --very-dark-gray: #444;
  /*--wp--style--block-gap: 15%;*/
  font-size: 18px;
}

@font-face {
  font-family: 'Veneer';
  src: url('./fonts/veneer.woff2') format('woff2'),
       url('./fonts/veneer.woff') format('woff');
  font-display: swap;
}
/*@font-face{
  font-family: "Veneer";
  font-style: italic;
  src: url("./fonts/6113563/48526bdf-1820-4ac4-a90d-cde095dc7785.woff2") format("woff2"),url("./fonts/6113563/ac2878f4-0214-4400-ba46-328dcf4f5207.woff") format("woff");
}
/*@font-face{
  font-family: "Veneer Two";
  font-style: normal;
  src: url("./fonts/6113568/fc9e5971-a144-4597-9fde-319be11674a0.woff2") format("woff2"),url("./fonts/6113568/6f41ae7f-b943-4dd5-8acb-447863b603a3.woff") format("woff");
}
@font-face{
  font-family: "Veneer Two";
  font-style: italic;
  src: url("./fonts/6113573/8cdf67cb-1edd-48be-ab74-5d10a93b0b58.woff2") format("woff2"),url("./fonts/6113573/4f849735-d2dc-4e47-a639-d9e56470bf15.woff") format("woff");
}
/*(@font-face{
  font-family: "Veneer Three";
  font-style: normal;
  src: url("./fonts/6113578/a5331b64-393a-4d3f-be1f-f0c59958e106.woff2") format("woff2"),url("./fonts/6113578/cc04694a-bf1b-4459-836f-b9f718f8a8fa.woff") format("woff");
}
@font-face{
  font-family: "Veneer Three";
  font-style: italic;
  src: url("./fonts/6113583/3670e6d9-e19f-41d0-b07a-650f73a96bf4.woff2") format("woff2"),url("./fonts/6113583/79239663-0a75-49b6-84fa-92819a24cffe.woff") format("woff");
}*/

@font-face {
  font-family: 'Gotham';
  font-weight: 400;
  src: url(./fonts/Gotham-Book.otf);
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  font-weight: 500;
  src: url(./fonts/Gotham-Medium.otf);
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  font-weight: 600;
  src: url(./fonts/Gotham-Bold.otf);
  font-display: swap;
}
p 
* { 
  background-size: cover;
  background-position: center;
  transition: .25s ease all;
}p

.pl-0 { padding-left: 0!important; }
.weight-500 { font-weight: 500!important; }
.font-italic { font-style: italic; }
.font-veneer, .font-veneer p {   font-family: 'Veneer', 'Impact', sans-serif!important; text-transform: uppercase; font-size: 26px; }
.number-icon {
  font-family: 'Veneer', 'Impact', sans-serif!important; 
  text-transform: uppercase;
  border-radius: 50%;
  height: 100px;
  width: 100px;
  padding: 0!important;
  font-size: 62px!important;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 853px) {
  .number-icon {
    width: 65px;
    height: 65px;
    font-size: 42px!important;
  }
}

.has-green-background-color { --bg-color: var(--green); }
  .has-green-background-color:hover { --bg-color: var(--forest); }
  .has-green-color { color: var(--green)!important; }
.has-sage-background-color { --bg-color: var(--sage); }
  .wp-block-button__link.has-sage-background-color:hover { --bg-color: var(--green); }
  .has-sage-color, .has-sage-links a, .has-sage-color a { color: var(--sage)!important; }
.has-forest-background-color { --bg-color: var(--forest); }
  .has-forest-color { color: var(--forest)!important; }
.has-beet-background-color { --bg-color: var(--beet); }
  .has-beet-color { color: var(--beet)!important; }
.has-carrot-background-color { --bg-color: var(--carrot); }
  .wp-block-button__link.has-carrot-background-color:hover { --bg-color: var(--gold); }
  .has-carrot-color { color: var(--carrot)!important; }
.has-gold-background-color { --bg-color: var(--gold); }
  .has-gold-links a, .has-gold-color { color: var(--gold)!important; }
  .has-gold-background-color .with_frm_style .frm_required { color: var(--beige)!important; }
.has-beige-background-color { --bg-color: var(--beige-bg); }
  .has-beige-links a, .has-beige-color { color: var(--beige)!important; }
.has-very-light-gray-background-color { --bg-color: var(--very-light-gray); }
.has-very-dark-gray-background-color { --bg-color: var(--very-dark-gray); }
.has-background {
  background-color: var(--bg-color);
  position: relative;
}
.has-white-color a { color: var(--wp--preset--color--white)!important; }
.has-white-color a:hover { color: var(--beige)!important; }
.has-forest-color a { color: var(--forest)!important; }
.has-forest-color a:hover { color: var(--sage)!important; }


.has-white-color.has-text-color .with_frm_style .frm_primary_label, .has-white-color.has-text-color .frm_style_formidable-style.with_frm_style div.frm_description {
  --label-color: white;
  color: white;
}
.has-carrot-background-color, .has-beet-background-color, .has-forest-background-color, .has-green-background-color,
.has-carrot-background-color p, .has-beet-background-color p, .has-forest-background-color p, .has-green-background-color p,
.has-carrot-background-color a, .has-beet-background-color a, .has-forest-background-color a, .has-green-background-color a,
.has-carrot-background-color h1, .has-beet-background-color h1, .has-forest-background-color h1, .has-green-background-color h1,
.has-carrot-background-color h2, .has-beet-background-color h2, .has-forest-background-color h2, .has-green-background-color h2 {
  color: white;
}


html body, p  {
  color: var(--forest);
  font-family: 'Gotham', sans-serif;
  padding-bottom: 0;
}

.entry > div {
  padding-top: 4rem;
  padding-bottom: 4rem;
  margin-top: 0px;
  margin-bottom: 0px;
}
.wp-block-columns { margin-bottom: 0px; }

.btn.btn-primary {
  background-color: var(--sage);
  border-color: var(--sage);
}
.btn.btn-primary:hover {
  background-color: var(--green);
  border-color: var(--green);
}
a.btn {
  padding: 0.375rem 1.25rem .25rem;
  border-radius: .75rem;
}
.opacity-hover { opacity: 1; }
.opacity-hover:hover { opacity: .9; }

.wp-block-button__link, .btn {
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.75rem;
}

#header { 
  background-position: center; 
  position: relative;
  z-index: 1000;
}
#main {
  position: relative;
  z-index: 0;
}
/*#header { position: relative; }
#header:before { 
  content: '';
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  height: 100%;
  width: 60%;
  background-image: linear-gradient(90deg, var(--gold) 50%, transparent 100%);
  opacity: .2;
}*/
.header-top-wrap { position: relative; }
@media (min-width: 768px) { #header { background-size: cover; } }

#main { padding: 0;}
.entry-box { margin-top: 0px; }
.entry-box .entry { padding-bottom: 0px; }


.entry h1, .entry h2, .entry h3, .entry h4, .entry h5, .entry h6, .comment-body h2, .comment-body h3, .comment-body h4, .comment-body h5, .comment-body h6 {
  padding-top: 0;
}

.gold-gradient {
  background-image: linear-gradient(-90deg, var(--gold) 50%, transparent 100%);
}

.logo { padding: 15px 0; }
#logo { text-align: left; }
#logo img {
  width: 150px;
}

.topnav nav { 
  background-color: #7b866e;
}

.closer { display: none; }
@media only screen and (max-width: 1023px) {
  .top-menu, .top-menu.max-width { 
    flex-direction: column; 
    max-width: 100%;
    left: 0;
    text-align: center;
    margin-top: 0;
    box-shadow: 0px 5px 5px #333;
    padding-bottom: 3rem;
    padding-top: 3rem;

    /* full screen mobile */
    position: fixed;
    top: 0;
    height: 100%;
    overflow: scroll;
    z-index: 1000;
  }
  /* full screen mobile close */
  .closer { 
    content: 'X';
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    font-weight: bold;
    color: white;
    font-size: 1.25rem;
    height: 25px;
    width: 25px;
    z-index: 1001;
  }

  .top-menu .sub-menu.closed {
    display: block;
  }
  .top-menu.max-width > li {
    max-width: 70%;
    width: 1140px;
    margin-left: auto;
    margin-right: auto;
  }
}
.top-menu li span.open-submenu { display: none; }

.top-menu { justify-content: space-between; font-size: 16px; }
.top-menu > li:first-child { text-align: left; }
.top-menu > li:last-child { text-align: right; }
.top-menu > li a { padding: 15px 0; }
.top-menu li a:hover, 
.top-menu li span:hover, 
.top-menu li .sub-menu > li > a:hover, 
.top-menu li .sub-menu > li > span:hover,
.top-menu .current_page_item > a, 
.top-menu .current_page_item > span, 
.top-menu .current-menu-item > a, 
.top-menu .current-menu-item > span { 
  background-color: transparent; 
  color: var(--beige);
}
.top-menu > li a, .top-menu > li span { padding: 15px 0; }
.sub-menu > li.current_page_item span { padding: 15px 20px; }

.sub-menu { margin-left: 0; }
.sub-menu > .max-width { max-width: none; }

@media only screen and (min-width: 1024px) {
  .top-menu li a { font-weight: 500; }
  .top-menu > li:hover > a {
    background-color: transparent; 
    color: var(--beige);  
  }
}
@media only screen and (min-width: 1024px) {
  .top-menu .menu-item-has-children > a:after, .top-menu .menu-item-has-children > span:after, .top-menu .page_item_has_children > a:after, .top-menu .page_item_has_children > span:after {
    right: unset;
  }
  .top-menu .menu-item-has-children> a, .top-menu .menu-item-has-children> span, .top-menu .page_item_has_children> a, .top-menu .page_item_has_children> span {
    padding-right: 20px;
  }
}

ul.sub-menu { padding-left: 0; }
ul.sub-menu li a { padding: 15px 20px; }

.lead-content {
  color: white;
  font-family: 'Veneer', 'Impact', sans-serif;
  font-size: 52px;
  line-height: 60px;
}
@media (max-width: 852px) {
  .lead-content {
    font-size: 39px;
    line-height: 46px;
  }
}

body h1, body h2, body h3 {
  color: var(--forest);
  font-family: 'Veneer', 'Impact', sans-serif;
  text-transform: uppercase;
}

body h4, body h5, body h6 {
  color: var(--sage);
  font-family: 'Gotham', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
}

.entry h6 { padding-bottom: 0; margin-bottom: 0; }

a, body a { color: var(--forest); }
a:hover, body a:hover { color: black; }

.wp-block-button__link {
  padding: 1rem 2rem;
}

.rotate-90 {
  transform: rotate(90deg);
}

.drop-the-beet-in {
  position: absolute;
  top: 20%;
  z-index: 10;
}
.daisies {
  bottom: -200px;
  top: unset;
}
@media (max-width: 852px) {
  .daisies { 
    right: 0; 
    max-width: 50%;
    bottom: 0;
  }
}

.nudge-up { 
  margin-top: -100px; 
  position: relative;
  z-index: 1;
}
.nudge-up-50 { margin-top: -50px; }
.nudge-left-100 { margin-left: -100px!important; }

#footer.bg-white, #footer.bg-white a {
  color: var(--forest);
}
#footer .footer-menu a:hover { color: var(--green); }
#footer a { transition: .25s ease all; }
#footer a:hover { text-decoration: none; }

.wp-block-button__link:hover { text-decoration: none; }

/*** Messing with the WP layout ***/
/*** Messing with the WP layout ***/
/*** Messing with the WP layout ***/
@media screen and (min-width: 1024px) {
  .layout-center #content {
    width: 100%;
  }
}

/* turning this off while adding columns to the max-width bit below as test
.wp-block-columns {
  padding: 0 15%;
}*/
.wp-block-group .wp-block-columns, .wp-block-column .wp-block-columns { padding: 0; }

.max-width, .wp-block-group__inner-container, .wp-block-columns {
  max-width: 70%;
  width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.wp-block-group__inner-container > .wp-block-columns, 
.wp-block-group__inner-container .wp-block-group__inner-container,
.wp-block-column > .wp-block-columns {
  max-width: 100%;
}
.wp-block-column { max-width: 100%; }

.support-markets-grid { gap: 0!important; }
.support-markets-grid p {
  font-family: 'Veneer', 'Impact', sans-serif;
  color: var(--sage);
  font-size: 26px;
}
@media (min-width: 782px) {
  .wp-block-columns.support-markets-grid:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:first-child) {
    margin-left: unset;
  }
  .wp-block-columns.support-markets-grid:not(.is-not-stacked-on-mobile)>.wp-block-column {
    padding: var(--wp--style--block-gap,1em);
    display: flex;
    align-self: stretch;
    align-items: center;
  }
}
.support-markets-grid:not(.lower-p-border) .wp-block-column:not(:first-child) {
  border-left: 1px solid var(--forest);
}
@media (max-width: 852px) {
  .support-markets-grid:not(.lower-p-border) .wp-block-column:not(:first-child) {
    border-left: 0px solid var(--forest);
  }
  .support-markets-grid:not(.lower-p-border) .wp-block-column {
    border-bottom: 1px solid var(--forest);
    padding-top: 1rem;
  }
}
.no-bottom-border { border-bottom: 0px!important; }

.support-markets-grid.lower-p-border .wp-block-column { display: flex; flex-direction: column; }
.support-markets-grid.lower-p-border .wp-block-column:not(:first-child) p:not(:first-child) { position: relative; flex-grow: 1; }
.support-markets-grid.lower-p-border .wp-block-column:not(:first-child) p:not(:first-child):after {
  content: '';
  height: 100%;
  background: var(--forest);
  width: 1px;
  left: -1em;
  position: absolute;
  top: 0;
}
@media (max-width: 852px) {
  .support-markets-grid:not .wp-block-column:not(:first-child) {
    border-left: 0px;
    border-top: 1px solid var(--forest);
    padding-top: 1rem;
  }
  .support-markets-grid.lower-p-border .wp-block-column:not(:first-child) p:not(:first-child):after {
    display: none;
  }
}

.entry-box ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.entry-box ul li { 
  font-weight: 500;
  padding-left: 0px; 
}


.with_frm_style input[type=text], .with_frm_style input[type=password], .with_frm_style input[type=email], .with_frm_style input[type=number], .with_frm_style input[type=url], .with_frm_style input[type=tel], .with_frm_style input[type=phone], .with_frm_style input[type=search], .with_frm_style select, .with_frm_style textarea, .frm_form_fields_style, .with_frm_style .frm_scroll_box .frm_opt_container, .frm_form_fields_active_style, .frm_form_fields_error_style, .with_frm_style .frm-card-element.StripeElement, .with_frm_style .chosen-container-multi .chosen-choices, .with_frm_style .chosen-container-single .chosen-single { border-color: transparent; }
.frm_style_formidable-style.with_frm_style .frm_compact .frm_dropzone.dz-clickable .dz-message, 
.frm_style_formidable-style.with_frm_style input[type=submit], 
.frm_style_formidable-style.with_frm_style .frm_submit input[type=button], 
.frm_style_formidable-style.with_frm_style .frm_submit button, 
.frm_form_submit_style, 
.frm_style_formidable-style.with_frm_style .frm-edit-page-btn {
  font-family: 'Gotham';
  background-color: var(--sage);
  border-width: 0px;
  border-radius: 500px;
  box-shadow: none;
}
.frm_style_formidable-style.with_frm_style .frm_compact .frm_dropzone.dz-clickable .dz-message:hover, 
.frm_style_formidable-style.with_frm_style input[type=submit]:hover, 
.frm_style_formidable-style.with_frm_style .frm_submit input[type=button]:hover, 
.frm_style_formidable-style.with_frm_style .frm_submit button:hover, 
.frm_form_submit_style:hover, 
.frm_style_formidable-style.with_frm_style .frm-edit-page-btn:hover {
  background-color: var(--forest);
  color: white;
}


.event-block { border-top: 1px solid gainsboro; }
.event-block:not(:last-child) { border-bottom: 1px solid gainsboro; }

.event-date {
  font-family: 'Veneer', 'Impact', sans-serif;
  color: var(--gold);
  font-size: 1.75rem;
}
h3.event-title { 
  color: var(--green); 
}
.time-location {
  color: var(--sage);
  text-transform: uppercase;
}
.event-desc .view-article { 
  color: var(--green);
  font-weight: bold; 
}


/* Fullcalendar plugin */
.ui-button { color: var(--green); }
.fc-month-button { display: none; }
#content .wpfc-calendar-wrapper h2 {
  font-size: 30px!important;
  color: var(--green);
}
.wpfc-calendar .fc-toolbar .fc-left { position: absolute; }
.fc-view .ui-widget-header { background-image: none; background-color: var(--gold); border: 0px solid transparent; padding: 2px 0; }
.fc-view .ui-widget-content { background-color: transparent; background-image: none; }
.fc-day-grid-event.fc-h-event.fc-event.fc-start.fc-end { background-color: var(--forest)!important; border-color: var(--forest)!important; }
.fc .fc-button-group button:after { position: relative; left: -8px; }
/*.fc .fc-button-group .fc-prev-button:after { content: '<'; }
.fc .fc-button-group .fc-next-button:after { content: '>'; }*/
.fc-today-button { border: 0px; background-image: none; background-color: transparent; text-transform: uppercase; }
/* Fullcalendar plugin */


.newsletter-list h2 { color: #8D295D; }
.newsletter-list p { margin-bottom: 0; margin-top: 1rem; text-transform: uppercase; color: var(--sage); font-weight: 500; }

.wp-block-query .wp-block-post-excerpt__excerpt { font-weight: normal; }



/* Extend responsive column styling to 852px (Default is 600px) */
@media (max-width: 852px) {
  .wp-block-columns { flex-direction: column; }
  .wp-block-columns .wp-block-column { flex-basis: 100% !important; }
  .wp-block-column:nth-child(2n) { margin-left: 0; }

  body .d-md-block { display: none!important; }
  body .d-md-none { display: block!important; }
}

.home #footer hr.max-width, .page-id-27 #footer hr.max-width { display: none; }

.wp-block-separator { margin: 2rem 0 3rem; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


/* Remove column gap on mobile? */
@media (max-width: 852px) {
  body:not(.page-id-88) .wp-container-1, body:not(.page-id-88) .wp-container-2, body:not(.page-id-88) .wp-container-3, body:not(.page-id-88) .wp-container-4, body:not(.page-id-88) .wp-container-5, body:not(.page-id-88) .wp-container-6,
  body:not(.page-id-88) .wp-container-7, body:not(.page-id-88) .wp-container-8, body:not(.page-id-88) .wp-container-9, body:not(.page-id-88) .wp-container-10, body:not(.page-id-88) .wp-container-11, body:not(.page-id-88) .wp-container-12,
  body:not(.page-id-88) .wp-container-13, body:not(.page-id-88) .wp-container-14, body:not(.page-id-88) .wp-container-15, body:not(.page-id-88) .wp-container-16, body:not(.page-id-88) .wp-container-17, body:not(.page-id-88) .wp-container-18,
  body:not(.page-id-88) .wp-container-19, body:not(.page-id-88) .wp-container-20, body:not(.page-id-88) .wp-container-21, body:not(.page-id-88) .wp-container-22, body:not(.page-id-88) .wp-container-23, body:not(.page-id-88) .wp-container-24 {
    gap: unset!important;
  }
}
/********/

.entry > div:last-child { padding-bottom: 2rem; }

@media (max-width: 852px) {
  .mt-mobile-0 { margin-top: 0rem!important; }
  .entry h2 { font-size: 34px; }
}