@import 'grid';

$primary-color:       #D2615F;
$secondary-color:     #eee;

.prodov_container {
  /* width: 18em;*/
  height: 100%;
  border: 1px solid $secondary-color;
  position: relative;
  display: inline-block;
  -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);

  &::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  &:hover {
    -webkit-transform: scale(1.02, 1.02);
    transform: scale(1.02, 1.02);
  }

  &:hover::after {
    opacity: 1;
  }

  .prodov_header {
    background: $secondary-color;
    color: $primary-color;
    text-align: center;
    border-bottom: 1px solid $secondary-color;
    padding: 1em;
  }

  .prodov_image {
    width: 100%;
    min-height: 144px;
    position: relative;

    .proshow_responsive_image {
      width: 100%;
      height: auto;
    }

    .prodov_register {
      position: absolute;
      text-align: center;
      top: 20px;
      width: 100%;

      button {
        padding: 10px;
        color: $primary-color;
        background: white;
        border: 1px solid $primary-color;
        border-radius: 5px;
        font-size: 1em;

        &:hover {
          text-decoration: none;
          color: white;
          background: $primary-color;
          border: 1px solid $primary-color;
          border-radius: 5px;
          cursor: pointer;
        }
      }
    }

    .prodov_price {
      position: absolute;
      top: 130px;
      width: 100%;

      span {
        color: white;
        background: rgb(0, 0, 0); /* fallback color */
        background: rgba($primary-color, 0.8);
        padding: 10px;
      }
    }
  }

  .prodov_more_information {
    display: none;
    text-align: center;
    padding: 10px;

    &:hover {
      cursor: pointer;
    }

    .prodov_more_information_less {
      display: none;
    }
  }

  .prodov_content {
    padding: 15px;

    ul {
      padding-left: 15px;
      margin-top: 10px;
    }
  }
}

.registration {

  tr {

    th {
      text-align: left;
      vertical-align: top;
    }

    td {
      &.registration_description {
        padding: 20px 0;
      }

      &.registration_submit {
        text-align: right;
        padding-top: 20px;

        p {
          font-size: 0.9em;
        }
      }

      &.registration_infos {
        padding-top: 20px;

        p {
          padding-bottom: 5px;
          text-align: justify;
          font-size: 0.9em;
        }
      }

      .registration_kein_termin {
        color: red;
        a {
          color: blue;
        }
      }
    }
  }

  input {
    margin: 5px 0;

    &[type='text'],&[type='email'] {
      width: 100%;
    }
  }
}

.registration_infos {
  p {
    font-size: 0.9em;
  }

}

