/*
CTC Separate Stylesheet
Updated: 2022-09-02 16:54:50
*/

/* --------------------- Notizie in Home --------------------- */

/* barretta laterale a sinistra dell'indice pagina delle notizie. */
.navbar.it-navscroll-wrapper .link-list-wrapper ul li a.active{
  border-left: 2px solid #263e95;
}
.link-list-wrapper.menu-link-list h3:after{
  background-color: #263e95;
  /*TODO non funziona, guardare sezione notizie text-decoration: #263e95 !important; */
}
em {
  color: #253e95;
}
/* servizi-> prenotazione -> tabs.php*/
.cmp-info-progress .step-active .info-progress-body {
  border-bottom: 2px solid #191919;
}
.cmp-info-progress .completed .title-medium, .cmp-info-progress .step-active .title-medium {
  font-weight: 700;
  color: #191919 !important;
}

/* prenotazione servizio, last-step.php*/
.link-list-wrapper ul li a:hover:not(.disabled) span {
  color: #263e95;
}
.card-teaser:hover {
  color: #FFF!important;
}

.text-black {
  text-decoration: none !important;
  color:black !important;
}

.personaPubbEmpty {
  background-color: #FFF;
  padding: 20px;
  min-height: 10px;
}
.personaPubb {
  background-color: #f5f5f5;
  padding: 20px;
  line-height: 1.5;
}
.dropdown {
  display: inline;
}
.accordion-header .accordion-button {
  color: #263e95;
}

.cmp-accordion .accordion-body a {
  color: #263e95;
}
.cmp-accordion .accordion-header .accordion-button:not(.collapsed) {
  color: #263e95;
}

.accordion-header .accordion-button:after .accordion-button:before {
  color: #263e95 !important;
}
.accordion-header .accordion-button::after {
  color: #263e95 !important;
}
.icon-wrapper:after {
  color: #263e95 !important;

}

.sezione_notizie_calendario {
  margin-top: 200px !important;
}

.cmp-navscroll .link-list-wrapper ul li a span {
  color: #263e95;
}

.cmp-navscroll .link-sublist li a.list-item {
  color: #263e95!important;
}

.cmp-navscroll .link-sublist li a.list-item span {
  color: #263e95;
}
.progress-bar {
    background-color: #263e95;
}
.cmp-info-radio.has-border-green {
    outline: 2px solid #263e95;
}
.notizia_custom {
  /* width: 32% !important; */
  /* margin-top: 50px; */
}

/*  Header */

.link-list-wrapper ul li a span {
  color: #263e95;
  font-weight: bold;
}
.it-header-wrapper .navbar-collapsable .it-socials ul li a svg {
  fill: #263e95 !important;
}

.rating:not(:checked) > label:hover svg,
.rating:not(:checked) > label:hover ~ label svg,
.rating > input:checked ~ label svg {
  fill: #263e95 !important;
  color: #263e95 !important;
  outline: none;
  box-shadow: none;
  border: none;
}
.rating > input:checked ~ label svg {
  outline: none;
  box-shadow: none;
  border: none;
}
.search-modal .form-group .input-group-prepend svg,
.search-modal .modal-title .search-link svg {
  fill: grey;
}

/* custom */
.btn-primary.focus,
.btn-primary:focus {
  box-shadow: none;
}

.btn-check:focus + .btn,
.btn:focus {
  outline: 0;
  box-shadow: none;
}

.chip,
.chip-simple {
  border-color: #263e95 !important;
  background-color: white !important;
  transition: background-color 0.5s;
}
.chip-simple:hover {
  background-color: #263e95 !important;
}
.chip-label {
  color: #263e95 !important;
}
.chip-simple:hover > .chip-label {
  color: white !important;
}
.splide__pagination__page {
  background: #263e95 !important;
}
.text {
  color: #263e95;
}
.card-body > ul > li > a {
  color: #263e95;
}
.card-body > a > svg {
  color: #263e95 !important ;
  fill: #263e95 !important ;
}
.card-body > ul > li > a > span {
  color: #263e95 !important ;
}
.menu-wrapper > a {
  color: #236e95;
}
.read-more:hover {
  color: #263e95 !important;
}
.card-title {
  color: #263e95;
}
.card-body > a {
  color: #263e95 !important;
}
.h5 {
  color: #455a64 !important;
}
.card-text > a {
  color: #51646e !important;
  text-decoration: none !important;
}
.text-decoration-none:hover {
  color: #455a64 !important;
}
.it-header-block-title {
  background-color: #263e95 !important;
}
.it-header-center-wrapper {
  background-color: #003882;
}
.it-header-wrapper .search-link svg {
  fill: #263e95;
}
.bg-primary {
  background-color: #003882 !important;
}
.btn-primary {
  background-color: #003274 !important;
}
.it-header-slim-wrapper {
  background: #003274 !important;
}
.it-header-navbar-wrapper {
  background: #003882;
}

