.exp-icon { float: right; }
.exp-icon { transition: transform .25s linear; }
.exp-icon.fa-plus { transform: rotate(90deg); }
.exp-icon.fa-minus { transform: rotate(0deg); }
.expand-label:hover { text-decoration: underline; }
.animated { animation: expand .2s linear; }
@keyframes expand {
    from { transform: scaleY(0) translateY(-50%); }
    to { transform: scaleY(1) translateY(0); }
}
a.fileModal { text-decoration: underline; color:#0d6efd; }
.card.bg-subtle { border: 1px solid #999da6; }
label { font-weight: bold; margin-right: 0.5em; }

.resource {
    margin: 15px 9px;
    background-color: white;
    border: 1px solid transparent;
}
.resource-heading {
    padding: 10px;
    font-size: 24px;
    color: white;
    background-color: #8ca107;
    text-shadow: 2px 2px rgba(0,0,0,.5);
    box-sizing: border-box;
}
.resource-item-heading {
    padding: 20px 10px;
    font-size: 18px;
    background-color: #eee;
}
.resource-item-heading a {
    color: #555;
}
.resource-item-heading:hover, .resource-item-heading.expanded {
    background-color: #ddf0ef ;
    color: rgb(33, 37, 41);
}
.resource-item-footer {
    padding: 8px 5px 5px 10px;
    font-size: 14px;
    background-color: #fff;
    border-bottom: 2px solid #999;
    display: flex;
    justify-content: space-between;
}
.resource-item-footer .info {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.resource-item-footer .fa {
    margin-right: 4px;
}
.resource-item-footer .icons {
    justify-self: end;
}
.resource-item-footer .icons a {
    margin-left: 4px;
}
.resource-body {
    padding: 20px 25px;
    background-color: #f8f8f8;
}
.resource-item-body {
    padding: 15px;
    background-color: #f8f8f8;
    display: flex;
}
.resource-item-body a {
    overflow-wrap: break-word;
    word-break: break-all;
}
.resource-item-body ul, .resource-item-body ol {
    margin-left: 16px;
}
.resource-item-body p, .resource-item-body li {
    max-width: 40em;
    margin-bottom: 8px;
}
.resource-item-body label {
    font-size: 18px;
}
.resource-logo {
    width: 180px;
    padding: 10px;
    align-self: start;
    margin-right: 16px;
    border: 1px solid #dbe9ff;
    background-color: #fff;
}

.resource-body {
    margin-bottom: 15px;
    color: #333;
}
.resource label {
    color: #348bbd;
}
.resource p label {
    padding-right: 0.5em;
}
.download-icon {
    color: white;
    margin: 0 .5em;
    float: right;
    transition: color 0.5s;
}
.download-icon:hover {
    color: #fdc609;
    transition: color 0.5s;
}

.resource-item-body iframe {
    margin: 16px auto;
    display: block;
}

@media only screen and (max-width: 767px) {
    .resource-item-body {
        display: block;
    }
    .resource-item-body > .resource-logo, .photo-container {
        display: block;
        float: right;
        margin-right: 0;
        margin-left: 15px;
    }
}

.resource figure {
    float: left;
    margin-top: 10px;
}
.resource figure > img {
    margin: auto;
}
figcaption {
    width: 100%;
    text-align: center;
}

