/*
Theme Name:GPH - Avada Child
Author:Tim Woolfson for PWP
Template:Avada
Conventions https://ac.pwp1.net/projects/greenfords-common-core/notebooks/68091/pages/2715/
https://www.w3.org/TR/selectors-3/#attribute-substrings
pwp
###*/
.post-content a {font-weight:700;} /*Body links bold*/
.gm-style-iw-d {text-align: center;} /*Center aligns text in Google Maps Infoboxes*/
/*gfds.co.uk, eversley & gph
############################*/ 
.cta, .cta a.fusion-read-more, main a[href$="/contact-us/"], a[href$="/request-viewing/"], a[href$="/be-the-first-to-know/"]  {color:var(--awb-color2)!important;} /*Important required to override on fusion-read-more hover*/
.cta .fusion-read-more:after {color:var(--awb-color2);}
/*Some of the above selectors maybe removable now that styling happens based on link destination*/
.popover-title, .popover-content{text-align: center;}
.inline::before { content: " "; } /*Used in footer*/
.inline {display: inline;} /*Used in footer*/
 /* GPH only (for now)
######################
/*Template
========*/	
/*Override Avada Hard Baked Content Padding on Mobile*/ 
@media (max-width:640px){#main, .fusion-page-title-bar {padding:0 5px!important;}} 
aside#sidebar {text-align:right;} /*Get rid when all sidebars got rid*/
/* Hide the sidebar for small devices. */
@media (max-width:800px) {#sidebar{display:none;}} /*Get rid when all sidebars got rid*/  
/*Header
======*/	
	.fusion-page-title-captions {width:100%;} /*Div full width so breadcrumbs can align right*/	
	/*DESKTOP 1025px to max tested width 1880px 855px width range*/
		@media (min-width:1025px){h3 .tel {font-size:clamp(27px, 2.49vw ,44px)}} /*Match Logo Size*/
	/*Menu
  ====*/
  /*Avada support ticket 547852 Sticky Header Container with Long Menu on Mobile*/
  .fusion-sticky-transition .collapse-enabled.mobile-size-full-absolute:not(.mobile-mode-always-expanded) .awb-menu__main-ul {
    max-height: 90vh !important;}
  .fusion-sticky-transition .collapse-enabled.mobile-size-column-absolute:not(.mobile-mode-always-expanded) .awb-menu__main-ul {
    max-height: 90vh !important;}
  /*https://avada.com/documentation/avada-menu-options/ Menu Button */
  li.menu-cta:not(.current_page_item) a, .CTA-button {color:var(--awb-color1)!important;background: var(--awb-color2)!important;filter: brightness(93%);}
  li.menu-cta a:hover, .CTA-button:hover {filter: brightness(100%)!important;} 
  .awb-menu__description{letter-spacing:0.02em!important;line-height: 1.4!important;font-weight:300!important;} /*Counties*/    	
  /*a .awb-menu__description:hover {text-decoration-color:var(--awb-color5);}*/
  @media (max-width:1099px){.awb-menu .awb-menu__main-ul {font-size:18px!important;}}/*GPH Menu with 8 items needs smaller font-size at smaller desktop widths*/
	/*TABLET 641px to 1024px 383px width range*/
		@media (min-width:641px)and (max-width:1024px){
		.awb-menu__m-toggle{font-size:clamp(15px, 2.15vw, 20px)!important;}/*Match Logo Size*/
		}
		/*Phone Number menu item on Tablet Mobile Menu styled as a header element*/
		#menu-item-13453 span{width:100%;color:var(--awb-color5);font-size:clamp(15px, 2.15vw, 20px);}
	/*TABLET & MOBILE*/
		span.menu-text.menu-text_with-desc{display: inline-block;} 		/*Menu - Place county span inline*/
	  .awb-menu.collapse-enabled.awb-menu_indent-left ul ul a:before{content:"-";margin-right: 4px;} /* belongingness of sub-items in mobile menu by placing - before the sub menu items*/
/*Content Boxes
===============*/
  .content-boxes-full-width .content-box-wrapper {width:100%!important;} 
  @media (min-width:641px)and (max-width:1150px) {
  .content-boxes-full-width h2.content-box-heading{min-height:66px;}/*Counties pop up to town's line see RE: Content Boxes*/
  /*.content-boxes-full-width div.content-container{min-height:24px;}/*"Park"s pop up see RE: Content Boxes*/  }
/*GPH-PropertyListing
=====================*/
	/*Next 2 lines replaceable by using a border on a column with nested columns on the property listing - see Avada support ticket*/
	.page-template-100-width .GPH-property-listing {border-width:0px;} /*No border at 100% width container*/
	.page-template-100-width .GPH-property-listing .fusion-builder-row {border:3px solid var(--awb-color5);padding-top:15px; } /*Use fusion-builder-row as proxy for site width container*/
	@media (min-width:871px), (min-width:416px)and (max-width:640px) {.GPH-PropertyListing-Viewing{margin-left: 16%!important;}} /*Spaces buttons except <417px and between 641px and 870px but see next lines */
	@media (min-width:782px)and (max-width:870px) {.GPH-PropertyListing-Viewing{margin-left: 5%!important;}} /*Space buttons less when width is at a premium*/
	@media (max-width:373px) {.GPH-PropertyListing-Viewing{margin-left: 0!important;}} /*When buttons go one above the other, don't mess with center alignment*/
	@media (min-width:640px)and (max-width:781px) {.GPH-PropertyListing-Price h3{text-align:center!important;/*.GPH-PropertyListing-Viewing{margin-top: 20px!important; with current 7FD blurb this is not required */}}
	@media (min-width:1100px){.GPH-PropertyListing-Blurb{margin-top:20px!important;}}
	/*Checklists*/
	.GPH-PropertyListing-Checklist li {padding-top:0!important;float:left;margin:0 0 15px 15px!important;}
/*Maps
====*/
.wpseo-phone,.wpseo-url {visibility: hidden;font-size:0px;} /*Hide the URL and Phone labels on Yoast SEO Local Maps https://stackoverflow.com/questions/5521387/show-child-div-within-hidden-parent-div*/
.wpseo-phone a {visibility: visible;font-size:13px;} /*Show the phone content*/
.wpseo-url a:after {content: 'Find out more';visibility: visible;font-size:13px;} /*Replace the link text*/ 
#wpseo_location-13700 .wpseo-url a:after {display: none;} /*Don't show a link on the Office infobox */
.wpseo-info-window-wrapper a:link:not(a:hover) {text-decoration: none!important;} /*Fix a glitch where the 0 width link underline didn't work in the infobox */
/*Archives
========*/
/*Avada Archive Layout assumes Read More should go on a new line on mobile - but when almost all of the meta info is turned off then it should not */
@media (max-width:640px){
.fusion-meta-info .fusion-alignleft {display: inline !important;float: left!important;  width: auto!important;}
.fusion-meta-info .fusion-alignright {display: inline !important;float: right!important;  width: auto!important;}
}
/*List-Category-Posts
===================
	.lcp_catlist a {font-weight: 400;} */
/* footer
=========
  reset footer **menu** line heights not controllable via avada*/
  .fusion-footer-widget-area ul{line-height:0px!important;}
  /*Using legacy footer widget areas, menus are set to body font size*/ 
  .fusion-footer-widget-area ul li a {font-size:10pt;}
  @media (min-width:768px){ 
  .fusion-footer-widget-area .widget_nav_menu>div>ul>li:first-child {padding-top:5px!important;}   /* nudge menus down to align with top of search box*/   
  .fusion-footer-widget-column {margin-bottom:13px!important;}   /* Avada bottom margin for search 50px*/
  }
  .copyright,.copyright a:link {font-size: 12px;color:var(--awb-custom_color_1);}
  @media (max-width:1024px){#copyright {text-align: center;}}