/*===============================

	共通パーツのデザイン

================================*/
/*
	囲む系諸々
================================*/
@media (max-width: 767px) {
   .container-fluid {
      padding: .5rem;
   }

   .col-12 {
      box-sizing: border-box;
      padding-left: 0;
      padding-right: 0;
   }

   .row {
      margin-left: 0;
      margin-right: 0;
   }
}

/*
	幅調整
================================*/
.w-5 {
   width: 5% !important;
}

.w-7 {
   width: 7% !important;
}

.w-10 {
   width: 10% !important;
}

.w-13 {
   width: 13% !important;
}

.w-15 {
   width: 15% !important;
}

.w-20 {
   width: 20% !important;
}

.w-35 {
   width: 35% !important;
}

.w-40 {
   width: 40% !important
}

.w-45 {
   width: 45% !important;
}

.w-65 {
   width: 65% !important;
}

.w-min-1000 {
   min-width: 1000px;
}

.w-min-1400 {
   min-width: 1400px;
}

.w-min-1800 {
   min-width: 1800px;
}

.w-min-2000 {
   min-width: 2200px;
}

.w-initial {
   width: initial !important;
}

.fix_pd_col:nth-child(odd) {
   padding-right: 7.5px;
}

.fix_pd_col:nth-child(even) {
   padding-left: 7.5px;
}
.fw-10 {
  width: 10px;
}
.fw-20 {
  width: 20px;
}
.fw-30 {
  width: 30px;
}
.fw-40 {
  width: 40px;
}
.fw-50 {
  width: 50px;
}
.fw-60 {
  width: 60px;
}
.fw-70 {
  width: 70px;
}
.fw-80 {
  width: 80px;
}
.fw-90 {
  width: 90px;
}
.fw-100 {
  width: 100px;
}
.fw-110 {
  width: 110px;
}
.fw-120 {
  width: 120px;
}
.fw-130 {
  width: 130px;
}
.fw-140 {
  width: 140px;
}
.fw-150 {
  width: 150px;
}
.fw-160 {
  width: 160px;
}
.fw-170 {
  width: 170px;
}
.fw-180 {
  width: 180px;
}
.fw-190 {
  width: 190px;
}
.fw-200 {
  width: 200px;
}
.fw-210 {
  width: 210px;
}
.fw-220 {
  width: 220px;
}
.fw-230 {
  width: 230px;
}
.fw-240 {
  width: 240px;
}
.fw-250 {
  width: 250px;
}
.fw-260 {
  width: 260px;
}
.fw-270 {
  width: 270px;
}
.fw-280 {
  width: 280px;
}
.fw-290 {
  width: 290px;
}
.fw-300 {
  width: 300px;
}
.select2-container--open {
   z-index: 10001;
}

