/* General styles */

body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
	font-weight: normal;
	color: #252122;
	font-size: 15px;
	line-height: 1.7;
	background: #252122; /* overcomes issue where chrome showed white after footer */
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
  scroll-behavior: smooth;
}

/* Responsive banners on home page */
.responsive-banner {
  max-width: 100%;
  height: auto;
  display: block; /* removes bottom inline gap */
  margin: 35px 0 35px 0; /*35px top and bottom margin on banners */
  transition: box-shadow 0.3s ease-in-out; /*eases box shadow on hover in and out */
}

.responsive-banner:hover {
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.6); /*display box shadow on home page desktop banner links on hover */
}

@media (max-width: 767px) {
    .responsive-banner {
  margin: 20px 0 20px 0; /*reduce top and bottom margin on banners on mobile*/
    }
}

.white-bg {
	background: #fff; /* give sections a white background */
}

/* prevent cms editable regions from being able to display underlining with classes and pseudo-class*/
.editable [style*="underline"] {
  text-decoration: none !important;
}

u {
  text-decoration: none !important;
}

.editable u {
  text-decoration: none !important;
}

/*smooth text */
body { -webkit-font-smoothing: antialiased; }

/*Fluid Video CSS */
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
	
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Banner Home Page */
@media (min-width: 768px) {
.banner-desktop {
	display: block;
	margin-bottom: clamp(1.25rem, 1.0682rem + 0.9091vw, 1.875rem); /* margin beneath banners */
	}
.banner-mobile {
	display: none; /* hide mobile versions of home page banners on desktop */
	}
}

@media (max-width: 767px) {
.banner-desktop {
	display: none; /* hide desktop banner on mobile devices */
	}
.banner-mobile {
	display: block; /* show mobile versions of home page banners on mobile devices*/
	margin-bottom: clamp(1.25rem, 1.0682rem + 0.9091vw, 1.875rem); /* margin beneath banners */
	}
}

img {
	max-width: 100%;/* restrict images to max of 100% size or 100% of their parent container */
}
.sitelogo {
	max-width: 250px; /* set a maximum width for the site's logo */
	align-self: flex-start; /* Ensure the logo is aligned to the left */
    display: block; /* removes inline baseline gap under the image */
}
@media (max-width: 575px) {
	.sitelogo {
		max-width: 230px; /* Reduce size of logo at 575px to avoid overcrowsing in header */
	}
}
.cqc {
	max-width: 162px; /* set a maximum width for the cqc logo in the header */
	align-self: flex-end; /* Align to the right */
	margin-bottom: 15px;
}

@media (min-width: 576px) and (max-width: 1200px) {
	.cqc {
		margin-right: 50px; /* add right margin to cqc logo between 546px and 1200px */
	}
}
@media (max-width: 575px) {
	.cqc {
		display: none; /* hide cqc logo at 575px and below */
	}
}

.banner {
	margin-bottom: 0;
}

.banner p {
	padding: 0;
	margin: 0; /* prevents cms from adding padding to image if adds p tages when publishing */
}


/* Typography */

h1, h2, h3, h4, h5, h6 {
	color: #252122;
	font-weight: 700;
	line-height: 1.1;	
	margin-bottom: 0.75rem;
	margin-top: 0.75rem;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: inherit;
	text-decoration: none;
}

h1 {
	font-size: clamp(1.75rem, 1.5318rem + 1.0909vw, 2.5rem);
}
h2 {
	font-size: clamp(1.65rem, 1.5773rem + 0.3636vw, 1.9rem);
}
h3 {
	font-size: clamp(1.5rem, 1.5773rem + 0.3636vw, 1.75rem);
}

p {
	margin-bottom: 1.5rem;
	margin-top: 0;
}

p, ul, ol, li {
	font-size: 1rem;
}

ul, ol {
	margin-top: 0;
	margin-bottom: 1.5rem;
}

ul {
	list-style-type: circle /* change the standard bullet point to a circle*/
}

a {
	color: #396FAC;
	text-decoration: underline;
}
a:hover {
	color: #5F922B;
	text-decoration: none;
}

/*==== ACCESSIBILITY ====*/

/* Apply focus effect across site for keboard users only - some other more specific css is needed for search box and buttons*/	
  :focus:not(:focus-visible) {
    outline: none; /* no outline for mouse users */
  }
  :focus-visible {
    outline: 4px dotted #F89823; /* outline for keyboard users */
  }
  /* Target image links in main container for keyboard focus */
  #main a:focus-visible img {
    outline: 4px dotted #F89823; /* apply the outline to image links */
  }
  /* Target banner image links on home page for keyboard focus */
  #banners a:focus-visible img {
    outline: 4px dotted #F89823; /* apply the outline to image links */
  }

  /* Skip Nav */