.sfondo-peru {
  background-color: #ab9240;
}

.sfondo-darkblue {
  /* background-color: #003274; */
  background-color: #263e95;
}

.sfondo-firebrick {
  background-color: #d52615;
}

.color-darkblue {
  color: #263e95 !important ;
  fill: #263e95 !important ;
}
.color-darkblue-hover:hover {
  color: #263e95;
  fill: #263e95 !important;
}
.color-black {
  color: black;
}
.title-xlarge-card {
  color: black;
}
.title-xsmall-bold {
  color: #455a64 !important;
}

.font-awesome-background {
  /* background-color: #f2f4f9; */
  width: 40px;
  height: 40px;
  background-color: #f2f4f9;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Home Cerca */

.sezione_cerca {
  min-height: 400px;
  display: flex;
  align-items: center;
}

.cerca {
  border-bottom: none !important;
  border-bottom-left-radius: 5px !important;
  border-top-left-radius: 5px !important;
}

.button_link_utili {
  background-color: #ae8c1d;
  color: white;
  padding: 10px;
}

/* Novità */

/* i siti tematici devono avere colore diverso */

.card-teaser:hover {
  color: white;
}

.avatar {
  display: none;
}

.card-body > .sito-tematico:hover {
  color: white !important;
  text-decoration: underline;
}

.icon-primary {
  fill: gray !important;
}

.it-socials > svg {
  fill: white !important;
}

/* persone pubbliche */

.it-footer-main {
  background: #003882;
}
.ue-logo {
  display: none;
}

/* Sezione Valutazioni */

.btn-back {
  color: #003274;
  /* border-color: #003274 !important; */
  /* border: 3px solid #003274 !important; */
  box-shadow: inset 0 0 0 2px #003274 !important;
}

.btn-back:hover {
  color: #003274;
}

/* il doppio not() mi serve per andare sopra una classe di bootstrap */

.btn-outline-primary:not(:disabled):not(.disabled):active {
  color: #003274;
  box-shadow: inset 0 0 0 1px #003274;
}
.btn-primary:not(:disabled):not(.disabled):active:focus {
  border-color: transparent !important;
  box-shadow: none !important;
}

.form-check [type="radio"]:checked + label:after {
  border-color: #003274;
  background-color: #003274;
}

.form-check [type="radio"]:checked + label:before {
  border-color: #003274;
}

.btn-primary {
  border-color: #003274;
}
.btn-primary:hover {
  border-color: #003274;
}

.btn-next {
  outline: none;
  box-shadow: none;
  /* background-color: red !important; */
}

.btn-next:hover {
  outline: none;
  box-shadow: none;
  background-color: red;
}
.breadcrumb-item > a > span {
  color: #003274 !important;
}
.breadcrumb-item > a {
  color: #003274 !important;
}
.it-hero-wrapper {
  background-color: #003274;
}

/*modifica checkbox nella pagina di ricerca: template-parts/search/filters*/
.form-check [type="checkbox"]:checked + label:after {
  border-color: #003274;

  background-color: #004db1;

  z-index: 0;
}

.border_left_dark_blue {
  border-left: 2px solid #263e95 !important;
}

.border-darkblue {
  border: 1px solid #003274 !important;
}

.calendar-vertical .calendar-date .calendar-date-day:before {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 5px;
  width: 2px;
  height: 100%;
  background-color: #263e95;
  content: "";
}

.calendar-vertical .calendar-date .calendar-date-day:after {
  content: "";
  width: 0.625rem;
  height: 0.625rem;
  position: absolute;
  z-index: 1;
  top: 1.875rem;
  right: 0.2px;
  background-color: #263e95;
  border-radius: 5px;
}

.t-primary {
  color: #263e95 !important;
}
.decoration-darkblue {
  text-decoration-color: #263e95 !important;
}

.text-decoration-none {
  text-decoration: none;
  color: #263e95!important;
}

/* .color-darkblue-hover:hover{
        color: red!important;
} */
.link-list-wrapper ul li a:hover:not(.disabled) .icon {
  fill: #263e95;
}

.point-list-wrapper .point-list .point-list-aside.point-list-primary {
    color: #263e95;
    border-color: #263e95;
}
.point-list-wrapper .point-list .point-list-aside {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1rem;
    color: #263e95;
    border-right: 1px solid;
    border-color: #263e95;
}
.point-list-wrapper .point-list .point-list-aside.point-list-primary:after {
    background-color:#263e95;
}
.point-list-wrapper .point-list .point-list-aside:after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    top: 50%;
    right: -5px;
    transform: translateY(-5px);
    border-radius: 50%;
    background-color: #263e95;
}

