:root {
    --zip-primary-color: #00324b;
    --zip-secondary-color: #047eb3;

    /* Client imported variables: */
    /* Colours */
    --color-white: #fff;
    --bg-color-off-white: #eef1f2;
    --color-grey-lightest: #f9f9f9;
    --color-grey-lighter: #eaeaea;
    --color-grey-light: #cecfd0;
    --color-grey-medium: #b1b4b6;
    --color-grey-dark: #505a5f;
    --color-black: #1d1d1b;
    --color-primary: var(--color-primary-blue);
    --color-primary-red: #bd2c30;
    --color-primary-blue: #00324b;
    --color-primary-blue-opacity-15: #00324b26;
    --color-primary-blue-opacity-25: #00324b40;
    --color-primary-blue-opacity-45: #00324b73;
    --color-primary-green: #0f7060;
    --color-primary-green-light: #258374;
    --color-primary-yellow: #e2ab0c;
    --color-yellow: #e2ab0c;
    --color-light-grey: #d2d2d2;
    --color-focus: #ecb720;
    --color-success: #4A8131;
    --color-success-dark: #25550f;
    --color-danger: var(--color-red);
    --color-warning: var(--color-orange);
    --color-minor: var(--color-yellow);
    --color-link: var(--color-accent);
    --color-accent: var(--color-primary);
    --call-out-box-bg-color: var(--color-primary-blue-opacity-15);

    /* Headings */
    --heading-1-color: var(--color-text);
    --heading-2-color: var(--color-text);
    --heading-3-color: var(--color-text);
    --heading-4-color: var(--color-text);
    --heading-5-color: var(--color-text);
    --heading-6-color: var(--color-text);
    --heading-1-line-height: var(--line-height);
    --heading-2-line-height: var(--line-height);
    --heading-3-line-height: var(--line-height);
    --heading-4-line-height: var(--line-height);
    --heading-5-line-height: var(--line-height);
    --heading-6-line-height: var(--line-height);
    --heading-font-weight: bold;
    --heading-1-font-weight: var(--heading-font-weight);
    --heading-2-font-weight: var(--heading-font-weight);
    --heading-3-font-weight: var(--heading-font-weight);
    --heading-4-font-weight: var(--heading-font-weight);
    --heading-5-font-weight: var(--heading-font-weight);
    --heading-6-font-weight: var(--heading-font-weight);
    --transition-time: 0.3s;

    /* Fonts */
    --font-primary: 'Open Sans', helvetica, arial, sans-serif;
    --font-secondary: var(--font-primary);
    --font-icons: 'Font Awesome 6 Free';
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-bold: 600;
    --font-weight-semi-bold: 700;
    --font-weight-extra-bold: 800;
    --font-heading-1: var(--font-secondary);
    --font-heading-2: var(--font-secondary);
    --font-heading-3: var(--font-secondary);
    --font-heading-4: var(--font-secondary);
    --font-heading-5: var(--font-secondary);
    --font-heading-6: var(--font-secondary);
    --font-size: 1rem;
    --font-size-smallest: calc(var(--font-size) * 0.3);
    --font-size-smaller: calc(var(--font-size) * 0.5);
    --font-size-small: calc(var(--font-size) * 0.75);
    --font-size-medium: calc(var(--font-size) * 1);
    --font-size-large: calc(var(--font-size) * 1.3125);
    --font-size-larger: calc(var(--font-size) * 1.6875);
    --font-size-largest: calc(var(--font-size) * 2.875);
    --font-size-h1: clamp(var(--font-size-larger), 10vw, var(--font-size-largest));
    --font-size-h2: clamp(var(--font-size-large), 8vw, var(--font-size-larger));
    --font-size-h3: clamp(var(--font-size-medium), 6vw, var(--font-size-large));
    --font-size-h4: var(--font-size-medium);
    --font-size-h5: var(--font-size-medium);
    --font-size-h6: var(--font-size-medium);
    --page-title-lede-font-size: var(--font-size-h3);

    /* Footer Items */
    --color-section-pre-footer-bg: var(--color-grey-dark);
    --color-section-footer-bg: var(--color-white);
    --color-section-post-footer-bg: var(--color-white);
    --section-spacing-vertical-pre-footer: var(--spacing-largest);
    --section-spacing-vertical-footer: var(--spacing);
    --section-spacing-vertical-post-footer: var(--spacing);
    --color-pre-footer-link: var(--color-white);
    --color-pre-footer-text: var(--color-white);
    --color-footer-link: var(--color-link);
    --color-footer-text: var(--color-text);
    --color-post-footer-link: var(--color-link);
    --color-post-footer-text: var(--color-text);
}

