
.change-label {
    cursor: url(../images/change-label.cur), zoom-in
}

.cover {
    object-fit: cover;
}

.filters {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9990;
}

.filter-toggle {
    z-index: 9995;
}

.filter-widgets {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    background-color: #cecece;
}

.filter-widgets > label {
    font-size: 11px;
}

.imageBackdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #a0a0a0;
    opacity: 0.5;
    cursor: zoom-out;
}

.imagePopup {
    position: fixed;
    top: 0;
    left: 0;
    max-width: 100%;
    max-height: 100%;
    opacity: 1.0;
}

.item {
    position: relative;
    margin-top: 2px;
    margin-bottom: 2px;
    padding-top: 2px;
}

.item-list > .item {
    border-top: none;
}

.item-list > .item ~ .item {
    border-top: 2px #444 solid;
}

.item-sub-text {
    font-size: 75%;
    display: block;
}

.item-text {
}

.item-thumbnail {
    max-width: 120px;
    max-height: 100px;
    cursor: zoom-in;
}

.no-results {
    text-align:center;
    border: 2px #000000 solid;
    margin:5px 5px 5px 5px;
    padding: 20px;
    border-radius: 3px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.9);
    font-weight: bold;
    font-size: 150%;
}

.test-harness-target-image {
    border: 1px #A00 solid;
    margin-bottom: 12px;
}

.thermometerBackground {
    width: 104px;
    height: 14px;
    background-color: #E0E0E0;
    border: 2px #000000 solid;
    margin: 2px 2px 2px 2px;
    padding: 0;
    position: absolute;
    right: 0;
    bottom: 0;
    opacity: 1.0;
}

.thermometerForeground {
    float: right;
    width: 0;
    height: 10px;
    background-color: #CC0000;
    opacity: 0.8;
}

.vignettePopup {
    position: fixed;
    text-align: center;
    top: 0;
    left: 0;
    max-width: 100%;
    max-height: 100%;
    opacity: 1.0;
    overflow: auto;
    overflow-x: hidden;
}

.vignetteIframe {
    border: 2px #000000 solid;
    margin:5px 5px 5px 5px;
    border-radius: 3px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.9);
    width: 335px;
    height: 550px;
}

.col-xs-3 {
    padding-left: 0;
    padding-right: 0;
}

.col-xs-9 {
    padding-left: 5px;
    padding-right: 5px;
}

@media (max-width: 479px) {
    .item-thumbnail {
        max-width: 70px;
        max-height: 80px;
    }
}

@media (min-width: 480px) and (max-width: 1023px) {
    .item-thumbnail {
        max-width: 120px;
        max-height: 120px;
    }
}

/* https://www.sitepoint.com/css3-responsive-centered-image/ */

img.ri
{
    position: absolute;
    max-width: 80%;
    top: 10%;
    left: 10%;
    border-radius: 3px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.9);
}

img.ri:empty
{
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.canonical_wine_header {
    width: 100%;
    background-color: #000;
    color: #FFF;
    text-align: center;
    font-size: 14pt;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

.producer_image_url {
    width: 100%;
    padding-top: 26px;
}

.producer_blurb_html {
    border: 1px #000 solid;
    padding: 3px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.producer_blurb_html p {
    padding-top: 10px;
    padding-bottom: 10px;
}

.producer_video_html {
    width: 100%;
    text-align: center;
}

@media screen and (orientation: portrait) {
    img.ri { max-width: 90%; }
}

@media screen and (orientation: landscape) {
    img.ri { max-height: 90%; }
}