/* OVERRIDE BOOTSTRAP TO FIT WITH UR GRID SYSTEM */
@media(min-width:1170px) and (max-width:1280px){
  #block-content .col-lg-3
  {
    width: 33.33333333%;
  }
}

@media(min-width:1170px) and (max-width:1280px){
  #block-content .col-lg-6
  {
    width: 66.66666667%;
  }
}
/* END OVERRIDE */

/* OVERRIDE GRID TO FIT WITH BOOTSTRAP */
@media (max-width:991px){
  #welcome .grid {
    width: 640px;
  }
}

@media (max-width:767px){
  #welcome .grid {
    width: 320px;
  }
}
/* END OVERRIDE */

/* NEWS */
#news.visibility_0
{
  border: 1px solid #3366cc !important;
}
#news.visibility_0 .news_content
{
  width: 284px !important;
}
#news.visibility_0 .picture
{
  height: 398px !important;
}
#news .picture {
  display: inline-block;
  width: 300px;
  height: 400px;
}

#news .picture img {
  height: 100%;
  width: 100%;
}

#news {
  height: 400px;
  width: 100%;
  margin-top: 50px;
}

#news .news_content {
  display: inline-block;
  vertical-align: top;
  margin-left: 20px;
  width : 285px;
  height: 400px;
  position: relative;
}

#news .news_content.contest
{
    width: 100%;
    height: 435px;
    margin-top: -25px;
}

#news .news_content.contest .kt-iframe
{
    height: 340px;
    margin-top: 15px;
    border: 6px solid #202B34;
    padding: 0;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    width: 100%;
}

#news .news_content.contest .text
{
    padding-left: 10px;
    padding-right: 10px;
    height: 260px;
    overflow: hidden;
}
#news .news_content.contest .button_more {
    margin-right: 20px;
    bottom: -10px !important;
}

#news .news_content.stream
{
    width: 100%;
    margin-top: -20px;
}

#welcome .news.stream .text
{
    margin-top: 28px;
}

#welcome .news.visibility_0
{
  border: 1px solid #3366cc !important;
}

#news .news_content.stream .tw-frame
{
    width: 100%;
    height: 340px;
}

#news .news_content.stream .title_container
{
    height: 65px;
    margin-top: -5px;
    padding: 15px 15px 0 15px;
    background: rgba(0, 0, 0, 0.4);
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

#news .news_content.stream .text-stream
{
    font-size: 30px;
}

#news .news_content.stream .title_container h1
{
    display: block;
    width: 75%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    float: left;
}

#news .news_content.stream .title_container a.btn
{
    position: initial;
    top: initial;
    right: initial;
    bottom: initial;
    float: right;
}

#welcome .news .half_top .kt-iframe
{
    width: 100%;
}

#welcome .news .half_top .tw-frame
{
    width: 100%;
    height: 100%;
}

#news .news_content .text
{
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0;
}

#news .news_content .date
{
    width: 100%;
    float: left;
    font-size: 13px;
    color: #cc9933;
    font-family: UbuntuBold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

#news .news_content .category
{
    float: right;
    text-align: right;
    font-family: 'UbuntuLight';
    text-transform: uppercase;
    color: #95AEE1;
}

#news .news_content h1
{
    text-transform: uppercase;
    font-family: 'ElanITCStdBold';
    font-size: 1.5em;
    word-break: break-word;
    letter-spacing: 1px;
    line-height : 32px;
    color: #3266CC;
    clear: both;
}

#news .news_content h2 {
  font-family: UbuntuLightItalic;
  font-size: 13px;
  word-break: break-word;
  letter-spacing: 1px;
  line-height : 13px;
}

#news .news_content p {
  margin-top: 20px;
  font-family: UbuntuLight;
  font-size: 14px;
  text-align: left;
  width: 100%;
}

#news .button_more {
  font-family: UbuntuLight;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 20px;
  padding-right: 20px;
  position: absolute;
  bottom: 0;
  right: 0;
}

#news .button_more span
{
    vertical-align: middle;
}

#news .button_more [class^="picto_"] {
    vertical-align: middle;
    margin-left: 2px;
}
/* END NEWS */

/* BLOCK TOOLS */
#welcome .block {
  height: 360px;
  width: 100%;
  border-radius: 6px;
  margin-bottom: 20px;
}

#welcome .ranking_block {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 20px;
}

