/**
Theme Name: Michele Bompadre
Author: EDEA studio
Author URI: https://www.edeastudio.it/
Description: Theme by EDEA studio
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: michele-bompadre
Template: astra
*/

/* --ast-global-color-0 BLUE */
/* --ast-global-color-1 ARANCIONE */

/* --------------------------------------------------------------- */
/* HEADER */
/* --------------------------------------------------------------- */

header .main-header-bar-navigation ul li a{
	color: white;
	}

.ast-desktop .ast-menu-hover-style-underline > .menu-item:hover > .menu-link:before, .ast-desktop .ast-menu-hover-style-overline > .menu-item:hover > .menu-link:before{
	color: var( --e-global-color-astglobalcolor1 );
	}

/* --------------------------------------------------------------- */
/* FIX SFONDI ESAGONALI */
/* --------------------------------------------------------------- */

@media screen and (min-width: 1921px) {
	#hero .elementor-background-overlay{
		background-size: 70% auto;
	}

	#dicono-di-me{
		background-size: 95vw auto;
	}

	#news{

	}
}

@media screen and (min-width: 2000px) {
	#hero .elementor-background-overlay{

	}

	#dicono-di-me{
		background-size: 73vw auto;
	}

	#news{
		background-size: 80vw auto;
	}
}

@media screen and (min-width: 2600px) {
	#hero .elementor-background-overlay{

	}

	#dicono-di-me{
		background-size: 60vw auto;
	}

	#news{
		background-size: 60vw auto;
	}
}

/* --------------------------------------------------------------- */
/* HERO */
/* --------------------------------------------------------------- */

#hero .socia-hero .elementor-social-icons-wrapper .elementor-social-icon{
	box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 20%);
	}
	
@media screen and (min-width: 1024px) and (max-width: 1350px) {  

	#hero .elementor-background-overlay{
		background-size: 130% auto;
		}
	}


/* --------------------------------------------------------------- */
/* COSA DICONO DI ME */
/* --------------------------------------------------------------- */

#dicono-di-me .elementor-testimonial-wrapper .elementor-testimonial-meta .elementor-testimonial-image img {
	border-radius: 0;
	}



/* --------------------------------------------------------------- */
/* DOMANDE E RISPOSTE */
/* --------------------------------------------------------------- */

#faq .elementor-widget-accordion .elementor-accordion .elementor-accordion-item:first-child{
	display: none;
	}

#faq .elementor-widget-accordion .elementor-accordion .elementor-accordion-item{
	border: none;
	}

#faq .elementor-widget-accordion .elementor-accordion .elementor-accordion-item .elementor-tab-content{
	border: none;
	}

/* --------------------------------------------------------------- */
/* NEWS */
/* --------------------------------------------------------------- */

#news .bdp-post-carousel.bdp-design-1 .bdp-post-carousel-content{
	margin-left: 40px;
	margin-right: 40px;
	}

#news .bdp-post-carousel .bdp-post-carousel-content .bdp-post-image-bg img{
	border-radius: 6px;
	}

#news .bdp-post-carousel .bdp-post-carousel-content h2{
	line-height: 26px;
	min-height: 60px;
	text-align: left;
	}

#news .bdp-post-carousel .bdp-post-carousel-content h2 a{
	font-size:  22px;
	color: #282728;
	}

#news .bdp-post-carousel .bdp-post-carousel-content .bdp-post-content{
	background-color: white;
	border-left: 2px solid var(--e-global-color-astglobalcolor1);
	text-align: left;
	padding: 10px;
	border-radius: 0 8px 8px 0;
	position: relative;
	margin-bottom: 50px;
	box-shadow: 5px 5px 20px 1px rgba(0,0,0,0.04);
	}

#news .bdp-post-carousel .bdp-post-carousel-content .bdp-post-content .bdp-post-short-content::before{
	content: '';
	display: block;
	height: 50px;
	background-image: url(https://www.bompadreavvocatoonline.it/wp-content/uploads/webp/bompadre-autore5%20copia.webp);
	background-repeat: no-repeat;
	background-size: contain;
	margin-bottom: 10px;
	}

#news .bdp-post-carousel .bdp-post-carousel-content .bdp-post-content .bdp-post-short-content{
	line-height: 22px;
	}

#news .bdp-post-carousel .bdp-post-carousel-content .bdp-post-content a{
	background-color: var(--ast-global-color-0);
	border: none;
	border-radius: 20px;
	color:white;
	font-weight: bold;
	position: absolute;
	right: 20px;
	bottom: -20px;
	z-index: 999;
	padding: 12px 35px;
	}

#news .bdp-post-carousel .bdp-post-carousel-content .bdp-post-image-bg a img{
	height: 190px;
    object-fit: cover;
    width: 100%;
	}

#news .bdp-post-carousel .slick-dots li button{
	border-color: #bec1c5 !important;
	}


#news .bdp-post-carousel .slick-dots li.slick-active button{
	background: var(--ast-global-color-0) !important;
	border-color: var(--ast-global-color-0) !important;
}

#news .bdp-post-carousel .slick-dots li button{
	background: #e1e1e1 !important;
}

