﻿.card {
    position: relative;
    margin-bottom: 1.42857143em;
    border: 1px solid #d2d6de;
    border-radius: 0;
    background-color: #fff;
}

.card-block {
    padding: 15px;
}

.card-title {
    margin-top: 0;
    margin-bottom: .5em;
}

.card-subtitle {
    margin-top: 0;
    margin-bottom: 0;
}

.card-text:last-child {
    margin-bottom: 0;
}

.card-link {
    text-decoration: none;
}
.card-link + .card-link {
    margin-left: 1.25em;
}

.card .list-group:first-child .list-group-item:first-child {
    border-radius: 0;
}

.card .list-group:last-child .list-group-item:last-child {
    border-radius: 0;
}


.card-header {
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #d2d6de;
}

.card-footer {
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-top: 1px solid #d2d6de;
}

.card-primary {
    background-color: #0275d8;
    border-color: #0275d8;
}
.card-success {
    background-color: #5cb85c;
    border-color: #5cb85c;
}
.card-info {
    background-color: #5bc0de;
    border-color: #5bc0de;
}
.card-warning {
    background-color: #f0ad4e;
    border-color: #f0ad4e;
}
.card-danger {
    background-color: #d9534f;
    border-color: #d9534f;
}

.card-inverse .card-header,
.card-inverse .card-footer {
    border-bottom: 1px solid rgba(255,255,255,.2);
}

.card-inverse .card-header,
.card-inverse .card-footer,
.card-inverse .card-title,
.card-inverse .card-blockquote {
    color: #fff;
}

.card-inverse .card-link,
.card-inverse .card-text,
.card-inverse .card-blockquote > footer {
    color: rgba(255,255,255,.65);
}

.card-inverse .card-link:hover,
.card-inverse .card-link:focus {
    color: #fff;
}

.card-blockquote {
  padding: 0;
  margin-bottom: 0;
  border-left: 0;
}

.card-img {
  border-radius: 0;
}
.card-img-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 15px;
}
.card-img-top {
  border-radius: 0;
}
.card-img-bottom {
  border-radius: 0;
}


.card-deck {
  display: table;
  table-layout: fixed;
  border-spacing: 15px 0;
}
.card-deck .card {
    display: table-cell;
    width: 1%;
    vertical-align: top;
}

.card-deck-wrapper {
    margin-right: -15px;
    margin-left: -15px;
}

.card-group {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.card-group .card {
    display: table-cell;
    vertical-align: top;
    margin-left: 0;
    border-left: 0;
}

.card-group .card:first-child .card-img-top {
    border-top-right-radius: 0;
}
.card-group .card:first-child .card-img-bottom {
    border-bottom-right-radius: 0;
}
.card-group .card:last-child .card-img-top {
    border-top-left-radius: 0;
}
.card-group .card:last-child .card-img-bottom {
    border-bottom-left-radius: 0;
}

@media (min-width: 544px) {
    .card-columns {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
        -webkit-column-gap: 1.25em;
        -moz-column-gap: 1.25em;
        column-gap: 1.25em;
    }
    .card-columns .card {
        display: inline-block;
        width: 100%;
    }
}

/* List groups */

.card .list-group {
    margin-bottom: 0;
}

.list-group-flush .list-group-item {
    border-width: 1px 0;
    border-radius: 0;
}

.list-group-flush:first-child .list-group-item:first-child {
    border-top: 0;
}
.list-group-flush:last-child .list-group-item:last-child {
    border-bottom: 0;
}

.card .list-group .list-group-item-kvp label.key {
    margin-bottom: 0;
    font-weight: bold;
    display: block;
}
.card .list-group .list-group-item-kvp .value {
    display: inline-block;
}

@media (min-width: 544px) {
    .card .list-group .list-group-item-kvp:before {
        display: table;
        content: " ";
    }
    .card .list-group .list-group-item-kvp label.key {
        display: table-cell;
        width: 200px;
    }
    .card .list-group .list-group-item-kvp .value {
        display: table-cell;
        padding-left: 10px;
    }
}

.card-block .table,
.card-block.table-responsive,
.card-block .table-responsive,
.card-block .table-responsive .table {
    margin-bottom: 0;
}

.card-block form .form-group:last-child {
    margin-bottom: 0;
}