﻿:root {
 
  --shadow-color: rgba(29, 67, 143, 0.1);
  --shadow-hover-color: rgba(0, 0, 0, 0.15);

  --accordian-title-bg-color: var(--highlight-colour);
  --accordian-title-bg-color-hover:var(--highlight-rollover-colour);
  --accordian-details-bg-color:var(--highlight-bg-colour);
  --accordian-details-border-color:var(--highlight-colour);
 
}

.link-list ul, .blockLinks ul, .blockLinksArrow ul, .link-list-arrow ul {
list-style-type: none; /* Removes default bullet points */
padding: 0;
margin-left:0px;
}


.link-list li, .blockLinks li, .blockLinksArrow li, .link-list-arrow li {
  margin: 10px 0; /* Adds space between list items */
  display: flex;
  align-items: center;
}

.link-list li i, .blockLinks li i {
  margin-right: 10px; /* Adds space between icon and text */
}

.link-list a, .blockLinksArrow a, .link-list-arrow a {

  transition: color 0.3s; /* Smooth transition for hover effect */
}

.link-list a:hover, .blockLinksArrow a:hover, .link-list-arrow a:hover {
  color: var(--secondary-color);
}

.blockLinks {
  padding: 15px; /* Padding around the block */
  border: 1px solid #ddd; /* Border for the block */
  border-radius: 5px; /* Rounded corners for the block */
}



.blockLinks li {
  display: flex; /* Ensure li is a flex container */
  align-items: center; /* Align items in the center vertically */
  
}

.blockLinks a {
  display: flex; 
  align-items: center; 
  background-color: var(--main-colour);
  color: white; /* White text color */
  padding: 10px; 
  border-radius: 3px; 
  transition: background-color 0.3s; 
  width: 100%; 
}




.blockLinks i {
  margin-right: 10px; /* Adds space between icon and text */
}
.blockLinksArrow {
  margin-left: 0em !important;
}

.blockLinksArrow li {
  position: relative; /* Position for arrow icon */
}

.blockLinksArrow li > a {
  display: block; /* Ensure a is a block element */
  /* background - is main color in header */
  text-decoration: none !important;
  
  color: #FFFFFF; /* Link text color */
  padding: 10px; /* Padding around the link */
  transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover effect */
  width: 100%; /* Ensure link spans full width of li */
  font-size:1.05em;
  font-weight:500;
}

.blockLinksArrow li > a::after {
  content: '\f061'; /* Unicode for right arrow from Font Awesome */
  font-family: 'Font Awesome 5 Free'; /* Font family for Font Awesome */
  font-weight: 900; /* Font weight for Font Awesome */
  position: absolute; /* Absolute position for the arrow */
  right: 30px; /* Position the arrow to the right */
  transition: color 0.3s; /* Smooth transition for hover effect */
}

.blockLinksArrow li > a:hover {
  background-color: var(--highlight-colour);
  color: #FFFFFF;  
}

.blockLinksArrow li > a:hover::after {
  color: #FFFFFF; /* Changes arrow color on hover */
}

.link-list-arrow {
  margin-left: 0em !important;
}

.link-list-arrow li {
  position: relative; /* Position for arrow icon */
  padding-left: 30px; /* Space for the left arrow */
}


.link-list-arrow li > a::before {
  content: '\f0a9'; 
  font-family: 'Font Awesome 5 Free'; 
  font-weight: 900; 
  position: absolute; 
  left: 0; 
  color: #000000; 
  transition: color 0.3s; 
  font-size: 1.1em;
}

.link-list-arrow li > a:hover::before {
  color:var(--highlight-colour);
}
.link-list-arrow li > a:hover{
  color:var(--highlight-colour);
}


.container-link-boxes {
  display: flex; /* This allows the link boxes to be laid out in a row */
  flex-wrap: wrap; 
  gap: 40px; 
  margin-top: 50px; 
  margin-bottom: 50px;
  justify-content: center; 
  align-items: center; 
}

 .container-link-boxes a {
            color: var(--highlight-link-colour);
        }
		
		 .container-link-boxes a:hover {
            color: var(--highlight-rollover-colour);
        }

/* Link Block Styles */
.HSCLinkBlock {
  box-sizing: border-box;
  padding: 15px;
  height: auto;
  min-height: 110px;
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  
}


.HSCLinkBlock h2 {
  margin-top: 0;
  margin-bottom: 3px;
  padding-bottom: 10px;
  font-size: 1.15em;
  
}


.HSCLinkBlock p {
  margin-top: 0;
  margin-bottom: 3px;
  padding-bottom: 8px;
  color: #303030;
}



.HSCLBShadow {
  box-shadow: 0 2px 4px 0 var(--shadow-color), 0 6px 20px 0 var(--shadow-hover-color);
}

.HSCLBNoDescription {
	
	min-height: 90px;
}

.HSCLBWidth2 {
  flex: 0 0 45%; /* Allows two items per row with some space in between */
}
.HSCLBWidth3 {
  flex: 0 0 30%; /* Allows two items per row with some space in between */
}
.rounded {
  border-radius: 5px; 
}


  /* Default Style for HSCLinkBlock */
  .HSCLB1 {
    border: 2px solid #cad3df;
    background-color: #ffffff;
}

/* Hover effect for HSCLinkBlock */
.HSCLinkBlock.HSCLB1:hover {
    box-shadow: 0 0 0 4px var(--highlight-colour);
    border: 2px solid var(--highlight-colour);
}



  /* HSCLB2 Style */
  .HSCLB2 {
    background-color: var(--highlight-bg-colour);
    border: 1px solid var(--highlight-colour);
    border-left: 10px solid var(--highlight-colour);
    transition: border-left-color 0.3s;
}

