.form-label-left {
	text-align: left;
}

.stat_table, .stat_header_cell, .stat_data_cell
{
	border-style: solid;
	border-color: #072740;
	font-family: "Raleway", sans-serif;
}
.stat_table
{
	border-width: 0 1px 1px 0;
	border-spacing: 0;
}
.stat_header_cell, .stat_data_cell
{
	border-width: 1px 0 0 1px;
	padding: 0.35em;
}
.stat_header_row
{
	font-weight: bold;
	background-color: #1f96f3;
	color: #feffff;
}
.stat_data_row_odd
{
	background-color: #f7f7f7;
}
.stat_data_row_even
{
	background-color: #eaeaea;
}

.flex-center
{
  display: flex;
  justify-content: center;
  padding-top: 1.5em;
}

.flex-left
{
  display: flex;
  justify-content: left;
  padding-top: 1.5em;
}

.loader {
  border: 3px solid black; /* Light grey */
  border-top: 3px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (min-width:601px) {
	.form-label-left{text-align: right;}
}

hr {
	border-top-style: solid;
	border-top-color: #1f96f3;
	border-width: 2px;
}

.w3-container {
	max-width: 800px
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 99999; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

.modal-header {
  padding: 4px 4px 6px 4px;
  margin: 0;
  background-color: #404040;
  color: white;
}

.modal-title {
  padding: 0;
  text-align: center;
  font-weight: bold;
}

.modal-body {
	padding: 10px 10px;
}

/* The Close Button */
.modal-close {
  float: right;
  font-size: 150%;
  font-weight: bold;
  margin-right: 0.5em;
  color: black;
}

.modal-close:hover,
.modal-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.col-form-button
{
  float: left;
/*  width: 35%; */
  margin-top: 6px;
  margin-right: 6px;
  text-align: right;
}

.col-form-button-text
{
  float: left;
/*  width: 60%; */
  margin-top: 6px;
}

.col-form-label
{
  float: left;
  width: 25%;
  margin-top: 6px;
  text-align: right;
}

.col-form-input
{
  float: left;
  width: 70%;
  margin-top: 6px;
}

.col-form-button input[type=text]
{
  width: 100%;
  resize: vertical;
}

select
{
  width: 100%;
  margin-top: 10px;
}

label
{
  padding: 0px 12px 0px 0;
  display: inline-block;
}

.checkbox-group label
{
 padding: 0;
}

input[type="submit"], .btn
{
	text-transform: none;
}

input[type="submit"]:hover
{
}

input[type="checkbox"], input[type="radio"] {
	box-shadow: none;
	margin: 0 4px;
}

input[type=text]:focus
{
  border: 3px solid #729ed8;
}

/* https://stackoverflow.com/questions/39068128/how-can-i-make-a-textarea-that-fits-within-the-width-of-the-current-viewport/39068155 */
textarea {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
}

/* Clear floats after the columns */
.form-row:after
{
  content: "";
  display: table;
  clear: both;
}

.volunteer-buttons
{
	column-count: 3;
	column-gap: 2em;
	column-rule-style: solid;
}

.list2 {
	columns: 2;
	-webkit-columns: 2;
	-moz-columns: 2;
	list-style-type: none;
}

.list3 {
	columns: 3;
	-webkit-columns: 3;
	-moz-columns: 3;
	list-style-type: none;
}

.list4 {
	columns: 4;
	-webkit-columns: 4;
	-moz-columns: 4;
	list-style-type: none;
}

.list5 {
	columns: 5;
	-webkit-columns: 5;
	-moz-columns: 5;
	list-style-type: none;
}

.list6 {
	columns: 6;
	-webkit-columns: 6;
	-moz-columns: 6;
	list-style-type: none;
}

.list7 {
	columns: 7;
	-webkit-columns: 7;
	-moz-columns: 7;
	list-style-type: none;
}

.button-cell {
	margin: 0.5em;
	vertical-align: middle;
}

.search-container {
  display: flex;
  flex-wrap: wrap;
  padding: 7px 0;
  border-bottom-style: solid;
  border-bottom-width: thin;
}

.search-container > div {
  margin: 5px 5px;
}


@media screen and (max-width: 800px)
{
  .list2, .list3, .list4, .list5, .list6, .list7
  {
	columns: 1;
	-webkit-columns: 1;
	-moz-columns: 1;
  }
  
  li
  {
    margin-top: 0.5em;
  }
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px)
{
  .col-form-label, .col-form-input, .col-form-button, .col-form-button input[type=submit]
  {
    float: none;
    text-align: left;
    width: 80%;
    margin-top: 0;
  }
  .col-form-button-text
  {
    margin-bottom: 1.0em;
  }
}
