﻿.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem
}

    .card > hr {
        margin-right: 0;
        margin-left: 0
    }

    .card > .list-group {
        border-top: inherit;
        border-bottom: inherit
    }

        .card > .list-group:first-child {
            border-top-width: 0;
            border-top-left-radius: calc(.25rem - 1px);
            border-top-right-radius: calc(.25rem - 1px)
        }

        .card > .list-group:last-child {
            border-bottom-width: 0;
            border-bottom-right-radius: calc(.25rem - 1px);
            border-bottom-left-radius: calc(.25rem - 1px)
        }

        .card > .card-header + .list-group, .card > .list-group + .card-footer {
            border-top: 0
        }

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem
}

.card-title {
    margin-bottom: 1.25rem
}

.card-subtitle {
    margin-top: -.625rem;
    margin-bottom: 0
}

.card-text:last-child {
    margin-bottom: 0
}

.card-link:hover {
    text-decoration: none
}

.card-link + .card-link {
    margin-left: 1.25rem
}

.card-header {
    padding: 1.25rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0,0,0,.02);
    border-bottom: 1px solid rgba(0,0,0,.125)
}

    .card-header:first-child {
        border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0
    }

.card-footer {
    padding: 1.25rem 1.25rem;
    background-color: rgba(0,0,0,.02);
    border-top: 1px solid rgba(0,0,0,.125)
}

    .card-footer:last-child {
        border-radius: 0 0 calc(.25rem - 1px) calc(.25rem - 1px)
    }

.card-header-tabs {
    margin-right: -.625rem;
    margin-bottom: -1.25rem;
    margin-left: -.625rem;
    border-bottom: 0
}

.card-header-pills {
    margin-right: -.625rem;
    margin-left: -.625rem
}

.card-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1.25rem;
    border-radius: calc(.25rem - 1px)
}

.card-img, .card-img-bottom, .card-img-top {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 100%
}

.card-img, .card-img-top {
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px)
}

.card-img, .card-img-bottom {
    border-bottom-right-radius: calc(.25rem - 1px);
    border-bottom-left-radius: calc(.25rem - 1px)
}

.card-deck .card {
    margin-bottom: 1.25rem
}

@media (min-width:576px) {
    .card-deck {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        margin-right: -1.25rem;
        margin-left: -1.25rem
    }

        .card-deck .card {
            -ms-flex: 1 0 0%;
            flex: 1 0 0%;
            margin-right: 1.25rem;
            margin-bottom: 0;
            margin-left: 1.25rem
        }
}

.card-group > .card {
    margin-bottom: 1.25rem
}

@media (min-width:576px) {
    .card-group {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap
    }

        .card-group > .card {
            -ms-flex: 1 0 0%;
            flex: 1 0 0%;
            margin-bottom: 0
        }

            .card-group > .card + .card {
                margin-left: 0;
                border-left: 0
            }

            .card-group > .card:not(:last-child) {
                border-top-right-radius: 0;
                border-bottom-right-radius: 0
            }

                .card-group > .card:not(:last-child) .card-header, .card-group > .card:not(:last-child) .card-img-top {
                    border-top-right-radius: 0
                }

                .card-group > .card:not(:last-child) .card-footer, .card-group > .card:not(:last-child) .card-img-bottom {
                    border-bottom-right-radius: 0
                }

            .card-group > .card:not(:first-child) {
                border-top-left-radius: 0;
                border-bottom-left-radius: 0
            }

                .card-group > .card:not(:first-child) .card-header, .card-group > .card:not(:first-child) .card-img-top {
                    border-top-left-radius: 0
                }

                .card-group > .card:not(:first-child) .card-footer, .card-group > .card:not(:first-child) .card-img-bottom {
                    border-bottom-left-radius: 0
                }
}

.card-columns .card {
    margin-bottom: 1.25rem
}

@media (min-width:576px) {
    .card-columns {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
        -webkit-column-gap: 1.25rem;
        -moz-column-gap: 1.25rem;
        column-gap: 1.25rem;
        orphans: 1;
        widows: 1
    }

        .card-columns .card {
            display: inline-block;
            width: 100%
        }
}

.accordion {
    overflow-anchor: none
}

    .accordion > .card {
        overflow: hidden
    }

        .accordion > .card:not(:last-of-type) {
            border-bottom: 0;
            border-bottom-right-radius: 0;
            border-bottom-left-radius: 0
        }

        .accordion > .card:not(:first-of-type) {
            border-top-left-radius: 0;
            border-top-right-radius: 0
        }

        .accordion > .card > .card-header {
            border-radius: 0;
            margin-bottom: -1px
        }

.card .content-divider > span, .tab-content-bordered .content-divider > span {
    background-color: #fff
}

