/* 
Theme Name: Hello Willows - Child Theme
Description: Hello Elementor For Willows is a child theme of Hello Elementor, created by digityo.com
Author: Digityo
Author URI: https://digityo.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


body {
    margin: 0;
    font-family: "Baloo 2", sans-serif;
}

a {
    text-decoration: underline;
    color: #333;
}

a.elementor-button {
    text-decoration: none;
}

.menu-item a {
    text-decoration: none;
}

.category-item a,
.product-type-item a,
.willow-toc-list a {
    text-decoration: none;
}

a:hover,
a:active {
    color: #329B7B;
}

h1 {
    font-size: 44px;
    line-height:1em; 
}

h2 {
    font-size: 40px;
    line-height:1em;
}

h3 {
    font-size: 30px;
    line-height:1em;
}

h4 {
    font-size: 24px;
    line-height:1em;
}

h5 {
    font-size: 24px;
}

h6 {
    font-size: 20px;
}
.elementor-shortcode h1 span:after,.elementor-shortcode h2 span:after{
	border-bottom:none;
}
p {
    margin-block-start: 0;
    margin-block-end: 0;
}

ul {
    margin-top: 10px;
}
li {
    margin-top: 3px;
    margin-bottom: 3px;
}

ul.acf-radio-list li img {
    width: 100px;
    margin-top: 10px;
    padding-top: 4px;
    margin-bottom: -5px;
}

.willow-img-border {
    position: relative;
}

.willow-img-border::before {
    content: '';
    display: block;
    /* Ensures the ::before pseudo-element behaves like a block element */
    background-image: url('https://willowsfinance.co.uk/wp-content/uploads/2024/12/graphics-corner.svg');
    background-repeat: no-repeat;
    /* Prevents the image from repeating */
    background-size: 75%;
    background-position: bottom right;
    position: absolute;
    /* Positioning relative to the parent div */
    margin-top: 10px;
    margin-left: 10px;
    overflow: visible
}

@media (max-width:319px) {
    .willow-img-border::before {
        display: none;
    }
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #329B7B;
}

#back-to-top a {
    transition: all 0.3s ease;
}

#back-to-top:hover {
    border: 1px solid #333;
    color: #333;
}

#back-to-top a:hover {
    color: #333;
    fill: #333;
}

#back-to-top a {
    text-decoration: none;
    font-size: 23px;
    line-height: 40px;
    color: #329B7B;
    fill: #329B7B;
}

#back-to-top.show {
    display: flex;
    opacity: 1;
}

.flip {
    transform: rotate(180deg);
    margin-top: 9px;
}

.d-none {
    display: none;
}

.spacer {
    height: 15px;
}
.page-header {
    margin-top: 40px;
}

/* General container styling */
.willow-container {
    display: flex;
    flex-wrap: wrap;
    /* Allows wrapping for responsive behavior */
    margin: 0 auto;
}

/* Styling for columns */
.willow-column {
    flex: 1 1 50%;
    /* 50% width on desktop */
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    /* Horizontally center content */
    align-items: center;
    /* Vertically center content */
    height: 100%;
    /* Ensure the column takes full height */
}

/* Stacking behavior for tablet and below */
@media (max-width: 768px) {
    .willow-column {
        flex: 1 1 100%;
        /* Full width for each column */
    }
}

.page-numbers {
    background-color: #EBFBF1;
    padding: 2px 5px;
    margin: 1px;
    color: #00444d;
    min-width: 34px;
    display: inline-block;
    border-radius: 3px
}

.page-numbers:hover {
    background-color: var( --e-global-color-accent );
    color: #000 !important;
}

.page-numbers.current {
    background-color: #00444d;
    color: #fff !important;
}

