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

p + h2,
p + h3,
p + h4,
.brxe-text + h2,
.brxe-text + h3, 
.brxe-text + h4 {
    margin-top: 28px;
}

:focus {
	outline:none !important;
}

/* CTA menu */

ul.bricks-nav-menu li.destacado a {
	display: flex;
	padding: 12px 24px;
	border-radius: 100px;
	background: var(--color-neutral-700);
	font-weight:600;
}

#footer ul.bricks-nav-menu li.destacado {
	display:none;
} 

/* Desplegable WPML */

body .wpml-ls-legacy-dropdown a,
body .wpml-ls-legacy-dropdown a:focus,
body .wpml-ls-legacy-dropdown .wpml-ls-current-language:hover>a,
body .wpml-ls-legacy-dropdown:hover a {
	background:transparent;
	color:var(--color-white);
	border:none;
	font-weight:500;
}

body .wpml-ls-legacy-dropdown {
	width:max-content;
}

body .wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
	border:none;
	border-radius:6px;
	padding-top:4px;
	padding-bottom: 8px;
    padding-left: 2px;
	padding-right:2px;
	right:unset;
	left:8px;
	display:flex;
	flex-direction:column;
	gap:4px;
	background:var(--color-white);
	box-shadow: 8px 8px 20px 0px rgba(24, 22, 50, 0.24);
}

body .wpml-ls-legacy-dropdown .wpml-ls-sub-menu a {
	font-weight:300;
	color:var(--color-neutral-700);
	font-size:14px;
}

body .wpml-ls-legacy-dropdown .wpml-ls-sub-menu a:hover {
	text-decoration:underline;
	text-underline-offset:4px;
}

body a.js-wpml-ls-item-toggle.wpml-ls-item-toggle {
	pointer-events:none;
}

/* Cookie banner */

button.cky-btn {
    border-radius: 200px;
}

p.cky-title {
	display:none;
}

span.cky-preference-title,
button.cky-accordion-btn {
    color: var(--color-neutral-700) !important;
}

/* HERO PRINCIPAL
 * ............ */

/* DIV H1 - Inglés */

html[lang="en-US"] .home #brxe-fmfhxt {
	max-width:524px;
}

/* H1 - Francés */

html[lang="fr-FR"] .home h1.brxe-heading,
html[lang="es-ES"] .home h1.brxe-heading {
	font-size:56px;
}

@media (width <= 767px) {
	html[lang="fr-FR"] .home h1.brxe-heading,
	html[lang="es-ES"] .home h1.brxe-heading {
		font-size:48px;
	}
}

@media (width <= 478px) {
	html[lang="fr-FR"] .home h1.brxe-heading,
	html[lang="es-ES"] .home h1.brxe-heading {
		font-size:36px;
	}
}
@media (width <= 356px) {
	html[lang="fr-FR"] .home h1.brxe-heading,
	html[lang="es-ES"] .home h1.brxe-heading {
		font-size:32px;
	}
}

/* CF7 
 * ....*/

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
	accent-color: var(--color-coral-p);
}

.pets-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pets-select {
	display:flex;
	flex-direction:column;
	gap:16px;
}

.wpcf7-div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wpcf7-div label {
	font-family: Poppins;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 150%;
	color:var(--color-neutral-700);
}

.wpcf7-div .wpcf7-radio span.wpcf7-list-item.first {
	margin-left:0;
}

.wpcf7-div .wpcf7-radio label {
    font-weight: 400;
	margin-bottom:0;
}

span.other-pet-trigger {
	color: var(--color-turquoise-p);
	cursor:pointer;
}

input.wpcf7-form-control,
textarea.wpcf7-form-control,
select.wpcf7-form-control {
    padding: 4px 16px;
    border-radius: 8px;
    border: 1px solid var(--color-neutral-300);
	transition:all .4s;
}

span.wpcf7-form-control-wrap[data-name="subject-select"] {
	background:var(--color-white);
}

.wpcf7cf_repeater .wpcf7-radio {
	display:flex;
	gap:24px;
	margin:0 0 8px 8px;
}

.wpcf7cf_repeater .wpcf7-radio label {
	font-size:14px;
	font-weight:400;
	line-height:140%;
}

