.card {
    border-radius: var(--radius-base);
    box-shadow: 0px 3px 6px 0px rgba(26, 61, 77, 10%);
    background-color: var(--white-01);
    /* max-height: 420px; - Overflow on some cards, if need a limeted height use a modifier */
}

.card.blue {
    border: 1px solid var(--complementary-01);
}

.card.blue i {
    font-size: 48px;
    color: var(--complementary-01);
}

.card.blue h1,
.card.blue h2,
.card.blue h3,
.card.blue h4,
.card.blue h5,
.card.blue h6 {
    color: var(--complementary-01);
}

.card.blue:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    border-radius: var(--radius-base) 0 0 var(--radius-base);
    background-color: var(--complementary-01);
}

.card.card-widget {
    width: 100%;
    min-width: 168px;
    height: 168px;
    border: none;
}

.card.card-widget.primary {
    background-color: var(--primary);
    color: var(--grey-01);
}

.card.card-widget.light {
    background-color: var(--complementary-02);
    color: var(--primary);
}

.card.card-widget.tertiary {
    background-color: var(--tertiary);
    color: var(--grey-01);
}

.card.card-widget.secondary {
    background-color: var(--secondary);
    color: var(--primary);
}

.card.card-widget .card-value {
    margin-left: auto;
}

.card-img-cover {
    position: relative;
    height: auto;
    width: 100%;
    border-radius: 8px 8px 0 0;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    overflow: hidden;
}

.card-img-cover img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    object-fit: cover;
    max-width: 100%;
    text-align: center;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.card-cover {
    position: relative;
}

.card-cover-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 2;
}

.card-desc-info {
    position: relative;
    display: inline-block;
    height: 28px;
    max-width: 200px;
    font-size: 14px;
    color: var(--tertiary);
    border: solid var(--tertiary);
    border-width: 1px 0 1px 1px;
    padding: 2px 8px;
    margin-top: 8px;
    margin-left: -16px;
}

.card-desc-info::before {
    content: "";
    position: absolute;
    width: 19px;
    height: 19px;
    right: -10px;
    top: 3.5px;
    border: solid var(--tertiary);
    border-width: 1px 1px 0 0;
    transform: rotate(45deg);
}

.wdk-card-game-cover {
    position: relative;
}

.card-footer {
    background-color: transparent;
}

.card-img-cover {
    position: relative;
    height: 65px;
    width: 100%;
    border-radius: 8px 8px 0 0;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    overflow: hidden;
}

.card-img-cover img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 100%;
    text-align: center;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.card-desc-info {
    position: relative;
    color: var(--tertiary);
    max-width: 200px;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: -17px;
    padding: 2px 8px;
    border: 1px solid var(--tertiary);
    border-left: none;
    border-right: none;
}

.card-desc-info::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 1px;
    right: -17px;
    top: 6px;
    background-color: var(--tertiary);
    transform: rotate(45deg);
}

.card-desc-info:after {
    content: "";
    position: absolute;
    width: 20px;
    height: 1px;
    right: -17px;
    bottom: 6px;
    background-color: var(--tertiary);
    transform: rotate(-45deg);
}

.game-cover .cover.cover-rectangle {
    position: relative;
    height: 100%;
    width: 100%;
}

.game-cover .cover.cover-wide {
    position: relative;
    height: 100%;
    width: 100%;
}

/* _________________ Card Combo _________________ */

.card-combo {
    position: relative;
    background-color: var(--white-01);
    padding: 16px;
    border: 1px solid var(--grey-01);
    border-radius: var(--radius-base);
    box-shadow: 0px 3px 6px 0px rgba(26, 61, 77, 10%);
    transition: var(--time-01);
}

.card-combo + .card-combo  {
    margin-top: 12px;
}

.card-combo:not(.favorite) .card-fav .icon-favorite,
.card-combo.favorite .card-fav .icon-favorite_border {
    opacity: 0;
    display: none;
}

.card-combo:not(.favorite) .card-fav:hover .icon-favorite{
    opacity: 1;
    display: block;
    transition-duration: .5s;
    transition-property: opacity;
}

@keyframes wipe-in-down {
    from {
    clip-path: inset(0 0 100% 0);
    }
    to {
    clip-path: inset(0 0 0 0);
    }
}

.card-combo:not(.favorite) .card-fav:hover .icon-favorite{
    animation: .7s cubic-bezier(.25, 1, .30, 1) wipe-in-down both;
}

.card-combo.favorite .card-fav:hover .icon-favorite {
    color: var(--tertiary-dark);
    transition: .5s;
}