.skip-link {
  left: 50%;
  margin-top: -2px;
  padding: 10px 8px 10px 8px;
  position: absolute;
  transform: translateY(-100%);
  transition: transform 0.3s;
  color: white;
  background: #252122;
  }

.skip-link:focus {
  transform: translateY(0%);
   margin-top: 15px;
   background: #252122;
  border-bottom: none;
  text-decoration: none;
}

/*==== END ACCESSIBILITY ====*/

/* Header and Main Section spacing , background colours etc to override standard section styles */
.header-section {
   background: white;
   padding-top: 20px; /* Override section padding with clamp that takes padding top and bottom from 20px to 30px */
	padding-bottom: 20px;
}
.main-section {
   background: #f5f6f7;
}
.main-grid-section {
   background: #f5f6f7;
}
.main-grid-alt-section {
   background: #f5f6f7;
}

.main-grid-alt2-section {
   background: #f5f6f7;
}

.main-grid-alt3-section {
   background: #f5f6f7;
}

.main-grid-alt4-section {
   background: #f5f6f7;
}

.main-grid-alt5-section {
   background: #f5f6f7;
}

.custom-grid-section {
   background: #4568A1; /* This month section */
}


/* Header CSS */

.header {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.header .column {
    flex: 1;
    display: flex;
    flex-direction: column;
	margin-top: auto;
	min-height:0;
}

.header .column:first-child {
    justify-content: flex-end; /* align the content to the bottom */
    align-items: flex-start/* aligns the content to the left */
}

.header .column:last-child {
    justify-content: flex-end; /* align the content to the bottom */
    align-items: flex-end/* aligns the content to the left */
}

.search-container {
    display: flex;
    align-items: flex-end; /* Vertically align the search box and button to bottom */
    justify-content: flex-end; /* Align the search box and button to the right */
}

.search-box {
    align-self: flex-end; /* Align the search box to the bottom */
	max-width: 100%;
	border: 1px solid #ccc;
	padding: 6px;
	border-radius: 5px; /* Rounded corners  */
	font-size: 0.95rem;
	color: #8a8a8a;
}

.search-box:focus {
    border: 1px solid #4568A1; /* change border colour */
	outline: none;
    box-shadow: 0 0 5px rgba(69, 104, 161, 0.75); /* Apply a 5px blur box shadow when focused */
}
	
.search-button {
	align-self: flex-end; /* Align the search box to the bottom */
    padding: 8px 10px;
    background-color: #4568A1; /* Blue background */
    color: white;
    text-decoration: none;
	line-height: 1;
    font-size: 0.925rem;
	margin-left: 10px; /* margin-to the search box */
    border-radius: 5px; /* Rounded corners  */
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #252122; /* Dark grey background on hover */
	color: white; /*ensure button text remains white on hover */
}

/* Responsive change to header layout at 575px and below */
@media (max-width: 575px) {
    .header {
        flex-direction: column; /* Stack header colums vertically on mobile */
    }

    .header .column {
        width: 100%;
        align-items: flex-start; /* Align header columns to the left on mobile */
    }
	
	.search-container {
        width: 100%; /* Make the search container take full width */
        justify-content: flex-start; /* Align the search box and button to the left */
    }

    .search-box {
        align-self: flex-start; /* Align the search box to the left on mobile*/
		margin-top: 15px; /* add top margin */
		width: calc(100vw - 40px); /* Use calc to make search box full width minus the search button width */
    }
}

/* Navigation Styles */
.navigation {
    background-color: #4568a1; /* Blue background */
    color: white;             /* Text color */
    padding-top: 0;               /* Remove top padding */
	padding-bottom: 3px;               /* little bit of bottom padding aligns desktop navigation better */
    height: 65px;             /* Set a height for the navigation section */
    display: flex;            /* Use Flexbox for vertical alignment */
    align-items: flex-end;      /* Vertically center the container */
    justify-content: start  /* Horizontally center the container */
}

@media (max-width: 1200px) {
.navigation {
	height: 3px; /*Reduce the nav background to effectively be a 4px separator line one mobile menu shows*/
	}
}

.nav-container {
    display: flex;            /* Use Flexbox for content alignment */
    align-items: center;      /* Vertically center the text links */
    gap: 20px;                /* Optional: space between links */
}

.navigation a {
    color: white;             /* Link color */
    text-decoration: none;    /* Remove underline from links */
    font-size: clamp(0.9375rem, 0.9011rem + 0.1818vw, 1.0625rem);        /* Font size for links */
    line-height: 1.2;        /* Match the height of the container to align text vertically */
	text-transform: none;
	font-weight: 400;	
}

.navigation a:hover {
    text-decoration: none;
}

/* Home Page Grid Styles */

.main-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns as default */
  gap: 30px;
  grid-auto-rows: minmax(min-content, max-content); /* Auto-adjust row heights */
}

