﻿/**
 * CSS-only ribbon styles: Full top corner
 * Source: https://codepen.io/emestanza/pen/xuLli
 **/
.cnrflash {
    /*Position correctly within container*/
    position: absolute;
    top: -5px;
    right: -7px;
    z-index: 1;
    /*Set overflow to hidden, to mask inner square*/
    overflow: hidden;
    /*Set size and add subtle rounding 
		to soften edges*/
    width: 100px;
    height: 100px;
    border-radius: 3px 5px 3px 0;
}

.cnrflash-inner {
    /*Set position, make larger then
			container and rotate 45 degrees*/
    position: absolute;
    bottom: 22px;
    right: 0;
    width: 114px;
    height: 145px;
    -webkit-transform: rotate(45deg);
    -webkit-transform-origin: 100% 100%;
    /*Purely decorative effects to add texture
			and stuff*/
    background-size: 4px,auto, auto,auto;
    /*background-color: #f37254;*/
    background-color: #BE1C2F;
    box-shadow: 0 3px 3px 0 rgba(1,1,1,.5), 0 1px 0 0 rgba(1,1,1,.5), inset 0 -1px 8px 0 rgba(255,255,255,.3), inset 0 -1px 0 0 rgba(255,255,255,.2);
}

    .cnrflash-inner:before,
    .cnrflash-inner:after {
        /*Use the border triangle trick to make 
				it look like the ribbon wraps round it's
				container*/
        content: " ";
        display: block;
        position: absolute;
        bottom: -9px;
        width: 0;
        height: 0;
        border: 4px solid #800000;
    }

    .cnrflash-inner:before {
        left: 1px;
        border-bottom-color: transparent;
        border-right-color: transparent;
    }

    .cnrflash-inner:after {
        right: 0;
        border-bottom-color: transparent;
        border-left-color: transparent;
    }

.cnrflash-label {
    /*Make the label look nice*/
    position: absolute;
    bottom: 0;
    left: 0;
    /*padding-right:100px;*/
    display: block;
    width: 71%;
    /*padding-bottom:5px;*/
    padding-top: 40px;
    color: #fff;
    /*text-shadow: 0 1px 1px rgba(1,1,1,.8);*/
    font-size: 12px;
    /*font-weight:bold;*/
    text-align: center;
    transform: rotate(0deg) translate(25%, -3px);
}
/**
 * [END] CSS-only ribbon styles: Full top corner
 **/


/**
* Ribbon for Premium
* Source: https://codepen.io/simoncoudeville/pen/LyCda
**/
.label-hot {
    position: absolute;
    top: -2px;
    left: 10px;
    display: inline-block;
    padding: 0.2em;
    border-radius: 5px 2px 2px 0;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 12px;
    font-size: 0.8rem;
    line-height: 1.2em;
    font-weight: bold;
    color: white;
    background-color: #be1c2f;
    z-index: 11;
    -moz-border-radius: 5px 2px 2px 0;
    -webkit-border-radius: 5px;
    border-radius: 5px 2px 2px 0;
    -moz-box-shadow: 0px 2px 0 rgba(31, 41, 51, 0.1);
    -webkit-box-shadow: 0px 2px 0 rgba(31, 41, 51, 0.1);
    box-shadow: 0px 2px 0 rgba(31, 41, 51, 0.1);
    -moz-transition: all 0.1s;
    -o-transition: all 0.1s;
    -webkit-transition: all 0.1s;
    transition: all 0.1s;
}

    .label-hot:before {
        content: " ";
        display: block;
        position: absolute;
        width: 5px;
        height: 4px;
        left: 0;
        bottom: -4px;
        background-color: #ffc938;
    }

    .label-hot:after {
        content: " ";
        display: block;
        position: absolute;
        width: 5px;
        height: 6px;
        bottom: -6px;
        left: 0;
        background-color: #720713;
        -moz-border-radius: 5px 0 0 5px;
        -webkit-border-radius: 5px;
        border-radius: 5px 0 0 5px;
    }

.label-premium {
    position: absolute;
    top: -5px;
    left: -5px;
    display: inline-block;
    padding: 0 0.75em;
    border-radius: 5px 2px 2px 0;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 12px;
    font-size: 0.9rem;
    line-height: 2.5em;
    font-weight: bold;
    color: #6b4e00;
    background-color: #ffc938;
    z-index: 11;
    -moz-border-radius: 5px 2px 2px 0;
    -webkit-border-radius: 5px;
    border-radius: 5px 2px 2px 0;
    -moz-box-shadow: 0px 2px 0 rgba(31, 41, 51, 0.1);
    -webkit-box-shadow: 0px 2px 0 rgba(31, 41, 51, 0.1);
    box-shadow: 0px 2px 0 rgba(31, 41, 51, 0.1);
    -moz-transition: all 0.1s;
    -o-transition: all 0.1s;
    -webkit-transition: all 0.1s;
    transition: all 0.1s;
}

    .label-premium:before {
        content: " ";
        display: block;
        position: absolute;
        width: 5px;
        height: 4px;
        left: 0;
        bottom: -4px;
        background-color: #ffc938;
    }

    .label-premium:after {
        content: " ";
        display: block;
        position: absolute;
        width: 5px;
        height: 6px;
        bottom: -6px;
        left: 0;
        background-color: #9e7300;
        -moz-border-radius: 5px 0 0 5px;
        -webkit-border-radius: 5px;
        border-radius: 5px 0 0 5px;
    }

/**
 * [END] Ribbon for Premium
 **/
