table.displaystructures, table.sitelist, table.usereport {
    width: 100%;
    border-collapse: collapse;
}

#picture {
    background-image: url(/graphic_files/water_permit_header.png);
}

table.sitelist td {
    vertical-align: top;
}

th.largehdr {
    text-align: center;
    font-size: 1.2em;
    color: white;
    background: #063242;
}

th {
    text-align: left;
}

th.bigger {
    font-size: 1.1em;
}

tr.tablebodyeven {
    background-color: #ddd;
}

div.centersmall {
    text-align: center;
    margin: 10px;
}

table.useinfo {
    border-collapse: collapse;
    width: 100%;
}

@media screen and (max-width: 961px) {
    #picture {
        background-image: url(/graphic_files/generic_header.png);
    }
}

#download_form_div {
    display: none;
    text-align: center;
}

.popup {
    position: absolute;
    width: 440px;
    padding: 5px;
    top: 20px;
    background-color: rgba(195, 211, 217, 1);
    border-radius: 5px;
    border: 1px solid #777;
    box-shadow: 2px 2px 10px 5px #777;
    left: -220px;
    margin-left: 50%;
}

table.searchform {
    width: 100%;
}

table.searchform th {
    text-align: right;
}

table.searchform td {
    text-align: left;
}

div.panel {
    margin-bottom: 10px;
    width: 46%;
    min-height:140px;
    align-items: center;
    box-shadow: grey 0px 0px 10px;
    border-radius: 10px;
    background-color: #796E66;
    color: white;
    padding: 1%;
    display: inline-block;
    min-width: 325px;
    margin-right: 2%;
    vertical-align: middle;
/* 	background: #063242; */
}

div.panel:nth-child(even) {
    margin-right: 0;
}

div.panel .innerpanel {
    position: relative;
    width: 100%;
/*     background: #063242; */
}

div.panel h1 {
    color: white;
}

div.panel span.labelspan {
    display: inline-block;
    width: 25%;
    text-align: right;
}

div.panel span.inputspan {
    display: inline-block;
    width: 34%;
    text-align: left;
}

div.panel span.buttonspan {
    display: inline-block;
    width: 100%;
    text-align: center;
}

div.panel h1 {
    text-align: center;
    font-size: 1.3em;
}

div.panel span.littleinfo {
    font-size: 0.8em;
    text-align: center;
    display: inline-block;
    width: 100%;
    margin: 6px 0;
}

.styled-table {
	border-collapse: collapse;
	font-size: 0.9em;
	font-family: sans-serif;
	width: 100%;
	height: 100%;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
.styled-table thead tr {
	background-color: #063242;
	color: #ffffff;
	text-align: left;
}

.styled-table th {
	padding: 10px 20px;
	white-space: nowrap;
}

.styled-table td {
	padding: 10px 20px;
	width: 50%;
}

.styled-table tbody tr {
	border-bottom: 1px solid #063242;
}

.styled-table tbody tr:nth-of-type(even) {
	background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
	border-bottom: 2px solid #063242;
}

.styled-table tbody tr.active-row {
	font-weight: bold;
	color: #009879;
}

.container{
	width: 100%;
}

.table-container {
    display: flex;
    flex-wrap: wrap; 
}

.row {
    display: flex;
    width: 100%;
    margin-bottom: 0px;
    border: 1px solid;
    /* border-radius: 16px; */

}

.column {
    flex: 1;
    padding: 10px;
    box-sizing: border-box;
}

.header {
    background: #063242;
    font-weight: bold;
    width: 100%;
    height: 100%;
    color: white;
}

.element-container {
	width: 63%;
	margin-right:1%;
	height: 100%;
	float: left;
}

.big-container::after {
	content: '';
	display: block;
	clear: both;
}

.responsive-image {
    display: block;
    margin: 0;
    padding: 0;
    max-width: 100%;
    height: auto;
}

.map-container {
	box-sizing: border-box;
	width: 100%;
	float: left;
	border: 1px solid black;
	margin: 0;
	padding: 0;
	margin-bottom: 20px;
}

@media (max-width: 400px) {
   /* 
 .responsive-image {
        max-width: 300px;
    }
    .big-container {
    	grid-template-columns: repeat(3, 1fr);
    }
    .element-container {
    max-width:400px;
    	margin-left: 5;
	margin-right: 5;
    	grid-column: 1 / span 2;
    	grid-row: 1;
    	font-size: 12px;
    }
    .image-container {
    margin-left: auto;
	margin-right: auto;
    	grid-column: 2 / span 2;
    	grid-row: 1;
    }*/
    .styled-table{
    max-width:400px;
    font-size:10px;
    
    }
    .styled-table th{
    padding: 5px 5px;
    }
    .styled-table td{
    padding: 5px 5px;
    }
    .container{
    	max-width:400px;
    }
    .row {
        flex-direction: column;
    }
}
@media (max-width: 600px) {
    /* 
.responsive-image {
        max-width: 300px;
    }
    .big-container {
    	grid-template-columns: repeat(3, 1fr);
    }
    .element-container {
    max-width:600px;
    	margin-left: 5;
	margin-right: 5;
    	grid-column: 1 / span 2;
    	grid-row: 1;
    	font-size: 12px;
    }
    .image-container {
    margin-left: auto;
	margin-right: auto;
    	grid-column: 2 / span 2;
    	grid-row: 1;
    }*/
    .styled-table{
    max-width:600px;
    font-size:15px;
    
    }
    .styled-table th{
    padding: 10px 10px;
    }
    .styled-table td{
    padding: 10px 10px;
    }
	.container{
    	max-width:600px;
    }
}

/* Medium screens */
@media (max-width: 768px) {
    .element-container {
    	width:100%;
    }
    .image-container{
    	width:100%;
    }
    .container{
    	width:100%;
    }
    .row {
        flex-direction: column;
        border: none;
    }
    .column{
        border: 1px solid;
    }
    div.table-container div.row div.column:nth-of-type(odd){
        background-color: #f3f3f3;
    }
    div.table-container>div:nth-of-type(odd) {
        background-color: transparent; 
    }
 }

@media screen and (max-width: 845px) {
    div.panel {
        width: 100%;
    }
    div.panel span.labelspan {
        width: 49%;
    }
    div.panel span.inputspan {
        width: unset;
    }
}

/* Large screens */
@media (min-width: 992px) {
   /* 
 .responsive-image {
        max-width: 400px;
    }
    .element-container {
    	grid-column: 1 / span 2;
    	grid-row: 1;
    }
    .image-container {
    	grid-column: 2 / span 2;
    	grid-row: 1;
    }
 */
}

/* Extra-large screens */
@media (min-width: 1200px) {
    /* 
.responsive-image {
        max-width: 400px;
    }
    .element-container {
    	grid-column: 1 / span 3;
    	grid-row: 1;
    }
    .image-container {
    	grid-column: 2 / span 1;
    	grid-row: 1;
    }
 */
}
