/* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CQ11WW SCORE - STILE >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
   Stesso identico stile di hq.alfatango.org/awards/naz: i valori vengono da awards/inc_awards.php
   (testata, filtri, tabella), naz.php (striscia, finestre, scheda, confronto), naz_race_ui.php (gara)
   e naz_stats.php (statistiche). Tutto e' sotto .w11 perche' il modulo vive dentro le pagine ASP del
   sito e non deve toccarne lo stile. */

.w11 {
    float: left;
    clear: both;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    color: #333333;
    text-align: left;
    line-height: 1.42857143;
}

.w11 *,
.w11 *::before,
.w11 *::after {
    box-sizing: border-box;
}

.w11 [hidden] {
    display: none !important;
}

.w11 a {
    color: #0b67c3;
    text-decoration: none;
}

.w11 button {
    font-family: inherit;
}

/* >>>>>>>>>>>>>>>>>>>> TESTATA (awards_sticky_header + awards_hdr_tight) >>>>>>>>>>>>>>>>>>>> */
.w11-hdr {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
    /* bianco come la pagina del sito (niente grigio); non trasparente: la testata resta ferma in alto
       mentre si scorre e la tabella le passa sotto */
    background: #ffffff;
    display: flow-root;
}

.w11-title {
    width: 100%;
    float: left;
    user-select: none;
    padding: 8px 0 5px 0; /* niente margini orizzontali: il modulo usa tutta la larghezza del suo spazio */
    color: #0b67c3;
    font-size: 18px;
    font-weight: bold;
}

.w11-filters {
    width: 100%;
    float: left;
    user-select: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 5px 0 10px 0;
}

.w11-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
}

/* bottoni delle tab (naz_type_btn) */
.w11 .w11-tab {
    display: inline-block;
    box-sizing: border-box;
    height: 26px;
    line-height: 20px;
    padding: 2px 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    color: #0b67c3;
    background: #ffffff;
    border: 1px solid #0b67c3;
    border-radius: 3px;
    cursor: pointer;
    white-space: nowrap;
}

.w11 .w11-tab:hover,
.w11 .w11-tab:focus,
.w11 .w11-tab:active,
.w11 .w11-tab.on {
    text-decoration: none;
    color: #ffffff;
    background: #0b67c3;
}

/* campi e bottoni dei filtri (account_selectfilter / account_inputfilter / account_submitfilter) */
.w11 .w11-in,
.w11 .w11-sub {
    box-sizing: border-box;
    height: 26px;
    border-radius: 3px;
    font-size: 14px;
    font-family: arial;
    margin: 0;
}

.w11 .w11-in {
    line-height: 20px;
    padding: 2px 7px;
    color: #262b35;
    background: #ffffff;
    font-weight: normal;
    border: 1px solid #888888;
    width: 110px;
}

.w11 .w11-in-up {
    text-transform: uppercase;
}

.w11 .w11-sub {
    display: inline-block;
    line-height: 20px;
    padding: 2px 7px;
    color: #0b67c3;
    background: #ffffff;
    font-weight: bold;
    border: 1px solid #0b67c3;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.w11 .w11-sub:hover {
    color: #ffffff;
    background: #0b67c3;
    border: 1px solid #0b67c3;
    text-decoration: none;
}

/* >>>>>>>>>>>>>>>>>>>> CONTENUTO (inc_account_table_container) >>>>>>>>>>>>>>>>>>>> */
.w11-pane {
    display: none;
    float: left;
    width: 100%;
}

.w11-pane.on {
    display: block;
}

.w11-box {
    width: 100%;
    float: left;
    padding: 20px 0;
    background: #ffffff;
    color: #333333;
    font-size: 16px;
}

.w11-box-top {
    padding-bottom: 0;
}

.w11-intro {
    font-family: arial;
    color: #333333;
    font-size: 14px;
    padding-bottom: 10px;
}

.w11-none {
    color: #888888;
    font-size: 16px;
}

.w11-award-h {
    font-family: arial;
    font-weight: bold;
    font-size: 16px;
    color: #333333;
    margin: 6px 0 8px 0;
}

