:root {
    /* colour pallette */
    --edmund-dark-purple: #4d2a7c;
    --edmund-vivid-purple: #9100a3;
    --edmund-yellow: #ffd700;
    --edmund-rich-purple: #a30064;
    --edmund-black: #000;
    --edmund-dark-grey: #9f9f9f;
    --edmund-grey: #d9d9d9;
    --edmund-light-grey: #e9e9e9;
    --edmund-white: #fff;

    /* edmund colour scheme by function */

    --edmund-color-primary: var(--edmund-dark-purple);
    --edmund-color-secondary: var(--edmund-vivid-purple);
    --edmund-color-accent-yellow: var(--edmund-yellow);
    --edmund-color-accent-purple: var(--edmund-rich-purple);

    /* Text colours by function */
    --edmund-text-light-background: var(--edmund-black);
    --edmund-text-dark-background: var(--edmund-grey);
    box-sizing: border-box;
    font-size: 20px;
}
a {
    cursor: pointer;
    color: black;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 0.15em;
    text-underline-offset: 0.35em;
}

a:visited {
    color: black;
}

a:hover {
    color: var(--edmund-vivid-purple);
}
html {
    height: 100%;
}
body {
    border-top: 5px solid var(--edmund-dark-purple);
    background: var(--edmund-dark-grey);
    font-family: "Jost", sans-serif;
    color: black;
    display: flex;
    flex-direction: column;
    height: 100%;
}

header {
    position: relative;
    width: 100%;
    margin: 0 auto 20px auto;
    background: white;
}

nav {
    background-color: var(--edmund-color-primary);
    padding: 0.25rem;
    display: flex;
}

.navbar {
    position: relative;
    width: 100%;
}

nav ul {
    list-style: none;
}

nav ul li {
    float: left;
    padding: 3px 15px;
    color: white;
}

nav ul li a,
nav ul li a:visited {
    font-family: "Jost", sans-serif;
    text-transform: uppercase;
    transition: all 0.25s ease;
    font-weight: bold;
    font-size: 16px;
    color: white;
}
header {
    display: flex;
    flex-direction: column;
}
nav ul li a:hover {
    color: var(--edmund-color-accent-yellow);
}

.login_nav {
    float: right;
}

input {
    position: relative;
    width: 100%;

    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
}
textarea {
    position: relative;
    width: 100%;
    resize: none;

    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    padding: 12px 20px;
    background-color: var(--edmund-light-grey);
    outline: none;
    float: left;
    font-size: 12px;
    border: 2px solid var(--edmund-dark-grey);
}

.pp_button input {
    max-width: 228px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    background-color: var(--edmund-color-primary);
    border: none;
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    width: 100%;
    font-family: "Jost", sans-serif;
    font-weight: 600;
}
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
    background-color: var(--edmund-color-accent-purple);
}
label {
    font-family: "Jost", sans-serif;
    font-weight: bold;
    font-size: 1rem;
    float: left;
}

.main {
    width: 60%;
    margin: auto;

    font-family: "Jost", sans-serif;
    background: white;
}

p {
    font-family: "Jost", sans-serif;
    font-size: 16px;
    color: black;
    height: 100%;
    padding: 7px;
    margin: 15px;
    line-height: 22px;
    text-align: justify;
}
/* h3 to h6: Styles for additional heading levels.
   Modify font-size and font-weight to emphasize hierarchy. */
h1 {
    font-size: 2.2rem;
    font-weight: 800;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
    padding: 2rem;
}
h2 {
    font-size: 36px;
    font-weight: 700;
    padding: 2rem;
    z-index: 1;
}
h3 {
    font-size: 1.6rem;
    font-weight: 600;
}

h4 {
    font-size: 1.4rem;
    font-weight: 600;
}

h5 {
    font-size: 1.2rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-style: italic;
    font-weight: 600;
}

.imgbanner {
    position: relative;
    margin-top: 0.5rem;
    width: 100%;
}

.content {
    position: relative;
    margin: 0 auto 20px auto;
    background: white;
    display: inline-block;
    width: 100%;
    flex: 1;
}

.tbl {
    overflow-x: auto;
}

table {
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}

td,
th {
    text-align: center;
    padding: 15px;
    font-size: 12px;
}
.loginform {
    padding: 10px;

    background: white;
    border: 2px solid var(--edmund-dark-purple);
    margin: auto;

    width: 75%;
}

.loginform input {
    width: 100%;
    text-align: center;
    display: block;
    padding: 8px;
}

.g-recaptcha div {
    margin: auto;
}

