/*
Theme Name: Healthy Pixels
Author: Healthy Pixels
Description: Healthy Pixels stylesheet
Version: 1.0.0
Text Domain: Healthy Pixels
*/

* {scroll-padding-top: 6rem;}
html {scroll-behavior: smooth}
html, body {height: 100%;}
body, .editor-styles-wrapper.block-editor-writing-flow {
	--font: myriad-pro, -apple-system, system-ui, BlinkMacSystemFont, “Segoe UI”, Helvetica, Arial, sans-serif, “Apple Color Emoji”, “Segoe UI Emoji”, “Segoe UI Symbol”, sans-serif;
	--accent-font: univia-pro, var(--font);
	--light: 300;
	--regular: 400;
	--bold: 700;
	
	--blue-main: #192948;
	--orange-main: #F07F13;
	--blue-dark: #000726;
	--white: #FAFAFA;
	--grey1: #E3EBEC;
	--blue-bright: #1E5C9D;
	--blue-brighter: #3D94E2;
	
	--error: #F05713;

	--br-sm: 10px;
	--br-md: 15px;
	--br-lg: 25px;
	--border-w: 2px;
	
	--dark-bg: var(--blue-dark);
	--bright-bg: var(--grey1);
	
	--text-color-br: var(--grey1);
	--text-color-d: var(--blue-dark);
	
	--brand-w: 200px;
	
	--sm-spacer: 2rem;
	--md-spacer: 3.5rem;
	--lg-spacer: 5rem;
	
	--moz-box-shadow: 0 2px 5px -1px rgba(26,26,26,.3);
	--webkit-box-shadow: 0 2px 5px -1px rgb(26 26 26 / 30%);
	--box-shadow: 0 2px 5px -1px rgb(26 26 26 / 30%);
	
	margin: 0;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	font-family: var(--font);
	color: var(--text-color-br) !important;
	text-align: left;
	background-color: var(--dark-bg);
	word-spacing: 0.5px;
	letter-spacing: .3px;
	
	display: flex;
	flex-direction: column;
}
@media only screen and (max-width:767px) {
	body {
		--br-sm: 3px;
		--br-md: 10px;
		--br-lg: 20px;
		
		--sm-spacer: 1.5rem;
		--md-spacer: 2rem;
		--lg-spacer: 3rem;
	}
}
@media only screen and (min-width:1600px) {
	body {
		--sm-spacer: 3rem;
		--md-spacer: 7rem;
		--lg-spacer: 10rem;
	}
}
#main {
	flex: 1 0 auto;
	width: 100%;
	overflow: clip;
}

/* Accessibility */
.screenreader-desktop {
	position: fixed;
	left: -999px;
	width: 1px;
	height: 1px;
	top: 0;
}
.screenreader-desktop:focus {
	color: var(--white);
	text-decoration: none;
	background: var(--dark-brown);
	display: inline-block;
	height: auto;
	width: auto;
	position: fixed;
	margin: auto;
	z-index: 10000;
	top: 15px;
	left: 15px;
	padding: 8px 16px;
	border-radius: 25px;
}

/* Text handling */
h1, h2, h3, p.subhead, .style-h2 h2, .subhead {font-family: var(--accent-font);}
h1 {
    font-size: 3.5rem;
    font-weight: bold;
    padding-bottom: 1rem;
}
.post h1 {hyphens: none}

.policy h2, .post-content h2 {padding-top: 2rem;}
h2.sm-h2 {font-size: 1.35rem;}
.post-content h3 {
	font-size: 1.5rem;
	padding-top: 1.25rem;
	font-weight: var(--light);
}
.post-content .first-head h2, .post-content h2:first-child {padding-top: 0; margin-top: 0;}
.post-content .btn {margin-bottom: 2rem;}
h4 {font-size: 1.2rem;}

h1 em, h2 em, h3 em, .em-swap em, .subhead em{
    color: var(--orange-main);
    font-style: normal;
}
.orange-bg h1 em, .orange-bg h2 em, .orange-bg h3 em, .orange-bg .em-swap em, .orange-bg .subhead em {
	color: inherit;
}

.lead p {
    font-size: 1.25rem;
    font-weight: 300;
}
.caveat {
	font-size: .95rem;
	font-style: italic;
}
p.subhead, .style-h2 h2, .subhead {
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0;
}
.lys-bg p.subhead {color: var(--blue-main);}
.badge {
    background: var(--orange-main);
    color: var(--blue-dark);
    margin-bottom: .5rem;
	width: fit-content;
}
.badge a {text-decoration: none;}

