/*!
 * Wine competition results index page styles
 * @author Kartik Visweswaran, Krajee Solutions, Jan 2022
 */

.banner {
    position: relative;
}

.banner img {
    width: 100%;
    display: inline-block;
    text-align: center;
    font-size: 2rem;
    line-height: 3;
    color: #851532;
}

.banner .banner-title {
    position: absolute;
    left: 40%;
    bottom: 8%;
    font-size: 2.7vw;
    color: #851532;
}

.banner .link-ocws {
    position: absolute;
    right: 22%;
    bottom: 6%;
    width: 7%;
    height: 18%;
}

.banner .link-fair {
    position: absolute;
    right: 32%;
    bottom: 6%;
    width: 9%;
    height: 20%;
}

.item {
    position: relative;
    min-height: 365px;
    margin: 10px 0;
    border: 1px solid #ddd;
    background-color: #f3f3f3;
    box-sizing: border-box;
    vertical-align: top;
}

.item:hover {
    border-color: #aaa;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15);
}

.item-image {
    max-width: 100%;
    height: 160px;
    overflow: hidden;
    background-color: #fff;
}

.item-image img {
    height: 600px;
    margin: 0 auto;
    display: block;
    transform: translateX(50%) translateY(-50%) rotate(45deg) scale(1.1);
}

.gold {
    background: url(../images/gold.jpg) no-repeat;
    background-size: cover;
    color: rgb(150, 105, 47);
    text-shadow: 0.105px 0.995px 0 rgba(218, 190, 98, 0.75);
}

.silver {
    background: url(../images/silver.jpg) no-repeat;
    background-size: cover;
    color: rgb(94, 102, 114);
    text-shadow: 0.105px 0.995px 0 rgba(177, 179, 183, 0.75);
}

.bronze {
    background: url(../images/bronze.jpg) no-repeat;
    background-size: cover;
    color: rgb(124, 64, 22);
    text-shadow: 0.105px 0.995px 0 rgba(211, 140, 92, 0.75);
}

.pagination {
    margin-bottom: 0;
    display: inline-flex;
}

.page-item.disabled .page-link {
    opacity: 0.65;
}

.page-item:not(.disabled) .page-link {
    color: #851532;
}

.page-item:not(.disabled) .page-link:focus {
    box-shadow: 0 0 0 0.25rem rgb(220 53 69 / 50%);
}

.page-item.active .page-link {
    color: #fff;
    background-color: #851532;
    border-color: #851532;
}

.item.highlighted, .item.highlighted:hover {
    border-color: #851532;
}

.empty {
    font-size: 1.6rem;
    text-align: center;
    padding: 15px 0 400px;
    color: #851532;
    opacity: 0.8;
}

.filters-container {
    position: relative;
    width: 100%;
    background-color: #851532;
    border-color: #851532;
    color: #fff;
    padding: 0.75rem;
}

.filter-toggle {
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
}

.filter-title {
    position: absolute;
    top: 0;
    left: 0;
    font-variant: all-small-caps;
    letter-spacing: 4px;
    width: 100%;
    text-align: center;
}

.filter-hint {
    font-size: 0.8rem;
    color: #ecb4c3;
}

.item-image .no-image {
    display: none;
}

.item-image.is-error .no-image {
    display: flex;
}

.item-image.is-error img {
    display: none;
}