
.source{
    font-family: 'Source Serif Pro';
}

/*Bold Source Serif Pro*/
.text-xxs-bold-source
{font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.4rem;
    letter-spacing: 0.04rem;
    color: #000000;
}
.text-xs-bold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.6rem;
    letter-spacing: 0.04rem;
    color: #000000;
}

.text-sm-bold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 2rem;
    color: #000000;
}



.text-xs-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.6rem;
    letter-spacing: 0.01rem;

}
.text-base-bold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 2.4rem;
    color: #000000;

}

.text-lg-bold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 1.8rem !important;
    line-height: 2.8rem;
    color: #000000;
letter-spacing: 0 !important;
}
.text-xl-bold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 2rem !important;
    line-height: 2.8rem;
    color: #000 !important;

}
.text-2xl-bold-source{
    font-family: 'Source Serif Pro' !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 2.4rem !important;
    line-height: 3.2rem !important;
    color: #000 !important;

}
.text-3xl-bold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 3rem;
    line-height: 3.6rem;
    color: #000000;

}
.text-4xl-bold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 3.6rem;
    line-height: 4rem;
    color: #000000;

}
.text-5xl-bold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 4.8rem;
    line-height: 100%;
    color: #000000;

}
.text-6xl-bold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 6rem;
    line-height: 100%;
    color: #000000;

}
.text-7xl-bold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 7.2rem;
    line-height: 100%;
    color: #000000;

}
.text-8xl-bold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 9.6rem;
    line-height: 100%;
    color: #000000;

}
.text-9xl-bold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 12.8rem;
    line-height: 100%;
    color: #000000;

}

/*End Bold Source Serif Pro*/


/*SemiBold Source Serif Pro*/
.text-xxs-semibold-source
{font-family: 'Source Serif Pro';
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4rem;
    /* identical to box height, or 140% */

    letter-spacing: 0.04px;
    color: #000000;
}
.text-xs-semibold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.6rem;
    letter-spacing: 0.04rem;
    color: #000000;
}

.text-sm-semibold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 2rem;
    color: #fff !important;
}

.text-base-semibold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 2.4rem;
    color: #000000;

}

.text-lg-semibold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 600;
    font-size: 1.8rem;
    line-height: 2.8rem;
    color: #000000;

}
.text-xl-semibold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 600;
    font-size: 2rem;
    line-height: 2.8rem;
    color: #000000;

}
.text-2xl-semibold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 600;
    font-size: 2.4rem;
    line-height: 3.2rem;
    color: #000000;

}
.text-3xl-semibold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 600;
    font-size: 3rem;
    line-height: 3.6rem;
    color: #000000;

}
.text-4xl-semibold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 600;
    font-size: 3.6rem;
    line-height: 4rem;
    color: #000000;

}
.text-5xl-semibold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 4.8rem;
    line-height: 100%;
    color: #000 !important;

}
.heading-blog h1{
    color:#fff !important
}
.text-6xl-semibold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 600;
    font-size: 6rem;
    line-height: 100%;
    color: #000000;

}
.text-7xl-semibold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 600;
    font-size: 7.2rem;
    line-height: 100%;
    color: #000000;

}
.text-8xl-semibold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 600;
    font-size: 9.6rem;
    line-height: 100%;
    color: #000000;

}
.text-9xl-semibold-source{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 600;
    font-size: 12.8rem;
    line-height: 100%;
    color: #000000;

}
/*End Semibold Source Serif*/


.text-lg-light-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 300;
    font-size: 1.8rem;
    line-height: 2.8rem;

}

/*Regular Avenir*/
.text-xxs-regular-avenir
{font-family: 'Avenir';
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.4rem;
    letter-spacing: 0.04rem;
}
.text-xs-regular-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.6rem;
    /* identical to box height, or 133% */

    letter-spacing: 0.01rem;

    color: #000;
}

.text-sm-regular-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 2rem;
    color: #000000;
}

.text-base-regular-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 2.4rem;
    color: #000000;

}

