html, body{
	margin: 0;
	padding: 0;
	border: 0;
	background-repeat: no-repeat;
	background-color: #D3D3D3;
	overflow:hidden;
	height: 100%;
	width: 100%;

}

body {

}

.subproject {
	margin-left: 20px;
}

.lightboximage {
	max-width: calc(100% - 100px);
	height: auto;
}

/* boostrap addons */
.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu:hover>.dropdown-menu{display:block;}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:hover>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}

#add-story-form  {
}

#project-users-gravatars-container {
	display: block;
	background: #eeeeee; /* Old browsers */
	background: -moz-linear-gradient(top, #eeeeee 0%, #cccccc 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#cccccc)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #eeeeee 0%,#cccccc 100%); /* IE10+ */
	background: linear-gradient(to bottom, #eeeeee 0%,#cccccc 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 ); /* IE6-9 */
	margin-top: 6px;
	padding-right: 10px;
	padding-left: 30px;
	vertical-align: middle;
	visibility: visible;
	font-weight: bold;
	border-top-right-radius: 3px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 25px;
}

#project-users-gravatars-container:empty {
	visibility: hidden;
}

#project-users-gravatars-container .gravatarcontainer {
	width: 30px;
	height: 30px;
	display: inline-block;
	margin-left: 5px;
	border-radius: 3px;
}

.gravatarcurrentuser {
	background-repeat:no-repeat;
	/*background-attachment:fixed;*/
	background-position:-1px -1px;
	margin-left: 10px;
	display:inline-block;
	width: 35px;
	height: 35px;
}

.gravatarcontainer {

	background-repeat:no-repeat;
	background-position:0px 0px;
}

.noteheader {
	padding-left: 55px;

}

#edit-story-form {
}

.tab-content {
	padding-top: 10px;
}

#edit-story-title {
	text-overflow:ellipsis;
	-o-text-overflow: ellipsis;
	-ms-text-overflow: ellipsis;
}

#add-description {
	width: 100%;
	height: 200px;
}
.attachmentname {
	padding-left: 20px;
}

.newfileattach {
	padding: 5px;
	margin-bottom: 5px;
	border: 1px solid #454545;
	border-radius: 3px;
	background-color: #eeeeee;
}

.attachmentdeletebutton {
	padding-right: 20px;
}

#edit-story-new-attach-save-button{
	margin-bottom: 5px !important;
}


#edit-story-new-note-save-button{
	width:100% !important;
	margin-bottom: 5px !important;
}

#edit-story-tasks-container {
	height: calc(100% - 70px) !important;
	background-color: #dedede;
	padding: 2px !important;
	overflow: auto;
}

#edit-story-new-task-save-button{
	width:100% !important;
	margin-bottom: 5px !important;
}

hr.noteHorizonalRule {
	margin: 1px;
	color: #000;
}

div.fill:nth-child(1) {
	height: 100% !important;
}

div.notecontainer {
	padding:15px !important;
	margin-top: 10px !important;
}

#edit-story-new-note-save-button {
	display:inline-block;
}

#edit-description, #edit-reproduce {
	width: 100%;
	height: 200px;
}

#edit-newnotetext {
	display: inline-block;
}

.realcontentcontainer {

	z-index:50;
	position: absolute;
	top: 0px;
	width: 100%;
	height: 100%;
	opacity: 0;
    visibility:hidden;
    -webkit-transition: opacity .3s ease-in;
       -moz-transition: opacity .3s ease-in;
        -ms-transition: opacity .3s ease-in;
         -o-transition: opacity .3s ease-in;
            transition: opacity .3s ease-in;
}

.realcontentcontainer.load {
    opacity: 1;
}

#loadingimage {
	visibility: hidden;
}

.loadingdiv{

	position:absolute;
	top:10px;
	right:0px;
	margin-right: 80px;
	margin-bottom: 10px;

}
.filterlistcontainer {
	display: inline;
	height: 85px;
}
.otherbuttoncontainer {
	vertical-align: middle;
	display: inline;
	top : 5px;
    position: absolute;
}
.projectlist{
	display: inline;
	margin-top: 10px;
}
.projectarea{
	vertical-align: top;
	padding-top: 0px;
	padding-left: 10px;
	display:none;
	/*color: #FFFFFF;*/
	font-size: 14px;
	text-wrap: none;
	min-width: 600px;
}

