﻿.headertext {
    text-transform: uppercase;
    font-size: 1.2em;
    color: #ffffff;
    font-weight: bold;
}

.card-section {
    padding: 1em 0.5em;
}

.card {
    padding: 0.5em;
    margin: 0.5em;
}

.card-header, .card-body {
    text-align: center;
}

.card-header {
    text-transform: uppercase;
    font-weight: bold;
    padding: 0.2em;
    font-size: 1em;
    background: #ffffff;
    border: none;
}

.card-body {
    padding: 0.1em;

}

    .card-body.value {
        font-size: 1.8em;
        text-transform: uppercase;
        font-weight: bold;
        color: #2B80C4;
        line-height: 1em;
    }

.value-green {
    color: green !important;
}
.value-orange {
    color: orange !important;
}
.value-red {
    color: red !important;
}

.card-footer {
    text-align: center;
    background-color: #fff;
    border: none;
    padding: 0.2em;
}

.grai-barcode-footer {
    padding-top: 0.5rem;
}

.grai-barcode {
    width: 100%;
    max-width: 42rem;
    margin: 0 auto;
}

.grai-barcode svg {
    display: block;
    width: 100%;
    height: 3rem;
    fill: #111111;
}

.below-card {
    color: white;
    text-align: center;
}

#logo img {
    filter: brigthness(1) saturate(100%);
}

.specification-card {
    overflow: hidden;
}

.specification-image-card {
    padding: 0;
    text-align: center;
}

.specification-image {
    display: block;
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.specification-overview-card {
    overflow: hidden;
}

.specification-overview-link {
    display: flex;
    flex: 1;
    flex-direction: column;
    color: #2B80C4;
    text-decoration: none;
}

.specification-overview-link:hover,
.specification-overview-link:focus {
    color: #2B80C4;
    text-decoration: none;
}

.specification-overview-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 8rem;
    padding: 1rem 1rem 0.5rem;
}

.specification-overview-image {
    display: block;
    width: 100%;
    max-width: 10rem;
    max-height: 6rem;
    object-fit: contain;
}

.specification-overview-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 0.5rem 1rem 1rem;
}

.specification-overview-title {
    font-size: 1.15rem;
    font-weight: bold;
    line-height: 1.2;
    text-transform: uppercase;
}

.specification-overview-dimensions {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.specification-list {
    display: grid;
    grid-template-columns: minmax(6.25rem, max-content) minmax(0, 1fr);
    gap: 0.25rem 0.75rem;
    margin: 0;
    text-align: left;
}

.specification-list dt,
.specification-list dd {
    overflow-wrap: anywhere;
}

.specification-list dt {
    font-weight: bold;
}

.specification-list dd {
    margin: 0;
}

.specification-list-note-label {
    grid-column: 2;
}

.specification-list-note-value {
    grid-column: 2;
}

.markings-list {
    grid-template-columns: minmax(1.5rem, 2.25rem) 1fr;
    column-gap: 0.5rem;
}

.info-intro {
    font-size: 1rem;
    line-height: 1.5;
}

.topic-grid-card {
    display: flex;
    flex-direction: column;
}

.topic-grid-link-body {
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.topic-grid-card-link {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    color: #2B80C4;
    text-decoration: none;
}

.topic-grid-card-link:hover,
.topic-grid-card-link:focus {
    color: #2B80C4;
    text-decoration: underline;
}

.card-body.value > a {
    color: #2B80C4;
}

.card-body.value > a:hover,
.card-body.value > a:focus {
    color: #2B80C4;
}

.topic-summary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: #2B80C4;
    line-height: 1.3;
    text-transform: none;
}

.topic-detail-body {
    text-align: justify;
    font-size: 1rem;
    line-height: 1.7;
}

.topic-detail-body p {
    margin: 0;
}

.topic-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
}

.topic-header-title {
    margin: 0;
    text-align: center;
}

.topic-back-button {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border: 1px solid #ffffff;
    border-radius: 0.25rem;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.topic-back-button:hover,
.topic-back-button:focus {
    color: #ffffff;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.15);
}

@media (max-width: 420px) {
    .specification-list {
        grid-template-columns: 1fr;
        gap: 0.1rem;
    }

    .specification-list-note-label,
    .specification-list-note-value {
        grid-column: 1;
    }

    .specification-list dd {
        margin-bottom: 0.35rem;
    }

    .topic-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        min-height: 0;
        padding-top: 0.25rem;
    }

    .topic-header-title {
        width: 100%;
        text-align: center;
    }

    .topic-back-button {
        position: static;
        transform: none;
        align-self: flex-start;
        margin-bottom: 0;
    }
}

@media (max-width: 575.98px) {
    body {
        margin-bottom: 0;
    }

    .footer {
        position: static;
        white-space: normal;
        line-height: 1.5;
        padding: 0.75rem 0;
        text-align: center;
    }
}