@media (min-width:769px){ /* Ranking block should be flexible on little resolution */
  #welcome .ranking_block {
    height: 360px;
  }
}
#home_online_social .block {
  margin-bottom: 60px;
  margin-top: 70px;
}

#welcome img {
  border-radius: 6px;
}

#welcome {
  width: 100%;
}

#welcome .half_top {
  height: 50%;
  width: 100%;
}

#welcome .middle_content {
  padding: 10px;
  height: 115px;
}

#welcome .button_more { /* Basic model button */
  height: 40px;
  line-height: 25px;
  font-family: UbuntuLight;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 20px;
  padding-right: 20px;

}

#welcome .only_large_screen {
  display: none;
}

@media(min-width:1281px) {
  #welcome .only_large_screen {
    display: inline-block;
  }
}

#welcome .only_medium_screen,
#welcome .max_medium_screen,
#welcome .max_little_screen {
  display: none;
}

@media(max-width: 1280px) {
  #welcome .max_medium_screen {
    display: inline-block;
  }
}

@media(max-width: 991px) {
  #welcome .max_little_screen {
    display: inline-block;
  }
}

/* END BLOCK TOOLS */
/* BLOCK NEWS */

#welcome .news {
  width: 100%;
  position: relative;
  background-color: #283641;
}

#welcome .news .date {
    width: 100%;
    font-size: 13px;
    color: #cc9933;
    font-family: 'UbuntuBold';
    text-transform: uppercase;
    margin-bottom: 10px;
}

#welcome .news .category
{
    width: 100%;
    text-align: center;
    font-family: 'UbuntuLight';
    text-transform: uppercase;
    color: #95AEE1;
}

#welcome .news img
{
    height: 100%;
    width: 100%;
}

#welcome .news  h1
{
    text-transform: uppercase;
    font-family: 'UbuntuLight';
    font-size: 18px;
    letter-spacing: 1px;
    line-height : 26px;
    text-align: center;
    height: 55px;
    overflow: hidden;
    text-overflow: ellipsis;
    clear: both;
}

/* END BLOCK NEWS */
/* BLOCK COUNTER PLAYERS */

#welcome .online_players {
  width: 100%;
  position: relative;
}

@media(min-width:1281px) {
  #welcome .online_players {
    background-color: #283641;
  }
}

#welcome .online_players .middle_content {
  padding-top: 0;
}

#welcome .online_players .logo_container {
  padding-top: 30px;
}

#welcome .online_players .online_logo {
  background-image: url('../img/background/bg_online_players.png');
  background-repeat: no-repeat;
  border: 2px solid white;
  border-radius: 125px;
  background-size: 100%;
  text-align: center;
  height: 120px;
  width: 120px;
  margin: auto;
}

#welcome .online_players .online_logo span {
  display: block;
  font-size: 60px;
  margin-top: 30px;
}

#welcome .online_players h1 {
  font-size: 60px;
  font-family: UbuntuBold;
  color: #3464D0;
  display: block;
  letter-spacing: -2px;
  text-align: center;
}

#welcome .online_players h2 {
  font-family: Ubuntu;
  margin: 0;
  display: block;
  font-size: 24px;
  text-align: center;
  margin-top: -5px;
}

#welcome .online_players .button_more {
  font-size: 16px;
  padding-top: 7px;
  padding-bottom: 7px;
  text-transform: uppercase;
}

#welcome .online_players .online_infos .online_player_legend {
  font-family: Ubuntu;
  margin: 0;
  display: block;
  margin-top: -25px;
}

#welcome .online_players .online_infos button {
  font-family: UbuntuLight;
  height: 50px;
  font-size: 14px;
  margin-top: 65px;
}

/* END BLOCK COUNTER PLAYERS */
/* BLOCK RANKING */

#home_news_update_rankings #block-content .ranking {
  width: 100%;
  position: relative;
  background-color: #283641;
}

#home_news_update_rankings #block-content .ranking .nav{
  height: 50px;
  padding: 10px;
}

#home_news_update_rankings #block-content .ranking .nav .picto_Classement{
  font-size: 20px;
}

#home_news_update_rankings #block-content .ranking .nav h1 {
  display: inline-block;
  font-family: ElanITCStdBold;
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 1px;
  line-height: 40px;
}

@media (min-width:768px){
  #home_news_update_rankings #block-content .ranking .nav .selecter {
    padding-left: 5px;
  }
}

