/*全体の背景を指定 */
body {
  margin: 0px;               /*ページ全体の余白を消す*/
  color: #707f97;
	}

/* ヘッダーのCSSを下記に記載 */
.system-title{
  position: absolute;
  top: -20px;
  left: 15px;
  color: #fff;
  font-family: normal;
  font-weight: lighter;
  font-size: 17px;
  width: 340px;
}

.company-logo {
  font-size: 25px;
  text-align: right;
  height: 60px;
  position: sticky;
  top: 0;
  right: 0;
  background-color: #50a2ff;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  min-width: 800px;
}

.company-logo a{
  color: #fff;
  text-decoration: none;
  margin-left: 1%;
  font-family: normal;
  font-size: 21px;
  margin-bottom: 1px;
}

a.title-user-name{
  font-weight: lighter;
  font-size: 14px;
  margin: 0 5px 5px 5px;
}

a.title-user-name span{
  font-size: 14px;
  color: #fff;
  padding: 0px 5px;
  margin-bottom: 0%;
  margin-right: 0%;
}


.navbar-collapse{
  float: left;
  background-color: #bbb9b942;
  display: inline-block;
  vertical-align: middle;
  height: 120vh;
  width: 25vw;
  min-width: 150px;
  min-height: 900px;
}

ul {
  list-style: none;
}

.nav-link{
  color : #000000;
  text-decoration: none;
}

.nav-item{
  margin: 10% 1%;
}

/* コンテンツの中身のCSSを下記に記載 */
div .container {
  color : #000000;
  width: 100vw;
  height: 100vh;
  vertical-align: middle;

}


.page-header {
  color: #000000;
  font-family: normal;
  font-size: 20px;
  width: 97.5%;
  padding: 5px 0px 0px 20px;
  border-bottom: solid 1px #6f6f6f5c;
  text-align: left;
  min-width: 600px;
}

/* アップロード画面に関わるCSS */
.text-danger {
  color: #FF0000;
  margin: 10px 0px 0px 10px;
}

form {
  width: 100%;
}

.mt-4 {
  width: 92%;
  height: 100vh;
  margin: 0 auto;
}

.mt-5 {
 
  }

.custom-file {
  position: relative;
  width: 90%;
  align-self: center;
  margin: 4% auto 0;
  border: 1px solid darkgray;
  box-shadow: inset 0 0 3px 1px grey;
  min-width: 600px;
}

.custom-file-table{
  width: 80%;
  background-color: white;
  margin: 1% auto 5% auto;
}

.input-item{
  font-size: 16px;
  text-align: left;
  width: 15%;
  border: none;
}

.input-itembox{
  font-size: 100%;
  text-align: left;
  width: 50%;
  padding-top: 12px;
  margin-top: auto;
  border: none;
}


.custom-file input{
  width: 85%;
  border: 2px solid #cccccc;
  border-radius: 3pt;
}

.btn-upload {
  position:absolute;
  right:5px;
  bottom:5px;
}

.btn-return-to-file {
  width: 150px;
  height: 30px;
  margin-top: 10px;
}

.btn-return-to-upload {
  width: 150px;
  height: 30px;
  margin-top: 10px;
}

.btn-delete {
  color: red;
  font-weight: bold;
  width: 150px;
  height: 30px;
  margin-top: 10px;
}

.drop_area {
  color: gray;
  font-weight: bold;
  font-size: 1.2em;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  height: 200px;
  border: 5px solid gray;
  border-radius: 15px;
  margin: 5% auto 0;
  min-width: 600px;
}

/* ファイル一覧画面に関わるCSS */
#collapseExample {
  height: 26%;
  width: 100%;
  padding-top: 1%;
  position: relative;
  box-sizing: border-box;
  margin: 3% auto;
  min-width: 600px;
  min-height: 200px;
}



/* 顧客詳細画面に関わるCSS */
#collapseDetailExample {
    width: 100%;
    border: 3px solid #000;
    margin-top: 5%;
    padding: 5px;
    position: relative;/* 親要素としてpositionをrelativeに */
}

.row{
  width: 100%;
  background-color: #fff;
}

ul.row{
  background-color: #bbb9b900;
}

.col-md-3{
  font-size: 85%;
  width: 40%;
  padding-left: 0px;
}

.col-md-9{
  width: 55%;
  padding-left: 0px;
}

.subject{
  clear: both;
}

.start{
  width: 150px;
}

.end{
  width: 150px;
}

.user-name{
  width: 335px;
}

.comment{
  width: 335px;
}

.table{
  font-size: 60%;
  width: 100%;
  padding-top: 1%;
  border-collapse: collapse;
  min-width: 600px;
}


/*table titleのCSS*/
th{
  font-size:15px;
  height: 20px;
  margin: 0;
  padding: 0;
  white-space: nowrap; /*テキストに合わせて最大長を決める*/
  border-bottom: 2px solid #0051ff9d;
}

th.counter {
  width: 4%;
}

th.upload-date {
  width: 15%;
}

th.file-name {
  width: 30%;
}

th.user-name {
  width: 17%;
}

th.comment {
  width: 30%;
}

th.delete {
  width: 5%;
}

/*teble dateのCSS*/
td {
  font-size: 12px;
  text-align: center;
  margin-top: 1px;
  border-bottom: 1px solid #00000059;
  word-break: break-all;
}

  #table_detail{
    width: 92%;
    min-height: 82vh;
    margin: 0 auto;
    padding-left:20%;
  }

  #table_detail table {
    font-size: 60%;
    width: 100%;
    padding-top: 10px;
    min-width: 600px;
    border-bottom: none;
  }


 /*table_detail用のCSS*/
  #table_detail th {
    font-size:17px;
    height: 25px;
    width: 200px;
    margin: 0;
    padding: 10px;
    text-align: left;
    white-space: nowrap; /*テキストに合わせて最大長を決める*/
    border-bottom: none;
  }
  /*teble dateのCSS*/
  #table_detail td {
    font-size: 17px;
    text-align: left;
    margin-top: 1px;
    word-break: break-all;
    border-bottom: none;
  }

