/* 	Homeplate CSS GENERAL STYLES */
*,
::after,
::before {
    box-sizing: border-box;
}

body {
    background: #ffffdd;

    color: #3c434a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.4rem;
}

/* Utilities */
.hidden {
    display: none !important;
}

.screen-reader-text,
.screen-reader-text span {
    position: absolute;
    top: -10000rem;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.alternate,
ul.striped > :nth-child(2n + 1) {
    background-color: #212529;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    display: block;
    font-weight: 600;
}

h1 {
    color: #1d2327;
    font-size: 2em;
    margin: 0.67em 0;
    line-height: 1em;
}

h2,
h3 {
    color: #1d2327;
    font-size: 1.3em;
    margin: 1em 0;
}

h4 {
    font-size: 1em;
    margin: 1.33em 0;
}

h5 {
    font-size: 0.83em;
    margin: 1.67em 0;
}

h6 {
    font-size: 0.67em;
    margin: 2.33em 0;
}

/* Tables */
table {
    --table-bg: transparent;
    --table-accent-bg: transparent;
    --table-striped-color: #212529;
    --table-striped-bg: rgba(0, 0, 0, 0.05);
    --table-active-color: #212529;
    --table-active-bg: rgba(0, 0, 0, 0.1);
    --table-hover-color: #212529;
    --table-hover-bg: rgba(0, 0, 0, 0.075);
    margin-top: 2rem;
    caption-side: bottom;
    border-collapse: collapse;
    width: 100%;
}
fieldset > table {
    margin-top: 0;
}

table > thead {
    vertical-align: bottom;
}

table > tbody {
    vertical-align: inherit;
}

table.striped tbody > tr:nth-of-type(2n + 1) {
    --table-accent-bg: var(--table-striped-bg);
    color: var(--table-striped-color);
}

table > :not(caption) > * > * {
    padding: 0.5rem 0.5rem;
    background-color: var(--table-bg);
    border-bottom-width: 1px;
    box-shadow: inset 0 0 0 9999px var(--table-accent-bg);
}
table > :not(caption) > * > *.no-bottom-border,
table > :not(caption) > *:last-child > * {
    border-bottom-width: 0;
}

table.no-border td {
    border: none;
}

tbody,
td,
tfoot,
th,
thead,
tr {
    border-color: rgb(222, 226, 230);
    border-style: solid;
    border-width: 0;
    border-bottom-width: 0px;
}

th {
    text-align: left;
}

@media (max-width: 1080px) {
    table.fixed {
        table-layout: fixed;
    }
    table.fixed tr > th,
    table.fixed tr > td {
        word-wrap: break-word;
    }
}

/* Until all tables used for layout are removed
hide row lines that are normally used for data tables */
table.hide-lines > :not(caption) > * > * {
    border-bottom-width: 0;
}

/* Input */

input[type='color'],
input[type='date'],
input[type='datetime-local'],
input[type='datetime'],
input[type='email'],
input[type='month'],
input[type='number'],
input[type='password'],
input[type='search'],
input[type='tel'],
input[type='text'],
input[type='time'],
input[type='url'],
input[type='week'],
select,
textarea {
    box-shadow: 0 0 0 transparent;
    border-radius: 4px;
    border: 1px solid #8c8f94;
    border-top-color: rgb(140, 143, 148);
    border-right-color: rgb(140, 143, 148);
    border-bottom-color: rgb(140, 143, 148);
    border-left-color: rgb(140, 143, 148);
    background-color: #fff;
    color: #2c3338;
}

input[type='date'],
input[type='datetime-local'],
input[type='datetime'],
input[type='email'],
input[type='month'],
input[type='number'],
input[type='password'],
input[type='search'],
input[type='tel'],
input[type='text'],
input[type='time'],
input[type='url'],
input[type='week'] {
    padding: 0 8px;
    line-height: 2;
    min-height: 30px;
}

::placeholder {
    color: #646970;
    opacity: 1;
}

/* Select */
select {
    /* font-size: 14px; */
    line-height: 2;
    color: #2c3338;
    border-color: #8c8f94;
    box-shadow: none;
    border-radius: 3px;
    padding: 0 24px 0 8px;
    min-height: 30px;
    max-width: 25rem;
    -webkit-appearance: none;
    background: #fff
        url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E')
        no-repeat right 5px top 55%;
    background-size: auto;
    background-size: 16px 16px;
    cursor: pointer;
    vertical-align: middle;
}

/* Buttons */
.button {
    display: inline-block;
    text-decoration: none;
    font-size: 1rem;
    line-height: 2.15384615;
    min-height: 30px;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    padding: 0 10px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 0.25rem;
    white-space: nowrap;
    box-sizing: border-box;

    color: #2271b1;
    border-color: #2271b1;
    background: #f6f7f7;
    vertical-align: top;

    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.button-primary {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
    text-decoration: none;
    text-shadow: none;
}
.button.button-large {
    min-height: 32px;
    line-height: 2.30769231;
    padding: 0 12px;
}
.button-secondary:hover,
.button:hover {
    background: #f0f0f1;
    border-color: #0a4b78;
    color: #0a4b78;
}
.button-primary:hover {
    background: #135e96;
    border-color: #135e96;
    color: #fff;
}

.button.disabled,
.button[disabled] {
    color: #a7aaad !important;
    border-color: #dcdcde !important;
    background: #f6f7f7 !important;
    box-shadow: none !important;
    cursor: default;
    transform: none !important;
}

/* Weekly Route */
.weekly-route__stops {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

/* Schedule */
.schedule-border {
    background-color: #bbe1d1;
    border: none;
}
.schedule__drivers {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

/* Calendar */
.calendar__header {
    display: flex;
    justify-content: space-around;
    font-weight: bold;
}

.calendar__body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border: 1px solid #dee2e6;
    border-bottom: none;
    border-right: none;
}

.calendar__day {
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.calendar__day-body {
    padding: 0.5rem;
}

.calendar__day-header {
    font-weight: bold;
    text-align: center;
}

.calendar__drivers {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.calendar__day--today {
    background-color: #f8f9fa;
}

/* Log Start */
.logNav {
    margin: 1rem 0;
    text-align: center;
    display: flex;
    column-gap: 4px;
    align-items: center;
    justify-content: center;
}

.logNav__currentPage {
    margin: 0 2px 0 0;
    font-size: 13px;
    text-align: center;
    padding: 0 8px;
    line-height: 2;
    min-height: 30px;
    box-shadow: 0 0 0 transparent;
    border-radius: 4px;
    border: 1px solid #8c8f94;
    background-color: #fff;
    color: #2c3338;
}

/* Form */
.form ul,
.form-row ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    column-gap: 8px;
    margin: 0;
    flex-wrap: wrap;
}

.required {
    font-size: 1rem;
    color: #ff0000;
    font-weight: bold;
    padding: 0 3px;
}
.required--label::after {
    content: '*';
    font-size: 1rem;
    color: #ff0000;
    font-weight: bold;
    padding: 0 3px;
}

/* bootstrap style */
.form-group {
    margin-bottom: 1rem;
}

.form-check {
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5em;
    margin-bottom: .125rem;
}

.form-check .form-check-input {
    float: left;
    margin-left: -1.5em;
}

.form-check-input {
    width: 1em;
    height: 1em;
    margin-top: .25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(0,0,0,.25);
    appearance: none;
    color-adjust: exact;
}

.form-check-input[type="checkbox"] {
    border-radius: .25em;
}

.form-check-input:active {
    filter: brightness(90%);
}

.form-check-input:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-check-input:checked[type="checkbox"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.form-check-input:disabled {
    pointer-events: none;
    filter: none;
    opacity: .5;
}

.form-check-input:disabled ~ .form-check-label, .form-check-input[disabled] ~ .form-check-label {
    opacity: .5;
}

.form-check-inline {
    display: inline-block;
    margin-right: 1rem;
}


label {
    display: inline-block;
    margin-bottom: 0.5rem;
}
.form-control {
    display: block;
    width: 100%;
    font-size: 1rem;
    /* padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; */
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}
.form-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}
.form-row > .col,
.form-row > [class*='col-'] {
    padding-right: 5px;
    padding-left: 5px;
}
/* select.form-control:not([size]):not([multiple]) {
    height: calc(2.25rem + 2px);
} */
.form-control:disabled,
.form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}
.form-control-plaintext,
input[type='text'].form-control-plaintext {
    display: block;
    width: 100%;
    /* padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    margin-bottom: 0;
    line-height: 1.5; */
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15);
    /* border: solid transparent; */
    /* border-width: 1px 0; */
}

/*
Text meant only for screen readers.
https://make.wordpress.org/accessibility/handbook/markup/the-css-class-screen-reader-text/
*/
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

p {
    /* padding-left: 15px; */
    /* padding-right: 15px; */
}
p.notes {
    padding-left: 20px;
}
h3 {
    /* padding-left: 20px; */
}
h1 {
    /* padding-left: 20px; */
    /* padding-right: 20px; */
}

/* TABLE STYLES */

table.searchResults {
    border-collapse: collapse;
    vertical-align: middle;
    font-family: verdana, arial, sans-serif;
    padding-left: 15px;
}
td.searchResults {
    border: none;
    font-size: 12px;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 6px;
    padding-right: 6px;
}

.warning__table {
    border-collapse: collapse;
    font-family: verdana, arial, sans-serif;
    padding-left: 0px;
}
.warning__cell {
    border: none;
    font-size: 12px;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 6px;
    padding-right: 6px;
}

/* FIELDSET STYLES */
fieldset {
    width: 75%;
}

/* LINK STYLES */
a,
a:link {
    /* color: #018afe; link*/
    /* color: #001460;*/
    /* text-decoration: none; */
    /* img-decoration: none; */
    /* font-weight: bold; */

    color: #2271b1;
    transition-property: border, background, color;
    transition-duration: 0.05s;
    transition-timing-function: ease-in-out;
    outline: 0;
}

a:hover,
a:active {
    color: #135e96;
    /* color: #be0000; */
}

a:focus {
    color: #043959;
    box-shadow: 0 0 0 1px #4f94d4, 0 0 2px 1px rgba(79, 148, 212, 0.8);
    /* Only visible in Windows High Contrast mode */
    outline: 1px solid transparent;
}

/* a:visited {
    color: #001460;
} */

/*INFO BOXES*/
.infobox {
    border: 1px solid #264576;
    background: #ffffdd;
    margin-left: 15px;
    margin-right: 15px;
    padding: 4px;
}

.vacancyBox {
    border: 1px solid #264576;
    background: #ffffdd;
    margin-left: 15px;
    margin-right: 15px;
    padding: 4px;
}

.scheduleBox {
    border: 1px solid #264576;
    background: #ffffdd;
    margin-left: 15px;
    margin-right: 15px;
    padding: 4px;
}

.bookingsBox {
    border: 1px solid #264576;
    background: #ffffdd;
    margin-left: 15px;
    margin-right: 15px;
    padding: 4px;
}

.logBox {
    border: 1px solid #264576;
    background: #ffffdd;
    margin-left: 15px;
    margin-right: 15px;
    padding: 4px;
}

.anniversaryBox {
    border: 1px solid #264576;
    background: #ffffdd;
    padding: 4px;
    margin-left: 15px;
    margin-right: 15px;
}

.inactiveBox {
    border: 1px solid #264576;
    background: #ffffdd;
    padding: 4px;
    margin-left: 15px;
    margin-right: 15px;
}

.border-bottom {
    border-bottom: solid 1px black;
}

/*WARNINGS AND ERRORS*/
.warning {
    border: 1px solid #264576;
    background: #ffcece;
    padding: 4px;
    margin-left: 4px;
    margin-right: 150px;
}

p.error {
    color: #ff0000;
}

.notice,
div.updated,
div.error {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-left-width: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
    margin: 5px 15px 2px;
    padding: 1px 12px;
}
.notice p,
.notice-title,
div.error p {
    margin: 0.5em 0;
    padding: 2px;
}
.notice-alt {
    box-shadow: none;
}

.notice-large {
    padding: 10px 20px;
}

.notice-title {
    display: inline-block;
    color: #1d2327;
    font-size: 18px;
}
.notice-success,
div.updated {
    border-left-color: #00a32a;
}
.notice-success.notice-alt {
    background-color: #edfaef;
}
.notice-warning {
    border-left-color: #dba617;
}
.notice-warning.notice-alt {
    background-color: #fcf9e8;
}
.notice-error,
div.error {
    border-left-color: #d63638;
}
.notice-error.notice-alt {
    background-color: #fcf0f1;
}
.notice-info {
    border-left-color: #72aee6;
}

.notice-info.notice-alt {
    background-color: #f0f6fc;
}

/* LAYOUT CONTROL IDS */

#container {
    /* width: 90%; */
    /* margin: 1.5rem auto; */
    margin: 1.5rem;
    background: #ffffff;
    border: 2px solid #264576;
    padding: 1.5rem;
}

.header {
    padding: 0px;
    background-color: #ffffff;
}

.navigation {
    font-size: 1rem;
    background: #ffffff;
}
.navigation__wrapper {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    margin: 0;
    justify-content: center;
    flex-wrap: wrap;
}
.navigation__link:not(:first-child)::before {
    content: '|';
    margin-left: 5px;
    margin-right: 5px;
}

main,
#content {
    padding: 2rem 0;
}

/* Spacing */
.align-center {
    text-align: center;
}
.align-left {
    text-align: left;
}
.align-right {
    text-align: right;
}