@media screen and (max-width: 1024px) {
	#news .bdp-post-carousel .bdp-post-carousel-content .bdp-post-image-bg a img{
		
		}
  }

/* --------------------------------------------------------------- */
/* ARTICOLO SINGOLO */
/* --------------------------------------------------------------- */

.single.single-post .post-thumb-img-content.post-thumb img{
	width: 100%;
	}

/* --------------------------------------------------------------- */
/* FORM CONSULENZA LEGALE */
/* --------------------------------------------------------------- */

.cpp_form div,
.cpp_form th,
.cpp_form td,
.cpp_form input,
.cpp_form form,
.yui-calendar div{
	font-family: "Lato", Sans-serif !important;
	}

.cpp_form .abc_selectdate.fields{
	text-align: center;
	font-size: 22px;
	}

.cpp_form .yui-calendar .calhead{
	background-color: var(--ast-global-color-0);
	}

.cpp_form .yui-calendar .calnavright, .cpp_form .yui-calendar .calnavleft{
	border-color: var(--e-global-color-astglobalcolor1);
	}

.cpp_form .yui-calendar .calheader{
	color: var(--e-global-color-astglobalcolor1);
	}

.cpp_form .abc_selectdate.fields{
	margin-bottom: 10px;
	}

.cpp_form #cal1Container table.yui-calendar{
	background-color: #f9f9f9;
	border-radius: 4px;
	}

.cpp_form #cal1Container table.yui-calendar thead tr th.calhead{
	border-top-left-radius: 4px !important;
    border-top-right-radius: 4px !important;
	}

.cpp_form #cal1Container .yui-calcontainer{
	border-radius: 5px !important;

	}

.cpp_form input, 
.cpp_form textarea{
	border-radius: 4px !important;
	}

.cpp_form .yui-calendar td.calcell a:hover,
.cpp_form  .yui-calendar td.calcell.selected a, .yui-calendar td.calcell.reserveddate a{
	background: var(--ast-global-color-0 );
	}

.cpp_form .listcal>div{
	background: var(--ast-global-color-1);
	}

.yui-panel .bd .cell, 
.yui-panel .bd .cell2,
.cell,
.cell12{
	border-color: var(--ast-global-color-0) !important;
	}

.yui-panel .bd .cell:hover, .yui-panel .bd .cell12:hover{
	background-color: var(--ast-global-color-0) !important;
	}

#listcal1 .container-close:before, #listcal1 .cancel-btn a:before{
	padding-top: 2px !important; 
	}

.yui-panel-container.yui-dialog .container-close:before{
	top: -3px;
	}

.yui-panel .hd{
	background-color: var(--ast-global-color-0) !important;
	}

.cpp_form .pbSubmit{
	width: 100%;
	text-align: center;
	background-color: var(--ast-global-color-0);
	color: white;
	padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 5px;
	}

.cpp_form #fbuilder .large{
	padding-left: 10px;
	}

.captcha input{
	width:100%
	}

/* --------------------------------------------------------------- */
/* FORM SUPPORTO GRATUITO */
/* --------------------------------------------------------------- */

#form-supporto-gratuito .wpcf7-form input,
#form-supporto-gratuito .wpcf7-form textarea{
	border-radius: 4px;	
	}

#form-supporto-gratuito .wpcf7-form .wpcf7-submit{
	width: 100%;
	}

#form-supporto-gratuito .wpcf7-list-item{
	margin: 0;
	}



/* --------------------------------------------------------------- */
/* ICONA SUPPORTO GRATUITO */
/* --------------------------------------------------------------- */

.support-box {
	position: fixed;
	bottom: 55px;
	right: 30px;
	z-index:9999;
}

.support-box .support-icon{
	display: block;
	width: 60px;
	height: 60px;
	background-color: var(--e-global-color-astglobalcolor1 );
	border-radius: 100%;
	padding-top: 2px;
}


/* --------------------------------------------------------------- */
/* HEADER  */
/* --------------------------------------------------------------- */
.ast-header-button-1, .ast-builder-menu-1, div[data-section="section-header-mobile-trigger"], aside.header-widget-area{
	display:none !important;
}

:is(.page-id-1478, .page-id-530, .page-id-532, .single-post) :is(.ast-header-button-1, .ast-builder-menu-1, div[data-section="section-header-mobile-trigger"], aside.header-widget-area){
	display: flex !important;
}


:is(.page-id-1478, .page-id-530, .page-id-532, .single-post) .ast-header-account{
	display: none !important;	
}

header aside.header-widget-area .wp-block-buttons .privato-veloce-btn a{
	background-color: transparent !important;
	border: 2px solid #e78b48;
	color: #e78b48;
	font-weight: 900 !important;
}

header aside.header-widget-area .wp-block-buttons .privato-veloce-btn a:hover{
	color: white;
	background: rgba(232, 139, 72, 0.24) !important;
    border-color: var(--ast-global-color-1) !important;
}

.wp-block-buttons>.wp-block-button.wp-block-button__width-25.privato-veloce-btn{
	width: 100% !important;
}

@media (max-width: 1170px) {
	body header.site-header .site-primary-header-wrap aside.header-widget-area{
		display: none !important;
	}
}

