









@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
  font-family: "Montserrat", sans-serif!important;
}

.hs-blog-listing { background-color: #f7f8f9; }

.custom-footer { background-color: white; }

.no-banner .custom-header { margin-bottom: 0 }


.hs-blog-post .body-container {
  margin-top: 42px;
}

.blog-hero { 
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 2;
}

.blog-hero:before {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  background-color: rgba(0,0,0,0.4);
  z-index: 2;
}

.banner-content {
  position: relative;
  z-index: 3;
}

.banner-blog{
  @media only screen and (min-width: 993px){
    margin-top: 130px;
  }
}

.post-listing .post-item {
  margin: 32px 8px 16px;
  width: calc(100% - 16px);
  display: flex;
  flex-direction: column;
  padding: 0;
  background-color: #fff;
  box-shadow: 0 2px 5px 3px rgba(0,0,0,0.07);
}

.post-content {
  flex-grow: 1; 
}

.post-author-box {
  margin-top: auto !important; 
}

.hs-featured-image-wrapper {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-top: 56.25%;
  background-color: #ccc;
}

.post-item .post-date {
    color: #c3c3c3;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 0;
    width: 100%;
    display: inline-block;
}

.post-content {
  padding: 15px; 
}

.post-title h2 {
  line-height: 100%;
  font-size: 20px;
}

.post-author-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  float: left;
  background-color: #ccc;
  position: relative;
  z-index: 1;
}

.post-read-more {
  display: none;
  justify-content: center;
  align-items: center;
}

.hs-featured-image-wrapper:hover .post-read-more {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  color: #fff;
}

.post-read-more span {
  color: #fff; 
  position: absolute;
  background-color: #163253;
  padding: 10px 20px;
  border-radius: 10px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
  position: relative;
  z-index: 9;
}

.post-read-more span:hover {
  background-color: #E74E0F;
  text-decoration: none;
}

.post-author {
  padding: 0 15px; 
}

.post-author-link {
  float: left;
  margin-top: 6px;
  margin-left: 12px;
}

.post-author-box {
  
  display:none!important;
}

.barra-topic li,
.barra-topic ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.barra-topic li {
  float: left; 
  margin: 0 15px;
}

.barra-topic {
  padding: 15px;
  background-color: #eaebed;
  margin-bottom: 0;
  height: 64px;
}

.barra-topic li a {
  font-size: 16px;
  font-weight: 600;  
  color: #000;
}

.barra-topic li a:hover, .barra-topic li a:focus {
  color: #163253;
}

.post-trimmed-content {
  color: #424242; 
}

.absolute_url:hover{
  text-decoration: none; 
}

.barra-topic li a:hover {
  text-decoration: none;
}

.related-posts {
  display: none;
  background-color: #fff;
  box-shadow: 0 2px 5px 3px rgba(0,0,0,0.07);
  -webkit-box-shadow: 0 2px 5px 3px rgba(0,0,0,0.07);
}

.hs-blog-post .blog-section {
  padding: 16px 0;
}

.hs-blog-post .related-posts {
  float: none;
}

.related-post-featured-image {
  background-color: #ccc;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 56.25%;
}

.related-post-item {
  border: 0 !important; 
}

body.hs-blog-post {
  background-color: #f8f8f8; 
}

.post-column {
  background-color: #fff;
  box-shadow: 0 2px 5px 3px rgba(0,0,0,0.07);
  -webkit-box-shadow: 0 2px 5px 3px rgba(0,0,0,0.07);
  padding: 0 40px;
}

.related-post-body h2 {
  font-size: 16px; 
}

.input input[type="email"] {
  height: 45px;
}

.hs-button.primary,
input[type="submit"],
input[type="button"] {
  border: 0;
  border-radius: 10px;
  text-shadow: none;
  box-shadow: none;
  background: #163253;
  width: 100%;
  margin-top: -8px;
}

.hs-button.primary:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background: #E74E0F;
  border: 0;
}

.hero__topic-container a {
  color: #fff; 
  margin: 0 8px;
}

.leggi-btn-wrapper {
  margin-top: 32px;
  position: relative;
  z-index: 3;
  text-align: center;
}

.leggi-btn-wrapper .hs-button.primary {
  width: auto;
}

.hero__topic-container {
  margin-bottom: 32px; 
  text-align: center;
}

.nl-subscription {
  margin-bottom: 25px; 
}

.hs-blog-post #hubspot-author_data {
    display: flex;
    flex-flow: column wrap;
}

.hs-blog-post .author-link {
  
  display: none!important;
}

.hs-blog-post .author-link:hover {
  text-decoration: underline; 
}

.hs-blog-post .single-post-data {
  display: inline-block;
  margin-bottom: 15px;
  color: #333;
}

.hs-blog-post .topic-list {
  display: inline-block;
  position: relative;
  margin-bottom: 16px;
}

.hs-blog-post .topic-list .topic-link {
  color: #333;
}

