@charset "utf-8";

/* Each item is named {block type}{purpose} - All text should use cqi, everything else should use % */

body {
    display: flex;
    justify-content: center;
    background-color: whitesmoke;
}

a {
    text-decoration: none;
}

/* Core section & containers in it */

.section-standard {
    display: grid;
    margin-top: 1%;
    margin-bottom: 1%;
    grid-template-columns: 2fr 5fr ;
    grid-template-rows: clamp(0px, 10vw, 111px) 1fr clamp(0px, 10vw, 111px);
    width: 90vw;
    min-height: 100vh;
    max-width: 1080px;
    border: 1px solid rgba(0, 0, 0, 0.1); 
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
    background-color: white;
    container-type: inline-size;
}

.top-standard {
    display: flex;
    background-color: #777e68;
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    border-radius: 10px 10px 0 0;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
}

.left-standard {
    display: flex;
    flex-direction: column;
    grid-row: 2 / 3;
    grid-column: 1 / 2;
}

.middle-standard {
    display: flex;
    grid-row: 2 / 3;
    grid-column: 2 / 3;
    flex-direction: column;
}

.bottom-standard {
    display: flex;
    background-color: #777e68;
    height: 50%;
    margin-top: auto;
    grid-column: 1 / 3;
    grid-row: 3 / 4;
    border-radius: 0 0 10px 10px;
    align-items: center;
    flex-direction: row;
}

.middle-data-standard {
    display: flex;
    grid-row: 2 / 3;
    grid-column: 1 / 3;
    flex-direction: column;
}

/* Assets for heading */

.top-heading {
    color: white;
    font-size: clamp(0px, 6.5cqi, 55px);
    font-family: Arial;
    margin-left: 5%;
    margin-top: 0;
    margin-bottom: 0;
}

.top-util {
    color: white;
    font-size: 1.5cqi;
    font-family: Arial;
    margin-right: 5%;
}

.top-link {
    color: white;
    font-size: 1.5cqi;
    font-family: Arial;
    margin-right: 5%;
    text-decoration: underline;
    text-decoration-color: white;
}

button.top-link {
    background: none;     /* no grey button face             */
    border: none;         /* no border outline                */
    padding: 0;           /* no extra padding                 */
    cursor: pointer;      /* pointer cursor like a link       */
    display: inline;      /* prevent it from acting like a box*/
}

/* Assets for general display */

.heading-general {
    color: #777e68;
    font-family: Arial;
    font-size: 4.5cqi;
    margin-left: 10%;
    margin-right: 10%;
}

.subheading-general {
    font-family: Arial;
    font-size: 3cqi;
    margin-left: 15%;
    margin-right: 15%;
}

.paragraph-general {
    font-family: Arial;
    font-size: 1.5cqi;
    margin-top: 2.5%;
    margin-bottom: 2.5%;
    margin-left: 15%;
    margin-right: 15%;
}

.paragraph-general-split {
    font-family: Arial;
    font-size: 1.5cqi;
    margin-top: 5%;
    margin-bottom: 5%;
}

.div-split {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 5%;
}

.div-split-child-half {
    width: 50%;
}

.div-split-images {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 5%;
    margin-left: 12.5%;
    margin-right: 12.5%;
}

.subheading-link {
    color: #777e68;
    font-family: Arial;
    font-size: 3cqi;
    margin-top: 0%;
    margin-left: 15%;
    text-decoration: underline;
    text-decoration-color: #777e68;
}

/* Assets for visual breaks */

.div-hori-break {
    margin-left: auto;
    margin-right: auto;
    width: 75%;
    height: 20px;
    background-color: whitesmoke;
    border-radius: 15px;
    margin-top: 2.5%;
    margin-bottom: 2.5%;
}

.div-vert-break {
    width: 20px;
    height: auto;
    background-color: whitesmoke;
    border-radius: 15px;
}

/* Assets for all types of buttons */

.image-curve {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px 10px 0 0;
}

.div-middle-button {
    border: 1px solid rgba(0, 0, 0, 0.1); 
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
    margin-top: 7.5%;
    margin-left: 15%;
    width: 75%;

}

