/* bootstrap button */
.font-size-p {
  font-size: 0.875em !important;
}

/* bootstrap button */
.btn {
  white-space: normal;
}

/* z-index */
.z-index5 {
  z-index: 5;
}

/* datetimepicker design */
.dropdown-menu.bootstrap-datetimepicker-widget {
  opacity: 1;
  transform: scale(1);
}

.bootstrap-datetimepicker-widget table>thead>tr>th,
.bootstrap-datetimepicker-widget table>tbody>tr>th,
.bootstrap-datetimepicker-widget table>tfoot>tr>th,
.bootstrap-datetimepicker-widget table>thead>tr>td,
.bootstrap-datetimepicker-widget table>tbody>tr>td,
.bootstrap-datetimepicker-widget table>tfoot>tr>td {
  padding: .3rem;
}

.datepicker-days th.dow:first-child,
.datepicker-days td:first-child {
    color: #f00;
}

.datepicker-days th.dow:last-child,
.datepicker-days td:last-child {
    color: #00f;
}

.table .form-check .form-check-sign {
    top: 0;
}

.fc-sun {
    color: red;
    background-color: #fff0f0;
}
.fc-sat {
    color: blue;
    background-color: #f0f0ff;
}

/* Datatablesレイアウト調整 */
.dataTable .btn {
  margin: 1px;
}

.dtrg-level-1 td:first-child {
  padding-left: 1.5em !important;  
}

.dataTable .sorting_disabled {
  padding-right: 4px !important;
}

.dataTable .border-end {
  border-right: var(--bs-border-width) dashed var(--bs-border-color) !important;
}

table.dataTable.hover>tbody>tr.selected:hover>*,
table.dataTable.display>tbody>tr.selected:hover>* {
  box-shadow: inset 0 0 0 9999px #ffe69c !important;
  color: #3C4858 !important;
}

table.dataTable>tbody>tr.selected>* {
  box-shadow: inset 0 0 0 9999px #fff3cd !important;
  color: #3C4858 !important;
}

td.details-control {
  background: url('https://www.datatables.net/examples/resources/details_open.png') no-repeat center center;
  cursor: pointer;
}
tr.shown td.details-control {
  background: url('https://www.datatables.net/examples/resources/details_close.png') no-repeat center center;
}

/* card関連 */
/* アバター */
.card-profile .card-avatar {
  max-width: 150px;
  max-height: 100%;
  border-radius: 3px;
}

/* card-header-outline color設定 */
.card .card-header-outline-primary .card-icon,
.card .card-header-outline-primary .card-text,
.card .card-header-outline-primary:not(.card-header-icon):not(.card-header-text) {
  border-color: currentColor;
  border-style: solid;
  border-width: 1px;
  color: #9c27b0;
  background-color: transparent;
  border-color: #9c27b0;
  box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(156, 39, 176, 0.4);
}

.card .card-header-outline-secondary .card-icon,
.card .card-header-outline-secondary .card-text,
.card .card-header-outline-secondary:not(.card-header-icon):not(.card-header-text) {
  border-color: currentColor;
  border-style: solid;
  border-width: 1px;
  color: #333333;
  background-color: transparent;
  border-color: #333333;
  box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(156, 39, 176, 0.4);
}

.card .card-header-outline-info .card-icon,
.card .card-header-outline-info .card-text,
.card .card-header-outline-info:not(.card-header-icon):not(.card-header-text) {
  border-color: currentColor;
  border-style: solid;
  border-width: 1px;
  color: #00bcd4;
  background-color: transparent;
  border-color: #00bcd4;
  box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(156, 39, 176, 0.4);
}

.card .card-header-outline-success .card-icon,
.card .card-header-outline-success .card-text,
.card .card-header-outline-success:not(.card-header-icon):not(.card-header-text) {
  border-color: currentColor;
  border-style: solid;
  border-width: 1px;
  color: #4caf50;
  background-color: transparent;
  border-color: #4caf50;
  box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(156, 39, 176, 0.4);
}

.card .card-header-outline-warning .card-icon,
.card .card-header-outline-warning .card-text,
.card .card-header-outline-warning:not(.card-header-icon):not(.card-header-text) {
  border-color: currentColor;
  border-style: solid;
  border-width: 1px;
  color: #ff9800;
  background-color: transparent;
  border-color: #ff9800;
  box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(156, 39, 176, 0.4);
}

