html, body {
    font-family: Source Sans Pro, Arial, sans-serif;
    font-size: 16px;
    color: #333333;
    margin-left:0px;
    margin-right:0px;
}

a, a:link {
    color: #0071ce;
}
  
a:hover, a:focus {
    color: #004b87;
}

/* Header and footer styles */
.graphic-hed {
    color:#111111;
    font-size:1.5em;
    line-height:1.2em;
    font-weight:700;
    font-style: normal;
    margin: 0;
}

.graphic-dek {
    font-size: 1.1em;
    /* line-height: 1.1em; */
    font-weight: 400;
    font-style: normal;
    margin: 10px 0px 13px 0px;
}

.graphic-footer {
    padding: 1em 0em;
}


/* Searchbar styles */
.search-wrapper {
    position: relative;
    max-width: 260px;
    height:2em;
    z-index: 2;
}

.search-wrapper, 
.search_input-container {
  border-radius: 3px;
}

.search_input-container {
    display: inline-flex;
    box-sizing: border-box;
    width:100%;
    padding: 4px;
    background: #e5e5e5;
    border: 1px solid #333333;
}

.search_input-container:focus-within {
    background:#ffffff;
    border: 1px solid black;
}

.search_input{
    flex-grow:1;
    border: none;
    outline:none;
    width: 100%;
    padding: 0 6px;
    background: transparent;
    font-size:1em;
}

::placeholder{
    color:#333333;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


.content {
    padding-bottom:20px;
}




.state-header{
    font-weight:700;
    font-size:1.3em;
}



/* Buttons styles */
button{
    padding:0.5em 1em;
    font-size:0.9em;
    margin-left:0.5em;
    border:0px;
  }
  
.button-current {
color: #333333;
background-color:#e5e5e5;
cursor:default;
}

.button-clickable {
color:white;
background-color: #004b87;
}

.button-clickable:hover{
color: #004b87;
cursor:pointer;
background-color:#e5e5e5;
}




/* STYLES FOR WHAT'S IN THE IFRAMES */


table{
    width:100%;
    border-collapse:collapse;
}

th{
    background-color: #004b87;
    color: white;
    top: 0;
    z-index:4;
    padding: 0.5em;
}

th:nth-child(2),td:nth-child(2){
    border-left: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
}

tr {
    border-bottom: 1px solid #CCCCCC;
}

/* tr:nth-last-child(1) {
    border-bottom: 1px solid #004b87;
} */

tr:nth-child(even){
    background-color: #e5e5e5;
}

td {
    padding:0.2em 0.5em;
}


.number {
    text-align: right;
}


.summary-table {
    margin-top:15px;
}


.localities-table-full {
    max-height: 495px;
    overflow-y: auto;
    /* position: relative; */
    padding-bottom:8px;
}

.localities-table th{
    cursor: pointer;
    position: sticky;
}

.sortable-icon {
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
    line-height: 0.8em; 
}

.empty-arrow{
    fill: none;
    stroke: white;
    stroke-width:1;
}

.filled-arrow{
    fill: white;
    stroke: white;
    stroke-width:1;
}


.localities-table th:nth-child(1){
    width:30%;
}

.fade-gradient {
    position: fixed;
    padding:10px;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px; 
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), white);
    pointer-events: none; /* Allow clicking through the gradient */
  }






/* Modals styles */
.modal-trigger {
    font-weight:bold; 
    text-decoration:none;
    color:#004b87;
}

.modal-trigger:hover, 
.modal-trigger a:hover{
    color:black;
    cursor: pointer;
}

.modal {
    display: none; 
    position: fixed; /* Stay in place */
    z-index: 5; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); 
    padding-top: 20px;
}

.modal-content {
    background-color: #ffffff;
    margin: auto; /* 5% from the top, centered */
    padding: 0px 20px 20px 20px;
    border: 1px solid #333333;
    width: 80%; /* Could be more or less, depending on screen size */
}

.close {
    color: #004b87;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}




