/*
Theme Name: Shiner Chamber of Commerce
Theme URI: https://sitenerdy.com/suku/
Author: Top-Hat Tech & SiteNerdy.com
Author URI: https://top-hat.tech
Description: Theme modified by Top-Hat Tech from the Suku theme by SiteNerdy.com
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 5.7
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: suku
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, blog, portfolio, news
*/

/* CUSTOM CSS */
.invert-logo {
	filter: invert(100%);
}

:where(.wp-site-blocks)>* {
    margin: 0;
}

.pos-r {
    position: relative;
    z-index: 0;
}

.pos-a {
    position: absolute;
}

.pos-a.send-backward {
    z-index: -1;
}

.has-box-shadow {
    box-shadow: 0 53px 75px 0 rgba(0, 0, 0, 0.08);
}

.hero-section {
    position: relative;
}

.hero-img-col .pos-a {
    top: -70px;
    right: -30px;
    max-width: 145px;
    margin: 0;
}

.stats-section {
    position: relative;
    margin-top: -110px;
}

.tablet-up-absolute {
    position: relative;
}

.show-tablet-up {
    display: none;
}

@media screen and (min-width: 768px) {
    .show-tablet-up {
        display: inline-block;
    }

    .pos-a.img-right {
        top: 0;
        right: -53%;
    }

    .tablet-up-absolute {
        position: absolute;
    }
}

@media screen and (min-width: 992px) {
    .hero-img-col .pos-a {
        right: -60px;
    }
}

@media screen and (min-width: 1601px) {
    .hero-img-col {
        position: absolute;
        top: -100px;
        right: -200px;
        max-width: 495px;
    }
}

@media screen and (max-width: 1600px) {
    .hero-section {
        margin-top: 200px !important;
        margin-bottom: 200px !important;
    }

    .hero-section>.wp-block-column {
        flex-basis: 50% !important;
    }

    .pos-a.hero-img-col {
        position: relative;
        margin-right: 50px;
    }
}

@media screen and (max-width: 1500px) {


    .pos-a.hero-img-col {
        max-width: 500px;
        margin-left: 50px;
        margin-top: 120px;
    }
}

.img-col img {
    width: 100%;
}

.img-col .overlay-text {
    bottom: 30px;
    right: 15px;
    max-width: 175px;
}

.homepage-cta-section {
    position: relative;
    z-index: 1;
}

.homepage-cta-section .content-box {
    position: relative;
    margin-bottom: -350px;
    top: -200px;
}

/* REVIEWS SECTION */
@media screen and (max-width: 1500px) {

    .reviews-section .wp-block-column .wp-block-spacer {
        height: 0 !important;
    }

    .reviews-section .wp-block-column p+.wp-block-image {
        margin-top: 20px;
    }
}

/* QUERY LOOP POST */
.wp-block-query .wp-block-post-featured-image {
    border-radius: 10px;
    overflow: hidden;
}

.wp-block-query .wp-block-post-featured-image img {
    height: 350px;
    object-fit: cover;
}

/* PAGINATON */
.wp-block-query-pagination>.wp-block-query-pagination-next,
.wp-block-query-pagination>.wp-block-query-pagination-numbers,
.wp-block-query-pagination>.wp-block-query-pagination-previous {
    margin-bottom: 0;
    margin-right: 0;
}

.wp-block-query-pagination-numbers {
    display: flex;
    gap: 24px;
    margin-right: 0;
    margin-bottom: 0;
}

.page-numbers.current {
    color: var(--wp--preset--color--custom-primary-button);
}

/* SIDEBAR */
.sidebar-recent-posts.wp-block-latest-posts li {
    margin-bottom: 24px;
}

