/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Common */
.blog-index__post-tags{
  margin: 0;
  display: flex;
}
.blog-index__post-tag{
  padding: 4px 10px;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  color: #FFFFFF;
}
.blog-index__post-tag a {
    color: #FFFFFF;
}
.blog-index__post-tag.tag-customer-technology, .filter-customer-technology.active{
  background: #17C8BE !important;
}
.blog-index__post-tag.tag-marketing-activations, .filter-marketing-activations.active{
  background: #FFC101 !important;
}
.blog-index__post-tag.tag-crm-smart,.filter-crm-smart.active {
  background: #DE3C4B !important;
}
.blog-index__post-tag.tag-business-intelligence, .filter-business-intelligence.active{
  background: #3DB3F7 !important;
}
.post-blog-pre-header{
  display: flex;
  align-items: center;
}
.post-blog-pre-header .minutes{
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 18px;
  color: #7C8288;
  margin-left: 20px;
}
.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.author-info, .blog-post__meta {
  display: flex;
  align-items: center;
}
.blog-post__meta{
  justify-content: space-between;
}
/* Commentato di Simo a seguito della review
.blog-post__timestamp {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 18px;
  text-align: right;
  color: #7C8288;
}*/
.blog-post__timestamp {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  text-align: right;
  color: var(--lightGray);
  margin-left: 20px;
}
.blog-post__timestamp-learning-center {
  /*margin-left: 20px;*/
}

.author-info-text{
  margin-left: 14px;
  display: flex;
  flex-direction: column;
}
.author-info-text .author-name{
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 26px;
  color: #7C8288;
}

.author-info-text .author-job{
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
  color: #7C8288;
}
.separator{
  width: 100%;
  border: 1px solid #F7F7F7;
  margin-top: 40px;
  margin-bottom: 46px;
}

/* Blog post */

.post-blog-title{
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-size: 60px;
  line-height: 73px;
  display: flex;
  align-items: center;
  color: #010C19;
  margin-top: 23px;
  margin-bottom: 0;
}
.post-blog-img{
  width: 100%;
  margin-top: 54px;
  margin-bottom: 36px;
}
.blog-post__body *{
  font-family: 'Inter';
  color: #2A333E;
}
.blog-post__body p{
  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  line-height: 30px;
}
.blog-post__body a{
  color: var(--blueRyb) !important;
}
.blog-post__body h2{
  font-family: 'Montserrat';
  font-weight: 600 !important;
  font-size: 36px !important;
  line-height: 46px;
  color: var(--richBlack);
  /*border-top: 2px solid var(--grayBack); Cambiato e gestito con div.separator*/
}

.blog-post {
  margin-left: 0;
  max-width: 680px;
}

.blog-post__meta {
  margin-bottom: 1.4rem;
}

.blog-post__meta a {
  text-decoration: underline;
}

.blog-post__timestamp {
  display: block;
}

.blog-post__tags svg {
  height: auto;
  margin-right: 0.35rem;
  width: 15px;
}

.blog-post__tag-link {
  font-size: 0.875rem;
}

/* Blog related posts */

.blog-related-posts {
  background-color: #F8FAFC;
}

.blog-related-posts h2 {
  text-align: center;
}

.blog-related-posts__list {
  display: flex;
  flex-wrap: wrap;
}

.blog-related-posts__post {
  flex: 0 0 100%;
  cursor: pointer;
}

.related-posts-content{
  max-width: 960px;
  margin: 0 auto;
}

.sticky-area{
  max-width: 960px;
  margin: 0 auto;
  margin-left: 6%;
}
.blog-post > .social{
  height: 0
}
.social{
  display: flex;
  flex-direction: column;
  position: -webkit-sticky;
  position: sticky;
  top: 16%;
  margin-left: -12%;
}
.social > a {
  height: 40px;
  width: 40px;
  margin-bottom: 20px;
}

#sidebar-sticky{
  position: -webkit-sticky;
  position: sticky;
  top: 0vh;  
}
/*Modifiche consigliate da Anna*/
#sidebar, #sidebar-sticky, .newsletter {
    min-width: 277px !important;
    height: auto;
}
.newsletter input[type="email"]{
  font-size: 14px !important;
  font-family: inter;
  padding: 10px 0px;
}
.newsletter input[type="email"]::placeholder {
    font-size: 14px; !important
    font-family: inter;
}

