/**
 * @file
 * Footer Styling.
 */




.site-footer {
  font:16px/1.2 Titillium Web,sans-serif;
  background-color:#30373D;
  position:relative;
  border-top:none;
  padding: 7.5% 3%;
}

.site-footer .layout-container {
  padding: 0 15px;
}

.site-footer__bottom .block h2 {
  color: #ffffff;
  font-size: 1rem;
  text-transform: uppercase;
  /* border-bottom: 1px solid #707070; */
  padding-bottom: 10px;
  margin: 0 0 0px;
}

.site-footer .content a, .site-footer .content a.is-active, .site-footer a {
  color: #5fdad3;
}

.site-footer .content a:hover, .site-footer .content a.is-active, .site-footer a:hover {
  text-decoration: underline;
}

/* Footer Bottom Styling. */
.site-footer__bottom .block {
  width: 100%;
  margin: 0;
}

.site-footer__bottom .mobilespace {
  margin: 2rem 0 0;
}

.site-footer__bottom .mobilecenter {
 text-align: center;
}

.site-footer__bottom .mobilebordertop {
 border-top: 1px solid #707070;
 padding-top: 1rem;
}

.site-footer__bottom .mobileborderbottom {
 border-bottom: 1px solid #707070;
 padding-bottom: 1rem;
}

.socialblock.mobilecenter .view-content > div {
  margin: 0 auto 1rem;
}


.site-footer__bottom .content {
  padding: 0;
  margin-top: 0;
}

.site-footer__bottom {
  margin-top: 0px;
  border-top: none;
}
.site-footer__bottom .region {
  margin-top: 0;
}
.site-footer__bottom .block {
  clear: both;
}

/* We need to be specific to overwrite [dir="rtl"] .block ul in block.css. */
.site-footer__bottom .block .menu {
  padding: 0;
}
.site-footer__bottom .menu-item a {
  float: none; /* LTR */
  display: block;
  padding: 0;
  margin: 5px 0;
  border-left: none;
  text-shadow: none;
  font-weight: 400;
  font-size: 16px;
  border: none;
}

.site-footer__bottom .menu-item:first-child a {
  padding-left: 0; /* LTR */
}

.site-footer__bottom .menu-item:last-child a {
  padding-right: 0; /* LTR */
  border-right: none; /* LTR */
}

#block-footerlogo .content .field--name-body {
  display: flex;
}

#block-footerlogo img{
  /* padding-right: 0px; */
  height: 80px;
  position: relative;
  width: auto;
}
#block-footerlogo h2{
 color: #fff;
 font-size: 22px;
 font-weight: 700;
 border: none;
 text-transform:none;
 padding: 0 0px 0 0px;
 margin: 0;
 width: 100%;
 max-width: 170px;
}


section.region-footer-fifth ul.nav {
  flex-direction: column;
}

section.region-footer-fifth ul li a {
  padding: 0.2rem 0;
  font-weight: 300;
}

section.region-footer-fifth .block-social ul.nav,
section.region-footer-fifth #block-mur-footer ul.navbar-nav {
  flex-direction: row;
}

#block-mur-footer ul.navbar-nav li {
  padding: 0px 7px;
  width: 50%;
}

#block-mur-footer ul.navbar-nav li:last-child {
  padding-right: 0;
} 


/*** GRID CSS  ***/

section.region-footer-fifth {
  /* display: grid; */
  /* grid-template-columns: 10% 10% 10% 10% 10% 10% 10% 10% 10% 10%; */
  /* grid-template-rows: auto 80px 45px; */
  /* justify-content: space-around; */
  /* position: relative; */
  width: 100%;
  margin: 0 auto;
}


