.home .page-header .entry-title  {
  display: none;
}

.home .has-background-cover .overlay {
  opacity: 0;
}

/*  ===== HEADER CODE ===== */
body .site-header {
    background-color: #000000 !important; /* Set the background color to black */
    opacity: 1 !important; /* Set the opacity to 1 to make it non-translucent */
}

.site-header .main-navigation a {
    font-size: 16px; /* Adjust the font size as needed */
}

/* move homepage header text to center  | 20075127-hc  bk */
.home .page-header.has-background-cover .container {
    height: 100%;
    display: flex; 
    align-items: center; 
}

/* Reduce Header Space on Subpages | #20077578-hc KEF */
body:not(.page-id-1723):not(.page-id-412):not(.single-post) #primary-header {
    max-height:100px;
}
/* remove space at the top of menu */
@media screen and (min-width: 775px) {
    .admin-bar .site-header {
        top: 0;
}}
/* Make appointment menu item a button | 26514912-hc kf */
#menu-item-355 {
    background-color: maroon;
    padding: 0.2em;
    border-radius: 1em;
}
/* change SCROLLING menu text color and background | 20075127-hc bk */
@media (min-width: 768px) {
	#masthead.scroll-header, #masthead.scroll-header a {
		color: #FFFFFF;
    }
	.site-header.scroll-header {
        background: black !important;
}
}
/* change STATIC menu header background and text color */
#primary-header {
  background: black;
}
.site-header a {
	color: white;
}
/* Fix logo size | 23460010-HC NJ */
.site-header .site-branding img {
    max-height: 100px;
}

/* ===== MENU CODE EXCLUDING LINK COLOR ===== */


/* add underline to current menu item  | 3243129-zd bk */
.main-navigation ul:not(.sub-menu):not(.children) > li.current_page_item > a {
    border-bottom: 1px solid;
    left: 0;
    width: 100%;
}
/* change menu font size  | 20075127-hc bk */
.menu-navigation a {
	font-size: 1.4em;
}

/* ====== PORTFOLIO MENU ====== */

/* portfolio menu background color */
@media (min-width: 768px){
    .site-header.scroll-header, .site-header.default-view-header {
        background: #691111;
    }
}
/* change portfolio menu font color */
#masthead.default-view-header a  {
      color: #ffffff;
 }
 /*Change header on portfolio pages | SN-26514003-hc*/
.jetpack-portfolio-template-default.single.single-jetpack-portfolio .has-background-cover .overlay {
     height: 200px;
}
 .jetpack-portfolio-template-default.single.single-jetpack-portfolio img.th-featured-image.th-cover.th-w-full.th-h-full.wp-post-image {
     height: 200px;
}


/* ====== GENERAL SITE CHANGES ===== */

/*Reverse order for media & text blocks, media on right, on mobile | 20235713-hc sb*/
@media (max-width: 600px) {
  .wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__media {
    grid-row: 1;
  }
.wp-block-media-text.is-stacked-on-mobile.has-media-on-the-right .wp-block-media-text__content{
    grid-row: 2;
  }
}
/*Replace logo on mobile | 20260264-hc sb*/
@media (max-width: 991px){
  .site-branding img{
   content: url('https://traditioncustomhomes.com/wp-content/uploads/2020/04/LOGOBLACK.png');
  }
}
/* Align legacy center-aligned buttons to center text */
.wp-block-button.aligncenter {
	text-align: center;
}
/* Change Contact Form Required Text Color #21416710-hc-jg */
.grunion-field-label span {
    color: #96060e !important;
}


/* remove underline for current menu hover  | 3243129-zd bk */
.main-navigation ul:not(.sub-menu):not(.children) > li.current_page_item  > a:hover:before {
  border-bottom: none;
}

/* hide page titles except on single posts  | 3243129-zd bk */
body:not(.home):not(.single) #primary-header .container {
  display: none;
}
/*  hide file name from gallery carousel #23584258-hc */ 
.jp-carousel-titleanddesc-title {
  display: none;
}

	
	@media (min-width: 500px) {
.sm\:th-py-lg {
    padding-bottom: 0 !important;
    padding-top: 10px;
}}
	
	@media (min-width: 500px) {
.sm\:th-py-3xl {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}}

