/* ================================
   CSS COMPLET POUR CLASSEMENT.PHP
   Contient tous les styles nécessaires
   ================================ */

/* === RESET ET BASES === */
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    font-weight: unset;
    padding-right: 10px;
}

/* === FORMULAIRE DE RECHERCHE === */
.s006 form {
    width: 100%;
    max-width: 790px;
}

.s006 form .inner-form {
    width: 100%;
    margin-bottom: 17px;
}

.s006 form .inner-form .input-field {
    height: 70px;
    width: 100%;
    position: relative;
}

.s006 form .inner-form .input-field input {
    height: 100%;
    width: 100%;
    background: transparent;
    border: 0;
    background: #fff;
    display: block;
    width: 100%;
    padding: 10px 32px 10px 70px;
    font-size: 18px;
    color: #666;
    border-radius: 34px;
}

.s006 form .inner-form .input-field input.placeholder {
    color: #ccc;
    font-size: 18px;
}

.s006 form .inner-form .input-field input:-moz-placeholder {
    color: #ccc;
    font-size: 18px;
}

.s006 form .inner-form .input-field input::-webkit-input-placeholder {
    color: #ccc;
    font-size: 18px;
}

.s006 form .inner-form .input-field input:hover, 
.s006 form .inner-form .input-field input:focus {
    box-shadow: none;
    outline: 0;
}

.s006 form .inner-form .input-field .btn-search {
    width: 70px;
    display: flex;
    align-items: center;
    position: absolute;
    left: 0;
    height: 100%;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}

.s006 form .inner-form .input-field .btn-search svg {
    fill: #ccc;
    width: 30px;
    height: 30px;
    transition: all .2s ease-out, color .2s ease-out;
}

.s006 form .inner-form .input-field .btn-search:hover, 
.s006 form .inner-form .input-field .btn-search:focus {
    outline: 0;
    box-shadow: none;
}

.s006 form .inner-form .input-field .btn-search:hover svg, 
.s006 form .inner-form .input-field .btn-search:focus svg {
    fill: #666;
}

/* === PARFECT SCROLLBAR === */
.js-pscroll {
    position: relative;
    overflow: hidden;
}

.table100 .ps__rail-y {
    width: 9px;
    background-color: transparent;
    opacity: 1 !important;
    right: 5px;
}

.table100 .ps__rail-y::before {
    content: "";
    display: block;
    position: absolute;
    background-color: #ebebeb;
    border-radius: 5px;
    width: 100%;
    height: calc(100% - 30px);
    left: 0;
    top: 15px;
}

.table100 .ps__rail-y .ps__thumb-y {
    width: 100%;
    right: 0;
    background-color: transparent;
    opacity: 1 !important;
}

.table100 .ps__rail-y .ps__thumb-y::before {
    content: "";
    display: block;
    position: absolute;
    background-color: #cccccc;
    border-radius: 5px;
    width: 100%;
    height: calc(100% - 30px);
    left: 0;
    top: 15px;
}

/* === TABLEAU DE CLASSEMENT === */
.table100 {
    background-color: #fff;
    position: relative;
    /* padding-top: 60px; */
}

.table100-head {
    /* position: absolute; */
    /* width: 100%; */
    top: 0;
    left: 0;
}

.table100-head table,
.table100-body table {
    width: 100%;
    border-collapse: collapse;
}

.table100-head th {
    font-family: "Lato-Bold", sans-serif;
    font-size: 18px;
    color: #fff;
    line-height: 1.4;
    background-color: #6c7ae0;
    padding-top: 18px;
    padding-bottom: 18px;
    text-align: center;
    border: none;
}

.table100-body {
    max-height: 800px;
    overflow: auto;
}

.table100-body td {
    font-family: "Lato-Regular", sans-serif;
    font-size: 15px;
    color: #808080;
    line-height: 1.4;
    padding-top: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f2f2f2;
}

/* === VERSION 1 DU TABLEAU === */
.table100.ver1 th {
    font-family: "Lato-Bold", sans-serif;
    font-size: 18px;
    color: #fff;
    line-height: 1.4;
    background-color: #6c7ae0;
}

.table100.ver1 td {
    font-family: "Lato-Regular", sans-serif;
    font-size: 15px;
    color: #808080;
    line-height: 1.4;
}

.table100.ver1 .table100-body tr:nth-child(even) {
    background-color: #f8f6ff;
}

.table100.ver1 {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0px 40px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 0px 40px 0px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0 0px 40px 0px rgba(0, 0, 0, 0.15);
    -o-box-shadow: 0 0px 40px 0px rgba(0, 0, 0, 0.15);
    -ms-box-shadow: 0 0px 40px 0px rgba(0, 0, 0, 0.15);
}

.table100.ver1 .ps__rail-y {
    right: 5px;
}

.table100.ver1 .ps__rail-y::before {
    background-color: #ebebeb;
}

.table100.ver1 .ps__rail-y .ps__thumb-y::before {
    background-color: #cccccc;
}

