/*
Theme Name: ItaliaWP Child Theme
Theme URI: http://italiawp.borisamico.it
Author: Boris Amico
Author URI: http://borisamico.it
Description: Tema child di ItaliaWP utilizzabile per la customizzazione.
Version: 1.0.0
License: GNU AFFERO GENERAL PUBLIC LICENSE v3 or later
License URI: https://www.gnu.org/licenses/agpl-3.0.en.html
Template: italiawp
Text Domain: italiawp-child
*/

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.footer-deco {
  position: relative;
}

.footer-deco::before {
  content: "";
  display: block;
  position: absolute;
  height: 0;
  top: -75px;
  left: 0;
  width: 0;
  border-style: solid;
  border-width: 0 90vw 75px 10vw;
  border-color: transparent transparent #ac2b37 transparent;
}

.section-deco {
  position: relative;
}

.section-deco::before {
  content: "";
  display: block;
  position: absolute;
  height: 0;
  top: -75px;
  left: 0;
  width: 0;
  border-style: solid;
  border-width: 0 90vw 75px 10vw;
  border-color: transparent transparent #fff transparent;
}

.card-thumb {
  	background-size: cover;
  	background-repeat: no-repeat;
	text-align:center;
}

.card-thumb img {
  border:1px solid #eeeeee;
}

.h-100 {
  height: 100%;
}

.w-100 {
  width: 100%;
}

.u-flex {
  display: flex !important;
}

