/* http://meyerweb.com/eric/tools/css/reset/ */
/* v1.0 | 20080212 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, figure, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*************************
 * Chouchou theme styles *
 *************************/
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
html {
	max-width: 100vw;
	overflow-x: hidden;
	font-size: 62.5%;
}
body {
	color: #6f7480;
	background: #fff;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 100%;
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
	margin: 0 0 1em;
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	line-height: 1.3;
}
p {
	margin: 0 0 1.382em;
	font-size: 1em;
	line-height: 1.5;
}
ul {
	margin-bottom: 2em;
}
a {
	outline: transparent solid 0px;
	text-decoration: none;
	transition: color 0.2s ease;
}
strong {
	font-weight: 700;
}
small {
	font-size: 0.875em;
}
sub, sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sub {
	bottom: -0.25em;
}
sup {
	top: -0.5em;
}
.nowrap {
	white-space: nowrap;
}
:hover, :focus {
    outline: none;
}
input,
textarea {
	border: 0;
	border-radius: 0;
	display: block;
	color: #444;
	background-color: #f5f5f5;
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	font-size: 1.5rem;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
	font-weight: 400 !important;
	color: rgba(0, 0, 0, 0.5) !important;
}   
input:-moz-placeholder,
textarea:-moz-placeholder {
	font-weight: 400 !important;
	color: rgba(0, 0, 0, 0.5) !important;
}
input::-moz-placeholder,
textarea::-moz-placeholder {
	font-weight: 400 !important;
	color: rgba(0, 0, 0, 0.5) !important;
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
	font-weight: 400 !important;
	color: rgba(0, 0, 0, 0.5) !important;
}
input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
	font-weight: 400 !important;
	color: rgba(0, 0, 0, 0.5) !important;
}
input::placeholder,
textarea::placeholder {
	font-weight: 400 !important;
	color: rgba(0, 0, 0, 0.5) !important;
}

/* Disable tap highlight */
button,
textarea,
input,
select,
a {
 -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
 -webkit-tap-highlight-color: transparent;
 -webkit-user-select: none;
 -khtml-user-select: none;
 -moz-user-select: none;
 -ms-user-select: none;
  user-select: none;
}

/* Disable transitions on resize */
body.no-animation * {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
}

/* Global wrapper default styles */
.wrap {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
}

/*
 * Buttons
 */
.submit button {
	width: 100%;
	max-width: 170px;
	border: 1px solid #ec1504; /* Submit button border colour */
	display: inline-flex;
	position: relative;
	overflow: hidden;
	cursor: pointer;
	color: #ec1504; /* Submit button text colour */
	background-color: #fff;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 45px;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
	transition: border 0.4s, opacity 0.4s, background 0.4s;
}
#comment .submit button {
	max-width: 190px;
}
.submit button::before,
.submit button span {
    margin: 0 auto;
	transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1);
	transition-duration: 0.4s;
}
.submit button:hover {
	opacity: 0.8;
	background-color: #ec1504; /* Submit button hover state background colour */
}
.submit button:hover span{
	-webkit-transform: translateY(-400%) scale(-0.1,20);
	transform: translateY(-400%) scale(-0.1,20);
}
.submit button::before{
	content: attr(data-sm-link-text);
	margin: auto;
	position: absolute;
	left: 0;
	right: 0;
	color: #fff;
	-webkit-transform: translateY(500%) scale(-0.1,20);
			transform: translateY(500%) scale(-0.1,20);
}
.submit button:hover::before{
	letter-spacing: 0.05em;
	-webkit-transform: translateY(0) scale(1,1);
	transform: translateY(0) scale(1,1);
}

/*
 * Global header
 */