.newsletter h6 {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    color: #080357;
    margin-bottom: 0px;
}

.newsletter form .hs-richtext, form .hs-richtext p {
    font-size: .875rem;
    margin: 0 0 0.8rem;
}

/*Fine*/
.mobile-sidebar{
  display:none;
}
.newsletter{
  max-width: 278px;
  float: right;
  clear: both;
  margin-right: -65%;
}

#sidebar,#sidebar-sticky {
  max-width: 278px;
  float: right;
  clear: both;
  margin-right: -65%;
  height: 100%;
  position: sticky;
  right: 0;
  /* modificando per allineare socialFollow e taeble of content a prima riga del content del blog
  top: 54px;*/
  top: 10%;
}
.newsletter{
  background: #FFFFFF;
  box-shadow: 0px 10px 20px rgba(34, 34, 34, 0.1);
  border-top: 10px;
  border-bottom: 0;
  border-left:0;
  border-right:0;
  border-color: #0B46F8;
  border-style: solid;
}
.newsletter > div{
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.newsletter h6{
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  color: #080357;
  margin-bottom: 10px;
}
.newsletter h6 > span{
  color: var(--blueRyb)
}
.newsletter .legal-consent-container, #sidebar .newsletter .hs-form-field{
    padding-left: 0px;
}
.newsletter .legal-consent-container p{
  color: #A5A9AD;
  max-width: 154px;
}
.newsletter .legal-consent-container *, .newsletter .hs-error-msg{
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
}
 .newsletter .hs_email{
  margin-bottom: 10px;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
}
.join-team{
  background: var(--blueRyb)
}
.join-team > div{
  padding: 35px;
  padding-bottom: 150px;
}
.join-team h6{
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-size: 25px;
  line-height: 30px;
  color: #FFFFFF;
}
.join-team .button{
  padding: 16px 30px;
}
.join-team .toggle{
  position: absolute;
  height: 178px;
  right: -1px;
  bottom: 0;
}
.table-content {
  margin: 54px 0;
}
.table-content .table-content-list{
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 26px;
  color: #010C19;
  list-style: auto;
}
.table-content .table-content-list > li {
  margin: 12px 0px 20px 0px;
}
.table-content h6{
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  display: flex;
  align-items: center;
  color: #010C19;
  padding-bottom: 18px;
  padding-left: 60px;
  border-bottom: 1px solid #CED0D2;
  margin-bottom:0;
}
.table-content-item:nth-child(n+5){
  /*display:none;*/
}
.table-content-list-learning-center .table-content-item:nth-child(n+5){
  display: list-item;
}
.table-content-item a{
  font-family: 'Inter';
  font-weight: 300;
  font-size: 16px;
  line-height: 26px;
  color: var(--richBlack);
}

.blog-related-posts{
  background: transparent;
}
.blog-related-posts .header{
  display: flex;
  align-items: center;
  margin-bottom: 27px;
}
.blog-related-posts .header > h2{
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: #080357;
  margin-bottom:0;
  margin-left: 10px;
}

