/*
This stylesheet makes use of proprietary Dartmouth typefaces. These typefaces are not stored in
the repository, but they can be found at the Dartmouth communications websites:
https://communications.dartmouth.edu/visual-identity/design-elements/typography

Though not propriety (in the sense that you cannot copyright a color), this sheet adheres to the
web version of the Dartmouth visual identify color palette:
https://communications.dartmouth.edu/visual-identity/design-elements/color-palette
*/

@font-face{
	font-family:"National2Web";
	src:url(fonts/National2Web-Regular.woff);
}

@font-face{
	font-family:"National2Web-Bold";
	src:url(fonts/National2Web-Bold.woff);
}

body {
	font-family:"National2Web","Helvetica Neue","Helvetica","Helvetica","Arial","sans-serif";
	font-weight:normal;
	font-style:normal;
	background-color: #ffffff;
	margin: 0px;
	min-height: 100vh;
}

button, a.button {
	background-color: #f7f7f7;
	border-radius: 2px;
	border: 1px solid #424141;
  font-size: .9rem;
	cursor: pointer;
	margin: 3px;
  padding: 1px 4px;
}

a.button {
  display: inline-block;
  text-decoration: none;
}

button:hover, a.button:hover{
	background-color: #e2e2e2;
}

button[type=submit]{
	width: 183px;
	height: 38px;
	color: white;
	background-color: #00693e;
}

input[type=text] {
	width: 250px;
}

header li:hover, button[type=submit]:hover {
	background-color: #12312b;
}

a.edit, button.edit {
	color: #00693e;
}

a.delete, button.delete {
	color: rgb(205, 62, 43);
}

table {
	border-collapse: collapse;
}

th {
	background-color: #e2e2e2;
}

th, td {
	padding: 0px 10px 0px 5px;
	border: solid 1px;
}

h1, h2 {
	font-family:"National2Web-Bold","Helvetica Neue","Helvetica","Helvetica","Arial","sans-serif";
	font-weight: normal;
}

header {
	background-color: #005336;
	margin: 0px;
}

header > h1 {
	margin: 0px;
	padding: 20px 0px 0px 20px;
	color: #ffffff;
}

header > ul {
	padding: 0px 0px 0px 20px;
	background-color: #00693e;
	list-style-type: none;
	display: flex;
	flex-direction: row;
}

header a {
	padding: 10px;
	display: inline-block;
	color: white;
	text-decoration: none;
}

footer {
	margin-top: auto;
	padding: 10px 20px 10px 20px;
	color: white;
	background-color: #005336;

	display: flex;
	justify-content: space-between;
}

footer a {
	color:  #c4dd88;
	text-decoration: none;
}

main {
	max-width: 800px;
	min-height: 70vh;
	margin: 0 auto;
	margin-bottom: 20px;
	padding: 0 20px 50px 20px;
}

form > * {
	margin-bottom: 20px;
}

fieldset {
	border-color: #424141;
	border-width: 1px;
	border-radius: 3px;
}

fieldset span {
	display: inline-block;
	min-width: 40px;
}

fieldset > hr {
	height: 1px;
	border: none;
	background-color: #424141;
}

select {
	width: 300px;
}

textarea {
  height: 4rem;
  width: 100%;
  resize: vertical;
}

legend {
	background-color: #00693e;
	color: #fff;
	padding: 3px 6px;
}

p > label {
	display: inline-block;
	min-width: 110px;
}

p > label[for=add-trip] {
	min-width: 0px;
}

.error {
	color: white;
	background-color: #9d162e;
	margin: 10px 0px;
	padding: 0px 10px;
	display: flex;
	flex-direction: column;
}

.error ul {
	margin: 0px;
}

.success {
	color: white;
	background-color: #00693e;
	margin: 10px 0px;
	padding: 0px 10px;
	display: flex;
	flex-direction: column;
}

ul.accordion {
	margin: 0px;
	padding: 0px;
	width: 80%;
}

ul.accordion button {
	background-color: #e2e2e2;
	margin: 0px 0px 5px 0px;
	padding: 10px 10px;
	width: 100%;
	text-align: left;
}

ul.accordion button:after {
	text-align: right;
	float: right;
	content: '+'
}

ul.accordion li.expanded button:after {
	content: '-'
}

ul.accordion button:hover {
	background-color: #707070;
}


ul.accordion > li {
	margin: 10px 0px;
	list-style-type: none;
	background-color: #f7f7f7;
}

ul.accordion ol {
	display: none;
}

ul.accordion li.expanded ol {
	display: block;
}

ul.accordion ol > li {
	padding: 3px 0px;
}

.nodisplay {
	display: none;
}

.trip-selector {
  width: 70px;
}
