/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 * Version: 2.0.0
 */

/* enable opentype features*/
body {
  font-kerning: normal;
  -moz-font-feature-settings: "kern", "liga", "clig", "calt";
  -ms-font-feature-settings: "kern", "liga", "clig", "calt";
  -webkit-font-feature-settings: "kern", "liga", "clig", "calt";
  font-feature-settings: "kern", "liga", "clig", "calt";
}

/* Custom content spacing (overwrites the value from General>Entry Content Elements>Content Spacing)*/
:root {
  --content-spacing: 1em;
}

/*Post Content Typography*/
/*Custom Heading Spacing (overwrites the non-editable blocksy defaults)*/
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
article .entry-content h1,
article .entry-content h2,
article .entry-content h3,
article .entry-content h4,
article .entry-content h5,
article .entry-content h6,
article .entry-content *+ :is(h1, h2, h4, h5, h6) {
  margin-top: calc(1.4 * var(--content-spacing));
  margin-bottom: calc(0.55 * var(--content-spacing) + 6px);
}

/*Custom H1 styles)*/
.entry-header:not(.ct-container) .page-title h1,
.entry-header:not(.ct-container) h1.page-title {
  opacity: 0.9;
}

/*Custom H3 styles*/
article .entry-content h3,
article .entry-content *+ :is(h3) {
  color: #585d61;
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  margin-top: calc(1.4 * var(--content-spacing));
  margin-bottom: calc(0.46 * var(--content-spacing) + 6px);
}

/*style image captions*/
figcaption,
.entry-content figcaption,
.pswp__caption__center {
  font-size: 0.75em;
  margin-top: 1.5em;
}

.pswp__caption__center {
  max-width: 825px;
  color: var(--paletteColor3);
}

.pswp__button {
  filter: invert(100%);
}

.pswp__counter {
  color: var(--paletteColor3);
}

.pswp__zoom-wrap img {
  background: var(--paletteColor7);
  padding: 15px;
}

.pswp__top-bar,
.pswp__caption,
.pswp__caption__center {
  background: #f5f5f5;
  background-color: #f5f5f5 !important;
}

.pswp__bg {
  background-color: #e0e0e0 !important;
  opacity: 0.96 !important;
}

/*Style Breadcrumbs*/
.ct-breadcrumbs {
  --linkInitialColor: var(--paletteColor2);
  --linkHoverColor: var(--paletteColor3);
  letter-spacing: 0.1px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
}

#post-0 .ct-breadcrumbs {
  display: none;
}

/*Fix weird footer margin issue*/
[class*="footer-menu"] ul {
  margin: 0 !important;
}

/*Style Post Meta*/
.entry-header .entry-meta {
  letter-spacing: 0.1;
  font-size: 13px;
}

/* Format paragraph spacing for multi-line footer menus*/
.ct-widget .menu-item {
  line-height: 1.4;
  padding-bottom: 0.75em;
}

/* make content narrow for single application posts and blog posts*/
/* change the content widths only when there is a sidebar */
.single-post [data-sidebar="left"],
.single-post [data-sidebar="right"] {
  --normal-container-max-width: 990px;
  /* set the max-width of the container*/
  --main-post-content-container-width: 625px;
  /* set the max-width of the post content*/
  --sidebar-width: 32.87%;
}

.single-applications .site-main .ct-container>article,
.single-post .site-main .ct-container>article {
  max-width: var(--main-post-content-container-width);
  margin: 0 auto;
}


.ct-posts-widget>ul>li {
  margin-bottom: 0.5em;
  padding-bottom: 0.5em;
  border-bottom: solid 1px var(--paletteColor5)
}

@media (min-width: 1000px) {
  .ct-sidebar {
    margin-top: var(--heroHeight, 194.733px);
  }
}

/* Secondary mobile menu*/
/*initial colors and text-settings*/
.ct-drawer-canvas .ct-widget .menu-item a {
  color: var(--paletteColor3);
  font-family: ct_font_raleway__m_v_i, Sans-Serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8em;
  letter-spacing: 0.03em;
  margin-bottom: 0;
}

.ct-drawer-canvas .ct-widget .menu-item {
  padding: 0;
}

/*secondary menu item hover color*/
.ct-drawer-canvas .ct-widget .menu-item a:hover {
  color: var(--paletteColor2);
}

/*make active secondary menu item gray*/
.ct-drawer-canvas .ct-widget .current-menu-item a {
  opacity: 0.6;
}

/*Hide the bullets for sub-menus on mobile*/
.mobile-menu[data-type="type-1"] ul .menu-item-has-children>ul li a::before {
  background: none;
}