.HSCLinkBlock.HSCLB2:hover {
    border-left-color: var(--highlight-rollover-colour);
}

/* HSCLB3 Style */
.HSCLB3 {
    background-color: var(--highlight-bg-colour);
    border: 1px solid var(--highlight-colour);
    border-bottom: 10px solid var(--highlight-colour);
    transition: border-bottom-color 0.3s;
}

.HSCLinkBlock.HSCLB3:hover {
    border-bottom-color: var(--highlight-rollover-colour);
}

.HSCLB4 {
    background-color: var(--highlight-bg-colour);
    border: 1px solid #ccc;
    transition: border-bottom-color 0.3s;
    border-bottom: 10px solid var(--highlight-bg-colour);
    border-bottom-color: var(--highlight-bg-colour);
}

.HSCLinkBlock.HSCLB4:hover {
    border-bottom: 10px solid var(--highlight-colour);
    border-bottom-color: var(--highlight-colour);
}

/* HSCLB5 Style */
.HSCLB5 {
    background-color: var(--highlight-bg-colour);
    border-left: 10px solid var(--highlight-bg-colour);
    transition: border-left-color 0.3s;
}

.HSCLinkBlock.HSCLB5:hover {
    border-left: 10px solid var(--highlight-colour);
    border-left-color: var(--highlight-colour);
}

.HSCLB6 {
  background-color: var(--highlight-bg-colour);
  border: 1px solid var(--highlight-colour);
  border-left: 10px solid var(--highlight-colour);
  transition: border-left-color 0.3s;
  position: relative;
}

.HSCLinkBlock.HSCLB6:hover {
  border-bottom-color: var(--highlight-rollover-colour);
  border-left: 10px solid var(--highlight-rollover-colour);
}


  /* Icon hidden by default and appears on hover */
  .HSCLinkBlock .icon {
    font-size: 25px; /* FontAwesome icon size */
    position: absolute; /* Position it relative to the parent */
    bottom: 15px; /* 10px from the bottom */
    right: 15px; /* 10px from the right */
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease, color 0.3s ease; /* Smooth transition for appearance */
    color: var(--highlight-colour);
}

/* Make icon visible on hover */
.HSCLinkBlock:hover .icon {
    opacity: 1; /* Show the icon when the link block is hovered */
    color: var(--highlight-rollover-colour); /* Change icon color to orange on hover */
}


.HSCLB7::after {
  content: '\f35a'; /* Unicode for right arrow from Font Awesome */
  font-family: 'Font Awesome 5 Free'; /* Font family for Font Awesome */
  font-weight: 900; /* Font weight for Font Awesome */
  position: absolute; /* Absolute position for the arrow */
  right: 20px; /* Position the arrow to the right */
    top: 0px;
  transition: color 0.3s; /* Smooth transition for hover effect */
   font-size: 20px;
   color: var(--main-colour);
}

@media (max-width: 768px) {
	.childBlock {
	flex: 0 0 100%; / Full width on smaller screens /
	margin-right: 0;
	min-height: 80px;
	}
	
	    .HSCLBWidth2 {
     flex: 0 0 90%; 
	}
	
}

input[type=text] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
}

/* Accordian List Styles 

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
*/

  
  .HSCAccordian code {
  font-family: monospace;
  font-weight: 600;
  }
  
  .HSCAccordian summary:focus {
  outline: 5px double #F7F306;
  }
  .HSCAccordian * {
    box-sizing: border-box;
    }
    
    .HSCAccordian:root {
    font-size: 1em;
    }
    
    .HSCAccordian {
  
    line-height: 1.5;
    min-height: 100vh;
    font-size: 1.1rem;
    width: 100%;

    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
    }
    
    .HSCAccordian *:focus {
    outline: none;
    }
    
    .HSCAccordian details {
      margin-bottom: 15px; 
  }
    .HSCAccordian details div {
      border: 0px solid var(--highlight-colour);
    padding: 1.5em;
    background-color:var(--highlight-bg-colour);
    border-bottom-left-radius: 10px; 
    border-bottom-right-radius: 10px; 

    }
    
    .HSCAccordian details div > * + * {
    margin-top: 1.5em;
    }
    
    .HSCAccordian details + details {
    margin-top: .5rem;
    }
    
    .HSCAccordian summary {
    list-style: none;
  
    padding: .75em 1em;
    cursor: pointer;
    position: relative;
    padding-left: calc(1.75rem + .75rem + .75rem);
    background-color:  var(--highlight-colour);
    color: #FFF;

    font-size: 1.1em;
    font-weight: bold;
   
    border: 1px solid #ccc;
    border-radius: 5px;
    display: flex;
    align-items: center;
    
    }
    
    .HSCAccordian summary::-webkit-details-marker {
    display: none;
    }
    
    .HSCAccordian summary:before {
      position: absolute;
     
      left: 1rem;
      font-family: "Font Awesome 5 Free";
      content: "\f055";
      
      
  }
    
    .HSCAccordian details[open] summary {
 
    }
    
    .HSCAccordian details[open] summary:before {
         font-family: "Font Awesome 5 Free";
   content: "\f056";
    }
    
    .HSCAccordian summary:hover {
    background-color: var(--highlight-rollover-colour);
    }
    
    .HSCAccordian a {
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 1px 0 0;
    }
    
    .HSCAccordian a:hover {
    box-shadow: 0 3px 0 0;
    }