.garnish .container {
    background-color: transparent !important;
}

:root {
    --swiper-navigation-sides-offset: 10px;
    --section-spacing-vert: 6rem;
    --swiper-pagination-color: var(--primary-color);
    --search-filter-input-border-focused-color: var(--gravitas-grey);
    --search-filter-input-border-focus-color: var(--bullet-active);
    --search-filter-input-border-color: var(--cp-border-color);
    --search-filter-input-background-color: #fff;
    --search-filter-input-selection-background-color: var(--btn-bgcolor);
    --search-filter-input-selection-color: #fff;
    --search-icon: url('data:image/svg+xml,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h24v24H0z" fill="none"></path><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" fill="%23bbb"></path></svg>');
}

body {
    padding-top: var(--cp-header-height) !important;
}

/* Search and filter plugin style overrides */
.search-filter-component-combobox-base__listbox-option--selected,
.search-filter-style--search-autocomplete>li:hover {
    background: var(--btn-bgcolor);
    color: #fff;
    cursor: pointer;
}

.search-filter-input-button:not(.is-disabled):not(.search-filter-input-button--is-selected) {
    --search-filter-input-color: var(--btn-bgcolor);
    --search-filter-input-background-color: var(--btn-secondary-bgcolor);
    --search-filter-input-border-hover-color: var(--btn-bgcolor);
    --search-filter-input-border-color: var(--btn-bgcolor);
}

.search-filter-style--control-load_more button {
    --search-filter-input-border-color: var(--btn-bgcolor);
    font-weight: var(--font-semibold);
    color: var(--btn-bgcolor);
    background-color: var(--btn-secondary-bgcolor);
    border-radius: 0;
}

.search-filter-input-button:hover:not(.is-disabled):not(.search-filter-input-button--is-selected),
.search-filter-style--control-load_more button:hover {
    --search-filter-input-color: #fff;
    --search-filter-input-background-color: var(--cp-primary-color-darker);
    --search-filter-input-border-hover-color: var(--cp-primary-color-darker);
}

.search-container+.search-filter-query {
    margin-top: 2rem;
}

.search-filter-query>section.section.partner-section {
    padding-top: 2.25rem;
}

.search-filter-input-text {
    border-radius: 0;
}
/* Search and filter plugin v2.5 style overrides */
.search-filter-query-posts {
    position: relative;
}
.search-filter-scroll-loading {
    position: absolute;
    left: calc(50% - 15px);
    margin: -10px 10px 10px;
    z-index: 10;
}
/* .search-container .searchandfilter li:not(.sf-field-search),
.filters-container .sf-field-search {
    display: none;
} */
.searchandfilter > ul > ul {
    padding-left: 5px;
}
.searchandfilter > ul,
.searchandfilter >ul> li {
    padding: 0;
}
.filters-container .sf-field-search {
    padding: 20px 0;
}
.searchandfilter input,
.searchandfilter select,
.searchandfilter label {
    font-size: 1rem;
    font-weight: 400;
    border-radius: 0;
    accent-color: var(--cp-primary-color);
}
.sf-empty-filter {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-style: italic;
    line-height: 1.3;
}
.searchandfilter > ul > li > ul > li {
    display: flex;
    align-items: flex-start;
    padding-top: 3px;
    padding-bottom: 3px;
}
.searchandfilter > ul > li > ul > li .sf-input-checkbox {
    margin-top: 5px;
}
li[data-sf-field-input-type="checkbox"] {
   display: flex;
}
.searchandfilter .sf-count {
    font-size: 14px;
}
.sf-field-search label {
    width: 100%;
}
.sf-field-search .sf-input-text {
    padding: 7px 12px 7px 40px;
    font-size: 18px;
    font-weight: 400;
    width: 100%;
    border: 1px solid #bbb;
    background: #fff var(--search-icon)  no-repeat 7px center /27px;
}
.sf-field-search .sf-input-text:focus,
.sf-field-search .sf-input-text:focus-visible {
    border-radius: 0;
    border-width: 1px;
}
@media (min-width: 1201px) {
    .garnish .container {
        max-width: 1600px !important;
        width: 90% !important;
    }
}

.hide-if-filtered {
    display: none;
}

.card-img-bg {
    background-color: var(--bg-clay-color);
}

.container.partner-list-container {
    width: 100%;
    max-width: var(--container-max-width);
}

