html, body {
	margin:0;
	padding:0;
	font-family: arial;
	height:100%;
    max-width: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

@font-face {
    font-family: 'neotech';
	src: url('https://www.endeavourfm.co.uk/fonts/neotech.otf') format('otf'),
	url('https://www.endeavourfm.co.uk/fonts/neotech.eot?#iefix') format('embedded-opentype'), 
    url('https://www.endeavourfm.co.uk/fonts/neotech.woff') format('woff'), 
    url('https://www.endeavourfm.co.uk/fonts/neotech.ttf')  format('truetype'),
    url('https://www.endeavourfm.co.uk/fonts/neotech.svg#neotech') format('svg');
}

@font-face {
    font-family: 'neotechblack';
	src: url('https://www.endeavourfm.co.uk/fonts/neotechblack.otf') format('otf'),
	url('https://www.endeavourfm.co.uk/fonts/neotechblack.eot?#iefix') format('embedded-opentype'), 
    url('https://www.endeavourfm.co.uk/fonts/neotechblack.woff') format('woff'), 
    url('https://www.endeavourfm.co.uk/fonts/neotechblack.ttf')  format('truetype'),
    url('https://www.endeavourfm.co.uk/fonts/neotechblack.svg#neotechblack') format('svg');
}

a {
	text-decoration: none;
}

.more {
	font-weight: bold;
	margin-top: 24px;
	margin-bottom:10px;
	float: right;
}

.wrapper {
	margin-left: auto;
	margin-right: auto;
	max-width: 1166px;
}

#header {
	padding-top: 15px;
	text-align: center;
}

[class*="header-col-"] {
	width: 100%;
	text-align: center;
	padding: 5px;
}

.padded {
	padding: 5px;
}

#logo {
	max-height: 100px;
	margin-left: auto;
	margin-right: auto;
	display:inline-block;
	margin-bottom: 10px;
}

#now {
	/*min-width: 275px;*/
	margin-left: auto;
	margin-right: auto;
}

#nowbox {
	text-align: left;
	display: table-cell;
	vertical-align:top;
	padding: 5px;
}

#nowboxplayer {
	vertical-align:top;
	padding: 5px;
	margin-bottom:8px;
}

#nowtext {
	font-size: 20px;
	display: block;
	margin-top: 3px;
}

#song {
	margin-top: 7px;
	font-size: 12px;
	margin-bottom: 7px;
}

#now-dj-box {
	display: table-cell;
}

#now-dj-image {
	margin-right: 5px;
	width: 99px;
}

#player-dj-image {
	width: 150px;
}

.djcontact {
	display: inline;
	padding: 5px;
	line-height: 35px;
	margin-right: 5px;
	overflow: hidden;
	white-space: nowrap;
	font-size: 14px;
}

.djcontact2 {
	display: inline;
	padding: 15px;
	line-height: 35px;
	margin-right: 5px;
	overflow: hidden;
	white-space: nowrap;
	font-size: 18px;
}

#listen {
	text-align: center;
	padding: 5px;
	font-family: neotechblack;
	font-size: 18px;
	display: inline-block;
	height: 45px;
	padding-top: 6px;
	vertical-align: top;
	word-break: break-word;
	/*width:251px;*/
	width:100%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 12px;
}

#listen img {
	display: inline-block;
	height: 30px;
	margin-right: 10px;
}

#listentext {
	word-break: break-word;
	text-align: center;
}

#contact {
	text-align: center;
	padding: 7px;
	font-size: 16px;
	display:none;
	height: 115px;
	vertical-align: top;
	margin-bottom: 10px;
	/*width: 100%;*/
}

#contact-top {
	text-align: center;
	padding: 7px;
	font-size: 16px;
	display:inline-block;
	/*height: 115px;*/
	vertical-align: top;
	margin-bottom: 10px;
}

#contact table {
	padding:0; 
	margin:0;
	border-collapse: collapse;
	line-height: 23px;
}

#contact-top table {
	padding:0; 
	margin:0;
	border-collapse: collapse;
	line-height: 23px;
}

#social-icons {
	width: 100%;
	margin-top: 10px;
	text-align: center;
}

#nav-bar {
	margin-bottom: 20px;
}

#nav {
    list-style-type: none;
	padding: 0;
	/*min-height: 50px;
	min-height: 288px;*/
	height: 0px;
}

.nav-link {
    float: left;
	width: 100%;
    position: relative;
	display: none;
}