header.global {
	width: 100%;
	background-color: #ffb945;
	text-align: center;
}
header.global .wrap {
	padding: 20px 20px 40px;
}
.logo {
	width: 150px;
	height: 150px;
	display: block;
	margin: 0 auto;
	position: relative;
	left: -10px;
	background-image: url('../img/logo_768.png');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (min-device-pixel-ratio: 2) { .logo {	background-image: url('../img/logo_768@2x.png'); } }
@media screen and (-webkit-min-device-pixel-ratio: 3), screen and (min-device-pixel-ratio: 3) { .logo {	background-image: url('../img/logo_768@3x.png'); } }
header.global nav ul {
	margin: 0;
}
header.global nav ul li {
	font-family: 'Inter', sans-serif;
}
header.global nav > ul > li:first-of-type {
	margin-bottom: 0.8em;
	font-size: 20px;
}
header.global nav ul li a {
	display: block;
	cursor: pointer;
	color: #ec1504; /* Navigation anchor colour */
	font-weight: 600;
	line-height: 1.8;
}
header.global nav ul li a:hover {
	color: #ef7900; /* Navigation anchor hover state colour */
}
header.global nav > ul > li:first-of-type a {
	color: #fdf5e6 !important;
}
header.global nav > ul > li:first-of-type a {
	font-weight: 400;
	letter-spacing: -1px;
}
header.global nav > ul > li:first-of-type a > span {
	font-weight: 800;
}
header.global nav > ul > li:first-of-type a > span > span {
	font-weight: 700;
}
header.global nav > ul > li.active > a,
header.global nav > ul > li ul li.active > a {
	color: #ef7900; /* Navigation anchor active state colour */
}
header.global nav > ul {
	margin: 0 0 20px;
}
header.global nav ul ul { 
	height: 0;
	margin-top: 0;
	overflow: hidden;
}
header.global nav > ul > li.has-children > a i { 
	display: inline-block;
	color: #e62630 !important; /* Navigation caret colour */
	transition: transform 0.2s ease;
}
header.global nav > ul > li.has-children.active > a i {
	transform: rotate(-180deg);
}
header.global nav > ul > li.has-children > ul > li:last-of-type {
	margin-bottom: 10px;
}
header.global nav ul ul span {
	font-weight: 400;
}	

/* Header search */
#search input {
	max-width: 150px;
	display: inline-block;
	margin: 0 auto;
	border: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.25);
	padding: 5px 0;
	vertical-align: top;
	background: transparent;
	font-family: 'Inter', sans-serif;
	font-weight: 500;
}
#search button {
	height: 30px;
	width: 30px;
	display: inline-block;
	padding: 0;
	position: relative;
	border: 0;
	overflow: visible;
	vertical-align: top;
	cursor: pointer;
	background: transparent;
}
#search button:after {
	content: '\f002';
	position: absolute;
	top: 5px;
	left: 5px;	
	opacity: 0.5;
    font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 1.5em;
}

/*
 * Document header
 */
header.document {
	width: 100%;
	background-color: #f5f5f5;
}
header.document .wrap {
	padding: 40px 20px;
}
header.document h1 {
	margin-bottom: 0;
	font-size: 30px;
	font-size: 3rem;
	font-weight: 300;
}

/*
 * Posts
 */
article.first-post .wrap {
	padding: 80px 20px;
}
article.first-post h1 {
	margin-bottom: 0;
	padding-bottom: 10px;
	font-size: 40px;
	font-weight: 400;
	line-height: 1.2;
}
article.first-post h1 a,
.words a {
	color: #0091f7; /* Posts page article anchor colour and article inline anchor colour */
}
.meta a {
	color: #6f7480;
	text-decoration: underline;	
}
article.first-post .words {
	position: relative;
	overflow: hidden;
}
article.first-post .words .cover {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgb(255,255,255);
	background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 80%, rgba(255,255,255,1) 100%);
	pointer-events: none;
}
article.first-post .words .cover span,
article.first-post .words .cover a { 
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	cursor: pointer;
	color: #5b8394; /* Read more anchor colour */
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	pointer-events: auto;
	transition: color 0.2s ease;
}
article.first-post .words .cover span:hover,
article.first-post .words .cover a:hover {
	color: #3c454c; /* Read more anchor hover state colour */
}
section.posts article:not(.first-post) .wrap {
	padding: 60px 20px;
}
section.posts article:not(.first-post) h2 {
	margin: 0;
	font-size: 32px;
	font-weight: 400;
	line-height: 1.2;
}
section.posts article:not(.first-post) h2 a {
	opacity: 0.6;
	color: #b8cef1;
	transition: opacity 0.2s ease, color 0.2s ease;
}
section.posts article:not(.first-post) h2 a:hover {
	opacity: 0.99;
}
.no-content .wrap {
	padding: 80px 20px;
}
.no-content .wrap p:last-of-type {
	margin-bottom: 0;
}
.pagination { 
	border-top: 1px solid #eee;
	padding-top: 30px;
	padding-bottom: 30px;
	overflow: hidden;
}
.pagination:empty {
	display: none;
}
.pagination a {
	float: left;
	color: #5b8394; /* Pagination anchor colour */
	font-size: 14px;
	font-weight: 400;
}
.pagination a:hover {
	color: #3c454c;  /* Pagination anchor hover state colour */
}
.pagination .next { 
	float: right;
}

