﻿:root {
    --Purple-10: #FBFAFF;
    --Purple-25: #F2F0FF;
    --Purple-50: #e2defb;
    --Purple-60: #c3bbf7;
}

body, wrapper {
    min-height: 100vh;
    background: white;
    font-family: Arial;
    background: linear-gradient(white 0%, var(--Purple-60) 100%);
    background-repeat: no-repeat;
    background-size: 100% 9rem;
    background-position: bottom
}

main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flex-fill {
    flex: 1 1 auto
}

#top-menu {
    z-index: 2;
    position: sticky;
    top: 0
}

#top-menu a {
    text-decoration: none;
    color: black
}

.top-menu-group {
    display: none;
}

.gallery-box {
    max-width: 62rem;
}

.box, .gallery-box, .overviewBox {
    background: var(--Purple-50);
    padding: 1rem
}

.flex-row, .calculator-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: .5rem 0;
    justify-content: space-between
}

.calculator-row {
    border-bottom: 1px solid silver;
}

#calculator-response-outerbox {
    background: var(--Purple-50);
}

#calculator-description, #calculator-response-outerbox {
    max-width: 80rem
}

@media (max-width: 991px) {
    .responsive > thead th {
        display: none;
    }

    .responsive > tbody td,
    .responsive > tbody th {
        display: block;
    }

    .responsive > tbody > tr:nth-child(odd) td,
    .responsive > tbody > tr:nth-child(odd) th {
        background-color: var(--Purple-60);
    }

    .responsive > tbody > tr:nth-child(even) td,
    .responsive > tbody > tr:nth-child(even) th {
        background-color: var(--Purple-50);
    }

    [row-header] {
        position: relative;
        vertical-align: middle;
    }

    [row-header]:before {
        content: attr(row-header);
        display: inline-block;
        vertical-align: middle;
        text-align: left;
        width: 50%;
        padding-right: 30px;
        white-space: nowrap;
        overflow: hidden;
    }

    table td {
        border-top: 1pt solid black;
    }
}

.responsive > tbody > tr:nth-child(odd) td,
.responsive > tbody > tr:nth-child(odd) th {
    background-color: var(--Purple-60);
    font-weight: normal
}

.responsive > tbody > tr:nth-child(even) td,
.responsive > tbody > tr:nth-child(even) th {
    background-color: var(--Purple-50);
    font-weight: normal
}

.responsive thead tr th {
    background-color: var(--Purple-50)
}