/* Bootstrap (bootstrap.min.css, v5.3.8) does the rest; these match the look of lm.proteinmetrics.com */

.olm-card {
    width: calc(100% - 32px);
    max-width: 560px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.olm-home {
    text-decoration: none;
}

.olm-logo {
    width: 48px;
    height: 48px;
    margin: -15px 10px 0 0;
}

.olm-brand {
    color: #252968;
    font-size: 32px;
    font-weight: 700;
}

.olm-heading {
    margin: 10px 0;
    color: #252968;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

.olm-text {
    margin-bottom: 20px;
    color: rgba(0, 0, 0, 0.75);
    font-size: 14px;
    text-align: center;
}

.olm-about {
    margin-bottom: 8px;
    color: #252968;
    font-size: 16px;
    text-align: center;
}

.olm-formats {
    margin-bottom: 20px;
    padding: 10px 15px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.olm-button {
    background-image: linear-gradient(180deg, #337ab7 0, #353c97);
    border-color: #353c97;
}

.olm-back {
    background-image: linear-gradient(180deg, #fff 0, #e0e0e0);
    border: 1px solid #ccc;
    color: #333;
}

/* "How it works" (templates/flows.html): column 1 is the app, column 2 the file carried over, column 3 this site */

.olm-flows {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.olm-flow-title {
    margin: 20px 0 8px;
    font-size: 14px;
    font-weight: 700;
}

.flow {
    display: grid;
    grid-template-columns: 1fr 56px 1fr;
    gap: 6px 0;
    align-items: center;
    font-size: 13px;
}

.flow-lane {
    text-align: center;
}

.flow-lane small,
.flow-step small {
    display: block;
}

.flow-lane small {
    color: #5f5e5a;
}

.flow-step {
    padding: 8px 10px;
    border: 1px solid;
    border-radius: 6px;
    text-align: center;
    line-height: 1.3;
}

.flow > .flow-step:nth-child(3n + 1) {
    background: #eeedfe;
    border-color: #afa9ec;
    color: #3c3489;
}

.flow > .flow-step:nth-child(3n) {
    background: #e1f5ee;
    border-color: #5dcaa5;
    color: #085041;
}

.flow-hop {
    text-align: center;
    color: #5f5e5a;
    line-height: 1.1;
}

.flow-hop span {
    display: inline-block;
    padding: 0 6px;
    background: #f1efe8;
    border: 1px solid #d3d1c7;
    border-radius: 4px;
    font-size: 12px;
}

.flow-hop i,
.flow-down {
    display: block;
    color: #888780;
    font-size: 18px;
    font-style: normal;
    text-align: center;
    line-height: 1;
}
