header {
    /*border-top: 7px solid #013366;*/
    background: #fff;
    color: #013366;
}

/*.nav-banner {
    position: fixed;
    z-index: 9990;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #013366;
    /*padding-top: .4rem;*/
    color: #fff;
}*/

.nav-banner, .nav-banner img, .nav-banner p, .navbar-header, .navbar-header #logo, .navbar-header h1, #main-content, .animated, body > section {
    -webkit-transition: all .25s ease-out;
    transition: all .25s ease-out;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

.nav-banner--small, .nav-banner--small .logo, .nav-banner--small .h4 {
    height: 4px;
    font-size: 0;
    overflow: hidden;
}

#logo {
    margin: 0;
    height: 40px;
    vertical-align: middle;
}

#logoUE {
    margin: 0;
    height: 40px;
    vertical-align: middle;
}

.logo-image img {
    width: 17%;
    float: left;
}

.navbar-header {
    background: #4e5d6c;
    color: #1c2024;
    top: 60px;
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1030;
    width: 100%;
    /*padding: 10px 0;*/
    /*padding-top: 65px;
    margin-bottom: 7px;*/
}

.navbar-header--small {
    top: 0;
}

.noHover {
    text-decoration:none !important;
}

.headerSW {
font-size:50px;
font-weight:bold;
color:#2769b5;
margin-left: 30px;
}

@media (max-width: 767px) {
  .headerSW {
    font-size:24px;
    font-weight:bold;
  }

  #header-spid
  {
      padding-top:10px !important;
  }

  #header-clic
  {
      padding-top:10px !important;
  }
}

.hamburgerSW {
    background-color:#ebebeb;
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
}

/* Caption */
.img-caption-ar {
  position: relative;
  padding: 5px;
  border: solid 1px #ddd;
  margin-bottom: 20px;
  color: #fff;
  width: 100%;
}
.img-caption-ar img {
  width: 100%;
}
.caption-ar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0);
  opacity: 0;
  transition: all .25s ease;
}
.caption-ar .caption-content {
  width: 80%;
  height: 150px;
  left: 10%;
  top: 40%;
  margin-top: -20px;
  position: absolute;
  text-align: center;
  visibility: hidden;
  transition: all .50s ease;
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
}
.caption-ar:hover .caption-content {
  visibility: visible;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.caption-ar:hover {
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 1;
}
.caption-ar .caption-content a {
  background-color: rgba(128, 128, 128, 0.5);
  padding: 10px 10px 8px 10px;
  color: #fff;
  border: solid 1px #999;
  text-decoration: none;
  margin-bottom: 10px !important;
  display: inline-block;
  transition: all .25s ease;
}
.caption-ar .caption-content a:hover {
  background-color: rgba(200, 200, 200, 0.5);
}
.caption-ar .caption-content a i {
  margin-right: 10px;
}
.caption-ar .caption-content .caption-title {
  padding: 0;
  color: #fff;
  margin: 0 auto;
  text-align: center;
  font-size: 1.5em;
}
.caption-ar .caption-content .caption-title + p {
  margin-top: 5px;
}
/*-------------------------------------------------------------------*/
/* Back to Top */
/*-------------------------------------------------------------------*/
#back-top a {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999999;
    color: #eee;
    background-color: rgba(0, 0, 0, 0.3);
    transition: all .25s ease;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

#back-top a:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

#back-top a i {
    font-size: 2em;
}

@media (max-width: 767px) {
    #back-top a {
        position: fixed;
        bottom: 10px;
        right: 10px;
    }

        #back-top a i {
            font-size: 1.6em;
        }
}

/*DropDown User Menu*/
/*#aDDUser:hover, #aDDUser:focus {
    text-decoration: none;
    background-color: #4e5d6c;
    border: 1px solid #2b3e50;*/
}

#aDDUser {
    /*color: #ebebeb;*/
    border-radius: 0;
    position: relative;
    display: block;
    padding: 10px 15px;
}

.leftMenuDivider
{
    height: 1px;
    margin: 9.5px 0;
    overflow: hidden;
    background-color: #2b3e50;
}

.requiredInput label:after {
    content: "*";
    color: red;
}

.labelLegend{
    font-weight:bold;
    font-style:italic;
}

.spidButtonFakeImg {
    width: 15px !important;
    height: 19px !important;
    border: 0 !important;
}

.spidButtonFakeA {
    font-size: 10px !important;
    width: 95px !important;
    border-radius: 20px !important;
}

.not-active {
   pointer-events: none !important;
   cursor: default !important;
}

.fieldsetLegend {
    border-style: solid; 
    border-width: 1px;
}

.legendIntoFieldset {
    width: auto; 
    border-bottom: hidden; 
    margin-left: 5px;
    margin-bottom: 3px;
    font-style: oblique;
    font-size: 18px;
}

.pMarginIntoFieldSet {
    margin-left: 10px;
    margin-right: 5px;
}

.clavoro {
color: #ed9503 !important;
}

.button-clavoro {
    background-color: white;
    color: #999;
}