@media only screen and (max-width:992px) {
	h1 {
		overflow-wrap: break-word;
        word-break: break-word;
        max-width: 100%;
        display: block;
	}
}
@media only screen and (max-width:767px) {
	h1 {font-size: 2.5rem;}
}
@media only screen and (max-width:576px) {
	h1 {font-size: 2.1rem;}
}

/* Spacing */
.sm-spacer, .sm-spacer-top {padding-top: var(--sm-spacer);}
.sm-spacer, .sm-spacer-btm {padding-bottom: var(--sm-spacer);}
.md-spacer, .md-spacer-top {padding-top: var(--md-spacer);}
.md-spacer, .md-spacer-btm {padding-bottom: var(--md-spacer);}
.lg-spacer, .lg-spacer-top {padding-top: var(--lg-spacer);}
.lg-spacer, .lg-spacer-btm {padding-bottom: var(--lg-spacer);}
.mb-30 {margin-bottom: 30px;}
.wp-block-columns {
	padding-top: var(--md-spacer) !important;
	padding-bottom: var(--md-spacer) !important;
}
.wp-block-columns {padding: 15px;}

/* Backgrounds */
.white-bg, .blog-post {
	background: var(--white);
	color: var(--text-color-d);
}
.bright-bg {
	background: var(--bright-bg);
	color: var(--text-color-d);
}
.dark-bg {
	background: var(--dark-bg);
	color: var(--text-color-br);
}
.orange-bg {
	background: var(--orange-main);
	color: var(--text-color-d);
}
.round-bg {
	border-radius: var(--br-lg);
	overflow: hidden;
}
.p-bg {padding: var(--sm-spacer);}

/* Lists */
.checklist, .crosslist {
	padding-inline-start: 0;
	list-style: none;
}
ul {padding-inline-start: 15px;}
ol {padding-inline-start: 20px;}
li:not(.menu-item) {padding-bottom:1rem}
li:last-child {padding-bottom:0}
.checklist li:before, .crosslist li:before, .checklist p:before, p.checkmark:before, .crosslist p:before, p.crossmark:before {
    content: "";
    display: inline-block;
    vertical-align: top;
    margin-right: 4px;
    width: 20px;
    height: 20px;
	background-color: var(--blue-dark);
}
.checklist li:before, .checklist p:before, .highlights li:before, .service-acc li:before, p.checkmark:before {
	-webkit-mask: url('/wp-content/uploads/2025/02/check.svg') center / contain no-repeat;
	mask: url('/wp-content/uploads/2025/02/check.svg') center / contain no-repeat;
}
.crosslist li:before, .crosslist p:before, p.crossmark:before {
	-webkit-mask: url('/wp-content/uploads/2025/02/cross.svg') center / contain no-repeat;
	mask: url('/wp-content/uploads/2025/02/cross.svg') center / contain no-repeat;
}
ul.bulletlist, .bulletlist ul {
    list-style: none;
	padding-inline-start: 18px;
    border-left: 2px solid var(--orange-main);
}
ul.bulletlist li:before, .bulletlist li:before {
    content: "";
    width: 13px;
    height: 2px;
    margin-left: -18px;
    margin-top: 12px;
    position: absolute;
    background: var(--orange-main);
}

/* Navigation */
.nav-bg {
    background: var(--blue-dark);
    display: block;
    position: fixed;
    z-index: 999999999999;
    width: 100%;
}
.navbar-dark .navbar-toggler {
    color: rgba(255, 255, 255, .8);
    border-color: rgba(255, 255, 255, .8);
    right: 15px;
    top: 30px;
    position: absolute;
}
.navbar {
	z-index: 9999999;
	display: flex;
}
.navbar-nav {
    max-width: 100%;
	position: relative;
	padding: .5rem 0;
	border-radius: 50px;
}
.navbar li a, p.sub {
	color: var(--white);
	font-weight: var(--bold);
}
.navbar li a:hover, .navbar li a:focus {color: var(--orange-main);}
.navbar li.current-menu-item > a {border-bottom: 2px solid var(--orange-main);}
.navbar li.current-menu-ancestor > a {
    border-bottom: none;
	font-style: italic;
}
.dropdown-item.active, .dropdown-item:active, .dropdown-item:focus, .dropdown-item:hover {
    background-color: transparent;
}
.navbar .dropdown-menu li a:hover, .navbar .dropdown-menu li a:focus {color: var(--blue-dark);}
.navbar-brand {
    z-index: 99999999;
	position: absolute;
	margin-top: .6rem;
}
.navbar-brand img {width: var(--brand-w);}
.navbar-nav li {margin: 0 1rem;}
.navbar-nav li:last-child, .navbar .dropdown-menu li:last-child {padding-bottom: 0;}

