/* HERO */
.con-hero-container {
   position: relative;
   display: flex;
   width: 100%;
}

.con-hero-container>img {
   height: 300px;
   object-fit: cover;
}

.con-hero-content-position {
   top: 0;
   left: 0;
}

.con-hero-content {
   margin: 3em 2em;
   display: inline-block;
   width: auto !important;
}

h1.con-hero-heading {
   font-size: 1.7em !important;
}

.gre-content {
   padding: 0 2em;
}

.gre-content h2.subheading {
   font-weight: 500;
   color: #000;
}

.gre-content .normal {
   font-size: 1em;
}

/* Links - Vad vill du veta mer om */
.gre-content>div>div {
   display: flex;
}

.gre-content .sv-column-9>div {
   margin-top: 2em;
}

.gre-content .sv-column-9>div>div {
   display: flex;
}

.gre-content .sv-column-9>div:nth-child(1)>div:nth-child(2) {
   margin: 0 -2em;
}

.gre-content .sv-column-9>.gre-pages-startpage>div:nth-child(2)>div {
   padding: 0 2em;
   margin-top: 0;
   width: 33.334%;
   box-sizing: border-box;
}

.gre-content .sv-column-9>.gre-pages-startpage .sv-custom-module {
   background: #fff;
}

.greppa-linkmodule-frame {
   display: flex;
   flex-direction: column;
   margin: 0;
}

.greppa-linkmodule-image,
.greppa-linkmodule-caption {
   min-width: 100%;
}

.greppa-linkmodule-frame {
   background: #fff;
}

.greppa-linkmodule-caption a {
   display: inline-block;
}

.greppa-linkmodule-caption a h2 {
   color: #275468;
   text-decoration: none;
   font-weight: bold;
   font-style: normal;
   font-size: 1.2em;
   line-height: 1.4;
}

.greppa-linkmodule-caption a:hover h2 {
   background-color: #f2f2f2;
   color: #33788e;
}

.greppa-linkmodule-caption {
   padding: 1em;
   box-sizing: border-box;
   height: 155px;
   position: relative;
}

.greppa-linkmodule-caption:before {
   content: "";
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   top: 0;
   width: 100%;
   height: 100%;
   box-shadow: inset 0 -30px 0 0px #fff;
   z-index: 1;
   pointer-events: none;
}

.greppa-linkmodule-caption p {
   display: -webkit-box;
   overflow: hidden;
   -webkit-line-clamp: 3;
   -webkit-box-orient: vertical;
}

.gre-popular-pages {
   background: #33788e;
   width: 100%;
   padding: 1em;
   box-sizing: border-box;
   z-index: 1;
   position: relative;
   height: calc(100% + 10em);
   margin-top: -10em;
}

.gre-popular-pages h2.subheading:last-child {
   color: #fff;
   font-weight: bold;
   display: block;
   margin-bottom: 1em;
}

.gre-popular-pages ul li a.normal {
   color: #fff;
   text-decoration: none;
   font-size: 1.2em;
   line-height: 1.5em;
   display: block;
   position: relative;
   padding-left: 0.6em;
   margin-bottom: 1em;
}

.gre-popular-pages ul li a.normal:before {
   font-family: "Font Awesome 5 Free";
   font-weight: 600;
   content: "\f054";
   font-size: 10px;
   top: 0;
   position: absolute;
   display: inline-block;
   left: 0;
}

.gre-popular-pages ul li a.normal:hover {
   color: #fff;
   background: transparent;
   text-decoration: underline;
}

/* Kalender - På gång */
.gre-calendar-startpage {
   display: flex;
   flex-direction: column;
   background: #fff;
   padding: 1.5em 2em;
   margin-top: 0;
}

.gre-calendar-startpage ul {
   margin-bottom: 3em;
}

.gre-calendar-startpage ul li {
   display: flex;
   margin-bottom: 1em;
}

.gre-articel-date {
   margin-right: 2em;
}

.gre-articel-text {
   min-width: auto;
}

/* Puffar */

.gre-pages-startpage > div {
   display: flex;
   margin: 0 -0.5rem;
   box-sizing: border-box;
   margin-top: 2rem;
}

.gre-pages-startpage > div > div div:has(.gre-image-card),
.gre-pages-startpage .gre-image-card {
   height: 100%;
}

.gre-pages-startpage > div > div {
   padding: 0 .5rem;
   margin-top: 0;
   width: 33.334%;
   box-sizing: border-box;
}

