/*
Theme Name:   Astra Child
Description:  Astra Child Theme
Author:       STS
Template:     astra
Version:      1.3.1
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  astrachild
*/

:root {
	--lightgreen: #B3B795;
	--darkgreen: #43523B;
	--lightblue: #95BECB;
	--darkblue: #3D6B7D;
	--lightpink: #C79E98;
	--brown: #80695E;
	--beige: #ECDBC7;
	--darkgrey: #212322;
}

#hero_pic {
    max-width: 1200px;
    margin: 0 auto 50px auto;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
	padding: 5%;
}
.hero_pic img {
	width: 100vw;
}
#hero_pic h1 {
	text-shadow: 1px 1px 50px #00000055;
	width: fit-content;
}
#hero_pic_mobile h1 {
	top: 10vw;
	left: 10vw;
	position: absolute;
	color: var(--darkgreen);
}
#hero_pic_mobile {
	min-height: 100vw;
	height: 100vw;
}
#page_narrow_content {
    max-width: 1008px;
    margin: 0 auto 0 auto;
}
#page_narrow_content > div, #page_narrow_content h2, #page_narrow_content h3, #page_narrow_content h4 {
	margin: 30px 0;
}
div.rounded {
    border-radius: 32px;
}
.lightblue_box {
	background-color: var(--lightblue);
}
.main-navigation li {
	letter-spacing: 0.5px;
}
.thin_text {
	font-weight: 200 !important;
}
.wp-block-group {
	padding-top: 1em;
	padding-bottom: 1em;
}
.white_box {
	background-color: white;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}
