﻿
.ordly-page .ordly-row-break {
    height: 6px;
}

.ordly-page .ordly-toppliste {
    white-space: nowrap;
    overflow-x: auto;
    display: block;
    line-height: 1.6;
}
.ordly-page .ordly-toppliste {
    -webkit-overflow-scrolling: touch;
}

/* =========================
   OVERSKRIFTER
========================= */

.ordly-page h2 {
    font-size: 20px; /* større */
    margin-top: 12px;
    margin-bottom: 10px; /* luft under */
    /* IKKE rør disse */
    color: inherit;
    font-weight: inherit;
}
}

@media (max-width: 600px) {
    .ordly-page h2 {
        font-size: 18px;
        margin-bottom: 8px;
    }
}
/* =========================
   ORDLY MATCHES – scoped
========================= */

.ordly-page {
    padding: 10px;
    background: #fff;
    font-size: 0; /* viktig for inline spacing */
}


    /* =========================
   FILTER-AREA
========================= */

    .ordly-page .ordly-filters {
        display: flex;
        flex-wrap: wrap;
        gap: 12px 20px;
        margin: 10px 0 15px 0;
    }

    /* hver label + dropdown */
    .ordly-page .filter-row {
        display: flex;
        align-items: center;
        gap: 6px;
    }

        /* label */
        .ordly-page .filter-row label {
            color: #666;
            font-size: 14px;
        }

    /* =========================
   DROPDOWNS (global feel)
========================= */

    .ordly-page select {
        background: #f8f8f8;
        color: #333;
        border: 1px solid #ccc;
        border-radius: 6px;
        padding: 4px 8px;
        font-size: 14px;
        outline: none;
    }

        /* hover/focus */
        .ordly-page select:focus {
            border-color: #999;
            background: #fff;
        }

@media (max-width: 600px) {

    .ordly-page .ordly-filters {
        flex-direction: column;
        gap: 10px;
    }

    .ordly-page .filter-row {
        justify-content: space-between;
    }

    .ordly-page select {
        width: 55%;
    }
}



/* =========================
   DESKTOP – faste ruter
========================= */

.ordly-page .button-13,
.ordly-page .button-14,
.ordly-page .button-15 {
    width: 36px;
    height: 36px;
    margin: 2px;
    padding: 0;
    font-size: 16px;
    text-align: center;
    border-radius: 4px;
}

.ordly-page .button-13 {
    font-weight: bold;
}


/* =========================
   MOBIL – skaler ned
========================= */

@media (max-width: 600px) {

    .ordly-page .button-13,
    .ordly-page .button-14,
    .ordly-page .button-15 {
        width: calc(100% / 16);
        aspect-ratio: 1 / 1;
        height: auto;
        font-size: 11px;
        margin: 1px;
    }

    .ordly-page select {
        width: 100% !important;
        margin-bottom: 5px;
    }

    .ordly-page h2 {
        font-size: 18px;
        word-break: break-word;
    }
}

/* =========================
   TOPP-KNAPPER
========================= */

.ordly-page input[type="submit"]:not(.button-13):not(.button-14):not(.button-15) {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 6px 12px;
    margin: 4px 4px 8px 0;
    font-size: 14px;
}

    .ordly-page input[type="submit"]:not(.button-13):not(.button-14):not(.button-15):hover {
        background: #e0e0e0;
    }

@media (max-width: 600px) {
    .ordly-page input[type="submit"]:not(.button-13):not(.button-14):not(.button-15) {
        font-size: 13px;
        padding: 5px 10px;
    }
}


/* =========================
   GENERELT
========================= */

.ordly-page input[type="submit"] {
    display: inline-block;
    vertical-align: top;
}

.ordly-page h2,
.ordly-page select,
.ordly-page span {
    font-size: 14px;
}

.ordly-page #MainContent_LabelTopplistan {
    line-height: 1.4;
}

.ordly-page #MainContent_Meldinger {
    margin-top: 10px;
}