.nav-action li::marker {content: none;}

li.shopping-bag a {position: relative;}
li.shopping-bag a:before {content: "";}
li.search a, li.shopping-bag a:before {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    background-color: var(--white);
}
li.search a {
	font-size: 0;
    -webkit-mask: url('/wp-content/uploads/2025/06/search.svg') center / contain no-repeat;
    mask: url('/wp-content/uploads/2025/06/search.svg') center / contain no-repeat;
}
li.shopping-bag a:before {
	background-color: var(--gold);
    -webkit-mask: url('/wp-content/uploads/2025/06/shopping-bag.svg') center / contain no-repeat;
    mask: url('/wp-content/uploads/2025/06/shopping-bag.svg') center / contain no-repeat;
}

@media only screen and (min-width: 992px) {
	.navbar li.current-menu-item > a {pointer-events: none;}
	.navbar {margin-left: var(--brand-w);}
	.navbar-nav {flex-direction: unset !important;}
	.navbar-nav .menu-item-has-children .dropdown-menu {position: absolute;}
	.dropdown-item {
		padding: .5rem;
		color: inherit;
	}
	.dropdown-menu {
		top: 60px;
		padding: .5rem 0;
		font-size: inherit;
		color: inherit;
		text-align: left;
		list-style: none;
		background-color: var(--orange-main);
		border: none;
		border-radius: var(--br-sm);
	}
	dropdown-item:focus, .dropdown-item:hover {background-color: transparent;}
	#menu-toggle, .hamburger-icon {display: none;}
	.nav-action {
		top: 15px;
		right: 0;
		z-index: 99999999;
		position: absolute;
	}
	.nav-action li {
		display: inline-block;
		margin-right: 1rem;
	}
}
@media only screen and (max-width: 991px) {
	.nav-bg {height: 70px;}
	.navbar-brand {position: absolute;}
	.navbar {
		display: none;
		text-align: center;
	}
	.navbar-nav {
		background: transparent;
		padding: 0;
	}
	.nav-action ul {margin-top: 1rem;}
	.nav-action ul li {margin-bottom: 2rem;}
	.navbar .nav-action li.current-menu-item > a {color: var(--white);}
	li.search a, li.shopping-bag a:before {margin-left: -1rem;}
	.hamburger-icon {display: inline-block;}
	input#menu-toggle {display: none;}
	#menu-toggle:checked ~ .navbar {display: block;}
	    #menu-toggle:checked ~ .navbar {
        position: fixed;
        overflow-y: auto;
        width: 100vw;
        height: 100vh;
        left: 0;
        top: 65px;
        z-index: 999999999;
        border-radius: 0;
        background: var(--blue-dark);
        padding: 2rem 1rem 0 1rem;
    }
	.hamburger-icon {
        border-radius: 5px;
        z-index: 9999999999;
        display: inline-block;
        cursor: pointer;
        width: 45px;
        height: 45px;
        position: fixed;
        top: 15px;
        right: 5%;
        background: var(--orange-main);
    }
	.hamburger-icon span:nth-child(1) {margin-top: 14px;}
	.hamburger-icon span {
		background: var(--white);
        display: block;
        height: 2.5px;
        width: 25px;
        margin: 5px 9.5px;
        transition: all 0.3s ease;
        border-radius: 2px;
	}
	#menu-toggle:checked + .hamburger-icon span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
		transform-origin: center;
	}
	#menu-toggle:checked + .hamburger-icon span:nth-child(2) {opacity: 0;}
	#menu-toggle:checked + .hamburger-icon span:nth-child(3) {
    	transform: rotate(-45deg) translate(6px, -6px);
    	transform-origin: center;
	}
	
	.nav-link {display: inline-block;}
	.navbar-nav li {margin: 1rem 0;}
	.navbar li a {
		width: 100%;
		font-size: 1.15rem;
		color: var(--white);
	}
	.navbar li.current-menu-item > a {opacity: .7;}
	.navbar li a.dropdown-toggle {width: 80%;}
	.dropdown-toggle::after {
		content: "";
		position: absolute;
		right: 0;
		top: 1rem;
		border-top: .45em solid;
		border-right: .45em solid transparent;
		border-bottom: 0;
		border-left: .45em solid transparent;
	}
	.dropdown-menu {
		font-size: inherit;
		color: inherit;
		background-color: transparent;
		text-align: center;
		border: none;
	}
	.navbar .dropdown-menu li a:hover, .navbar .dropdown-menu li a:focus {color: var(--blue-brighter);}
}
@media only screen and (max-width: 767px) {
	.hamburger-icon {right: 15px;}
	
}
.navbar-nav li {position: relative;}
.navbar-nav .menu-item-has-children .dropdown-menu {
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    left: 0;
    z-index: 1000;
}
.navbar-nav .menu-item-has-children:hover .dropdown-menu {
    display: block;
    visibility: visible;
    opacity: 1;
	transition: opacity 0.2s ease-in-out;
}

