.app-header {
  background: #f2f2f2 !important;
}

table.dataTable tbody th,
table.dataTable tbody td {
  padding: 8px 10px 8px 18px !important;
}
.textLeft {
  text-align: left;
}

table.dataTable tbody > tr.selected,
table.dataTable tbody > tr > .selected {
  background-color: #0fabf4 !important;
}
table.dataTable thead th {
  border-bottom: 1px solid #efefef !important;
}
.form-group span {
  color: initial;
}
.btn-group {
  margin-bottom: 5px !important;
}
input:disabled,
select:disabled {
  background: #dbdfe1 !important;
}
::placeholder {
  color: rgba(0, 0, 0, 0.4) !important;
}
.alert {
  text-align: center !important;
}
.rolePermissions {
  width: 18px !important;
  height: 18px !important;
  margin-right: 8px;
  position: relative;
  top: 3px !important;
}
#editpermissionIds label {
  display: inline-block;
  position: relative;
  top: -15px;
  left: 25px;
}
#editpermissionIds input {
  display: flex;
}
#loginFormComponent input[type="password"] {
  margin-top: 15px !important;
}
#loginFormComponent button {
  margin-top: 30px;
  width: 100%;
}
#searchbtnval button {
  position: relative;
  top: 30px !important;
}
#searchbtnvalTerm {
  text-align: right !important;
}
#searchbtnvalTerm button {
  position: relative;
  top: 15px !important;
}
.addnewButtonUser {
  display: block;
  width: 100%;
  position: relative;
  text-align: right;
  top: 40px;
  right: 20px;
  z-index: 15;
  /* margin-bottom:15px !important; */
}
.extra25margin {
  margin-top: 25px;
}
.table-old {
  /* border: 1px solid #f00; */
  overflow-x: scroll;
}
.showcompanyList {
  display: none;
  list-style: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  max-height: 215px;
  overflow-y: auto;
  padding: 0;
  position: absolute;
  background-color: white;
  width: calc(100% - 76.5%);
  z-index: 1000;
}
.showcompanyListConfig {
  display: none;
  list-style: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  max-height: 215px;
  overflow-y: auto;
  padding: 0;
  position: absolute;
  background-color: white;
  width: calc(100% - 59.3%);
  z-index: 1000;
}
.addnewButtonUserConfig {
  display: block;
  width: 100%;
  position: relative;
  text-align: right;
  top: 45px;
  right: 15px;
  z-index: 15;
}
.csvprintbuttons {
  text-align: right !important;
  display: block;
  position: relative;
  top: 40px;
  right: 160px;
  z-index: 15;
}
.buttons-csv,
.buttons-print {
  color: #677981 !important;
  border: 1px solid #677981 !important;
  background: white !important;
  border-radius: 4px !important;
  padding: 5px 10px !important;
  margin-top: -10px !important;
  margin-bottom: 10px !important;
}
.buttons-print {
  margin-left: 10px !important;
}
.buttons-csv:hover,
.buttons-print:hover {
  background: #677981 !important;
  color: white !important;
}
.badge {
  font-size: 0.8rem !important;
  font-weight: 400 !important;
}
.deleteBatchButton {
  background: transparent !important;
  border: 0 !important;
  color: #f00;
}
.deleteBatchButton i {
  font-size: 1rem;
}
.text-danger {
  color: #f00;
}

#editTerminalForm h6 {
  text-transform: uppercase;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
#editTerminalForm h6:nth-of-type(2),
#editTerminalForm h6:nth-of-type(3),
#editTerminalForm h6:nth-of-type(4) {
  margin-top: 50px;
}
#editTerminalForm h6:nth-of-type(4) {
  margin-bottom: 5px !important;
}
.customhrpadding {
  margin: 0 0 20px !important;
}
#editTerminalForm a {
  margin-left: 30px;
  font-size: 14px;
  font-weight: 600;
}
.addNewFile {
  text-align: end !important;
  margin-top: -5px;
  margin-bottom: 5px;
}
.printcsvbuttons {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  text-align: right;
}
.dropdown-menu-end[data-bs-popper] {
  width: 210px !important;
}
.error-message {
  color: red;
  margin-top: 5px;
}
#forgotPasswordForm h1 {
  margin-bottom: 30px;
}

