/* General styles for site */

body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Jost', sans-serif;
	font-weight: normal;
	color: #252122;
	font-size: 18px;
	line-height: 1.5;
	background: #ffffff;

}

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

html {
  scroll-behavior: smooth;
}

/*set size of H2s inside grid layouts*/
.grid-item h2 {
	font-size: clamp(1.33rem, 1.2607rem + 0.3259vw, 1.55rem) !important;
}

/* 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 */
}
.grey-bg {
	background: #f5f6f7; /* give sections a white background */
}

.blue-bg {
	background-color:  #216A9B;
}

/* Higlight Box */
.highlight-box {
	border: 1px solid #cccccc;
	background-color: #f5f6f7;
	padding: 25px;
	margin-top: 35px !important; /*Add some breathing room */
	margin-bottom: 35px !important;
}

/* Home page helpful apps intro div */
.helpful-apps {
    text-align: center !important; /*align text centrally */
	padding-bottom: 25px; /* add some bottom padding to the useful apps grid */
}

.helpful-apps h2 {
	font-size: clamp(2rem, 1.7922rem + 0.9778vw, 2.66rem) !important;/*set larger text for the h2 here */
} 

.helpful-apps p {
	font-size: clamp(1.44rem, 1.3361rem + 0.4889vw, 1.77rem) !important;/*set larger text for the intro text here */
} 

/* 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: 388px; /* 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: 1280px) {
	.sitelogo {
		max-width: 300px; /* Reduce size of logo at 1280px */
	}
}
@media (max-width: 767px) {
	.sitelogo {
		max-width: 275px; /* Reduce size of logo at 767px */
	}
}
@media (max-width: 480px) {
	.sitelogo {
		max-width: 230px; /* Reduce size of logo at 480px */
	}
}
.cqc {
	max-width: 137px; /* set a maximum width for the cqc logo in the header */
	align-self: flex-end; /* Align to the right */
	margin-bottom: 0x;
}

@media (min-width: 546px) and (max-width: 1200px) {
	.cqc {
		margin-right: 70px; /* add right margin to cqc logo between 546px and 1200px */
	}
}
@media (max-width: 980px) {
	.cqc {
		margin-bottom: 25px; /* Add margin to allow for header links disappearing at this breakpoint so does not squah up on top of search bar */
	}
}
@media (max-width: 600px) {
	.cqc {
		display: none; /* hide cqc logo at 600px and below */
	}
}


.header-links {
    line-height: 3;
    white-space: nowrap !important;
    font-size: 1.05rem;
    font-weight: 600;
    color: #206EA1; /*make separator bars same color as links */
}

.header-links a {
    display: inline !important;
    text-decoration: none !important;
    border-bottom: 1px solid transparent !important;
    margin-bottom: 3px;
}

.header-links a:hover {
    display: inline !important;
    color: #216A9B !important;
    text-decoration: none !important;
    border-bottom: 1px solid #216A9B !important;
} /* set color and styling for header link hover effect */

@media (max-width: 980px) {
  .header-links {
    display: none; /*Hide header links div on mobile */
  }
}

@media (max-width: 1200px) {
  .header-links {
    margin-top: 15px; /*Add some margin to top of header links at 1200px to allow for mobile menu toggle */
  }
}

.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.25;	
	margin-bottom: 1rem;
	margin-top: 1rem;
}

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;
}

/*set standard soite wide text to 19px */
p, ul, ol, li {
	font-size: 1.05rem;
}

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

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

a {
	color: #216A9B;
	text-decoration: underline;
}
a:hover {
	color: #2890CF;
	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 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;
}
.banner-section {
   background: white;
}
.main-section {
   background: white;
}
.main-grid-section {
   background: white;
}
.main-grid-alt-section {
   background: white;
}

.main-grid-alt2-section {
   background:white;
}

.main-grid-alt3-section {
   background: white;
}

.main-grid-alt4-section {
   background: white;
}

.main-grid-alt5-section {
   background: white;
}

