/* @override 
	https://dev2.anfa.es/wp-content/themes/anfa/style.css?* */

/*
 Theme Name:   ANFA Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Theme WP ANFA
 Author:       Albert Calzada
 Author URI:   https://trilogi.com/
 Template:     bricks
 Version:      2.3
 Text Domain:  bricks
*/


/* colores 

--kt-color-azul: rgba(0, 99, 190, 1);
--kt-color-blanco: rgba(255, 255, 255, 1);
--kt-color-negro: rgba(0, 0, 0, 1);
--kt-color-txt: rgba(0, 0, 0, 1);
--kt-color-gris: rgba(165, 165, 165, 0.9);

font-base-size: 16px;
 */

:where(p) {
  margin: 0 0 0.8em;
}
.brx-body {
	/*min-height: 100dvh;*/
}

:where(p:last-child) {
  margin-bottom: 0;
}

#wp-admin-bar-editor_mode {
	display: none !important;
}

.subratllat_fi {
	text-decoration-line: underline;
text-decoration-thickness: 0.9px;
text-underline-offset: 5px;
}
.subratllat_fi2 {
	text-decoration-line: underline;
text-decoration-thickness: 1.25px;
text-underline-offset: 3px;
}

* {
	text-decoration-thickness: 0.8px !important;
	text-underline-offset: 3px;
}

.hoversubratllat a:hover {
	text-decoration: underline;
}
a .link_subratllat, a.link_subratllat, .link_subratllat a {
	text-decoration: underline;
}


/* FORM CONTACTO */
.gform_required_legend {
	display: none;
}
/* deshabilitar chrome estils formularis */


input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 0px white inset !important;
	box-shadow: none !important;
	outline: none !important;
	
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
 -webkit-box-shadow: 0 0 0 0px white inset !important;
  transition: background-color 5000s ease-in-out 0s;
  box-shadow: none !important;
  outline: none !important;
  
}
:focus, :focus-visible{
   -webkit-box-shadow: 0 0 0 0px white inset !important;
	box-shadow: none !important;
	outline: none !important;
	/*border-color: #000 !important;*/

}

.gform_wrapper.gravity-theme input:not([type="radio"]):not([type="checkbox"]):not([type="image"]):not([type="file"]) {
    /*line-height: 1 !important;*/

}

.form_anfa div.gform_fields input, .form_anfa div.gform_fields textarea, .form_anfa div.gform_fields select {
		border: 0.5px solid #000;
  transition: all 0.3s ease-in-out;
  align-items: center;
  display: inline-flex;
  gap: 10px;
  justify-content: center;
  letter-spacing: .5px;
  text-align: left;
  width: 100%;
  background-color: #fff;
  line-height: 2em;
  padding-top: 2px;
	padding-bottom: 2px;
  font-size: 15px;
  border-radius: 6px;
}
.form_anfa div.gform_fields input.large , .form_anfa div.ginput_complex input {
  height: 45px;
  border-radius: 6px;
  padding: 15px;
}
.form_anfa.form_anfa_contact div.gform_fields input.large {

  background-color: #F4F4F4;
}

 .form_anfa div.gform_fields textarea {
 	height: 160px;
 	line-height: 1.2em !important;
 	resize: none;
   -webkit-border-radius: 10px;
   -moz-border-radius: 10px;
   border-radius: 6px;  padding: 15px;
   width: 100% !important;
   min-width: 100% !important;
 }
 .form_anfa.form_anfa_contact div.gform_fields textarea {
 	 background-color: #F4F4F4;
 }
.form_anfa .ginput_container_fileupload input {
width: 100% !important;
}

.form_anfa input::-webkit-input-placeholder { /* Edge */
color: #000000;
  	font-weight: 400 !important;
	font-style: normal !important;
	opacity: 1 !important;
	font-size: 18px;
}

.form_anfa input:-ms-input-placeholder { /* Internet Explorer 10-11 */
color: #000000;
  
  	font-weight: 400 !important;
	font-style: normal !important;
	opacity: 1 !important;
font-size: 18px;
}

