/* _ < -   GENERAL   - > _ */

/* Règles Betstrep */

body {
    background-color: transparent !important;
    overflow-x: hidden;
}

th {font-weight: normal}

hr {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

input[type="radio"], input[type="checkbox"] {
    margin: 4px 0 0 0 !important;
    line-height: normal;
}

.glyphicon-info-sign {
    color: #2e303c !important;
    font-size: 14px;
    width: 15px !important;
}
.tooltip > .tooltip-inner {
    background-color: black;
    color: white;
    border: 1px solid black;
}

/* Onboarding handling */

#step-4 {
    margin-top: 40px;
}

#step-1 .btn-group [data-role="next"], #step-2 .btn-group [data-role="next"], #step-4 .btn-group [data-role="next"], #step-5 .btn-group [data-role="next"], #step-6 .btn-group [data-role="next"], #step-7 .btn-group [data-role="next"] {
    background-color: #FFF;
    border-color: #CCC;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.65;
    box-shadow: none;
}

#step-5 {
    z-index: 9003;
    margin-top: 150px;
}
#step-6 {
    z-index: 9003;
}

/* filter CSS */

/* ---- button ---- */

.filterbutton {
    display: inline-block;
    padding: 0.5em 1.0em;
    border: none;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.7) none repeat scroll 0 0;
    color: #ECEAEE;
    font-family: sans-serif;
    font-size: 16px;
    cursor: pointer;
}

.filterbutton:hover {
    color: rgba(223,223,223,0.3);
}

.filterbutton:active,
.filterbutton.is-checked {
    background-color: #ECEAEE;
    color: rgba(0, 0, 0, 0.7);
}

.filterbutton.is-checked {
    color: black;
}

[data-filter="SSfilter"]:hover, [data-filter="SSfilter"]:active, [data-filter="SSfilter"].is-checked {
    color: goldenrod;
}
[data-filter="Sfilter"]:hover, [data-filter="Sfilter"]:active, [data-filter="Sfilter"].is-checked {
    color: #c0c0c0;
}
[data-filter="Afilter"]:hover, [data-filter="Afilter"]:active, [data-filter="Afilter"].is-checked {
    color: indianred;
}
[data-filter="Bfilter"]:hover, [data-filter="Bfilter"]:active, [data-filter="Bfilter"].is-checked {
    color: orange;
}
[data-filter="Cfilter"]:hover, [data-filter="Cfilter"]:active, [data-filter="Cfilter"].is-checked {
    color: blueviolet;
}
[data-filter="Dfilter"]:hover, [data-filter="Dfilter"]:active, [data-filter="Dfilter"].is-checked {
    color: cornflowerblue;
}

[data-filter="Nonefilter"]:hover {
    color: rgb(180, 180, 180);
}
[data-filter="Nonefilter"]:active, [data-filter="Nonefilter"].is-checked {
    background-color: rgb(180, 180, 180);
    color: rgba(0, 0, 0, 0.7);
}
[data-filter="Icefilter"]:hover {
    color: cornflowerblue;
}
[data-filter="Icefilter"]:active, [data-filter="Icefilter"].is-checked {
    background-color: cornflowerblue;
    color: rgba(0, 0, 0, 0.7);
}
[data-filter="Firefilter"]:hover {
    color: #DC2222;
}
[data-filter="Firefilter"]:active, [data-filter="Firefilter"].is-checked {
    background-color: #DC2222;
    color: rgba(0, 0, 0, 0.7);
}
[data-filter="Lightningfilter"]:hover {
    color: #eea236;
}
[data-filter="Lightningfilter"]:active, [data-filter="Lightningfilter"].is-checked {
    background-color: #eea236;
    color: rgba(0, 0, 0, 0.7);
}
[data-filter="Darknessfilter"]:hover {
    color: #8A5AE2;
}
[data-filter="Darknessfilter"]:active, [data-filter="Darknessfilter"].is-checked {
    background-color: #8A5AE2;
    color: rgba(0, 0, 0, 0.7);
}
[data-filter="Healfilter"]:hover {
    color: darkseagreen;
}
[data-filter="Healfilter"]:active, [data-filter="Healfilter"].is-checked {
    background-color: darkseagreen;
    color: rgba(0, 0, 0, 0.7);
}
[data-filter="Statusfilter"]:hover {
    color: rgb(0, 166, 0);
}
[data-filter="Statusfilter"]:active, [data-filter="Statusfilter"].is-checked {
    background-color: rgb(0, 166, 0);
    color: rgba(0, 0, 0, 0.7);
}
[data-filter="Photonfilter"]:hover {
    color: rgb(190, 159, 64);
}
[data-filter="Photonfilter"]:active, [data-filter="Photonfilter"].is-checked {
    background-color: rgb(190, 159, 64);
    color: rgba(0, 0, 0, 0.7);
}
[data-filter="Gravitonfilter"]:hover {
    color: rgb(140, 120, 124);
}
[data-filter="Gravitonfilter"]:active, [data-filter="Gravitonfilter"].is-checked {
    background-color: rgb(140, 120, 124);
    color: rgba(0, 0, 0, 0.7);
}