#nav-shower {
    float: left;
	width: 100%;
    position: relative;
}

#hidden-nav {
	display: none;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
	width: 100%;
	z-index: 1;
	top:35px;
	left: 0px;
	text-align: center;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.nav-link a {
    display: inline-block;
    text-align: center;
	font-size: 18px;
	line-height: 36px;
	width: 100%;
	font-family: neotech;
	font-weight: bold;
}

.content-main,
.content-side,
.content-main-small {
	display: inline-block;
	vertical-align: top;
	margin-bottom: 20px;
	width: 100%;
}
.content-text h2 {
	margin: 5px 0 10px 0;
}

.news-image {
	margin-right: 20px;
	max-width: 377px;
	float: left;
	display: inline-block;
}

.content-side {
	width: 100%;
}

.how-to-listen {
	display: inline-block;
	width: 48%;
	text-align: center;
	font-weight: bold;
}

.how-to-listen img {
	width: 100%;
	max-width: 190px;
}

.left,
.right {
	padding: 0;
}

.content-img {
	width: 100%;
	height: 200px;
}

h1 {
	margin-left: auto;
	margin-right: auto;
}

h3 {
	margin: 0;
	padding-left: 12px;
	padding-top: 8px;
	font-family: neotechblack;
	font-size: 25px;
	font-weight: normal;
	min-height: 50px;
}

.content-text {
	padding: 10px;
	font-size: 18px;
}

#weather h2 {
	font-family: neotech;
}

.not4d {
	width: 100%;
}

.flex-container {
   position: relative;
}

.flex-img {
	aspect-ratio: 16 / 7;   /* or whatever ratio your images are */
    width: 100%;
    background-size: cover;
    background-position: center;
}

.flex-caption {
	padding: 15px;
	height: 100%;
	width: 100%;
	top: 0px;
	right: 0px;
	z-index: 1000;
}

.flex-header {
	font-size: 22px;
	font-weight: bold;
}

.flex-text {
	margin-top: 10px;
	font-size: 16px;
}

#footer {
	width: 100%;
	text-align: center;
	font-size: 12px;
	padding-top: 10px;
	padding-bottom: 20px;
}

#footer img {
	margin-right:10px;
	margin-top:10px;
	height: 30px;
}

.sponsor:hover {
	transform: scale(1.3);
}

.b4nn3r img {
	max-height: 90px;
	width: 90%;
	max-width:728px;
	margin-bottom:10px;
	margin-left: auto;
	margin-right: auto;
}

.schedule-row {
	margin-top: 5px;
	min-height:104px;
	overflow: auto;
}

.schedule-photo {
	float:left;
}

.schedule-photo img {
	width: 104px;
}

.schedule-box {
	margin-left:105px;
	height:100%;
	padding: 5px;
}

.schedule-text {
	font-size: 22px;
	margin-bottom:10px;
}

.event-row {
	margin-top: 20px;
	min-height:104px;
	overflow: auto;
}

.event-photo {
	float:left;
}

.event-photo-img {
	width: 100%;
}

.event-box {
	width:100%;
	height:100%;
	padding: 5px;
}

#playerbox {
	width:100%;
	height:100%;
	text-align: center;
}

#playerbox2 {
	width:100%;
	height:100%;
	text-align: center;
	font-family:verdana;
	text-align:center;
}

#player-logo {
	width: 70%;
	max-width:400px;
	margin-top: 20px;
	margin-bottom: 15px;
}

#player-logo2 {
	width:40%;
	max-width:200px;
	margin-top: 20px;
}

#now-player, #now-player2, #now-player-red {
	width: 90%;
	max-width:300px;
	margin-top: 20px;
	margin-bottom: 15px;
	margin-left: auto;
	margin-right: auto;
}

#player {
	width:90%;
	max-width:500px;
}

/* Photo Banner */
.footer-container {
    width: 100%;
    overflow: hidden;
    margin: 10px auto;
}

.photobanner, .photobanner2 {
    height: 133px;
    width: 2100px;
    margin-bottom: 5px;
    font-size: 0;
}

.photobanner img, .photobanner2 img {
	margin-bottom: 10px;
	margin-right: 5px;
	height: 133px;
}