.main-grid a {
    text-decoration: none !important; /* removes any default underlining of links */
  }

@media (max-width: 1200px) {
  .main-grid {
    grid-template-columns: repeat(4, 1fr); /*  Keep number of columns in main grid row at 4 */
    gap: 25px; /* Reduce gap size */
  }
}

@media (max-width: 1023px) {
    .main-grid {
    grid-template-columns: repeat(3, 1fr); /*  Reduce number of columns in main grid row to 3 */
    gap: 25px; /* Reduce gap size */
  }
}

@media (max-width: 767px) {
    .main-grid {
    grid-template-columns: repeat(2, 1fr); /*  Reduce number of columns in main grid row to 2 */
    gap: 25px; /* Reduce gap size */
  }
}
 
 @media (max-width: 575px) {
    .main-grid {
    grid-template-columns: 1fr; /* Reduce number of columns in main grid row to 1 */
    gap: 20px; /* Reduce gap size */
  }
}

.main-grid .grid-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  display: inline-block; /*adding this restricts the hover underline effect to the width of the text not the whole div */
  text-align: center; /* Center the inline-block horizontally */
  height: 100%; /* make sure the grid item fills 100% of row height */
  width: 100%; /* make sure the grid item fills 100% of available width */
  background: #4568A1;
  padding-bottom: 20px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15); /* add light box shadow to grid item */
}

.main-grid .grid-item:hover {
  background: #00AC60; /* Change grid item background colour on hover */
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5); /* darken box shadow on grid item on hover */
}

.main-grid .grid-item p  {
  margin: 15px 0 0 0;
  text-align: center; /* Center the text horizontally */
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  display: inline-block; /* adding this restricts the hover underline effect to the width of the text not the whole div */
}

.main-grid .grid-item:hover p {
  color: #fff; /* change text colour on hover of wrapper div */
}

.main-grid .grid-item a {
   color: #fff;
}

.main-grid .grid-item:hover img {
  /* Add styles if needed */
}

/* Home Page Grid Alternative Styles */

.main-grid-alt {
  display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three equal columns */
    grid-template-rows: auto; /* Rows adjust to the tallest item */
    gap: 30px; /* Gap between items */
}

.main-grid-alt a {
    text-decoration: none !important; /* removes any default underlining of links */
  }

@media (max-width: 1200px) {
  .main-grid-alt {
    grid-template-columns: repeat(3, 1fr); /*  Keep number of columns in grid row at 3 */
    gap: 25px; /* Reduce gap size */
  }
}

@media (max-width: 1023px) {
    .main-grid-alt {
    grid-template-columns: repeat(2, 1fr); /*  Reduce number of columns in grid row to 2 */
    gap: 25px; /* Reduce gap size */
  }
}

@media (max-width: 767px) {
    .main-grid-alt {
    grid-template-columns: repeat(2, 1fr); /* Keep number of columns in grid row at 2*/
    gap: 25px; /* Reduce gap size */
  }
}
 
 @media (max-width: 575px) {
    .main-grid-alt {
    grid-template-columns: 1fr; /* Reduce number of columns in grid row to 1 */
    gap: 20px; /* Reduce gap size */
  }
}

.main-grid-alt .grid-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* left align items */
  /*display: inline-block;  adding this restricts the hover underline effect to the width of the text not the whole div */
  text-align: left; /* Left align the text content */
  background: #fff;
  height: 100%; /* make sure the grid item fills 100% of row height */
  width: 100%; /* make sure the grid item fills 100% of available width */
  padding: 20px; /* Set padding */
  border: 2px solid transparent; /* Set border color as transparent for hover-effect */
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15); /* Add light box shadow to grid item */
  transition: background .3s ease-in-out, border .3s ease-in-out; /* Set transitions for grid item hover effects */
}

.main-grid-alt .grid-item:hover {
  background: #fff; /* set grid item background on hover */
  border: 2px solid #4568A1; /* Set border color on hover */
  /*box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);  /* darken box shadow on grid item on hover */
}

.main-grid-alt .grid-item p  {
  margin: 15px 0 0 0;
  text-align: left; /* left align the text horizontally */
  color: #252122;
  font-size: inheit;
  font-weight: inherit;
  display: inline-block; /* adding this restricts the hover underline effect to the width of the text not the whole div */
}

.main-grid-alt .grid-item h2  {
  font-size: clamp(1.3rem, 1.1418rem + 0.2909vw, 1.4rem);
  margin-bottom: 0;
}