/*
 * Article
 */
section.post article .wrap {
	padding: 80px 20px;
}
.words h2 { 
	border-bottom: 1px solid #eee;
	padding-bottom: 5px;
	font-size: 30px;
}
.words h3 { 
	font-size: 26px;
}
.words h4 { 
	font-size: 18px;
}
.words h5 { 
	font-weight: 700;
}
.words h6 { 
	font-weight: 500;
}
.words hr { 
	margin: 30px 0;
	border: 0;
	border-bottom: 1px solid #eee;
}
.words em {
	font-style: italic;
}
.words a:hover {
	color: #3c454c;
}

.words a i {
	margin-left: 1px;
	position: relative;
	top: -0.5em;	
	vertical-align: baseline;
	font-size: 75%;
	line-height: 0;
}
.words ul,
.words ol {
	margin: 1.382em 20px 1.5em 35px;
    padding: 0;
    list-style-type: disc;
}
.words ol {
	list-style-type: decimal;
}
.words li {
	line-height: 1.4;
}
.words ul.loose li {
	margin-bottom: 1em;
}
.words ol.loose li {
	margin-bottom: 1.382em;
}
.words ul.fa-ul {
    list-style-type: none;
}
.words ul.fa-ul i.fa-check {
    color: #8bd300;
}
.words ul.fa-ul i.fa-times {
    color: #d22d16;
}
.words figure.image {
	width: 100%;
	max-width: 700px;
	margin: 25px auto 25px;
	display: block;
	position: relative;
}
.words figure.image.full-width {
	max-width: 100%;
}
.words figure.image img {
	width: 100%;
}
.words figure.image figcaption {
	width: calc(100% - 10px);
	margin: 2px 0 0 10px;
	position: relative;
	font-size: 0.875em;
	line-height: 1.4;
}
.words figure.image figcaption::before {
	content: '\f129';
	position: absolute;
	top: 0;
	left: -10px;
	opacity: 0.7;
	font-family: "Font Awesome 5 Free";
	font-size: 0.875em;
	font-weight: 900;
}
/* Infographic if too long */
.words figure.image.too-long {
	max-height: 400px;
	margin-bottom: 0;
	overflow: hidden;
}
.words figure.image.too-long::before {
	content: '';
	width: 100%;
	height: 400px;
	position: absolute;
	top: 0;
	opacity: 0.4;
	background-color: #000;
	pointer-events: none;
	transition: opacity 0.2s ease;
}
.words figure.image.too-long:hover::before {
    opacity: 0.3;
}
.words figure.image.too-long::after {
	content: '\f00e';
	position: absolute;
	top: 20px;
	left: 20px;
	color: #fff;
	font-family: "Font Awesome 5 Free";
	font-size: 2.5em;
	font-weight: 900;
	line-height: 1;
	text-shadow: 2px 2px 5px rgb(0 0 0 / 50%);
	pointer-events: none;
	transition: all 0.2s ease;
}
.words figure.image.too-long:hover::after {
    transform: scale(1.2);
}
.words figure.image.too-long figcaption {
	width: 100%;
	height: 50px;
	margin: 0;
	position: absolute;
	top: 350px;
	color: #6e7886;
	background: rgb(245,245,245);
	background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 25%);
	line-height: 50px;
}
/* Video embed */
.embed-responsively {
	width: 100%;
	max-width: 700px;
	margin: 0 auto 1.382em;
}
.embed-container {
	height: 0;
	padding-bottom: 56.25%;
	position: relative;
	overflow: hidden;
}
.embed-container iframe, .embed-container object, .embed-container embed {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}
.footnote {
	margin: 40px 0 0;
}
.footnote li,
.comment time {
	opacity: 0.75;
	font-size: 14px;
	font-size: 1.4rem;
	font-style: italic;
}

