/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
/*
*
* Custom text
*
*/
.text__gradient {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 25%, #3F4E20 65%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/*
*
* End of custom text
*
*/




/* 
*
* Body/sections side spacings
*
*/
@media only screen and (max-width:999px) {
	div[data-device="mobile"] .ct-sticky-container > div,
	.ct-footer .ct-container{
		width: 100%;
		padding: 0 48px;
	}
}

@media only screen and (max-width:767px) {
	div[data-device="mobile"] .ct-sticky-container > div,
	.ct-footer .ct-container{
		width: 100%;
		padding: 0 16px;
        margin: 0;
	}

    div[data-device="mobile"] .ct-sticky-container .ct-container {
        margin: 0;
        width: 100%;
    }
}

@media only screen and (max-width:767px) {
	body .wp-block-stackable-columns.alignfull>.stk-row:not(.alignfull) {
		width: 100% !important;
	}
}
/* 
*
* End of side spacings
*
*/




/*
*
* Buttons - add arrow on left side
*
*/
.button__arrow {
    padding-left: 48px !important;
    position: relative;
    white-space: nowrap;
}

.button__arrow:after {
    content: url('/wp-content/uploads/2025/02/ButtonArrow.svg');
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    margin: auto;
    width: 16px;
    height: 16px;
}
/*
*
* End of Buttons - add arrow on left side
*
*/




/*
*
* Research partners - section - blocksy overrides
*
*/
@media only screen and (max-width:1199px) {
    .research__images-container .stk-block-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media only screen and (max-width:767px) {
    .research__section .stk--block-horizontal-flex {
        flex-direction: column !important;
        gap: 32px;
        padding-bottom: 16px;
    }

    .research__image img {
        max-height: 40px;
        min-height: 40px;
        height: 40px;
    }
}
/*
*
* Research partners section
*
*/




/*
*
* Swiper pagination - global setting
*
*/
body .swiper-pagination-bullet  {
    width: 11px;
    height: 11px;
    transition: .25s ease;
    background: #E7F388;
    border-radius: 16px;
    opacity: 1;
}

body .swiper-pagination-bullet-active {
    width: 34px;
    transition: .25s ease;
}
/*
*
* Swiper pagination - global setting
*
*/




/*
*
* BG COLOR SWITCHER ADJUSTMENTS
*
*/
body {
    background-color: var(--theme-palette-color-7) !important;
    transition: background-color .4s ease;
}

body.bg-green {
    background: var(--theme-palette-color-5) !important;
    transition: background-color .4s ease;
}

body.bg-dark {
    background: var(--theme-palette-color-2) !important;
    transition: background-color .4s ease;
}




/* Adjust color text of last section when switched to dark background */
body.bg-dark .switch__light,
body.bg-dark .switch__light * {
    color: var(--theme-palette-color-4) !important;
    transition: .25s ease !important;
}
/*
*
* END OF BG COLOR SWITCH ADJUSTMENTS
*
*/





/*
*
* Waiting list - brevo - overrides
*
*/
.sib-form {
    padding: 0 !important;
}

#sib-container {
    background: transparent !important;
    padding: 0 !important;
    max-width: unset !important;
}

#sib-container .sib-form-block {
    padding: 0;
}

#sib-container #sib-form > div,
#sib-container #sib-form .entry__field {
    padding: 0 !important;
    margin: 0 !important;
}


/* Inputs */
.sib-form #sib-container .entry__field {
    background: transparent;
    border: none;
    border-bottom: 1px solid white;
    border-radius: 0;
    height: 60px;
    color: white;
    outline: none !important;
}

.sib-form .entry__field:focus-within {
    box-shadow: none !important;
}

.sib-form .entry__field .input::placeholder{
    font-family: Outfit !important;
    color: white !important;
    opacity: 1 !important;
}



/* Change input bg - autofill */
.sib-form input:-webkit-autofill {
    box-shadow: 0 0 0px 1000px var(--theme-palette-color-3) inset !important;
    background-color: transparent !important;
    color: #FFFFFF !important;
}

.sib-form input:-webkit-autofill::first-line {
    color: #FFFFFF !important;
}

/* Submit button */
.sib-form-block__button {
    background-color: var(--theme-palette-color-4) !important;
    color: var(--theme-palette-color-1) !important;
    padding-left: 48px !important;
    border-radius: 100px !important;
    font-family: Outfit !important;
    font-weight: 500 !important;
    position: relative !important;
    transition: .2s ease !important;
    margin-top: 12px !important;
}

.sib-form-block__button:hover {
    background-color: #DDE982 !important;
    transition: .2s ease !important
}


.sib-form-block__button:after {
    content: url('/wp-content/uploads/2025/02/ButtonArrow.svg');
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 20px;
}


