/***********************************************/
/* 
    Skreddersydd Blogg              
    increo.no                                  
*/
/***********************************************/

/*****************************************/
/*
    1.0 ROOT vars
    1.1 Font styles
    1.2 Set width of BLOG
    1.3 BLOG top menu
    1.4 BLOG BODY 
    1.5 BLOG FOOTER
    1.6 RESPONSIVE
  
*/
/*****************************************/

/*********** 1.0 ROOT vars ***********/
:root {
  --main-color: #3c0025;
  --link-color: #FF7474;
  --white: #ffffff;
}
/*********** 1.1 Font styles ***********/


@font-face {
    font-family: Stainless; 
    src: url(//co.malling.no/hubfs/stainless.ttf); 
}
@font-face {
    font-family: FoldGrotesque; 
    /*src: url(https://2523116.fs1.hubspotusercontent-na1.net/hubfs/2523116/Fonts/Fold%20Grotesque%20Pro%20Light.ttf); */
    src: url(https://blogg.malling.no/hubfs/Fonts/FoldGrotesque-Light-Pro.otf);
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
#hs-eu-policy-wording a {
  color: #3c0025;
}
#hs-eu-policy-wording a:hover {
  text-decoration: underline;
}
/*********** 1.2 Set width of BLOG ***********/

.page-center {
    max-width: 1440px;
    margin: 0 auto!important;
    float: none!important;
    padding-left: 45px;
    padding-right: 45px;
    font-family: 'FoldGrotesque';
}

/*********** 1.3 BLOG top menu ***********/
.top-header {
  margin-top: 30px;
}

.des-mob-block .custom-menu-primary.desktop {
  margin: 0 !important;
}
.menu-top {
    padding: 15px 15px 20px;
}

.company-logo {
    width: auto !important;
    display: table !important;
    margin: 0;
}

.company-logo img {
    max-width: 159px;
}

.blog-menu {
    text-align: center;
}

.hs-menu-wrapper {
    text-align:center;
}

.hs-menu-wrapper.hs-menu-flow-horizontal ul {
    margin-top: 6px;
    /*float: none;*/
    float: left;
}
.custom-menu-primary .hs-menu-wrapper>ul>li{
    padding: 0 5px;
}
.hs-menu-wrapper.hs-menu-flow-horizontal > ul li a {
    font-size: 21px;
    text-transform: initial;
    letter-spacing: inherit;
    color: rgb(60, 0, 37);
    font-weight: 600;
    padding: 0;
    padding-right: 10px;
    font-weight: 400;
    transition: all .15s;
    line-height: 26px;
}

.hs-menu-wrapper.hs-menu-flow-horizontal > ul li a:hover {
    border-bottom: 1px solid rgb(60 0 37);
    color: rgb(60, 0, 37);
    display: inline:
}

.hs-menu-wrapper.hs-menu-flow-horizontal > ul li.hs-menu-depth-1 {
    float: none;
    display: inline-block;
}

.social-media-icons-top {
    float: right;
    margin-top: 7px;
   
}

.social-media-icons-top a:hover {
    background-color: #9e9e9e;
}

.social-media-icons-top a {
    display: inline-block;
    
}

/*********** 1.4 BLOG BODY ***********/

.hs-blog-post #kategorier {
 display:none; 
}
.hs-search-field {
  margin-top: 20px;
  width: 100%;
  float: right;
}
.hs-search-field__suggestions-container {
  z-index: 999;
}
.hs-search-results__pagination__link--number {
display:none;
}