/*
 * Article comments
 */
.comments {
	margin-top: 60px;
}
.comments article:last-of-type {
	margin-bottom: 40px;
	border-bottom: 1px solid #eee;
}
.comment {
	border-top: 1px solid #eee;
	padding: 30px 0 35px;
}
.comment h2 {
	margin-bottom: 0;
	font-size: 24px;
	font-weight: 400;
	line-height: 32px;
}
.comment time {
	margin-bottom: 20px;
	display: block;
}
.comment .words {
	line-height: 1.5;
}

/* Comment form */
.form div:not(.notifications) {
	margin-bottom: 20px;
}
.form label {
	width: 1px;
	height: 1px;
	display: block;
	position: absolute;
	overflow: hidden;
}
.form input,
.form textarea {
	width: 100%;
	padding: 15px;
	font-weight: 400;
}
.form textarea {
	min-height: 150px;
    max-height: 300px;
    resize: vertical;
}
.form .notifications p {
	position: relative;
	font-weight: 500;
}
.form .notifications p:not(:last-of-type) {
	margin-bottom: 0.5em;
}
.form .notifications p::before {
	content: '';
    font-family: "Font Awesome 5 Free";
	font-weight: 900;
}
.form .notifications p.error::before {
	content: '\f06a\00a0';
	color: Tomato;
}
.form .notifications p.warning::before {
	content: '\f071\00a0';
	color: Tomato;
}
.form .notifications p.success::before {
	content: '\f058\00a0';
	color: LawnGreen;
}
.form .notifications p.notice::before {
	content: '\f0a1\00a0';
	color: DodgerBlue;
}
#contact-form.form .notifications p {
	margin-bottom: 1.382em !important;
	display: none;
}
.grecaptcha-badge {
	z-index: 9;
	transition: right 0.3s ease 0s, bottom 0.3s ease !important;
}

/*
 * Page
 */
.page section.words .wrap {
	padding: 80px 20px;
}
/* About */
.gallery {
	width: 100%;
	margin-bottom: 30px;
}
.gallery img {
	width: 100%;
	height: auto;
	display: none;
}
.gallery img:nth-of-type(1) {
	display: block;
}

/*
 * Footer
 */
footer {
	width: 100%;
	background-color: #f5f5f5;
}
footer .wrap {
	padding: 30px 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
}
footer p {
	margin: 0 0 0.5em;
	opacity: 0.75;
}
footer a {
	color: #6f7480; /* Footer anchor colour (same as body copy) */
}
footer a:hover {
	color: #3c454c; /* Footer anchor hover state colour */
}
footer nav ul {
	margin: 0;
	line-height: 1.5;
}
footer nav ul li:not(:last-of-type) {
	margin-bottom: 0.5em;
}

/*
 * Notifications/pop-ups
 */
.logged-in .wrap {
	padding: 30px;
}
.logged-in p {
	margin-bottom: 0;
}
.logged-in p a {
	color: #6f7480; /* Logged in anchor colour */
	text-decoration: underline;
}
.logged-in p a:hover {
	text-decoration: none;
}

@media screen and (min-width: 360px) {
	.logo {
		width: 200px;
		height: 200px;
		left: -15px;
		background-image: url('../img/logo.png');	
	}
	@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (min-device-pixel-ratio: 2) { .logo {	background-image: url('../img/logo@2x.png'); } }
	@media screen and (-webkit-min-device-pixel-ratio: 3), screen and (min-device-pixel-ratio: 3) { .logo {	background-image: url('../img/logo@3x.png'); } }
	header.global nav > ul > li:first-of-type {
		font-size: 24px;
	}
}