.main-grid-alt .grid-item:hover p {
  color: #252122; /* set text colour on hover of wrapper div */
}

.main-grid-alt .grid-item a {
   text-decoration: none; /* Remove default underline from text as removing it from the grid p doesn't work*/
   color: #fff;
}

.main-grid-alt .grid-item i {
    font-size: 24px; /* icon size */
    color: white; /* icon colour */
	max-width: 48px;
	font-weight: 700;
	padding: 12px; /* add padding around icon */
	background: #4568A1; /* set background colour behind icon */
	border-radius: 5px; /* Add some curve radius to icon background */
    margin-bottom: 0; /* Space between icon and text */
}

.main-grid-alt .grid-item:hover img {
  /* Add styles if needed */
}

/* Home Page Grid Alternative 2 Styles */

.main-grid-alt2 {
  display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three equal columns */
    grid-template-rows: auto; /* Rows adjust to the tallest item */
    gap: 25px; /* Gap between items */
}
.main-grid-alt2 a {
    text-decoration: none !important; /* removes any default underlining of links */
  }

@media (max-width: 1200px) {
  .main-grid-alt2 {
    grid-template-columns: repeat(3, 1fr); /*  Keep number of columns in grid row at 3 */
    gap: 25px; /* Keep gap size */
  }
}

@media (max-width: 1023px) {
    .main-grid-alt2 {
    grid-template-columns: repeat(2, 1fr); /*  Reduce number of columns in grid row to 2 */
    gap: 20px; /* reduce gap size */
  }
}

@media (max-width: 767px) {
    .main-grid-alt2 {
    grid-template-columns: repeat(2, 1fr); /* Keep number of columns in grid row at 2 */
    gap: 20px; /* keep gap size */
  }
}
 
 @media (max-width: 575px) {
    .main-grid-alt2 {
    grid-template-columns: 1fr; /* Reduce number of columns in grid row to 1 */
    gap: 20px; /* keep gap size */
  }
}

.main-grid-alt2 .grid-item {
  display: flex;
  flex-direction: row; /* Ensure items are arranged in a row */
  align-items: center; /* Vertically center align items */
  justify-content: flex-start; /* Horizontally align items to the left */
  text-align: left; /* Left align the text content */
  background: #fff;
  height: 100%; /* Ensure the grid item fills 100% of row height */
  width: 100%; /* Ensure the grid item fills 100% of available width */
  padding: 15px; /* Set padding */
  border: 2px solid #d8d7d7; /* Set border color for hover-effect */
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);  /* Add light box shadow to grid item */
  transition: background .3s ease-in-out, border .3s ease-in-out; /* Set transitions for grid item hover effects */
}


.main-grid-alt2 .grid-item:hover {
  background: #fff; /* set grid item background on hover */
  border: 2px solid #4568A1; /* Set border color on hover */
  /*box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);  /* darken box shadow on grid item on hover */
}

.main-grid-alt2 .grid-item p  {
  margin: 15px 0 0 0;
  text-align: left; /* left align the text horizontally */
  color: #252122;
  font-size: inheit;
  font-weight: inherit;
  display: inline-block; /* adding this restricts the hover underline effect to the width of the text not the whole div */
}

.main-grid-alt2 .grid-item h2  {
  font-size: clamp(1.3rem, 1.1418rem + 0.2909vw, 1.4rem);
  font-weight: 600;
  display: inline-block; /* Ensure h2 does not take up the entire row */
  margin: 0; /* Reset any default margins */
}

.main-grid-alt2 .grid-item:hover p {
  color: #252122; /* set text colour on hover of wrapper div */
}

.main-grid-alt2 .grid-item i {
    font-size: 24px; /* icon size */
    color: white; /* icon colour */
	max-width: 48px;
	font-weight: 700;
	padding: 12px; /* add padding around icon */
	background: #4568A1; /* set background colour behind icon */
	border-radius: 5px; /* Add some curve radius to icon background */
    margin: 0 15px 0 0; /* right margin between icon and text */
}

.main-grid-alt2 .grid-item:hover img {
  /* Add styles if needed */
}

/* Home Page Grid Alternative 3 Styles */


.main-grid-alt3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 25px; /* 25px gap */
}

.main-grid-alt3 a {
	text-decoration: none !important; /* remove any default underliing of links */
}

@media (max-width: 1030px) {
    .main-grid-alt3 {
        grid-template-columns: repeat(3, 1fr); /* 3 columns */
		gap: 20px; /* 20px gap */
    }
}

@media (max-width: 767px) {
    .main-grid-alt3 {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
		gap: 20px; /* 20px gap */
    }
}

@media (max-width: 575px) {
    .main-grid-alt3 {
        grid-template-columns: 1fr; /* 1 columns at mobile breakpoint */
		 }
}

