h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    color: #003366; 
    font-weight: 500;
    font-family: Times;
}


@media (width >= 1200px) {
  h1, .h1 {
    font-size: 2.1rem;
  }
}

h2, .h2 {
  font-size: calc(1.325rem + .9vw);
}

@media (width >= 1200px) {
  h2, .h2 {
    font-size: 1.9rem;
  }
}

h3, .h3 {
  font-size: calc(1.3rem + .6vw);
}

@media (width >= 1200px) {
  h3, .h3 {
    font-size: 1.75rem;
  }
}

h4, .h4 {
  font-size: calc(1.275rem + .3vw);
}

@media (width >= 1200px) {
  h4, .h4 {
    font-size: 1.5rem;
  }
}

h5, .h5 {
  font-size: 1.25rem;
}

h6, .h6 {
  font-size: 1rem;
}

 h1 {
    padding-bottom: 0.6em;
}

.loghi {
   float:right;
}

.testo-bleu {
   font-weight: bold;
   color: #003366;
}

.testo-blu {
   font-weight: bold;
   color: #003366;
   padding-left:60px;
}

.testo-verde {
   font-size: 18px;
   font-weight: bold;
   color: #128630;
   text-decoration: underline;
   text-align: center;
}


.testo-verde-numero {
   font-size: 24px;
   font-weight: bold;
   color: #ffffff;
   background-color: #128630;
   border-radius: 7px;
   padding-top: 4px;
   padding-bottom: 4px;
   padding-left: 12px;
   padding-right: 12px;
}

.testo-verde-numero-back {
   text-align: center;
   padding: 4px;
}

.testo-verde-cont {
   font-size: 18px;
   font-weight: bold;
   color: #128630;
   text-decoration: underline;
   text-align: left;
}

.testo-verde-numero-back-cont {
   text-align: left;
   padding: 4px;
}


@media screen and (max-width: 1200px) {
  .img-loghi {
    max-width: 86%;
    height: auto;
    float: right;
    }
}

@media screen and (max-width: 600px) {
  .img-loghi {
    max-width: 76%;
    height: auto;
    float: right;
    }
}

/*header-img liguria*/

.navbar-brand {
    padding-right: 8em;
    background-image: url(/images/cartina_liguria.png);
    background-size: 20%;
    background-position-y: center;
    background-position-x: right;
    background-repeat: no-repeat;
    padding-top: 1.3125rem !important;
    padding-bottom: 1.3125rem !important;
}

@media screen and (max-width: 900px) {
  .navbar-brand {
    padding-right: 6em;
    }
}

@media screen and (max-width: 780px) {
  .navbar-brand {
    padding-top: 0.1rem !important;
    padding-bottom: 0.1rem !important;
    }
}

@media screen and (max-width: 600px) {
  .navbar-brand {
      background-image: none;
      padding-right: 0;
    }
}

.navbar-brand, .navbar-brand a {
    white-space: normal;
}

.navbar-brand, .navbar-brand a {
    font-family: Bangla MN;
    font-size: calc(1.175rem + 1.2vw);
    text-decoration:none; 
    white-space: normal;
}

@media (width >= 1200px) {
  .navbar-brand, .navbar-brand a {
    font-size: 2.0rem;
  }
}

@media screen and (max-width: 600px) {
    .brand-logo {
     padding-left: 1.8em;
    }
}

@media screen and (max-width: 810px) {
.navbar-brand {
     text-align: center;
     padding-bottom: 0.1em !important;
    }
}



/*header-img manine*/

.brand-logo {
    padding-left: 2.4em;
    padding-top: 0.2em;
    background-image: url(/images/manine_giustizia_riparativa.png);
    background-size:8%;
    background-position-y: top;
    background-position-x: left;
    background-repeat: no-repeat;
}

@media screen and (max-width: 600px) {
.brand-logo {
      padding-left: 1.6em;
    }
}

.quadro-sportello {
    padding-top: 28px;
    padding-bottom: 14px;
    margin-bottom: 2em;
    
}

#mod-custom132 {
    box-shadow: 1px 1px 4px #828ca185;
    padding-top: 28px;
    padding-bottom: 14px;
    padding-right: 4px;
    margin-bottom: 2em;
    background-color: #e3f3da2e;
}

.img-border {
   border-radius: 2em;
   border-radius: 2em;
   border-width: 1px;
   border-color: #bbbbbb;
   border-style: solid;
   margin-bottom: 1em;
}

.breadcrumb {
    background-color: #00000008;
    margin-bottom: 2em;
}

.container-below-top {
	flex-direction: column;
}

.card-header {
    color: #003366; 
}

.container-search .form-control {
    padding: 0.2rem 0.4rem;
    font-size: 0.8rem;
}

.container-search .btn { 
    --btn-padding-x: 0.4rem;
    --btn-padding-y: .2rem;
    --btn-font-family: ;
    --btn-font-size: 0.8rem;
}

.container-header .container-search {
    margin-top: 0.7em;
}

.container-banner {
    margin: 0rem;
}

.container-topbar {
    background-color: #ffffff;
  	color:#003366;
}


.immage {
  	float:left;
    margin-right: 26px;
 	margin-bottom:20px;
    box-shadow: 1px 1px 4px #828ca185
}

.immages {
    margin-bottom: 14px;
    box-shadow: 1px 1px 4px #828ca185
}