/* ---- button-group ---- */

.filterbutton-group:after {
    content: '';
    display: block;
    clear: both;
}

/* Chrome only hack */

@media screen and (-webkit-min-device-pixel-ratio:0)
{
    .menuBtn {
        left: 0;
    }
}

/* Fin */

html {
    background-color: #2E303C;/*#444555;  #EEDADD */
}

header {
    background-color: rgba(0,0,0,0.4);
    border-bottom: 2px solid darkgray;
    color: white;
    width: 100%;
    display: table;
    margin-top: 20px;
    margin-bottom: 20px;
}
header h1 {
    float: left;
    margin-left: 10px;
}
/*
.lilPic {
    float: right;
    display: inline-block;
    margin-top: 15px;
}
.lilPic img {
    height: 70px;
    width: 70px;
    border-radius: 4px;
}
#lilPic2 {
    margin-left: 20px;
}

*/

.lilPic {
    display: inline-block;
    margin-top: 15px;
    position: fixed;
    right: -70px;
}
.lilPic img {
    border-radius: 4px;
}
#lilPic1 {
    display: none;
}
#lilPic2 {
    display: none;
    margin-left: 20px;
}


#compareBtn {
    display: none;
    width: 140px;
    height: 40px;
    float: right;
    color: #2E303C;
    font-weight: bold;
    text-align: center;
    line-height: 40px;
    border-bottom: 2px #444444;
    border-right: 2px #444444;
    opacity: 0;
}

.menuBtn {
    width: 25px;
    height: 25px;
    float: left;
    margin-top: 35px;
    margin-left: 10px;
    z-index: 9000;
}

/* * * * * * * * _ Menu Smartphone / Tablet _ * * * * * * * */

.menu {
    opacity: 1;
    position: fixed;
    top: 0;
    width: 225px;
    min-height: 100%;
    max-height: 100%;
    margin-left: -10px;
    padding-left: 10px;
    background: rgba(223, 223, 223, 0.3);
    z-index: 10;
    left: -225px;
    overflow-y: auto;
}

.menu .ui-group .filterbutton-group .filterbutton {
    margin-bottom: 10px;
    margin-right: 6px;
}