.page-numbers.prev {
    color: transparent !important;
    width: 34px;
    line-height: 28px;
    background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22currentColor%22%20class%3D%22bi%20bi-chevron-left%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M11.354%201.646a.5.5%200%200%201%200%20.708L5.707%208l5.647%205.646a.5.5%200%200%201-.708.708l-6-6a.5.5%200%200%201%200-.708l6-6a.5.5%200%200%201%20.708%200%22%2F%3E%3C%2Fsvg%3E');
    background-size: 20px 20px;
    /* Ensure the icon scales to fit */
    background-repeat: no-repeat;
    /* Prevent repetition of the icon */
    background-position: center;
    /* Center the icon in the div */
}

.page-numbers.prev:hover,
.page-numbers.next:hover {
    color: transparent !important;
}

.page-numbers.next {
    color: transparent !important;
    width: 34px;
    line-height: 28px;
    background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22currentColor%22%20class%3D%22bi%20bi-chevron-right%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M4.646%201.646a.5.5%200%200%201%20.708%200l6%206a.5.5%200%200%201%200%20.708l-6%206a.5.5%200%200%201-.708-.708L10.293%208%204.646%202.354a.5.5%200%200%201%200-.708%22%2F%3E%3C%2Fsvg%3E');
    background-size: 20px 20px;
    /* Ensure the icon scales to fit */
    background-repeat: no-repeat;
    /* Prevent repetition of the icon */
    background-position: center;
    /* Center the icon in the div */
}

.page-numbers {
    background-color: #EBFBF1;
    padding: 2px 5px;
    margin: 1px;
    color: #00444d;
    min-width: 34px;
    display: inline-block;
    border-radius: 3px;
    text-decoration: none !important;
    line-height: 28px;
}

.page-numbers:hover {
    background-color: var( --e-global-color-accent );
    color: #000 !important;
}

.page-numbers.current {
    background-color: #00444d;
    color: #fff !important;
}

.page-template-default .site-main,
.blog .site-main {
    padding-bottom: 50px !important
}

.gentle-shadow {
    box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.26);
}
.lead-title  {
  color: var( --e-global-color-accent );
  font-size: 22px !important;
  font-weight: 700;
  
}

.form-desc {
  font-size: 29px;
  line-height: 31px;
  display: block;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
}
h1 span:after,
h2 span:after
 {
    border-bottom: 6px solid var( --e-global-color-accent );
    content: ' ';
    display: block;
    width: calc(100% - 4px);
    margin-left: 2px;
    margin-top: -5px;
}
.highlight:after
 {
    border-bottom: 5px solid var( --e-global-color-accent );
    content: ' ';
    display: block;
    width: calc(100% - 4px);
    margin-left: 2px;
    margin-top: -1px;
}
h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
h6 span,
.highlight {
    display: inline-block;
}

/* Reset the appearance for iOS Safari */
input[type="search"] {
  -webkit-appearance: none; /* Remove default styles */
  appearance: none; /* General reset for other browsers */

  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  background-color: #fff;
}

.sticky-header {
    width: 100% !important;
}

.search-popup .dialog-close-button {
    width: 90px;
    text-decoration: none;
}

.search-popup .dialog-close-button::after {
    content: 'Close';
    font-size: 17px;
    text-decoration: none !important;
    padding-left: 10px;
}

.sub-menu .menu-item {
    margin: 5px 5px;
}

.sub-menu {
    border: none;
}

.sub-menu .menu-item a {
    border-radius: 4px;
}

@media (max-width: 1024px) {
    .menu-item a {
        background-color: transparent !important;
    }
}

.e-n-accordion-item-title[aria-expanded="false"] {
    border-bottom: 1px solid #ccc !important;
}

.e-n-accordion-item-title {
    border-bottom: none !important;
}

.image-corner-flip img {

    width: 100%;

}

.image-corner-flip * {
    max-width: 450px;

}

.image-corner-flip:after {
    content: ' ';

    background-position: bottom left;
    background-image: url('https://willowsfinance.co.uk/wp-content/uploads/2025/01/graphics-corner-flip.svg');

    display: block;
    position: absolute;
    bottom: -12px;
    left: -12px;
    width: 70%;
    height: 70%;
    background-repeat: no-repeat;

}


