/* BANDIERA HEADER */
html {
  overflow-x: hidden !important;
}
.flag_container {
  display: block;
}
header.is-sticky .flag_container {
  position: relative;
  z-index: 100;
  width: 100%;
}
.flag_container div {
  width: 33.3333333333%;
  height: 8px;
  overflow: hidden;
  float: left;
}
.flag_container div.green {
  background: #009246;
}
.flag_container div.white {
  background: #fff;
  box-shadow: rgb(0 0 0 / 15%) 0px 0px 7px 0px;
}
.flag_container div.red {
  background: #ce2b37;
}
@media (max-width: 1024px) {
  .flag_container div {
    display: none;
  }
}
#it-block-italiagov-local-tasks {
  background-color: #f7f7f7 !important;
}
#it-block-italiagov-local-tasks .tabs {
  background-color: #f7f7f7 !important;
}
#it-block-italiagov-local-tasks .nav-item {
  background-color: #f7f7f7 !important;
}
#it-block-italiagov-local-tasks .nav-link.active.is-active {
  background-color: #f7f7f7 !important;
}
.it-header-center-wrapper {
  background: #184f90 !important;
}
.container-flag {
  background: #184f90;
}

/* MOBILE */
@media (max-width: 991px) {
  .it-header-wrapper .it-nav-wrapper .it-brand-wrapper {
    padding: 0;
  }

  .it-header-wrapper .it-nav-wrapper .it-header-navbar-wrapper {
    margin-top: -1px !important;
    position: unset !important;
  }

  .it-brand-wrapper .brand-link img {
    padding-left: 0 !important;
  }

  .header-logo-column .image-brand,
  .header-logo-column img {
    padding: 0 !important;
  }

  
  .it-nav-wrapper .it-header-center-wrapper {
    height: fit-content;
    padding-top: 10px;
  }

  .it-nav-wrapper .it-header-center-content-wrapper {
    flex-flow: column-reverse;
  }

  .it-nav-wrapper .it-header-center-content-wrapper .main-logo {
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
  .it-nav-wrapper .it-header-center-content-wrapper .main-logo .header-logo-column {
    margin-left: 40px;
    padding-right: 0;
  }
  .it-nav-wrapper .it-header-center-content-wrapper .main-logo .header-logo-column:after {
    display: none;
  }

  .it-nav-wrapper .it-header-center-content-wrapper .it-right-zone .right-header-logos-wrapper .search-button-mobile {
    height: 40px;
    width: 40px;
    border: none;
    border-radius: 100%;
    background: white;
    flex-shrink: 0;
  }
  .it-nav-wrapper .it-header-center-content-wrapper .it-right-zone .right-header-logos-wrapper .search-button-mobile>svg {
    color: #0073df;
    width: 20px;
    height: 20px;
    margin-top: 4px;
  }

  .it-nav-wrapper .it-header-center-content-wrapper .it-right-zone {
    width: 100%;
  }

  .it-nav-wrapper .it-header-center-content-wrapper .it-right-zone .right-header-logos-wrapper .right-header-logos-container {
    display: flex;
    min-width: 1%;
  }
  .it-nav-wrapper .it-header-center-content-wrapper .it-right-zone .right-header-logos-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 6.5px 0;
    gap: 12px;
  }

  .it-nav-wrapper .it-header-center-content-wrapper .it-right-zone .right-header-logos-wrapper .header-logo-column {
    width: 96px;
  }

  .it-nav-wrapper .it-header-center-content-wrapper .it-right-zone .right-header-logos-wrapper .header-logo-column:last-child {
    padding-right: 0;
  }

  .it-header-navbar-wrapper nav.navbar {
    padding: 0 18px;
  }
  .it-header-navbar-wrapper .custom-navbar-toggler {
    transform: translateY(-35px) !important;
  }

  /*HEADER SOCIALS*/
  .it-nav-wrapper .it-right-zone .right-header-search-and-socials-wrapper .it-socials-wrapper {
    display: none;
  }
  /*END HEADER SOCIALS*/
}
/* END MOBILE */

/* DESKTOP */
@media (min-width: 992px) {
  .it-nav-wrapper .it-header-center-content-wrapper .it-right-zone {
    align-items: flex-end;
  }
  .it-nav-wrapper .it-header-center-content-wrapper .search-button-mobile {
    display: none;
  }
  .it-nav-wrapper .it-header-center-content-wrapper .it-right-zone .right-header-logos-wrapper {
    margin-right: 20px;
  }
  .it-nav-wrapper .it-header-center-content-wrapper .it-right-zone .right-header-logos-wrapper .right-header-logos-container {
    display: flex;
  }
  .it-nav-wrapper .it-header-center-content-wrapper .it-right-zone .right-header-logos-wrapper .right-header-logos-container .header-logo-column {
    width: 34%;
    max-width: 110px;
  }
  .right-header-logos-wrapper .header-logo-column:last-child {
    padding-right: 0;
  }
  .right-header-logos-wrapper .header-logo-column img {
    padding: 0;
  }

  /*HEADER SOCIALS*/
  .it-nav-wrapper .it-right-zone .right-header-search-and-socials-wrapper .it-socials-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
  }
  .it-nav-wrapper .it-right-zone .right-header-search-and-socials-wrapper .it-socials-wrapper ul li {
    height: 24px;
  }
  /*END HEADER SOCIALS*/
}
/* END DESKTOP */