.mark {
    text-align: center;
    padding: 10px;
    font-size: 20px;
}

th {
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: var(--edmund-light-grey);
}

.intro {
    padding: 2px;

    width: 80%;
    display: inline;
    margin: auto;
}

p,
ol,
ul {
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.5em;
    word-spacing: 0.16em;
}
.guest-details-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.guest-details-card {
    flex-wrap: wrap;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 5px;
    border: 1px solid var(--edmund-dark-purple);
    border-radius: 5px;
    background-color: var(--edmund-light-grey);
    display: flex;
    flex-direction: column;
}
.guest-details-card-main {
    flex-wrap: wrap;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    flex-wrap: wrap;
}
.guest-summary-item-group {
    margin-top: 3px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    font-size: 1.2rem;
}
.guest-summary-item {
    flex-wrap: wrap;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    padding: 5px;
    gap: 10px;
}
.guest-item-name {
    font-weight: 1000;
}
.guest-item-value {
    font-weight: 500;
    margin-left: 3px;
    margin-right: 3px;
}

.summary {
    margin-left: 20px;
}

.guest-details-card .mini-nav {
    margin: 0;
}
/* Style the buttons that are used to open and close the accordion panel */
.accordion {
    background-color: var(--edmund-dark-grey);
    color: black;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    font-size: 12px;
}
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active,
.accordion:hover {
    background-color: var(--edmund-color-accent-yellow);
}
.next-link {
    display: block;
    width: 100%;
    padding: 10px 0;
    background-color: var(--edmund-dark-purple);
    color: white !important;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 0px 0px 5px 5px;
}

.next-link:hover {
    background-color: var(--edmund-color-accent-purple);
}

/* Style the accordion panel. Note: hidden by default */
.panel {
    padding: 0 18px;
    background-color: white;
    display: none;
    overflow: hidden;
}

/* Style the tab */
.form-tab {
    overflow: hidden;
    border: 1px solid var(--edmund-grey);
    background-color: var(--edmund-grey);
    justify-content: space-between;
    display: flex;
    border: none;
    flex-wrap: wrap;
    outline: none;
    cursor: pointer;
    padding: 2px 4px;
    transition: 0.3s;
    font-size: 17px;
    width: 100%;
    flex-direction: column;
    text-align: center;
    border-radius: 5px 5px 0px 0px;
}

.mini-nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 10px;
    margin: 10px;
}
.next-action {
    background-color: var(--edmund-dark-purple) !important;
    color: white !important;
}
.next-action:hover {
    background-color: var(--edmund-color-accent-purple) !important;
}
/* Style the buttons that are used to open the tab content */
.form-tab a {
    background-color: inherit;
    float: left;
    color: black;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    font-size: 17px;
    text-decoration: none;
}
.form-meal-heading {
    text-align: center;
}

/* Change background color of as on hover */
.form-tab a:hover {
    background-color: var(--edmund-grey);
}

/* Create an active/current tablink class */
.form-tab a.active {
    background-color: var(--edmund-dark-grey);
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    width: 100%;
}
.main {
    flex: 1;
}
@media only screen and (max-width: 1000px) {
    .main {
        width: 100%;
        height: 100%;
        overflow: auto;
    }

    .report {
        padding: 5px;
    }
}

.tab {
    display: none;
}

.tabbtn {
    background-color: var(--edmund-dark-purple);
    border: none;
    color: white;
    padding: 9px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    cursor: pointer;
}

.tabbar {
    width: 100%;
    background-color: var(--edmund-dark-purple);
}

.tabbtn:hover {
    background-color: var(--edmund-color-accent-purple);
    cursor: pointer;
}

.tabreport {
    padding: 20px;
}

