/* utility */

.textalign_right {
  text-align :right;
}

.position-relative {
  position: relative;
}
  
.reflect-select {
  	width: 19px;
	position: absolute;
	top: 43px;
	right: 4%;
	border: none;
}

/* margin */
.mgt5 {margin-top: 5px};
.mgt10 {margin-top: 10px;}
.mb0 {margin-bottom: 0px;}

#modal-iframe-content {
  /*width: 850px;
  height : 700px;*/
  /*overflow: scroll;*/
  overflow:hidden;
}

input[type=text]::-ms-clear {
    display: none;
}

.downloadFile{
    background-color: #eff7ee;
    border: #afd7a8 solid thin;
    color: #333;
    text-shadow: none;
    padding: 3px 5px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: normal;
    display: block;
    text-align: center;
    width: 188px;
    display: inline-block;
    margin-right: 5px;
}

/*index.ctpの表*/
.listTable{
  width: 98%;
  margin: 10px 0;
  overflow: scroll;
  border: thin solid #ccc;
}

.listTable table{
  border-collapse: collapse;
}

.listTable table tr th,
.listTable table tr td{
  font-size: 13px;
}

.listTable table tr th{
  background-color: #eee;
  border: thin solid #ccc;
}

.listTable table tr td.data_right{
  text-align: right;
}

.listTable table tr th.sort_field:after{
  content:'▽';
}

.listTable table tr th.sort_field.current.desc:after{
  content:'▼';
}

.listTable table tr th.sort_field.current.asc:after{
  content:'▲';
}

.listTable table tr th:hover{
  color: #999;
  cursor: pointer;
  background-color: #ddd;
}

.listTable table tr th.noTriangle:hover{
  background-color:#eee;
  color: #333;
}

.listTable table tr th.noTriangle:after{
  content:none;
}

.listTable table tr:hover td{
  background-color: #EFF6F6;
}

.group_area{
  background-color: #eee;
  padding: 10px;
}

.group_area{
  background-color: #eee;
  padding: 10px;
}

/*検索フィールド*/
.search{
  background-color: #eee;
  padding: 10px 500px;
  margin :0 -500px;
  clear: both;
  /*overflow: hidden;*/
  position: relative;
}

.search legend{
  font-size: 18px;
  margin-left: 10px;
}

.search .input{
  display: inline-block;
  /*width:20%;*/
  margin-right:20px;
  vertical-align: top;
}

.search .input.checkbox{
  display: block;
}

.search .date-input {
    display: inline-block;
    width: 40%;
    margin-right: 10px;
    vertical-align: top;
}

/*ページング*/

.paging{
  text-align: right;
  margin-bottom: 10px;
}

/*アクションボタン*/
.actionButtons li{
    display: inline-block;
    margin:0 10px 0 0;
}
.actionButtons li a{
  padding: 10px;
  border-radius: 5px;
  background-color: #eee;
  border: thin solid #ccc;
  text-align: center;
  text-decoration: none;
  display: block;
}

