/*!
Theme Name: ITC Theme 2023
Theme URI: https://www.pooka.co/
Author: Pooka & Co Ltd
Author URI: https://www.pooka.co/
Description: A hybrid WordPress Start Theme based on Underscores and using theme.json
Version: 2023.11.V2
Tested up to: 6.3.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: pookatheme
Tags: featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.

PookaTheme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
# Layout
	- Content Horizontal Spacing
  - Content Vertical Spacing
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Media
	- Captions
# Plugins
# Utilities
	- Accessibility
	- Alignments
# Footer
# Responsive
# Editor styles

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

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers
 * 2. Prevent adjustments of font size after orientation changes in iOS
 * 3. Add smooth scrolling for jump links
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE
 */
main {
  display: block;
}


/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox
 * 2. Show the overflow in Edge and IE
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers
 * 2. Correct the odd `em` font sizing in all browsers
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */


/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari
 */
b,
strong {
  font-family: "Chap Semibold", sans-serif;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers
 * 2. Correct the odd `em` font sizing in all browsers
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers
 */
small,
.small {
  font-size: var(--wp--preset--font-size--small);
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers
 * 2. Remove the margin in Firefox and Safari
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE
 * 1. Show the overflow in Edge
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE
 * 1. Remove the inheritance of text transform in Firefox
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE
 * 2. Correct the color inheritance from `fieldset` elements in IE
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10
 * 2. Remove the padding in IE 10
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari
 * 2. Correct the outline style in Safari
 */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari
 * 2. Change font properties to `inherit` in Safari
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

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

/* Typography
--------------------------------------------- */
body,
input,
select,
optgroup,
textarea {
  color: var(--wp--preset--color--dark);
  font-family: "Chap Light", sans-serif;
  font-size: var(--wp--preset--font-size--medium);
  line-height: 1.6;
}
.pk-has-normal-font-size {
  font-size: var(--wp--preset--font-size--normal);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Chap Semibold", sans-serif;
  clear: both;
}
/* Headings with background*/

h1.has-background,
h2.has-background,
h3.has-background,
h4.has-background,
h5.has-background,
h6.has-background {
  padding: 0.25em 1.375em;
}

 /*Buttons*/
.wp-block-button__link,
button.eo-fes-form-element-type-button.eo-fes-field-button,
body .gform_wrapper .gform_footer input[type="submit"],
body .gform_wrapper .gform_footer input[type="button"],
body .gform_wrapper .gform_footer button,
.crm-container a.button,
.crm-container a.button:link,
.crm-container a.button:visited,
.crm-container .ui-dialog-buttonset .ui-button,
.crm-container .crm-button {
  transition: all 0.3s ease-in-out !important;
}
.wp-block-button__link {
  width: auto;
  height: auto;
}
.wp-block-button__link:hover,
.wp-block-button__link:focus,
.wp-block-button__link:active {
  /*color: #fff;*/
}
.has-dark-color.wp-block-button__link:hover,
.has-dark-color.wp-block-button__link:focus,
.has-dark-color.wp-block-button__link:active {
  color: #000;
}
button.eo-fes-form-element-type-button.eo-fes-field-button:active,
button.eo-fes-form-element-type-button.eo-fes-field-button:focus,
button.eo-fes-form-element-type-button.eo-fes-field-button:hover,
body .gform_wrapper .gform_footer input[type="submit"]:active,
body .gform_wrapper .gform_footer input[type="submit"]:focus,
body .gform_wrapper .gform_footer input[type="submit"]:hover,
body .gform_wrapper .gform_footer input[type="button"]:active,
body .gform_wrapper .gform_footer input[type="button"]:focus,
body .gform_wrapper .gform_footer input[type="button"]:hover,
body .gform_wrapper .gform_footer button:active,
body .gform_wrapper .gform_footer button:focus,
body .gform_wrapper .gform_footer button:hover,
.crm-container .crm-button:hover,
.crm-container .crm-button:focus,
.crm-container .ui-dialog-buttonset .ui-button:hover,
.crm-container .ui-dialog-buttonset .ui-button:focus,
.crm-container a.button:hover,
.crm-container a.button:focus {
  box-shadow: var(--wp--preset--shadow--medium) !important;
}

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

address {
  font-style: initial;
}

blockquote {
  margin: 0 1.5em;
}

blockquote p {
  position: relative;
  color: var(--wp--preset--color--light);
  padding: var(--wp--preset--spacing--50);
}
blockquote p, blockquote p.has-background {
  background-color: var(--wp--preset--color--ruby) !important;
}
blockquote p:after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 18px;
  width: 0;
  height: 0;
  border-top: 18px solid var(--wp--preset--color--ruby);
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
}

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%;
}

/* Elements
--------------------------------------------- */
body {
  background: #fff;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5rem;
}

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

#pookatheme-main .is-layout-constrained.alignfull ul,
#pookatheme-main .is-layout-constrained.alignfull ol {
  padding-left: calc(24px + 0.75em) !important;
}
@media (min-width: 1024px) {
  #pookatheme-main .is-layout-constrained.alignfull ul,
  #pookatheme-main .is-layout-constrained.alignfull ol {
    padding-left: 0.75em !important;
  }
}

ul {
  list-style: square;
}
ul li::marker {
  color: var(--wp--preset--color--ruby);
}
#pookatheme-header ul,
.pookatheme-footer ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

ol {
  list-style: decimal;
}

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

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5rem 1.5rem;
}

/* 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.acf-icon {
  text-decoration: none;
}
.acf-link a.link-url{
  font-size: unset;
}

a {
  transition: all .2s ease-in-out;
}
a:focus {
  outline: thin dotted;
}

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

/* Forms
--------------------------------------------- */
/*button:not(.components-button,.insert-media,.wp-switch-editor,.block-editor-inserter__toggle):not([role="presentation"]),*/
/*input[type="button"],*/
/*input[type="reset"],*/
/*input[type="submit"] {*/

/*}*/
button.wp-switch-editor {
  border-bottom-color: #dcdcde;
}
button:not(.components-button):not([role="presentation"]):hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  /* TODO Hover effect */
}