.hero-wrapper .container {
    padding-top: 40px;
}
.single .hero-section+section:not(.super-compact)>.container {
    padding-top: 4rem;
}
.flex-row {
    display: flex;
}

.main-container {
    width: 100%;
}


.filters-column {
    display: flex;
    flex-direction: column;
    clear: both;
    grid-row: span 2;
    width: 100%;
    max-width: 100%;
    padding-top: 4rem;
}

.filters-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 20px;
    border: 1px solid #D2D5D9;
    background-color: #f9f9f9;
}

.filters-container h2 {
    margin-bottom: 0;
    font-size: 24px;
    font-weight: 700;
}

.filter-container {
    margin-top: 1.5rem;
}
.filter-container .search-filter-field {
    margin-top: 1rem;
}

.filters-container .search-filter-reset {
    margin-bottom: 1rem;
}
.partner-list-container:not(.list-filtered) .search-filter-reset {
    display: none;
}
.filters-container .chosen-container .chosen-results {
    padding-top: 10px;
}
.filters-container .chosen-container a:hover {
    color: var(--btn-bgcolor);
}
.filters-container .chosen-container {
    width: 100%!important;
}
.filters-container .sf-field-post-meta-cp_tp_company_cp_tp_built > label {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.filters-container .chosen-container {
    margin-bottom: 1rem;
}
.filters-container .sf-field-post-meta-cp_tp_company_cp_tp_built select {
    width: 100%;
    padding: 4px;
}
.filters-container .chosen-container-single.chosen-container-active,
.filters-container .chosen-container-single .chosen-single {
    background: #fff;
    border-radius: 0;
    box-shadow: none;
}
.filters-container .chosen-container-single .chosen-single > span {
    padding: 3px 0;
    font-size: 16px;
}
.filters-container .chosen-container-single .chosen-single > div {
    padding-top: 3px;
}
.filters-container .chosen-container .chosen-results li.highlighted {
    background: var(--btn-bgcolor);
}
.filters-container input.chosen-search-input:focus {
    border-color: #000 !important;
}
/* 
.filter-container ul {
    list-style-image: none;
    list-style: none;
    margin-left: 0;
    padding-left: 0;
} */

/* Make checkboxes larger and modern */
input[type=checkbox]:focus {
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.checkbox-inline {
    display: flex;
    align-items: flex-start;
    transition: all 0.2s ease-in-out;
    margin-left: 0px !important;
    font-size: 16px;
}

.checkbox-inline input[type="checkbox"] {
    margin-top: 6px;
    margin-right: 10px;
    accent-color: #ee0c5d;
    position: relative;
}

.checkbox-inline:hover {}

.filter-title h4 {
    padding: 0;
    margin: 0;
}
.filter-title h3,
.searchandfilter h4 {
    font-size: 18px!important;
    line-height: 1;
    margin: 0;
    white-space: nowrap;
}
.searchandfilter h4 {
    position: relative;
    margin: 8px 0 12px;
    padding: 5px 0;
    cursor: pointer;
}

.filter-title:hover h3,
.searchandfilter h4:hover {
    color: var(--btn-bgcolor);
}
.searchandfilter .expanded h4 + ul,
.searchandfilter .expanded h4 + label {
    max-height: 2000px;
    transition: max-height 0.2s ease;
}
.searchandfilter .expanded h4 + ul,
.searchandfilter .expanded h4 + label {
    display: block;
}
.filter-title.collapse {
    transition: width 0.2s ease-in;
}
.filter-title.collapsing,
.filter-title.collapse:not(.in) {
    width: 100%!important;
    opacity: 0;
    transition: opacity 0.2s ease-in;
}
.filter-title.collapsing .searchandfilter h4::after,
.filter-title.collapse:not(.in) .searchandfilter h4::after {
    display: none;
}
.searchandfilter li:not(.expanded) h4+ ul,
.searchandfilter li:not(.expanded) h4+ label {
    max-height: 0;
    overflow: hidden;
    margin: 0;
}
.searchandfilter>ul>li[data-sf-combobox="1"] label.collapse:not(.in) {
    /* display: none; */
}
.searchandfilter h4:after,
.filter-title .expand-icon {
    position: relative;
    display: flex;
    width: 16px;
    height: 16px;
    top: 2px;
    flex-shrink: 0;
    font-weight: 300;
    background-color: #41273C;
    border-radius: 100%;
    transform: rotate(0deg);
    transition: 0.2s transform;
    color: #fff;
    text-align: center;
    /* background-image: url('plus.svg');
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18"><polygon points="14 8.5 9.5 8.5 9.5 4 8.5 4 8.5 8.5 4 8.5 4 9.5 8.5 9.5 8.5 14 9.5 14 9.5 9.5 14 9.5 14 8.5" fill="%23fff" /></svg>'); */
}
.searchandfilter .expanded h4:after,
.filter-title>button:not(.collapsed) .expand-icon {
    transform: rotate(180deg);
}

.searchandfilter h4:after {
    position: absolute;
    display: block;
    top: 7px;
    right: 0;
}
.searchandfilter h4:after,
.filter-title .expand-icon::after {
    height: 16px;
    width: 16px;
}

.filter-title>button:not(.collapsed) .expand-icon::after {}
.searchandfilter h4:after,
.filter-title .expand-icon.plus::after {
    content: "+";
    font-size: 23px;
    line-height: 0.4;
    transition: transform 0.2s;
}

.searchandfilter .expanded h4:after,
.filter-title>button:not(.collapsed) .expand-icon.plus::after {
    content: '-';
}

.filter-title .expand-icon.arrow::after {
    content: "";
    background: transparent url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 19' xml:space='preserve'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M1.6,17.7l8-8l-8-8'/%3E%3C/svg%3E") no-repeat 5px 3px;
    background-size: 7px;
    transform: rotate(90deg);
}

.filter-collapse-btn,
.filter-title>button {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    column-gap: 5%;
    padding: 0.5rem 0;
}
.filter-collapse-btn,
.filter-title>button,
.filter-title>button:active,
.filter-title>button:hover,
.filter-title>button:focus {
    text-align: left;
    appearance: none !important;
    -webkit-appearance: none !important;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background-color: transparent;
}
.searchandfilter h4:hover:after,
.filter-collapse-btn:hover .expand-icon,
.filter-collapse-btn:focus .expand-icon,
.filter-collapse-btn:active .expand-icon,
.filter-title>button:hover .expand-icon,
.filter-title>button:focus .expand-icon,
.filter-title>button:active .expand-icon {
    background-color: var(--btn-bgcolor);
}


.search-container>input[type="text"] {
    padding: 14px 12px;
    width: 100%;
    font-size: 18px;
    margin-bottom: 33px;
    border: 1px solid var(--cp-border-color);
}

.search-container>input[type="text"]::placeholder {
    font-style: italic;
}

.search-filter-style--control-load_more {
    grid-column: 1 / -1;
}

.search-filter-style--control-load_more:not(:last-child) {
    display: none;
}

.search-filter-style--control-load_more button {
    margin-left: auto;
    margin-right: auto !important;
}
.search-filter-reset {
    display: inline-block;
    line-height: 1;
    padding: 0.5rem 16px .75rem;
    background-color: var(--btn-secondary-bgcolor);
    border: 1px solid var(--btn-bgcolor);
}
.search-filter-reset:hover,
.search-filter-reset:active {
    text-decoration: none;
    color: #fff;
    background-color: var(--primary-darker-color);
    border-color: var(--primary-darker-color);
}
.search-filter-reset,
.filters-column button {
    font-size: 18px;
    font-weight: 500;
    border-radius: 0;
}

/* Partners tiles area */
section.section.partner-section {
    padding-top: 2rem;
    padding-bottom: 2.25rem;
}

.partner-list-container h2.section-title {
    font-size: 24px;
    font-weight: 700;
}

.section-intro p {
    font-size: 18px;
}

.section-intro {
    margin-bottom: 3rem;
}

.bg-grey-gradient {
    background: linear-gradient(180deg, #FFF 35.33%, #F3F3F3 100%);
}

.list-results-found {
    margin-bottom: 1rem;
    font-size: 90%;
}

.card-deck.partner-list-cards .card {
    padding: 16px 16px 20px;
}

.card.starred:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: var(--cp-primary-color) url('/wp-content/themes/checkpoint-theme-v2/images/icons/star.svg') no-repeat center;
}

.partner-list-cards .card .btn-link-cta:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.card-image.logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 136px;
    padding: 20px;
    /*  background-color: #efefef; */
}

.card-image.logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.cp-content-set.cp-img-text h5 {
    margin-bottom: 1.25rem;
    color: #222;
}

@supports (display: grid) {
    .partner-logos {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-gap: 15px;
        justify-content: space-between;
    }

    .partner-logos div {
        text-align: center;
        width: auto;
    }
}

#partner-list .btn-sort-list {
    position: relative;
    top: -20px;
    left: -20px;
    min-width: 0;
    margin: 0;
    padding: 0.75rem 1.5rem;
    border-radius: 6px 0 6px;
    background-color: #f0f0f0 !important;
    text-transform: uppercase;
}