.pink_heading {
	background-color: var(--lightpink);
	color: white !important;
	width: fit-content;
	font-weight: bold;
	padding: 0 10px;
	position: relative;
	top: 35px;
}
.pink_text {
	color: var(--lightpink) !important;
	font-weight: 600;
}
.black_button a {
	padding: 1.8em 3em 1.8em 3em !important;
	font-weight: bold !important;
	color: black;
}
.pink_button a {
	background-color: var(--lightpink) !important;
	border-radius: 40px !important;
	font-weight: bold !important;
	font-size: 1em !important;
	min-width: 200px;
}
.pink_button a:hover {
	background-color: var(--lightgreen) !important;
	border-radius: 6px !important;
}
.brown_button a {
	background-color: var(--brown) !important;
	color: white !important;
}
.blue_button a {
	background-color: var(--darkblue) !important;
	color: white !important;
}
.brown_button a:hover, .blue_button a:hover {
  	background-color: var(--lightpink) !important;
}
.has-ast-global-color-5-background-color a {
    color: var(--lightpink);
}
.has-ast-global-color-5-background-color a:hover {
    color: var(--darkblue);
}
#masthead .ast-container {
/*	max-width: 1200px; */
}
#masthead .ast-container .ast-builder-grid-row {
	grid-template-columns: 80px auto auto;
}
.site-header {
	position: sticky;
	top: 0;
}
.site-header-section>* {
	padding: 0;
}
.site-header-primary-section-right-center {
    display: none;
}
.ast-primary-header-bar {
    border-bottom: none !important;
}
.dropdown-wrapper {
	position: relative;
	display: inline-block;
}
.menu-button {
	display: flex; 
	flex-direction: row; 
	justify-content: space-evenly; 
	align-items: center; 
	border-color: #ABABAB; 
	border-width: 1px;
	border-radius: 9999px;
	height: 48px; 
	box-shadow: rgba(255, 255, 255, 0.1) 0px 2px 4px;
	color: black;
	background-color: transparent;
	padding: 8px;
	width: 102px;
	gap: 8px;
}
.menu-button:hover, .menu-button:focus {
	color: black;
	background-color: transparent;
}
.css-q7mezt {
	user-select: none;
	width: 32px;
	height: 32px;
	display: inline-block;
	flex-shrink: 0;
	fill: #43523b;
	font-size: 1.5rem;
	transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	margin-top: 8px;
	background: white;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	min-width: 222px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: all 0.2s ease;
	padding: 8px 0;
	z-index: 1000;
}
.dropdown-menu.open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.dropdown-menu a {
	display: block;
	text-align: left;
	padding: 8px 24px;
	color: var(--darkgreen);
	text-decoration: none;
	font-size: 16px;
	transition: background 0.15s;
	cursor: pointer;
}
.dropdown-menu a:first-child {
	border-radius: 6px 6px 0 0;
}
.dropdown-menu a:last-child {
	border-radius: 0 0 6px 6px;
}
.dropdown-menu a:hover {
	background-color: #f3f4f6;
}
.dropdown-menu a:active {
	background: #e8e8e8;
}
button.few-header-account-pill {
    align-items: center;
    background: #fff;
    border: 1px solid #ababab;
    border-radius: 96px;
    color: #43523b;
    display: flex;
    gap: 8px;
    height: 48px;
    padding: 4px 4px 4px 8px;
}
span.few-header-account-avatar, span.few-header-account-menu-icon {
    align-items: center;
    display: flex;
    height: 40px;
    justify-content: center;
    width: 40px;
}
.dropdown-wrapper .few-header-account-menu-icon svg {
    height: 26px;
    width: 26px;
}
.dropdown-wrapper .few-header-account-avatar svg {
    height: 32px;
    width: 32px;
}
#header_donate_btn a {
    padding: 0 24px;
    height: 48px;
}
#header_donate_btn a:hover {
	color: white;
	filter: brightness(1.08)
}
div#header_chat_button {
    font-size: 12px;
	font-weight: normal;
	padding: 10px 20px;
	max-height: 48px;
	display: flex;
    justify-content: center;
    align-items: center;
}
.main-header-menu li a:hover, .main-header-menu li.current-menu-parent > a, .main-header-menu li.current-menu-item > a, ul#mega-menu-primary li a:hover {
    text-decoration: underline !important;
    text-decoration-color: #C79E98 !important;
    text-decoration-thickness: 2px !important;
	text-underline-offset: 5px !important;
}
.main-header-menu .sub-menu li a {
  	font-size: 14px;
    font-weight: normal;
}
.ast-mobile-header-content {
    border-bottom: solid 1px #D9D9D9;
}
ul#mega-sub-menu-25 {
    top: 150% !important;
}
ul#mega-sub-menu-25 hr{
    margin-bottom: 0;
}
ul#mega-menu-primary > li > a, .ast-mobile-header-content a {
    font-weight: 600 !important;
	font-size: 14px;
	letter-spacing: 0.5px;
}
.ast-mobile-header-content ul.sub-menu a {
	font-weight: 400 !important;
}
#top_right_nav_buttons {
    gap: 16px;	
}
#login_nav_button img:hover {
	content: url("/wp-content/uploads/2025/07/login_button_hover.png");
	/*filter: grayscale(0%) hue-rotate(90deg) brightness(1.2);*/
}
#login_nav_button_mobile {
	margin: 10px 0;
}
.header-widget-area .wp-block-group {
    padding: 0;
}
ul.my-simple-menu {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 20px 0;
    margin: 0 0 20px;
    border-bottom: solid 1px #D9D9D9;
	font-size: 13px;
	gap: 10px;
    align-items: center;
    text-align: center;
}
ul.my-simple-menu a {
	color: var(--darkgreen);
}
ul.my-simple-menu li.current-menu-item a {
    pointer-events: none;
	text-decoration: underline;
}
/* .sub-menu {
  	border-width: 2px 0 2px 0 !important;
}*/
.site-primary-header-wrap > div {
    gap: 0;
}
details {
    padding-bottom: 20px;
	margin-top: 20px;
    border-bottom: solid 1px lightgray;
}
details summary {
	font-size: 1.3em;
    list-style: none;
    position: relative;
    padding-right: 50px; /* Space for icon on the right */
    cursor: pointer;
    font-weight: bold;
    color: #5a6b47;
    display: flex;
    align-items: center;
}
details summary::-webkit-details-marker {
    display: none;
}
details summary::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    
    /* Transparent circle with border */
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: transparent; /* Transparent background */
    border: 2px solid #5a6b47; /* Green border to define the circle */
    
    /* Plus lines using pseudo-elements */
    background-image: 
        linear-gradient(#5a6b47, #5a6b47),
        linear-gradient(#5a6b47, #5a6b47);
    background-size: 
        2px 16px,
        16px 2px;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}
/* Minus icon (horizontal line only) */
details[open] summary::after {
    background-image: linear-gradient(#5a6b47, #5a6b47);
    background-size: 16px 2px;
    background-position: center;
}
/* Optional: Add some spacing and alignment */
details summary {
    line-height: 1.4;
    min-height: 35px; /* Ensure minimum height matches icon */
}
/* Optional hover effect */
details summary:hover::after {
    border-color: #4a5a38; /* Darker border on hover */
    background-image: 
        linear-gradient(#4a5a38, #4a5a38),
        linear-gradient(#4a5a38, #4a5a38);
}
details[open] summary:hover::after {
    background-image: linear-gradient(#4a5a38, #4a5a38);
}
#primary-site-navigation a {
  	padding-left: 15px !important;
  	padding-right: 15px !important;
	letter-spacing: 0.9px;
}
.widget {
	margin-bottom: 0;
}
input, textarea {
	background-color: #fafafa !important;
	color: #555 !important;
	font-size: 13px !important;
}
input:focus, textarea:focus {
	background-color: white !important;
}
.wpforms-field-label {
	font-size: 13px !important;
	font-weight: 400 !important;
	color: #555 !important;
}
.wpforms-required-label {
	color: #555 !important;
}
.allcaps {
	text-transform: uppercase;
}

/*** FOOTER ***/
.site-primary-footer-wrap a {
	color: white;
	font-weight: 700;
}
footer .widget_nav_menu li {
    margin-bottom: 16px;
}
footer .widget_nav_menu {
	margin-top: 16px;
}
.footer_col_heading {
	margin-bottom: 26px;
	text-underline-offset: 4px;
}
footer .footer-social-item {
    padding: 14px !important;
}
#menu-footer-1st-column a.menu-link, #menu-footer-2nd-column a.menu-link, #menu-footer-3rd-menu a.menu-link {
	font-size: 14px;
	margin-bottom: 16px;
}
footer a.menu-link {
	transition: 0.3s;
	text-decoration-color: var(--lightpink);
	text-underline-offset: 6px;
}
footer a.menu-link:hover {
    text-decoration: underline 2px var(--lightpink);
    color: white !important;
}
.footer-widget-area .wp-block-columns {
    justify-content: flex-end;
    gap: 60px;
}
.footer-widget-area .wp-block-column {
	flex: 0 0 auto !important;
}
.footer-nav-wrap .astra-footer-horizontal-menu a {
	padding: 0;
}
.footer-nav-wrap li.menu-item a {
	font-size: 12px;
	color: white !important;
}
.site-footer {
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}
.site-above-footer-wrap h3 {
    line-height: 1.2em;
}
.site-above-footer-wrap p {
	font-size: 1.3em;
    margin-top: 20px;
}
.site-below-footer-wrap .ast-builder-footer-grid-columns {
    border-top: solid 1px hsla(0,0%,100%,.25);
    padding-top: 54px;
}
.site-primary-footer-wrap .ast-builder-footer-grid-columns {
	grid-template-columns: 2fr 3fr;
}
.site-primary-footer-wrap {
	border-top-right-radius: 32px;
	border-top-left-radius: 32px;
	position: relative;
	z-index: 2;
}
ul#astra-footer-menu, ul#footer-copyright-menu {
    justify-content: flex-start;
    gap: 32px;
	margin: 0;
    list-style: none;
    background: inherit;
}
#foot_question_block {
    margin-top: 20px;
}
#foot_question_block h3 {
	line-height: 1.3em;
}
#foot_question_block p {
	font-size: 1.1em;
}
#foot_question_block .wp-block-buttons a {
	background-color: #A9656B;
}
#foot_question_block .wp-block-buttons a:hover {
	color: white;
}
#search_widget_min {
   display: flex;
   gap: 5px;
}
#search_widget_min input {
   min-height: 45px;
   font-size: 16px !important;
}
#search_submit_min {
  padding: 10px 15px;
  border-radius: 40px;
  transition: 0.3s;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background-color: var(--darkgreen) !important;
  color: white !important;
}
#search_submit_min:hover {
  background-color: var(--lightgreen) !important;
	color: var(--darkgreen) !important;
}
.open-button {
	cursor: pointer;
	transition: 0.5s;
	opacity: 0.8;
	-webkit-filter: drop-shadow(5px 5px 5px #666);
  	filter: drop-shadow(5px 5px 5px #666);
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 9999;
}
.open-button:hover {
	-webkit-filter: drop-shadow(5px 5px 5px #666) hue-rotate(90deg) saturate(50%);
  	filter: drop-shadow(5px 5px 5px #666) hue-rotate(90deg) saturate(50%);
	-webkit-transform: scale(110%);
	transform: scale(110%);
}
/****** ACCORDIAN ******/
.accordion {
  background-color: white;
	color: black;
  cursor: pointer;
  padding: 12px;
	margin-bottom: 15px;
	width: 100%;
	text-align: left;
	border: none;
	outline: none;
	transition: 0.3s;
	display: block;
	text-decoration: none !important;
}
.acc_open, .accordion:hover {
  	background-color: white;
	color: black;
	text-decoration: none !important;
}
.accordion:after {
   	content: ">";
   	float: right;
	margin-right: 10px;
   	transition: all 0.5s;
	transform:  scaley(1.7);
   	font-weight: 100;
	font-size: 20px;
	line-height: 16px;
}
.acc_open:after {
	-webkit-transform: scalex(1.7) rotate(90deg);
	-moz-transform: scalex(1.7) rotate(90deg);
	transform: scalex(1.7) rotate(90deg);
	line-height: 20px;
}
.panel {
	padding: 0 10px;
	display: none;
	overflow: hidden;
	font-size: 14px;
}
.panel a {
	color: black !important;
}
.panel a:hover {
	color: white !important;
}
.statelink {
	display: block;
}
#ast-hf-mobile-menu .sub-menu a span {
  	display: none;
}
#ast-hf-mobile-menu .sub-menu a {
	padding: 5px 20px;
}
#ast-hf-mobile-menu .sub-menu .menu-link {
	line-height: 1.75rem;
}
#ast-hf-mobile-menu span.ast-icon {
    position: relative;
    right: -35px;
}
.ast-menu-toggle {
	padding-right: calc((100vw - 100px)/2 ) !important;
	width: 100vw;
	text-align: right;
	right: 0 !important;
}
/* .dropdown-menu-toggle .ast-icon, .ast-menu-toggle .ast-icon {
	content: url('/wp-content/uploads/2022/11/caret_down_icon.svg');
	width: 10px;
	max-width: 10px;
	vertical-align: middle;
	margin-left: 8px;
}*/
.menu-item:hover .ast-icon {
	filter: invert(65%) sepia(28%) saturate(0%) hue-rotate(182deg) brightness(90%) contrast(85%);
}
.youhaveoptions { font-size: 30px; }

