/*
Theme Name: Preferred Painters Native
Description: Site-owned staging theme preserving Preferred Painters presentation and native blocks.
Version: 1.0.0
Requires at least: 7.1
Requires PHP: 8.0
Update URI: false
Text Domain: sfpp-native
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/


/* ------- Insert custom styles below this line ------- */

ul.primary-menu ul > li:hover > a {
	background-color: #0b475e;
	color: #fff;
}

.header-skin-transparent {
    color: #fff;
    background-color: rgba(29, 33, 40, .85);
}

.sticky-form { display: none; width: 300px; position: fixed; z-index: 9999; right: 0; top: 161px; background-color: #bf5e5e; padding: 0 10px; transition: all 0.5s ease;}
.sticky-form h3 { text-align: center; margin: 10px; color: #fff; font-size: 24px;}
.sticky-form .wpcf7 form p { margin: 0px 0 5px 0 !important;}
.sticky-form .col-md-6 {width:100%;}
.sticky-form input[type="submit"] {color:#FFF;}
.sticky-form input[type="submit"]:hover {color:#bf5e5e;}
.sticky-form.closed {right:-300px;}
.sticky-form a.form-toggle {position:absolute; top:20px; left:-60px; transform: rotate(-90deg); background-color:#bf5e5e; width:80px; height:40px; cursor:pointer !important;}
.sticky-form a.form-toggle:before { display:block; content:"Close"; color:#FFF; text-align: center; width: 100%; padding-top: 4px; cursor:pointer !important;}
.sticky-form.closed a.form-toggle:before { display:block; content:"Open"; }

.mobile-phone-number {display:table-caption; text-align:center;}
.mobile-phone-number .list-inline {margin: 10px auto 0 auto;}
.mobile-phone-number .header-hightlight small { display: inline-block; margin: 5px 10px;}
.mobile-phone-number .header-hightlight strong {white-space:nowrap;}
.mobile-phone-number .header-label {display:none;}

@media all and (min-width:992px) {
	.mobile-phone-number {display:none;}	
}

@media all and (min-width:1600px) {
  .sticky-form {
      display: block;
  }
}

/* Native shell behavior; no legacy JavaScript library. */
ul.primary-menu li:hover > ul, ul.primary-menu li:focus-within > ul { display:block; }
#toggle-mobile-menu[role="button"]:focus-visible,.search-icon[role="button"]:focus-visible { outline:2px solid currentColor;outline-offset:4px; }
#mobile-menu[hidden],.sfpp-native-search-closed { display:none !important; }
.post-slider.sfpp-post-slider{display:block;position:relative}.sfpp-post-slider>a{display:block}.sfpp-post-slider>a[hidden]{display:none}.sfpp-post-controls{position:absolute;right:10px;bottom:10px;display:flex;gap:6px}.sfpp-post-controls button{border:0;background:#0008;color:#fff;padding:4px 14px;font-size:26px}.post-content iframe[src*="youtube"],.post-content iframe[src*="vimeo"]{max-width:100%;aspect-ratio:16/9;height:auto}