.div-middle-button-nullink {
    border: 1px solid rgba(0, 0, 0, 0.1); 
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
    margin-top: 7.5%;
    margin-left: 15%;
    width: 75%;
    background-color: #777e68;
}

.div-left-button {
    border: 1px solid rgba(0, 0, 0, 0.1); 
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
    margin-top: 10%;
    margin-left: 15%;
    width: 75%;

}

.paragraph-button {
    width: 100%;
    height: 15%;
    color: white;
    font-size: 3cqi;
    font-family: Arial;
    background-color: #777e68;
    margin: 0;
    border-radius: 0 0 10px 10px;
    text-align: center;
    padding-top: 2.5%;
    padding-bottom: 2.5%;
    font-weight: bold;
}

.paragraph-days {
    width: 100%;
    height: 15%;
    color: white;
    font-size: 3cqi;
    font-family: Arial;
    background-color: #777e68;
    margin: 0;
    border-radius: 10px;
    text-align: center;
    padding-top: 2.5%;
    padding-bottom: 2.5%;
    font-weight: bold;
}

.button-zero {
    margin-left: 15%;
    margin-bottom: 5%;
    width: 20%;
    font-size: 2cqi;
    border: 1px solid rgba(0, 0, 0, 0.1); 
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
    background-color: #777e68;
    color: white;
    padding: 1.25% 3% 1.25% 3%
}

.button-save:active {
    box-shadow: none;
}

/* Assets for tables */

.table-orders {
    text-align: center;
    margin-bottom: 5%;
    margin-left: 10%;
    margin-right: 10%;
    border-collapse: collapse;
    width: 80%;
}

.row-orders {
    padding-left: 1.5%;
    padding-right: 1.5%;
    padding-top: 1%;
    padding-bottom: 1%;
    font-size: 1.5cqi;
    font-family: Arial;
    border-bottom: 2px solid #777e68;
}

.row-orders-no-border {
    padding-left: 1.5%;
    padding-right: 1.5%;
    padding-top: 1%;
    padding-bottom: 1%;
    font-size: 1.5cqi;
    font-family: Arial;
}

.button-save {
    margin-left: 15%;
    margin-bottom: 5%;
    font-size: 2cqi;
    border: 1px solid rgba(0, 0, 0, 0.1); 
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
    background-color: #777e68;
    color: white;
    padding: 1.25% 3% 1.25% 3%
}

/* Assets for input types & local browser overrides */

input[type="number"] {
    width: 90%;
    font-size: 1cqi;
    padding-top: 7.5%;
    padding-bottom: 7.5%;
    border: 1px solid rgba(0, 0, 0, 0.1); 
    border-radius: 5px;
    box-shadow: 0 1.25px 2.5px rgba(0, 0, 0, 0.1), 0 1.5px 1.5px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;

}

input[type="number"]:focus {
    outline: none;
}

input[type="text"] {
    width: 90%;
    font-size: 1cqi;
    padding-top: 7.5%;
    padding-bottom: 7.5%;
    border: 1px solid rgba(0, 0, 0, 0.1); 
    border-radius: 5px;
    box-shadow: 0 1.25px 2.5px rgba(0, 0, 0, 0.1), 0 1.5px 1.5px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;

}

input[type="text"]:focus {
    outline: none;
}

textarea {
    width: 100%;
    height: 100%;
    font-size: 1.5cqi;
    padding-top: 2.5%;
    padding-bottom: 2.5%;
    border: 1px solid rgba(0, 0, 0, 0.1); 
    border-radius: 5px;
    box-shadow: 0 1.25px 2.5px rgba(0, 0, 0, 0.1), 0 1.5px 1.5px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;
    resize: none;
    overflow: auto;
}

input[type="password"] {
    margin: 5%;
    height: 25%;
    width: 30%;
}

/* BEGIN ASSETS FOR SPECIFIC PAGES */

/* Assets for home page */

.div-logo {
    width: 65%;
    margin-top: 5%;
    margin-left: auto;
    margin-right: 12.5%;
}

