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: inline;
	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-left: 40px;
	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;
	height: 85px;
}
.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 {
	color: #FFFFFF;
	display: inline-block;
	margin-top: 5px !important;
	margin-bottom: 3px;

	font-size: 1.75em;
	font-weight: bold;
}

.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;
	margin-left: 30px;
	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 10px 5px 10px;

}


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

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

.headerarea{
	/*background: #666c70;*/
	height: 85px;
	width:100%;
	background: #565656;
}

#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% - 575px);
}
 	
.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;
	/*display:none;*/
	overflow:hidden;
	border: solid 1px #ababab;
	border-radius: 6px 6px 6px 6px;
	margin:5px 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;add
}
.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: 3px;
	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;
}



#prioritylegend { }

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

#searchfield {
	display:inline;
}

#prioritylegend>div[priority="10"], #prioritylegend>div[priority="none"] {
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;	
}

/* ------ priority color css start -------- */
div[priority="10"], div[priority="none"], div[priority="無"] {
	background-color: #104E8B;
	color:#FFFFFF;
}
div[priority="20"], div[priority="low"], div[priority="低"] {
	background-color: #74BBFB;
	color:#343434;
}
div[priority="30"], div[priority="normal"], div[priority="一般"] {
	background-color: #cdcdcd;
	color:#000000;
}
div[priority="40"], div[priority="high"], div[priority="高"] {
	background-color: #CCEB05;
	color:#343434;
}
div[priority="50"], div[priority="urgent"], div[priority="緊急"] {
	background-color: #FF6600;
	color:#FFFFFF;
}
div[priority="60"], div[priority="immediate"], div[priority="馬上"] {
	background-color: #fe0000;
	color:#FFFFFF;
}
/* ----- priority color css ends --------- */

#prioritylegend>div[priority="60"], #prioritylegend>div[priority="immediate"] {
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
}

#prioritylegend>div{
	text-align: center;
	font-size: 14px;
}


.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;repeat
}
.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 */
}
