/*
Theme Name:     BCBI
Author:         Michael Aronoff
Template:		kadence
Author URI:     https://www.ciicweb.com
Description:    Custom theme for BCBI
Version:        2.0
*/

/* Header menu */
.header-navigation[class*="header-navigation-style-underline"] .header-menu-container > ul > li > a::after { color: #0E7179 !important; opacity: .22 !important; }
.header-navigation[class*="header-navigation-style-underline"] .header-menu-container > ul > li > a:hover::after { opacity: 1 !important; }
.menu-label-icon svg { top: .225em !important; }
.site-branding { margin-left: -.6rem !important;  }

/* Header Button Text Align */
.button.header-button.button-size-custom.button-style-filled { text-align: center; }

/* Footer Changes */
.footer-widget-area-inner .widget.widget_block { margin: 10px 0 0 0; }
.footer-widget-area-inner .wp-block-kadence-advancedheading { color: #fff; font-size: 18px; line-height: 1; padding: 0 !important; }
.content-area { margin-bottom: 0rem !important; }

/* Timneline Adjustments  */
.uagb-timeline__line { bottom: 3.4rem !important; } 
.uagb-timeline__date-hide.uagb-timeline__inner-date-new { position: absolute !important; left: -118px!important; }
.thirdtime .uagb-timeline__date-hide.uagb-timeline__inner-date-new { margin-top: .8rem!important; }

/* Smaller body text */
.smalltext { font-size: .8em; }

/* List with no dot */
.plainli { list-style: none; }

/* Image Caption Size */
.uagb-image-caption { font-size: .7em; line-height: 1.4em; }

/* Search Box Adjustments */
.ast-header-html-2 input.search-submit { display: none !important; }
.ast-header-html-2 #search-field { border-radius: 6px 0px 0px 6px; padding: 8px 0px 3px 13px; }
.ast-header-html-2 .search-field::placeholder {	color: #aaa !important; }
.ast-header-html-2 .search-field:focus::placeholder { color: #fff !important; }
.ast-header-html-2 .search-submit.ast-search-submit { background: #69727d; border-radius: 0px 6px 6px 0; padding: 10px 10px 10px 10px; margin-left: -4px; }

/* SSS Form Adjustments */
#container .collet40 .woocommerce .columns-1, #content .collet40 .woocommerce .columns-1 { padding: 0 40px !important; }
.wp-block-uagb-container div.super-speedy-search-form { z-index: 1; }
#container div.super-speedy-search-form, #content div.super-speedy-search-form { border: 1px solid #eeeeee !important; border-radius: 0 !important; max-width: 460px; margin: 0 auto; }
#container div.super-speedy-search-form .sss_search_button, #content div.super-speedy-search-form .sss_search_button { height: 37px !important; border-radius: 0px !important; background: #69727d !important; }

/*superspeedysearch tweaks*/
.ast-header-search .super-speedy-search-form { border-radius: 8px !important; border: 1px solid #69727d !important; max-width: 340px !important; width: 340px !important; }
.ast-header-search .sssinputwrapper { border-radius: 8px !important; }
#ssstext1 { padding: 10px 20px; border-radius: 8px 0px 0px 8px; }
.super-speedy-search-form .sss_clear_button { height: 46px; color: #ffffff !important; }
.super-speedy-search-form .sss_search_button { background: #0b75a1 !important; height: 46px !important; border-radius: 0px 8px 8px 0px !important; }
.super-speedy-search-form .sss_maybe_close_button { display: none; }
.super-speedy-search-form .sssresults.sssajax { top: 2.1em !important; }
.super-speedy-search-form .sss_scroll_container { max-height: 650px !important; }
[class^="wpi-sss-icon-"], [class*=" wpi-sss-icon-"] { font-size: 22px !important;  margin-bottom: 2px !important; }

/* Search Page Results Tweaks */
.search-results #primary { margin-top: 20px; margin-bottom: 0px; }
.search-results .blog-layout-4 { border-radius: 12px; }
.search-results .ast-row .blog-layout-4 .post-content { padding: 0px 10px; }
.search-results .post-thumb-img-content.post-thumb { padding: 0; }
.search-results .entry-title.ast-blog-single-element { font-size: 20px; }
.search-results .attachment-thumbnail.size-thumbnail.wp-post-image { border-radius: 12px; margin-top: 2px; }
.search-results .ast-blog-featured-section.post-thumb.ast-blog-single-element { margin-bottom: 6px; }
.search-results .ast-blog-layout-4-grid .ast-article-post { width: 19%; margin: 6px; border-radius: 12px; border: 1px solid #ccc !important; padding: 0px !important; }
.search-results .entry-header.ast-blog-single-element.ast-blog-meta-container { display: none; }
.search-results .ast-excerpt-container.ast-blog-single-element p { font-size: 16px; line-height: 20px; }
.search-results .ast-blog-single-element.ast-read-more-container.read-more a { font-size: 12px; text-transform: uppercase; font-weight: 700; }
.search-results .woocommerce-breadcrumb { display: none; } 
.search-results .woocommerce-products-header { display: none; }
.search-results .ast-shop-toolbar-container .ast-shop-toolbar-aside-wrap { width: 50%; }
.search-results .ast-shop-toolbar-aside-wrap:nth-of-type(1) { min-width: 86%; }
.search-results .ast-blog-single-element.ast-read-more-container.read-more { margin: 4px 4px 0px 0px; }
.ast-pagination .page-numbers { display: inline-block; 	width: 2.33333em; height: 2.33333em; font-size: 16px; font-size: 1.06666rem; line-height: calc(2.33333em - 3px); font-weight: 500; }
.search-results.woocommerce .ast-shop-toolbar-container .ast-shop-toolbar-aside-wrap { min-width: 86%; }
.search-results .ast-quick-view-text { display: none !important; }
.search-results .ast-quick-view-text:hover { display: none !important; }
.ast-pagination .page-numbers, .ast-pagination .page-navigation { font-size: 16px; font-size: 0.88888888888889rem; } 
.ast-pagination-default .post-page-numbers.current .page-link, .ast-pagination-default .ast-pagination .page-numbers.current { border-radius: 2px; }
.ast-pagination .page-numbers { background: #0b75a1 !important; white-space: nowrap; color: #fff !important; }
.ast-pagination .next.page-numbers { padding-right: 74px !important; }
.ast-pagination .prev.page-numbers { padding-right: 98px; float: left; padding-left: 18px !important; }
.ast-pagination { text-align: center; }
#content #ssstext4 { border-radius: 12px; }
.search-no-results #content .super-speedy-search-form button[type="submit"], .error404 #content .super-speedy-search-form button[type="submit"] { margin: -5px 0; }

#content  div.super-speedy-search-form, #content div.super-speedy-search-form { border: 1px solid #0b75a1 !important; border-radius: 0 !important; max-width: 660px; margin: 0 auto; }
#content  div.super-speedy-search-form .sss_search_button, #content div.super-speedy-search-form .sss_search_button { height: 40px !important; border-radius: 0px !important; background: #0b75a1 !important; }
#content [class^="wpi-sss-icon-"], #content  [class*=" wpi-sss-icon-"] { font-size: 22px !important; margin-bottom: -2px !important; } 
#content .sss_clear_button { background: #a1a1a1; }
#content .super-speedy-search-form .sss_clear_button { height: 35px !important; }

/* Caption Text Size */
.wp-element-caption { width: 100%; padding: 0 5%; }
.wp-caption .wp-caption-text { font-size: .7em !important; }

/* superscript and subscript */
.sup { font-size: 75%; position: relative; top: -0.5em; vertical-align: baseline; }
.sub { font-size: 75%; position: relative; bottom: -0.25em; vertical-align: baseline; }

/* Fancy Lists */
.bcbi_lists { padding-bottom: 10px; }
.bcbi_lists .standard-arrow { padding-left: 40px; }

/* Google Map */
.vsg-map iframe { border: 1px solid rgba(166, 166, 166, 0.25); border-radius: 6px; }

/* Text Divider */
.bcbi-divider { display: flex; align-items: center; /* Corrected to align vertically */ text-align: left; max-width: 1300px; margin: 0 auto; }
.bcbi-divider::after { content: ''; flex-grow: 1; box-sizing: border-box; border-top: 1px solid #084E52; border-bottom: 0px solid #084E52; height: 1px; margin: .85rem 4rem .65rem 1rem; }
.bcbi-divider-right::after { margin: .85rem 0rem .65rem 1rem !important; }

/* Custom Number Bullets */
ol.numbers { counter-reset: my-awesome-counter; list-style: none; padding-left: 40px; }
ol.numbers li { margin: 0 0 0.5rem 0; counter-increment: my-awesome-counter; position: relative; }
ol.numbers li::before { content: counter(my-awesome-counter); color: #fff; font-size: .8rem; font-weight: bold; position: absolute; --size: 22px; left: calc(-1 * var(--size) - 10px); line-height: var(--size); width: var(--size);
  height: var(--size); top: 5px; background: #084e52; border-radius: 50%; text-align: center; box-shadow: 1px 1px 0 #999; }

/* Tick */
ul.tick { list-style: initial; list-style-image: url(/wp-content/uploads/arrow.png) !important; margin: 10px !important; line-height: 1.5em; }
ul.tick li { list-style: inherit !important; margin: 0 0 0 40px !important; padding: 0px !important; }
.tick.shortlist { margin: 0 !important; }
.block-editor__container .tick img { display: inline !important; }
.wp-block-list.tick.tickone { columns: 1; }
.wp-block-list.tick.ticktwo { columns: 2; }
.wp-block-list.tick.tickthree { columns: 3; }
.wp-block-list.tick.columns { columns: 2; text-align: center !important; list-style-position: inside !important; }
.wp-block-list.tick.tickspace { white-space: -moz-pre-space; }

/* Subtick */
ul.subtick { list-style: initial; list-style-image: url(/wp-content/uploads/arrow_small.png) !important; margin: 10px 10px 15px 10px !important; line-height: 1.2em; padding-left: 10px; }

/* untick */
ul.untick { list-style: none; margin: 10px !important; line-height: 1.5em; }
ul.untick li { margin: 0 0 0 0px !important; padding: 0px !important; }
.untick.shortlist { margin: 0 !important; }
.block-editor__container .untick img { display: inline !important; }
.wp-block-list.untick.untickone { columns: 1; text-align: center !important; list-style-position: inside !important; }
.wp-block-list.untick.unticktwo { columns: 2; text-align: center !important; list-style-position: inside !important; }
.wp-block-list.untick.untickthree { columns: 3; text-align: center !important; list-style-position: inside !important; }
.wp-block-list.untick.untickcolumns { columns: 2; text-align: center !important; list-style-position: inside !important; }

/* Table Block Adjustments */
.wp-block-table.has-head th, .wp-block-table.has-head thead tr  { background: #eeeeee; }
.wp-block-table.centertable td { text-align: center; white-space: nowrap; }
.wp-block-table.centeronly td { text-align: center; }
.wp-block-table.small-text { font-size: .75em; line-height: 1.5em; }
.wp-block-table.smaller-text { font-size: .65em; line-height: 1.5em; }
.sidehead th { background: #b0b0b0; }
.sidehead td { background: #f0f0f0; }
.sidehead td:first-of-type { background: #d9d9f3; }

/* TablePress Table Adjustments */
#tablepress-2 .column-2, #tablepress-2 .column-3, #tablepress-2 .column-4 { text-align: center !important; }
#tablepress-2 { font-size: .75em !important; }

.ytvideo { max-width: 700px; margin: 0 auto !important; }

/* Timeline adjustments */
.wp-block-uagb-content-timeline.uagb-timeline__outer-wrap.uagb-block-2b17bfd5.uagb-timeline__content-wrap.uagb-timeline__arrow-center.uagb-timeline.uagb-timeline__center-block { max-width: 800px !important; margin: 0 auto !important; }
.left .uagb-block-2b17bfd5.uagb-timeline__outer-wrap .uagb-timeline__heading { text-align: left !important; }

/* Block Editor Adjustments */
.block-editor :where(.wp-block) { margin-bottom: 10px !important; margin-top: 10px !important; } 
.block-editor ul.tick { margin: 0 0 20px 0 !important; }
.block-editor .edit-post-visual-editor__post-title-wrapper { margin-bottom: 40px; }
.inline { display: inline !important; }

/* Lock icon for Dist Link */
/* .button.header-button.button-size-custom.button-style-filled::before { content: "\f023"; font-family: "Font Awesome 5 Free"; margin-right: 10px !important; } */

/* Mobile Changes */
/* For screens with a maximum width of 767px (typical for mobile devices) */
@media (max-width: 767px) {
body #asl-storelocator.asl-p-cont #asl-map-canv, body #asl-storelocator.asl-cont #asl-map-canv { height: 550px !important; }
body #asl-storelocator.asl-cont .sl-main-cont .asl-panel-inner { position: relative; height: 550px; }
  }