.photobanner img  {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
 
.photobanner img:hover {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
    cursor: pointer;
 
    -webkit-box-shadow: 0px 3px 5px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 3px 5px rgba(0,0,0,0.2);
    box-shadow: 0px 3px 5px rgba(0,0,0,0.2);
}

/*keyframe animations*/
.first {
    -webkit-animation: bannermove 5s linear infinite;
       -moz-animation: bannermove 5s linear infinite;
        -ms-animation: bannermove 5s linear infinite;
         -o-animation: bannermove 5s linear infinite;
            animation: bannermove 5s linear infinite;
}
 
@keyframes "bannermove" {
 0% {margin-left: 0px;}
 100% {margin-left: -820px;}
}
 
@-moz-keyframes bannermove {
 0% {margin-left: 0px;}
 100% {margin-left: -820px;}
}
 
@-webkit-keyframes "bannermove" {
 0% {margin-left: 0px;}
 100% {margin-left: -820px;}
}
 
@-ms-keyframes "bannermove" {
 0% {margin-left: 0px;}
 100% {margin-left: -820px;}
}
 
@-o-keyframes "bannermove" {
 0% {margin-left: 0px;}
 100% {margin-left: -820px;}
}

/* Unify all columns for mobile phones: */
[class*="col-"] {
	width: 100%;
	float: left;
	/*border: 1px solid red;*/
}

@media only screen and (min-width: 355px) {
	/* Adjustments for really small phones */
	#listen {
		/*width: 22%;*/
		width:100%;
	}
	#listen img {
		display:inline-block;
		margin-bottom: -7px;
	}
	#listentext {
		display:inline-block;
	}
	#footer img {
		height: 35px;
	}
}

@media only screen and (min-width: 620px) {
	/* Make adjustments for devices bigger than phones */
	#nav-shower {
		display: none;
	}
	#hidden-nav {
		display: inline;
	}
	.nav-link {
		width: 25%;
		display: table;
		height: 50px;
	}
	.nav-link a {
		display: table-cell;
		font-size: 20px;
		line-height: 20px;
		vertical-align: middle;
	}
	.dropdown-content {
		top: 50px;
		text-align:center;
	}
	.sublinks {
		margin-top: 3px;
		text-align:center;
	}
	.sublinks a {
		margin-bottom:15px;
		display: inline-block;
	}
	.content-main-small {
		display:inline-block;
		width: 100%;
	}
	.flex-header {
		font-size: 24px;
	}
	.flex-text {
		font-size: 17px;
	}
	#nav {
		min-height: 100px;
		max-width: 560px;
	}	
	.header-col-left {
		width: 100%;
	}
	.header-col-middle, .header-col-right {
		width: 50%;
	}
	#listen, #contact {
		float:right;
	}
	.flex-caption {
		float: right;
		position: absolute;
		width: 34%;
		min-width: 220px;
	}
	#now {
		/*min-width:345px;*/
	}
	.event-photo-img {
		margin-right: 10px;
		width: 300px;
	}
	.accountbox {
		display: inline-block;
		max-width: 32.6%;
		margin-bottom:0px;
	}
	#contact {
		display: inline-block;
	}
	#contact-top {
		display: none;
	}
}

@media only screen and (min-width: 830px) {
	/* Adjustments for normal screens */
	#logo {
		float: left;
		width: 90%;
		max-height: 200px;
		margin-bottom: 15px;
		margin-left:10px;
	}
	#now {
		width: 96%;
		margin-bottom: 0px;
		float:right;
	}
	#listen {
		width:96%;
	}
	.header-col-left, .header-col-middle, .header-col-right {
		width: 33.33%;
		float:left;
	}
    /* Column sizes for full desktop view */
    .col-1 {width: 8.33%;}
    .col-2 {width: 16.66%;}
    .col-3 {width: 25%;}
    .col-4 {width: 33.33%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 75%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {width: 100%;}
	.col-right {
		padding-left: 20px;
	}
	#nav {
		min-height: 50px;
		max-width: 1166px;
	}
	.left {
		padding-right: 10px;
	}
	.right {
		padding-left: 10px;
	}
	#footer img {
		height: 50px;
	}
	#toplogin {
		max-width:240px;
		float:right;
		margin-right:6px;
		margin-top:20px;
		border-bottom-left-radius:10px;
		border-bottom-right-radius:10px;
	}
	.voucherboxA {
		display:inline-block;
		max-width:30%;
		margin-right:40px;
		border:0 !important;
	}
	.voucherboxB {
		display:inline-block;
		max-width:30%;
		border:0 !important;
	}
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

/* Customize the label (the container) */
.container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 18px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border: 3px solid black;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

#toplogin {
	background: #fff;
	width: 100%;
	padding:10px;
	margin-bottom:10px;
	margin-top:-16px;
	left:0px;
	top:0px;
}