.header-logo-column {
  padding-right: 1rem;
  padding-left: 0;
  width: 260px;
  max-width: unset;
  flex: unset;
}
@media (min-width: 992px) {
  .header-logo-column {
    width: 420px;
  }
}

.header-logo-column:not(:last-child):after  {
  content: '';
  height: 60%;
  width: 1px;
  position: absolute;
  right: 0;
  top: 50%;
  translate: -0.5rem -50%;
  background-color: var(--white);
}

.header-logo-column .image-brand,
.header-logo-column img {
  padding: 10px;
}
/* Slim header */
.it-header-slim-wrapper {
  background-color: #004c99;
}
.dropdown-menu:before {
  display: none;
}
  /* Logo */
.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon {
  width: 100%;
  height: unset;
}
.it-brand-wrapper .brand-link img {
  margin: 0;
  padding-left: 30px;
}
.it-header-wrapper.it-header-sticky.is-sticky .it-header-navbar-wrapper .menu-wrapper .it-brand-wrapper.cloned-header a .icon {
  fill: #fff;
  flex-shrink: 0;
  height: 55px !important;
  margin-right: 16px;
  width: 520px !important;
}
.vr {
  border-right: 1px solid #fff;
  height: 32px;
  margin: 0px 10px;
}
.image-brand {
  object-fit: cover;
  height: auto;
  width: 100%;
}
.navbar .navbar-collapsable .navbar-nav li.nav-item .nav-link {
  align-self: unset !important;
}
.navbar .navbar-collapsable .navbar-nav li a.nav-link.active {
  border-color: unset;
}
.nav-item-homepage a span {
  font-size: medium;
}
.fs-1 {
  font-size: 1rem !important;
}
.width-dropdown-menu {
  width: max-content !important;
}
.navbar .dropdown-menu .link-list-wrapper ul li a span {
  color: #039;
}
.it-header-slim-wrapper-content .fs-1 {
  padding-left: 24px !important;
}
.block-image-pn {
  object-fit: cover;
  height: fit-content;
  width: 100%;
}
.title-block-num-pn {
  color: #039;
}
.it-brand-wrapper.cloned-header .brand-link {
  display: none;
}
.fill-white {
  fill: #fff !important;
}
#search-block-form #edit-actions {
  float: right;
  margin-top: 15px;
}
.cursor-pointer {
  cursor: pointer;
}
#search-modal .modal-body {
  padding-bottom: 24px !important;
}
.user-icon--welcome-page .icon {
  height: 64px !important;
  width: 64px !important;
}
.dropdown-menu.show {
  min-width: 280px !important;
}
.dropdown-menu.show .link-list-wrapper ul li a {
  padding: 6px 24px !important;
  line-height: 1.3 !important;
}
/* Added active link classes. */
@media (min-width: 992px) {
  li.nav-item.dropdown.active {
    background: transparent;
    border-left: 0;
    border-color: #fff;
    border-bottom: 3px solid #fff;
  }
}
#user-login-form .js-form-item.form-item.form-group.js-form-type-textfield.form-item-captcha-response.js-form-item-captcha-response label {
  font-size: .777rem;
  transform: translateY(-75%);
}
#user-login-form .js-form-item.form-item.form-group.js-form-type-textfield.form-item-captcha-response.js-form-item-captcha-response label {
  font-size: .777rem;
  transform: translateY(-75%);
}
#user-login-form .js-form-item.form-item.form-group.js-form-type-textfield.form-item-captcha-response.js-form-item-captcha-response label {
  font-size: .777rem;
  transform: translateY(-75%);
}
#user-pass .js-form-item.form-item.form-group.js-form-type-textfield.form-item-captcha-response.js-form-item-captcha-response label {
  font-size: .777rem;
  transform: translateY(-75%);
}
#user-pass .js-form-item.form-item.form-group.js-form-type-textfield.form-item-captcha-response.js-form-item-captcha-response label {
  font-size: .777rem;
  transform: translateY(-75%);
}
#user-pass > p {
  display: none;
}
#user-pass .js-form-item.form-item.form-group.js-form-type-textfield.form-item-captcha-response.js-form-item-captcha-response.third-form-box {
  margin-bottom: 3rem !important;
}
#user-pass .js-form-item.form-item.form-group.js-form-type-textfieldform-item-name.js-form-item-name.third-form-box {
  margin-bottom: 0px !important;
  padding: .25rem .5rem !important;
}
#page-user-login .nav.nav-tabs {
  margin-bottom: 3rem;
}
#page-user-login #it-block-brandingdelsito img {
  width: 100% !important;
}

@media (min-width: 992px) {
  .it-header-navbar-wrapper nav .navbar-collapsable .menu-wrapper .navbar-nav {
      flex-direction: row;
  }
}