img {
    overflow: hidden;
}

h1 {
    grid-column: 1 / span 3;
}

h2 {
    grid-column: 1 / span 3;
    margin-bottom: 5px;
}

hr {
    border: 0;
    border-top: 3px solid #000000;
    width: 100%;
    height: 0px;
    grid-column: 1 / span 3
}

article {
    padding-bottom: 1rem;
}

.left-nav ul {
    list-style: none;
}

.left-nav li {
    padding: .5rem;
    border: 1px solid black;
    text-align: center;
}

.article {
    margin: 1rem 0 2rem 0;
}

.article img {
    border-radius: .25rem;
    width: 100%;
    height: auto;
}

@media (max-width: 575px) {
    .row {
        align-items: start;
    }
}

.top-img-detail {
    margin: 0 0 20px 20px;
    max-width: 350px;
    max-height: 200px;
}

.top-article {
    flex: 1;
}

.blog-content {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    /* number of lines to show */
    line-clamp: 5;
    -webkit-box-orient: vertical;
}

.row {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.search-bar {
    grid-column: 1 / span 3;
    display: flex;
}

.img-section {
    float: right;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 0;
}

.banner-img-section>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.banner-img-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.unavailable {
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    margin-top: 2rem;
}

input#search {
    border: 1px solid #666;
    border-radius: 20px;
    padding: 3px 15px;
    -webkit-box-shadow: none;
    outline: -webkit-focus-ring-color none;
    height: 100%;
}

input.btn-primary {
    background-color: #4277b8;
    border: 0;
}

input.btn-primary:hover {
    background-color: #5298e4;
}