@media (max-width:768px){
  #home_news_update_rankings #block-content .ranking .nav .selecter {
    margin-bottom: 10px;
  }
}

#home_news_update_rankings #block-content .ranking .nav .selectpicker {
  display: inline-block;
}

#home_news_update_rankings #block-content .ranking .subnav {
  height: 50px;
  padding: 10px;
  text-align: center;
}

@media (max-width:768px){
  #home_news_update_rankings #block-content .ranking .subnav {
    margin-top: 90px;
  }
}

#home_news_update_rankings #block-content .ranking .subnav .button_ranking {
  display: inline-block;
  min-width: 50px;
  text-align: center;
  padding: 5px;
  font-size: 14px;
  font-family: UbuntuBold;
}

#home_news_update_rankings #block-content .ranking .subnav .button_ranking:hover {
  background-color: #3366cc;
}

#home_news_update_rankings #block-content .ranking .subnav .ranking_button {
  display: inline-block;
  width: 50px;
  height: 35px;
  text-align: center;
  padding-top: 5px;
  font-size: 14px;
  font-family: UbuntuBold;
  color: #3366cc;
}

#home_news_update_rankings #block-content .ranking .subnav .ranking_button:hover {
  background-position-x: 100px;
  text-decoration: none;
  color: white;
}

#home_news_update_rankings #block-content .ranking .subnav .ranking_button.ranking_button_active {
  background-position-x: 50px;
  color: white;
}

#home_news_update_rankings #block-content .ranking .list {
  width: 100%;
  height: 260px;
  padding: 10px;
}

#home_news_update_rankings #block-content .ranking .player_info .nav_icon {
  display: none;
}
@media (min-width:768px){
  #home_news_update_rankings #block-content .ranking .player_info .nav_icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid white;
    margin-right: 5px;
    display: inline-block;
  }
}


#home_news_update_rankings #block-content .ranking .player_info {
  margin-bottom: 10px;
  display: block;
  color: white;
}

#home_news_update_rankings #block-content .ranking .player_info .position {
  display: inline-block;
  font-size: 18px;
  font-family: UbuntuBold;
  margin-left: 4px;
  margin-right: 4px;
  line-height: 35px;
}

#home_news_update_rankings #block-content .ranking .player_info h2 {
  font-size: 18px;
  font-family: Ubuntu;
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  line-height: 35px;
}

#home_news_update_rankings #block-content .ranking .player_info h3 {
  display: none;
}
@media (min-width:768px){
  #home_news_update_rankings #block-content .ranking .player_info h3 {
    display: inline-block;
    font-size: 12px;
    font-family: Ubuntu;
    display: inline-block;
    vertical-align: middle;
    line-height: 35px;
  }
}

#home_news_update_rankings #block-content .ranking .player_info .first_part {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

#home_news_update_rankings #block-content .ranking .player_info h1 {
  width: 100%;
  font-size: 27px;
  margin: 0;
  line-height: 35px;
  font-family: UbuntuBold;
  float: right;
  letter-spacing: 0px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}

/* END BLOCK RANKING */
/* BLOCK FACEBOOK */

#home_online_social .block_fb {
    height: 430px;
    background-color: rgb(56, 70, 80);
    overflow: hidden;
    float: right;
}

@media (max-width:767px){
    #home_online_social #module_follow_us {
        float:none;
        margin-left: auto;
        margin-right: auto;
    }
    #module_follow_us .follow_us {
        width: 280px;
    }
    #home_online_social .block_fb .fb_header {
        width: 280px !important;
        background-image: url('../img/placeholders/bg_facebook.png');
    }
    #home_online_social .block_fb .fb_content,
    #home_online_social .block_fb .fb_content .mCustomScrollBox {
        width: 250px !important;
    }
    #home_online_social .facebook_block {
        clear: both;
    }
}