/****** MEDIA QUERIES ******/
@media only screen and (max-width:1100px) {
	#primary-site-navigation-desktop a, #ast-desktop-header .ast-custom-button {
		font-size: 10px !important;
	}
    .footer-widget-area .wp-block-columns {
	    flex-direction: column;
    }
}
@media only screen and (min-width:782px) {
	.pink_overlay_box_left {
		width: 120% !important;
		margin-right: -10% !important;
		position: relative;
		max-width: 600px !important;
	}
	.pink_overlay_box_right {
		width: 120% !important;
		margin-left: -10% !important;
		position: relative;
		max-width: 600px !important;
	}
	.white_box {
		min-height: 180px;
	}
}
@media only screen and (max-width:781px) {
   .reverse {
    	order: 2;
   }
}
@media only screen and (max-width:1050px) {
	#ast-desktop-header li {
		font-size: 80%;
	}
}
@media only screen and (max-width: 921px) {	
	ul#astra-footer-menu, ul#footer-copyright-menu {
	    justify-content: center;
		gap: 8px;
	}
	.footer-nav-wrap.ast-flex {
 	   flex-direction: column;
	   gap: 12px;
	}
	ul#footer-copyright-menu {
  	  flex-direction: column;
	}
	ul#astra-footer-menu {
		row-gap: 12px;
		column-gap: 32px;
	}
	.wp-block-buttons {
		margin-bottom: 25px;
	}
    .footer-widget-area .wp-block-columns {
	    gap: 32px;
		margin-bottom: 0;
	}
	#footer_logo img {
		width: 64px;
		height: 64px;
	}
	.site-footer-primary-section-2.site-footer-section.site-footer-section-2 {
		margin-bottom: 0 !important;
	}
	#foot_question_block h3 {
		font-size: 1.5em !important;
		line-height: 1.2em;
	}
	#foot_question_block .wp-block-buttons {
		justify-content: center;
	}
	div#foot_question_block {
		padding: 24px 24px 104px 24px !important;
	}
	#page_narrow_content {
		max-width: 100%;
		padding: 0;
	}
	#page_narrow_content .wp-block-group {
		padding: 0;
	}
	.open-button {
		width: 70px;
		height: 70px;
	}
	#masthead {
		width: 100vw;
	}
	.site-branding ast-site-identity {
		padding-bottom: 5px;
	}
	#heart_col {
		display: none;
	}
	.site-below-footer-wrap {
		padding-bottom: 50px;
	}
	.mobile_hide {
		display: none;
	}
	.site-primary-footer-inner-wrap {
		grid-template-columns: 1fr !important;
	}
	.site-primary-footer-wrap, .site-below-footer-wrap {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
}
@media only screen and (min-width:922px) {
	.desktop_hide {
		display: none;
	}
	ul#astra-footer-menu {
		margin-left: 32px;
	}
}
@media only screen and (max-width: 800px) {
   #decide_block {
      border-radius: 0;
      width: 100vw;
      left: calc(-50vw + 50%);
	  margin: 20px 0;
   }
}
@media only screen and (max-width: 768px) {
    ul.my-simple-menu {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
	}
	#sub-page-top-menu-container {
		width: 100vw;
        left: -20px;
        position: relative;
    }
    /* Hide scrollbar for Chrome, Safari and Opera */
    ul.my-simple-menu::-webkit-scrollbar {
        display: none;
	}
    ul.my-simple-menu {
        display: flex;
        flex-wrap: nowrap !important;
        white-space: nowrap;
    }
    ul.my-simple-menu li {
        flex-shrink: 0;
        margin-right: 20px;
		margin-left: 20px;
    }
}
@media only screen and (max-width: 600px) {
	details summary {
		font-size: 0.9em;
	}
}
@media only screen and (max-width: 544px) {
	#hero_pic {
		min-height: 200px;
	}
	#hero_pic h1 {
		line-height: 24px;
	}
	ul {
		margin-left: 10px;
	}
	.entry-content h2:not(.has-large-font-size) {
		font-size: 28px;
		line-height: 30px;
	}
	.entry-content h3:not(.has-large-font-size), .entry-content h4:not(.has-large-font-size) {
		line-height: 30px;	
	}
}
