﻿/* DEFAULTS
----------------------------------------------------------*/

body {
    background: #ffffff;
    font-family: 'Times New Roman', Times, serif;
}

a {
    color: -webkit-link;
    cursor: pointer;
    text-decoration: underline;
}

    a:active {
        color: #034af3;
    }

    a:hover {
        color: #1d60ff;
        text-decoration: none;
    }

    a:link, a:visited {
        color: #034af3;
    }

label {
    margin-bottom: 0;
}

li {
    width: 100%;
}

input, select {
    margin-left: .5rem;
}

    input.disabled {
        background-color: lightgray;
    }

table {
    border-collapse: separate;
}

/* HEADINGS   
----------------------------------------------------------*/

h1 {
    display: block;
    font-size: 32px;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: 700;
}

h2, #receipt h1 {
    display: block;
    font-size: 28px;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
    line-height: normal;
    box-sizing: inherit;
}

h3 {
    text-align: center;
    font-size: large;
    font-weight: bold;
    margin-top: 1.5em;
    margin-bottom: 1em;
}

.header {
    font-weight: bold;
    background-color: #FFFFAE;
    text-align: center;
    width: 100%;
    border-radius: 5px;
    padding-bottom: 2px;
    padding-top: 2px;
    font-size: 1rem;
    margin-top: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}

.header2 {
    background-color: #eeeeee;
    text-align: left;
    border-radius: 5px;
    padding-bottom: 2px;
    padding-top: 2px;
    font-weight: bold;
    width: 100%;
    margin-top: 16px;
}

    .header2:nth-child(1) {
        margin-top: 0px;
    }

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

.main {
    justify-content: flex-start;
}

.panel {
    margin: auto;
    border-color: #000000;
    border-width: 4px;
    border-style: double;
    width: 100%;
    background-color: #ffffff;
    margin-top: 1rem;
    border-radius: 5px;
}

.section {
    line-height: 20px;
    background-color: #ffffff;
    border-radius: 5px;
    border: 1px solid #343a40;
    padding-left: 0px;
    padding-right: 0px;
    margin-left: 1rem;
    margin-right: auto;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.subSection {
    max-width: calc(100% - 6px);
    margin: 2px;
    padding: 3px;
    border-radius: 5px;
    border: 1px solid #343a40;
}

/* PAGE HEADER ELEMENTS   
----------------------------------------------------------*/

h1.barWidth {
    margin-left: 30px;
    /*width: 585px;*/
}

.barHeight {
    height: 100px;
}

.barWidth {
    width: 100%;
}

.topBar {
    vertical-align: top;
    max-width: 1050px;
    width: 100%;
    text-align: center;
    padding-left: 78px;
}

    .topBar img {
        width: 100%;
        height: 100px;
    }

#mcHeader {
    font-size: medium;
    width: auto;
    vertical-align: top;
    margin-bottom: 1rem;
}

    #mcHeader img {
        width: 975px;
        height: 200px;
    }

#pageHdr {
    margin-left: auto;
    margin-right: auto;
    margin-top: .5rem;
}

    #pageHdr img.barWidth {
        position: relative;
        z-index: 1;
    }

    #pageHdr .col-3 img {
        position: relative;
        z-index: 10;
    }

    #pageHdr .row div:nth-child(1) {
        text-align: right;
        padding-right: 0px;
    }

    #pageHdr .row div:nth-child(2) {
        text-align: left;
        padding-left: 0px;
    }

@media (max-width: 1199px) {
    .topBar {
        padding-left: 32px;
    }
}

@media (max-width: 991px) {
    h1.barWidth {
        margin-left: 70px;
    }

    .topBar {
        padding-left: 15px;
    }
}

@media (max-width: 767px) {
    #pageHdr .col-3 {
        padding-left: 0px;
    }

    #pageHdr .row {
        background-color: #eeeeee;
    }

    .barWidth {
        width: calc(100% + 15px);
    }

    .topBar {
        padding-left: 0px;
        padding-right: 0px;
    }
}

