/*
 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
*/

body {
    background-color: #fbf7f1;
}

header.scrolling {
	box-shadow: 0 3px 12px rgb(0, 0, 0, .1);
}

h1,
h2,
h3,
h4,
h5 {
    margin-block-end: .35em;
}

.brxe-button {
    min-width: 150px;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.brxe-heading.bricks-type-lead {
    position: relative;
    padding-bottom: 12px;
}

.brxe-heading.bricks-type-lead::after {
    content: '';
    width: 50px;
    height: 2px;
    background-color: var(--bricks-color-pudnyr, #f16a9b);
    position: absolute;
    bottom: 0;
    left: 0;

}
.brxe-heading.bricks-type-hero {
    text-shadow: 2px 0 #f16a9b, -2px 0 #f16a9b, 0 2px #f16a9b, 0 -2px #f16a9b, 1px 1px #f16a9b, -1px -1px #f16a9b, 1px -1px #f16a9b, -1px 1px #f16a9b;
}

#brx-header .lang-switcher .lang-item a {
    width: 32px;
    height: 32px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
    border: 1px solid #FFF;
}
#brx-header .lang-switcher .lang-item a:hover{
    box-shadow: 0px 0px 10px 0px rgb(249 178 194);
}
#brx-header .lang-switcher .lang-item a img{
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

.page-template-tpl-single-page .brxe-post-content h2 {
    font-size: 50px;
}

/* Gravity Form */
.gform_wrapper.gform-theme .gform_required_legend,
.gform_wrapper.gform-theme .gfield_description.validation_message{
    display: none;
}

.gform_wrapper.gform-theme .gform_fields {
	row-gap: 15px;
}

.gform_wrapper.gform-theme .gfield_label {
    font-size: 16px;
    color: #000;
}

.gform_wrapper.gform-theme .gfield input:not([type="checkbox"]),
.gform_wrapper.gform-theme textarea {
    border-width: 0 0 1px;
    border-color: rgba(0, 0, 0, 0.1);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    outline: none !important;
    padding: 0;
    color: #000;
}

.gform_wrapper.gform-theme .gfield input:not([type="checkbox"]):focus,
.gform_wrapper.gform-theme textarea:focus {
	border-color: #f382a2;
}

.gform_wrapper.gform-theme textarea {
    min-height: 80px !important;
    height: 80px;
}

.gform_wrapper.gform-theme .more-information>div {
    border: 1px solid rgba(0, 0, 0, 0.1);
    max-height: 160px;
    overflow-Y: scroll;
    padding: 10px;
}

.gform_wrapper.gform-theme .more-information>div::-webkit-scrollbar,
.gform_wrapper.gform-theme textarea::-webkit-scrollbar {
    width: 4px;
    outline: 1px solid rgb(238, 238, 238, .5);
}

.gform_wrapper.gform-theme .more-information>div::-webkit-scrollbar-track,
.gform_wrapper.gform-theme textarea::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px #fff7e0;
}

.gform_wrapper.gform-theme .more-information>div::-webkit-scrollbar-thumb,
.gform_wrapper.gform-theme textarea::-webkit-scrollbar-thumb {
    background-color: #f16a9b;
    outline: 1px solid #f16a9b;
}

.gform_wrapper.gform-theme .gform_footer {
	position: relative;
	padding-top: 20px;
}

.gform_wrapper.gform-theme .gform_footer .gform-loader {
	position: absolute;
	right: 10px;
	left: auto;
	top: 50%;
	transform: translateY(-50%);
	border-inline-start-color: #fff;
	border-block-end-color: #fff;
}

.gform_wrapper.gform-theme .gform_footer input[type=submit] {
    background: #f16a9b !important;
    transition: background .3s ease-in-out !important;
	outline: none !important;
	border: none !important;
}

.gform_wrapper.gform-theme .gform_footer input[type=submit]:hover {
    background: #f382a2 !important;
}

.gform_wrapper.gform-theme .gfield_error input {
	border-color: var(--gf-color-danger, #c02b0a) !important;
}

/*
 * Single Post Template
 * */
 
/* .single-post .wp-block-gallery.has-nested-images {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 30px 20px;
} */

.single-post .wp-block-gallery.has-nested-images > .wp-block-image {
	/* width: 100% !important; */
	/* border-radius: 15px; */
	overflow: hidden;
	cursor: zoom-in;
}

.single-post .wp-block-gallery.has-nested-images > .wp-block-image img {
	aspect-ratio: 356/272;
	object-fit: cover;
}

.single-post .brxe-post-content a {
	color: #f16a9b;
}

.single-post .brxe-post-content .wp-block-heading {
	margin-bottom: 20px;
}

.single-post .pswp__img {
	object-fit: contain;
}

@media (max-width: 767px) {
	.single-post .wp-block-gallery.has-nested-images {
		grid-template-columns: repeat(2,1fr);
	}
}

.home-steps .step {
    position: relative;
    overflow: hidden;
}
.home-steps .step > *:not(.step-process) {
    z-index: 2;
    position: relative;
}
.home-steps .step.active .box-num {
    background-color: #000!important;
    color: #fff!important;
}
.home-steps .step-process {
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 0;
    z-index: 1;
    opacity: 0;
}
.home-steps .step.active .step-process {
    opacity: 1;
}
.home-steps .step-process::before {
    content: "";
    position: absolute;
    width: 1px;
    top: 36px;
    background: #000;
    left: 18px;
    bottom: 0;
}
.home-steps .step-process::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background: #000;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}
.home-steps .step.last-step.active::before {
    top: 0!important;
    bottom: 0!important;
    opacity: 1!important;
}
.home-steps .step.last-step.active + .sp-step::before {
    opacity: 1!important;
} 
.home-steps .step.last-step.active + .sp-step::after {
    opacity: 1!important;
    width: 36px!important;
}
.home-steps .step.last-step.active + .sp-step .brxe-button {
    color: #fff!important;
    background-color: #000!important;
}
@media(max-width: 767px) {
    .home-steps .step-process,
    .home-steps .step::before,
    .home-steps .sp-step::before,
    .home-steps .sp-step::after {
        display: none!important;
    }
    .home-steps .sp-step {
        margin-left: 0!important;
    }
}