.actionButtons li.addNew a{
  background:#62af56;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#76BF6B), to(#3B8230));
  background-image: -webkit-linear-gradient(top, #76BF6B, #3B8230);
  background-image: -moz-linear-gradient(top, #76BF6B, #3B8230);
  border-color: #2d6324;
  color: #fff;
}

.actionButtons li.addNew a:hover{
  background: #5BA150;
}

/*業務管理システム　参照*/
.returnButton{
  padding: 10px;
  border-radius: 5px;
  background:#62af56;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#76BF6B), to(#3B8230));
  background-image: -webkit-linear-gradient(top, #76BF6B, #3B8230);
  background-image: -moz-linear-gradient(top, #76BF6B, #3B8230);
  border-color: #2d6324;
  color: #fff;
  text-align: left;
  text-decoration: none;
  display: block;
  width: 100px;
}

.returnButton:hover{
background: #5BA150;
}

.returnButton a{
  text-align: center;
  display: block;
  color: #fff;
}

.validate-error:focus {
  border: solid 3px #e32;
}

div.comments{
  overflow: hidden;
  margin: 40px auto;
  padding: 10px;
}

div.comments.report{
  background-color: #eee;
}

div.comments.diary_comments{
  background-color: #eee;
}

div.comments.instruct{
  background-color: #ddd;
}

div.comments.return{
  margin-left: 40px;
}

div.comments h2{
  background: none;
  color: #333;
}

div.comments table{
  margin: 0;
}

div.comments table tr td,
div.comments table tr th{
  background-color: #fff;
  padding: 5px;
}

div.comments table tr th{
  width: 28%;
}

/*新規入力画面*/
#add_company{
  text-align: right;
}

.inputField input{
  width: 96%;
}

.inputField table tr td{
  width: 50%;
}

.inputField_diary table tr td{
  width: 0%;
}

@media all and (max-width: 720px){
  .inputField_diary table tr td{
    display: block;
    width: 100%;
  }
  .inputField table tr td{
    width: 100%;
    display: block;
  }
}

.supplementary {
  font-size: 12px;
  color: #777;
  font-weight: normal;
  display: block;
}

.inputField table tr td:hover{
  background-color: #EFF6F6;
}

.inputField table tr td input,
.inputField table tr td select{
  font-size: 90%;
}
@media all and (max-width: 720px){
  .inputField table tr td input,
.inputField table tr td select{
  font-size: 16px;
}
}
.inputField table tr td label{
  font-weight: bold;
}

.addList, .removeList, .upList, .downList {
    min-height: 70px;
    line-height: 70px;
    min-width: 45px;
}

@media all and (max-width: 720px){
  .addList, .removeList, .upList, .downList {
    width: 45px;
    display: inline-block;
  }
}

/*報告機能*/
/*.reportTable {
  margin-top: 100px;
}*/


/* 日報記述 */
#DiaryDate {
  width: 25.5%;
}

@media all and (max-width: 720px){
  /* 日報記述 */
  #DiaryDate {
    width: 80%;
  }
}

#diary-objective {
  width: 27%;
}

@media all and (max-width: 720px){
  #diary-objective {
    width: 80%;
  }
}

#diary-objective td {
  border: none;
  padding:0;
  margin-right: 10px;
  padding-right: 16px;
}

ul.action_select {
  margin: 0;
  margin-top: 5px;
  margin-bottom: 45px;
  list-style: none;
}

ul.action_select li{
  margin: 0;
  width: 85px;
  float: left;
  margin-right: 10px;
}

.depature_return_time {
  width :150px;
  position: relative;
}

.depature_return_time input {
  font-size: 12px;
}

.depature_return_time input:last-child {
  margin-bottom: 15px;
  display: block;
}

select#departure_time {
    top: 28px;
    right: 0;
}

select#return_time {
    top: 62px;
    right: 0px;
}

input#return_time0 {
    margin-top: 5px;
}

td.relative_reflect_select {
  position: relative;
}

.stamp_list {
    width: 80px;
    height: 80px;
    position: relative;
    float: left;
    clear: none;
    margin-right: 33px;
}

.stamp-accept {
  position: absolute;
  top: -90px;
  right: -1px;
  z-index: 1;
}

.stamp_div {
  width: 80px;
  height: 80px;
  background-color: #fff;
  border: solid 1px #ddd;
}

.stamp { font-size:10px; border:3px double #f00; border-radius:50%; color:#f00; width:64px; height:64px; position:relative; margin:auto; }
.stamp span { display:inline-block; width:100%; text-align:center; }
.stamp span:first-child::before { position:absolute; top:-17px; left:0; right:0; margin:auto; width:80%; border-bottom:1px solid #f00; line-height:1; padding-bottom:3px; }
.stamp span:first-child { line-height:56px; }
.stamp span:last-child { position:absolute; top:31px; left:0; right:0; margin:auto; width:80%; padding-top:2px; line-height:1; }

.stamp-approve span:first-child::before { 
  content:"承認"; 
}
.stamp-settle span:first-child::before { 
  content:"決済"; 
}
.stamp-accept span:first-child::before { 
  content:"承認"; 
}

#loader-bg {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background: #000;
  opacity: 0.7;
  z-index: 3;
}
#loader {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  margin-top: -100px;
  margin-left: -100px;
  text-align: center;
  background: #000;
  opacity: 0.7;
  z-index: 3;
}