body {
    color: #222222;
    font-family: 'Arial Sans Seris', sans-serif;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--color-focus);
    outline-offset: 0;
    box-shadow: inset 0 0 0 3px;
    border-color: var(--color-black);
    border-radius: 0;
}

main input[type="text"],
main input[type="tel"],
main input[type="search"],
main input[type="password"],
main input[type="file"],
main input[type="number"],
main span.ui-spinner,
main select,
main textarea,
main input[type="text"][id*="Cancel"],
main .select2-container {
    border-radius: 0;
}

a:focus {
    background-color: var(--color-focus);
    outline: none;
    box-shadow: 0 -2px var(--color-focus), 0 4px var(--color-black);
    color: black;
    text-decoration: none;
}

header.header {
    padding: 0 0 2rem 0;
    background-color: #fff;
    color: #fff;
}

header.header .zip-container,
.zip-navigation .zip-container{
    max-width: 1180px;
}

header.header .logo {
    width: 50%;
    max-width: 150px;
}

.zip-navigation ul.navbar li.user-display>ul.active {
    background-color: #eef1f2;
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1), 0 0px 5px rgba(0, 0, 0, 0.1);
    color: black;
    font-size: 16px;
    top: 38px;
}

.zip-navigation ul.navbar li.user-display>ul.active>li>a {
    color: black;
    font-size: 16px;
}

a.username:focus {
    outline: none !important;
}

/* === Typography === */

main h1 {
    font-size: 2.25em;
    margin-bottom: 1em;
}

/* === Buttons === */

main .btn,
main .btn-o,
main span.btn a,
main span.btn-o a,
main .btn-cancel,
main #backButton,
main #cancelButton,
main input#cancel,
main input#submitDelete,
main input.btn-cancel,
main input#back,
main input.btn-o,
main input[type="submit"],
main input[type="button"],
main button,
main input#btnCancelCSS,
a.zip-link-cancel,
#ConfirmDetailsText a.zip-link,
input[value="Back"] {
    font-size: 16px;
    padding: 0.8em 1.6em;
    text-decoration: none;
}

/* Primary buttons */

.btn,
span.btn a,
input[type="submit"],
input[type="button"],
button {
    background: #00324b;
    color: #ffffff;
    box-sizing: border-box;
}

.btn:hover,
span.btn a:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
button:hover {
    background: #00324bd9;
    color: white;
    text-decoration: underline !important;
}

.btn:focus,
span.btn a:focus,
input[type="submit"]:focus,
input[type="button"]:focus,
button:focus {
    background-color: var(--color-focus);
    color: black;
    box-shadow: 0 -2px var(--color-focus), 0 4px var(--color-black);
    outline: none;
}

/* Secondary buttons */

.btn-o,
span.btn-o a,
.btn-cancel,
input.btn-cancel,
input.btn-o,
#backButton,
#cancelButton,
input[type="submit"].btn-o,
input[type="button"].btn-o,
input#cancel,
input[id*='Cancel'],
input#back,
main input#btnCancelCSS,
.btn-cancel-link,
input[type="submit"].btn-cancel-link,
a.zip-link-cancel,
#ConfirmDetailsText a.zip-link,
input[value="Go Back"],
input[value="Back"] {
    background: #00324b26;
    color: #00324b;
}

