html {font-size: 1.125rem;}

html, body {
	background-color: white;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	line-height: 1.45;
	color: #333;
	padding: 0;
	margin: 0;
	height: 100%;
	width: 100%;
}

p {padding-bottom: 1.3rem;
	margin: 0;}

.center {text-align: center;}

h1, h2, h3, h4 {
	margin: 1.3rem 0 0.5em;
	font-weight: inherit;
	line-height: 1.2;
	text-align: left;}

h1 { margin-top: 0;
  font-size: 3.157em;}

h2 {font-size: 2.369em;}

h3 {font-size: 1.777em;}

h4 {font-size: 1.333em;}

a {color: #FFA500;
	text-decoration: none;
	transition: color 0.3s;}

a:hover {color: #333;}

a.on {color: #4DBCE9;}

nav {position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: white;
	padding: 0.5rem 1rem;
	box-shadow: 0 0 3.6rem -1rem black;
	box-sizing: border-box;}

nav .fc {display: flex;
	justify-content: space-between;}

nav img {width: 5rem;}

nav button {border:  none;
	background: none;
	font-size: 1.25em;}

nav #menu  {list-style: none;
	padding-left: 0;
	display: none;}

nav li {text-align: right;
	font-size: 1.25rem;}

nav li a {color: #333333;}

nav li a:hover {color: #ffa500;}

main {min-height: 100%;
	margin-bottom: -22.22rem;}

main:after {content: "";
	display: block;}

main ul, main ol {margin-top: 0;}

main > div:first-of-type {padding: 4rem 1rem 1rem 1rem;}

main > div {padding: 1rem;}

main > div:nth-child(4n+1) {background-color: #4DBCE9;}
main > div:nth-child(4n+1) a {color: #D1E751;}
main > div:nth-child(4n+1) a:hover {color: #333333;}


main > div:nth-child(4n+2),
main > div:nth-child(4n) {background-color: white;}
main > div:nth-child(4n+2) a:hover {color: #333333;}


main > div:nth-child(4n+3) {background-color: #D1E751;}
main > div:nth-child(4n+3) a {color: #4DBCE9;}
main > div:nth-child(4n+3) a:hover {color: #333333;}


/* <style>main > div:first-child {background-color: white;}</style> */

main + article:first-child {padding: 5rem 1rem 0;}

main img {
	width: 100%;
	max-width: 10rem;
	display: block;
	margin: 0 auto;}

main div[style|="background"] {
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	height: 10rem;}

main img.biopic {width: 8rem;
	float: left;
	padding-right: 0.5rem;}

main img.blogpic {height: 100%; width: auto;}

main .socshare a {display:inline-block;
	width: 2rem;
	fill: #333;
	transition: fill 0.3s;}

main .socshare a:hover {
	fill: #D1E751;}

main .button {background: #FFA500;
	padding: 1rem;
	color: #333!important;
	font-size: 1.333rem;
	border-radius: 1rem;
	display: inline-block;
	margin: o auto;
	background-image: linear-gradient(to bottom, #FFA500, #E59400);}

main .button:hover {background: #FFB62F;
	background-image: linear-gradient(to bottom, #FFB62F, #FFAE19);}

.clip {shape-outside: circle();}

main dt {cursor: pointer;
	border-style: dotted;
	border-color: #333;
	border-width: 0 0 1px 0;}

main dd {display: none;}

form label {display: inline-block;
	width: 30%;
	max-width: 7rem;
	text-align: right;
	vertical-align: top;
	padding-right: 0.5rem;}

form input:not([type="submit"]), textarea {width: 67%;
	margin-bottom: 1rem;
	font-size: 1rem;
	box-sizing: border-box;
	border: none;}

form textarea {height: 5rem;}

form input[type="submit"] {
	background-image: linear-gradient(to bottom, #FFA500, #E59400);
	border-radius: 0.5rem;
	border: none;
	font-size: 1rem;
	padding: 0.5rem;
	display: block;
	margin: 0 auto 1rem;
	cursor: pointer;}

form input[type="submit"]:hover {background: #FFB62F;
	background-image: linear-gradient(to bottom, #FFB62F, #FFAE19);}

table {font-size: 0.707rem;
	width: 100%;
	border-collapse: collapse;
	max-width: 21rem;
	margin: 0 auto;}

table tr:nth-child(2n+2) {
	background: #D1E751;}

table td {width: 25%;
	text-align: center;
	padding: 0.5rem 0;}

table td:first-child {text-align: left;
	padding-left: 0.5rem;}

footer, main:after {height: 22.22rem;}

footer {font-size: 0.75em;
	padding: 1rem;
	background-color: #F5F5F5;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
	height 1px;}

footer svg {width: 15%;
	transition: fill 0.3s;
	cursor: pointer;}

footer svg:hover {fill: #FFA500;}

@media screen and (min-width: 785px) {
nav {
	padding: 1rem;
}

nav .fc {display: inline-block;}

nav #menubutton {display: none;}

nav #menu  {display: inline-block;
	margin: 0;
	float: right;}

nav #menu li {display: inline-block;
	font-size: 1rem;
	padding-right: 1rem;
	vertical-align:middle;}

nav #menu li:last-child {padding-right: 0:}

main {min-height: 100%;
	margin-bottom: -12rem;}

main div[style|="background"] {height: initial;}

main .c3 div[style|="background"], .cm div[style|="background"]  {height: 10rem;}

/* <div style="background-image: url(img_placeholder.png);"></div> */

main > div:first-of-type {padding: 6rem 1rem 1rem 1rem;}

main .fc {display: flex; 
	align-items: stretch;}

main .c2 > * {width: 50%;}

main .c2 > *:first-child {padding-right: 0.5rem;}

main .c2 > *:last-child {padding-left: 0.5rem;}

main .c3 > * {width: 33%;}

main .c3 > *:first-child {padding-right: 0.5rem;}

main .c3 > *:nth-child(3) {padding: 0 0.5rem;}

main .c3 > *:last-child {padding-left: 0.5rem;}

.cm {flex-wrap: wrap;
	justify-content: space-between;}

main .cm > * {width: 10rem;
	padding: 1rem;}

form {max-width: 45rem;
	margin: 0 auto;}

table {font-size: 1rem;
	max-width: initial;}

footer {display: flex;}

footer, main:after {height: 12rem;}

footer > * {width: 33%;}

footer > *:first-child {text-align: left;}

footer > *:last-child {text-align: right;}}

@media screen and (min-width: 1250px) {

article {max-width: 70rem;
	margin: 0 auto;}

main .c2 > *:first-child {padding-right: 1rem;}

main .c2 > *:last-child {padding-left: 1rem;}

footer svg {width: 10%;}}