.image {
    max-width: 100%;
    height: auto;
    display: block;
}

.heading-home {
    color: white;
    font-size: 4cqi;
    font-family: Arial;
    margin-top: 30%;
    margin-bottom: 20%;
    background-color: #777e68;
    padding: 5%;
    padding-left: 10%;
    border: 1px solid rgba(0, 0, 0, 0.1); 
    border-radius: 0 10px 10px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
}

/* Assets for utility pages */

.paragraph-utility {
    font-family: Arial;
    font-size: 2cqi;
    margin-top: 15%;
    margin-left: 15%;
    margin-right: 15%;
}

/* Assets for Login Page */

.table-login {
    text-align: center;
    margin-top: 15%;
    margin-left: 10%;
    margin-right: 10%;
    border-collapse: collapse;
    width: 80%;
}

.row-login {
    padding: 5%;
    font-size: 2cqi;
    font-family: Arial;
    border-bottom: 2px solid #777e68;
    box-sizing: border-box;
}

.input-login {
    margin: 5%;
    height: 25%;
    width: 30%;
}

/* Assets for transfers pages */

.div-text-input {
    margin-left: 10%;
    width: 60%;
    height: 30%;
    margin-bottom: 10%;
}

.div-photo-input {
    margin-left: 15%;
    margin-top: 5%;
    margin-bottom: 10%;
}

/* ASSETS FOR EPI ONE */

/* Naming = one-type-context (Does not apply for page layout items) */

/* Colour Scheme */

/* Primary: #3E5F6B, Secondary: #1d6d8a, Accent: #E9C46A, Text: #0A2A33 */

/* Page Layout */

.one-section-standard {
    display: grid;
    margin-top: 1%;
    margin-bottom: 1%;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: clamp(0px, 10vw, 111px) auto auto 1fr clamp(0px, 10vw, 111px);
    width: 90vw;
    min-height: 100vh;
    max-width: 1080px;
    border: 1px solid rgba(0, 0, 0, 0.1); 
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
    background-color: white;
    container-type: inline-size;
}

.one-top-standard {
    display: flex;
    background-color: #3E5F6B;
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    border-radius: 10px 10px 0 0;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
}

.one-bottom-standard {
    display: flex;
    background-color: #3E5F6B;
    height: 50%;
    margin-top: auto;
    grid-column: 1 / 3;
    grid-row: 5 / 6;
    border-radius: 0 0 10px 10px;
    align-items: center;
    flex-direction: row;
}

/* Heading, Main block, Split block, Main block, Bottom OR Heading, Mid, Bottom. 1st main block & split block are auto, so can contain nothing */

.one-mid-standard {
    display: flex;
    flex-direction: column;
    grid-row: 2 / 5;
    grid-column: 1 / 3;
}

.one-main-top-standard {
    display: flex;
    flex-direction: column;
    grid-row: 2 / 3;
    grid-column: 1 / 3;
}

.one-split-left-standard {
    display: flex;
    flex-direction: column;
    grid-row: 3 / 4;
    grid-column: 1 / 2;
}

.one-split-right-standard {
    display: flex;
    flex-direction: column;
    grid-row: 3 / 4;
    grid-column: 2 / 3;
}

.one-main-bottom-standard {
    display: flex;
    flex-direction: column;
    grid-row: 4 / 5;
    grid-column: 1 / 3;
}

/* Margin Modifiers */

.mt-xs {margin-top: 2.5%;}
.mt-sm {margin-top: 5%;}
.mt-md {margin-top: 10%;}
.mt-lg {margin-top: 20%;}

.mb-xs {margin-bottom: 2.5%;}
.mb-sm {margin-bottom: 5%;}
.mb-md {margin-bottom: 10%;}
.mb-lg {margin-bottom: 20%;}

.ml-xs {margin-left: 2.5%;}
.ml-sm {margin-left: 5%;}
.ml-md {margin-left: 10%;}
.ml-lg {margin-left: 20%;}

.mr-xs {margin-right: 2.5%;}
.mr-sm {margin-right: 5%;}
.mr-md {margin-right: 10%;}
.mr-lg {margin-right: 20%;}