#selected-project-name {
}

.mantislogo{



}

.editing-content {
	height: calc(100% - 135px) !important;
}

.tab-content {
	height: calc(100% - 45px) !important;
}

#tabs-3 {
	height: calc(100% - 20px) !important;
}

#tabs-4 {
	height: calc(100% - 50px) !important;
}


.editing-header {
	background-color: #454545;
	color:#FFFFFF;
	border-radius: 5px;
	padding: 10px 6px 10px 6px;
	text-align: center;
	background-size: auto 100%;
}

.editing-buttons {
	width: 100%;
	display: table;
	padding: 5px 0px 5px;
}

.editing-footer {
	background-color:#CDCDCD;

}

.mantislogo.loggedin {
	width: 210px;
	display:inline;
	vertical-align: top;
	padding-top:2px;
}

.loginarea{
	display: inline-block;
	vertical-align: bottom;
	margin-bottom: 10px;
	padding-top: 10px;
	padding-left: 10px;
	color: #FFFFFF;
	font-size: 20px;
	/*background-color: #EFEFEF;*/
}
.loginarea input{
	height: 30px;
	font-size: 15px;
	width: 120px;
	border-radius: 5px 5px 5px 5px;
}


.newnotesavebutton, .kanbannewstory{
	cursor: pointer;
	display: inline-block;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #ffffff;
	padding: 10px 20px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	background: -moz-linear-gradient(
	top,
	#ff2819 0%,
	#ab0000);
	background: -webkit-gradient(
	linear, left top, left bottom,
	from(#ff2819),
	to(#ab0000));
	border: 1px solid #7d0000;
	text-shadow:
	0px -1px 0px rgba(000,000,000,0.4),
	0px 1px 0px rgba(255,255,255,0.3);
}

.kanbannewstory:hover{
	background: #f85032; /* Old browsers */
	background: -moz-linear-gradient(top,  #f85032 0%, #f16f5c 50%, #f6290c 51%, #f02f17 71%, #e73827 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f85032), color-stop(50%,#f16f5c), color-stop(51%,#f6290c), color-stop(71%,#f02f17), color-stop(100%,#e73827)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #f85032 0%,#f16f5c 50%,#f6290c 51%,#f02f17 71%,#e73827 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #f85032 0%,#f16f5c 50%,#f6290c 51%,#f02f17 71%,#e73827 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #f85032 0%,#f16f5c 50%,#f6290c 51%,#f02f17 71%,#e73827 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #f85032 0%,#f16f5c 50%,#f6290c 51%,#f02f17 71%,#e73827 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f85032', endColorstr='#e73827',GradientType=0 ); /* IE6-9 */
}


#priorities-displayer {
	display: none;
	position:absolute;
	bottom: 0px;
	left: 20px;
	z-index: 9999;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	padding: 4px 8px 4px 8px;
background: none repeat scroll 0% 0% rgba(57, 130, 203, 1);
	color: #FFFFFF;
	cursor: pointer;
}

#prioritylegend{
	display: table;
	width: 100%;
	padding-left: 10%;
	padding-right: 10%;
	vertical-align:middle;
}

#prioritylegend > div {
	display: table-cell;
	padding: 5px 5px 5px 0;

}

.contentarea{
	text-align: left;
	position: relative;
	top: 0px;
	display:none;
	width: 100%;
	height: calc(100% - 85px);
	border-bottom: 1px solid #000000;
	background-color: #eee;
	white-space: nowrap;
	transition: height .5s;
}

.contentarea[showingpriority="true"] {
	height: calc(100% - 145px);
}

.headerarea{
	/*background: #666c70;*/
	width:100%;
	background: #fff;
}

#kanbancontent{
	top:0px;
	height: 100%;
	width: 100%;
	padding-top: 5px;
	overflow: auto;
	display: inline-block;
	/*background-color: #cacacf;*/
	padding: 10px 10px 10px 10px;
	white-space: nowrap;
	transition: width .5s;
}

#kanbancontent[editing="true"] {
	width: calc(100% - 599px);
}