.custom-grid-section {
   background: #216A9B; /* 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 #216A9B; /* 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: #216A9B; /* 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: #2890CF; /* change 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: #216A9B; /* 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 hero section */
.hero-section {
	height: clamp(21.875rem, 18.2386rem + 18.1818vw, 34.375rem);
	padding: 20px 20px 20px 20px; /* overwrite default section padding */
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position:right center;
    position: relative;
    text-align: left; 
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1); /* Black overlay with 10% opacity */
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding: 0; /* add padding  as required */
}

.text-content {
	width: 100%;
    max-width: 900px; /* restrict width of div with text in */
	text-align: left;
	color: white !important;/* Make text  white */
}

.text-content .heading {
    font-size: clamp(2rem, 1.6852rem + 1.4815vw, 3rem);
    font-weight: 600; 
    text-transform: capitalize;
    margin: 0.5em 0;
    line-height: 1.2;
	color: inherit !important;
}

.text-content .subheading {
    font-size: clamp(1.3rem, 1.1898rem + 0.5185vw, 1.65rem);
    font-weight: 400; 
    text-transform: Capitalize;
    margin: 0.5em 0;
    line-height: 1.2;
	color: inherit !important;
}

/* Generic Page hero section */
.generic-hero-section {
	height: clamp(14.0625rem, 12.5868rem + 6.9444vw, 18.75rem);; /* variable height for standard hero section */
	padding: 20px 20px 20px 20px; /* overwrite default section padding */
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position:right center;
    position: relative;
    text-align: left; 
}

.generic-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Black overlay with 10% opacity */
    z-index: 0;
}

.generic-hero-container {
    position: relative;
    z-index: 2;
    padding: 0; /* add padding  as required */
}

/* Cancel Your Appointment Section */
.cancel {
    text-align: center;
	margin: 20px auto 0 auto; /* add 20px margin to the top and center the div horizontally with margin auto */
}
.cancel p {     
    color: white;
    font-size: clamp(1.33rem, 1.1191rem + 0.9926vw, 1.75rem) !important;
    font-weight: 600;
	line-height: 1.5;
}

/* Staff Biography 2 column layout */
.bio-two-columns {
    display: flex;
    width: 100%;
	align-items: flex-start;   /* First column stays top-aligned */
	background-color:  #f5f6f7;
	padding: 25px; /* padding all 4 sides */
	gap: 50px; /* column-gap */
}

.bio-image {
    flex: 0 0 325px;
}

.bio-image img {
    width: 100%;
    max-width: 325px;
    height: auto;
    display: block;
}

.bio-content {
    flex: 1;
    box-sizing: border-box;
	align-self: center;        /* Vertically centre only the text column */
}

/* tablet */
@media (max-width: 768px) {
	
	.bio-two-columns {
		gap: 30px; /* reduced column-gap */
	}

    .bio-image {
    flex: 0 0 275px;
}

.bio-image img {
    width: 100%; /* make image fill parent column */
    max-width: 575px;
    height: auto;
    display: block;
}
	
.bio-content {
	align-self: flex-start;  /* Vertically align to top at this break point */
}

}

/* smaller screens - stack in 1 column and make image 100% width*/
@media (max-width: 575px) {

    .bio-two-columns {
        flex-direction: column;
		gap: 20px; /* reduced column-gap */
    }

    .bio-image {
        flex: none;
        width: 100%;
    }

    .bio-image img {
        margin: 0 auto;
    }

    .bio-content {
        width: 100%;
    }

}

/* Contact boxes 2 column layout */
.contact-two-columns {
    display: flex;
    gap: 30px;
    width: 100%;
}

.contact-column {
    flex: 1;
    padding: 30px;
    background: #f5f6f7;
    box-sizing: border-box;
}

.contact-column address {
    font-style: normal;
}
/* Mobile stacking */
@media (max-width: 575px) {

    .contact-two-columns {
        flex-direction: column;
        gap: 30px;
    }

}

/* Phone links on contact page */
.phone-link a {
    text-decoration: none;
    color: inherit;
    border-bottom: 0 solid currentColor;
    transition: border-bottom-width 0.3s ease;
}