.text-lg-regular-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 2.8rem;
    color: #000000;

}
.text-xl-regular-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 400;
    font-size: 2rem;
    line-height: 2.8rem;
    color: #000000;

}
.text-2xl-regular-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 400;
    font-size: 2.4rem;
    line-height: 3.2rem;
    color: #000000;

}
.text-3xl-regular-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 400;
    font-size: 3rem;
    line-height: 3.6rem;
    color: #000000;

}
.text-4xl-regular-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 400;
    font-size: 3.6rem;
    line-height: 4rem;
    color: #000000;

}
.text-5xl-regular-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 400;
    font-size: 4.8rem;
    line-height: 100%;
    color: #000000;

}
.text-6xl-regular-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 400;
    font-size: 6rem;
    line-height: 100%;
    color: #000000;

}
.text-7xl-regular-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 400;
    font-size: 7.2rem;
    line-height: 100%;
    color: #000000;

}
.text-8xl-regular-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 400;
    font-size: 9.6rem;
    line-height: 100%;
    color: #000000;

}
.text-9xl-regular-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 400;
    font-size: 12.8rem;
    line-height: 100%;
    color: #000000;

}

/*End Regular Avenir*/


/* Medium Avenir*/
.text-xxs-medium-avenir
{font-family: 'Avenir';
    font-style: normal;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.4rem;
    letter-spacing: 0.04rem;
}
.text-xs-medium-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.6rem;
    letter-spacing: 0.01rem;

    color: #000000;
}
.text-xs-medium-upper-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.6rem;
    letter-spacing: 0.01rem;
    text-transform: uppercase;

    color: #000000;
}


.text-sm-medium-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 2rem;
    color: #000000;
}
.text-sm-medium-upper-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 2rem;
    letter-spacing: 0.04rem;
    text-transform: uppercase;
    color: #000000;
}

.text-base-medium-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 2.4rem;
    color: #000000;

}
.text-base-medium-upper-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 2.4rem;
    color: #000000;
    text-transform: uppercase;
}

.text-lg-medium-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 500 !important;
    font-size: 1.8rem !important;
    line-height: 2.8rem !important;
    color: #000000;

}
.text-lg-medium-upper-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 2.8rem;
    letter-spacing: 0.04rem;
    text-transform: uppercase;
    color: #000000;

}
.text-xl-medium-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 500;
    font-size: 2rem;
    line-height: 2.8rem;
    color: #000000;

}


.text-2xl-medium-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 500;
    font-size: 2.4rem;
    line-height: 3.2rem;
    color: #000000;

}
.text-3xl-medium-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 500;
    font-size: 3rem;
    line-height: 3.6rem;
    color: #000000;

}
.text-4xl-medium-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 500;
    font-size: 3.6rem;
    line-height: 4rem;
    color: #000000;

}
.text-5xl-medium-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 500;
    font-size: 4.8rem;
    line-height: 100%;
    color: #000000;

}
.text-6xl-medium-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 500;
    font-size: 6rem;
    line-height: 100%;
    color: #000000;

}
.text-7xl-medium-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 500;
    font-size: 7.2rem;
    line-height: 100%;
    color: #000000;

}
.text-8xl-medium-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 500;
    font-size: 9.6rem;
    line-height: 100%;
    color: #000000;

}
.text-9xl-medium-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 500;
    font-size: 12.8rem;
    line-height: 100%;
    color: #000000;

}

/*End Medium Avenir*/


/* Heavy Avenir*/
.text-xxs-heavy-avenir
{font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 1rem;
    line-height: 1.4rem;
    letter-spacing: 0.04rem;
}
.text-xs-heavy-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 1.2rem;
    line-height: 1.6rem;
    letter-spacing: 0.01rem;

    color: #000000;
}

.text-xs-heavy-btn-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 1.2rem;
    line-height: 1.6rem;
    letter-spacing: 0.06rem;
    text-transform: uppercase;

    color: #000000;
}


.text-sm-heavy-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 1.4rem;
    line-height: 2rem;
    color: #000000;
}
.text-sm-heavy-upper-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 1.4rem;
    line-height: 2rem;
    letter-spacing: 0.04rem;
    text-transform: uppercase !important;
    color: #000000;
}
.text-sm-heavy-btn-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 1.4rem;
    line-height: 2rem;
    letter-spacing: 0.06rem;
    text-transform: uppercase !important;
    color: #000000;
}