.menu h4 {
    color: #ECEAEE;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}
.menu .ui-group form input[type=number] {
    width: 22%;
    border-radius: 4px;
    border: 2px solid darkgray;
    padding: 0.5em 1.0em;
    background-color: #ECEAEE;
}
.menu .ui-group form input[type=number]:focus {
    border:2px solid grey;
    background-color: whitesmoke;
}

.menu .ui-group form input[type=submit] {
    width: 70%;
    background-color: mediumseagreen;
    color: rgb(236, 234, 238);
    border: medium none;
    border-radius: 4px;
    font-family: sans-serif;
    font-size: 16px;
    cursor: pointer;
    margin-left: 5px;
    padding: 0.5em 1.0em;
}
.menu .ui-group form input[type=submit]:hover, .menu .ui-group form input[type=submit]:active {
    color: rgba(0, 0, 0, 0.7);
}

.helpBtn {
    width: 95%;
    margin-bottom: 10px;
    padding: 0.5em 1.0em;
    background-color: mediumseagreen;
    color: #ECEAEE;
    border: none;
    border-radius: 4px;
    font-family: sans-serif;
    font-size: 16px;
    cursor: pointer;
}
.helpBtn:hover {
    color: rgba(0, 0, 0, 0.7);
}
.helpBtn:active {
    color: rgba(0, 0, 0, 0.7);
}

/* * * * * * * * _ Legend _ * * * * * * * */

.containerLegend {
    display: none;
    width: 130px;
    position: fixed;
    top: 155px;
    right: 25px;
    color: #ECEAEE;
    background: rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 5px;
}

.legend {
    height: 25px;
    display: inline-block;
    float: left;
    border: 1px solid #444444;
    border-radius: 3px;
    margin-right: 10px;
}

.containerLegend .legend {
    width: 25px;
}

.containerLegend div p {
    line-height: 25px;
}

.menu span:last-child {
    color: #ECEAEE;
}
.menu span {
    width: 75px;
}
.menu span span:first-child {
    width: 25px;
}

label {
    color: #ECEAEE;
}

/* * * * * * * * _ Mask & Stuff to compare _ * * * * * * * */

.compareMask {
    display: none;
    background-color: #111;
    opacity: 0;
    position: fixed;
    z-index: 9000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 175px;
}

#comparedChar1, #comparedChar2 {
    z-index: 9001;
    position: relative;
}

/* * * * * * * * _ Main _ * * * * * * * */

.containerChar {
    background-color: #ECEAEE;
    color: #2E303C;
    width: 95%;
    margin: 0 auto 30px auto;
    border-radius: 5px;
    border-left: 3px solid #444444;
    border-top: 3px solid #444444;
    border-bottom: 3px solid #444444;
}

.containerChar:hover {
    box-shadow: 0 0 7px black;
}

.containerPic {
    background-color: white;
    position: relative;
    float: left;
    padding: 5px;
    border-radius: 5px;
    border: 2px solid;
    cursor: pointer;
}

.containerPic img {
    margin: 0 auto;
}

.containerInfo h2 {
    display: inline;
}

thead tr th {
    text-align: center;
}

.stats tr th:nth-child(2) ,.stats tr th:last-child {
    text-align: center;
}

.skills tr th:first-child {
    width: 20px;
}


.rank {
    float: right;
}
.Z {
    color: black;
}
.SS {
    color: goldenrod;
}
.S {
    color: #c0c0c0;
}
.A {
    color: indianred;
}
.B {
    color: orange;
}
.C {
    color: blueviolet;
}
.D {
    color: cornflowerblue;
}

.containerJob {
    float: left;
    width: 21px;
    text-align: center;
}

.containerJob div {
    height: 98px;
    line-height: 15px;
    padding-top: 2px;
    margin-right: -2px;
    font-size: 90%;
}

.containerJob div div {
    height: 13px;
    margin-right: 1px;
}

.containerJob div div:nth-child(4) {
    margin-top: 4px;
}

.job2, .job3 {
    cursor: pointer;
}
.job2,.job3 {
    background-color: rgba(0,0,0,1);
    border-left: 2px solid #444444;
}

.job1 {
    border-top-right-radius: 5px;
    font-weight: bold;
    border-bottom: 1px solid #444444 !important;
    border-top: 3px solid #444444;
}
.job2 {
    border-bottom: 1px solid #444444 !important;
    border-top: 1px solid #444444 !important;
}
.job3 {
    border-bottom-right-radius: 5px;
    border-bottom: 2px solid #444444;
    border-top: 1px solid #444444 !important;
}


.info table {
    font-size: 93%;
}

hr {
    background-color: black !important;
    color: black !important;
    border-color: black !important;
}

/* Pour le job */

.Staff {
    background: url("../images/weapons/staff.png") no-repeat;
    background-size: 18px;
    height: 20px !important;
    margin-top: 12px;
}
.Staff div {
    text-shadow: 1px 1px 0 black;
}
.Sword {
    background: url("../images/weapons/sword.png") no-repeat;
    background-size: 18px;
    height: 20px !important;
    margin-top: 12px;
}
.Spear {
    background: url("../images/weapons/spear.png") no-repeat;
    background-size: 18px;
    height: 20px !important;
    margin-top: 12px;
}
.Bow {
    background: url("../images/weapons/bow.png") no-repeat;
    background-size: 18px;
    height: 20px !important;
    margin-top: 12px;
}

