/*
Theme Name: Splash Child
Theme URI: https://stylemixthemes.com/
Description: Thème enfant Splash avec personnalisations historiques du site FCGM.
Author: JCOM Création
Template: splash
Version: 1.3.0
Text Domain: splash-child
*/

/* Personnalisations historiques reprises du parent Splash 99.3.5. */
/* Modifications FRED 28/11/2022 */

#badge1 a:hover {
    text-decoration: none;
}
#badge1 a {
    font-size: 18px;
    font-weight: bold;
    color: white;
    border: 2px solid white;
    padding: 10px 15px;
    border-radius: 100px;
    background-color: #0211ab;
}

#badge1 span:after {
    content: '+';
    border: 2px solid white;
    padding: 0 5px;
    font-size: 16px;
    line-height: 18px;
    margin-left: 8px;
    font-weight: normal;
    display: inline-block;
    border-radius: 100px;
}
@media screen and (max-width: 787px) {
    #badge1 {
        display: block !important;
        position: absolute;
        right: 20px;
        top: 104px;
        z-index: 10000;
    }
}
@media screen and (max-width: 400px) {
    #badge1 a {
        padding: 10px;
        font-size: 14px;
    }
}
@media screen and (min-width: 788px) {
    .stm-header div.stm-header-inner {
        max-height: inherit !important;
        padding: 20px 0 0 ! important;
    }
    .header_3 .stm-header .stm-main-menu {
        text-align: center !important;
    }
    .stm-main-menu .stm-main-menu-unit {
        margin-top: 15px !important;
    }
    .bloglogo img {
        width: 130px !important;
    }
    .stm-header .logo-main {
        float: none;
        max-width: inherit;
        text-align: center;
    }
}

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

    /* Affichage tableaux classements */
    body.page-id-7350 .sp-template-league-table .sp-table-wrapper .sp-scrollable-table-wrapper {
        overflow: scroll !important;
    }
    .stm-header .stm-header-background {
        opacity: 1 !important;
        background-position: 50% 78% !important;
    }
    body.single-sp_team .sp-template-league-table .stm-single-league .sp-table-wrapper.sp-scrollable-table-wrapper,
    body.home .sp-template-league-table .stm-single-league .sp-table-wrapper.sp-scrollable-table-wrapper,
    body.page-id-11231 .sp-template-league-table .stm-single-league .sp-table-wrapper.sp-scrollable-table-wrapper,
    body.page-id-11230 .sp-template-league-table .stm-single-league .sp-table-wrapper.sp-scrollable-table-wrapper,
    body.page-id-12269 .sp-template-league-table .stm-single-league .sp-table-wrapper.sp-scrollable-table-wrapper {
        overflow: scroll !important;
    }
    .sp-template-league-table .stm-single-league .sp-table-wrapper.sp-scrollable-table-wrapper:not(.ps) {
        overflow: scroll !important;
    }
    .splashSoccer .vc_tta-tabs-container .vc_tta-tabs-list {
        overflow: scroll !important;
    }
    .sp-template-league-table .sp-table-wrapper:not(.ps) .sp-scrollable-table-wrapper {
        overflow: scroll !important;
    }
    .splashSoccer .sp-data-table.sp-event-blocks tbody td a {
        white-space: normal !important;
    }

    /* Page Club Favori */
    body.single-sp_team .stm-single-sp_team .sp-post-content {
        clear: both !important;
    }

}

.stm-header .stm-header-background {
    opacity: 1 !important;
    background-position: 50% 78% !important;
}