.form_anfa input::placeholder, .form_anfa textarea::placeholder{
color: #000000;
  
  	font-weight: 400 !important;
	font-style: normal !important;
	opacity: 1 !important;
font-size: 18px;
}

 .gfield_consent_description {
	border: none !important;
	padding: 0 !important;
	 color: #000000 !important;	
  	font-weight: normal !important;
	font-style: normal !important;
  margin-top: 0 !important;
  overflow: visible !important;
  margin-bottom: 24px !important;
  font-weight: 300 !important;
  letter-spacing: 0;
  min-height: auto !important;
  height: auto !important;
  max-height: inherit !important;
  font-size: 12px !important;
  line-height: 1.3em !important; 
 } 
 .gfield_consent_description a:hover {
 	text-decoration: underline;
 }
.ginput_container_consent input {
	border: 1px solid #000000 !important;
	border-radius: 0px !important;
}

fieldset.gfield--type-consent div.ginput_container.ginput_container_consent:hover, fieldset.gf_campo_check_newsletter .gchoice:hover {
	cursor: pointer;
}
.camp_proteccio_dades {
  margin-top: 50px !important;
}
.camp_proteccio_dades input {
background-color:  #00000000 !important;
}
.camp_proteccio_dades a {text-decoration: underline;}

.form_anfa label.gfield_label.gform-field-label, .form_anfa legend.gfield_label.gform-field-label.gfield_label_before_complex  {
color: #222222;
font-weight: 600;
	font-size: 16px;
  letter-spacing: 0.1px;
  gap: 2px;
  align-content: flex-start;
  align-items: start;
}
.form_anfa legend.gfield_label.gform-field-label.gfield_label_before_complex {
	
}
fieldset.gfield--type-consent div.ginput_container.ginput_container_consent label  {
		letter-spacing: 0;
	margin-left: 5px;
	font-size: 14px !important;
	color: #000000;
	margin-top: 2px;
}


.camp_notas_labelSeccio {
  margin-top: 70px !important;
}
.camp_notas_labelSeccio label{
  font-weight: 400;
  font-size: 24px !important;
  letter-spacing: 0.75px !important;
  margin-bottom: 40px !important;
}

.gfield_required.gfield_required_asterisk {
	color: #000;

}

.gform-theme--framework input[type="checkbox"]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *))::before { 
color: #000000 !important;

}
.form_anfa div.gform_footer {
	margin-top: 40px;
}
input.gform_button.button {
	color: #fff !important;
  font-weight: 800 !important;
  letter-spacing: 0.1px !important;
  padding: 0.5em 1.5em !important;
  border: 2px solid #8c2524;
  border-radius: 10px !important;
  transition: all 0.3s ease-in-out !important;
  font-family: "Inter" !important;
  font-size: 17px !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
  background-color: #8c2524 !important;
}

input.gform_button.button:hover {
		cursor: pointer;
	transition: all 0.3s ease-in-out !important;
	  background-color: rgba(139, 37, 36, 0.59) !important;
	  border: 2px solid rgba(255, 255, 255, 0.59);

}
.gform-theme--foundation .gform_fields {
	row-gap: 30px !important;
}


/* formulario  */

/* img zoom */
.wrap_hover_img_zoom:hover .wrap_img_zoom img {
  transform: scale(1.09);
  -webkit-transition: all 0.4s linear !important;
  -moz-transition: all 0.4s linear !important;
  -o-transition: all 0.4s linear !important;
  transition: all 0.4s linear !important;
}
.wrap_hover_img_zoom .wrap_img_zoom {
	overflow: hidden;
}
.wrap_hover_img_zoom .wrap_img_zoom img {
  transform: scale(1);
  -webkit-transition: all 0.4s linear !important;
  -moz-transition: all 0.4s linear !important;
  -o-transition: all 0.4s linear !important;
  transition: all 0.4s linear !important;
}
.wrap_hover_img_zoom:hover .nom_titol_border {
	border-color: var(--bricks-color-rtxtuy);
	  -webkit-transition: all 0.4s linear !important;
  -moz-transition: all 0.4s linear !important;
  -o-transition: all 0.4s linear !important;
  transition: all 0.4s linear !important;
}.wrap_hover_img_zoom .nom_titol_border {

	  -webkit-transition: all 0.4s linear !important;
  -moz-transition: all 0.4s linear !important;
  -o-transition: all 0.4s linear !important;
  transition: all 0.4s linear !important;
}


