html, body, div, span, applet, object, iframe,
h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td.center {
    text-align: center;
}

th {
    font-weight: bold;
}

th.center {
    text-align: center;
}

.extraWide {
    width: 720px !important;
    height: 90%;
    margin: 40px auto 0;
}
#timesheetLinePopup {
    height: 100px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-80%, -50%);
    width: 350px;
}

#timesheetPopupInner {
    width: 400px;
    margin: 40px auto 0;
    padding: 20px 30px;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
    transition: all 0.3s ease;
}

#createInvoicePopupInner {
    width: 400px;
    margin: 40px auto 0;
    padding: 20px 30px;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
    transition: all 0.3s ease;
}

#invoicePaymentPopupInner {
    width: 400px;
    margin: 40px auto 0;
    padding: 20px 30px;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
    transition: all 0.3s ease;
}
.datetimePicker {
    border: none;
    width: 100%;
    background-color: white !important;
}

input[type="date"] {
    background: transparent;
    color: white;
}

    input[type="date"]::-webkit-calendar-picker-indicator {
        filter: invert(100%);
    }

.login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    margin-top: 150px;
}

.outstanding {
    color: red;
}

.spinner {
    background: rgba(0,0,0,0.45);
    /*display: none;*/
    filter: alpha(opacity=50);
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
}

#spinnerInner {
    height: 100px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
}

.content {
    padding-bottom: 2.5rem; /* Footer height */
}

#app {
    min-height: 100vh;
    position: relative;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2.5rem;
    padding: 0.9em;
    text-align: center;
    color: white;
}

    footer a {
        color: white;
    }

        footer a:hover {
            color: white;
            text-decoration: none;
        }

.leftalign {
    text-align: left;
}

tr th {
    border-top: none !important;
}

.invoices {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.invoiceTable {
    width: 550px;
}

.allLines {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-bottom: 1em;
}

.wide {
    width: 200px;
}

.narrow {
    width: 65px;
}

.tableHeader {
    margin-bottom: 2px;
    font-weight: bold;
    background-color: white !important;
    border-top: none !important;
}

.line {
    display: flex;
    flex-direction: row;
    border-top: 1px solid gray;
}

.lineSegment {
    display: flex;
    flex-direction: row;
}

.lineCell {
    line-height: 2.6;
    padding-left: 5px;
    padding-right: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .lineCell .btn {
        font-size: inherit;
        line-height: 1;
    }

.allLines .line:nth-of-type(odd) {
    background-color: rgba(0,0,0,.05);
}

.cellHeading {
    display: none;
}

iframe {
    width: 900px;
    height: 100%;
    max-width: 100%;
}

.nav-item {
    padding: .5rem 1rem;
}

select {
    padding: 5px;
}

.headerBar {
    padding: 10px;
    display: flex;
    justify-content: flex-end;
    color: white;
}

    .headerBar a {
        color: white;
    }

.push {
    margin-left: auto;
}

.links {
    font-size: x-large;
}

.space {
    margin-top: 0px;
    margin-left: 5px
}

.form-label {
    text-align: left;
}

    .form-label div {
        margin-top: 2px;
    }

.table {
    margin-top: .5rem;
}

    .table thead th, .table th {
        height: 35px;
        vertical-align: middle;
        padding: 0px;
    }

    .table td {
        padding: 0px;
    }

.btn {
    border-color: gray;
    margin: 5px;
}

tr .btn {
    margin: 0,5px,0,0;
    font-size: inherit;
    line-height: 1;
}

.table td {
    vertical-align: middle;
}

.btn:hover {
    background-color: lightgrey;
}

a:hover {
    text-decoration: none;
}

#app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    font-size: 0.8em;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center !important;
    color: #2c3e50;
}

#nav {
    padding: 30px;
}

    #nav a {
        font-weight: bold;
        color: #2c3e50;
    }

        #nav a.router-link-exact-active {
            color: #42b983;
        }

a[href], input[type='submit'], input[type='image'], label[for], select, button, .pointer {
    cursor: pointer;
}

* {
    box-sizing: border-box;
}

.highlight {
    background-color: red !important;
}

.modal-mask {
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.fullyWide {
    width: 970px !important;
    height: 90%;
}

    .extraWide .modal-body {
        height: 85%
    }

.fullyWide .modal-body {
    height: 75%
}

.row {
    display: flex;
}

.invcolumn {
    flex: 70%;
}

.paycolumn {
    flex: 30%;
}

.paycolumn th{
    text-align:center;
}

.modal-container {
    width: 400px;
    margin: 40px auto 0;
    padding: 20px 30px;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
    transition: all 0.3s ease;
}

.modal-header h3 {
    margin-top: 0;
    color: #42b983;
}


.text-right {
    text-align: right;
}

.form-label {
    display: block;
    margin-bottom: 1em;
}

    .form-label > .form-control {
        margin-top: 0.5em;
    }

.form-control {
    display: block;
    width: 100%;
    padding: 0.5em 1em;
    line-height: 1.5;
    border: 1px solid #ddd;
}

/*
    * The following styles are auto-applied to elements with
    * transition="modal" when their visibility is toggled
    * by Vue.js.
    *
    * You can easily play with the modal transition by editing
    * these styles.
    */
.modal-enter {
    opacity: 0;
}

.modal-leave-active {
    opacity: 0;
}

    .modal-enter .modal-container,
    .modal-leave-active .modal-container {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }


.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        margin-right: auto;
    }

.loginHeader {
    display: flex;
    flex-direction: row;
    margin-bottom: 1em;
}

.loginText {
    font-family: Verdana;
    font-size: 3.9em;
}

.loginImage {
    width: 45px;
    margin-right: 5px;
}


.outstanding {
    color: red;
}

@media screen and (max-width: 415px) {
    .pickers-container {
        height: 100%;
    }
    /* optional: move accept button at bottom of screen */
    .time-picker {
        max-height: 200px;
    }
}

@media (max-width: 1000px) {

    .invoiceTable {
        width: 95%;
    }

    .hide {
        display: none;
    }

    .fullyWide {
        width: 400px !important;
        height: 90%;
    }

    .extraWide {
        width: 400px !important;
        height: 90%;
    }

    .lineCell {
        line-height: 1.6;
        padding-right: 2px;
        padding-left: 2px;
        overflow: inherit;
        text-overflow: inherit;
    }

        .lineCell .btn {
            margin-left: 1px;
            margin-right: 1px;
        }

    .lineSegment {
        width: 100%;
    }

        .lineSegment.main {
            width: auto;
        }

    .allLines {
        align-items: flex-start;
    }

    .line {
        flex-direction: column;
        align-items: flex-start;
        width: 100%
    }

    .main {
        font-weight: bold;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .narrow {
        width: auto;
    }

    .cellHeading {
        display: inline-block;
    }

    .divider:after {
        content: " -  ";
    }

    .wide {
        width: inherit;
    }

    .tableHeader {
        display: none;
    }

    .headerBar {
        /* Reverse the axis of the header, making it vertical. */
        flex-direction: column;
        /* Align items to the begining (the left) of the header. */
        align-items: flex-end;
    }

    header > div {
        margin: 12px 0;
    }

    .links {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .nav-item {
        padding-right: 0;
    }

    .space {
        margin-top: 5px;
        margin-left: 0px
    }
}
