/* =========================================================
   INPLAY-KALENDER AUF DER INDEX
   ========================================================= */

.inplay-calendar {
    width: 100%;
    box-sizing: border-box;
}

.inplay-wrapper {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ---------------------------------------------------------
   LINKER TEXTBEREICH
   --------------------------------------------------------- */

.inplay-text {
    flex: 1 1 33%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.inplay-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    box-sizing: border-box;

    padding: 20px;
    padding-right: 10px;

    text-align: justify;
    font-size: 10px;
    color: var(--main-text);
    font-family: 'Roboto', sans-serif;

    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

/* ---------------------------------------------------------
   LINKS UNTER DEM TEXT
   --------------------------------------------------------- */

.inplay-links {
    flex-shrink: 0;
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.inplay-links .link {
    display: inline-block;
}

/* ---------------------------------------------------------
   RECHTER KALENDERBEREICH
   --------------------------------------------------------- */

/*
   Der Kalender wird durch das JavaScript direkt
   in .inplay-wrapper eingefügt.
   Deshalb sprechen wir die Kinder des Wrappers an,
   die NICHT der Textbereich sind.
*/

.inplay-wrapper > *:not(.inplay-text) {
    flex: 1 1 66%;
    min-width: 0;
    box-sizing: border-box;
}