.phone-link a:hover {
	color: #216A9B;
    border-bottom-width: 1px;
}

.phone-link i {
    margin-right: 8px;
}


/* 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: #216A9B;
  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: #2890CF; /* 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.05rem;
  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 #216A9B; /* 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: inherit;
  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); Have set all .grid-item h2 to have same size so superfluous */
  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: #216A9B; /* 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 #216A9B; /* 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: inherit;
  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); Have set all .grid-item h2 to have same size so superfluous */
  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: #216A9B; /* 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: #216A9B; /* 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: inherit;
  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); Have set all .grid-item h2 to have same size so superfluous */
  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: left; /* center align the text content (affects the h2) */
  background: #f5f6f7;
  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 */
  border-radius: 0 0 4px 4px !important; /* Add small curved border radius to bottom of grid item */
}

.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: left; /* center align the text horizontally */
  color: #252122;
  font-size: inherit;
  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); Have set all .grid-item h2 to have same size so superfluous */
  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 */
    border-radius: 4px 4px 0 0 !important; /* Add small curved border radius totop of image only */
}

.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 */
}


/* 4 button Grid Styles */
.button-grid a {
    text-decoration: none; /* Remove underlines */
	color: white;
	display: block; /* Make the entire grid item clickable */
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Four equal columns */
    gap: 0; /* No gap between grid items initially */
	margin-bottom: clamp(3.125rem, 3.3977rem + -1.3636vw, 2.1875rem);
	margin-top: -110px; /*shift grid up to overlap hero section */
	box-shadow: 
        -3px 0 5px rgba(0, 0, 0, 0.15),  /* Left shadow */
         3px 0 5px rgba(0, 0, 0, 0.15),  /* Right shadow */
         0 3px 5px rgba(0, 0, 0, 0.15);  /* Bottom shadow */
}

@media (max-width: 1023px) {
    .button-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns on smaller screens */
        gap: 15px; /* 15px gap between grid items */
		margin-top: 0; /* remove the margin top and overlay of hero when drops to 2 columns */
		box-shadow: none; /* remove box shadow when goes to 2 columns */
    }
}

@media (max-width: 575px) {
    .button-grid {
        grid-template-columns: 1fr; /* One column on mobile screens */
        gap: 15px; /* 15px gap between grid items */
    }
}

.button-grid .grid-item {
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    height: clamp(3.75rem, 2.6591rem + 5.4545vw, 7.5rem); /* variable height for grid items */
    background-color: #3375b7; /* Default background color */
    transition: background-color .25s ease-in-out; /* Smooth transition */
    padding: 0 20px; /* Add some left and right space */
    position: relative; /* Position relative for ::after pseudo element*/
    color: #fff; /* set text color */
	font-size: clamp(0.9375rem, 0.883rem + 0.2727vw, 1.125rem);
	font-weight: 500;
	text-transform: capitalize;
}

.button-grid .grid-item::after {
    /*content: "\f061";  Font Awesome right arrow icon (using Unicode value) */
    /*font-family: "Font Awesome 5 Free";  Ensure Font Awesome font family is used */
    /*font-weight: 900;  Font Awesome icons require font-weight 900 */
    /* margin-left: 12px;  Space between text and icon */
    /* display: inline-block;
	color: white;
    transition: transform .25s ease-in-out; /* Smooth transition for movement */
    /* transform: translateX(0); /* Initial position */
}

/* Background colors for different grid items */
.button-grid .grid-item:nth-child(2) {
    background-color: #3aabdd;
}

.button-grid .grid-item:nth-child(3) {
    background-color: #008fe2;
}

.button-grid .grid-item:nth-child(4) {
    background-color: #2c54a2;
}

.button-grid .grid-item:hover {
    background-color: #2890CF; /* Change background of all grid-items to this colour on hover */
}

.button-grid .grid-item:hover::after {
    transform: translateX(5px); /* Move the arrow 5px to the right */
}


/* 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(2rem, 1.7922rem + 0.9778vw, 2.66rem) !important; /*set larger text for the h2 here */
	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 */
	margin-bottom: 25px; /*add some additional bottom margin to increase breathing room */
}