.reflect_select {
  width: 19px;
  border: 0;
  position: absolute;
  top: 33px;
  right: 10px;
}

th.th_name {
    width: 88%;
}

.submit input[type="submit"]:hover {
    cursor: pointer;
    background: #5BA150;
}

.popup_clear {
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  display: inline-block;
}

#iframe_project_add {
  width:100%;
  height:100%;
  border:none;
  display:block;
}

/** レポート画面 **/

.search_list {
    width: 20%;
    float: left;
}

.search_list_period {
    width: 36%;
    float: left;
    margin-bottom: 17px;
}

i.back_index {
    text-align: left;
    float: left;
    border: none;
    font-style: normal;
}

p.back_index_diary {
  margin-top: 15px;
}




.mycompanies_List_button:after {
    content:'▲';
}

.mycompanis_list {
  cursor: pointer;
  background-color: #fff;
  overflow: scroll;
  height: 350px;
  width: 100%;
  position: absolute;
  z-index: 2;
}

#inputTable .mycompanies_list_button {
    display: block;
    padding-left: 5px;
    width: 15px;
    height: 15px;
    background-image: url(/img/allow.png);
    background-size: 14px;
    background-repeat: no-repeat;
    position: absolute;
    top: 39px;
    right: 0;
}

.clientcompany_field {
  position: relative;
}

ul.mycompanis_list {
  background-color: #F2F5F7;
  margin: 0px;
  border: solid 1px #ddd;
}

ul.mycompanis_list li {
  line-height: 30px;
  height: 30px;
  border-radius: 4px
  font-size: 16px;
  margin: 0;
  padding-left: 15px;
  padding-top: 3px;
  padding-bottom: 2px;
}

ul.mycompanis_list li:hover {
    background: #d7ebf9 url(img/ui-bg_glass_80_d7ebf9_1x400.png) 50% 50% repeat-x;
    color: #2779aa;
}

.mycompanis_title {
  font-weight: bold;
  margin:0;
  padding-top: 12px;
  padding-left: 12px;
  padding-bottom: 15px;
}
@media all and (max-width: 720px){
  .xs-hidden {
    display: none;
  }
}

#ClientCompanyIndexForm {
    position: relative;
}

.suggest-container {
  position: absolute;
}

@media all and (max-width: 720px){
  .suggest-container {
    width: 100%;
  }
}

.suggest-list {
  list-style: none;
  padding: 0px;
  margin: 0px;
  position: absolute;
  background-color: #fff;
  z-index: 1;
  top: -6px;
}

.suggest-item {
  margin: 0px;
}

@media all and (max-width: 720px){
  .suggest-list {
   border: solid 1px #ddd;
  width: 22%;
  }
  .suggest-item {
    padding-right: 60px;
  }
}

.suggest-list li a:hover {
  background-color: #ddd;
}

.suggest-item a:focus {
  background-color: #eff7ee;
  border: #afd7a8 solid thin;
  color: #333;
}

.suggest-item {
  list-style-type: none;
}

.suggest-item a {
  display: block;
  min-width: 155px;
  padding: 8px 20px;
  color: #333;
  text-decoration: none;
  font-size: small;
  background: #eee;
}


.suggest-item a:focus, .suggest-item a:hover {
  background: #afd7a8;
  color: #333;
}

#ClientCompanyIndexForm .checkbox, #ClientCompanySearchCompanyForm .checkbox {
  display: inline-block;
}