.card .card-header-outline-danger .card-icon,
.card .card-header-outline-danger .card-text,
.card .card-header-outline-danger:not(.card-header-icon):not(.card-header-text) {
  border-color: currentColor;
  border-style: solid;
  border-width: 1px;
  color: #f44336;
  background-color: transparent;
  border-color: #f44336;
  box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(156, 39, 176, 0.4);
}

.double-modal {
  top: 1%;
  left: 1%;
}

.btn.btn-outline, .btn.btn-outline-primary, .btn.btn-outline-secondary, .btn.btn-outline-info, .btn.btn-outline-success, .btn.btn-outline-warning, .btn.btn-outline-danger {
  border-color: currentColor;
  border-style: solid;
  border-width: 1px;
}

.btn.btn-outline-primary {
  color: #9c27b0;
  background-color: transparent;
  border-color: #9c27b0;
}

.btn.btn-outline-secondary {
  color: #333333;
  background-color: transparent;
  border-color: #333333;
}

.btn.btn-outline-info {
  color: #00bcd4;
  background-color: transparent;
  border-color: #00bcd4;
}

.btn.btn-outline-success {
  color: #4caf50;
  background-color: transparent;
  border-color: #4caf50;
}

.btn.btn-outline-warning {
  color: #ff9800;
  background-color: transparent;
  border-color: #ff9800;
}

.btn.btn-outline-danger {
  color: #f44336;
  background-color: transparent;
  border-color: #f44336;
}

/* モーダル最大サイズ追加 */
@media (min-width: 992px) {
  .modal-lg,
  .modal-xl {
    max-width: 800px;
  }
}

@media (min-width: 1200px) {
  .modal-xl {
    max-width: 1140px;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

.modal-dialog-fluid {
  max-width: inherit;
  width: 90%;
  margin-left: 5%;
}

/* スケジュール登録・編集時の現場テーブルの検索機能非表示 */
#fieldTable1_filter {
  display: none;
}
#fieldTable2_filter {
  display: none;
}
#fieldTable3_filter {
  display: none;
}

/* fullcalendarトグル */
#toggle button.off{
	opacity: 0.3;
}

/* 
.bs-searchbox .form-control{
  width: auto;
}
*/

/* fullcalendar全体縦幅 */
.fc-day-grid-event .fc-content {
  font-size: 1em !important;
  line-height: 1.6 !important;
}

/* モーダル最大サイズ追加 */
@media (min-width: 320px) {
  #object_pdf {
    height: 300px;
  }
}

@media (min-width: 576px) {
  #object_pdf {
    height: 400px;
  }
}

@media (min-width: 768px) {
  #object_pdf {
    height: 500px;
  }
}

@media (min-width: 992px) {
  #object_pdf {
    height: 800px;
  }
}

/* ローディング */
#overlay{ 
  position: fixed;
  top: 0;
  z-index: 1100;
  width: 100%;
  height:100%;
  background: rgba(0,0,0,0.7);
}

.loading {
  /* 画面最大 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  /* フレックスコンテナ（縦並べ、横中央、縦中央） */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* 表示を一番上 */
  z-index: 999;
  /* 選択付加 */
  user-select: none;
}

.load-text {
  color: white;
  font-size: 16pt;
}

.load-blink {
  animation: blink 1s linear infinite;
}

@keyframes blink {
  0%, 100% {
      opacity: 1;
  }
  50% {
      opacity: 0;
  }
}

.load-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 10px solid rgba(255, 255, 255, 0.5);
  border-top-color: rgba(255, 255, 255, 1);
  animation: rotate 1s linear infinite;
}

@keyframes rotate {
  to {
      transform: rotate(360deg);
  }
}

.load-absolute {
  position: absolute;
}

/* チュートリアル背景 */
.tour-backdrop {
  opacity: .5 !important;
}

/* pricingTable(プラン表関連) */
.pricingTable {
  text-align: center;
  background: #fff;
  margin: 0 -15px;
  box-shadow: 0 0 10px #ababab;
  padding-bottom: 40px;
  border-radius: 10px;
  color: #cad0de;
  transform: scale(1);
  transition: all .5s ease 0s
}

.pricingTable:hover {
  transform: scale(1.05);
  z-index: 1
}

.pricingTable .pricingTable-header {
  padding: 40px 0;
  background: #f5f6f9;
  border-radius: 10px 10px 50% 50%;
  transition: all .5s ease 0s
}

.pricingTable:hover .pricingTable-header {
  background: #ff9624
}