@media (max-width: 991px) {
    #mcHeader {
        text-indent: -270px;
    }
}

/* SIDEBAR MENU   
----------------------------------------------------------*/

nav {
    height: 100%;
    margin-right: 0px;
    margin-left: auto;
    align-items: normal !important;
    background-image: linear-gradient(#eeeeee, #eaedce);
}

    nav a {
        padding-left: 0px !important;
        padding-right: 0px !important;
        color: #034af3 !important;
    }

    nav > div {
        margin-bottom: auto;
    }

    nav div {
        align-items: normal !important;
        width: 100%;
    }

    nav li {
        border-bottom: 1px solid darkgrey;
        width: 100%;
    }

        nav li:last-child {
            border-bottom: none;
        }

    nav ul {
        padding-top: 2rem;
        text-align: center;
        width: 100%;
    }

.logout {
    margin-top: 1rem;
}

.menu {
    align-content: flex-end;
    justify-content: flex-end;
    padding-right: 0px;
    margin-right: 0px;
}

    .menu > div {
        height: 100%;
    }

.sidebar {
    height: 100%;
}

@media (max-width: 1199px) {
    .col-xl-3.menu {
        width: calc( 100% + 15px );
        margin-left: 18px;
    }

    .navbar-expand-xl {
        width: 100%
    }
}

@media (max-width: 991px) {
    .col-xl-3.menu {
        margin-left: 0px;
    }
}

@media (max-width: 767px) {
    .menu {
        margin-left: -15px;
        width: calc( 100% + 15px );
    }

    .col-xl-3.menu {
        margin-left: 0px;
        padding-left: 0px;
    }
}

@media (min-width: 768px) {
    nav {
        width: 207px;
    }
}

/* FORM ELEMENTS   
----------------------------------------------------------*/

table.radios {
    width: calc(100% - 4px);
    border: 3px solid #808080;
    border-radius: 5px;
    font-weight: bold;
}

.button {
    margin-top: 1rem;
    margin-bottom: .5rem;
}

    .button .col {
        text-align: center;
    }

        .button .col > table {
            width: 80px;
            height: 22px;
        }

            .button .col > table table :hover, .button .col > table table :focus-within, .button input[type=submit] :hover {
                cursor: pointer;
                box-shadow: 2px 2px 1px 1px rgba(0,0,0,0.15);
                -webkit-box-shadow: 2px 2px 1px 1px rgba(0,0,0,0.15);
                -moz-box-shadow: 2px 2px 1px 1px rgba(0,0,0,0.15);
                background-color: rgb(230, 230, 230) !important;
            }

            .button .col > table table tbody :hover, .button .col > table table tbody :focus-within {
                box-shadow: none;
            }

            .button .col > table table tbody :hover, .button .col > table table tbody span {
                margin-left: auto;
                margin-right: auto;
            }

.buttonHover {
    cursor: pointer;
    background-color: rgb(230, 230, 230) !important;
}

.fieldName div {
    font-size: 11px;
    vertical-align: bottom;
}

.grid {
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.input div {
    margin: 0;
    padding: 0;
}

@media (max-width: 575px) {
    .input div {
        padding-left: 1rem !important;
    }
}

@media (min-width: 576px) {
    .input div:nth-child(1) {
        text-align: right;
        padding-right: .25rem;
    }
}

.radios td {
    padding-left: 8px;
    padding-top: 1px;
    padding-bottom: 1px;
    font-weight: bold;
}

    .radios td :hover {
        cursor: pointer;
        background-color: rgb(230, 230, 230) !important;
        -webkit-box-shadow: 2px 2px 1px 1px rgba(0,0,0,0.15);
        -moz-box-shadow: 2px 2px 1px 1px rgba(0,0,0,0.15);
        box-shadow: 2px 2px 1px 1px rgba(0,0,0,0.15);
    }

    .radios td label {
        padding-left: 5px;
        margin-bottom: .25rem;
        margin-top: .25rem;
    }

/* frmClassHistory
----------------------------------------------------------*/

#history {
    max-width: 808px;
    min-width: 752px;
}

    #history .grid {
        height: 350px !important;
        max-width: 800px;
    }

    #history .header {
        text-align: left;
    }

