@import url("https://fonts.googleapis.com/css?family=Roboto:400,400i,500,500i,700,700i&display=swap");
.chat-content,
.table-bordered td {
  word-break: break-all;
}
.chat-application .chat-app-form,
.chat-application .chat-app-window,
.chat-application .chat-name {
  margin-left: 0px;
}
.chat-date {
  background: none !important;
  font-style: italic;
  padding-top: 0px !important;
}
.chat-date p {
  font-size: 12px;
  color: #333 !important;
}
.chat.chat-right {
  float: right;
  clear: both;
}
.chat.chat-left {
  float: left;
  clear: both;
}
.select2-container {
  display: block !important;
  min-width: 100% !important;
}
.select2-container--default .select2-selection--single {
  padding: 5px 10px;
  height: auto !important;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 7px !important;
}

/*custom color css*/
a {
  color: #167495;
}
.gradient-indigo-purple {
  background-image: none;
  background-color: #fff;
}
.btn-info,
.page-item.active .page-link,
.btn-success,
.btn-primary {
  background-color: #20a8d8;
  border-color: #20a8d8;
}
.btn-info:hover,
.btn-success:hover,
.btn-primary:hover {
  background-color: #167495;
  border-color: #167495;
}
.btn-outline-info {
  border-color: #20a8d8;
  color: #20a8d8;
}
.btn-outline-info:hover {
  border-color: #167495;
  color: #167495;
}
.success {
  color: #20a8d8 !important;
}
.bg-success {
  background-color: #20a8d8 !important;
}
.app-sidebar .navigation li > a::before,
.off-canvas-sidebar .navigation li > a::before {
  border-right-color: #20a8d8;
}
.border-primary {
  border-color: #20a8d8 !important;
}
.custom-radio .custom-control-input:checked ~ .custom-control-label::before,
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
  background-color: #20a8d8;
}
.alert-success {
  background-color: #20a8d8 !important;
  border-color: #20a8d8 !important;
  color: #fff !important;
}
td .btn.btn-primary {
  margin-right: 5px;
}
.chat-application .chats .chat-body .chat-content {
  background-color: #20a8d8;
  color: #fff;
}
.chat-application .chats .chat-body .chat-content::before {
  border-left-color: #20a8d8;
}
.badge {
  background-color: green !important;
  color: #fff;
}
.swal2-modal .swal2-confirm {
  background-color: #20a8d8 !important;
  border-color: #20a8d8 !important;
  color: #fff !important;
}
.app-sidebar[data-background-color="white"],
.off-canvas-sidebar[data-background-color="white"] {
  background-color: #fff !important;
  color: #333 !important;
  box-shadow: 5px 0px 16px 0px rgba(0, 0, 0, 0.1),
    0 16px 32px 0 rgba(0, 0, 0, 0.06);
}
.app-sidebar[data-background-color="white"] .sidebar-background::after,
.off-canvas-sidebar[data-background-color="white"] .sidebar-background::after {
  background-color: #fff !important;
  color: #333 !important;
}
.app-sidebar[data-background-color="white"] .navigation li a,
.off-canvas-sidebar[data-background-color="white"] .navigation li a {
  color: rgba(0, 0, 0, 0.7) !important;
}
.app-sidebar[data-background-color="white"] .navigation i,
.off-canvas-sidebar[data-background-color="white"] .navigation i {
  color: rgba(0, 0, 0, 0.7) !important;
}
.app-sidebar[data-background-color="white"] .navigation li > a,
.off-canvas-sidebar[data-background-color="white"] .navigation li > a {
  color: rgba(0, 0, 0, 0.7) !important;
}
.app-sidebar[data-background-color="white"] .navigation li:hover > a i,
.app-sidebar[data-background-color="white"] .navigation li:hover > a,
.app-sidebar[data-background-color="white"] .navigation li.active > a,
.off-canvas-sidebar[data-background-color="white"] .navigation li.active > a {
  color: rgba(0, 0, 0, 1) !important;
}
.ps-container > .ps-scrollbar-y-rail > .ps-scrollbar-y {
  background-color: #fff;
}
.off-canvas-sidebar[data-background-color="white"] .logo-text {
  color: #333;
}
.app-sidebar .logo,
.off-canvas-sidebar .logo {
  background-color: #fff;
  color: #333;
}
.app-sidebar .logo-img,
.off-canvas-sidebar .logo-img {
  width: 100%;
  max-height: initial;
}
.logo-img img {
  width: 100%;
}

