body {
  font-family: "Noto Sans JP", sans-serif !important;
}
.content-header h1 {
  font-size: 20px !important;
  font-weight: bold;
}
.main-header {
  background-image: url(../img/header_bg.png);
  background-size: cover;
}
.main-footer {
  background: #F4F6F9;
  border-top: none;
  font-size: 12px;
}
.main-footer a {
  color: #869099;
  text-decoration: underline;
}
.navbar-light .navbar-nav .nav-link {
  color: #fff;
}
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
  color: #fff;
}
[class*=sidebar-dark-] {
  background: #000225;
}
[class*=sidebar-dark] .brand-link {
  border-bottom: none;
}
.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active, .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
  background: #ffffff50;
}
.search-content {
  margin-bottom: 10px;
}
.search-content .search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 1.25rem;
}
.font-small {
    font-size: .8rem;
  }
.modal-dialog-large {
    max-width: inherit;
    max-width: 800px;
}
.info-box .info-box-icon>img {
  width: 100%;
  /* height: 100%; */
  height: 70px;
  object-fit: cover;
  border-radius: 3px;
}
.upload-items .info-box {
  border: 1px solid #eee;
  box-shadow: none;
}
.upload-items .info-box .info-box-content {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.modal-image-view {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  background: #ccc;
}

.loader {
  width: 32px;
  height: 32px;
  position: relative;
  border-radius: 50%;
  color: #FF3D00;
  animation: fill 1s ease-in infinite alternate;
}
.loader::before , .loader::after {
  content: '';
  position: relative;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  left: 48px;
  top: 0;
  animation: fill 0.9s ease-in infinite alternate;
}

.loader::after {
  left: auto;
  right: 48px;
  animation-duration: 1.1s;
}

@keyframes fill {
 0% {  box-shadow: 0 0 0 2px inset }
 100%{ box-shadow: 0 0 0 10px inset }
}

.details-wrapper {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3; 
  -webkit-box-orient: vertical;
}

.expanded {
  -webkit-line-clamp: unset;
}
.see-more-button{
  cursor: pointer;
  font-size: 0.8rem;
  margin-top:10px;
  margin-bottom:10px;
}

.select2-container--bootstrap4 .select2-selection__clear {
  color: #000 !important;
  background-color: transparent !important;
}

.select2-container--bootstrap4 .select2-selection__clear:hover{
  color: #444 !important;
  transform: scale(1.1) !important; /* Zoom effect: Increase the size by 10% */
  transition: transform 0.2s ease !important; /* Add transition effect for smooth animation */
}


@media (max-width: 575.98px) {
  table.table td:not(:first-child),
  table.table th:not(:first-child) {
    min-width: 140px;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  tbody td:last-child a {
    margin-top: 5px;
  }
}


.dropzone {
  background: #f2f2f2;
  border-radius: 5px;
  border: 2px dashed #6c757d !important;
  border-image: none;
  width: 100%;
  min-height: 250px !important;
  margin-left: auto;
  margin-right: auto;
}
.dz-message{
  margin-top: 4.5rem !important;
}
.dz-filename{
  overflow:scroll;
}

.border-3 {
  border-width:3px !important;
}

#requestPermissionButton {
  position: fixed;
  bottom: 20px;
  left: 50%;
  background-color: #007bff;
  color: #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  position: relative;
}

.tooltip-text {
  visibility: hidden;
  width: 150px;
  background-color: black;
  color: white;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px; /* Adjust this value to center the tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

#requestPermissionButton:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}
.block-style tbody,
.block-style tbody tr,
.block-style tbody td {
  display: block;
  border: none;
  padding: 0;
}
.block-style thead {
  display: none;
}
.block-style tbody {
  display: flex;
  flex-wrap: wrap;
  padding: 2%;
}
.block-style .td3,
.block-style .td4,
.block-style .td5 {
  display: none !important;
}
.block-style tbody tr {
  border: 1px solid #ccc;
  width: 18%;
  aspect-ratio: 5 / 3;
  border-radius: 10px;
  margin: 1%;
  position: relative;
  overflow: hidden;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
}
.block-style .block-none {
  display: none;
}
.block-style tbody tr .td2 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 10px;
  cursor: pointer;
  max-width: none;
}
.card-thumb {
  width: 60px;
  height: 60px;
  object-fit: contain;
  cursor:pointer
}
.block-style tbody tr .card-thumb {
  width: 100%;
  height: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}
.card-body.p-0 .block-style.table tbody>tr>td:first-of-type {
  padding: 0 !important;
}
.chang-view-type button.active {
  background: #e9ecef;
}

.editor-block .input-block label {
  font-size: 12px;
}
.select-person {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.select-person .select2-container {
  width: calc( 100% - 100px ) !important;
}
.select-person .self-assign {
  width: 90px;
}
@media screen and (max-width: 1600px) {
  .block-style tbody tr {
    width: 23%;
  }
}@media screen and (max-width: 1300px) {
  .block-style tbody tr {
    width: 31.333%;
  }
}
@media screen and (max-width: 900px) {
  .block-style tbody tr {
    width: 48%;
  }
}
@media screen and (max-width: 575px) {
  html,body {
    font-size: 15px;
  }
  .row {
    padding: 0 !important;
    margin: 0 !important;
  }
  .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    padding: 0 !important;
    margin: 0 !important;
  }
  .content-wrapper {
    background: #fff;
  }
  .content-wrapper > .content, .container-fluid {
    padding: 0;
  }
  .block-style tbody tr {
    width: 100%;
  }
  .card {
    box-shadow: none;
    border-top: 1px solid #ccc;
    border-radius: 0;
  }
  table.table td:not(:first-child), table.table th:not(:first-child) {
    max-width: none;
  }
  .client-table:not(.block-style) {
    padding: 0 !important;
    margin: 0;
  }
  .client-table:not(.block-style) tr,
  .client-table:not(.block-style) td {
    display: block;
    width: 100%;
    padding: 5px !important;
    border: none;
  }
  .client-table:not(.block-style) thead {
    display: none;
  }
  .client-table:not(.block-style) td .block-none {
    display: none;
  }
  .client-table:not(.block-style) tr {
    position: relative;
    border-bottom: 5px solid rgba(0,0,0,.03);
    padding-bottom: 30px !important;
  }
  .client-table:not(.block-style) td.td1 {
    position: absolute;
    top: 20px;
    left: 5px;
    width: auto;
  }
  .client-table:not(.block-style) td.td1 .card-thumb {
    background: #eee;
  }
  .client-table:not(.block-style) td.td2 {
    padding-left: 80px !important;
    padding-top: 30px !important;
    padding-bottom: 20px !important;
    min-height: 85px;
  }
  .client-table:not(.block-style) td.td3,
  .client-table:not(.block-style) td.td4 {
    display: none;
  }
  .search-content {
    margin-bottom: 0;
  }
  .card-header {
    padding: 10px !important;
  }
  .search-content .search-header {
    padding: 10px;
  }
  .editor-block .card-header {
    padding: 0 !important;
  }
  .editor-block .card-body {
    padding: 0;
  }
  .editor-block .note-toolbar {
    display: flex;
    padding: 2px 5px 5px 5px !important;
    flex-wrap: wrap;
  }
  .editor-block .input-group.input-task-title {
    padding: 10px 5px 0;
  }
  .editor-block [name=title] {
    border: none;
    background: #eee;
  }
  .editor-block .input-block {
    padding: 10px;
  }
  .editor-block .col-sm-6 {
    margin-bottom: 10px !important;
  }
  .history-block .card-body {
    padding-left: 0;
    padding-right: 0;
  }
  .customer-sidebar {
    padding: 10px 10px 30px;
  }
  .customer-sidebar .search-header {
    background: #6c757d;
    border-radius: 5px;
    color: #fff;
  }
  .customer-sidebar .card-body {
    padding-left: 0;
    padding-right: 0;
  }
}
