@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1140px !important;
    }
}

.post,
.page {
    margin: 0;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 0;
}

p {
    margin-bottom: 1.5em;
}

a:visited {
    color: inherit;
}

.dz-divider {
    background: linear-gradient(to right, #118035 33.33%, #E5211B 33.33%, #E5211B 66.66%, #fff 66.66%);
}

/* remove contry anti-palestine from select contry */
.iti__flag.iti__il,
#iti-0__item-il,
[data-dial-code="972"],
[data-country-code="il"] {
    display: none !important;
    visibility: hidden !important;
}


/* section title */
.min-title-bg {
    font-family: "Poppins", Sans-serif;
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    color: #118035;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.title-bg {
    position: absolute;
    left: -15px;
    top: -0.6em;
    white-space: nowrap;
    font-size: 1.1em;
    opacity: 0.25;
    color: #BBB;
    letter-spacing: 1.5px;
    z-index: 2;
    width: auto;
    overflow: hidden;
}

.title-bg-divider .title-bg-divider-separator {
    display: flex;
    width: 230px;
    border-block-start: 1px solid #000;
}

@media (max-width: 767px) {
    .title-bg {
        left: 50%;
        -webkit-transform: translate3d(-50%, 0, 0);
        transform: translate3d(-50%, 0, 0);
    }
}

/* header */
header#masthead {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.hfe-nav-menu-icon * {
    outline: none;
}

/* banniere page and articles and blog archive */
.banniere-wrapper {
    position: relative;
    background: url(../img/page-header.png) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    padding-top: 110px;
    padding-bottom: 100px;
}

.banniere-wrapper .b-overly {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.banniere-wrapper-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    position: relative;
    z-index: 3;
}

.banniere-wrapper-content .banniere-title {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    font-family: 'Playfair Display';
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .banniere-wrapper-content .banniere-title {
        font-size: 42px;
    }
}

@media (max-width: 767px) {
    .banniere-wrapper-content .banniere-title {
        font-size: 32px;
    }
}

/* single post  */
.single-post-banniere .sp-banniere-wrapper {
    position: relative;
    background-color: #118035;
    padding-top: 50px;
    padding-bottom: 70px;
    border-radius: 0 0 45px 45px;
}

.sp-banniere-wrapper-content {
    font-family: "Open Sans", sans-serif;
    display: flex;
    flex-direction: column;
    color: #fff;
    position: relative;
    z-index: 3;
    padding: 0 30px;
}

.s-post-category,
.s-post-category a {
    color: #fff;
}

.sp-banniere-wrapper-content .sp-banniere-title {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
}

.sp-banniere-wrapper-content .s-post_excerpt {
    font-size: 20px;
    font-weight: 300;
}

.s-post_date {
    font-weight: 500;
    margin-bottom: 5px;
}

.afvb-single-post {
    background-color: #F3F9F3;
}

.main-post-image {
    margin-top: -60px;
    position: relative;
    z-index: 9;
}

.post-image-wrapper {
    padding: 0 15px;
}

.main-post-image img {
    border-radius: 30px;
    width: 100%;
}

.single-post-content-wrapper {
    max-width: 767px;
    padding: 20px;
    font-size: 20px;
    color: #000;
    padding-top: 60px;
    padding-bottom: 80px;
    margin-left: auto;
    margin-right: auto;
    font-family: "Open Sans", sans-serif;
}

.single-post-content-wrapper ul,
.single-post-content-wrapper ol {
    margin-left: 0;
    margin-right: 0;
}

.single-post-content-wrapper ul li::marker {

    color: #118035;
}

.single-post-content-wrapper tbody,
.single-post-content-wrapper table,
.single-post-content-wrapper td,
.single-post-content-wrapper tfoot,
.single-post-content-wrapper th,
.single-post-content-wrapper thead,
.single-post-content-wrapper tr {
    border: 1px solid;
    border-collapse: collapse;
}

.single-post-content-wrapper a,
.single-post-content-wrapper a:focus,
.single-post-content-wrapper a:active {
    color: inherit;
}

.single-post-content-wrapper a:hover {
    color: #118035;
}

.tag-btn {
    border-radius: 0;
    background-color: #e5e5e5;
    border: none;
    color: #7e7d7d;
}

.tag-btn:hover,
.tag-btn a:hover {
    color: #000;
}

