@font-face {
  font-family: RubikRegular;
  src: url('fonts/Rubik-Regular.ttf');
}
/* Modif bootstrap */
.navbar, .nav-tabs {
    border-radius: 0 0 10px 10px;
    background-color: #1E3D7F;
    box-shadow: inset 0 -5px 0 -3px rgba(0,0,0,0.17);
    height: 4rem;
}
.navbar-collapse {
    background-color: #1E3D7F;
    padding: 0 1rem;
}

.btn-warning, .btn-warning:hover {
    color: #fff;
}

.nav-link {
    text-align: center;
}
.nav-link {
    color: #fff!important;
}
.dropdown-item:hover, .nav-link:hover {
    color: orange!important;
}
.dropdown.show .dropdown-toggle, .nav-link.active {
    color: #fff!important;
    background-color: #ECA400!important;
}

.btn-tri span {
    color: #000;
    font-weight: bold;
}

.btn-secondary {
    background-color: #A7A7A7;
    border-color: #A7A7A7;
    color: #000;
}

.btn-success, .btn-secondary:hover {
    background-color: #62A87C;
    border-color: #62A87C;
    font-weight: bold;
}
.row {
    margin-right: 0;
    margin-left: 0;
}


/* CSS Global */
body {
    font-family: RubikRegular;
    height: 100%;
}
.container-fluid {
    min-height: calc(100% - 8rem);
    max-width: 1280px;
}

h3 {
    margin: auto;
}

.right {
    float: right;
}

.center {
    text-align: center;
}

a.auteur {
    color: #1E3D7F;
}

a.auteur:hover {
    text-decoration: none;
    font-weight: bold;
}

.padding-0 {
    padding: 0;
}

/* All */
#logo {
    height: 50px;
    margin-right: 20px;
}

.lang_flag {
    width: 30px;
    margin-left: 30px;
}

.news {
    margin-top: 20px;
    margin-left: 10px;
    box-shadow: inset 0 -6px 0 -5px rgba(0,0,0,0.17);
}

.carte {
  width: 250px;
  margin: 5px 10px;
}

.row-filter {
    margin-top:20px;
}
.dot {
    height: 25px;
    width: 25px;
    border-radius: 50%;
    display: inline-block;
    padding: 5px;
}

#deckList {
    text-align: center;
    background-color: #cecece;
    border: 1px solid #ababab;
    border-radius: 10px;
    padding: 10px;
    overflow: auto;
}

.block {
    background-color: #cecece;
    border: 1px solid #ababab;
    border-radius: 10px;
    padding: 10px;
}
#cards {
    margin-top: 10px;
    text-align: center;
    cursor: pointer;
}

.deckCard {
    text-align: left;
    overflow: hidden;
    height:26px;
    line-height:23px;
    font-weight:bold;
    padding-left: 5px;
    padding-right:5px;
    border:1px solid #cecece;
    border-radius: 10px;
    margin:auto;
    width:70%;
    display: inline-block;
    white-space: nowrap;
    cursor: pointer;
    color:#fff;
}
#digitamaListCards .deckCard, #deck .deckCard {
    width:100%
}

.deckCardNumber {
    margin: 0 10px;

    border-right: 1px solid #fff;
    padding-right: 15px;
}

.mot_cle {
    padding: 0 5px;
    background-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(20,42,74,1) 51%, rgba(47,84,139,1) 100%);
    color: #fff;
    border: 1px solid #ababab;
    border-radius: 5px;
    white-space: nowrap;
}

.mot_attribut {
    padding: 0 5px;
    background-image: linear-gradient(to bottom, rgba(157,34,30,1) 0%, rgba(195,92,41,1) 100%);
    color: #fff;
    border: 1px solid #ababab;
    border-radius: 5px;
    white-space: nowrap;
}

.mot_repetition {
    padding: 0 5px;
    background-image: linear-gradient(to bottom, rgba(81,0,73,1) 0%, rgba(104,11,97,1) 49%, rgba(215,29,129,1) 100%);
    color: #fff;
    border: 1px solid #ababab;
    border-radius: 5px;
    white-space: nowrap;
}