@media (max-width: 1199px) {
    #history {
        margin-left: auto;
        margin-right: auto;
    }
}

/* frmClassPath
----------------------------------------------------------*/

#classPath {
    max-width: 750px;
    margin-bottom: 1rem;
    min-width: 325px;
}

    #classPath .col {
        text-align: center;
    }

        #classPath .col:nth-child(1) {
            padding-bottom: 1rem;
        }

    #classPath .mc img {
        width: 250px;
        height: 175px;
    }

    #classPath a {
        font-size: x-large;
        font-style: inherit;
    }

        #classPath a li {
            box-sizing: content-box;
            line-height: 1;
        }

    #classPath ul {
        margin-left: 15%;
        text-align: left;
    }

@media (max-width: 991px) {
    #classPath {
        margin-left: 50px;
    }
}

@media (max-width: 767px) {
    #classPath {
        margin-left: auto;
        margin-right: auto;
    }
}

/* frmDetermineClass
----------------------------------------------------------*/

#determineClass .col {
    text-align: center;
}

#determineClass .header {
    margin-bottom: 1rem;
}

#determineClass .section {
    max-width: 694px;
    padding-left: 0px;
    padding-right: 0px;
}

#determineClass .subSection {
    padding-bottom: 1rem;
}

@media (max-width: 991px) {
    #determineClass .section {
        margin-left: 50px;
    }

    #determineClass .row {
        margin-bottom: .5rem;
    }
}

@media (max-width: 767px) {
    #determineClass .section {
        margin-left: 0px;
    }
}

/* frmGetDLNumber  
----------------------------------------------------------*/

#getDL {
    max-width: 450px;
    padding-left: 0px;
    padding-right: 0px;
}

    #getDL .header {
        margin-bottom: 1rem;
    }

    #getDL .info, #verifyEmail .info {
        margin-top: .25rem;
        padding-right: .5rem;
        font-size: small;
        font-family: Arial, Helvetica, sans-serif;
        color: #006161;
    }

        #getDL .info .col {
            text-align: center;
        }

    #getDL input[type=text] {
        width: 75%;
    }

@media (max-width: 991px) {
    #getDL {
        margin-left: 50px;
    }
}

@media (max-width: 767px) {
    #getDL {
        margin-left: auto;
        margin-right: auto;
    }
}

/* frmGetDOB  
----------------------------------------------------------*/

#getDOB {
    max-width: 350px;
    margin-left: 0px;
}

    #getDOB .header {
        margin-bottom: 1rem;
    }

    #getDOB input {
        width: 75%
    }

@media (max-width: 991px) {
    #getDOB {
        margin-left: 50px;
    }
}

@media (max-width: 767px) {
    #getDOB {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575px) {
    #getDOB .col-sm-6 {
        font-size: 11px;
        vertical-align: bottom;
    }
}

/* frmGetReason
----------------------------------------------------------*/
#getReason {
    margin-top: 1rem;
    max-width: 800px;
    min-width: 245px;
}

    #getReason input.citation, #getReason input.date, #getReason input.desc, #getReason select.reasons {
        width: 75%;
    }

    #getReason input.court {
        width: 50%;
    }

    #getReason .fieldName {
        margin-top: .25rem;
    }

    #getReason .notice {
        font-size: large;
        margin: 1rem 40px 0px 40px;
        padding: 5px 5px 5px 5px;
        border: 3px double lightgray;
        background-color: #eceede;
        border-radius: 5px;
    }

@media (max-width: 991px) {
    #getReason {
        margin-left: 50px;
    }
}

@media (max-width: 767px) {
    #getReason {
        margin-left: auto;
        margin-right: auto;
    }
}

