input[type="submit"] {
	background: -moz-linear-gradient(center top , #FFFFFF 0%, #FFFFFF 36%, #D9D9D9 71%, #EBEBEB 97%, #FFFFFF) repeat scroll 0 0 transparent;
    border: 1px solid #CCCCCC;
    border-radius: 4px 4px 4px 4px;
    box-shadow: 0 1px 3px rgba(189, 189, 189, 0.5), 0 0 10px rgba(255, 255, 255, 0.7) inset;
    color: #0D0B0D;
    font-weight: bold;
    padding: 3px 10px;
}

div.open {
	background: none repeat scroll 0 0 #666666;
	border-radius: 0 10px 10px 0;
	color: #FFFFFF;
	cursor: pointer;
	display: block;
	float: left;
	height: 20px;
	margin: 30px 0 100% 260px;
	padding: 10px;
	position: fixed;
	width: 80px;
}

/*---------------------------------------
ログインフォーム
-----------------------------------------*/
#page_wrapper {
	width:100%;
}
#bg_wrapper {
	min-width:800px;
}
#bg_login {
	background-repeat:no-repeat;
	background-size: contain;
	background-position: center center;
	height: 600px;
}
#form_wrapper {
	margin: 0 auto;
	width: 700px;
}
#form_wrapper .form_box {
	width:40%;
	margin:0 auto;
	padding:1%;
	position: relative;
	top: 350px;
	background-color:white;
}
#form_wrapper .form_box fieldset {
	margin: 0;
}
#form_wrapper .form_box dl {
	margin:0 0 2%;
}
#form_wrapper .form_box legend {
	display: table-row;
	color:white;
	background-color:black;
	padding: 2px 0;
}

#detail-table	{
	margin-bottom: 20px;
}
#detail-table caption {
	text-align:left;
}
#detail-table	td a	{
	color: #393939;
}
#detail-table	td a:hover	{
	text-decoration: underline;
}
#detail-table	th	{
	width: 120px;
	text-align: left;
}
#detail-table .minwidth-1	{
	min-width: 110px;
}
#detail-table td {
	/* border: 1px solid #d2d2d2; */
	width: 280px;
	overflow-x: auto;
}
#detail-table tr.alternate-row	{
	background: #ececec;
}
#detail-table input {
	margin:2px;
	vertical-align:top;
}
#detail-table td input.text {
	width: 90%;
	vertical-align: bottom;
}
#detail-table label:hover {
	background-color: MistyRose;
}
#detail-table label.disabled {
	color:#888;
}
td.editable {
	cursor:cell;
}
td.editable input, td.editable select {
	cursor:pointer;
}
td.editable:hover {
	background-color: InfoBackground!important;
}

#content table.input_form_table th {
	min-width:120px;
}

/* validation */
#detail-table :valid, :in-range {
	/*background-color: LightYellow;*/
}
#detail-table :invalid {
	/* background-color: pink; */
}
#detail-table :out-of-range {
	background-color: red;
}
#detail-table :required {

}

#search-list-table tr:nth-child(even) {
	background-color: WhiteSmoke;
}
#search-list-table div.preview {
	width:100px;
	height:100px;
}
#search-list-table div.preview a {
	display:block;
	line-height:100px;
}
#search-list-table td img {
	max-width:100px!important;
	max-height:100px!important;
}
#search-list-table td select {
	width:80px!important;
}
#search-list-table th.index {
	min-width:30px!important;
}

#search_option label:hover {
	background-color:WhiteSmoke;
}

/*------------------------------------------------
画像検索
-------------------------------------------------*/
div.img_box {
	background-color: whitesmoke;
	border: 1px solid;
	height: 150px;
	max-height: 150px;
	max-width: 150px;
	margin: 10px;
	position: relative;
	width: 150px;
}
div.img_box a {
	display:block;
}
div.img_box div.img_preview a {
	line-height: 150px;
	text-align: center;
}
div.img_box div.img_preview a img {
	max-height: 150px;
	max-width: 150px;
	vertical-align: middle;
}
div.img_box div.img_title {
	background-color: white;
	bottom: 4px;
	opacity: 0.9;
	position: absolute;
	width: 100%;
	white-space: nowrap;
}
div.img_box div.img_edit {
	background-color: white;
	top: 4px;
	left: 4px;
	opacity: 0.9;
	position: absolute;
}
div.img_box div.img_edit a {
	display:block;
}
div.img_box div.img_edit a img {
	vertical-align: middle;
}