.card > .table:first-child caption + thead tr:first-child td, .card > .table:first-child caption + thead tr:first-child th, .card > .table:first-child colgroup + thead tr:first-child td, .card > .table:first-child colgroup + thead tr:first-child th, .card > .table:first-child thead:first-child tr:first-child td, .card > .table:first-child thead:first-child tr:first-child th, .card > [class*=table-responsive]:first-child > .table:first-child caption + thead tr:first-child td, .card > [class*=table-responsive]:first-child > .table:first-child caption + thead tr:first-child th, .card > [class*=table-responsive]:first-child > .table:first-child colgroup + thead tr:first-child td, .card > [class*=table-responsive]:first-child > .table:first-child colgroup + thead tr:first-child th, .card > [class*=table-responsive]:first-child > .table:first-child thead:first-child tr:first-child td, .card > [class*=table-responsive]:first-child > .table:first-child thead:first-child tr:first-child th {
    border-top-width: 0
}

.card.card-table {
    border-width: 1px;
    border-color: #ddd
}

.card > .table caption, .card > [class*=table-responsive] > .table caption {
    padding-left: 1.25rem;
    padding-right: 1.25rem
}

.card > .table:first-child, .card > [class*=table-responsive]:first-child > .table:first-child {
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px)
}

    .card > .table:first-child tbody:first-child tr:first-child, .card > .table:first-child thead:first-child tr:first-child, .card > [class*=table-responsive]:first-child > .table:first-child tbody:first-child tr:first-child, .card > [class*=table-responsive]:first-child > .table:first-child thead:first-child tr:first-child {
        border-top-left-radius: calc(.25rem - 1px);
        border-top-right-radius: calc(.25rem - 1px)
    }

        .card > .table:first-child tbody:first-child tr:first-child td:first-child, .card > .table:first-child tbody:first-child tr:first-child th:first-child, .card > .table:first-child thead:first-child tr:first-child td:first-child, .card > .table:first-child thead:first-child tr:first-child th:first-child, .card > [class*=table-responsive]:first-child > .table:first-child tbody:first-child tr:first-child td:first-child, .card > [class*=table-responsive]:first-child > .table:first-child tbody:first-child tr:first-child th:first-child, .card > [class*=table-responsive]:first-child > .table:first-child thead:first-child tr:first-child td:first-child, .card > [class*=table-responsive]:first-child > .table:first-child thead:first-child tr:first-child th:first-child {
            border-top-left-radius: calc(.25rem - 1px)
        }

        .card > .table:first-child tbody:first-child tr:first-child td:last-child, .card > .table:first-child tbody:first-child tr:first-child th:last-child, .card > .table:first-child thead:first-child tr:first-child td:last-child, .card > .table:first-child thead:first-child tr:first-child th:last-child, .card > [class*=table-responsive]:first-child > .table:first-child tbody:first-child tr:first-child td:last-child, .card > [class*=table-responsive]:first-child > .table:first-child tbody:first-child tr:first-child th:last-child, .card > [class*=table-responsive]:first-child > .table:first-child thead:first-child tr:first-child td:last-child, .card > [class*=table-responsive]:first-child > .table:first-child thead:first-child tr:first-child th:last-child {
            border-top-right-radius: calc(.25rem - 1px)
        }

.card > .table:last-child, .card > [class*=table-responsive]:last-child > .table:last-child {
    border-bottom-right-radius: calc(.25rem - 1px);
    border-bottom-left-radius: calc(.25rem - 1px)
}

    .card > .table:last-child tbody:last-child tr:last-child, .card > .table:last-child tfoot:last-child tr:last-child, .card > [class*=table-responsive]:last-child > .table:last-child tbody:last-child tr:last-child, .card > [class*=table-responsive]:last-child > .table:last-child tfoot:last-child tr:last-child {
        border-bottom-left-radius: calc(.25rem - 1px);
        border-bottom-right-radius: calc(.25rem - 1px)
    }

        .card > .table:last-child tbody:last-child tr:last-child td:first-child, .card > .table:last-child tbody:last-child tr:last-child th:first-child, .card > .table:last-child tfoot:last-child tr:last-child td:first-child, .card > .table:last-child tfoot:last-child tr:last-child th:first-child, .card > [class*=table-responsive]:last-child > .table:last-child tbody:last-child tr:last-child td:first-child, .card > [class*=table-responsive]:last-child > .table:last-child tbody:last-child tr:last-child th:first-child, .card > [class*=table-responsive]:last-child > .table:last-child tfoot:last-child tr:last-child td:first-child, .card > [class*=table-responsive]:last-child > .table:last-child tfoot:last-child tr:last-child th:first-child {
            border-bottom-left-radius: calc(.25rem - 1px)
        }

        .card > .table:last-child tbody:last-child tr:last-child td:last-child, .card > .table:last-child tbody:last-child tr:last-child th:last-child, .card > .table:last-child tfoot:last-child tr:last-child td:last-child, .card > .table:last-child tfoot:last-child tr:last-child th:last-child, .card > [class*=table-responsive]:last-child > .table:last-child tbody:last-child tr:last-child td:last-child, .card > [class*=table-responsive]:last-child > .table:last-child tbody:last-child tr:last-child th:last-child, .card > [class*=table-responsive]:last-child > .table:last-child tfoot:last-child tr:last-child td:last-child, .card > [class*=table-responsive]:last-child > .table:last-child tfoot:last-child tr:last-child th:last-child {
            border-bottom-right-radius: calc(.25rem - 1px)
        }