.text-base-heavy-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 1.6rem;
    line-height: 2.4rem;
    color: #000000;

}
.text-base-heavy-upper-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 1.6rem;
    line-height: 2.4rem;
    color: #000000;
    letter-spacing: 0.04rem;
    text-transform: uppercase;
}
.text-base-heavy-btn-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 1.6rem;
    line-height: 2.4rem;
    color: #000000;
    letter-spacing: 0.06rem;
    text-transform: uppercase;
}

.text-lg-heavy-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 1.8rem;
    line-height: 2.8rem;
    color: #000000;

}
.text-lg-heavy-upper-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 1.8rem;
    line-height: 2.8rem;
    letter-spacing: 0.02rem;
    text-transform: uppercase;
    color: #000000;

}
.text-xl-heavy-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 2rem;
    line-height: 2.8rem;
    color: #000000;

}


.text-2xl-heavy-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 2.4rem;
    line-height: 3.2rem;
    color: #000000;

}
.text-2xl-heavy-upper-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 2.4rem;
    letter-spacing: 0.02rem;

    color: #000000;

}
.text-3xl-heavy-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 3rem;
    line-height: 3.6rem;
    color: #000000;

}


.text-3xl-heavy-upper-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 3rem;
    line-height: 3.6rem;

    color: #000000;

}

.text-3xl-heavy-upper-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 3rem;
    line-height: 3.6rem;
    letter-spacing: 0.02rem;
    color: #000000;

}
.text-4xl-heavy-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 3.6rem;
    line-height: 4rem;
    color: #000000;

}

.text-5xl-heavy-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 4.8rem;
    line-height: 100%;
    color: #000000;

}
.text-6xl-heavy-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 6rem;
    line-height: 100%;
    color: #000000;

}
.text-7xl-heavy-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 7.2rem;
    line-height: 100%;
    color: #000000;

}
.text-8xl-heavy-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 9.6rem;
    line-height: 100%;
    color: #000000;

}
.text-9xl-heavy-avenir{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 12.8rem;
    line-height: 100%;
    color: #000000;

}

/*End Heavy Avenir*/


.light{
    font-weight: 300;
}

.regular{
    font-weight: 400;

}


.medium{
    font-weight: 500;
}

.heavy{
    font-weight:900 ;
}
.heavy-btn{
    font-weight: 900;
    letter-spacing: 0.06rem;
}



#articoli-breadcrumb  li,#articoli-breadcrumb li a{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.6rem;
    text-transform: none !important;
}
#articoli-breadcrumb  li a{
    color:#000;
}





.form-control{
    border: 1px solid rgba(135, 28, 33, 0.5);
    border-radius: 4px;
    background: transparent !important;
    font-family: 'Avenir' !important;
    font-style: normal;
    font-weight: 500  !important;
    font-size: 1.4rem !important;
    line-height: 2rem !important;
    text-transform: none !important;
    height:5.6rem !important;
    /*margin-bottom:3.2rem !important;*/

}
.form-control:focus {
    border: 1px solid #871C21  !important;
}
.form-control input::placeholder{
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 2rem;
    text-transform: none !important;
}

.btn:hover{
    color:#fff !important;
}
.btn_large{
    padding: 1.6rem 2.8rem;
    /*background: #871C21 !important;*/
    /*border: 0.1rem solid #871C21 !important;*/
    background: #000 !important;
    border: 0.1rem solid #000 !important;
    border-radius: 0.4rem;
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 1.4rem;
    line-height: 2rem;
    letter-spacing: 0.06rem;
    color: #FFFFFF;
    transition: background-color 0.2s ease;
    text-transform: uppercase !important;
    text-align:center;
    border:0.1rem solid #000;

}
.btn_large_secondary{
    padding: 1.6rem 2.8rem;

    /* primary/#000000 */

    border: 0.1rem solid #000000 !important;
    border-radius: 0.4rem;
}

.btn_medium{
    transition: background-color 0.2s ease;
    text-align:center;
    border:1px solid #000;
    padding: 1.4rem 2.8rem;
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 1.4rem;
    line-height: 2rem;
    background: #000;
    border-radius: 0.4rem;
    color: #FFFFFF;
    text-transform: uppercase !important;
    align-self: start;

}