button:not(.components-button):not([role="presentation"]):active,
button:not(.components-button):not([role="presentation"]):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 {
  /* TODO Focus/active effect */
}

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,
form .gform-body input[type="password"] {
  color: var(--wp--preset--color--dark);
  border: none;
  background: var(--wp--preset--color--form-grey);
  border-radius: 3px;
  padding: 5px;
}

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 {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/

/* Content Horizontal Spacing
--------------------------------------------- */

.is-root-container > *,
.alignwide,
.alignfull > *,
.alignwide > * {
  margin-left: auto;
  margin-right: auto;
}

.is-content-justification-space-between {
	justify-content: space-between
}

/* Content Vertical spacing
--------------------------------------------- */
.is-root-container:not(.pookatheme-header) > div:first-child,
.is-root-container > section:first-child,
.is-root-container > figure:first-child {
  margin-bottom: var(--wp--style--block-gap);
}

.is-root-container > *:not(.alignfull) + section,
.is-root-container > *:not(.alignfull) + div,
.is-root-container > *:not(.alignfull) + figure {
  margin-top: var(--wp--style--block-gap);
  margin-bottom: var(--wp--style--block-gap);
}

.is-root-container > *.alignfull + *:not(.alignfull) {
  margin-top: var(--wp--style--block-gap);
}

.is-root-container > *:last-child:not(.alignfull) {
  margin-bottom: var(--wp--style--block-gap);
}
.is-root-container:last-child > *:last-child.alignfull,
.is-root-container > :not(.alignfull) + div.alignfull {
  margin-bottom: 0;
}
.is-root-container:last-child > *:last-child.alignfull:after {
  clear: both;
  display: table;
  content: "";
}

.wp-block-group.has-background > *:first-child:not(.alignfull) {
  padding-top: var(--wp--style--block-gap);
}
.wp-block-group.has-background > *:last-child:not(.alignfull) {
  padding-bottom: var(--wp--style--block-gap);
}
.wp-block-group.has-background
  .wp-block-group.has-background
  > *.alignfull:last-child {
  padding-bottom: 0;
}
.wp-block-group:last-child > *:last-child {
  margin-bottom: 0;
}
.mb-0 {
  margin-bottom: 0 !important;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Header
--------------------------------------------- */
#pookatheme-header .site-branding {
	max-width: calc( 50% - var(--wp--preset--spacing--50) );
  padding: 8px 0 8px;
}
@media (min-width: 1200px) {
  #pookatheme-header .site-branding {
    padding: 12px 0 8px;
  }
}

#pookatheme-header .site-branding img.custom-logo, #pookatheme-header .site-branding .pookatheme-header__logo img {
	max-width: 204px;
	height: auto;
}

/* Navigation
--------------------------------------------- */
.main-navigation {
  display: flex;
}

.main-navigation nav,
.nav-menu-mobile {
  display: none;
}
.main-navigation ul {
  display: flex;
  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 {
  display: block;
  position: relative;
  padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
}

.main-navigation li, .main-navigation li a {
  text-decoration: none;
  color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.2;
}

.main-navigation li a {
  display: inline-block;
}
.main-navigation li a:after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  transition: all 0.5s linear;
}
@media (min-width: 1200px) {
  .main-navigation .current-menu-item a:after,
  .main-navigation li a:hover::after,
  .main-navigation li a:active::after,
  .main-navigation li a:focus::after {
    background-color: rgba(255,255,255,0.4);
    transition: all 0.5s linear;
  }
}
.site-navigation, .membership-navigation {
  display: flex;
  justify-content: end;
}
.membership-navigation {
  margin-bottom: 0.6rem;
}
.membership-navigation .nav-menu, .membership-navigation .login-menu {
  padding-top: var(--wp--preset--spacing--30);
}
.site-navigation a {
  font-family: "Chap Semibold", sans-serif;
}

/* Small menu */
.menu-toggle,
.main-navigation.toggled nav {
  display: block;
  padding-right: 0 !important;
  line-height: 2;
  background-color: unset !important;
  border-style: none;
}

/* Small menu */
.menu-toggle,
.nav-menu-mobile.toggled {
  display: block;
  line-height: 2;
}

.main-navigation.nav-menu-mobile.toggled {
  height: 100vh;
  overflow: scroll;
}

.nav-menu-mobile ul {
  display: block;
  text-align: center;
}

.nav-menu-mobile ul a {
  font-size: var(--wp--preset--font-size--medium);
  text-transform: none;
}

.nav-menu-mobile-separator {
  display: flex;
  justify-content: center;
}

.nav-menu-mobile-separator:after {
  content: url("images/itc-mobile-menu-separator.svg");
  display: block;
  width: 0.5rem;
}
.nav-menu-mobile {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.nav-menu-mobile::-webkit-scrollbar {
   display: none;
}
.hamburger {
	-moz-transition: background 0.2s ease 0.4s;
	-o-transition: background 0.2s ease 0.4s;
	-webkit-transition: background 0.2s ease;
	-webkit-transition-delay: 0.4s;
	transition: transform 0.4s;
	display: block;
	width: 2.5rem;
	height: 3px;
	-moz-transform-origin: 50% 50%;
	-ms-transform-origin: 50% 50%;
	-webkit-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
	position: relative;
	background: var(--wp--preset--color--dark);
}
.hamburger:before,
.hamburger:after {
  content: '';
	display: block;
	width: 100%;
	height: 3px;
	background: #aaa;
	position: absolute;
	left: 0;
	background: var(--wp--preset--color--dark);
	-moz-transition: -moz-transform 0.2s ease 0s, width 0.2s ease 0.2s, top 0.2s ease 0.4s;
	-o-transition: -o-transform 0.2s ease 0s, width 0.2s ease 0.2s, top 0.2s ease 0.4s;
	-webkit-transition: -webkit-transform 0.2s ease, width 0.2s ease, top 0.2s ease;
	-webkit-transition-delay: 0s, 0.2s, 0.4s;
	transition: transform 0.2s ease 0s, width 0.2s ease 0.2s, top 0.2s ease 0.4s;
	-moz-transform-origin: 0 50%;
	-ms-transform-origin: 0 50%;
	-webkit-transform-origin: 0 50%;
	transform-origin: 0 50%;
}
.hamburger:before {
	top: -0.8rem;
}
.hamburger:after {
	top: 0.8rem;
}

.menu-toggle .hamburger:before,
.menu-toggle .hamburger:after,
.menu-toggle .hamburger {
	background: var(--wp--preset--color--white);
}

.pookatheme-main .comment-navigation,
.pookatheme-main .posts-navigation,
.pookatheme-main .post-navigation {
  margin-bottom: var(--wp--preset--spacing--70);
}

.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%;
}

/* Login/logout menu
-------------------------- */

.login-menu {
  position: relative;
  margin-left: 1rem;
}

.has-purple-background-color .login-menu {
  background-color: #700c45;
}

.has-ruby-background-color .login-menu {
  background-color: #ab0046;
}

.login-menu li {
  position: relative;
}

.login-menu li.with-separator:after {
  content: "\00B7";
  display: block;
  position: absolute;
  top: 0;
  right: -5px;
  font-size: 30px;
}

.login-menu .profile-image-li {
  padding-left: 0;
}

.login-menu a {
  color: var(--wp--preset--color--light);
}

