body {
    background: #222;
}
.cr-card {
    float: left;

    height: 95px;
    width: 79px;

    -webkit-transition: opacity .3s;
    transition: opacity .3s;
}
.cr-card.small {
    height: 48px;
    width: 40px;
}
.cr-card.medium {
    height: 63px;
    width: 53px;
}


.elixir {
    color: magenta;
}

.damage {
    color: orange;
}

a:hover>img.cr-card {
    opacity: .5 !important;
}

a:hover>img.cr-card.active {
    opacity: 1 !important;
}

.card_link_container {
    position: relative;
    float: left;
}

.card_tag {
    position: absolute;
    bottom: 10px;
    right: 19px;
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px 0px black;
}

.card_tag.longer {
    right: 9px;
}

.card_picker .cr-card {
    opacity: .6;
    filter: grayscale(70%);
}

.card_picker .cr-card.active {
    opacity: 1;
    filter: none;
}

.bg-danger-hilite {
    background-color: #7F2726 !important;
}

.navbar-toggler-right {
    border: none;
    padding-right: 0;
    right: 0;
}

.dropdown-item:focus, .dropdown-item:hover {
    text-decoration: none;
    /*background-color: rgba(255,255,255,.25);*/
    background-color: transparent;
}
.dropdown-menu.bg-dark {
    border: 1px solid #666;
}
.dropdown-menu.bg-dark .dropdown-divider {
    background-color: #666;
}
.dropdown-menu.bg-dark a.dropdown-item {
    color: rgba(255,255,255,.5);
}

.dropdown-menu.bg-dark a:focus, .dropdown-menu.bg-dark a:hover {
    color: rgba(255,255,255,.75);
}

.table th, .table td {
    border-top: 4px solid #222;
    font-weight: normal;
}

.table thead th {
    color: #636c72;
    font-weight: normal;
}

.form-control.translation {
    background: #222;
    color: #5cb85c;
}
.form-control.translation:focus {
    background: #333;
    color: white;
    border-color: #5cb85c;
}

.form-control.suggestion {
    background: #222;
    color: #d9534f;
}
.form-control.suggestion:focus {
    background: #333;
    color: white;
    border-color: #d9534f;
}
td.small {
    vertical-align: middle;
}

.card.bg-dark .form-control {
    background: #222;
    color: #fff;
}

.card.bg-dark {
    background: #222;
    color: #fff;
}

/*
.card-inverse .form-control:focus {
    background: #333;
    outline: none;
    border-color: transparent;
}
*/


#antispam {
    display: none;
}

/* XXS Custom extra extra small devices */

@media (max-width: 389px) {
    .container {
        margin-left: inherit;
        margin-right: inherit;
        width: auto;
    }
}


/* XS Extra small devices (portrait phones, less than 576px)*/
@media (min-width: 390px) and (max-width: 575px) {
    .container {
        margin-left: inherit;
        margin-right: inherit;
        width: auto;
    }
}

/* MD Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991px) {

    .d-md-table-row {
        display: table-row !important;
    }

}

/* LG Large devices (desktops, 992px and up)*/
@media (min-width: 992px) and (max-width: 1199px) {

    .d-md-table-row {
        display: table-row !important;
    }

}

/* XL Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {

    .d-md-table-row {
        display: table-row !important;
    }

}




@media (max-width: 767px) {
    .table-decompose td.decompose-body, .table-decompose th.decompose-body {
        border-top: none;
        display: block;
    }

    .table-decompose td.decompose-tag, .table-decompose th.decompose-tag {
        display: block;
        padding-bottom: 0;
    }

    .table-decompose td.decompose-more, .table-decompose th.decompose-more {
        border-top: none;
        display: block;
        text-align: right;
        padding-top: 0;
    }

    .table-decompose td.decompose-start {
        border-top: 10px solid #222;
    }
}

.progress {
    background: #222;
    border: 1px solid #000;
    font-size: inherit;
}

.progress-bar {
    color: #000;
}

/* Animations - TEMPORARY */
@keyframes flash {
    0% {
        background-color: #0b5500;
    }
    100% {
        background-color: #292b2c;
    }
}

@keyframes flash-success {
    0% {
        background-color: #0b5500;
    }
    100% {
        background-color: #292b2c;
    }
}

.flash, .flash-success {
    animation-name: flash;
    animation-duration: 1000ms;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
}

.flash-success {
    animation-name: flash-success;
}

.saveBtn {
    /*visibility: hidden;*/
}