/**
 * Theme Name: Terminus Child Theme
 * Template: terminus
*/

/*------------------------------------------------------------------
[Add Your Custom CSS Here] */

p, body {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400 !important;  /* Spessore regolare */
    line-height: 1.65 !important; /* Spaziatura verticale per far respirare il testo */
    color: #4a5568 !important;   /* Grigio scuro leggibile, addio vecchio grigio chiaro! */
}

.header_section.middle {
	padding-top: 0px;
	padding-bottom: 0px;
}

div.team-members {
	display: flex;
	flex-wrap: wrap; /* Assicura che gli elementi vadano a capo */
	margin-left: -15px;
	margin-right: -15px;
}

.team-members .team-item {
	flex: 0 0 calc(33.333% - 30px); /* Ogni elemento è largo un terzo meno i margini */
	padding-left: 15px;
	padding-right: 15px;
	box-sizing: border-box; /* Garantisce che padding non influenzi la larghezza */
    padding-top: 15px;
    padding-bottom: 15px;
}

.social_links.type_2 a{
	color:#0ebcef;
	color:#FFF;
}
.widget_social_links ul.social_links a{
	color:#0ebcef;
	border-color:#0ebcef;
}
.widget_social_links ul.social_links a:hover {
	color: #fff;
	border-color: #0ebcef;
	background-color: #0ebcef;
}
.footer_section.middle {
    padding-top: 30px;
    padding-bottom: 30px;
}
.widget:not(:last-child) {
    margin-bottom: 10px;
}
.btn.grey, .btn.rd-grey {
    color: #0ebcef;
    border-color: #0ebcef;
}
.btn.grey:hover,
.btn.grey.active,
.btn.grey_reverse,
.btn.rd-grey:hover,
.btn.rd-grey.active,
.btn.rd-grey_reverse,
.btn.grey_white:hover,
.btn.grey_white.active,
.btn.rd-grey_white:hover,
.btn.rd-grey_white.active,
.btn.grey_white_reverse,
.btn.rd-grey_white_reverse{
	color: #fff;
	border-color: #0ebcef;
	background-color: #0ebcef;
}


/* Imposta il layout flessibile sulla riga */
.vc_row.uniform-buttons.vc_row-fluid {
	display: flex !important;
	flex-wrap: wrap !important;
  }
  
  /* Le colonne devono usare flex per far crescere i bottoni */
  .vc_row.uniform-buttons.vc_row-fluid > .wpb_column.vc_column_container {
	display: flex !important;
	flex-direction: column !important;
  }
  
  /* I contenitori interni seguono il layout */
  .vc_row.uniform-buttons.vc_row-fluid .vc_column-inner {
	flex-grow: 1 !important;
	display: flex !important;
  }
  
  /* Wrapper del bottone */
  .vc_row.uniform-buttons.vc_row-fluid .wpb_wrapper {
	flex-grow: 1 !important;
	display: flex !important;
  }
  
  /* Contenitore del bottone */
  .vc_row.uniform-buttons.vc_row-fluid .vc_btn3-container {
	flex-grow: 1 !important;
	display: flex !important;
	width: 100% !important;
  }
  
  /* Link vero e proprio */
  .vc_row.uniform-buttons.vc_row-fluid a.vc_btn3 {
	flex-grow: 1 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	width: 100% !important;
	height: 100% !important;
	box-sizing: border-box !important;
  }
  
  article.entry-blog-grid .entry-media a{
	width:100%;
  }

  header .header_section:first-of-type{
	background:#0ebcef;
	background:#04a6d6;
  }
  header .header_section:first-of-type a:hover{
	color:#333;
  }

  header .menu-item a{
	font-size:16px;
  }
  header .h_info_list,
  header .h_info_list a{
	color:#FFF !important;
	font-size:14px !important;
  }

  /* Rimuove il bordo nero al click su link, immagini e bottoni */
a:focus,
a:active,
button:focus,
button:active,
img:focus {
    outline: none !important;
    box-shadow: none !important;
}

@media only screen and (max-width: 992px) {
    .header_section.middle,
	.sticky_part,
	#header {
        padding-bottom: 0px !important;
    }
}