a:hover{
    text-decoration: underline!important;
}

a:focus {
    outline: 2px auto #FF7F00 !important;
}

button:focus {
    outline: 2px auto #FF7F00 !important;
}

.form-control:focus {
    outline: 2px auto #FF7F00 !important;
}

.img:focus {
    outline: 2px auto #FF7F00 !important;
}

/*.shadow{
    -webkit-box-shadow:0 .5rem 1rem rgba(0,0,0,.9)!important;
    box-shadow:0 .5rem 1rem rgba(0,0,0,.9)!important;
}*/

.it-carousel-wrapper .owl-stage-outer {
    padding-top: 0 !important;
    padding-bottom: 0 !important
}



select:focus {
    outline: 2px auto #FF7F00 !important;
}

/*Privacy, Note legali ecc.*/
.list-inline li a:hover {
    text-decoration: none !important;
}

.btn:hover {
    text-decoration: underline;
}

/*Indirizzo PEC in footer*/
p a:hover {
    text-decoration: none !important;
}

input:focus {
    outline: 2px auto #FF7F00 !important;
}

.hide {
    height: 0;
    width: 0;
    overflow: hidden;
    top: -1000em;
    position: absolute;
}

.sottolinea {
    text-decoration: underline;
}

.footer .icon {
    fill: white !important;
}

.footer {
    background-color: #5a6772 !important;
}

.item-owl-custom {
    padding-left: .875rem;
    padding-right: .875rem;
    padding-top: .875rem;
    padding-bottom: .875rem;
}

.link-istituzionali .img-fluid {
    width: 100%;
}

/*FORM MODULI*/
.button-moduli {
    text-align: right !important;
}

@media (min-width: 992px) and (orientation: portrait) {
    .moduli-form {
        width: 35rem !important;
    }
}

/*SEARCH BAR*/
@media(min-width: 576px) {
    .header .form-control {
        width: 58%;
    }
}





/*.it-carousel-wrapper{

    max-height:400px!important;

}

.it-carousel-wrapper .owl-stage-outer{

    padding-top:0px !important;
    padding-bottom: 0px !important;

}


.it-carousel-wrapper.it-carousel-landscape-abstract .it-single-slide-wrapper .it-text-slider-wrapper-outside .card .card-body{


    max-height:350px !important;
}
.img-responsive-wrapper .img-responsive .img-wrapper img {
    width:350px !important;
    width: 81%;
    display: block;
    height: 100%;
    object-fit: scale-down;
}

.img-responsive-wrapper .img-responsive  {

    max-width: 200px !important;


}
.img-responsive-wrapper .img-responsive .img-wrapper img{

    width:100%;
    display:block;
    height:92px;
    object-fit: scale-down;

}*/
/*.owl-carousel .owl-stage-outer{

    position: relative;
    overflow: hidden;
    -webkit-transform: translate3d(0,0,0);
    max-height:320px !important;

}
.img-responsive-wrapper .img-responsive .img-wrapper img{

    max-height:310px !important;

}
.it-carousel-wrapper .owl-stage-outer{

    padding-top: 8px;
    padding-bottom: 8px;
}
.it-carousel-wrapper.it-carousel-landscape-abstract .it-single-slide-wrapper .it-text-slider-wrapper-outside .card .card-body{



}
.card .card-body p{

    font-size: .875rem;
    line-height: 1.2rem;
    min-height: 99px;
}

}*/
/*
.form-group {
    padding: 0 !important;

}
*/

#exampleInputText {
    border: 1px solid #5c6f82 !important;

    height: 1.9rem;
    /*box-shadow:0.3rem 0.3rem 0.5rem rgba(5, 0, 0, .30)!important;*/

    font-weight: normal;
}

#metadata_fulltext_frame9_frame9 {

    border: 1px solid #5c6f82 !important;
    font-weight: normal;
    height: 2.2rem;
    padding: .375rem .75rem;
    /*font-weight: 500;*/
    /* font-size:1.1888rem;*/
}


/*AGGIUNTA STILI*/


.card-title a {
    color: #0073e6 !important;
}

.card-title a:hover {
    color: #004d99 !important;
}

.card-title a.cTitleWhite {
    color: white !important;
    display: block;
}

@media (max-width: 992px) and (min-width: 320px) and (orientation: portrait) {
    h3.footH3 {
        font-size: 2.3rem !important;
    }
}

.card {
    border-right: none !important;
}

.aImg {
    padding-top: 0.33rem;
    padding-right: 0.5rem;
}

#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #0059b3;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid lightslategray;
}

@media (max-width: 1024px) {
    #myBtn {
        display: none;

    }
}

.font-weight-bold span {
    font-size: x-large !important;

}

/*SKIPLINK*/

body .nav-access{
    font-family: inherit;
    font-size: .9100rem;
    border: 3px dotted #FF7F00;
    width: 12rem;
    min-height: 5rem;
    position: fixed;
    z-index: 1021;
    top: 50px;
    left: -.2rem;
    background-color: #fff;
    padding-top: 0.5rem;


}

body .nav-access ul{
    padding-left: 1rem;
}



/* ----- mia classe ----*/
.no-min-height {
  min-height: 0 !important;
}


/* ---------- mie classi per il carousel ---------------------  */

.carousel {
  border: 1px solid #ccc; 
  border:none;
  padding: 0px;      
  box-sizing: border-box; 
  max-height: 650px; 
  overflow: hidden;
  position: relative;

}

.carousel-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}


.carousel-item {
  display: none;
  position: relative;
  transition: opacity 0.4s ease;
}

.carousel-item.active {
  display: block;
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
  
  color: #fff;
  opacity: 0.5;
  transition: opacity 0.15s ease;
  cursor: pointer;
  z-index: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 0.9;
}

.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.carousel-control-prev,
.carousel-control-next {
  user-select: none;              /* Impedisce la selezione del contenuto */
  -moz-user-select: none;         /* Specifico per Firefox */
  -webkit-user-select: none;
  -ms-user-select: none;
  -khtml-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.carousel-control-prev:focus,
.carousel-control-next:focus {
  outline: none !important;
}


.carousel-control-prev:focus-visible,
.carousel-control-next:focus-visible {
  outline: 2px solid #fff; 
}


.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  z-index: 2;
}

.carousel-indicators li {
  width: 10px;
  height: 10px;
  margin: 0 4px;
  background-color: #fff;
  border-radius: 50%;
  opacity: 0.5;
  cursor: pointer;
}

.carousel-indicators .active {
  opacity: 1;
}




.carousel-caption {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  z-index: 2;
 white-space:nowrap;
 width:100%;
}

.carousel-caption h2 {
  font-size: 3rem;
  font-weight: bold;
}

.carousel-caption .btn {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 1rem;
}



