/*
=====================================================
                ACCUEIL - STATFOOT
=====================================================
*/


/*
=====================================================
   CONTENEUR GENERAL
=====================================================
*/

.zone-accueil{

    width:900px;

    max-width:96%;

    margin:25px auto;

}



/*
=====================================================
   ETIQUETTES DES COMPETITIONS
=====================================================
*/

.etiquettes-competition{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(160px,1fr));

    gap:6px;

    margin:15px 0 20px;

}




.etiquette-accueil{

    display:flex;

    align-items:center;

    justify-content:center;

    min-height:32px;

    padding:6px 10px;

    background:#e3e7ec;

    border:1px solid #c4ccd6;

    border-radius:8px;

    color:#123d7a;

    text-decoration:none;

    transition:.18s;

    box-shadow:0 1px 3px rgba(0,0,0,.08);

}




.etiquette-accueil:hover{

    background:#d7e1ec;

    border-color:#88a8d3;

    transform:translateY(-2px);

    box-shadow:0 4px 12px rgba(0,0,0,.10);

}



.titre-etiquette{

    text-align:center;

    font-size:13px;

    font-weight:bold;

    line-height:1.1;

}




.badge-match{

    display:flex;

    align-items:center;

    justify-content:center;

    min-width:26px;

    height:26px;

    margin-left:10px;

    border-radius:50%;

    background:#123d7a;

    color:white;

    font-size:12px;

    font-weight:bold;

}



/*
=====================================================
   SEMAINIER
=====================================================
*/

.semainier{

    width:900px;

    max-width:100%;

    margin:20px auto;

    display:grid;

    grid-template-columns:repeat(7,1fr);

    gap:8px;

}



.jour-semainier{

    display:block;

    padding:10px 5px;

    text-align:center;

    text-decoration:none;

    background:#e4e9ef;

    border:1px solid #bcc8d6;

    border-radius:10px;

    color:#123d7a;

    transition:.15s;

}



.jour-semainier:hover{

    background:#d6e4f8;

}



.jour-semainier.actif{

    background:#123d7a;

    border-color:#123d7a;

    color:white;

}



.nom-jour{

    display:block;

    font-size:13px;

    font-weight:bold;

}



.date-jour{

    display:block;

    margin-top:4px;

    font-size:18px;

    font-weight:bold;

}



.retour-aujourdhui{

    margin:12px 0 18px;

    text-align:center;

}



.retour-aujourdhui a{

    display:inline-block;

    padding:8px 18px;

    border-radius:20px;

    background:#e4e9ef;

    color:#123d7a;

    text-decoration:none;

    font-weight:bold;

}



.retour-aujourdhui a:hover{

    background:#d6e4f8;

}



/*
=====================================================
   TITRE PROGRAMME
=====================================================
*/

.titre-programme-compteur{

    margin:25px 0 15px;

    padding:12px 18px;

    border-radius:8px;

    background:#123d7a;

    color:white;

    font-size:20px;

    font-weight:bold;

}



.titre-programme-compteur span{

    font-size:14px;

    font-weight:normal;

    color:#dceaff;

}



/*
=====================================================
   AUCUN MATCH
=====================================================
*/

.aucun-match{

    padding:25px;

    border:1px solid #dddddd;

    border-radius:8px;

    background:white;

    text-align:center;

    color:#666666;

}


/*
=====================================================
   TITRES DES COMPETITIONS
=====================================================
*/

.bloc-competition-accueil{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin:12px 0 2px;

    padding:7px 12px;

    border-radius:8px;

    background:linear-gradient(135deg,#123d7a,#1e62b8);

    color:white;

}



.nom-competition-accueil{

    font-size:17px;

    font-weight:bold;

}



.compteur-competition-accueil{

    padding:3px 10px;

    border-radius:14px;

    background:white;

    color:#123d7a;

    font-size:12px;

    font-weight:bold;

}



/*
=====================================================
   JOURNEES
=====================================================
*/

.titre-journee{

    margin:4px 0 1px;

    padding:2px 10px;

    border-left:4px solid #123d7a;

    background:#f2f4f7;

    color:#123d7a;

    font-size:12px;

    font-weight:bold;

}



/*
=====================================================
   MATCHS
=====================================================
*/

.match-accueil{

    display:grid;

    grid-template-columns:50px 1fr 95px 1fr;

    align-items:center;

    gap:6px;

    min-height:21px;

    padding:1px 10px;

    border-bottom:1px solid #edf1f5;

    font-size:13px;

    line-height:1.1;

}



/*
-----------------------------------------------------
 LIGNES ALTERNEES
-----------------------------------------------------
*/

.match-accueil:nth-child(even){

    background:#fafbfc;

}



.match-accueil:nth-child(odd){

    background:#f2f5f8;

}



.match-accueil:hover{

    background:#dfeeff !important;

}



/*
-----------------------------------------------------
 HEURE
-----------------------------------------------------
*/

.heure-match{

    text-align:center;

    color:#666;

    font-size:12px;

    font-weight:bold;

}



/*
-----------------------------------------------------
 CLUBS
-----------------------------------------------------
*/

.club-domicile{

    text-align:right;

    line-height:1.1;

}



.club-exterieur{

    text-align:left;

    line-height:1.1;

}



.club-match{

    color:#222;

    text-decoration:none;

}



.club-match:hover{

    color:#1e62b8;

    text-decoration:underline;

}



/*
-----------------------------------------------------
 SCORE
-----------------------------------------------------
*/

.score-match{

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    white-space:nowrap;

    font-weight:bold;

    font-size:13px;

}



/*
-----------------------------------------------------
 COULEURS SCORES
-----------------------------------------------------
*/

.score-victoire{

    color:#179548;

}



.score-nul{

    color:#d88400;

}



.score-defaite{

    color:#cf2020;

}



.score-statut{

    color:#666;

    font-weight:normal;

}


/*
=====================================================
   RESPONSIVE
=====================================================
*/

@media screen and (max-width:900px){

    .zone-accueil{

        width:96%;

    }

    .semainier{

        grid-template-columns:repeat(4,1fr);

    }

    .match-accueil{

        grid-template-columns:50px 1fr 85px 1fr;

        gap:5px;

        font-size:12px;

    }

}



@media screen and (max-width:700px){

    .etiquettes-competition{

        grid-template-columns:repeat(2,1fr);

    }

    .semainier{

        grid-template-columns:repeat(2,1fr);

    }

    .nom-competition-accueil{

        font-size:15px;

    }

}



@media screen and (max-width:520px){

    .match-accueil{

        grid-template-columns:45px 1fr 75px 1fr;

        gap:4px;

        padding:2px 5px;

        font-size:11px;

    }

    .heure-match{

        font-size:11px;

    }

    .score-match{

        font-size:11px;

    }

    .nom-jour{

        font-size:11px;

    }

    .date-jour{

        font-size:15px;

    }

    .titre-programme-compteur{

        font-size:17px;

    }

}



@media screen and (max-width:400px){

    .etiquettes-competition{

        grid-template-columns:1fr;

    }

    .semainier{

        grid-template-columns:1fr;

    }

}
