/*!
Theme Name: tfgc
Theme URI: http://underscores.me/
Author: The Feel Good Coach
Author URI: http://underscores.me/
Description: TFGC Theme
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tfgc
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Reset
--------------------------------------------- */
body,html{margin:0!important;padding:0!important}body,sub,sup{position:relative}button,hr,input{overflow:visible}progress,sub,sup{vertical-align:baseline}*,:after,:before{-webkit-text-size-adjust:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}html{scroll-behavior:smooth;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{width:100%;height:100%}body,html{overscroll-behavior:none}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}a:active,a:focus,a:hover{outline:0!important}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:var(--bold)}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0; outline: 0 !important;}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;white-space:normal}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}:focus{outline:-webkit-focus-ring-color auto 0!important}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}[hidden],template{display:none}.render{image-rendering:-moz-crisp-edges;image-rendering:-o-crisp-edges;image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges;-ms-interpolation-mode:nearest-neighbor}.clear{clear:both}body.admin-bar{margin-top:var(--wp-admin--admin-bar--height)!important}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

:root {
	
	--dark: #222;
	--main: #566b30;
	--low: #a2b18a;
	--mid: #daa15c;
	--high: #d3af37;
	--light: #efe7da;
	--font: "Nunito Sans", sans-serif;
	--h1: 4.688rem;
	--h3: 1.875rem;
	--h4: 1.5rem;
	--h5: 1.25rem
	--reg: 300;
	--semi: 500;
	--bold: 700;
	--italic: italic;
	--header: 9.313rem;
	--header-alt: 6rem;
}

@media screen and (max-width: 992px) {
	
	:root {
		
		--h1: 3rem;
		
	}
	
}

.bgr-main {background-color: var(--main);}
.bgr-low {background-color: var(--low);}
.bgr-mid {background-color: var(--mid);}
.bgr-high {background-color: var(--high);}
.bgr-light {background-color: var(--light);}


@media screen and (min-width:1442px){html{font-size:1.11vw}}
@media screen and (max-width:1441px){html{font-size:16px}}


@media screen and (min-width: 992px) {
	
	.container {
		margin-left: 2rem;
		margin-right: 2rem;
	}

	.container-medium {
		margin-left: 9.375rem;
		margin-right: 9.375rem;
	}

	.container-small {
		margin-left: 9.375rem;
		margin-right: 9.375rem;
	}

	.desktop {display: none !important;}
	.mobile {display: block !important;}

}
  
@media screen and (max-width: 992px) {

	.container,
	.container-medium,
	.container-small {
		margin-left: 2rem;
		margin-right: 2rem;
	}
	
	.desktop {display: block !important;}
	.mobile {display: none !important;}
  
}


/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--dark);
	font-family:var(--font);
	font-weight: var(--reg);
	font-size: 1rem;
	line-height: 1.5;
	font-optical-sizing: auto !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	clear: both;
}

h1, h2, .h1, .h2 {
	font-size: var(--h1);
	letter-spacing: -0.05rem;
	line-height: 1.1;
}

h3, .h3 {
	font-size: var(--h3);
	letter-spacing: 0;
	line-height: 1.3;
}

h4, .h4, .subtitle {
	font-size: var(--h4);
	line-height: 1.3;
}

h5, .h5 {
	font-size: var(--h5);
	line-height: 1.3;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Selection */
::selection {
	background: var(--mid);
	color: var(--light);
}
   
::-moz-selection {
	background: var(--mid);
	color: var(--light);
}

a::selection {
	background: var(--high);
	color: var(--light);
}

a::-moz-selection {
	background: var(--high);
	color: var(--light);
}


/* Elements
--------------------------------------------- */
body {
	background: var(--light);
}

hr {
	background-color: var(--main);
	border: 0;
	height: 2px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0;
	padding-left: 1rem;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 0;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
	text-decoration: none;
	transition: all .25s ease-in-out;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: 0 !important;
}

a:hover,
a:active {
	outline: 0 !important;
}

.entry-content p a,
.card ul li a {
	color: var(--dark);
	font-weight: bold;
	text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
	margin-left: 0.05em;
	margin-right: 0.05em;
	padding-bottom: 0.2em;
	transition: background-size .5s;
}

.entry-content p a:hover,
.entry-content p a:focus,
.card ul li a:hover,
.card ul li a:focus {
    background-size: 100% 2px;
}

.entry-content a.arrow {
	background-size: 100% 2px;
}

.entry-content a.arrow:hover {
	background-size: 0% 2px;
}

.bgr-light a.arrow {
	color: var(--main);
}

#hero .entry-content a.arrow {
	color: var(--light);
}


/* Forms
--------------------------------------------- */
[type=submit],
a.button,
span.button {
	display: inline-block;
	color: var(--dark);
	font-size: 0.9rem;
	font-weight: bold;
	background-color: var(--high);
	margin-top: 0.5rem;
	padding: 0.4rem 1.25rem;
	border: 2px solid var(--high);
	border-radius: 1.5rem;
}

