.panel {
position: absolute;
display: -ms-flexbox;
display: flex;
-ms-flex-direction: row;
flex-direction: row;
min-width: 0;
word-wrap: break-word;
background-color: #fff;
background-clip: padding-box;
border: 1px solid rgba(0, 0, 0, 0.125);
border-radius: 0.25rem;
}
.panel > hr {
margin-right: 0;
margin-left: 0;
}
.panel > .list-group:first-child .list-group-item:first-child {
border-top-left-radius: 0.25rem;
border-top-right-radius: 0.25rem;
}
.panel > .list-group:last-child .list-group-item:last-child {
border-bottom-right-radius: 0.25rem;
border-bottom-left-radius: 0.25rem;
}
.panel-body {
-ms-flex: 1 1 auto;
flex: 1 1 auto;
padding: 1.25rem;
}
.panel-title {
margin-bottom: 0.75rem;
}
.panel-subtitle {
margin-top: -0.375rem;
margin-bottom: 0;
}
.panel-text:last-child {
margin-bottom: 0;
}
.panel-link:hover {
text-decoration: none;
}
.panel-link + .panel-link {
margin-left: 1.25rem;
}
.panel-header {
padding: 0.75rem 1.25rem;
margin-bottom: 0;
color: inherit;
background-color: rgba(0, 0, 0, 0.03);
border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}
.panel-header:first-child {
border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}
.panel-footer {
padding: 0.75rem 1.25rem;
background-color: rgba(0, 0, 0, 0.03);
border-top: 1px solid rgba(0, 0, 0, 0.125);
}
.panel-footer:last-child {
border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
}
.panel-header-tabs {
margin-right: -0.625rem;
margin-bottom: -0.75rem;
margin-left: -0.625rem;
border-bottom: 0;
}
.panel-header-pills {
margin-right: -0.625rem;
margin-left: -0.625rem;
}
.panel-img-overlay {
position: relative;
top: 0;
right: 0;
bottom: 0;
left: 0;
padding: 1.25rem;
}
.panel-img {
width: 100%;
border-radius: calc(0.25rem - 1px);
}
.panel-img-top {
width: 100%;
border-top-left-radius: calc(0.25rem - 1px);
border-top-right-radius: calc(0.25rem - 1px);
}
.panel-img-bottom {
width: 100%;
border-bottom-right-radius: calc(0.25rem - 1px);
border-bottom-left-radius: calc(0.25rem - 1px);
}
.panel-deck {
display: -ms-flexbox;
display: flex;
-ms-flex-direction: column;
flex-direction: column;
}
.panel-deck .panel {
margin-bottom: 15px;
}
@media (min-width: 576px) {
.panel-deck {
-ms-flex-flow: row wrap;
flex-flow: row wrap;
margin-right: -15px;
margin-left: -15px;
}
.panel-deck .panel {
display: -ms-flexbox;
display: flex;
-ms-flex: 1 0 0%;
flex: 1 0 0%;
-ms-flex-direction: column;
flex-direction: column;
margin-right: 15px;
margin-bottom: 0;
margin-left: 15px;
}
}
.panel-group {
display: -ms-flexbox;
display: flex;
-ms-flex-direction: column;
flex-direction: column;
}
.panel-group > .panel {
margin-bottom: 15px;
}
@media (min-width: 576px) {
.panel-group {
-ms-flex-flow: row wrap;
flex-flow: row wrap;
}
.panel-group > .panel {
-ms-flex: 1 0 0%;
flex: 1 0 0%;
margin-bottom: 0;
}
.panel-group > .panel + .panel {
margin-left: 0;
border-left: 0;
}
.panel-group > .panel:first-child {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.panel-group > .panel:first-child .panel-img-top,
.panel-group > .panel:first-child .panel-header {
border-top-right-radius: 0;
}
.panel-group > .panel:first-child .panel-img-bottom,
.panel-group > .panel:first-child .panel-footer {
border-bottom-right-radius: 0;
}
.panel-group > .panel:last-child {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.panel-group > .panel:last-child .panel-img-top,
.panel-group > .panel:last-child .panel-header {
border-top-left-radius: 0;
}
.panel-group > .panel:last-child .panel-img-bottom,
.panel-group > .panel:last-child .panel-footer {
border-bottom-left-radius: 0;
}
.panel-group > .panel:only-child {
border-radius: 0.25rem;
}
.panel-group > .panel:only-child .panel-img-top,
.panel-group > .panel:only-child .panel-header {
border-top-left-radius: 0.25rem;
border-top-right-radius: 0.25rem;
}
.panel-group > .panel:only-child .panel-img-bottom,
.panel-group > .panel:only-child .panel-footer {
border-bottom-right-radius: 0.25rem;
border-bottom-left-radius: 0.25rem;
}
.panel-group > .panel:not(:first-child):not(:last-child):not(:only-child) {
border-radius: 0;
}
.panel-group > .panel:not(:first-child):not(:last-child):not(:only-child) .panel-img-top,
.panel-group > .panel:not(:first-child):not(:last-child):not(:only-child) .panel-img-bottom,
.panel-group > .panel:not(:first-child):not(:last-child):not(:only-child) .panel-header,
.panel-group > .panel:not(:first-child):not(:last-child):not(:only-child) .panel-footer {
border-radius: 0;
}
}
.panel-columns .panel {
margin-bottom: 0.75rem;
}
@media (min-width: 576px) {
.panel-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;
}
.panel-columns .panel {
display: inline-block;
width: 100%;
}
}
.droptown .panel {
overflow: hidden;
}
.droptown .panel:not(:first-of-type) .panel-header:first-child {
border-radius: 0;
}
.droptown .panel:not(:first-of-type):not(:last-of-type) {
border-bottom: 0;
border-radius: 0;
}
.droptown .panel:first-of-type {
border-bottom: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.droptown .panel:last-of-type {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.droptown .panel .panel-header {
margin-bottom: -1px;
}