/*Add a bit extra space between mobile menu items*/
nav.mobile-menu .menu-item {
  padding-bottom: 0.85em;
}

/*Active menu colors*/
/* Hide the underline for active item*/
ul.menu>li.current-menu-item>a::after {
  background-color: transparent;
}

/* Make active items gray*/
ul.sub-menu>li.current-menu-item>a:not(.child-indicator),
ul.menu>li.current-menu-item>a:not(.child-indicator) {
  color: #87898a;
}

/*make active mobile item gray*/
nav.mobile-menu li.current-menu-item>a {
  color: #87898a;
}

/*Mobile menu initial child indicator link color*/
.mobile-menu[data-type="type-1"] ul .child-indicator::before {
  color: var(--linkInitialColor);
}

/*Mobile menu initial child indicator svg color*/
.child-indicator svg {
  fill: var(--linkInitialColor);
}

/*Mobile menue initial child indicator link color*/
.mobile-menu[data-type="type-1"] ul li a:hover .child-indicator::before {
  color: var(--linkHoverColor);
}

/*Mobile menu initial child indicator svg color*/
a:hover .child-indicator svg {
  fill: var(--linkHoverColor);
}

/*Initial color for ancestor of active page*/
ul.menu>li.current-page-ancestor>a,
ul.menu>li.current-menu-ancestor>a,
nav.mobile-menu li.current-page-ancestor>a {
  color: var(--linkInitialColor);
}

/*Hover color for ancestor of active page*/
ul.menu>li.current-page-ancestor>a:hover,
ul.menu>li.current-menu-ancestor>a:hover,
nav.mobile-menu li.current-page-ancestor>a:hover {
  color: var(--linkHoverColor);
}

/*Hide the underline for ancestor of active page*/
ul.menu>li.current-page-ancestor>a::after,
ul.menu>li.current-menu-ancestor>a::after {
  background-color: transparent;
}

/*Show the underline for ancestor of active page on hover*/
ul.menu>li.current-page-ancestor>a:hover::after,
ul.menu>li.current-menu-ancestor>a:hover::after {
  background-color: var(--menu-indicator-active-color, var(--paletteColor2));
}

/*Button animations*/
/*Add animation timing to all buttons*/
.ct-button-ghost,
.button,
.submit,
.ct-button,
.entry-tags a,
.added_to_cart,
input[type="submit"],
.wp-block-file .wp-block-file__button,
.wp-block-button__link,
.forminator-design--none .forminator-button,
.beautiful-taxonomy-filters>form>button.beautiful-taxonomy-filters-button {
  transition-property: all;
  transition-duration: 0.2s;
  transition-timing-function: ease;
  transition-delay: 0s;
}

/*Animate solid buttons*/
.button:hover,
.submit:hover,
.ct-button:hover,
.entry-tags a:hover,
.added_to_cart:hover,
input[type="submit"]:hover,
.wp-block-file .wp-block-file__button:hover,
div:not(.is-style-outline)>.wp-block-button__link:hover,
.wp-block-button:not(.is-style-outline):hover,
.forminator-design--none .forminator-button:hover,
button[type="submit"]:not(.qubely-block-btn-anchor):hover {
  transform: translate3d(0px, -1px, 0px);
}

/*Outline Button initial text color*/
.is-style-outline>.wp-block-button__link:not(.has-text-color),
.wp-block-button__link.is-style-outline:not(.has-text-color) {
  color: var(--linkInitialColor);
}

/* Outline Button Hover Border*/
.ct-button-ghost:hover,
div.is-style-outline>.wp-block-button__link:hover,
.ct-button-ghost:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.entry-button[data-type="outline"]:hover,
.beautiful-taxonomy-filters>form>button.beautiful-taxonomy-filters-button:hover,
form.searchandfilter .sf-field-reset .search-filter-reset:hover {
  box-shadow: inset 0 0 0 1px var(--buttonInitialColor);
  background-color: transparent !important;
  border-color: var(--buttonInitialColor);
  color: inherit !important;
  transform: none;
}

[data-link="type-3"] .entry-content .woocommerce p>a.button {
  background-image: none;
}


