@import url('https://fonts.googleapis.com/css?family=Oswald:300,400,500,700');

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800');

:root,
[data-bs-theme=light] {
  --card-text-color: #FFF !important;
  --card-link-color: #FFF !important;
}

[data-bs-theme=dark] {
  --card-text-color: #FFF !important;
  --card-link-color: #FFF !important;
}

.gr-1 {
  background: linear-gradient(170deg, #09c5d3 0%, #00384e 100%);
}

.gr-2 {
  background: linear-gradient(170deg, #3ac52d 0%, #2f7713 100%);
}

.gr-3 {
  background: linear-gradient(170deg, #C86DD7 0%, #3023AE 100%);
}

.gr-4 {
  background: linear-gradient(170deg, #0992d1 0%, #132eb4 100%);
}

.gr-5 {
  background: linear-gradient(170deg, #c0c0c0 0%, #2c2c2c 100%);
}

.gr-6 {
  background: linear-gradient(170deg, #ff4747 0%, #4d0000 100%);
}

.gr-7 {
  background: linear-gradient(170deg, #e7c219 0%, #8d6c00 100%);
}

.gr-8 {
  background: linear-gradient(170deg, #ff5dc1 0%, #a7085f 100%);
}

.gr-9 {
  background: linear-gradient(170deg, #185ff8 0%, #070046 100%);
}

.documentarchive-column {
  transition: .4s;
  margin-bottom: 0.9rem;
  padding-left: 0rem;
  opacity: 1;

  &:hover {
    padding-left: 0rem;

    .ico-card {
      opacity: 0.6;
      transition: .4s;
    }

    .documentarchive-card .documentarchive-txt {
      margin-left: 1rem;

      h1,
      p {
        margin-left: -1rem;
        color:#000;
        opacity: 1;
      }
    }

    a {
      color: rgba(255, 255, 255, 1);

      &:after {
        width: 100%;
        transition: 0.4s;
      }
    }
  }
}

.ico-card {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.documentarchive-card {
  min-height: 50px;
  margin: 0;
  padding: 1.0rem 1.2rem;
  border: none;
  border-radius: 0;
  color: #FFF !important;
  letter-spacing: .05rem;
  font-family: 'Oswald';
  box-shadow: 0 0 21px rgba(0, 0, 0, .27);
  text-shadow: 2px 2px 3px rgb(109, 109, 109);
  position: relative;
}

.documentarchive-txt {
  transition: 0.4s;
  margin-left: 1rem;
  z-index: 1;

  h1 {
    transition: 0.4s;
    font-size: 1.4rem;
    font-weight: 300;
    text-transform: uppercase;
    color: #FFF !important;
  }

  p {
    transition: 0.4s;
    font-size: .9rem;
    /*font-family: 'Open Sans', sans-serif;*/
    letter-spacing: .05rem;
    margin-top: -5px;
    /*opacity: 0;*/
    color: #FFF !important;
  }
}

.documentarchive-card a:hover {
  z-index: 3;
  font-size: .9rem;
  color: rgb(233, 233, 233);
  margin-left: 1rem;
  position: relative;
  text-decoration: none;
  text-underline-offset: 2px;
  text-transform: uppercase;

  display: inline-block;
  padding: 3px 8px 3px 8px;
  margin-bottom: 1px;
  border-radius: 10px;
  /* Rundade hörn */
  background-color: rgba(0, 0, 0, 0.1);
  /* Svag ruta */
  /* Textfärg */
  cursor: pointer;
  /* Muspekare ändras till hand */

}

.documentarchive-card a {
  z-index: 3;
  font-size: .9rem;
  color: rgb(255, 255, 255);
  margin-left: 1rem;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;

  display: inline-block;
  padding: 3px 8px 3px 8px;
  margin-bottom: 1px;
  border-radius: 10px;
  /* Rundade hörn */
  background-color: rgba(0, 0, 0, 0.05);
  /* Svag ruta */
  /* Textfärg */
  cursor: pointer;
  /* Muspekare ändras till hand */

  &:after {
    content: "";
    display:block;
    height: 0.2em;
    width: 0px;
    margin-right: -100%;
    margin-left: 1%;
    opacity: 1;
    
    border-top: 1px solid rgba(255, 255, 255, 0.7);
    transition: 0.4s;
  }
}

.documentarchive-card i {
  position: relative;
  right: -85%;
  top: 60%;
  font-size: 5rem;
  line-height: 0;
  opacity: .2;
  color: rgba(255, 255, 255, 1);
  z-index: 0;
}

.card-timer {
  position: absolute;
  bottom: 10px;
  font-size: 0.7rem;
  /* Avstånd från botten */
  right: 10px;
  /* Avstånd från höger */
}