/*
Theme Name: Beaver Builder Child Theme
Theme URI: https://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: https://www.fastlinemedia.com
template: bb-theme
*/

button.wc-block-components-button {
    color: #fff!important;
}

input#gform_submit_button_2 {
    background: #fa7c1a;
}

button#gform_browse_button_2_74 {
    background: #fa7c1a;
}

.iframe-wrap {
    position: relative;
    padding-bottom: 53.35%;
    overflow: hidden;
    height: 0;
}


.iframe-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none !important;
}



.tool-wrap {
    display: flex;
    background: #f1f1f1;
    padding: 20px;
    align-items: center;
    margin-bottom: 40px;
}

.tool-wrap .width33 {
    width: 40%;
}

.tool-wrap .width66 {
    width: 60%;
    margin-left:24px;
    font-size:24px
}

.tool-wrap .width66 span {
    font-size: 24px !important;
}



section#single_banner_section {
    margin: 40px 0;
}


body.has-blocks .fl-post-content .alignwide {
    margin: 0 !important;
}

/* Add your custom styles here...Remember to change the Version number above! */ 
.feature-wrap ul {
    padding-left: 20px;
}
.feature-wrap ul li {
    margin-bottom: 5px;
}


header > div:first-of-type {
  position: relative;
  z-index: 9999;
}


header > div:last-of-type {
  position: sticky;         
  top: 0;
  z-index: 1000;
  transition: transform .35s ease, opacity .35s ease;
  will-change: transform, opacity;
}


header > div:last-of-type.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

body.admin-bar header > div:last-of-type { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar header > div:last-of-type { top: 46px; }
}


span.bold {
    font-weight: 900 !important;
}

span.bold-orange {
    font-weight: 900 !important;
    color: #fa7c1a;
}

.img-border img{
    position:relative;
    z-index:9;
    box-shadow:3px 3px 10px #00000054;
}

.img-border .fl-photo-content:after {
    content: '';
    position: absolute;
    top: 30px;
    right: -30px;
    bottom: -30px;
    left: 30px;
    background: #fa7c1a;
    display: block;
}

.img-border {
    position: relative;
}

.pp-hover-card-inner {
    background: #43434345;
}

span.hover-button {
    display: block;
    max-width: 150px;
    border: 2px solid #fff;
    margin: 0 auto;
    background: transparent;
    margin-top: 20px;
}

.custom-image-zoom a:hover img {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
}

.pp-hover-card.style-2 .pp-hover-card-content .pp-hover-card-description {
    bottom: 30px!important;
}

/* ===== Simpson Steel Building Co. Product Dimensions ===== */
.ssbc-dimensions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  gap: 1.75rem;
}

.ssbc-dim {
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: all 0.2s ease-in-out;
  flex-direction: column;
}

.ssbc-dim__icon svg {
  width: 50px;
  height: auto;
  flex-shrink: 0;
}

.ssbc-dim__label {
  font-weight: 600;
  color: #0f0c05;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ssbc-dim__value {
  color: #fa7c1a;
  font-weight: 700;
  font-size: 19px;
  margin-left: 0.25rem;
  font-variant-numeric: tabular-nums;
}


/*Checkout Page */
.wc-block-components-shipping-rates-control.css-0.e19lxcc00 {
    background: #0e0c07;
    color: #fff;
}

.wc-block-components-radio-control-accordion-option label.wc-block-components-radio-control__option.wc-block-components-radio-control__option-checked {
    background: #0e0c07;
    color: #fff;
    margin-bottom: 1em;
}
button.wc-block-components-button {
    background: #120c06;
}
button.wc-block-components-button:hover {
    background: #fa7c1a;
}
.wc-block-components-address-form__country.wc-block-components-country-input {
    display: none;
}
.wc-block-components-checkbox.wc-block-checkout__use-address-for-billing {
    display: none;
}


/* Make it responsive */
@media (max-width: 768px) {
  .ssbc-dimensions {
    flex-direction: column;
    gap: 1rem;
  }
  .ssbc-dim {
    width: 100%;
    justify-content: flex-start;
  }
}
body.single-product .product_meta .posted_in {
    display: none;
}

