/**
 * Fonts - system fonts.
 * --------------------------------------------------------------------------- */

body,
button,
input,
label,
h2, h3, h4 {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

em,
article p,
article li,
article blockquote,
article table,
article dl {
	
}

em {
	font-weight: 500;
	font-family: serif;
}

code,
pre {
	font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
}


/**
 * Defaults
 * --------------------------------------------------------------------------- */


/* === Design Commons === */

:root {
	--bg-color: #ffffff;
	--text-color: #16161D;
	--button-color: #58BE7D;
	--accent-color: #58BE7D;
	--meta-color: #757575;
	--line-color: #dfdfdf;
	--block-color: #FBFBFB;
}

.has-super-light-green-cyan-background-color { background-color: #E8F4F5; }
.has-nice-green-cyan-background-color { background-color: var(--accent-color); }
.has-black-gray-background-color { background-color: var(--text-color); }
.has-meta-gray-background-color { background-color: var(--meta-color); }

.has-super-light-green-cyan-color { color: #E8F4F5; }
.has-nice-green-cyan-color { color: var(--accent-color); }
.has-black-gray-color { color: var(--text-color); }
.has-meta-gray-color { color: var(--meta-color); }


/* === Box Model === */

*,
*:after,
*::before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}


/* === HTML === */

html {
	overflow-x: hidden;
}

body {
	font-weight: 400;
	font-style: normal;
	color: var(--text-color);
	font-size: 1.125rem;
	line-height: 1.8;
	background: var(--bg-color);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-moz-font-feature-settings: "liga" on;
	margin: 0;
}


/* === Links === */

a {
	color: var(--accent-color);
	text-decoration: none;
	transition: 250ms all;
}

p a:hover {
	color: initial;
}

h1 a,
h2 a,
h3 a {
	color: inherit;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
	color: var(--accent-color);
}


/* === Headers === */

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	margin: 8px 0 16px;
}

h1 {
	font-weight: normal;
	font-size: 225%;
	letter-spacing: 0;
	line-height: 1.35;
}

h2 {
	font-weight: 700;
	font-size: 155%;
	letter-spacing: 0.01em;
	line-height: 1.35;
}

h3 {
	font-size: 120%;
	letter-spacing: 0.02em;
	line-height: 1.35;
}

h4 {
	font-size: 120%;
	letter-spacing: -0.01em;
	line-height: 1.45;
}

h5 {
	font-size: 115%;
	letter-spacing: 0;
	line-height: 1.45;
}

h6 {
	font-size: 110%;
	letter-spacing: 0;
	line-height: 1.45;
}

p+h2,
ul+h2,
ol+h2,
h6+h2,
table+h2,
dl+h2 {
	padding-top: 32px;
}


/* === Blockquotes, quotes, and cites === */

blockquote {
	padding: 12px 2px 4px 24px;
	font-style: normal;
	line-height: 1.85;
	box-shadow: inset 3px 0 0 0 rgba(0, 0, 0, 0.84);
	margin: 0 0 2em -24px;
}

blockquote blockquote {}

blockquote cite {
	font-size: 16px;
}


/* === Code and Preformatted text === */

code,
pre {
	display: block;
	background: transparent;
	border: 1px solid var(--line-color);
	color: var(--text-color);
	font-size: 14px;
	font-weight: 400;
	line-height: inherit;
	margin: 0 0 2em;
	padding: 4px 8px;
	white-space: pre-wrap;
}

pre {
	padding: 2em;
}

pre code {}


/* === Paragraphs === */

p {
	font-size: 1em;
	padding: 0;
	margin: 0 0 2em;
}

p.bigger {
	font-size: 1.175em;
	line-height: 1.65;
}


/* === Address === */

address {
	padding: 0 0 2em;
}


/* === Separators === */

hr {
	margin: 1em auto;
	border: 0;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
}

hr::before {
	content: '';
	display: block;
	width: 100%;
	background: var(--line-color);
	height: 1px;
}


/* === Lists === */

ul {
	margin: 0;
	padding: 0 0 2em 20px;
}

ul li {
	margin-bottom: 0;
}

ol {
	padding: 0 0 2em 24px;
}

ol li {
	margin-bottom: 0;
}

ol ol,
ul ul,
ol ul,
ul ol {
	padding-bottom: 0;
	list-style-type: none;
}

dl {}

dt {}

dd {}


/* === Tables === */

table {
	margin: 0 0 2em;
	line-height: 1.4;
	border: 1px solid var(--line-color);
	width: 100%;
	border-radius: 4px;
}

caption {
    padding: 8px;
    font-size: 16px;
}

thead {}

tfoot {}

tbody {}

th {}

td,
th {
	padding: 8px 1em;
	border: 0;
	text-align: left;
}


/* wp-calendar <table> */

#wp-calendar {
    background: #fff;
    text-align: center;
}

#today {
	background: var(--accent-color);
	border-radius: 4px;
	color: #fff;
}

/* === Embeds === */

object {}

embed {}

iframe {
	width: 100%;
	margin: 0;
}

video {}

.mejs-container {
	margin: 2em 0;
}





/* === Alignement (WP classes) === */

.alignleft {
	float: left;
	margin: 0 40px 1em 0;
}