/* by himansu*/
.truncated {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iphone_bg {
  background-image: url(../img/iphone_overlay.png);
  background-size: 302px 600px;
  background-repeat: no-repeat;
  background-position: center top;
}

.iphone_sms {
  width: 263px;
  margin-left: auto;
  margin-right: auto;
  height: 592px;
  padding-top: 68px;
  padding-bottom: 65px;
  overflow: hidden;
  overflow-y: auto;
}

.chat-item .chat-body {
  position: relative;
  margin-left: 45px;
  min-height: 30px;
}
.iphone_sms .panel-heading {
  line-height: 48px;
  background: #f1f1f1;
  border-bottom: 1px solid #ddd;
}
.iphone_sms .panel-heading .h_left {
  padding-left: 5px;
  font-size: 13px;
  font-weight: bold;
}
.iphone_sms .panel-heading .h_left .fa {
  padding-right: 2px;
  font-size: 20px;
  position: relative;
  top: 2px;
}
.iphone_sms .panel-heading .centered {
  font-weight: 600;
}
.chat-list .chat-item .chat-body {
  background: #2095fe;
  color: #fff;
  margin: 15px 15px 15px 25px;
  border-radius: 10px;
  padding: 10px;
  word-break: break-all;
}
.btn.preview-btn {
  color: #fff;
}
.btn.preview-btn span {
  display: inline-block;
  position: relative;
  top: -5px;
  padding-left: 5px;
}
.btn.preview-btn .fa {
  font-size: 30px;
}
/*END*/

.card-footer {
  background-color: transparent;
}
.card-header {
  border-bottom: 0px;
}

a {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}
body {
  background-color: #dadada;
  font-family: "Roboto", sans-serif;
}
.app-sidebar,
.off-canvas-sidebar {
  font-family: "Roboto", sans-serif;
}
.app-sidebar .sidebar-content,
.off-canvas-sidebar .sidebar-content {
  height: 100vh;
}
.app-sidebar .navigation li > a,
.off-canvas-sidebar .navigation li > a {
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 14px;
}
.logo a {
  display: block;
}
.logo a img {
  max-width: 300px;
  max-height: 40px;
}
#servertime {
  line-height: 45px;
  display: block;
}
.navbar {
  left: 280px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}
table.dataTable {
  width: 100% !important;
}
/* .btn-back{
  margin-left: 280px;
  margin-bottom: 0px !important;
} */
.dataTables_wrapper.container-fluid {
  padding-left: 0px;
  padding-right: 0px;
}
.dataTables_wrapper .table-bordered th,
.dataTables_wrapper .table-bordered td,
.dataTables_wrapper .table-bordered thead th,
.dataTables_wrapper .table-bordered thead td {
  border: none;
}
@media (min-width: 992px) {
  .navbar .navbar-header {
    padding-left: 0px;
  }
}

.toast-container.toast-top-full-width > div {
  width: 50%;
}

nav.navbar.navbar-expand-lg {
  right: 30px;
}
@media (max-width: 767px) {
  nav.navbar.navbar-expand-lg {
    right: auto;
    width: 100%;
  }
  .navbar {
    left: auto;
  }
}

.badge-danger {
  background-color: red !important;
  color: #fff;
}

.tab-content-title {
  font-size: 24px;
  font-weight: bold;
  color: #ff6600;
  /* Orange color, you can change it to your desired color */
  /*text-transform: uppercase;*/
  margin-bottom: 10px;
  border-bottom: 2px solid #ff6600;
  /* Underline effect */
  padding-bottom: 5px;
  text-align: center;
}

