/*変数定義*/
:root {

	--bar-base-color1: #FFF7EF;
	--bar-base-color2: #FFFAF5;
	--bar-base-color3: #e79213;

	--headmenu-text-color: white;
	--headmenu-back-color: #FFFAF5;

	--default-button-color: #e79213;
	--default-button-border: #FFFAF5;
	--background-color: #FEFFF3;
	--default-text-color: #331700;

	--boxbackground-color: #ffffff;
}

body{
	margin:0;
	background:#FEFFF3;
	background:var(--background-color);
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
	font-size: 14px;
	line-height: 1.6;
	letter-spacing: 0;
	padding:40px 0px 35px 0px;
}

body{
	margin:0px;
	color:#331700;
	color:var(--default-text-color);

}

body.mobile input{
	font-size:18px!important;
}

body.user .manager_only
,body.user .admin_only
,body.user .kintai_only{
	display:none!important;
}
body.user .manager_only_visible
,body.user .admin_only_visible{
	visibility:hidden;
}
body.manager .admin_only
,body.kintai .admin_only{
	display:none!important;
}
body.manager .kintai_only{
	display:none!important;
}

body.mobile .pc_only
,body.atpc .mobile_only{
	display:none!important;
}
body .win7ie_only{
	display:none;
}
body.win7ie .win7ie_only{
	display:block;
}

ul{
	margin:0px;
	padding:0px;
}
ul li{
	margin:0px;
	padding:0px;
}
ul li{
--	list-style:disc;
}
ul.floater{
	margin:0px;
	padding:0px;
	list-style:none;
}
ul.floater li{
	float:left;
	list-style:none;
	position:relative;
}
ul.floater li:first-child span{
	border-top-left-radius:10px;
	border-bottom-left-radius:10px;
}
ul.floater li:last-child span{
	border-top-right-radius:10px;
	border-bottom-right-radius:10px;
}

input[type='button']{
	background: #FFF7EF;
	background: var(--default-button-color);
	font-weight: 700;
	color: white;
	-webkit-appearance: none;
	border: 1px outset #FFFAF5;
	border: 1px outset var(--default-button-border);
	padding: 2px 10px 2px 10px;
	cursor:pointer!important;
}

input[type='button'].cancel{
	background: #F9F0DF;
	font-weight: 300;
	color: black;
	-webkit-appearance: none;
	border: 1px outset lightgray;
	padding: 2px 10px 2px 10px;
}

input[type='button'].blue{
	background: #FFFAF5;
	font-weight: 300;
	color: white;
	-webkit-appearance: none;
	border: 1px outset #0B69B8;
	padding: 2px 10px 2px 10px;
}

input[type='button'].green{
	background: #009e23;
	font-weight: 300;
	color: white;
	-webkit-appearance: none;
	border: 1px outset #078022;
	padding: 2px 10px 2px 10px;
}

input[type='button'].yellow{
	background: #d2a806;
	font-weight: 300;
--	color: black;
	-webkit-appearance: none;
	border: 1px outset #b2aa00;
	padding: 2px 10px 2px 10px;
}

input[type='button'].red{
	background: #FF0000;
	font-weight: 300;
	color: white;
	-webkit-appearance: none;
	border: 1px outset #b20000;
	padding: 2px 10px 2px 10px;
}

input[type='button'].lightblue{
	background: #B5D2E9;
	font-weight: 300;
	color: #0B69B8;
	-webkit-appearance: none;
	border: 1px outset #0B69B8;
	padding: 2px 10px 2px 10px;
}

input[type='button'].purple{
	background: #e0bff5;
	font-weight: 300;
	color: #73488e;
	-webkit-appearance: none;
	border: 1px outset #73488e;
	padding: 2px 10px 2px 10px;
}

input:disabled{
	opacity:.5!important;
	cursor:default!important;
}

input[type='button'].red{
	background: #D21E33;
	font-weight: 300;
	color: white;
	-webkit-appearance: none;
	border: 1px outset #B80B18;
	padding: 2px 10px 2px 10px;
}

input[type='button'].main{
	border-right:3px outset;
	border-bottom:3px outset;
	border-top:2px outset;
	border-left:2px outset;
}

input[type='text']
,input[type='mail']
,input[type='url']
,input[type='password']
,input[type='date']
,textarea{
	border-radius: 5px;
	height: 20px;
	padding-left: 3px;
}
input[type='text'].right
,input[type='mail'].right
,input[type='url'].right
,input[type='password'].right{
	padding-right: 3px;
}
input[type='text'].onFocus
,input[type='mail'].onFocus
,input[type='url'].onFocus
,input[type='password'].onFocus
,input[type='date'].onFocus
,textarea.onFocus{
	background:#FFE4B2;
	color:black;
}
input.input_error{
	background: #FF5700;
	color: white;
	font-weight: bold;
}
.mobile input[type='text']
,.mobile input[type='mail']
,.mobile input[type='url']
,.mobile input[type='password']
,.mobile input[type='date']
,.mobile textarea{
	border-radius: 5px;
	height: 20px;
	padding-left: 3px;
	font-size:16px;
}