/*------------------------------------------------
ワークシート
-------------------------------------------------*/
table.works_table {

}
table.works_table th.base_info_head {background-color:InactiveCaptionText!important;}
table.works_table th.order_list_head {background-color:Chocolate!important;}
table.works_table th.order_list {background-color:#FFA500!important;}
table.works_table th.order_assign_head {background-color:#CD5C5C!important;}
table.works_table th.order_assign {background-color:#F08080!important;}
table.works_table th.order_delivery_head {background-color:OliveDrab!important;}
table.works_table th.order_delivery {background-color:#9ACD32!important;}

/*------------------------------------------------
案件管理別シート
-------------------------------------------------*/
#list-table tr:nth-child(even) {
	background-color: WhiteSmoke;
}
#list-table th.index {
	min-width:30px;
}
tr.order_detail td {
	height:204px;
/*	height:50px;*/
	max-height:300px!important;
}

/* 詳細テキスト */
td.textarea {
	vertical-align: top;
	max-width: 170px;
	min-width: 170px;
}
td.textarea div.text-wrapper {
	height:200px;
	overflow-y:auto;
	word-wrap: break-word;
	display:block;
}
td.textarea div.text-wrapper textarea {
	resize:none;
}

/* メッセージ欄 */
td.message {
	vertical-align:top!important;
	height:200px;
}
td.message div.mes_wrap {
	height: 200px;
}
td.message div.td_box {
	height: 200px;
	width: 200px;
}
td.message section.mes_window {
	height: 162px;
	overflow: auto;
}
td.message section.mes_window p.name {
	color:DodgerBlue;
}
td.message div.chat_window {
	background-color:#F2F2F2;
	padding:0 2px;
}
td.message div.chat_window textarea {
	height:16px;
	max-height: 48px;
	max-width: 100%;
	min-width: 100%;
	resize: none!important;
}
td.message div.chat_window a.send_msg_btn {
	cursor:pointer;
	display:inline;
}
td.message div.chat_window a.send_msg_btn:hover {

}
td.message span.uploading_msg {
	text-align: left;
	float: left;
	overflow: hidden;
	white-space: nowrap;
	width: 140px;
}
td.message span.uploading_msg img.delete_upload {
	height:16px;
	cursor:pointer;
	vertical-align: text-top;
}
img.ajax_loading {
	margin-left:5px;
	float:left;
	height:16px;
}

/* 進化欄 */
td.image_group {
	vertical-align:top;
}
td.image_group div.img_group_wrap {
	width:160px;
	height:200px;
}
#content td.image_group table.image_group_status {
	width:100%;
	height:24%;
}
td.image_group table.image_group_status th {
	padding: 0px!important;
	width:50%;
	min-width:76px!important;
	height:16px;
}
td.image_group table.image_group_status td {
	padding:0px!important;
	width:50%;
	height:16px;
	background-color:inactivecaption;
}
#content td.image_group table.image_group_status td input {
	min-width:76px;
	width:76px;
	height:14px;
	margin:0px;
	padding:1px;
	vertical-align:middle;
}
#content td.image_group table.image_group_status td select {
	width:80px;
	height:18px;
	margin:0px;
	padding:0px;
	vertical-align:middle;
}
td.image_group div.image_box {
	position:relative;
	height:76%;
}
td.image_group div.slideshow {
	height:70%;
}
td.image_group div.slideshow a {
	display: block;
    margin: 0 auto;
    max-height: 120px;
    max-width: 120px;
}
td.image_group div.slideshow img {
	width:100%;
	height:100%;
}
td.image_group input[disabled] {
	opacity:0.3;
}
td.image_group div.footer {
	height: 26px;
	bottom: 0;
	position: absolute;
	width: 100%;
	text-align: center;
}
td.image_group div.footer a {
	cursor: pointer;
	height:30px;
}
td.image_group div.footer a img {
	vertical-align:bottom;
}

