/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 27-Oct-2016, 07:17:31
    Author     : Mark
*/

@import url(https://fonts.googleapis.com/css?family=Lato:700);

/*
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #f0f0f0;
}
*/

.box {
    position: relative;
    max-width: 600px;
    width: 90%;
    height: 400px;
    background: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,.1);
}

/* common */
.ribbon {
    width: 100px;
    height: 100px;
    overflow: hidden;
    position: absolute;
    z-index: 1000;
}

.ribbon-green {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
    z-index: 1000;
}

.ribbon-exclu {
    overflow: hidden;
    position: absolute;
    z-index: 1000;
}

.ribbon::before,
.ribbon::after,
.ribbon-exclu::before,
.ribbon-exclu::after,
.ribbon-green::before,
.ribbon-green::after{
    position: absolute;
    z-index: -1;
    content: '';
    display: block;
    /*border: 5px solid #2980b9;*/
}

.ribbon span {
    position: absolute;
    display: block;
    /*
    width: 130px;
    */
    width: 160px;
    padding: 5px 0;
    background-color: #ff0000;
    box-shadow: 0 5px 10px rgba(0,0,0,.1);
    color: #fff;
/*    font: 700 10px/1 'Lato', sans-serif; */
    font: 700 11px/1 'Lato', sans-serif;
    text-shadow: 0 1px 1px rgba(0,0,0,.2);
    /*text-transform: uppercase;*/
    text-align: center;
}

.ribbon-green span {
    position: absolute;
    display: block;
    width: 225px;
    padding: 15px 0;
    background-color: rgb(0,103,78);
    box-shadow: 0 5px 10px rgba(0,0,0,.1);
    color: #fff;
    font: 700 15px/1 'Lato', sans-serif;
    text-shadow: 0 1px 1px rgba(0,0,0,.2);
    text-transform: uppercase;
    text-align: center;
}

/*
.ribbon-exclu span {
    position: absolute;
    display: block;
    width: 225px;
    padding: 15px 0;
    background-color: rgb(0,103,78);
    box-shadow: 0 5px 10px rgba(0,0,0,.1);
    color: #fff;
    font: 700 15px/1 'Lato', sans-serif;
    text-shadow: 0 1px 1px rgba(0,0,0,.2);
    text-transform: uppercase;
    text-align: center;
}
*/

/* top left*/
.ribbon-top-left {
    /*  top: -10px;
      left: -10px; */
}
.ribbon-top-left::before,
.ribbon-top-left::after {
    border-top-color: transparent;
    border-left-color: transparent;
}
.ribbon-top-left::before {
    top: 0;
    right: 0;
}
.ribbon-top-left::after {
    bottom: 0;
    left: 0;
}
.ribbon-top-left span {
/*
    right: 0;
    top: 20px;
*/
    right: -22px;
    top: 30px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

/* top right*/
.ribbon-top-right {
    top: -10px;
    right: -10px;
}
.ribbon-top-right::before,
.ribbon-top-right::after {
    border-top-color: transparent;
    border-right-color: transparent;
}
.ribbon-top-right::before {
    top: 0;
    left: 0;
}
.ribbon-top-right::after {
    bottom: 0;
    right: 0;
}
.ribbon-top-right span {
    left: -25px;
    top: 30px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

/* bottom left*/
.ribbon-bottom-left {
    bottom: -10px;
    left: -10px;
}
.ribbon-bottom-left::before,
.ribbon-bottom-left::after {
    border-bottom-color: transparent;
    border-left-color: transparent;
}
.ribbon-bottom-left::before {
    bottom: 0;
    right: 0;
}
.ribbon-bottom-left::after {
    top: 0;
    left: 0;
}
.ribbon-bottom-left span {
    right: -25px;
    bottom: 30px;
    transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
}

/* bottom right*/
.ribbon-bottom-right {
    bottom: -10px;
    right: -10px;
}
.ribbon-bottom-right::before,
.ribbon-bottom-right::after {
    border-bottom-color: transparent;
    border-right-color: transparent;
}
.ribbon-bottom-right::before {
    bottom: 0;
    left: 0;
}
.ribbon-bottom-right::after {
    top: 0;
    right: 0;
}
.ribbon-bottom-right span {
    left: -25px;
    bottom: 30px;
    transform: rotate(-225deg);
    -webkit-transform: rotate(-225deg);
}  

.ribbon-exclu {
    bottom: 30px;
    color: rgba(255,255,255,0.6);
    position: absolute;
    font-size: 3rem;
    width: 100%;
    text-align: center;
    /* margin-right: -8px; */
    right: 0px;
    /* top: 30px; */
}
