/*
Theme Name: LP Theme Text
Theme URI: https://literacyplanet.com
Author: Literacy Planet
*/

/* FONTS
################################################################################### */

@font-face {
  font-family: 'Mikado';
  src: url('../woff2/mikadobold.woff2') format('woff2'),
      url('../woff/mikadobold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* GENERAL
################################################################################### */

html {
	font-family: museo-sans-rounded, sans-serif;
	font-size: 16px;
	line-height: 1.5em;
	font-weight: 500;
	color: var(--blue-grey);
}

.nowrap {
	white-space: nowrap;
}

ins {
	text-decoration: none;
}

.inline-block {
	display: inline-block;
}

.inline {
	display: inline;
}

.text-green {
	color: var(--green-darker-x1);
}

.text-orange {
	color: var(--orange);
}

.text-dark-blue {
	color: var(--dark-blue);
}

.text-royal-blue {
	color: var(--royal-blue);
}

.text-purple {
	color: var(--purple);
}

.text-pink {
	color: var(--pink);
}

.text-blue {
	color: var(--blue);
}

strong, b {
	font-weight: 900;
}

@media (max-width: 599px) {
	
	html {
		font-size: 14px;
	}

}

@media (min-width: 600px) and (max-width: 767px) {

	html {
		font-size: 15px;
	}

}

@media (min-width: 768px) and (max-width: 1399px) {

	html {
		font-size: 15px;
	}

}

@media (min-width: 1400px) {

	html {
		font-size: 16px;
	}

}

/* HEADINGS
################################################################################### */

h1, .h1 {
  font-family: 'Mikado', museo-sans-rounded, sans-serif;
	font-size: 3.5rem;
	margin: 0 0 0.6em;
	line-height: 1.1em;
	color: var(--dark-blue);
}

h2, .h2 {
  font-family: 'Mikado', museo-sans-rounded, sans-serif;
	font-size: 2.7rem;
	margin: 1em 0 0.7em;
	line-height: 1.1em;
	color: var(--dark-blue);
}

h3, .h3 {
  font-family: 'Mikado', museo-sans-rounded, sans-serif;
	font-size: 2.2rem;
	margin: 1em 0 0.75em;
	line-height: 1.2em;
	color: var(--dark-blue);
}

h4, .h4 {
	font-size: 1.5rem;
	margin: 1.3em 0 1em;
	line-height: 1.2em;
	font-weight: 900;
	color: var(--dark-blue);
}

h5, .h5 {
	font-size: 1.25rem;
	margin: 1.75em 0 1.2em;
	line-height: 1.2em;
	font-weight: 900;
	color: var(--dark-blue);
}

h6, .h6 {
	font-size: 1rem;
	margin: 2em 0 1.5em;
	line-height: 1.2em;
	font-weight: 900; 
	color: var(--dark-blue);
}

label {
	font-weight: 500;
}

@media (max-width: 599px) {
	h1, .h1 {
		font-size: 2.8rem;
		margin: 0 0 0.6em;
		line-height: 1.1em;
		font-weight: 900;
		color: var(--dark-blue);
	}

	h2, .h2 {
		font-size: 2.2rem;
		margin: 1em 0 1em;
		line-height: 1.1em;
		font-weight: 900;
		color: var(--dark-blue);
	}

	h3, .h3 {
		font-size: 1.8rem;
		margin: 1em 0 0.75em;
		line-height: 1.2em;
		font-weight: 900;
		color: var(--dark-blue);
	}

	h4, .h4 {
		font-size: 1.4rem;
		margin: 1.3em 0 1em;
		line-height: 1.2em;
		font-weight: 900;
		color: var(--dark-blue);
	}

	h5, .h5 {
		font-size: 1.2rem;
		margin: 1.75em 0 1.2em;
		line-height: 1.2em;
		font-weight: 900;
		color: var(--dark-blue);
	}
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	color: var(--royal-blue);
}

/* LINKS
################################################################################### */

a {
	text-decoration: none; transition: filter 200ms; color: var(--blue);
}

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

a,
.text-link {
	cursor: pointer;
}

a.link-underlined,
.link-underlined a,
main a {
	text-decoration: underline;
}

a.link-underlined:hover,
.link-underlined a:hover,
main a:hover {
	text-decoration: none;
}

a.link-no-underline,
.link-no-underline a {
	text-decoration: none;
}

a.link-no-underline:hover,
.link-no-underline a:hover {
	text-decoration:underline;
}

a.link-royal-blue,
.link-royal-blue a {
	color: var(--royal-blue);
}

/* BLOCK ELEMENTS
################################################################################### */

p, ul, ol, figure, .wp-caption {
	margin: 0 0 1.4em;
}

li {
	margin: 0.5em;
}

.entry-content ul,
.entry-content ol {
	text-align: left;	
}

hr {
	height: 0;
	width: 100%;
	border: none;
	border-top-width: 4px;
	border-top-style: solid;
	border-top-color: var(--light-blue);
	margin: 3em 0;
}

blockquote {
	position: relative;
	margin: 2rem 0;
	padding-left: 4rem;
	font-size: 1.1rem;
	line-height: 1.5rem;
	font-style: italic;
}

blockquote:before {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 3rem;
	content: url(../svg/quote-left.svg);
}

blockquote .quote-content {
	font-size: 1.5rem;
	line-height: 1.4em;
	font-weight: 700;
	margin-bottom: 1rem;
}

blockquote .quote-author {
	font-size: 1rem;
	line-height: 1.1em;
}

blockquote .quote-author:before {
	content: "\2014";
	margin-right: 0.5em;
}

figcaption, .wp-caption-text {
	margin-top: 0.75rem;
	font-size: 0.8em;
	line-height: 1.4em;
	font-style: italic;
}

ul.checklist, .has-checklist ul {
	list-style-type: none;
	padding: 0;
	text-align: left;
	margin-top: -0.3em;
}

ul.checklist li, .has-checklist ul li {
	margin: 0;
	padding: 0.3em 0 0.3em 1.8em; 
	background-image: url(../svg/check-green.svg); background-size: auto 1.1em;
	background-repeat: no-repeat; background-position: 0 0.4em;
}

.centered-checklist, .has-centered-checklist ul {
	list-style-type: none;
	padding: 0;
}

.centered-checklist li:before, .has-centered-checklist li:before {
	display: inline-block;
	content: url(../svg/check-green.svg);
	height: 1em;
	width: 1em;
	margin-right: 0.5em;
	transform: scale(1.1);
}

.text-pop {
	padding: 1rem;
	display: inline-block;
	background-color: var(--green);
	color: white;
	transform: rotate(-3deg);
	line-height: 1em;
	box-shadow: 0.3rem 0.3rem 0 rgba(0,0,0,0.1);
}

/* JUSTIFY
################################################################################### */

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

.text-center {
	text-align: center;
}


/* STYLING
################################################################################### */

.text-italic {
	font-style: italic;
}

.text-uppercase {
	text-transform: uppercase;
}

.text-nowrap {
	white-space: nowrap;
}


/* SIZES
################################################################################### */

.text-xs {
	font-size: 0.8em;
}

.text-sm {
	font-size: 0.9em;
}

.text-sm-md {
	font-size: 1.1em;
}

.text-md {
	font-size: 1.25em;
}

.text-md-lg {
	font-size: 1.5em;
}

.text-lg {
	font-size: 1.75em;
}

.text-xl {
	font-size: 2em;
}

.text-xxl {
	font-size: 2.5em;
}

.text-xxxl {
	font-size: 2.75em;
}

.text-xxxxl {
	font-size: 3.3em;
}

/* LINE HEIGHTS
################################################################################### */

.line-height-1 {
	line-height: 1em;
}

.line-height-1-1 {
	line-height: 1.1em;
}

.line-height-1-2 {
	line-height: 1.2em;
}

.line-height-1-3 {
	line-height: 1.3em;
}

.line-height-1-4 {
	line-height: 1.4em;
}

.line-height-1-5 {
	line-height: 1.5em;
}

.line-height-1-6 {
	line-height: 1.6em;
}


/* WEIGHTS
################################################################################### */

.text-500 {
	font-weight: 500;
}

.text-700 {
	font-weight: 700;
}

.text-900 {
	font-weight: 900;
}

