

/* =========================================================
   FÆLLES BOKS
   ========================================================= */

.placeringer-box,
.placeringer-intro {
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 14px 0;
    padding: 0 !important;
    background: #ffffff;
    border: 1px solid #DFE5E9 !important;
    border-radius: 6px;
    box-shadow: none !important;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
    color: #333333;
}


/* =========================================================
   HEADER
   ========================================================= */

.placeringer-box > h2,
.placeringer-intro > h2 {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-height: 36px;
    margin: 0 !important;
    padding: 7px 10px;
    background: #104470 !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px !important;
    font-weight: 700;
    line-height: 22px;
    text-align: left;
}


/* =========================================================
   INTRO
   ========================================================= */

.placeringer-intro-content {
    box-sizing: border-box;
    padding: 9px 12px 3px;
}


.placeringer-intro-content p {
    margin: 0 0 7px 0 !important;
    padding: 0 !important;
    color: #3F4850 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    text-align: left;
}


.placeringer-intro-content a {
    color: #104470;
    font-weight: 600;
    text-decoration: none;
}


.placeringer-intro-content a:hover {
    text-decoration: underline;
}


/* =========================================================
   TABEL
   INGEN SCROLL
   ========================================================= */

.placeringer-table {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================================
   KLUBKOLONNE
   ========================================================= */

.placeringer-table th:first-child,
.placeringer-table td:first-child {
    box-sizing: border-box;
    width: 120px;
    padding-left: 6px;
    padding-right: 4px;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
}


/* =========================================================
   KLUB + LOGO
   ========================================================= */

.placeringer-klub {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
}


.placeringer-logo {
    display: block;
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin: 0 5px 0 0;
    object-fit: contain;
}


.placeringer-klubnavn {
    display: block;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


/* =========================================================
   KAMPE
   ========================================================= */

.placeringer-table th:nth-child(2),
.placeringer-table td:nth-child(2) {
    width: 46px;
}


/* =========================================================
   PLACERINGSKOLONNER
   ========================================================= */

.placeringer-table th:nth-child(n+3),
.placeringer-table td:nth-child(n+3) {
    width: auto;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}


/* =========================================================
   TABELHEADER
   ========================================================= */

.placeringer-table thead th {
    box-sizing: border-box;
    height: 30px;
    padding: 5px 1px;
    background: #F4F8FB;
    color: #10315B;
    border: 0;
    border-right: 1px solid #E5EAED;
    border-bottom: 1px solid #DCE3E8;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}


.placeringer-table thead th:first-child {
    background: #EDF3F7;
    color: #104470;
    font-size: 12px;
    text-align: left;
}


.placeringer-table thead th:nth-child(2) {
    background: #EDF3F7;
    color: #104470;
    font-size: 10px;
}


.placeringer-table thead th:last-child {
    border-right: 0;
}


/* =========================================================
   CELLER
   ========================================================= */

.placeringer-table tbody td {
    box-sizing: border-box;
    height: 31px;
    padding: 5px 1px;
    color: #333333;
    border: 0;
    border-right: 1px solid #EEF1F3;
    border-bottom: 1px solid #EEF1F3;
    font-size: 11px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    white-space: nowrap;
}


.placeringer-table tbody td:first-child {
    font-size: 12px;
}


.placeringer-table tbody td:last-child {
    border-right: 0;
}


.placeringer-table tbody tr:last-child td {
    border-bottom: 0;
}


/* =========================================================
   KLUB
   ========================================================= */

.placeringer-table tbody td.klub {
    background: #F7F9FA !important;
    color: #104470;
    font-weight: 600;
    border-right: 1px solid #DCE3E8;
}


/* =========================================================
   KAMPE
   ========================================================= */

.placeringer-table tbody td.kampe {
    background: #F8FAFB;
    color: #56636D;
    font-weight: 600;
    border-right: 1px solid #DCE3E8;
}


/* =========================================================
   1. PLADS
   ========================================================= */

.placeringer-table tbody td.col-guld {
    background: #FFF8D9;
    color: #5A4700;
    font-weight: 600;
}


/* =========================================================
   2. PLADS
   ========================================================= */

.placeringer-table tbody td.col-solv {
    background: #F2F4F5;
    color: #444444;
    font-weight: 600;
}


/* =========================================================
   3. PLADS
   ========================================================= */

.placeringer-table tbody td.col-bronze {
    background: #F7ECE2;
    color: #684521;
    font-weight: 600;
}


/* =========================================================
   FRA 4. PLADS OG NED
   ========================================================= */

.placeringer-table tbody td.placering-normal {
    background: #ffffff;
}


.placeringer-table tbody td.placering-normal.checker {
    background: #F5F6F7;
}


.placeringer-table tbody tr:nth-child(even) td.placering-normal {
    background: #F5F6F7;
}


.placeringer-table tbody tr:nth-child(even) td.placering-normal.checker {
    background: #ffffff;
}


/* =========================================================
   HOVER
   ========================================================= */

.placeringer-table tbody tr:hover td.placering-normal,
.placeringer-table tbody tr:hover td.placering-normal.checker {
    background: #EDF3F7;
}


.placeringer-table tbody tr:hover td.klub {
    background: #EAF1F5 !important;
}


.placeringer-table tbody tr:hover td.kampe {
    background: #EDF3F7;
}


.placeringer-table tbody tr:hover td.col-guld {
    background: #FFF3C0;
}


.placeringer-table tbody tr:hover td.col-solv {
    background: #E9EDF0;
}


.placeringer-table tbody tr:hover td.col-bronze {
    background: #F1DFCE;
}


/* =========================================================
   BUND
   ========================================================= */

.placeringer-bottom {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    min-height: 45px;
    margin: 0;
    padding: 8px 10px;
    background: #F6F9FB;
    border-top: 1px solid #E7EBEE;
    color: #66737D;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 20px;
}


.placeringer-note {
    color: #66737D;
    font-style: italic;
}


.placeringer-links {
    flex: 0 0 auto;
    white-space: nowrap;
}


.placeringer-links a {
    color: #104470;
    text-decoration: none;
    font-weight: 400;
}


.placeringer-links a:hover {
    text-decoration: underline;
}


/* =========================================================
   MOBIL
   ========================================================= */

@media screen and (max-width:700px) {

    .placeringer-intro-content {
        padding: 8px 10px 2px;
    }


    .placeringer-intro-content p {
        font-size: 13px !important;
        line-height: 18px !important;
        margin-bottom: 7px !important;
    }


    .placeringer-table {
        width: 100%;
        min-width: 0;
    }


    .placeringer-table th:first-child,
    .placeringer-table td:first-child {
        width: 84px;
        padding-left: 3px;
        padding-right: 2px;
    }


    .placeringer-logo {
        width: 14px;
        height: 14px;
        margin-right: 3px;
    }


    .placeringer-table th:nth-child(2),
    .placeringer-table td:nth-child(2) {
        width: 34px;
    }


    .placeringer-table thead th {
        padding-left: 0;
        padding-right: 0;
        font-size: 9px;
    }


    .placeringer-table thead th:first-child {
        font-size: 10px;
    }


    .placeringer-table thead th:nth-child(2) {
        font-size: 8px;
    }


    .placeringer-table tbody td {
        padding-left: 0;
        padding-right: 0;
        font-size: 9px;
    }


    .placeringer-table tbody td:first-child {
        font-size: 10px;
    }


    .placeringer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }


    .placeringer-links {
        white-space: normal;
    }

}


/* =========================================================
   SUPERSTATS STANDARD – TYPOGRAFI OG AFSLUTNING
   ========================================================= */
.placeringer-box,.placeringer-intro{font:13px/18px Arial,Helvetica,sans-serif;color:#10315b}
.placeringer-box > h2,.placeringer-intro > h2{
  min-height:0;padding:9px 12px!important;font:700 18px/22px Arial,Helvetica,sans-serif!important;
  text-transform:uppercase;background:#104470!important;color:#fff!important
}
.placeringer-intro-content p{font:400 13px/18px Arial,Helvetica,sans-serif!important;color:#3f4850!important}
.placeringer-table thead th{
  height:26px;padding:3px 1px;background:#cfe5f2;color:#10315b;
  border-bottom:1px solid #9db6c9;font:600 12px/18px Arial,Helvetica,sans-serif
}
.placeringer-table thead th:first-child,.placeringer-table thead th:nth-child(2){
  background:#cfe5f2;color:#10315b;font-size:12px
}
.placeringer-table tbody td{
  height:31px;padding:5px 1px;color:#10315b;font:400 12px/20px Arial,Helvetica,sans-serif
}
.placeringer-table tbody td:first-child{font-size:12px}
.placeringer-table tbody td.klub,.placeringer-table tbody td.kampe{font-weight:400}
.placeringer-bottom{background:#f7f9fa;font:12px/18px Arial,Helvetica,sans-serif;padding:10px 12px}
.placeringer-note{font-style:normal}
.placeringer-bottom-line{height:3px;background:#104470}
.placeringer-box{border-radius:6px 6px 14px 14px}
@media screen and (max-width:700px){
 .placeringer-box > h2,.placeringer-intro > h2{font-size:16px!important;line-height:20px!important;padding:8px 10px!important}
 .placeringer-table thead th,.placeringer-table thead th:first-child,.placeringer-table thead th:nth-child(2){font-size:10px}
 .placeringer-table tbody td,.placeringer-table tbody td:first-child{font-size:10px}
 .placeringer-table th:first-child,.placeringer-table td:first-child{width:94px;padding-left:4px}
 .placeringer-table th:nth-child(2),.placeringer-table td:nth-child(2){width:36px}
 .placeringer-logo{width:15px;height:15px}
}

/* =========================================================
   V2 – SuperStats standard: fulde klubnavne, 13px og rolig tabel
   ========================================================= */
.placeringer-box > h2,
.placeringer-intro > h2 {
    font:700 18px/22px Arial,Helvetica,sans-serif !important;
    text-transform:uppercase;
    padding:9px 12px !important;
    background:#104470 !important;
}
.placeringer-box .placeringer-table {width:100%;table-layout:fixed;border-collapse:collapse}
.placeringer-box .placeringer-table th:first-child,
.placeringer-box .placeringer-table td:first-child {
    width:235px;
    padding-left:7px;
    padding-right:4px;
    text-align:left;
}
/* Overskriften starter ved teksten efter logoet */
.placeringer-box .placeringer-table thead th:first-child {padding-left:29px !important}
.placeringer-box .placeringer-table th:nth-child(2),
.placeringer-box .placeringer-table td:nth-child(2) {width:38px}
.placeringer-box .placeringer-table thead th {
    height:28px;
    background:#cfe5f2;
    border-right:0;
    border-bottom:1px solid #9db6c9;
    padding:4px 1px;
    font:600 13px/18px Arial,Helvetica,sans-serif !important;
    color:#10315b;
}
.placeringer-box .placeringer-table tbody td {
    height:34px;
    padding:6px 1px;
    border-right:0;
    border-bottom:1px solid #e7ecef;
    font:400 13px/20px Arial,Helvetica,sans-serif !important;
    color:#10315b;
}
.placeringer-box .placeringer-table tbody td.klub {font-weight:400 !important;background:#f7f9fa !important;border-right:0}
.placeringer-box .placeringer-table tbody td.kampe {font-weight:400 !important;border-right:0}
.placeringer-box .placeringer-table .placeringer-logo {width:17px;height:17px;margin:0 5px 0 0}
.placeringer-box .placeringer-table .placeringer-klubnavn {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.placeringer-box .placeringer-table tbody td.col-guld {background:#fff8d9;color:#5a4700}
.placeringer-box .placeringer-table tbody td.col-solv {background:#f2f4f5;color:#444}
.placeringer-box .placeringer-table tbody td.col-bronze {background:#f7ece2;color:#684521}
.placeringer-box .placeringer-bottom-line {height:3px;background:#104470}
.placeringer-box .placeringer-bottom {font:12px/18px Arial,Helvetica,sans-serif}
@media(max-width:700px) {
    .placeringer-box > h2,.placeringer-intro > h2 {font-size:16px !important;line-height:20px !important}
    .placeringer-box .placeringer-table th:first-child,
    .placeringer-box .placeringer-table td:first-child {width:118px;padding-left:3px;padding-right:2px}
    .placeringer-box .placeringer-table thead th:first-child {padding-left:20px !important}
    .placeringer-box .placeringer-table th:nth-child(2),
    .placeringer-box .placeringer-table td:nth-child(2) {width:25px}
    .placeringer-box .placeringer-table thead th {font-size:11px !important;padding:3px 0}
    .placeringer-box .placeringer-table tbody td {font-size:11px !important;padding:5px 0}
    .placeringer-box .placeringer-table .placeringer-logo {width:14px;height:14px;margin-right:3px}
}

/* V3: overskriftshøjde, justering og rolige skillelinjer */
.placeringer-box > h2,
.placeringer-intro > h2 {
    display:block !important;
    height:auto !important;
    min-height:42px !important;
    line-height:24px !important;
    padding:9px 12px !important;
    overflow:visible !important;
    box-sizing:border-box !important;
}
.placeringer-box .placeringer-table th:first-child,
.placeringer-box .placeringer-table td:first-child { width:245px; }
.placeringer-box .placeringer-table thead th:first-child {
    text-align:left !important;
    padding-left:29px !important;
}
.placeringer-box .placeringer-table th:nth-child(2),
.placeringer-box .placeringer-table td:nth-child(2) { width:34px; }
.placeringer-box .placeringer-table thead th { border-bottom:1px solid #d9e1e6 !important; }
.placeringer-box .placeringer-table tbody td { border-bottom:1px solid #e7ecef !important; }
@media(max-width:700px) {
    .placeringer-box > h2,.placeringer-intro > h2 {min-height:38px !important;line-height:20px !important;padding:9px 10px !important;}
    .placeringer-box .placeringer-table th:first-child,
    .placeringer-box .placeringer-table td:first-child {width:118px;}
    .placeringer-box .placeringer-table thead th:first-child {padding-left:20px !important;}
    .placeringer-box .placeringer-table th:nth-child(2),
    .placeringer-box .placeringer-table td:nth-child(2) {width:25px;}
}

/* V4 – typografi, thead, rækker og farver som Kort og karantæner */
.placeringer-intro > h2,
.placeringer-box > h2 {
  min-height:42px !important;
  padding:9px 12px !important;
  background:#104470 !important;
  color:#fff !important;
  font:700 18px/24px Arial,Helvetica,sans-serif !important;
  text-transform:uppercase;
  border:0 !important;
  border-radius:0 !important;
}
.placeringer-box .placeringer-table {
  width:100%;table-layout:fixed;border-collapse:collapse;
  font:13px/18px Arial,Helvetica,sans-serif;
}
.placeringer-box .placeringer-table thead th {
  height:23px !important;
  padding:2px 2px !important;
  background:#cfe5f2 !important;
  color:#10315b !important;
  border:0 !important;
  border-bottom:1px solid #9db6c9 !important;
  font:600 13px/18px Arial,Helvetica,sans-serif !important;
  text-align:center;
  vertical-align:middle;
}
.placeringer-box .placeringer-table thead th:first-child {
  text-align:left !important;
  padding-left:29px !important;
}
.placeringer-box .placeringer-table tbody td {
  height:29px !important;
  padding:4px 2px !important;
  border:0 !important;
  border-bottom:1px solid #e1e6e9 !important;
  color:#10315b !important;
  font:400 13px/20px Arial,Helvetica,sans-serif !important;
  text-align:center;
  vertical-align:middle;
}
.placeringer-box .placeringer-table tbody tr:nth-child(odd) td {background:#fff !important}
.placeringer-box .placeringer-table tbody tr:nth-child(even) td {background:#f1f5f7 !important}
.placeringer-box .placeringer-table tbody td.klub {
  text-align:left !important;
  padding-left:7px !important;
  font-weight:400 !important;
}
.placeringer-box .placeringer-table tbody td.kampe {font-weight:400 !important}
.placeringer-box .placeringer-table tbody td.col-guld {background:#fff8d9 !important;color:#5a4700 !important;font-weight:400 !important}
.placeringer-box .placeringer-table tbody td.col-solv {background:#f2f4f5 !important;color:#444 !important;font-weight:400 !important}
.placeringer-box .placeringer-table tbody td.col-bronze {background:#f7ece2 !important;color:#684521 !important;font-weight:400 !important}
.placeringer-box .placeringer-table .placeringer-klub {display:flex;align-items:center;gap:5px;min-width:0}
.placeringer-box .placeringer-table .placeringer-logo {
  position:static !important;float:none !important;display:block !important;
  width:18px !important;height:18px !important;flex:0 0 18px !important;
  margin:0 !important;object-fit:contain;
}
.placeringer-box .placeringer-table .placeringer-klubnavn {font-weight:400 !important}
@media(max-width:700px) {
  .placeringer-intro > h2,.placeringer-box > h2 {font-size:16px !important;line-height:20px !important;min-height:38px !important}
  .placeringer-box .placeringer-table thead th {font-size:11px !important;line-height:16px !important;padding:3px 0 !important}
  .placeringer-box .placeringer-table tbody td {font-size:11px !important;line-height:18px !important;padding:4px 0 !important}
  .placeringer-box .placeringer-table tbody td.klub {padding-left:3px !important}
  .placeringer-box .placeringer-table thead th:first-child {padding-left:20px !important}
  .placeringer-box .placeringer-table .placeringer-logo {width:14px !important;height:14px !important;flex-basis:14px !important}
}


/* V5 – K-kolonne som øvrige stillingssider; zebra på placering 1–14 */
/* Klubkolonnen følger almindelig række-zebra. */
.placeringer-box .placeringer-table tbody td.kampe,
.placeringer-box .placeringer-table tbody tr:nth-child(odd) td.kampe {
  background:#edf4f9 !important;
  color:#104470 !important;
  font-weight:600 !important;
}
.placeringer-box .placeringer-table tbody tr:nth-child(even) td.kampe {
  background:#e6f0f7 !important;
}
/* Placeringskolonnerne får samme skiftevis hvide og diskret blågrå rækker. */
.placeringer-box .placeringer-table tbody tr:nth-child(odd) td:nth-child(n+3) {
  background:#fff !important;
}
.placeringer-box .placeringer-table tbody tr:nth-child(even) td:nth-child(n+3) {
  background:#f1f5f7 !important;
}
/* Bevar medaljemarkeringen med rolige, skiftevis nuancer. */
.placeringer-box .placeringer-table tbody tr:nth-child(odd) td.col-guld {background:#fff8d9 !important}
.placeringer-box .placeringer-table tbody tr:nth-child(even) td.col-guld {background:#f8efc9 !important}
.placeringer-box .placeringer-table tbody tr:nth-child(odd) td.col-solv {background:#f2f4f5 !important}
.placeringer-box .placeringer-table tbody tr:nth-child(even) td.col-solv {background:#e8edef !important}
.placeringer-box .placeringer-table tbody tr:nth-child(odd) td.col-bronze {background:#f7ece2 !important}
.placeringer-box .placeringer-table tbody tr:nth-child(even) td.col-bronze {background:#f0e2d6 !important}


/* =========================================================
   V6 – rolig zebra og medaljefarver kun på tallene
   ========================================================= */
/* Ens zebrarækker i samtlige kolonner, også klub og 1.–14. */
.placeringer-box .placeringer-table tbody tr:nth-child(odd) td:not(.kampe),
.placeringer-box .placeringer-table tbody tr:nth-child(odd) td.col-guld,
.placeringer-box .placeringer-table tbody tr:nth-child(odd) td.col-solv,
.placeringer-box .placeringer-table tbody tr:nth-child(odd) td.col-bronze {
    background:#ffffff !important;
}
.placeringer-box .placeringer-table tbody tr:nth-child(even) td:not(.kampe),
.placeringer-box .placeringer-table tbody tr:nth-child(even) td.col-guld,
.placeringer-box .placeringer-table tbody tr:nth-child(even) td.col-solv,
.placeringer-box .placeringer-table tbody tr:nth-child(even) td.col-bronze {
    background:#f1f5f7 !important;
}
/* K beholder sin lyseblå markering, men uden fed skrift. */
.placeringer-box .placeringer-table tbody td.kampe {
    color:#104470 !important;
    font-weight:400 !important;
}
/* Medaljefarverne bruges alene på tallene. */
.placeringer-box .placeringer-table tbody td.col-guld {
    color:#967000 !important;
    font-weight:400 !important;
}
.placeringer-box .placeringer-table tbody td.col-solv {
    color:#667782 !important;
    font-weight:400 !important;
}
.placeringer-box .placeringer-table tbody td.col-bronze {
    color:#a46841 !important;
    font-weight:400 !important;
}
/* Samme diskrete hoverfarve i alle ikke-K-kolonner. */
.placeringer-box .placeringer-table tbody tr:hover td:not(.kampe) {
    background:#eaf1f5 !important;
}

/* V7 – mindre luft mellem klub og K, rolig afstand til 1. */
@media (min-width:701px) {
  .placeringer-box .placeringer-table th:first-child,
  .placeringer-box .placeringer-table td:first-child {
    width:225px;
  }
  .placeringer-box .placeringer-table th:nth-child(2),
  .placeringer-box .placeringer-table td:nth-child(2) {
    width:40px;
  }
}
/* K: altid normal skriftvægt, også hvis gamle tabelleregler forsøger at fremhæve. */
.placeringer-box .placeringer-table tbody td.kampe,
.placeringer-box .placeringer-table tbody tr:nth-child(odd) td.kampe,
.placeringer-box .placeringer-table tbody tr:nth-child(even) td.kampe {
  font-weight:400 !important;
}
/* Et par pixels luft mellem K og den første placeringskolonne. */
.placeringer-box .placeringer-table thead th:nth-child(3),
.placeringer-box .placeringer-table tbody td:nth-child(3) {
  padding-left:6px !important;
}

/* V8 – sæsonudgave: samme tabeldesign, samlet note og sæsonvælger. */
.placeringer-saeson .placeringer-saeson-note {
  padding:8px 10px;background:#f3f5f6;color:#66737d;
  border-bottom:1px solid #e1e6e9;font:12px/18px Arial,Helvetica,sans-serif;
}
.placeringer-saeson .placeringer-saeson-bottom {
  background:#fff;gap:12px;min-height:46px;
}
.placeringer-saeson .placeringer-saeson-form {
  margin:0 0 0 auto;padding:0;display:flex;align-items:center;gap:8px;
  font:12px/18px Arial,Helvetica,sans-serif;
}
.placeringer-saeson .placeringer-saeson-form select {
  box-sizing:border-box;height:29px;padding:4px 7px;min-width:112px;
  border:1px solid #b8c2c9;border-radius:3px;background:#fff;
  color:#10315b;font:12px/18px Arial,Helvetica,sans-serif;
}
@media(max-width:700px) {
  .placeringer-saeson .placeringer-saeson-form select {font-size:16px;}
  .placeringer-saeson .placeringer-saeson-bottom {flex-wrap:wrap;}
}
