/******************************************************************

Stylesheet: Block Style
Block: Cards

******************************************************************/
/******************************************************************

Stylesheet: Variables

Here is where we declare all our variables like colors, fonts,
base values, and defaults. We want to make sure this file ONLY
contains variables that way our files don't get all messy.
No one likes a mess.

*******************************************************************


/*********************
COLORS
*********************/
/*********************
FONT SIZES
*********************/
/*********************
PADDINGS
*********************/
/*********************
MEDIA SIZES
*********************/
/*********************
WRAP SIZES
*********************/
.byggemodul.cards {
  overflow: hidden;
  margin-top: 40px;
  margin-bottom: 40px; }
  .byggemodul.cards .sp-cards-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
    margin: -20px; }
  .byggemodul.cards .sp-card {
    display: flex;
    width: 100%;
    padding: 0 20px;
    margin: 20px 0; }
    @media (min-width: 768px) {
      .byggemodul.cards .sp-card.card-width-tablet-1of3 {
        width: calc(100% / 2); }
      .byggemodul.cards .sp-card.card-width-tablet-2of3 {
        width: calc(100% / 2); } }
    @media (min-width: 1140px) {
      .byggemodul.cards .sp-card.card-width-desktop-1of3 {
        width: calc(100% / 3); }
      .byggemodul.cards .sp-card.card-width-desktop-2of3 {
        width: calc((100% / 3) * 2); } }
    .byggemodul.cards .sp-card .sp-card-container {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      height: 100%;
      width: 100%;
      text-decoration: none;
      text-align: left;
      margin: 0;
      transition: .215s ease-in-out;
      border-radius: 8px;
      overflow: hidden;
      position: relative; }
      .byggemodul.cards .sp-card .sp-card-container:hover .sp-card-image-container img {
        transform: scale3d(1.05, 1.05, 1); }
      .byggemodul.cards .sp-card .sp-card-container:hover .sp-card-link-text {
        background: transparent;
        text-decoration: none; }
        .byggemodul.cards .sp-card .sp-card-container:hover .sp-card-link-text span {
          transform: translateX(3px); }
        .byggemodul.cards .sp-card .sp-card-container:hover .sp-card-link-text:after {
          background-color: #cc9e00;
          transform: translateX(6px); }
    .byggemodul.cards .sp-card .sp-card-image-container {
      width: 100%;
      padding-bottom: 80%;
      position: relative;
      overflow: hidden;
      border-radius: 8px;
      transform: translateZ(0); }
      .byggemodul.cards .sp-card .sp-card-image-container img.sp-card-image {
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 0;
        object-fit: cover;
        position: absolute;
        transform: scale3d(1, 1, 1);
        transition: all 1.25s ease-in-out; }
    .byggemodul.cards .sp-card .sp-card-content {
      width: 100%;
      background: linear-gradient(0deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0) 100%);
      line-height: 1.6; }
      .byggemodul.cards .sp-card .sp-card-content > * {
        max-width: 410px;
        margin-top: 0;
        margin-bottom: 10px; }
        .byggemodul.cards .sp-card .sp-card-content > *:last-child {
          margin-bottom: 0; }
    .byggemodul.cards .sp-card .sp-card-theme-title {
      font-size: 14px;
      text-transform: uppercase;
      font-weight: 600;
      margin-bottom: 10px; }
    .byggemodul.cards .sp-card .sp-card-link-text {
      margin-top: 20px;
      display: inline-flex;
      flex-direction: row;
      align-items: center;
      background: transparent;
      line-height: 1;
      text-decoration: none;
      cursor: pointer;
      transition: .215s ease-in-out;
      position: relative; }
      .byggemodul.cards .sp-card .sp-card-link-text span {
        display: inline-block;
        position: relative;
        transition: .215s ease-in-out;
        transition-delay: .2s; }
      .byggemodul.cards .sp-card .sp-card-link-text:after {
        display: inline-block;
        content: '';
        width: 40px;
        height: 40px;
        border-radius: 50%;
        margin-left: 20px;
        background-color: #FFC500;
        background-image: url(../images/chevron-right-white.svg);
        background-repeat: no-repeat;
        background-size: 8px;
        background-position: center;
        transition: all .4s ease-in-out; }
    .byggemodul.cards .sp-card.sp-card-style-image .sp-card-container {
      justify-content: flex-end; }
    .byggemodul.cards .sp-card.sp-card-style-image .sp-card-image-container {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      padding: 0; }
    .byggemodul.cards .sp-card.sp-card-style-image .sp-card-content {
      position: relative;
      z-index: 2;
      padding: 20px;
      color: #fff;
      border-radius: 8px; }
      @media (max-width: 767px) {
        .byggemodul.cards .sp-card.sp-card-style-image .sp-card-content {
          padding-top: 60%; } }
    .byggemodul.cards .sp-card.sp-card-style-solid .sp-card-image-container {
      border-radius: 8px 8px 0 0; }
    .byggemodul.cards .sp-card.sp-card-style-solid .sp-card-content {
      background: #F1F1F1;
      padding: 20px;
      color: #1D1D1B; }

body.block-editor-page .byggemodul.cards .sp-card a.sp-card-container {
  pointer-events: none; }