.alignright {
	float: right;
	margin: 0 0 1em 40px;
}

.aligncenter {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	list-style: none;
}

.alignnone {
	/* margin-left: -5%; */
	/* margin-right: -5%; */
	/* width: calc(100% + 10%); */
	/* max-width: 110%; */
}

.alignwide {
	margin-left: -5%;
	margin-right: 0;
	width: calc(100% + 10%);
	max-width: 110%;
}

.alignfull {
	margin: 0 calc(50% - 50vw);
	width: 100vw;
	max-width: 100vw;
}

.has-text-align-center {
    text-align: center;
    max-width: 70ch;
    margin-left: auto;
    margin-right: auto;
}


/**
 * Images
 * --------------------------------------------------------------------------- */

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

a img {}

figure {
	margin: 0 0 2em;
	display: block;
	max-width: 100%;
}

figure.bottomstick {
	margin-bottom: 0;
}
.bottomstick img {
	margin-bottom: -60px;
}

.rightstick {
	position: relative;
	right: -60px;
}



/* === WP editor image sizes === */

img.size-thumbnail {}

img.size-medium {}

img.size-large {}

img.size-full {}

img.emoji {
	width: 20px;
	margin: 0 4px 4px 0;
	display: inline-block;
}


/* === Captions === */

.wp-caption {}

.wp-caption img,
.wp-block-image img {
 
}

.wp-caption-text,
.wp-block-image figcaption,
.wp-block-embed figcaption {
	color: var(--meta-color);
	font-size: 0.875em;
	font-weight: 500;
	text-align: center;
	line-height: 1.45;
	padding: 1em 0 0;
	max-width: 40ch;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0;
}

.wp-block-gallery figcaption {
	line-height: 1.45;
}

.columns-7 figcaption,
.columns-8 figcaption { 
	opacity: 0;
}

.wp-caption-text a {}

.wp-caption-text a:hover {}


/* === Gallery === */

.gallery {
	display: flex;
	flex-wrap: wrap;
	margin: 2em -8px;
}

.gallery-columns-1 .gallery-item {
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	width: 50%;
}

.gallery-columns-3 .gallery-item {
	width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	width: 25%;
}

.gallery-columns-5 .gallery-item {
	width: 20%;
}

.gallery-columns-6 .gallery-item {
	width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	width: 11.11%;
}

.gallery .gallery-item {}

.gallery-icon {
	padding: 8px;
}

.gallery .gallery-icon img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.gallery .gallery-caption {
	padding: 0 8px;
}


/* === Avatars === */

.avatar {
	border-radius: 50%;
	float: left;
	width: 60px;
	height: 60px;
	margin: -6px 16px 0 0;
	background: var(--line-color);
}

a .avatar {}

a:hover .avatar {}

/* === Buttons === */

.button,
.wp-block-button__link {
	background: transparent;
	border: 1px solid;
	border-color: var(--button-color);
	color: var(--button-color);
	cursor: pointer;
	display: inline-block;
	border-radius: 4px;
	padding: 0 18px;
	line-height: 42px;
	text-decoration: none;
	width: auto;
}

p .button,
.wp-block-button a {
	margin-right: 4px; 
	margin-bottom: 4px;
}

.wp-block-button__link:active, 
.wp-block-button__link:focus, 
.wp-block-button__link:hover, 
.wp-block-button__link:visited
.wp-block-button__link:hover {
	border-color: var(--button-color);
	background: var(--button-color);
	color: white !important;
}

.button.dark {
	background: var(--text-color);
	color: white;
	border: 1px solid var(--text-color);
}
.button.dark:hover {
	background: var(--button-color);
	border-color: var(--button-color);
}

.button.full {
	background: var(--button-color);
	color: white;
}

.button.white {
	background: white;
	color: var(--button-color);
	border-color: white;
}
.button.white:hover {
	border-color: var(--button-color);
}




/**
 * Blocks 
 * --------------------------------------------------------------------------- */
.editor-post-title__block {
	font-size: 1.125rem;
	line-height: 1.8;
}

.wp-block {
	max-width: 1200px;
}

.wp-block p {
	max-width: 720px;
}

.wp-block[data-align=wide],
.wp-block[data-align=full] {
	max-width: none;
}

.wp-block-separator,
.wp-block-table td,
.wp-block-table th {
	border: 0;
}

.wp-block-pullquote {
	padding: 0 1em 2em;
}

.wp-block-pullquote__citation,
.wp-block-pullquote cite,
.wp-block-pullquote footer {
	font-size: 11pt;
	text-transform: none;
	font-style: normal;
	opacity: 0.85;
}

.wp-block-gallery,
.wp-block-image,
.wp-block-cover {
	margin-bottom: 40px;
	padding-top: 8px;
	padding-bottom: 0;
}

.wp-block-image.is-resized.alignleft { margin-right: 40px; }
.wp-block-image.is-resized.alignright { margin-left: 40px; }


.wp-block-cover__inner-container {
	padding: 24px;
	max-width: 1200px;
}
.wp-block-cover__inner-container h1,
h1.bigger,
.bigger h1 {
	font-size: 260%;
	line-height: 1.2;
}
.wp-block-cover.alignfull .wp-block-cover__inner-container {
	padding: 0;
}