.pricingTable .pricingTable-header i {
  font-size: 50px;
  color: #858c9a;
  margin-bottom: 10px;
  transition: all .5s ease 0s
}

.pricingTable .price-value {
  font-size: 35px;
  color: #ff9624;
  transition: all .5s ease 0s
}

.pricingTable .month {
  display: block;
  font-size: 14px;
  color: #ff9624
}

.pricingTable:hover .month,
.pricingTable:hover .price-value,
.pricingTable:hover .pricingTable-header i {
  color: #fff
}

.pricingTable .heading {
  font-size: 24px;
  color: #ff9624;
  margin-bottom: 20px;
  text-transform: uppercase
}

.pricingTable .pricing-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px
}

.pricingTable .pricing-content ul li {
  line-height: 30px;
  color: #6c757d
}

.pricingTable .pricingTable-signup a {
  display: inline-block;
  font-size: 15px;
  color: #fff;
  padding: 10px 35px;
  border-radius: 20px;
  background: #ffa442;
  text-transform: uppercase;
  transition: all .3s ease 0s
}

.pricingTable .pricingTable-signup a:hover {
  box-shadow: 0 0 10px #ffa442
}

.pricingTable.blue .heading,
.pricingTable.blue .price-value,
.pricingTable.blue .month  {
  color: #4b64ff
}

.pricingTable.blue .pricingTable-signup a,
.pricingTable.blue:hover .pricingTable-header {
  background: #4b64ff
}

.pricingTable.blue .pricingTable-signup a:hover {
  box-shadow: 0 0 10px #4b64ff
}

.pricingTable.red .heading,
.pricingTable.red .price-value,
.pricingTable.red .month {
    color: #ff4b4b
}

.pricingTable.red .pricingTable-signup a,
.pricingTable.red:hover .pricingTable-header {
  background: #ff4b4b
}

.pricingTable.red .pricingTable-signup a:hover {
  box-shadow: 0 0 10px #ff4b4b
}

.pricingTable.green .heading,
.pricingTable.green .price-value,
.pricingTable.green .month {
    color: #40c952
}

.pricingTable.green .pricingTable-signup a,
.pricingTable.green:hover .pricingTable-header {
  background: #40c952
}

.pricingTable.green .pricingTable-signup a:hover {
  box-shadow: 0 0 10px #40c952
}

.pricingTable.blue:hover .price-value,
.pricingTable.green:hover .price-value,
.pricingTable.red:hover .price-value {
  color: #fff
}

@media screen and (max-width:990px) {
  .pricingTable {
      margin: 0 0 20px
  }
}

/* bootstrap5 グリッドxxl */
.col-xxl-1, .col-xxl-2, .col-xxl-3, .col-xxl-4, .col-xxl-5, .col-xxl-6, .col-xxl-7, .col-xxl-8, .col-xxl-9, .col-xxl-10, .col-xxl-11, .col-xxl-12, .col-xxl, .col-xxl-auto {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 1400px) {
  .col-xxl {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
  }

  .col-xxl-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }

  .col-xxl-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }

  .col-xxl-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }

  .col-xxl-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-xxl-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-xxl-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }

  .col-xxl-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-xxl-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }

  .col-xxl-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }

  .col-xxl-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }

  .col-xxl-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }

  .col-xxl-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }

  .col-xxl-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* bootstrap5 モーダル */
.modal {
  overscroll-behavior-y: contain;
}

/* スケジュール予定・手配管理 チーム用ネスト調整 */
#arrange-team-tobe-nested:empty {
  padding: 20px;
  margin-left: 15px;
  margin-right: 15px;
  background: pink;
}

/* offcanvas対応 */
@media screen and (max-width:992px) {
  .offcanvas{
    width: 200px;
  }
}

@media screen and (min-width:992px) {
  .offcanvas{
    width: 300px;
  }
}

.offcanvas {
  visibility: visible !important;
}

.z-index2000 {
  z-index: 2000;
}

.offcanvas .dropdown .dropdown-menu {
  background: #ffffff !important;
}

/* google map対応 */
#google-maps {
  width: 100%;
  height: 70vh;
}

/* スマホ版メニュー対応 */
@media (max-width: 991px) {
  .sidebar, .off-canvas-sidebar nav .navbar-collapse {
      height: 110vh !important;
  }
}

@media (max-width: 991px) {
  .sidebar .sidebar-wrapper {
      padding-bottom: 250px !important;
  }
}

.sidebar .sidebar-wrapper {
  overflow: scroll !important;
}
