/*!/wp-content/themes/BCS_Child_Theme/style.css*//*
Theme Name:   B Creative Studio | Custom Divi Child
Theme URI:    http://bcreativestudio.au/
Description:  Divi Child Theme
Author:       B Creative Design Studio
Author URI:   http://bcreativestudio.au/
Template:     Divi
Version:      2.0.0
*/

/*display empty columns*/ 

.et_pb_column.et_pb_column_empty {
  display: block!important;
}

/*add icon to the opened accordion*/
	.et_pb_accordion .et_pb_toggle_open .et_pb_toggle_title:before {
    display: block!important;
    content: "M" !important;
    font-size: 25px;
    color: #71301F;
}

/*force isabelline as light color in dk bg*/
.et_pb_bg_layout_dark,.et_pb_bg_layout_dark h1,.et_pb_bg_layout_dark h2,.et_pb_bg_layout_dark h3,.et_pb_bg_layout_dark h4,.et_pb_bg_layout_dark h5,.et_pb_bg_layout_dark h6 {
    color: #F1E9E4!important
}

/*force BUTTON BORDER*/
body .et_pb_button {
	font-weight: 700 !important;
	border-width: 5px 6px 4px 6px !important;
}

/* PROJECT 3 CLEAN + SIMPLE HOVER ZOOM */
.project_3 .project {
    position: relative;
    overflow: hidden;
}

/* IMAGE WRAPPER */
.project_3 .project span.et_portfolio_image {
    padding-top: 110%;
}

.project_3 .project span.et_portfolio_image::before {
    content: "";
    position: absolute;
    inset: 0; /* top:0, right:0, bottom:0, left:0 */
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.20) 0%,     /* bottom */
        rgba(0, 0, 0, 0.20) 100%    /* top */
    );
    z-index: 2;
    pointer-events: none;
}

/* Ensure the actual image stays behind */
.project_3 .project span.et_portfolio_image img {
    position: relative;
    z-index: 1;
}

/* IMAGE STYLING */
.project_3 .project span.et_portfolio_image img {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* HOVER — SMOOTH ZOOM IN */
.project_3 .project:hover span.et_portfolio_image img {
    transform: scale(1.08);
}

/* TITLE + META STYLING */
.project_3 .project .et_pb_module_header,
.project_3 .project .post-meta {
    position: absolute;
    left: 0;
    width: 100%;
    color: #F1E9E4;
    z-index: 9;
}

/* TITLE POSITION */
.project_3 .project .et_pb_module_header {
    bottom: 44px;
}

/* TITLE LINK (clickable area) */
.project_3 .project .et_pb_module_header a {
    display: block;
    padding: 22px 30px;
}

/* META POSITION */
.project_3 .project .post-meta {
    bottom: 0;
    padding: 40px 30px;
}

/* META LINK COLOUR */
.project_3 .project .post-meta a {
    color: #F1E9E4;
}

/* FILTERS */
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a {
    color: #666;
    padding: 10px 20px;
    border: 1px solid #71301f;
	  border-radius: 20px !important;
    display: block;
    height: auto;
    overflow: hidden;
    margin: 8px 4px;
    background-color: transparent;
}

.et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active {
    color: #f1e9e4 !important;
    background-color: #71301f;
}

/* PAGINATION */
.et_pb_filterable_portfolio .et_pb_portofolio_pagination {
	    border-top: 0px;
}

/* Horizontal line behind the 3 numbers – desktop only */
@media (min-width: 981px) {
  .three-step-line {
    position: relative;
  }

  .three-step-line::before {
    content: "";
    position: absolute;

    /* how wide the line is */
    left: 15%;
    right: 15%;

    /* place line vertically relative to ROW */
    top: 15%;                  /* halfway down the row */
    transform: translateY(-50%); /* centre it exactly */

    height: 1.5px;
    background-color: #F1E9E4;
    z-index: 1;
  }

  /* keep the number circles above the line */
  .three-step-line .et_pb_main_blurb_image {
    position: relative;
    z-index: 2;
  }
}

/* PROJECT PAGE - Desktop + tablet only: reverse icon & text on the RIGHT blurb */
@media (min-width: 768px) {

  .project-hero-blurb-right .et_pb_blurb_content {
    display: flex;
    flex-direction: row-reverse;   /* text first, icon last */
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;                  /* space between text + icon */
  }

  /* Remove any default left padding/margins Divi adds for icons */
  .project-hero-blurb-right .et_pb_main_blurb_image {
    margin: 0;
    padding: 0;
  }

  /* Optional: keep the text nicely aligned to the right */
  .project-hero-blurb-right .et_pb_blurb_container {
    text-align: right;
  }
}

body .navbar .navbar-toggler.mobile_menu_bar:before {
    color: #9db0d3 !important;
}

/* Style Back to Top Button
-----------------------------------------------------*/

.et_pb_scroll_top.et-pb-icon {
  background-color: rgba(241, 233, 228, 0.6) !important;
  border-radius: 0px;
  border: 1.5px solid rgba(41, 24, 19, 0.6);
}

.et_pb_scroll_top.et-visible {
  opacity: 1;
  -webkit-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
  -moz-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
  -o-animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
  animation: fadeInBottom 1s 1 cubic-bezier(.77,0,.175,1);
}

.et_pb_scroll_top.et-pb-icon {
  right: 15px;
  bottom: 15px;
  background: rgba(41, 24, 19, 0.6);
  padding: 10px;
}

.et_pb_scroll_top:before {
  content: "\32";
  color: rgba(41, 24, 19, 0.6);
}

/* Mobile menu "Get a Quote" button */
.menu-item-2567 > a {
    display: inline-block;
    margin-top: 20px;

    /* colours */
    background-color: #9DB0D3 !important;
    color: #291813 !important;

    /* typography */
    font-size: 16px;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;

    /* shape */
    border-radius: 100px;
    padding: 8px 10px !important;
	  margin: 10px;

    /* “3D” border effect */
    border-style: solid;
    border-color: #9DB0D3 !important;
    border-width: 2px 3px 2px 3px;

    /* ensure plugin doesn't override */
    box-shadow: none !important;
}

/* Keep the button coloured on hover and on click */
.menu-item-2567 > a:hover,
.menu-item-2567 > a:focus,
.menu-item-2567 > a:active {
    background-color: #9DB0D3 !important;
    color: #291813 !important;
    border-color: #9DB0D3 !important;
    opacity: 1 !important;  /* prevent MobileMenuFW from fading it */
}

/* Global Gravity Forms styling */
.gform_wrapper.gravity-theme input,
.gform_wrapper.gravity-theme textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid #291813;
}