.image-corner img {
    width: 100%;
}

.image-corner * {
    max-width: 450px;

}

.image-corner::after {
    content: ' ';

    background-position: bottom left;
    background-image: url('https://willowsfinance.co.uk/wp-content/uploads/2024/12/graphics-corner.svg');

    display: block;
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 70%;
    height: 70%;
    background-repeat: no-repeat;

}


.image-corner-flip img {
    border-radius: min(12%, 45px) !important;
}

.image-corner img {
    border-radius: min(12%, 45px) !important;
}


.image-corner-flip img {
    border-bottom-left-radius: 16% !important
}

.image-corner img {
    border-bottom-right-radius: 16% !important
}

.elementor-location-footer a {
	color: #fff;
}
.elementor-location-footer a:hover {
    color: #BEF2D1;
}
/*Gravity Form CSS*/
.bridging_dip_form {
    max-width: 46rem;
    margin: 0 auto;
    padding: 0 1.5rem 5.5rem;
	min-height:calc(100vh - 242px);
	margin-top: 40px !important;

}
.bridging_dip_form .gf_progressbar_wrapper .gf_progressbar_title {
    color: #343a40;
}
.bridging_dip_form .gform-page-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    padding: 1rem 1.5rem;
    background-color: rgba(255 255 255 / 0.8);
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(4px);
    column-gap: 1rem;
}


.bridging_dip_form .gform-body .gform-page-footer input.button {
    font-weight: 700 !important;
    color: #fff !important;
    border-style: solid;
    border-width: 0px 0px 0px 0px;
    border-radius: 50px !important;
    padding: 13px 20px 13px 20px !important;
    background-color: var(--e-global-color-415efe5) !important;
    font-size: 1rem !important;
    border: none !important;
}


.bridging_dip_form .gform-body .gform-page-footer input.button:focus, .bridging_dip_form .gfield-choice-toggle-all button.gfield_choice_all_toggle:focus{
    outline: none !important;
    box-shadow: none !important;
}

/*
.bridging_dip_form .gform-body .gfield {
    text-align: left;
    margin-bottom: 0.25rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: #343a40;
    font-weight: 800;
}
.bridging_dip_form .gform-body .gfield legend.gfield_label {
    font-size: 1rem;
    color: #393939;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0;
}
.bridging_dip_form .gform-body fieldset.gfield {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    padding: 1.25rem 1.5rem;
}

*/
.bridging_dip_form .gform-body .gchoice input:focus {
    outline: none;
    box-shadow: none;
}

/*
.bridging_dip_form .gform-body .gchoice input::before {
    background-color: var(--e-global-color-secondary);
}
.bridging_dip_form .gform-body .ginput_complex input, .bridging_dip_form .gform-body .ginput_complex select, .bridging_dip_form .ginput_container input, .bridging_dip_form .ginput_container select {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 1rem !important;
    color: #2c3e50;
    border: 1px solid #ced4da !important;
    border-radius: 8px;
    min-height: 50px;
}
.bridging_dip_form .ginput_container select {
    padding-top: 0.3rem ;
}

*/
.bridging_dip_form .gform-body .ginput_complex input:focus, .bridging_dip_form .gform-body .ginput_complex select:focus, .bridging_dip_form .ginput_container input:focus, .bridging_dip_form .ginput_container select:focus{
    outline: none;
    box-shadow: none;
    border-color: #004049;
}

/*
.bridging_dip_form .gform-body .ginput_complex span.gform-grid-col {
    display: flex;
    flex-direction: column-reverse;
}
.bridging_dip_form .gform-body .ginput_complex span.gform-grid-col label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #343a40;
    margin: 0 0 0.5rem 0;
}

*/
.gform-theme--framework .bridging_dip_form .gf_progressbar .percentbar_blue {
    background-color: #004049;
}