.login-menu .user-image-link {
  width: 24px;
  height: 24px;
}

/* .login-menu:after {
  content: url('images/itc-icon-members-login-fallback-avatar.svg');
  display: block;
  width: 1.3rem;
  position: absolute;
  right: var(--wp--preset--spacing--40);
  top: 50%;
  transform: translateY(-50%);
  line-height: 0;
} */

/* Breadcrumbs
-------------------------- */
.pookatheme-breadrumbs {
  margin: var(--wp--preset--spacing--60) 0;
}

.pookatheme-breadrumbs ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin-left: 0;
  padding: 0;
}

.pookatheme-breadrumbs .breadcrumbs-separator {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 0.5rem;
  background: var(--wp--preset--color--dark);
  -webkit-mask-image: url('images/itc-icon-arrow-forwards-white.svg');
  mask-image: url('images/itc-icon-arrow-forwards-white.svg');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  vertical-align: middle;
}

.pookatheme-breadrumbs .breadcrumb-home a {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: var(--wp--preset--color--dark);
  -webkit-mask-image: url('images/itc-home.svg');
  mask-image: url('images/itc-home.svg');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-size: cover;
}

.pookatheme-breadrumbs .breadcrumb-home a:hover {
  background: var(--wp--preset--color--ruby);
}

.pookatheme-breadrumbs a,
.pookatheme-breadrumbs span {
  text-decoration: none;
  font-size: var(--wp--preset--font-size--small);
}

/* Search icon
-------------------------- */

@media (min-width: 1200px) {
  .search-desktop {
    display: block;
    position: relative;
    margin-left: 0.5rem;
  }
  .search-mobile {
    display: none;
  }
  .search-icon {
    width: var(--wp--preset--font-size--small);
    display: block;
    height: 100%;
    position: relative;
  }
  .search-icon a {
    height: 100%;
    display: block;
  }
  .search-icon a svg {
    position: absolute;
    top: 50%;
    transform: translate(0, -57%);
    height: 100%;
    width: 100%;
    display: block;
  }

}
@media (max-width: 1199px) {
  .search-desktop {
    display: none;
  }
  .search-mobile {
    display: block;
    line-height: 1;
  }
  .search-icon {
    margin-right: 0.5em;
  }
  .search-icon a svg {
    height: 2rem;
    display: block;
  }
}

/* Header Notification Banner
--------------------------------------------- */
.pookatheme-notification-banner__inner {
  margin-bottom: 0 !important;
}
.pookatheme-notification-banner__text, .pookatheme-notification-banner__link {
  text-decoration: none;
  text-align: center;
  color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--small);
  font-family: "Chap Semibold", sans-serif;
  line-height: 1.2;
}
.pookatheme-notification-banner__link {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.pookatheme-notification-banner__text {
  padding: var(--wp--preset--spacing--40)  var(--wp--preset--spacing--70);
  width: fit-content;
  max-width: var(--wp--style--global--wide-size) !important;
  position: relative;
}
.pookatheme-notification-banner__link .pookatheme-notification-banner__text:before, .pookatheme-notification-banner__link .pookatheme-notification-banner__text:after {
  content: '';
  display: block;
  width: 100%;
  height: 0.7rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-repeat: no-repeat,
                    no-repeat;
  transition: all 0.3s linear;
}
.pookatheme-notification-banner__link .pookatheme-notification-banner__text:before {
  left: 0;
  background-image: url('images/itc-icon-arrow-backwards-white.svg'),
                    url('images/itc-icon-arrow-backwards-white.svg');
  background-position: 0.8rem center,
                      1.7rem center;
}
.pookatheme-notification-banner__link .pookatheme-notification-banner__text:after {
  right: 0;
  background-image: url('images/itc-icon-arrow-forwards-white.svg'),
                    url('images/itc-icon-arrow-forwards-white.svg');
  background-position: right 0.8rem center,
                      right 1.7rem center;
}
.pookatheme-notification-banner__link:hover .pookatheme-notification-banner__text:before {
  background-position: 0.7rem center,
                      1.6rem center;
  transition: all 0.3s linear;
}
.pookatheme-notification-banner__link:hover .pookatheme-notification-banner__text:after {
  background-position: right 0.7rem center,
                       right 1.6rem center;
  transition: all 0.3s linear;
}
/* Posts and pages
--------------------------------------------- */
body.civicrm h1.entry-title {
  margin-top: var(--wp--preset--spacing--70);
}
body.civicrm #pookatheme-main .entry-content {
  margin-bottom: var(--wp--preset--spacing--80);
}

#member-page-content.single-post-content-column br {
  margin-bottom: var(--wp--preset--spacing--50);
}

.sticky {
  display: block;
}

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

.entry-meta {
  font-family: "Chap Semibold", sans-serif;
  display: flex;
  flex-wrap: wrap;
}

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

/* Opportunities CPT
--------------------------------------------- */
.opportunity-article .single-opportunity-organisation {
  color: var(--wp--preset--color--ruby);
  margin-bottom: var(--wp--preset--spacing--40);
}

.single-opportunity-thumbnail {
  max-width: 250px;
  margin: 0 auto;
  border: 1px solid var(--wp--preset--color--dark-grey);
}

.single-opportunity-thumbnail .pk-ratio-square .content {
  margin: 20px;
}

.single-opportunity-thumbnail img {
  height: 100%;
  object-fit: contain !important;
}

.opportunity-article .fallback-image {
  width: 100% !important;
  max-width: 100% !important;
  top:0 !important;
  left: 0 !important;
  transform: none !important;
}

.opportunity-article .opportunity-deadline {
  color: var(--wp--preset--color--ruby);
}

.opportunity-article-buttons .wp-block-button {
  margin-bottom: var(--wp--preset--spacing--50);
}

.opportunity-article .wp-block-pooka-newsletter-signup {
  margin-bottom: 0 !important;
}

/* Comments
--------------------------------------------- */
#comments ol.comment-list {
  padding-left: 0;
  list-style: none;
}
#comments ol.comment-list li {
  margin-top: var(--wp--preset--spacing--50);
  margin-bottom: var(--wp--preset--spacing--50);
}
#comments .comment-author {
  display: grid;
  grid-template-columns: 50px auto;
  grid-template-rows: auto auto auto;
  grid-column-gap: calc(var(--wp--preset--spacing--50) / 2);
}
#comments .comment-author .comment-avatar {
  grid-column: 1 / 1;
  grid-row: 1 / 3;
}
#comments .comment-author .comment-name {
  grid-column: 2 / 2;
  grid-row: 1 / 1;
}
#comments .comment-author .comment-metadata {
  grid-column: 2 / 2;
  grid-row: 2 / 2;
}

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

.bypostauthor {
  display: block;
}

