/*** Styling für die Hiorg Kursverwaltung by Stefan Bublies@dt-internet.de ***/

.tx-dti-hiorg {
    margin-left: auto;
    margin-right: auto;
    max-width: calc(var(--client-vw, 100vw) - 4rem);
    width: 80rem;
}

.tx-dti-hiorg a {
  background: var(--col-red-gradient);
  color: #fff;
  text-decoration: none;
  padding: 0.25em;
  border-radius: 1.5rem;
}

@media only screen and (min-width: 805px) and (max-width: 1324px){
  .tx-dti-hiorg a {
    background: none;
    border-radius: none;
    padding: 0;
    color: #e60005;
  }
}

.tx-dti-hiorg td[colspan="6"] {
  background: var(--col-background);
  background-image: linear-gradient(to right bottom, rgb(0, 45, 85), rgb(34, 118, 208));
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: initial;
  color: #fff;
  font-size: 1.8rem;
}

.tx-dti-hiorg td {
  white-space: unset !important;
}

.tx-dti-hiorg td[colspan="6"]:before {
  content: '' !important;
}

@media only screen and (max-width: 800px), (min-device-width: 320px) and (max-device-width: 800px) {
   .hiorg table, .hiorg thead, .hiorg tbody, .hiorg th, .hiorg td, .hiorg tr {
        display: block;
    }
}

@media only screen and (max-width: 800px), (min-device-width: 320px) and (max-device-width: 800px) {
   .hiorg thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
}

@media only screen and (max-width: 800px), (min-device-width: 320px) and (max-device-width: 800px) {
    .hiorg td:nth-of-type(1):before {
        content: "Datum";
    }
}

@media only screen and (max-width: 800px), (min-device-width: 320px) and (max-device-width: 800px) {
    .hiorg td:nth-of-type(2):before {
        content: "Zeit";
    }
}

@media only screen and (max-width: 800px), (min-device-width: 320px) and (max-device-width: 800px) {
    .hiorg td:nth-of-type(3):before {
        content: "Veranstaltung";
    }
}

@media only screen and (max-width: 800px), (min-device-width: 320px) and (max-device-width: 800px) {
    .hiorg td:nth-of-type(4):before {
        content: "Veranstaltungsort";
    }
}

@media only screen and (max-width: 800px), (min-device-width: 320px) and (max-device-width: 800px) {
    .hiorg td:nth-of-type(5):before {
        content: "Preis";
    }
    .hiorg td:nth-of-type(5) {
        width: 100% !important;
    }
}

@media only screen and (max-width: 800px), (min-device-width: 320px) and (max-device-width: 800px) {
    .hiorg td:nth-of-type(6) {
      overflow: hidden;
      margin-bottom: 2em;
    }
    .tx-dti-hiorg a {
      float: right;
    }

}

@media only screen and (max-width: 800px), (min-device-width: 320px) and (max-device-width: 800px) {
   .hiorg td:before {
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
    }
}