/*
-----------------------------
couleurs :
- vert nuit : #0c2f22 (bandeau / footer)
- vert : #7CC970
- orange : #FE9333 (titre)
- orange : #FFB000 (brand)
- grenat1 : #85182A (h1)
- grenat2 : #C7253E (h2, liens)


*/


body {
    background-color: #f9f9f9;
}

a { color: #000; }
a:hover { text-decoration: none; }

a:has(img) { text-decoration: none; border-bottom: none; }
a:hover:has(img) { text-decoration: none; border-bottom: none; }

hr {
    width: 90%;
    margin: 2em auto;
    height: 1px;
    border-top: 0;
    border-bottom: 1px solid #aaa;
}

form {
    background-color: #eee;
    padding: 1em;
}
form .form-group {
    display: block;
    margin-bottom: 2em;
}
form .form-group.banane {
    display: none;
}
form .form-group label {
    display: block;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
}
form .form-group label span {
    color: #F00;
}

form .form-group input,
form .form-group textarea {
    font-size: 1em;
    padding: 0.5em;
    width: 100%;
    border: 1px solid #555;
    background-color: #fff;
    border-radius: 8px;
}
form .form-group input[type="submit"] {
    cursor: pointer;
    padding: 1em;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 0;
    width: auto;
    min-width: 125px;
    font-size: 16px;
}
form .form-group input[type="submit"]:hover {
    background-color: #000;
}

form .form-group.has-error {
    background-color: #fcc;
    padding: 1em;
    margin-left: -1em;
    margin-right: -1em;
}
form .form-group.has-error .help-block {
    font-size: 0.85em;
    font-weight: bold;
    color: #F00;
}

.line1max {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.line2max {
    display: -webkit-box;
    overflow: hidden;
    line-clamp: 2;
    -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
}

.line3max {
    display: -webkit-box;
    overflow: hidden;
    line-clamp: 3;
    -webkit-line-clamp: 3;
   -webkit-box-orient: vertical;
}

.breadcrumb { 
    margin: 1em 0;
    background-color: #e0e0e0; 
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "\00BB"; /* 2192 */
}
.breadcrumb-item:nth-child(1) + .breadcrumb-item::before {
    content: "";
}

#f-navigation {
    background-color: #20232a;
}

#f-footer {
    background-color: #0c2f22;
    color: #ccc;
}




#footer a { color: inherit; }
#footer a:hover { color: #fff; }
#footer ul li { padding-bottom:0.8em; }

#c-content .c-article {
    background-color: #fff;
    margin: 0;
    padding: 12px;
    -webkit-box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.75);
    box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.75);
}

#c-content .c-article > *:first-child,
#c-content .c-article .breve-entete > *:first-child {
    margin-top: 0;
}

#c-content .c-article h1 {
    font-size: 1.8em;
    color: #000;
}
#c-content .c-article h2 {
    font-size: 1.4em;
    color: #000;
}

#c-content .c-article img {
    max-width: 100%;
    height: auto;
}

#c-content .c-article .breve-entete h1 {
    margin-bottom: 0.25em;
}

#c-content .c-article .breve-entete small {
    top: 1em;
}
#c-content .c-article .breve-entete img {
    float: right;
}
#c-content .c-article .breve-entete .spacer {
    clear: right;
}

/* Liens du contenu */
#c-content .c-article a {
    color: #C7253E; /* rouge lumineux #C7253E / vert : #24a90f */
}
#c-content .c-article.c-article-main a {
    color: #C7253E;
}

#c-content .c-article-main #home-pbdujour {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
}

#c-content .c-article-main #home-pbdujour .pb-titre {
    margin-top: 0;
    font-weight: bold;
    font-size: 1.2em;
}
#c-content .c-article-main #home-pbdujour .pb-legende {
    font-style: italic;
}
#c-content .c-article-main #home-pbdujour a {
    color: #000;
}



#c-content .c-article a:has(img),
#c-content .c-article a:hover:has(img) { text-decoration: none; }


