/*
Theme Name:  FTF V5 
Theme URI: https://www.ftf.pf/
Author: ISI.PF
Author URI: https://www.isi.pf/
Template: ri-maxazine
Description: FTF
Version: 5.0.0
*/

@font-face {
    font-family: "Avenir";
    src: url("/cms/wp-content/themes/ftfv5/fonts/avenir-light.woff") format('woff');
}

@font-face {
    font-family: "Avenir";
    src: url("/cms/wp-content/themes/ftfv5/fonts/avenir-roman.woff") format('woff');
}

@font-face {
  font-family: 'isipf-fonts';
  src:  url('fonts/isipf-fonts.eot?rxq0nv');
  src:  url('fonts/isipf-fonts.eot?rxq0nv#iefix') format('embedded-opentype'),
    url('fonts/isipf-fonts.ttf?rxq0nv') format('truetype'),
    url('fonts/isipf-fonts.woff?rxq0nv') format('woff'),
    url('fonts/isipf-fonts.svg?rxq0nv#isipf-fonts') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'isipf-fonts' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-ford:before {
  content: "\e900";
}
.icon-coca-cola:before {
  content: "\e901";
}
.icon-ijspf:before {
  content: "\e902";
}
.icon-opt:before {
  content: "\e903";
}
.icon-socredo:before {
  content: "\e904";
}
.icon-vini:before {
  content: "\e905";
}



body, p, a, h1, h2, h3 {
    font-family: "Avenir";
}

p {
    font-size: 14px;
}

.wpb_content_element {
    margin-bottom: 20px !important;
}

.title-widget h3 {
    margin: 0 0 30px;
}

.home .title-widget h3 {
    font-size: 20px;
}

#header-style-2 .wrapper-logo {
    display : inline-block;
}

#header-style-2 .site-description {
    display: inline-block;
    vertical-align: top;
    padding-top:20px;
    padding-left:20px;
    text-transform: uppercase;
    font-family: "Avenir";
    font-weight: 400;
    font-size: 22px;
    color: white;
}

@media (max-width: 1200px) and (min-width: 992px) {
    #header-style-2 .site-description {
        max-width:350px;
    }
}

@media (max-width: 991px) {
    #header-style-2 .site-description {
        padding-top:15px;
    }
}

@media (max-width: 768px) {
    #header-style-2 .site-description {
        max-width: calc(100% - 70px);
        font-size: 16px;
    }
}

@media (max-width: 540px) {
    #header-style-2 #logo img {
        display: none;
    }
    #header-style-2 .site-description {
        max-width: calc(90%);
        padding-left: 0;
        padding-top: 5px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .list-style.post .header-blog-item {
        padding-top: 10px;
    }
}


#header-style-2 #logo img {
    height: 100px;
    width: auto;
}

#header-style-2 #logo-sticky {

}

#header-style-2 #rit-main-header .wrapper-top-nav {
    background:#da291c; 
}

#rit-top-header {
  background: #da291c;
  height: 20px;
  line-height: 20px;
}

#rit-top-header #rit-headline,
#rit-top-header #rit-right-top-header {
    height: 20px;
}

#rit-top-header .sidebar-item{
    padding-bottom: 0;
    width: auto;
    position: relative;
    top: -5px;
}
#rit-top-header .textwidget {
    color: #FFF;
    font-family: "Avenir";
    font-size: 12px;
}

#rit-top-header .rit-socail-page{
    line-height: 20px;
}

.header-group-style #rit-right-top-header .rit-socail-page a.socail-item i {
    color: #fff;
}


#header-style-2 .header-group-style #top-main-widget {
    padding: 15px 0;
}

#primary-menu {
    background: #b22;
}

@media (max-width: 1200px) {
    #primary-menu >li>a {
        padding: 15px 15px;
    }
    #primary-menu>li.menu-item-has-children>a:after {
        content: none;
    }
}
/*--------For mobile menu---------*/
.mobile-nav span,
.mobile-nav span:after,
.mobile-nav span:before {
    background: #FFFFFF;
}

#header-style-2 #activesearch {
    color: #FFFFFF;
}

.home .page .rit-breadcrumb {
    display: none;
}

#home_spotlight .wrapper-slider .rit-blog-carousel .blog-carousel-item:after {
    background: rgba(0,0,0,0.1);
}

#home_spotlight .vertical-carousel .wrapper-info {
    background: rgba(0,0,0,0.5);
    width:80% !important;
    top:70%;
    left:15px;
    position:absolute;
    padding:15px;
}