.blog-related-posts__post{
  display: flex;
  background: #FFFFFF;
  border: 2px solid #F5F5F5;
  box-sizing: border-box;
  box-shadow: 0px 10px 40px rgba(34, 34, 34, 0.1);
  align-items: flex-start;
  padding: 24px 20px;
}
.blog-related-posts__image{
    height: 150px !important;
    max-width: 150px !important;
    object-fit: cover;
}
.blog-related-posts__post-image-wrapper{
  display: flex;
  padding-right: 29px;
}
.blog-related-posts__title-link, .blog-related-posts__title{
  font-family: 'Montserrat' !important;
  font-style: normal !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  line-height: 24px !important;
  color: #080357 !important;
}
.blog-related-posts__content{
  display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.blog-related-posts__content > div{
  display:flex;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 20px;
}

.social-mobile{
  display:none;
}

/* Progress Bar Styling */
.progress-wrapper {
  width: 100%;
  height: 8px; /* Bar height */
  background-color: var(--grayBack) ; /* Bar background colour */
  position: -webkit-sticky;
  position: sticky;
  /*top: var(--heightmenu);*/
  top: 0;
  z-index: 5;
}
.progress-bar {
  width: 0;
  height: 8px; /* Bar height */
  background-color: var(--blueRyb); /* Bar progress colour */
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

html{
  scroll-padding-top: 110px;
}

.body-container-wrapper{
  /*Toggles di background*/ 
  background-image: url("https://4334701.fs1.hubspotusercontent-na1.net/hubfs/4334701/Sito%20DMA/SVG%20Varia/blogToggles.svg");
  background-repeat: no-repeat;
  background-position: top var(--heightmenu) right 0;
  background-size: 30% auto;
}

.blog-updated-date{
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  color: var(--grayWeb);
  margin-bottom: 11px;
}

.topics-container{
  display:flex;
  margin-bottom: 54px;
}

.blog-article-topic {
  font-family: "Montserrat";
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  color: var(--grayWeb);
  background-color: var(--grayBack);
  padding: 5px 13px;
  margin-right:8px;
}

.end-of-article{
  font-family: "Inter";
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  color: var(--blackCoral);
  margin-bottom: 55px;
}

.single-blog-contact-form{
  margin-bottom: 170px;
}
.breadcrumb-mobile{
  display: none;
}
.breadcrumb-mobile a{
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  color: var(--blueJeansColor);
}

.tutti-gli-articoli{
  margin-left: 10px;
}

/*Burger menu mobile*/
label.menu-toggle-button span{
  background: var(--blueRyb) !important;
}

.blog-related-posts__image {
  height: auto;
  max-width: 100%;
}

.blog-related-posts__title {
  margin: 0;
}

/* Blog comments */

.blog-comments, .blog-related-posts {
  margin: 0 auto;
  max-width: 680px;
}

.blog-comments .hs-submit {
  text-align: center;
}

.blog-comments .comment-reply-to {
  border: 0 none;
}

.blog-comments .comment-reply-to:hover,
.blog-comments .comment-reply-to:focus {
  background-color: transparent;
  text-decoration: underline;
}

article.blog-item a {
    overflow: hidden;
    transition: all .3s;
}

article.blog-item:hover img {
    transform: scale(1.05);
    transition: all .5s;
}

article.blog-item img {
    transition: all .4s;
}

/*.body-container--blog-post{
   margin-top: calc(160px + var(--heightmenu) + 8px);
}*/

.download-pdf-button{
  margin-top: 30px;
}

/* Learning Center */

#sidebar-learning-center,#sidebar-sticky-learning-center {
  /*max-width: 278px;
  float: left;
  clear: both;
  margin-left: -50%;
  height: 100%;
  position: sticky;
  right: 0;
  top: 54px;
  top: 10%;*/
  max-width: 300px;
  height: 100%;
  position: sticky;
  /* top: 20%; */
  margin-left: -65%;
  margin-top: -40%;
  left: 8%;
  top: 30%;
}
.learning-center-blog-post{
  margin-left: auto;
  margin-right: 0;
}

.sticky-area-learning-center{
  max-width: 960px;
  margin: 0 auto;
  margin-left: 10%;
}
.blog-post__timestamp-learning-center, .minutes-learning-center, .blog-index__post-tag-learning-center, .blog-infos-separator {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  color: var(--lightGray);
}
.blog-post__timestamp-learning-center, .minutes-learning-center {
  display: block;
}
.article-infos{
  display: flex;
  align-items: center;
}
.blog-index__post-tag-learning-center{
  padding: 4px 10px;
}
.blog-index__post-tag-learning-center > a{
  text-decoration: none;
  font-weight: bold;
}
.blog-index__post-tag.tag-customer-technology-learning-center > a {
  color: #17C8BE !important;
}
.blog-index__post-tag.tag-marketing-activations-learning-center > a {
  color: #FFC101 !important;
}
.blog-index__post-tag.tag-crm-smart-learning-center > a {
  color: #DE3C4B !important;
}
.blog-index__post-tag.tag-business-intelligence-learning-center > a {
  color: #3DB3F7 !important;
}
.blog-post__meta-learning-center{
  display: flex;
  flex-direction: column;
}
.blog-post__meta-learning-center {
  margin-bottom: 1.4rem;
}
#learning-center-top-background{
  /*position: absolute;*/
  position: relative;
  /*display: flex;*/
  align-items: center;
  /*top: var(--heightmenu);
  min-height: 445px;
  height: 55%;*/
  width: 100%;
  background-color: var(--blueRyb);
  z-index: -1;
}
.sidebar-single-learning-center{
  background-color: #ffffff;
  box-shadow: 0px 10px 20px 0px #2222221A;
}
.post-blog-title-learning-center{
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-size: 60px;
  line-height: 73px;
  display: flex;
  align-items: center;
  color: #ffffff;
  /*margin: 23px 0;*/
  padding-top: 90px;
  padding-bottom: 75px;
}
.learning-center-blog-post .post-blog-title-learning-center{
  line-height: 1;
}
.learning-center-ribbon{
  position: absolute;
  top: 0;
  right: 45px;
}
.social-learning-center{
  display: flex;
  padding-top: 10px;
}

