:root {
    --backgroundColor: #2f3441;
    --white: #ffffff;
    --buttonColor: #2f3441;
    --buttonText: #ffffff;
    --accentColor: #FDBA0D;
}

* {
    font-family: 'work sans', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

h2 {
    font-weight: 600;
}

.logo-img {
    max-width: 70%;
}

.small-logo-img {
    max-width: 40%;
}

.visually-hidden {
    border: 0;
    padding: 0;
    margin: 0;
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px);
    /* IE6, IE7 - a 0 height clip, off to the bottom right of the visible 1px box */
    clip: rect(1px, 1px, 1px, 1px);
    /*maybe deprecated but we need to support legacy browsers */
    clip-path: inset(50%);
    /*modern browsers, clip-path works inwards from each corner*/
    white-space: nowrap;
    /* added line to stop words getting smushed together (as they go onto seperate lines and some screen readers do not understand line feeds as a space */
}

button {
    color: var(--buttonText);
    background-color: var(--buttonColor);
    border-radius: 4px;
    border: none;
}

button:hover {
    cursor: pointer;
    transform: scale(1.01);
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 1em;
}

.content {
    background-color: var(--white);
    max-width: 1200px;
    margin: auto !important;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.3);
}

.margin {
    margin: 1em;
    min-height: 100vh;
}

a {
    color: #282828;
}

body {
    background-color: var(--backgroundColor);
}

.hideVaccination,
#addVaccination {
    transition: 300ms ease-in-out;
}

.hideVaccination:hover,
#addVaccination:hover {
    cursor: pointer;
    transform: scale(1.02);
}

/* Styling for the logo SVG */
.cls-1 {
    fill: var(--orange);
}

.cls-2 {
    fill: var(--backgroundColor);
}

.cls-3 {
    fill: var(--white);
}

#logo {
    max-width: 400px;
}

.flex {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.flex a {
    margin-bottom: 2rem;
}

.option {
    border: 2px solid var(--accentColor);
    width: 193px;
    height: 184px;
    border-radius: 10px;
    text-align: center;
    vertical-align: middle;
    display: flex;
    box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.15);
    transition: 300ms ease-in-out;
}

.option:hover {
    cursor: pointer;
    transform: scale(1.01);
}

.option p {
    max-width: 60%;
    margin: auto;
    margin-top: 0.5em;
}

.option-contents {
    margin-top: auto;
    margin-bottom: auto;
    width: 100%;
}

.header-logo {
    max-width: 1200px;
    margin: auto;
    margin-top: 2em;
}

.logout {
    text-align: right;
    margin-bottom: 2em;
    color: white;
    margin-top: -3em;
}

a {
    color: var(--orange);
}

.center,
.center p {
    font-family: 'poppins', roboto, sans-serif !important;
    text-align: center;
}

.hidden {
    display: none !important;
}

@media only screen and (max-width: 766px) {
    .option {
        width: 160px;
        height: 150px;
    }
}



@media only screen and (max-width: 580px) {
    .flex {
        flex-direction: column;
    }

    .option {
        width: 100%;
        height: 180px;
        margin: 1em 0;
    }

    .small-logo-img {
        max-width: 60%;
    }

    .tab {
        display: none !important;
    }

    .active-tab {
        display: flex !important;
        height: 50px !important;
    }

    .application-box {
        padding: 2em 1em !important;
    }

    .content {
        padding: 0;
    }
}

@media only screen and (max-width: 600px) {

    .primarySection,
    .generateReports {
        grid-template-columns: repeat(2, 1fr) important;
    }
}

/****************************
**** TABLE STYLES **********
***************************/

table {
    border-collapse: collapse;
    background: #ffffff;
    text-align: left;
}

table thead tr {
    background: var(--backgroundColor);
}

th {
    color: #fff;
}

td,
th {
    padding: 0.5em;
}

tbody tr {
    color: gray;
}

tbody tr:nth-child(even) {
    background-color: #e8eaf0;
}

tbody tr:hover {
    color: #555;
    background-color: #FDBA0D;
}

.wrap-table {
    border-radius: 10px;
    box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}