.comment-reply-title small {
  margin-left: calc(var(--wp--preset--spacing--50) / 2);
}
#commentform .required-field-message {
  display: block;
  font-style: italic;
}

/* 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;
}

/* Image ratio */

.pk-ratio-16x9,
.pk-ratio-2x1,
.pk-ratio-square {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.pk-ratio-16x9:before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 56.25%;
}
.pk-ratio-2x1:before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 50%;
}
.pk-ratio-square:before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 100%;
}
.pk-ratio-16x9 > .content,
.pk-ratio-2x1 > .content,
.pk-ratio-square > .content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.pk-ratio-16x9 .content img,
.pk-ratio-square > .content img {
  position: absolute;
  left: 50%;
  top: 50%;
  min-width: 100%;
  height: auto;
  min-height: 100%;
  width: auto;
  -webkit-transform: translateY(-50%) translateX(-50%);
  object-fit: cover;
}
.is-style-aspect-circle {
  display: block;
  position: relative;
  border-radius: 50%;
  width: 100%;
  overflow: hidden;
}
.is-style-aspect-circle:before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 100%;
}
.is-style-aspect-circle img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  height: auto;
  object-fit: cover;
}

/*
* Fallback image
 */
.pk-ratio-16x9 .content.fallback-image-wrapper a,
.pk-ratio-square .content.fallback-image-wrapper a {
  display: block;
  height: 100%;
  width: 100%;
}
.has-ruby-background-color.fallback-image-wrapper .fallback-image,
.has-purple-background-color.fallback-image-wrapper .fallback-image,
.has-dark-grey-background-color.fallback-image-wrapper .fallback-image {
  width: 65%;
  max-width: 65%;
  min-width: unset;
  min-height: auto;
}
.has-ruby-background-color.fallback-image-wrapper .fallback-image--short,
.has-purple-background-color.fallback-image-wrapper .fallback-image--short,
.has-dark-grey-background-color.fallback-image-wrapper .fallback-image--short {
  width: 50%;
}
.has-ruby-background-color.fallback-image-wrapper .fallback-image--full,
.has-purple-background-color.fallback-image-wrapper .fallback-image--full,
.has-dark-grey-background-color.fallback-image-wrapper .fallback-image--full {
  width: 100%;
  max-width: 100%;
}

/* 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;
}

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

/* Event Organiser FES */
.eo-fes-form-element .eo-fes-element-label {
  font-size: var(--wp--preset--font-size--medium);
}
.eo-fes-form-element p.description {
  font-size: 1rem;
}
.eo-fes-form-element .eo-fes-form-element-type-event-title {
  width: 100%;
}

.eo-datepicker {
  margin-top: var(--wp--preset--spacing--40) !important;
}
#ui-timepicker-div {
  margin-top: var(--wp--preset--spacing--40) !important;
  border: 1px solid  #aaa;
}
.eo-datepicker table {
  margin-top: var(--wp--preset--spacing--40) !important;
  font-size: 1em !important;
}
.eo-datepicker table a,
table.ui-timepicker a {
  font-size: var(--wp--preset--font-size--small);
}
.eo-fes-form-element .eo-fes-form-element-type-event-startend.hasTimepicker.eo-time-picker.ui-state-disabled {
  display: none;
}
table.ui-timepicker-table {
  margin-bottom: 0;
}
table.ui-timepicker .periods,
.ui-timepicker-title {
  font-size: var(--wp--preset--font-size--x-small) !important;
  font-weight: bold !important;
}
table.ui-timepicker .periods {
  padding-right: var(--wp--preset--spacing--30) !important;
}
.ui-timepicker-minutes {
  padding-left: var(--wp--preset--spacing--50) !important;
}

.single-post-columns {
  display: flex;
  gap: var(--wp--preset--spacing--70);
  flex-direction: column;
}

.page .single-post-columns {
  align-items: center;
  text-align: center;
}

.single-post-columns > div {
  margin: 0;
  width: 100%;
}

.single-post-image-column {
  flex: 0 0 30%;
}

.single-opportunity-image-column {
  flex: 0 0 22%;
}

.single-event-itc-type {
  background: var(--wp--preset--color--ruby);
  position: absolute;
  left: -45%;
  top: -45%;
  width: 100%;
  height: 100%;
  padding: var(--wp--preset--spacing--50);
  color: var(--wp--preset--color--light);
}

.single-event-itc-type.event-itc-type-itc-events {
  background: url(images/itc-logo-te-itc-event.svg) 0 0 no-repeat;
}

.single-event-itc-type.event-itc-type-itc-training {
  background: url(images/itc-logo-te-itc-training.svg) 0 0 no-repeat;
}

.single-event-itc-type.event-itc-type-members_events {
  background: url(images/itc-logo-te-member-event.svg) 0 0 no-repeat;
}

.single-event-thumbnail {
  position: relative;
  max-width: 16rem;
  margin: 7rem 0 var(--wp--preset--spacing--70) 65.5%;
  transform: translateX(-65.5%);
}

.pooka-traning-events-list .single-event-thumbnail {
  margin-bottom: 0;
}

.single-event-thumbnail .pk-ratio-square {
  overflow: visible;
}

.single-event-thumbnail img:not(.fallback-image) {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*z-index: 1;*/
}

.single-event-thumbnail .content.fallback-image {
  background: var(--wp--preset--color--ruby);
}

.single-post-image-column .single-event-booking-button {
  text-align: center;
  margin-top: var(--wp--preset--spacing--70);
}

.single-event-sub-title {
  color: var(--wp--preset--color--ruby);
}

.pooka-traning-events-list .single-post-content-column {
  display: flex;
  flex-direction: column;
}

.pooka-traning-events-list article {
  margin-bottom: var(--wp--preset--spacing--90);
}

.pooka-traning-events-list .entry-header a {
  text-decoration: none;
}

.pooka-traning-events-list .wp-block-button {
  margin-top: auto;
}

/* Hide 'Event category' field in Event submission form */
#eo-fes-form-element-13-label,
#eo-fes-form-element-13 {
  display: none;
}

@media (min-width: 600px) {
  .single-post-columns {
    flex-direction: row;
  }
  .page .single-post-columns {
    text-align: left;
  }
  .single-event-thumbnail {
    position: relative;
    max-width: 16rem;
    margin: 31% 0 0 31%;
    transform: unset;
  }
}

/* Gravity Forms */
.gform_wrapper .gform_button {
  --gf-local-bg-color: var(--wp--preset--color--ruby) !important;
  --gf-local-radius: 0 !important;
}


/* Member Page
--------------------------------------------- */
.page .single-post-columns {
  align-items: flex-start;
}

.pookatheme-member-page .single-post-image-column {
  flex: 0 0 22%;
}