/* blog (archive , categories, derniers act single page ... */
.act-blog {
    padding-top: 70px;
    padding-bottom: 80px;
    font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
}

.act-blog.lastpost {
    padding-top: 40px;
    padding-bottom: 50px;
}

.act-blog .act-blog-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 0;
}

.act-blog .act-blog-wrapper .post_item {
    padding: 10px;
    background-color: #F8F6F2;
    border: none;
    min-height: 100%;
}

.act-blog .act-blog-wrapper .post_item .banniere_wrapper {
    height: 240px;
    overflow: hidden;
}

.act-blog .act-blog-wrapper .post_item img {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.act-blog .act-blog-wrapper .card-body {
    padding: 15px 10px;
}

.act-blog .act-blog-wrapper .post_item .card-date {
    font-size: 13px;
    font-weight: 600;
    color: #6c6c6c;
}

.act-blog .act-blog-wrapper .post_item .card-title,
.act-blog .act-blog-wrapper .post_item .card-title a {
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    color: #020420;
    text-align: justify;
    transition: all .3s;
}

.act-blog .act-blog-wrapper .post_item .card-title a:hover {
    color: #E5211B;
}

.act-blog .act-blog-wrapper .post_item .post-item-category {
    font-size: 12px;
    text-transform: uppercase;
    color: #020420;
    font-weight: bold;
}

.act-blog .act-blog-wrapper .post_item .post-item-category a {
    text-decoration: underline;
    color: #020420;
}

.act-blog .act-blog-wrapper .post_item .post-item-category a:hover {
    color: #118035;
}

.sub-categories-list .sub-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0 10px 0;
}

.sub-categories-list .sub-cat-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.sub-categories-list .sub-cat-item:hover {
    color: #E5211B;
}

.sub-categories-list .sub-cat-icon {
    margin-right: 6px;
    font-size: 1.1em;
}
.exerpt-text-truncate {
    font-size: 12px;
    text-align: justify;
}

.exerpt-text-truncate p {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
}

