:root {
  --cs-primary: #2f86a6;
  --cs-primary-hover: #256b86;
  --cs-info: #3fb5c8;
  --cs-success: #1f9a7a;
  --cs-text: #323a46;
  --cs-muted: #6c757d;
  --cs-border: #d8e2ea;
  --cs-focus: rgba(47, 134, 166, 0.18);
}

body {
  color: var(--cs-text);
}

.btn,
.abtn,
button,
input[type="submit"] {
  border-radius: 6px;
}

.btn,
.abtn {
  font-weight: 500;
  min-height: 40px;
  padding: 0.55rem 0.95rem;
}

.abtn {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.btn i,
.abtn i {
  line-height: 1;
}

.btn-primary,
.btn-primary:focus,
.btn-primary.focus {
  background-color: var(--cs-primary);
  border-color: var(--cs-primary);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active {
  background-color: var(--cs-primary-hover);
  border-color: var(--cs-primary-hover);
  color: #fff;
}

.btn-info,
.abtn.btn-info {
  background-color: var(--cs-info);
  border: 1px solid var(--cs-info);
  color: #fff;
}

.btn-info:hover,
.abtn.btn-info:hover {
  background-color: #329eb0;
  border-color: #329eb0;
  color: #fff;
  text-decoration: none;
}

.abtn.btn-info.cs-info-button,
.abtn.btn-info:has(.la-info-circle) {
  height: 28px !important;
  min-height: 28px !important;
  min-width: 28px;
  padding: 0.2rem !important;
  width: 28px;
}

.abtn.btn-info.cs-info-button i,
.abtn.btn-info:has(.la-info-circle) i {
  font-size: 16px;
  margin: 0;
}

button.tt.btn.btn-info,
.tt.btn.btn-info {
  align-items: center;
  display: inline-flex;
  height: 24px !important;
  justify-content: center;
  line-height: 1;
  min-height: 24px !important;
  min-width: 24px;
  padding: 0.1rem 0.2rem !important;
  width: 24px;
}

button.tt.btn.btn-info i,
.tt.btn.btn-info i {
  font-size: 13px;
  line-height: 1;
  margin: 0;
}

.btn-success {
  background-color: var(--cs-success);
  border-color: var(--cs-success);
}

.form-control,
.custom-select,
.bootstrap-select > .dropdown-toggle,
.select2-container .select2-selection--single {
  border: 1px solid var(--cs-border);
  border-radius: 6px;
  min-height: 42px;
}

.form-control:focus,
.custom-select:focus,
.bootstrap-select > .dropdown-toggle:focus,
.select2-container--focus .select2-selection--single,
.select2-container--open .select2-selection--single {
  border-color: var(--cs-primary);
  box-shadow: 0 0 0 0.18rem var(--cs-focus);
}

.label-default,
.label-default a {
  background-color: var(--cs-info);
}

.label-success,
.label-success a,
.label-success-search:hover,
.label-location-search a:hover {
  background-color: var(--cs-primary);
}

.label-success-search,
.label-success-search a,
.label-location-search,
.label-location-search a {
  color: var(--cs-primary);
}

.navbar-custom .app-search .input-group {
  align-items: stretch;
}

.navbar-custom .app-search .form-control,
.navbar-custom .app-search .input-group-append .btn {
  height: 38px;
  min-height: 38px;
}

.navbar-custom .app-search .input-group-append .btn {
  align-items: center;
  display: inline-flex;
  line-height: 1;
  padding-bottom: 0;
  padding-top: 0;
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 72px;
  }

  .wrapper {
    padding: 86px 12px 0;
  }

  .container,
  .container-fluid {
    padding-left: 14px;
    padding-right: 14px;
  }

  .form-control,
  .custom-select,
  .btn,
  .abtn {
    min-height: 44px;
  }

  .abtn.btn-info.cs-info-button,
  .abtn.btn-info:has(.la-info-circle) {
    height: 30px !important;
    min-height: 30px !important;
    min-width: 30px;
    width: 30px;
  }

  button.tt.btn.btn-info,
  .tt.btn.btn-info {
    height: 26px !important;
    min-height: 26px !important;
    min-width: 26px;
    width: 26px;
  }

  input[type="search"].form-control {
    margin-bottom: 8px;
    margin-right: 0 !important;
    max-width: 100%;
    width: 100% !important;
  }

  #buttonclk {
    margin-top: 6px;
    width: 100%;
  }

  #msg1,
  #msg2,
  #locster {
    display: block !important;
    margin-top: 8px;
  }

  #msg2 a,
  #locster a {
    margin-left: 0 !important;
  }

  .custom-control.custom-switch {
    padding-bottom: 6px;
    padding-top: 6px;
  }

  .custom-control-label {
    line-height: 1.45;
  }

  .modal-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