/* Estilo para el placeholder en todos los navegadores */
.form-control::placeholder {
    color: black;
    font-size: 16px;
    opacity: 1; /* Asegura que el color sea visible en algunos navegadores */
}

/* Compatibilidad con navegadores antiguos */
.form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: black;
    font-size: 15px;
}

.form-control::-ms-input-placeholder { /* Microsoft Edge (legacy) */
    color: black;
    font-size: 15px;
}



.postcontentblog h2, .postcontentblog h3, .postcontentblog h4 {
	margin-top: 35px;
	margin-bottom: 20px;
}


/* header */
header img.logo_header_petit {
	position: absolute;
	transition: all 0.3s ease-in-out;
}
header img.logo_header_gran,  .wrap-header-right {
	
	transition: all 0.3s ease-in-out;
}
.x-header_sticky:not(.x-header_sticky-active) img.logo_header_petit {
	opacity: 0;
}
.x-header_sticky.x-header_sticky-active img.logo_header_gran {
	opacity: 0;
}
.menu-pral-header .sub-menu {
	min-width: 100%;
	padding-top: 15px;
	padding-bottom: 15px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.wrap-header-right {
	gap: 25px;
}
.x-header_sticky.x-header_sticky-active .wrap-header-right {
	gap: 15px;
}
.x-header_sticky.x-header_sticky-active #brxe-gjibwr .bricks-nav-menu > li > a  {
	/*font-size: var(--txt-body-xs);*/
	/*font-size: 15px !important;*/
}
/* home */

.linea-titular {
	width: 30px;
  height: 1px;
  background: var(--color-anfa);
  display: inline-block;
}
.titular-secc {
	display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bold-anfa {
	font-weight: 800 !important;
	color: var(--color-anfa) !important;
}

.form_login_zona {
	padding: 30px;
	border-radius: 20px;
	background-color: rgba(150, 33, 35, 0.73);
}

.form_login_zona .gform_body .gform_fields {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.form_login_zona .gform_body .gform_fields label {
	color: #fff;
	font-size: 17px;
}
.form_login_zona .gform_body .gform_fields input {
	border-radius: 15px;
}

div#input_3.gfield_checkbox div.gchoice.gchoice_3 {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 10px;
}

form#gform_0 div.gform_footer {
	margin-top: 40px;
	margin-bottom: 15px;
}
.form_login_zona nav.gf_login_links a {
	font-size: 14px;
	color: #fff;
}

.form_login_zona nav.gf_login_links a:hover {
	text-decoration: underline;
}

#gform_0 .gfield-choice-input[type="checkbox"]{
	appearance: none;
	-webkit-appearance: none;
	width: 15px;
	height: 15px;
	border: 1px solid #962223;
	border-radius: 0;
	background: #fff;
	display: inline-grid;
	place-content: center;
	margin: 0;
	vertical-align: middle;
	cursor: pointer;
	min-width: 15px;
	min-height: 15px;
	max-width: 15px;
	max-height: 15px;
	padding: 0;
}

#gform_0 .gfield-choice-input[type="checkbox"]::before{
	content: "";
	width: 15px;
	height: 15px;
	transform: scale(0);
	transition: 120ms transform ease-in-out;
	background: #962223;
	min-width: 15px;
	min-height: 15px;
	max-width: 15px;
	max-height: 15px;
	padding: 0;
}

#gform_0 .gfield-choice-input[type="checkbox"]:checked{
	border-color: red;
	background: #fff;
}

#gform_0 .gfield-choice-input[type="checkbox"]:checked::before{
	transform: scale(1);
}

#gform_0 #label_3{
	color: #fff;
	margin-bottom: 0;
	font-size: 16px;
}

/* responsive */
@media (max-width: 1485px) {


}

@media (max-width: 1180px) {
 
 
	
}

@media (max-width: 960px) {
 .gform-theme--foundation .gform_fields {
    grid-template-columns: 1fr !important;
  }

  .gform-theme--foundation .gfield--width-half {
	grid-column: 1/-1 !important;
  }

}
@media (max-width: 678px) {

}
@media (max-width: 478px) {
		
}
