
/* Typography tweaks */

code {
    display: inline;
    padding: unset;
    margin-bottom: unset;
    color: black;
    padding: 2px 6px;
}

.wp-block-code code {
    white-space: pre;
}

pre code {
    display: block;
}

.post-content pre[class*=language-] {
    margin: 1.5em 0;
}

.post table td, .post table th {
    text-align: left;
}

.post table td.has-text-align-center, .post table th.has-text-align-center {
    text-align: center;
}

.row .col.section-title span {
    color: #757575;
}

html body .row .col.section-title h1 {
    font-size: 42px;
}

.post .MJXc-display {
    display: inline-block;
    margin: 0;
}

h2:not(:first-child), h3:not(:first-child), h4:not(:first-child), h5:not(:first-child), h6:not(:first-child),
body.single .post .content-inner>h2, 
body.single .post .content-inner>h3, 
body.single .post .content-inner>h4, 
body.single .post .content-inner>h5, 
body.single .post .content-inner>h6 {
    margin-top: 1.2em;
}

h2, h3, h4, h5, h6,
body.single .post .content-inner>h2, 
body.single .post .content-inner>h3, 
body.single .post .content-inner>h4, 
body.single .post .content-inner>h5,
body.single .post .content-inner>h6  {
    margin-bottom: .8em;
}

.nectar_hook_global_section_footer h2 {
    max-width: unset;
    margin-top: 1em;
}

#single-below-header, .post-header,
.post .post-meta a {
    color: #797676;
}

@media only screen and (max-width: 690px) {
    .container .post-header {
        font-size: 18px;
    }
}


/* PublishPress Author Stuff */

body.single .heading-title[data-header-style="default_minimal"] #single-below-header span.meta-author span {
    line-height: 1.5em;
}

.ppma-author-field-meta i {
    top: unset;
}

.ppma-page-content.grid .ppma-grid-post-title {
    margin-top: 44px;
}

.ppma-author-pages .post .post-meta {
    border-right: none;
    position: unset;
}

.ppma-author-pages .ppma-page-content.list .ppma-article {
    margin: 0 0 40px;
}

.ppma-article-pagination {
    margin-bottom: 3em;
}

.ppma-page-content.list .article-body {
    padding-left: 0;
}

.ppma-author-pages {
    padding-top: 35px;
}

.page-id-1571 h2 {
    display: none;
}

.ppma-author-category-wrap .pp-author-boxes-avatar-details .pp-author-boxes-description {
    font-size: .8em;
    line-height: 1.6em;
    margin: 10px 0 0;
}

.pp-multiple-authors-boxes-wrapper {
    margin-top: 2em;
}


/* Tribe Events */

.tribe-events-c-subscribe-dropdown__list-item,
.tribe-events-c-messages__message-list-item,
.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-next,
.tribe-events-single .tribe-events-sub-nav .tribe-events-nav-previous {
	list-style: none;
}

.tribe-events-widget-events-list__view-more {
    display: none;
}

body[data-form-submit="regular"] button[type=submit].tribe-events-c-search__button {
    font-size: 14px;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    padding-bottom: 40px !important;
}

.tribe-events-content a, .tribe-events-meta-group a, .tribe-events-event-meta a:visited, .tribe-events-event-meta a {
    border-bottom: unset;
    color: #0085b8;
    transition: color .3s;
}

.tribe-events-content a:hover, .tribe-events-meta-group a:hover {
    border-bottom: unset;
    color: inherit;
}

/* Search/Filter */

.searchandfilter input[type='text'], .searchandfilter input[type='email'], .searchandfilter input[type='search'] {
    min-height: 40px;
    height: 40px;
}
.searchandfilter .sf-field-search label {
    display: block;
}
.searchandfilter .chosen-container {
    width: 100% !important;
    max-width: 100%;
    display: inline-block;
}
.searchandfilter .chosen-container a:hover {
    text-decoration: none;
}
.searchandfilter .chosen-container.chosen-container-single .chosen-single {
    font-weight: 400;
    height: 40px;
    line-height: 40px;
}
.searchandfilter .chosen-container.chosen-container-single .chosen-single div b {
    background-position-y: 10px;
}
.searchandfilter .chosen-container .chosen-results li {
    line-height: 100%;
    padding: 15px 6px;
}
.searchandfilter .chosen-container .chosen-drop {
    z-index: 6;
}
.searchandfilter .chosen-container .chosen-drop .chosen-results .active-result {
    display: flex;
    align-items: center;
}
.searchandfilter ul li {
    padding: 0.5em 0;
    line-height: 100%;
}
@media (min-width: 1200px) {
    .searchandfilter ul li {
        margin-bottom: 20px;
        height: 40px;
   }
}
.searchandfilter > ul {
    height: 100%;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
}
.searchandfilter > ul > *:not(:last-of-type) {
    flex-grow: 1;
    margin-right: 30px;
}
.searchandfilter > ul > *:last-of-type {
    min-width: 80px;
    margin-right: 0;
}
@media (max-width: 599px) {
    .searchandfilter > ul > li .sf-input-select {
        width: 100%;
   }
}
.searchandfilter > ul select.sf-input-select {
    min-width: 150px;
}
@media (max-width: 999px) {
    .searchandfilter > ul select.sf-input-select {
        height: 35px;
   }
}
@media (min-width: 1000px) {
    .searchandfilter > ul select.sf-input-select {
        visibility: hidden;
   }
}
.searchandfilter .search-filter-reset {
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    border: 2px solid black;
    background-color: white;
    color: black;
    width: 100%;
    padding: 10px 20px;
}
.searchandfilter[data-sf-form-id='8151'] > ul > *:not(:last-of-type) {
    margin-right: 12px;
}
@media (max-width: 599px) {
    .searchandfilter > ul > li .sf-input-select {
        width: 100%;
        background: rgba(230, 230, 230, 0.5);
        border: 1px solid gray;
        border-radius: 5px;
        padding-right: 3px;
        color: black;
        height: 40px;
   }
}

