* {
	--blue-50: #F0F9FF;
	--blue-100: #E0F2FE;
	--blue-200: #BAE6FD;
	--blue-300: #7DD3FC;
	--blue-400: #38BDF8;
	--blue-500: #0EA5E9;
	--blue-600: #0284C7;
	--blue-700: #0369A1;
	--blue-800: #075985;
	--blue-900: #0C4A6E;

	--gray-50: #F9FAFB;
	--gray-100: #F3F4F6;
	--gray-200: #E5E7EB;
	--gray-300: #D1D5DB;
	--gray-400: #9CA3AF;
	--gray-500: #6B7280;
	--gray-600: #4B5563;
	--gray-700: #374151;
	--gray-800: #1F2937;
	--gray-900: #111827;

	--teal-50: #EFFCF8;
	--teal-100: #C6F7E2;
	--teal-200: #8EEDC7;
	--teal-300: #65D6AD;
	--teal-400: #3EBD93;
	--teal-500: #27AB83;
	--teal-600: #199473;
	--teal-700: #147D64;
	--teal-800: #0C6858;
	--teal-900: #014D40;

	--main-color: var(--blue-800);


	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	height: 100vh;
}

body {
	color: var(--gray-700);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-weight: 400;
	font-size: 1.2rem;
	line-height: 2.1rem;
	height: 100%;
	width: 100%;
	display: grid;
	grid-template: auto 1fr auto / auto;
}

div.wrap {
	padding: 1rem;
	background-color: white;
}

main {
	width: 100%;
	max-width: 1500px;
	margin: 0 auto;
}

img,
pre {
	max-width: 100%;
	object-fit: cover;
}

p,
pre {
	margin: 1rem 0 1rem 0;
}

ul,
ol {
	margin: 0 0 1rem 2rem;
}

ul li {
	margin-bottom: 0.33rem;
	list-style-type: square;
}

.sidebar {
	width: 25rem;
	position: sticky;
	top: 100px;
}

.sidebar p,
.sidebar a {
	font-size: 1rem;
}

.sidebar .recents {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	padding-bottom: 1.2rem
}

.sidebar .recents a {
	text-decoration-style: dashed;
	line-height: 1.5rem;
}

.sidebar .recents a:hover {
	background-color: var(--blue-100);
}

.sidebar .recents .date {
	font-size: 1rem;
}

.articles {
	margin-top: 3rem;
	display: flex;
	flex-direction: row;
	gap: 9rem;
}

.articles .content {
	width: 53rem;
}

.page .content {
	max-width: 53rem;
	margin: 0 auto;
}

.header {
	margin-bottom: 1rem;
	padding-top: 2rem;
	display: flex;
	flex-direction: column;
}

.menu~.header {
	padding-top: 0;
}

.header .title,
h1,
h2,
h3 {
	font-weight: 200;
	font-size: 290%;
	line-height: 1.5;
	letter-spacing: -2px;
}

h1 {
	font-size: 190%;
	margin: 3rem 0 auto;
	letter-spacing: 2px;
}

h2 {
	font-weight: 300;
	font-size: 150%;
	margin: 1rem 0;
	letter-spacing: 2px;
}

h3 {
	font-weight: 400;
	font-size: 110%;
	margin: 1rem 0;
	letter-spacing: 2px;
}

.header .date {
	color: var(--gray-500);
	font-size: 1.1rem;
}

.header .tags a {
	color: var(--blue-800);
	background-color: var(--blue-100);
	font-size: 1.1rem;
	text-decoration: none;
	border-radius: 0.75rem;
	padding: 0.25rem 0.75rem;
}

a {
	color: var(--gray-700);
	font-weight: 400;
}

.article-nav {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.article-nav a {
	text-decoration: none;
}

.article-nav svg {
	max-width: 24px;
	max-height: 24px;
}

.article-nav a:hover {
	color: var(--blue-400);
}

.article-nav.foot {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid var(--blue-800);
}

nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
}

nav .title {
	display: flex;
	justify-content: space-between;
	padding: 8px 8px 20px;
}

