@charset 'UTF-8';

.element-item {
  width: 200px;
  margin: 5px;
}

.btn-dakoku {
  padding: 20px 10px;
  font-size: 2em;
  font-weight: 700;
  height: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.btn-dakoku small {
  display: block;
  font-size: 0.5em;
}
.btn-wait {
  background-color: #ddd;
}

.app-sidebar .sidebar-nav .sidebar-nav-header {
  font-size: 0.785em;
  color: #aaa;
  margin-bottom: 0;
}

#sortable-list {
  margin: 0;
  padding: 0;
}
#sortable-list li {
  padding: 5px 10px;
  color: #505050;
  cursor: move;
  list-style: none;
  background: #ffffdd;
  margin: 10px 0;
  border: 1px solid #d7d7d7;
}
#sortable-list li strong {
  width: 300px;
  display: inline-block;
}

.bd-example-row .row > .col,
.bd-example-row .row > [class^="col-"] {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  background-color: rgba(86, 61, 124, 0.15);
  border: 1px solid rgba(86, 61, 124, 0.2);
}

.page-sign .container-sign .card .card-header img {
  margin: 2rem 0;
  width: 100%;
}

.app-sidebar .admin-side-header {
  background-color: #440044;
}

.app-sidebar .manager-side-header {
  background-color: #2e8cc2;
}

.app-sidebar .parents-side-header {
  background-color: rgb(228, 105, 125);
}

.app-sidebar .sidebar-header img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.required:after {
  color: white;
  content: "必須";
  font-size: 0.6em;
  background-color: #e95644;
  border-radius: 0.15rem;
  margin-left: 7px;
  padding: 2px 5px;
  font-weight: normal;
}

/* .dataTables_scroll {
  border: 1px solid #eee;
  background-color: #f7f7f7;
} */

.child_label {
  position: absolute;
  display: inline;
  top: 3px;
  left: 5px;
  padding: 0;
}

.user-table {
  border-bottom: 1px solid #dee2e6;
}
.user-table th {
  background-color: #f7f7f7;
  vertical-align: middle;
  width: 20%;
  text-align: center;
}
.user-table-bordered th {
  white-space: nowrap;
  width: 25%;
}
.user-table-bordered th,
.user-table-bordered td {
  border: 1px solid #dee2e6;
}

.sp-user-table {
  border-bottom: 1px solid #dee2e6;
}
.sp-user-table th {
  display: block;
  border-left: 1px solid #dee2e6;
  border-right: 1px solid #dee2e6;
}
.sp-user-table td {
  display: block;
  border-left: 1px solid #dee2e6;
  border-right: 1px solid #dee2e6;
}
.sp-user-table-bordered th {
  white-space: nowrap;
}
.sp-user-table-bordered th,
.sp-user-table-bordered td {
  border: 1px solid #dee2e6;
}

.chat .chat-messages .message-sent .chat-avatar,
.chat .chat-messages .message-reply .chat-avatar {
  max-height: 4rem;
  max-width: 4rem;
}

.table-th-auto-size {
  width: 25%;
}

.btn-user {
  border: 2px solid #2e8cc2;
  background-color: #fff;
  padding: 20px 10px;
  border-radius: 0.8rem;
  color: #2e8cc2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 10px;
  margin-bottom: 10px;
}
.btn-user:hover {
  background-color: #fffdf4;
  color: #095f90;
}
.btn-user i {
  display: block;
  font-size: 50px;
  margin-bottom: 5px;
}

.btn-user-parents {
  border: 2px solid #e4697d;
  background-color: #fff;
  padding: 20px 10px;
  border-radius: 0.8rem;
  color: #e4697d;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 10px;
  margin-bottom: 10px;
}
.btn-user-parents:hover {
  background-color: #fffdf4;
  color: #bd4c5f;
}
.btn-user-parents i {
  display: block;
  font-size: 50px;
  margin-bottom: 5px;
}

.tp-icon {
  position: absolute;
  font-size: 15x;
  font-weight: normal;
  right: 4px;
  top: -10px;
  color: white;
  background-color: #d9534f;
  border-radius: 100px;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  padding: 5px 13px;
  border: 3px solid #fff;
  box-shadow: 1px 1px 1px silver;
  -moz-box-shadow: 1px 1px 1px silver;
  -webkit-box-shadow: 1px 1px 1px silver;
}

/***** ↓smartphone chrome用 *****/
@media (max-width: 640px) {
  .element-item {
    width: 96%;
    margin: 5px;
    font-size: 0.8em;
  }
  .btn-dakoku {
    padding: 8px;
    font-size: 1.5em;
    height: 70px;
  }

  .user-table th {
    display: block;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    width: 100%;
    text-align: left;
  }
  .user-table td {
    display: block;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
  }

  .dataTables_length {
    display: none;
  }
  .btn-profile-title {
    font-size: 16px;
  }
  .table-th-auto-size {
    width: 100%;
  }
  .btn-sm-block {
    width: 100%;
    display: block;
  }
  .min-phone {
    display: none;
  }

  .btn-user {
    text-align: left;
    padding: 20px 25px;
    border-radius: 0.25rem;
    margin: 5px 0;
  }
  .btn-user:hover {
    background-color: #bbe6ff;
    color: #095f90;
  }
  .btn-user i {
    display: inline-block;
    width: 28px;
    font-size: 20px;
    margin: 0;
  }

  .btn-user-parents {
    text-align: left;
    padding: 20px 25px;
    border-radius: 0.25rem;
    margin: 5px 0;
  }
  .btn-user-parents:hover {
    background-color: #fdf6f8;
    color: #bd4c5f;
  }
  .btn-user-parents i {
    display: inline-block;
    width: 28px;
    font-size: 20px;
    margin: 0;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  .t-min-phone {
    display: none;
  }
}

@media all and (-ms-high-contrast: none) {
  .page-sign .container-sign .card .card-body .form-control {
    padding: 0.5rem 0.5rem;
  }
  .page-sign {
    margin-top: 20px;
    display: block;
    overflow-y: visible;
  }
  .app .app-sidebar {
    transition: width 0s;
  }

  /* .page-sign .container-sign .card .card-header {
    height: 200px;
  } */
}


/* PDF用のCSS */
.print-table-bordered th {
  white-space: nowrap;
  font-weight: normal;
}
.print-table-bordered th,
.print-table-bordered td {
  border: 1px solid #dee2e6;
  padding: 5px;
}

@media print {
  .pdf-border { border: 1px solid #777; }
  .pdf-border-bottom-4 { border-bottom: 4px solid #777; }

  .print-table-bordered th {
      white-space: nowrap;
      background-color: #eee !important; -webkit-print-color-adjust:exact;
  }
  .print-table-bordered th,
  .print-table-bordered td {
      border: 1px solid #777;
  }
}