.recap-wrap .arrow-recap-l {
    left: -10px;
    transition: all 0.5s;
}
.recap-wrap .arrow-recap-r {
    right: -10px;
    float: right;
    transition: all 0.5s;
}
.recap-wrap .arrow-recap-l:hover,
.recap-wrap .arrow-recap-r:hover {
    cursor: pointer;
    background-color: inherit;
    fill: #00d1b2;
    transition: all 0.5s;
}
.recap-wrap .arrow-recap-l,
.recap-wrap .arrow-recap-r {
    height: 30px;
    width: 30px;
    position: absolute;
    top: 50px;
    background-color: #4b83d9;
    fill: white;
    transition: all 0.5s;
    z-index: 2;
}
.recap-wrap table.sp-data-table.sp-event-blocks .sp-event-date a {
    display: block;
    width: 100%;
    position: absolute;
    font-size: 13px;
}
.recap-wrap table.sp-data-table.sp-event-blocks .sp-event-date {
    position: relative;
}
.recap-wrap .sp-event-blocks {
    display: block;
}
.recap-wrap .sp-event-blocks tbody {
    display: flex;
    overflow-x: hidden;
    max-width: 1100px;
    margin: auto;
}
.recap-wrap .sp-event-blocks .team-logo img {
    width: 35px;
}
.recap-wrap .sp-event-blocks td {
    display: block;
    height: 130px !important;
    width: 275px;
}
.recap-wrap .sp-event-blocks .sp-event-league {
    width: 100%;
    margin: 0;
    padding: 0;
}
.recap-wrap table.sp-data-table.sp-event-blocks .sp-event-title a {
    width: 100%;
    display: block;
    white-space: nowrap;
    font-size: 13px;
    font-weight: bold;
    float: left;
    margin-top: -15px;
}
.recap-wrap .sp-event-blocks .sp-event-season {
    display: none;
}
.recap-wrap .sp-event-blocks .sp-event-league,
.recap-wrap .sp-event-blocks .sp-event-results {
    font-size: small;
}
.recap-wrap .sp-event-blocks .sp-event-results {
    margin-top: 35px !important;
}
.recap-wrap .lnk-matchs {
    display: block;
    text-align: center;
    font-size: 16px;
    margin: auto;
    color: #00d1b2;
    margin-top: -15px;
    padding: 5px 10px;
    border: 1px solid #00d1b2;
    border-radius: 10px;
    background-color: #011c69;
    width: fit-content;
}
.recap-wrap .paging_simple_numbers {
    display: none;
}
.recap-match-col .vc_column-inner > .wpb_wrapper {
    position: relative;
    margin-top: 10px;
}
.recap-match-col .vc_column-inner > .wpb_wrapper .wpb_content_element {
    margin-bottom: 10px;
}
@media screen and (max-width: 560px) {
    .recap-match-col .vc_column-inner > .wpb_wrapper {
        position: relative;
        margin: auto;
        margin-top: 10px;
        width: fit-content;
    }
    .recap-wrap .sp-event-blocks tbody {
        max-width: 275px;
    }
    .recap-wrap {
        width: 275px;
        margin: auto;
    }
}

#id-6951 .carousel-slider-nav-icon,
#id-8097 .carousel-slider-nav-icon {
    height: 30px !important;
    width: 30px !important;
}

.owl-prev,
.owl-next {
    height: 30px !important;
    width: 30px !important;
    background-color: #4b83d9 !important;
    fill: white !important;
    transition: all 0.5s !important;
}
#id-6983 .carousel-slider-nav-icon:hover {
    fill: #00d1b2 !important;
}
#id-6983 .carousel-slider-nav-icon,
#id-10615 .carousel-slider-nav-icon {
    height: 30px !important;
    width: 30px !important;
}
.owl-prev:hover,
.owl-next:hover {
    cursor: pointer !important;
    background-color: inherit !important;
    fill: #00d1b2 !important;
    transition: all 0.5s !important;
}
#id-6951 .carousel-slider-nav-icon:hover,
#id-8097 .carousel-slider-nav-icon:hover {
    fill: #00d1b2 !important;
}

@media screen and (max-width: 1200px) {
    .owl-prev {
        left: -10px !important;
    }
    .owl-next {
        right: -10px !important;
    }
}

/* Slider accueil */
#rev_slider_4_1_wrapper a {
    border: none !important;
    border-style: none !important;
    border-width: 0;
}

/* Icon matchs live */
.live-icon {
    display: block;
    margin: -15px auto 15px;
    height: 40px;
    width: 50px;
    background: url('/wp-content/uploads/2023/01/live-icon-blue.png') no-repeat;
    background-size: contain;
}

/* Blink effect */
.blink {
    animation: blink-animation 2s steps(5, start) infinite;
    -webkit-animation: blink-animation 2s steps(5, start) infinite;
}
@keyframes blink-animation {
    to {
        visibility: hidden;
    }
}
@-webkit-keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

/* Accueil : Prochains matchs */
.vc_next_match .countdown {
    display: none;
}
.vc_next_match .countdown:nth-of-type(1) {
    display: block;
    margin-bottom: 40px !important;
}
.vc_next_match .match_info {
    padding: 20px 10px !important;
    color: #11338d !important;
    line-height: 0px !important;
}
.vc_next_match .match_info span.venue {
    color: #4b83d9;
}
.vc_next_match .commands {
    margin-top: -30px;
}


/* Modifs Fred 03/2024 */
/* Tableau des scores page Accueil et autres résultats */
.splashSoccer .array-orange .sp-data-table tbody td,
.splashSoccer .array-orange .sp-data-table tfoot td,
.splashSoccer .array-orange .vc_tta-tabs-container .vc_tta-tabs-list li a {
    background: #d55400 !important;
}
.splashSoccer .array-orange .sp-data-table tbody tr:nth-child(2n) td,
.splashSoccer .array-orange .sp-data-table tfoot tr:nth-child(2n) td,
.splashSoccer .array-orange .vc_tta-tabs-container .vc_tta-tabs-list li.vc_active a,
.splashSoccer .array-orange .vc_tta-tabs-container .vc_tta-tabs-list li a:hover {
    background: #ff6900 !important;
}
.splashSoccer .array-vert .sp-data-table tbody td,
.splashSoccer .array-vert .sp-data-table tfoot td,
.splashSoccer .array-vert .vc_tta-tabs-container .vc_tta-tabs-list li a {
    background: #009113 !important;
}
.splashSoccer .array-vert .sp-data-table tbody tr:nth-child(2n) td,
.splashSoccer .array-vert .sp-data-table tfoot tr:nth-child(2n) td,
.splashSoccer .array-vert .vc_tta-tabs-container .vc_tta-tabs-list li.vc_active a,
.splashSoccer .array-vert .vc_tta-tabs-container .vc_tta-tabs-list li a:hover {
    background: #00be14 !important;
}
.array-orange table.sp-data-table.sp-event-blocks .sp-event-season,
.array-orange table.sp-data-table.sp-event-blocks .sp-event-venue,
.array-orange table.sp-data-table.sp-event-blocks .sp-event-league,
.array-vert table.sp-data-table.sp-event-blocks .sp-event-season,
.array-vert table.sp-data-table.sp-event-blocks .sp-event-venue,
.array-vert table.sp-data-table.sp-event-block²s .sp-event-league {
    color: white;
}