.main-grid-alt3 .grid-item {
    display: flex;
    align-items: flex-start;
    justify-content: center;
	height: 100%; /* make sure the grid item fills 100% of row height */
	width: 100%; /* make sure takes up 100% width */
	background: #4568A1; /* background colour of grid items */
	padding: 30px; /* set padding on grid items */
	transition: background ease-in-out .3s; /* set transition for hover effect on grid items */
}

.main-grid-alt3 .grid-item a {
text-decoration: none !important; /* remove any default link underlining on grid items*/
}

.main-grid-alt3 .grid-item:hover {
    background: #252122; /* set background colour on hover */
}

.main-grid-alt3 .grid-item-content {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    text-align: center;
}

.main-grid-alt3 grid-item. .number {
	font-size: clamp(1.4rem, 1.2836rem + 0.5818vw, 1.8rem);/* set size & colour of the number */
	color: white;
	font-weight: 700;
	margin-bottom: 10px;
}

.main-grid-alt3 .grid-item .title {
    color: white;
    margin: 0; /* Remove default paragraph margin */
	font-size: clamp(1.25rem, 0.9273rem + 0.3636vw, 1.4rem);
	font-weight: 500;
	line-height:1.35;
}

.main-grid-alt3 .grid-item i {
    font-size: clamp(2.75rem, 2.5318rem + 1.0909vw, 3.5rem); /* Icon size */
    color: white;
	font-weight: 700;
    margin-bottom: 14px; /* Space between icon and text*/
}

.main-grid-alt3 .grid-item img {
    max-width: clamp(3.25rem, 3.0318rem + 1.0909vw, 4rem); /* SVG icon size */
    color: white;
	margin-bottom: 14px; /* If using svg icon instead of font awesome icon */
}

@media (max-width: 767px) {
    .main-grid-alt3 .grid-item i {
	margin-top: 15px; /* reduce extra top margin above icon */
	}
	
	.main-grid-alt3 .grid-item img {
	margin-top: 15px; /* If using svg icon instead of font awesome icon */
	}
}

/* Home Page Grid Alternative 4 Styles */

.main-grid-alt4 {
  display: grid;
    grid-template-columns: repeat(4, 1fr); /* four equal columns */
    grid-template-rows: auto; /* Rows adjust to the tallest item */
    gap: 30px; /* Gap between items */
}

.main-grid-alt4 a {
    text-decoration: none !important; /* removes any default underlining of links */
  }

@media (max-width: 1200px) {
  .main-grid-alt4 {
    grid-template-columns: repeat(3, 1fr); /*  reduce number of columns in grid row to 3 */
    gap: 25px; /* Reduce gap size */
  }
}

@media (max-width: 1023px) {
    .main-grid-alt4 {
    grid-template-columns: repeat(2, 1fr); /*  Reduce number of columns in grid row to 2 */
    gap: 25px; /* Reduce gap size */
  }
}

@media (max-width: 767px) {
    .main-grid-alt4 {
    grid-template-columns: repeat(2, 1fr); /* Keep number of columns in grid row at 2*/
    gap: 25px; /* Reduce gap size */
  }
}
 
 @media (max-width: 600px) {
    .main-grid-alt4 {
    grid-template-columns: 1fr; /* Reduce number of columns in grid row to 1 at non standard breakpoint */
    gap: 20px; /* Reduce gap size */
  }
}

.main-grid-alt4 .grid-item {
  display: flex;
  flex-direction: column;
  align-items: stretch; /* Ensure all children stretch across the grid item */
  justify-content: space-between; /* Distribute space, button goes to the bottom */
  text-align: left; /* Left align the text content */
  background: #fff;
  height: 100%; /* Ensure the grid item fills 100% of row height */
  width: 100%; /* Ensure the grid item fills 100% of available width */
  padding: 20px 20px 30px 20px; /* Set padding */
  border: 2px solid transparent; /* Set border color as transparent for hover-effect */
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15); /* Add light box shadow to grid item */
}

.main-grid-alt4 .grid-item:hover {
  /* Add styles as needed */
}

.main-grid-alt4 .grid-item p  {
  margin: 15px 0 0 0;
  text-align: left; /* left align the text horizontally */
  color: #252122;
  font-size: inheit;
  font-weight: inherit;
  display: inline-block; /* adding this restricts the hover underline effect to the width of the text not the whole div */
}

.main-grid-alt4 .grid-item h2  {
  font-size: clamp(1.425rem, 1.3377rem + 0.4364vw, 1.625rem);
  font-weight: 600;
  margin-bottom: 0;
}

.main-grid-alt4 .grid-item:hover p {
  color: #252122; /* set text colour on hover of wrapper div */
}

