@import url('https://fonts.googleapis.com/css?family=Titillium+Web:300,400,600,700');

.css-selector {
  font-family: "Titillium Web", sans-serif;
}

body {
  font-family: "Titillium Web", sans-serif !important;
  font-size:16px !important;
}

.header_arcadia {
    float: left;
    margin-top: 12px;
    margin-bottom: 12px;
    color: #29587b;
}

.header_arcadia a {
    color: #29587b !important;
}

.header_arcadia :hover {
  text-decoration: underline;
}

/* === ACCOUNT MASTHEAD (barra superiore) === */
.account-masthead {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e0e0e0;
}

.account-masthead .account ul li a {
    font-size: 14px !important;
    color: #29587b !important;
    text-decoration: none;
}

.account-masthead .account ul li a:hover {
    background-color: white !important;
    text-decoration: underline;
}

/* === MASTHEAD (barra con logo e nav) === */
.masthead {
  background: white !important;
  padding: 20px 0;
}

.masthead hgroup h2 {
    position: inherit !important;
    font-size: 32px;
    margin-top: 24px;
    font-weight: 600 !important;
    color: #29587b !important;
}

.masthead hgroup h3 {
    color: #29587b;
    font-weight: 700;
    font-size: 16px;
}

.masthead hgroup a:hover {
   text-decoration: none !important;
}

.masthead .logo {
    display: flex !important;
    align-items: center;
    text-decoration: none !important;
    gap: 16px;
}

.masthead .logo img {
    width: auto;
    height: 110px;
    max-height: 100% !important;
}

.site-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    line-height: 1;
}

.site-title-opendata {
    font-size: 2rem;
    font-weight: 700;
    color: #29587b;
}

.site-title-arcadia {
    font-size: 2rem;
    font-weight: 700;
    color: #d8613c;
    letter-spacing: 2px;
}

/* === NAVBAR NAV LINKS === */
.masthead .navbar-nav .nav-link,
.masthead .nav > li > a,
.masthead .nav > li > a:focus,
.masthead .navbar-nav > li > a {
    color: #29587b !important;
    text-shadow: none;
    font-size: 1.1rem;
    font-weight: 600;
}

.masthead .navbar-nav .nav-link:hover,
.masthead .nav > li > a:hover,
.masthead .navbar-nav > li > a:hover {
    color: #1a3d57 !important;
    text-decoration: underline;
    background: none !important;
}

.masthead .navbar-nav .nav-link.active,
.masthead .nav > .active > a,
.masthead .nav > .active > a:hover,
.masthead .nav > .active > a:focus,
.masthead .navbar-nav > li.active > a {
    color: #29587b !important;
    text-decoration: underline;
    background: none !important;
}

.masthead .navbar-collapse {
    padding: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
}

.masthead .navbar {
    align-items: center;
    flex-wrap: nowrap;
}

.masthead .navbar-nav {
    margin-left: auto;
    align-items: center;
}

/* build_nav_main di CKAN genera ul.nav — forziamo a destra */
.masthead .navbar-collapse .nav,
.masthead .navbar-collapse ul.nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-bottom: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
    gap: 8px;
}

/* === NAV PILLS (compatibilità Bootstrap 3) === */
.nav-pills {
    float: left;
    font-weight: 700;
    font-size: 20px;
    line-height: 50px;
    text-align: center;
    background-color: transparent;
}

.nav-pills > li > a {
    color: #29587b;
    font-weight: 600;
}

.nav-pills > li > a:hover {
    color: #1a3d57;
    background-color: transparent !important;
    text-decoration: underline;
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
    color: #29587b;
    border-bottom: 3px solid #29587b;
    background: none !important;
    text-decoration: none;
    border-radius: 0px;
}

.navbar-collapse.collapse {
    height: auto !important;
    padding-bottom: 0;
    overflow: visible !important;
    background-color: transparent;
}

/* === MENU (barra blu nella 2.9, non più usata in 2.11) === */
.menu {
    background-color: #d8613c ;
}