.btn-sort-list,
.btn-sort-list:hover,
.btn-sort-list:focus,
.btn-sort-list:visited {
    color: #222222 !important;
}

section.hero-section:not(.partner-single) .container {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

section.hero-section.partner-single .container {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

section.hero-section .container p {
    margin-bottom: 1rem;
}

.single .hero-wrapper .card-deck {
    align-content: center;
}

.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    float: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 2;
}

.hero-back-btn a {
    display: flex;
    align-items: center;
    column-gap: 4px;
}

.hero-back-btn a:not(:hover) {
    color: #333;
}

.partner-single {
    background: #f8f8f8 url(/wp-content/uploads/inner-page-integration-page-desktop-light.png) no-repeat right bottom;

}

.hero-back-btn a:before {
    content: "";
    width: 14px;
    height: 14px;
    background: transparent url('data:image/svg+xml,<svg width="10" height="16" viewBox="0 0 10 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.27344 2.2625L3.53594 8L9.27344 13.7375L7.49844 15.5L-0.00156212 8L7.49844 0.5L9.27344 2.2625Z" fill="%23333"/></svg>') no-repeat left center;
    display: block;
}

.hero-back-btn a:hover::before {
    background-image: url('data:image/svg+xml,<svg width="10" height="16" viewBox="0 0 10 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.27344 2.2625L3.53594 8L9.27344 13.7375L7.49844 15.5L-0.00156212 8L7.49844 0.5L9.27344 2.2625Z" fill="%23e40c5b"/></svg>')
}

.tech-hero {
    background: #04000f url('/wp-content/uploads/bg-hero-tech-partners-mobile.png') no-repeat right top;
}


.tech-hero h1 {
    font-size: 50px !important;
    margin-bottom: 25px !important;
}

.tech-hero p {
    font-size: 21px;
}

.btn-primary,
.btn-secondary {
    white-space: normal;
}

.single .hero-section h1 {
    margin-bottom: 1rem;
}

.single .hero-section h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-logo {
    max-width: 300px;
    margin: 2rem 0;
}

.main-content .partner-desc,
.main-content .partner-desc p {
    font-size: 18px;
}

/* Individual integration page */

.screenshots {
    margin-bottom: 2rem;
}

.screenshots figcaption {
    padding-top: 1rem;
    text-align: center;
    font-size: 90%;
    color: #421f42;
}

.swiper.screenshot-carousel {
    max-width: 95%;
    padding: 1px;
}

.screenshots .swiper-button-next:after,
.screenshots .swiper-button-prev:after {
    content: "";
}

.product-screenshot.swiper-slide {
    box-sizing: border-box;
    padding: 1px;
    text-align: center;
}

.product-screenshot figure img,
.product-screenshot.swiper-slide img {
    border: 1px solid var(--cp-border-color);
}

.swiper-navigation-disabled~.swiper-button-next,
.swiper-navigation-disabled~.swiper-button-prev {
    display: none;
}

.screenshot-carousel .swiper-pagination {
    position: relative;
}

ul.tag-list {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

ul.tag-list li {
    display: inline-block;
    padding: 2px 10px 4px;
    font-size: 14px;
    background: var(--bg-clay-color);
    margin-right: 10px;
    margin-bottom: 5px;
    color: #41273c;
    font-weight: 400;
}

.position-relative {
    position: relative;
    overflow: unset;
}

.sidebar {
    width: 100%;
    padding: 2rem !important;
    background-color: #fff;
    border: 1px solid var(--cp-border-color);
}

.sidebar.stuck {
    position: fixed;
    top: var(--cp-header-height);
    z-index: 12;
}

.sidebar h2 {
    margin-bottom: 1.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.sidebar .card-title,
.sidebar h3 {
    font-size: 1.3rem;
}

.hero-section .sidebar .cta-wrapper {
    margin-top: 1rem;
}

.sidebar-item {
    margin-bottom: 1.25rem;
}

.sidebar .tp-company a {
    text-decoration: underline;
}

.sticky-sidebar {
    top: var(--cp-header-height) !important;
    position: -webkit-sticky;
    position: sticky;
    z-index: 100;
}

.resource-list>li {
    margin-bottom: 0.5rem;
}

.resource-list>li>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    font-weight: 500;
    color: var(--text-color);
    background-color: var(--bg-light-grey-color);
    border: 1px solid var(--cp-border-color);
}

.resource-list>li>a:hover {
    color: #fff;
    text-decoration: none;
    background-color: var(--cp-primary-color);
}

a.link-external:after {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    background: transparent url('/wp-content/themes/checkpoint-theme-v2/images/icons/link-ext.svg') no-repeat center;
}

a.link-external:hover:after {
    filter: saturate(0) brightness(100%) invert(100%);
}

.entry-content .row {
    margin-left: 0;
    margin-right: 0;
}

#YouTubeModalDialog {
    max-width: 1000px;
    width: 90% !important;
    padding: 0 10px 10px;
    background-image: none;
    background-color: var(--bg-clay-color);
}

#YouTubeModalDialog iframe {
    margin: 0 !important;
}

