/*
 Theme Name:   VoteAmada (GeneratePress Child)
 Theme URI:    https://voteamada.com
 Description:  Child theme of GeneratePress for voteamada.com. Adds the yearsSince() date helper.
 Author:       VoteAmada
 Template:     generatepress
 Version:      1.1.0
 Requires at least: 6.0
 Requires PHP: 7.4
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  voteamada-child
*/

/*
 * GeneratePress loads this stylesheet automatically after its own styles,
 * so there is no need to enqueue the parent stylesheet.
 *
 * The rules below were moved from Appearance > Customize > Additional CSS
 * (GeneratePress) on 2026-11-05. Add new custom CSS here, not in the Customizer.
 */

/* GeneratePress Site CSS */ /* h1 letter spacing */
h1 {
    letter-spacing: 2px;
}

/* h1 page header margin */
.inside-page-hero h1 {
    margin-bottom: 0px;
}

/* Regular page hero */
.seniors-hero, .volunteer-hero {
	padding-bottom: 250px;
}

.caucus-hero, .forum-hero {
	padding-bottom: 350px;
}

/* home page title styling */
h1.bighero {
	font-family: Roboto; 
	font-weight: 700;
	font-size: 96px;
}

h1.hero {
  font-family: Roboto;  
	font-size: 44px;
    padding-bottom: 15px;
    font-weight: 700;
}

a.hero, a.hero:visited {
	color: #fff;
}

#gtranslate_selector {
	background-color: var(--teal);
	color: #ffffff;
	font-weight: bold;
	border-width: 0;
	height: 50px;
}

/* Utility classes */
.nowrap {
	clear:both;
}

/* home page mobile title styling */
@media (max-width: 768px) {
	.page-hero {
	padding: 150px 50% 10px 16px;
}
	
	h1.bighero {
		font-size: 30px;
	}  
	
	h1.hero {
        font-size: 10px;
	}
	
	.wp-block-button .wp-block-button__link {
		font-size: 11px;
	}
	
	#timeforachange .wp-block-button__link, #lawnsignwidget .wp-block-button__link {
		font-size: 24px;
	}
	
	a.hero, a.hero:visited {
	font-size: 12px;
}
	
.home .wp-block-kadence-icon.alignleft, .page .wp-block-kadence-icon.alignleft {
		float: left;
		margin-right: 1.5em;
	}
	
	.easier-access-icon {
		margin-bottom: 20px;
	}
}

.suggested-donation {
	font-weight: bold;
	font-size: 0.85em;
	margin-top: -1.5em;
}

/* Image captions */
.caption, figcaption {
    font-size: 0.8em;
	color: #888;
}

/* Sidebar widgets */

.sidebar .widget .widget-title {
	font-family: Roboto, sans-serif;
    font-weight: bold;
}

#timeforachange.widget {
	background-image: url('/wp-content/uploads/2020/06/time_for_a_change.jpg');
}

#lawnsignwidget.widget {
	background-image: url('/wp-content/uploads/2026/06/amada_house_lawn_sign_square_thumbnail.jpg');
}

#timeforachange.widget, #lawnsignwidget.widget {
	background-size: contain;
	padding: 0;
	width: 100%;
	padding-top: 100%;
	position: relative;
}

#timeforachange .squarecontent, #lawnsignwidget .squarecontent {
	position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
	text-align: center;	
}

#timeforachange h2, #lawnsignwidget h2 {
	font-size: 20px;
	color: #fff;
}

#timeforachange h2 {
	margin-top: 10px;
}

#timeforachange .wp-block-buttons, #lawnsignwidget .wp-block-buttons {
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	margin-bottom: 10px;
}

/* Let's Stay in Touch! */
#wpforms-widget-2 {
	background: var(--light-teal) url('/wp-content/uploads/2020/06/broadcast_tower.png') no-repeat right bottom;
}

#wpforms-widget-2 .widget-title {
	margin-bottom: 0;
}
#wpforms-5414, #wpforms-5414-field_4-container {
	margin-top: 0;
	padding-top: 0;
}
#wpforms-5414-field_4 {
	max-width: none;
}
#wpforms-5414-field_4 a {
	color: #002171;
}

#mobile-header {
	background-color: var(--teal);
}


/* mobile menu icon size */
.menu-toggle {
    font-size: 18px;
}

/* div class for centering objects */
.center-content {
    text-align: center;
}

/* div class for breaking sections */
.newline {
	clear: both;
}

/* Forms nested in groups */
.wp-block-group__inner-container .wpforms-container-full .wpforms-form .wpforms-field:first-child {
	padding-top: 0;
}

/* home page wpsp images */
.wp-show-posts-image img {
    margin: 0 !important;
    vertical-align: bottom;
    height: auto;
    transition: all 0.5s ease 0s;
    opacity: 1;
}

