/*

Theme Name:		        Aidea - Child
Theme URI: 		        https://aidea.forqy.website/
Description:            Child Theme for an Aidea
Text Domain: 			aidea-child
Version:				1.0.0

Template:		        aidea
Template Version: 		1.2.0

Author: 		        FORQY
Author URI:             https://forqy.website/

License:				GPL-3.0-or-later
License URI:			https://www.gnu.org/licenses/gpl-3.0-standalone.html

*/

/* Temp fix for underlining issue occurring after WP 6.6 upgrade */	
:root :where(a:where(:not(.wp-block-navigation))),:root :where(a:where(:not(.wp-element-button))) {text-decoration: initial !important;}

/* General Template Tweaks */	
	.fy-logo > a > img {width: auto; max-height: 95px; margin-bottom:15px;}
	
	strong {color:#215186;}
	p{color:#000000!important;}
	figcaption a{text-decoration:underline;}
	
	.fy-wrap {margin-top: 40px;}
	.fy-wrap ul li{color:#000000; margin-bottom:12px;}
	.fy-wrap ul li ul{margin-top:0px;}
	 ol li{color:#000000;}
	
	.wp-block-columns ul{margin-top:20px;}
	.wp-block-columns ol{margin-top:20px; margin-bottom:20px;}	
	.wp-block-separator{padding-top:0px; padding-bottom:0px;}
	
	.fy-navigation-list > li ul [class*="current"] > a {color: rgba(255,255,255,1);}	
	.fy-main-content p a, .fy-main-content ul:not([class*="block"]) li:not([class*="block"]) a, .fy-main-content ol a, .fy-main-content th a, .fy-main-content td a, .fy-main-content dl a, .fy-main-content pre a, .fy-main-content blockquote > p a, .fy-main-content nav > span a {
	 background-image: none; text-decoration:underline; font-weight:500;}
	
	:where(.fy-content) h3 + p{margin-top: 4px!important;}
	:where(.fy-content) h2 + p{margin-top: 16px!important;}
	:where(.fy-content) h2{margin-bottom:16px!important;}
	:where(.fy-content) h3{margin-bottom:.75rem!important;}

	.fy-heading-container.fy-centerer.cs-heading{display:none;}
  
/* HOME */
	.home header.fy-heading.fy-heading-xsmall.js-video-container {display:none!important;}
	.fy-wrap-homepage{margin-top:0px;}
	ol.news-list li{margin-bottom:20px;}
	
/* SUPPORT US */
	.indented-list{margin-left:50px; margin-top:0px!important;}
	ul.indented-list {margin-bottom:60px;}
	
/* RESOURCES*/
	.resource-img{margin-top:20px!important;}
	.resource-store{font-weight:500; color:#215186!important;}
	ul.in-page-links {padding-left:0px;}
	ul.in-page-links li{display: inline-block; list-style-type: none!important; margin:8px;}
	
/* STORE*/
	.page-id-1056 .wp-block-separator{margin-bottom:60px;}
	
/* CONTACT US */	
	.page-id-1397 .fy-footer-widgets {display:none!important;} /* hides footer on Contact page to avoid confusion */
	.contact-subhead{margin-bottom:0px;}
	.contact-methods{padding-top:0px;}
	h2.contact-subtitle{margin-bottom:0px!important;}
	
	.contact-form-bsd{padding: 40px 60px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,10,20,0.04), 0 2px 10px rgba(0,10,20,0.06), 0 4px 20px rgba(0,10,20,0.08);}
	
	.wpcf7 form .wpcf7-response-output {display:none;}
	.wpcf7 .wpcf7-not-valid-tip {color: #FFFFFF;}
	.screen-reader-response{margin-bottom:30px;}
	.screen-reader-response p{color: #c83c46!important;}
	.screen-reader-response a{color: #c83c46!important;}
	.wpcf7-spinner {background-color: #30px;}

/* FOOTER */
	.fy-footer {border-top:1px solid #d6d6d6;}
	.fy-footer-bar {border-top:1px solid #d6d6d6;}
	.fy-footer-navigation {text-align: center;}
	#navigation-list-footer{justify-content: center;}
	.fy-footer-navigation li{text-align:center; margin: 0 20px 30px 20px;}
	.fy-footer-copyright{text-align:center;color:#000000;}
	.fy-footer-section {padding: 30px 0px 30px 0px;}
	.fy-footer-widgets {margin-bottom: 0px;}
	.footer-contact{text-align:center;}
	.footer-contact p{font-size:17px;}
	p.footer-title {font-family: "Inter", sans-serif; font-size:20px;}
	.fy-footer-navigation a {font-weight:500;}
	.fy-button-accent{color:#FFFFFF!important;}

@media (prefers-reduced-motion) {
	/* Top Navigation */
		#navigation a {background-image: none; text-decoration:underline;}
		#navigation a:hover {background-image: none; text-decoration:none;}
		.fy-navigation-list > li[class*="current"] > a{font-weight:500;text-decoration:none!important;}
		.fy-navigation-list > li[class*="current"] > a::hover {content: none; height: 0px; background-color: #FFFFFF;}
		.fy-navigation-list > li[class*="current"] > a::after {content: none; height: 0px; background-color: #FFFFFF;}
		.fy-navigation-list > li > a::before {content: none; height: 0px; background-color: #FFFFFF; -moz-transition: none; -webkit-transition: none; 	-o-transition: all 0 none; transition: none!important;}
	/* Footer Navigation */
		.fy-footer-navigation a::before {content: none; height: 0px; background-color: #FFFFFF;-moz-transition: none; -webkit-transition: none; 	-o-transition: all 0 none; transition: none!important;}
		.fy-footer-navigation a:hover {text-decoration:none;}
		.fy-footer-navigation a {text-decoration:underline;}
}
	
@media (max-width: 1023px){
	.fy-footer-navigation li {margin: 0;}	
	#bar{display:none;}
	.fy-navigation-list > li ul [class*="current"] > a {color: #215186;}
	.bar .fy-heading{padding-top: 0px;}
	.fy-heading {min-height: 90px;}
	
	/* FOOTER */
		p.footer-title{margin-top:0px;}
		.fy-footer-widgets .fy-widget {margin-bottom: 40px;}
		.footer-contact p {margin-bottom:30px;}
	
	/* RESOURCES*/
		.resource-img{margin-top:0px!important;}
}

@media all and (min-width: 1024px) and (max-width: 1280px) { 
	/* GENERAL */
		.fy-wrap {margin-top: 20px;}
	
	/* HEADER */
		img.fy-logo-img-sticky{margin-top:15px;}
		.fy-bar-text {margin-right:20px;}
		.fy-logo > a > img {max-height: 85px;}
		
	/* FOOTER */
		.footer-contact p{font-size:16px;}
		
	/* HOME */	
		.fy-wrap-homepage{margin-top:0px;}
		div.fy-section.fy-section--content{margin-top:10px;}
		
	/* RESOURCES*/
		.page-id-992 .wp-block-button__link {padding: 10px 30px;}
		.donate-btn a {padding: 10px 40px!important;}

}
 
@media all and (min-width: 768px) and (max-width: 1024px) { 
	/* HEADER */
		.fy-logo > a > img {max-height: 65px;margin-top:15px;}		
	/* RESOURCES*/
		.page-id-992 .wp-block-button__link {padding: 10px 20px;}	
	/* FOOTER */
		#footer > div.fy-footer-widgets.fy-widgets-count-3.fy-footer-section > div > div > div > div:nth-child(3){min-width:100%;margin-bottom:20px;}
		.fy-footer-widgets .fy-widget {margin-bottom: 10px;}
		p.footer-title{margin-top:10px;}
}
 
@media all and (min-width: 480px) and (max-width: 768px) { 
	/* GENERAL */
		.fy-wrap {margin-top: 60px;}
		.fy-wrap-homepage {margin-top: 0px;}
	/* HEADER */
		.homepage.slideshow-height-default.bar .fy-canvas {padding-top: 110px;}
	/* HOME */	
		div.fy-section.fy-section--content{margin-top:0px;}
}
 
@media all and (max-width: 480px) {
	/* HEADER */
		.homepage.slideshow-height-default.bar .fy-canvas {padding-top: 110px;}
		.fy-logo > a > img {margin-bottom: 0px;max-width:235px;}
	/* HOME */	
		div.fy-section.fy-section--content{margin-top:0px;}
}