.btn_medium_secondary{
    background: #FFFFFF;
    font-family: 'Avenir';padding: 1.4rem 2.8rem;
    font-style: normal;
    font-weight: 900;
    font-size: 1.4rem;
    line-height: 2rem;
    letter-spacing: 0.06rem;
    border: 0.1rem solid #000000;
    border-radius: 0.4rem;
text-align: center;
    text-transform: uppercase;


}
.btn_medium_secondary:hover{
    transition: border 0.2s ease;
    color: #CCA01D;
    border:0.1rem solid #CCA01D;
}

.btn_small{
    white-space: normal;
    word-wrap: break-word;
    padding: 1rem 2.8rem;
    background: #000000;
    border-radius: 0.4rem;
    transition: background-color 0.2s ease;
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
    font-size: 1.4rem;
    line-height: 2rem;
    color:#fff;
    text-transform: uppercase !important;
    letter-spacing: 0.06rem;
}



.btn_large:hover,.btn_medium:hover,.btn_small:hover{
    background: #871C21 !important;
    border: 0.1rem solid #871C21 !important;


    /*background: #000 !important;*/
    color:#fff;
    /*border:0.1rem solid #000;*/
}

.btn_large_secondary:hover{
    border: 0.1rem solid #871c21 !important;
    border-radius: 0.4rem;
    color: #871c21;
}

h3{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 3rem !important;
    line-height: 3.6rem;
    text-align: center;
    color: #000000;
    letter-spacing: unset !important;
}
h5{
    font-family: 'Source Serif Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 2rem;
    line-height: 2.8rem;
    color: #CCA01D;
    margin-bottom: 0.8rem;
    text-align: center;
    letter-spacing: unset !important;


}

.bootstrap-select .dropdown-toggle:focus
{
    outline:none !important;
}

.btn.dropdown-toggle:hover{color:#000 !important;
}
.btn-default:active,.open>.dropdown-toggle.btn-default:focus{
    background-color: transparent !important;

    border:none !important;
}

.btn:active,btn:focus{
    outline:none !important
}
.btn-group.open .dropdown-toggle{
    box-shadow:none !important;
}

.open>.dropdown-toggle.btn-default:hover{
    background-color:transparent !important;
}


.section-50{
    margin-top: 6.4rem;
}


footer {
    /*margin-top: 11.2rem;*/
}

input[type="checkbox"] {
    /* Add if not using autoprefixer */
    -webkit-appearance: none;
    appearance: none;
    /* For iOS < 15 to remove gradient background */
    /* Not removed via appearance */
    margin: 0;
    font: inherit;
    color: #000;
    width: 1.6rem;
    height:1.6rem;
    border: 0.1rem solid #000;
    border-radius: 0.2rem;

    display: grid;
    place-content: center;
}

input[type=checkbox]::before {
    content: "";
    width: 0.65rem;
    height: 0.65rem;
    -webkit-clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    transform: scale(0) !important;
    transform-origin: bottom left;
    transition: 120ms transform ease-in-out;
    /*box-shadow: inset 1em 1em var(--form-control-color);*/
    /* Windows High Contrast Mode */
    background-color: #000;
}

input[type=checkbox]:checked::before {
    transform: scale(1) !important;
}

input[type=checkbox]:focus {
    outline: max(2px, 0.15em) solid transparent;

}



.checkbox{

    margin: 0 !important;
}


#txtCercapnlRicercaSemplice_ctl{
    flex:1;

}

#pnlRicercaSemplice .close{
    opacity:1;
}




#txtCercapnlRicercaSemplice{
    border: none !important;
    color:#fff !important;
}

#txtCercapnlRicercaSemplice::placeholder{
    color:#fff !important;
}
#btnCloseSearchPanelRicerca {
    /*border: 1px solid rgba(204, 160, 29, 0.5);*/
    /*border-radius: 0 4px 4px 0;*/
    /*border-left: none;*/
    padding: 1.6rem 2rem;
}

#txtCercapnlRicercaSemplice_ctl:has(#txtCercapnlRicercaSemplice:focus) #btnCloseSearchPanelRicerca{
    border: 1px solid #CCA01D !important;
}