.checkout_row {
    width: 100%;
    float: right;
    padding: 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.checkout_labels {
    width: 100%;
    float: left;
}

.checkout_labels label {
    padding: 2px;
    margin: 0;
    font-size: 17px;
}

.checkout_input p {
    padding: 0;
    margin: 5px;
    text-indent: 0;
    font-size: 15px;
    text-align: center;
}

.checkout_labels input {
    padding: 2px;
    margin: 5px;
}

.checkout_input {
    width: 100%;
    float: left;
}

.checkout_input label {
    font-size: 12px;
    font-weight: normal;
    float: left;
    clear: both;
    display: inline-block;
    padding: 4px 2em 0 0;
    margin-left: 7px;
    line-height: 20px;
}

.error p {
    color: red;
    font-weight: bold;
}

.programme_row {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

.programme_input {
    width: 100%;
    float: left;
}
.programme_labels {
    width: 100%;
    float: left;
}

.programme_labels h4 {
    padding: 2px;
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: black !important;
}

.form_row {
    display: inline-block;
    width: 100%;
    float: right;
    padding: 5px;
}

.form_error {
    width: 100%;
    float: left;
    text-align: left;
    color: var(--edmund-vivid-purple);
    font-size: 12px;
    font-weight: bold;
    padding: 3px;
}

.form_labels {
    width: 40%;
    float: left;
}

.form_labels label {
    padding: 2px;
    margin: 0;
}

.form_labels p {
    padding: 0;
    margin: 5px;
    text-indent: 0;
    font-size: 16px;
    text-align: left;
}

.form_labels input {
    padding: 2px;
    margin: 5px;
}

.form_input {
    width: 60%;
    float: left;
}

.form_input select {
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    background-color: var(--edmund-light-grey);
    height: 50px;
}

.form_input input {
    padding: 12px 20px;
    background-color: var(--edmund-light-grey);
    outline: none;
    float: left;
    font-size: 12px;
    border: 2px solid var(--edmund-dark-grey);
}

.form_input input:focus {
    border: 3px solid var(--edmund-color-accent-purple);
}

.form_input select {
    background-color: var(--edmund-light-grey);
    outline: none;
    border: none;
}

.form_input select:focus {
    border: 3px solid var(--edmund-color-accent-purple);
}

.form_input p {
    font-size: 16px;
    padding: 10px;
    margin: 5px;
    text-align: justify;
    line-height: 15px;
}

.form_input input[type="radio"],
input.radio {
    float: left;
    clear: left;
    display: inline-block;
    accent-color: var(--edmund-color-accent-purple);
    width: auto;
    margin: 2px 10px 0 7px;
}

.form_input input[type="checkbox"],
input.checkbox {
    float: left;
    clear: left;
    display: inline-block;
    width: auto;
    margin: 2px 10px 0 7px;
}

.form_input label {
    font-size: 16px;
    font-weight: 500;
    float: left;
    clear: both;
    display: inline-block;
    padding: 1.5em 2em 0 0;
}

.offset {
    display: block;
    padding: 1rem;
}
.meal-form h4 {
    margin-top: 40px;
}
.mini-tally {
    list-style-type: none; /* Default bullet points */
    display: block;
    text-align: center;
    margin: 0; /* Removes any extra margin */
    width: 100%;
}
/* List items */
.mini-tally li {
    display: block;
    margin-bottom: 8px; /* Space between list items */
    padding: 0; /* Default padding for list items */
    font-size: 1.1rem; /* Default font size */
    font-weight: 800;
    line-height: 1.4; /* Default line height for readability */
}
.meal-guest-summary-sub-list {
}
.meal-guest-summary-sub-list li {
    font-size: 12px; /* Default font size */
    font-weight: 500;
}
.form-meal-heading ul {
    list-style-type: none; /* Default bullet points */
    padding-left: 0px; /* Default padding for bullets */
    margin: 0; /* Removes any extra margin */
}
.form-meal-heading li {
    margin-bottom: 8px; /* Space between list items */
    padding: 0; /* Default padding for list items */
    font-size: 20px; /* Default font size */
    line-height: 1.4; /* Default line height for readability */
}

.form-meal-heading .next-link {
    border-radius: 5px !important;
    margin-top: 30px !important;
}

@media only screen and (max-width: 1000px) {
    .loginform {
        width: 100%;
    }
    .offset {
        width: 100%;
    }

    .form_row {
        text-align: center;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .form_input {
        width: 100%;
    }

    .form_labels {
        width: 100%;
    }

    .form_labels label {
        font-size: 17px;
    }

    .form_labels p {
        font-size: 15px;
        padding: 5px;
    }

    .form_error {
        width: 100%;
        text-align: center;
    }

    .form_row input {
        font-size: 15px;
    }
}

.form_container {
    position: relative;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: inline-block;
}

.report {
    height: 100%;
    padding: 5px 35px 35px;
}
.body,
.main,
.content,
.main-form,
.report,
.intro {
    overflow-x: hidden;
}
.main {
    max-width: 1000px;
}
.meal-form-welcome-text {
    padding: 30px;
}
@media only screen and (min-width: 1000px) {
    .guest-details-card-main {
        padding: 10px 15px 15px 10px;
    }

    .guest-summary-item {
        margin: 3px;
    }
    .guest-summary-item-group {
        margin: 10px;
    }
}