.voucherboxA, .voucherboxB {
	width:100%;
	margin-bottom:30px;
	border-top: 1px grey solid;
}

.voucherboxcompany {
	font-family:neotechblack;
	font-style:italic;
	font-size:18px;
	margin-left:10px;
	margin-top:10px;
}

.voucherboxname {
	font-family:neotechblack;
	font-style:italic;
	font-size:26px;
	margin-left:10px;
	position:relative;
}

.voucherboxdesc {
	font-weight:bold;
	font-size:18px;
	margin-left:10px;
	margin-top:10px;
	min-height:60px;
}

.voucherboximg {
	margin-top:15px;
	background-size: cover;
	background-position: 50% 50%;
	height:150px;
	width:100%;
	position: relative;
	z-index: 90;
}

.voucherbutton {
	margin-top:5px;
	margin-left: auto;
	margin-right: auto;
	background:#316ca4;
	font-family:neotech;
	font-weight:bold;
	font-style:italic;
	font-size:20px;
	color:#fff;
	padding:5px;
	width:180px;
	text-align:center;
}

.voucherbutton:hover {
	background:#659ED1;
}

.businessvoucherbutton {
	margin-top:15px;
	margin-left: auto;
	margin-right: auto;
	background:#fff;
	font-weight:bold;
	font-size:14px;
	color:#000;
	padding:5px;
	width:172px;
	text-align:center;
	border: 2px solid #CCC;
	display:inline-block;
}

.businessvoucherbutton:hover {
	border: 2px solid #000;	
}

.voucherbutton-expired {
	margin-top:5px;
	margin-left: auto;
	margin-right: auto;
	background:#aaa;
	font-family:neotech;
	font-weight:bold;
	font-style:italic;
	font-size:20px;
	color:#fff;
	padding:5px;
	width:180px;
	text-align:center;
}

.voucherbutton-claimed {
	margin-top:5px;
	margin-left: auto;
	margin-right: auto;
	background:#59B300;
	font-family:neotech;
	font-size:20px;
	color:#fff;
	padding:5px;
	width:210px;
	text-align:center;
}

.voucherbutton-code {
	margin-top:5px;
	margin-left: auto;
	margin-right: auto;
	background:#59B300;
	font-family:neotech;
	font-size:30px;
	color:#fff;
	padding:5px;
	width:210px;
	text-align:center;
	border: dashed #000;
}


.voucherbutton-claimed:hover {
	background:#468C00;
}

.ribbon-wrapper-right {
  width: 100px;
  height: 100px;
  overflow: hidden;
  position: absolute;
  top: -3px;
  right: -3px;
}
.ribbon-wrapper-left {
  width: 100px;
  height: 100px;
  overflow: hidden;
  position: absolute;
  bottom: -3px;
  left: -3px;
}