@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;
	margin-top: 40px; /*push grid down 40px to create some extra breathing at top of footer */
}

.footer .grid h2 {
    font-size: clamp(1.15rem, 1.1713rem + 0.3704vw, 1.25rem) !important; /* set size of footer headings */
	color: white !important;
}

@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 */
  } 
}

/* Footer social icons */
.social-icons a {
    margin-right: 10px; /* space between icons */
}


@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 .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: #2890CF;
	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; */
}

.container-fw {
    max-width: 1600px; /*wider container for home page links */
    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 Pages 2-column Layout*/
.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-right: 20px; /* div containing text content in left column */
	background: #ffffff;
}

.column.right {
  flex: 0 0 30%; /* Right column 30% of row width */
  /* outline: 2px solid yellow; */
}
.sidebar-content {
	padding: 20px; /* Add padding and white background andbottom border to sidebar content in right column */
	background: #f5f6f7;
	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 */
	}
}

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

.column.homeleft {
    flex: 0 0 60%; /* Left column 60% of row width */
    padding-right: 30px; /* Not ideal but colum gap seems to break design */
    box-sizing: border-box;
    display: flex; /* Enable Flexbox */
    justify-content: center; /* Vertically center the content */
    align-items: flex-start; /* Horizontally lef align the content */
    min-height: 100%; /* Ensure the column takes full height of the row */
}

.column.homeright {
    flex: 0 0 40%; /* Right column 40% of row width */
    box-sizing: border-box;
    min-height: 100%; /* Ensure the column takes full height of the row */
    background-size: cover;
    background-position: center;
	min-height: clamp(21.25rem, 20.1591rem + 5.4545vw, 25rem); /* Minimum height of column to display background image */
}

@media (max-width: 1200px) {
  .column.homeleft {
    flex: 0 0 50%; /* Left column 50% of row width */
  }

  .column.homeright {
    flex: 0 0 50%; /* Right column 50% of row width */
  }
}

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

  .column {
    flex: 1 0 auto; /* reduce to 1 column layout */
  }
  
  .column.homeleft {
   padding-right: 0px; /*remove right padding */
   padding-bottom: 20px; /* add bottom to create space between content and pictures on mobile */
	}
.column.homeright {
	display: block; /* Show or 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 */

/* Ensure Font Awesome is included in your HTML head or CSS */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css'); /* Example for Font Awesome 6 */

/* Base styles for the button */
.button1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    border-radius: 4px;
    color: white;
    background: #216A9B;
    font-weight: 500;
    font-size: clamp(0.9375rem, 0.883rem + 0.2727vw, 1.125rem);
    line-height: 1.2;
    padding: 18px 25px;
    margin: 5px 10px 5px 0;
	transition: background-color .3s ease-in-out; /*ease the hover state in and out */
    /*position: relative;  Ensure the pseudo-element is positioned relative to the button */
}

/* Styles for the button when hovered */
.button1:hover {
    background: #2890CF;
    color: white;
}

@media (max-width: 420px) {
    .button1 {
  	width: 100%; /* Make button 100% width on smaller devices */
	margin-right: 0; /* remove right margin on smaller devices */
    }
}


/* Adding Font Awesome icon using ::after pseudo-element */
/*.button1::after {*/
    /*content: "\f061";  Font Awesome right arrow icon (using Unicode value) */
    /*font-family: "Font Awesome 5 Free";  Ensure Font Awesome font family is used */
    /*font-weight: 900;  Font Awesome icons require font-weight 900 */
    /*margin-left: 12px;  Space between text and icon */
    /*display: inline-block;
    transition: transform .25s ease-in-out; /* Smooth transition for movement */
    /*transform: translateX(0);  
}Initial position */

/* Animation effect for hover 
.button1:hover::after {
    transform: translateX(5px);  
} Move the arrow 5px to the right */

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

			.button1:active {
			background: #2890CF;
		}

/* Alternative Button */

			.button1.alt {
			background: #216A9B;
			color: #fff !important;
		}

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

	/* 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;
		}