.hs-search-results__featured-image {
  width: 100% !important;
  height: 250px !important;
  object-position: top !important;
}
.hs-search-field__suggestions {
  color: var(--main-color);
}
.hs-search-field__input {
    font-size: 19px;
    background-color: #fff;
    border: none;
    border-bottom: 1px solid rgba(60, 0, 37, 0.2);
    box-shadow: none;
  padding-left: 0 !important;
}
.hs-search-field__input:focus {
  outline-style: none; 
  border-bottom: 1px solid rgba(60, 0, 37, 0.8);
}
.hs-search-field__bar button svg {
  height: 15px;
  opacity: 0.8;
}
.hs-search-field__suggestions .results-for {
  font-weight: normal;
}
.hs-search-field__button--labelled {
   font-size: 22px;
    font-weight: 300;
  opacity: 0.8;
  cursor: pointer;
  color: var(--main-color);
}
.mega-menu .search-input-field {
  margin-left: 20px;
}
.mega-menu .site-search-form input[type="search"] {
  color: #ffffff !important;
  font-size: 22px;
}

.hs-featured-image-wrapper.all {width:40%}
.hs_cos_wrapper_type_post_filter {
  display: inline-block; 
  overflow: hidden;
  max-height: 40px;
  cursor: pointer;
  position: absolute;
  color: var(--main-color);
  margin-top:26px;
}
.hs_cos_wrapper_type_post_filter h3, .hs_cos_wrapper_type_post_filter a{
  color: var(--main-color) !important;
  text-transform: none;
  font-weight: normal;
  font-size: 1.2rem;
  letter-spacing: inherit;
}
.hs_cos_wrapper_type_post_filter.open {
  max-height: inherit;
  padding-left: 10px;
  padding-right: 10px;
  background-color: rgb(245 242 244/1);
  border-radius: 5px;
  z-index: 9999;
}
.hs_cos_wrapper_type_post_filter .filter-link-count {
  background-color: transparent !important;
  padding: 0 6px;
  float: right;
  color: var(--main-color);
  border-radius: 5px;
  margin-left: 10px;
}

.blog-body {
    padding: 0;
  font-weight:300;
  padding-left: 45px;
  padding-right: 45px;
}
#info{
  height: 100px;
  overflow: hidden;
  line-height: 1.5rem;
  text-overflow: ellipsis;
  content: "";
  position:relative;
}
#info:before {
    content:'';
    width:100%;
    height:100%;    
    position:absolute;
    left:0;
    top:0;
    background:linear-gradient(transparent 50px, white);
}
#info.open:before {
    content:'';
    width:100%;
    height:100%;    
    position:absolute;
    left:0;
    top:0;
    background:none;
}
.blog-section {
  grid-template-columns: repeat(12,minmax(0,1fr));
  display: grid;
  column-gap: 40px;
}
.blog-section-title {
  grid-column-end: 13;
  grid-column-start: 4;
}
.blog-section-title h1 {
  font-size: 4.5rem;
  line-height: 5rem;
  margin-top: 0;
  margin-bottom: 3.75rem;
  color: var(--main-color);
  font-weight: 300;
}
.blog-section-author {
  display: grid;
  grid-column: span 3/span 3;
  justify-content: center;
  column-gap: 20px;
  height: -moz-fit-content;
  height: fit-content;
}
.blog-section-author .avatar {
  display: flex;
  grid-column: 1/-1;
  gap: 20px;
}
.blog-section-author .avatar img {
  width: 85px;
  height: 85px;
  object-position: center;
  object-fit: cover;
  border-radius: 5px;
}
.blog-section-author .avatar .name {
  font-size: 0.875rem;
  line-height: 1.188rem;
  color: var(--main-color);
  gap: .25rem;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  display: flex;
}
.blog-section-author .avatar .date {
  opacity: .5;
  font-size: 0.875rem;
}
.blog-section-author .info {
  opacity: 1;
  color: var(--main-color);
}
.blog-section-body {
  grid-column-end: 13;
  grid-column-start: 4;
  color: var(--main-color);
  max-width: 659px;
}
.blog-section-body h2{
  color: var(--main-color);
  margin-bottom: 0;
  text-transform: none;
  line-height: 1.5rem;
  font-size: 1.188rem;
}
.blog-section-body p{
  color: var(--main-color);
  margin-top: 0;
  margin-bottom: 30px;
  line-height: 1.5rem;
  font-size: 19px;
}
.blog-section-body p a {
  color: var(--link-color);
  text-decoration-line: underline;
  text-underline-offset: 3px;
}
.blog-section-body p a:hover {
  color: var(--main-color);
}
.blog-listing-wrapper h1{
  font-size: 4.5rem;
  line-height: 5rem;
  margin-top: 3.75rem;
  margin-bottom: 3.75rem;
  color: var(--main-color);
  font-weight: 300;
}

