/*
 * HSC DEVELOPER NOTE
 * Purpose: Small-screen responsive rules.
 * Where to change: Mobile/small-screen rules extracted from custom.css. Keep breakpoint-specific shared rules here.
 * Load order/conditions are defined in inc/theme/assets.php.
 */

/************************************************************************************
SMALL SCREENS ONLY
*************************************************************************************/
/***** Small. *****/
@media screen and (max-width: 639px) and (min-width: 100px) {
	


.breadcrumb {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  display: block;
  font-size: 1.05rem !important;

  /* Hide scrollbar */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
}

.breadcrumb::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.breadcrumb a {
  display: inline-block;
 
}



	.column {
    
     padding-right: 0.4rem; 
     padding-left: 0.4rem; 
}


      .subsiteSectionPadding {
			padding:10px;
		}
		   .subsiteSectionPadding .topicBlock,.subsiteSectionPadding .Sectionheading {
			margin:5px;
		}
		
		 .hero {
    height: 250px !important;
	
 }
 
 .hero-content-box {
	bottom: 10px;
	width: 100%;

    padding: .5rem; 
}
 
 .hero-content-box h1,
 .hero-content-box h2{
    font-size: 1.4rem;
	}
	
	.hero-content2 h1,
	.hero-content2 h2{
  font-size:1.5rem;
}

	.hero-content-none h2 {
  font-size:1.5rem;
}

.hero-row {
	margin:1rem !important;
}

	.hero-section-row {
	margin:1rem;
}
	.hero-type2 .hero-content2 {
    max-width: 90%; /* Limit content width */

}

#backToTop {

  bottom: 20px;
  right: 10px!important;

}

	
/* #menuButton, #searchButton {
    font-size: 1rem;
    line-height: 1.2;
    height: 105px;
    min-width: 82px!important;
    padding: 4px 5px;
    text-align: center;
} */
	
.categoryHeading {
	
	 padding-top:20px;
 }

}

@media screen and (max-width: 500px) {
	.feature-grid {
	grid-template-columns: 1fr;
	}
}

.single-post .mainbody {
    display: inline-block;
    width: 100%;
}



.directory >li > a {
	text-decoration: none; /* Remove the default underline */
}

/* fix for gravity forms select */
select {
	    background-position: right !important;
}

/* END: custom layout for WPFD */

.panel {
    border-style: solid;
    border-width: 1px;
    border-color: var(--main-colour);
    margin-bottom: var(--default-margin-bottom);
    padding: 15px;
    background: var(--secondary-colour);
    flex: 1; /* This will make the .panel fill the available space within .columns */
}

.panel h2, .panel h2 a {
	
	font-weight:600;
	margin-bottom:1.2rem;

}

.panel h3, .panel h3 a {
	font-size:1.3rem;
	font-weight:600;
	margin-bottom:1.1rem;
	
}

/* .panel p {
	margin-bottom:0rem;
	
} */

.highlightcolour {
	color: var(--highlight-colour) !important;
}
  .panelHighlight {
    background-color: var(--highlight-bg-colour);
    border: 1px solid var(--highlight-colour);
    transition: border-left-color 0.3s;
   }
   
   .HighlightLftBorder {
    border-left: 10px solid var(--highlight-colour);
   }
   
    .HighlightBtmBorder {
    border-bottom: 10px solid var(--highlight-colour);
   }

.whiteback {
    background: #fff;
}

.whitetext *{
    color: #fff !important;
}

/* .whitetext a, .whitetext h1, .whitetext h2, .whitetext h3, 
.whitetext h4, .whitetext h5, .whitetext h6,
.whitetext p {
color: #fff;
} */


.blacktext * {
    color: #000 !important;
}




.table-container {
overflow-x: auto;
}

table {
	margin-bottom: var(--default-margin-bottom) !important;
}


table, th, td {
  border: 1px solid #000;
      background-color: var(--highlight-bg-colour);
	   text-align: left;
	   
} 

th {
	/* Table headers are a primary structural element, so use the theme's Main Colour. */
	background-color: var(--main-colour);
	color: var(--text-on-main-colour);
}

.screen-reader-text,
.searchbox span.screen-reader-text {
    display: none;
}

.acf-map {
    width: 100%;
    height: 400px;
    border: #ccc solid 1px;
    margin: 20px 0;
}





/* fixes potential theme css conflict */
.acf-map img {
    max-width: inherit !important;
}