#home_spotlight .rit-blog-carousel h3.title-post a,
#home_spotlight .rit-blog-carousel h3.title-post a:hover {
    color:white !important;
    font-weight: 500;
}

/** footer */

#rit-main-footer {
    background: #EBEBEB;
    padding: 10px 0 20px;
}

#rit-main-footer .banner-group-title {
    padding: 10px 0;
    margin-bottom: 0 !important;
}

#rit-bottom-footer,
#rit-bottom-footer #bottom-page,
#rit-footer #rit-bottom-footer {
    background: #777;
}

.footer-center #rit-bottom-footer {
    padding: 20px 0;
}


/* ------------  tabs TPS pour competition / ranking et results -------- */
#home_spotlight .vc_tta.vc_general .vc_tta-tab>a,
.results_widget.vc_tta.vc_general .vc_tta-tab>a {
    padding-top: 0;
    padding-bottom: 10px;
}

#home_spotlight .vc_tta-tab,
#home_spotlight .vc_tta-tab>a,
{
    background-color: #da291c;
}
#home_spotlight .vc_tta-panel-body,
.results_widget .vc_tta-panel-body {
    background-color: #b22;
}

.results_widget.vc_tta-tabs .vc_tta-tab.vc_active>a,
li.vc_tta-tab.vc_active > a,
.results_widget.vc_tta-style-flat .vc_tta-tab.vc_active>a {
    border: none !important;
    border-bottom: #da291c 4px solid !important;
    background-color: white !important;
}
#home_spotlight .vc_tta-tab.vc_active>a {
    border: none;
    border-bottom: #fff 4px solid;
    background-color: #da291c;
}

.results_widget.vc_tta-tabs.vc_tta-style-flat .vc_tta-tab>a,
.results_widget.vc_tta-tabs.vc_tta-style-flat .vc_tta-tab>a:hover {
    background-color: white;
}

.results_widget .vc_tta-tab .vc_tta-title-text {
    color: black;
    text-transform: uppercase;
    font-weight: 600;
}
#home_spotlight .vc_tta-tab .vc_tta-title-text {
    color: white;
}

/* ------------  TPS ranking esults -------- */


.results_widget .game-result,
.results_widget .game-result a,
.results_widget .game-result a:hover {
    color: #555;
}

.game-result {
    display: block;
    width: 100%;
    clear: both;
}
.game-result .s-scoreText {
    text-align: center;
    font-size: 20px;
}

.game-result .s-startTime {
    text-align: center;
    font-size: 16px;
}

.game-result .s-status-abbr {
    text-align: center;
    font-size: 12px;
    line-height: 12px;
}
.game-result .s-status-live {
    color: #fff;
    font-size: 12px;
    line-height: 12px;
    text-align: center;
    background-color: #da291c;
    width: 35px;
    margin: 0 auto;
    padding: 2px;
}
.game-result .stadium {
    font-size: 10px;
    clear: right;
    line-height: 20px;
    color: #AAA;
}

#sidebar-right .game-result .team-abrv { font-size: 14px; }
#sidebar-right .game-result .s-scoreText { font-size: 16px; }
#sidebar-right .game-result .s-startTime { font-size: 14px; }
#sidebar-right .game-result .s-status-abbr { font-size: 12px; }
#sidebar-right .game-result .stadium { font-size: 9px; line-height: 16px; }

/* ------------  TPS ranking -------- */

.tbl-ranking thead>tr>th,
.tbl-ranking tfoot>tr>th, 
.tbl-ranking thead>tr>td,
.tbl-ranking tfoot>tr>td {
    padding: 0;
    color: #666;
    font-size: 11px;
    line-height: 20px;
    text-align: center;
}

.tbl-ranking tbody>tr .tbl-rank {
    padding: 8px 0;
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
}

.tbl-ranking tbody>tr .tbl-teamname {
    text-align: left;
    font-size: 16px;
    line-height: 24px;
    text-align: left;
}

.tbl-ranking tbody>tr .tbl-points {
    text-align: center;
    font-weight: 600;
}

.tbl-ranking tbody>tr .tbl-games {
    text-align: center;
    font-size: 14px;
    font-weight: 400;
}
#sidebar-right .tbl-ranking tbody>tr .tbl-teamname { font-size: 14px; }


