.skip-link {
  position: relative;
  left: -9999px;
  top: 0;
}

.skip-link:focus,
.skip-link:active {
  left: 0;
  z-index: 1000;
  padding: 0.75em 1em;
  background: #000;
  color: #fff;
  outline: 3px solid #ffbf47;
}

.back-to-top {
	position: relative;
}




.sub525 {
	display: none;
}

img.autofloat:nth-of-type(odd) {
	width: 50%;
	display: block;
	float: right;
	margin-left: 5px;
}



img.autofloat:nth-of-type(even) {
	width: 50%;
	display: block;
	float: left;
	margin-right: 5px;
}


html {
	background-color: #353;
	background-image: url("/images/background.jpg");
	
}

body {

	font-family: georgia;
	margin: 10px;
	
}

h1 {
	font-size: 20pt;
	text-align: center;
	font-variant: small-caps;
}

#card1 {
	width: 845px;
	margin: auto;
	border: solid black 3px;
	background-color: white;
	display: flow-root;
}

#card1andahalf {
	width: 845px;
	margin: auto;
	border: solid black 3px;
	background-color: white;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 10px;
}

#card1andahalf img {
	margin: 5px;
	vertical-align: middle;
	display: inline-block;
}



#card2 {
	width: 845px;
	margin: auto;
	margin-top: 10px;
	margin-bottom: 10px;
	border: solid black 3px;
	background-color: white;
	display: flex;
}

#card3 {
	width: 845px;
	margin: auto;
	border: solid black 3px;
	background-color: white;
	text-align: center;
}

#card3 > p {
	margin: 3px;
	font-size: smaller;
}

.sidebar {
	border-style: none solid none none;
}

.mainbar {
	padding: 0 10px;
	flex: 1;
}	

.button {
	padding: 1px 6px;
	border: 1px outset black;
	border-radius: 3px;
	background-color: #ddd;
	margin: 5px 5px 0 5px;
	display: block;
	width: 142px;
	text-align: center;
}

a.button:hover {
	background-color: #ccc;
	border-style: inset;
}

.button.active {
	font-weight: bold;
	border-style: inset;
	background-color: #bbb;
}


@media screen and (max-width: 870px) {

#card1 {
	width: 95%;
}

#card1andahalf {
	width: 95%;
}

#card2 {
	width: 95%;
	flex-direction: column;
}

#card3 {
	width: 95%;
}

.button {
	display: inline-block;
	margin-top: 5px;
	margin-bottom: 5px;
	margin-left: 2.5px;
	margin-right: 2.5px;
	width: initial;
}

.nomobile {
	display: none;
}

.sidebar {
	text-align: center;
	padding-top: 5px;
	padding-bottom: 5px;
	border-style: none none solid none;
}

}

@media screen and (max-width: 525px) {

img.square-float {
	float: initial !important;
	margin: auto !important;
	width: 75%;
}

.sub525 {
	display: initial;
}

}