nav .title .brand a {
	text-decoration: none;
	font-family: serif;
	font-style: italic;
	font-size: 2rem;
	color: var(--blue-700);
	display: flex;
	flex-direction: row;
	align-items: center;
}

nav .title .brand a img {
	margin-right: 1rem;
}

nav .title .brand i {
	width: max-content;
	padding: 0.2em;
	margin: 0;
	background-color: #FFF;
	color: var(--main-color);
	border-radius: 1em;
	border: 3px solid var(--main-color);
}

nav .title .brand span {
	color: var(--main-color);
	margin-left: 0.7rem;
}

nav .title .login a {
	text-decoration: none;
	padding: 0.5rem 1rem;
	color: var(--blue-100);
	background-color: var(--blue-900);
}

nav .title .login a:hover {
	background-color: var(--blue-700);
}

nav .menuswitch #switcher,
nav .menuswitch label {
	display: none;
}

nav .menuswitch {
	padding: 8px;
}

nav .menuswitch,
nav .menu {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

nav .menu a {
	text-decoration: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	white-space: nowrap;
	color: var(--blue-800);
	font-size: 1rem;
}

nav .menu a.active {
	border-bottom: 4px solid var(--blue-800);
}

nav .menu a:hover {
	color: var(--blue-400);
}

nav .menu a svg {
	width: 32px;
}

.brand a:hover {
	color: inherit;
	background-color: inherit;
}

.wrap main .menu {
	margin-bottom: 1rem;
}

.wrap main .menu a {
	text-decoration: none;
	white-space: nowrap;
	font-size: 1rem;
	font-weight: 300;
}

.wrap main .menu a.active {
	border-bottom: 1px solid var(--blue-500);
}

.wrap main .content {
	display: flex;
	flex-direction: column;
}

.wrap main.home .content {
	flex-direction: row;
}

.wrap main.home .content .element {
	flex: 1 1 350px;
}

.wrap main .content img {
	box-shadow: 10px 4px 20px var(--blue-200);
}

.wrap main .content.article-list {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 1rem;
}

.wrap main .content.article-list a {
	text-decoration: none;
	color: var(--gray-900);
	padding: 2rem;
	justify-self: stretch;
	display: flex;
	flex-direction: column;
}

.wrap main .content.article-list .md__image {
	justify-self: end;
}

.wrap main .content.article-list a:hover {
	background-color: var(--blue-100);
}

.wrap main .content.article-list .title {
	font-size: 2rem;
	line-height: 2.5rem;
	color: var(--blue-700);
}

.wrap main .content.search-list a {
	margin-top: 2rem;
	padding: 1rem;
	text-decoration: none;
}

.wrap main .content.search-list a:hover {
	background-color: var(--blue-100);
}

.wrap main .content.search-list .title {
	font-size: 2rem
}

.wrap main #results {
	margin: 2rem 0;
}

img.illustration {
	border-radius: 48px;
}

main .services {
	margin: 1rem 0;
}

main .services .items {
	margin: 2rem 0;
	display: flex;
}

main .services a {
	margin: 0.2rem;
	padding: 0.3rem;
	text-decoration: none;
	display: flex;
	font-size: 1rem;
	color: var(--blue-700);
	background-color: var(--blue-100);
}

main .services a:hover {
	color: white;
	background-color: var(--blue-700);
}

main .services a svg {
	max-width: 3rem;
	margin-right: 1rem;
}

main .element {
	margin: 3rem 0;
}

blockquote {
	margin: 1rem 0rem;
	background: #f9f9f9;
	padding: 0.5em 10px;
	margin: 1rem 0 2rem 0;
	quotes: '\201c' '\201d' '\2018' '\2019';
}

blockquote:before {
	color: #ccc;
	content: open-quote;
	font-size: 5em;
	line-height: 0.1em;
	vertical-align: -0.4em;
}

blockquote p {
	display: inline;
}

blockquote em {
	display: flex;
	align-items: center;
	margin-top: 1rem;
}

blockquote em img {
	margin-right: 1rem;
}

.pagination {
	margin-top: 3rem;
	padding: 0;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	list-style: none;
}

.pagination a {
	display: flex;
	align-items: center;
}

