﻿/*.card-body-overlay {
    height: 100%;
    width: 100%;
    margin: -1.25rem -1.25rem -1.75rem -1.25rem;
    position: absolute;
    max-height: 204px;
    background-color: white;
    display: none;
    overflow: auto;
}*/
.card {
    text-decoration: none;
    width: 100%;
    border-radius: 10px;
    color: black;
    height: 300px;
}
.card.fit{
    height: 100%;
}
    .card-header.no-max {
        max-height: unset !important;
    }
    .card:hover:not(.no-hover) {
        box-sizing: border-box;
        box-shadow: 1px 1px 1px 2px grey;
        color: black;
        text-decoration: none;
    }
.card-body{
    text-align: center;
    min-height: 40%;
}
.card-header {
    text-align: center;
    font-size: larger;
    max-height: fit-content;
    font-weight: 500;
    border-top-right-radius: 10px !important;
    border-top-left-radius: 10px !important;
    max-height: 20%;
}
.card-img-overlay{
    background: white;
    padding: 0;
}
.card-img-container {
    position: relative;
    height: 300px;
    padding: 10px;
    overflow: auto
}
    .card-img-container > img {
        height: 100%;
    }
.card-footer{
    padding: 5px;
}
/*.simple-card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    color: black;
    border-radius: 10px;
}*/

    /*.simple-card.spot {
        height: 300px;
    }

    .simple-card.default {
        width: 100%;
        min-height: 30px;
    }

    .simple-card:hover:not(.no-hover) {
        box-sizing: border-box;
        box-shadow: 1px 1px 1px 2px grey;
        color: black;
        text-decoration: none;
    }

    .simple-card.no-footer {
        height: 100%
    }

        .simple-card.no-footer .simple-card-header {
            max-height: 40%
        }*/

.library-card {
    height: fit-content;
    width: fit-content;
    min-height: max-content;
    cursor: pointer;
}

/*.simple-card-header {
    border-bottom: 1px solid lightgray;
    padding: 10px;
    max-height: fit-content;
    width: 100%;
    display: inline-block;
    justify-content: center;
    font-size: larger;
    font-weight: 500;
    color: black;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    text-align: center;
    background-color: lightgray;
    max-height: 20%;
}

    .simple-card-header.no-centering {
        text-align: unset;
    }


.simple-card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem 1.25rem 1.75rem 1.25rem;
    text-decoration: none;
    color: black;
    text-align: center;
    min-height: 40%;
    position:relative;
}*/

.card-img-container:hover {
    color: black;
    text-decoration: none;
}

/*.simple-card-footer {
    border-top: 1px solid lightgray;
    flex-wrap: wrap;
    display: flex;
    text-align: center;
    padding: 0px;
    background-color: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
    max-height: 40%;
}

    .simple-card-footer.block {
        display: block;
    }*/

.card-link {
    color: black;
    margin-left: 0px !important;
    display: inline-block;
    padding: 10px;
    cursor: pointer;
    text-align: center;
}

    .card-link:hover {
        box-shadow: 1px 1px 1px 2px #c3c3c3;
        background-color: #d0d0d0;
        color: white;
        text-decoration: none;
    }

.card-text {
    width: 100%;
    text-align: center;
    display: block;
    font-style: italic;
    word-break: break-word;
    text-decoration: none;
    color: black;
}
    .card-text:hover {
        color: black;
        text-decoration: none;
    }

/*.simple-card-img {
    height: 100%;
    width: 100%;
    border-radius: calc(0.25rem - 1px);
}*/