/* GLOBAL Gravity Forms submit button */
.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"] {
    font-size: 14px;
	  color: #f1e9e4;
    background-color: #291813;
    border: 5px solid #291813;
    border-radius: 100px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

/* Hover state */
.gform_wrapper .gform_button:hover,
.gform_wrapper input[type="submit"]:hover {
    color: #291813;
    background-color: #9db0d3;
    border-color: #9db0d3;
    border-radius: 50px;
    letter-spacing: 2px;
}

/* Align Gravity Forms submit button to the right (global) */
.gform_wrapper .gform_footer {
    display: flex;
    justify-content: flex-end;
}

/* GLOBAL Gravity Forms – increase height of standard fields */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="password"],
.gform_wrapper select {
    padding: 16px 14px;   /* controls height */
    min-height: 56px;     /* ensures consistent tall fields */
    box-sizing: border-box;
}

/* Gravity Forms – File Upload "Select files" button */
.gform_wrapper .gform_button_select_files {
    font-size: 14px;
    color: #f1e9e4;
    background-color: #291813;
    border: 5px solid #291813;
    border-radius: 100px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover state */
.gform_wrapper .gform_button_select_files:hover {
    color: #291813;
    background-color: #9db0d3;
    border-color: #9db0d3;
    border-radius: 50px;
    letter-spacing: 2px;
}

/* Reset default checkbox styling */
.gform_wrapper.gravity-theme input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid #984321;
    background-color: transparent;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
}

/* Checked state */
.gform_wrapper.gravity-theme input[type="checkbox"]:checked {
    background-color: #984321;
    border-color: #984321;
}

/* Checkmark */
.gform_wrapper.gravity-theme input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 6px;
    width: 4px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
}

/* Spacing between checkbox and label */
.gform_wrapper.gravity-theme .gfield_checkbox label {
    margin-left: 10px;
    cursor: pointer;
}

/* Fix Divi icon font render blocking */
@font-face{font-family:'ETmodules';font-display:swap;}

/* Fix Mobile Menu icon font render blocking */
@font-face{font-family:'mobmenu';font-display:swap;}

/* Override Divi ETmodules icon font to avoid FOIT and satisfy Lighthouse */
@font-face{font-family:ETmodules;font-display:swap;src:url(//integritystone.com.au/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.eot);src:url(//integritystone.com.au/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.eot?#iefix) format("embedded-opentype"),
url(//integritystone.com.au/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.woff) format("woff"),
url(//integritystone.com.au/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.ttf) format("truetype"),
url(//integritystone.com.au/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.svg#ETmodules) format("svg");font-weight:400;font-style:normal;}

/* Prevent CLS from hero slider resizing on load (adjust values if needed) */
.et_pb_slider,
.et_pb_fullwidth_slider {
  min-height: 70vh;
}
@media (max-width: 767px){
  .et_pb_slider,
  .et_pb_fullwidth_slider {
    min-height: 60vh;
  }
}