/**
 *
 * @link              http://ProdGraphy.com
 * @since             1.0.0
 * @package           ProdGraphy
 *
 * @wordpress-plugin
 * Plugin Name:       360° Generator
 * Plugin URI:        http://prodgraphy.com
 * Version:           1.5.0
 * Public style
 * Style 360 in public face 
*/


/**
 * Style 360
 */

.pg360 {
    float: left;
    overflow: hidden;
    font-family: sans-serif;
    text-decoration: none;
}

.pg360_pack {
    display: table;
    margin: auto;
}

div .reel {
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/**
 * Watermark Style
 */

.pg360_watermark {
    position: relative;
    z-index: 10;
    text-align: center;
    font-family: sans-serif;
}


/* 
 * button  
 */

.pg360_control {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.pg360_control_btn {
    padding: 5px;
    padding-bottom: 7px;
    text-decoration: none;
    margin: 5px;
    border-radius: 20px;
    border: none;
}


/**
 * On Sale Style
 */

.product {
    margin: 2%;
    z-index: 1000;
}

.product-image {
    margin-bottom: 10px;
    position: relative;
    min-height: 250px;
}

.onsale-section {
    position: absolute;
    top: -6px;
}

.onsale-section:after {
    position: absolute;
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    z-index: 10;
}

.onsale {
    position: relative;
    display: inline-block;
    text-align: center;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    padding: 12px 8px 6px;
    border-top-right-radius: 8px;
    width: 84px;
    text-transform: uppercase;
    z-index: 10;
}

.onsale:before,
.onsale:after {
    position: absolute;
    content: '';
    display: block;
}

.onsale:before {
    background: #6ec5d5;
    height: 7px;
    width: 6px;
    left: -6px;
    top: 0;
}

.onsale::after {
    background: #96a0a2;
    height: 7px;
    width: 8px;
    border-radius: 8px 8px 0 0;
    left: -8px;
    top: 0;
}

.product img {
    display: block;
}


/**
 * OverLay (can use any thing like :Out of Stock)
 */

.overlay_text_layer {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    width: 100%;
    height: auto;
}

.overlayDivClass:hover .overlayImgClass {
    opacity: 0.5;
}

.overlayDivClass:hover .overlay_text_layer {
    opacity: 1;
}

.overlayDivClass:hover .overlay {
    width: 50px;
    height: auto;
}

.overlay_text {
    background-color: darkgrey;
    color: black;
    font-size: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    border-radius: 60px;
}


/**
 * 360 Hint
 */

.hint360Class {
    opacity: 1;
    display: block;
    height: auto;
    backface-visibility: hidden;
}

.hint360 {
    transition: .5s ease;
    opacity: .7;
    position: absolute;
    top: 50%;
    left: 0;
    text-align: center;
    width: 100%;
    z-index: 10;
}

.pg360_pack:hover .hint360 {
    display: none;
}

.hint_360text {
    display: table;
    color: white;
    font-size: 16px;
    text-align: center;
    padding: 16px;
    border-radius: 15px;
    margin: auto;
}


/**
 * Style Annotation Massege
 * Case of latent view
 */

.reel-annotation {
    display: block;
}

.pg360_ann_container {
    opacity: 0.7;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
    border-radius: 20px;
    display: none;
}

.pg360_ann_container:hover {
    cursor: default;
}

.pg360_ann_close {
    position: absolute;
    top: 0;
    right: 0;
    color: rgb(31, 30, 30);
    border-radius: 20px;
}

.pg360_annotation_text_class {
    margin-top: 5px;
}

.pg360_ann_title a {
    text-decoration: none;
}

.pg360_ann_title a {
    padding-bottom: 0;
    margin-bottom: 0;
}

.pg360_ann_title h3 {
    margin-bottom: 0;
    padding: 2px;
}

.reel {
    touch-action: none;
}