.u-flexColumn {
  display: flex;
  flex-direction: column;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.u-flexBetween {
  justify-content: space-between;
}

.u-alignItemsCenter {
  align-items: center;
}

.newsletter {
  padding-bottom: 150px;
}

.u-displayBlock {
  display: block;
}

.events {
  padding-top: 50px;
  padding-bottom: 150px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.section-highlight {
  padding-top: 50px;
  padding-bottom: 50px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

.section-highlight .content-highlight {
  position: relative;
  z-index: 1;
  width: 100%;
}

.section-highlight::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: white;
  background: linear-gradient(0deg, white 0%, white 20%, rgba(255, 255, 255, 0) 100%);
  z-index: 0;
}

.section-deco {
  padding-top: 75px;
  padding-bottom: 75px;
}

.section-deco .logo {
  width: 100%;
}

.Footer-logo {
  width: 75%;
  max-width: 350px;
  margin-bottom: 25px;
}

.Header .Header-navbar {
  display: flex;
  background-color: #fff !important;
  border-bottom: 10px solid #ac2b37;
  padding-left: 2.5rem !important;
}

.Header .Header-search {
  margin-bottom: 0 !important;
}

.Header .Header-search button {
  padding: 0.5em !important;
}

.Header .Megamenu--default {
  background-color: transparent !important;
  color: #ac2b37 !important;
  width: 100%;
  align-items: center;
  justify-content: start;
}

.Header .Megamenu--default ul {
  margin: 0 !important;
}

.Header .Megamenu--default .Megamenu-subnavGroup {
  display: block !important;
}

.Header .Megamenu--default .Megamenu-item a {
  color: #ac2b37 !important;
  padding: 1rem 3rem 1rem 1rem !important;
  text-transform: uppercase;
}

.Header-toggleText {
  color: #ac2b37;
}

.Hamburger-toggle,
.Hamburger-toggle:after,
.Hamburger-toggle:before {
  background-color: #ac2b37;
}

.logo {
  width: 12em;
}

.logo a {
  display: block;
  font-weight: bold;
}

.logo a img {
  max-width: 100%;
}

.has-footer-deco {
  padding-bottom: 150px !important;
}

.job-item figure a {
  border: 1px solid #ddd;
  width: 150px;
}

.italiawp-sidebar .Linklist-link.Linklist-link--lev2,
.italiawp-sidebar .Linklist-link.Linklist-link--lev2:hover {
  background-color: transparent !important;
}

.italiawp-sidebar .Linklist-link.Linklist-link--lev2 .Form-field,
.italiawp-sidebar .Linklist-link.Linklist-link--lev2 .Form-input,
.italiawp-sidebar .Linklist-link.Linklist-link--lev2:hover .Form-field,
.italiawp-sidebar .Linklist-link.Linklist-link--lev2:hover .Form-input {
  background-color: #eee !important;
}

.Footer .footer-menu a {
  color: #fff !important;
  text-decoration: none;
  font-size: 1.2em;
  line-height: 1.5em;
  text-transform: uppercase;
}

.Footer {
	font-size: 17px;
	line-height: 130%;
}

.Footer .pseudo-link {
	color: #FFF;
	font-size: 17px;
}

.Footer a {
  font-size: 17px !important;
  text-decoration: underline;
}

.Footer address {
  font-style: normal !important;
  font-size: 17px;
}

.Footer-links {
  padding-top: 0 !important;
  border: none !important;
}

.Footer-links li {
  margin: 1.2em 0 !important;
  color: #fff;
}

.u-layout-centerContent {
  padding-left: 1.2em;
  padding-right: 1.2em;
}

.header-deco {
  position: absolute;
  right: 0;
  display: block;
  bottom: -80px;
  z-index: 2;
  width: 248px;
}

.Header {
  position: relative;
}

.Hamburger-toggleContainer.js-fr-offcanvas-open {
  text-decoration: none;
}

@media (max-width: 767px) {
  .deco-logo {
    margin: 50px auto 0;
    display: block;
    max-width: 250px;
  }

  .footer-deco::before {
    top: -50px;
    border-width: 0 80vw 50px 20vw;
  }

  .section-deco {
    position: relative;
  }

  .section-deco::before {
    top: -50px;
    border-width: 0 80vw 50px 20vw;
  }

  .amministrazione-trasparente {
    font-size: 0.75em;
  }
}

.amministrazione-trasparente {
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  padding: 15px 0;
}

.amministrazione-trasparente li a {
  color: #fff !important;
}

@media (max-width: 991px) {
  .floating-nav {
    display: none;
  }

  .Header .logo {
    width: 7.5em;
  }

  .Header .Header-navbar {
    display: flex;
    background-color: #fff !important;
    border-bottom: 5px solid #ac2b37;
  }

  .header-deco {
    position: absolute;
    right: 0;
    display: block;
    bottom: -40px;
    z-index: 2;
    width: 125px;
  }
}

p {
  margin-bottom: 1em;
  line-height: 1.5em;
}

p:last-child {
  margin-bottom: 0;
}

.header-floating-logo,
.header-floating-deco {
  display: none;
}

@media (min-width: 1200px) {
  .header-floating-deco {
    position: absolute;
    right: 0;
    display: block;
    bottom: -40px;
    z-index: 100;
    width: 110px;
  }

  .header-floating-logo {
    position: absolute;
    left: 25px;
    display: block;
    bottom: 10px;
    z-index: 100;
    width: 125px;
  }
}

@media (min-width: 1200px) and (max-width: 1699px) {
  .floating-nav .Megamenu {
    padding-left: 9em !important;
  }
}

@media (min-width: 1700px) {
  .floating-nav .Megamenu {
    padding-left: 2em !important;
  }
}

.italiawp-sidebar {
  padding: 0 25px;
}

.italiawp-sidebar .italiawp-search {
  margin-left: -25px;
  margin-right: -25px;
}

.menu-amministrazione {
  margin-bottom: 35px;
  background-color: #eee;
  padding: 25px;
  border-radius: 2px;
}

.menu-amministrazione .Linklist .Linklist-title .Linklist-link {
  padding-top: 0 !important;
}

.menu-amministrazione li {
  border-top: 1px solid #ddd;
  padding: 0.5em;
}

.menu-amministrazione li a {
  color: #ac2b37;
  text-decoration: none;
  font-size: 0.75em;
  font-weight: bold;
}

.menu-amministrazione li a.active {
  opacity: 0.5;
}

.menu-amministrazione li a:hover {
  text-decoration: none;
}

@media screen and (min-width: 992px) {
  .content {
    padding-right: 5em;
  }
}

ul.attachments-list {
  margin: 0 !important;
  padding: 0 !important;
}

ul.attachments-list li {
  border-top: 0.1rem solid #ddd;
  list-style-type: none !important;
}

ul.attachments-list li a {
  color: #1c2024;
  text-decoration: none !important;
  padding: 1em 0 !important;
}

ul.attachments-list li a:hover {
  color: #ac2b37;
}

ul.attachments-list li a .size {
  color: #808285;
  font-size: 0.8em;
}

.coworking-gallery img {
  display: block;
  width: 100%;
}
.banner img {
  display: block;
  margin: 0 auto;
}
a {
  color: #ac2b37;
  text-decoration: none;
}

a:hover {
  text-decoration: none !important;
  color: #1c2024;
}

.Linklist li a.Linklist-link {
  color: #ac2b37 !important;
  font-weight: bold;
}

.Linklist .Linklist-title {
  border: none !important;
}

.Linklist .Linklist-title .Linklist-link {
  color: #000 !important;
  font-size: 1.5em;
  font-weight: bold;
  border-top: none;
}

.Linklist .Linklist-title .Linklist-link:hover {
  text-decoration: none !important;
}

.Megamenu--default .Megamenu .Megamenu-subnav {
  padding: 1em !important;
  /* max-height: 50vh; */
  /* overflow: auto; */
}

.Megamenu--default .Megamenu .Megamenu-subnav .Megamenu-subnavGroup li {
  margin-right: 0 !important;
  padding: 0.75em 0 !important;
}

.Megamenu--default .Megamenu .Megamenu-subnav .Megamenu-subnavGroup li a {
  font-size: 1em !important;
  padding: 0 !important;
}

.normativa-item {
  border-bottom: 1px solid #eeeeee;
}

.normativa-item:last-child {
  border-bottom: none;
}

.wp-block-table,
.wp-block-file {
  margin-bottom: 1em !important;
}

.Prose table.wp-block-table td { font-size: medium; }

.content h2,
.content h4 {
  margin-bottom: 1em;
}

.content ul {
  margin-bottom: 1em;
  padding-left: 1.2em;
  margin-left: 2em;
}

.content ul li {
  list-style-type: square;
  margin-bottom: 0.5em;
}

.content ol {
  margin-bottom: 1em;
  padding-left: 1.2em;
  margin-left: 2em;
}

.content ol li {
  list-style-type: decimal;
  margin-bottom: 0.5em;
}

.sidebar-menu {
  margin-bottom: 2em;
}

.Breadcrumb {
  margin-left: -0.7em;
  margin-right: -0.7em;
  padding: 0 25px;
}

.Breadcrumb li {
  display: inline;
}

.Header .Header-navbar {
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

.Header-social {
  margin-bottom: 1.6rem !important;
  margin-top: 1.6rem;
}

.Header-social p {
  margin: 0;
}

.floating-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 5px solid #ac2b37;
  transition: all 0.5s ease-out;
  z-index: 1000;
}

.floating-nav .Megamenu--default {
  background-color: #fff !important;
  color: #ac2b37;
}

.floating-nav .Megamenu--default .Megamenu-item > a {
  color: #ac2b37 !important;
}

.floating-nav .Megamenu--default .Megamenu-subnavGroup {
  display: block !important;
}

.floating-nav .Megamenu--default .Megamenu-subnavGroup li a {
  color: #ac2b37 !important;
}

.floating-nav.floating-hidden {
  top: -100%;
}

.floating-nav ul.Megamenu-list {
  display: flex;
  justify-content: space-between;
  padding-left: 1.2rem !important;
  padding-right: 1.2rem;
  width: 100%;
  margin: 0 auto !important;
  max-width: 144rem !important;
}

.u-layout-wide {
  padding: 0 25px;
}

.post_thumb img {
  display: block;
  width: 100%;
}

blockquote {
  border-left: 4px solid #ac2b37;
  background-color: #eee;
  margin: 2.5em 0;
  padding: 1.5em;
}

.Hamburger-toggle,
.Hamburger-toggle:after,
.Hamburger-toggle:before {
  background-color: #fff;
}

.focus .external-link:not(.share-icon):after {
  display: none;
}

.focus {
  display: flex;
}

.focus:hover {
  opacity: 0.8;
}

.focus a {
  display: flex;
  border: 1px solid #ac2b37;
}

.focus .content-deco {
  height: 100px;
  width: 100px;
  min-width: 100px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.focus .content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1em;
  font-size: 1.25em;
  background-color: #fff;
  color: #1c2024;
  max-height: 100px;
}

.focus .content p {
  max-height: calc(100px - 2em);
  overflow: hidden;
  text-overflow: ellipsis;
}

.focus:first-child .content {
  color: #fff;
  background-color: #ac2b37;
}

.Breadcrumb-item {
  text-transform: capitalize;
}

.check_calendar {
  background-color: #ac2b37;
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-transform: uppercase;
  display: block;
  text-align: center;
  padding: 1em;
  font-weight: bold;
}

.check_calendar:hover {
  color: #eee;
}

.Accordion--default .Accordion-link-v2 {
  color: #1c2024;
  font-size: 18px;
}

.tribe-events-list .tribe-events-loop .tribe-events-event-image {
  width: 150px !important;
}

.tribe-events-list-event-title {
  display: flex;
  width: 100%;
  font-size: 1.4em !important;
}

.tribe-events-list-event-title section {
  box-shadow: none !important;
  border-radius: 0 !important;
  width: 150px !important;
}

.tribe-events-list-event-title figure,
.single-event figure {
  padding: 0 !important;
  background-color: transparent !important;
  box-shadow: none;
}

.tribe-events-list-event-title figcaption,
.single-event figcaption {
  display: none;
}

.tribe-events-list .type-tribe_events {
  margin-top: 4rem !important;
  border-bottom: 1px;
}

.single-tribe_events .site-content .Grid .u-md-size4of12.u-lg-size4of12 {
  display: none;
}

.single-tribe_events .site-content .Grid .u-md-size8of12.u-lg-size8of12 {
  width: 100% !important;
}

.single-tribe_events .post_thumb section {
  box-shadow: none !important;
  border-radius: 0 !important;
  width: 100%;
}

.single-tribe_events .italiawp-sidebar {
  padding: 0;
}

.single-tribe_events .italiawp-sidebar .Linklist li {
  border: none !important;
}

#tribe-events .tribe-events-button,
#tribe-events .tribe-events-button:hover,
#tribe_events_filters_wrapper input[type=submit],
.tribe-events-button,
.tribe-events-button.tribe-active:hover,
.tribe-events-button.tribe-inactive,
.tribe-events-button:hover,
.tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-],
.tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-] > a {
  background-color: #ac2b37 !important;
}