/*Link Styles*/
/*Bacground image for underline https://scottcole.net/animating-linear-gradient-button-links/*/
[data-link="type-3"] .entry-content p>a:not(.button),
[data-link="type-3"]:not(.entry-card).entry-content h1>a,
[data-link="type-3"]:not(.entry-card).entry-content h2>a,
[data-link="type-3"]:not(.entry-card).entry-content h3>a,
[data-link="type-3"]:not(.entry-card).entry-content h4>a,
[data-link="type-3"]:not(.entry-card).entry-content h5>a,
[data-link="type-3"]:not(.entry-card).entry-content h6>a,
[data-link="type-3"] .entry-content em>a,
[data-link="type-3"] .entry-content strong>a,
[data-link="type-3"] .entry-content>ul a,
[data-link="type-3"] .entry-content>ol a,
[data-link="type-3"] .wp-block-column>ul a,
[data-link="type-3"] .wp-block-column>ol a,
[data-link="type-3"] [class*="_inner-container"]>ul a,
[data-link="type-3"] [class*="_inner-container"]>ol a,
[data-link="type-3"] .gdpr-confirm-policy a,
.blue-link a,
.woocommerce-product-details__short-description a,
tr:not([class*='woocommerce']) td a,
tr:not([class*='woocommerce']) th a {
  color: inherit;
  text-decoration: none;
  -webkit-text-decoration: none;
  --initialLinkUnderlineColor: #D9E4EF;
  background-image: var(--has-link-decoration, linear-gradient(90deg, var(--linkInitialColor) 0 50%, var(--initialLinkUnderlineColor) 50% 100%)) !important;
  background-position: var(--has-link-decoration, 100% 100%) !important;
  background-repeat: var(--has-link-decoration, no-repeat);
  background-size: var(--has-link-decoration, 201% 2px) !important;
  --has-link-decoration: var(--true) !important;
  transition: var(--transition);
}

/*Make underline 2 px*/
[data-link="type-3"] .entry-content p>a:not(.button):hover,
[data-link="type-3"]:not(.entry-card).entry-content h1>a:hover,
[data-link="type-3"]:not(.entry-card).entry-content h2>a:hover,
[data-link="type-3"]:not(.entry-card).entry-content h3>a:hover,
[data-link="type-3"]:not(.entry-card).entry-content h4>a:hover,
[data-link="type-3"]:not(.entry-card).entry-content h5>a:hover,
[data-link="type-3"]:not(.entry-card).entry-content h6>a:hover,
[data-link="type-3"] .entry-content em>a:hover,
[data-link="type-3"] .entry-content strong>a:hover,
[data-link="type-3"] .entry-content>ul a:hover,
[data-link="type-3"] .entry-content>ol a:hover,
[data-link="type-3"] .wp-block-column>ul a:hover,
[data-link="type-3"] .wp-block-column>ol a:hover,
[data-link="type-3"] [class*="_inner-container"]>ul a:hover,
[data-link="type-3"] [class*="_inner-container"]>ol a:hover,
[data-link="type-3"] .gdpr-confirm-policy a:hover,
.blue-link a:hover,
.woocommerce-product-details__short-description a:hover,
tr:not([class*='woocommerce']) td a:hover,
tr:not([class*='woocommerce']) th a:hover {
  background-size: var(--has-link-decoration, 201% 2px) !important;
  background-position: var(--has-link-decoration, 0 100%) !important;
  transition: var(--transition);
}

/*Add ordinal after body link*/
[data-link="type-3"] .entry-content p>a:not(.button)::after,
[data-link="type-3"]:not(.entry-card).entry-content h1>a::after,
[data-link="type-3"]:not(.entry-card).entry-content h2>a::after,
[data-link="type-3"]:not(.entry-card).entry-content h3>a::after,
[data-link="type-3"]:not(.entry-card).entry-content h4>a::after,
[data-link="type-3"]:not(.entry-card).entry-content h5>a::after,
[data-link="type-3"]:not(.entry-card).entry-content h6>a::after,
[data-link="type-3"] .entry-content em>a::after,
[data-link="type-3"] .entry-content strong>a::after,
[data-link="type-3"] .entry-content>ul a::after,
[data-link="type-3"] .entry-content>ol a::after,
[data-link="type-3"] .wp-block-column>ul a::after,
[data-link="type-3"] .wp-block-column>ol a::after,
[data-link="type-3"] [class*="_inner-container"]>ul a::after,
[data-link="type-3"] [class*="_inner-container"]>ol a::after,
[data-link="type-3"] .gdpr-confirm-policy a::after,
.woocommerce-product-details__short-description a::after,
tr:not([class*='woocommerce']) td a::after,
tr:not([class*='woocommerce']) th a::after {
  position: relative;
  content: "\FEFF°";
  margin-left: 0.10em;
  font-size: 90%;
  top: -0.10em;
  font-weight: 900;
  color: var(--linkInitialColor);
  font-feature-settings: "caps";
  font-variant-numeric: normal;
}

/*Table heading cells*/
tr th {
  font-family: ct_font_raleway__m_v_i, Sans-Serif;
  font-size: 1em;
  font-weight: 600;
}

label {
  --fontSize: 18px;
}

