/*
Theme Name: Tema ACD
Author: Jesma
Version:1.0
*/

body{
	font-family: "Poppins", serif;
	background-color: #EEEBF0;
	padding-right: 0 !important;
}


/* Fonts */

h1,h2,h3,h4,h5{
	font-family: "Poppins", serif;
}

p{
	font-family: "Poppins", serif;
	font-size: 14px;
}
h2{
	font-size: 40px;
}
h3{
	font-size: 20px;
}
h4{
	font-size: 14px;
	line-height: 21px;
}
.light{
	font-weight: 300;
  	font-style: normal;
}
.regular{
	font-weight: 400;
  	font-style: normal;
}
.medium{
	font-weight: 500;
  	font-style: normal;
}

.semibold{
	font-weight: 600;
  	font-style: normal;
}

.bold{
	font-weight: 700;
  	font-style: normal;
}

.extrabold{
	font-weight: 800;
  	font-style: normal;
}

.titolo{
	font-size: 65px;
	line-height: 75px;
}


/* Colori principali del sito */

.bg_blue{
	background-color: #3C75AA;
}

.blue{
	color: #3C75AA;
}

.bg_orange{
	background-color: #FBB03B;
}

.orange{
	color: #FBB03B;
}

.bg_dark_grey{
	background-color: #393737;
}

.dark_grey{
	color: #393737;
}

.bg_grey{
	background-color: #EEEBF0 ;
}

.grey{
	color: #EEEBF0 ;
}

.bg_white{
	background-color: #FFFFFF;
}

.white{
	color: #FFFFFF;
}

.light-grey{
	color: #F8F8FA;
}

.bg_light_grey{
	background-color: #F8F8FA;
}

/* Margini Custom */

.margine_standard{
	margin-top: 140px;
}

.margine_header{
	margin-top:270px;
}

.separatore{
	border-top: 1px solid #EEEBF0;
	opacity: 1;
}

.border-black{
	border:1px solid #0F0009;
}

/* Border Custom */

.border-25{
	border-radius: 25px;
}

/* Dimensioni Custom */
.object > img{
	object-fit: cover;
}

.centrato{
	left: 50%;
    transform: translateX(-50%); /* Centra orizzontalmente */
}

/* Bottoni Custom */


.bottone{
	max-width: 250px;
	border-radius:25px;
	padding-left: 10px;
	padding-right: 10px;
	height: 40px;
	font-size: 14px;
}

.bottone.bg_orange:hover{
	background-color: #3C75AA;
	color:#fff;
}

.bottone.bg_blue:hover{
	background-color: #FBB03B;
	color: #393737;
}

.bottone.bg_white:hover{
	background-color: #FBB03B;
	color: #393737;
}

i.orange:hover{
	color:#3C75AA;
}

i.orange_footer{
	color:#FBB03B;
}

i.orange_footer:hover{
	color:#fff;
}

.scroller{
	width: 100px;
	border-radius:25px;
	padding: 5px;
	height: 40px;
	font-size: 14px;
}

.scroller.bg_orange:hover{
	background-color: #3C75AA;
	color:#fff;
}

.scroller.bg_blue:hover{
	background-color: #FBB03B;
	color: #393737;
}

/* Chatbot */

#chatbot {
    display: none; /* Nasconde il chatbot all'inizio */
}

img.mwai-icon {
    
}

.custom-modal {
    height: 80vh; /* 80% della viewport height */
    max-height: 80vh; /* Forza il limite massimo */
}

.custom-modal .modal-content {
    height: auto;
    display: flex;
    flex-direction: column;
}

.custom-modal .modal-body {
    flex: 1;
    overflow-y: auto;
}

.modal-backdrop{
	z-index: 3!important;
}

.mwai-messages-theme{
	--mwai-maxHeight:100vh!important;
}

/* Commerce */
.prezzo {
    font-size: 20px;
    background-color: #3C75AA;
    color: #fff;
    width: 130px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
  	font-style: normal;
  	border-radius: 0px 12px 12px 0px;
}

.scheda{
	min-height: 410px;
	display: flex;
    align-items: center;
    justify-content: center;
}

/* Casi Studio */