.colored-box {
  display: inline-block;
  padding: 3px;
  /* Adjust padding as needed */
  margin: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
  /* Rounded corners */
  background-color: rgb(
    <?php echo rand(0, 255) . "," . rand(0, 255) . "," . rand(0, 255) ; ?>
  );
  color: #fff;
  /* Text color for better contrast */
}

.bordered-row {
  border: 2px solid #ddd;
  border-radius: 10px;
  /* Rounded corners for the row border */
  padding: 10px;
  /* Adjust padding as needed */
  margin: 10px 0;
  /* Adjust margin as needed */
}

.dx-pivotgrid .dx-pivotgrid-horizontal-headers td,
.dx-pivotgrid .dx-pivotgrid-vertical-headers td {
  font-weight: bold !important; /* Ensures this styling has priority for both row and column headers */
}

.dxc-tooltip {
  z-index: 1055; /* Adjust this value as necessary, should be higher than Bootstrap modal z-index */
}

.table-container input[type="text"] {
  width: 100%;
  min-width: 150px; /* Ensures a minimum width */
  padding: 5px 10px; /* Adds padding for better visibility */
  font-size: 14px; /* Adjust font size */
  border: 1px solid #ccc; /* Standard border for better appearance */
  border-radius: 4px; /* Adds rounded corners */
  box-sizing: border-box; /* Ensures the input fits well within the cell */
}

p.form-control {
  min-height: 38px;
}

.special-chart {
  /*max-width: 650px;*/
  max-width: 85%;
  margin: 35px auto;
}

/* Default Bootstrap modal width settings */
.large-modal {
  width: 100%;
  max-width: 100%; /* Set a maximum width */
}

@media (min-width: 1200px) {
  /* Large screens (Desktops) */
  .large-modal {
    max-width: 95%; /* Reduce max-width for very large screens */
  }
}

@media (max-width: 991px) {
  /* Medium screens (Tablets) */
  .large-modal {
    max-width: 95%; /* Slightly smaller than on desktops */
  }
}

@media (max-width: 767px) {
  /* Small screens (Mobile) */
  .large-modal {
    max-width: 100%; /* Full width on mobile */
    margin: 10px auto;
  }
}

/* Ensure modal is scrollable if content overflows */
.large-modal .modal-content {
  max-height: 95vh; /* Prevents overflowing off screen */
  overflow-y: auto;
  padding: 15px; /* Reduce padding for better fit */
}

/* Ensure the second modal appears above the first */
#point_user_document_modal {
  z-index: 1055 !important;
}

/* Ensure the new backdrop is above the first modal */
.second-backdrop {
  z-index: 1050 !important;
}
#point_user_document_table_body tr {
  line-height: 1; /* Reduce space between rows */
}

#point_user_document_table_body td {
  padding: 5px; /* Reduce cell padding for a tighter layout */
}

.nav-tabs .nav-link {
  background-color: rgb(242, 235, 235);
  color: black;
  border-color: rgb(242, 235, 235);
  border-radius: 5px 5px 0 0;
  font-weight: normal;

  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 12px;
  padding-right: 12px;
  font-size: 14px;
  line-height: 1.2;
}

.nav-tabs .nav-link:hover {
  background-color: lightgray; /* Hover color for tabs */
  color: black !important; /* White text on hover for better contrast */
}

.nav-tabs .nav-link.active {
  background-color: rgb(188, 190, 55); /* Background color for active tab */
  color: white !important; /* Force white text color on active tab */
  border-color: grey; /* Match active background color */
  border-bottom-color: transparent; /* Remove border at the bottom for active tab */
  border-radius: 5px 5px 0 0 !important; /* Match rounding on active tabs */
  font-weight: bold; /* Make active tab title bold for better visibility */
  /*border: 1px solid grey !important;*/
}
.mx-small {
  margin-left: 2px !important; /* Adjust this value as needed */
  margin-right: 2px !important;
}
.tab-content {
  border: 1px solid lightgrey; /* Optional: Border around the tab content */
  padding: 10px; /* Add some padding for better appearance */
  background-color: white; /* Ensure content is on a white background */
}

.dx-header-row .dx-datagrid-text-content {
  font-weight: bold;
}