/*
.bridging_dip_form .ginput_container .gfield_checkbox input {
    padding: 0;
    min-height: auto;
}
.gform-theme--framework .bridging_dip_form input[type=checkbox]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *))::before{
    color: #fff;
    border-radius: 3px;
}
.gform-theme--foundation .bridging_dip_form .gform_fields{
    row-gap: 2rem;
}
*/

.bridging_dip_form .gfield-choice-toggle-all button.gfield_choice_all_toggle {
    font-weight: 700 !important;
    color: #fff !important;
    border-style: solid;
    border-width: 0px 0px 0px 0px;
    border-radius: 50px !important;
    padding: 10px 20px 10px 20px !important;
    background-color: var(--e-global-color-415efe5) !important;
    font-size: 0.8rem !important;
    border: none !important;
}

/*
.bridging_dip_form .ginput_container .gfield_radio input {
    padding: 0;
    min-height: auto;
}
#gform_1_validation_container {
    max-width: 43rem;
    margin: 0 auto 1rem;
}
*/
/* start responsive css */

/*
@media screen and (max-width: 767px) {
    .bridging_dip_form {
        max-width: 100%;
        padding: 0 0 0;
        min-height: auto;
    }
    .bridging_dip_form .gform-body fieldset.gfield {
        padding: 1.25rem 1rem;
    }
    .bridging_dip_form .gform-body .gfield {
        font-size: 1.3rem;
    }
    .bridging_dip_form .gform-body .ginput_complex input, .bridging_dip_form .gform-body .ginput_complex select, .bridging_dip_form .ginput_container input, .bridging_dip_form .ginput_container select{
        min-height: 39px;
        padding: 0 0.75rem;
        font-size: 0.88rem !important;
    }
    .bridging_dip_form .gform-body .gfield legend.gfield_label {
        gap: 15px;
        flex-direction: column;
    }
    .bridging_dip_form .gform-body .gfield legend.gfield_label span.gfield_required {
        margin-top: 1.3rem;
    }
}
*/

 #field_1_11, #field_1_20, #field_1_13, #field_1_28, #field_1_35, #field_1_12, #field_1_10 {
  font-size: 30px;
  text-align: center;
  font-weight: bold;
  color: #00444D;
  margin-top: 30px;
}

}
.gform-body select {
  border-color: var(--e-global-color-secondary) !important;
  border-radius: 5px !important;
  
}
.gform-body input, .gform-body select {
	height: 45px !important;
}
#gform_wrapper_1 {
  max-width: 700px !important;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0px 1px 9px rgba(0, 0, 0, 0.26);
  border: 3px solid #fcfbf9 !important
}

.gchoice label {
border: 1px solid var(--e-global-color-primary);
  border-radius: 4px;
  padding: 7px 16px;
  cursor: pointer;
  display: inline-block;
  background-color: #fff;
     font-size: 17px !important;
    font-weight: 600 !important;
}


.gchoice label:hover {
    cursor:pointer;
   background-color: #EBFBF1;
}

.gchoice input[type="checkbox"]:checked + span {
  background-color: #002b58;
  color: #fff;
}
.gchoice input[type="radio"]:checked + span {
  background-color: #002b58;
  color: #fff;
}

.gchoice {
  position: relative;
}

.gchoice label {
  border: 1px solid var(--e-global-color-primary);
  border-radius: 4px;
  padding: 7px 16px;
  cursor: pointer;
  display: inline-block;
  background-color: #fff;
}

.gchoice label:hover {
  background-color: #EBFBF1;
}

.gchoice input[type="checkbox"],
.gchoice input[type="radio"] {
 display: none;
}

.gchoice input[type="checkbox"]:checked + label,
.gchoice input[type="radio"]:checked + label {
  background-color: #002b58;
  color: #fff;
  border-color: #002b58;
}
.gform-field-label {
  font-size: 17px !important;
	font-weight: 600 !important;
}
.gform-field-label--type-sub {
	font-size: 14px !important;
}