.centre {margin-left: auto; margin-right: auto;}

/* Text */

.one-heading-general {
    color: #3E5F6B;
    font-family: Arial;
    font-size: 4.5cqi;
}

.one-subheading-general {
    color: #0A2A33;
    font-family: Arial;
    font-size: 3cqi;
}

.one-paragraph-general {
    color: #0A2A33;
    font-family: Arial;
    font-size: 1.5cqi;
}

.one-heading-top {
    color: white;
    font-size: 6.5cqi;
    font-family: Arial;
    margin-left: 5%;
    margin-top: 0;
    margin-bottom: 0;
}

.one-link-top {
    color: white;
    font-size: 1.5cqi;
    font-family: Arial;
    text-decoration: underline;
    text-decoration-color: white;
}

.one-link-top-back {
    color: white;
    font-size: 3cqi;
    font-family: Arial;
    text-decoration: underline;
    text-decoration-color: white;
}

.one-heading-alternative {
    display: flex;
    align-items: center;
    gap: 2.5%;
    color: #3E5F6B;
    font-size: 4.5cqi;
    font-family: Arial;
    margin-left: 2.5cqi;
    margin-right: 2.5cqi;
}

.one-heading-alternative::before,
.one-heading-alternative::after {
    content: "";
    flex: 1;
    background-color: whitesmoke;
    height: 1rem;
    border-radius: 0.5rem;

}

/* Information Text */

.one-paragraph-urgent {
    color: #9B1C1C;
    font-family: Arial;
    font-size: 3cqi;
    font-weight: bold;
}

.one-paragraph-warning {
    color: #8A4B00;
    font-family: Arial;
    font-size: 3cqi;
    font-weight: bold;
}

.one-paragraph-ok {
    color: #1F4E79;
    font-family: Arial;
    font-size: 3cqi;
    font-weight: bold;
}

.one-paragraph-good {
    color: #1B5E3C;
    font-family: Arial;
    font-size: 3cqi;
    font-weight: bold;
}

/* Buttons */

.one-div-button {
    border: none; 
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
    width: 75%;
    aspect-ratio: 5 / 1;
    background-color: #1d6d8a;
    display: flex;
    justify-content: center;
    align-items: center;
}

.one-div-button-lg {
    border: none; 
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
    width: 75%;
    aspect-ratio: 10 / 1;
    background-color: #1d6d8a;
    display: flex;
    justify-content: center;
    align-items: center;
}

.one-div-button-sm {
    border: none; 
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
    width: 37.5%;
    aspect-ratio: 5 / 1;
    background-color: #1d6d8a;
    display: flex;
    justify-content: center;
    align-items: center;
}

.one-paragraph-button {
    color: whitesmoke;
    font-size: 3cqi;
    font-family: Arial;
    margin: 2.5%;
    font-weight: bold;
}

.one-button-form {
    border: none;
    font-size: 3cqi;
    border: 1px solid rgba(0, 0, 0, 0.1); 
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
    width: 15cqi;
    aspect-ratio: 5 / 2;
    background-color: #1d6d8a;
    color: white;
    font-weight: bold;
    padding: 1.25% 3% 1.25% 3%
}

/* Tables */

.one-table-general {
    text-align: center;
    border-collapse: collapse;
    width: 90%;
    background-color: whitesmoke;
    border: none; 
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    table-layout: fixed;
}

.one-th-general {
    padding: 1.5%;
    font-size: 2cqi;
    font-family: Arial;
    color: whitesmoke;
    background-color: #1d6d8a;
}

.one-td-general {
    padding: 1.5%;
    font-size: 1.5cqi;
    font-family: Arial;
    border-top: 1px solid #1d6d8a;
    color: #0A2A33;
    top: 0;
}

/* Visual Breaks */

.one-div-break {
    margin: 2.5% auto;
    width: 85%;
    height: 20px;
    background-color: whitesmoke;
    border-radius: 15px;
}

/* Charts */

.one-chart {
    margin: 5% auto 5% auto;
    width: 90%;
}