body.single-product .price:before {
    content: "Price: ";
    font-size: 17px;
}

body.single-product .price .woocommerce-Price-amount {
    color: #fa7c1a;
    font-size: 25px;
    font-weight: bold;
}

.footer-contact-info .bbb-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
	filter: grayscale(0);
}
/* Sub Page image Responsive */
@media (max-width: 768px) {
	img.content-image {
    display: block;
    margin: auto;
    float: none;
}
}



/* --- SIMPLE 3 IMAGE HERO --- */
#single_banner_section .main-banner-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    overflow: hidden;
}

/* Each third */
#single_banner_section .main-banner-container .d-1of3 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    position: relative;
    height: 300px;
    overflow: hidden;
}

/* Single full image case */
#single_banner_section .main-banner-container .d-1of1 {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

/* Image boxes */
#single_banner_section .banner-img-box {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Background images */
#single_banner_section .main-banner-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    #single_banner_section .main-banner-container .d-1of3 {
        flex: 0 0 50%;
        max-width: 50%;
        height: 220px;
    }
    #single_banner_section .main-banner-container .d-1of1 {
        height: 220px;
    }
}


/* Moving Cart Button up */
.xoo-wsc-basket {
    bottom: 85px;
}

@media (max-width: 768px) {
	section#single_banner_section {
    margin: 20px 0;
}
	
    #single_banner_section .main-banner-container {
        flex-direction: column;
    }

    #single_banner_section .main-banner-container .d-1of3,
    #single_banner_section .main-banner-container .d-1of1 {
        flex: 0 0 100%;
        max-width: 100%;
        height: 200px;
    }
}

@media (max-width:767px) {
	
	    .iframe-wrap {
        position: relative;
        padding-bottom: 120%;
        overflow: hidden;
        height: 0;
    }
	
	header {
    position: sticky;
    top: 0;
    z-index: 999;
}
	
	.mobile-cta .fl-col-group > div > div {
   align-self: center;
}

.mobile-cta .fl-col-group > div:last-of-type {
   background: #fa7c1a;
   border-left:1px solid #fff!important
}
	
    .tool-wrap {
    display: flex;
    flex-wrap:wrap;
    padding:12px
	margin-bottom:20px;
}

.tool-wrap .width33 {
    width: 100%;
}

.tool-wrap .width66 {
    width: 100%;
    margin-top:24px;
    font-size:18px
}
	
	.tool-wrap .width66 span {
    font-size: 24px !important;
}
	
    
}
.pp-faq-item .pp-faq-content .pp-faq-content-text #def-wrap p {
    width: 30%;
}

.pp-faq-item .pp-faq-content .pp-faq-content-text #def-wrap {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}


@media (min-width: 993px) {
.mega-menu > ul.sub-menu ul.sub-menu {
    border: none !important;
}
	
ul.sub-menu  .fl-has-submenu-container a{
    background: #fa7c1a!important;
}
	
ul.sub-menu  .fl-has-submenu-container a:hover{
    background: #000000!important;
}

ul.sub-menu  .fl-has-submenu-container a {
    color:#fff!important;
}

.mega-menu > ul.sub-menu > li {
    border-top: none!important;
    border-right: 1px solid #f1f1f1 !important;
    padding: 10px;
    background: #fff;
}


.mega-menu > ul.sub-menu {
    background: #ffffff !important;
}



 .mega-menu > ul.sub-menu:first-of-type {
        border: 1px solid #f1f1f1 !important;
    }

ul#menu-main-menu  > .current-menu-ancestor > div > a {
    color: #fa7c1a!important;
}
}

@media (max-width: 992px) {
.pp-faq-item .pp-faq-content .pp-faq-content-text #def-wrap p {
    width: 45%;
}
	ul.sub-menu {
    background: #efefef!important;
}

ul.sub-menu ul.sub-menu a {
    padding: 5px;
    line-height: 1.4;
}
    
}