#tribe-events .tribe-events-button,
.tribe-events-button {
  font-size: 18px !important;
  padding: 10px 15px !important;
}

.flip {
  display: block;
  height: 0;
  width: 100%;
  padding-bottom: 30%;
  background-size: cover;
  background-position: center;
}

.post-type-archive-tribe_events .u-md-size8of12.u-lg-size8of12 {
  width: 100% !important;
}

.post-type-archive-tribe_events .u-md-size4of12.u-lg-size4of12 {
  display: none;
}

.Prose > a,
.Prose p > a,
.Prose > p > a:visited {
  color: #ac2b37;
}

.Accordion--default .Accordion-header[aria-expanded=true] {
  background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='%23ac2b37'><title>collapse</title><path d='M28.267 25.867L32 22.134l-16-16-16 16 3.733 3.733L16 13.6l12.267 12.267z'/></svg>") !important;
}

.Accordion--default .Accordion-header {
  background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='%23ac2b37'><title>expand</title><path d='M3.733 6.133L0 9.866l16 16 16-16-3.733-3.733L16 18.4 3.733 6.133z'/></svg>") !important;
}
@media screen and (max-width: 1440px) {
.Accordion--default .Accordion-header, .Accordion--plus .Accordion-header, .Breadcrumb-link, .Header-social, .Header-socialIcons, .Header-titleLink small, .Megamenu--default .Megamenu-item>a, .Megamenu--default .Megamenu-subnavGroup>li>ul>li a {
    font-size: 1.4rem!important;
    letter-spacing: .01em!important;
	  text-align: right;
}
}