/* Grid display */
#sib-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

#sib-form > div:nth-child(n+5) {
    grid-column: span 2;
}

#sib-form * {
    font-family: Outfit !important;
}

@media only screen and (max-width:767px) {
    #sib-form {
        display: flex !important;
        flex-direction: column;
    }
}


/* Entry error */
.sib-form .entry__error {
    font-size: 14px !important;
    background: transparent !important;
    color: #FF9B71 !important;
    margin-top: 8px !important;
    font-family: Outfit !important;
}
  

/* Optin checkbox */
.sib-optin {
    margin-top: 24px !important;
}
.sib-optin * {
    color: #FFFFFF !important;
}

.sib-optin .checkbox {
    box-shadow: none !important;
    outline: none !important;
    border-radius: 0 !important;
}

.sib-form .input_replaced:checked+.checkbox_tick_positive {
    background-color: var(--theme-palette-color-4) !important;
    border-color: var(--theme-palette-color-4) !important;
}


.sib-form label:has(input[type="checkbox"]:checked) .checkbox_tick_positive:before {
    border-color: #000 !important;
}


/* Success message overrides */
.sib-form #success-message {
    background: transparent !important;
    border: none !important;
    color: #C8F79C !important;
    border-radius: 16px !important;
    font-family: 'Outfit' !important;
    padding: 0 !important;
}

.sib-form #success-message .sib-form-message-panel__text {
    flex-direction: row !important;
    justify-content: start !important;
    align-items: start !important;
    gap: 16px !important;
    padding: 24px 0 !important;
}

.sib-form #success-message .sib-form-message-panel__text .sib-notification__icon {
    width: 24px !important;
    height: 24px !important;
    fill: #C8F79C !important;
    margin: 0 !important;
}


/* Error message overrides */
.sib-form #error-message {
    background: transparent !important;
    border: none;
    color: #FF9B71 !important;
    border-radius: 16px !important;
    font-family: Outfit !important;
    padding: 0 !important;
}

.sib-form #error-message .sib-form-message-panel__text {
    flex-direction: row !important;
    justify-content: start !important;
    align-items: start !important;
    gap: 16px !important;
    padding: 24px 0 !important;
}

.sib-form #error-message .sib-form-message-panel__text .sib-notification__icon {
    width: 24px !important;
    height: 24px !important;
    fill: #FF9B71 !important;
    margin: 0 !important;
}

@media only screen and (max-width: 689px) {
    .sib-form-block__button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        padding-left: 18px !important;
    }
    .sib-form-block__button:after {
        position: unset !important;
        margin: 0 0 0 10px !important;
    }
}

/*
*
* End of Waiting list - brevo - overrides
*
*/




/* 
*
* Header adjustments 
*
*/
#header.header-opacity [data-row="middle:boxed"] .ct-container {
	background: rgba(255, 255, 255, 0.8);
	transition: .25s ease;
}

header .ct-sticky-container {
	max-height: 0 !important;
}

#header [data-row*=boxed] > div {
	padding: 10px 12px 10px 24px !important;
}

* {
	--shrink-height: 0;
}
/* 
*
* End of header adjustments 
*
*/




/* 
*
* Footer adjustments 
*
*/
footer [data-row="middle"] .widget-menu {
    display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 36px;
}

footer [data-row="middle"] .widget-menu * {
	font-size: 14px;
}

footer [data-row="middle"] .widget-menu a {
	background: linear-gradient(to right, rgba(100, 200, 200, 0), rgba(100, 200, 200, 0)), linear-gradient(to right, var(--theme-palette-color-4), var(--theme-palette-color-4));
    background-size: 100% 0.1em, 0 0.1em;
    background-position: 100% 100%, 0 100%;
    background-repeat: no-repeat;
	color: white;
    transition: .25s ease;
    border: none;
    padding-bottom: 5px !important;
    display: inline !important;
}

footer [data-row="middle"] .widget-menu a:hover {
    background-size: 100% 0.15em;
}
/* 
*
* End of footer adjustments 
*
*/

/* 
*
* Sticky CTA
*
*/
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 16px;
    display: none;
    z-index: 100;
}
.sticky-cta .button__46 {
    background: var(--theme-palette-color-4) !important;
    color: #000;
    position: relative;
    white-space: nowrap;
    border-radius: 42px;
    padding: 5px 48px !important;
    display: inline-flex
    ;
    gap: .5em;
        align-items: center;
        justify-content: center;
        width: 100%;
        background-image: none;
}

.sticky-cta .button__46:after {
    position: unset !important;
        margin: 0 0 0 10px !important;
        order: -1;
}

@media only screen and (max-width: 689px) {
    .sticky-cta {
        display: block;
    }
}