/* tabs styling */
.nav-tabs {
  margin-left: 15px;
  border-bottom: 0 !important;
}
.nav-tabs .nav-item {
  margin-right: 1px;
}
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  background: #45a3d2;
  border-left: 0 !important;
  border-top: 0 !important;
  border-right: 0 !important;
  color: #fff;
}
.nav-tabs .nav-link {
  background: #c4e6f2;
  color: #000;
}
.pendReposearchBtns {
  text-align: left;
  margin-top: 27px;
}
.btnGapBtwn {
  margin-left: 15px;
}
.btnGapRight {
  margin-right: 15px;
}
.btn-templates {
  background: #3abef9;
  border: 1px solid #3abef9;
  color: #ffffff;
}
.btn-templates:hover,
.btn-templates:active,
.btn-templates:focus-visible {
  background: #0fabf4 !important;
  color: #ffffff !important;
  border: 1px solid #3abef9 !important;
}
#deviceCount {
  display: inline !important;
}
.numericDeviceCountColor {
  color: rgba(0, 0, 0, 0.75) !important;
}
#datatableGroups tbody tr td {
  height: 30px !important;
  vertical-align: middle !important;
}
.form-check-label {
  margin-left: 7px;
  margin-top: 6px;
}
.form-check .form-check-input {
  margin-top: 7px;
}

#groupDetailsRec .col-xl-6 {
  text-align: left;
}
#groupDetailsRec article {
  background: #fff;
  text-align: start;
  padding: 15px;
  border-radius: 10px;
}
#groupDetailsRec article h6 {
  color: #525252;
  font-weight: 400 !important;
}
#groupDetailsRec article h6,
#groupDetailsRec article h3 {
  margin-bottom: 0 !important;
  /* text-transform: uppercase; */
}
h3.first {
  color: #10ac05;
}
h3.last {
  color: #ff0c0c;
}
#closeModal {
  border: 0 !important;
  background: transparent !important;
}
table tbody tr td {
  border-bottom: 0 !important;
}
.dataTables_wrapper.no-footer .dataTables_scrollBody {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
}
.bg-tertiary {
  background-color: #aa67ed !important;
}

/* datepicker */

#datepicker {
  margin: 0;
}
#datepicker > span:hover {
  cursor: pointer;
}
#menuToggle {
  display: none;
}
.topMargin {
  margin-top: 0;
}
.aligntabletd {
  padding-left: 0;
}
#pendingTerminals,
#updatedTerminals {
  font-weight: 600;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
  top: 50%;
  left: 5px;
  height: 1em;
  width: 1em;
  margin-top: -9px;
  display: block;
  position: absolute;
  color: white;
  border: 0 !important;
  border-radius: 3px !important;
  box-shadow: 0 0 0 transparent !important;
  box-sizing: content-box;
  text-align: center;
  text-indent: 0 !important;
  font-family: "Courier New", Courier, monospace;
  line-height: 1em;
  content: "+";
  background-color: #054fad !important;
}
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control {
  padding-left: 30px !important;
}
.chart-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.leaflet-right {
  display: none !important;
}
.showMapbox {
  margin-bottom: 15px;
}
.showMapbox button {
  margin-top: 10px;
}

/* .datepicker .datepicker-days table tbody tr td.active, .datepicker .datepicker-days table tbody tr td.selected,  */

.datepicker .datepicker-days table tbody tr td.today {
  background: transparent !important;
  color: #249d79 !important;
  border: 1px solid #249d79 !important;
}
.datepicker table tr td.today:hover:hover {
  background: transparent !important;
  color: #249d79 !important;
  border: 1px solid #249d79 !important;
}