@media (min-width: 768px) {


.site-footer {
  font:16px/1.2 Titillium Web,sans-serif;
  background-color:#30373D;
  position:relative;
  border-top:none;
  margin-top:30px;
  padding:2em 1em;
  height: 370px;
  overflow: hidden;
}
.site-footer .layout-container {
  padding: 0 15px;
}

.site-footer__bottom .block h2 {
  color: #ffffff;
  font-size: 1.3rem;
  text-transform: uppercase;
  border-bottom: 1px solid #707070;
  padding-bottom: 10px;
  margin: 0 0 10px;
}

.site-footer .content a, .site-footer .content a.is-active, .site-footer a {
  color: #5fdad3;
}

.site-footer .content a:hover, .site-footer .content a.is-active, .site-footer a:hover {
  text-decoration: underline;
}

/* Footer Bottom Styling. */

.site-footer__bottom .content {
  padding: 0;
  margin-top: 0;
}

.site-footer__bottom {
  margin-top: 0px;
  border-top: none;
}
.site-footer__bottom .region {
  margin-top: 0;
}
.site-footer__bottom .block {
  clear: both;
  margin: 0.5em 0;
  width: auto;    
}

/* We need to be specific to overwrite [dir="rtl"] .block ul in block.css. */
.site-footer__bottom .block .menu {
  padding: 0;
}
.site-footer__bottom .menu-item a {
  float: none; /* LTR */
  display: block;
  padding: 0;
  margin: 5px 0;
  border-left: none;
  text-shadow: none;
  font-weight: 400;
  font-size: 16px;
  border: none;
}

.site-footer__bottom .menu-item:first-child a {
  padding-left: 0; /* LTR */
}

.site-footer__bottom .menu-item:last-child a {
  padding-right: 0; /* LTR */
  border-right: none; /* LTR */
}

#block-footerlogo .content .field--name-body {
  display: flex;
}
#block-footerlogo p {
  width: 100px;
  margin: 0;
}
#block-footerlogo img{
  padding-right: 0;
  height: 80px;
  /* width: 200px; */
}
#block-footerlogo h2{
 color: #fff;
 font-size: 22px;
 font-weight: 700;
 border: none;
 text-transform:none;
 padding: 0 0 0 5px;
 margin: 0;
 width: 60%;
}


section.region-footer-fifth ul.nav {
  flex-direction: column;
}

section.region-footer-fifth ul li a {
  padding: 0.2rem 0;
  font-weight: 600;
}

section.region-footer-fifth .block-social ul.nav,
section.region-footer-fifth #block-mur-footer ul.navbar-nav {
  flex-direction: row;
  padding: 0;
}

#block-mur-footer ul.navbar-nav li {
  width: auto;
}

#block-mur-footer ul.navbar-nav li:last-child {
  padding-right: 0;
} 


/*** GRID CSS  ***/

section.region-footer-fifth {
  display: grid;
  grid-template-columns: 10% 10% 10% 10% 10% 10% 10% 10% 10% 10%;
  grid-template-rows: auto 80px 45px;
  justify-content: space-around;
  position: relative;
}

section.region-footer-fifth:after {
  content:"";
  height: 1px;
  background: #707070;
  width: 100%;
  display: block;
  position: absolute;
  bottom: 40px;
}


#block-footerlogo {
  grid-column: 1 / span 4;
  grid-row: 1;
}

#block-trasparenza{
  grid-column: 5 / span 3;
  grid-row: 1;
  place-self: end;
}

#block-comunicaconnoi {
  grid-column: 8 / span 3;
  grid-row: 1;
  /* place-self: end; */
}

#block-linkgovitaliano {
  grid-column: 1 / span 2;
  grid-row: 2;
  place-self: start; 
  margin-top: 35px;
}

#block-copyright {
  grid-column: 1 / span 3;
  grid-row: 3;
  font-size: 1.3rem;
  margin: 5px 0;
}

#block-codicefiscale {
  grid-column: 4 / span 3;
  grid-row: 3;
}

#block-view-social-block-1 {
  grid-column: 7 / span 4;
  grid-row: 2;
  place-self: end;
  margin-bottom: 20px;
}

#block-mur-footer {
  grid-column: 7 / span 4;
  grid-row: 3;
}



.site-footer__bottom .mobilespace {
  margin: 0;
}


.site-footer__bottom .mobilecenter {
 text-align: left;
}

.site-footer__bottom .mobilebordertop {
 border-top: none;
 padding-top: 0;
}

.site-footer__bottom .mobileborderbottom {
 border-bottom: none;
 padding-bottom: 0;
}


.socialblock.mobilecenter .view-content > div {
    margin: 0;
    width: 100%;
}

}

@media (min-width: 992px) {

#block-footerlogo img{
  /* padding-right: 22px; */
}

#block-footerlogo h2{
 font-size: 1.4rem;
 padding: 0 0px 0 5px;
}


/*** GRID CSS  ***/

#block-footerlogo {
  grid-column: 1 / span 3;
}

#block-trasparenza{
  grid-column: 5 / span 3;
  place-self: baseline;
}

#block-comunicaconnoi {
  grid-column: 9 / span 2;
  place-self: baseline;
}

#block-linkgovitaliano {
  grid-column: 1 / span 2;
}

#block-copyright {
  grid-column: 1 / span 2;
}

#block-codicefiscale {
  grid-column: 3 / span 3;
  text-align: center;
}

#block-view-social-block-1 {
  grid-column: 8 / span 3;
}

#block-mur-footer {
  grid-column: 5 / span 6;
  place-self: end;
}
 
}


@media (min-width: 1200px) {

.site-footer__bottom .block h2 {
  font-size: 1.5rem;
}
}