/* Modifs Fred 02/2025 */
.phase-de-ligue-20-clubs .dataTables_wrapper .sp-league-table tbody > tr.odd:nth-child(n+1):nth-child(-n+4) td,
.phase-de-ligue-20-clubs .dataTables_wrapper .sp-league-table tbody > tr.even:nth-child(n+1):nth-child(-n+4) td {
    background-color: #011c69 !important;
}
.phase-de-ligue-20-clubs .dataTables_wrapper .sp-league-table tbody > tr.odd:nth-child(n+5):nth-child(-n+12) td,
.phase-de-ligue-20-clubs .dataTables_wrapper .sp-league-table tbody > tr.even:nth-child(n+5):nth-child(-n+12) td {
    background-color: #11338d !important;
}
.phase-de-ligue-20-clubs .dataTables_wrapper .sp-league-table tbody > tr.odd:nth-child(n+13):nth-child(-n+20) td,
.phase-de-ligue-20-clubs .dataTables_wrapper .sp-league-table tbody > tr.even:nth-child(n+13):nth-child(-n+20) td {
    background-color: #d55400 !important;
}

.phase-de-ligue-24-clubs .dataTables_wrapper .sp-league-table tbody > tr.odd:nth-child(n+1):nth-child(-n+4) td,
.phase-de-ligue-24-clubs .dataTables_wrapper .sp-league-table tbody > tr.even:nth-child(n+1):nth-child(-n+4) td {
    background-color: #011c69 !important;
}
.phase-de-ligue-24-clubs .dataTables_wrapper .sp-league-table tbody > tr.odd:nth-child(n+5):nth-child(-n+12) td,
.phase-de-ligue-24-clubs .dataTables_wrapper .sp-league-table tbody > tr.even:nth-child(n+5):nth-child(-n+12) td {
    background-color: #11338d !important;
}
.phase-de-ligue-24-clubs .dataTables_wrapper .sp-league-table tbody > tr.odd:nth-child(n+13):nth-child(-n+24) td,
.phase-de-ligue-24-clubs .dataTables_wrapper .sp-league-table tbody > tr.even:nth-child(n+13):nth-child(-n+24) td {
    background-color: #d55400 !important;
}

.phase-de-ligue-40-clubs .dataTables_wrapper .sp-league-table tbody > tr.odd:nth-child(n+1):nth-child(-n+8) td,
.phase-de-ligue-40-clubs .dataTables_wrapper .sp-league-table tbody > tr.even:nth-child(n+1):nth-child(-n+8) td {
    background-color: #011c69 !important;
}
.phase-de-ligue-40-clubs .dataTables_wrapper .sp-league-table tbody > tr.odd:nth-child(n+9):nth-child(-n+24) td,
.phase-de-ligue-40-clubs .dataTables_wrapper .sp-league-table tbody > tr.even:nth-child(n+9):nth-child(-n+24) td {
    background-color: #11338d !important;
}
.phase-de-ligue-40-clubs .dataTables_wrapper .sp-league-table tbody > tr.odd:nth-child(n+25):nth-child(-n+32) td,
.phase-de-ligue-40-clubs .dataTables_wrapper .sp-league-table tbody > tr.even:nth-child(n+25):nth-child(-n+32) td {
    background-color: #d55400 !important;
}
.phase-de-ligue-40-clubs .dataTables_wrapper .sp-league-table tbody > tr.odd:nth-child(n+33):nth-child(-n+40) td,
.phase-de-ligue-40-clubs .dataTables_wrapper .sp-league-table tbody > tr.even:nth-child(n+33):nth-child(-n+40) td {
    background-color: #009113 !important;
}


/* JCOM 1.3 — placement du bouton historique (sans surcharge du header.php parent). */
.jcom-club-favori {
    position: absolute;
    right: 18px;
    top: 4px;
    z-index: 10000;
}
@media screen and (max-width: 787px) {
    .jcom-club-favori { right: 20px; top: 104px; }
}

/* JCOM 1.3 — respiration du récapitulatif des matchs sur l'accueil. */
.home .recap-wrap {
    padding-top: 18px;
    padding-bottom: 16px;
}
.home .recap-wrap .lnk-matchs {
    margin-top: 10px;
}