.grid-carousel .blog-carousel-item .rit-grid-layout .list-cat {
    margin-bottom: 0px; 
}
.grid-carousel .blog-carousel-item .rit-grid-layout .list-cat a {
    padding: 3px 0px;

}
.wrapper-slider.grid-carousel .rit-grid-layout.first-slider-item .title-post {
    margin: 0px 0 10px;
}


.rit-wrapper-news .rit-news-item {
    padding: 0;
    margin-bottom: 15px;
}

.rit-news-normal .rit-title-news {
    margin:0;
}

.rit-news-normal .rit-title-news a {
    font-size: 16px;
    font-weight: 500;
}
.rit-news-normal .rit-title-news a:hover {
    color: #da291c;
    text-decoration: none;
}

.rit-news-normal .rit-news-info {
    font-size: 12px;
    line-height: 12px;
    padding: 5px 0;
}
.rit-news-normal .rit-description p {
    line-height: 20px;
}

/** Logos partenaires */

.rit_banner_grid {
    text-align: center;
} 
.rit_banner_grid li.banner_item {
    display: inline-block;
    padding-right: 0px;
}
.rit_banner_grid li.banner_item:last-child,

.offi-partners .rit_banner_grid img {
  width: 85px;
}

.offi-sponsors .rit_banner_grid img {
  width: 65px;
}

@media (max-width: 1200px){
 .offi-partners .rit_banner_grid img {
   width: 70px;
 }
}

@media (max-width: 992px){
 .offi-partners .rit_banner_grid img {
   width: 85px; /* sur 1 colonne page entiere */
 }
}

#highlight-partners-banner .rit_banner_grid li.banner_item:last-child{
    padding-right: 0;
}

#highlight-partners-banner .rit_banner_grid li.banner_item { padding-right: 60px; }

@media (max-width: 1200px) {
    #highlight-partners-banner .rit_banner_grid li.banner_item { padding-right: 20px; }
}

@media (max-width: 768px) {
    #highlight-partners-banner .rit_banner_grid li.banner_item { padding-right: 40px; }
}

/***   Newsletter Mailchimp  ******/

.mc4wp-form {
    background: #da291c;
    padding: 5px 15px;
}

.mc4wp-form h3 {
    color: #FFF;
    margin: 20px 0;
}

.mc4wp-form p {
    color: white;
    font-weight: 500;
}

.mc4wp-form #mc4wp_button {
    background: #fff;
    color:#777;
    font-weight: 600;
}

.mc4wp-form #mc4wp_button:active {
    color: #000;
}

#footer-socail .rit-socail-page a i {
    color: #7d7d7d;
}

#rit-main-footer #footer-socail {
    text-align: left;
}

#footer-socail {
    padding: 0px !important;
}

.col-md-6.footer-partners {
    margin-top: 20px;
}

.offi-partners li {
    /* width: 30%; */
    padding: 0px !important;
}

#rit-main-footer .wpb_text_column.wpb_content_element{
    margin-bottom: 10px !important;
    margin-top: 10px;
}

.game-fixtures .pull-right.team-abrv{
    text-align: right;
}


@media (max-width: 991px) and (min-width: 768px) {
    .game-fixtures .team-abrv{
        font-size: 12px;
    }

    .game-fixtures .s-scoreText{
        font-size: 14px;
    }

    .game-fixtures .s-status-abbr,
    .game-fixtures .s-startTime,
    .game-fixtures .s-status-live,
    .game-fixtures .stadium{
        font-size: 10px;
    }


}

.menu-autres-container .menu{
    z-index: 99;
}

.menu-autres-container .menu > li {
    display: block !important;
}

.menu-autres-container .menu > li > a {
    padding: 5px;
}

.menu-autres-container .menu > li.menu-item-has-children > a:after {
    content: "";
}

.menu-autres-container .menu > li ul{
    display: inline-block !important;
    top: 0px;
    position: relative;
    opacity: 1;
    visibility: visible;
    animation: none;
    background: transparent;
    padding: 0px;
}

.menu-autres-container .menu > li ul > li{
    width: auto;
    display: inline-block;
}

.menu-autres-container .menu > li ul > li a{
    color: #3f3f3f;
}

.slider-copyright {
    position: absolute;
    display: inline-block;
    text-align: right;
    color: #fff;
    z-index: 9;
    bottom: 0;
    right: 0;
    padding: 5px;
}

#mega-menu-wrap-primary{
    background-color: #b22 !important;
}
#mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link{
    background-color: #a20 !important;
    color: #fff !important;
}