#filtersHidden {
    display: none;
}

/* Footer */

footer {
    background-color: #1E3D7F;
    color: #fff;
    text-align: center;
    padding: 0.5rem 0;
    height: 4rem;
}

/* Carte.php */
.cards_other {
    height: 150px;
    margin: auto;
    cursor: pointer;
}

#card-top {
    position: relative;
    height: calc(75% - 8rem);
}

#card-bottom {
    margin:auto;
    margin-top:1rem;
}
/* DeckList */
#deckList_image img {
    height: 150px;
    margin: 20px 0;
}

.cards_container {
    display: inline-block;
    position: relative;
    padding: 20px;
    text-align: center;
    color: white;
    margin-bottom:20px;
}
.cards_container img {
    height: 200px;

}
.cards_quantity {
    position: absolute;
    font-size: 20px;
    background-color: #ECA400;
    color: #fff;
    top: 40px;
    right: 20px;
    width: 20px;
    border-left: 1px #ECA400 solid;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.border-card-red, .border-card-blue, .border-card-green, .border-card-purple, .border-card-black{
    border-color: #fff;
}
.border-card-yellow, .border-card-white{
    border-color: #000;
}
.card-color-red {
    background-color: #E7012C;
    color: #fff;
}
.card-color-blue {
    background-color: #0998D3;
    color: #fff;
}
.card-color-green {
    background-color: #01965D;
    color: #fff;
}
.card-color-yellow {
    background-color: #F9DC04;
    color: #000;
}
.card-color-white {
    background-color: #dfdfdf;
    color: #000;
}

.card-color-purple {
    background-color: #635AA5;
    color: #fff;
}

.card-color-black {
    background-color: #000;
    color: #fff;
}

.evo_cercle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 15px;
    line-height: 25px;
    text-align: center;
    display: inline-block;
    font-weight: bold;
}
.evo_cercle .big {
    font-size:21px;
}

.evo-color-red {
    background: radial-gradient(ellipse at center, rgba(220,0,37,1) 0%, rgba(165,0,19,1) 50%, rgba(220,0,37,1) 100%);
    border: 1px solid #fff;
    color: #fff;
}
.evo-color-blue {
    background: radial-gradient(ellipse at center, rgba(9,145,203,1) 0%, rgba(9,145,203,1) 12%, rgba(10,116,162,1) 69%);
    border: 1px solid #fff;
    color: #fff;
}
.evo-color-green {
    background: radial-gradient(ellipse at center, rgba(13,211,135,1) 0%, rgba(13,211,135,1) 11%, rgba(2,163,101,1) 62%, rgba(13,211,135,1) 100%);
    border: 1px solid #fff;
    color: #fff;
}
.evo-color-yellow {
    background: radial-gradient(ellipse at center, rgba(249,218,5,1) 0%, rgba(249,218,5,1) 11%, rgba(230,178,23,1) 62%, rgba(249,218,5,1) 100%);
    border: 1px solid #fff;
    color: #000;
}
.evo-color-black {
    background: radial-gradient(ellipse at center, rgb(6, 7, 7) 0%, rgb(27, 32, 30) 11%, rgb(18, 26, 22) 62%, rgb(17, 29, 24) 100%);
    border: 1px solid #fff;
    color: #fff;
}
.evo-color-purple {
    background: radial-gradient(ellipse at center, #635AA5 0%, #635AA5 11%, #635AA5 62%, #635AA5 100%);
    border: 1px solid #fff;
    color: #fff;
}


#deckbuild_error {
    display: none;
    margin-top: 10px;
}

#deckbuild_button {
    margin-top: 20px;
}
/** Login */
#container_login {
    margin-top: 40px;
}

/** Decks */
#decks .deck {
  border: 1px solid #ababab;
}

.margin-bot {
    margin-top: 60px;
}
