/**
 * Theme Name: Family Office Futures
 * Theme URI: https://dider.dev
 * Author: DIDER.DEV
 * Author URI: https://dider.dev
 * Description: Family Office Futures child theme.
 * version: 1.0.5
 * Template: blocksy
 * Text Domain: fof-child
 * Requires at least: 6.5
 * Requires PHP: 8.0
 * Tested up to: 7.0
 */

:root{
    --color-warning: #e02b2b;
    --color-border-warning: #ffb8b8;
}

/* HEADING FONT */
@font-face {
    font-family: 'Canela';
    src: url('/wp-content/uploads/2026/05/Canela-Regular.woff2') format('woff2'),
		url('/wp-content/uploads/2026/05/Canela-Regular.woff') format('woff'),
		url('/wp-content/uploads/2026/05/Canela-Regular.ttf') format('ttf');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6{
    font-family: 'Canela', sans-serif; font-weight: normal;
}

.elementor-heading-title{ margin-bottom: 0 !important; }

/* SYNC ELEMENTOR BUTTON */
button.e-button-base, a.e-button-base, a.elementor-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: var(--theme-button-font-size) !important;
    font-weight: var(--theme-button-font-weight) !important;
    font-style: var(--theme-button-font-style) !important;
    line-height: var(--theme-button-line-height) !important;
    text-transform: var(--theme-button-text-transform) !important;
    letter-spacing: var(--theme-button-letter-spacing) !important;
    text-decoration: var(--theme-button-text-decoration) !important;
    min-height: var(--theme-button-min-height);
    padding: var(--theme-button-padding);
    border-radius: var(--theme-button-border-radius, 3px);
    transition: all .12s cubic-bezier(0.455, 0.03, 0.515, 0.955) !important;
    position: relative !important;
    color: var(--theme-button-text-initial-color);
    border: var(--theme-button-border);
    background-color: var(--theme-button-background-initial-color);
}

button.e-button-base:hover, a.e-button-base:hover, a.elementor-button:hover{
    color: var(--theme-button-text-hover-color);
    border-color: var(--theme-button-border-hover-color);
    background-color: var(--theme-button-background-hover-color);
	transform: var(--theme-button-transform, translate3d(0, -3px, 0)) !important;
}
button.e-button-base:before, a.e-button-base:before, .elementor-button:before{
   opacity: 0 !important;
   display: var(--theme-button-shadow, block) !important;
   position: absolute !important;
   z-index: -1 !important;
   content: "" !important;
   inset-inline: 10px !important;
   inset-block: 12px 0 !important;
   border-radius: inherit !important;
   background: inherit !important;
   transition: opacity .2s ease !important;
   filter: blur(11px) !important;
}
button.e-button-base:hover:before, a.e-button-base:hover:before, .elementor-button:hover:before
{ opacity: 0.8 !important; }

/* CLASS */
.text-justify-center { text-align: justify; text-align-last: center; }
.text-justify-right { text-align: justify; text-align-last: right; }

/* HEADER */
@media (min-width: 750px){
    .menu>li>.ct-menu-link{height: auto; border-right: 1px solid;}
    .menu>li:last-child>.ct-menu-link{border: none;}
}

/* FOOTER */
#footer .ct-widget .elementor{margin: 0;}
#footer .ct-container-fluid{--theme-container-edge-spacing: 0;}
#footer .menu{display: flex; flex-direction: column; width: 100%;}
#footer .menu-item{border: none !important;}
#footer .menu-item a {border: none !important; padding: 2px 0 !important; color: inherit;}
#footer ul{margin-bottom: 0 !important;}
@media (max-width: 750px){
	#footer .menu{align-items: center;}
}

/* NINJA FORM */
/* NINJA FORM */
select{cursor: pointer;}
.nf-before-form-content .nf-form-fields-required{margin-bottom: 20px; display: none;}
.nf-field-container {margin-bottom: 20px !important;}
.nf-field-element input, .nf-field-element select, .nf-field-element textarea{height: var(--has-height, var(--theme-form-field-height, 40px)) !important;}
.ninja-forms-field[type="submit"]{ background-color: var(--theme-palette-color-4); color: #fff; border-radius: 99px; }
.nf-error .nf-field-element input, .nf-error .nf-field-element select, .nf-error .nf-field-element textarea{border-color: var(--color-border-warning);}
.nf-error-msg{color: var(--color-warning);}
.nf-form-content .hidden-container{margin: 0 !important}
.nf-field-label{margin-bottom: 5px !important; color: var(--color-dark);}
.nf-error-wrap{font-size: .75em;}
.ninja-forms-field[type="submit"]{min-width: 180px; margin:  10px 0 0 0 !important;}
.nf-form-hp{margin-top: 40px; display: none;}
.nf-loading-spinner{margin: 0 !important;}