[type=submit] {
	transition: .25s ease-in-out;
}

[type=submit]:hover,
[type=submit]:focus,
a.button:hover,
.box:hover span.button {
	background-color: transparent;
	outline: 0 !important;
}

.main-navigation li.button a {
	display: inline-block;
	color: var(--dark);
	font-size: 0.9rem;
	font-weight: bold;
	background-color: var(--high);
	margin-top: 0.5rem;
	padding: 0.4rem 1.25rem;
	border: 2px solid var(--high);
	border-radius: 1.5rem;
}

.main-navigation li.button a:hover {
	color: var(--light) !important;
	background-color: transparent;
}

/*button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}*/

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	width: 100%;
	border: 2px solid #fff;
	border-radius: 0.5rem;
	margin-top: 0.35rem;
	padding: 0.5rem;
	outline: 0 !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	border-color: var(--high);
	outline: 0 !important;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/* Grids */
.grid-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 3rem;
}

.grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.menu-grid {
	display: grid;
	grid-template-columns: 12rem 1fr;
	align-items: start;
}

.span2 {
	grid-column: span 2;
}

@media screen and (min-width: 992px) {
	
	#masthead.fixed .menu-grid {
		align-items: center;
	}
	
	.align {
		align-items: center;
	}
	
}

@media screen and (max-width: 992px) {
	
	.grid-2, .grid-3 {
		grid-template-columns: repeat(1, 1fr);
		grid-row-gap: 3rem;
	}
	
	.grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}
	
	#masthead .menu-grid {
		align-items: center;
	}
	
}

@media screen and (max-width: 680px) {
	
	.grid-3 {
		grid-template-columns: repeat(1, 1fr);
		grid-row-gap: 3rem;
	}
	
	.grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}
	
}

/*--------------------------------------------------------------
# Blocks
--------------------------------------------------------------*/

.block {
	padding: 3rem 0;
}

.block:last-of-type {
	padding-bottom: 6rem;
}

.title {
	padding: 0 0 3rem;
}

.title h2 {
	margin: 0 0 1rem;
}

.bgr-main .title h2,
.bgr-low .title h2 {
	color: var(--light);
}

.bgr-light .title h2 {
	color: var(--low);
}

@media screen and (min-width: 992px) {
	
	.title {
		max-width: 70%;
	}
	
	.title .subtitle {
		display: block;
		max-width: 65%;
	}
	
}

/* Hero
--------------------------------------------- */
#hero,
.single-post .entry-header {
	color: var(--light);
	background-color: var(--main);
}

.single-post .entry-header {
	text-align: center;
}

.single-post .back-link {
	text-align: left;
	margin-bottom: 1rem;
}

.single-post .back-link a {
	font-weight: bold;
	color: var(--light);
}

.single-post .back-link a:hover {
	color: var(--high);
}

#hero h1 {
	margin-top: 0;
}

.page-template-page-home #hero {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: calc(var(--header) + 1.5rem) 0 3rem;
	text-align: center;
}

.archive #hero,
.single-post .entry-header,
.page-template-default #hero {
	padding-top: var(--header);
	padding-bottom: 3rem;
}

.archive #hero h1,
.single-post .entry-header h1,
.page-template-default #hero h1 {
	margin: 0 0 3rem;
}

@media screen and (min-width: 992px) {
	
	.page-template-page-home #hero .subtitle {
		display: block;
		max-width: 70%;
		margin-left: auto;
		margin-right: auto;
	}
	
}


@media screen and (max-width: 992px) {
	
	.archive #hero h1,
	.single-post .entry-header h1,
	.page-template-default #hero h1 {
		margin: 0;
	}
	
}


/* Boxes
--------------------------------------------- */
.box {
	position: relative;
	min-height: 23rem;
    padding-bottom: 6.5rem;
    perspective: 1px;
    cursor: pointer;
}

.box a {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer !important;
}

.box .bgr {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    transition: all 300ms ease-in-out;
}

.box:hover .bgr {
	transform: scale(1.05);
}

.box .box-content {
	position: absolute;
    top: 2rem;
    left: 2rem;
    padding-right: 2rem;
	color: var(--dark) !important;
}

.box .box-link .button {
	position: absolute;
	bottom: 2rem;
	left: 2rem;
	transition: all .3s ease-in-out;
}

.box:has(.bgr-main) .box-content {
	color: var(--light) !important;
}

.box:has(.bgr-main):hover span.button {
	color: var(--light) !important;
}

.box h3 {
	margin: 0 0 1rem;
}

.small {
	display: block;
	font-size: 0.75rem;
}

.boxes .box:last-of-type {
	min-height: 15rem;
	padding-bottom: 0;
}

