body {
    background: #e1e1e1;
    margin-bottom: 50px;
}

.ui-datepicker {
    width: 260px;
}

.ui-datepicker-title {
    display: flex;
}

.utility-subheader {
    /*min-height: 57px;*/
    background: #ccc;
    height: 35px;
}

.utility-header {
    /*min-height: 57px;*/
    background: #1c6981;
}

    .utility-header .container {
        padding-top: 8px;
    }

    .utility-header .flex-row .settings-links a {
        font-size: 1em;
    }

    .utility-header .header-cagov-logo img {
        height: 40px !important;
        width: 61px;
    }

    .utility-header .cdfa-title {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        padding-top: 8px;
    }

@media (max-width:991px) {
    .utility-header .cdfa-title, .ForPrintOnly {
        display: none;
    }
}

.doNotShowOnScreen {
    display: none;
}

.showOnPrint, .doNotShowOnPrint {
    display: block;
}

@media print {
    .doNotShowOnScreen {
        display: block;
    }

    .doNotShowOnPrint, #footer, #header {
        display: none;
    }

    #main-content {
        padding-top: 0px !important;
    }

    .return-top {
        display: none !important;
    }
}


.utility-header .btn {
    width: auto;
}

.utility-header .btn-primary {
    background: #114d5f;
    border: 1px solid #114d5f;
}

h2.utility-header, h3.utility-header {
    display: block;
    padding: 8px 12px;
}


.navbar {
    margin: 0 auto;
}

@media (min-width:576px) {
    .navbar {
        max-width: 540px;
    }
}

@media (min-width:768px) {
    .navbar {
        max-width: 720px;
    }
}

@media (min-width:992px) {
    .navbar {
        max-width: 960px;
    }
}

@media (min-width:1200px) {
    .navbar {
        max-width: 1140px;
    }
}

@media (min-width:1280px) {
    .navbar {
        max-width: 1280px;
    }
}

.navbar ul {
    list-style: none;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: stretch;
}

    .navbar ul li {
        flex-grow: 1;
        text-align: center;
        margin: 2px;
        float: left;
        align-self: stretch;
    }

        .navbar ul li a {
            padding: 25px 10px;
            display: block;
            font-weight: bold;
            line-height: 1;
            font-size: 1rem;
            border-radius: 5px;
        }

            .navbar ul li a:hover, .navbar ul li a:focus, .navbar ul li a:active {
                background: #f5f9fb;
                text-decoration-color: transparent;
            }

@media (max-width:767px) {
    .navbar ul li a span[class*="ca-gov-icon"] {
        display: none;
    }
}

.main-content {
    background: #f6f6f6;
    margin-bottom: 30px;
    box-shadow: 0 15px 30px rgba(0,0,0,.05-);
}

#main-content {
    padding-top: 119px;
}

.section {
    background: #f6f6f6;
}

.main-content .masthead {
    position: relative;
    width: 100%;
    height: 237px;
    background-color: #876d44;
    background-image: url('../images/CDFA/masthead_bg.jpg');
    background-position: center;
    background-size: cover;
    margin-bottom: 40px;
    border-radius: 10px;
    border: 2px solid #33536a;
}

    .main-content .masthead h1 {
        position: absolute;
        margin: 0;
        padding: 0;
        bottom: 20px;
        left: 20px;
        color: #fff;
        font-size: 3.5rem;
        font-family: georgia, "times new roman", times, serif;
        font-weight: bold;
        text-shadow: 0 2px 5px #000;
    }

.main-content .masthead-sm {
    height: 140px;
    margin-bottom: 30px;
}

    .main-content .masthead-sm h1 {
        font-size: 2.5rem;
    }

.btn-big {
    width: 100%;
    font-size: 1.4rem;
    padding-top: 13px;
    padding-bottom: 13px;
    font-weight: bold;
}

.btn-success, .btn-success.disabled, .btn-success:disabled {
    background-color: #70900d;
    border-color: #70900d;
}

    .btn-success:hover, .btn-success.focus, .btn-success:focus {
        background-color: #557508;
        border-color: #557508;
    }

    .btn-success:not(:disabled):not(.disabled).active, .btn-success:not(:disabled):not(.disabled):active, .show > .btn-success.dropdown-toggle {
        background-color: #486406;
        border-color: #486406;
    }

    .btn-secondary, .btn-secondary.disabled, .btn-success:disabled {
        border-color: #ccc;
    }

        .btn-secondary:hover, .btn-secondary.focus, .btn-secondary:focus {
            border-color: #aaa;
        }

.well-light {
    background: #fcfcfc;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
    padding: 30px 50px;
}

.narrow {
    max-width: 666px;
    margin-left: auto;
    margin-right: auto;
}

.card {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
    border: 1px solid #d9d9d9;
    /*width: 700px;*/
    z-index: 1;
}

.card, .card-body {
    background: #f0f0f0 !important;
}

    .card .card-header {
        background: #e4e4e4;
        border: none;
        font-weight: bold;
        font-size: 1.5rem;
        color: #4c6209;
        margin: 0px -15px;
    }

    .card > span.required {
        display: block;
        margin: 10px 30px;
    }

    .card .card-body {
        padding: 0 30px;
    }

#loginForm .row {
    margin-bottom: 12px;
}

.control-label {
    font-size: 1.25rem;
}

.main-content .ca-gov-icon-question-fill, .not-underline {
    border: none !important;
    border-color: transparent !important;
    text-decoration: none !important;
    text-decoration-color: transparent !important;
    background-image: none !important;
}

.ca-gov-icon-question-fill {
    margin-left: 4px;
}

#loginForm .links-row {
    margin: 30px;
}

.card .links-row .col {
    text-align: center;
}

.modal .modal-content {
    background: #f0f0f0;
    border-radius: 10px;
    border-color: #666;
}

.modal .modal-header, .modal .modal-body, .modal .modal-footer {
    padding: 15px 30px;
}

.modal .modal-header {
    background: #e4e4e4;
    border: none;
    color: #4c6209;
}

    .modal .modal-header h4 {
        font-weight: bold;
        font-size: 1.5rem;
    }

.modal .section {
    background: #f0f0f0;
    padding: 0;
    min-height: auto;
}

.modal h3 {
    margin-top: 0;
}

.modal .panel {
    border: none;
}

.modal .panel-body {
    padding: 0;
}

.modal .modal-footer button {
    margin-bottom: 5px;
}

.modal .table-bordered td, .modal .table-bordered th {
    border-color: #ccc !important;
}

.form-header {
    background: #e4e4e4;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    padding: 15px 30px;
    color: #4c6209;
    font-weight: bold;
}

.required-label {
    display: block;
    text-align: left !important;
    font-size: 1rem;
    margin: 5px 0 10px;
}

.site-settings {
    background: #333;
}

    .site-settings .btn {
        width: auto;
    }

.nonrequired-label {
    padding-left: 12px;
}

footer.global-footer .copyright {
    background: #e1e1e1;
}

footer.global-footer {
    z-index: 7;
    position: relative;
}

.sub-header {
    background: transparent;
    font-size: 1.4rem;
    background: transparent;
    padding: 0 0 12px 0;
}

    .sub-header a {
        background: none !important;
    }

.btn-default {
    background-color: transparent;
}

.table {
    background: #fff;
    border: 2px solid #ddd;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #fafafa;
}

.wrapText {
    overflow-wrap: break-word;
}

.mpage .ca-gov-icon-arrow-fill-right {
    margin-right: 8px;
}

.form-inline .form-check-label {
    margin-left: 12px;
}