.single-member-page-thumbnail {
  border: 1px solid var(--wp--preset--color--dark-grey);
  padding: 20px;
}

.single-member-page-thumbnail img {
  object-fit: contain !important;
}

.single-member-page-links {
  margin-top: var(--wp--preset--spacing--60);
}

.single-member-page-links .wp-block-button {
  margin-bottom: var(--wp--preset--spacing--50);
  text-align: center;
}

.single-member-page-links .wp-block-button a {
  min-width: 120px;
}

.single-member-page-details-links a {
  display: block;
  margin-bottom: var(--wp--preset--spacing--50);
}

.single-member-page-details {
  display: grid;
  grid-template-columns: 1fr;
  margin: var(--wp--preset--spacing--70) 0;
  gap: var(--wp--preset--spacing--50);
}

.single-member-page-details .single-member-page-details-title {
  color: var(--wp--preset--color--ruby);
  margin-bottom: 0;
}

.pookatheme-member-page .wp-block-pooka-members-receive {
  margin-bottom: 0 !important;
}

@media (min-width: 782px) {
  .single-member-page-details {
    grid-template-columns: 1fr 1fr;
    gap: var(--wp--preset--spacing--40);
  }

  .single-member-page-details-item-websites {
    grid-column: 2 / span 1;
    grid-row: span 3;
  }
}


/* Manage Membership Page
--------------------------------------------- */
.pookatheme-manage-membership-page header {
  margin-bottom: var(--wp--preset--spacing--70);
}

.pookatheme-manage-membership-page header .heading,
.pookatheme-manage-membership-page header p {
  max-width: 52rem;
}

.pookatheme-manage-membership-page .member-dashboard-section {
  margin-bottom: var(--wp--preset--spacing--70) !important;
  padding-top: var(--wp--preset--spacing--70);
  padding-bottom: var(--wp--preset--spacing--70);
}

.pookatheme-manage-membership-page .member-dashboard-section:nth-child(even) {
  background: var(--wp--preset--color--light-grey);
}

.pookatheme-manage-membership-page .section-title {
  color: var(--wp--preset--color--purple);
  margin-bottom: var(--wp--preset--spacing--60);
}

.pookatheme-manage-membership-page .section-items {
  display: flex;
  gap: var(--wp--preset--spacing--70) var(--wp--preset--spacing--60);
  flex-wrap: wrap;
}

.pookatheme-manage-membership-page .section-item {
  flex: 0 0 100%;
}

.pookatheme-manage-membership-page .organisation-logo-div {
  max-width: 160px;
  margin-bottom: var(--wp--preset--spacing--50);
  border: 1px solid var(--wp--preset--color--dark-grey);
}

.pookatheme-manage-membership-page .wp-block-button + .wp-block-button {
  margin-top: var(--wp--preset--spacing--50);
}

.pookatheme-manage-membership-page .organisation-section-list-item {
  margin-bottom: var(--wp--preset--spacing--40);
}

.pookatheme-manage-membership-page .personal-details-section {
  padding-top: var(--wp--preset--spacing--70);
  padding-bottom: var(--wp--preset--spacing--70);
}

.pookatheme-manage-membership-page .personal-details-section .personal-logo-div {
  margin-top: var(--wp--preset--spacing--60);
  margin-bottom: var(--wp--preset--spacing--60);
}

.pookatheme-manage-membership-page .personal-details-section .personal-logo-div .is-style-aspect-circle {
  max-width: 120px;
  border: 1px solid var(--wp--preset--color--dark-grey);
}

.pookatheme-manage-membership-page .events-section {
  margin-bottom: 0 !important;
}

.pookatheme-manage-membership-page .events-section p {
  margin-top: 0;
}

@media (min-width: 782px) {
  .pookatheme-manage-membership-page .section-item {
    flex: 0 0 calc(33.33% - var(--wp--preset--spacing--60));
  }
}


/* Edit Profile Page
--------------------------------------------- */
.pookatheme-edit-profile-page header .heading,
.pookatheme-edit-profile-page header p {
  max-width: 52rem;
}

.pookatheme-edit-profile-page .edit-profile-form {
  margin-bottom: var(--wp--preset--spacing--70);
}

.pookatheme-edit-profile-page .edit-profile-form textarea {
  height: 400px;
  padding: 1rem;
}

.pookatheme-edit-profile-page .edit-profile-form .wp-block-button {
  margin-top: var(--wp--preset--spacing--70);
}


/* Manage Members Page
--------------------------------------------- */
.pookatheme-manage-members-page header .heading,
.pookatheme-manage-members-page header p {
  max-width: 52rem;
}

.pookatheme-manage-members-page .new-member-form {
  margin-top: var(--wp--preset--spacing--70);
}

.pookatheme-form .form-field {
  margin-bottom: var(--wp--preset--spacing--50);
  max-width: 52rem;
}

.pookatheme-form .form-errors {
  font-size: var(--wp--preset--font-size--small);
  color: var(--wp--preset--color--ruby);
}

.pookatheme-form label {
  display: block;
  margin-bottom: var(--wp--preset--spacing--30);
  font-size: var(--wp--preset--font-size--small);
}

.pookatheme-form input[type=text],
.pookatheme-form select {
  width: 100%;
}

.pookatheme-manage-members-page .members-list {
  margin-top: var(--wp--preset--spacing--90);
  margin-bottom: var(--wp--preset--spacing--70);
}

.pookatheme-manage-members-page .members-list-item {
  display: flex;
  align-items: center;
}

.pookatheme-manage-members-page .members-list-item-odd {
  position: relative;
  background: var(--wp--preset--color--form-grey);
}

.pookatheme-manage-members-page .members-list-item-odd:after {
  content: "";
  display: block;
  background: var(--wp--preset--color--form-grey);
  position: absolute;
  width: 200vw;
  height: 100%;
  left: -100vw;
  z-index: -1;
}

.pookatheme-manage-members-page .members-list-name {
  flex: 0 0 30%;
  padding: var(--wp--preset--spacing--40) 0;
}

.pookatheme-manage-members-page .members-list-name .image {
  display: inline-block;
  position: relative;
  top: 4px;
  width: 24px;
  margin-right: 6px;
}

.pookatheme-manage-members-page .members-list-actions {
  flex: 1;
  text-align: right;
}

.pookatheme-manage-members-page .members-list-actions a {
  font-size: var(--wp--preset--font-size--small);
  color: var(--wp--preset--color--ruby);
}

.pookatheme-manage-members-page .remove-member-form button {
  background: transparent;
  border: none;
  font-size: var(--wp--preset--font-size--small);
  color: var(--wp--preset--color--ruby);
  text-decoration: underline;
  cursor: pointer;
}