.post-listing {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px 30px;
}
.post-item {
  background-color: #FFF;
  margin-bottom: 30px;
  padding: 0;
  grid-column: span 6;
}
.post-item:first-child{
  grid-column: span 7;
}
.post-item:nth-child(2){
  grid-column: span 5;
}
.category-wrapper {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--main-color)/1;
}
.post-body{
    margin-bottom: 15px;
}

.post-header h1 {
    margin: 0;
    line-height: 1.4;
}
.post-header h2 {
    margin: 0;
  margin-top: 10px;
  line-height: 2rem;
  font-weight: 300;
}

.post-header h1 a {
    color: var(--main-color);
    text-transform: none;
    text-decoration:none;
    letter-spacing: 1px;
    font-size: 2em !important;
}
.post-header h2 a {
    color: var(--main-color);
    text-decoration:none;
    letter-spacing: 0;
    font-size: 1.625rem;
  text-transform: initial;
}
.post-header h1 a{
    font-size: 1.040rem;
}

.post-header h2 a:hover {
    text-decoration:underline;
  color: var(--main-color);
}

#hubspot-author_data {
    text-transform: inherit;
    font-size: 1em;
    margin-top: 5px;
  color: var(--main-color);
}

.hs-author-social-section {
    margin-bottom: 30px;
}

.hs-blog-social-share {
    margin-bottom: 30px;
    line-height: 0;
}

.blog-post-body .hs-rss-description a, p {
    display: block;
}

.blog-post-body {
    
    padding: 0px 0 10px;
}