.sidebar-recent-posts .wp-block-latest-posts__featured-image {
    width: 123px;
    float: left;
    margin-right: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.sidebar-recent-posts .wp-block-latest-posts__featured-image a {
    display: block;
}

.sidebar-recent-posts .wp-block-latest-posts__featured-image img {
    width: 100%;
    display: block;
}

.sidebar-recent-posts .wp-block-latest-posts__post-title {
    display: block;
    overflow: hidden;
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
}

.sidebar-recent-posts .wp-block-latest-posts__post-date {
    display: block;
    overflow: hidden;
    color: var(--wp--preset--color--custom-primary-button);
    font-size: 16px;
}

.sidebar-recent-posts .wp-block-latest-posts__post-excerpt {
    display: block;
    overflow: hidden;
}

/* SINGLE POST / PAGE */
.wp-block-post-author__name {
    font-size: 20px;
    color: var(--wp--preset--color--custom-primary-button);
}

.single .wp-block-post-author {
    position: relative;
}

.single .wp-block-post-author__avatar {
    position: absolute;
    top: -35px;
    left: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
}

.single .wp-block-post-author__avatar img {
    width: 100%;
    height: 100%;
}

.single .wp-block-post-author .wp-block-post-author__avatar+.wp-block-post-author__content {
    padding-left: 125px;
}

.single .wp-block-post-author .wp-block-post-author__avatar+.wp-block-post-author__content .wp-block-post-author__name {
    font-size: 24px;
    color: var(--wp--preset--color--custom-footer-background);
}

.wp-block-post-comments-form {
    margin-bottom: 160px;
}

.wp-block-post-content ul,
.wp-block-post-content ol {
    margin-bottom: 24px;
}

.wp-block-post-content li {
    margin-bottom: 20px;
}

.wp-block-post-content li>ul {
    margin-top: 1rem;
}

.footer-top-col .wp-block-navigation .wp-block-navigation-item__label {
    line-height: 1.5;
}

.review-type-2 .wp-block-image {
    margin-top: 24px;
}

@media screen and (max-width: 1500px) {

    .review-type-1,
    .review-type-2 {
        margin-bottom: 2rem;
    }

    .review-type-2 {
        display: grid;
    }

    .review-type-2>* {
        order: 2;
    }

    .review-type-2 .wp-block-image {
        order: 1;
    }

    .footer-top-col {
        margin-bottom: 2rem !important;
    }

    .footer-top-col .wp-block-heading {
        margin-bottom: 20px !important;
    }

    .footer-bottom-col-right p {
        text-align: left;
    }
}

/* SITE TOP HEADER */
/* Sticky */
.site-top-header {
  position: fixed;
  width: 100%;
  z-index: 800;
  max-height: 2rem;
  -webkit-transition: max-height 1s; 
  -moz-transition: max-height 1s; 
  -ms-transition: max-height 1s; 
  -o-transition: max-height 1s; 
  transition: max-height 1s;
}

.site-top-header-scrolled {
  position: fixed;
  width: 100%;
  z-index: 800;
  max-height: 8rem;
}

@media (max-width: 1500px) {
  .site-top-header {
    position: fixed;
    width: 100%;
    z-index: 800;
    max-height: 6rem;
  }
}

/* Logo */
.site-top-header-logo {
  max-width: 200px;
  -webkit-transition: max-width 1s, padding-top 1s ease-out; 
  -moz-transition: max-width 1s, padding-top 1s ease-out; 
  -ms-transition: max-width 1s, padding-top 1s ease-out; 
  -o-transition: max-width 1s, padding-top 1s ease-out; 
  transition: max-width 1s, padding-top 1s ease-out;
  padding-top: 2%;
}

@media (max-width: 1500px) {
  .site-top-header-logo {
    max-width: 100px; /* Appear on small screens */
    padding-top: 0%;
  }
}

.site-top-header-logo-scrolled {
  max-width: 100px;
  padding-top: 0%;
}

/* Outlined Text */
.outlined {
  text-shadow: 
    -2px -2px 0 #fff,  
     2px -2px 0 #fff,
    -2px  2px 0 #fff,
     2px  2px 0 #fff,
    -3px 0 0 #fff,
     3px 0 0 #fff,
    0 -3px 0 #fff,
    0  3px 0 #fff;
}

.page-template-default .site-top-header {
  position: fixed;
  width: 100%;
  z-index: 800;
  max-height: 6rem;
}

.page-template-default .site-top-header-logo {
  max-width: 100px;
  padding-top: 0%;
}

.page-template-default .entry-content {
  padding-top: 6rem;
}

/* MOBILE HIDE */
@media screen and (max-width: 1500px) {
  .mobile-hidden {
    display: none;
  }
}

/* BUSINESS DIRECTORY */
/* Listing Pages and Category Pages */
.wpbdp_listing-template-default .site-top-header-logo, 
.wpbdp-view-show_category .site-top-header-logo {
  filter: invert(100%);
}

.wpbdp_listing-template-default .site-top-header-nav > *, 
.wpbdp-view-show_category .site-top-header-nav > * {
  color: #242A27;
}

.wpbdp-single-wrapper {
  padding: 10%;
}
.wpbdp-page-category {
  padding: 10%;
}

.wpbdp_listing-template-default .site-top-header-logo-scrolled,
.wpbdp-view-show_category .site-top-header-logo-scrolled {
  filter: invert(0%);
}

.wpbdp_listing-template-default .site-top-header-nav-scrolled > *,
.wpbdp-view-show_category .site-top-header-nav-scrolled > * {
  color: #fdfdfd!important;
}

@media (max-width: 1500px) {
  .wpbdp_listing-template-default .site-top-header-logo,
  .wpbdp-view-show_category .site-top-header-logo {
    filter: invert(0%);
  }
  
  .wpbdp_listing-template-default .site-top-header-nav > *,
  .wpbdp-view-show_category .site-top-header-nav > * {
    color: #fdfdfd;
  }
  
  .wpbdp-single-wrapper {
    padding: 2%;
  }
  
  .wpbdp-page-category {
    padding: 2%;
  }
}

.wpbdp-plan-feature-list {
  display: none;
}

.wpbdp-plan-description {
  text-align: left;
}

.select2-results__option {
  color: black;
}

/* WordPress Fixes */
main {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.no-gap {
  margin-block-start: 0px;
}

.wp-site-blocks {
  margin-block-start: 0px;
}

body .is-layout-flow {
  margin-block-start: 0px;
}

.wp-block-separator.has-alpha-channel-opacity {
  opacity: 0.3;
}

.some-padding {
  padding: 25px;
}

/* Cards */
.card {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  border-radius: 5px; /* 5px rounded corners */
}

/* Page Content */
.page-contents {
  padding-left: 20px;
  padding-right: 20px;
}

/* GUTENA FORMS */
.gfp-upload-btn {
  font-size: var(--wp--preset--font-size--medium) !important
}

/* RESPONSIVE TEXT */
.rsptxt-cover-header {
  font-size: 40px;
}

.rsptxt-larger {
  font-size: 36px;
}

@media (max-width: 1500px) {
    .rsptxt-cover-header {
      font-size: 36px;
    }
}

@media (max-width: 1000px) {
    .rsptxt-cover-header {
      font-size: 18px;
    }

    .rsptxt-larger {
      font-size: 14px;
    }
}

/* FORMINATOR */
.form-section-header {
  font-size: 18px;
}

/* HIDDEN CONTENT FOR PUBLIC */
/* Hides content by default */
.hidden-content {
    display: none;
}

/* Overrides to show content when logged-in class is present */
.logged-in .hidden-content {
    display: block;
}