/* Breadcrumbs */
.breadcrumb, nav.rank-math-breadcrumb {
	background-color: transparent;
	display: block;
	padding-left: 0;
}
.breadcrumb li a, .rank-math-breadcrumb p {font-size: .8rem !important}
.breadcrumb li a, .rank-math-breadcrumb p a, a.author {color: var(--orange-main)}
.breadcrumb li a:hover, .rank-math-breadcrumb p a:hover, a.author:hover {color: var(--blue-brighter)}
.rank-math-breadcrumb p .last {color: var(--white)}
.shop-hero .rank-math-breadcrumb p .last {color: var(--white)}
.shop-hero .rank-math-breadcrumb p a:hover {color: var(--blue-brighter)}

/* Buttons and links */
.overlay-link {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.clean-link a, a.clean-link {
	color: inherit;
	text-decoration: none !important;
}

a.read-more, p.read-more {
	color: var(--gold) !important;
	border-bottom: 1px solid var(--gold);
	width: fit-content;
}
p.read-more {cursor: pointer;}
a.read-more:hover, a.read-more:focus, p.read-more:hover, p.read-more:focus {
	color: var(--orange-main) !important;
	text-decoration: none !important;
	border-bottom: 1px solid var(--orange-main);
}

p a, li a, a {color: var(--orange-main);}
p a:hover, p a:focus, li a:hover, li a:focus, a:hover, a:focus {
	color: var(--blue-dark);
	text-decoration: none;
}

.btn, .cookies-btn, button.cky-banner-element, .crt-load-more {
    border-radius: 50px;
	text-align: center;
    color: var(--white);
	font-weight: var(--bold);
    line-height: 120%;
    padding: 16px 40px;
    display: inline-block;
    text-decoration: none;
	margin-top: 1rem;
	margin-bottom: 1rem;
	transition: var(--transition);
	-webkit-transition: var(--transition);
}

.primary-btn, button.cky-banner-element {
	border: 2px solid var(--orange-main);
	background: var(--orange-main);
}
.primary-btn:hover, .primary-btn:focus, .wpcf7-submit:hover, input#submit:focus, .wpcf7-submit:hover, input#submit:focus {
	background: var(--white);
	border-color: var(--white);
    color: var(--blue-dark) !important;
    text-decoration: none;
    box-shadow: none;
	transform: scale(1.05);
}

.secondary-btn, :where(.editor-styles-wrapper) .btn.secondary-btn, .cky-banner-element {
	border: 2px solid var(--orange-main);
	color: var(--orange-main);
}
.secondary-btn:hover, .secondary-btn:focus, .cky-banner-element:hover, .cky-banner-element:focus {
	transform: scale(1.05);
	border: 2px solid var(--blue-dark);
	color: var(--blue-dark);
}
.simple-hero .secondary-btn:hover, .simple-hero .secondary-btn:focus {
	border: 2px solid var(--white);
	color: var(--white);
}

@media only screen and (max-width:576px) {
	.btn {
		padding: 12px;
		width: 100%;
	}
}

/* Hero */
.hero-pad {padding-top: 8rem;}
.shop-hero {padding-top: 8rem;}
.simple-hero {
	background: var(--dark-bg);
	color: var(--white);
}
.shop-hero p a:hover, .simple-hero p a:hover {color: var(--blue-brighter);}

@media only screen and (max-width:767px) {
	.hero-pad, .shop-hero {padding-top: 5rem;}
}

/* Misc */
.boxes {display: flex;}
.same-h {
	display: flex;
    flex-direction: column;
	height: 100%;
	flex: 1;
}
.push-down {margin-top: auto;}

.summary {
    background: var(--white);
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: var(--br-md);
}
.policy .summary p + h2 {padding-top: 0;}

/* Scroll bar */
.custom-scroll {padding-bottom: 30px;}
.custom-scroll::-webkit-scrollbar {height: 10px;}
.custom-scroll::-webkit-scrollbar-track {
	background-color: var(--blue-bright);
	border-radius: 15px;
	max-width: 60% !important;
	margin-top: 3rem;
	margin-left: 25vw;
	margin-right: 25vw;
}
.custom-scroll::-webkit-scrollbar-thumb {
  background-color: var(--blue-dark);
  border-radius: var(--br-lg);
}
@-moz-document url-prefix() {
	.custom-scroll {
		scrollbar-width: thin;
		scrollbar-color: var(--blue-dark) var(--blue-bright);
		margin: 1rem;
	}
}

