/* 
 Theme Name:   Thrivewell Child
 Template: thrivewell
 Author: Gray Digital Group
 Author URI: https://www.graydigitalgroup.com/
 Version: 1.0

*/


.footer-logos {
   background-color: white;
   display: flex;
   flex-direction: row;
   justify-content: center;
   overflow-x: hidden;
   padding: 15px 0;
}

.footer-logos img {
   margin-left: 10px;
   margin-right: 10px;
   max-height: 60px;
}
.footer-logos img:first-child {
   margin-left: 0;
}
.footer-logos img:last-child {
   margin-right: 0;
}

.footer-logos-medium {
   display: none;
}

@media (max-width: 900px) and (min-width: 420px) {
   .footer-logos-medium {
      display: flex;
   }
   #footer-logos-default {
      display: none;
   }
}

@media (max-width: 420px) {
   .footer-logos-medium {
      display: none;
   }
   #footer-logos-default {
      display: flex;
   }
   #footer-logos-default img {
      margin: 0 auto
   }
   .footer-logos {
      flex-direction: column;
   }
}

.annual-luncheon-image-gallery {
   max-width: 300px;
   margin: 0 auto;
}

.top-search { 
   display: flex;
   align-items: center;
   height: 100%;
   margin-top: 11px; 
   justify-content: end;
}

@media (min-width: 992px) {
   .col-md-1 {
       width: 3.33333333% !important;
   }
}

#site_search svg:first-child {
   margin-top: 4px; /* Adds a top margin of 4px to the first SVG */
}

.top-search svg {
   height: 2.5rem;
   display: block;  
}

.top-search svg.search-icon {
   margin-top: 4px;
   display: block; 
}

.top-search .search-hidden {
   display: none;
}

.top-search .search-active {
   display: block;
}

/* Initial state with transition property */
.top-search {
   transition: transform 1.8s ease-in-out;
}

/* Transformed state when active */
.top-search .search-active {
   transform: translateX(-10px); /* Adjust the value as needed */
}

main.site-main.swp-rp-main, main.wp-block-group.swp-rp-main {
   margin: 3% 6% 25px !important;
}

form.searchwp-form .searchwp-form-input-container .swp-input {
   height: 34px !important;
}

/* Donation Form */
body:not(.home).page-id-4224 .header-wrapper {
	margin-bottom: 0;
}
#gform_wrapper_8 {
	margin-top: 0;
}
#gform_wrapper_8 h2 {
	font-family: lavigne-display, sans-serif;
}
@media print, screen and (min-width: 40em) {
	#gform_wrapper_8 h2 {
		font-size: 1.875rem;
	}
}
#gform_wrapper_8 #field_8_11 {
	background-color: #0276b6;
	margin-top: 0;
	padding: 0;
}
#gform_wrapper_8 #field_8_11 .ginput_container {
	margin: 0 auto;
	max-width: 67.6875rem;
}
#gform_wrapper_8 #field_8_11 #input_8_11 {
	color: #fefefe;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin: 0 0 60px;
	padding: 0;
	width: 100%;
}
#gform_wrapper_8 #field_8_11 #input_8_11 li {
	margin: 0;
	overflow: visible;
	padding: 0;
	width: 100%;
}
@media screen and (min-width: 49.375em) {
	#gform_wrapper_8 #field_8_11 #input_8_11 li {
		width: 33.333%;
	}
}
#gform_wrapper_8 #field_8_11 #input_8_11 li:first-child label:after {
	background-position: -289px 8px;
}
#gform_wrapper_8 #field_8_11 #input_8_11 li:nth-child(2) label:after {
	background-position: 13px 8px;
}
#gform_wrapper_8 #field_8_11 #input_8_11 li:last-child label:after {
	background-position: -139px 8px;
}
#gform_wrapper_8 #field_8_11 .gfield_label,
#gform_wrapper_8 #field_8_11 input {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
#gform_wrapper_8 #field_8_11 .gfield_label:focus + label,
#gform_wrapper_8 #field_8_11 input:focus + label {
	background-color: #01456a;
}
#gform_wrapper_8 #field_8_11 .gfield_label:checked + label,
#gform_wrapper_8 #field_8_11 input:checked + label {
	background-color: #013551;
}