@media screen and (max-width: 991px) and (min-width: 768px){
.Hamburger-toggle:after {
    bottom: -0.6rem;
}
}

@media screen and (max-width: 991px) and (min-width: 768px) {
.Hamburger-toggle:before {
    top: -0.9rem;
}
}

@media screen and (max-width: 991px) and (min-width: 768px) {
.Hamburger-toggle, .Hamburger-toggle:after, .Hamburger-toggle:before {
    width: 3.6rem;
}
}

.Hamburger-toggle, .Hamburger-toggle:after, .Hamburger-toggle:before {
    border-radius: 3px;
    height: .3rem;
}

.newsletter {
    margin-bottom: -150px;
}

.Headroom-hideme { padding-left:18px }


  
/*# sourceMappingURL=style.css.map*/

ul.tribe-related-events {
  margin: 0 !important;
}
.tribe-related-events li {
  display: inline-block;
}
.tribe-related-events li h3 {
  font-size: 18px;
}
.tribe-related-events li span {
  font-size: 14px;
}
.tribe-related-events-thumbnail {
  display: none;
}

#menu-menu-secondario-1 li {
  display: inline;
  position: relative;
  padding-right: 25px;
  margin-right: 20px;
}
#menu-menu-secondario-1 li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  display: block;
  top: 8px;
  width: 1px;
  height: 13px;
  background-color: white;
}

img {
  max-width: 100%;
}

figure {
 display: flex;
}

/* Amministrazione trasparente - Tipologie di procedimento (art. 35) */
.art35-table {
  overflow-x: auto;
  margin-bottom: 1em;
}

.art35-table table {
  width: 100%;
}