.container-ricerca:focus{
    border:1px solid #fff;
}

#dtrTopBannerVetrina .btn_large,#upper-footer #btnMailNewsletter_ctl {

    background: #871C21 !important;

    border: 0.1rem solid #871C21 !important;
}


#dtrMainSectionsMenuCustom_ctl .conto-deposito-wrap{
    background: #fff;
    position: relative !important;
    padding: 0px 24px;
    text-align: center;
    margin-right: 3.2rem;
}

body:has([id="622"]) #dtrMainSectionsMenuCustom_ctl .conto-deposito{
    background: #e8c47c !important;
}

body:has([id="622"]) #dtrMainSectionsMenuCustom_ctl .conto-deposito-wrap {
    background:   #e8c47c !important;
}

body:has([id="622"]) #dtrMainSectionsMenuCustom_ctl .conto-deposito-wrap::before, body:has([id="622"]) #dtrMainSectionsMenuCustom_ctl .conto-deposito-wrap::after
{
    background: #e8c47c !important;
}
#dtrMainSectionsMenuCustom_ctl .conto-deposito{
    display: inline-block;
    background: #fff;
    color: #000;
    font-weight: 700;
    padding: 10px 0px;
    width: 100%;}

#dtrMainSectionsMenuCustom_ctl .conto-deposito-wrap::before,
#dtrMainSectionsMenuCustom_ctl .conto-deposito-wrap::after{
    content:"";
    position:absolute;
    left:0;
    width:100%;        /* = larghezza fascia */
    height:2px;        /* spessore linea */
    background:#fff;
}

/* coppia superiore */
#dtrMainSectionsMenuCustom_ctl .conto-deposito-wrap::before{
    top:-14px;
}

/* coppia inferiore */
#dtrMainSectionsMenuCustom_ctl .conto-deposito-wrap::after{
    bottom:-14px;
}
.modal-body{
border-radius: 1.6rem;}
.modal-content{
    border-radius: 1.6rem !important;
}

.modal-body #btnClose_ctl{
    background:#000;

}

.modal-body .close {
    /* float: right; */
    font-size: 27px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    padding: 10px 10px 0 0 !important;
opacity:1;}
@media (min-width: 768px) {
.wrapper-modal{width: 100%;
    aspect-ratio : 476 / 291;
    background: url(/themes/aureainvest2/immagini/popup-conto.png);
    background-size: cover;}
}
.wrapper-modal{
    border-bottom-left-radius: 1.6rem;
    border-bottom-right-radius: 1.6rem;
}
.wrapper-modal .row{
    height:100%;
    display:flex;
    flex-direction:column;
    align-items:start;
    justify-content: center;
}

.card-page-conto-deposito {
    background:url('/themes/aureainvest2/immagini/canvas_conto-deposito_landscape-v2.png');
}


.item-plus.conto{
    padding: 0 2.5rem;
}

.row-eq .box {
    flex: 1; /* occuperà tutta l’altezza disponibile quando il genitore diventa flex */
    padding: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) -33.52%, rgba(135, 28, 33, 0.2) 116.35%);
    margin-bottom: 15px; /* spazio verticale tra gli elementi quando sono impilati (mobile) */
}

/* --- Layout responsive --- */
/* Mobile (xs): elementi impilati uno sotto l’altro */
.row-eq {
    /* su mobile lasciamo il comportamento block di Bootstrap: niente flex qui */
    margin-bottom: 5rem; /* come nel tuo snippet */
}
.row-eq > [class*="col-"] {
    /* su mobile restano block: niente display:flex qui */
}

/* Da sm (≥768px): 3 colonne per riga con altezze uguali */
@media (min-width: 768px) {
    .row-eq {
        display: flex;
        flex-wrap: wrap;      /* permette più righe */
        margin-bottom: 5rem !important;
    }
    .row-eq > [class*="col-"] {
        display: flex;        /* consente alla .box interna di “stirarsi” */
    }
    .row-eq .box {
        margin-bottom: 0;     /* su desktop togli lo spazio verticale extra */
    }
}

#conto-deposito-plus{
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius:1.6rem;
    border: 0.1rem solid #4f0b10;

}

