/**
 * Feuille de style de l'application
 * 
 * @note      CSS version 3
 * @note      Smarty version 4.3.0
 * @attention Penser à changer Roboto par Ubuntu dans jqx.material.css
 * @todo      Enlever les styles inutilisés
 * @cond      DOXYGEN_SKIP_DOCUMENTATION
 * @file      css/styles.css
 * @see       https://github.com/BruTru/Inscription-judo
 * @see       https://www.smarty.net/docs/en/plugins.functions.tpl
 * @author    Bruno Trinquier enter@bt-c.net
 * @copyright 2026 bt-c enter - Tous droits réservés
 * @version   3.0.6
 * @date      18/05/2026
 * @since     18/05/2026 : normalisation et mutualisation des styles pour la version 3.0.6
 * @since     02/10/2025 : création
 */

html {
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-family-base);
    font-size: 1rem;
    background-color: var(--body-bg-color);
}

input,
button,
select,
textarea {
    font: inherit;
}

table,
table th,
table td,
.jqx-grid-cell,
.jqx-grid-column-header,
.jqx-grid-group-cell {
    font-family: var(--font-family-base) !important;
    font-size: var(--font-size-base) !important;
}

.jqx-widget,
.jqx-widget-content,
.jqx-widget-header,
.jqx-fill-state-normal,
.jqx-fill-state-hover,
.jqx-item {
    font-family: var(--font-family-base) !important;
}

div.div-center {
    margin: auto;
    width: var(--width-almost-full)
}

div.div-textcenter {
    text-align: center;
    clear: both;
}

div.div-textleft {
    text-align: left;
}

div.div-buttonleft {
    width: var(--width-half);
    float: left;
}

div.div-buttonright {
    width: var(--width-half);
    float: right;
}

@media all and (min-width: 761px) {
    div.div-container {
        width: var(--width-almost-full);
    }

    div.div-labelformulaire {
        width: 70%;
        float: left;
    }

    div.div-fieldformulaire {
        width: 30%;
        float: right;
    }

    div.div-formulaireheight {
        padding-bottom: 20px;
    }

    div.div-formulaire {
        width: var(--width-half);
    }

    table.tablepage1 {
        width: 60%
    }

    table.tablefinal {
        width: var(--width-half)
    }

    table.recapitulatif {
        margin: auto;
        width: 70%;
    }

    a.footer,
    div.footer {
        font-size: var(--font-size-footer-desktop);
    }

    img.max-image {
        max-width: var(--width-full);
    }

    div.mentionslegales {
        font-size: 12pt;
        width: 60%;
        text-align: justify;
    }

    div.div-index-button {
        width: var(--width-half);
    }
}

@media screen and (max-width: 760px) {
    .hidesmartphone {
        display: none;
    }

    table.tablefinal {
        width: var(--width-almost-full)
    }


    table.tablepage1 {
        width: var(--width-almost-full)
    }

    table.tabletarif {
        width: var(--width-almost-full)
    }

    div.div-container {
        width: var(--width-almost-full);
    }

    div.div-labelformulaire {
        width: var(--width-full);
    }

    div.div-fieldformulaire {
        width: 80%;
    }

    div.div-formulaireheight {
        padding-bottom: 0px;
    }

    div.div-formulaire {
        width: var(--width-full);
    }

    li.mobile-small-font,
    td.mobile-small-font {
        font-size: var(--font-size-mobile-small);
    }

    table.table-recapitulatif {
        margin: auto;
        width: var(--width-almost-full);
    }

    h2 {
        font-size: var(--font-size-base);
    }

    a.footer,
    div.footer {
        font-size: var(--font-size-small-pt);
    }

    img.max-image {
        max-width: var(--width-half);
    }

    div.mentionslegales {
        font-size: 9pt;
        width: var(--width-full);
        text-align: justify;
    }

}


body,
html {
    overflow: auto;
    padding: var(--space-page-padding);
    margin: 0;
}

.jqx-grid-cell,
.jqx-cell {
    vertical-align: top;
    margin: 0;
    cursor: pointer;
}

td#enter {
    font-size: 25pt;
}

a#enter {
    text-decoration: none;
}

a.refer {
    text-decoration: none;
    color: var(--color-link-default);
}

a:hover.refer {
    text-decoration: none;
    color: var(--color-link-hover);
}

a:hover {
    text-decoration: none;
    color: var(--color-link-hover);
}

span.graytext {
    color: var(--color-text-gray);
}

span.greentext {
    color: var(--color-text-green);
}

span.redtext {
    color: var(--color-text-red);
}

table.formulaire {
    width: 80%;
    margin: auto;
}

table.border,
tr.border,
th.border,
td.border {
    border: 1px solid var(--color-black);
    border-collapse: collapse;
    padding: 10px;
}

td.right {
    text-align: right;
    vertical-align: top;
    background-color: var(--body-bg-color);
}

td.left {
    text-align: left;
    vertical-align: top;
    background-color: var(--body-bg-color);
}

td.justify {
    text-align: justify;
    vertical-align: top;
    background-color: var(--body-bg-color);
}

td.center {
    text-align: center;
    vertical-align: top;
    background-color: var(--body-bg-color);
}

td.bold,
tr.bold,
th.bold,
span.bold {
    font-weight: bold;
    background-color: var(--body-bg-color);
}

td.detail {
    width: var(--width-full);
    vertical-align: top;
    text-align: left;
}

td.section {
    color: var(--color-white);
    background-color: var(--color-section-bg);
    font-weight: bold;
    font-size: 1.1em;
}

td.avertissement {
    color: var(--color-black);
    background-color: var(--body-bg-color);
    font-weight: bold;
    font-size: 1.1em;
}

table.progress {
    border-spacing: 0;
    border-collapse: collapse;
    margin: auto;
}

tr.progress {
    height: var(--size-progress-row-height);
}

td.progress {
    text-align: center;
    font-size: var(--font-size-small-pt);
    ;
    vertical-align: middle;
    width: var(--size-progress-cell-width);
    border: 0px solid;
}

div.circle {
    margin: auto;
    width: var(--size-circle-width);
    height: var(--size-circle-height);
    border-radius: var(--radius-circle);
    background: var(--color-circle);
}

div.circleg {
    margin: auto;
    width: var(--size-circle-width);
    height: var(--size-circle-height);
    border-radius: var(--radius-circle);
    background: var(--color-circleg);
}


/**
 * @endcond
 */