a.scheda-caso {
    background-color: #fff;
    width: 100%;
    min-height: 300px;
    text-decoration: none;
    display: grid;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    transition: color 0.3s ease-in-out; /* Transizione fluida */
}

a.scheda-caso h2{
	color: #FBB03B;
}

a.scheda-caso:hover{
	background-color: #FBB03B;
}

/* Cambio colore su hover */
a.scheda-caso:hover h2,
a.scheda-caso:hover .numero {
    color: #FBB03B;
}

a.scheda-caso:hover .numero {
    color: #FFF;
}

a.scheda-caso:hover .bottone {
    background-color: #FBB03B;
    color:#393737;
}

/* Rivoluzione Bancaria Copernicana */

.rivoluzione{
	background-color: #163B6D;
}

/* Magazine */

.scheda-magazine{
	object-fit: contain;
	max-height: 195px;
}

/* Footer */

a.white_footer{
	color:#fff;
	text-decoration: none;
}

a.white_footer:hover,
a.nav-link.active{
	color: #FBB03B;
}

a.nav-link:hover,
a.nav-link.active {
    color: #FBB03B !important;
}

a.policy{
	font-size: 12px;
	color:#393737;
	text-decoration: none;
	margin-right: 20px;
	display: inline-block;
}

a.policy:hover{
	color: #FBB03B;;
}

a.breadcrumb-item{
	color: #393737;
	text-decoration: none;
}

a.breadcrumb-item:hover{
	color: #FBB03B;
}

#breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: inline-block;
    margin-right: 5px; /* Aggiungi un po' di spazio tra gli elementi */
}

.breadcrumb-separator {
    margin-right: 5px; /* Spazio tra i link e il separatore ">" */
}

.box-titoli{
	min-height: 200px;
	display: grid;
	align-items: center;
}

.bottone_piccolo{
	width: 150px;
	border-radius:25px;
	padding: 5px;
	height: 40px;
	font-size: 14px;
}

.bottone_piccolo.bg_orange:hover{
	background-color: #3C75AA;
	color:#fff;
}

.bottone_piccolo.bg_blue:hover{
	background-color: #FBB03B;
	color: #393737;
}

.bottone_piccolo.bg_white:hover{
	background-color: #FBB03B;
	color: #393737;
}

img.w-100.img-fluid.foto-articolo.wp-post-image {
    max-height: 150px;
    object-fit: cover;
    object-position: center;
}

.scheda_articolo {
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden; /* Importante per far rispettare i bordi arrotondati */
}

a.scheda-articolo_piccolo {
    background-color: #fff!important;
    width: 100%;
    text-decoration: none;
    display: inline-block;
    border-radius: 50px;
    color: #393737;
}
a.scheda-articolo_piccolo:hover{
	background-color: #FBB03B!important;
	color:#fff;
}

a.scheda-articolo_grande {
    background-color: #EEEBF0!important;
    width: 100%;
    text-decoration: none;
    display: inline-block;
    border-radius: 50px;
    color: #393737;
}
a.scheda-articolo_grande:hover{
	background-color: #FBB03B!important;
	color:#fff;
}

#mega-menu-wrap-menu_principale #mega-menu-menu_principale > li.mega-menu-flyout ul.mega-sub-menu{
	border:1px solid #fff!important;
	padding: 10px!important;
}

img.interno-articolo{
	height: 330px;
	object-fit: cover;
}

/* Forza la visualizzazione delle icone AddToAny */
.a2a_kit a {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Se il problema è dovuto agli elementi "vuoti", forziamo un contenuto */
.a2a_kit a:empty {
    display: inline-block !important;
    width: 32px !important;
    height: 32px !important;
    background-color: transparent !important;
}

/* Migliora il contrasto e la visibilità */
.addtoany_list a img {
    opacity: 1 !important;
    filter: none !important;
}

/* Evita che il display venga forzato a none */
.a2a_kit a[class^="a2a_button_"] {
    display: inline-block !important;
}

.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register {
    border:none!important;
}

a.password{
	color: #393737;
	font-size: 14px;
	text-decoration: none;
}

a.password:hover{
	color: #FBB03B;
}

.blocco_accesso {
	min-height: 800px;
  display: flex; /* Imposta il contenitore come flex container */
  flex-direction: column; /* Allinea gli elementi in colonna */
  justify-content: center; /* Allinea verticalmente al centro */
}

.form-login{
	border-radius: 25px;
	border: 1px solid #EEEBF0;
	width: 100%;
	background: #EEEBF0;
	height: 35px;
	padding: 20px;
	margin-bottom: 20px;
}

li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--payment-methods {
    display: none!important;
}

.woocommerce table.shop_table{
	border:none!important;
}
tr.custom-order-border {
    border-bottom: 2px solid #000;
    height: 200px!important;
}
.woocommerce table.shop_table{
	border-collapse: collapse!important;
}
thead {
    border-bottom: 2px solid #000;
}

.p-ReturnAutofillPrompt.p-Block.Block {
    background: transparent !important;
}

#payment {
    background: transparent !important;
}