.btn-o:hover,
span.btn-o a:hover,
.btn-cancel:hover,
#backButton:hover,
#cancelButton:hover,
input#cancel:hover,
input[type="submit"].btn-o:hover,
input[type="button"].btn-o:hover,
input#back:hover,
main input#btnCancelCSS:hover,
.btn-cancel-link:hover,
input[type="submit"].btn-cancel-link:hover,
a.zip-link-cancel:hover,
#ConfirmDetailsText a.zip-link:hover,
input[value="Go Back"]:hover,
input[value="Back"]:hover{
    background: #00324b40 !important;
    color: #00324b !important;
    text-decoration: underline !important;
}

input#submitDelete:hover,
input#submitDelete:focus {
    text-decoration: underline !important;
}

/*Ceremony Fixes*/

.manageBookingTabs .zip-ceremony-hub-card {
    background-color: transparent;
}

.zip-ceremony-hub-card-header>ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

ol.zip-ceremony-hub-checklist {
    margin: -1.25rem 0 0;
    padding: 0;
    counter-reset: zip-ceremony-hub-checklist;
}

ol.zip-ceremony-hub-checklist>li {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0 0;
}

ol.zip-ceremony-hub-checklist>li::before {
    counter-increment: zip-ceremony-hub-checklist;
    content: " " counter(zip-ceremony-hub-checklist)" ";
    border: solid 1px;
    width: 2em;
    height: 2em;
    border-radius: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

ol.zip-ceremony-hub-checklist>li>*:nth-child(1) {
    flex: 1;
}

ol.zip-ceremony-hub-checklist>li.completed {
    color: #00C853;
    font-weight: 600;
}

ol.zip-ceremony-hub-checklist>li.completed::before {
    border-width: 2px;
    font-family: FontAwesome;
    content: "\f00c";
}

ol.zip-ceremony-hub-checklist>li>* {
    margin: 0 !important;
}

ol.zip-ceremony-hub-checklist>li>.btn {
    width: 20%;
    min-width: 160px;
    font-weight: 400;
    font-size: 14px;
}

ol.zip-ceremony-hub-checklist>li .zip-ceremony-options {
    width: calc(100% + 4rem);
    border-top: solid 1px;
    border-bottom: solid 1px;
    border-color: rgba(0, 0, 0, 0.1);
    margin: 2rem -2rem !important;
    padding: 2rem;
}

ol.zip-ceremony-hub-checklist>li:last-child .zip-ceremony-options {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

ol.zip-ceremony-hub-checklist>li .zip-ceremony-options ul.zip-selected-ceremony-options {
    list-style: none;
    margin: 1rem 0 2rem;
    padding: 0;
    font-size: 14px;
}

ol.zip-ceremony-hub-checklist>li .zip-ceremony-options ul.zip-selected-ceremony-options>li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

ol.zip-ceremony-hub-checklist>li .zip-ceremony-options ul.zip-selected-ceremony-options>li>p {
    margin: 0 !important;
    flex: 1;
}

ol.zip-ceremony-hub-checklist>li .zip-ceremony-options ul.zip-selected-ceremony-options>li>.zip-selected-ceremony-options-delete {
    margin-right: 1rem;
}

.zip-ceremony-options a.close {
    top: 1rem !important;
    right: 2rem !important;
}

ul.zip-list-flex {
    margin-top: 1.05rem;
}

.zip-ceremony-hub-checklist .ui-widget input[type="submit"]:hover,
.zip-ceremony-hub-checklist .ui-widget input[type="button"]:hover,
.zip-ceremony-hub-checklist .ui-widget span.btn>a:hover,
.zip-ceremony-hub-checklist .ui-widget span.btn-o>a:hover,
.zip-ceremony-hub-checklist .btn.btn-primary:hover {
    color: white !important;
    text-decoration: underline;
    background-color: #00324bd9;
}

/*Results Table and Print stylesheet amends*/
table.results {
    margin-bottom: 1rem;
}

table.results th,
table.results td {
    padding: 0.5rem;
}

table.results tr:nth-child(odd),
table.results tr:nth-child(odd) strong {
    font-weight: normal !important;
}

table.results tr:nth-child(even) {
    background-color: #f2f2f2;
}

table.results tr:nth-child(even) td {
    border-bottom: 2px solid #333;
}

table.results #ceremonyRow a {
    color: #00324b;
}

table.results #ceremonyRow~tr td:first-child {
    font-weight: 600;
}


