/* CSS specific to results page */

.artwork-panel {
    display: inline-block;
    position: relative;
    padding-right: 330px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-height: 310px;
}

.artwork-img-container {
    min-height: 310px;
    background-color: #f5f5f5;
    border-right: 1px solid #ddd;
}

.artwork-img {
    width: 100%;
    max-width: 100%;
}

.artwork-panel-header {
    position: absolute;
    right: 0;
    top: 0;
    width: 330px;
    padding: 15px;
    border-bottom: 1px solid #ddd;
    background-color: #f5f5f5
}

.artwork-panel-actions {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 330px;
    background-color: #fff;
}

.artwork-panel-action-group {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.artwork-panel-footer {
    padding: 15px;
    background-color: #f5f5f5;
}

.artwork-panel p.artist {
    font-weight: 600; 
    text-transform: uppercase; 
    margin-bottom: 4px;
}

.artwork-panel p.artist .glyphicon {
    margin-left: 16px;
    margin-right: 4px
}

.artwork-panel p.date {
    font-size: 12px;
    margin-bottom: 0;
}

.buy-menu li a {
    padding-right: 70px;
}

.buy-menu li button.btn-link {
    display: block;
    color: #000;
    text-align: left;
    padding: 3px 70px 3px 20px;
    min-width: 100%;
    text-transform: capitalize;
}

.buy-menu .btn-link:hover, .buy-menu .btn-link:active {
    background-color: #f5f5f5;
    text-decoration: none;
}

.buy-btn-price {
    position: absolute;
    right: 15px;
}


/* Modals for buying prints */
.crop-preview {
    display: inline-block;
    position: relative;
    border: 1px solid #000;
    float: right;
    margin-left: 16px;
}

.crop-preview img {
    max-width: 200px;
    max-height: 200px;
}

.crop-overlay {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
}

.crop-height {
    left: 0;
    width: 100%;
}

.crop-width {
    top: 0;
    height: 100%;
}

.crop-top {
    top: 0;
}

.crop-bottom {
    bottom: 0;
}

.crop-left {
    left: 0;
}

.crop-right {
    right: 0;
}

.region-btn {
    display: block;
}

.region-btn > .btn-group > button.btn-custom {
    width: auto;
}

.region-menu {
    width: 100%;
}

.region-menu > li > a {
    white-space: normal;
}

.region-menu .countries {
    display: block;
    color: #777;
    font-size: 12px;
}

.modal-body .btn-group {
    margin-bottom: 16px;
}

.modal-body p small {
    display: block;
    color: #777;
}

.shipping-select-error {
    color: #a94442;
    font-weight: 600;
}


/* Prevent buttons with badges from being 1px higher than those without */
.btn .badge {
    margin-bottom: -1px;
}

/* Fix Facebook button vertical offset */
.fb-share-button > span {
    margin-bottom: 5px;
}

@media (max-width: 767px) {
    .artwork-panel {
        padding: 0;
    }
    .artwork-panel-header, .artwork-panel-actions {
        position: static;
        width: 100%;
    }
    .artwork-img-container {
        min-height: 0;
        text-align: center;
        border-bottom: 1px solid #ddd;
    }
    .artwork-img {
        max-width: 100%;
    }
}