#c-content .c-article.c-rub-breve {
    min-height: 1em;
    background-color: transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;

}

#c-content .c-article.c-art-comp {
    background-color: transparent;
    box-shadow: none;
}
#c-content .c-article.c-art-comp h2 {
    border-bottom: 1px solid #777;
    margin-bottom: 1em;
}



/* liste d'items */
.c-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.c-item {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1em;
    align-items: flex-start;
    background-color: #fff;
    border-top: 1px solid #888;
    padding: 1rem 0;
}
.c-item picture {
    line-height: 0;
    width: 88px;
    height:180px;
}
.c-item picture img,
#c-content .c-article .c-item picture img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.c-item .item-content {
    flex: 1;
    padding: 1em 1em 0 0;
}
.c-item .item-content *:first-child {
    margin-top: 0;
}
.c-item .item-content h2,
#c-content .c-article .c-item .item-content h2 {
    font-size: 1.2rem;
    line-height: 1.2rem;
    margin: 0;
}
.c-item .item-content h2 a {
    text-decoration: none;
}
.c-item .item-content h2 a:hover::before {
    background-color: #00000010;
}
.c-item .item-content h2 a:before {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    content: "";
}


.liste-sommaire li,
.classement-list li {
    padding-bottom: 0.8rem; 
}
.liste-sommaire li a + p {
    margin-top: 4px;
}

.breve-items {
    margin-top: 3rem;
}
.breve-items .item-content .date {
    display: block;
    color: #333;
    font-size: 0.9em;
}

.page-rubrique #c-content .c-article h2 a {
    color: #000;
}
.page-rubrique #c-content .c-article a {
    color: #C7253E;
}

/* Liens du contenu des rubriques (liste) */
/*
.page-rubrique #c-content .c-article li a {
    color: #000;
}
*/


.page-article .dreader {
    display: flex;
    flex-direction: column;
    align-items: center;
}


#c-aside { /*background-color: #ffa;*/ }
#c-aside #aside {
    /*background-color: #fff;*/
    margin:2em 0em;
    padding:1.2em 0;
}

#sousnav {
    margin-bottom: 40px;
}
#sousnav .titre-sousnav {
    display: inline-block;
    font-size: 1.1em;
    font-weight: 600;
}

#sousnav > ul {
    border-left: 2px dotted #000;
    margin-left: 1em;
    padding: 0.5em 0 0 0.5em;
    max-height: 395px;
    overflow: auto;
}

#sousnav > ul li {
    line-height: 1.2em;
    list-style-type: none;
    margin-bottom: 0.6em;
}

#sousnav .actif { font-weight: bold; }

.maj-recente small {
    font-size: 0.8em;
    background-color: #C1ECC1;
    padding: 5px;
    margin-left: 10px;
}


ul.events {
    list-style-type: none;
    line-height: 1em;
    padding-left: 1em;
}
ul.events li {
    position: relative;
    padding-left: 1em;
    padding-bottom: 2.5em;
    border-left: 1px solid #007200;
}
ul.events li:last-child {
    border-left: 1px dotted #007200;
    padding-bottom: 0;
}

ul.events li:before {
    content: "";
    width: 15px;
    height: 15px;
    background: white;
    border: 1px solid #0c2f22;
    box-shadow: 3px 3px 0px #7CC970;
    box-shadow: 3px 3px 0px #7CC970;
    border-radius: 50%;
    position: absolute;
    left: -10px;
    top: 0px;
}

ul.events li .event-head > * {
    margin-bottom: 0.3em;
}

ul.events li .event-content {
    line-height: 1.5em;
}

ul.events li .event-date {
    display: block;
    font-size: 1em;
    color: #333;
    font-weight: bold;
}

ul.events li .event-type {
    display: block;
    margin-bottom: 1em;
    font-size: 0.9em;
    color: #666;
}

ul.events li .event-lieu {
    display:block;
}


