.affix-top,
.affix {
    position: static;
}

#sidebar {
    padding: 0px;
    padding-right: 20px;
    margin-bottom: 100px;
    border-right: 2px solid orangered;
}

@media (min-width: 979px) {
    #sidebar {
        width: min(250px, 100%);
    }
    #sidebar.affix-top {
        position: static;
        height: 700px;
    }
    #sidebar.affix-bottom {
        position: relative;
    }
    #sidebar.affix {
        position: fixed;
        top: 70px;
    }
}

.post-item {
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #fafafa;
    border-radius: 10px;
    margin: 15px 0px 0px 0px;
}

.post-item h2,
h3,
h4 {
    padding: 6px 0 4px 0;
    margin: 0;
    color: #777777 !important;
}

.post-item h2 {
    font-size: 18pt;
    color: #e35a00 !important;
}

.post-item h3 {
    font-size: 13pt;
    padding-bottom: 6px;
    margin-top: 6px;
}

.fc2 {
    font-family: Lato;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 11px !important;
    color: #e35a00 !important;
}

.post-item .producer {
    font-size: 8pt;
    font-weight: bold;
    color: #555;
    padding: 0;
}

.post-item hr {
    margin: 10px 0px 6px 0px;
    padding: 0;
}

.post-item .group {
    font-size: 10pt;
    font-weight: bold;
    line-height: 2;
}

label {
    font-size: 13px;
    font-weight: bold;
    padding: 0;
    margin: 0;
}

.summary {
    margin-top: 10px;
    text-align: center;
    font-size: 10pt;
}

.pagination {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    justify-content: center !important;
}

.pagination li {
    font-size: 10pt !important;
    font-weight: bold !important;
}

.pagination li a {
    background-color: #fafafa !important;
    color: #333 !important;
}

.pagination li a:hover {
    background-color: #777 !important;
    color: #fff !important;
}

.pagination li.active a {
    background-color: #e35a00 !important;
    color: #fff !important;
    border: 1px solid #f5f5f5 !important;
}

.pagination li.active a:hover {
    background-color: #777 !important;
}

.pagination li.prev a,
.pagination li.next a {
    background-color: #f4f4f4 !important;
}

.publication_link_container {
    width: 100%;
    position: relative;
    bottom: 0;
}

.publication_link:hover {
    color: #e35a00;
    text-decoration: underline;
}

.publication_link {
    color: #e35a00;
    font-family: Lato;
    font-weight: bold;
    font-size: 13px;
    text-decoration: none;
    padding-left: 20px;
    position: relative;
}

.publication_link:before {
    content: "\f08e";
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    top: 60%;
    transform: translateY(-50%);
}

.award_icon_container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px;
}

.publication_award_number {
    margin-right: 8px;
    font-size: 22px;
    font-weight: bold;
    font-family: Lato;
}

.golden {
    color: #d6ac37
}

.platinum {
    color: #9ba0a2;
}

.award_icon:after {
    color: Red;
}

.award_icon {
    display: block;
    max-height: 80px;
    height: auto;
}

.award_moment {
    margin-top: 10px;
    margin-left: 40%;
}

.award_moment td {
    font-size: 14px;
}

.award_moment td:nth-child(1) {
    text-align: right;
    font-weight: bold;
}

.award_moment td:last-child {
    text-align: left;
    padding-left: 6px;
}

.award-thumbnail-container {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.award-thumbnail {
    width: 100%;
    height: auto;
    max-height: 100%;
}

#mainCol{
    min-height: 560px;
} 

@media only screen and (max-width: 979px) {
    
    .affix {
        position: static !important;
    }

    #sidebar{
        padding-right:0;
        border: 0;
        margin-bottom:20px;
    }

    #mainCol{
        min-height: unset;
    }     

    .alert {
        margin: 0 16px 10px 16px;
    }

    .post-item {
        margin:10px;
    }

    .award-thumbnail {
        max-width: 220px;
    }

    .post-item > .col-md-9 {
        text-align: center;
    }

    .award_icon_container {
        justify-content: center;
    }

    ul.pagination {
        transform: scale(.9);
    }
    
}