html {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body {
	height: 100%;
	margin: 0;
	display: flex;
	flex-direction: column;
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	background-color: #F5F5F5;
}

/* Removes line under hyperlinks */

a {
	text-decoration: none;
}

/* Wrapper to organise page and keep footer at bottom without being fixed */

.content-wrapper {
    flex: 1;
}

/* Header */

header {
    
}

header h1 {
	background-color: #0099FF;
	color: #FFCC00;
	padding: 10px 0;
	text-align: center;
	border-bottom: solid thick #FFCC00;
	margin: 0;
	font-size: 2.5em;
}

/* Topnavbar */

.navbar {
    list-style-type: none;
    padding: 0;
    margin: 0;
    background-color: #FF1401;
    display: flex;
    justify-content: center; /* Centers the navbar items horizontally */
}

.navbar > li {
    position: relative;
    display: inline-block;
}

.navbar > li > a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.navbar > li > a:hover {
    background-color: white;
    color: #FF1401;
}

.dropdown {
    display: none;
    position: absolute;
    background-color: #FF1401;
    min-width: 300px;
    z-index: 1;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.dropdown li {
    position: relative;
}

.dropdown li a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown li a:hover {
    background-color: white;
    color: #FF1401;
}

.navbar li:hover > .dropdown {
    display: block;
}

.dropdown li:hover > .dropdown {
    display: block;
    left: 100%;
    top: 0;
}

/* Main body of the website */

main {
	padding: 20px;
	bottom: 0;
}

/* Wrapper - puts content in middle with large margins */
.main-wrapper {
	max-width: 1000px; /* Adjust the max-width as needed */
	margin: 0 auto; /* This centers the wrapper */
	padding: 20px; /* Adds some padding inside the wrapper */
	padding-bottom: 2.5rem;
}

/* Large text grid */
.maingrid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 20px;
   padding: 20px;
   border-radius: 10px;
}

.maingrid-item {
   display: flex;
   align-items: center;
   font-size: 1.2em;
   font-family: Arial, sans-serif;
   color: #333;
}

.maingrid-item::before {
   content: ">";
   font-weight: bold;
   margin-right: 10px;
   color: #007BFF; /* Stylized color for the ">" */
}

/* Basic page title, subheading and category heading */
.basic-page-title {
	margin-top: 1px;
	margin-bottom: 20px;
}

.basic-page-title-category {
	color: #888888;
	margin-bottom: 1px;
}

/* Basic page text */
.basic-page-text {
	margin: 5px;
	text-align: justify;
	text-justify: inter-word;
}

/* Page separator */
.page-separator {
	border-top-style: solid;
	border-width: 1px;
	border-color: #cdcdcd;
	padding: 5px;
}

/* Index list */
.index-list {
    list-style-type: none;
    padding-left: 0;
}

.index-list li::before {
    content: '>';
    font-weight: bold;
    margin-right: 10px;
    color: #007BFF;
}

.index-list li {
    font-size: 16px;
    line-height: 1.6;
}

.index-list ul { /* Style for nested (sub-items) lists */
    list-style-type: none;
    padding-left: 20px;
}

.index-list ul li::before { /* Style for sub-items */
    content: '>';
    font-weight: bold;
    margin-right: 8px;
    color: #FF1401;
}

.index-list ul li {
    font-size: 15px;
}

/* Basic page table */
.basic-page-table {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	border-collapse: collapse;
}

.basic-page-table th {
	font-weight: bold;
	text-align: center;
	border-bottom-style: solid;
	border-width: 1px;
	border-color: #cdcdcd;
	padding: 5px;
}

.basic-page-table td {
	text-align: center;
	padding: 5px;
	border-bottom-style: solid;
	border-width: 1px;
	border-color: #dddddd;
	padding: 5px;
}

/* Footer */
footer {
    background-color: #e6e6e6;
    color: white;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    border-top: solid;
    border-width: thin;
    border-color: #cdcdcd;
}

.footer-column {
    width: 18%;
    margin: 0 2%;
    padding-bottom: 25px;
}

.footer-column h3 {
    padding: 8px;
    background-color: #0099FF;
    color: #FFCC00;
    border-left: 5px solid #FF1401;
    text-align: left;
}

.footer-column ul {
    list-style-type: none;
    padding-left: 15px;
    text-align: left;
}

.footer-column ul li {
    margin: 5px 0;
}

.footer-column ul li a {
    color: #555;
    text-decoration: none;
}

.footer-column ul li a::before {
    content: ">";
    font-weight: bold;
    margin-right: 10px;
    color: #007BFF; /* Stylized color for the ">" */
}

.footer-column ul li a:hover {
    text-decoration: underline;
}

.footer-copyright {
    background-color: #0099FF;
    color: #FFCC00;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    margin-top: 0px;
}