@media screen and (min-width: 480px) {
	.wrap {
		padding-right: 30px !important;
		padding-left: 30px !important;
	}
	.words figure.image.too-long {
		max-height: 500px;
	}
	.words figure.image.too-long::before {
		height: 500px;
	}
	.words figure.image.too-long figcaption {
		top: 450px;
	}
	footer .wrap {
		flex-direction: row;
		align-items: flex-start;
		justify-content: space-between;
		text-align: left;
	}
	footer p {
		margin: 0;
	}
	footer nav ul li {
		text-align: right;
	}
}

@media screen and (min-width: 600px) {
	.wrap {
		padding-right: 40px !important;
		padding-left: 40px !important
	}
	.gallery {
		margin: 0 -10px 30px;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
	}
	.gallery img {
		padding: 0 10px;
		width: 50%;
	}
	.gallery img:nth-of-type(2) {
		display: block;
	}
	footer nav ul li {
		margin: 0 !important;
		display: inline-block;
	}
	footer nav ul li:not(:last-of-type) {
		margin-right: 30px !important;
	}
}

@media screen and (min-width: 768px) {	
	header.global {
		text-align: left;
	}
	header.global .wrap {
		padding-top: 20px;
		padding-bottom: 20px;
		padding-left: 130px !important;
		display: flex;
		align-items: center;
	}
	.logo {
		width: 150px;
		height: 120px;
		position: absolute;
		left: 5px;
		overflow: hidden;
		background-image: url('../img/logo_768.png');
		background-position: center 0px;
	}
	@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (min-device-pixel-ratio: 2) { .logo {	background-image: url('../img/logo_768@2x.png'); } }
	@media screen and (-webkit-min-device-pixel-ratio: 3), screen and (min-device-pixel-ratio: 3) { .logo {	background-image: url('../img/logo_768@3x.png'); } }
	header.global nav ul {
		margin: 0;
		font-size: 0;
	}
	header.global nav ul li {
		font-size: 15px;
		font-size: 1.5rem;
	}
	header.global nav > ul > li {
		padding: 20px;
		display: inline-block;
		position: relative;
	}
	header.global nav > ul > li:first-of-type {
		margin-bottom: 0;
		margin-left: 20px;
		font-size: 20px;
	}
	header.global nav > ul > li:last-of-type {
		margin-right: 20px;
	}
	header.global nav ul li a {
		line-height: 2;
	}
	header.global nav > ul > li.has-children > a i {
		display: none;
	}
	header.global nav ul ul {
		min-width: 200px;
		height: auto !important;
		padding: 15px;
		position: absolute;
		top: 85px;
		left: 40px;
		overflow: visible;
		z-index: 9;
		pointer-events: none;
		opacity: 0;
		background-color: rgba(255,255,255,.95);
		box-shadow: 0 0.5rem 1.5rem rgb(0 0 0 / 5%);
		transition: top 0.5s ease, opacity 0.5s ease;;
	}
	header.global nav ul ul::before { 
		content: '';
		width: 0;
		height: 0;
		border-bottom: 10px solid rgba(255,255,255,.95);
		border-right: 10px solid transparent;
		position: absolute;
		top: -10px;
		left: 0;
	}
	header.global nav ul ul.visible {
		top: 65px;
		pointer-events: auto;
		opacity: 1;
	}
	header.global nav ul ul li {
		margin-bottom: 0 !important;
	}
	.words figure.image.too-long {
		max-height: 600px;
	}
	.words figure.image.too-long::before {
		height: 600px;
	}
	.words figure.image.too-long figcaption {
		top: 550px;
	}
	.gallery img {
		padding: 0 10px;
		display: block !important;
		width: 33.33%;
	}
	.form div.name,
	.form div.email {
		width: 50%;
		padding: 0 10px 0 0;
		float: left;
	}
	.form div.email {
		padding: 0 0 0 10px;
	}
	.form textarea {
		min-height: 200px;
	}
}

@media screen and (min-width: 992px) {
	.wrap {
		padding-right: 50px !important;
		padding-left: 50px !important;
	}
	header.global .wrap > a {
		left: 15px;
	}
	header.global nav > ul > li {
		padding: 20px 30px;
	}
	header.global nav > ul > li:first-of-type {
		margin-left: 30px;
	}
	header.global nav > ul > li:last-of-type {
		margin-right: 30px;
	}
}