#conto-deposito-plus .conto-deposito-esperto {
    background: #ebebec !important;
    border-radius: 1.6rem;
    text-align: center;
    padding: 2rem 0;
    width: 100%;
}

#pnlpagina:has(#conto-deposito-plus){
    background: #fff !important;
}



#costi-conto-deposito .costs-table {
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 20px;
    background: #fff;
}
#costi-conto-deposito .costs-table thead th {
    background: #bfbfbf;          /* fascia grigia in testa */
    color: #000;
    text-transform: uppercase;
    font-weight: 600;
    border: 0;
    padding: 12px 15px;
}
#costi-conto-deposito .costs-table thead th + th {      /* linea verticale tra intestazioni */
    border-left: 1px solid #dcdcdc;
}

#costi-conto-deposito .costs-table tbody td {
    border: 0;
    /*border-bottom: 1px solid #dcdcdc; */
    padding: 12px 15px;
    vertical-align: middle;
}
#costi-conto-deposito .costs-table tbody td + td {       /* linee verticali tra celle */
    border-left: 1px solid #dcdcdc;
}

/* --- Versione impilata per mobile (≤767px) --- */
@media (max-width: 767px) {
    #costi-conto-deposito .table-stack-xs thead { display: none; }

    #costi-conto-deposito   .table-stack-xs tr {
        display: block;
        border: 1px solid #e6e6e6;
        border-radius: 2px;
        margin-bottom: 10px;
    }

    #costi-conto-deposito .table-stack-xs td {
        display: block;
        border: 0 !important;        /* niente bordi verticali */
        border-bottom: 1px solid #f0f0f0 !important;
        padding: 10px 15px 10px 46%;
        position: relative;
        min-height: 40px;
    }
    #costi-conto-deposito .table-stack-xs td:last-child {
        border-bottom: 0 !important;
    }

    #costi-conto-deposito .table-stack-xs td:before {
        content: attr(data-label);
        position: absolute;
        left: 12px;
        top: 10px;
        width: 40%;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 12px;
        color: #555;
    }
}


#custodia .step {
    display: flex
;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.custody-box {
    background: #fff;
    border: 1px solid #541114;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    max-width: 980px; /* opzionale */
    margin: 15px auto;
}

/* ---- Header con testo + badges ---- */
.custody-head {
    padding: 14px 16px;
    background: var(--custody-bg);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.custody-title {
    margin: 0 0 6px;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: .5px;
}

.custody-desc {
    margin: 0;
    color: var(--custody-text);
    line-height: 1.45;
    font-size: 13px;
}

.custody-link {
    color: var(--custody-link);
    font-weight: 600;
    text-decoration: underline;
}
.custody-link:hover { color: var(--custody-link-hover); }

/* iconcina info tonda */
.custody-info {
    display: inline-block;
    width: 18px; height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    background: #000; color: #fff;
    font-size: 12px;
    margin-left: 6px;
}

/* ---- Badges dei costi ---- */
.custody-badges {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; gap: 10px;
    flex-shrink: 0;
}
.custody-badge {
    background: #e8c47c;
    color: #000;
    border-radius: 6px;
    padding: 8px 10px;
    min-width: 120px;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.custody-badge__label {
    display: block;
    font-size: 1.2rem;
    text-transform: lowercase;
    opacity: .85;
    letter-spacing: 0.003rem;
}
.custody-badge__value {
    display: block;
    font-size: 2.5rem;
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 900;
}

/* ---- Toggle / barra bordeaux con checkbox ---- */
span#chkContoDeposito_ctl {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #541114;
    color: #fff;
    padding: 12px 16px;
    border-top: 1px solid rgba(0,0,0,.06);
    font-size: 1.5rem;
}
span#chkContoDeposito_ctl .form-group {
margin-bottom:0 !important;
}



.span#chkContoDeposito_ctl:hover { filter: brightness(1.02); }



.custody-toggle-text {
    font-weight: 600;
    letter-spacing: .2px;
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
    .custody-head { flex-direction: column; }
    .custody-badges { margin-top: 8px; }
    .custody-badge { width: 100%; min-width: 0; }
}



span#chkContoDeposito_ctl input{
    color:#fff !important;

    border: 0.1rem solid #fff !important;
}


