/*
 * Theme Name: Business Deflect
 * Theme URI: https://business.deflect.ca/
 * Description: Twenty Twenty-Five Child Theme
 * Author: eQualitie
 * Author URI: https://equalit.ie
 * Template: twentytwentyfive
 * Version: 1.0.0-dev5
 * Text Domain: business-deflect
 */

header.wp-block-template-part {
    position: sticky;
    top: 0;
    z-index: 101;
}

@media (max-width: 782px) {
    .wp-columns-mobile-inverse .wp-block-column:first-child {
        order: 2;
    }
}

header.wp-block-template-part .wp-block-navigation .wp-block-navigation-item__content:hover {
    text-decoration: none;
    color: var(--wp--preset--color--accent-3);
}

@media (max-width: 820px) {
    header.wp-block-template-part .wp-block-navigation .wp-block-button__link {
        padding: 0.5rem 1rem;
    }
    header.wp-block-template-part .wp-block-site-logo {
        width: 76px;   
    }
    header.wp-block-template-part > .wp-block-group > .wp-block-group > .wp-block-group {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
}

.wp-block-navigation__responsive-container-open svg {
    display: none;
}

.wp-block-navigation__responsive-container-open {
    width: 32px;
	height: 26px;
    position: relative;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
}

.wp-block-navigation__responsive-container-open:after {
    content: '';
    display: block;
    position: absolute;
    top: 10px;
    width: 32px;
	height: 2px;
    background-color: #000;
}

.wp-block-navigation__responsive-container-open:focus {
    outline-offset: 2px;
}
.wp-block-navigation__responsive-container-close svg {
    width: 32px;
    height: 32px;
}

/* Hero Section */
.hero-section .wp-block-media-text>.wp-block-media-text__content {
    padding-left: 0;
}
@media (max-width: 600px) {
    .hero-section .wp-block-media-text>.wp-block-media-text__content {
        padding-right: 0;
    }
}

/* Carousel */
.wp-block-group.partners-carousel {
    position: relative;
}
.wp-block-group.swiper-wrapper.is-layout-grid {
    display: flex;
    gap: 0;
}
.wp-block-group.swiper-slide {
    max-width: initial !important;
    margin-top: initial !important;
}
.wp-block-group.partners-carousel .swiper-button-next {
    right: -50px;
}
.wp-block-group.partners-carousel .swiper-button-prev {
    left: -50px;
}
.wp-block-group.partners-carousel .swiper-button-next:after,
.wp-block-group.partners-carousel .swiper-button-prev:after {
    content: none;
}
.wp-block-group.partners-carousel .swiper-button-next svg,
.wp-block-group.partners-carousel .swiper-button-prev svg {
    fill: #ECECE2;
}
.wp-block-group.partners-carousel .swiper-button-next:hover svg,
.wp-block-group.partners-carousel .swiper-button-prev:hover svg {
    fill: #fff;
}
@media (max-width: 768px) {
    .wp-block-group.partners-carousel .swiper-button-next,
    .wp-block-group.partners-carousel .swiper-button-prev {
        display: none;
    }
}
@media (max-width: 600px) {
    .wp-block-group.partners-carousel .swiper-slide > .wp-block-group  {
        display: block;
    }
    .wp-block-group.partners-carousel .swiper-slide > .wp-block-group > .wp-block-image > img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 25px;
    }
}

/* List */
.deflect-price-group .wp-block-list.is-style-checkmark-list {
    padding-left: 0;
}

.deflect-price-group .wp-block-list.is-style-checkmark-list > li:not(:last-child) {
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 5px;
}

.deflect-price-group .wp-block-list.is-style-checkmark-list {
  list-style: none;
  padding-left: 0;
}

.deflect-price-group .wp-block-list.is-style-checkmark-list > li {
  position: relative;
  padding-left: 25px;
}

.deflect-price-group .wp-block-list.is-style-checkmark-list > li:before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(50% - 5px);
  width: 11px;
  height: 9px;
  background-image: url("data:image/svg+xml;utf8,<svg width='11' height='9' viewBox='0 0 11 9' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M3.62891 8.34375L0.386719 5.10156C0.191406 4.90625 0.191406 4.57422 0.386719 4.37891L1.08984 3.67578C1.28516 3.48047 1.59766 3.48047 1.79297 3.67578L4 5.86328L8.6875 1.17578C8.88281 0.980469 9.19531 0.980469 9.39062 1.17578L10.0938 1.87891C10.2891 2.07422 10.2891 2.40625 10.0938 2.60156L4.35156 8.34375C4.15625 8.53906 3.82422 8.53906 3.62891 8.34375Z' fill='%2303BB89'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}

.wp-block-columns.is-style-price {
    flex-wrap: wrap !important;
    justify-content: center;
}
.wp-block-columns.is-style-price > .wp-block-column {
    flex: 0 0 calc((100% - 60px) / 3);
}
.wp-block-columns.is-style-price .deflect-price-group {
    transition: all .5s;
}
.wp-block-columns.is-style-price .deflect-price-group:hover {
    background-color: #ecece266;
}

.wp-block-separator.is-style-slashes {
    color: #6D6D6D;
    background: linear-gradient(to left, currentColor calc(50% - 16px), transparent calc(50% - 16px), transparent calc(50% + 16px), currentColor calc(50% + 16px));
	background-color: transparent !important;
	border: none;
	height: 1px;
	overflow: visible;
	position: relative;
}
.wp-block-separator.is-style-slashes:before,
.wp-block-separator.is-style-slashes:after {
    background: currentColor;
	content: "";
	display: block;
	height: 1.6rem;
	position: absolute;
	top: calc(50% - 0.8rem);
	transform: rotate(22.5deg);
	width: 1px;
}
.wp-block-separator.is-style-slashes:before {
	left: calc(50% - 80px);
}
.wp-block-separator.is-style-slashes:after {
	right: calc(50% - 80px);
}