body {
    background-color: white;
    font-size: 80%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}


footer{
    margin-top: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #FFFFFF;
    background-color: #000000;
    font-size: 12px;
    text-align: center;
}

a {
    text-decoration: none;
    color: black;
}

a:hover {
    text-decoration: underline;
}


/* Main Page Structure */
#area_1 {
    clear: both;
    position: relative;
    width: 100%;
}

dl {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 0px;
}

/* Styling for the term */
dt {
    font-weight: bold;
}

/* Styling for the description */
dd {
    width: 100%;
    margin-left: 0px;
}

#area_2 {
    display: flex;
    padding-top: 20px;
    flex-direction: column; /* Stacks children vertically */
    justify-content: center; /* Centers children vertically */
    align-items: center; /* Centers children horizontally */
    gap: 20px; /* Creates a space between child divs */
}



.login-container {
    width: 30%; /* This sets a fixed width; adjust if needed */
    background-color: #f9f9f9;
    border: 1px solid var(--color-grey);
    padding: 2em;
    border-radius: 5px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

input[type="text"], input[type="password"] {
    width: 90%;
    padding: 8px 0px 8px 10px; /* Added 10px padding to the left */
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    transition: all 0.3s ease;
}

/* Select dropdown with name attribute set to "MID" */
select[name="MID"] {
    width: 60%;           /* Set width of the dropdown */
    padding: 8px;           /* Add some padding around the text */
    border-radius: 5px;     /* Round the corners */
    border: 1px solid #ccc; /* Border color */
    font-size: 16px;        /* Font size */
    background-color: #f9f9f9; /* Background color */
    color: #333;            /* Text color */
    transition: all 0.3s;   /* Smooth transition for hover effects */
}

/* Hover effect for the dropdown */
select[name="MID"]:hover {
    border-color: #999;     /* Change border color on hover */
    background-color: #e6e6e6; /* Change background color on hover */
}

/* Style for the dropdown options */
select[name="MID"] option {
    padding: 4px 8px;       /* Add some padding around the text of options */
}

/* Select dropdown with name attribute set to "EID" */
select[name="EID"] {
    width: 60%;           /* Set width of the dropdown */
    padding: 8px;           /* Add some padding around the text */
    border-radius: 5px;     /* Round the corners */
    border: 1px solid #ccc; /* Border color */
    font-size: 16px;        /* Font size */
    background-color: #f9f9f9; /* Background color */
    color: #333;            /* Text color */
    transition: all 0.3s;   /* Smooth transition for hover effects */
}

/* Hover effect for the dropdown */
select[name="EID"]:hover {
    border-color: #999;     /* Change border color on hover */
    background-color: #e6e6e6; /* Change background color on hover */
}

/* Style for the dropdown options */
select[name="EID"] option {
    padding: 4px 8px;       /* Add some padding around the text of options */
}


  input::placeholder {
    padding: 8px;
  }

  .button-container {
    display: flex;
    justify-content: space-between; /* This will create space between the two buttons */
}

input[type="submit"] {
    box-sizing: border-box;
    cursor: pointer;
    background-color: #f69527;
    color:#FFFFFF;
    width: 40%;
    padding: 8px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    transition: all 0.3s ease;
    transition: all 0.3s ease;
    float: left; /* Float the buttons left to have them side by side */
  }

  .dropdown {
    width: 100%;
    padding: 5px;

  }

  input[type="submit"]:hover {
    background-color: #cf7034;
}

input[type="reset"] {
    box-sizing: border-box;
    cursor: pointer;
    background-color: #f69527;
    color:#FFFFFF;
    width: 40%;
    padding: 8px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    transition: all 0.3s ease;
    float: left; /* Float the buttons left to have them side by side */

  }

  input[type="reset"]:hover {
    background-color: #cf7034;
}

@media only screen and (max-width: 600px) {
    input[type="submit"], input[type="reset"] {
        width: 100%; /* Set width to 100% so they stack */
        float: none; /* Remove the float property */
    }
}

.form-container {
    padding-bottom: 30px;
}

.calendar-container {
    width: 95%;
    overflow-x: auto; /* This will enable horizontal scrolling */
}

.calendar {
    width: 100%; /* This will make the table take the full width of its container */
    /* You can set this to a fixed value, e.g., 1500px, if you know the desired width */
    /* Or you can let it be auto (default) and it will adjust based on its content */
}

.reminder-container {
    width: 30%; /* This sets a fixed width; adjust if needed */
    background-color: #f9f9f9;
    border: 1px solid var(--color-grey);
    padding: 2em;
    border-radius: 5px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.dashboard-container {
    width: 40%; /* This sets a fixed width; adjust if needed */
    background-color: #f9f9f9;
    border: 1px solid var(--color-grey);
    padding: 2em;
    border-radius: 5px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.addterm-container {
    width: 60%; /* This sets a fixed width; adjust if needed */
    background-color: #f9f9f9;
    border: 1px solid var(--color-grey);
    padding: 2em;
    border-radius: 5px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.listorder-container    {
    width: 90%; /* This sets a fixed width; adjust if needed */
    background-color: #f9f9f9;
    border: 1px solid var(--color-grey);
    padding: 2em;
    border-radius: 5px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.modmember-container {
    width: 60%; /* This sets a fixed width; adjust if needed */
    background-color: #f9f9f9;
    border: 1px solid var(--color-grey);
    padding: 2em;
    border-radius: 5px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.username-container {
    width: 400px; /* This sets a fixed width; adjust if needed */
    padding: 2em;
    text-align: center;
}

#area_4 {
    color: #4a78bd;
    position: absolute;
    left: 80%;
    width: 20%;
    top: 140px;
    float: right;
    font-size: 100%;
}

/* Area 1 Styles */
#header {
    background-color: black;
    background-image: url(http://saxophonicsinfo.co.uk/wp-content/uploads/2016/11/Banner-e1478699542124.png);
    background-position: center;
    background-repeat: no-repeat;
    height: 130px;
}

#header_logo {
    float: left;
}

#header_img {
    float: right;
}


#nav_main {
    background: black;
    clear: both;
    text-align: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

#nav_main li {
    display: inline;
    padding: 0;
}

#nav_main a {
    color: #CCCCCC;
    line-height: 3em;
    padding: 0em 1em;
}

#nav_main a:hover, #nav_main a:active {
    color: #FFFFFF;
    text-decoration: bold;
}