/* frmGetUserInfo
----------------------------------------------------------*/
#userInfo {
    margin-top: 1rem;
    max-width: 800px;
    min-width: 245px;
}

    #userInfo input.address, #userInfo input.court, #userInfo input.dl, #userInfo input.zip {
        width: 50%;
    }

    #userInfo input.citation, #userInfo input.city, #userInfo input.date, #userInfo input.desc, #userInfo input.dob, #userInfo input.name, #userInfo input.phone,
    #userInfo select.reasons {
        width: 75%;
    }

    #userInfo input.court {
        min-width: 60px;
        max-width: 85px;
    }

    #userInfo input.dl {
        min-width: 80px;
    }

    #userInfo input.dob {
        max-width: 70px;
    }

    #userInfo input.email {
        width: 90%;
    }

    #userInfo input.phone {
        max-width: 100px;
        min-width: 80px;
    }

    #userInfo .email.button {
        justify-content: flex-start;
        margin-top: 0px;
    }

        #userInfo .email.button table table :hover, #userInfo .email.button table table :focus-within {
            cursor: pointer;
            box-shadow: 2px 2px 1px 1px rgba(0,0,0,0.15);
            background-color: rgb(230, 230, 230) !important;
        }

        #userInfo .email.button table table tbody :hover, #userInfo .email.button table table tbody :focus-within {
            box-shadow: none;
        }

    #userInfo .city input {
        max-width: 145px;
    }

    #userInfo .row.email div {
        margin-top: 0px;
    }

    #userInfo .header, #locationType .header {
        text-align: left;
        padding-left: .25rem;
        margin-bottom: 1rem;
    }

    #userInfo .row.address, #userInfo .row.email, #userInfo .row.phone {
        margin-top: 1rem;
    }

    #userInfo .row.names input {
        max-width: 175px;
    }

    #userInfo .row.reason {
        margin-top: .5rem;
    }

    #userInfo .row div {
        margin-bottom: auto;
    }

    #userInfo .zip input {
        max-width: 70px;
    }

@media (max-width: 991px) {
    #userInfo {
        margin-left: 50px;
    }
}

@media (max-width: 767px) {
    #userInfo {
        margin-left: auto;
        margin-right: auto;
    }
}

/* frmPaymentInfo
----------------------------------------------------------*/

#payInfo {
    max-width: 650px;
    min-width: 195px;
}

    #payInfo input[type=text], #payInfo textarea {
        width: 50%;
    }

    #payInfo table.radios {
        min-width: 116px;
    }

    #payInfo .amount input {
        max-width: 150px;
    }

    #payInfo .col-sm-3 {
        min-width: 155px;
    }

    #payInfo .comments textarea {
        width: 75%;
        height: 85px;
        margin-left: .5rem;
    }

    #payInfo .header {
        margin-bottom: 1rem;
    }

    #payInfo .input .col-3, #payInfo .input .col {
        margin-top: auto;
        margin-bottom: auto;
    }

    #payInfo .paytype table {
        max-width: 148px;
        margin-left: 8px;
    }

    #payInfo .paytype .col {
        padding-left: .5rem;
    }

    #payInfo .row {
        margin-bottom: 4px;
    }

@media (max-width: 991px) {
    #payInfo {
        margin-left: 50px;
    }
}

@media (max-width: 767px) {
    #payInfo {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575px) {
    #payInfo .col-sm-3 {
        font-size: 11px;
        vertical-align: bottom;
    }
}

/* frmPropertyDamage  
----------------------------------------------------------*/
.popupLink {
    font-family: 'Times New Roman', Times, serif;
    font-size: 11px;
    font-weight: 400;
    text-decoration: underline;
}