.membership-coordinator-form {
  margin-top: var(--wp--preset--spacing--70);
  margin-bottom: var(--wp--preset--spacing--70);
}

.membership-coordinator-form .wp-block-button {
  margin-top: var(--wp--preset--spacing--60);
}


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

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

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

/* Alignments
--------------------------------------------- */
.alignleft {
  float: left;
  margin-right: var(--wp--style--block-gap);
  margin-bottom: var(--wp--style--block-gap);
}

.alignright {
  float: right;
  margin-left: var(--wp--style--block-gap);
  margin-bottom: var(--wp--style--block-gap);
}

.aligncenter {
  clear: both;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--wp--style--block-gap);
}

/* Display
--------------------------------------------- */
.pk-display-none {
  display: none !important;
}
.pk-display-block {
  display: block !important;
}

/* Margins
--------------------------------------------- */
.pk-mt-0,
.pk-my-0 {
  margin-top: 0 !important;
}
.pk-mb-0,
.pk-my-0 {
  margin-bottom: 0 !important;
}

/* Typography
--------------------------------------------- */
.pk-text-start {
  text-align: left !important;
}
.pk-text-center {
  text-align: center !important;
}
.pk-text-end {
  text-align: right !important;
}

/* Footer
--------------------------------------------- */

/* Push Footer to bottom of screen on short pages */
#pookatheme {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.pookatheme-footer {
  margin-top: auto;
}
.pookatheme-footer, .pookatheme-footer a {
  text-decoration: none;
  color: var(--wp--preset--color--white);
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.2;
}
.pookatheme-footer__content {
  padding-top:  var(--wp--preset--spacing--50);
}
.pookatheme-footer__logo,
.pookatheme-footer__contact-details {
  padding:  1.5em 0;
}
.pookatheme-footer__legal {
  padding-top:  1em;
  padding-bottom:  1em;
}
.pookatheme-footer__navigation {
  align-items: baseline !important;
}
.pookatheme-footer__navigation-item {
  margin-left: 0;
  min-width: 200px;
}
.pookatheme-footer__navigation-item__title {
  font-family: "Chap Semibold", sans-serif;
}
.pookatheme-footer__navigation li, .pookatheme-footer__navigation .pookatheme-footer__navigation-item__title {
  padding-bottom: var(--wp--preset--spacing--50);
}
.pookatheme-footer__contact-details .pookatheme__social-network-icons, .pookatheme-footer__contact-details  address {
  margin-bottom: 1em;
}
.pookatheme-footer__contact-details .pookatheme__social-network-icons a {
  margin-right: 0.8rem;
  display: inline-flex;
  align-items: center;
}
.pookatheme-footer__contact-details .pookatheme__social-network-icons a svg {
  height: var(--wp--preset--font-size--medium);
}
.pookatheme-footer__contact-details address:last-child {
  margin-bottom: 0;
}
.pookatheme-footer__legal, .pookatheme-footer__legal a {
  font-size: var(--wp--preset--font-size--x-small);
}

/*--------------------------------------------------------------
# SVG
--------------------------------------------------------------*/
svg[data-scale="1"] {
  transform: scale(1) translate(0%, 0%);
}
svg[data-scale="0.9"] {
  transform: scale(0.9) translate(0%, 5%);
}
svg[data-scale="0.8"] {
  transform: scale(0.8) translate(0%, 10%);
}
svg[data-scale="0.7"] {
  transform: scale(0.7) translate(0%, 20%);
}
svg[data-scale="0.6"] {
  transform: scale(0.6) translate(0%, 30%);
}
svg[data-scale="0.5"] {
  transform: scale(0.5) translate(0%, 40%);
}

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

/* Cover
--------------------------------------------- */
.wp-block-cover__image-background.has-parallax {
  background-attachment: fixed;
}
.wp-block-cover__inner-container > *:first-child {
  margin-top: 0;
}
.wp-block-cover__inner-container > *:last-child {
  margin-bottom: 0;
}

/* Table
--------------------------------------------- */
.wp-block-table {
  font-size: var(--wp--preset--font-size--small);
}
.wp-block-table thead {
  border-bottom: unset;
}
.wp-block-table thead th:first-child {
  border: none;
}
.wp-block-table th {
  font-family: "Chap Semibold", sans-serif;
}
.wp-block-table th:not(:first-child), .wp-block-table td:not(:first-child) {
  padding-left: 5rem;
}

.pookatheme-user-avatar-editor-default-image {
  padding: 1rem;
}


/* Group
--------------------------------------------- */


/* Image & Gallery
--------------------------------------------- */
.wp-block-gallery > figcaption,
.wp-block-image > figcaption {
  width: fit-content;
  margin-left: unset;
}
.wp-block-group.has-background
  > .wp-block-image.alignfull:not(.is-style-aspect-16x9):not(
    .is-style-aspect-square
  )
  > figcaption {
  margin-left: var(--wp--preset--spacing--50);
  margin-right: var(--wp--preset--spacing--50);
}
.has-no-thumbnail {
  position: relative;
  background-color: var(--wp--preset--color--ruby);
}
.has-no-thumbnail::after {
  content: url("images/itc-logo-full-white.svg");
  display: block;
  width: 76%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* CiviCRM
--------------------------------------------- */
#crm-profile-block .editrow_custom_7-section {
  display: none;
}

.crm-container .status {
  background-color: var(--wp--preset--color--light-grey) !important;
  border: none !important;
  padding: var(--wp--preset--spacing--50) !important;
}

.crm-container h3 {
  font-size: var(--wp--preset--font-size--large) !important;
}
#crm-container.crm-public .calc-value,
#crm-container.crm-public .content,
#crm-container.crm-public p,
#crm-container.crm-public .content.description ul,
#crm-container.crm-public .content.description a {
  font-size: var(--wp--preset--font-size--small) !important;
}

.crm-container a:not(.select2-choice),
.crm-container a:not(.select2-choice):link,
.crm-container a:not(.select2-choice):visited {
  text-decoration: underline !important;
  color: unset !important;
}
.crm-container a:not(.select2-choice):active,
.crm-container a:not(.select2-choice):focus,
.crm-container a:not(.select2-choice):hover {
  color: var(--wp--preset--color--ruby) !important;
}

.crm-container a.select2-choice:not(.select2-default) span {
  color: var(--wp--preset--color--dark) !important;
}

#crm-container.crm-public .label,
#crm-container.crm-public .price-field-amount,
.crm-container.crm-public .select2-container,
.crm-container.crm-public .select2-results,
.crm-container.crm-public .select2-container .select2-choice,
#crm-container.crm-public .price-set-row,
.crm-container table {
  font-size: var(--wp--preset--font-size--small) !important;
}
.crm-container fieldset legend {
  font-size: var(--wp--preset--font-size--medium) !important;
  font-family: "Chap Semibold", sans-serif !important;
  padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--50) var(--wp--preset--spacing--40) 0 !important;
}
.crm-container fieldset {
  border-top: none !important;
}