.svg.focus, .btn-primary:focus {

  box-shadow: none;
}

.btn-check:focus + .btn, .btn:focus {

  outline: 0; 
  box-shadow: none;
}


/* barra bianca nell' header */

.navbar .navbar-collapsable .navbar-nav li a.nav-link.active:active {
  Border-color: #fff;

}

.navbar .navbar-collapsable .navbar-nav li a.nav-link.active {
  border: none;
}

/* Pagina Servizi */

.titolo_card_servizio{
  color: #263e95 !important;
}

.link_servizi_in_evidenza{
  color: #263e95 !important;
}

.btn-outline-primary {
  color: #263e95 !important;
  box-shadow: inset 0 0 0 2px #263e95 !important;
}

/* .navbar .navbar-collapsable .navbar-nav li a.nav-link {
  color: #263e95 !important;
} */


/* Pagina unita Organizzativa */
.scheda_persona_uo{

  display: flex;
  justify-content: space-between;

  border-radius: 4px;
  box-shadow: 4px 4px 8px 0 rgb(0 0 0 / 10%);

  border: 1px solid #eceff1;
  position: relative;
  min-height: 168px;
}

.scheda_persona_uo_info h4 a{
  color: #263e95 !important;
}

.scheda_persona_uo_image img{
  width: 100% !important;
  /* height: 100% !important; */
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  /* width: 20px !important; */

}

.uo_image{
  width:100% ;
  border-radius: 4px;
}

.accordion-button .collapsed .title-snall-semi-bold {
  color: #263e95 !important;
  
}

.button-wrapper::after{
  color: #263e95 !important;
}


/* Svg nella FAQ */

.cmp-accordion .accordion-header .accordion-button:after {
  content: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='blue'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 01.708 0L8 10.293l5.646-5.647a.5.5 0 01.708.708l-6 6a.5.5 0 01-.708 0l-6-6a.5.5 0 010-.708z'/%3E%3C/svg%3E") !important;
 
}

/* xl */
@media only screen and (min-width: 1200px) {
  
  .notizia_custom {
    width: 32% !important;
  }
}

/* md */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  
  .notizia_custom {
    width: 48% !important;
  }

  .scheda_persona_uo_container{
    justify-content: center !important;
    /* margin-top: 500px; */

  }
}

@media only screen and (max-width: 575px) {

  .scheda_persona_uo{
    flex-direction: column;
    align-items: center;

  }

  .scheda_persona_uo_info{
    width: 100%;
    order: 2;
  }

  .scheda_persona_uo_image{
    width: 100%;
    /* max-height: 150px; */

  }

  .scheda_persona_uo_image img{
    border-bottom-right-radius: 0 ;
    border-top-right-radius: 4px ;
    border-top-left-radius: 4px ;
    
  }

  .container_sezione_persone{
    /* padding: 0 !important; */
  }

  .scheda_persona_uo_container{
  }
}

.title-contatti{
  font-weight: 700;
  font-size: 19px;
  margin-top:5% !important;
}

.subtitle-contatti{
  font-weight: 600;
  color: rgb(68, 68, 68);
}

@media only screen and (max-width: 991px) {
  .navbar .navbar-collapsable .navbar-nav li a.nav-link {
    color: #263e95 !important;
  }

  .it-header-navbar-wrapper{
    background: transparent !important;
    
  }
}