/**********GENERAL**********/
body{
    font-size: 16px;
    margin: 0px;
    padding: 0px;
    font-family: 'Varela Round', sans-serif;
    background-color: #7DAFE7;
    /*#A9E2F3*/
}

::selection{    /**couleur de sélection du texte**/
    background-color: #A9E2F3;
}

::-moz-selection{
    background-color: #F5D0A9;
}

@media screen and (max-width: 680px){ 
    body{
        font-size: 15px;
    }
}

/**********HEADER**********/
header{
    height: 100px;
    text-align: center;
    background-color: white;
}

header h1{
    font-size: 50px;
    font-weight: normal;
    margin-top: 10px;
    display: inline-block;
    font-family: 'Kaushan Script', cursive;
}

header h1 a{
    text-decoration: none;
    color: black;
}

@media screen and (max-width: 680px){ 
    header h1{
        font-size: 40px;
    }
}

.sep{
    font-size: 50px;
    color: #0080FF;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 0px;
    display: inline-block;  
}

header h2{
    font-size: 25px;
    color: black;
    font-weight: normal;
    margin-top: 20px;
    display: inline-block;
    font-family: 'Kaushan Script', cursive;
}

@media screen and (max-width: 740px){ 
    header h2{
        display: none;
    }
}

#yt{
    float: right;
    position: absolute;
    top: 55px;
    right: 10px;
    opacity: 0.7;
    transition: all 0.4s;
}

#yt:hover{
    opacity: 1;
}

#discord{
    float: right;
    position: absolute;
    top: 10px;
    right: 6px;
    opacity: 0.7;
    transition: all 0.4s;
}

#discord:hover{
    opacity: 1;
}

#twitter{
    float: right;
    position: absolute;
    top: 14px;
    right: 53px;
    opacity: 0.7;
    transition: all 0.4s;
}

#twitter:hover{
    opacity: 1;
}

#drapeau{
    float: left;
    position: absolute;
    top: 12px;
    left: 10px;
    opacity: 1;
    transition: all 0.3s;
}

#drapeau:hover{
    opacity: 0.6;
}

#don{
    float: left;
    position: absolute;
    top: 53px;
    left: 10px;
    opacity: 1;
    transition: all 0.3s;
}

#don:hover{
    opacity: 0.6;
}

/**********MENU NAV**********/
nav{
    width: 100%;
    background-color: #333;
}

.menu{
    display: table;
    margin: 0 auto;
}

.menu > ul{
    margin: 0px;
    padding: 0px;
}

.menu > ul::after{
    content: "";
    display: table;
    clear: both;
}

.menu > ul > li{
    float: left;
    position: relative;
}

.menu > ul > li > .tiers{
    padding: 12px 10px;
    font-size: 18px;
    color: #bbb;
    /*color: white;*/
    /*font-family: 'Kanit', sans-serif;*/
}

.menu > ul > li > .divers{
    padding: 12px 25px;
    font-size: 18px;
    color: #bbb;
    /*color: white;*/
    /*font-family: 'Kanit', sans-serif;*/
}

@media screen and (max-width: 680px){ 
    .menu > ul > li > .tiers{
        padding: 10px 10px;
        font-size: 15.5px;
    }
}

@media screen and (max-width: 680px){ 
    .menu > ul > li > .divers{
        padding: 10px 10px;
        font-size: 15.5px;
    }
}

.menu > ul > li:hover .tiers{
    color: #0080FF;
}

.menu > ul > li:hover .divers{
    color: #0080FF;
}

/*.menu > ul > li > .tiers:hover{
    background: linear-gradient(#333, RGBa(255, 150, 000, 0.2));
    border-bottom: 3px solid RGBa(255, 150, 000, 0.8);
    padding: 12px 10px 9px 10px;
    color: white;
}

.menu > ul > li > .divers:hover{
    background: linear-gradient(#333, RGBa(255, 150, 000, 0.2));
    border-bottom: 3px solid RGBa(255, 150, 000, 0.8);
    padding: 12px 25px 9px 25px;
    color: white;
}*/

/*@media screen and (max-width: 680px){ 
    .menu > ul > li > .tiers:hover{
        border-bottom: 3px solid RGBa(255, 150, 000, 0.8);
        padding: 10px 10px 7px 10px;
    }
}

@media screen and (max-width: 680px){ 
    .menu > ul > li > .divers:hover{
        border-bottom: 3px solid RGBa(255, 150, 000, 0.8);
        padding: 10px 10px 7px 10px;
    }
}*/

.menu li{
    list-style-type: none;
}

.sub-menu{
    display: none;
    background-color: RGBa(120, 120, 120, 1);
}

.menu a{
    display: inline-block;
    text-decoration: none;
}

.menu li:hover .sub-menu{
    display: inline-block;
    position: absolute;
    top: 100%;
    left: 0px;
    padding: 0px;
    z-index: 1000;
}

.sub-menu li{
    border-bottom: 1px solid #333;
}

.sub-menu li a{
    padding: 12px 25px;
    font-size: 15px;
    color: white;
    width: 158px;
}

