/********************/
/* XIAHDEH - BRICKS */
/********************/

/* GLOBAL */
:root {
	--black-color: var(--bricks-color-tnrvsj, black);
	--white-color: var(--bricks-color-fldext, white);
	--gray-color: var(--bricks-color-pgukcr, lightgray);
	--primary-color: var(--bricks-color-uyxzvm, black);
	--secondary-color: var(--bricks-color-wunhhp, black);
	--tertiary-color: var(--bricks-color-nulbpg, black);
	--quaternary-color: var(--bricks-color-xjimzs, black);
	--quinary-color: var(--bricks-color-qipsme, black);
	--senary-color: var(--bricks-color-ukbcec, black);
	--septenary-color: var(--bricks-color-vxxymh, black);
	--octonary-color: var(--bricks-color-pgfvog, black);
	--nonary-color: var(--bricks-color-xyoyuo, black);
	--denary-color: var(--bricks-color-ktopnp, black);
}
:where(.wp-block-heading):not(:first-child),
:where(p):not(:first-child) {
    margin: 1.2em 0 0 0;
}
body {
	min-height: 100vh;
	background-color: var(--white-color, white);
}
body #brx-content .brxe-section:first-of-type {
	margin-top: 0;
}
body #brx-content .brxe-section:last-of-type {
	margin-bottom: 0;
}
.bricks-no-posts-wrapper {
	width: 100%;
}
.bricks-no-posts-wrapper .title {
	margin: 1.5em 0;
}
.brx-popup .brx-popup-content {
	max-width: calc(100% - 1em);
	max-height: calc(100% - 1em - env(safe-area-inset-bottom));
}
.brxe-text,
.brxe-text-basic {
	width: 100%;
}
.brxe-text h1:not(:first-child),
.brxe-text h2:not(:first-child),
.brxe-text h3:not(:first-child),
.brxe-text h4:not(:first-child),
.brxe-text h5:not(:first-child),
.brxe-text h6:not(:first-child),
.brxe-text-basic h1:not(:first-child),
.brxe-text-basic h2:not(:first-child),
.brxe-text-basic h3:not(:first-child),
.brxe-text-basic h4:not(:first-child),
.brxe-text-basic h5:not(:first-child),
.brxe-text-basic h6:not(:first-child) {
	margin: 1.2em 0 1.2em 0;
}
.brxe-text p:first-child,
.brxe-text-basic p:first-child {
	margin: 0;
}
.brxe-text ul,
.brxe-text-basic ul,
.brxe-text ol,
.brxe-text-basic ol {
	margin: 0;
	padding: 0 0 0 1em;
}
.brxe-text ul li,
.brxe-text-basic ul li,
.brxe-text ol li,
.brxe-text-basic ol li {
	margin: 0;
	padding: .25em 0 0 0;
}

/* NOT FOUND */
.bricks-posts-nothing-found {
	width: 100% !important;
	text-align: center;
}

/* STICKY HEADER */
.sticky-header {
	transition: var(--bricks-transition);
}

/* POST PASSWORD */
form.post-password-form input {
	border-radius: 25px;
}
form.post-password-form {
	padding: 1em 0;
}
form.post-password-form label {
	color: inherit;
}
form.post-password-form input:not([type="submit"]) {
	width: auto;
	border-color: initial;
}
form.post-password-form input[type="submit"] {
	padding: .5em 1em;
    color: var(--white-color, white);
    background-color: var(--primary-color, black);
    border: .125em solid var(--primary-color, black);
    font-size: calc(100% - 2px);
    font-weight: bold;
}
form.post-password-form input[type="submit"]:hover,
form.post-password-form input[type="submit"]:focus,
body.woocommerce form.post-password-form input[type="submit"]:hover,
body.woocommerce form.post-password-form input[type="submit"]:focus {
	color: var(--primary-color, black) !important;
	background-color: var(--white-color, white) !important;
	border-color: var(--primary-color, black) !important;
}
@media all and (max-width: 1130px) {
	form.post-password-form {
		padding: 1em;
	}
}

/* MODAL */
.x-modal_backdrop {
	background-color: rgba(0,0,0,.5);
	cursor: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAAAfUlEQVRIib2VuQ3AIBAEketycHK5dEYVQ+IAycjm2fWFSDsL3JfSHwFkIIS8AHJ7cAIFuATwPkth8snYMRnWrphMa2YEy68eEW7n7Q0gq7weSFnWD6Ac3pjEDS4zXX9Ib7Ea1i+yJtlaptZGs44K67CzjmvrwrGvTPvSd0YFxBSfIGJgqmYAAAAASUVORK5CYII="), auto;
}
.x-modal_container {
	cursor: auto;
}
.x-modal_content {
	position: relative;
}
.x-modal_close {
	aspect-ratio: 1 / 1;
	z-index: 1;
}

/* OTHERS */
.bricks-is-frontend .hide,
.bricks-is-frontend .hidden {
	display: none;
}

/* PRINT */
@media print {
	#brx-header,
	#brx-footer {
		display: none !important;
	}
}