.kanbanlist{

	/*border: 1px solid #808080;*/
	position: relative;
	vertical-align: top;
	display: inline-block;
	background-color: transparent;
	width: 250px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	transition: width .25s;
	border-radius: 4px 4px 4px 4px;
	height: calc(100% - 30px);
	overflow: hidden;
	}

.kanbanliststorycontainer {
	position: relative;
	min-height: 15px;
	overflow-y: auto;
	overflow-x: hidden;
	display: block;
	background-color: #EFEFEF;
	max-height: calc(100% - 60px);
	border-left: 1px solid #999;
	border-right: 1px solid #999;
	padding-top: 5px;
	padding-left: 5px;
}

.kanbanlisthidebtn {
	padding-left: 20px;
}

.kanbanlistdroparea{
	border-left: 1px solid #ABABAB;
	border-right: 1px solid #ABABAB;
	border-bottom: 1px solid #ABABAB;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
	background-color: #EFEFEF;
	height: 30px;
	font-weight: bold;
	color: #aaa;
	padding-top: 4px;
	text-align: center;
}
.loadingdivcontainer {
	background-color: #EEE;
	border-left: 1px solid #ABABAB;
	border-right: 1px solid #ABABAB;
}

.tempLoadingDiv {

	margin-top: 10px;
}

.kanbanlisttitle{
	font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;
	font-size: 14px;
	text-align: left;
	font-weight: bold;
	color: #000000;
	padding-left: 10px;
	padding-top: 5px;
	background: #efefef; /* Old browsers */
	border-radius: 4px 4px 0px 0px;
	border-left: 1px solid #999;
	border-right: 1px solid #999;
	border-top: 1px solid #999;

	/*z-index: 999;*/
}

.kanbanlistspacer {
	display: inline-block;
	width: 10px;
}

.kanbanstorycontainer {
	opacity: 0;
	overflow:hidden;
	position: relative;
	/*display:none;*/
	/*border: solid 1px #ababab;*/
	/*border-radius: 6px 6px 6px 6px;*/
	/*margin:8px 8px 0px 8px;*/
	/*-webkit-transform: scale3d(1,1,1);*/
}

.kanbanstorycontainer:last-child {
	margin-bottom: 4px;
}

.kanbanstoryheaderarea {
	position: relative;
}

.nofadein {
  opacity: 1;
 }

.fadein {
	-webkit-animation: fade 1.2s;
    animation: fade 1.2s;
    opacity: 1;
 }

/* -fail- */
@-webkit-keyframes fade {
    from {opacity: 0}
    to {opacity: 1}
}@keyframes fade {
    from {opacity: 0}
    to {opacity: 1}
}

.kanbandropper{
	height: 0px;
	text-align: center;
	background-color: rgb(217, 83, 79);
	transition: height .3s ease;
}
.kanbandropper.over{
	height: 40px;
}

.kanbanstory{
	/*background: rgb(238,238,238);*/
	background-color: #FFFFFF;
	display: table;
    table-layout: fixed;
    width: 100%;
	/* border-radius: 2px 2px 2px 2px; */
	position:relative;
	cursor: move;

}


#attachmentdisplay {
	display:none;
	position:absolute;
	z-index:9999;
	background: rgba(0,0,0,0.85);
	height: 100%;
	width: 100%;
}

.newattachmentcontainer {
	margin-top: 5px;

}

.taskcontainer {
    padding: 15px 0px 0px 25px;
}
.tasktext {
	display: inline-block;
	padding-left: 10px;
	font-size: 12pt;
	width: calc(100% - 40px);
}
.tasktext[editing="true"] {
	background-color:#FFF;
}
.attachmentcontainer {
	display: table;
	width: 100%;
	padding-top: 10px;
	text-align: left;
	border-bottom: solid 1px #ffffff;
}