/* resposive single + blog */
@media (max-width: 1024px) {
    .sp-banniere-wrapper-content .sp-banniere-title {
        font-size: 28px;
    }

    .sp-banniere-wrapper-content .s-post_excerpt {
        font-size: 18px;
    }

    .act-blog .act-blog-wrapper .post_item .banniere_wrapper {
        height: 180px;
    }

    .min-title-bg {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    .sp-banniere-wrapper-content .sp-banniere-title {
        font-size: 22px;
    }

    .s-post-category,
    .s-post-category a {
        font-size: 13px;
    }

    .sp-banniere-wrapper-content .s-post_excerpt {
        font-size: 16px;
    }

    .s-post_date {
        font-size: 14px;
    }

    .single-post-content-wrapper {
        max-width: 500px;
        font-size: 18px;
        padding-top: 50px;
        padding-bottom: 70px;
        text-align: center;
    }

    .act-blog .act-blog-wrapper {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .act-blog .act-blog-wrapper .post_item .banniere_wrapper {
        height: 240px;
    }

    .act-blog .act-blog-wrapper .post_item .card-title {
        font-size: 16px;
    }

    .min-title-bg {
        font-size: 22px;
        text-align: center;
    }

    .title-bg-divider .title-bg-divider-separator {
        margin: 0 auto;
    }
}

/*  paginate */
.paginate>.page-numbers {
    display: flex;
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.paginate li a,
.paginate li span,
.paginate li .next {
    padding: 0.375rem 0.75rem;
    position: relative;
    display: block;
    color: #E5211B;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -moz-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -ms-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -o-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.paginate li .current {
    z-index: 3;
    color: #fff;
    background-color: #E5211B;
    border-color: #E5211B;
}

.paginate li a:hover {
    background-color: #E5211B;
    color: #fff;
}

/* accueil : sportspress (resultas calendries...) */
body.home h4.sp-table-caption {
    background-color: #E5211B !important;
    border-color: #E5211B !important;
    color: #fff !important;
    font-family: 'Open Sans';
    font-weight: 700 !important;
    padding: 10px !important;
}

/* accueil - section deniere actualités */
.eael-grid-post .eael-entry-wrapper {
    display: flex;
    flex-direction: column;
}

.eael-grid-post .eael-entry-header-after.style-two {
    order: 1;
}

.eael-grid-post .eael-entry-wrapper .eael-entry-header {
    order: 2;
}

.eael-grid-post .eael-entry-wrapper .eael-entry-content {
    order: 3;
}

.ha-post-list-item .ha-post-list-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* accueil - section accés rapide */
.ha-carousel .slick-next,
.ha-carousel .slick-prev {
    width: auto !important;
    height: auto !important;
    padding: 4px 8px !important;
}

.ha-carousel .slick-prev,
.ha-slider .slick-prev {
    right: calc(1em + 12px) !important;
    left: auto !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.ha-carousel .slick-next,
.ha-slider .slick-next {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

/* accueil - section evenement */
.tec-events-back a {
    transition-duration: 0.3s;
    border: 1PX solid #000000;
    border-radius: 14px;
    padding: 10px 18px 10px 18px;
}

.tec-events-back a:hover {
    background-color: #E5211B;
    color: #FFFFFF !important;
    border-color: #E5211B;
}

.ectbe-wrapper .ectbe-month-header.ectbe-simple-event:after,
.ectbe-wrapper.ectbe-list-wrapper.style-1 .ectbe-date-area {
    background-color: #d5d5d5 !important;
}

.ectbe-list-wrapper.style-2 .ectbe-simple-event .ectbe-content-box,
.style-2 .ectbe-inner-wrapper.ectbe-simple-event {
    border-color: #d5d5d5 !important;
}

#ev_avenir .ectbe-wrapper .ectbe-evt-venue {
    display: none !important;
}

@media (min-width: 768px) {

    .ectbe-list-wrapper .ectbe-inner-wrapper,
    .ectbe-wrapper .ectbe-month-header.ectbe-simple-event:not(:first-child) {
        margin-top: 40px !important;
    }

    .ectbe-evt-img {
        width: 50%;
    }

}

@media (max-width: 767px) {

    .ectbe-list-wrapper .ectbe-inner-wrapper,
    .ectbe-wrapper .ectbe-month-header.ectbe-simple-event:not(:first-child) {
        margin-top: 20px !important;
    }

    .style-2 #ectbe-date {
        padding-top: 0 !important;
    }
}

/* footer */
@media (max-width: 767px) {
    .afvb-footer .elementor-widget-eael-feature-list .eael-feature-list-items.eael-feature-list-horizontal {
        flex-direction: column;
    }
}

/* page evenemment */
.tribe-events .tribe-events-calendar-list__event-title {
    text-transform: uppercase;
}

.tribe-common .tribe-common-anchor-thin:active,
.tribe-common .tribe-common-anchor-thin:focus,
.tribe-common .tribe-common-anchor-thin:hover,
.tribe-common .tribe-common-anchor-thin a,
.tribe-common a {
    border-bottom: none !important;
    outline: none !important;
    text-decoration: none !important;
}

.tribe-common a:hover {
    color: #E5211B !important;
}

/* SPORTS PRESS  */
.spotspress-entry-content {
    padding: 80px 20px;
}

.spotspress-entry-content .sp-section-content.sp-section-content-logos {
    background: url(../img/sportspress-wrapper.png) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    padding: 20px 10px 10px 10px;
    margin-bottom: 40px;
    border-radius: 7px;
}

.favb-match .sp-template-event-logos .sp-team-name,
.favb-match .sp-template-event-logos .sp-team-result,
.spotspress-entry-content .sp-template-event-logos .sp-team-name,
.spotspress-entry-content .sp-template-event-logos .sp-team-result {
    color: #fff !important;
    font-weight: 900 !important;
}

.favb-match .sp-team-result {
    display: none !important;
}

.favb-match .sp-template .sp-event-logos,
.spotspress-entry-content .sp-template .sp-event-logos {
    color: #E5211B !important;
    text-transform: uppercase !important;
    font-size: 28px;
    font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 900 !important;
}

.favb-match .sp-event-logos-2 .sp-team-logo img,
.spotspress-entry-content .sp-event-logos-2 .sp-team-logo img {
    margin-left: 10px;
    margin-right: 10px;
}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
    display: none;
}

/* palmaries tables */
@media (max-width: 1024px) {
    .ha-table__body .ha-table__body-row-cell-wrap {
        padding: 10px !important;
    }
}