.main-grid-alt4 .grid-item img {
    margin-bottom: 15px; /* Space between image and text */
}

.main-grid-alt4 .grid-item .button1 {
   width: 100%; /* Make sure the button width is 100% */
   align-self: stretch; /* Ensure the button stretches to fill the width */
   box-sizing: border-box; /* Include padding and border in the element's total width and height */
   text-align: center;
   margin-top: auto; /* Pushes the button to the bottom of the container */
}

.main-grid-alt4 .grid-item:hover img {
  /* Add styles as needed */
}

/* Home Page Grid Alternative 5 Styles */

.main-grid-alt5 {
  display: grid;
    grid-template-columns: repeat(4, 1fr); /* four equal columns */
    grid-template-rows: auto; /* Rows adjust to the tallest item */
    gap: 30px; /* Gap between items */
}

.main-grid-alt5 a {
    text-decoration: none !important; /* removes any default underlining of links */
  }

@media (max-width: 1300px) {
  .main-grid-alt5 {
    grid-template-columns: repeat(3, 1fr); /*  reduce number of columns in grid row to 3 */
    gap: 25px; /* Reduce gap size */
  }
}

@media (max-width: 1023px) {
    .main-grid-alt5 {
    grid-template-columns: repeat(2, 1fr); /*  Reduce number of columns in grid row to 2 */
    gap: 25px; /* Reduce gap size */
  }
}

@media (max-width: 767px) {
    .main-grid-alt5 {
    grid-template-columns: repeat(2, 1fr); /* Keep number of columns in grid row at 2*/
    gap: 25px; /* Reduce gap size */
  }
}
 
 @media (max-width: 600px) {
    .main-grid-alt5 {
    grid-template-columns: 1fr; /* Reduce number of columns in grid row to 1 at non standard breakpoint */
    gap: 20px; /* Reduce gap size */
  }
}

.main-grid-alt5 .grid-item {
  display: flex;
  flex-direction: column;
  align-items: stretch; /* Ensure all children stretch across the grid item */
  /* justify-content: space-between; /* Distribute space, button goes to the bottom */
  text-align: center; /* center align the text content (affects the h2) */
  background: #fff;
  height: 100%; /* Ensure the grid item fills 100% of row height */
  width: 100%; /* Ensure the grid item fills 100% of available width */
  padding: 0; /* Set padding to zero so image is fulll width of div*/
  /* border: 2px solid #d8d7d7; /* Set initial border color for hover-effect */
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15); /* Add light box shadow to grid item */
  border: none;  /* Add borders as required */
}

.main-grid-alt5 .inner-div {
  flex-grow: 1; /* Make inner-div fill the remaining height */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Space out the paragraph and button */
  padding: 20px 20px 8px 20px; /* Add some padding around the text and button */
}

.main-grid-alt5 .grid-item:hover {
  /* Add styles as needed */
}

.main-grid-alt5 .grid-item p  {
  text-align: center; /* center align the text horizontally */
  color: #252122;
  font-size: inheit;
  font-weight: inherit;
  display: inline-block; /* adding this restricts the hover underline effect to the width of the text not the whole div */
}

.main-grid-alt5 .grid-item h2  {
  font-size: clamp(1.425rem, 1.3377rem + 0.4364vw, 1.625rem);
  font-weight: 600;
  margin: 10px 20px 0 20px; /* Add left and right margin to h2 so alignment is consistent with inner div with padding that follows it */
}

.main-grid-alt5 .grid-item:hover p {
  color: #252122; /* set text colour on hover of wrapper div */
}

.main-grid-alt5 .grid-item img {
    margin-bottom: 15px; /* Space between image and text */
}

.main-grid-alt5 .grid-item .inner-div .button1 {
   width: 100%; /* Make sure the button width is 100% */
   align-self: stretch; /* Ensure the button stretches to fill the width */
   box-sizing: border-box; /* Include padding and border in the element's total width and height */
   text-align: center;
   margin-top: auto; /* Pushes the button to the bottom of the container */
   margin-bottom: 0;
}

.main-grid-alt5 .grid-item:hover img {
  /* Add styles as needed */
}


/* Custom Grid styles - This Month in numbers grid */

.custom-grid-section h2 {
	text-align: center; /* Centre align the section's h2 text horizontally */
	color: #fff;
	font-size: clamp(1.75rem, 1.5318rem + 1.0909vw, 2.5rem);
	margin: 20px 0 15px 0; /*Add margin above and below h2 */
}


.custom-grid-section .thank-you {
	max-width: 1150px; /* restrict this div width on larger devices to 980px */
	width: 100%;
    color: white;
	line-height: 1.5;
    text-align: center;
	margin: 50px auto 0 auto; /* add 50px margin to the top and center the div horizontally with margin auto */
}

