* {
    font-family: Roboto, sans-serif;
}

body {
    padding-top: 50px;
    padding-bottom: 20px;
}

.account-img {
    height: 125px;
    width: 125px;
    margin-right: 20px;
    margin-bottom: 16px;
}

.content-section {
    background: #ffffff;
    padding: 10px 20px;
    border: 1px solid #dddddd;
    border-radius: 3px;
    margin-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

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

/* styles for validation helpers */
.field-validation-error {
    color: #f00;
}

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

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

input#submit.btn{
    background-color: rgba(200, 200,210, .95);
}

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

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

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

.font-weight-bold {
    font-weight: bold;
}

#map {
    position: relative;
    height: 90%;
    width: 100%;
  }

#search-form {
    position: relative;
    margin-top: 12px;
    margin-left: 75px;
}

#tract-label {
    color: #999;
    text-shadow: #000 0 0 2em;
    /* background: white; */
    /* -webkit-font-smoothing: antialiased; */
}
.error-overlay {
    background-image: 
    linear-gradient(
        rgba(255, 255, 255, 1),
        rgba(255, 255, 255, 0.8)
    );
    color: red;
}
label {
    margin-right: 1rem;
}
#info {
    background: white;
    border-radius: 20px;
}
.ol-popup {
    position: absolute;
    background-color: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    padding: 5px;
    padding-left: 10px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 150px;
    /* width: 100%; */
}
.ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}
.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}
.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    right: 8px;
}
.ol-popup-closer:after {
    content: "✖";
}

.btn-group {
    padding-left: 15px;
}

#popup-content {
    margin-right: 40px;
    white-space: nowrap;
}

#base-control{
    padding: 5px;
    left: 10px;
    top: 10px;
    background: white;
    border-radius: 6px;
    border-color: white;
}
.table {
    font-size: 1em;
}
.custom-file {
    position: relative;
    display: inline-clock;
}
.custom-file-input {
    position: relative;
    z-index: 2;
    opacity: 0;
}
.icon-img {
    width: 59px;
    height: 59px;
    padding: 2.5px;
    position: absolute;
    left: 0.4em;
    /* top: 4.5em; */
    border-radius: 6px;
}
img#zoom{
    margin-left: 8px;
    margin-right: 8px;
    width: 14;
    height: 14;
    position: absolute;
    right: 20px;
    top: 8px;
}

/* Legend block */
#legend {
    position: absolute;
    padding: 4px 5px 5px 8px;
    left: 0.5em;
    top: 9em;
    white-space: nowrap;
    border-radius: 4px; 
    background-image: url('/static/images/layers.png');
    background-repeat: no-repeat;
    background-size: 30px 30px;
    background-color: rgba(255,255,255, 0);
    width: 30px; /* Set explicit width */
    height: 30px; /* Set explicit height */
    transition: all 0.2s linear;
}
#legend:hover {
    width: auto;
    height: auto;
    background-color: rgba(255,255,255, .95);
    background-image: none;
    position: absolute;
    padding: 4px 5px 5px 8px;
    left: 0.5em;
    top: 9em;
    white-space: nowrap;
    border-radius: 4px;
    transition: all .2s ease-in;
    
}
/* Default state; hidden- no hover */
#legend input[type="checkbox"] {
    transition: all 0s;
}
#legend label{
    margin: 0px 5px 0px 20px;
    font-weight: normal;
    transition: all 0s;
    font-size: 8px;
}
#legend .zoom-link {
    margin: 0px 0px 0px 20px;
    transition: all 0s;
    font-size: 6px;
}
/* aligns with default (hidden) state */
#legend:not(:hover) input[type="checkbox"],
#legend:not(:hover) label,
#legend:not(:hover) .zoom-link {
    opacity: 0.2;
    visibility: hidden;
}
/* visible state on hover */
#legend:hover input[type="checkbox"]{
    opacity: 1;
    visibility: visible;
    transition: all .1s ease-in .1s;
}
#legend:hover label {
    display: inline-block;
    font-size: 1em;
    transition: all .1s linear .1s;
    color:rgba(10, 10, 10, 1);
}
#legend:hover .zoom-link {
    display: inline-block;
    font-size: 12px;
    transition: all .1s linear .1s;
    text-decoration: none;
    margin-left: 5px;
    margin-right: 2px;
    padding: 3px 3px 3px 3px;
}
/* End legend block */

/* Custom legends */
#prod-legend {
    margin: 0px 1px 0px 2px;
    width: 18.7px;
    height: 23.2px;
}
#fee-legend {
    margin: 5px 6px 0px 5px;
    width: 12px;
    height: 12px;
    background-color: rgba(100, 225, 100, 0.3);
    display: inline-block;
}

.icon-img {
    width: 59px;
    height: 59px;
    padding: 2.5px;
    position: absolute;
    left: 0.4em;
    top: 4.5em; /* add this line to fix the position */
    border-radius: 6px;
    }
p {
    max-width: 1200px;
    text-align: justify;
}

#full-extent{
    top: 0.6em;
    left: 2.5em;
    position: absolute;
    background-color: rgba(255,255,255, 0.2);
    border-radius: 4px;
    padding: 1.5px;
}
#full-extent-btn{
    padding: 14.5px 4px;
    border-radius: 2px 4px 4px 2px;
}

.map-message {
    position: absolute;
    bottom: 10px;
    left: 40%;
    background-color: rgba(50, 50, 50, .98);
    color: white;
    padding: 3px 12px;
    border-radius: 2px;
    z-index: 1000;
    display: none;
}

.highlight {
    color: rgba(255, 100, 100, 1);
}