/* home page wpsp hover effect */
.wp-show-posts-image img:hover {
    opacity: .5;
}

/* about image spacing */
.wp-image-2103 {
    margin-top: 10px;
}

/* about page desktop spacing */
@media (min-width: 1025px) {
    .about-rt-col {
        padding-left: 60px;
    }
}

/* main button styling 

.button, .wpforms-submit {
    transition: all 0.5s ease 0s;
    padding: 10px 24px;
    border-radius: 30px;
	background-color: var(--goldenrod);
}

input[type="submit"], div.wpforms-container-full form.wpforms-form button[type=submit]{
	border-radius: 30px;
	background-color: var(--goldenrod);
}

input[type="submit"]:hover, div.wpforms-container-full form.wpforms-form button[type=submit]:hover{
	background-color: var(--goldenrod);
border: 2px solid var(--light-teal);
}
*/

.sidebar .widget .wp-block-button a, .sidebar .widget .wp-block-button a:visited {
	color: #000;
}

/* contact page width */
@media (min-width: 1025px) {
    .slim-contact-form {
        text-align: center;
        margin: 20px 200px; 
    }
}

/* gallery page margins */
.full-width-gallery {
    margin: 15px 15px 0;
}

/* gallery thumbnail spacing */
.gallery-icon {
    padding: 10px;
}

/* wp featherlight responsive columns */
.gallery .gallery-item,
.gallery-columns-2 .gallery-item:nth-child(2n+1),
.gallery-columns-3 .gallery-item:nth-child(3n+1),
.gallery-columns-4 .gallery-item:nth-child(4n+1) {
    clear: none;
}

@media (max-width: 768px)  {
    .gallery-columns-2 .gallery-item,
    .gallery-columns-3 .gallery-item,
    .gallery-columns-4 .gallery-item {
        max-width: 50%;
    }
}

@media only screen and (max-width: 480px) {
    .gallery-columns-2 .gallery-item,
    .gallery-columns-3 .gallery-item,
    .gallery-columns-4 .gallery-item {
        max-width: 100%;
    }
}
/* end wp featherlight responsive columns */
 /* End GeneratePress Site CSS */

/* Hide the default reCAPTCHA badge */
.grecaptcha-badge { 
    visibility: hidden;
}

/* Align buttons center */
.wp-block-button.aligncenter {
    display: block;
    margin: 4px auto;
}

/* WPForms button
div.wpforms-container-full .wpforms-form button[type=submit] {
	background-color: var(--goldenrod;
	text-transform: uppercase;
}

/* Button hover state 
.wp-block-button .wp-block-button__link, div.wpforms-container-full .wpforms-form button[type=submit] {
	border: 2px solid var(--goldenrod);
	padding: 8px 18px;
}

.wp-block-button .wp-block-button__link:hover, div.wpforms-container-full .wpforms-form button[type=submit]:hover {
	background-color: var(--goldenrod);
	border: 2px solid var(--light-teal);
}
*/

/* Additional text styles */
.footnote {
	font-size: 0.7em;
}


.entry-title {
	clear: both;
}

/* Still want a sign */
#wpforms-poll-answer-1, #wpforms-form-6225 .wpforms-field-container {
	display:none;
}

#wpforms-confirmation-6225 p {
	margin:0;
}

#wpforms-6225 {
	display: inline-block;
}

/* Sign Misplaced */
.misplaced {
	background-color: rgba(0,131,143,0.2);
	padding: 1em;
}

/* Call to Action group */
.cta .wp-block-group__inner-container {
	background-color: rgba(0,131,143,0.2);
	padding: 0.5em 1em;
}
.cta p {
	margin-bottom: 0;
}

/* Hide blog previous next nav */
.postid-9107 footer.entry-meta {
	display: none;
}
/* Remove price on free items 
#product-8665 .price bdi, .post-8665 .price bdi {
display: none;
}
#product-8665 .price:after, .post-8665 .woocommerce-Price-amount:after {
	content: 'FREE';
} */

/* WPForms Hide a field */
.wpf-hidden-field {
	display: none;
}

/* Align the $, input box, and USD on the exact same row */
.inline-currency-field .custom-currency-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 5px !important;
}

/* Style for the dollar sign */
.inline-currency-field .currency-prefix {
    font-size: 16px !important;
    color: #333 !important;
}

/* Style for the USD text */
.inline-currency-field .currency-suffix {
    font-size: 14px !important;
    color: #666 !important;
    white-space: nowrap !important;
}

/* Ensure the description block stays neatly below the new row */
.inline-currency-field .wpforms-field-description {
    margin-top: 5px !important;
}
