.card {
margin: 0 .2rem .4rem .2rem;
min-width: 240px;
max-width: 100%;
display: flex;
font-size: .875rem;
flex-grow: 1;
flex-direction: column;
justify-content: space-between;
box-sizing: border-box;
border: 1px solid;
border-color: var( --border-color-base );
background-color: var( --background-color-dp-04 );
box-shadow: 0 1px 3px rgba(0, 0, 0, .03), 0 1px 2px rgba(0, 0, 0, .06);
transition: box-shadow .2s ease;
}
.card:hover {
box-shadow: 0 10px 20px rgba(0, 0, 0, .0475), 0 6px 6px rgba(0, 0, 0, .0575);
}
.card-col2 {
width: calc(100% / 2 - .4rem);
}
.card-col3 {
width: calc(100% / 3 - .4rem);
}
.card-col4 {
width: calc(100% / 4 - .4rem);
}
.card-col5 {
width: calc(100% / 5 - .4rem);
}
.card-col6 {
width: calc(100% / 6 - .4rem);
}
.card-container {
margin-top: 1.6rem !important;
margin-bottom: 1.6rem !important;
margin-left: -.2rem;
margin-right: -.2rem;
}
.card-container.floatnone {
padding: 0 20px;
}
.card-row {
display: flex;
width: 100%;
flex-wrap: wrap;
}
.card-caption {
font-size: .875rem;
font-weight: 600;
}
.card-image a {
display: flex;
justify-content: center;
overflow: hidden;
background: none !important;
}
.card-image a img {
transition: transform .2s cubic-bezier(.77, .2, .05, 1.0);
}
.card:hover .card-image a img {
transform: scale(1.1);
}
.card .card-title {
margin-top: 0;
margin-bottom: .8rem;
line-height: 1.2;
font-size: 1.25rem;
color: var( --color-base--emphasized );
font-weight: 600;
}
/* CSS hack */
.card .card-title+.byline-bottom {
margin-top: -.6rem;
}
.card ol,
.card ul {
margin: 0;
padding-left: 1.6rem;
}
.card .byline-top,
.card .byline-bottom {
color: var( --color-base );
font-size: .825rem;
}
.card .byline-top {
margin: 0 0 .2rem 0;
}
.card .byline-bottom {
margin: .2rem 0 1.6rem 0;
}
.card .byline-bottom+p {
margin-top: .8rem;
}
.card .numdata {
margin-top: .8rem;
}
.card-top,
.card-bottom {
padding: 1.2rem;
}
.card-button {
background: var( --color-base );
transition: opacity .2s ease;
}
.card-button:hover {
opacity: .8;
}
.card-button a {
padding: .6rem;
display: block;
text-align: center;
font-size: .875rem;
letter-spacing: .25px;
font-weight: 600;
/* Cancel out a styles */
background: none !important;
color: #FFF;
transition: background .2s ease,
color .2s ease;
}
.card-bottom {
background: var( --background-color-framed );
}
@media only screen and (max-width: 720px) {
.card-row {
width: auto;
margin: 0 -20px;
padding: 0 20px;
overflow: auto;
flex-wrap: nowrap;
}
}