ul.events li .event-desc {
    font-size: 0.9em;
    margin-top: 8px;
    line-height: 1.2em;
}

.lien-tous-event, .lien-tous-actu {
    text-align: center;
    margin-top: 2em;
}

/* Liste des actus */
ul.liste-actualites {
    list-style-type: none;
    padding: 0;
}

ul.liste-actualites li {
    margin-bottom: 1em;
}

ul.liste-actualites li span {
    display: block;
    margin-right: 5px;
    font-size: 0.8em;
    color: #777;
}

/* --------------- */
/* blocs droite */
/* --------------- */

#c-aside .bloc header {
    font-size: 1.4rem;
    position: relative;
    margin-bottom: 0.5em;
    border-bottom:2px solid #7CC970;
}

#c-aside .bloc header .bloc-titre {
    display: inline-block;
    font-weight: 600;
}
#c-aside .bloc header .bloc-titre::first-letter {
    font-size: 1.8rem;
    font-weight: bold;
    color: #55A630;
}

.page-sommaire #c-aside .bloc header .bloc-titre::first-letter {
    color: inherit;
    font-weight: 600;
}
.page-sommaire #c-content .c-article .liste-actualites a {
    color: #000;
}


#c-aside .bloc footer {
    margin-top: 1em;
    text-align: right
}

#c-aside .bloc header .decor {
    position: absolute;
    display: inline-block;
    font-family: arial;
    
}

#c-aside .bloc hr {
    width: 60%;
    border-bottom: 1px dotted #777;
    margin: 1.8em auto;
}

#c-aside .bloc ul, .bloc ol {
    margin-top: 0;
    margin-bottom: 0;
}

#c-aside #bloc-pbdujour header {
    text-align: center;
    border-bottom: 0;
}
#c-aside #bloc-pbdujour header .bloc-titre::first-letter {
    font-size: inherit;
    font-weight: 600;
    color: inherit;
}

#bloc-pbdujour .bloc-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
}
#bloc-pbdujour .bloc-content figcaption {
    font-style: italic;
    display: inline-block;
    margin-top: -5px;
}


#bloc-combi header .decor {
    font-size: 1.6em;
}
#bloc-combi header .decor:first-child {
    transform: rotate(-12deg);
    color: #007200;
    left: -32px;
    top: -7px;
}
#bloc-combi header .decor:nth-child(2) {
    transform: rotate(10deg) translate(-5px, -5px);
    color: #7CC970;
    left: -13px;
    top: -10px;
}


#bloc-top .date-top {
    font-size: 12px;
}

#bloc-top header .decor:first-child {
    left: -22px;
    top: -10px;
    color: #007200;
    font-size: 1.6em;
}
#bloc-top header .decor:nth-child(2) {
    left: -13px;
    top: 3px;
    color: #7CC970;
    font-size: 34px;
}
#bloc-top header .decor:nth-child(3) {
    left: 13px;
    top: -15px;
    color: #7CC970;
    font-size: 34px;
}


.classement-list li {
    line-height: 1.1em;
    margin-bottom: 5px;
}
.classement-list > li::marker {
    font-weight: bold;
}

.classement-list .classement-nom {
    display: block;
}
.classement-list .classement-cp,
.classement-list .classement-club {
    font-size: 0.8em;
    color: #666;
}

.classement-list .classement-club:before {
    content: " / ";
}

#bloc-actu .actu-exergue p {
    margin: 0.3em 0;
    font-size: 0.9em;
    text-align: justify;
}

#bloc-actu .actu-autres {
    list-style-type: none;
    padding: 0;
}

#bloc-actu .date-publi {
    display: inline-block;
    font-size: 0.8em;
    color: #666;
}

#bloc-agenda ul {
    list-style-type: disc;
    padding: 0 0 0 32px;
}
#bloc-agenda li {
    padding-bottom: 1em;
    margin-bottom: 1em;
}

#bloc-agenda .event-date {
    display: block;
    font-weight: 600;
    color: #000;
}