.crm-container a.button,
.crm-container a.button:link,
.crm-container a.button:visited,
.crm-container .ui-dialog-buttonset .ui-button,
.crm-container .crm-button,
.eo-fes-form-element-type-button {
  text-shadow: none !important;
  background: var(--wp--preset--color--orange) !important;
  color: var(--wp--preset--color--light) !important;
  font-size: var(--wp--preset--font-size--small) !important;
  margin-bottom: var(--wp--preset--spacing--50) !important;
  padding: 1em 2em !important;
  border: none !important;
  border-radius: 0 !important;
  line-height: 100% !important;
}

.crm-section.payment_processor-section .crm-form-radio,
.crm-section.payment_processor-section label {
  display: block;
  float: left;
}
.crm-section.payment_processor-section .crm-form-radio {
  height: 1.4rem;
  clear: left;
}
.crm-section.payment_processor-section label {
  height: 2.4rem;
}

#crm-main-content-wrapper table.crm-profile-tagsandgroups {
  margin-bottom: var(--wp--preset--spacing--50);
}
#crm-main-content-wrapper table.crm-profile-tagsandgroups input[type="checkbox"] {
  margin-right: var(--wp--preset--spacing--40);
}

.crm-contribution-main-form-block #orgOptions.crm-section {
  margin-bottom: var(--wp--preset--spacing--40) !important;
}
.crm-contribution-main-form-block #orgOptions.crm-section label {
  margin-right: var(--wp--preset--spacing--70);
}


/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
/* Small devices (landscape phones, 576px and up)  -sm */
@media (min-width: 576px) {
  .pk-text-sm-start {
    text-align: left !important;
  }
  .pk-text-sm-center {
    text-align: center !important;
  }
  .pk-text-sm-end {
    text-align: right !important;
  }
  .pookatheme-footer__navigation-item {
    min-width: 45%;
  }
}

/* Medium devices (tablets, 782px and up)  -md */
@media (min-width: 782px) {
  .pk-text-md-start {
    text-align: left !important;
  }
  .pk-text-md-center {
    text-align: center !important;
  }
  .pk-text-md-end {
    text-align: right !important;
  }
  .pookatheme-footer__navigation-item {
    min-width: 0%;
  }

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

  .pookatheme-header__logo:hover,
  .pookatheme-footer__logo:hover {
    transform: scale(1.03);
  }

  .pookatheme-footer__logo:hover {
    transform: scale(1.05);
  }

  .pookatheme__social-network-icons a:hover {
    transform: scale(1.15);
  }

  .pookatheme-header__logo,
  a .pookatheme-footer__logo,
  .pookatheme__social-network-icons a  {
    transition: all 0.3s ease-in-out !important;
  }

}

/* Large devices (desktops, 992px and up)  -lg */
@media (min-width: 992px) {
  .pk-text-lg-start {
    text-align: left !important;
  }
  .pk-text-lg-center {
    text-align: center !important;
  }
  .pk-text-lg-end {
    text-align: right !important;
  }
}

/* Extra large devices (large desktops, 1200px and up)  -xl */
@media (min-width: 1200px) {
  body {
    /* border: 5px solid #f0f; */
  }

  .mp-display-xl-block {
    display: block !important;
  }
  .mp-display-xl-none {
    display: none !important;
  }

  .pk-text-xl-start {
    text-align: left !important;
  }
  .pk-text-xl-center {
    text-align: center !important;
  }
  .pk-text-xl-end {
    text-align: right !important;
  }

  /* Toggle Hamburger Menu off */
  .menu-toggle {
    display: none;
  }
  .main-navigation {
    display: block;
  }
  .main-navigation nav {
    display: flex;
    justify-content: end;
  }
  .menu-toggle,
  #nav-menu-mobile {
    display: none;
  }

  .search-icon:hover {
    transform: scale(1.15);
  }
   .search-icon  {
    transition: all 0.3s ease-in-out !important;
  }

}
@media (max-width: 1199px) {
  #pookatheme-header .site-branding .pookatheme-header__logo img {
    width: 100%;
    max-height: 3rem;
  }

  /** Css rule only for Firefox */
  @-moz-document url-prefix() {
    #pookatheme-header .site-branding .pookatheme-header__logo img {
      min-height: 2.5rem;
    }
  }
  #pookatheme-header.toggled {
    height: 100vh;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    margin-bottom: 6rem;
    z-index: 1;
  }
  #pookatheme-header.toggled > #pookatheme-main {
    display: none;
  }
  .main-navigation .login-menu {
    display: none;
  }
}

/*--------------------------------------------------------------
# Editor Styles
--------------------------------------------------------------*/
h1.wp-block-post-title.block-editor-block-list__block.editor-post-title.editor-post-title__input {
	font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif;
	font-size: 2rem;
	margin-bottom: 0;
}
h1.wp-block-post-title.block-editor-block-list__block.editor-post-title.editor-post-title__input:before {
	content: "Title: "
}
div.edit-post-visual-editor__post-title-wrapper {
	margin-top: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid rgb(224,224,224);
}

