img {
  max-width:100%;
}
/*
.bd-main {
  overflow-x:hidden;
}
*/
.bd-gutter {
  --bs-gutter-x: 3rem;
}
.bd-sidebar {
  grid-area: sidebar;
}
.bd-links-link {
  color: var(--bs-body-color);
  text-decoration: none;
}
.bd-links-link:hover {
  font-weight: 600;
  color: var(--bs-emphasis-color);
  background-color: var(--bd-sidebar-link-bg);
}
.form-floating > .form-select {
  min-width:9rem;
}
.ruikata-item:hover {
  background-color:#f9f9f9;
}

#chat-modal #chat-message-area {
  height:350px;
  max-height:100%;
  background-color:#fff;
  overflow-y: scroll;
  padding: 0 10px 10px 8px;
  position:relative;
  display: flex;
  flex-direction: column-reverse;
}
#chat-modal .message-item {
  display:inline-block;
  margin-top:.6rem;
  border-radius:13px;
  padding:.3rem .6rem;
  position:relative;
  max-width:80%;
}
#chat-modal .message-item-left {
  justify-content: flex-start;
  background-color:#ccc;
}
#chat-modal .message-item-left:before {
  right: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-right-color: #ccc;
  margin-top: -6px;
}
#chat-modal .message-item-right {
  justify-content: flex-end;
  background-color:#ffcd46;
}
#chat-modal .message-item-right:after {
  left: 100%;
  top: 50%;
  border-top: 2px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 7px solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-left-color: #ffcd46;
  margin-top: -6px;
}
#chat-modal .message-date-time {
  display:inline-block;
  color:#ccc;
  font-size:10px;
  line-height: 13px;
  padding: 0 0.3rem;
  vertical-align: middle;
}
#chat-modal .message-icon {
  width:20px;
  height:20px;
  object-fit:cover;
  border-radius:50%;
}
#chat-modal .message-text {
  margin:0;
  white-space:pre-line;
  text-align: left;
  word-break: break-all;
}
.suggest-list {
  width: 90%;
  max-height: 300px;
  overflow-y: scroll;
  position: absolute;
  top: 3.5rem;
  z-index: 10;
  left: 0;
  background-color:#fff;
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
}
.suggest-item:hover {
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
}
.city-name-item:hover,
.town-name-item:hover {
  background-color:#fcfcfc;
}
.back-lay {
  position:fixed;
  top:0;
  left:0;
  width:100vw;
  height:100vh;
  z-index:-1;
}
.outer-color-list-wrap {
  height:400px;
  overflow-y:scroll;
}
.table {
  table-layout:fixed;
}
input.form-control[readonly] {
  background-color: var(--bs-secondary-bg);
  opacity: 1;
}
.car-image {
  width:200px;
  height:auto;
  max-width:100%;
  user-select: none;
}
.car-image img {
  max-height:100px;
}
.delete-car-image,
.delete-slip-image {
  position:absolute;
  top:0;
  right:0;
  font-size: 20px;
  line-height:20px;
  width: 25px;
  height: 25px;
  text-align: center;
  background-color:#fff;
  border:2px solid var(--bs-dark);
  border-radius:50%;
}
#car-images-preview {
  width:1px;
  height:1px;
  visibility:hidden;
}
.main-menu-bottom {
  position:absolute;
  bottom:1rem;
  width:calc(100% - 2rem);
}
.drop-area {
  position:relative;
}
.arrow {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 30%;
  cursor: pointer;
  box-shadow:0 0 3px #ccc;
}
.arrow--left {
  left: 9px;
}
.arrow--right {
  right: 9px;
}
.arrow svg {
  fill:#fff;
}
.grab-target {
  width:50px;
  padding:1rem;
  cursor: grab;
}
.grab-target svg {
  width:30px;
}
.draggable {
  display: flex;
  align-items: center;
  padding: 10px;
  margin: 5px;
  background-color: #f2f2f2;
  border: 1px solid #ddd;
}
.drag-handle {
  cursor: grab;
  margin-right: 10px;
}
.dragging {
  opacity: 0.5;
}
.placeholder {
  height: 40px;
  width:200px;
  margin: 5px;
  border: 1px dashed #aaa;
}
.car-item-img {
  width:100%;
  max-height:250px;
  object-fit:cover;
}
.page-link {
  padding:0.5rem 0.6rem;
}
.w-5 {
  width:5% !important;
}
.w-10 {
  width:10% !important;
}
.w-15 {
  width:15% !important;
}
.w-20 {
  width:20% !important;
}
.w-25 {
  width:25%;
}
.w-30 {
  width:30% !important;
}
.w-33 {
  width:calc(100% / 3)!important;
}
.w-35 {
  width:35% !important;
}
.w-40 {
  width:40% !important;
}
.w-45 {
  width:45% !important;
}
.w-55 {
  width:55% !important;
}
.w-60 {
  width:60% !important;
}
.w-65 {
  width:65% !important;
}
.w-70 {
  width:70% !important;
}
.w-80 {
  width:80% !important;
}
.w-85 {
  width:85% !important;
}
.w-90 {
  width:90% !important;
}
.w-95 {
  width:95% !important;
}
.d-relative {
  position:relative;
}








@media (min-width: 992px) {
  .bd-layout {
    display: grid;
    grid-template-areas: "sidebar main";
    grid-template-columns: 1fr 5fr;
    gap: 1rem;
  }
  .bd-sidebar {
    position: -webkit-sticky;
    position: sticky;
    width:200px;
    top: 3.5rem;
    display: block !important;
    height: calc(100vh - 4rem);
    padding-left: 0.25rem;
    margin-left: -0.25rem;
    overflow-y: auto;
  }
  .bd-main {
    width:calc(100vw - 240px);
    grid-template-areas: "intro toc" "content toc";
    grid-template-rows: auto 1fr;
    grid-template-columns: 4fr 1fr;
  }
  .main-menu-bottom {
    width:calc(100% - 1rem);
  }
  .page-link {
    padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
  }
}
