﻿body {
    word-break: normal;
    overflow-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
}

.view-switcher {
    padding: 0.5em;
    font-weight: normal;
    font-size: 0.75em;
    text-align: center;
}

/* main content */

.ui-grid-a {
    margin-top: -17px;
    text-align: center;
}

/* styles for validation helpers */
.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input[type="text"].input-validation-error,
input[type="password"].input-validation-error {
    border: solid 1px #e80c4d;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}

.version {
    text-align: center;
    font-size: 0.75em;
    margin-top: 5px;
}

.login {
    display: block;
    font-size: .85em;
    text-align: center;
    margin-top: 10px;
}

    .login a {
        background-color: #d3dce0;
        margin-left: 10px;
        margin-right: 3px;
        padding: 0 3px 0 3px;
        text-decoration: none;
    }

/* Booking Detail */

.person-details {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 1rem;
    line-height: 1.4;
}

.person-details th,
.person-details td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #d5d5d5;
    vertical-align: top;
    white-space: normal;
    overflow-wrap: break-word;
}

.person-details th {
    width: 42%;
    text-align: left;
    font-weight: 600;
}

p.court-case-number {
    font-size: 1em;
    padding-top: 5px;
}

p.da-case-number {
    font-size: 1em;
}

p.citation-number {
    font-size: 1em;
}

p.charge-description {
    font-size: 0.75em;
    color: #008000;
}

p.charge-bail {
    font-size: 1em;
}

span.charge-bail-value {
    font-size: 1em;
    font-weight: bold;
}

p.charge-status {
    font-size: 1em;
}

span.charge-status-value {
    font-size: 1em;
    font-weight: bold;
}

#mugshot-image-table {
    padding: 0;
    margin: 0;
    border: none;
    border-collapse: collapse;
}

#mugshot-image-region {
    margin: auto;
    padding: 0;
    margin: 0 auto;
    border: none;
    height: 150px;
    width: 120px;
}

#mugshot-image img {
    float: left;
    border: none;
}

.clear-left {
    clear: left;
}

.bail-disclaimer {
    font-size: 10px;
    font-style: italic;
}

/* CIVIL CASE STATUS: ----------------------------------------------------------*/

.civil-case-status {
    padding-left: 5px;
    padding-right: 5px;
}

civil-case-status th {
    border: 1px solid #9bdec7 /*{b-bup-border}*/;
    background: #9bdec7 /*{b-bup-background-color}*/;
    border-width: thin;
    border-style: solid;
}

@media (max-width: 767px) {
    #left-cont {
        position: relative;
        width: 100%;
        height: auto;
    }

    #left {
        position: relative;
        width: 100%;
        height: auto;
    }

    ul.menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem 0.75rem;
        margin: 0;
        padding: 0.75rem;
        text-align: center;
    }

    ul.menu li a {
        font-size: 1rem;
        line-height: 1.3;
        text-align: center;
    }

    .separator-line-menu,
    .clear,
    #logo,
    #copyright {
        display: none;
    }

    #right {
        width: 100%;
        float: none;
        height: auto;
        box-shadow: none;
    }

    .page {
        width: auto;
        min-height: 0;
        padding: 1rem;
        font-size: 1rem;
    }

    article,
    aside {
        float: none;
        width: 100%;
    }

    #terms-of-use {
        width: auto;
    }

    input,
    textarea {
        box-sizing: border-box;
        max-width: 100%;
    }

    input:not([type="checkbox"]):not([type="submit"]):not([type="button"]),
    textarea {
        width: 100%;
    }

    .booking-information dt {
        float: none;
        width: auto;
        text-align: left;
    }

    .booking-information dd {
        margin: 0 0 0.5rem;
    }

    .display-label,
    .display-value {
        min-width: 0;
    }
}

.paid-faq a {
    /*    text-align: center;
    font-size: 0.75em;  */
    margin-top: 5px;
    margin-bottom: 5px;
}