/* Solutions Provider listing */

.sol-providers {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 20px; /* Spacing between grid items */
    padding: 20px 0;
}

@media (max-width: 768px) {
    .sol-providers {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens */
    }
}
.sol-providers-item {
    border: 1px solid #ccc;
    border-radius: 5px;
    background: white;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100px; /* Adjust as needed */
}
.sol-providers-item__figure {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center the image vertically within the figure */
    height: 100%; /* Allow the figure to take remaining height */
}
.sol-providers-item__image {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    width: 100%;
}
.sol-providers-item__title {
    display: block;
    margin: 10px 0 0;
    font-size: 22px;
}

/* Solutions Provider single */

.sol-provider-post-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    margin-bottom: 60px;
}

.sol-provider-left-col {
    flex: 1;
}

.sol-provider-right-col {
    width: 350px;
}

@media (max-width: 768px) {
    .sol-provider-post-wrapper {
      flex-direction: column; /* Stack items vertically */
    }
    .sol-provider-right-col {
        width: 100%;
    }
}

.main-content .sol-provider-logo {
    margin-bottom: 20px;
    max-width: 250px;
    width: 100%;
}

.sol-provider-metabox {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    max-width: 800px;
    font-size: .8em;
    line-height: 1.8em;
    text-align: left;
}

.sol-provider-metabox div {
    margin-bottom: 10px;
}

.sol-provider-social {
    margin: 20px 0 0;
}
.sol-provider-social a {
    font-size: 24px;
    margin-right: 10px;
}

.sol-provider-post-wrapper h1 {
    margin: 15px 0 60px;
}


/* Projects listing */

.os-projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px; /* Spacing between grid items */
    padding: 20px 0;
}

@media (max-width: 768px) {
    .os-projects {
        grid-template-columns: repeat(1, 1fr);
    }
}
.os-projects-item {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    text-align: left;
    min-height: 100px; /* Adjust as needed */
}
.os-projects-item__figure {
    float: right;
    max-width: 120px;
    height: auto;
    margin: 0 0 10px 10px;
}
.os-projects-item__figure-link {
}
.os-projects-item__image {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    width: 100%;
}
.os-projects-item__title {
}

.repo-link {
    text-transform: uppercase;
    font-size: .8em;
    margin-right: 25px;
    display: inline-block;
}
.repo-link::after {
    content: ">";
    margin-left: 5px;
}


/* User Groups listing */

.user-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; /* Spacing between grid items */
    padding: 20px 0;
}

@media (max-width: 768px) {
    .user-groups {
        grid-template-columns: repeat(1, 1fr);
    }
}

.user-groups-item {
    border: 1px solid #ccc;
    border-radius: 5px;
    background: white;
    padding: 0 0 15px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: left;
    min-height: 100px; /* Adjust as needed */
}
.user-groups-item__image {
    height: auto;
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.user-groups-item__title {
    display: block;
    margin: 10px 0 0;
    font-size: 22px;
}
.user-groups-item .user-groups-item__title {
    padding: 0 15px;
    margin-top: 0;
}
.user-groups-item__region {
    padding: 0 15px;
}


.social-share {
    margin: 70px 0 0;
}

.social-share__title {
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.15em;
    color: #747474;
    text-transform: uppercase;
}

.social-share__wrapper a {
    display: inline-block;
}

.social-share__wrapper a svg {
    height: 30px;
    width: auto;
    color: #000;
}
.social-share__wrapper a:not(:last-child) {
    margin-right: 15px;
}

body.category .subheader {
    display: none;
}

.result:first-of-type .inner-wrap {
  background-color: #e7fafe !important;
  border: 1px solid #c0d8dd !important;
}

.result:first-of-type .inner-wrap .title a:after {
    display: inline-block !important;
    font-family: 'FontAwesome';
    content: "\f08e" !important;
    font-weight: 600;
    margin-left: 5px;
}

#search-outer #search input[type=text] {
    text-transform: unset !important;
}

.osano-cm-dialog {
    background: #f4f8fb;
    border-top: 1px solid #e0f1fb;
}