li.page-item {
  float: left;
  padding-left: 2px;
  padding-right: 2px;
}

a.page-link{
  text-decoration: none;
  font-size: 15px;
}

/*検索ボックスのCSS*/
.search-box {
  width: 100%;
  height: 150px;
  margin: 0 auto;
  padding: 0;
  border-collapse: collapse;
  box-shadow: inset 0 0 3px 1px grey;
}

.search-title{
  width: 30%;
  font-size: 14px;
  font-weight: lighter;
  text-align: left;
  background-color: #dededefa;
  padding: 10px 0px 10px 40px;
}

.search-value{
  width: 60%;
  font-size: revert;
  font-weight: lighter;
  text-align: left;
  padding: 10px 0px 10px 40px;
}

.search-item{
  width: 60%;
}

.search-btn{
  font-weight: bold;
  color: #000000;
  background-color: #C0C0C0;
  border: 1px solid #000000;
  border-radius: 3pt;
  position: absolute; /* 要素の位置を固定する */
  bottom: 0px;
  right: 0px;
  width: 60px; /* 幅を指定する */
}

td.search{
  border: 1px solid darkgrey;
  box-shadow: inset 0 0 1px 0px grey;
}
/*ファイルアップロード確認画面のCSS*/
.upload-success{
  height: 200px;
  width: 56%;
  margin-left: unset;
  margin-top: 20px;
  align-items: center;
}

.upload-sucess-message{
  width: 100%;
}

.btn-upload-success
{
  width: 175px;
}

/*ファイル削除確認画面のCSS*/
.delete-worning{
  height: 200px;
  width: 56%;
  margin-left: unset;
  margin-top: 20px;
  align-items: center;
}

.delete-worning-message{
  width: 100%;
}

.btn-select{
  width: 100%;
  display: flex;
}

/*エラー画面のCSS*/
.error-alart{
  margin-left: 20px;
  margin-top: 15px;
  color: black;
}

/*管理者側のCSS*/

/*ヘッダー*/
.company-logo-admin {
  font-size: 25px;
  text-align: right;
  height: 60px;
  position: sticky;
  top: 0;
  right: 0;
  background-color: #ff7f50;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  min-width: 800px;
}

.company-logo-admin a{
  color: #fff;
  text-decoration: none;
  margin-left: 1%;
  font-family: normal;
  font-size: 21px;
  margin-bottom: 1px;
}

/* 顧客一覧画面に関わるCSS */
#collapseViewerExample {
  height: 30%;
  width: 100%;
  padding-top: 1%;
  position: relative;
  box-sizing: border-box;
  margin: 3% auto;
  min-width: 600px;
  min-height: 240px;
}

/* 顧客登録画面に関わるCSS */
#collapseRegisterExample {
  height: 80%;
  width: 85%;
  padding-top: 1%;
  position: relative;
  box-sizing: border-box;
  margin: 3% auto;
  min-width: 570px;
  max-width: 700px;
  min-height: 640px;
}


/*顧客編集用のボタン*/
  .delete-btn{
    font-weight: bold;
    color: #e60303;
    background-color: #C0C0C0;
    border: 1px solid #000000;
    border-radius: 3pt;
    position: absolute; /* 要素の位置を固定する */
    top: 0px;
    right: 0px;
    width: 60px; /* 幅を指定する */
  }

  .back-btn{
    font-weight: bold;
    color: #000000;
    background-color: #C0C0C0;
    border: 1px solid #000000;
    border-radius: 3pt;
    position: absolute; /* 要素の位置を固定する */
    bottom: 0px;
    right: 200px;
    width: 150px; /* 幅を指定する */
  }

  .next-btn{
    font-weight: bold;
    color: #000000;
    background-color: #C0C0C0;
    border: 1px solid #000000;
    border-radius: 3pt;
    position: absolute; /* 要素の位置を固定する */
    bottom: 0px;
    right: 0px;
    width: 150px; /* 幅を指定する */
  }

  

  .register-btn{
    font-weight: bold;
    color: #000000;
    background-color: #C0C0C0;
    border: 1px solid #000000;
    border-radius: 3pt;
    position: absolute; /* 要素の位置を固定する */
    bottom: 0px;
    right: 0px;
    width: 60px; /* 幅を指定する */
  }

.register-box {
  width: 100%;
  height: 150px;
  margin: 0 auto;
  padding: 0;
  border-collapse: collapse;
  box-shadow: inset 0 0 3px 1px grey;
}

.register-title{
  width: 43%;
  font-size: 14px;
  font-weight: lighter;
  text-align: left;
  background-color: #dededefa;
  padding: 10px 0px 10px 20px;
}

.register-value{
  width: 60%;
  font-size: revert;
  font-weight: lighter;
  text-align: left;
  padding: 10px 0px 10px 20px;
}

.register-item{
  width: 65%;
  height: 20px;
  border-radius: 2px;
  border: 1px solid black;
}

/* ヘッダーのCSSを下記に記載 */
a.page-header-nav{
  text-decoration: none;
  color:black;
  font-size: 14px;
}

td.page-header-nav{
  border:0px solid black;
  padding: 0px 5px;
}

.system-title-admin{
  position: absolute;
  top: -20px;
  left: 15px;
  color: #fff;
  font-family: normal;
  font-weight: lighter;
  font-size: 17px;
  width: 440px;
}