.boxes .box:last-of-type h3 {
	color: var(--light);
	
}

/* Cards
--------------------------------------------- */
.cards.block h2 {
	color: var(--low);
}

@media screen and (max-width: 992px) {
	
	.cards.block {
		padding-bottom: 0;
	}
	
}

/* Testimonials
--------------------------------------------- */
.testimonials {
	position: relative;
	min-height: 30rem;
    display: flex;
    max-width: 100vw;
    align-items: center;
	overflow: hidden;
}

.testimonials .plate {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    mix-blend-mode: multiply;
    filter: grayscale(1);
    opacity: 0.35;
}

.testimonials .inner {
	min-width: 0;
    text-align: center;
    color: var(--light);
	z-index: 3;
}

.testimonials li .h4 {
	margin-top: 0;
}

.testimonials li blockquote {
	font-size: var(--h3);
    max-width: 70%;
	margin-top: 0;
    margin-left: auto;
    margin-right: auto;
}

.testimonials li blockquote p:first-of-type {
	margin-top: 0;
}

.testimonials li blockquote p:last-of-type {
	margin-bottom: 1rem;
}

.testimonials li blockquote cite {
	font-size: 1rem;
}

.slick-prev, .slick-next {
	font-size: 25px !important;
	top: 35% !important;
}

.slick-prev {
	left: 0 !important;
}

.slick-next {
	right: 0 !important;
}

.slick-prev:before, .slick-next:before {
	font-size: 25px !important;
}


/* Text
--------------------------------------------- */
.text-block .text-image {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 1rem;
	padding-top: 76.6%;
}

.text-block.right .text-image {
	order: 1;
}

.text-block.right .entry-content {
	order: 2;
}

.text-block h2 {
	margin-top: 0;
}

.text-block.bgr-light h2 {
	color: var(--low);
}

.page-id-12 .text-block.bgr-light {
	padding-top: 6rem;
}

@media screen and (min-width: 992px) {
	
	.text-block .entry-content {
		margin: 0;
		padding: 0 3rem;
	}
	
}

/* Text
--------------------------------------------- */
#cta {
	padding: 4.5rem 0;
}

#cta img {
	height: 8rem;
    vertical-align: middle;
    margin-left: auto;
    margin-right: auto;
    filter: invert(1);
}

@media screen and (min-width: 992px) {
	
	#cta .container-small {
		max-width: 70%;
		margin-left: auto;
		margin-right: auto;
	}
	
	#cta .cta-grid {
		display: grid;
    	grid-template-columns: 16rem 1fr;
    	grid-column-gap: 3rem;
    	align-items: center;
	}
	
}

@media screen and (max-width: 992px) {
	
	#cta .cta-grid {
		display: grid;
    	grid-template-columns: 1fr;
    	grid-row-gap: 1.5rem;
    	align-items: center;
	}
	
	#cta .entry-content {
		text-align: center;
	}
	
}


/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
#masthead {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--header);
	background-color: transparent;
	padding: 1rem 0;
	z-index: 999999;
}

#masthead.fixed {
	background-color: var(--main);
	height: var(--header-alt);
}

#masthead .logo img,
.page-template-page-home #masthead.fixed .logo img{
	height: calc(5.875rem / 3 * 2);
	transition: all .25s ease-in-out;
	vertical-align: middle;
}

.page-template-page-home #masthead .logo img,
#colophon .logo img {
	height: 5.875rem;
}

.copyright {
	color: var(--light);
}


/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
	margin-top: 0.5rem;
}

#masthead.fixed .main-navigation {
	margin-top: 0;
}

.main-navigation li:not(:last-of-type) {
    position: relative;
    margin-right: 2rem;
    line-height: 2.399rem;
}

.main-navigation li.button a {
	margin-top: 0;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
	margin-right: 2rem;
}

.main-navigation li:last-of-type {
	margin-right: 0;
}

.main-navigation a {
	display: block;
	color: var(--light);
	font-size: var(--h5);
	font-weight: 600;
	text-decoration: none;
}

.main-navigation a:hover,
.main-navigation li.current-menu-item a {
	color: var(--high);
}

.main-navigation li.current-menu-item.button a {
	color: var(--dark);
}

.main-navigation li.current-menu-item.button a:hover {
	color: var(--light);
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
		justify-content: right;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

.entry-content a.button {
	margin-top: 1.5rem;
}

.entry-content ul {
	margin-top: 1rem;
}

.entry-content ul li:not(:last-of-type) {
	margin-bottom: 1rem;
}

.entry-content p:first-of-type {
	margin-top: 0;
}

.entry-content p:last-of-type {
	margin-bottom: 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

#post-nav {
	padding-top: 1.5rem;
}

#post-nav a {
	color: var(--light);
	font-weight: bold;
}

#post-nav a:hover {
	color: var(--high);
}

