body, html {
	margin: 0;
	height: 100%;
	background-color: lightgray;
	font-family: "Open Sans", sans-serif;
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#content-div {
	padding-top: 5px;
	padding-left: 25px;
	padding-right: 25px;
}

p {
	margin: 0;
	font-size: 1em;
	font-family: "Open Sans", sans-serif;
}

h1 {
	font-family: "Open Sans", sans-serif;
	display: inline-block;
	padding-right: 10px;
}

a {
	text-decoration: none;
	color: black;
}

table {
	border-collapse: collapse;
	width: 100%;
	padding-left: 15px;
}

table, th, td {
	padding-right: 15px;
	padding-top: 4px;
	padding-bottom: 4px;
    text-align: left;
	font-family: "Open Sans", sans-serif;
}

.volunteerstable th {
	padding-left: 15px;
	background-color: #214761;
	color: white;
	height: 50px;
}

.volunteerstable td {
	padding-left: 10px;
	border-bottom: 1px solid #ddd;
	height: 50px;
}

.volunteerstable tr:hover {
	background-color: #f5f5f5;
} 

.volHeader:hover {
	background-color: #102330;
}

button {
	padding: 10px 20px;
	background-color: #214761;
	text-align: center;
	text-decoration: none;
	border: none;
	font-size: 1em;
	color: white;
}

button:hover {
	background-color: #102330;
	cursor: pointer;
}

.delete {
	background-color: red;
	margin-left: 7.5px;
}

.delete:hover {
	background-color: #E60000
}

input[type="text"] {
	font-size: 1.5em;
	width: 300px;
	border: 1px solid #ddd;
}

input[type="password"] {
	font-size: 1.5em;
	width: 300px;
	border: 1px solid #ddd;
}

select {
	font-size: 1.5em;
	width: 300px;
}

input[type="date"] {
	font-size: 1.5em;
	border: 1px solid #ddd;
}

input[type="checkbox"] {
	zoom: 2;
	margin-bottom: 6px;
}

textarea {
	font-size: 1em;
	width: 300px;
	height: 100px;
}

h2 {
	font-family: "Open Sans", sans-serif;
	margin: 0;
	color: white;
	padding-left: 20px;
}

.toolbar {
	font-family: "Open Sans", sans-serif;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background-color: #333;
	position: fixed;
	top: 0;
	width: 100%;
	left: 0;
	padding-top: 20px;
	padding-bottom: 20px;
	color: white;
	text-align: left;
	display: flex;
	justify-content: space-between;
}

.helpIcon {
	display: inline-block;
	cursor: pointer;
	width: 20px;
	height: 20px;
}

.collapsible-table-header th {
	padding-left: 15px;
}

.collapsible-table-data td {
	padding-left: 10px;
	border-bottom: 1px solid #ddd;
	height: 50px;
}

.collapsible-table-data:hover {
	cursor: pointer;
	background-color: #f5f5f5;
}

.collapsible-table-header {
	background-color: #214761;
	color: white;
	height: 50px;
}

.collapsible-table-header:hover {
	background-color: #102330;
	cursor: pointer;
}

.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	left: 0px;
	top: 0px;
	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 {
	background-color: #fefefe;
	padding: 20px;
	border: 1px solid #888;
	width: 25%; /* Could be more or less, depending on screen size */
	min-width: 400px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
  }

  .modal-done {
	background-color: #214761;
	text-align: center;
	text-decoration: none;
	border: none;
	font-size: 0.9em;
	color: white;
	width: 75px;
	padding-top: 7.5px;
	padding-bottom: 7.5px;
	cursor: pointer;
  	border-radius: 0;
	font-weight: normal;
  }
  .modal-done:hover {
	background-color: #102330;
  }

  .modal-delete {
	background-color: red;
	text-align: center;
	text-decoration: none;
	border: none;
	font-size: 0.9em;
	color: white;
	width: 75px;
	padding-top: 7.5px;
	padding-bottom: 7.5px;
	cursor: pointer;
	border-radius: 0;
	font-weight: normal;
  }
  .modal-delete:hover {
	background-color: #E60000
  }

  .modal-cancel {
	background-color: silver;
	text-align: center;
	text-decoration: none;
	border: none;
	font-size: 0.9em;
	color: white;
	width: 75px;
	padding-top: 7.5px;
	padding-bottom: 7.5px;
	cursor: pointer;
	border-radius: 0;
	font-weight: normal;
  }
  .modal-cancel:hover {
	background-color: darkgray;
  }

@media screen and (max-width:550px) {
	#content-div {
		text-align: center;
		padding-left: 15px;
		padding-right: 15px;
	}

	textarea {
		width: 100%;
		height: 100px;
	}

	h1 {
		font-family: "Open Sans", sans-serif;
	}

	table, td {
		padding-left: 5px;
		padding-right: 5px;
		padding-top: 4px;
		padding-bottom: 4px;
		text-align: left;
		font-family: "Open Sans", sans-serif;
	}

	th {
		padding-left: 15px;
		padding-right: 15px;
		padding-top: 4px;
		padding-bottom: 4px;
		text-align: left;
		font-family: "Open Sans", sans-serif;
	}

	button {
		width: 90%;
		padding: 10px 20px;
		background-color: #214761;
		text-align: center;
		text-decoration: none;
		border: none;
		font-size: 1em;
		color: white;
	}

	td button {
		width: 100%;
		padding: 10px 20px;
		background-color: #214761;
		text-align: center;
		text-decoration: none;
		border: none;
		font-size: 1em;
		color: white;
	}

	input[type="text"] {
		font-size: 1.5em;
		width: 90%;
	}

	input[type="password"] {
		font-size: 1.5em;
		width: 90%;
	}

	td input[type="text"] {
		font-size: 1.5em;
		width: 100%;
	}

	select {
		font-size: 1.5em;
		width: 100%;
	}

	#volunteer-details {
		text-align: left; 
		padding-left: 10px; 
		padding-right: 10px;
	}

	.delete {
		margin: 0;
		display: inline;
		width: 48%;
		margin: 0 1%;
	}

	.edit {
		margin: 0;
		display: inline;
		width: 48%;
		margin: 0 1%;
	}
}