p{
	text-indent:1em;
}
p.no-indent{
	text-indent:0px;
}
input, textarea {
 -webkit-user-select : auto;
}
a
,a:visited
,a:hover{
	color:#331700;
	color:var(--default-text-color);
	text-decoration:none;
}
a.underline{
	text-decoration:underline;
	color:blue;
}

.bwidth{
	width:980px;
}

.btn{
	cursor:pointer;
}
.red_text{
	color:red!important;
}
.crimson_text{
	color:crimson!important;
}
.blue_text{
	color:blue!important;
}
.white_text{
	color:white!important;
}
.gray_text{
	color:lightgray!important;
}
.red_back{
	background:red!important;
	color:white!important;
}
.green_back{
	background:green!important;
	color:white!important;
}
.pink_back{
	background:#f4c2c2!important;
	color:black!important;
}
.gray_back{
	background:lightgray!important;
	color:black!important;
}
.white_back{
	background:white!important;
	color:black!important;
}
.tright{
	text-align:right;
}
table{
	border-collapse: collapse;
}
table.list th{
	background:#e79213;
	background:var(--bar-base-color3);
	color:white;
}
table.list .inner th{
	background:white;
	color:black;
}
table.list .inner tr{
	height:30px!important;
}
table.list .inner th,
table.list .inner td{
	border:none;
	padding-top:0px;
	padding-bottom:0px;
}
table.list tr{
	background:white;
}
table.list tr.odd{
	background:#F4F4FF;
}
table.list td
,table.list th{
	border:1px solid lightgray;
}
table.list th:first-child{
	border-top-left-radius:5px;
}
table.list th:last-child{
	border-top-right-radius:5px;
}
table.list td{
	padding-left:3px;
}
table.list td[align='right']{
	padding-right:3px;
}
table.list td[align='center']{
	padding-left:3px;
	padding-right:3px;
}
table.list .mainrow.isOn
,table.list .mainrow.selected{
	background:linear-gradient(#DFF5DC,#fff,#fff);
	background:#DFF5DC;
}
table.list .mainrow.odd.isOn
,table.list .mainrow.odd.selected{
	background:linear-gradient(#B5D3D8,#B5D3D8,#fff);
	background:#B5D3D8;
}
table.list .subrow{
	background:lightgray!important;
}
table.list .subrow td.child-root{
	padding:0px 10px;
	box-shadow:1px 2px 5px #6e6e6e inset;
}
table.list td input[type='text']
,table.list td input[type='date']{
	width:95%;
}
table.list td.clearcell{
	background:#EAEFEA;
	background:var(--background-color);
	border:1px solid #eaecea;
}
div.tableHeader{
	width:980px;
	margin-left:auto;
	margin-right:auto;
}
div.tableHeader tr{
	height:35px;
}
div.titleBar{
	background: #e79213;
    background: var(--bar-base-color3);
    color: white;
}
textarea.flexible_text{
	resit:none;
	overflow:hidden;
}
/*
loader
*/
#modal_block{
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 9999;
	opacity: .5;
	background: white;
	display:none;
}
#preloader{
	width:100%;
	position:fixed;
	z-index:10000;
	text-align:center;
	top:300px;
	display:none;
}
#preloader_inner{
	width: 60px;
	border-radius: 0.5em;
	padding: 10px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
#preloader img{
	width:85%;
}


/*
main
*/

#header{
	position:fixed;
	width:100%;
	height:25px;
	background:linear-gradient(#FFF7EF,#FFFAF5,#FFFAF5,#FFF7EF,#FFF7EF);
	background:linear-gradient(var(--bar-base-color1),var(--bar-base-color2),var(--bar-base-color2),var(--bar-base-color1),var(--bar-base-color1));
	top:0px;
	left:0px;
	border-bottom:2px solid #e79213;
	border-bottom:2px solid var(--bar-base-color3);
	z-index:9999;
}
#header_right{
	position: absolute;
	right: 5px;
}
.mobile #header_right{
	position: absolute;
	right: 10px;
}
#header #header_logo img{
	margin-top:3px;
	margin-left:3px;
}
#header #header_title{
	font-size:18px;
	font-weight:bold;
	color:white;
	color:var(--headmenu-text-color);
	padding-top:8px;
}
#header .floater li{
	height:40px;
	margin-left:10px;
}
#header .floater li:first-child{
	margin-left:0px;
}
#header .floater li input[type='text']
,#header .floater li input[type='url']
,#header .floater li input[type='mail']
,#header .floater li input[type='password']{
	height:22px;
	margin-top:5px;
}
#header .floater li input[type='button']{
	margin-top:5px;
	height:28px;
}
#header .floater li.blank{
	width:60%;
}

