/* Mixins
================================================== */
/* Breakpoints
================================================== */
/* Fonts

SPEED:
- Load them LOCALLY, don't let google host them

@font-face {
    font-family: 'Arvo';
    font-display: auto;
    src: local('Arvo'), url(https://fonts.gstatic.com/s/arvo/v9/rC7kKhY-eUDY-ucISTIf5PesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
}

Font-display
"block" - the words are "invisible" until the fonts are loaded
"swap" - the words are INVISIBLE until the fonts are loaded
"fallback" - the words show with a FALLBACK FONT until the fonts are loaded

================================================== */
/* Reset
================================================== */
body {
  font-family: "Helvetica Neue", "Helvetica", sans-serif;
  font-display: fallback;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 0.9em;
  line-height: 1.4;
}
@media (min-width: 480px) {
  body {
    font-size: 1em;
  }
}
@media (min-width: 1400px) {
  body {
    font-size: 1.3em;
  }
}
@media (min-width: 1952px) {
  body {
    font-size: 1.7em;
  }
}

/* Paragraphs
================================================== */
p, .p {
  margin: 0 0 1em 0;
}

.lead {
  font-size: 1.1em;
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

.small,
small {
  font-size: 80%;
}

/* Lists
================================================== */
.wysiwyg ol, .wysiwyg ul, .wysiwyg li {
  list-style: none;
  margin: 0 0;
  padding: 0;
}
.wysiwyg .ul > li {
  position: relative;
  padding-left: 1em;
}
.wysiwyg .ul > li:before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 5px;
  height: 5px;
  display: block;
  background: black;
}
.wysiwyg .ol {
  counter-reset: cupcake;
}
.wysiwyg .ol li {
  counter-increment: cupcake;
}
.wysiwyg .ol li:before {
  content: counters(cupcake, ".") " ";
}

/* Blockquotes
================================================== */
blockquote {
  margin: 2em 0;
  display: block;
  padding: 0 1em;
  position: relative;
  border-left: solid 5px;
}

/* Headings
Clients may want to reorganize tag names in future for SEO purposes,
so in addition of selecting by the tag name (h1-h6) we add a class (.h1-.h6).
========================================================================== */
/* Main Headings
================================================== */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin: 0.4em 0;
  padding: 0;
  font-weight: 400;
  line-height: 1;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
.h1 a, .h2 a, .h3 a, .h4 a, .h5 a, .h6 a {
  font-weight: inherit;
}

h1, .h1 {
  font-size: 2.4em;
}
@media (min-width: 480px) {
  h1, .h1 {
    font-size: 3.1em;
  }
}

h2, .h2 {
  font-size: 2em;
}

h3, .h3 {
  font-size: 1.6em;
}

h4, .h4 {
  font-size: 1em;
}

h5, .h5 {
  font-size: 0.9em;
}

h6, .h6 {
  font-size: 0.8em;
}

/* Fluid
================================================== */
/*
.fluid-type {
	font-size: 3vw;
}

Liquid site

	- use VW
	- use font squirrel to do the line-heightS!!

		or replace with SVG

		give line-height vw value
		use negative margins too with vw



.fluid-type {
	font-size: clamp(1em, 4vw, 3em);
}




*/
/* Address
================================================== */
address {
  font-style: normal;
}

a[href*=mailto] {
  word-break: break-all;
}

/* Hr
================================================== */
hr {
  border: solid;
  border-width: 1px 0 0;
  clear: both;
  margin: 1em 0;
  height: 0;
}

/* Misc
================================================== */
.truncate-string-with-ellipsis {
  width: 215px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

/* No line break
================================================== */
.nlbr {
  display: inline-block;
}