/*H3 headding Link styles*/
[data-link="type-3"] .entry-content h3>a {
  color: var(--paletteColor3);
  background: none;
}

[data-link="type-3"] .entry-content h3>a:hover {
  color: var(--paletteColor2);
}

/*Archive Cards taxonomy spacing in between elements in list*/
.entry-meta [data-type="simple"].meta-categories :not(:first-child) {
  margin-left: .1em;
}

/*Search and Filter Styles*/
form.searchandfilter {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: var(--content-spacing);
  background: #f5f5f5;
  padding: 0 0.3em;
  box-shadow: 0px 2px 5px rgba(43, 61, 80, 0.11);
}

@media (max-width: 689.98px) {
  form.searchandfilter {
    display: none;
  }
}

form.searchandfilter>ul {
  margin: 0;
  width: inherit;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

form.searchandfilter>ul>li {
  width: inherit;
  margin: 0 0.3em;
}

form.searchandfilter .sf-field-reset .search-filter-reset {
  margin: 0 0.3em;
  width: inherit;
  --buttonTextInitialColor: var(--buttonInitialColor);
  border-width: 2px;
  border-style: solid;
  color: var(--buttonTextInitialColor);
  background-color: transparent;
  border-color: var(--buttonInitialColor);
  display: flex;
  order: 2;
}

form.searchandfilter .sf-field-search input.sf-input-text {
  background-color: var(--paletteColor7);
}

/*Beautiful taxonomy filters*/
.beautiful-taxonomy-filters-label {
  display: none;
}

.beautiful-taxonomy-filters form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: var(--content-spacing);
  background: #f5f5f5;
  padding: 0.4em 0.3em;
  box-shadow: 0px 2px 5px rgba(43, 61, 80, 0.11);
}

@media (max-width: 689.98px) {
  .beautiful-taxonomy-filters form {
    display: none;
  }
}