#agreement_content_wrapper {
	width:800px;
	margin:0 0 100px;
}
#agreement_content_wrapper h4 {
	margin:0;
}
#agreement_content_wrapper ol {
	margin: 0 0 0 30px!important;
}

/* placeholder */
/*for Webkit*/
input::-webkit-input-placeholder {
	color: ActiveBorder;
	font-style: italic;
}
/*for Firefox*/
input:-moz-placeholder {
	color: ActiveBorder;
	font-style: italic;
}

div.illust_image {
	float:left;
	margin:5px 0;
	width:80%;
	text-align:center;
}
div.illust_image img {
	display:block;
	float: left;
}
div.illust_image img.sample {
	width:80%;
}
div.illust_image img.arrow {
	width:10%;
}
section.image_upload_form {
	background-color: SeaShell;
	margin: 0 auto;
	padding: 10px;
	width: 260px;
}
.title_head {
	border-left: 5px solid Silver;
	font-size: small;
	margin: 2px 0;
	padding-left: 5px;
}

hr.dashed {
	border:1px dashed PapayaWhip;
}

.carousel {
	padding: 1% 0;
}
.carousel_inner {
	margin: 0 auto;
	width: 102px;
	height: 102px;
	background: #efefef;
	overflow: hidden;
}
.carousel_inner .carousel_box {
	float: left;
	border: solid #fff 1px;
	width: 100px;
	height: 100px;
	color: #fff;
	background: #252525;
	line-height: 96px;
	text-align: center;
	font-size: 123%;
}
.carousel .btns input {
	position: absolute;
	top: 38px;
}

/* color picker */

div.color-picker { border-left: 1px solid #000; border-top: 1px solid #000; position: absolute; left: 0px; top: 0px; padding: 0px; }
div.color-picker ul { list-style: none; padding: 0px; margin: 0px; float: left; }
div.color-picker ul li { display: block; width: 15px; height: 15px; border-right: 1px solid #000; border-bottom: 1px solid #000; margin: 0px; float: left; cursor: pointer; }

/* preview */

#imgPreviewWithStyles {
	background: #222 url("../images/loading.gif") no-repeat center;
	padding: 15px;
	z-index: 999;
}
#imgPreviewWithStyles span {
	color: white;
	text-align: center;
	display: block;
	padding: 10px 0 3px 0;
}

/* tittle below CSS */

#imgPreviewWithStyles {
    background: #222;
    padding: 15px;
    z-index: 999;
    border: none;
}

/* Text below image */
#imgPreviewWithStyles span {
    color: white;
    text-align: center;
    display: block;
    padding: 10px 0 3px 0;
}

/* tooltip */
.tooltip {
  position: relative;
}
.tooltip .tooltipBody {
  border: solid 2px black;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  position: absolute;
  left: -5px;
  top: -3em;
  text-decoration: none;
  visibility: hidden;
  padding: 3px 5px;
  zoom: 1;
  color:SlateGray;
  white-space:nowrap;
}
.tooltip:hover .tooltipBody {
  background-color: white;
  visibility: visible;
  z-index: 10;
}
.tooltip .tooltipBody .tooltipAngle {
  border-right: solid 10px transparent;
  border-left-width: 0;
  border-top: solid 10px black;
  line-height: 0;
  position: absolute;
  left: 1em;
  bottom: -10px;
}
.tooltip .tooltipBody .tooltipAngle .tooltipAngleInner {
  border-right: solid 5px transparent;
  border-left-width: 0;
  border-top: solid 5px white;
  line-height: 0;
  position: absolute;
  left: 2px;
  bottom: 5px;
}