#copy-to-clipboard-button{
  padding: 0;
  border: none;
  width: 40px;
  height: 41px;
  margin-top: 0 !important;
  box-shadow: unset;
  background-color: unset;
}
.table-content-learning-center h6{
  border-bottom: unset;
}
.table-content-list-learning-center{
  padding-left: 67px;
}
#sidebar-learning-center,.sidebar-single-learning-center {
  border-radius: 25px;
}
/*#sidebar-learning-center{
  margin-bottom: 120px;
}*/
.sidebar-single-learning-center h6{
  color: var(--blueRyb);
}
.sidebar-single-learning-center > div {
  padding-bottom: 35px;
}
#copiedToClipboardPopup{
  z-index: 2;
  display: none;
  position: absolute;
  top: 125px;
  width: 100%;
  justify-content: center;
}
#copiedToClipboardPopup p {
  position: fixed;
  font-size: 0.5rem;
  padding: 20px;
  background-color: var(--blueJeansColor);
  color: #ffffff;
}
.download-pdf-button{
  width: fit-content;
  padding: 16px 30px;
  box-shadow: unset;
}
.download-pdf-button-wrapper{
  margin-bottom: 80px;
}
.body-container-wrapper:has(#learning-center-top-background){
  background-image: none;
}
.body-container-wrapper:has(#learning-center-top-background) #learning-center-top-background{
  background-image: url("https://www.diemmea.com/hubfs/Sito%20DMA/Learning%20Center/learningCenterToggles.svg");
  background-repeat: no-repeat;
  background-position: top right;
}
#copiedToClipboardPopup > p:after {
  background-color: white;
  padding: 4px;
  font-size: 10px;
  line-height: 4px;
  color: var(--blueJeansColor);
  content: "\00d7";
  position: absolute;
  top: -5px;
  right: -6px;
  border-radius: 10px;
  cursor: pointer;
}
.blog-infos-separator{
  margin: 0 10px;
}
#back-to-top-arrow{
  display: none;
  width: 30px;
}
.tutti-gli-articoli-learning-center > a {
  color: white;
}
.social-learning-center a, .social-learning-center button{
  margin: 0 7px;
}

.table-content-list-learning-center{
  /*column-count: 2;  */
}
.button-sidebar{
  background-color: var(--blueRyb) !important;
}
.learning-center-blog-post{
  max-width: 680px;
}
.sidebar-single-learning-center p {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 400;
}
.table-of-content-container{
  border: 2px solid #F7F7F7;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  padding: 10px;
}
/*.table-of-content-container > ul {
  display: none;
}*/
.expand-toc{
  align-self: flex-end;
  background-color: unset;
  box-shadow: unset;
  border: unset;
  width: 100%;
  display: flex;
  align-items: center;
}
.expand-toc svg{
  min-width: 24px;
  height: 24px;
}
.expand-toc-icon-toggle:before {
  content: "\e87a";
  /*padding-right: 8px;*/
}
.expand-toc:active {
  background-color: unset;
}
/*
.table-content-list-learning-center > li:not(:first-child):not(:last-child){
  margin: initial;
}*/
.table-content-learning-center a{
  width: fit-content;
}
.table-content-learning-center a:before{
  background-color: #010C19;
}
.expand-toc span{
  color: #2A333E;
  padding-left: 20px;
  text-align: left;
  font-size: 16px;
}
.hs-breadcrumb-menu {
  display: flex;
}
.breadcrumb-menu {
  margin-top: var(--heightmenu)!important;
  padding-top: 49px;
}