/* used for banner */
header#header {
    border-top: 7px solid #013366;
    background: #fff;
    color: #013366;
}

    header#header .nav-banner {
        position: fixed;
        z-index: 9990;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background: #013366;
        /*padding-top: .4rem;*/
        color: #fff;
    }

        header#header .nav-banner,
        header#header .nav-banner img,
        header#header .nav-banner p {
            -webkit-transition: all .25s ease-out;
            transition: all .25s ease-out;
            -webkit-transform: translate3d(0,0,0);
            transform: translate3d(0,0,0);
            font-size: 18px;
        }

            header#header .nav-banner a {
                display: flex;
                /*margin-top: 10px;*/
                width: 100%;
            }

    header#header .nav-banner--small,
    header#header .nav-banner--small .logo,
    header#header .nav-banner--small .h4 {
        height: 4px;
        font-size: 0;
        overflow: hidden;
    }

    header#header #logo {
        margin: 0;
        height: 40px;
        vertical-align: middle;
    }

    header#header #logoUE {
        margin: 0;
        height: 40px;
        vertical-align: middle;
    }

    header#header .logo-image img {
        width: 17%;
        float: left;
    }

header.main {
    margin-top: 53px;
}

/* breadcrumb fix */
h1.breadcrumb {
    font-style: normal !important;
    color: #2769b5 !important;
    font-weight: 700 !important;
    font-size: 30px !important;
    padding-top: 1.2rem !important;
    padding-left: 1.8rem !important;
}

/* used for google map */

#map_canvas, #popup_map_canvas {
    max-width: 100%;
    width: 100%;
    height: 400px;
}

/*risultati ricerca sportello*/
.resultTitle {
    border: none;
    background-color: transparent;
    text-transform: uppercase;
    font-weight: bold;
    color: rgb(119, 119, 119);
    padding-top: 1rem;
}

.resultAlternateRow {
    background-color: rgb(245, 245, 245);
}

.resultSubRow {
    padding-bottom: 1rem;
}

.euresIcon {
    border: 0 none;
    height: 32px;
    width: 32px
}

.centerImage {
    position: relative;
    top: 50%;
    transform: translateY(50%);
}

.form-fieldset .row {
    padding-bottom: 1rem;
}

/* FIX TABLE WRAP */
.table-wrap {
    overflow: auto;
    width: 100%;
    height: 100%;
}

/* popup dettaglio */
.dettaglio-popup-titolo {
    text-align: left;
    font-weight: bold
}

.table-borderless td,
.table-borderless th {
    border: 0;
}

.timeTableRow {
    text-align: left;
    border-right: 2px solid #e9ecef;
}

#social {
    text-align: right;
    float: right;
    /*margin: 24px 0 0;*/
}

    #social > * {
        display: inline-block !important;
        width: auto !important;
    }

#social .fa {
    background-color: #fff;
    margin: 0 2.5px;
    color: #06c;
    width: 31px;
    height: 31px;
    line-height: 31px;
    text-align: center;
}

legend {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
    font-size: 24px;
    line-height: inherit;
    color: #333;
    border: 0;
    border-bottom: 1px solid #e5e5e5;
    text-align:left;
    padding-bottom: 5px;
}

.userMenuLiClic{
    width: 100%;
    text-align: left;
}


/****************************************************
 * SEZIONE GRIGIA SUPERIORE DEL FOOTER
 ****************************************************/

/* Contenitore principale del footer */
.footer-main {
    font-size: 0.9rem;
    color: #fff;
}

.footer-top {
    background-color: #686665;
    padding: 1.5rem 0;
}

/* Layout a 3 colonne */
.footer-clic {
    display: flex;
    flex-wrap: wrap;
}

/* Divisori verticali */
.footer-col-left {
    border-right: 3px solid #595959; /* linea a sinistra */
}
.footer-col-center {
    border-right: 3px solid #595959; /* linea a destra */
}
.footer-col-right {
    padding-left: 40px;
}

/* Logo ministero */
.footer-logo {
    text-align: center;
    justify-content: center;
}
.ministero-logo {
    width: auto;
    height: 90px;
}

/* Link modulo contatto */
.contact-module {
    margin-top: 1rem;
    background-color: #202020;
    color: #fff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 300;
    font-family: 'Titillium Web', sans-serif;
    transition: background 0.2s;
}
.contact-module:hover {
    background-color: #444;
}

/*  Social  */
.footer-title {
    font-size: 16px;
    font-weight: bold;
    font-family: 'Titillium Web', sans-serif;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
    text-align: left;
}
/* Icone social */
.box-social {
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: center;
}
.box-social img {
    width: 48px;
    height: auto;
    filter: grayscale(100%) brightness(1);
    transition: filter 0.2s;
}
.box-social img:hover {
    filter: grayscale(100%) brightness(1.3);
}

/****************************************************
 * SEZIONE NERA IN FONDO
 ****************************************************/

.footer-bottom {
    background-color: #202020;
    padding: 0.8rem 0;
    font-size: 0.85rem;
}

/* Link Privacy e Statistiche */
.footer-links {
    text-align: left;
    padding-left: 3rem;

}
.footer-links a {
    color: #fff;
    padding-left: 10px;
    padding-right: 10px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 300;
    font-family: 'Titillium Web', sans-serif;
}
.footer-links a:hover {
    text-decoration: underline;
}
