/*
Theme Name:		Restobot
Description:	Restobot Theme
Theme URI:		https://restobot.ai
Theme Author:	KevinGiu
Author URI:		https://kevingiu.com
Template:		bricks
Version:		1.0.0
Text Domain:	bricks
*/


/* General */

html {
	scroll-behavior: smooth;
	scroll-padding-top: 140px;
}

html, body {
	width: 100%;
	overflow-x: hidden !important;
}

body {
    min-height: 100vh;
}

main#brx-content {
    display: flex;
    flex-direction: column;
}

header .brxe-offcanvas.brx-open + #brxe-owewkm.brxe-section {
    background: var(--background-primary) !important;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
}

input:focus {
    outline: none !important;
}


/* Testimonials */

.brxe-slider-nested .splide__pagination__page {
    border-radius: 25px !important;
    transition: .3s !important;
}
.brxe-slider-nested .splide__pagination__page.is-active {
    width: 45px !important;
}

@media screen and (max-width: 768px) {
	.brxe-slider-nested .splide__pagination {
		left: 50% !important;
		transform: translateX(-50%) !important;
	}
	.brxe-slider-nested .splide__arrow {
		display: none !important;
	}
}


/* Contacto */

.brxe-form .options-wrapper li {
	display: flex;
	flex-wrap: nowrap;
	gap: 5px;
	align-items: flex-start;
}

.brxe-form input[type="checkbox"] {
    transform: scale(1.1) translateY(6px);
    transform-origin: top left;
    filter: hue-rotate(35deg) brightness(1);
}

.brxe-form input[type="checkbox"]:checked {
    filter: hue-rotate(35deg) saturate(.45);
}

.brxe-form input[type="checkbox"] + label {
    font-weight: 400 !important;
    font-size: 15px !important;
}

.brxe-form .success {
	display: none !important;
}


/* CookieBot */

#CybotCookiebotDialog {
    font-family: 'Quicksand' !important;
    font-weight: 500 !important;
}

#CybotCookiebotDialog a,
#CybotCookiebotDialog h2 {
    font-weight: 700 !important;
}


#CybotCookiebotDialog #CybotCookiebotDialogHeader {
    display: none;
}

@media screen and (min-width: 1380px) {
    #CybotCookiebotDialog .CybotCookiebotDialogBodyBottomWrapper {
        margin: 0 !important;
    }
    #CybotCookiebotDialog #CybotCookiebotDialogFooter {
        display: flex;
        align-items: center;
        height: 100%;
    }
}


/* Blog */

body.single-post .page-title .overlay-image {
    opacity: .13 !important;
}

body.single-post .brxe-post-content h4 {
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--color-primary);
}

body.single-post .brxe-post-content h5 {
    margin-top: 20px;
    margin-bottom: 5px;
}

body.single-post .brxe-post-content h1:first-child,
body.single-post .brxe-post-content h2:first-child,
body.single-post .brxe-post-content h3:first-child,
body.single-post .brxe-post-content h4:first-child,
body.single-post .brxe-post-content h5:first-child ,
body.single-post .brxe-post-content h6:first-child {
    margin-top: 0;
}

body.single-post .brxe-post-content a {
    color: var(--color-primary);
}


