/* Base rules */

@font-face {
	font-family: Merriweather;
	font-style: normal;
	font-weight: 300;
	font-display: fallback;
	src: url(/fonts/Merriweather-Light.ttf) format('truetype')
}

@font-face {
	font-family: Merriweather;
	font-style: italic;
	font-weight: 300;
	font-display: fallback;
	src: url(/fonts/Merriweather-LightItalic.ttf) format('truetype')
}

@font-face {
	font-family: Merriweather;
	font-style: normal;
	font-weight: 400;
	font-display: fallback;
	src: url(/fonts/Merriweather-Regular.ttf) format('truetype')
}

@font-face {
	font-family: Merriweather;
	font-style: italic;
	font-weight: 400;
	font-display: fallback;
	src: url(/fonts/Merriweather-Italic.ttf) format('truetype')
}

@font-face {
	font-family: Merriweather;
	font-style: normal;
	font-weight: 700;
	font-display: fallback;
	src: url(/fonts/Merriweather-Bold.ttf) format('truetype')
}

@font-face {
	font-family: Merriweather;
	font-style: italic;
	font-weight: 700;
	font-display: fallback;
	src: url(/fonts/Merriweather-BoldItalic.ttf) format('truetype')
}

@font-face {
	font-family: Merriweather;
	font-style: normal;
	font-weight: 900;
	font-display: fallback;
	src: url(/fonts/Merriweather-Black.ttf) format('truetype')
}


@font-face {
	font-family: Merriweather;
	font-style: italic;
	font-weight: 900;
	font-display: fallback;
	src: url(/fonts/Merriweather-BlackItalic.ttf) format('truetype')
}


@font-face {
	font-family: 'Merriweather Sans';
	font-style: normal;
	font-weight: 300;
	font-display: fallback;
	src: url(/fonts/MerriweatherSans-Light.ttf) format('truetype')
}

@font-face {
	font-family: 'Merriweather Sans';
	font-style: italic;
	font-weight: 300;
	font-display: fallback;
	src: url(/fonts/MerriweatherSans-LightItalic.ttf) format('truetype')
}

@font-face {
	font-family: 'Merriweather Sans';
	font-style: normal;
	font-weight: 400;
	font-display: fallback;
	src: url(/fonts/MerriweatherSans-Regular.ttf) format('truetype')
}

@font-face {
	font-family: 'Merriweather Sans';
	font-style: italic;
	font-weight: 400;
	font-display: fallback;
	src: url(/fonts/MerriweatherSans-Italic.ttf) format('truetype')
}

@font-face {
	font-family: 'Merriweather Sans';
	font-style: normal;
	font-weight: 700;
	font-display: fallback;
	src: url(/fonts/MerriweatherSans-Bold.ttf) format('truetype')
}


@font-face {
	font-family: 'Merriweather Sans';
	font-style: italic;
	font-weight: 700;
	font-display: fallback;
	src: url(/fonts/MerriweatherSans-BoldItalic.ttf) format('truetype')
}

@font-face {
	font-family: 'Merriweather Sans';
	font-style: normal;
	font-weight: 800;
	font-display: fallback;
	src: url(/fonts/MerriweatherSans-ExtraBold.ttf) format('truetype')
}

@font-face {
	font-family: 'Merriweather Sans';
	font-style: italic;
	font-weight: 800;
	font-display: fallback;
	src: url(/fonts/MerriweatherSans-ExtraBoldItalic.ttf) format('truetype')
}

/* "reset"-ish things */

html {
	box-sizing: border-box;
}

*, *:before, *:after {
	box-sizing: inherit;
}

body {
	margin: 0;
	padding: 0;
	line-height: 1;
	font-size: 100%;
	text-align: left;
}

ol, ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
}

/* font settings (except size) */

body {
	font-family: 'Merriweather Sans', sans-serif;
	font-weight: 400;
	font-style: normal;
}

/* h1, h2, h3, h4, h5, h6 { */
	/* font-family: 'Merriweather Sans', sans-serif; */
/* } */

.menu__item {
/*	font-family: Merriweather, Georgia, serif;*/
	color: lightgrey;
/*	font-weight: 300;*/
/*	font-style: normal;*/
}

.menu__item_current, .menu__item_text::after {
	font-weight: 700;
	color: white;
}

