
/* Welcome to Custom CSS!

To learn how this works, see http://wp.me/PEmnE-Bt
*/

/* Add green Site Header / 35170527-hc rw */
.site-header {
  background-color: #007b31;
}

/* Add border between the menu items */
.main-navigation a {
	font-size: .5em;
	border-right: 1px solid #2ee;
	padding-right: 20px;
}

/* For divder height and removing last one */
.main-navigation a, .main-navigation a:hover, .main-navigation a:focus, .main-navigation a:active {
	padding-top: 1px;
	padding-bottom: 1px;
	margin-bottom: 5px;
}

li#menu-item-678 a {
	border-right: none;
}

/* Menu font size */
.main-navigation a {
	font-size: .95em;
}

/* Remove header for All Testimonal page */

.menu-item-678 a {
		border-right: none;
} 

/* Header image location */
.hero.without-featured-image {
	background-size: contain;
	background-position: 0 100%;
	background-color: #012366;
	background-position: bottom center;
}

/* remove blue bar under header Sam */
.site-content .hero {
  display: none;
}

/* To remove page titles appearing */
.page .page-title {
	display: none;
}

/* Sam removed code here re header transparent 16-9-2020 */

/* Set menu color | hc-24173171*/
@media screen and (min-width: 1020px) {
	.hero-image .site-header {
		background: #007b31;
	}
}

/* Around grid spacing */
.archive .hentry, .blog .hentry, .search .hentry, .content-area, .featured-page, .featured-page-area, .footer-widget-area, .front-page-widget-area, .grid, .grid-wrapper, .widget, .widget-area {
	padding-top: 24px;
	padding-bottom: 0;
}

/* Padding at bottom of widgets section */
.widget {
	padding-bottom: 20px;
}

/* This is a comment */
.main-navigation a, .main-navigation a:hover, .main-navigation a:focus, .main-navigation a:active {
	color: #FFFFFF;
}

/* This is a comment */
@media screen and (min-width: 1020px) {
	.main-navigation li {
		margin-right: 12px;
	}
}

/* This is a comment */
.hero .hentry .entry-content {
	padding-top: 40px;
}

/* This is a comment */
.main-navigation {
	text-transform: none;
}

/* Reduce logo size and blue space beind logo */
.site-logo-link img {
	max-height: 40%;
	max-width: 40%;
}

/* Remove social media widgets from phone view */
.widget_wpcom_instagram_widget,
.widget_twitter_timeline,
.widget_facebook_likebox {
	display: none;
}

@media screen and (min-width:768px) {
	.widget_wpcom_instagram_widget,
												.widget_twitter_timeline,
												.widget_facebook_likebox {
		display: inherit;
	}
}

/* Remove heading from search resuts page */
body.search.search-results h1.page-title {
	display: none;
}

/* Widget color border and backgrounds */
#text-12 {
	background-color: #f5b041;
	padding: 10px;
}

#text-6 {
	background-color: #f5b041;
	padding: 10px;
}

#image-7 {
	border: 4px solid #f5b041 !important;
	padding: 10px !important;
}

#text-14 {
	border: 4px solid #f5b041;
	padding: 10px;
}

#widget_contact_info-10 {
	border: 4px solid #f5b041
!important;
	padding: 10px !important;
}



#image-3 {
	border: 4px solid #f5b041 !important;
	padding: 10px !important;
}

/* Hide WP Action Bar */

div#actionbar {
	display: none;
}

.grecaptcha-badge{
 visibility: collapse !important;  
}

.entry-meta {
	display: none;
}

/* Hide all widgets on multiple pages */
.page-id-21853 .widget,
.page-id-21862 .widget,
.page-id-21825 .widget,
.page-id-21860 .widget,
.page-id-21861 .widget,
.page-id-21864 .widget,
.page-id-21859 .widget,
.page-id-21846 .widget,
.page-id-21865 .widget,
.page-id-21978 .widget,
.page-id-21863 .widget {
    display: none !important;
}

.post-navigation .nav-links {
	visibility: hidden;align-content}

/* For SMTT Foklifts page */

body.page-id-21638 header,
body.page-id-21638 footer,
body.page-id-21638 .header,
body.page-id-21638 .footer,
body.page-id-21638 [class*="header"],
body.page-id-21638 [class*="footer"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

body.page-id-21638 .site-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Permanent fix for last two menu items */
#site-navigation .menu-item:nth-last-child(-n+2) > a,
.menu-primary .menu-item:nth-last-child(-n+2) > a,
#menu-services .menu-item:nth-last-child(-n+2) > a {
    /* Restore proper dimensions and visibility */
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 20px !important;
    
    /* Ensure text is properly sized */
    font-size: 16px !important;
    line-height: 1.5 !important;
    opacity: 1 !important;
    visibility: visible !important;
    
    /* Correct positioning */
    position: relative !important;
    z-index: 100 !important;
}

/* Prevent parent containers from clipping content */
#site-navigation .menu-item:nth-last-child(-n+2),
.menu-primary .menu-item:nth-last-child(-n+2),
#menu-services .menu-item:nth-last-child(-n+2) {
    overflow: visible !important;
}