/* >>>>>>>>>>>>>>>>>>>> STRISCIA SOPRA LA CLASSIFICA (naz_ministat) >>>>>>>>>>>>>>>>>>>> */
.w11-ms-tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.w11-ms-tile {
    flex: 1 1 110px;
    min-width: 110px;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    padding: 7px 10px;
    background: #f7f9fb;
    text-align: center;
}

.w11-ms-val {
    font-size: 18px;
    font-weight: bold;
    color: #0b67c3;
    line-height: 1.1;
    font-family: arial;
}

.w11-ms-lbl {
    font-size: 10px;
    color: #777777;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 2px;
    font-family: arial;
}

.w11-ms-cap {
    font-family: arial;
    font-size: 13px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 4px;
}

.w11-ms-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: stretch;
}

.w11-ms-col {
    flex: 1 1 420px;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.w11-ms-box {
    height: 260px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    padding: 6px 8px 4px 8px;
    background: #ffffff;
}

.w11-ms-box .race_cv {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
}

.w11-ms-chartbox {
    position: relative;
    flex: 0 0 auto;
    height: 260px;
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    background: #ffffff;
}

.w11-ms-chartbox canvas {
    position: absolute;
    top: 0;
    left: 0;
}

/* >>>>>>>>>>>>>>>>>>>> GARA ANIMATA (naz_race_ui.php) >>>>>>>>>>>>>>>>>>>> */
.w11 .race_bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.w11 .race_btn {
    border: 1px solid #c9ced6;
    background: #ffffff;
    color: #33383f;
    border-radius: 4px;
    width: 34px;
    height: 30px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    flex: 0 0 auto;
    padding: 0;
}

.w11 .race_btn:hover {
    background: #f1f4f8;
}

.w11 .race_slider {
    flex: 1 1 160px;
    min-width: 120px;
    height: 30px;
    cursor: pointer;
    margin: 0;
}

.w11 .race_clock {
    font-family: arial;
    font-size: 13px;
    font-weight: bold;
    color: #33383f;
    white-space: nowrap;
    flex: 0 0 auto;
}

.w11 .race_sp {
    border: 1px solid #c9ced6;
    background: #ffffff;
    color: #666c74;
    border-radius: 4px;
    padding: 5px 8px;
    font-size: 11px;
    cursor: pointer;
    margin-left: 3px;
    line-height: 1.2;
}

.w11 .race_sp_on {
    background: #0b67c3;
    border-color: #0b67c3;
    color: #ffffff;
}

.w11 .race_cv {
    position: relative;
    height: 166px;
    width: 100%;
}

.w11 .race_cv canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* legenda dei colori sotto la gara: solo i quadretti con i gruppi, niente frase */
.w11 .race_legend {
    font-family: arial;
    font-size: 11px;
    color: #666c74;
    margin-top: 6px;
}

.w11 .race_legend i {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    margin: 0 4px 0 14px;
    vertical-align: -1px;
}

.w11 .race_legend i:first-child {
    margin-left: 0;
}

/* >>>>>>>>>>>>>>>>>>>> CLASSIFICA (resp-table / table-body-cell) >>>>>>>>>>>>>>>>>>>> */
.w11-scroll {
    float: left;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.w11 table.w11-t {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
    margin: 0;
    background: #ffffff;
}

.w11 .w11-t th,
.w11 .w11-t td {
    border-right: 1px solid #ececec;
    border-bottom: 1px solid #f1f1f1;
    padding: 5px 7px;
    line-height: 1.1;
    vertical-align: top;
    text-align: left;
    white-space: nowrap;
    width: 1%;
}

.w11 .w11-t th {
    background: #7e838e;
    color: #ffffff;
    font-weight: normal;
}

.w11 .w11-t th.w11-sortable {
    cursor: pointer;
}

.w11 .w11-t th.r,
.w11 .w11-t td.r {
    text-align: right;
}

.w11 .w11-t th.w11-spread,
.w11 .w11-t td.w11-spread {
    width: 100%;
}

.w11 .w11-t tbody tr:nth-child(even) td {
    background: #f1f1f1;
}

.w11 .w11-t tbody tr:hover td {
    background: #ffffcc;
}

.w11 .w11-t td.w11-rk {
    text-align: right;
    font-weight: bold;
    color: #555555;
}

.w11 .w11-t td.w11-cs {
    font-weight: bold;
    color: #0b67c3;
}

.w11 .w11-t td.w11-sc {
    text-align: right;
    font-weight: bold;
}

.w11 .w11-t td.w11-wrap {
    white-space: normal;
}

.w11 .w11-t th[aria-sort="descending"]::after {
    content: ' \25BE';
}

.w11 .w11-t th[aria-sort="ascending"]::after {
    content: ' \25B4';
}

.w11 .w11-flag {
    width: 21px;
    height: 14px;
    vertical-align: middle;
    margin-right: 7px;
}

.w11 .w11-flag.w11-noflag {
    visibility: hidden;
}

/* callsign in classifica: punteggiato solo sul nominativo (naz_op_link / naz_op_callname) */
.w11 a.w11-op,
.w11 a.w11-op:hover,
.w11 a.w11-op:focus {
    color: #0b67c3;
    text-decoration: none;
    cursor: pointer;
}

.w11 a.w11-op .w11-cn {
    border-bottom: 1px dotted #0b67c3;
}

.w11 a.w11-op:hover .w11-cn,
.w11 a.w11-op:focus .w11-cn {
    background: #fff6cc;
}

.w11 a.w11-d,
.w11 a.w11-d:hover {
    color: #0b67c3;
    text-decoration: none;
}

.w11-hidden {
    font-weight: bold;
    color: #999999;
}

/* bottone piccolo (naz_award_btn): Chiudi, Scarica, scorciatoie nella scheda.
   Interlinea EREDITATA come in naz (misurato su hq.alfatango.org/awards/naz): 13,2 px in tabella
   (1,1), 17,14 px nella finestra di dettaglio e 20 px nell'anteprima dell'attestato (1,42857). */
.w11 .w11-btn {
    display: inline-block;
    padding: 2px 12px;
    font-size: 12px;
    font-weight: bold;
    color: #0b67c3;
    background: #ffffff;
    border: 1px solid #0b67c3;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    line-height: inherit;
}

.w11 .w11-btn:hover {
    color: #ffffff;
    background: #0b67c3;
    border: 1px solid #0b67c3;
    text-decoration: none;
}

/* form in linea nel corpo tab (Ricerca QSO, Confronto) */
.w11 .w11-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 4px 0 2px 0;
    margin: 0;
}

.w11-res {
    float: left;
    width: 100%;
    margin-top: 16px;
}

/* legenda / checklog / squalificati: tabelle larghe quanto il contenuto affiancate */
/* nota pubblicata sotto la lista dei checklog (2021) */
.w11 .w11-ck-foot {
    margin-top: 8px;
}

.w11-auto {
    width: auto !important;
    margin-bottom: 16px;
}

/* >>>>>>>>>>>>>>>>>>>> FINESTRA DI DETTAGLIO (naz_ov) >>>>>>>>>>>>>>>>>>>> */
.w11-ov {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000001;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.w11-ov-box {
    background: #ffffff;
    border-radius: 6px;
    max-width: 720px;
    width: 100%;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.w11-ov-bar {
    flex: 0 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #e0e0e0;
}

.w11-ov-t {
    font-family: arial;
    font-weight: bold;
    font-size: 16px;
    color: #333333;
}

.w11-ov-body {
    flex: 1 1 auto;
    overflow: auto;
}

.w11-ov-body.w11-loading,
.w11-res.w11-loading {
    opacity: .45;
}

/* >>>>>>>>>>>>>>>>>>>> ANTEPRIMA ATTESTATO (naz_cert_overlay) >>>>>>>>>>>>>>>>>>>> */
.w11-cert {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    z-index: 1000001;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.w11-cert-in {
    text-align: center;
    max-width: 100%;
}

#w11-cert-cv {
    display: block;
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    height: auto;
    margin: 0 auto 14px auto;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}

.w11 .w11-cert-bar .w11-btn {
    font-size: 14px;
    padding: 8px 18px;
    margin: 0 4px;
}

.w11 .w11-cert-b[aria-busy] {
    cursor: progress;
    opacity: .6;
}

.w11 table.w11-dt {
    width: 100%;
    border-collapse: collapse;
    font-family: arial;
    font-size: 13px;
}

.w11 .w11-dt th {
    position: sticky;
    top: 0;
    background: #7e838e;
    color: #ffffff;
    font-weight: bold;
    text-align: left;
    padding: 5px 7px;
    z-index: 1;
    white-space: nowrap;
}

.w11 .w11-dt td {
    padding: 5px 7px;
    border-right: 1px solid #ececec;
    border-bottom: 1px solid #f1f1f1;
    color: #333333;
    vertical-align: top;
    background: #ffffff;
}

.w11 .w11-dt tbody tr:nth-child(even) td {
    background: #f1f1f1;
}

.w11 .w11-dt tr.w11-err td {
    color: #cc0000;
}

.w11 .w11-dt td.nw {
    white-space: nowrap;
}

/* attesa di un dettaglio (finestra, ricerca QSO, confronto): stesso spinner del loader di pagina */
.w11-wait {
    padding: 34px 16px;
    text-align: center;
    font-family: arial;
    font-size: 13px;
    color: #777777;
}

.w11-wait .w11-wait-s {
    width: 30px;
    height: 30px;
    border-width: 3px;
    margin-bottom: 8px;
}

.w11-pad {
    padding: 16px;
    font-family: arial;
    color: #999999;
}

.w11-sum {
    padding: 10px 16px;
    font-family: arial;
    font-size: 13px;
    color: #555555;
    border-bottom: 1px solid #f1f1f1;
}

.w11-fix {
    display: block;
    font-size: 11px;
    color: #999999;
}

/* >>>>>>>>>>>>>>>>>>>> SCHEDA OPERATORE (naz_op) >>>>>>>>>>>>>>>>>>>> */
.w11-op-card {
    font-family: arial;
    padding: 18px;
}

.w11-op-head {
    padding: 4px 2px 12px 2px;
    border-bottom: 1px solid #eee;
    margin-bottom: 12px;
}

.w11-op-call {
    font-size: 22px;
    font-weight: bold;
    color: #0b67c3;
}

.w11-op-team {
    font-size: 14px;
    font-weight: normal;
    color: #777;
}

.w11-op-sub {
    font-size: 13px;
    color: #555;
    margin-top: 2px;
}

.w11-op-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.w11-op-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.w11-op-tile {
    flex: 1 1 90px;
    min-width: 90px;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    padding: 7px 9px;
    background: #f7f9fb;
    text-align: center;
}

.w11-op-val {
    font-size: 18px;
    font-weight: bold;
    color: #0b67c3;
    line-height: 1.15;
}

.w11-op-val small {
    font-size: 13px;
    color: #999;
    font-weight: normal;
}

.w11-op-lbl {
    font-size: 10px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: .3px;
    margin-top: 2px;
}

.w11-op-note {
    font-size: 10px;
    color: #999;
    margin-top: 2px;
}

.w11-op-cap {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    margin: 12px 2px 6px 2px;
}

.w11-op-chartbox {
    position: relative;
    height: 150px;
    width: 100%;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    padding: 4px 8px 2px 4px;
}

.w11-op-best {
    font-size: 11px;
    color: #999;
    margin: 4px 2px 0 2px;
}

.w11-op-chips {
    line-height: 1.9;
}

.w11-op-chip {
    display: inline-block;
    font-size: 12px;
    padding: 1px 8px;
    margin: 0 3px 3px 0;
    border-radius: 10px;
    background: #e8f0fb;
    color: #0b67c3;
    border: 1px solid #cfe0f5;
    white-space: nowrap;
    line-height: 1.6;
}

.w11-op-chip .w11-flag {
    width: 16px;
    height: 11px;
    margin-right: 4px;
}

.w11-op-chip small {
    color: #777;
}

.w11-op-chip-miss {
    background: #f4f4f4;
    color: #999;
    border-color: #e2e2e2;
}

a.w11-op-chip:hover {
    background: #fff6cc;
}

.w11-op-none {
    font-size: 12px;
    color: #999;
}

/* mappa del mondo (world_countries.svg, come WD/ALDO) */
.w11-map {
    width: 100%;
    min-height: 20px;
}

.w11-map svg {
    width: 100%;
    height: auto;
    display: block;
}

.w11-map path.ctry {
    fill: #eeeeee;
    stroke: #ffffff;
    stroke-width: .4;
    cursor: default;
    transition: fill .1s ease;
}

.w11-map path.ctry.hot {
    stroke: #0b3d6b;
    stroke-width: 1.4;
}

.w11-tip {
    position: fixed;
    z-index: 1000003;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 6px 9px;
    font-family: arial;
    font-size: 12px;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
    pointer-events: none;
    max-width: 220px;
}

/* >>>>>>>>>>>>>>>>>>>> CONFRONTO (naz_h2h) >>>>>>>>>>>>>>>>>>>> */
.w11-h2h-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 14px;
}

.w11-h2h-name {
    font-size: 22px;
    font-weight: bold;
}

.w11-h2h-vs {
    font-size: 14px;
    color: #999;
    font-weight: bold;
}

.w11 table.w11-h2h {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 6px;
}

.w11 .w11-h2h td,
.w11 .w11-h2h th {
    padding: 7px 10px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.w11 .w11-h2h th {
    text-align: center;
    color: #777;
    font-weight: normal;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .3px;
    white-space: nowrap;
}

.w11 .w11-h2h td {
    text-align: center;
    width: 38%;
    color: #333;
}

.w11 .w11-h2h td.win {
    font-weight: bold;
    color: #0b67c3;
    background: #f2f8ff;
}

/* >>>>>>>>>>>>>>>>>>>> STATISTICHE (naz_stats) >>>>>>>>>>>>>>>>>>>> */
.stats_tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.stats_tile {
    flex: 1 1 110px;
    min-width: 110px;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    padding: 10px 10px;
    background: #f7f9fb;
    text-align: center;
}

.stats_tile .st_val {
    font-size: 20px;
    font-weight: bold;
    color: #0b67c3;
    line-height: 1.1;
    font-family: arial;
}

.stats_tile .st_lbl {
    font-size: 11px;
    color: #777777;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-top: 3px;
    font-family: arial;
}

.stats_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.stats_card {
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    padding: 12px 14px 14px 14px;
    background: #ffffff;
    min-width: 0;
}

.w11 .stats_card h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: bold;
    color: #333333;
    font-family: arial;
}

.stats_canvas_box {
    position: relative;
    height: 300px;
    width: 100%;
}

.stats_card.tall .stats_canvas_box {
    height: 420px;
}

.stats_card.full {
    grid-column: 1 / -1;
}

.stats_note {
    font-family: arial;
    font-size: 12px;
    color: #777777;
    margin-top: 8px;
}

.stats_trio {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

/* anni con meno categorie (il 2023 non ha HQ Distribuita) */
.stats_trio.n2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stats_trio.n1 {
    grid-template-columns: 1fr;
}

.stats_trio .w11-ms-cap {
    font-size: 12px;
}

/* >>>>>>>>>>>>>>>>>>>> SCHERMI STRETTI (come la sezione awards) >>>>>>>>>>>>>>>>>>>> */
@media (max-width: 991.98px) {
    .w11-box {
        padding: 20px 0 5px 0;
    }
    .stats_grid,
    .stats_trio,
    .stats_trio.n2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .w11-ms-tile {
        flex: 1 1 calc(50% - 4px);
        min-width: calc(50% - 4px);
        padding: 6px 8px;
    }
    .w11-ms-val {
        font-size: 15px;
    }
    .w11-ms-lbl {
        font-size: 9px;
    }
    .stats_tiles {
        gap: 8px;
    }
    .stats_tile {
        min-width: 86px;
        flex-basis: 86px;
        padding: 9px 10px;
    }
    .stats_tile .st_val {
        font-size: 16px;
    }
    .stats_tile .st_lbl {
        font-size: 10px;
    }
    .w11-ov {
        padding: 8px;
    }
    .w11-ov-box {
        max-height: 92vh;
    }
}

@media print {
    .w11-hdr,
    .w11-strip,
    .w11-ov {
        display: none !important;
    }
}
