@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: Tahoma, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 12px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: Tahoma, Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.milestone-est {
    /*background-color: #ffeeba;*/
    color: goldenrod;
}

.milestone-actual {
    /*font-weight: bold;*/
    color: forestgreen;
}

.border-left {
    border-left: 1px solid #dee2e6;
}

.border-right {
    border-right: 1px solid #dee2e6;
}

.status-table {
    font-size: 11px;
}

.scope-table {
    font-family: Tahoma, Helvetica, Arial, sans-serif;
    font-size: 11px;
    vertical-align: middle;
}

.scope-table td {
    vertical-align: middle;
}

.status-good {
    background-color: #ddffdd;
}

.status-warning {
    background-color: #faf3d1;
}

.status-error {
    background-color: #ffdddd;
    font-weight: bold;
    color: red;
}

.cost-increase {
    color: red;
}

.cost-decrease {
    color: forestgreen;
}

th.sticky {
    position: sticky;
    top: 0;
}


app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.sidebar {
    background: #00205C;
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

.sidebar-arle {
    background: #C2191F;
}

.sidebar-glg {
    background: #007934;
}

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 210px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

.form-control.invalid {
    border-left: 5px solid #a94442; /* red */
}

.form-control.valid.modified {
    border-left: 5px solid #24A948; /* green */
}

.table-condensed {
    font-size: 12px;
}

.form-required {
    background-color: #DDEBF7;
    color: black;
}

.form-control-locked {
    padding: 6px 6px 6px 6px;
}

/* PennDOT TE-form styles*/
.pdform-input {
    font-family: /*typewriter, */ 'Times New Roman', Times, serif;
    font-size: 16px;
    border: 1px solid black;
    background: #ddebf7;
}

.pdform-input-required {
    font-family: /*typewriter, */ 'Times New Roman', Times, serif;
    font-size: 16px;
    border: 1px solid black;
    background: rgba(255, 255, 0, 0.2);
}

.pdform-input-readonly {
    font-family: /*typewriter, */ 'Times New Roman', Times, serif;
    font-size: 16px;
    border: 1px solid black;
    background: #e2efda;
}

.te-form {
    margin: 0 auto;
    max-width: 720px;
    line-height: normal;
    box-sizing: content-box;
}

.form-number {
    font-family: "Verdana", sans-serif;
    font-size: 7pt;
}

.form-main table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    border: none;
}

td.form-description {
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 8pt;
    padding: 0 2pt;
}

.official-use {
    background: #bfbfbf;
    background-color: #bfbfbf;
}

tr.label-with-data {
    width: 100%;
    min-height: 0.25in;
}

.label-with-data td {
    border: solid black 1px;
    vertical-align: top;
}

    .form-main table:not(:first-of-type) .label-with-data td {
        border-top: none;
    }

label.te-label {
    text-transform: uppercase;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 6pt;
    margin: 0;
    display: block;
    text-align: left;
    padding-left: 2px;
}

.te-field {
    font-family: /*"typewriter",*/ 'Times New Roman', Times, serif;
    font-size: 9pt;
    border: none;
    padding-top: 2pt;
    padding-bottom: 2pt;
    padding-left: 2px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

td.logo-cell {
    border-top: none;
    border-left: none;
    border-bottom: solid 1px;
    border-right: solid 1px;
    padding: 0in 5.4pt 0in 5.4pt;
}

td.title-cell {
    border: none;
    border-bottom: solid black 1px;
    padding: 0in 5.4pt 0in 5.4pt;
}

.table-heading-1 {
    border: solid black 1px;
    background: black;
    padding: 2pt 5.4pt 2pt 5.4pt;
    font-size: 10pt;
    color: white;
    font-family: "Helvetica", "Arial", sans-serif;
    text-transform: uppercase;
    font-weight: bold;
}

.table-heading-2 td {
    border: solid black 1px;
    background: #bfbfbf;
    padding: 0in 5.4pt 0in 5.4pt;
    font-size: 0.9rem;
    font-family: "Helvetica", "Arial", sans-serif;
    text-transform: uppercase;
    font-weight: bold;
}

.table-heading-1 td {
    padding: 2pt 5.4pt 2pt 5.4pt;
}

tr.label-with-data {
    width: 100%;
    min-height: 0.25in;
}

label.te-checkbox-label {
    text-transform: none;
    display: inline-block;
    font-size: 1em;
    margin-right: 1em;
}

td.title-cell {
    vertical-align: middle;
}

img,
#penndotLogo {
    width: 221px;
    height: auto;
}

.no-print {
    display: none;
}

p.normal {
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 8pt;
    line-height: 107%;
    font-size: 11pt;
    font-family: "Helvetica", "Arial", sans-serif;
}

p.title {
    font-size: 14pt;
    margin-bottom: 0;
    line-height: normal;
    text-transform: uppercase;
    font-weight: bold;
}

a.te-form {
    color: black;
    text-decoration: none;
}

.url {
    font-size: 8pt;
    padding-left: 51px;
    margin-top: -8px;

}

@media print {
    .te-form {
        margin: 0 auto;
        max-width: 720px;
    }
}