.gre-card img {
   width: 100%;
   height: 150px;
   object-fit: cover;
   object-position: center;
   aspect-ratio: 16 / 9;
}

/* Nyheter */
.gre-news-startpage {
   padding: 2em;
   background: #fff;
}

.gre-news-startpage h2 {
   margin-bottom: 2em;
}

.gre-news-startpage ul {
   margin-top: 0;
   margin-bottom: 0;
   display: inline-block;
   width: 100%;
}

.gre-news-startpage ul li {
   background: #f0ebda;
   margin-bottom: 2em;
}

.gre-news-startpage ul li:not(:first-child) img {
   display: none;
}

.gre-news-startpage ul li:not(:first-child) .gre-news-content {
   padding-top: 0.5em;
}

.gre-news-startpage .gre-news-content {
   padding: 0em 2em 1em;
}

.gre-news-startpage .gre-news-content h3.subheading3 {
   word-wrap: break-word;
}

.gre-news-startpage .gre-news-tag {
   margin-right: 0.8em;
   display: inline-block;
   position: relative;
}

.gre-news-startpage .gre-news-tag:after {
   content: "";
   bottom: -9px;
   left: 0;
   height: 4px;
   width: 60%;
   background: #33788e;
   position: absolute;
}

.gre-news-startpage .gre-news-date {
   /*color: #707070;*/
   color: #4d4d4d;
   font-size: 0.88em;
}

.gre-news-startpage .env-button {
   border-radius: 0;
   margin-bottom: 1.2em;
   font-size: 1em;
}

/* Vit bakgrund */

.gre-hero-templet-banner-wrapper,
.gre-page-header,
body>div:first-child>div:first-child {
   position: relative;
   z-index: 2;
}

.gre-hero-templet-banner-wrapper {
   position: relative;
   z-index: 1;
}

.gre-news-startpage {
   position: relative;
   z-index: 0;
}

.gre-news-startpage:before {
   content: "";
   position: fixed;
   background: #fff;
   top: 0;
   bottom: 0;
   height: 100%;
   width: 100%;
   pointer-events: none;
   z-index: -1;
   margin-left: -2em;
}

@media (max-width: 1200px) {
   .gre-content {
      padding: 0 1em;
   }

   .gre-content .sv-column-9>div:nth-child(1)>div:nth-child(2) {
      margin: 0 -1em;
   }

   .gre-content .sv-column-9>.gre-pages-startpage>div:nth-child(2)>div {
      padding: 0 1em;
   }

   .gre-news-startpage {
      padding: 2em 1em;
   }
}

@media (max-width: 1024px) {
   .gre-content>div>div {
      flex-wrap: wrap;
   }

   .gre-content>div>div>div {
      min-width: 100%;
   }

   .gre-news-startpage:before {
      display: none;
   }

   .gre-news-startpage {
      margin: 2em 0 !important;
   }
}

@media (max-width: 767px) {
   .gre-content .sv-column-9>div:nth-child(1)>div:nth-child(2) {
      flex-wrap: wrap;
   }

   .gre-content .sv-column-9>.gre-pages-startpage>div:nth-child(2)>div {
      min-width: 50%;
      margin-bottom: 1em;
   }

   .gre-content .sv-column-9>.gre-pages-startpage>div:nth-child(2)>div:last-child {
      min-width: 100%;
   }

   .gre-popular-pages {
      margin: 0;
      height: auto;
   }

   .gre-popular-pages ul li a.normal {
      font-size: 1em;
   }

   .gre-news-startpage .gre-news-content {
      padding: 0em 1em 1em;
   }
   
	.gre-pages-startpage > div {
      flex-wrap: wrap;
   }

   .gre-pages-startpage > div > div {
      width: 100%;
      margin-bottom: 2em;
   }
}

@media (max-width: 575px) {
   .gre-content .sv-column-9>.gre-pages-startpage>div:nth-child(2)>div {
      min-width: 100%;
   }

   .con-hero-container {
      flex-wrap: wrap;
   }

   .con-hero-content {
      margin: 0;
   }

   .con-hero-container>img {
      height: 240px;
   }

   .gre-calendar-startpage {
      padding: 1em;
   }

   .gre-articel-date {
      width: 15%;
      margin-right: 1.2em;
   }

   .greppa-linkmodule-caption {
      height: auto;
   }

   .gre-articel-date__day {
      font-size: 120%;
   }

   .gre-articel-date__month {
      font-size: 100%;
   }

   .gre-articel-date {
      height: 3.5em;
   }
}