#propDmg {
    max-width: 757px;
    min-width: 244px;
    margin-top: 1rem;
}

    #propDmg #Q3B .response {
        margin-top: 1rem;
    }

    #propDmg #Q3B .override, #propDmg #Q4B .override {
        margin-right: -50%;
        border: 2px solid black;
    }

        #propDmg #Q3B .override.clickedOn, #propDmg #Q4B .override.clickedOn {
            background-color: palegoldenrod;
        }

    #propDmg a {
        text-decoration: none;
    }

        #propDmg a.clickedOn {
            cursor: default;
            color: gray;
        }

        #propDmg a.hover {
            text-decoration: underline;
        }

            #propDmg a.hover:hover {
                text-decoration: none;
            }

    #propDmg button.clickedOn, #propDmg input[type=button].clickedOn {
        background-color: palegoldenrod;
    }

    #propDmg button.hover:hover, #propDmg input[type=button].hover:hover {
        background-color: rgb(230, 230, 230) !important;
        cursor: pointer;
    }

    #propDmg .button {
        margin-top: 8px;
    }

    #propDmg .expandable {
        overflow: hidden;
        transition: all .5s linear;
        -webkit-transition: all .5s linear;
        line-height: 0;
        color: transparent;
        height: 0px;
    }

        #propDmg .expandable button, #propDmg .expandable table {
            display: none;
        }

        #propDmg .expandable:target {
            line-height: 1.5;
            color: black;
            height: auto;
        }

            #propDmg .expandable:target button, #propDmg .expandable:target table {
                display: inline;
            }

    #propDmg .header {
        font-size: large;
        padding-top: 8px;
        padding-bottom: 8px;
        text-decoration: none;
    }

    #propDmg .question {
        padding-left: 1rem;
        padding-top: .5rem;
        font-size: 17px;
        font-weight: bolder;
    }

    #propDmg .notice {
        margin-left: auto;
        padding-left: 1.5rem;
        padding-top: .5rem;
        font-size: 15px;
    }

    #propDmg .subSection.active {
        background-color: #f0fff0;
    }

    #propDmg .subSection.answered {
        background-color: #f2f2f2;
    }

@media (max-width: 991px) {
    #propDmg {
        margin-left: 50px;
    }
}

@media (max-width: 767px) {
    #propDmg {
        margin-left: auto;
        margin-right: auto;
    }
}

/* frmSelectClass  
----------------------------------------------------------*/

#divClasses {
    max-width: 808px;
    min-width: 744px;
}

    #divClasses .grid {
        height: 500px !important;
        max-width: 800px;
    }

        #divClasses .grid tbody:nth-child(2) table td:nth-child(7) table table :hover, #divClasses .grid tbody:nth-child(2) table td:nth-child(7) table table :focus-within {
            cursor: pointer;
            box-shadow: 2px 2px 1px 1px rgba(0,0,0,0.15);
            background-color: rgb(230, 230, 230) !important;
        }

        #divClasses .grid tbody:nth-child(2) table td:nth-child(7) table table tbody :hover, #divClasses .grid tbody:nth-child(2) table td:nth-child(7) table table tbody :focus-within {
            box-shadow: none;
        }

@media (max-width: 1199px) {
    #divClasses {
        margin-left: auto;
        margin-right: auto;
    }
}

/* frmSelectClassConfirm2  
----------------------------------------------------------*/

#classConfirm {
    min-width: 372px;
}

    #classConfirm .button {
        margin-top: .5rem;
    }

    #classConfirm .col:nth-child(1) {
        font-weight: bold;
        margin-top: 1rem;
    }

    #classConfirm .col-3 {
        font-weight: bold;
    }

    #classConfirm .header2 {
        margin-bottom: 1rem;
        padding-left: .25rem;
        padding-top: 4px;
        padding-bottom: 4px;
        font-weight: bold;
        font-size: xx-large;
        color: #0066ff;
        text-align: left;
        line-height: 30px;
    }

    #classConfirm .row {
        font-size: 12px;
        font-family: Segoe UI, Verdana, Arial, Sans-Serif;
    }

    #classConfirm .section {
        max-width: 500px;
    }

@media (max-width: 991px) {
    #classConfirm {
        margin-left: 50px;
    }
}

