/*
 Theme Name:   Filippo Montaina GeneratePress Child
 Template:     generatepress
 Version:      0.1
*/
html {
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

/* Link */
.single .inside-article p a:link, .page:not(.elementor-page) .inside-article p a:link {
  text-decoration: underline;
  font-weight: 700;
}

a {
	text-underline-offset: 0.2em;
	text-decoration-thickness: from-font;

}

/* Menu */
.main-navigation .main-nav ul ul li a {
     font-size: 14px;
}
/* Footer */
.site-footer a:link {
  text-decoration: underline;
}

@media (min-width: 769px) {
  .footer-widget-2 .widget-title {
    text-align: right;
  }
  .footer-widget-2 .lsi-social-icons {
    text-align: right !important;
  }
}

.footerlinks {
	list-style: none;
}
/* Gravity Forms */
body .gform_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container input[type=text], body .gform_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container select {
  margin-bottom: 2px;
}

body .gform_wrapper li.hidden_label input {
  margin-top: 0px;
}

body .gform_wrapper .gfield_consent_label {
  font-size: 14px;
}

body .gform_wrapper .ginput_container_consent .gfield_required {
  display: inline-block !important;
}

/* Single Post */
.single footer.entry-meta .cat-links {
  text-transform: uppercase;
}

/* Author Box */
.author-box {
  padding: 3%;
  padding-bottom: 10px;
  margin-top: 50px;
  font-size: 0.9em;
  background-color: #fff;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
          align-items: center;
  border-radius: 5px;
  box-shadow: rgba(23, 43, 99, 0.14) 0 7px 28px !important;
}

.author-box .avatar {
  width: 150px;
  height: auto;
  border-radius: 100%;
  margin-right: 30px;
  -webkit-flex-shrink: 0;
          flex-shrink: 0;
}

h5.author-title {
  margin-bottom: 0.1em;
}

.author-description {
  line-height: 1.6em;
  font-size: 16px;
}

@media (max-width: 768px) {
  .author-box {
    padding: 20px;
    padding-bottom: 30px;
    margin-top: 100px;
    -webkit-flex-direction: column;
            flex-direction: column;
    text-align: center;
  }

  .author-box .avatar {
    margin-right: 0;
    margin-bottom: 5px;
    width: 100%;
    margin-top: -35px;
  }

  .author-box .avatar img {
    max-width: 100px;
  }

  .author-description {
    margin-bottom: -1.1em;
  }
}
/* scriptlesssocialsharing */
.scriptlesssocialsharing {
  box-sizing: border-box;
  margin: 18px auto;
}

.scriptlesssocialsharing a.button {
  border: none;
  border-radius: 0;
  box-shadow: none;
  color: white;
  line-height: 1;
  margin: 0;
  text-align: center;
  text-decoration: none;
}

.scriptlesssocialsharing a.button:hover {
  color: white;
}

.scriptlesssocialsharing .screen-reader-text {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  width: 1px;
  border: 0;
  overflow: hidden;
}

.scriptlesssocialsharing-buttons {
  border-collapse: separate;
  border-spacing: 3px;
  display: table;
  table-layout: fixed;
}

.scriptlesssocialsharing-buttons .button {
  display: table-cell;
}

.scriptlesssocialsharing__buttons {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
}

.scriptlesssocialsharing__buttons a.button {
  border: 1px solid;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
          justify-content: center;
  -webkit-align-items: center;
          align-items: center;
}

.scriptlesssocialsharing__icon {
  display: inline-block;
  fill: currentColor;
  font-size: 18px;
  height: 1em;
  width: 1em;
}

@media print {
  .scriptlesssocialsharing {
    display: none;
  }
}
/* CRP Related Posts */
.crp_related {
  margin-top: 40px;
}
.crp_related .related_posts {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: nowrap;
          flex-wrap: nowrap;
}
.crp_related .related_posts .related_posts__item {
  text-align: center;
  -webkit-flex-basis: 220px;
          flex-basis: 220px;
}
.crp_related .related_posts .related_posts__item img {
  display: block;
  margin: 10px;
}
.crp_related .related_posts .related_posts__item .crp_title {
  margin: 0 10px;
  line-height: 1.2;
  display: block;
  font-size: 16px;
}

/* Sticky Footer CTA */
@media (min-width: 769px) {
  .footer-cta {
    display: none;
  }
}
@media (max-width: 768px) {
  .footer-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
  }

  .site-footer {
    margin-bottom: 28px;
  }
}