.attachmentsarea {
	text-align: center;
	width: 100%;
	/*max-height: calc(100% - 400px);*/
	overflow: auto;
	border: solid 1px #cccccc;
	padding: 15px 15px 15px 15px;
	margin-top: 10px;
	margin-bottom: 10px;
	border-radius: 5px 5px 5px 5px;
	height: calc(100% - 50px);
	background-color: #dedede;

}

.kanbanimageattachment {
	display: block;
	max-width: 400px;
	max-height: 400px;
	border: 2px solid orange;
	cursor: hand;
}

.kanbanstory:hover > .kanbanstorytitle {
}

.kanbanstory.mystory{
	background: rbg(206,206,206);
	background-color: #CECECE;
}

.kanbanstory.mystory > .kanbanstorytitle {
	font-style: italic;
}

.kanbanstory.glow {
	background: #ffff88; /* Old browsers */
}



.kanbanstoryissuenumber{
	display: block;
	font-size: 12px;
	font-weight: bolder;
	height: 45px;
	padding-top: 2px;
	padding-left: 4px;
    position      : absolute;
    top           : 0px;
    width: 60px;
    text-align: left;
    color:#ffffff;
	background: linear-gradient(135deg, #454545 0%, #454545 50%,rgba(255,255,255,0) 51%,rgba(255,255,255,0) 100%); /* W3C */
}


.kabanhandlercontainer {


}

.handlercontainer {
	vertical-align: middle;
	color:#FFFFFF;
	font-weight: bold;
	font-size: 12pt;
	text-align:center;
    position      : absolute;
    display: block;
    top           : 0px;
    width: 60px;
    height: 45px;
	vertical-align: middle;
	color:#FFFFFF;
	padding-left: 30px;
	padding-top: 20px;
	border-right: 1px solid #ababab;

}

.kanbanstoryprioritycontainer {
	position:absolute;
	bottom:0px;
	left: 10px;
	height: 2px;
	width: 90%;

}
.kanbanstorytitle>span,.kanbanstorytitle>br,.kanbanstorytitlesecondrow>.glyphicon {
	font-size:8pt;
	margin-left: 3px;
	padding-left: 3px;
}


.kanbanstorytitlesecondrow>.label {
	margin-left: 8px;
	text-overflow:ellipsis;
	-o-text-overflow: ellipsis;
	-ms-text-overflow: ellipsis;
}

.kanbanstorytitle{
	height: 45px;
	display: inline-block;
	position: relative;
	left: 60px;
	width: calc(100% - 65px);

	overflow: hidden;
	white-space: nowrap;
	cursor: pointer !important;
	padding-left: 7px;
	font-size: 13px;
	vertical-align: middle;
	text-align: left;
	text-overflow:ellipsis;
	-o-text-overflow: ellipsis;
	-ms-text-overflow: ellipsis;
}
.storyinfobutton{
	display: table-cell;
	width: 27px;
	cursor: pointer;
	vertical-align: middle;
	position: relative;
}

.storyinfobutton img {
	width: 20px;
	height: 20px;
	vertical-align: middle;
	float: right;
	padding-right: 5px;
}
.user-context-menu {
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 500;
	cursor: pointer;
	vertical-align: middle;
	border: solid 15px transparent;
	background-color: #555555;
	border-radius: 5 5 5 5;

	-webkit-box-shadow: 0px 0px 16px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    0px 0px 16px rgba(50, 50, 50, 0.75);
	box-shadow:         0px 0px 16px rgba(50, 50, 50, 0.75);
}

.project-selector {
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 500;
	cursor: pointer;
	vertical-align: middle;
	border: solid 15px transparent;
	-webkit-box-shadow: 0px 0px 16px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    0px 0px 16px rgba(50, 50, 50, 0.75);
	box-shadow:         0px 0px 16px rgba(50, 50, 50, 0.75);
}
#user-context-title {
	font-weight: bolder;
	border-bottom: solid 2px #000000;
	color: #FFFFFF;
}

[draggable]{
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}


