/** Filters **/

#filters-home{
    display:inline-block;
    width: 100%;
    padding:15px;
}
#filters{
    display:inline-block;
    width: 100%;
    background-color:#2d5b8c;
    padding:15px;
  }
  #filters .filtre,
  #filters .more-filters{
    position:relative;
    display:inline-block;
    width:24.2%;
    margin-right:5px;
    margin-bottom:10px;
    padding:15px;
    border:1px solid #fff;
    border-radius:0;
    color:#fff;
    font-size:1.2em;
    -webkit-transition: background 1s; /* Safari prior 6.1 */
    transition: background 1s;
  }
  #filters-home .filtre{
    position:relative;
    display:inline-block;
    width:100%;
    margin-bottom:10px;
    border-radius:0;
    color:#000;
    font-size:1.2em;
    -webkit-transition: background 1s; /* Safari prior 6.1 */
    transition: background 1s;
  }

  #filters-home .fa-check{
    display: inline-block;
    font-size: 0.8em;
    margin-right: 5px;
  }
  
  #filters .filters_other .filtre {
    border:none;
  }
  #filters .filtre .fa-check,
  #filters .filters_other .filtre .fa-check{
    display:inline-block;
    color:rgba(255,255,255,0.2);
    margin-right: 5px;
    cursor:pointer;
  }
  #filters .filters_other .filtre.active{
    background:none;
    color:#fff;
  }
  #filters .filters_other .filtre.active .range-min,
  #filters .filters_other .filtre.active .range-multi,
  #filters .filters_other .filtre.active .input-range-min,
  #filters .filters_other .filtre.active .input-range-multi{
    color:#fff;
  }
  #filters .filtre.active .fa-check,
  #filters .filters_other .filtre.active .fa-check{
    display: inline-block;
    position:inherit;
    color:#fff;
  }
  #filters .filtre:hover{
    background-color: #1e3e59;
  }
  #filters .filtre.active:hover{
    color:#fff;
  }
  #filters .more-filters{
    border:0;
    font-weight: 600;
    padding:5px 15px;
    margin: 0;
  }
  #filters .more-filters > label{
    text-decoration: underline;
  }
  #filters .filters_other{
    display:block;
  }
  #filters .filters_other .filtre{
    width:32.5%;
    padding: 5px;
  }
  #filters .filters_other select{
    width:auto;
    font-size: 0.8em;
  }
  #filters .filtre label{
    font-size: 0.8em;
    padding:0;
    margin:0;
  }
  #filters .filtre.range label{
    font-size: 0.8em;
  }
  #filters .filtre.range > input{
    width:60px;
    margin-bottom: -8px;
  }
  #filters .range-control{
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: -8px;
  }
  #filters input[type=range]:active + output,
  #filters-home input[type=range]:active + output{
    display: block;
    transform: translateX(-50%);
  }
  #filters select,
  #filters-home select{
      background-color:#2d5b8c;
      color: #fff;
      cursor: pointer;
      border: 1px solid rgba(255,255,255,0.2); 
      border-radius:2px;
      width:100%;
      font-size:0.8em;
  }  
  #filters-home select{
    background-color:#ccc;
    color: #000;
    border-radius:2px;
    padding:2px;
  }
  #filters .filtre .wrap-range,
  #filters-home .filtre .wrap-range{
    width: 85px;
    float:left;
  }
  #filters .filtre .input-range-min,
  #filters .filtre .input-range-multi,
  #filters-home .filtre .input-range-min,
  #filters-home .filtre .input-range-multi{
    display: inline-block;
    width:100%;
    color:#fff;
    font-size: 0.8em;
    font-weight: 600;
    background: none;
    border: 0;
  }
  #filters .filtre .input-range-min,
  #filters-home .filtre .input-range-min{
    width:50px;
  }
  #filters .input-range-min[id^="slide-gain_maximal"],
  #filters-home .input-range-min[id^="slide-gain_maximal"]{
    width: 65px;
  }
  #filters .filtre .range-min,
  #filters .filtre .range-multi,
  #filters-home .filtre .range-min,
  #filters-home .filtre .range-multi{
    color:#fff;
    font-size: 0.8em;
  }
  #filters .filtre.active .range-min,
  #filters .filtre.active .range-multi{
    color: #1e3e59;
  }
  #filters .filtre.active:hover .range-min,
  #filters .filtre.active:hover .range-multi,
  #filters .filtre.active:hover .input-range-min,
  #filters .filtre.active:hover .input-range-multi{
    color: #fff;
  }
  #filters .ui-widget.ui-widget-content{
    display: inline-block;
    width: calc(100% - 85px);
  }
  #filters .ui-slider-horizontal .ui-slider-range-min,
  #filters .ui-slider-horizontal .ui-widget-header {
    background: #1e3e59;
  }
  a#btn-filter-game{
    display: inline-block;
    width: 80%;
    background: #70db70;
    padding: 15px;
    margin-bottom: 15px;
    color: #fff;
    border-radius: 4px;
    font-size: 1.2em;
  }

  @media only screen and (max-width: 720px){ /*md*/
    #filters .filtre,
    #filters .more-filters{
      width:100%;
    }
    #filters .filtre, #filters .more-filters{
      margin-right:0;
    }
    #filters .filters_other .filtre{
      width:49%;
    }
  }


  /** Games **/
  body.single-software #games, body.single-software #software_games{
    padding:0;
  }
  #games .read-more{
    padding: 15px 0;
    text-align: center;
  }
  #games .read-more a{
    text-transform: uppercase;
    padding: 10px;
    font-size: 0.8em;
    color: #fff;
    background-color: #1e3e59;
    border-radius: 4px;
  }
  #section-games{
    display: flex;
    flex-direction: row;
  }
  #section-games > div{
    flex:0;
  }
  #section-games > div:first-child{
    flex-basis:75%;
  }
  #section-games > div:last-child{
    flex-basis:25%;
  }
  #games .wrap-games-item .games-item{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  #games .wrap-games-item .games-item .game-item{
    flex:0;
    flex-basis: calc(25% - 10px);
    padding: 5px;
    overflow: hidden;
  }
  #section-games-software #games .wrap-games-item .games-item .game-item{
    flex-basis: calc(20% - 10px);
  }

  @media only screen and (max-width: 720px){
    #section-games{
      display: flex;
      flex-direction: column;
    }
    #section-games > div{
      flex:1;
      flex-basis:100%;
    }
   
    #games .wrap-games-item .games-item .game-item{
      flex:0;
      flex-basis: calc(50% - 10px);
      padding: 5px;
      overflow: hidden;
    }
    #section-games-software #games .wrap-games-item .games-item .game-item{
      flex-basis: calc(50% - 10px);
    }
  }
  #games .section-title{
    text-align: center;
  }
  #games .section-games {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  #games .pagination, 
  #games #pagination-ajax {
    margin: 15px 0;
  }
  #games .page-numbers{
    padding: 10px 15px;
    background-color: #1e3e59;
    color:#fff;
    margin:2px;
  }
  #games .page-numbers.current{
    background-color: #70db70;
  }
  /* Games and Software Games displaying on pagination */
  #games .section-games.active, #software_games .section-games.active{
    display:flex;
    flex-direction:row;
    flex-wrap: wrap;
  }
  #games .section-games.hide, #software_games .section-games.hide{
    display:none;
  }
  body.single-casinos_online #games .game-item{
    flex:0 0 33.333%;
  }
  #games .game-item .game-item-image, 
  #software_games .game-item .game-item-image{
    display: flex;
    justify-content: center; /* align horizontal */
    align-items: center; /* align vertical */
    width: 100%;
    height: 190px;
    background-color:#eee;
    opacity: 1;
    overflow: hidden;
    border-bottom: #fff;
    transition: box-shadow 0.1s ease-out;
    border-radius: 12px;
  }
  #games .game-item .game-item-image > img, 
  #software_games .game-item .game-item-image > img{
    flex: 1;
    width: 100%;
   height: 100%;
   object-fit: cover;
  }
  #games .game-item .game-item-image:hover, 
  #software_games .game-item .game-item-image:hover{
    box-shadow: 0 0 8px #333;
  }
  @media only screen and (max-width: 720px){
    #games .game-item, #software_games .game-item{
      flex:0 0 50%;
    }
  }
  #games .game-item h4, #software_games .game-item h4{
    font-size:1.2em;
    color:#000;
    padding:0;
    padding-top:10px;
    margin-bottom: 0;
  }
  #games .game-item h4 a, #software_games .game-item h4 a{
    color: #000;
    font-weight:600;
  }
  #game #mas-detail-game .mas_detail-game-principal,
  #game #mas-detail-game .mas_detail-game-second{
    padding: 15px;
    background-color: #fff;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
  }
  #side-bar-filters{
    background-color:#eee;
    width: 100%;
    height: 100%;
  }
  .home .pagination-game > nav, #software_games .pagination-game > nav{
    text-align: center;
    padding: 15px;
    margin:30px 0;
  }
  .home .pagination-game, #software_games .pagination-game, #games .pagination-game{
    text-align: center;
    margin: auto;
  }
  .home .pagination-game ul, #software_games .pagination-game ul, #games .pagination-game ul{
    list-style-type: none;
  }
  .home .pagination-game ul li, #software_games .pagination-game ul li, #games .pagination-game ul li{
    display:inline-block;
  }
  .home .pagination-game ul li a, #software_games .pagination-game ul li a, #games .pagination-game ul li a{
    display:inline-block;
    padding:10px;
    width: 100px;
    text-align: center;
    background-color:#f13b37;
    color:#ffffff;
    margin-right:3px;
  }
  .home .pagination-game ul li, #software_games .pagination-game ul li, #games .pagination-game ul li, #page .article_page a{
    background-color: #f13b37;
    color:#ffffff;
    padding:15px;
    margin-right: 2px;
    margin-bottom: 2px;
    cursor: pointer;
    transition: all 0.5s ease-out;
  }
  
  #page .article_page .current{
    background-color: #1e3e59;
    color:#ffffff;
    padding:15px;
    margin-right: 2px;
    margin-bottom: 2px;
  }
  
  .home .pagination-game ul li:hover, #software_games .pagination-game ul li:hover, #games .pagination-game ul li:hover, 
  #page .article_page .current, #page .article_page a:hover, #page .pagination_list .current
   {
    background-color: #1e3e59;
  }
  .home .pagination-game ul li.selected, #software_games .pagination-game ul li.selected, #games .pagination-game ul li.selected{
      background-color: #1e3e59;
      color:#ffffff;
  }
  @media only screen and (max-width: 960px){
    #games .game-item, #software_games .game-item{
      width: calc(33.333% - 15px);
    }
    #games .game-item.column-3,
    #games .game-item.column-4,
    #games .game-item.column-5,
    #software_games .game-item.column-3,
    #software_games .game-item.column-4,
    #software_games .game-item.column-5{
      width: calc(50% - 15px);
    }
  }
  @media only screen and (max-width: 720px){
    #games .game-item, #software_games .game-item{
      width: calc(50% - 15px);
    }
    #games .game-item h4, #software_games .game-item h4{
      text-align: center;
    }
    #games .game-item.column-3,
    #games .game-item.column-4,
    #games .game-item.column-5,
    #software_games .game-item.column-3,
    #software_games .game-item.column-4,
    #software_games .game-item.column-5{
      width: calc(100% - 15px);
    }
  }
  @media only screen and (max-width: 480px){
    #games .game-item, #software_games .game-item{
      width: calc(100% - 15px);
    }
    #games .game-item h4, #software_games .game-item h4{
      text-align: center;
    }
  }
  
  /****************************************************
   Page */
  #page article .entry-content{
    padding: 15px;
    margin-bottom:15px;
    background-color: #E1EAF2;
  }
  #page article .entry-content img{
    max-width: 100%;
  }

  /****************************************************
   Single */
  #main.site-main .content{
    padding-right: 60px;
    text-align: justify;
  }
  #main.site-main .sidebar-page .widgettitle,
  #main.archive .sidebar-page .widgettitle {
      padding: 30px 0 15px 0;
  }
  #main.site-main .sidebar-page .textwidget,
  #main.archive .sidebar-page .textwidget{
    border:1px solid rgba(0,0,0,0.1);
    border-radius:4px;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.6);
    margin-bottom: 15px;
    padding: 15px;
    color:#1e3e59;
    background-color: #ffffff;
  }
  #main.site-main .sidebar-page .textwidget ul li,
  #main.archive .sidebar-page .textwidget ul li{
    list-style-type:none;
    line-height: 1.6em;
    margin-bottom: 15px;
  }
  #main.casino .post-content img{
    float:left;
    margin-right:5px;
    margin-bottom:5px;
    width: 100%;
    height: auto;
  }
  
  /****************************************************
   Archive */
   
  #main.archive section.listing{
    background-color:#eee;
    padding:15px;
    margin-bottom:15px;
  }
  #main.archive section.listing .section-content{
    display:flex;
    flex-direction:row;
  }
  #main.archive section.listing .section-content > div{
    flex:0;
    padding:5px;
  }
  #main.archive section.listing .section-content > div:first-child{
    flex-basis: calc(25% - 10px);
  }
  #main.archive section.listing .section-content > div:last-child{
    flex-basis: calc(75% - 10px);
  }
  #main.archive a.btn-action{
    text-transform: uppercase;
    padding: 6px 8px;
    font-size: 0.8em;
    color: #fff;
    background-color: rgba(0,0,0,0.4);
    border-radius: 4px;
  }
  @media only screen and (max-width: 480px){
    #main.archive section.listing .cover-image {
      width: 100%;
      height: auto;
      margin-right:0;
    }
  }
  /****************************************************
   Casino */
  #main.casino #mas-action-game{
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.6);
    margin-bottom: 15px;
    padding: 15px;
    color: #1e3e59;
    background-color: #fff;
  }
  #main.casino  .mas_wrap-action-game{
    padding: 15px;
  }
  #main.casino .mas_wrap-action-game .img-casino{
   text-align: center;
   padding: 0 30px;
  }
  #main.casino .mas_wrap-action-game img{
    width: 100%;
    height: auto;
  }
  #main.casino .section-title{
    padding: 30px 0 15px 0;
  }
  #main.casino .mas_wrap-action-game .btn-affilite {
      display: inline-block;
      width: calc(100% - 4px);
      background: #70db70;
      text-transform: uppercase;
      padding: 15px;
      color: #000;
      border-radius: 4px;
      font-size: 1.2em;
      margin: 2px;
    animation: colorblink2 2.5s infinite;
  }
  @keyframes colorblink2 { 
    0% { color:#000;}
    60% { color:#000;}
    80% { color:#70db70; }
    100% { color:#000;}
  }
  
  /****************************************************
    Game */
  #main.game h1.post-title,
  #main.game h3.section-title{
    margin-top: 15px;
    margin-bottom: 15px;
  }
  #main.game .post-iframe-game{
    display:inline-block;
    width: 100%;
    background-color:#1e3e59;
    padding: 3px;
    padding-bottom: 15px;
    text-align:center;
    margin-bottom: 30px;
  }
  #main.game .btn-affilite{
    padding: 10px 15px;
    text-transform: uppercase;
    color:#000000;
    background-color: #70db70;
    font-size:1.2em;
    border-radius: 4px;
    cursor: pointer;
    animation: colorblink 2.5s infinite;
  }
  @keyframes colorblink { 
    0% { color:#000;}
    60% { color:#000;}
    80% { color:#70db70; }
    100% { color:#000;}
  }
  
  /****************************************************
    Game Detail */
  #game-detail h3{
    color:#1e3e59;
  }
  #game-detail .bloc{
    border:1px solid rgba(0,0,0,0.1);
    border-radius:4px;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.6);
    margin-bottom: 15px;
    padding: 15px;
    color:#1e3e59;
    background-color: #ffffff;
  }
  #game-detail .c-table .c-table-row .label{
    font-weight: 600;
  }
  #game-detail .c-table .c-table-row > div{
    line-height: 2em;
    padding: 7px 0;
  }
  
  /****************************************************
    Casino Detail */
  #casino-detail h3{
    color:#1e3e59;
  }
  #casino-detail .bloc{
    border:1px solid rgba(0,0,0,0.1);
    border-radius:4px;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.6);
    margin-bottom: 15px;
    padding: 15px;
    color:#1e3e59;
    background-color: #ffffff;
  }
  #casino-detail .c-table .c-table-row .label{
    font-weight: 600;
  }
  #casino-detail .c-table .c-table-row > div{
    line-height: 2em;
    padding: 7px 0;
  }
  #casino-detail .c-table .c-table-row .c-softwares-casino{
    background-color: #dddddd;
    float:left;
    padding: 3px 6px;
    margin-right: 3px;
    margin-bottom: 3px;
  }
  /****************************************************
    Softwares */
  #main.editeurs-de-jeux #editeurs{
    margin-top:30px;
  }
  #main.editeurs-de-jeux .editeur-item{
    display: flex;
    flex-direction:row;
    flex-wrap:nowrap;
    width:100%;
    justify-content: center;
    align-items: center;
    margin-bottom:10px;
    background-color: rgba(237, 243, 247, 0.6);
    border-radius:5px;
    border:1px solid #1e3e59;
  }
  #main.editeurs-de-jeux .editeur-item .section-editeurs-cell{
    flex:0;
    padding:5px;
  }
  #main.editeurs-de-jeux .section-editeurs-cell:nth-child(1){
    flex-basis: calc(25% - 10px);
  }
  #main.editeurs-de-jeux .section-editeurs-cell:nth-child(2){
   flex-basis: calc(50% - 10px);
  }
  #main.editeurs-de-jeux .section-editeurs-cell:nth-child(3){
    flex-basis: calc(25% - 10px);
  }
  #main.editeurs-de-jeux .section-editeurs-cell h3{
    padding: 5px 0;
    font-size:2em;
  }
  #main.editeurs-de-jeux .section-editeurs-cell .wrap-image-editeur > a{
    width:80%;
  }
  #main.editeurs-de-jeux .section-editeurs-cell h3 a{
    color:#1e3e59;
  }
  #main.editeurs-de-jeux .section-editeurs-cell .wrap-btn-action{
    display:inline-block;
    width:100%;
  }
  #main.editeurs-de-jeux .section-editeurs-cell .btn-action{
    text-transform: uppercase;
    float:right;
    padding: 6px 8px;
    font-size: 0.8em;
    color: #ffffff;
    background-color: #1e3e59;
    border-radius: 4px;
    margin-top:10px;
  }
  @media only screen and (max-width: 768px) {
    #main.editeurs-de-jeux #editeurs{
      padding-right: 15px;
      padding-left:15px;
    }
    #main.editeurs-de-jeux .editeur-item{
      flex-direction:column;
    }
    #main.editeurs-de-jeux .section-editeurs-cell{
      text-align: center;
    }
  }
  /****************************************************
    Footer */
  footer.site-footer{
    background: #1e3e59;
    color:#fff;
    border-top:5px solid #f13b37;
    padding-top: 30px;
    padding-bottom: 0;
  }
  footer.site-footer .border-bottom{
    background-color: #18334a;
    width: 100%;
    height: 60px;
    margin-top: 60px;
  }
  footer.site-footer .widgettitle{
    font-size:1.2em;
  }
  footer.site-footer a {
    color:#eee;
  }
  footer.site-footer ul{
    margin:0;
    padding:0;
  }
  footer.site-footer ul li{
    list-style: none;
    padding-bottom: 15px;
  }
  @media only screen and (max-width: 480px){
    .sidebar-footer-2 {
      text-align: center;
    }
    .sidebar-footer-2 > img {
      width: 200px;
      margin-left: auto;
      margin-right: auto;
    }
  }
  /****************************************************
    Section News */
  #news-games {
    background-color: #f13b37;
    margin-bottom: 30px;
  }
  #news-games .title{
    text-transform: uppercase;
    font-size: 1.6em;
    font-weight: 600;
    text-align: center;
    color: #fff;
    margin: 15px 0;
    padding: 15px;
  }
  #news-games  .wrap-news{
    display: table;
  }
  #news-games .news-post{
    display: table-cell;
    vertical-align: top;
    padding: 15px;
    background-color: #d83531;
    width: 25%;
  }
  #news-games .news-post:hover{
    background-color: #c12725;
  }
  @media only screen and (max-width: 960px){ /*md*/
    #news-games .news-post{
      display: inline-block;
      width: 50%;
    }
  }
  @media only screen and (max-width: 480px){ /*md*/
    #news-games .news-post{
      display: inline-block;
      width: 100%;
    }
  }
  #news-games .news-post:not(:last-child){
    border-right: 5px solid #f13b37;
  }
  #news-games .image-above{
    width:100%;
    height: 200px;
    overflow: hidden;
    text-align: center;
    margin-bottom: 20px;
  }
  #news-games .image-above img{
    height:100%;
    margin:0 -50%;
  }
  #news-games .cover-image{
      width: 100%;
  }
  @media only screen and (max-width: 768px) {
    #news-games .image-above{
      height: auto;
    }
    #news-games .image-above img{
      width:100%;
      height:auto;
      margin:0;
    }
  }
  #news-games .news-content{
    width:100%;
    color:#fff;
    padding-left:5px;
  }
  #news-games .news-content .news-title{
     font-size: 1em;
     margin-bottom: 15px;
  }
  #news-games .news-content .news-title a{
    color:#fff;
    font-weight: 600;
    font-size: 1em;
  }
  #news-games .news-content .news-text{
    font-size: 16px;
  }
  #news-games .news-content .read-more{
     margin-top:10px;
     float: right;
  }
  #news-games .news-content .read-more a{
    text-transform: uppercase;
    padding: 6px 8px;
    font-size: 0.8em;
    color:#fff;
    background-color: #ad2a27;
    border-radius:4px;
  }

  
  /****************************************************
    Page 404 */
  
  #main.page404 .content{
    width:100%;
    margin-bottom: 120px;
  }
  #main.page404 h2{
    font-size:4em;
    color:#f13b37;
  }

  #mas_casinos .mas_casino-badge.first{
    top:-12px;
    left:-25px;
    background-image:url('../img/cocarde-first.webp');
  }
  
  #mas_casinos  .mas_casino-badge{
    position:absolute;
    top:-10px;
    left:-22px;
    width:50px;
    height:70px;
    background-image:url('../img/cocarde.webp');
    background-size:100% auto;
    background-position: 0 0;
    background-repeat: no-repeat;
    color:#fff;
    font-size:1.4em;
    font-weight:400;
    text-align:center;
    padding:8px;
  }
  
  #topcasinos-mobile .topcasino-item .number-rank{
    position:absolute;
    top:-10px;
    left:-22px;
    width:50px;
    height:70px;
    display: inline-block;
    background-image:url('../img/cocarde.webp');
    background-size:100% auto;
    background-position: 0 0;
    background-repeat: no-repeat;
    text-align: center;
    padding: 10px;
    color:#fff;
    font-size:1.2em;
    z-index: 99;
  }
  
  #topcasinos-mobile .number-rank.first{
    background-image:url('../img/cocarde-first.webp');
  }
  
  #topcasinos-mobile .topcasino-item .number-rank{
    position:absolute;
    top:-10px;
    left:-22px;
    width:50px;
    height:70px;
    display: inline-block;
    background-image:url('../img/cocarde.webp');
    background-size:100% auto;
    background-position: 0 0;
    background-repeat: no-repeat;
    text-align: center;
    padding: 10px;
    color:#fff;
    font-size:1.2em;
    z-index: 99;
  }
  #topcasinos-mobile .number-rank.first{
    background-image:url('../img/cocarde-first.webp');
  }