.Fire {
    border-right: 3px solid #DC2222 /*firebrick*/ !important;
    color: #DC2222 /*firebrick*/;
}
.Ice {
    border-right: 3px solid cornflowerblue !important;
    color: cornflowerblue;
}
.Lightning {
    border-right: 3px solid #eea236 !important;
    color: #eea236;
}
.Darkness {
    border-right: 3px solid #8A5AE2/* blueviolet ou rgb(102,0,204)*//*mediumpurple*/ !important;
    color: #8A5AE2/* blueviolet ou rgb(102,0,204)*//*mediumpurple*/;
}
.Heal {
    border-right: 3px solid darkseagreen /*ghostwhite*/ !important;
    color: darkseagreen /*ghostwhite*/;
    /*color: #67b168;
        color: cadetblue;
        color: darkseagreen;
        color: lightblue;
        color: mediumaquamarine;
        color: mediumturquoise;
        */
}
.Status {
    border-right: 3px solid rgb(0, 166, 0) /* darkgreen */ !important;
    color: rgb(0, 166, 0) /* darkgreen */;
}
.None {
    border-right: 3px solid rgb(180, 180, 180) !important;
    color: rgb(180, 180, 180);
}
.Graviton {
    border-right: 3px solid rgb(140, 120, 124) /* darkgreen */ !important;
    color: rgb(140, 120, 124) /* darkgreen */;
}
.Photon {
    border-right: 3px solid rgb(190, 159, 64) /* darkgreen */ !important;
    color: rgb(190, 159, 64) /* darkgreen */;
}

.firelegend {
    background-color: #DC2222;
}
.icelegend {
    background-color: cornflowerblue;
}
.lightninglegend {
    background-color: #eea236;
}
.darknesslegend {
    background-color: #8A5AE2;
}
.heallegend {
    background-color: darkseagreen;
}
.statuslegend {
    background-color: rgb(0, 166, 0);
}
.nonelegend {
    background-color: rgb(180, 180, 180);
}
.gravitonlegend {
    background-color: rgb(140, 120, 124);
}
.photonlegend {
    background-color: rgb(190, 159, 64);
}

.sk {
    background-color: #444444;
    color: #ECEAEE;
}
.sk:before {

}

/*
tr th:first-of-type {
    font-weight: bold;
}
*/

.skills .Fire , .skills .Ice , .skills .Lightning , .skills .Darkness , .skills .Heal , .skills .Status{
    border-right: none !important;
}

.worst {
    color: red;
}
.worst:after {
    content: ' ↓';
}

.best {
    color: green;
    font-weight: bold;
}
.best:after {
    content: ' ↑';
}

footer {
    background-color: rgba(0,0,0,0.4);
    border-top: 2px solid darkgray;
    color: white;
    width: 100%;
    margin-bottom: 20px;
    margin-top: 20px;
    text-align: center;
    padding: 10px;
}
footer a {
    color: #A9A9A9;
}
footer a:hover {
    color: #3CB371;
    text-decoration: none;
}