@media screen and (min-width: 49.375em) {
   #gform_wrapper_8 #field_8_11 .gfield_label:checked + label:before, 
   #gform_wrapper_8 #field_8_11 input:checked + label:before {
       background-image: url(../thrivewell-child/images/arrow-background.svg);
       background-size: 100% auto; /* Ensure the width scales to 100% and the height is adjusted automatically */
       bottom: -50px; /* Keep this if you need to position the background relative to the container */
       content: "";
       display: block;
       height: 50px; /* Set the height of the container */
       left: 0;
       position: absolute;
       right: 0;
       width: 100%; /* Ensure the background image scales responsively */
       background-repeat: no-repeat;
   }

   select {
      height: 36.84px;
   }
}

/* @media screen and (min-width: 49.375em) {
	#gform_wrapper_8 #field_8_11 .gfield_label:checked + label:before,
	#gform_wrapper_8 #field_8_11 input:checked + label:before {
		background-image: url(../thrivewell-child/images/arrow-background.svg);
		bottom: -50px;
		content: '';
		display: block;
		height: 50px;
		left: 0;
		position: absolute;
		right: 0;
		width: 100%;
	}
} */
#gform_wrapper_8 #field_8_11 label {
	color: #fefefe;
	font-size: 1rem;
	line-height: 1;
	margin: 0;
	max-width: 100%;
	padding: 20px 15px 25px 116px;
	width: 100%;
}
@media screen and (min-width: 52.25em) {
	#gform_wrapper_8 #field_8_11 label {
		font-size: 1.125rem;
	}
}
#gform_wrapper_8 #field_8_11 label:after {
	/* background-image: url(../images/donation-icons.svg); */
	background-image: url(../thrivewell-child/images/donation-icons.svg);
   background-repeat: no-repeat;
	bottom: 0;
	content: '';
	display: block;
	font-family: font-awesome, sans-serif;
	left: 30px;
	position: absolute;
	top: 0;
	width: 80px;
}
#gform_wrapper_8 #field_8_11 label span {
	display: block;
	font-size: 1.25rem;
	font-weight: 700;
}
@media screen and (min-width: 52.25em) {
	#gform_wrapper_8 #field_8_11 label span {
		font-size: 1.5rem;
	}
}
#gform_wrapper_8 #field_8_22 {
	margin: 0;
	padding: 0;
}
#gform_wrapper_8 #field_8_22 .ginput_price,
#gform_wrapper_8 #field_8_22 input,
#gform_wrapper_8 #field_8_22 > label {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
#gform_wrapper_8 #field_8_22 #input_8_22 {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin: 0 -10px;
	padding: 0;
}
#gform_wrapper_8 #field_8_22 #input_8_22 li {
	margin: 0;
	padding: 0;
	width: 33.333%;
}
@media screen and (min-width: 53.75em) {
	#gform_wrapper_8 #field_8_22 #input_8_22 li {
		width: 20%;
	}
}
#gform_wrapper_8 #field_8_22 #input_8_22 li input:checked + label {
	background-color: #0276b6;
	color: #fefefe;
}
#gform_wrapper_8 #field_8_22 #input_8_22 li label {
	border: 1px solid #0276b6;
	border-radius: 7px;
	color: #0276b6;
	display: block;
	font-size: 1.25rem;
	line-height: 1;
	margin: 10px;
	/* max-width: 100%; */
	padding: 10px;
	text-align: center;
	/* width: 100%; */
}
@media screen and (min-width: 43.75em) {
	#gform_wrapper_8 #field_8_22 #input_8_22 li label {
		font-size: 1.875rem;
	}
}
@media screen and (min-width: 53.75em) {
	#gform_wrapper_8 #field_8_22 #input_8_22 li label {
		font-size: 2.5rem;
	}
}