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


*:focus, *:focus-visible {
	outline: none !important;
}
a, button, div {
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
}
/* rimuove bordo del'icona dell'elemento dropdown di bricks */
.brx-submenu-toggle svg {
    stroke: none;
}
/* rimuove padding di iubenda */
.iub_content.legal_pp {
    padding: 0px !important;
}
#iubenda_policy .iub_container{
	margin: 0px !important;
}
/* line height di iubenda*/
#iubenda-cs-banner #iubenda-cs-title{
	line-height: 16px!important;
}
/* rimuove icona del calendario nei campi data */
#form-contatti input::-webkit-calendar-picker-indicator {
    display: none;
}
/* impedisce il doppio click del pulsante di cf7 */
.wpcf7-form {
    &.submitting {
        .wpcf7-submit {
            pointer-events: none;
        }
    }
}
*::-webkit-scrollbar {
    display: none;
}

/* aggiunta icona pulsanti*/
.bricks-background-primary:after{
	content: url('/wp-content/uploads/2025/06/arrow-up-right.svg');
  	align-self: center;
	display: block;
  	width: 23px;
  	height: 21px;
}

/*FORM-STYLE*/
input[type="file"]{
    display: none;
}
#form-contatti .form-cv label{
    background-color: white;
    color: black !important;
    display: inline-block;
    padding: 15px 30px;
    cursor: pointer;
    line-height: 15px !important;
    border-radius: 25px;
    margin-left: 15px;
}
#form-contatti .align-center {
    align-items: center;
}
#form-contatti .form-div label {
    color: white;
    display: block;
    font-weight: 400;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 30px;
}
#form-contatti label{
    color: white;
    font-size: 14px;
    line-height: unset;
	margin-bottom: 30px;
}
#form-contatti .wpcf7-list-item{
    margin: 0px;
}
#form-contatti .btn--primary, #form-contatti .btn--black{
    width: 200px;
}
#form-contatti .cv-pad input[type="file"] {
    padding: 0px !important;
    margin-left: 15px;
    color: white;
    font-size: 14px;
    line-height: 30px;
}
.form-div .input, .form-div input:not([type=submit]), .form-div select, .form-div textarea{
    border: none;
    padding: 10px 30px;
    line-height: 25px;
    color: #363636;
    border-radius: 50px;
    border: 1px solid #000;
	min-height: 60px;
  background-color: #fff;
}
.form-div textarea{
    max-height: 70px;
}
textarea:focus, input:focus, textarea:focus-visible, input:focus-visible {
	border-color: transparent !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
	outline: none !important;
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
	-webkit-box-shadow: 0 0 0 30px #FFFFFF inset !important;
}
.btn--primary, .bricks-button.btn--primary, .btn--black, .bricks-button.btn--black{
    text-align: center;
}
.wpcf7-spinner {
    display: none;
}
.checkbox-privacy{
    width: 10px !important;
    height: 10px !important;
	margin-right: 5px;
}
.checkbox-privacy:before {
	content: "";
	display: block;
	position: absolute;
	width: 20px;
	height: 20px;
	top: 0;
	left: 0;
	border: 1px solid #000;
    border-radius: 5px;
	background-color: white;
}
.checkbox-privacy:checked:after {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	border: 1px solid #000;
    border-radius: 5px;
	background-image: url(https://pernice.com/wp-content/uploads/2023/01/checkbox-active.svg);
    background-size: cover;
	position: absolute;
	top: 0px;
	left: 0px;
}
.display-flex, .display-flex-check{
    display: flex;
}
.display-flex-check .wpcf7-form-control-wrap{
	margin-right: 10px;
}
.display-flex-check .wpcf7-form-control-wrap .wpcf7-acceptance{
    display: flex;
}
#form-contatti .wpcf7 form .wpcf7-response-output {
    margin: 2em 0 1em;
    padding: 0.2em 1em;
    border: 1px solid #000000;
	background-color: white;
	border-radius: 15px;
	color: #000000;
}
#form-contatti .wpcf7 form.invalid .wpcf7-response-output, #form-contatti .wpcf7 form.unaccepted .wpcf7-response-output, #form-contatti .wpcf7 form.payment-required .wpcf7-response-output {
	background-color: var(--primary-light);
}
#form-contatti .wpcf7 form.sent .wpcf7-response-output {
	background-color: #bef4cf;
}
#form-contatti .form-gap{
  gap: 40px;
  margin-bottom: 40px;
}
@media only screen and (max-width: 767px){
    .display-flex{
        display: block !important;
    }
}
/*END FORM STYLE*/

/*----------------------------------------------------------- NOTEBOOK -----------------------------------------------------------*/
@media only screen and (max-width: 1470px){
	#form-contatti .form-gap{
    gap: 20px;
    margin-bottom: 20px;
  }
}
/*--------------------------------------------------------- END NOTEBOOK ---------------------------------------------------------*/





/*------------------------------------------------------------ TABLET ------------------------------------------------------------*/
@media only screen and (max-width: 1024px){
	
}
/*---------------------------------------------------------- END TABLET ----------------------------------------------------------*/





/*------------------------------------------------------------ MOBILE ------------------------------------------------------------*/
@media only screen and (max-width: 767px){
	a, button, div {
		-webkit-tap-highlight-color: transparent;
		-webkit-touch-callout: none;
	}
	.bu-burger-sub-menu{
		max-width: 100vw !important;
	}
}
/*---------------------------------------------------------- END MOBILE ----------------------------------------------------------*/