#home_online_social .block_fb .fb_header {
    width: 610px;
    height: 130px;
    background-image: url('../img/background/bg_facebook.jpg');
    text-align: left;
    padding: 8px;
}
#home_online_social .block_fb .fb_header .profile_pic {
    width: 50px;
    height: 50px;
    border: 2px solid white;
    margin-left: auto;
    display: block;
    margin-right: auto;
}
#home_online_social .block_fb .fb_header .fb_title {
    font-family: 'UbuntuBold';
    font-size: 19px;
    text-align: center;
}
#home_online_social .block_fb .fb_header .nb_likes {
    font-family: 'UbuntuLight';
    text-align: center;
}
#home_online_social .block_fb .fb_header .fb_buttons {
    width: 100%;
    height: 20px;
    overflow: hidden;
}
#home_online_social .block_fb .fb_header .fb_buttons .fb_btn_like,
#home_online_social .block_fb .fb_header .fb_buttons .fb_btn_share {
    height: 20px;
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
}
#home_online_social .block_fb .fb_header .fb_buttons .fb_btn_like {
    width: 61px;
}
#home_online_social .block_fb .fb_header .fb_buttons .fb_btn_share {
    width: 72px;
    float: right;
}
#home_online_social .block_fb .fb_content .mCustomScrollBox {
    width: 590px;
    right: -20px;
    top: 20px;
}
#home_online_social .block_fb .fb_content .mCSB_container .fb_news {
    margin-bottom: 20px;
}
#home_online_social .block_fb .fb_content .mCSB_container .fb_news .fb_news_top img {
    width: 40px;
    height: 40px;
    float: left;
    margin-right: 10px;
}
#home_online_social .block_fb .fb_content .mCSB_container .fb_news .fb_news_top .fb_name {
    font-family: 'UbuntuBold';
    font-size: 13px;
    margin-top: 1px;
}
#home_online_social .block_fb .fb_content .mCSB_container .fb_news .fb_news_top .fb_date {
    font-family: 'Ubuntu';
    font-size: 12px;
}
#home_online_social .block_fb .fb_content .mCSB_container .fb_news .fb_news_content {
    font-family: 'UbuntuLight';
    font-size: 13px;
    margin-top: 10px;
}
#home_online_social .block_fb .fb_content .mCSB_1_scrollbar_vertical {
    width: 29px;
}
#home_online_social .mCS-inset-2-dark.mCSB_scrollTools .mCSB_draggerRail {
    border: 0;
}
#home_online_social .mCS-inset-2-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    background: rgb(0,90,239); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(0,90,239,1) 0%, rgba(0,51,153,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,90,239,1)), color-stop(100%,rgba(0,51,153,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(0,90,239,1) 0%,rgba(0,51,153,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(0,90,239,1) 0%,rgba(0,51,153,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(0,90,239,1) 0%,rgba(0,51,153,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(0,90,239,1) 0%,rgba(0,51,153,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#005aef', endColorstr='#003399',GradientType=0 ); /* IE6-9 */
}

#home_news_update_rankings {
    background-image: url('../img/background/bg_ahthebarensplit.jpg');
    background-position: center 0px;
    background-size: cover;
    background-repeat: no-repeat;
}

#home_news_update_rankings .subbg {
    background-color: rgba(16, 25, 32, 0.8);
    padding-bottom: 40px;
    padding-top: 40px;
}

#welcome .news-text
{
    height: 260px;
    overflow: hidden;
}
#welcome .news_content.contest .text
{
    padding-top: 15px;
}
#welcome .news-text > p
{
    margin: 0;
}
@media(min-width:992px) and (max-width: 1280px) {
    #welcome .only_medium_screen {
        display: inline-block;
    }
    #module_follow_us .follow_us {
        border-top: 1px solid #3b4c59;
    }
    .facebook_block,
    #module_follow_us .follow_us,
    #home_online_social .block_fb .fb_header {
        clear: both;
        width: 100%;
    }
    #home_online_social .block_fb {
        float: none;
    }
    #home_online_social .block_fb .fb_content .mCustomScrollBox {
        width: 910px;
    }
    #home_online_social .block_fb .fb_header {
        width: 930px;
        height: 130px;
        background-image: url('../img/background/bg_facebook2.jpg');
        padding: 8px;
    }
    .mid_main_part .subbg {
        background: none;
    }
    #welcome .only_medium_screen {
        float: right;
        margin-right: 100px;
    }
    .only_medium_screen .news {
        background-color: #384650 !important;
        margin-bottom: 25px !important;
        margin-top: 25px !important;
    }
    #welcome .online_players {
        margin-left: 100px;
        margin-bottom: 25px !important;
        margin-top: 25px !important;
    }
}
@media (max-width:991px) and (min-width:767px) {
    .max_medium_screen {
        width: 100%;
    }
    #welcome .online_players {
        display: block;
        margin-right: auto;
        margin-left: auto;
    }
}