.sub-menu li:hover a{
    color: orange;
    /**color: white;
    text-decoration: underline;**/
}

.sub-menu li:hover{
    background-color: #555;
    /**background-color: RGBa(255, 100, 000, 0.15);**/
}

/**********CORPS DE PAGE**********/
h1{
    font-size: 34px;
    font-weight: normal;
    text-align: center;
    font-family: 'Acme', sans-serif;
    /**font-family: 'Lobster', cursive;**/
    /**font-family: 'Kaushan Script', cursive;**
    color: black;   /**#FF9E00**/
}

@media screen and (max-width: 680px){ 
    h1{
        font-size: 29px;
    }
}

.illus-strat{ /*image d'illustration pour les fiches*/
    display: table;
    margin: 0 auto;
}

.illus-art{
    display: table;
    margin: 0 auto;
}

.illus{
    display: table;
    margin: 0 auto;
}

@media screen and (min-width: 680px) and (max-width: 1320px){ 
    .illus{
        width: 98%;
    }
}

@media screen and (max-width: 680px){ 
    .illus{
        display: none;
    }
}

.illus-news{
    display: table;
    margin: 0 auto;
}

@media screen and (max-width: 800px){ 
    .illus-news{
        display: none;
    }
}

#arrow{
    opacity: 0.4;
    float: right;
    position: fixed;
    bottom: 90px; /*70px sans le bandeau pub*/
    right: 2%;
    z-index: 1000;
    transition: all 0.2s;
}

#arrow:hover{
    opacity: 0.8;
}

#arrow:active{
    opacity: 0.4;
}

#affiliation{
    height: 80px;
    text-align: center;
    background-color: #9d9d9d;
    border-top: 2px solid #333;
    color: white;
    font-size: 14px;
    padding-bottom: 11px;
}

#affiliation img{
    display: inline-block;
}

.space-right{
    margin-right: 10px;
}

footer{
    height: 50px;
    text-align: center;
    background-color: #888;
    border-top: 2px solid #0080FF;
    color: white;
    font-size: 14px;
    padding-bottom: 11px;
}

/**********MENU GAUCHE**********/
.menu-left{
    width: 20%;
    min-height: 600px;
    display: inline-block;
    float: left;
    background-color: #FBC195;
}

.menu-left > h2{
    padding: 20px 0px 20px 7%;
    margin: 0px;
    font-family: 'Acme', sans-serif;
    /**font-family: 'Kaushan Script', cursive;**/
    font-size: 28px;
    background-color: #FBC170;
}

@media screen and (max-width: 900px){ 
    .menu-left > h2{
        font-size: 25px;
    }
}

.menu-left div{
    width: 100%;
}

.menu-left div a{
    width: 100%;
    text-decoration: none;
    color: black;
}

.menu-left div p{
    padding: 8px 5px 8px 5%;
    width: 93%;
    height: 100%;
    border-bottom: 1px solid #222;
    margin: 0px;
    font-size: 14.5px;
    line-height: 20px;
}

.menu-left p:hover{
    /*text-decoration: underline;*/
    box-shadow: 0px 0px 5px #222 inset;
    background-color: #FBC188;
}

@media screen and (max-width: 680px){
    .menu-left{
        width: 100%;
        min-height: 0px;
    }
    .menu-left > h2{
        padding: 10px 0px 10px 7%;
    }
    .menu-left div p{
        width: 98%;
        padding: 8px 0px 8px 2%;
        font-size: 14px;
    }
}

/**********DEFINITIONS ET LIENS**********/
.def{
    text-decoration: none;
    color: #0060FF;
}

.def:hover{
    opacity: 0.7;
}

.cap{
    text-decoration: none;
    color: black;
}

.cap:hover{
    opacity: 0.7;
}

.clic{
    text-decoration: none;
    font-weight: bold;
    color: #2E9AFE;
}

.clic:hover{
    opacity: 0.7;
}

/**.clic{
    color: black;
    text-decoration: none;
    background-color: #F7BE22;
}

.clic:hover{
    text-decoration: underline;
}**/

.underline{
    text-decoration: underline;
}

.bold{
    font-weight: bold;
}

.italic{
    font-style: italic;
}

.center{
    text-align: center;
}

.dashed{
    border-bottom: 1px dashed;
}

.dlc{ /*indique si une capacité à été retrouvée par un Pokémon lors du premier DLC 9G*/
    color: green;
}

.dlc-vert{ /*indique que le Pokémon a été ajouté lors du premier DLC 9G*/
    background-color: #D0F5A9;
}

/**********TABLEAUX**********/
.survol:hover{
    background-color: RGBa(225, 225, 225, 1);
}

.vert:hover{ /*Pour les tableaux capacités courantes : vert = nouvelle capacité (sur toute la ligne) ou augmentation de stat, rouge = diminution de stat, orange = modification (orthographe, effet ou cat. phys ou spé), gris = aucun changement.*/
    background-color: #BEF781;
}

.survol:hover .vert{
    background-color: #BEF781;
}

