/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* ************************* Global ************************* */

:root {
    --header-height: 100px
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) - 40px);
}

*,
*::after,
*::before {
    outline: none !important;
}

:where(p:last-of-type)+h1,
:where(p:last-of-type)+h2,
:where(p:last-of-type)+h3,
:where(p:last-of-type)+h4,
:where(p:last-of-type)+h5,
:where(p:last-of-type)+h6 {
    margin-top: 0
}

:where(p) {
    margin: 0 0 1.52em;
}

:where(p:last-of-type) {
    margin-bottom: 0;
}

.bricks-button:not([class*="bricks-background-"]):not([class*="bricks-color-"]):not(.outline) {
    background: var(--grad-yellow);
}

.bricks-button:not([class*="bricks-background-"]):not([class*="bricks-color-"]):not(.outline):hover {
    background: linear-gradient(76.25deg, #FFAE00 0%, #FFC600 100%);
    box-shadow: 0 6px 16px rgba(255, 174, 0, 0.5);
    transform: translateY(-2px);
}

:root body .bricks-button[class*="light"].outline {
    border-style: none;
    color: var(--white);
    box-shadow: inset 0 0 0 1px var(--white);
}

:root body .bricks-button[class*="light"].outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* ************************* Global ************************* */

/* ************************* Header ************************* */

body .header.custom_sticky {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding-block: 2rem;
}

.header.custom_sticky .header__logo.brxe-logo .bricks-site-logo {
    transform: scale(0.8);
}

.header .header__logo.brxe-logo .bricks-site-logo {
    transition: var(--base-transition);
}

/* ************************* Header ************************* */

.custom_slide_wrapper .nav-buttons button:disabled svg {
    fill: currentColor;
}

/* ************************* 404 page ************************* */
body.error404 {
    height: 100%;
    min-height: 100svh;
}
body.error404 #brx-content {
    height: 100%;
    display: flex;
}
/* ************************* 404 page ************************* */



/* ************************* fluentform ************************* */

body .fluentform fieldset {
    display: flex;
    flex-direction: column;
    gap:3rem;
}

body .fluentform .frm-fluent-form .ff-el-group{
    margin: 0px !important;
    line-height: 1px !important;
}
body .fluentform .frm-fluent-form .ff-t-container {
      gap: 1.6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
body .fluentform .ff-el-input--label {
    padding-bottom: 6px;
    line-height: 1;
    margin: 0px !important;
}
body .fluentform .ff-el-input--label label {
    color: rgba(56, 54, 66, 0.6);
    text-transform: uppercase;
    font-size: var(--text-xs);
    line-height: 1.5;
    font-weight: 300;
    letter-spacing: 0px;
}
body .fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label:after {
    color: rgba(56, 54, 66, 0.6);
    margin-left: 2px;
}
body .fluentform .ff-el-form-control {
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 5px;
    padding-left: 0;
    background-color: rgba(0, 0, 0, 0) !important;
    color: var(--primary);
    font-size: var(--text-m);
    line-height: 1 !important;
    font-weight: 300;
    border-top: 0 solid var(--primary);
    border-right: 0 solid var(--primary);
    border-bottom: 1px solid var(--primary);
    border-left: 0 solid var(--primary);
    border-radius: 0;
    opacity: unset;
    font-family: "Titillium Web" !important;
    margin-top: -0.4em;
}
body .fluentform .ff-el-form-control:focus{
    outline:none !important;
      border-color: var(--primary) !important;
       color: var(--primary) !important;
}
body .fluentform  textarea {
    min-height: 100% ;
    height: 51px;
}

body .fluentform .ff-el-form-check .ff-el-form-check-label {
    position: relative;
    margin: 0 !important;
    font-size: 16px;
    color: var(--primary);
    padding-left: 1.72em;
    font-size: var(--text-s);
    line-height: 1.5;
    text-transform: none;
    padding-bottom: 0;
    margin-block: -0.4em;
}
body .fluentform .ff-el-form-check .ff-el-form-check-input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    left: 0;
    top: 0;
}
body .fluentform .ff-el-form-check.ff_item_selected .ff-el-form-check-label::before {
    position: absolute;
    content: '';
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%3E%3Cpath%20d='M11.6666%203.5L5.24992%209.91667L2.33325%207'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size:10px;
   top: 0.2em;
    left: 0;
    background-color: #000;
}

body .fluentform .ff-el-form-check .ff-el-form-check-label:before {
    position: absolute;
    content: '';
    width: 14px;
    height: 14px;
    border: 1px solid #38364299;
    border-radius: 4px;
    background: #3836421A;
    top: 0.2em;
    left: 0;
    outline: 2px solid transparent !important;
    outline-offset: 2px;
    transition: var(--base-transition);
}

body .fluentform .ff-el-form-check .ff-el-form-check-label:hover:before {
    outline-color:var(--primary) !important;
}

body .fluentform .ff-el-form-check .ff-el-form-check-label .ff_t_c a{
   text-decoration: underline ;
    text-underline-offset: 0.2em;
    transition: var(--base-transition);
}
body .fluentform .ff-el-form-check .ff-el-form-check-label .ff_t_c a:hover{
    color: #000;
}

body .fluentform button.ff-btn.ff-btn-submit {
    font-size: var(--text-m);
    font-weight: 400;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: var(--primary);
    line-height: 1.4;
    text-wrap: balance;
    padding-top: 0.93em;
    padding-right: 2em;
    padding-bottom: 0.93em;
    padding-left: 2em;
    border-style: none;
    border-radius: 999px;
    transition: var(--base-transition);
    background-color: var(--primary);
    color: var(--white);
		opacity:1 !important;
}


body .fluentform button.ff-btn.ff-btn-submit:hover {
    background-color: var(--white) !important;
    opacity: unset !important;
    color: var(--primary) !important;
}


/* ************ error ************** */

body .fluentform .ff-el-is-error .text-danger {
    font-size: 12px;
    margin-top: 13px;
}
body .fluentform .text-danger {
    color: red !important;
}
 .fluentform .ff-el-is-error .ff-el-form-control {
    border-color: red !important;
}
.fluentform .ff-el-is-error .ff-el-form-check-label,
 .fluentform .ff-el-is-error .ff-el-form-check-label a {
    color: red!important;
} 

/* ************ error ************** */
/* ************ success ************** */

body .fluentform .ff-message-success {
    border: unset !important;
    background-color: var(--bricks-bg-success);
    color: var(--bricks-text-success);
}
/* ************ success ************** */

@media(max-width:575px){
    body .fluentform .frm-fluent-form .ff-t-container {
    grid-template-columns: 1fr;
    gap: 2rem;
}
body .fluentform fieldset {
  gap: 2rem;
}
body .fluentform .frm-fluent-form .ff-t-container .ff-t-cell {
    flex-basis: 100% !important;
    width: 100%;
}
}
/* ************************* fluentform ************************* */