#header.home li{
	margin-left:5px;
}
#header #header_left span{
	display:block;
	height:40px;
	padding-top:5px;
	font-weight:900;
}
#header #header_right span{
	color:white;
	color:var(--headmenu-text-color);
	font-size:13px;
}

#header #header_mid{
    display: none;
    position: fixed;
    top: 41px;
}
#header.home span a
,#header.home span a:visited{
	text-decoration:none;
	color:white;
	color:var(--headmenu-text-color);
	padding-left:5px;
	padding-right:5px;
	display:block;
}
#header.home span a:hover
,#header.home span a.selected{
	background:white;
	background:var(--headmenu-text-color);
	color:#e79213;
	color:var(--bar-base-color3);
}

#header #header_mid span{
}
#header #header_mid span a{
	display:block;
	padding:10px 55px 10px 5px;
	font-weight:900;
	border:1px solid darkgray;
	background:white;
	background:var(--headmenu-text-color);
	color:#e79213;
	color:var(--bar-base-color3);
}
#header #header_mid span a.selected{
	background:#e79213;
	background:var(--bar-base-color3);
	color:white;
	color:var(--headmenu-text-color);
}
#header #header_logo_m img{
	margin-top:3px;
	margin-left:3px;
	padding: 3px;
    border:2px solid white;
    border-radius: 5px;
}
#header .nav_button{
	color:white;
	font-size:28px;
	font-weight:900;
}
#header img.button{
	height:30px;
	margin-top:5px;
	cursor:pointer;
}
#section{
	width:100%;
}

#footer{
	position:fixed;
	width:100%;
	height:35px;
	background:linear-gradient(#FFF7EF,#FFFAF5,#FFFAF5,#FFF7EF,#FFF7EF);
	background:linear-gradient(var(--bar-base-color1),var(--bar-base-color2),var(--bar-base-color2),var(--bar-base-color1),var(--bar-base-color1));
	bottom:0px;
	left:0px;
	border-top:2px solid #e79213;
	border-top:2px solid var(--bar-base-color3);
	z-index:9999;
	text-shadow:1px 1px 1px #222;
	display:none;
}

#footer #copy_right{
	color:white;
	color:var(--headmenu-text-color);
	width:100%;
	text-align:center;
	font-size:10px;
}
#foot_user{
	position:fixed;
	width:100%;
	height:100%;
	top:0px;
	left:0px;
	background:rgba(255,255,255,0.6);
	display:none;
	z-index:999;
}
#foot_user_inner{
    width: 410px;
    height: 380px;
	margin-top:70px;
	margin-left:auto;
	margin-right:auto;
	padding:20px;
	background:white;
	border:1px solid lightgray;
	border-radius:10px;
	box-shadow: 2px 2px 5px #888;
}
#foot_user_list_outer{
	width:100%;
}
#foot_user_list_outer table{
	width:100%;
}
#foot_user_list_outer table tr{
	height:30px;
}
#foot_user_list_outer table td input[type='password'],
#foot_user_list_outer table td input[type='text']{
	width:98%;
}
#foot_user .passfld{
	display:none;
}
.mobile #footer{
	display:none;
}

body.atpc #chat_root{
	width:60%;
	min-width:600px;
	margin-left:auto;
	margin-right:auto;
}
body.mobile #chat_root{
	margin-left:auto;
	margin-right:auto;
}

/*
demo2
*/

body.atpc #calendar_root{
	width:400px;
}
#calendar_weekly{
	width:100%;
}
.time_bar{
	border-bottom:2px solid black;
}
.time_bar.worktype_0{
	background:rgba(0,127,255,0.7);
}
.time_bar.worktype_1{
	background:rgba(255,0,127,0.7);
}
.time_bar.worktype_2{
	background:rgba(0,255,127,0.7);
}
#master_work tr.jobselected td{
	background:lightgreen;
}
#schedule_calendar td{
	color:gray;
}
#schedule_calendar td.saturday{
	color:blue;
}
#schedule_calendar td.sunday{
	color:red;
}
#schedule_calendar td.othermonth{
	color:lightgray;
}
#schedule_calendar td.saturday.othermonth{
	color:lightblue;
}
#schedule_calendar td.sunday.othermonth{
	color:pink;
}
#schedule_calendar td.isOn{
	font-weight:bold;
}
#schedule_calendar tr.targetrow td{
	background:lightgreen;
}