.wpcf7cf_repeater .wpcf7-radio .wpcf7-list-item {
	margin:0;
}

.wpcf7cf_repeater .wpcf7-radio input {
	position:relative;
	top:1.5px;
}

textarea.wpcf7-form-control {
    padding: 12px 16px;
}

input.wpcf7-form-control:focus,
textarea.wpcf7-form-control:focus,
select.wpcf7-form-control:focus {
    border-color: var(--color-coral-p);
}

input.wpcf7-form-control::placeholder,
textarea.wpcf7-form-control::placeholder,
select.wpcf7-form-control::placeholder {
    color: var(--color-neutral-500);
	transition:all .4s;
}

input.wpcf7-form-control:focus::placeholder,
textarea.wpcf7-form-control:focus::placeholder,
select.wpcf7-form-control:focus::placeholder {
    opacity:.5;
}

input.wpcf7-form-control.wpcf7-submit {
	width:max-content;
	padding: 16px 24px;
    border-radius: 100px;
	border:1px solid var(--color-neutral-700);
    background: var(--color-neutral-700);
    color: var(--color-white);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 150%;
	transition:all .4s;
}

input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover {
	background: var(--color-white);
    color: var(--color-neutral-700);
}

input.wpcf7-form-control.wpcf7-submit[disabled] {
	opacity:.32;
}

.page-id-427 input.wpcf7-form-control.wpcf7-submit {
	max-width:max-content;
}

.wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

.wpcf7-acceptance label {
    display: flex;
    gap: 12px;
    font-size: 14px;
    align-items: center;
	margin-bottom:0;
	line-height: 170%;
}

.wpcf7-spinner {
	display:none;
}

.wpcf7 form .wpcf7-response-output {
	margin:unset;
}

/* Add/Remove buttons - PLUGIN PREMIUM */

div[data-orig_data_id="pet-dog-other"],
div[data-orig_data_id="pet-cat-other"] {
    margin-top: 12px;
}

.wpcf7cf_repeater .wpcf7cf_repeater_controls {
	margin-top:-12px;
}

.wpcf7cf_add, 
.wpcf7cf_remove {
	line-height:170%;
	background:none;
}

.wpcf7cf_add {
	color:var(--color-turquoise-p);
}

.wpcf7cf_remove {
	color:var(--color-coral-p);
	font-size:14px;
	line-height:150%;
	position:relative;
}

.wpcf7cf_remove:before {
	content:"";
	background:url(/wp-content/uploads/2024/01/trash.svg);
	background-size:contain;
	position:absolute;
	left:-20px;
	top:2.5px;
	width:16px;
	height:16px;
}

/* Add/remove buttons */

.wpcf7-field-groups {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wpcf7-field-group .wpcf7-div {
	margin-bottom:8px;
}

.wpcf7-field-group:first-child .wpcf7-div {
    display: none;
}

.wpcf7-field-group button.wpcf7-field-group-add {
	display:none;
}

.wpcf7-field-group:last-child button.wpcf7-field-group-add {
	display:flex;
}

button.wpcf7-field-group-add,
button.wpcf7-field-group-remove {
    color: var(--color-coral-p);
    line-height: 170%;
    background: unset;
    display: flex;
    gap: 8px;
}

button.wpcf7-field-group-remove {
    color: var(--color-turquoise-p);
	font-size:14px;
}

button.wpcf7-field-group-add:after {
    content: "Add another pet";
}

html[lang="fr-FR"] button.wpcf7-field-group-add:after {
    content: "Ajouter un autre animal";
}

button.wpcf7-field-group-remove:after {
    content: "Remove";
}

html[lang="fr-FR"] button.wpcf7-field-group-remove:after {
    content: "Retirer";
}

/* Protegido con contraseña 
 * .........................*/

article.post-password-required {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	padding:32px;
}

article.post-password-required h1 {
    display:none;
}

article.post-password-required p:first-child {
    max-width:300px;
}

article.post-password-required input[type="password"] {
    min-height: 40px;
    line-height:150%;
}

article.post-password-required input[type="submit"] {
    min-height: 40px;
    border: solid 1px var(--color-coral-p);
    background: var(--color-coral-p);
    color: var(--color-white);
	font-size: 14px;
    font-weight: 600;
}