.custom-grid .number {
	font-size: clamp(1.4rem, 1.2836rem + 0.5818vw, 1.8rem);/* set size & colour of the number */
	color: white;
	font-weight: 700;
	margin-bottom: 10px;
}

.custom-grid .grid-item .title {
    color: white;
    margin: 0; /* Remove default paragraph margin */
	font-size: clamp(1.1rem, 0.9273rem + 0.3636vw, 1.25rem);
	line-height:1.35;
}


.custom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 30px; /* 30px gap */
}

@media (max-width: 1030px) {
    .custom-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns */
    }
}

@media (max-width: 767px) {
    .custom-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
		gap: 25px; /* 25px gap */
    }
}

@media (max-width: 575px) {
    .custom-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
		 }
}

.custom-grid .grid-item {
    display: flex;
    align-items: flex-start;
    justify-content: center;
	height: 100%; /* make sure the grid item fills 100% of row height */
}

.custom-grid .grid-item-content {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    text-align: center;
}

.custom-grid .grid-item i {
    font-size: clamp(1.875rem, 1.5841rem + 1.4545vw, 2.875rem); /* Icon size */
    color: white;
	font-weight: 700;
    margin-bottom: 0; /* Space between icon and number*/
	margin-top: 35px; /* add some extra top margin above icon */
}

.custom-grid .grid-item img {
    max-width: clamp(3.125rem, 2.9432rem + 0.9091vw, 3.75rem);/* SVG icon size */
    color: white;
	margin-bottom: 0; /* If using svg icon instead of font awesome icon */
	margin-top: 35px;
}

@media (max-width: 767px) {
    .custom-grid .grid-item i {
	margin-top: 15px; /* reduce extra top margin above icon */
	}
	
	.custom-grid .grid-item img {
	margin-top: 15px; /* If using svg icon instead of font awesome icon */
	}
}


/* Footer Styles */
.footer {
    background-color: #252122;
    color: #f5f6f7;
    padding-left: 35px;
	padding-right: 35px;
    box-sizing: border-box;
    overflow: hidden;
}

.footer .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Four equal columns */
    gap: 50px;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1023px) {
       .footer .grid {
        grid-template-columns: repeat(2, 1fr); /* Reduce number of columns in footer grid row to 2*/
		gap: 25px; /* Reduce gap size */
    }
}

@media (max-width: 575px) {
      .footer .grid {
        grid-template-columns: 1fr; /* Reduce number of columns in footer grid row to 1 */
		gap: 20px; /* Reduce gap size */
    }
  
  .footer .footer-column {
	  padding: 0; /* Remove right padding from footer grid columns when reaches mobile */
  } 
}

@media (max-width: 1300px) {
   .footer {
	Padding-bottom: 125px; /*increase footer section bottom padding above standard section padding to accommodate translation widget on smaller devices */
   }
}

@media (max-width: 767px) {
  #fcol-3 {
	  display: none; /*hide last 2 footer columns on tablet * mobile */
  }
  #fcol-4 {
	  display: none;
  }
  .footer {
    padding-left: 20px; /* reduce side padding */
	padding-right: 20px;
  }

}

.footer .footer-column {
    padding: 0 20px 0 0;
    box-sizing: border-box;
    word-wrap: break-word;
} 

.footer a {
	color: #f5f6f7;
	text-decoration: none !important;

}
.footer a:hover {
	color: #5F922B;
	text-decoration: underline;
}

.footer h3 {
	color: #f5f6f7 /* Change colour of h3 heading in footer */
}
.footer p { 
	font-size: clamp(0.9375rem, 0.8568rem + 0.0909vw, 0.9375rem); /* reduce size of p text in footer */
}
.footer ul {
	list-style-type: none; /* remove bullet points, padding and margin from footer lists */
	margin: 0;
	padding: 0;
}
.footer li { 
	font-size: clamp(0.9375rem, 0.8568rem + 0.0909vw, 0.9375rem); /* reduce size of p text in footer */
	Line-height: 3.5; /* increase line height of list items */
	border-bottom: 1px solid #3a3a3a; /* add a border between list items */
}
/* .footer li:not(:last-child) { 
	border-bottom: 1px solid #a1a1a1; /* add a border between list items 
} */

/* Responsive Styles */

section {
    width: 100%;
    box-sizing: border-box; /* Ensure full width does not exceed container */
	padding-left: 20px; /*Stanard L-R Padding on sections - override on individual section classes if need to change */
	padding-right: 20px;
	padding-top: clamp(1.875rem, 1.4205rem + 2.2727vw, 3.4375rem); /* Clamp that takes padding top and bottom from 30px on mobile to 55px on desktop */
	padding-bottom: clamp(1.875rem, 1.4205rem + 2.2727vw, 3.4375rem);
	/* outline: 2px solid red; */
}