#searchform #q {
	width: 100%;
	padding: 1rem;
	font-size: inherit;
}

svg.icon {
	height: 1.7rem;
}

/* V.content .links .link span { */
/*     padding: 0 1rem; */
/* } */

.footer {
	margin-top: 2rem;
	padding: 2rem 1rem;
	color: var(--blue-500);
	border-top: 1px solid var(--blue-800);
}

.footer main {
	display: flex;
	justify-content: space-between;
}

.footer main a {
	text-decoration: none;
}

.table-striped tbody tr:nth-child(odd) {
	background-color: var(--gray-100);
}

table-bordered tr td:nth-child(odd) {
	border-right: 1px solid var(--gray-100);
}

.action {
	width: fit-content;
}

.action a {
	display: block;
	color: var(--blue-700);
	border: 2px solid var(--blue-700);
	text-decoration: none;
	padding: 1rem;
}

.action a:hover {
	color: var(--blue-100);
	background-color: var(--blue-700);
}

.action.title {
	margin-top: 2rem;
}

.centered {
	margin-left: auto;
	margin-right: auto;
}

.padded {
	padding: 1rem;
}

.pt {
	padding-top: 1rem;
}

.pb {
	padding-bottom: 1rem;
}

.pb2 {
	padding-bottom: 2rem;
}

.warning a {
	color: white;
	background-color: red;
	text-decoration: none;
	padding: 1rem;
}

@media screen and (max-width:768px) {
	body {
		display: inherit;
	}

	.sidebar {
		display: none;
	}

	blockquote em {
		font-size: 1rem;
	}

	.wrap main .content {
		padding: 0.25rem;
	}

	.header {
		margin-top: 1rem;
	}

	.header .title,
	h1,
	h2 {
		font-size: 200%;
		line-height: 1.5;
	}

	h1 {
		font-size: 115%;
		margin: 1rem 0 auto;
	}

	h2 {
		font-size: 100%;
		margin: 1rem 0 auto;
	}

	.footer main {
		display: initial;
	}

	.home .header .title {
		text-align: left;
	}

	.wrap main .content.article-list {
		display: flex;
		flex-direction: column;
	}

	blockquote:before {
		font-size: 3em;
		margin-right: 0;
	}

	/* nav */
	nav {
		position: fixed;
		top: 0;
		width: 100%;
	}

	nav .menuswitch #switcher,
	nav .menuswitch label {
		display: block;
	}

	nav .brand {
		margin-bottom: 0;
		text-align: left;
		margin-left: 2rem;
	}

	nav .brand span {
		display: none;
	}

	nav .title .login a {
		font-size: 1rem;
		padding: 0.33rem;
	}

	nav .menuswitch {
		width: 24px;
		position: absolute;
		top: 0px;
	}

	nav .menuswitch #switcher {
		display: none;
	}

	nav .menuswitch #switcher:checked~.menu {
		display: none;
	}

	nav .menuswitch label svg {
		cursor: pointer;
		margin-top: 6px;
		color: var(--main-color);
	}

	nav .menuswitch label .cross {
		display: inline;
	}

	nav .menuswitch label .burger {
		display: none;
	}

	nav .menuswitch #switcher:checked~label .cross {
		display: none;
	}

	nav .menuswitch #switcher:checked~label .burger {
		display: inline;
	}

	nav .menu {
		width: 200px;
		max-width: 32rem;
		display: flex;
		text-align: left;
		flex-direction: column;
		border: 3px solid var(--blue-900);
	}

	nav .menu a {
		font-size: 1rem;
		font-weight: 400;
		padding: 1rem;
		background-color: var(--blue-50);
		border: 1px solid var(--blue-200);
		text-decoration: none;
		display: flex;
		flex-direction: row;
		align-items: center;
		box-shadow: inherit;
		border-radius: inherit;
	}

	nav .menu a svg {
		width: 24px;
		height: 24px;
		margin-right: 1rem;
	}

	nav .menu a.active {
		border-bottom: none;
		border-right: 8px solid var(--blue-800);
	}

	main .services div {
		flex-direction: column;
	}
}