/* Area 2 Styles */
#box_2a, #box_2b, #box_2ba, #box_2bb {
    float: left;
    position: relative;
}

#box_2a {
    left: 2%;
    width: 15%;
    padding-bottom: 3em;
}

#box_2a_quote {
    background-color: #999999;
    float: left;
    width: 50%;
    padding: 2% 10%;
    border: 20px solid #FFFFFF;
    color: #000000;
}

#box_2b, #box_2ba {
    padding-bottom: 3em;
}

#box_2b {
    padding-left: 1.5%;
    width: 61.5%;
}

#box_2ba {
    left: 5%;
    padding-right: 5%;
    width: 51.5%;
}

#box_2bb {
    top: 50px;
    padding-left: 1.5%;
    width: 20%;
}

#box_2bb_blocka, #box_2bb_blockb, #box_2bb_blockc {
    padding: 0 10px;
    width: 300px;
    height: 600px;
}

/* Area 3 Styles */
#box_3a, #box_3b {
    float: left;
    position: relative;
    padding: 1em 0;
}

#box_3a {
    width: 17%;
}

#box_3b {
    float: right;
    left: 5%;
    width: 79%;
}

/* Area 4 Styles */
#box_4a, #box_4b {
    width: 100%;
    background-color: #DDDDDD;
    padding: 3% 10%;

}

/* Generic Styles */
h1, h2, h3, h4, h5, h6 {
    color: black;
    margin: 0;
}

h1 {
    border-bottom: solid 1px black;
    padding-bottom: 0.5em;
    font-size: 150%;
}

.button {
    background-color: blue;
    color: white;
    text-align: center;
}

.button:hover {
    background-color: lightblue;
}

.hometitle  {
    padding-top: 20px;
}

/* Specific Markup Styling */
.two_cols {
    background-color: purple;
    height: 1px;
}

.col_1, .col_2 {
    float: left;
    width: 48%;
    margin: 0 1%;
}

table {
	background: #DDDDDD;
	font-size: 100%;
	border-collapse: collapse;
	width: 100%}
table.width75 {
	background: #DDDDDD;
	font-size: 100%;
	width: 75%}
table.events {
	background: #DDDDDD;
	width: 100%}
table h2 {color: black;
	font-weight: bold;
	font-size: 140%}
	
caption {
	font-weight: bold;
	padding: 1em}
th {background: black;
	color: #DDDDDD;
	border: 1px solid #DDDDDD;
	padding: 0.5em;
	vertical-align: top}
th a:link, a:hover, a:active {
	color: #DDDDDD;
	text-decoration: none}
th a:visited {
	color: #DDDDDD;
	text-decoration: none}
th a:hover, a:active {
	text-decoration: underline}
th.w30 {
	width: 30%;
}
td {background: #DDDDDD;
	padding: 0.5em;
	border: 1px solid black;
	vertical-align: top}
td a:link, a:visited, a:hover, a:active {
	color: #000000;
	text-decoration: none}
td a:hover, a:active {
	text-decoration: underline}
td.Y {
	text-align: center;
	background: green}
td.N {
	text-align: center;
	background: red}
td.M {
	text-align: center;
	background: yellow}
td.X {
	text-align: center}
td.this {
	background: silver}
td.section {
	background: #4a66bd;
	color: white;
	font-size: 75%}
.button {
	background-color: blue;
	color: white;
	text-align: center;
}
.button:hover {
	background-color: lightblue;
}
table ol, table ul {
	font-size: 100%;
	margin: 0.5em 0 0.5em 1.5em;
	padding: 0}
td.wide75 {
    width: 75px;}
td.wide400 {
    width: 400px;}