table.ReducedStaffAllocationList {
    display: table !important;
    width: 100%;
}

table.ReducedStaffAllocationList tr:nth-child(even) {
    background-color: #f2f2f2;
}

/*Table width fixes*/
main table th,
main table thead th,
table.dataTable thead th {
    white-space: normal !important;
}

table.ul-datepicker-calendar td,
table.ul-datepicker-calendar th,
table.ul-datepicker-calendar thead th,
table.ul-datepicker-calendar thead td {
    padding: 1px !important;
}

/* Custom Questions Print */
#customQuestionsContainer ul {
    list-style: none;
}

#customQuestionsContainer ul li {
    margin: 1rem 0;
    display: flex;
    flex-flow: column wrap;
}

#customQuestionsContainer ul li:first-child {
    margin-top: 0;
}

#customQuestionsContainer ul li:last-child {
    margin-bottom: 0;
}


.certificateActions {
    list-style: none;
    display: flex;
    flex-flow: column;
}

.certificateActions li a {
    padding: 0.25rem 0;
    display: block;
}

.certificateActions li a:hover,
.certificateActions li a:focus,
.certificateActions li a:active {
    font-weight: 500;
}

.certificateActions li:first-child a {
    padding-top: 0;
}

.certificateActions li:last-child a {
    padding-bottom: 0;
}

@media print {
    @page {
        size: A4;
        margin: 0;
    }

    body {
        padding: 15mm 10mm;
    }

    .zip-navigation,
    #staffAllocationResultCount,
    #printButton,
    button[type="submit"] {
        display: none !important;
    }

    .zip-container {
        max-width: 100%;
        margin: 0 16px;
    }

    table.results td,
    table.results th {
        font-size: 10px !important;
    }

    table {
        page-break-inside: auto
    }

    table tr {
        page-break-inside: avoid;
        page-break-after: auto
    }

    table thead {
        display: table-header-group;
    }

    table tfoot {
        display: table-footer-group;
    }
}


.modal__title {
    font-style: normal;
}

header.modal__header {
    margin-bottom: 0;
}

body.zip-ceremony-hub main.modal__content {
    padding-top: 0;
    padding-bottom: 1rem;
}

.btn.btn-primary a {
    text-decoration: none;
}

.controls .zip-menu-toggle {
    margin-top: 3px;
}

/* Knowsley Footer*/

#footer .top {
    border-bottom: 1px solid #d9d9d9;
    padding: 10px 0 41px 0;
    overflow: hidden
}

#footer .top .column {
    float: left;
    width: 27%;
    padding: 0 3%
}

#footer .top .column h2 {
    color: #cd104b;
    border-bottom: 1px solid #dadada;
    padding: 0 0 15px 0;
    margin: 20px 0 15px 0;
    font-size: 1.6em
}

#footer .top .column ul {}

#footer .top .column ul li {
    padding: 0 0 5px 0
}

#footer .top .column ul li a {
    font-size: 1.1em;
    color: #000;
    padding: 0 9px 0 0;
}

#footer .top .column ul li a:hover {}

#footer .btm {
    padding: 1em 28px;
    line-height: 1.5em;
    color: #333
}

#footer .btm ul li {
    font-size: 1.1em;
    display: inline
}

#footer .btm p {
    font-size: 1.1em
}

#footer .btm a {
    color: #333
}

#footer .btm a:hover,
#footer .btm a:active,
#footer .btm a:focus {
    text-decoration: underline
}

#footer .iconContainer {
    border-bottom: 1px solid #dadada;
    padding: 0 0 15px 0;
    margin: 20px 0 15px 0
}

#footer .iconLayout {
    width: 193px;
    margin: 0 auto
}

#footer .iconLayout a {
    display: inline-block;
    margin: 0 15px
}