.ribbon-right-red {
    font: bold 20px Sans-Serif;
    color: #fff;
    text-align: center;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    position: relative;
    padding: 2px 0;
    left: 5px;
    top: 15px;
    width: 130px;
    background-color: #ea181e;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ea181e), to(#b90005));
    background-image: -webkit-linear-gradient(top, #ea181e, #b90005);
    background-image: -moz-linear-gradient(top, #ea181e, #b90005);
    background-image: -ms-linear-gradient(top, #ea181e, #b90005);
    background-image: -o-linear-gradient(top, #ea181e, #b90005);
    color: #fff;
    -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
}

.ribbon-right-amber {
    font: bold 20px Sans-Serif;
    color: #fff;
    text-align: center;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    position: relative;
    padding: 2px 0;
    left: 5px;
    top: 15px;
    width: 130px;
    background-color: #e08d10;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#e08d10), to(#bd7811));
    background-image: -webkit-linear-gradient(top, #e08d10, #bd7811);
    background-image: -moz-linear-gradient(top, #e08d10, #fcb54c);
    background-image: -ms-linear-gradient(top, #e08d10, #fcb54c);
    background-image: -o-linear-gradient(top, #e08d10, #fcb54c);
    color: #fff;
    -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
}

.ribbon-right-green {
    font: bold 20px Sans-Serif;
    color: #fff;
    text-align: center;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    position: relative;
    padding: 2px 0;
    left: 5px;
    top: 15px;
    width: 130px;
    background-color: #8dc735;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#8dc735), to(#649a12));
    background-image: -webkit-linear-gradient(top, #8dc735, #649a12);
    background-image: -moz-linear-gradient(top, #8dc735, #649a12);
    background-image: -ms-linear-gradient(top, #8dc735, #649a12);
    background-image: -o-linear-gradient(top, #8dc735, #649a12);
    color: #fff;
    -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
}

.ribbon-right-redeemed {
    font: bold 12px Sans-Serif;
    color: #fff;
    text-align: center;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    position: relative;
    padding: 2px 0;
    left: 5px;
    top: 20px;
    width: 130px;
    background-color: #8dc735;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#8dc735), to(#649a12));
    background-image: -webkit-linear-gradient(top, #8dc735, #649a12);
    background-image: -moz-linear-gradient(top, #8dc735, #649a12);
    background-image: -ms-linear-gradient(top, #8dc735, #649a12);
    background-image: -o-linear-gradient(top, #8dc735, #649a12);
    color: #fff;
    -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
}

.ribbon-left-red {
    font: bold 12px Sans-Serif;
    color: #fff;
    text-align: center;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    position: relative;
    padding: 4px 0;
    left: -30px;
    top: 55px;
    width: 130px;
    background-color: #ea181e;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ea181e), to(#b90005));
    background-image: -webkit-linear-gradient(top, #ea181e, #b90005);
    background-image: -moz-linear-gradient(top, #ea181e, #b90005);
    background-image: -ms-linear-gradient(top, #ea181e, #b90005);
    background-image: -o-linear-gradient(top, #ea181e, #b90005);
    color: #fff;
    -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
}

.ribbon-left-amber {
    font: bold 12px Sans-Serif;
    color: #fff;
    text-align: center;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    position: relative;
    padding: 4px 0;
    left: -30px;
    top: 55px;
    width: 130px;
    background-color: #e08d10;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#e08d10), to(#bd7811));
    background-image: -webkit-linear-gradient(top, #e08d10, #bd7811);
    background-image: -moz-linear-gradient(top, #e08d10, #fcb54c);
    background-image: -ms-linear-gradient(top, #e08d10, #fcb54c);
    background-image: -o-linear-gradient(top, #e08d10, #fcb54c);
    color: #fff;
    -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
}

.ribbon-left-green {
    font: bold 12px Sans-Serif;
    color: #fff;
    text-align: center;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    position: relative;
    padding: 4px 0;
    left: -30px;
    top: 55px;
    width: 130px;
    background-color: #8dc735;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#8dc735), to(#649a12));
    background-image: -webkit-linear-gradient(top, #8dc735, #649a12);
    background-image: -moz-linear-gradient(top, #8dc735, #649a12);
    background-image: -ms-linear-gradient(top, #8dc735, #649a12);
    background-image: -o-linear-gradient(top, #8dc735, #649a12);
    color: #fff;
    -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
}

.ribbon-left-grey {
    font: bold 12px Sans-Serif;
    color: #fff;
    text-align: center;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    position: relative;
    padding: 4px 0;
    left: -30px;
    top: 55px;
    width: 130px;
    background-color: #aaa;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#aaa), to(#999));
    background-image: -webkit-linear-gradient(top, #aaa, #999);
    background-image: -moz-linear-gradient(top, #aaa, #999);
    background-image: -ms-linear-gradient(top, #aaa, #999);
    background-image: -o-linear-gradient(top, #aaa, #999);
    color: #fff;
    -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
}

.ribbon-red:before,
.ribbon-red:after{
  content: "";
  border-top: 3px solid #b90005;   
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  position:absolute;
  bottom: -3px;
}

.ribbon-green:after,
.ribbon-green:after{
  content: "";
  border-top: 3px solid #6e8900;   
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  position:absolute;
  bottom: -3px;
}

.ribbon-red:before{
  left: 0;
}
.ribbon-green:before{
  right: 0;
}

.ribbon-red:after{
  right: 0;
}
.ribbon-green:after{
  left: 0;
}

.button {
	background-color: #5e97cb;
	padding: 10px;
	border-radius: 5px;
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	float:right;
	margin:10px;
}

.buttonsmall {
	background-color: #5e97cb;
	padding: 5px;
	border-radius: 5px;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	float:right;
	margin:10px;
}

.accountbox {
	width: 100%;
	text-align: center;
	margin-bottom:40px;
	border-radius:5px;
	border: 2px solid #fff;
}

.accountbox img {
	margin-top: 10px;
}

.accountbox:hover {
	border: 2px solid #5e97cb;
}