.immage_cartina {
   
    box-shadow: 1px 1px 4px #828ca185
} 
/*
.container-header .navbar-brand {
    padding-top: 1.8rem; 
}


.flex {
  max-width: 100%;
}

.container-topbar p {
    padding:0px;
  	margin:0px;
}
.container-banner .banner-overlay {
   
    background-attachment: scroll;
}
.container-banner .banner-overlay .overlay {
    background-color: #00000000;
  
}

.container-header .navbar-brand a {
    text-decoration: none;
}

.container-topbar, .container-below-top {
 	background-color: white;
  	font-size: 1.8rem;
}

.container-topbar, .container-below-top {
 	  display: flex;
}
  
.container-header .container-nav {
    padding-bottom: 3em;
    padding-top: 3em;
}

.card.bottom-b .card-header {
   background-color: var(--body-bg) !important;
   border-width:1px;   
}
*/

/*moduli*/

.container-bottom-a {
    grid-column: full-start/full-end;
    background-color: #547297;
  	padding-top: 1em;
  	padding-bottom: 3em;
}

.bottom-a {
     width: 100% !important;
     max-width: 1320px !important;
     margin-left: auto;
     margin-right: auto;
     margin-top: 1.6em;
     margin-bottom: 0px;
     display: flex;
     background-color: transparent !important;
}

.top-a h1{
     text-align: center;
  	 padding-top: 1em;
}

.container-top-b {
   margin-top:2em;
}

.container-top-a {
    grid-column: full-start/full-end;
    background-color: #f1f2f7;
}

.top-a {
     width: 100% !important;
     max-width: 1320px !important;
     margin-left: auto;
     margin-right: auto;
     margin-top: 1.6em;
     margin-bottom: 0px;
     display: flex;
     background-color: transparent !important;
}
/*
.container-banner {
    background-image: url(/images/sfondo_azz.jpg);
    background-position-y: top;
    background-position-x: left;
    background-repeat: repeat;
    margin-bottom:0px;
}

.container-top-b {
    grid-column: full-start/full-end;
    background-image: url(/images/sfondo_azz.jpg);
    background-position-y: top;
    background-position-x: left;
    background-repeat: repeat;
}

.container-top-c {
    grid-column: full-start/full-end !important;
    background-image: url(/images/sfondo_azz.jpg);
    background-position-y: top;
    background-position-x: left;
    background-repeat: repeat;
}

.top-b,.top-c {
     width: 100% !important;
     max-width: 1320px !important;
     margin-left: auto;
     margin-right: auto;
     margin-top: 1.6em;
     margin-bottom: 0px;
     display: flex;
     background-color: transparent !important;
}

.container-top-b h2, .container-top-c h2 {
    background-color: transparent !important;
}


.container-top-b {
    background-image: url(/images/freccia_azz.jpg);
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: top;
    padding-top: 1em;
}

.container-top-c {
    background-image: url(/images/freccia_blu.jpg);
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: bottom;
    margin-bottom: 2em;
  }
*/

.container-top-a h1.card-header   {
    background-color: transparent !important;
}

.card-header {
   background-color: var(--body-bg) !important;
   border-width:0px;   
}

.card {
  border-width:0px;
}

.bottom-a {
    background-color: transparent; 
  	color: #ffffff;
}

.container-bottom-a h2.card-header   {
    background-color: transparent !important;
    color: #ffffff;
    text-align: center;
}

.container-bottom-b h2.card-header {
    background-color: transparent !important;
}

.top-a .card-body {
    padding-bottom: 50px;
  }

.bottom-b {
    border-width: 0px !important;
    padding-top: 20px;
   /*border-color: #165da1;
    border-radius: 1em;*/
  }

.bottom-b h2 {
   text-align: center;
  }

 /*modulo top-c*/

.container-top-c, .container-bottom-0 {
  position: relative;
}

.container-top-c > *, .container-bottom-0>* {
  flex: 1;
  margin: 0.5em 0;
}


@media (max-width: 991.98px) {
  .container-top-c {
    flex-direction: column;
  }
}

@media (width <= 991.98px) {
.container-top-c>*, .container-bottom-0>* {
    flex: 0 auto;
  }
} 
.container-top-c > * {
    flex: 0 1 auto;
  }

@supports (display: grid) {
  .site-grid {
    display: grid;
    grid-template-areas: ". banner banner banner banner ." ". top-a top-a top-a top-a ." ". top-b top-b top-b top-b ." ". top-c top-c top-c top-c ." ". comp comp comp comp ." ". side-r side-r side-r side-r ." ". side-l side-l side-l side-l ." ". bot-a bot-a bot-a bot-a ." ". bot-0 bot-0 bot-0 bot-0 ." ". bot-b bot-b bot-b bot-b ." ;
    grid-template-columns: [full-start] minmax(0, 1fr) [main-start] repeat(4, minmax(0, 19.875rem)) [main-end] minmax(0, 1fr) [full-end];
    grid-gap: 0 1em;
  }

  @media (min-width: 992px) {
    .site-grid {
      grid-template-areas: ". banner banner banner banner ." ". top-a top-a top-a top-a ." ". top-b top-b top-b top-b ." ". top-c top-c top-c top-c ." ". side-l comp comp side-r ." ". bot-a bot-a bot-a bot-a ." ". bot-0 bot-0 bot-0 bot-0 ." ". bot-b bot-b bot-b bot-b ." ". bot-c bot-c bot-c bot-c .";
    }
  }
}

.container-top-c {
  	grid-area: top-c;
}

.container-bottom-0 {
    grid-area: bot-c;
}


.footer a:hover {
    color: #ffffff;
  	font-style: oblique;
}