#loader-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 1050;
  display: flex;
  justify-content: center;
  align-items: center;
}

#loader {
  display: flex;
  justify-content: center;
  align-items: center;
}
#loader img {
  width: 50%;
}
.app-header .menu .menu-item .menu-link .menu-img {
  margin-left: 0.75rem;
  margin-right: 15px;
}
#searchMessage {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 15px 0;
  text-align: center;
  width: 100%;
  margin-bottom: 15px;
  border-radius: 4px;
}
.addeditsuccessmessage {
  background: #d0e7d4;
  border: 1px solid #a1d0a7;
  border-radius: 4px;
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  text-align: center;
}

.menu-link {
  display: flex;
  align-items: center;
  position: relative;
}

.menu-text {
  display: flex;
  align-items: center;
  margin-right: 10px;
  cursor: pointer;
}

.submenu {
  display: none;
  padding-left: 20px;
  margin-top: 5px;
  margin-bottom: 8px;
}
.submenu div {
  margin-bottom: -3px;
}
.submenu-icon {
  position: absolute;
  right: -210px;
}
.submenu.open {
  display: block;
}

.merchantsubmenu {
  display: none;
  padding-left: 20px;
  margin-top: 5px;
  margin-bottom: 8px;
}
.merchantsubmenu div {
  margin-bottom: -3px;
}
.merchantsubmenu-icon {
  position: absolute;
  right: -210px;
}
.merchantsubmenu.open {
  display: block;
}

#datatableEditConfig th:nth-child(2),
#datatableEditConfig td:nth-child(2) {
  visibility: visible !important;
}
.dragging-row {
  background: #ffffff;
}

.configsubmenu {
  display: none;
  padding-left: 20px;
  margin-top: 5px;
  margin-bottom: 8px;
}
.configsubmenu div {
  margin-bottom: -3px;
}
.configsubmenu-icon {
  position: absolute;
  right: -210px;
}
.configsubmenu.open {
  display: block;
}

.breadcrumb {
  display: flex;
  align-items: center;
  padding: 10px 15px 10px 0;
  margin: 0;
}

.button-container {
  margin-left: auto;
}
hr {
  margin: 0 !important;
}
select option[value=""] {
  font-style: italic !important;
  color: #fff !important;
  background: #505050 !important;
}
.popup-success-message {
  color: #000 !important;
  font-size: 1rem !important;
  text-transform: uppercase;
}
.icon-box-head {
  text-align: center;
  width: 100%;
}
.center-aligned-item {
  text-align: center !important;
}
.zero-border {
  border-bottom: 0 !important;
}
.align-ok-button {
  justify-content: center !important;
  border-top: 0 !important;
}
.bi-check-circle {
  color: #03d303 !important;
  font-size: 3rem;
}
.bi-exclamation-circle {
  color: #f00;
  font-size: 3rem;
}
.bi-exclamation-triangle {
  color: #f00;
  font-size: 3rem;
}
.modal-backdrop {
  backdrop-filter: blur(2px);
  opacity: 0.2;
  background-color: rgba(0, 0, 0, 0.2);
}

.loader-overlay {
  position: fixed; /* must be fixed, not absolute */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  pointer-events: all;
}

.loader-overlay.hidden {
  display: none;
}
.loader {
  font-size: 1.5rem;
  font-weight: 400;
  color: #ffffff;
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #3498db;
  border-top: 5px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.btn-download {
  font-size: 20px !important;
  padding: 2px 10px !important;
  border: none !important;
}
.btn-file-link {
  text-decoration: underline !important;
  color: #0271ff !important;
  padding: 0 !important;
}
.specialModalButtons {
  width: auto !important;
}

#sidebar .menu-item.active {
  background-color: #007bff;
  color: white;
}

#sidebar .menu-item.active .menu-link {
  font-weight: bold;
}