.survol:hover .rouge{
    background-color: #F5A9A9;
}

.survol:hover .orange{
    background-color: #F5DA81;
}

.capa .survol:hover, .capa .vert:hover{
    cursor: pointer;
}

.ligne-mask{
    display: none;
}

.ligne-mask img{
    display: inline-block;
}

.ligne-mask img:hover{
    opacity: 0.70;
}

.capa-z img{ /*Images du tableau des capacités Z en 7G*/
    display: inline-block;
}

.capa-z img:hover{ /*Images du tableau des capacités Z en 7G*/
    opacity: 0.75;
}

.ajout-sup-cap{ /*Tableau page présentation 9G uniquement*/
    display: table;
    margin: 0px auto;
}

.test{
    float: left;
    margin: 20px 0px 20px 20px;
}

/**********SOMMAIRE**********/
#som{
    text-align: center;
    line-height: 25px;
}

#som a{
    font-weight: bold;
    color: #2E9AFE;
    text-decoration: none;
}

#som a:hover{
    opacity: 0.7;
}

/**********RECAPITULATIF**********/
.recap{
    border-collapse: collapse;
    font-size: 14px;
    line-height: 18px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.recap td{
    border: 1px solid RGBa(0, 0, 0, 0.3);
    padding: 5px 2px;
}

.recap th{
    border: 1px solid RGBa(0, 0, 0, 0.3);
    padding: 5px 7px;
    background-color: #F3E2A9;
}

.recap .gauche{
    text-align: left;
    padding-left: 5px;
    padding-right: 10px;
}

.red{
    width: 20px;
    background-color: RGBa(252, 0, 0, 0.8);
}

.green{
    width: 20px;
    background-color: RGBa(0, 252, 0, 0.8);
}

/**********SPOILER (historique banlist)**********/
input[id^="spoil"]{
    display: none;
}

input[id^="spoil"] + label{
    display: block;
    width: 100px;
    margin: 20px auto;
    padding: 5px 20px 5px 19px;
    background: linear-gradient(#999, #222);
    /*background-color: #333;*/
    color: white;
    text-align: center;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.5s;
}

input[id^="spoil"] + label:hover{
    background: linear-gradient(#aaa, #333);
}

input[id^="spoil"]:checked + label{
    color: #333;
    background: #ccc;
}

input[id^="spoil"] ~ .spoil{
    width: 700px;
    height: 0;
    line-height: 25px;
    overflow: hidden;
    opacity: 0;
    margin: 10px auto 0; 
    padding: 10px; 
    background: white;
    border: 1px solid #0080FF;
    border-radius: 4px;
    box-shadow: 0px 0px 15px #999;
    transition: all 0.5s;
}

input[id^="spoil"]:checked + label + .spoil{
    height: auto;
    opacity: 1;
    padding: 10px;
}

/**********FR-EN**********/
.drapeau{
    display: table;
    margin: 0 auto;
    opacity: 1;
    transition: all 0.3s;
}

.drapeau:hover{
    opacity: 0.7;
}

/**********ADSENSE**********/
.pub{
    height: 90px;
    background-color: RGBa(252, 252, 252, 0.3);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 500;
}

.pub-display{
    display: block;
}

.pub-mask{
    display: none;
}

#down-arrow{
    opacity: 0.4;
    float: left;
    position: fixed;
    bottom: 65px;
    left: 1%;
    z-index: 1000;
    transition: all 0.2s;
}

#down-arrow:hover{
    opacity: 0.8;
    cursor: pointer;
}

/**********MENU NAV-EN**********/
.nav-en{
    width: 306px;
    /*width: 423px; Après ajout du bouton mécaniques + penser à ajuster la valeur dans le @media screen*/
    height: 31px;
    margin : 0px auto;
    padding: 1px 1px 1px 1px;
}

.nav-en a{
    padding: 5px 10px 5px 10px;
    letter-spacing: 1px;
    background: linear-gradient(to top, #CCC, #FFF);
    border: 1px solid #08298A;
    border-radius: 4px;
    display: inline;
    float: left;
    margin: 2px;
    font-weight: bold;
    text-decoration: none;
    color: black;
    transition: all 0.2s;
}

.nav-en a:hover{
    border: 1px solid #0080FF;
    background: linear-gradient(to top, #BBB, #FFF);
    box-shadow: 0px 0px 3px #08298A;
}

.current{
    text-decoration: underline;
}

@media screen and (max-width: 680px){ 
    .nav-en{
        width: 295px;
    }
}

/**********SCROLLBAR**********/
::-webkit-scrollbar{
    width: 15px;
}

::-webkit-scrollbar-track {
  background-color: #ccc;
}

::-webkit-scrollbar-button{
	width: 20px;
    height: 20px;
    background-color: #333;
}

::-webkit-scrollbar-corner{
    background-color: #fff;
}

::-webkit-scrollbar-button:hover{
    background-color: #666;
}

::-webkit-scrollbar-thumb{
    background: linear-gradient(#58FAF4, #2E9AFE);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover{
    background: linear-gradient(#58FAF4, #2E9AFE);
}