/* :::::::::::::::::: report :::::::::::::::::: */

#main {
	margin: 50px 0 0;
	padding: 0;
	overflow: hidden;
}

.leftmenu{
	display: inline-block;
	width: 200px;
}
.leftmenu ul{
	font-size: 0.875rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.leftmenu li a{
	border-bottom: solid 1px #ccc;
	padding: 5px 5px 5px 15px;
	display: block;
	background: #eee;
}
.leftmenu li a:hover{
	color: #fff;
	background: #6B705C;
}
.leftmenu li a.on{
	color: #fff;
	background: #A5A58D;
}
.leftmenu li a.on:hover{
	color: #fff;
	background: #6B705C;
}

.main {
	display: inline-block;
	width: calc(100% - 200px);
}

.reportArea .scroll{
	overflow-y: scroll;
}
.message{
	position: relative;
	white-space: nowrap;
}
.message a{
	border-bottom: dotted 1px #6B705C;
	padding: 5px 0;
	display: block;
}
.message a:hover{
	background: #f1f1f1;
}
.message.reply a{
	background: #f1f1f1;
}
.message.reply a:hover{
	background: #eee;
}

.message a > span{
	display: inline-block;
	vertical-align: middle;
}
.message .read{
	padding: 0 0 0 6px;
	width: 16px;
}
.message.reply .read{
	width: 36px;
}
.message.reply .read::before{
	content: '→';
	display: inline-block;
}

.message .read svg{
	display: none;
	fill: #FF5900;
}
.message .date{
	font-size: 0.75rem;
	font-weight: 300;
	width: 115px;
	padding: 0 0 0 5px;
}
.message .label{
	font-size: 0.75rem;
	text-align: center;
	color: #fff;
	background: #6B705C;
	padding: 1px 0 0;
	min-width: 22px;
	height: 22px;
	border-radius: 15px;
}
.message .title{
	font-size: 0.875rem;
	width: 200px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.message.reply .title{
	font-size: 0.875rem;
	width: 190px;
}

.message .project{
	font-size: 0.875rem;
	width: 150px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.message .users{
	width: 250px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.message .from {
	font-size: 0.875rem;
	width: 120px;
	padding-left: 5px;
}
.message.reply .from{
	width: 110px;
}

.message .from .avatar {
	display: inline-block;
	max-width: 30px;
	max-height: 30px;
}

.message .from .name {
	font-size: 0.875rem;
	font-weight: 500;
	margin: 0;
}

.message .users .dot {
	display: inline-block;
	margin: 0 3px;
}
.message .users .dot svg{
	fill:#ddd;
	width: 16px;
}
.message .to {
	margin: 0;
}
.message .to .user {
	margin: 0 0 0 5px;
}

.message .to .name {
	font-size: 0.875rem;
	font-weight: 500;
}

.message .attach svg {
	height: 30px;
	fill: #666;
	transform: rotate(30deg);
}

.message .num{
	width: 55px;
}

.message .desc{
	font-size: 0.75rem;
	color: #666;
	width: calc(100% - 500px);
	padding: 0 0 0 15px;
}

.message.th{
	background: #B7B7A4;
	padding-top: 0;
	position: sticky;
	top: 0;
	z-index: 1;
}
.message.th > span{
	font-size: 0.75rem;
	vertical-align: middle;
	display: inline-block;
	color: #fff;
	padding: 0 0 0 3px;
}
.message.th .label{
	background: inherit;
}
.message.th .users .from{
	display: inline-block;
	width: 100px;
}
.message.th .desc{
	padding-left: 18px;
}

/* :::::::::::::::::: postArea :::::::::::::::::: */

.postAreaMove {
	position: absolute;
	background: rgba(0,0,0,0.2);
	z-index: 921;
}
.postAreaMove.close {
	display: none;
}

.postArea {
	position: absolute;
	background: #fff;
	top: 20px;
	left: 240px;
	width: calc(100% - 400px);
	border: solid 2px #000;
	z-index: 920;
	box-shadow: 0 1px 10px rgba(0,0,0,0.4);
}

.postArea.close {
	display: none;
}

.postArea .close-button {
	position: absolute;
	top: -18px;
	right: -18px;
}
.postArea .close-button a{
	display: inline-block;
}

.postArea .movebar {
	height: 30px;
	background: #ccc;
	cursor: move;
}

.postArea form{
	padding: 15px;
}

.postArea form .label {
	vertical-align: top;
	display: inline-block;
	width: 110px;
}
.postArea form .body {
	position: relative;
	display: inline-block;
	width: calc(100% - 130px);
}
.postArea form .body .verr{
	margin-top: 0;
	z-index: 5;
}
.postArea form .date input{
	width: auto;
}

.postArea form .submit{
	text-align: center;
	position: absolute;
	top: 35px;
	right: 30px;
}
.postArea form .submit input {
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.75;
	color: #fff;
	background: #ff8025;
	text-align: center;
	vertical-align: top;
	padding: 5px 8px 8px;
	margin: 5px;
	display: inline-block;
	border: none;
	border-radius: 3px;
	position: relative;
	transition: all 0.25s ease-out;
	width: 150px;
	z-index: 1;
}
.postArea form .submit .loading{
	display: inline-block;
	margin-top: 8px;
}
.postArea form .submit .loading.hide{
	display: none;
}

.postArea.error{
	width: 500px;
	left: calc(50% - 250px);
}
.postArea .errorReportTo{
	padding: 15px 30px;
}
.postArea .errorReportTo .error{
	font-weight: 500;
	color: #e62c2a;
}
.postArea .errorReportTo strong{
	font-weight: 500;
}

.postArea .scroll{
	overflow-y: scroll;
}
.postArea .ass{
	margin: 15px 0 5px;
	padding: 5px 0 2px;
	border-top: dotted 1px #999;
	border-bottom: dotted 1px #999;
}
.postArea .ass .li{
	margin: 0 0 2px;
	display: inline-block;
	min-width: 200px;
}
.postArea .ass span{
	vertical-align: middle;
	display: inline-block;
}
.postArea .ass .cat{
	font-size: 0.875rem;
	width: auto;
	padding: 0 15px;
}
.postArea .ass .per input{
	text-align: center;
	width: 80px;
	margin: 0;
}
.postArea .ass .unit{
	margin: 0 0 0 5px;
}
.postArea .project{
	margin: 15px 0 5px;
	padding: 5px 0 2px;
	border-bottom: dotted 1px #999;
}
.postArea .project .label{
	font-size: 0.875rem;
	vertical-align: top;
	color: #6B705C;
	margin: 12px 0 0;
	cursor: pointer;
}
.postArea .project .label .mark{
	display: inline-block;
	vertical-align: middle;
	margin: 0 0 0 10px;
}
.postArea .project .label .mark svg{
	fill: #6B705C;
	width: 12px;
	height: 12px;
}
.postArea .project .label .mark svg{
	transform:rotate(90deg);
}
.postArea .project.hide .label .mark svg{
	transform:inherit;
}

.postArea .project.hide .body,
.postArea .project.hide .bodyplus{
	opacity: 0;
}

.postArea .project .body .li{
	margin: 0 0 2px;
	padding: 2px 0 5px;
	border-bottom: dotted 1px #999;
}

.postArea .project .li > span{
	vertical-align: middle;
	display: inline-block;
}
.postArea .project .cat{
	font-size: 0.875rem;
	width: calc(100% - 200px);
	padding: 0 15px;
}
.postArea .project .cat input{
	margin: 0;
	width: calc(100% - 305px);
	display: inline-block;
}
.postArea .project .cat select{
	/* width: 300px; */
	display: inline-block;
}
.postArea .project .cat .select2-container .select2-selection--single{
	width: 300px;
	padding: 3px 0;
}
.postArea .project .cat .select2-container--default .select2-selection--single .select2-selection__arrow{
	top: 5px;
}
.postArea .project .per input{
	text-align: center;
	width: 80px;
	margin: 0;
}

.postArea .project .unit{
	margin: 0 0 0 5px;
}

.postArea .project .bodyplus{
	margin: 0 0 0 110px;
}
.postArea .project .bodyplus .li{
	position: relative;
}

.postArea .project .bodyplus .cat{
	width: calc(100% - 215px);
}

.postArea .project .btn{
	line-height: 20px;
	width: 20px;
	text-align: center;
	margin: 0 0 0 30px;
	border: solid 1px #ccc;
	border-radius: 20px;
	cursor: pointer;
}
.postArea .project .btn:hover{
	background: #eee;
}

.postArea .project .errorballoon{
	left: 15px;
}



@media only screen and (max-width: 1200px) {
	.postArea{
		position: fixed;
		width: calc(100% - 10px);
		top: 52px;
		left: 5px;
	}
	.postArea .movebar{
		display: none;
	}
	.postArea .close-button{
		position: fixed;
		top: 60px;
		right: 30px;
		z-index: 2;
	}
	.postArea form{
		padding-top: 20px;
	}
	.postArea form .label{
		width: 100%;
	}
	.postArea form .date .label{
		width: 50px;
	}
	.postArea form .body{
		width: 100%;
	}
	.postArea form .date .body{
		width: calc(100% - 54px);
	}
	.postArea .project .bodyplus{
		margin: 0;
	}
	.postArea .project .cat{
		width: calc(100% - 125px);
		padding: 0 5px 0 15px;
		overflow: hidden;
	}
	.postArea .project .bodyplus .cat {
		width: calc(100% - 125px);
		padding: 5px 5px 0 15px;
	}
	.postArea .project .cat input{
		width: 100%;
	}
	.postArea .project .cat select{
		width: auto;
		max-width: 100%;
	}
	.postArea .project .cat .select2-container{
		width: 100% !important;
	}
	.postArea .project .cat .select2-container .select2-selection--single{
		width: auto;
	}	
	.postArea .project .btn{
		margin: 0 0 0 5px;
	}
	.postArea .ass .cat{
		min-width: 90px;
	}
	.postArea form .submit{
		position: relative;
		top: inherit;
		right: inherit;
	}
	.postArea form .submit input{
		
	}
}

/* 640px smartphone*/
@media only screen and (max-width: 640px) {
	.postArea.error{
		width: calc(100% - 10px);
		left: 5px;
	}
	.leftmenu{
		position: fixed;
		bottom: 0;
		width: 100%;
		z-index: 1;
	}
	.leftmenu ul{
		font-size: 0;
	}
	.leftmenu li{
		font-size: 0.875rem;
		text-align: center;
		width: calc(33.33% - 1px);
		display: inline-block;
		max-height: 32px;
		overflow: hidden;
	}
	.leftmenu li a{
		padding: 5px 0;
	}
	.leftmenu.menu4 li{
		width: calc(25% - 1px);
		margin-right: 1px;
	}
	.leftmenu li:last-child{
		width: 33.33%;
		margin-right: 1px;
	}
	.leftmenu.menu4 li:last-child{
		width: 25%;
	}
	.leftmenu.menu4 li:first-child a{
		font-size: 0;
	}
	.leftmenu.menu4 li:first-child a::before{
		font-size: 0.875rem;
		content:'日報';
	}

	.main{
		width: 100%;
	}
	.reportArea .scroll{
		overflow-x: scroll;
	}
}

/* 640px PC*/

@media only screen and (min-width: 40em) {}