#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box{
	 background: transparent !important;
}

.p-ReturnAutofillPrompt.Block {
    background-color: #fff !important;
    box-shadow: none !important;
}

.c-BlockPadding {
    background-color: #fff!important;
}

table.table.mt-5.transparent {
    --bs-table-bg: transparent ! Important;
}

.qty {
    width: 50px;
    text-align: center;
}

/* Personalizza tutti gli input */
.custom-input-class {
    margin-bottom: 20px;
}

.custom-input-style {
	background-color: #f8f8f8;
    padding: 10px;
    border-radius: 5px;
    border-color:transparent;
    font-size: 14px;
    color: #707070;
}

/* Personalizza i <select> normali */
.custom-select-class {
    padding: 10px;
    border-radius: 5px;
    background-color: #f8f8f8;
    font-size: 14px;
    color: #707070;
    border-color:transparent;
}

/* Personalizza il <span> generato da Select2 */
.select2-selection__rendered {
    background-color: #f8f8f8;
    padding: 10px;
    border-radius: 5px;
    border-color:transparent;
    font-size: 14px;
    color: #707070;
}

.select2-container--default .select2-selection--single{
	border-color:transparent!important;
}

button.button.alt {
   	width: 250px;
	border-radius:25px;
	padding: 5px;
	height: 40px;
	font-size: 14px;
	background-color: #FBB03B;
	border:1px solid #000;
}

button.button.alt:hover {
    background-color: #3C75AA; /* Colore di sfondo al passaggio del mouse */
    color: #fff;
}


.bottone_pdf{
	max-width: 100%;
	border-radius:25px;
	padding: 10px;
	font-size: 14px;
}

.bottone_pdf.bg_orange:hover{
	background-color: #3C75AA;
	color:#fff;
}

.bottone_pdf.bg_blue:hover{
	background-color: #FBB03B;
	color: #393737;
}

.bottone_pdf.bg_white:hover{
	background-color: #FBB03B;
	color: #393737;
}

a.dark_grey{
	color:#393737;
	text-decoration: none;
}

a.dark_grey:hover{
	color:#FBB03B;
}

.progress{
	width: 40%;
	margin:0 auto;
	text-align: center;
	margin-top:10px;
	border-radius: 0px!important;
}

.progress > p{
	text-align: center;
}

.bg-uploading {
    background-color: #3C75AA !important; /* Blu custom */
}

.bg-uploaded {
    background-color: #FBB03B !important; /* Giallo/Verde custom */
}

.bg-error {
    background-color: #6c757d !important; /* Grigio Bootstrap */
}

.text-success{
	color:#0F0009 !important;
}

button.bottone_pdf[disabled] {
    background-color: #FBB03B !important;
    color: #0F0009!important;
    cursor: default;
    opacity: 1;
}

.modale-questionario {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modale-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    width: 100%;
    max-width: 960px;
    max-height: 800px;
    overflow-x: scroll;
}
.chiudi-modale {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
}

select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required {
    border-radius: 25px;
    border: 1px solid #EEEBF0;
    width: 100%;
    background: #EEEBF0;
    margin-bottom: 20px;
    height: 35px;
    padding: 5px;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner{
	max-width: 100%;
	border-radius:25px;
	padding: 10px;
	font-size: 14px;
	background-color:#FBB03B;
	border: 1px solid #0F0009;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner:hover{
	background-color:#3C75AA;
	color: #fff;
}