.card > .table-bordered, .card > [class*=table-responsive] > .table-bordered {
    border: 0
}

    .card > .table-bordered tbody td:first-child, .card > .table-bordered tbody th:first-child, .card > .table-bordered tfoot td:first-child, .card > .table-bordered tfoot th:first-child, .card > .table-bordered thead td:first-child, .card > .table-bordered thead th:first-child, .card > [class*=table-responsive] > .table-bordered tbody td:first-child, .card > [class*=table-responsive] > .table-bordered tbody th:first-child, .card > [class*=table-responsive] > .table-bordered tfoot td:first-child, .card > [class*=table-responsive] > .table-bordered tfoot th:first-child, .card > [class*=table-responsive] > .table-bordered thead td:first-child, .card > [class*=table-responsive] > .table-bordered thead th:first-child {
        border-left: 0
    }

    .card > .table-bordered tbody td:last-child, .card > .table-bordered tbody th:last-child, .card > .table-bordered tfoot td:last-child, .card > .table-bordered tfoot th:last-child, .card > .table-bordered thead td:last-child, .card > .table-bordered thead th:last-child, .card > [class*=table-responsive] > .table-bordered tbody td:last-child, .card > [class*=table-responsive] > .table-bordered tbody th:last-child, .card > [class*=table-responsive] > .table-bordered tfoot td:last-child, .card > [class*=table-responsive] > .table-bordered tfoot th:last-child, .card > [class*=table-responsive] > .table-bordered thead td:last-child, .card > [class*=table-responsive] > .table-bordered thead th:last-child {
        border-right: 0
    }

.card-body + .table, .card-body + div[class*=table-responsive], .card-header:not([class*=bg-]) + .table, .card-header:not([class*=bg-]) + div[class*=table-responsive], .navbar-light + .table, .navbar-light + div[class*=table-responsive], .table + .card-body, div[class*=table-responsive] + .card-body {
    border-top: 1px solid #ddd
}

.table tbody:first-child tr:first-child td, .table tbody:first-child tr:first-child th, div[class*=table-responsive] > .table tbody:first-child tr:first-child td, div[class*=table-responsive] > .table tbody:first-child tr:first-child th {
    border-top: 0
}

.card-footer + .table, .card-footer + [class*=table-responsive] {
    border-top: 1px solid #ddd
}

.card {
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 2px rgba(0,0,0,.05)
}

    .card.fixed-top {
        overflow: auto;
        max-height: 100%
    }

.card-body:not(.card) + .card-body:not(.card) {
    border-top: 1px solid rgba(0,0,0,.125)
}

.card-title {
    position: relative;
    margin-bottom: 1rem
}

.card-header .card-title {
    margin-bottom: 0
}

.card-header[class*=bg-] {
    padding-top: 1rem;
    padding-bottom: 1rem
}

.card[class*=bg-]:not(.bg-light):not(.bg-white):not(.bg-transparent) .card-header {
    border-bottom-color: rgba(255,255,255,.1)
}

.card-header:not([class*=bg-]) {
    background-color: transparent;
    border-bottom-width: 0
}

    .card-header:not([class*=bg-]) + * > .card-body:first-child, .card-header:not([class*=bg-]) + .card-body {
        padding-top: 0
    }

.card-footer {
    padding-top: 1rem;
    padding-bottom: 1rem
}

    .card-footer:first-child, .card-header + * > .card-footer:first-child, .card-header + .card-footer {
        border-top: 0;
        border-bottom: 1px solid rgba(0,0,0,.125)
    }

    .card-footer.border-bottom-1 {
        border-bottom: 1px solid rgba(0,0,0,.125)
    }

.card-header-tabs {
    margin-bottom: 0
}

    .card-header-tabs .nav-link {
        border-top-width: 0
    }

.card-body .card-img {
    border-radius: .25rem
}

.card-img-actions {
    position: relative
}

    .card-img-actions:focus .card-img-actions-overlay, .card-img-actions:hover .card-img-actions-overlay {
        opacity: 1;
        visibility: visible
    }

.card-img-actions-overlay {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,.75);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: all ease-in-out .15s
}

@media (prefers-reduced-motion:reduce) {
    .card-img-actions-overlay {
        transition: none
    }
}