span#chkContoDeposito_ctl input[type=checkbox]::before {

    background-color: #fff !important;
}


.ribbon{
    position:relative;

    margin:0 auto 18px;
    background:#541114;
    color:#fff;
    text-align:center;
    padding:14px 16px;
    border-radius:6px;
    font-weight:700;
    letter-spacing:.2px;
    box-shadow:0 2px 0 #541114;
}
.ribbon::after{
    content:""; position:absolute; left:50%; bottom:-9px; transform:translateX(-50%);
    width:0; height:0; border-left:10px solid transparent; border-right:10px solid transparent; border-top:10px solid #541114;
}


.custodia-box{
    margin:0 auto; background:var(--bg);
    border:2px solid #541114; border-radius:var(--radius);
    box-shadow:0 1px 0 rgba(0,0,0,.03);
}
.custodia-inner{ padding:22px 22px 16px; position:relative; }


.headline{ display:flex; align-items:center; gap:8px; font-weight:700; font-size:18px; }
.headline .dot{ width:16px; height:16px; border-radius:50%; background:#bbb; display:inline-block; position:relative; }
.headline .dot::before{content:"i"; position:absolute; inset:0; display:grid; place-items:center; color:#fff; font-weight:700; font-size:12px;}


.desc{ margin:8px 0 16px; line-height:1.4; color:var(--muted); font-size:14px; max-width:820px; }


.cta{ display:inline-block; font-weight:700; background:#541114; color:#fff; text-decoration:none; border:0;
    padding:12px 18px; border-radius:6px; box-shadow:0 2px 0 #541114; transition:transform .06s ease, filter .2s ease; }
.cta:hover{ filter:brightness(1.05);    color: #fff !important; }
.cta:active{ transform:translateY(1px); box-shadow:0 1px 0 #541114; }


.price-conto{ position:absolute; right:18px; top:22px; text-align:right; color:#333; }
.price .label{ font-size:14px; color:#555; }
.price .value{ font-size:26px; font-weight:700; }
.price .per{ font-size:12px; color:#7a7a7a; }


@media (max-width:720px){

    .price{ position:static; text-align:left; margin:8px 0 0; }
    .desc{ max-width:unset; }
}
.custodia-session-strip{  margin:24px auto; background:var(--bg); border:1.5px solid #541114; border-radius:var(--radius); position:relative; }
.custodia-session-strip__row{ display:flex; align-items:center; gap:16px; padding:12px 16px; }
.custodia-session-strip__note{ flex:1; font-size:13.5px; color:#333; white-space:normal; }
.custodia-session-strip__cta{ display:inline-block; font-weight:700; background:#541114; color:#fff; text-decoration:none; border:0; padding:10px 14px; border-radius:6px; box-shadow:0 2px 0 var(--wine-dark); transition:transform .06s ease, filter .2s ease; }
.custodia-session-strip__cta:hover{ filter:brightness(1.05);color:#fff !important; }
.custodia-session-strip__cta:active{ transform:translateY(1px); box-shadow:0 1px 0 var(--wine-dark); }
.custodia-session-strip__price{  right:14px; top:6px; text-align:right;     padding: 2rem 2rem 0 0;}
.custodia-session-strip__price .label{ font-size:12px; color:#541114; }
.custodia-session-strip__price .value{ font-size:15px; font-weight:700; color:#111; }
.custodia-session-strip__price .per{     font-size: 2rem;
    color: #541114;
    font-weight: 700;
}
custodia-session-strip__cta::hover{
    color:#fff !important;
}

/* Responsive */
@media (max-width:720px){

    .custodia-box__price{ position:static; text-align:left; margin:8px 0 0; }
    .custodia-box__desc{ max-width:unset; }


    .custodia-session-strip__row{ flex-direction:column; align-items:flex-start; gap:10px; }
    .custodia-session-strip__cta{ width:100%; text-align:center; }
    .custodia-session-strip__price{ position:static; order:-1; align-self:flex-end; margin:8px 16px 0 0; }
}


#dtrMainSectionsMenuCustom_ctl .conto-deposito:hover,#dtrMainSectionsMenuCustom_ctl .conto-deposito:active,.conto-deposito-wrap:hover,.conto-deposito-wrap:active{
    background:#e8c47c;
}
#dtrMainSectionsMenuCustom_ctl .conto-deposito:hover #dtrMainSectionsMenuCustom_ctl .conto-deposito-wrap::before,#dtrMainSectionsMenuCustom_ctl .conto-deposito:active #dtrMainSectionsMenuCustom_ctl .conto-deposito-wrap::before{
    background:#e8c47c;
}

#dtrMainSectionsMenuCustom_ctl .conto-deposito:hover #dtrMainSectionsMenuCustom_ctl .conto-deposito-wrap::after,#dtrMainSectionsMenuCustom_ctl .conto-deposito:active #dtrMainSectionsMenuCustom_ctl .conto-deposito-wrap::after{
    background:#e8c47c;
}
#dtrMainSectionsMenuCustom_ctl .conto-deposito-wrap:has(.conto-deposito:hover) {
    background: #e8c47c;
}
#dtrMainSectionsMenuCustom_ctl .conto-deposito-wrap:has(.conto-deposito:hover)::before,
#dtrMainSectionsMenuCustom_ctl .conto-deposito-wrap:has(.conto-deposito:hover)::after {
    background: #e8c47c;
}

#dtrMainSectionsMenuCustom_ctl .conto-deposito-wrap:has(.conto-deposito:is(:hover, :active))::before,
#dtrMainSectionsMenuCustom_ctl .conto-deposito-wrap:has(.conto-deposito:is(:hover, :active))::after {
    background: #e8c47c;
}

#dtrMainSectionsMenuCustom_ctl .conto-deposito-wrap:has(.conto-deposito:is(:hover, :active)) {
    background: #e8c47c;
}
#lnkMyAccountMobile svg path { fill: #fff; }


#top-banner-carousel .carousel-indicators li {
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    margin: 0 13px;

}

#top-banner-carousel  .carousel-indicators .active {
    width: 1.5rem;
    height: 1.5rem;
}

#costs-table {
    width: 100%;
    border-collapse: collapse;
}

/* ====== Desktop / Tablet (Bootstrap 3 invariato) ====== */
#costs-table {
    width: 100%;
    border-collapse: collapse;
}
#costs-table th,
#costs-table td {
    padding: .75rem 1rem;
    vertical-align: top;
}
#costs-table thead th {
    text-align: left;
    font-weight: 600;
    background: #f9fafb;
}

.table-responsive:has(> #costs-table) { overflow-x: visible !important; }

/* ---- Mobile (<768px, Bootstrap 3) ---- */
@media (max-width: 767px) {
    #costs-responsive{
        border:none !important;
    }
    .totale-conto-deposito{
        font-size:2rem !important;
    }
    .page-come-acquistare .nav>li>a {
        height: 100px;
    }


}

/* Card custom senza Bootstrap panel */
.conto-deposito-panel {
    padding: 4rem;
    border: 1px solid rgba(135, 28, 33, 0.2);
    box-shadow: 0px 12px 32px rgba(135, 28, 33, 0.16);

    margin-bottom: 32px;
    background: #fff;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}
.cdp-header {

    /*border-radius: 12px 12px 0 0;*/
    /*padding: 22px 28px;*/
    /*border-bottom: 1px solid #e5e5e5;*/
}
.cdp-title {
    font-size: 1.6rem;
    font-weight: 600;

    margin: 0;
}
.cdp-body {
    padding: 28px 24px;
}
.conto-deposito-panel .form-group {
    margin-bottom: 22px;
}
.conto-deposito-panel label {
    font-weight: 500;
    color: #000;
    margin-bottom: 6px;
    display: block;
}
.conto-deposito-panel .form-control-static,
.conto-deposito-panel .form-group > div,
.conto-deposito-panel .form-group > span {
    font-size: 1.15em;
    color: #222;
    background: #f6f8fa;
    border-radius: 5px;
    padding: 7px 14px;
    border: 1px solid #e5e5e5;
    display: block;
}
@media (max-width: 767px) {
    .cdp-body {
        padding: 14px 8px;
    }
    .conto-deposito-panel .form-group {
        margin-bottom: 14px;
    }
}

.cdp-actions .btn_small:active{
    color:#fff !important;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    background-color: #eee !important;}