#code {
    color: #A9A9A9;
}
#love {
    color: #DC2222;
    font-weight: bold;
}
/* SMARTPHONES PORTRAIT */
@media (min-width: 320px) {

    /* Code pour avoir juste les pics, à annuler lors de la comparaison */

    html {
        width: 100%;
    }

    .containerInfo {
        display: none;
    }

    .containerJob {
        display: none;
    }

    .containerChar {
        height: 0;
        padding: 0;
        border-left: 0 solid #444;
        border-top: 0 solid #444;
        border-bottom: 0 solid #444;
    }
    .containerPicInfo {
        margin: 15px 0 15px 18px;
    }

    /* Fin du code pour avoir juste les pics */

    .page {
        height: 100%;
        position: relative;
    }

    header {
        height: 80px;
    }
    #headerSubstitut {
        margin-top: 20px;
    }
    header h1 {
        line-height: 65px;
    }
    .lilPic img {
        height: 50px;
        width: 50px;
    }
    #compareBtn {
        margin-top: 21px;
        margin-left: 10px;
        margin-right: 25px;
    }

    .menuBtn {
        margin-top: 20px;
        position: absolute;
    }

    .containerLegendMenu div {
        margin-bottom: 4px;
    }
    .containerLegendMenu div p {
        display: inline-block;
        color: #ECEAEE;
    }
    .containerLegendMenu .legend {
        width: 25px;
    }
    .containerLegendBtn {
        display: none;
    }

    .col-xs-6 {
        width: auto !important;
        padding-right: 19px !important;
        padding-left: 18px !important;
    }

    .container {
        margin-left: auto;
        margin-right: auto;
        padding-right: 15px;
        padding-left: 15px;
    }
    .containerChar {
        /*height: 335px;*/ /* in case 320 pics only */
        /*padding: 10px 0 0 10px;*/ /* in case 320 pics only */
    }
    .containerPicInfo {
        width: 92%;
        float: left;
    }

    .containerPic {
        margin-right: 5px;
        width: auto;
    }

    .containerPic img {
        height: 60px;
        width: 60px;
    }
    .little_pic {
        display: block;
    }
    .standard_pic {
        display: none;
    }

    h2, .h2 {
        font-size: 22px !important;
    }
    .rank {
        font-size: 2em;
        margin-right: 13px;
    }

    .info hr:first-of-type {
        display: none;
    }
    .containerStats {
        /*margin-top: 45px;*/
        margin-top: 29px;
    }
    thead tr th {
        width: 82px;
    }

    hr {
        width: 90%;
    }

    .containerJob {
        margin-left: -3px;
        margin-top: -13px;
    }
    .containerJob div {
        height: 111.3px;
    }
    .job_monster {
        height: 334px !important;
        padding-top: 115px !important;
    }
}

/* TABLETS PORTRAIT */
@media (min-width: 768px) {

    header {
        height: 100px;
    }
    header h1 {
        line-height: 90px;
    }
    .lilPic img {
        height: 70px;
        width: 70px;
    }
    #compareBtn {
        margin-top: 30px;
        margin-left: 20px;
        margin-right: 20px;
    }

    main {
        margin-top: 35px;
    }

    .col-xs-6 {
        width: 50% !important;
        padding-right: 15px !important;
        padding-left: 15px !important;
    }

    .containerChar {
        height: 295px;
        padding: 10px 0 0 10px; /* in case 320 pics only */
        border-left: 3px solid #444; /* in case 320 pics only */
        border-top: 3px solid #444; /* in case 320 pics only */
        border-bottom: 3px solid #444; /* in case 320 pics only */
    }
    .containerPicInfo {
        width: 92%;
        float: left;
        margin: 0; /* in case 320 pics only */
    }
    .containerInfo {
        display: block; /* in case 320 pics only */
    }
    .rank {
        margin-right: 10px;
    }

    .little_pic {
        display: block;
    }
    .standard_pic {
        display: none;
    }

    h2, .h2 {
        font-size: 22px !important;
    }
    .containerStats {
        /*margin-top: 45px;*/
        margin-top: 29px;
    }

    .containerJob {
        display: block; /* in case 320 pics only */
        margin-left: 2px;
    }
    .containerJob div {
        height: 98px;
    }
    .job_monster {
        height: 293px !important;
        padding-top: 100px !important;
    }
}