@media screen and (max-width:768px) {

    #footer {
        padding: 10px
    }

    #footer .top .column {
        float: none;
        width: 100% !important;
        padding: 0
    }

    #footer .top .column UL LI {
        margin-bottom: 6px
    }

    #footer .top .column UL LI A {
        font-size: 1.2em
    }

    #footer .btm {
        padding: 20px 0
    }

    #footer .btm UL {
        margin-bottom: 15px;
        line-height: 1.8em
    }

    #footer .btm UL LI {
        font-size: 1.2em
    }

    #footer .btm P {
        font-size: 1.2em
    }

    #footer .iconContainer {
        border-bottom: none
    }

    .form-horizontal {
        width: 100% !important
    }
}

tr[id*=infoLabel] {
    font-size: 1.3em
}

tr[id*=infoLbl] {
    font-size: 1.3em
}

tr[id*=infoTitle] {
    font-size: 1.3em;
    font-weight: bold
}

#header {
    overflow: visible;
    padding: 0
}

#header .top-section {
    position: relative;
    margin-bottom: 20px;
    padding: 20px
}

.main-logo {
    display: inline-block
}

.tertiary-menu {
    position: absolute;
    bottom: 0;
    right: 10px
}

.tertiary-menu li {
    display: inline-block
}

.tertiary-menu li.tings {
    display: none
}

.tertiary-menu li.tingsHigh {
    display: none
}

.tertiary-menu li.jobs {
    display: none
}

.tertiary-menu li.jobsHigh {
    display: none
}

.tertiary-menu li a {
    display: block;
    padding: 6px 15px;
    background-color: #00324b;
    color: #fff;
    letter-spacing: .1em;
    font-size: 1.15em;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid #00324b
}

.tertiary-menu li a:hover {
    background-color: #fff;
    color: #00324b
}

#siteTools {
    width: auto;
    float: none;
    margin: 0;
    padding: 4px 5px 35px 8px;
    overflow: visible;
    background: #e7eaeb;
    border: 0
}

.alert-container {
    margin-top: 20px;
    overflow: hidden;
    border: 1px solid #000
}

.alert-box {
    background-color: #ffcb08;
    float: left;
    padding: 7px 7px 5px
}

.alert-box i {
    display: inline-block;
    font-size: 1.4em;
    margin-right: 3px
}

.alert-box p {
    color: #000;
    display: inline-block;
    font-size: 1.4em;
    text-transform: uppercase;
    font-weight: bold
}

.alert-message-container {
    padding: 7px 7px 5px;
    float: left
}

.alert-message-container p {
    font-size: 1.4em
}

#homepage p {
    font-size: 1.4em
}

#footer {
    background: none;
    margin: 0 20px
}

.social-connect-bar-container {
    padding: 0 0 0 10px;
    margin-bottom: 10px;
    background-color: #e7eaeb;
    overflow: hidden
}

.social-connect-bar-container p {
    font-size: 2em;
    line-height: 1em;
    float: left;
    /*! padding: 0; */
}

.social-connect-bar-container ul {
    float: left;
    margin-left: 30px;
    padding: 4px 0 0 16px;
}

.social-connect-bar-container ul li {
    display: inline-block
}

.social-connect-bar-container ul li a {
    font-size: 3em;
    color: inherit;
    display: block;
    padding: 3px 20px 0
}

#breadcrumb a {
    color: #6b6666
}

.social-connect-bar-container ul li a span {
    display: none
}

#footer .top {
    background: none;
    padding: 20px 0 40px 0;
    border-top: 2px solid #000
}

#footer .top .column {
    width: 30%;
    padding-left: 2.45%;
    padding-right: 2.45%
}

#footer .top .column:first-child {
    padding-left: 0
}

#footer .top .column:last-child {
    padding-right: 0;
    border-left: 1px solid #999
}

#footer .top .column h2 {
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    padding: 8px;
    background-color: #c5dce9;
    display: inline-block;
    color: #000;
    font-weight: normal
}

#footer .top .column h2.no-bkgnd {
    background-color: transparent
}

#footer .top .column ul li a {
    color: #333 !important
}

@media screen and (max-width:1024px) {
    .alert-box {
        float: none;
        text-align: center
    }

    #header #siteTools {
        width: auto
    }

    .a-to-z-container {
        float: none;
        width: 100%;
        text-align: center
    }

    .a-to-z {
        float: none;
        width: 100%;
        text-align: center;
        margin-left: 0
    }

    #header #siteSearch {
        float: none;
        width: 90%;
        margin: 10px 0 5px 10px
    }
}