.beautiful-taxonomy-filters-select-wrap {
  margin: 0;
  width: inherit;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.beautiful-taxonomy-filters-tax {
  width: inherit;
  margin: 0 0.3em;
}

.beautiful-taxonomy-filters-select {
  font-size: 0.68em;
}

.beautiful-taxonomy-filters>form>button.beautiful-taxonomy-filters-button {
  margin: 0 0.3em;
  width: inherit;
  --buttonTextInitialColor: var(--buttonInitialColor);
  border-width: 2px;
  border-style: solid;
  color: var(--buttonTextInitialColor);
  background-color: transparent;
  border-color: var(--buttonInitialColor);
  display: flex;
  order: 2;
}

.beautiful-taxonomy-filters-clear-all {
  order: 1;
  color: var(--color);
  font-size: 13px;
  display: inline-block;
  margin: 5px;
}

/*
 * Custom Select2 styling
 * Make it more in line with the Material design style
 */

.beautiful-taxonomy-filters .select2-container--default .select2-selection--single span.select2-selection__arrow {
  height: 20px;
  top: calc(50% - 9px)
}

.select2-container .select2-dropdown .select2-results .select2-results__options li {
  font-size: 15px;
  line-height: 2em;
}

.beautiful-taxonomy-filters .select2.select2-container.select2-container--default {
  width: 100% !important;
}


/*Add Post Type Info to Search Page Results*/
/*allow wrappin on the flex container*/
.search-results .entry-card,
.entry-card.publications {
  flex-wrap: wrap;
}

/*Style the label text*/
.search-results .entry-card.publications::before,
.search-results .entry-card.applications::before,
.search-results .entry-card.post::before,
.search-results .entry-card.page::before {
  text-transform: uppercase;
  font-size: 13px;
  font-family: ct_font_alegreya__sans__m_v_i, Sans-Serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-right: 10px;
  margin-bottom: 15px;
  opacity: 0.6;
  flex: 0 0 100%;
}

/*Add the appropriate titles*/
.search-results .entry-card.publications::before {
  content: "Publication";
}

.search-results .entry-card.applications::before {
  content: "Application";
}

.search-results .entry-card.post::before {
  content: "Post";
}

.search-results .entry-card.page::before {
  content: "Page";
}


/*Style the text for publication authors*/
.entry-card .publication-authors {
  flex: 0 0 100%;
  font-size: 0.84em;
  margin-bottom: 0.8em;
  font-family: ct_font_raleway__m_v_i, Sans-Serif;
}


/*Create pdf Badge for Applications Posts*/
.pdf-badge {
  background-color: var(--paletteColor4);
  opacity: 0.5;
  position: absolute;
  width: 50px;
  height: 32px;
  top: 0px;
  right: 0px;
  z-index: 10;
  font-size: 16px;
  font-weight: 500;
  color: var(--paletteColor7);
  display: flex;
  justify-content: center;
  align-items: center;
}

.pdf-badge:hover {
  color: var(--paletteColor7);
}

/*If featured image is right after pdf badge, remove top margin*/
[data-layout="grid"] .entry-card>.pdf-badge+.ct-image-container {
  margin-top: calc(var(--cardSpacing, 35px) * -1)
}

/*Put light background behind images in archive cards to make images with transparent backgrounds look nice*/
.entry-card .ct-image-container img,
.ct-related-posts .ct-image-container img {
  background: var(--paletteColor7);
  border-bottom: solid 2px var(--paletteColor6);
}

/*the parent of the badge must have relative position*/
article.entry-card.applications {
  position: relative;
}


/*Style Instagram lightbox popup*/
.mfp-arrow {
  opacity: 1;
}

.mfp-arrow::after,
.mfp-arrow::before {
  color: var(--paletteColor3);
}

.mfp-bg {
  background: rgba(253, 253, 253, 0.9);
}

/*Style Layered Images*/
.layered {
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.layered-base {
  position: relative !important;
}

.layered-element {
  position: absolute !important;
}

.descriptions,
h3.descriptions {
  font-size: 0.96em;
  font-weight: 600;
  font-family: ct_font_raleway__m_v_i, Sans-Serif;
  letter-spacing: 0.01em;
  text-transform: none;
  margin-top: calc(1.6 * var(--content-spacing));
  margin-bottom: calc(0.55 * var(--content-spacing) + 6px);
}

/*Reveal Animations and Parallax Animations*/
.reveal-animation figure,
figure.reveal-animation * {
  display: block;
  -webkit-animation-timing-function: ease-in;
  animation-timing-function: ease-in;
  -webkit-animation: var(--animation-type);
  animation: var(--animation-type);
  -webkit-animation-duration: var(--reveal-animation-duration);
  animation-duration: var(--reveal-animation-duration);
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  --reveal-animation-duration: 800ms;
  /*set default duration*/
  --animation-type: slidedown;
  /*set default animtaion type*/
  animation-delay: var(--reveal-animation-delay, 0);
  opacity: 0;
}

.reveal-animation-med figure figure.reveal-animation-med * {
  --reveal-animation-duration: 800ms;
}

.reveal-animation-lo figure,
figure.reveal-animation-lo * {
  --reveal-animation-duration: 1200ms;
}

.reveal-animation-xlo figure,
figure.reveal-animation-xlo * {
  --reveal-animation-duration: 1200ms;
  --reveal-animation-delay: 800ms;
}

.reveal-animation-slidedown figure,
figure.reveal-animation-slidedown * {
  --animation-type: slidedown;
}

.reveal-animation-slideup figure,
figure.reveal-animation-slideup * {
  --animation-type: slideup;
}

.reveal-animation-fadein figure,
figure.reveal-animation-fadein * {
  --animation-type: fadein;
}

[class^='reveal-animation'],
[class*='reveal-animation'] {
  visibility: hidden;
}

@-webkit-keyframes slidedown {
  from {
    transform: translate3d(0px, -300px, 0px);
    opacity: 0;
  }

  to {
    transform: translate3d(0px, 0px, 0px);
    opacity: 1;
  }
}

@keyframes slidedown {
  from {
    transform: translate3d(0px, -300px, 0px);
    opacity: 0;
  }

  to {
    transform: translate3d(0px, 0px, 0px);
    opacity: 1;
  }
}

@-webkit-keyframes slideup {
  from {
    transform: translate3d(0px, 300px, 0px);
    opacity: 0;
  }

  to {
    transform: translate3d(0px, 0px, 0px);
    opacity: 1;
  }
}

@keyframes slideup {
  from {
    transform: translate3d(0px, 300px, 0px);
    opacity: 0;
  }

  to {
    transform: translate3d(0px, 0px, 0px);
    opacity: 1;
  }
}

@-webkit-keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.parallax-scroll,
[class^='parallax-scroll'],
[class*='parallax-scroll'] {
  transition-duration: 0;
  --parallax-speed: 1;
}

.parallax-scroll-LO {
  --parallax-speed: 0.5;
}

.parallax-scroll-MED {
  --parallax-speed: 1;
}

.parallax-scroll-HI {
  --parallax-speed: 2;
}

/*Make 800px wide block. Needed to be done here to reduce CLS*/
.block-max-width800px {
  max-width: 800px !important;
  margin-left: auto;
  margin-right: auto;
}

/*Make block 65% wide. eeded to be done here to reduce CLS*/
.block-max-width65pct {
  max-width: 65% !important;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 782px) {
  .block-max-width65pct {
    max-width: 100% !important;
  }
}


/*Getwid Tabs Styling*/
/*Initial text styling*/
.wp-block-getwid-tabs__nav-link a {
  font-family: ct_font_alegreya__sans__m_v_i, Sans-Serif;
  font-weight: 400;
  font-size: 0.8rem;
  line-height: 1.45;
  background: none;
  color: var(--paletteColor3);
}

/*tabs heading background*/
.alignfull .wp-block-getwid-tabs__nav-links {
  background: #e0e0e0;
  padding-top: 0.8em;
  position: relative;
}

/*Add bottom border to headder*/
.alignfull .wp-block-getwid-tabs__nav-links::after {
  position: absolute;
  content: "";
  width: 100%;
  bottom: 0;
  left: 0;
  border-bottom: 1px solid #e0e0e0;
  z-index: 1;
}

/*Move tabs to right when full-width*/
.alignfull .wp-block-getwid-tabs__nav-links {
  display: flex;
  justify-content: flex-end;
  padding-right: max(calc((100vw - var(--container-width)) / 2), calc((100vw - var(--normal-container-max-width)) / 2));
  --inner-block-width: var(--container-width);
}

/*Iniitial tab style*/
.alignfull .wp-block-getwid-tabs__nav-link {
  position: relative;
  border: none;
  z-index: 0;
  background: transparent;
  border: 1px solid #e0e0e0;
}

/*Tab hover styles*/
/*Hide default getwid hover border*/
.alignfull .wp-block-getwid-tabs__nav-link:hover {
  border-color: transparent;
}

/*Style hover highlight*/
.alignfull .wp-block-getwid-tabs__nav-link:not(.ui-tabs-active):hover a {
  background-color: #585d61;
  color: var(--paletteColor7);
}

/*Active tab styles*/
.alignfull .wp-block-getwid-tabs__nav-link.ui-tabs-active {
  border: 1px solid #e0e0e0;
  background: var(--paletteColor7);
  border-bottom-color: var(--paletteColor7);
  z-index: 2;
}

/*get rid of default getwid content border*/
.alignfull .wp-block-getwid-tabs__tab-content {
  border: none;
  padding: 1.5em 0 0;
}

.wp-block-getwid-tabs {
  margin-bottom: 0 !important;
}

/*Tab content background*/
.alignfull .wp-block-getwid-tabs__tab-content-wrapper {
  background-color: none;
}

/*Change Hero Image Positioning for Vista One*/
body.page-id-2576 .hero-section[data-type="type-2"] .ct-image-container img {
  object-position: var(--object-position, 70% 50%);

}

/*Change Hero Image Positioning for Vista 75*/
body.page-id-55 .hero-section[data-type="type-2"] .ct-image-container img {
  object-position: var(--object-position, 28% 55%);

}

/*Change Hero Image Positioning for Vista 200*/
body.page-id-14329 .hero-section[data-type="type-2"] .ct-image-container img {
  object-position: var(--object-position, 0% 80%);
}

/*Force page description to the left side of the page for Vista One page*/
body.page-id-2576 .page-description {
  max-width: 50vw;
}

/*Add overlay when screen is very smallfor Vista One page*/
@media (max-width: 689.98px) {
  .page-id-2576 .hero-section[data-type="type-2"] {
    --page-title-overlay: rgba(245, 245, 245, 0.6);
  }

  body.page-id-2576 .page-description {
    max-width: 70vw;
  }
}

/*Style post meta in related posts section on single post pages*/
.ct-related-posts .meta-categories {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/*Style text for 'next'/'previous' post navigation on single post pages*/
.post-navigation .item-label {
  letter-spacing: 0.1em;
}

/*Style Getwid Timeline Block*/
.wp-block-getwid-content-timeline-item__card {
  filter: none;
}

/*Collapse columns earlier than normal*/
@media (max-width: 782px) {
  :not(.wp-block-column .wp-block-columns)>.wp-block-column:not(:only-child) {
    flex-basis: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 2em;
  }
}


@media (max-width: 782px) {
  .reverse-columns {
    flex-direction: column-reverse;
  }
}

/*Custom grid structure*/
.grids-s-w_i {
  grid-column-gap: 1.5em;
  grid-row-gap: 1.5em;
}

.box-shadow {
  box-shadow: 0px 2px 5px rgba(43, 61, 80, 0.11);
}

/*Collapse post archive grid to 3 colums earlier*/
@media (min-width: 1000px) and (max-width: 1250px) {
  [data-prefix="applications_archive"] [data-layout*="grid"].entries {
    --grid-template-columns: repeat(3, 1fr)
  }

  /*When collapsed, hide the last card from posts displayed using shortcode*/
  [data-prefix="applications_archive"] [data-layout*="grid"].entries .entry-card:last-of-type {
    display: none;
  }
}

/*Create custom grids layout using WP-core group blocks*/
.grids-mvi {
  display: grid;
  grid-template-columns: var(--grid-mvi-template-columns, repeat(1, 1fr));
  grid-template-rows: auto;
  grid-column-gap: var(--grid-mvi-grid-gap, 30px);
  grid-row-gap: var(--grid-mvi-grid-gap, 30px);
}

.grids-mvi .wp-block-group {
  background-color: #f5f5f5;
  box-shadow: 0px 2px 5px rgba(43, 61, 80, 0.11);
  padding: var(--grid-mvi-padding, 25px);
  align-items: flex-start;

  margin-top: 0;
  width: 100% !important;
  height: 100%;
}

/*Get rid of extra top margin on items*/
.grids-mvi .wp-block-group :not(:last-child) {
  margin-top: 0;
}

/*Enforce content spacing inside the grid p elements*/
.grids-mvi p:not(:last-child) {
  margin-bottom: var(--content-spacing);
}

/*make all content inside grid item full-width*/
.grids-mvi>*>* {
  width: 100% !important;
}

/*Make grid item into a flex container*/
.grids-mvi>.wp-block-group {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/*Put last item at the bottom of the container*/
.grids-mvi>.wp-block-group>*:last-child {
  margin-top: auto;
}

@media (min-width: 690px) {
  .grids-mvi {
    --grid-mvi-template-columns: repeat(2, minmax(0, 1fr));
    --grid-mvi-grid-gap: 30px;
    --grid-mvi-padding: 35px;
  }
}

@media (min-width: 1000px) {
  .grids-mvi {
    --grid-mvi-template-columns: repeat(3, minmax(0, 1fr));
    --grid-mvi-grid-gap: 30px;
    --grid-mvi-padding: 35px;
  }
}

.blue-link>a {
  --initialLinkUnderlineColor: transparent !important;
  color: var(--linkInitialColor) !important;
  background-size: var(--has-link-decoration, 201% 2px) !important;
  background-position: var(--has-link-decoration, 100% 100%) !important;
}

.woocommerce-product-details__short-description a {
  color: var(--color);
  background-size: var(--has-link-decoration, 201% 2px);
  background-position: var(--has-link-decoration, 100% 100%) !important;
}

.woocommerce-product-details__short-description a:hover {
  background-size: var(--has-link-decoration, 201% 2px) !important;
  background-position: var(--has-link-decoration, 0 100%) !important;
}

.blue-link>a:hover {
  color: var(--linkHoverColor) !important;
  background-size: var(--has-link-decoration, 201% 2px) !important;
  background-position: var(--has-link-decoration, 0 100%) !important;
  transition: var(--transition);
}

.blue-link a::after {
  content: "\00a0→" !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  top: 0 !important;
}

.blue-link a.wp-block-button__link,
.blue-link a.wp-block-button__link:hover {
  border: none !important;
  box-shadow: none !important;
  font-family: ct_font_alegreya__sans__m_v_i, Sans-Serif;
  font-size: 20px;
  font-weight: 400;
  padding: 0 !important;
  margin: 0 1.333em !important;

}

.blue-link a.wp-block-button__link {
  background-position: 100% calc(50% + 9.5px) !important;
}

.blue-link a.wp-block-button__link:hover {
  background-position: 0 calc(50% + 9.5px) !important;
}

.blue-link.wp-block-button.is-style-outline .wp-block-button__link:hover {
  color: var(--linkHoverColor) !important;
}

.blue-link a.wp-block-button__link:first-child {
  margin-left: 0 !important;
}

.visuallyhidden,
.happyforms-visuallyhidden {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
  clip-path: inset(0px 0px 99.9% 99.9%);
  overflow: hidden;
  height: 1px;
  width: 1px;
  padding: 0;
  border: 0;
}

/*Make full-width group content fit to page width*/
/*
.entry-content > .alignfull [class*="_inner-container"]{
    --inner-block-width: var(--container-width);
}*/

.wp-block-cover__inner-container {
  --inner-block-width: 100% !important;
}

.happyforms-dropdown-item {
  font-size: 16px;
}


form.variations_form table.variations .reset_variations::before {
  content: '×' !important;
  font-size: 19px !important;
}

/*Getwid counter styling*/
.wp-block-getwid-counter {
  text-align: center;
}

.wp-block-getwid-counter__prefix {
  font-size: 0.9em;
  font-weight: 500;
  font-family: ct_font_raleway__m_v_i, Sans-Serif;
}

.wp-block-getwid-counter__number {
  font-weight: 400 !important;
  font-size: 1.5em;
  font-family: ct_font_raleway__m_v_i, Sans-Serif;
}

.wp-block-getwid-counter__suffix {
  font-family: ct_font_raleway__m_v_i, Sans-Serif;
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding-top: 0;
  margin-top: -6px;
  margin-bottom: 9.9px;
}

/*Getwid table of contents*/
.wp-block-getwid-table-of-contents.is-style-ordered li::before {
  content: counters(item, ".");
}

.wp-block-getwid-table-of-contents.align>ol {
  background-color: #f5f5f5;
  padding: 1em !important;
  margin-bottom: 0 !important;
}

.wp-block-getwid-table-of-contents.align>ol::before {
  content: 'Contents';
  font-size: 1.22em;
  line-height: 1.2;
  font-weight: 600;
  font-family: ct_font_raleway__m_v_i, Sans-Serif;
  display: inline-block;
  margin-bottom: calc(0.55 * var(--content-spacing) + 6px) !important;
  color: var(--heading-color);
}

.wp-block-getwid-table-of-contents.align>ol>li {
  padding-left: 1em !important;
}

.happyforms-part__el {
  flex-grow: 1;
}


/* The Modal (background) */
.apps-note-modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 100;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  background-color: rgba(245, 245, 245, 0.75);
  /* Black w/ opacity */
  overflow-y: scroll;
  /* Enable scroll if needed */
  overflow-x: hidden;
  /* Enable scroll if needed */
}

/* Modal Content/Box */
.apps-note-modal-content {
  background-color: #fefefe;
  margin: 6% auto 1em;
  /* 5% from the top and centered */
  padding: 20px;
  width: 80%;
  /* Could be more or less, depending on screen size */
}

@media (max-width: 689.98px) {
  .apps-note-modal-content {
    width: 83%;
  }
}

/* The Close Button */
.apps-note-modal-content .ct-close-button {
  --icon-color: var(--paletteColor3);
  --icon-hover-color: var(--paletteColor3);
  --closeButtonBackground: rgba(0, 0, 0, 0.1);
  --closeButtonHoverBackground: rgba(0, 0, 0, 0.1);
  float: right;
  top: 0;
  right: 0;
  margin-left: 100%;
  margin-bottom: 2em;
}

/*https://benfrain.com/preventing-body-scroll-for-modals-in-ios/*/
html.modal-open,
body.modal-open {
  overflow: hidden;
  padding-right: var(--sidebar-width);
}

/*Happyforms checkbox*/
.happyforms-part .checkmark {
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  min-width: 21px;
  height: 21px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 16px;
  background-color: #e0e0e0;
}

.happyforms-part--email_integration.focus .checkmark,
.happyforms-part--email_integration .checkmark:hover {
  border: solid 2px var(--paletteColor1);
}

.happyforms-part--email_integration .checkmark {
  border-radius: 2px;
  position: relative;
  top: 0px;
}

.happyforms-part .option-label input:checked+.checkmark {
  background-color: var(--paletteColor1);
}

.happyforms-input-group__prefix {
  padding: 0 15px !important;
}

.happyforms-part .checkmark svg {
  display: none;
  width: 10px;
}

.happyforms-part input:checked+.checkmark svg {
  display: block;
  color: var(--paletteColor7);
}

/*Getwid toggle styles*/
.wp-block-getwid-toggle {
  background: #f5f5f5;
}

.wp-block-getwid-toggle__header a {
  color: var(--color);
}

.is-active .wp-block-getwid-toggle__header-wrapper {
  background: #e0e0e0;
}

.wp-block-getwid-toggle__content,
.wp-block-getwid-toggle .wp-block-getwid-toggle__header-wrapper,
.wp-block-getwid-toggle__row:first-child .wp-block-getwid-toggle__header-wrapper {
  border: none;
}

.wp-block-getwid-toggle__content {
  padding: 1em;
}

.wp-block-getwid-toggle__content .wp-block-getwid-table-of-contents.align>ol {
  padding: 0 !important;
}

.grecaptcha-badge {
  visibility: hidden;
}

.recaptcha-notice {
  color: #585d61;
  font-size: .7em;
}

.top-z {
  position: relative;
  z-index: 100;
}

.has-medium-font-size {
  font-size: 1.22em
}

.has-large-font-size {
  font-size: 1.5em
}

.has-huge-font-size,
.has-larger-font-size {
  font-size: 2em
}

.page-bottom-cta-and-apps {
  --block-max-width: var(--normal-container-max-width);
  --block-width: var(--container-width);
}

.wp-block-pullquote cite {
  font-style: normal;
  font-size: 0.85em;
}