* { box-sizing: border-box; }

body, td, th, input, textarea, select, a
{
	font-family: "Avenir Next", Helvetica Neue, sans-serif;
	font-size: 20px;
	color: rgb(96,96,96);
}

body
{
	margin: 0;
	padding: 0;
}


.indents	{ margin: 0 24px }

.topbar {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
    height: 106px;
	padding: 15px 0;
	background-color: rgba(255,255,255,0.50);
}

.logo	{ height: 76px; }

.home-header	{ height: 160px; }
.home-content	{ position: absolute; left: 0; top: 130px; width: 100%; padding: 8px 0; }

.header-left    { width: 50%; float: left; }
.header-right   { width: 50%; float: right; text-align: right; padding-top: 1.5em; }

.background {
	position: absolute;
	left: 0;
	top: 0;
	opacity: 1;
	width: 100%;
	height: 300px;
	background-size: cover;
}

.below-bg {
	position: absolute;
	left: 0;
	top: 300px;
	width: 100%;
	padding: 8px 0;
	padding-top: 60px;
}


.sidebar {
	font-size: 26px;
	font-style: italic;
	font-weight: 700;
	color: black;
}

.handwritten
{
	font-family: "Bradley Hand", "Brush Script MT", Noteworthy, cursive;
	font-style: italic;
	font-size: 22px;
	/*color: rgb(0,0,192);*/
	color: rgb(48,95,191);
}




/* this hides the blue outline around a link after you've touched it */
*:focus
{
	outline: none;
	outline-width: 0;
}

a img
{
	border: none;
}

a, a:link, a:visited, a:active
{
	text-decoration: underline;
	/* color: black; /**/
}

.handwritten a, .handwritten a:link, .handwritten a:visited, .handwritten a:active
{
	text-decoration: underline;
	color: inherit;
}


.nav-link
{
	font-family: "Avenir Next", Helvetica Neue, sans-serif;
/*	font-size: 20px; */
/*	font-weight: bold; /**/
	margin-left: 0;
	color: inherit;
}

a.nav-link, a.nav-link:link, a.nav-link:visited, a.nav-link:active
{
	text-decoration: none;
}

.nav-selected   { border-bottom: 2px solid rgb(217,82,94); }

a.footer-link   { font-size: 16px; margin: 0 0.5em; }


.column {
	width: 50%;
	padding: 6px;
	margin-bottom: 12px;
}

.left	{ float: left; }
.right	{ float: right; }

.row:after {
	content: "";
	display: table;
	clear: both;
}

@media screen and (max-width: 600px) {
	.indents	{ margin: 0 8px; }

	/* topbar height == logo height + 2x(topbar vert padding) */
	.logo		{ height: 40px; }
	.topbar		{ height: 56px; padding: 8px 0; }

	/* background height == below-bg top */
	.background	{ height: 180px; }
	.below-bg	{ top: 180px; padding-top: 16px; }

	.home-header	{ height: 110px; }
	.home-content	{ top: 80px; }

	.header-right	{ padding-top: 0.5em; font-size: 16px; }
	.nav-link		{ font-size: 14px; font-weight: bold; }

	.column		{ width: 100%; }
	.title		{ width: 75%; height: auto; }
	.sidebar	{ font-size: 20px; }
}