/* === VERSION 2 DU TABLEAU === */
.table100.ver2 .table100-head {
    /* box-shadow: 0 5px 20px 0px rgba(0, 0, 0, 0.1); */
    -moz-box-shadow: 0 5px 20px 0px rgba(0, 0, 0, 0.1);
    /* -webkit-box-shadow: 0 5px 20px 0px rgba(0, 0, 0, 0.1); */
    -o-box-shadow: 0 5px 20px 0px rgba(0, 0, 0, 0.1);
    -ms-box-shadow: 0 5px 20px 0px rgba(0, 0, 0, 0.1);
}

.table100.ver2 th {
    font-family: "Lato-Bold", sans-serif;
    font-size: 18px;
    color: #6072AC;
    line-height: 1.4;
    background-color: transparent;
}

.table100.ver2 td {
    font-family: "Lato-Regular", sans-serif;
    font-size: 15px;
    color: #808080;
    line-height: 1.4;
}

.table100.ver2 .table100-body tr {
    border-bottom: 1px solid #f2f2f2;
}

.table100.ver2 .table100-body tr:hover {
    background-color: #f8f9fa;
}

.table100.ver2 {
    /* border-radius: 10px; */
    overflow: hidden;
    box-shadow: 0 0px 40px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 0px 40px 0px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0 0px 40px 0px rgba(0, 0, 0, 0.15);
    -o-box-shadow: 0 0px 40px 0px rgba(0, 0, 0, 0.15);
    -ms-box-shadow: 0 0px 40px 0px rgba(0, 0, 0, 0.15);
}

.table100.ver2 .ps__rail-y {
    right: 5px;
}

.table100.ver2 .ps__rail-y::before {
    background-color: #ebebeb;
}

.table100.ver2 .ps__rail-y .ps__thumb-y::before {
    background-color: #cccccc;
}

/* === LIGNES ET CELLULES PERSONNALISÉES === */
.row100 {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.row100.body {
    transition: background-color 0.3s ease;
}

.row100.body:hover {
    background-color: #f5f5f5;
}

.cell100 {
    display: table-cell;
    padding: 15px 10px;
    text-align: center;
    vertical-align: middle;
}

/* === COLONNES SPÉCIFIQUES === */
.column1 { 
    width: 10%; 
    padding-left: 20px;
}  /* # */

.column2 { 
    width: 15%; 
}  /* Classe/Blason */

.column3 { 
    width: 35%; 
}  /* Pseudonyme/Nom */

.column4 { 
    width: 20%; 
}  /* Niveau/Victoires/Activité */

.column5 { 
    width: 20%; 
}  /* Reset/Popularité */

/* === MARGE BOTTOM === */
.m-b-110 {
    margin-bottom: 110px;
}

/* === PAGINATION === */
.pagination {
    display: flex;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
    justify-content: center;
    list-style: none;
}

.pagination > li {
    display: inline-block;
}

.pagination > li > a,
.pagination > li > span {
    position: relative;
    display: block;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #6072AC;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
    float: none;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover {
    z-index: 2;
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #6072AC;
    border-color: #6072AC;
}

.pagination > .disabled > a,
.pagination > .disabled > a:focus,
.pagination > .disabled > a:hover,
.pagination > .disabled > span,
.pagination > .disabled > span:focus,
.pagination > .disabled > span:hover {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

.pagination-sm {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 0;
    margin: 20px 0;
    list-style: none;
}

.pagination-sm > li {
    display: inline-block;
}

.pagination-sm > li > a,
.pagination-sm > li > span {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    display: block;
    position: relative;
    color: #6072AC;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px;
}

.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    margin-left: 0;
}

.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.pagination-sm > li > a:hover,
.pagination-sm > li > a:focus {
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}

.pagination-sm > .active > a,
.pagination-sm > .active > span {
    color: #fff;
    background-color: #6072AC;
    border-color: #6072AC;
}

/* === STYLES POUR LIENS === */
a {
    margin: 0px;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
}

a:focus {
    outline: none !important;
}

a:hover {
    text-decoration: none;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .table100-head th,
    .table100-body td {
        font-size: 12px;
        padding: 10px 5px;
    }
    
    .column1 { width: 15%; padding-left: 10px; }
    .column2 { width: 20%; }
    .column3 { width: 30%; }
    .column4 { width: 17.5%; }
    .column5 { width: 17.5%; }
    
    .s006 form .inner-form .input-field input {
        font-size: 16px;
        padding: 10px 20px 10px 60px;
    }
    
    .cell100 {
        padding: 10px 5px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .table100-body {
        max-height: 400px;
    }
    
    .s006 form {
        max-width: 100%;
    }
    
    .s006 form .inner-form .input-field {
        height: 60px;
    }
    
    .column1 { width: 20%; padding-left: 5px; }
    .column2 { width: 15%; }
    .column3 { width: 25%; }
    .column4 { width: 20%; }
    .column5 { width: 20%; }
    
    .cell100 {
        padding: 8px 3px;
        font-size: 11px;
    }
}
