/*
Theme Name: CityVision
Template: Divi
*/

/* Importa lo stile del tema genitore */
@import url("../Divi/style.css");
@import url("css/style_buone_pratiche.css");
@import url("css/style_innovation_district.css");
@import url("css/style_pubblicazioni.css");
@import url("css/style_eventi.css");
@import url("css/swiper.css");
@import url("css/style_speaker.css");
@import url("css/style_tab_events.css");

/* --- Classi di larghezza per le colonne --- */
/* (Il -10px serve a compensare il gap di 20px, dividendo 10px per colonna) */

#dae-shortcode248490-download-wrapper .dae-shortcode-register-checkbox-text {
    color: #FFF !important;
    font-size: 12px !important;
    font-family: Arial, Helvetica, sans-serif !important;
}


.menu_button a{
    background-color:#ff00e1 !important;
    color:#000e3d !important;
    padding: 10px 20px !important;
    border-radius: 4px;
    font-weight: 600;
}

.menu_button a:hover{
  color: #000e3d !important;
  font-weight: 600;
  transform: translateY(-3px);
  box-shadow: 0px 0px 50px rgba(231, 52, 216, 0.6);
}



.col-100 {
  flex-basis: calc(100% - 0px); /* Niente gap se è unica colonna */
  max-width: calc(100% - 0px);
}

.col-75 {
  flex-basis: calc(75% - 10px);
  max-width: calc(75% - 10px);
  float: left;
}

.col-25 {
  flex-basis: calc(25% - 10px);
  max-width: calc(25% - 10px);
  float: left;
  padding-left: 20px;
}


/* --- Media Queries per la Responsività --- */

@media (max-width: 768px) {
  .row {
    flex-direction: column; /* Le colonne si impilano verticalmente */
    gap: 15px; /* Riduci il gap quando sono impilate */
  }

  /* Tutte le colonne occupano il 100% su schermi piccoli */
  [class^="col-"] {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
}



.et_pb_gallery_0.et_pb_gallery .et_pb_gallery_item, .et_pb_gallery_1.et_pb_gallery .et_pb_gallery_item {
    border-color: #2E50F9;
    margin-right: 20px;
    box-shadow: #FFFF;
    box-shadow: 0px 40px 180px rgba(231, 52, 216, 0.4);
}

#main-content {
    background-color: #000e3d;
}

.pulsanti_affiancati 
.et_pb_button_module_wrapper{
      display: inline-block; 
      margin-right: 25px;
    }

.wp-pagenavi {
  text-align: center;
  padding-top: 15px;
  width: 1080px;
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
.wp-pagenavi {
  width: 100%;
}
.wp-pagenavi a.page, span.extend, a.last {
 display: none;
 }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
.wp-pagenavi {
  width: 100%;
}
.wp-pagenavi a.page, span.extend, a.last {
 display: none;
 }
}

.wp-pagenavi .pages {
  border: none;
}
.wp-pagenavi a,
.wp-pagenavi span.current {
  border-radius: 5px;
  padding: 10px 15px;
  margin: 0 5px;
  border: none!important;
  background-color: #192351;
  color:#FFF;
}



.sub-menu {
  border-radius: 10px !important;
    border: 1px solid #1b2245!important;
}


.wp-pagenavi span.current {
 background-color: #ff00e1;
 color:000;
}
.wp-pagenavi a.last {
  border: none!important;
}

.pagination-button--active {
  background-color: #ff00e1!important;
  color: #fff;
  border-color: #333;
  pointer-events: none;
}

.et-blog-css-grid > div {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 35px;
}

.et_pb_image_container img, .et_pb_post a img {
    box-shadow: 0px 0px 40px rgba(231, 52, 216, 0.4);
    max-height: 120px;
    object-fit: cover;
}

.et_button_icon_visible .et_pb_button {
   	padding: 10px 40px 10px 25px !important
}

.et_pb_button:hover{
	transform: translateY(-3px);
  box-shadow: 0px 0px 50px rgba(231, 52, 216, 0.6);
	border-color: transparent;
}

.tappaHome {
	background-color: #0b1c55 !important;
	padding: 12px 18px !important;
	margin-right: 5px;
	color: #FFF;
	border-radius: 8px;
	font-size: 1.4rem;
	line-height: 4.5rem;
}

.tappaHome:hover{
	transform: translateY(-3px);
  box-shadow: 0px 0px 30px rgba(46, 80, 249, 0.6);
	background-color: #2e50f9 !important;
}

h1 {font-size: 58px !important}
h2 {font-size: 30px !important}
h3 {font-size: 22px !important}
h4 {font-size: 18px !important}
h5 {font-size: 16px !important}
h6 {font-size: 14px !important}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem !important; }
  h2 { font-size: 2rem !important; }
  h3 { font-size: 1.75rem !important; }
  h4 { font-size: 1.25rem !important; }
  h5 { font-size: 1.1rem !important; }
  h6 { font-size: 0.95rem !important; }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  p { font-size: 18px !important; line-height: 22px !important }
  h1 { font-size: 2.5rem !important; }
  h2 { font-size: 1.75rem !important; }
  h3 { font-size: 1.5rem !important; }
  h4 { font-size: 1.1rem !important; }
  h5 { font-size: 1rem !important; }
  h6 { font-size: 0.9rem !important; }
}

.material-symbols-outlined {
    font-size: 64px !important;
    text-align: center;
}





