﻿/* Template */
.clementine-template-grid {
  display: grid;
  gap: 1.5rem;
}

.clementine-template-navigation {
  position: relative;
  margin: 0 auto;
  width: var(--content-width);
  padding: 0 26px;
}

.clementine-template-columns {
  grid-template-columns: 1fr;
  padding: 0;
  row-gap: 1rem;
  column-gap: 0;
}

.clementine-template-back-button-div {
  margin: 0 auto;
  grid-row: 2 / auto;
}

.clementine-template-back-button-no-interaction {
  visibility: hidden;
  height: 28px;
}

.clementine-template-back-button {
  font-family: Inter-Regular;
  font-size: 16px;
  font-weight: 700;
  line-height: 19.36px;
  background: none;
  outline: none;
  border: 0;
  color: #2c87ef;
  margin-right: auto;
  cursor: pointer;
}

.clementine-template-back-button:focus,
.clementine-template-back-button:focus-visible {
  outline: none;
}

.clementine-template-back-button::before {
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-family: FontAwesome;
  font-weight: 400;
  font-size: 1.5em;
  content: '\f104';
  margin-right: 15px;
  vertical-align: -10%;
}

.clementine-template-image-div {
  /*display: none;*/ /* TODO: Remove for image to be visible */
  width: 100%;
  height: 100%;
  grid-row: 3;
  /*z-index: 0;*/
}

.clementine-template-image {
  /*position: absolute;
    top: 0;*/
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  /* z-index: 10;*/
  width: 100%;
  height: 240px;
}
/* END Template */

.clementine-legal-parent {
  position: relative;
}

.clementine-legal {
  position: absolute;
  font-size: 14px;
  top: 0;
  right: 0;
  background-color: rgba(145, 145, 145, 0.3);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 20% 50%);
  padding: 3px 15px 3px 30px;
  text-align: right;
  margin: 5px;
  margin-top: -10px;
  cursor: pointer;
}

.clementine-legal:hover {
  background-color: rgba(145, 145, 145, 0.4);
}

.clementine-template-columns:not(:has(.clementine-template-navigation)) .clementine-legal {
  margin-top: 20px;
}

.clementine-template-module-title {
  position: absolute;
  background-color: var(--clr-primary);
  top: 100%;
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: 8px;
}

input[type='range'].clementine-template-progress {
    height: 2px;
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    margin: 0 auto;
    margin-top: 25px;
}

@media (min-width: 576px) {
  .clementine-template-image {
    background-position: center;
  }
}

@media (min-width: 768px) {
  .clementine-din-progressText {
    margin-top: 20px;
  }

  .clementine-template-image {
    height: 100vh;
  }

  .clementine-template-image-div {
    grid-column-start: 1;
    grid-row: 1/4;
    height: 100vh;
    /*display: unset;*/ /* TODO: Remove for image to be visible */
  }

  input[type='range'].clementine-template-progress {
    width: 100%;
  }

  .clementine-template-back-button-div {
    width: 100%;
  }

  .clementine-template-navigation {
    /* padding-bottom: 10px; */
    z-index: 99;
    background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 80%, rgba(255, 255, 255, 0.959) 90%, rgba(255, 255, 255, 0) 100%);
  }
}