.logo {
	font-family: Merriweather, Georgia, serif;
	font-weight: 900;
	font-style: italic;
}

b {
	font-weight: 700;
}

/* end of font settings */

/* EXPERIMENTAL */

h1, h2, h3, h4, h5, h6 {
	margin: 0.5em 0;
}

h1 {
    font-size: 1.5em;
	/* text-align: center; */
}

h2 {
    font-size: 1.25em;
}

p {
	margin: 1em 0;
    line-height: 1.6;
}

a {
	color: inherit;
	text-decoration: inherit;
}

a:hover {
	text-decoration: underline;
}

/* Layout */
.viewport-grid {
	display: grid;
	grid-template-areas:
	"header"
	"content"
	"footer";
	grid-template-columns: 1fr;
	grid-template-rows: auto 1fr auto;
	height: 100vh;
}

@media print {
	.viewport-grid {
		display: block;
		height: auto;
	}
}

header {
	grid-area: header;
	width: 100%;
	background: black;
	color: white;
	box-shadow: 0px 2px 16px 0px rgba(0,0,0,0.3);
}

.header-space {
  grid-area: header;
  height: 3em;
  /* background: pink; */
  display: none;
  visibility: hidden;
}

.menu-inner {
	margin-top: 0.25rem;
	margin-bottom: 0.25rem;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: center;
	padding: 0;
}

.contact-options {
	margin-top: 0.25rem;
	margin-bottom: 0.25rem;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: center;
	padding: 0;
	color: darkblue;
}

.services-grid {
	display: flex;
	flex-flow: row wrap;
	width: 100%;
}

.services-block {
	display: flex;
	flex-direction: column;
	flex-basis: 100%;
	/* flex: 1; */
}

.short-text { display: none; }
.long-text  { display: inline-block; }

@media screen and (max-width: 32rem) {
	.long-text  { display: none; }
	.short-text { display: inline-block; }
	.header-space { height: 4rem; }
}

@media screen and (min-width: 44rem) {
	.services-block {
		flex: 1;
	}
}


.services-block > ul {
	list-style: disc outside;
	line-height: 1.75;
}

.central  {
	margin-left: 1.2em;
	margin-right: 1.2em;
}

.central.stable {
	margin-right: max(1.2em, 1.2em + 18px + 100% - 100vw);
}

.central > * {
	margin-left: auto;
	margin-right: auto;
	max-width: 60rem;
}

.narrow {
	margin-left: auto;
	margin-right: auto;
	max-width: 30rem;
}

@media screen and (min-width: 44rem) {
	body {
		font-size: 1.25rem;
	}
	.central {
		margin-right: max(1.2em, 1.2em + 18px + 100% - 100vw);
	}
}

@media screen and (min-height: 24rem) {
	header {
		position: fixed;
		top: 0;
	}
	.header-space {
		display: block;
	}
}

.menu__logo {
  display: inline-block;
  padding: 0.2em 0;
  font-size: 1.5em;
  margin-right: 0.5rem;
}
.menu__logo:hover {
	text-decoration: none;
}

span {
	display: inline-block;
}

.menu__right {
	margin-left: auto;
}

.menu__item {
	margin-left: 0.5em;
	font-size: 1em;
	line-height: 1;
}

main {
	grid-area: content;
	margin: auto 0;
	font-weight: 300;
}

footer {
	grid-area: footer;
	text-align: center;
}

.copyright {
	font-size: 0.75rem;
	line-height: 1.25;
	padding: 0.5rem;
	background: #eee;
	border-radius: 1em 1em 0 0;
	display: inline-block;
}

.logo {
	font-weight: 900;
	font-family: 'Merriweather', Georgia, serif;
	font-style: italic;
	display: inline-block;
	line-height: 1;
}

.icon-tri {
  /*vertical-align: -0.08em;*/
	vertical-align: top;
	width: 0.875em;
	height: 1em;
}

.icon-ffw {
	vertical-align: top;
	width: 1.75em;
	height: 1em;
}

.bullet-anchor {
	position: relative;
	padding-left: 2.25em;
}

.bullet-left {
	position: absolute;
	left: 0;
	top: 0.25em;
}

.mailto {
	text-decoration: underline;
	color: darkblue;
}