/* Archive */
.archive .grid-3 {
	padding: 6rem 0;
}

.archive article .entry-header {
	padding-top: 66.6%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
}

.archive .entry-meta {
	color: var(--dark) !important;
	margin: 1.5rem 0 0.5rem;
}

.archive article h2 {
	font-size: var(--h4);
	margin: 0;
}

.archive article a h2 {
	color: var(--dark);
	transition: .25s ease-in-out;
}

.archive article a:hover h2 {
	color: var(--high);
}

/* Single Post */
.single-post .entry-header {
	padding-bottom: 0;
}

.single-post .entry-header .entry-meta {
	font-size: 1.25rem;
	margin-bottom: 1rem;
}

.single-post .feat-img {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75vh;
    opacity: 0.35;
    mix-blend-mode: multiply;
    filter: grayscale(1);
    background-size: cover;
    background-position: center;
}

.single-post .gradient {
	background: #566B30;
	background: linear-gradient(0deg,rgba(86, 107, 48, 1) 25%, rgba(86, 107, 48, 0) 100%);
	position: absolute;
    bottoom: 0;
    left: 0;
    width: 100%;
    height: 75vh;
	z-index: 2;
}

.single-post .container-small {
	position: relative;
	border-radius: 1rem;
	padding: 2rem;
	z-index: 3;
}

.single-post footer {
	color: light;
	background-color: var(--main);
	padding: 3rem 0;
}

/* Footer
--------------------------------------------- */
#colophon {
	padding: 3rem 0;
}

#colophon .logo {
	margin-bottom: 3rem;
}

#colophon ul {
	list-style: none;
	margin-bottom: 3rem;
	padding-left: 0;
}

#colophon ul li:not(:last-of-type) {
	margin-bottom: 0.5rem;
}

#colophon ul li a {
	color: var(--light);
	font-size: var(--h5);
}

#colophon ul li a:hover,
#colophon ul li.current-menu-item a {
	color: var(--high);
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

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

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Slick
--------------------------------------------- */
.slider[aria-hidden=true] {
   display:none;
}

.slick-slide {
	outline: 0 !important;
}

/* Stacked
--------------------------------------------- */
/* Stack */
.card-deck-js {
	margin-bottom: 4rem;
	padding-left: 0;
}

.stack {
    position: relative;
    margin-top: 0;
}

.stack_card {
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
}

.stack_card:first-of-type {
    box-shadow: 0 0 2rem rgba(0, 0, 0, 0);
}

.stack-small {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
  }

.stack-small_card {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5rem;
    top: 0;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
}

.page-template-page-testimonials .stack_card {
    background-color: var(--color-deep-space);
    align-items: center;
}

@media screen and (min-width: 1200px) {

	.stack-small_card {
		width: calc(100vw - 22vw);
	}

}

@media screen and (max-width: 1200px) {

    .stack-small_card {
		width: calc(100vw - 11vw);
	}

}

@media screen and (max-width: 992px) {

    .stack-small_card {
		width: calc(100vw - 2rem);
	}

}

.card {
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
    top: var(--header);
    transform-origin: center top;
    min-height: 30rem;
    margin-bottom: 1rem;
    display: flex;
	flex-direction: column;
	border-radius: 1rem;
}

/*@media screen and (max-width: 2560px) {

    .card {
        height: 27.5rem;
    }
    
}

@media screen and (max-width: 1600px) {

    .card {
        height: 17.5rem;
    }
    
}

@media screen and (max-width: 992px) {

    .card {
        height: 37.5rem;
    }
    
}

@media screen and (max-width: 680px) {

    .card {
        height: 15rem;
    }

}*/

.card .bgr {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card .image-container--darken:after {
    background: rgba(0, 0, 0, 0.5);
}

.card {
    padding: 3rem;
}

.card h3 {
	color: var(--light);
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.card .entry-content {
	margin-top: 0;
}

.card:nth-child(0) {transform: translateY(0px);}
.card:nth-child(1) {transform: translateY(8px);}
.card:nth-child(2) {transform: translateY(16px);}
.card:nth-child(3) {transform: translateY(32px);}
.card:nth-child(4) {transform: translateY(64px);}
.card:nth-child(5) {transform: translateY(80px);}
.card:nth-child(6) {transform: translateY(96px);}
.card:nth-child(7) {transform: translateY(112px);}
.card:nth-child(8) {transform: translateY(128px);}
.card:nth-child(9) {transform: translateY(144px);}
.card:nth-child(10) {transform: translateY(160px);}
.card:nth-child(11) {transform: translateY(176px);}
.card:nth-child(12) {transform: translateY(192px);}
.card:nth-child(13) {transform: translateY(208px);}
.card:nth-child(14) {transform: translateY(224px);}
.card:nth-child(15) {transform: translateY(240px);}


/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
