.ribbon {
 font-size: 16px !important;
 /* This ribbon is based on a 16px font side and a 24px vertical rhythm. I've used em's to position each element for scalability. If you want to use a different font size you may have to play with the position of the ribbon elements */

 width: 30%;
    
 position: relative;
 background: #F44336;
 color: #fff;
 text-align: center;
 padding: 1em 2em; /* Adjust to suit */
 margin: 2em auto 3em; /* Based on 24px vertical rhythm. 48px bottom margin - normally 24 but the ribbon 'graphics' take up 24px themselves so we double it. */
}
.ribbon:before, .ribbon:after {
 content: "";
 position: absolute;
 display: block;
 bottom: -1em;
 border: 1.5em solid #F44336;
 z-index: -1;
}
.ribbon:hover{
background: #4CAF50;

}
#timeout{

  display: none;
}
.ribbon:before {
 left: -2em;
 border-right-width: 1.5em;
 border-left-color: transparent;
}
.ribbon:after {
 right: -2em;
 border-left-width: 1.5em;
 border-right-color: transparent;
}
.ribbon .ribbon-content:before, .ribbon .ribbon-content:after {
 content: "";
 position: absolute;
 display: block;
 border-style: solid;
 border-color:  #D32F2F transparent transparent transparent;
 bottom: -1em;
}
.ribbon .ribbon-content:before {
 left: 0;
 border-width: 1em 0 0 1em;
}
.ribbon .ribbon-content:after {
 right: 0;
 border-width: 1em 1em 0 0;
}
/*.ribbon.ribbon-content .back a{
	text-decoration: none;
	color:#fff;
}*/



.heading {
 font-size: 14px !important;
 /* This ribbon is based on a 16px font side and a 24px vertical rhythm. I've used em's to position each element for scalability. If you want to use a different font size you may have to play with the position of the ribbon elements */

 width:280px;
    font-family: Roboto;
    font-weight: 100;
     color: white;
  background: #F44336;
  outline: none;
  max-height:49px;
  display: inline-block;
   box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.7);
 position: relative;
 color: #fff;
 text-align: center;
 padding: 1em 2.3em; /* Adjust to suit */
 margin: 1em auto 2em; /* Based on 24px vertical rhythm. 48px bottom margin - normally 24 but the ribbon 'graphics' take up 24px themselves so we double it. */
}
/*.heading:before, .heading:after {
 content: "";
 position: absolute;
 display: block;
 bottom: -1em;
 border: 1.5em solid #986794;
 z-index: -1;
}*/
.heading:before {
 left: -2em;
 border-right-width: 1.4em;
 border-left-color: transparent;
}
.heading:hover{
background: #4CAF50;

}
/*.heading:after {
 right: -2em;
 border-left-width: 1.5em;
 border-right-color: transparent;
}*/
/*.heading .heading-content:before {
 content: "";
 position: absolute;
 display: block;
 border-style: solid;
 border-color: #D32F2F transparent transparent transparent;
 bottom: -1em;
}
.heading .heading-content:before {
 left: 0;
 border-width: 1em 0 0 1em;
}*/
/*.heading .heading-content:after {
 right: 0;
 border-width: 1em 1em 0 0;
}*/