li#wp-admin-bar-password_protected {
  display: none;
}
.wp-block-pooka-campaign.block-editor-block-list__block > div {
  width: 100%;
}
/**
*   News Page
**/
.news-page {
  margin-top: var(--wp--preset--spacing--70);
}
.news-page-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 3rem 2rem;
}
.post .entry-meta {
  margin-top: -0.5rem !important;
  margin-bottom: .5rem !important;
}
.entry-title a {
  margin-top: 2rem;
  text-decoration: none;
}
.news-page .alignfull.wp-block-pooka-newsletter-signup {
  margin-bottom: 0 !important;
}
/* Mobile view */
@media (max-width: 992px) {
  .news-page-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Pooka Theme Pagination */
.pooka-page-pagination-wrapper {
  margin-top: var(--wp--preset--spacing--80);
  margin-bottom: var(--wp--preset--spacing--80);
  text-align: center;
}
.pooka-page-pagination-wrapper .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.pooka-page-pagination-wrapper .nav-links .page-numbers {
  font-family: "Chap Semibold", sans-serif;
  font-size: var(--wp--preset--font-size--medium);
  line-height: 1;
  color: var(--wp--preset--color--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--wp--preset--color--ruby);
  padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
  min-height: 3rem;
  min-width: 3rem;
}
.pooka-page-pagination-wrapper .nav-links .prev.page-numbers {
  margin-right: var(--wp--preset--spacing--60);
}
.pooka-page-pagination-wrapper .nav-links .next.page-numbers {
  margin-left: var(--wp--preset--spacing--60);
}
.pooka-page-pagination-wrapper .nav-links .current.page-numbers,
.pooka-page-pagination-wrapper .nav-links .page-numbers:hover,
.pooka-page-pagination-wrapper .nav-links .page-numbers:focus,
.pooka-page-pagination-wrapper .nav-links .page-numbers:active {
  background-color: var(--wp--preset--color--dark);
  transition: all 0.3s ease-in-out
}
@media (max-width: 992px) {
  .pooka-page-pagination-wrapper {
    margin-top: var(--wp--preset--spacing--60);
    margin-bottom: var(--wp--preset--spacing--60);
  }
  .pooka-page-pagination-wrapper .nav-links .page-numbers {
    font-size: var(--wp--preset--font-size--small);
    padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
    min-height: 2rem;
    min-width: 2rem;
  }
  .pooka-page-pagination-wrapper .nav-links .prev.page-numbers {
    margin-right: var(--wp--preset--spacing--50);
  }
  .pooka-page-pagination-wrapper .nav-links .next.page-numbers {
    margin-left: var(--wp--preset--spacing--50);
  }
}

/* Single News Page
--------------------------------------------- */
.single-news {
  position: relative;
}
.single-news:before {
  content: url("images/itc-swoosh.svg");
  display: block;
  width: 100%;
  max-width: 52rem;
  position: absolute;
  top: -10rem;
  right: 50%;
  opacity: 0.1;
  -moz-transform: scale(-1, 1) translateX(-50%);
  -webkit-transform: scale(-1, 1) translateX(-50%);
  -o-transform: scale(-1, 1) translateX(-50%);
  -ms-transform: scale(-1, 1) translateX(-50%);
  transform: scale(-1, 1) translateX(-50%);
  z-index: -1;
}
.single-news-top,
.single-news-top-content__meta {
  display: flex;
  column-gap: 2rem;
  align-items: center;
}
.single-news-top {
  flex-direction: row-reverse;
  padding-top: var(--wp--preset--spacing--70);
  padding-bottom: var(--wp--preset--spacing--50);
}
.single-news-top > div,
.single-news-top .single-new-top-content > div{
  flex-basis: 50%;
}
.single-news-top-content__meta {
  flex-direction: row;
}
.single-news-top-content__meta .wp-block-button .wp-block-button__link {
  padding: 0.7rem calc(1.5rem + 1px) calc(0.7rem - 1px) 1.5rem;
  line-height: 1;
}
.single-new-top-content,
.single-new-top-image {
  margin: 0;
}
.single-new-top-content {
  margin-top: var(--wp--preset--spacing--30);
}

/* Mobile view */
@media (max-width: 992px) {
  .single-news:before {
    display: none;
  }
  .single-news-top {
    display: block;
    padding-bottom: 0;
  }
  .single-new-top-image {
    padding-bottom: var(--wp--preset--spacing--60);
  }
}

/**
* Search Page
 */
.wp-block-search .wp-block-search__inside-wrapper  {
  margin-top: var(--wp--preset--spacing--50);
}
.wp-block-search .wp-block-search__input {
  padding-left: 0.6em;
}
.wp-block-search .wp-block-search__input::-webkit-search-cancel-button{
  position:relative;
  -webkit-appearance: none;
  height: 1em;
  width: 1em;
  margin-left: .6em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777'><path d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/></svg>");
  cursor: pointer;
}
.wp-block-search__reset-button {
  margin-top: 0 !important;
}
.search .page-header {
  margin-top: var(--wp--preset--spacing--90);
}
.search .page-content {
  margin-bottom: var(--wp--preset--spacing--90);
}
.search.search-results .wp-block-search, .search.search-no-results .wp-block-search {
  margin-bottom: var(--wp--preset--spacing--30)!important;
}
.search.search-results .wp-block-search__reset-button,.search.search-no-results .wp-block-search__reset-button  {
  margin-bottom: var(--wp--preset--spacing--90);
}
.search .search-result-card {
  margin-bottom: var(--wp--preset--spacing--70);
}
.search .search-result-card article {
  display: flex;
  width: 100%;
  gap: var(--wp--preset--spacing--70);
  align-items: center;
}
.search .search-result-card article:not(:last-child) {
  margin-bottom: var(--wp--preset--spacing--80);
  padding-bottom: var(--wp--preset--spacing--80);
}
.search .search-result-card .entry-title {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: var(--wp--preset--spacing--50);
}
.search .search-result-card .entry-title + p, .search .search-result-card .entry-meta + p{
  margin-top: 0;
  margin-bottom: var(--wp--preset--spacing--40);
}
.search .search-result-card .post .entry-meta {
  margin-bottom: 0;
}
.search .search-result-card .entry-thumbnail {
  flex-basis: 30%;
}
.search .search-result-card .entry-content {
  flex-basis: 70%;
}
.search .search-result-card .private.itc_resources, .search .search-result-card .private.itc_resources .entry-title a {
  color: var(--wp--preset--color--dark-grey);
}
/* Mobile view */
@media (max-width: 992px) {
  .search .search-result-card article {
    display: block;
  }
  .search .search-result-card article .entry-thumbnail {
    margin-bottom: var(--wp--preset--spacing--60);
  }
  .wp-block-search__button {
    margin-left: 0 !important;
  }
}

/* Resources
--------------------------------------------- */
.resource-files-block-public .resource-files-block-title {
  color: var(--wp--preset--color--ruby);
}

.resource-files-block-private .resource-files-block-title {
  color: var(--wp--preset--color--orange);
}

.resource-files-block-public .resource-file-link,
.resource-files-block-private .resource-file-link {
  display: block;
  margin-bottom: var(--wp--preset--spacing--40);
}

.resource-files-block-private .resource-file-link {
  position: relative;
  padding-left: 1.2rem;
}

.resource-files-block-private .resource-file-link:before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: var(--wp--preset--color--orange);
  -webkit-mask-image: url('images/itc-icon-lock.svg');
  mask-image: url('images/itc-icon-lock.svg');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-size: cover;
}

.resource-categories-block {
  padding: var(--wp--preset--spacing--70) 0;
}

.resource-categories-block .resource-categories-block-title {
  color: var(--wp--preset--color--ruby);
}

.resource-categories-block-list a {
  display: block;
  margin-bottom: var(--wp--preset--spacing--40);
  font-weight: bold;
  text-decoration: none;
}

.archive .pookatheme-main .is-root-container .pooka-resources-item {
  margin-bottom: var(--wp--preset--spacing--80);
}

/* 404
--------------------------------------------- */
.error404 .wp-block-pooka-latest-news {
  margin-bottom: 0!important;
}