.card-fav {
    width: 44px;
    height: 44px;
    position: absolute;
    top: 10px;
    right: 10px;
    appearance: none;
    border: none;
    background-color: transparent;
    outline: none !important;
    box-shadow: none !important;
    transition: .5s;
}

.card-fav [class*=icon-] {
    font-size: 32px;
    color: var(--tertiary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: var(--time-01);
}

@media (max-width: 576px) {
    .card-fav {
        height: 34px;
    }
}

.card-show {
    position: absolute;
    right: 16px;
    bottom: 22px;
    margin: 0 !important;
}

@media (max-width: 576px) {
    .card-show {
        bottom: 14px;
        right: 50%;
        transform: translateX(50%);
    }
}

.card-combo-collapsed {
    max-height: 0px;
    opacity: 0;
    overflow: hidden;
    transition: var(--time-01);
}

.card-combo.opened .card-combo-collapsed {
    overflow: visible;
    max-height: 700px;
    opacity: 1;
    transition: .5s;
}

/* .card-combo:not(.opened) .card-combo-collapsed > * {
    display: none;
} */

.card-combo-collapsed.collapsed-dropdown {
    position: absolute;
    z-index: 1000;
    background-color: white;
    width: 100%;
    margin: 0 -16px;
    padding: 8px 16px 16px 16px;
    box-shadow: 3px 3px 12px 1px rgb(0 0 0 / 15%);
    border-radius: 8px;
    bottom: 0;
    transform: translateY(104%);
}

.card-combo:not(.opened) .btn .notopen,
.card-combo.opened .btn .open {
    display: none;
}
.card-combo:not(.opened) .card-combo-hide-close {
    display: none !important;
}

.card-combo .icon-expand_more {
    transition: .3s;
}
.card-combo.opened .icon-expand_more {
    transform: rotate(180deg);
    transition: .3s;
}

.card-combo.hover:hover {
    border-color: var(--tertiary);
    transition: .3s;
}

.card-combo.hover:hover .wdk-title {
    color: var(--tertiary);
    transition: .3s;
}

.card-combo.hover:hover img {
    box-shadow: var(--box-shadow);
    transition: .3s;
}

@media (max-width: 576px) {
    .card-combo {
        padding: 12px;
    }

    .card-combo {
        min-height: 120px !important;
    }

    .card-combo + .card-combo  {
        margin-top: 12px;
    }
}

.card-document-find {
    height: 114px;
    max-height: 114px;
}

.card.card-gallery {
    display: inline-flex;
    width: 328px;
    min-width: 328px;
    max-width: 328px;
    margin: 4px;
    height: 100%;
    overflow: hidden;
}

.card.card-gallery .card-body {
    padding: 16px 16px 8px 16px;
}

.card.card-gallery .card-footer {
    border: none;
    padding: 0 16px 16px 16px;
}

.card.card-list {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: row;
    width: 100%;
    height: 100%;
    padding: 16px;
    border: 1px solid var(--grey-01);
    border-radius: var(--radius-base);
    background-color: var(--white-01);
    box-shadow: 0px 3px 6px 0px rgba(26, 61, 77, 10%);
    white-space: nowrap;
    flex-wrap: nowrap;
    transition: var(--time-01);
}

.card.card-list + .card.card-list {
    margin-top: 16px;
}

.card.card-list .card-img-cover {
    height: 100px;
    width: 200px;
    min-width: 200px;
    border-radius: 8px;
}

.card.card-list .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 4;
    padding: 0 16px;
    white-space: nowrap;
}

.card.card-list .card-footer {
    padding: 0;
    border: none;
    flex: 1;
}

.card.card-list .wdk-box-overlay {
    padding: 0px 4px;
}

.card.card-list .wdk-box-overlay  .wdk-text {
    font-size: 12px;
}

/* Custom tag wrap on My Learning */
.card.card-list .card-body .wdk-group.w-100 {
    width: initial !important;
}

@media (max-width: 991px) {

    .card.card-list {
        flex-wrap: wrap;
    }

    .card.card-list .card-footer {
        min-width: 100%;
        padding-top: 16px;
    }
}

@media (max-width: 585px) {
    .card.card-list {
        flex-direction: column;
        padding: 0;
    }

    .card.card-list .card-img-cover {
        height: 140px;
        width: 100%;
        min-width: initial;
        border-radius: 8px 8px 0 0;
    }

    .card.card-list .card-body {
        padding: 16px 16px 0 16px;
    }

    .card.card-list .card-footer {
        padding: 16px;
    }
}