@media screen and (max-width:768px) {
    #header .top-section {
        padding: 20px 9px;
        margin-bottom: 0
    }

    .main-logo {
        display: block;
        text-align: center
    }

    .tertiary-menu {
        margin-top: 20px;
        position: static
    }

    .tertiary-menu li a {
        padding: 6px 10px;
        margin-bottom: 3px
    }

    #homepage .homepageTitle {
        margin-top: 0;
        margin-bottom: 10px
    }

    .homepage-icons li {
        width: 31%
    }

    .homepage-icons li span {
        font-size: 1.4em
    }

    #homepage .row .spotlight {
        width: 100%;
        margin: 0 0 2%
    }

    .social-connect-bar-container p {
        float: none;
        text-align: center
    }

    #footer .top .column:nth-child(2) {
        margin-top: -135px !important
    }

    #footer .top .column {
        width: 100% !important;
        margin: 0 0 40px;
        padding: 0
    }

    #footer .top {
        background: none;
        padding: 20px 0 0 0;
        border-top: 2px solid #000
    }

    #footer .top .column:last-child {
        border: 0
    }

    #footer .top .column h2.no-bkgnd {
        display: none
    }
}

.table-container {
    overflow-x: auto;
    background-image: linear-gradient(to right, white, white), linear-gradient(to right, white, white), linear-gradient(to right, rgba(0, 0, 20, .5), rgba(255, 255, 255, 0)), linear-gradient(to left, rgba(0, 0, 20, .5), rgba(255, 255, 255, 0));
    background-position: left center, right center, left center, right center;
    background-repeat: no-repeat;
    background-color: #fff;
    background-size: 40px 100%, 40px 100%, 20px 100%, 20px 100%;
    background-attachment: local, local, scroll, scroll
}

.skipnav {
    background-color: #00324b;
    clip: rect(1px, 1px, 1px, 1px);
    color: #fff;
    display: block;
    font-size: 1.5em;
    font-weight: 700;
    height: 1px;
    left: 50%;
    overflow: hidden;
    padding: 5px 10px;
    position: absolute;
    top: 0;
    transform: translate(-50%, -100%);
    transition: transform 1.5s ease-in;
    width: 1px;
    z-index: 100000
}

.skipnav:hover {
    color: #fff
}

.skipnav:focus {
    clip: auto !important;
    color: #fff;
    height: auto;
    transform: translate(-50%, 0);
    transition: transform .1s ease-out;
    width: auto
}

.zip-navigation {
    background-color: #e7eaeb;
    border: 0;
}

a.zip-link-cancel,
#ConfirmDetailsText a.zip-link {
    margin-top: 0.5rem;
}

#ConfirmDetailsText p:last-child {
    margin-top: 1.5rem;
}

/* Calendar view */

.zip-calendar .zip-navigation {
    background-color: transparent;
}

body.zip-calendar .zip-calendar-wrapper>.zip-calendar-sidebar {
    background-color: var(--color-primary-blue);
}

.zip-navigation .zip-menu ul > li a,
.zip-navigation .zip-menu ul > li a::before {
	padding-top: 5px;
    padding-bottom: 5px;
    transition: .2s ease;
}

.zip-navigation .zip-menu ul > li a::before{
    padding-left: 5px;
    padding-right: 5px;
}

.zip-navigation .zip-menu ul > li a:hover,
.username:hover,
.zip-navigation ul.navbar li.user-display > ul.active a:hover {
	opacity: 1;
    color: black;
    background-color: var(--color-focus);
}

.zip-navigation ul.navbar li.user-display > ul.active a{
    transition: .2s ease;
    padding: 5px;
}

main h1:before {
    content: "";
    display: block;
    width: 3.5rem;
    height: 0.325rem;
    background: var(--color-primary-red);
    margin-bottom: 0.5rem;
}

#block-glossaryazlinklist ul:not(.contextual-links) li a {
    color: var(--primary-site-colour);
}

.zip-progress-bar .progress-bar .progress-meter {
	background-color: var(--color-success);
}