.ui-combobox {
    position: relative;
    display: inline-block; 
}
.ui-combobox-toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: -1px;
    padding: 0;
    /* adjust styles for IE 6/7 */
    *height: 1.7em;
    *top: 0.1em;
}
.ui-combobox-input {
    margin: 0;
    padding: 0.3em;
}

/* http://codepen.io/desandro/pen/igHbG */
/* change font size to change size */
.loader {
    font-size: 20px;
    position: relative;
    width: 60px;
    height: 20px;
    margin: 0px auto;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: #333;
    position: absolute;
    animation-duration: 0.5s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
    -webkit-animation-duration: 0.5s;
    -webkit-animation-timing-function: ease;
    -webkit-animation-iteration-count: infinite;
}

.dot1, .dot2 {
    left: 0;
}

.dot3 { left: 20px; }

.dot4 { left: 40px; }

@-webkit-keyframes reveal {
    from { -webkit-transform: scale(0.001); }
    to { -webkit-transform: scale(1); }
}
@keyframes reveal {
    from { transform: scale(0.001); }
    to { transform: scale(1); }
}

@-webkit-keyframes slide {
    to { -webkit-transform: translateX(20px) }
}

@keyframes slide {
    to { transform: translateX(20px) }
}


.dot1 {
    -webkit-animation-name: reveal;
    animation-name: reveal;
}

.dot2, .dot3 {
    -webkit-animation-name: slide;
    animation-name: slide;
}

.dot4 {
    -webkit-animation-name: reveal;
    -webkit-animation-direction: reverse;
    animation-name: reveal;
    animation-direction: reverse; /* thx @HugoGiraudel */
}


/* Ajouts e-doceo */

.rightButtons {
    position: absolute;
    right: 50px;
    top: 5px;
    z-index: 150;
}

.rightButtons2 {
    position: absolute;
    right: 50px;
    top: 45px;
    z-index: 100;
}

.btn_large {
    width: 100%;
}

.btn_mid_large {
    width: 50%;
}

.btn_delete {
    width: 100%;
    margin-top: 15px;
}


.subprojectNiv1 {
    margin-left: 20px;
}
.subprojectNiv2 {
    margin-left: 40px;
}
.subprojectNiv3 {
    margin-left: 60px;
}
.subprojectNiv4 {
    margin-left: 80px;
}
.subprojectNiv5 {
    margin-left: 100px;
}
.subprojectNiv6 {
    margin-left: 120px;
}
.subprojectNiv7 {
    margin-left: 140px;
}
.subprojectNiv8 {
    margin-left: 160px;
}

#projectarea {
    display: block;
}

#projectareabuttons {
    display: inline-block;
}

.otherbuttoncontainer {
    position: relative;
}

#project-users-gravatars-container {
    display: inline-block;
    padding-right: 15px;
}

#gravatarlabel {
    display: inline-block;
    width: 55px;
    vertical-align: top;
    margin-top: 4px;
}

#gravatarusers {
    display: inline-block;
    max-width: calc(100% - 55px);
}

.scrollable-menu {
    height: auto;
    max-height: 340px;
    overflow-x: hidden;
}

#prioritylegend {
	background-color: #efefef;
}

#prioritylegend>div[priority] {
	border-top: 1px solid #444444;
	border-left: 1px solid #444444;
	border-bottom: 1px solid #444444;
	width: 16%;
}

#searchfield {
	display:inline;
}

/* Severiti Legend */
div[severity="10"] {
	background-color: #104E8B;
	color:#FFFFFF;
}
div[severity="20"] {
	background-color: #cdcdcd;
	color:#343434;
}
div[severity="30"] {
	background-color: #74BBFB;
	color:#000000;
}
div[severity="40"] {
	background-color: #4ab46c;
	color:#343434;
}
div[severity="50"] {
	background-color: #CCEB05;
	color:#343434;
}
div[severity="60"] {
	background-color: #ffaf00;
	color:#000000;
}
div[severity="70"] {
	background-color: #ec1c1c;
	color:#000000;
}
div[severity="80"] {
	background-color: #ba56f3;
	color:#000000;
}

/* Legend Example Story */
.legend-label {
	font-size: 20px;
}

