/* NY Contractors header. Structure: NY Tile Center; palette: Richmond Stone. */
#header.header-builder-p:has(.nyc-header-top) {background:#fff;box-shadow:0 1px 5px rgba(0,0,0,.08)}
/* Porto's editor tooltip otherwise overlays the first mobile navigation items. */
#header:has(.nyc-header-top) .porto-tooltip-wrap {display:none!important}
#header .nyc-header-top,#header .nyc-header-nav {margin:0;padding-left:max(15px,calc((100% - 1140px)/2));padding-right:max(15px,calc((100% - 1140px)/2))}
#header .nyc-header-top {min-height:104px;display:flex;align-items:center;flex-wrap:nowrap}
#header .nyc-header-top>.vc_column_container {padding:0 15px;min-width:0}
#header .nyc-header-top .vc_column-inner {padding-top:0}
#header .nyc-header-logo,#header .nyc-header-copy,#header .nyc-header-phone,#header .nyc-header-socials {margin-bottom:0}
#header .nyc-header-logo {max-width:270px;line-height:0}
#header .nyc-header-logo .vc_single_image-wrapper {background:#1b1b1b;padding:5px 8px;border-radius:2px}
#header .nyc-header-logo img {width:100%;height:auto;max-width:100%}
#header .nyc-header-center-col>.vc_column-inner {display:flex;justify-content:center}
#header .nyc-showroom-copy {text-align:center;line-height:1.25;white-space:nowrap}
#header .nyc-showroom-copy strong,#header .nyc-showroom-copy span {display:block}
#header .nyc-showroom-copy strong {font-size:28px;font-weight:700;letter-spacing:.01em;color:#1b1b1b}
#header .nyc-showroom-copy span {font-size:15px;letter-spacing:.025em;color:#666;margin-top:4px}
#header .nyc-header-right-col>.vc_column-inner {display:flex;flex-direction:column;align-items:center;justify-content:center}
#header .nyc-phone-block {white-space:nowrap;line-height:1.2;text-align:center}
#header .nyc-phone-block a {color:#1b1b1b;font-size:21px;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;gap:5px}
#header .nyc-phone-block a:hover {color:#826846}
#header .nyc-phone-block .fas {color:#826846}
#header .nyc-header-socials {margin-top:10px}
#header .nyc-header-socials .share-links {display:flex;align-items:center;gap:6px;margin:0}
#header .nyc-header-socials .share-links>a,#header .nyc-header-socials .share-links>span {width:28px;height:28px;min-width:28px;border-radius:50%;border:0;box-shadow:none;color:#fff!important;display:inline-flex;align-items:center;justify-content:center;font-size:12.8px;line-height:28px;margin:0 1px;transition:opacity .25s ease}
#header .nyc-header-socials .share-facebook {background:#3b5a9a!important}
#header .nyc-header-socials .share-houzz {background:#73ba37!important}
#header .nyc-header-socials .share-googleplus {background:#db3236!important}
#header .nyc-header-socials .share-rss {background:#ff8201!important}
#header .nyc-header-socials span {cursor:default}
#header .nyc-header-socials .share-links>span::before {content:none}
#header .nyc-header-socials .share-links>a:hover {opacity:.9}
#header .nyc-header-nav {background:#1b1b1b}
#header .nyc-header-nav .vc_column-inner {padding-top:0;display:flex;justify-content:center}
#header .nyc-header-nav .main-menu {display:flex;justify-content:center;flex-wrap:nowrap;min-height:42px;width:auto;margin:0}
#header .nyc-header-nav .main-menu>li {float:none;flex:0 0 auto}
#header .nyc-header-nav .main-menu>li>a {color:#fff;font-size:12px;font-weight:600;letter-spacing:.01em;line-height:42px;padding:0 12px;white-space:nowrap;border-radius:0}
#header .nyc-header-nav .main-menu>li:hover>a,#header .nyc-header-nav .main-menu>li:focus-within>a,#header .nyc-header-nav .main-menu>li.active>a,#header .nyc-header-nav .main-menu>li.current-menu-item>a,#header .nyc-header-nav .main-menu>li.current-menu-ancestor>a {background:#826846;color:#fff;box-shadow:inset 0 -2px 0 #826846}
#header .nyc-header-nav .popup {border-top:3px solid #826846}
#header .nyc-header-nav .popup .sub-menu {background:#fff}
#header .nyc-header-nav .popup a {color:#777;border-color:#f3f3f3}
#header .nyc-header-nav .popup a:hover,#header .nyc-header-nav .popup a:focus {background:#826846;color:#fff}
#header .nyc-header-nav .main-menu>li:focus-within>.popup {display:block;visibility:visible;opacity:1}
#header .nyc-mobile-toggle {display:none}
#header .nyc-header-top a:focus-visible,#header .nyc-header-nav a:focus-visible {outline:2px solid #826846;outline-offset:3px}
@media (min-width:992px) and (max-width:1199px) {
 #header .nyc-header-nav .main-menu>li>a {font-size:11px;padding:0 9px}
 #header .nyc-showroom-copy strong {font-size:25px}
 #header .nyc-showroom-copy span {font-size:13px}
 #header .nyc-header-logo {max-width:250px}
}
@media (max-width:991px) {
 #header .nyc-header-top {min-height:82px;justify-content:space-between}
 #header .nyc-header-top>.nyc-header-logo-col {width:auto;flex:1 1 auto}
 #header .nyc-header-top>.nyc-header-right-col {width:auto;flex:0 0 auto}
 #header .nyc-header-center-col,#header .nyc-header-socials,#header .nyc-header-nav {display:none}
 #header .nyc-header-right-col>.vc_column-inner {flex-direction:row;gap:9px}
 #header .nyc-header-logo {max-width:210px}
 #header .nyc-phone-block a {width:40px;height:40px;border:1px solid #dedede;border-radius:3px;display:flex;align-items:center;justify-content:center;font-size:0;gap:0}
 #header .nyc-phone-block .fas {color:#1b1b1b;font-size:17px}
 #header .nyc-mobile-toggle.mobile-toggle {width:40px;height:40px;background:#1b1b1b;border-radius:3px;color:#fff;display:flex;align-items:center;justify-content:center;margin:0;padding:0!important}
 #header .nyc-mobile-toggle.mobile-toggle i {color:#fff;font-size:24px}
 #header .mobile-menu li.active>a,#header .mobile-menu .current-menu-item>a,#header .mobile-menu a:hover,#header .mobile-menu a:focus {background:#826846;color:#fff}
 #header .mobile-menu .arrow:hover {color:#826846}
 /* Porto moves the opened mobile menu out of #header into #nav-panel. */
 body.wp-child-theme-nycontractors #nav-panel .accordion-menu li.menu-item.active>a,
 body.wp-child-theme-nycontractors #nav-panel .accordion-menu li.current-menu-item>a,
 body.wp-child-theme-nycontractors #nav-panel .accordion-menu a:hover,
 body.wp-child-theme-nycontractors #nav-panel .accordion-menu a:focus {background-color:#826846;color:#fff}
 body.wp-child-theme-nycontractors #nav-panel .accordion-menu .arrow:hover {color:#826846}
}
@media (max-width:575px) {
 #header .nyc-header-top {min-height:72px;padding:0 10px}
 #header .nyc-header-top>.vc_column_container {padding:0 5px}
 #header .nyc-header-logo {max-width:185px}
}
/* Native Porto Logo uses Theme Options. Keep the established logo slot. */
#header .nyc-header-logo.logo{margin:0;line-height:0}
#header .nyc-header-logo.logo a{display:block}
#header .nyc-header-logo.logo img{display:block;height:auto}
/* Retain circle sizes/gaps/colors; lower the group slightly and center glyphs. */
#header .nyc-header-socials{position:relative;top:2px}
#header .nyc-header-socials .share-links i{display:block;line-height:1}
#header .nyc-header-socials .share-links>.share-rss:before{position:static;display:block;line-height:1;width:auto;height:auto;margin:0;transform:none}
/* Explicit active dropdown states supplement Porto's native navigation colors. */
#header .nyc-header-nav .popup li.active>a,#header .nyc-header-nav .popup li.current-menu-item>a{background-color:#826846;color:#fff}