#sidebar .menu-item.active .menu-icon {
  color: white;
}
.sucesMsg {
  color: #10ac05;
  padding: 15px 0;
}
.remove-col {
  cursor: pointer;
  margin-left: 8px;
  font-weight: bold;
}
#hiddenColumnsContainer strong {
  display: block;
  margin-bottom: 5px;
}
.btn-light {
  background: transparent !important;
  border: 0 !important;
  color: #0271ff !important;
  font-size: 1rem !important;
  padding-top: 0 !important;
}
.sectionStyling {
  margin: 3rem 0;
  background: #b0d0f1;
  padding: 15px;
}
#writepaste .col-xl-6 > .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
table.dataTable thead th,
table.dataTable thead td,
table.dataTable thead tr,
table.dataTable tbody td {
  border: 0;
}
#addreceiptfoot {
  margin-top: 28px;
}
#editAddreceiptfoot {
  position: relative;
  top: 1.75rem;
}

#mailerAccount {
  position: relative;
}

#mailerAccount .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  min-width: 230px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 9999;
}

#mailerAccount .dropdown-menu.show {
  display: block;
}

.app-header .menu .menu-item .menu-link .menu-img img {
  border-radius: 0 !important;
}

/* toast message container */

.toast-containermain {
  position: fixed;
  bottom: 4rem;
  right: 20px;
  z-index: 2147483647; /* always on top */
  background: #bddee5;
  border: 1px solid #ccc;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  max-width: 320px;
}
.toast-containermain p {
  margin: 0 0 12px;
  word-break: break-word;
}
.toast-containermain .text-center button {
  padding: 6px 12px;
  border: none;
  background: #007bff;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}
.mainMessage {
  margin-bottom: 1rem;
}
.dtAlignBtns {
  text-align: right;
  margin-top: 1rem;
}
.dtAlignBtns button {
  margin-left: 5px;
}
.calendar-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #6c757d;
  font-size: 1.2rem;
}
.xdsoft_datetimepicker {
  display: none;
}

@media (max-width: 768px) {
  .topMargin {
    margin-top: 35px;
  }
  #menuToggle {
    display: block;
    position: fixed;
    background: #f2f2f2;
    border-top: 1px solid #d9d9d9;
    z-index: 999 !important;
    top: 52px;
    width: 100%;
  }
  .menu-toggle i {
    font-size: 24px;
    margin-left: 10px;
  }
  .close-btn {
    display: block;
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 36px;
    color: rgba(0, 0, 0, 0.8);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10000;
  }
  .app-sidebar.open {
    width: 100%;
    height: 100%;
    background-color: #fff;
    position: fixed;
    top: 88px;
    left: 0;
    z-index: 999;
  }
  .app-header .brand {
    display: block;
  }
  .app-header .brand .brand-logo {
    display: block;
  }
  .app-header .brand .brand-logo .brand-img {
    display: flex;
    position: relative;
    top: 13px;
  }
  .app-header .brand .brand-logo .brand-text {
    display: flex;
    position: relative;
    left: 40px;
    top: -10px;
  }
  .app-header .menu {
    display: block !important;
    margin-left: 35px;
  }
  .app-header .menu .menu-item .menu-link .menu-img {
    margin-left: 15px;
  }
  .sidebar-hidden {
    display: none;
  }
  .addnewButtonUser,
  .addnewButtonUserConfig {
    display: block;
    width: 100%;
    position: relative;
    text-align: right;
    top: 0;
    right: 0;
    z-index: 15;
  }
  .btnGapBtwn {
    margin-left: 0;
  }
  .btnGapRight {
    margin-right: 0;
  }
  .addnewButtonUser button,
  .addnewButtonUser a,
  .addnewButtonUserConfig button {
    margin-bottom: 15px;
    padding: 10px 0;
    width: 100%;
  }
  table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control,
  table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control {
    padding-left: 30px !important;
  }
  .nav-tabs {
    margin-left: 0;
    margin-bottom: 15px;
  }
}
