﻿/*
* Copyright 2014 Seven Spikes Ltd. All rights reserved. (http://www.nop-templates.com)
* http://www.nop-templates.com/t/licensinginfo
*/

.ribbon-wrapper {
    position: relative;
}

@media all and (min-width: 769px) {
    .product-list .ribbon-wrapper {
        float: left; /*should not be applied on smaller resolutions where the product list looks like a grid*/
    }
}

/* ribbon positioning */

.ribbon-position {
    font-size: 0;
    line-height: 0;
    position: absolute;
    z-index: 1;
    -webkit-transition: all .15s ease-in-out;
    -moz-transition: all .15s ease-in-out;
    -o-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}

    .ribbon-position.top-left {
  background: rgba(252, 252, 252, 0.97);
    color: #FF0000;
    border: 1px solid #FF0000;
    border-radius: 4px;
    font-size: 1.2em;
    padding: 1px 0.2em;
    width: auto;
    position: absolute;
    float: left;
    top: 6px;
    left: 5px;
    line-height: 20px;
    vertical-align: middle;
    font-weight: bold;
    text-align: center;
    }

    .ribbon-position.top-right {
        color: #7d7d7d;
        border-radius: 4px;
        font-size: 0.85em;
        padding: 0;
        font-family: Prompt;
        width: auto;
        text-align: right;
        position: absolute;
        float: right;
        top: 35px;
        left: 1%;
        vertical-align: middle;
    }

    .ribbon-position.bottom-left {
        bottom: 0;
        left: 0;
    }

    .ribbon-position.bottom-right {
        bottom: 0;
        right: 0;
    }

    .ribbon-position.top-middle {
        top: 0;
        left: 0;
        right: 0;
        text-align: center;
    }

    .ribbon-position.right-middle,
    .ribbon-position.left-middle {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        text-align: right;
    }

    .ribbon-position.bottom-middle {
        bottom: 0;
        left: 0;
        right: 0;
        text-align: center;
    }

    .ribbon-position.left-middle {
        text-align: left;
    }

   
         .ribbon-position.center {
        position: absolute;
        margin: auto;
        top: 230px;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;

        float: left;
    }

.ribbon-position.center img
{
width:100%;
}
    .ribbon-position.bottom-right {
        position: absolute;
        margin: auto;
        top: -15px;
        right: 0px;
        bottom: 0;
        left: -15px;
        background: url(../img/water4.svg) right top no-repeat;
        background-size: 100%;
        padding: 0;
    }
.ribbon-position.top-right img
{
width:80% !important;
padding:0;
right:-10px;
top:-5px;
}
      
    .ribbon-position.bottom-left {
        position: absolute;
        margin: auto;
        top: -15px;
        right: 0px;
        bottom: 0;
        left: -15px;
        background: url(../img/water3.svg) right top no-repeat;
        background-size: 100%;
        padding: 0;
    }

    .ribbon-position.right-middle:before,
    .ribbon-position.left-middle:before,
    .ribbon-position.center:before {
        content: " ";
        display: inline-block;
        height: 100%;
        width: 0;
        vertical-align: middle;
    }

/* ribbon wrapping element */

.product-ribbon {
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

/* ribbon label without image*/

.ribbon-text {
}

/* ribbon label with image */

.ribbon-image-text {
    font-size: 12px;
    line-height: normal;
    position: absolute;
    top: 0;
    left: 0;
}

@media all and (max-width: 1000px) {
	
   

    .ribbon-position.center {
        position: absolute;
        margin: auto;
        top: 200px;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
    }

    .ribbon-position.top-left {
  background: #ffffffd9;
       color: #FF0000;
        border-radius: 4px;
        font-size: 0.9em;
        padding: 0 0.2em;
        text-align: left;
        font-family: Prompt;
        width: auto;
        position: absolute;
        float: left;
        top: 6px;
        left: 5px;
        height: 20px;
        line-height: 20px;
        vertical-align: middle;
    }
.ribbon-position.top-right img
{
display:none;
}
    .ribbon-position.top-right {
        color: #7d7d7d;
        border-radius: 4px;
        font-size: 0.85em;
        padding: 0;
        font-family: Prompt;
        width: auto;
        text-align: left;
        position: absolute;
        float: right;
        top: 35px;
        right: 1%;
        vertical-align: middle;
    }

}