.legend-ex-story {
	margin-top: -3px;
    min-width: 50px;
    /*overflow: hidden;*/
    position: relative;
}

.legend-ex-box {
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
    border-radius: 6px;
    border: 1px solid #999;
    margin-right: 3px;
    margin-top: 3px;
	padding: 9px 5px 0 3px;
    height: 40px;
}

/* Priority Ribbon */
.kanbanbox {
   -webkit-border-radius: 6px;
   -moz-border-radius: 6px;
   border-radius: 6px;
   border: 1px solid #ababab;
   border-left: 1px solid #999;
   border-right: 1px solid #999;
   background-color: #efefef;
   margin: 8px 8px 0 8px;
   display: block;
   max-height: calc(100% - 60px);
   min-height: 15px;
   overflow-x: hidden;
   overflow-y: auto;
}
.ribbon {
   position: absolute;
   right: 4px; top: 3px;
   z-index: 1;
   overflow: hidden;
   width: 40px; height: 40px;
   text-align: right;
}
.ribbon span {
   color: #fff;
   font-size: 11px;
   font-weight: bold; line-height: 11px;
   text-shadow: 2px 1px #333;
   text-transform: uppercase;
   text-align: center;
   transform: rotate(45deg);
   -webkit-transform: rotate(45deg); /* Needed for Safari */
   width: 45px; display: block;
   background: #999;
   background: linear-gradient(#999 0%, #666 100%);
   box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
   position: absolute;
   top: 8px; right: -10px;
}
.ribbon span::before {
   content: '';
   position: absolute;
   left: 0px; top: 100%;
   z-index: -1;
   border-left: 3px solid #999;
   border-right: 3px solid transparent;
   border-bottom: 3px solid transparent;
   border-top: 3px solid #999;
}
.ribbon span::after {
   content: '';
   position: absolute;
   right: 0%; top: 100%;
   z-index: -1;
   border-right: 3px solid #999;
   border-left: 3px solid transparent;
   border-bottom: 3px solid transparent;
   border-top: 3px solid #999;
}

.priority-none span {background: linear-gradient(#999 0%, #666 100%);}
.priority-none span::before {border-left-color: #999; border-top-color: #999;}
.priority-none span::after {border-right-color: #999; border-top-color: #999;}

.priority-10 span {background: linear-gradient(#2c8cc9 0%, #333 100%);}
.priority-10 span::before {border-left-color: #2c8cc9; border-top-color: #2c8cc9;}
.priority-10 span::after {border-right-color: #2c8cc9; border-top-color: #2c8cc9;}

.priority-20 span {background: linear-gradient(#9BC90D 0%, #79A70A 100%);}
.priority-20 span::before {border-left-color: #9BC90D; border-top-color: #9BC90D;}
.priority-20 span::after {border-right-color: #9BC90D; border-top-color: #9BC90D;}

.priority-30 span {background: linear-gradient(#d8c629 0%, #d8c629 100%);}
.priority-30 span::before {border-left-color: #d8c629; border-top-color: #d8c629;}
.priority-30 span::after {border-right-color: #d8c629; border-top-color: #d8c629;}

.priority-40 span {background: linear-gradient(#ffb10c 0%, #f67c00 100%);}
.priority-40 span::before {border-left-color: #ffb10c; border-top-color: #ffb10c;}
.priority-40 span::after {border-right-color: #ffb10c; border-top-color: #ffb10c;}

.priority-50 span {background: linear-gradient(#ffa500 0%, #F70505 100%);}
.priority-50 span::before {border-left-color: #ffa500; border-top-color: #ffa500;}
.priority-50 span::after {border-right-color: #ffa500; border-top-color: #ffa500;}

.priority-60 span {background: linear-gradient(#F70505 0%, #8F0808 100%);}
.priority-60 span::before {border-left-color: #F70505; border-top-color: #F70505;}
.priority-60 span::after {border-right-color: #F70505; border-top-color: #F70505;}

.cp {cursor:pointer;}
.borders {
	box-shadow: 0 0 10px #FF0000;
}