@media screen and (max-width: 1310px) {
  #sidebar-learning-center{
    display: none;
  }
}


@media screen and (max-width: 1250px) {
  #sidebar, .newsletter-wrapper{
    display:none;
  }
  .mobile-sidebar, .mobile-sidebar .mobile-sidebar{
    display: flex;
    flex-direction: column;
  }
  .mobile-sidebar .newsletter{
    width: 100%;
    max-width: unset;
    margin-right: 0;
    margin-bottom: 40px;
  }
  .table-content {
    /*margin: 0;*/
  } 
}

@media only screen and (max-width: 960px){
  .blog-post__meta-learning-center {
    margin-top: 75px;
  }
  #learning-center-top-background {
    min-height: 350px;
  }
  .blog-index__post-tag-learning-center {
    padding-left: 0!important;
  }
  .blog-infos-separator {
    display: none;
  }
  .social-learning-center{
    margin-top: 20px;
  }
  .article-infos{
    flex-direction: column;
    align-items: flex-start !important;
  }
  .download-pdf-button-wrapper{
    margin-bottom: 230px !important;
  }
  
  .progress-wrapper {
    /*top: var(--heightmenumobile);*/
  }
}
@media screen and (max-width: 860px) {
  .social{
    display:none;
  }
  .body-container-wrapper{
    background-size: 75% auto;
  }
}

@media screen and (max-width: 480px) {
  .blog-related-posts__image{
    display:none;
  }
  .post-blog-title{
    font-weight: 700;
    font-size: 36px;
    line-height: 46px;
  }
  .blog-post__meta{
    flex-direction: column;
    align-items: baseline;
  }
  .newsletter .hs_email{
    padding-left: 0;
  }
  .social-mobile .social{
    display: flex;
  }
  .social-mobile .social{
    margin: 0;
    position: relative;
    flex-direction: row;
    top: 0;
    align-items: center;
  }
  .mobile-sidebar .newsletter .hs-form-field{
    padding-left: 0 !important;
  }
  .info-time{
    display: flex;
    width: 100%;
    align-items: center;
    margin-top: 10px;
    justify-content: space-between;
  }
  .social-mobile .social > a{
    margin: 0;
  }
  .table-content-item{
    display:block;
  }


}

@media screen and (min-width: 768px) {
  .blog-related-posts__post {
    flex: 0 0 calc(100% / 1);
  }
}

@media screen and (min-width: 1000px) {
  .blog-related-posts__post {
    flex: 0 0 calc(54% / 1);
  }
}

@media screen and (max-width: 768px) {
  /*.body-container--blog-post{
    margin-top: calc(var(--heightmenumobile) + 8px);
  }*/
  .post-blog-pre-header .minutes{
    font-size: 14px;
  }
  .post-blog-img{
    margin-top: 25px;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 768px) {
  .post-blog-title-learning-center {
    padding-top: 0;
  }
  .breadcrumb-mobile{
    display: flex;
    margin-bottom: 34px;
    padding-top: calc(var(--heightmenumobile) + 20px)!important;
    margin-left: 0;
  }
  .separator{
    margin: 48px 0;
  }
  .sticky-area{
    margin:0;
  }
  .blog-related-posts{
    padding-top: 0 !important;
  }
  .blog-related-posts__post-image-wrapper{
    padding-right: 0;
  }
}

@media screen and (max-width: 768px) {
  .sticky-area-learning-center {
    margin-left: unset;
  }
  #learning-center-top-background{
    /*top:var(--heightmenumobile);*/
  }
  .table-content-list-learning-center{
    column-count: 1;  
  }
}
@media screen and (max-width: 480px) {
  .blog-post__meta-learning-center{
    flex-direction: column;
    align-items: baseline;
    margin-bottom: 100px;
  }
  .post-blog-title-learning-center{
    font-weight: 700;
    font-size: 36px;
    line-height: 46px;
  }
  .table-content-list-learning-center{
    padding-left: 50px;
  }
}