/* TABLET LANDSCAPE / DESKTOP */
@media (min-width: 992px) {

    header {
        margin-top: 20px;
    }

    #headerSubstitut {
        margin-top: 20px;
    }

    .menuBtn {
        position: absolute;
        top: 140px;
        margin: 0 0 0 10px;
    }

    .containerChar {
        height: 285px;
    }
    .containerPicInfo {
        width: 92%;
        float: left;
    }

    .containerPic {
        margin-right: 10px;
    }

    .containerPic img {
        height: 170px;
        width: 115px;
    }
    .little_pic {
        display: none;
    }
    .standard_pic {
        display: block;
    }

    .rank {
        margin-right: 0;
    }

    h2, .h2 {
        font-size: 30px !important;
    }

    .containerStats {
        margin-top: 7px;
    }
    thead tr th {
        width: 65px;
    }

    hr {
        width: 234px;
    }

    .skills {
        margin-top: 11px;
    }

    .containerJob {
        margin-left: 10px;
    }
    .containerJob div {
        height: 94.5px;
    }
    .job_monster {
        height: 284px !important;
        padding-top: 95px !important;
    }
}
/* WIDE SCREENS */
@media (min-width: 1200px) {

    .containerLegendBtn {
        display: block;
    }
    .containerLegendBtn label {
        margin-left: 5px;
    }

    .containerLegendMenu {
        display: none;
    }

    .containerChar {
        height: 295px;
        padding: 15px 0 15px 15px;
    }

    .containerChar:hover {
        box-shadow: 0 0 7px black;
    }
    .containerChar:hover .rank {
        -webkit-animation:rainbow 1s infinite;
        -ms-animation:rainbow 1s infinite;
        -o-animation:rainbow 1s infinite;
        animation:rainbow 1.5s infinite;
    }

    @-webkit-keyframes rainbow {
        0% {opacity: 1;}
        10% {opacity: 0.8;}
        20% {opacity: 0.7;}
        30% {opacity: 0.6;}
        40% {opacity: 0.5;}
        50% {opacity: 0.4;}
        60% {opacity: 0.5;}
        70% {opacity: 0.6;}
        80% {opacity: 0.7;}
        90% {opacity: 0.9;}
    }
    @-ms-keyframes rainbow {
        0% {opacity: 1;}
        10% {opacity: 0.8;}
        20% {opacity: 0.7;}
        30% {opacity: 0.6;}
        40% {opacity: 0.5;}
        50% {opacity: 0.4;}
        60% {opacity: 0.5;}
        70% {opacity: 0.6;}
        80% {opacity: 0.7;}
        90% {opacity: 0.9;}
    }
    @-o-keyframes rainbow {
        0% {opacity: 1;}
        10% {opacity: 0.8;}
        20% {opacity: 0.7;}
        30% {opacity: 0.6;}
        40% {opacity: 0.5;}
        50% {opacity: 0.4;}
        60% {opacity: 0.5;}
        70% {opacity: 0.6;}
        80% {opacity: 0.7;}
        90% {opacity: 0.9;}
    }

    @keyframes rainbow {
        0% {opacity: 1;}
        10% {opacity: 0.8;}
        20% {opacity: 0.7;}
        30% {opacity: 0.6;}
        40% {opacity: 0.5;}
        50% {opacity: 0.4;}
        60% {opacity: 0.5;}
        70% {opacity: 0.6;}
        80% {opacity: 0.7;}
        90% {opacity: 0.9;}
    }

    /* Rainbow rank */
    /*
    0% {color: #ff0000;}
    10% {color: #ff8000;}
    20% {color: #ffff00;}
    30% {color: #80ff00;}
    40% {color: #00ff00;}
    50% {color: #00ff80;}
    60% {color: #00ffff;}
    70% {color: #0080ff;}
    80% {color: #0000ff;}
    90% {color: #8000ff;}
    100% {color: #ff0080;}
    */

    .containerPicInfo {
        width: auto;
        float: none;
    }

    .containerPic {
        width: 36%;
        margin-right: 15px;
    }

    .containerPic img {
        height: 246px;
        width: 163px;
    }

    .little_pic {
        display: none;
    }
    .standard_pic {
        display: block;
    }

    .containerInfo {
        float: left;
    }

    .containerStats {
        margin-top: 0;
    }
    thead tr th {
        width: 60px;
    }

    .skills {
        margin-top: 6px;
    }

    .containerJob {
        margin-left: 14px;
        margin-top: -18px;
    }

    .containerJob div {
        height: 98px;
    }

    .job_monster {
        height: 294px !important;
        padding-top: 100px !important;
    }

    .info hr:first-of-type {
        display: block;
    }
    hr {
        width: 265px;
    }
}

/* BIG FAT ASS MAC */
@media (min-width: 2000px) {
    .container {
        width: 1735px !important;
    }
    .col-md-6 {
        width: 33.33333333% !important;
    }
}