.YouTubeModal .modal-header {
    flex-direction: row-reverse;
    align-items: center;
}

.YouTubeModal h4.modal-title {
    font-size: 26px;
}

.modal-header .close {
    transform: scale(1.25);
}

.join-partner-ecosystem {
    background-color: rgb(2, 0, 1);
}

.join-partner-ecosystem .bg-img-mask::after {
    background: linear-gradient(90deg, rgb(2, 0, 1) 45%, transparent 60%);
}

@media (min-width: 1200px) {
    .filter-container {
        width: 250px;
    }
}
@media (min-width: 1024px) {
    .filters-container {
        max-width: 300px;
        padding: 20px 24px;
    }
}

@media (min-width: 992px) {
    
    .list-columns {
        display: grid;
        grid-template-columns: auto 2fr;
        column-gap: 3rem;
        row-gap: 2rem;
    }
    section.section.partner-section {
        padding-top: 4rem;
    }
    .main-container.filter-column-on .search-container {
        height: 43px;
        margin-bottom: 2rem;
    }
    .filters-container .sf-field-search {
        position: absolute;
        padding: 0;
        right: 0;
        left: auto;
        width: 73%;
        margin-top: -85px;
    }
    .filters-container>.filter-title>button.filter-collapse-btn.collapsed .expand-icon {
        margin-left: -1px;
    }
    .filter-title .expand-icon.arrow::after {
        transform: rotate(0deg);
    }
    .filters-container .collapsed h2 {
        display: none;
    }
    .filters-column {
        margin-bottom: 2rem;
    }
    .filters-container {
        width: max-content;
        /* position: relative; */
    }

}

@media (max-width: 767.98px) {

    .filters-column {
        width: 100%;
    }

    .hero-content-wrapper+.card-deck {
        margin-top: 0 !important;
    }

    .partner-single {
        background: #f8f8f8 url(/wp-content/uploads/inner-page-integration-page-mobile-light.png) no-repeat right top / 100% 100%;

    }

    .integration-details {
        margin-top: var(--row-gutter);
        padding-left: 0 !important;
    }

    .swiper-pagination:not(.swiper-pagination-lock) {
        padding-top: 1rem;
    }
}

@media (min-width: 768px) {

    .tech-hero {
        background-image: url('/wp-content/uploads/bg-hero-tech-partners.jpg');
        background-size: cover;
    }
    .tech-hero h1 {
        font-size: 60px !important;
    }
    section.hero-section.partner-single .container {
        padding-bottom: 2rem;
    }
    
    .single .hero-section+section:not(.super-compact)>.container {
        padding-top: 5rem;
    }
    .container .carousel-container {
        padding: 0 30px;
        margin-right: -30px;
        max-width: 100%;
    }

}


@media (max-width: 480px) {
    .card-grid-row {
        grid-template-columns: 1fr;
    }
}