#bloc-agenda .event-lieu {
    display: block;
}

#bloc-agenda .event-titre {
    display: inline-block;
}

/* Page evenement */

.page-evenement .c-article .entete {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin-bottom: 1em;
    padding: 1em 0.5em;
    background-color: #f8f8f8;
}

.page-evenement .c-article .entete p {
    margin: 0;
}
.page-evenement .c-article .entete p.event-dates {
    color: #007200;
    font-weight: 600;
}

.page-evenement .c-article .entete p span {
    font-weight: normal;
    color: #555;
}
.page-evenement .c-article .event-url {
    margin-top: 5em;
    padding: 0.5em;
    border-top: 1px solid #ccc;
}


.bloc-commentaires ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.bloc-commentaires li {
    margin-bottom: 2em;
}

.bloc-commentaires li .f-texte {
    display: inline-block;
    width: 100%;
    padding: 0 1em;
    overflow: hidden;
    background-color: #e7e7e7;
    border-radius: 15px;
    color: #000;
}
.bloc-commentaires li .f-qui {
    margin-bottom: 0.5em;
}

.bloc-commentaires li .f-date {
    font-size: 0.95em;
}

.banane {
    display: none;
}


.f-success {
    font-weight: bold;
}

.form-comment .f-erreurs {
    font-weight: bold;
    color: #F00;
}
.form-comment .f-erreurs span {
    display: block;
}
.form-group.f-boutons {
    margin-bottom:0 ;
}


.documents_portfolio {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 16px;
}
.documents_portfolio img {
    border: 1px solid #aaa;
}

#histo-breve {
    padding: 0 1em 0 1em;
}
#histo-breve header {
    font-size: 1.4em;
    font-weight: bold;
}

.liste-breves {
    list-style-type: none;
    margin: 1em 0 2em 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.liste-breves li {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}
.liste-breves li:hover {
    background-color: #0002;
}
.liste-breves li a:before {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    content: "";
}

.liste-breves li span.date {
    font-size: small;
    color: #555;
}

.calendrier-archives {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    padding: 0 1em 1em 1em;
}



.pagination ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 5px;
}

.pagination li a,
.pagination li span {
    display: block;
    flex-basis: 100%;
    background: #f0f0f0;
    text-decoration: none;
    text-align: center;
    padding: 7px 7px !important;
    min-width: 36px;
    min-height: 36px;
    height: 36px;
    line-height: 24px;
    font-size: 12px;
    font-family: sans-serif;
    border-radius: 50%;
    border: none;
    color: #555 !important;
}
.pagination li a:hover,
.pagination li span.on {
    background: #333;
    color: #fff !important;
}
.pagination li.tbc span {
    background: transparent;
}


@media (min-width: 576px) {
    #c-content .c-article {
        padding: 1.6rem;
    }
    #c-content .c-article.c-rub-breve {
        padding: 1em 0;
    }
}

@media (min-width: 768px) {
    .liste-sommaire li {
        padding-bottom: 4px; 
    }
    .c-item picture {
        width: 180px;
    }
}

@media (min-width: 992px) { 
    .liste-breves {
        gap: 0.25em;
    }
    .liste-breves li {
        flex-direction: row-reverse;
        justify-content: flex-end;
        align-items: center;
    }
    .liste-breves li a {
        font-size: 1.2em;
    }
    .liste-breves li span.date {
        margin-right: 1em;
    }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
    .breve-items .item-content h2 {
        font-size: 1.5em;
    }

    .c-item {
        padding: 2rem 0;
    }
}

@media (min-width: 1400px) {
    .c-items .item-content {
        padding: 0.5em 0 0 0;
    }
    .c-items .date {
        font-size: 0.9rem;
        margin-top: 0.25rem;
    }
    .c-items .line3max {
        margin-top: 5px;
    }

    .c-item .item-content h2,
    #c-content .c-article .c-item .item-content h2 {
        font-size: 1.5rem;
        line-height: 1.5rem;
    }
}