﻿
.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    width: 100%;
}

.panel-body {
    padding: 15px;
}

.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
}

    .panel-heading > .dropdown .dropdown-toggle {
        color: inherit;
    }

.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 14px;
    color: inherit;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

    .panel-title > a {
        color: inherit;
    }

.panel > .list-group {
    margin-bottom: 0;
}

    .panel > .list-group .list-group-item {
        border-width: 1px 0;
    }

    .panel > .list-group:first-child .list-group-item:first-child {
        border-top: 0;
    }

    .panel > .list-group:last-child .list-group-item:last-child {
        border-bottom: 0;
    }

.panel-heading + .list-group .list-group-item:first-child {
    border-top-width: 0;
}

.panel-default {
    border-color: rgba(0,0,0,.125);
}

    .panel-default > .panel-heading {
        color: #212529;
        background-color: rgba(0,0,0,.03);
        border-color: rgba(0,0,0,.125);
    }

        .panel-default > .panel-heading + .panel-collapse .panel-body {
            border-top-color: rgba(0,0,0,.125);
        }

    .panel-default > .panel-footer + .panel-collapse .panel-body {
        border-bottom-color: rgba(0,0,0,.125);
    }

.panel-heading {
    min-height: 38px;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

    .panel-heading + .alert {
        border: 0;
        border-radius: 0;
        margin-bottom: 0;
    }

    .panel-heading .header-control {
        padding: 5px 15px;
        max-width: 100%;
        line-height: 1;
    }

.panel-title {
    order: 0;
}