.hs-featured-image {
    max-width: 100%;
    width: 100%;
  max-height: inherit;
  aspect-ratio: 660/440;
  border-radius: 5px;
  object-fit: cover;
  margin: 0 0 10px 20px;
  margin-left: 0;
  float: none;
}
.button.dark {
  --tw-border-opacity: 1;
  border-color: rgb(60 0 37/var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(60 0 37/var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(255 255 255/var(--tw-text-opacity));
  padding: 0px 15px;
  border-radius: 5px;
  border-width: 1px;
  font-size: 18px;
  margin-top: 10px;
  display: inline-block;
  transition-property: color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  transition-duration: .2s;
}
.button.dark:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(32 0 20/var(--tw-bg-opacity));
  transition-property: color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;
  transition-property: color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;
  transition-property: color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  transition-duration: .2s;
}

.more-link {
    color: #FFF;
    /*background: #C4D2DC;*/
    background-color: #2e4b5e;
    padding: 5px 10px;
    margin: 10px 0;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    display: table;
}

.more-link:hover {
    color: #FFF;
    background: #796A48;
}
.hs-blog-listing .post-body.clearfix p{
    margin: 10px 0 4px;
    color: var(--main-color);
}

.hs-button {
    cursor: pointer;
    color: #FFF;
    background: #2e4b5e;
    padding: 10px 10px;
    margin: 20px 0;
    text-decoration: none;
    border: 0px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.hs-button:hover {
    color: #FFF;
    background: #796A48;
}

.blog-pagination{
    margin-left: 0;
}

.blog-pagination a {
    color: #FFF;
    background: rgb(60 0 37);
    padding: 10px 15px;
    margin: 20px 0;
    text-decoration: none;
    border: 0px;
    font-size: 16px;
    text-transform: none;
    letter-spacing: 1px;
    font-weight: 500;
}


.blog-pagination a:hover {
    background-color: rgb(32 0 20);
    transition-duration: .2s;
}

/*********** 1.5 BLOG FOOTER ***********/
.footer.page-center {
  padding-left: 45px;
  padding-right: 45px;
}
.blog-footer {
  background: var(--white);
  margin-top: 5rem;
}
.blog-footer ul{
  list-style-type: none;
  padding: 0;
  margin-bottom: 50px;
}
.blog-footer ul li h3{
  margin-bottom: 0;
  text-transform: none;
  color: var(--main-color);
  font-size: 1.3rem;
  font-weight: 300;
}
.blog-footer ul li h3 a{
  text-transform: none;
  color: var(--main-color);
  font-size: 28px;
  line-height: 37px;
  letter-spacing: initial;
}
.blog-footer ul li h3 a:hover{
  border-bottom: 1px solid rgb(60 0 37);
  color: rgb(60, 0, 37);
  display: inline:
}
.blog-footer .small ul li a {
  margin-bottom: 0;
  text-transform: none;
  color: var(--main-color);
  font-size: 0.875rem;
  font-weight: 300;
}
.blog-footer .small ul li a:hover {
  border-bottom: 1px solid rgb(60 0 37);
  color: rgb(60, 0, 37);
  display: inline:
}
.blog-footer .buttons {
  display: flex;
  margin-bottom: 46px;
  gap: 10px;
  flex-wrap: wrap;
}
.blog-footer .button.dark {
  border-color: rgb(60 0 37);
  background-color: rgb(60 0 37);
  color: rgb(255 255 255);
  padding: 10px 20px;
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  border-width: 1px;
}
.blog-footer .button.dark:hover {
  background-color: rgb(32 0 20);
  transition-duration: .2s;
}

/*********** 1.6 RESPONSIVE ***********/
@media screen and (max-width: 1460px) {
  .footer.page-center {
    padding-left: 0;
    padding-right: 0;
  }
  .model-listings-page {
    padding: 45px;
  }
  .blog-body {
    padding: 0;
    font-weight:300;
    padding-left: 0;
    padding-right: 0;
}
}
@media (max-width: 1024px) {
    .burger-menu {
    padding: 60px 0px 70px 20px !important;
  }
  .mega-menu .search__mobile .search-input-field {
  width: 90% !important;
    margin-left: 0 !important;
}
  .blog-section {
  flex-direction: column;
    display: flex;
}
  .page-center {
    padding-left: 0;
    padding-right: 0;
}
  .hs-search-field {
  margin-top: 20px;
  width: 100%;
  float: right;
}
}
@media screen and (min-width: 993px) and (max-width: 1380px) {
  .des-mob-block {
    margin-left: 0 !important;
    width: 75% !important;
  }
}
@media (max-width: 767px) {
  .post-item{
    grid-column: span 12;
  }
  .post-item:first-child{
    grid-column: span 12;
  }
  .post-item:nth-child(2){
    grid-column: span 12;
  }
  .mobile-trigger {
    top: -64px !important;
  }
   .model-listings-page {
    padding: 15px;
  }
  .post-listing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 30px;
}
  .blog-listing-wrapper h1 {
  font-size: 2.5rem;
  line-height: 2.5rem;
  margin-top: 2.75rem;
  margin-bottom: 2.75rem;
}
  .post-header h2 a {
  font-size: 1em;
}
  .blog-section-title h1 {
  overflow-wrap: anywhere;
  font-size: 2.5rem;
  line-height: 3rem;
}
  .blog-footer ul{
  padding: 0;
    margin: 0;
}
  .blog-footer .first{
      margin-top: 20px;
}
  .blog-section-author .info {
  display: none;
}
  .blog-section-author {
  justify-content: left;
}
  #btnShow{display: none;}
  .blog-section-author .avatar {
  margin-bottom: 20px;
}
  .hs-featured-image-wrapper.all {width:100%}
 
}