@media (max-width: 767px) {
    #classConfirm, #classConfirm .section {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Email verification pages  
----------------------------------------------------------*/

#verCode, #verifyEmail {
    font-family: 'Times New Roman', serif;
    max-width: 381px;
}

    #verCode .input {
        margin-top: 1rem;
    }

    #verCode .input, #verifyEmail .input {
        margin: 0;
        border-color: rgb(128, 128, 128);
        border-width: 2px;
        padding-top: 4px;
    }

        #verCode .input:last-child, #verifyEmail .input:last-child {
            margin-bottom: 1rem;
        }

    #verCode .links .col, #verifyEmail .links .col {
        padding-top: .5rem;
        padding-bottom: .5rem;
        text-align: center;
    }

    #verCode .notice {
        margin-top: 1.25rem;
        padding-left: .5rem;
        padding-right: .5rem;
        font-size: x-small;
        font-family: Arial, Helvetica, sans-serif;
    }

    #verCode .subSection:nth-child(2), #verifyEmail .subSection:nth-child(2) {
        padding-bottom: .5rem;
    }

        #verCode .subSection:nth-child(2) .header, #verifyEmail .subSection:nth-child(2) .header {
            margin-bottom: 1rem;
        }

    #verCode .subSection:nth-child(3), #verifyEmail .subSection:nth-child(3) {
        padding-bottom: .25rem;
    }

    #verCode .subSection:nth-child(4), #verifyEmail .subSection:nth-child(4) {
        padding-bottom: .5rem;
    }

    #verifyEmail .email input {
        width: 75%;
    }

    #verifyEmail .info {
        padding-left: 3rem;
    }

@media (max-width: 1199px) {
    #divNewUser.section {
        margin-left: 10px;
    }
}

@media (max-width: 991px) {
    #divNewUser.section, #verifyEmail {
        margin-left: 50px;
    }
}

@media (max-width: 767px) {
    #divNewUser.section, #verCode, #verifyEmail {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575px) {
    #divNewUser .col-sm-6, #verCode .col-sm-5 {
        font-size: 11px;
        vertical-align: bottom;
    }
}

/* Disclaimer Pages
----------------------------------------------------------*/

#divDisclaim {
    max-width: 605px;
    margin-top: 1rem;
}

    #divDisclaim td:last-child, #mcDisclaim td:last-child, #nonOffender td:last-child {
        padding-bottom: 4px;
    }

    #divDisclaim .header, #mcDisclaim .header, #nonOffender .header {
        margin-bottom: 1rem;
    }

#mcDisclaim {
    max-width: 605px;
    min-width: 321px;
    margin-left: 0rem;
}

    #mcDisclaim .section {
        max-width: 605px;
    }

#nonOffender {
    max-width: 755px;
    min-width: 280px;
}

    #nonOffender table {
        margin-top: 1rem;
    }

@media (max-width: 991px) {
    #divDisclaim, #mcDisclaim .section, #nonOffender {
        margin-left: 50px;
    }
}

@media (max-width: 767px) {
    #divDisclaim, #mcDisclaim .section, #nonOffender, #nonOffender .section {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Receipt pages  
----------------------------------------------------------*/
#printRcpt {
    max-width: 800px;
}

#receipt .gps {
    margin-top: 1rem;
}

    #receipt .gps div div {
        border-top: 5px solid black;
        border-bottom: 5px solid black;
        padding-top: .5rem;
        padding-bottom: .5rem;
    }

#receipt .info {
    margin-bottom: 1rem;
}

#receipt .location div:nth-child(1) {
    margin-bottom: 1rem;
}

@media (max-width: 991px) {
    #receipt {
        margin-left: 50px;
    }
}

@media (max-width: 767px) {
    #receipt {
        margin-left: auto;
        margin-right: auto;
    }
}

/* MISC  
----------------------------------------------------------*/

.errorText {
    color: #B30000;
}

    .errorText ul {
        margin-top: 1rem;
    }

.info {
    margin-top: 1.25rem;
    padding-left: .5rem;
    padding-right: .5rem;
    font-size: x-small;
    font-family: Arial, Helvetica, sans-serif;
}

#locationType .radios label {
    display: contents;
}

#locationType td {
    padding-top: 25px;
    padding-bottom: 25px;
    font-weight: normal;
}