.hs-blog-post .topic-list:before {
  font-family: FontAwesome;
  content: "\f02c";
  display: inline-block;
  vertical-align: middle;
  color: #999;
}

.section.post-header h1 {
  text-align: left;
  color: #163253;
  font-size: 35px;
}

.hs-blog-post .single-post-data::before {
  font-family: FontAwesome;
  content: "\f017";
  display: inline-block;
  padding-right: 5px;
  vertical-align: middle;
  color: #999;
}

.hs_cos_wrapper_type_related_blog_posts {
  width: 100%;  
}

.hs-blog-post  h2 {
  font-size: 26px;
}

.hs-blog-post  h3 {
  font-size: 24px;
}

.hs-blog-post  h4 {
  font-size: 22px;
}

.hs-blog-post  h5 {
  font-size: 20px;
}

.hs-blog-post  h6 {
  font-size: 18px;
}

.related-section h2 {
  font-size: 18px; 
}

.related-section {
  padding: 16px; 
}

.related-section .related-title {
  text-align: left;
  font-size: 26px;
  font-weight: bold;
  margin-left: 16px;
  margin-bottom: 0;
}

.hs-blog-post .hs-featured-image-wrapper {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 56.25%;
  margin-top: 20px;
}

.block.post-topic {
  margin-top: 25px; 
}

.blog-section:after {
  content: '';
  display: block;
  width: 100%;
  clear: both;
} 

/* blog pagnation */
.blog-pagination {
  text-align: center;
  margin: 32px auto;
}
.blog-pagination .pagination-list {
  margin: 0;
  padding: 0;
  display: inline-block;
}
.blog-pagination .pagination-list .number-page {
  margin: 0 8px;
}
.blog-pagination .pagination-list .list-item {
  display: inline-block;
  margin: 4px;
}
.blog-pagination .pagination-list .list-item .list-item-link i {
  font-size: 14px;
  line-height: 1.42857143;
}
.blog-pagination .pagination-list .list-item .list-item-link {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0;
  background: #5d5f64;
  color: white;
  text-align: center;
  border-radius: 0;
  text-decoration: none;
  width: 36px;
  height: 36px;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.42857143;
}
.blog-pagination .pagination-list .list-item .list-item-link:hover,
.blog-pagination .pagination-list .list-item.active .list-item-link {
  background: #163253;
  color: white;
}
.blog-pagination .pagination-list .list-item.hide {
  opacity: 0.4;
}
.blog-pagination .pagination-list .list-item.hide .list-item-link {
  cursor: none;
  pointer-events: none;
}
.blog-pagination .pagination-list .list-item.hide .list-item-link:hover {
  background: inherit;
}
.blog-pagination .pagination-list .number-page .list-item:not(.active) {
  display: none;  
}

.hide {
  display: none !important; 
}

.hs-error-msgs label {
   font-size: 13px;
} 

.hs_error_rollup {
  margin-bottom: 20px; 
}

.hs-blog-listing .blogsidebar{ 
  padding: 0 8px; 
}

.page-center-custom {
    padding: 0 15px;
}

.nl-subscription .hs-button.large.primary {
  width: auto;
  margin-top: 16px !important; 
}

.banner .banner-content h1 {
  text-align: center;
  color: white;
}

.post-author-image.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #163253;
}


/* New Widget newsletter */
.newsletter-btn {
  margin-bottom: 40px !important;
}

.newsletter-btn .hs-button {
  -webkit-appearance: none;
  background-color: #E74E0F;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: Poppins,Arial,Tahoma,sans-serif;
  font-size: 15px;
  padding: 7px 10px;
  text-decoration: none!important;
  text-align: center;
  width: auto;
}

@media(min-width: 525px) {
  .hs-blog-listing .post-listing {
    display: flex;
    flex-wrap: wrap;
    margin-top: 32px;
  }
  .post-listing .post-item {
    width: calc(50% - 16px);
  }
}

@media(min-width: 768px) {
  .hs-blog-listing .blogsidebar{ 
    margin: 0 30px 0 15px;
    width: calc(100% - 45px)
  }
  .hs-blog-listing .blogwrap { 
    width: 100%;
  }
  
  .post-listing .post-item {
    width: calc(33.333% - 16px);
  }
  
  .barra-topic {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  .banner .banner-content h1 {
    font-size: 42px;
  }
  .hs-blog-post #hubspot-author_data {
    display: flex;
    flex-flow: row wrap;
  }
  .hs-blog-post .single-post-data {
    margin: 0  8px;
  }
}

@media(min-width: 1024px) {
  .page-center-custom {
    padding: 0;
  }
  
  .hs-blog-listing .blogsidebar{ 
    background-color: #f2f2f2; 
    padding: 32px 32px 42px; 
    margin: 0;
    margin-left: 15px;
    margin-right: 0;
    width: 28%;
  }
  .hs-blog-listing .blogwrap { 
    width: 70%;
    padding-left: 15px;
  }
}

@media(min-width: 1280px) {
  .post-listing .post-item {
    width: calc(25% - 16px);
  }
}