body > header img {
    margin: 15px 0 2px;
}
body > header .subtitle {
    font-weight: bold;
    font-size: 12pt;
}

body > nav .navbar-brand {
    width: 50px;
}
body > nav .navbar-brand img {
    width: 50px;
    object-fit: contain;
}

@media (min-width: 768px) {
    body > nav .navbar-brand {
        width: 70px;
        display: flex;
    }
    body > nav .navbar-brand img {
        width: 70px;
    }
}

body > nav form input.form-control {
    max-width: 600px !important;
}

body > footer {
    font-size: 10pt;
    color: black;
}

body > footer a {
    color: inherit;
}

body > footer .social-media {
    font-size: 2rem;
    word-spacing: 24px;
}

.ad.document-list { width: 320px; height: 100px; }
@media(min-width: 500px) { .ad.document-list { width: 468px; height: 60px; } }
@media(min-width: 800px) { .ad.document-list { width: 728px; height: 90px; } }

.cover-background .row {
    background-color: white;
}

.cover-background .inner {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

aside ul {
    list-style-type: none;
}

aside a.card-header {
    color: black;
}

[data-toggle="collapse"] i:before {
    content: "\f146";
}

[data-toggle="collapse"].collapsed i:before {
    content: "\f0fe";
}

#document-list {
    position: relative;
}

#documents-loading {
    position: absolute;
    z-index: 100;
    left: -15px;
    right: -15px;
    top: 0;
    bottom: 0;
    opacity: 0.6;
    background-color: white;
    text-align: center;
    padding-top: 40%;
}

.card-document {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    text-decoration: none !important;
    min-width: 280px;
    min-width: 60vw;
}

.card-document:hover {
    border: 1px solid #0056b3;
}

.card-document .card-body {
    padding: 0.1rem;
}

.card-document .media {
    min-height: 100px;
}

.card-document .media-body, .card-document .media-body div {
    text-overflow: ellipsis;
    overflow: hidden;
}

.card-document .media img {
    max-width: 100%;
}

.card-document .media {
    align-items: center;
}

.card-document p.card-title {
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: bold;
    color: black;    
}

@media (min-width: 768px) {
    .cover-background {
        background-size: cover;
        background-position-x: center;
    }

    .cover-background .row {
        background-color: transparent;
    }

    .cover-background .inner {
        background-color: white;
        padding: 2rem !important;
        border-radius: 0.5rem;
    }

    .card-document {
        margin-left: 0 !important;
        margin-right: 15px !important;
        margin-bottom: 15px !important;
    }
}

@media (min-width: 992px) {
    .card-document {
        min-width: 30vw;
    }

    .card-document .media {
        min-height: 200px;
    }
}

.document-preview img {
    max-width: 100%;
}