/* FOOTER */
footer {
	padding-top: 3rem;
	padding-bottom: 2rem;
	color: var(--white);
	background: var(--dark-blue);
}
footer .caveat {font-size: 90%;}
footer ul {
	list-style: none;
	padding-inline-start: 0;
}
footer ul li {margin-bottom: 1rem;}
footer ul a {color: var(--white);}
footer ul a:hover, footer ul a:focus, footer p a:hover, footer p a:focus {color: var(--blue-brighter);}
footer .policies ul li {font-size: 95%;}
footer .current-menu-item a {
	opacity: .5;
	pointer-events: none;
}
img.footer-icon {
	max-width: 80%;
	max-height: 70px;
}
footer hr {
    margin-top: 1rem;
    margin-bottom: 3rem;
    border: 0;
    border-top: .5px solid var(--white);
}
@media only screen and (min-width: 992px) {
	footer .policies ul li {
		display: inline;
		margin-right: 1rem;
	}
}
@media only screen and (max-width: 767px) {
	.footer-container {padding-top: 1rem;}
	footer p.lead {padding-top: 2rem;}
}

/* XXL breakpoint */
@media only screen and (max-width: 767px) {
	.py-sm-15 {
		padding-top: 15px;
		padding-bottom: 15px;
	}
	.wp-block-columns, .px-15 {
		padding-left: 15px;
		padding-right: 15px;
	}
	.container-fluid .container-fluid .fluid-xxl-max, .container-fluid .container-fluid .fluid-max {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}
@media only screen and (min-width: 768px) {
	.py-15 {
		padding-top: 15px;
		padding-bottom: 15px;
	}
	.fluid-xxl-max, .fluid-max, .wp-block-columns {
		margin-left: 5%;
		margin-right: 5%;
	}
	.container-fluid .container-fluid .fluid-xxl-max, .container-fluid .container-fluid .fluid-max {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	.px-md-15 {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}
}
@media only screen and (min-width: 992px) {
	.px-lg-15 {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}
}
@media only screen and (min-width: 1600px) {
	.container.container-xxl-fluid {
		width: 100%;
		max-width: 100%;
		padding-right: 15px;
		padding-left: 15px;
		margin-right: auto;
		margin-left: auto;
	}
	.fluid-xxl-max, .fluid-max, .wp-block-columns {
		margin-left: 10%;
		margin-right: 10%;
	}
	.container-fluid .container-fluid .fluid-xxl-max, .container-fluid .container-fluid .fluid-max {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	.text-xxl-center {text-align: center;}
	.pt-xxl-3, .py-xxl-3 {padding-top: 5rem !important;}
	.pb-xxl-3, .py-xxl-3 {padding-bottom: 5rem !important;}
	.pt-xxl-5, .py-xxl-5 {padding-top: 10rem !important;}
	.pb-xxl-5, .py-xxl-5 {padding-bottom: 10rem !important;}
	.mt-xxl-3, .my-xxl-3 {margin-top: 5rem;}
	.mb-xxl-3, .my-xxl-3 {margin-bottom: 5rem;}
	.mt-xxl-5, .my-xxl-5 {margin-top: 10rem;}
	.mb-xxl-5, .my-xxl-5 {margin-bottom: 10rem;}
	.col-xl, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-auto {
		position: relative;
		width: 100%;
		padding-right: 15px;
		padding-left: 15px;
	}
	.col-xxl-2 {
		-ms-flex: 0 0 16.666667%;
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
	}
	.col-xxl-3 {
		-ms-flex: 0 0 25%;
		flex: 0 0 25%;
		max-width: 25%;
	}
	.col-xxl-4 {
		-ms-flex: 0 0 33.333333%;
		flex: 0 0 33.333333%;
		max-width: 33.333333%;
	}
  .col-xxl-5 {
		-ms-flex: 0 0 41.666667%;
		flex: 0 0 41.666667%;
		max-width: 41.666667%;
	}
	.col-xxl-6 {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;	
	}
	.col-xxl-7 {
		-ms-flex: 0 0 58.333333%;
		flex: 0 0 58.333333%;
		max-width: 58.333333%;
	}
	.col-xxl-8 {
		-ms-flex: 0 0 66.666667%;
		flex: 0 0 66.666667%;
		max-width: 66.666667%;
	}
	.offset-xxl-1 {margin-left: 8.333333%;}
}