.container {
    max-width: 1350px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
	/* outline: 2px solid red; */
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
	max-width: 100%;
	box-sizing: border-box;
	}
.column {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1; /* Make columns flexible */
    max-width: 100%;
	/* outline: 2px solid yellow; */
}

/* Main Layout 2 column */
.mainrow {
  	display: flex;
	max-width: 100%;
	box-sizing: border-box;
  	/* outline: 2px solid blue; */
}

.column.left {
  flex: 0 0 70%; /* Left column 70% of row width */
  padding-right: 30px; /*Not ideal but flex gap seems to break layout */
}

.content {
	padding: 20px; /* div containing text content in left column */
	background: #ffffff;
}

@media (max-width: 767px) {
  .main-section {
    background: #fff; /* change background to white and remove grey bordered effect around content */
  }
  .content {
    padding: 20px 0 0 0; /* remove all but top padding on left column content as no longer bound by grey background*/
  }
}

.column.right {
  flex: 0 0 30%; /* Right column 30% of row width */
  /* background: #ffffff; */
  /* outline: 2px solid yellow; */
}
.sidebar-content {
	padding: 20px; /* Add padding and white background andbottom border to sidebar content in right column */
	background: #fff;
	border-bottom: solid 1px #ccc;
}
.sidebar-content p {
	font-size: clamp(0.9375rem, 0.8568rem + 0.0909vw, 0.9375rem); /* reduce size of text in sidebar */ 
}


@media (max-width: 1023px) {
  .column.left {
    flex: 0 0 60%; /* Left column 60% of row width */
  }

  .column.right {
    flex: 0 0 40%; /* Right column 40% of row width */
  }
}

@media (max-width: 767px) {
  .mainrow {
    flex-direction: column;
  }

  .column {
    flex: 1 0 auto;
  }
  
  .column.left {
   padding-right: 0px; /*remove right padding */
	}
.column.right {
	display: none; /* Hide the right column */
	}
}

/* Responsive Breakpoint Styling */

/* Desktop */
@media (min-width: 1201px) {
  /* Add styles as required*/
}

/* 1200px and below */
@media (max-width: 1200px) {
    /* Add styles as required */
}

/* 1023px and below */
@media (max-width: 1023px) {
      /* Add styles as required */
}

/* 767px and below */
@media (max-width: 767px) {
  /* Add styles as required */
  }
}

/* 575px and below */
@media (max-width: 575px) {
    /* add styles as required */
}

/* Button Styles */

	.button1 {
		-webkit-appearance: none;
		display: inline-block;
		text-decoration: none;
		cursor: pointer;
		border: 0;
		color: white;
		border-radius: 5px;
		background: #4568a1;
		font-weight: 500;
		outline: 0;
		-moz-transition: background-color .25s ease-in-out;
		-webkit-transition: background-color .25s ease-in-out;
		-ms-transition: background-color .25s ease-in-out;
		transition: background-color .25s ease-in-out;
		font-size: clamp(0.925rem, 0.8205rem + 0.2727vw, 1.0625rem);
		line-height: 1.2;
		padding: 18px 25px 18px 25px;
	}
	
		.button1:hover {
			background: #252122;
			color: white;
		}
		
	/* Add the focus effect to this button only for keyboard users */
   .button1:focus-visible {
    outline: 4px dotted #F89823; 
	background: #00AC60;
	border: none;
	}	
	/* Remove focus effect for this button when clicked with a mouse */
	.button1:focus:not(:focus-visible) {
		background: #252122;
		outline: none; /* Removes the orange dotted border */
 	 }

			.button1:active {
			background: #252122;
		}

/* Alternative Button */

			.button1.alt {
			background: #4568a1;
			color: #fff !important;
		}

			button1.alt:hover,
			.button1.alt:hover {
				background: #252122;
			}
			
	/* Add the focus effect to this button only for keyboard users */
   .button1:focus-visible {
    outline: 4px dotted #F89823; 
	background: #252122;
	border: none;
	}	
	/* Remove focus effect for this button when clicked with a mouse */
	.button1:focus:not(:focus-visible) {
		background: #252122;
		outline: none; /* Removes the orange dotted border */
 	 }
	 
			.button1.alt:active {
				background: #252122;
			}

	/* Icon before button text */
		.button1.icon:before {
			opacity: 0.35;
			position: relative;
			top: 0.05em;
			margin-right: 0.75em;
		}
		
		
	/* Make sidebar buttons 100% width */	
		.sidebarbutton {
			width: 100%; /* Additional class to make sidebar buttons full width */
			text-align: center;
		}