/*
	ヘッダー（管理者用・パートナー用）
================================*/
.topbar.administrator {
   background: #005C97;
   /* fallback for old browsers */
   background: -webkit-linear-gradient(to right, #363795, #005C97);
   /* Chrome 10-25, Safari 5.1-6 */
   background: linear-gradient(to right, #363795, #005C97);
   /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.topbar.partner {
   background: #56CCF2;
   /* fallback for old browsers */
   background: -webkit-linear-gradient(to right, #2F80ED, #56CCF2);
   /* Chrome 10-25, Safari 5.1-6 */
   background: linear-gradient(to right, #2F80ED, #56CCF2);
   /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.topbar .top-navbar .navbar-header .navbar-brand span {
   color: #7a7a7a;
   font-size: 80%;
}

.admin_pg_title {
   padding-top: .54rem;
   min-width: 670px;
}

.admin_pg_title h2 {
   color: #fff !important;
   line-height: 3rem;
}

.create_btn_area {
   position: fixed;
   z-index: 100;
   top: .95rem;
   right: 1.8rem;
}

/*
	サイドナビ
================================*/
.navbar-nav {
   padding-left: .8rem !important;
}

@media (max-width: 767px) {
   .sidebar-nav>ul>li>a .label {
      vertical-align: top;
   }
}

@media (min-width: 768px) {

   .mini-sidebar .left-sidebar,
   .mini-sidebar .nav-devider,
   .mini-sidebar .top-navbar .navbar-header,
   .mini-sidebar .sidebarnav_btn {
      width: 72px !important;
   }

   .mini-sidebar .sidebar-nav #sidebarnav>li:hover>a {
      width: 272px;
   }

   .ico_fontawesome>li>ul {
      top: 51px !important;
   }

   .mini-sidebar .sidebar-nav #sidebarnav>li>ul {
      left: 72px;
   }
}

/*
	右側メニュー（表示位置補正）
================================*/
.right-menu-fix {
   top: 86px;
   bottom: 0;
   overflow-y: auto;
   overflow-x: hidden;
}


/*
	パンくずリスト
================================*/
@media (max-width: 767px) {
   .page-titles {
      padding-bottom: .45rem;
   }
}

/*
	パンくずリスト
================================*/
.pagination {
   margin-bottom: 0;
   justify-content: center;
}

/*
	カード
================================*/
/* マージンとか */
.card.mb_fix {
   margin-bottom: 25px;
}

@media (max-width: 767px) {
   .card.mb_fix {
      margin-bottom: .5rem;
   }
}

/* 見出し（管理者用・パートナー用） */
.card-outline-admin .card-header {
   background: #005C97;
   /* fallback for old browsers */
   background: -webkit-linear-gradient(to right, #363795, #005C97);
   /* Chrome 10-25, Safari 5.1-6 */
   background: linear-gradient(to right, #363795, #005C97);
   /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.card-outline-partner .card-header {
   background: #56CCF2;
   /* fallback for old browsers */
   background: -webkit-linear-gradient(to right, #2F80ED, #56CCF2);
   /* Chrome 10-25, Safari 5.1-6 */
   background: linear-gradient(to right, #2F80ED, #56CCF2);
   /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

/*
	カード
================================*/
.list-mb-2>li:not(:last-child) {
   margin-bottom: 2%;
}

/*
	ボタン系
================================*/
.btn {
   font-size: 100%;
}

.btn-dark {
   color: #fff !important;
}

.btn-circle i {
   font-size: 120%;
   vertical-align: 8%;
}

@media (max-width: 767px) {
   .btn_clear {
      margin-top: 1rem;
   }
   .button-group .col-lg-2:not(:last-child) {
      margin-bottom: .75rem;
   }
}

/*
	ラベルの色追加
================================*/
.label-light {
   color: #212529;
   background-color: #f8f9fa;
   border-color: #f8f9fa;
}

.label-secondary {
   color: #fff;
   background-color: #6c757d;
   border-color: #6c757d;
}

/*
	文字サイズ
================================*/
.font_s_75 {
   font-size: 75% !important;
}

/*===============================

	テーブルのデザイン

================================*/
/*
	検索フォーム
================================*/
/* 検索フォームの開閉時の矢印変更用 */
#search_form a[aria-expanded="true"] .ti-angle-down:before {
   content: "\e648";
}

/* 管理画面（平和住宅様用）のテーブルヘッダーの色 */
.bootstrap-table table thead {
   background: #005C97;
   background: -webkit-linear-gradient(to right, #363795, #005C97);
   background: linear-gradient(to right, #363795, #005C97);
   color: #fff;
   text-align: center;
   ;
}

.table-fixed {
   table-layout: fixed;
}

.table thead th, .table th {
   font-weight: normal !important;
}

/* クリックできるtr */
.table-clickable tr[data-href]{
  cursor: pointer;
}
.table-clickable td {
   /* padding: 1.3rem 1rem !important; */
}

/*
	工事依頼一覧
================================*/
.table-construction-request .stylish-table tbody tr {
   border-top: 1px solid #dee2e6;
}

.table-construction-request .stylish-table tbody tr:last-child {
   border-bottom: 1px solid #dee2e6;
}

.table-construction-request .stylish-table td {
   border-top: none !important;
   padding: .75rem;
}

.table-construction-request .stylish-table tbody td:first-child {
   width: 6%;
}

.table-construction-request .stylish-table tbody td:nth-child(2) {
   width: 30%;
   word-break: break-all;
}

.table-construction-request .stylish-table tbody td:nth-child(3) {
   width: 30%;
   word-break: break-all;
}
.table-construction-request .stylish-table tbody td:nth-child(4) {
    width: 10%;
    word-break: break-all;
}


@media (max-width: 767px) {
   .table-construction-request .stylish-table tr {
      display: flex;
      flex-wrap: wrap;
   }

   .table-construction-request .stylish-table thead th {
      display: none;
   }

   .table-construction-request .stylish-table tbody td:first-child {
      flex-basis: 25%;
   }

   .table-construction-request .stylish-table tbody td:nth-child(2) {
      flex-basis: 75%;
   }

   .table-construction-request .stylish-table tbody td:nth-child(3) {
      flex-basis: 75%;
   }

   .table-construction-request .stylish-table tbody td:nth-child(4) {
      flex-basis: 25%;
   }

   .table-construction-request .stylish-table tbody td:nth-child(n+5) {
      flex-grow: 1;
   }

   .table-construction-request .stylish-table tbody td h6 {
      line-height: 1.45rem;
      white-space: normal;
   }

   .table-construction-request .stylish-table tbody td:nth-child(-n+4) {
      padding-bottom: 0;
   }
}
@media (max-width: 320px) {
  .form-control.autoapply {
      padding-left: 2px;
      padding-right: 2px;
  }
}

/*
	見積書一覧
================================*/
.table-quotation .stylish-table thead th:nth-last-child(-n+2) {
   width: 12%;
}

.table-quotation .stylish-table tbody tr {
   border-top: 1px solid #dee2e6;
}

.table-quotation .stylish-table tbody tr:last-child {
   border-bottom: 1px solid #dee2e6;
}

.table-quotation .stylish-table tbody td {
   border-top: none;
}

.table-quotation .stylish-table tbody td a.btn {
   width: 100%;
   font-size: 90%;
}

@media (max-width: 767px) {
   .table-quotation .stylish-table thead th {
      display: none;
   }

   .table-quotation .stylish-table tbody tr {
      display: flex;
      flex-wrap: wrap;
   }

   .table-quotation .stylish-table tbody td:first-child {
      flex-basis: 30%;
   }

   .table-quotation .stylish-table tbody td:nth-child(2) {
      flex-basis: 70%;
   }

   .table-quotation .stylish-table tbody td:nth-last-child(-n+2) {
      flex-basis: 50%;
      text-align: center;
   }

   .table-quotation .stylish-table tbody td:not(:nth-last-child(-n+2)) {
      padding-bottom: 0;
   }

   .table-quotation .stylish-table tbody td h6 {
      line-height: 1.45rem;
      white-space: normal;
   }
}

/*
	未発注の工事発注伝票一覧
================================*/
.table-slip-unorder .stylish-table thead th:last-child {
   width: 12%;
}

.table-slip-unorder .stylish-table tbody tr {
   border-top: 1px solid #dee2e6;
}

.table-slip-unorder .stylish-table tbody tr:last-child {
   border-bottom: 1px solid #dee2e6;
}

.table-slip-unorder .stylish-table tbody td {
   border-top: none;
}

.table-slip-unorder .stylish-table tbody td a.btn {
   width: 100%;
   font-size: 90%;
}

/*
	工事発注伝票の詳細
================================*/
.detail_info_table {
   table-layout: fixed;
   margin: 0;
}
.detail_info_table caption {
   caption-side: top;
   padding-top: 0;
   padding-bottom: .5rem;
   color: #54667a;
}
.detail_info_table th,
.detail_info_table td {
   padding: .5rem;
   border: 1px solid #dee2e6 !important;
}
.detail_info_table th {
   font-weight: normal;
   background-color: #e9ecef;
}

/*===============================

	フォームのデザイン

================================*/
/*
	リードオンリーのスタイル変更解除
================================*/
.form-control[readonly] {
   background-color: #fff;
   color: #54667a;
   opacity: unset;
}

.form-group label {
   margin-bottom: .2rem;
}

/*
	ファイルアップロード
================================*/
.thumbnail-group {
   justify-content: flex-start;
}

.thumbnail-group .thumbnail-group-img {
   position: relative;
   width: 136px;
   margin-left: 15px;
}

.thumbnail-group .thumbnail-group-img img {
   width: 100%;
}

.thumbnail-group .thumbnail-group-img button {
   position: absolute;
   top: .5rem;
   right: .5rem;
}

@media (max-width: 767px) {
   .custom-file-label::after {
      display: none;
   }

   .thumbnail-group {
      justify-content: space-between;
      margin-left: 0;
      margin-right: 0;
   }

   .thumbnail-group .thumbnail-group-img {
      width: 48.5%;
      margin-left: 0;
      padding-bottom: 3%;
   }
}

/*
	カレンダー
================================*/
.show_calendar {
   cursor: pointer;
}

/*===============================

	ページ別の設定

================================*/
/*
	ログイン画面
================================*/
.login-register {
   background: #1c92d2;
   /* fallback for old browsers */
   background: -webkit-linear-gradient(to right, #f2fcfe, #1c92d2);
   /* Chrome 10-25, Safari 5.1-6 */
   background: linear-gradient(to right, #f2fcfe, #1c92d2);
   /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
   top: 0;
   bottom: 0;
   overflow-y: scroll;
}

/*
	工事依頼一覧
================================*/
@media (max-width: 767px) {
   .label-status {
      width: 30%;
   }
}

/*
	工事伝票作成
================================*/
.construction_order_detail thead th:not(:first-child) {
   width: 15%;
}

/*
	その他
================================*/
.justify-content-sb {
   justify-content: space-between;
}

.justify-content-end {
   justify-content: flex-end;
}

.lh-25 {
   line-height: 2.5rem;
}

.del_pd {
   padding: 0 !important;
}
