/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Template: twentytwentyfive
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Tags: one-column,custom-colors,custom-menu,custom-logo,editor-style,featured-images,full-site-editing,block-patterns,rtl-language-support,sticky-post,threaded-comments,translation-ready,wide-blocks,block-styles,style-variations,accessibility-ready,blog,portfolio,news
Version: 1.0.1733934342
Updated: 2024-12-11 16:25:42

*/








.LatestPostsFooter.ul {

line-height: 30px!important;
text-decoration: none!important;

}

body 
{
background-color: #f2f2f2;
}

.mega-toggle-animated-box {
z-index: 99999999999 !important;
}

#mega-menu-max_mega_menu_1 
{
    backdrop-filter: blur(20px); /* Apply a blur effect */
    -webkit-backdrop-filter: blur(20px); /* Safari support */
}
 


    #mega-menu-wrap-max_mega_menu_1:has(.mega-menu-open) #mega-menu-max_mega_menu_1[data-effect-mobile^="slide_right"] + button.mega-close {
        left: calc(100vw - 60px) !important;
        top: calc(0vh - -20px) !important;
    }

#mega-menu-max_mega_menu_1 .mega-menu-link {
  margin-left: auto!important;
  margin-right: auto!important;
}


#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1.mega-menu-vertical > li.mega-menu-flyout.mega-menu-item {
  align-self: center;
}

@media (max-width: 781px) {
  .mega-menu-item-4205 {
    display: block; /* Show the item */
  }
  
  .mega-menu-item-42053 {
    display: block; /* Show the item */
  }
  
}

@media (min-width: 782px) {
  .mega-menu-item-42052 {
    display: none!important; /* Hide the item */
  }
  
  .mega-menu-item-42053 {
    display: none!important; /* Hide the item */
  }  
  
}



.wp-block-media-text__content {  
margin-left: 13px!important;
}


.page-id-31549 .wp-block-media-text__content {
    margin-left: 0px !important;
}



.folio-title {
    margin-right: 10px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}



.wp-block-group.ProjectURL {
  display: flex;
  justify-content: center; /* centre horizontally */
}

/* Style the button itself */
.wp-block-button__link {
  border-radius: 30px;   /* round corners */
  padding: 15px 30px;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
   letter-spacing: 1px;
}

.wp-block-button__link:hover {
  background-color: #005177;
}

/* Navigation */


/* Background color when scrolled */
.StickyHeader.scrolled {
    background: #f2f2f280; /* Adjust the color and opacity */
    backdrop-filter: blur(20px); /* Apply a blur effect */
    -webkit-backdrop-filter: blur(20px); /* Safari support */
}

/* Fixed header fallback */
.StickyHeader {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10000;
  background: #f2f2f2;
  height:55px!important;
}

/* Automatically reserve the right space without guessing */
:root { --header-h: 0px; }
body { padding-top: var(--header-h); }





.topnav {
  max-width:1340px;
  margin-left: auto!important;
  margin-right: auto!important;
  --wp--preset--spacing--20: 0px;
  --wp--preset--spacing--30: 0px;
  --wp--preset--spacing--40: 0px;
  

}



@media only screen and (max-width: 782px)
 {

.home .wp-block-cover {
	margin-top: -130px; /* Adjust margin as needed */
    position: relative; /* Required for proper stacking order */

}


.TopNavLeft { 
  margin-left: auto!important;
  margin-right: auto!important;
  text-align: center!important;
  pointer-events: auto;
  width:100px!important;
}

.TopNavCenter {
  margin-left: auto!important;
  margin-right: auto!important;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: auto;  
width:200px!important;
  
}

.TopNavRight {
  margin-left: auto!important;
  margin-right: auto!important;
  }
  

.mega-toggle-blocks-center {
display:none!important;
}

.mega-toggle-blocks-right {
display:none!important;

}

 .wp-block-site-logo .custom-logo {
	  z-index: 90;
    
        }

.SiteTitle {
	font-size:0.6rem!important;
}
 
#mega-menu-wrap-max_mega_menu_3 #mega-menu-max_mega_menu_3 {
 text-align: center!important;
}

#mega-menu-max_mega_menu_3 .mega-menu-link {
font-size: 9px!important;
}



}




.PageHeaderMovie 
{
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); /* Optional: Adds a shadow for emphasis */

}






#mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle {
  pointer-events: none;
  padding-left:10px;
}
#mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated {
  pointer-events: auto;
  padding-left:10px;
}




.client-logos .wp-block-image
  {
	background-color: #ffffff!important;
	margin: 5px!important;
	padding: 5px!important;
	-webkit-box-shadow: 0px 0px 6px 3px rgba(0,0,0,0), 0px 0px 8px 0px rgba(0,0,0,0.10); 
	box-shadow: 0px 0px 6px 3px rgba(0,0,0,0), 0px 0px 8px 0px rgba(0,0,0,0.10);  
	border: 1px solid #c9c9c9;

}

.client-logos .wp-block-image img {
    margin: auto;
}


.wp-block-media-text > .wp-block-media-text__content {

    padding: 0px!important;
}




/* Footer Icons */
.footer-logo {
	width: 270px;
	height: 40px;
	padding: 5px 5px 5px 40px;	
}



p.footer-phone {
	width: 270px;
	height: 40px;
	margin: 0 0 5px;
	padding: 5px 5px 5px 40px;
	background: url(https://www.willpearson.net/wp-content/themes/twentytwentyfive-child/images/Phone.png) 0 5px no-repeat;
	text-align: left;
	}

p.footer-email {
	width: 270px;
	height: 40px;
	margin: 0 0 5px;
	padding: 5px 5px 5px 40px;
	background: url(https://www.willpearson.net/wp-content/themes/twentytwentyfive-child/images/Email.png) 0 8px no-repeat;
	text-align: left;
}

p.footer-location {
	width: 270px;
	height: 40px;
	margin: 0 0 5px;
	padding: 5px 5px 5px 40px;
	background: url(https://www.willpearson.net/wp-content/themes/twentytwentyfive-child/images/Location.png) 0 9px no-repeat;
	text-align: left;
}



.FeaturedImageGroup.has-global-padding {
	padding:0px!important;
}





/* THIS IS DETECTED BY LIGHTHOUSE AS EVENTUALLY BEING VISIBLE */
body {
    /* default opacity of 1, if animation is not supported */
    opacity: 1;

    animation-name: fadeIn;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.5s;
}

@keyframes fadeIn {
    0% {
        opacity: 0.01;
    }
    1% {
        opacity: 0;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}



/* Fix Button Spacing on Trusted Photographer page */

.postid-40984 .wp-block-group .has-global-padding {
padding-top:var(--wp--preset--spacing--20px)!important;
padding-bottom:var(--wp--preset--spacing--20px)!important;

}