/* === HOMEPAGE === */
.homepage [role="main"] {
  background-color: white !important;
}

.homepage .module-search .module-content {
  background-color: #d8613c !important;
}

.homepage .module-search .module-content .heading {
    margin-top: 0;
    margin-bottom: 7px;
    font-size: 24px;
    line-height: 40px;
    color: white;
}

.homepage .module-search .tags {
    background-color: #d8613c  !important;
}

/* === BOTTONI === */
.btn-primary {
    background-color: #d8613c !important;
}

/* === FOOTER === */
.site-footer,
body {
    font-family: "Titillium Web", sans-serif;
    background: #202a2e !important;
}

.site-footer,
.site-footer label,
.site-footer small {
    font-family: "Titillium Web", sans-serif;
    color: white;
    background-color: #29587b !important;
}

.footer .h2 {
    border-top: 1px solid #444e57;
    margin: 25px 0 0;
    padding: 25px 0 10px;
    font-size: 22px;
    color: #ffffff;
    font-style: normal;
}

.footer .li .a {
    font-size: 1.8rem;
    color: #65dbde;
    display: inline-block;
    vertical-align: top;
    font-weight: bold;
    text-decoration: underline;
}

/* === VARIE === */
[role=main], .main {
    background: white !important;
}

.big_menu {
    font-size: 30px !important;
}

.homepage.layout-1 .row1 .col2 {
    position: unset !important;
}

.badge {
    background-color: black !important;
}

.testo-small {
    font-size: small;
}

.justify {
    text-align: justify;
}

.recapiti {
    font-size: 2.2rem;
    color: #ffffff;
    display: block;
    font-weight: 700;
    padding-left: 0;
    border-bottom: 1px solid hsla(0, 0%, 100%, .5);
}

.pl-3, .px-3 {
    padding-left: 16px !important;
}
.pr-3, .px-3 {
    padding-right: 16px !important;
}

hr {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
    margin-bottom: 16px;
    margin-top: 16px;
    border-bottom: 1px solid hsla(0, 0%, 100%, .5);
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

.toolbar .breadcrumb a {
    color: #30475f !important;
    font-weight: 600 !important;
}

.toolbar .breadcrumb .active a, .toolbar .breadcrumb a.active {
    color: #30475f !important;
    font-weight: 500 !important;
}

.fa-home:before {
    content: "\f015";
    color: #d8613c ;
}

.media-image img {
    width: 100% !important;
height:auto;
}

.masthead .main-navbar ul {
    padding-right: 0px !important;
}


.site-footer {
  background-color: #29587b !important;
  color: #ffffff;
  padding: 40px 20px 20px;
  font-size: 14px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-col {
  flex: 1;
}

.footer-left {
  max-width: 30%;
}

.footer-center {
  text-align: center;
}

.footer-right {
  max-width: 35%;
}

.footer-text {
  margin-top: 15px;
  line-height: 1.5;
}

.social-icons {
  margin-top: 15px;
}

.social {
  display: inline-block;
  margin-right: 10px;
  font-size: 20px;
  color: white;
}

.social.youtube {
  color: #ff0000;
}

.footer-bottom {
  margin-top: 30px;
  text-align: center;
}

.footer-bottom a {
  margin: 0 10px;
  color: #ffffff;
  text-decoration: underline;
}

.arcadia-logo-payoff {
    width: 198px;
    height: auto;
}

.ze-logo {
    width: 40px;
    height: auto;
margin-top: 15px;
}

.eu-logo {
    width: 161px;
    height: auto;
}

.social-icons {
  margin-top: 15px;
}

/* Base cerchi */
.social-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-right: 10px;
  text-decoration: none;
}

/* LinkedIn */
.social-circle.linkedin {
  background-color: #0a66c2;
  color: white;
}

/* YouTube */
.social-circle.youtube {
  background-color: #ff0000;
  color: white;
}

/* Icone */
.social-circle i {
  font-size: 24px;
}

/* Hover */
.social-circle:hover {
  opacity: 0.85;
}

.footer-lang {
  margin-top: 15px;

}
