.flex {
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
}
.flex-column {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}
.flex-2 {
  -webkit-box-flex: 2;
  -webkit-flex: 2;
  -ms-flex: 2;
  flex: 2;
}
.flex-vcenter {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.ms-parent {
  display: inline-block;
  position: relative;
  vertical-align: middle;
}
.ms-choice {
  background-color: #ffffff;
  border: 1px solid #d2d6de;
  /*border-radius: 4px;*/
  cursor: pointer;
  display: block;
  font-family: 'Segoe UI', sans-serif;
  /* font-size: 12px; */
  height: 38px;
  /* line-height: 25px; */
  overflow: hidden;
  padding: 4px;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  width: 100%;
}
.ms-choice.disabled {
  background-color: #f4f4f4;
  background-image: none;
  border: 1px solid #ddd;
  cursor: default;
}
.ms-choice span {
  display: block;
  left: 7px;
  overflow: hidden;
  padding-left: 8px;
  position: absolute;
  right: 20px;
  text-overflow: ellipsis;
  top: 7px;
  color: #555;
  white-space: nowrap;
  background-color: unset;
  opacity: 9;
}
.ms-choice span.placeholder {
  color: #555;
}
.ms-choice div {
  background: url('../images/multiple-select.png') no-repeat scroll left top rgba(0, 0, 0, 0);
  height: 25px;
  position: absolute;
  right: 0;
  top: 12px;
  width: 28px;
}
.ms-choice div.open {
  background: url('../images/multiple-select.png') no-repeat scroll left top rgba(0, 0, 0, 0);
}
.ms-drop {
  background: none repeat scroll 0 0 #fff;
  border: 1px solid #aaa;
  /*border-radius: 4px;*/
  color: #000;
  display: none;
  margin-top: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 100%;
  z-index: 1000;
}
.ms-drop.bottom {
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
  top: 100%;
  text-align: left;
}
.ms-drop.top {
  bottom: 100%;
  box-shadow: 0 -4px 5px rgba(0, 0, 0, 0.15);
}
.ms-drop ul li.group {
  border-bottom: 1px solid #4a4a4a;
}
.ms-search {
  display: inline-block;
  margin: 0;
  min-height: 26px;
  padding: 4px;
  position: relative;
  white-space: nowrap;
  width: 100%;
  z-index: 10000;
}
.ms-search input {
  background: url('../../images/multiple-select.png') no-repeat scroll 100% -22px,
    -moz-linear-gradient(center bottom, white 85%, #eee 99%) repeat scroll 0 0 rgba(0, 0, 0, 0);
  border: 1px solid #aaa;
  border-radius: 0;
  box-shadow: none;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1em;
  height: auto !important;
  margin: 0;
  min-height: 24px;
  outline: 0 none;
  padding: 0 20px 0 5px;
  width: 100%;
}
.ms-search,
.ms-search input {
  box-sizing: border-box;
}
.ms-drop ul {
  margin: 0;
  max-height: 180px !important;
  overflow: auto;
  padding: 5px 8px;
  width: 100%;
}
.ms-drop ul li {
  background-image: none;
  display: list-item;
  list-style: none outside none;
  padding-bottom: 5px;
  padding-top: 5px;
  position: static;
}
.ms-drop ul > li .disabled {
  opacity: 0.35;
}
.ms-drop ul li.multiple {
  display: block;
  float: left;
}
.ms-drop ul li.group {
  clear: both;
}
.ms-drop ul li.multiple label {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}
.ms-drop ul li label {
  font-weight: normal;
}
.ms-drop ul li label.optgroup {
  color: #494848;
  font-family: 'Segoe UI', sans-serif;
  font-size: 13px;
}
optgroup:before {
  font-style: normal;
  margin-left: 2%;
}
.ms-drop input[type='checkbox'] {
  vertical-align: middle;
}
.ms-drop .ms-no-results {
  display: none;
}
.ms-drop ul li label {
  color: #494848;
  font-family: 'Segoe UI', sans-serif;
  /* font-size: 12px; */
}
.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  display: block;
}
.title {
  font-size: 20px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.87);
}
.main-container * {
  /* margin: 0;
  box-sizing: border-box;
  outline: none;
  resize: none; */
}
.container-bg {
  background-color: #f5f5f5;
  padding-top: 35px;
}
.main-container {
  background-color: #fff;
  margin: 0 auto;
  min-height: calc(100vh - 187px);
}

/* Dialog Css */
.dialog-container {
}
#newLayoutcboxLoadedContent .dialog-container {
  height: 100%;
}
.dialog-container-static {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 5;
  min-width: 420px;
  max-height: 96%;
  margin: auto;
  background: #fff;
  opacity: 0;
  filter: alpha(opacity=0);
  z-index: -1;

  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  border-radius: 3px;

  box-shadow: 0 16px 28px 0 rgba(0, 0, 0, 0.22), 0 25px 55px 0 rgba(0, 0, 0, 0.21);
}
.dialog-header {
  padding: 0 24px;
  height: 45px;
  background: #f5f5f5;
  border-bottom: 1px solid #3c8dbc;
  position: relative;

  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.dialog-header > .grid-row {
  height: 100%;
}

.dialog {
  flex: 2;
  -webkit-box-flex: 2;
  -moz-box-flex: 2;
  -webkit-flex: 2;
  -ms-flex: 2;
  padding: 14px;
  overflow-x: hidden;
  height: calc(100vh - 100px);
  /*max-height: 68vh;*/
}
.dialog .border-bottom {
  margin: 0 -12px;
  padding: 0 12px;
}
.dialog-footer {
  border-top: solid 1px #ccc;
  background-color: #ffffff;
  padding: 16px;
  text-align: right;
  min-height: 35px;

  border-radius: 0 0 3px 3px;

  -webkit-flex-flow: row nowrap;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}
.open-dialog {
  opacity: 1;
  filter: alpha(opacity=100);
  z-index: 9999;
}
/* End of Dialog Css */

.container-box {
  display: flex;
}

.box1 {
  max-width: 250px;
  flex-basis: 250px;
  /* border-right: 1px solid #f1f1f1; */
  min-height: 88vh;
  display: none;
  /* background: #fff; */
  /* border-left: 1px solid #f1f1f1; */
}
.box2 {
  flex-basis: 40px;
  border-right: 1px solid #f1f1f1;
  min-height: 88vh;
  align-content: center;
}
.box3 {
  flex: 10;
}
.required {
  color: red;
}

.vertical-menu {
  /* min-height: 88vh; */
  overflow-y: auto;
  height: 78vh;
}

.vertical-menu a {
  color: #555555;
  display: block;
  padding: 12px;
  text-decoration: none;
}

.vertical-menu a:hover {
  background-color: #ccc;
}

.vertical-menu a.active {
  background-color: #ccd9ea;
  color: #555555;
}

.control-group {
  padding-left: 12px;
  padding-right: 12px;
}

.pb {
  padding-bottom: 10px;
}
.fa {
  cursor: pointer;
}
.has-error span {
  color: #dd4b39;
  font-size: 13px;
  display: inline-block;
  max-width: 100%;
}
.thead td {
  background: #7e8c8c;
  color: #444;
  font-weight: bold;
}
.thead td a {
  color: #444;
  /* font-weight: bold; */
  text-decoration: none;
}


.modal.fade:not(.in).right .modal-dialog {
  -webkit-transform: translate3d(25%, 0, 0);
  transform: translate3d(25%, 0, 0);
}

.name-square{
  background: var(--bs-primary);
  border-radius: var(--bs-border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  height: 40px;
  width: 40px;
  font-size: 22px;
  margin-right: 8px;
}

#contact.nav-tabs{
  border-bottom: none;
  border: 1px solid var(--bs-gray-300);
  border-radius: 500px;
  padding: 2px;
  background: #fff;
  margin-top: 8px;
}
#contact.nav-tabs .nav-link{
  margin-bottom: 0;
}
#contact.nav-tabs .nav-link.active {
  color: #fff;
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}
#contact.nav-tabs .nav-link {
  color: var(--bs-gray-900);
  background-color: none;
  border-color: none;
}

#popupContent p {
  margin: 10px 0;
}

.ui-widget-overlay {
  background-color: rgba(0, 0, 0, 0.5);
}

.popup-body{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px; 
  max-height: 500px;
}


/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
  border-radius: 4px;
  padding: 10px 0;
  animation-name: dropdown-animate;
  animation-duration: 0.2s;
  animation-fill-mode: both;
  border: 0 !important;
  box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu.scroll-y {
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
  text-align: center;
  font-size: 15px;
  padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
  color: #444444;
  text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
  text-decoration: none;
}

.dropdown-menu .dropdown-divider {
  color: #a5c5fe;
  margin: 0;
}

.dropdown-menu .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f6f9ff;
}

@media (min-width: 768px) {
  .dropdown-menu-arrow::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #fff;
    position: absolute;
    top: -7px;
    right: 20px;
    transform: rotate(45deg);
    border-top: 1px solid #eaedf1;
    border-left: 1px solid #eaedf1;
  }
}

.card {
  margin-bottom: 24px;
  border: none !important;
  border-radius: 5px;
  box-shadow: 0px 0 6px rgba(1, 41, 112, 0.1);
}


span.badge {
  border-radius: 3px;
  padding: 6px 8px;
  font-weight: 500;
}

.badge.badge-outlined {
  background-color: transparent !important;
  border: 1px solid transparent;
}

/* .badge.badge-outlined.badge-default {
  border-color: #B0BEC5;
  color: #B0BEC5
}

.badge.badge-outlined.badge-primary {
  border-color: #2196F3;
  color: #2196F3
}

.badge.badge-outlined.badge-secondary {
  border-color: #323a45;
  color: #323a45
}

.badge.badge-outlined.badge-success {
  border-color: #05c35d;
  color: #05c35d;
}

.badge.badge-outlined.badge-warning {
  border-color: #ff7800;
  color: #ff7800
}

.badge.badge-outlined.badge-info {
  border-color: #ec07fb;
  color: #ec07fb;
}

.badge.badge-outlined.badge-danger {
  border-color: #ef1c1c;
  color: #ef1c1c
} */


.badge.badge-outlined.badge-good {
  border-color: #2196F3;
  color: #2196F3
}

.badge.badge-outlined.badge-excellent {
  border-color: #05c35d;
  color: #05c35d;
}

.badge.badge-outlined.badge-fair {
  border-color: #ff7800;
  color: #ff7800
}

.badge.badge-outlined.badge-verygood {
  border-color: #ec07fb;
  color: #ec07fb;
}

.badge.badge-outlined.badge-poor {
  border-color: #ef1c1c;
  color: #ef1c1c
}

button.btn {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    /* padding: 10px 16px; */
}

.btn.active:focus, .btn:active:focus, .btn:focus {
  outline: none !important;
}
 

.user-icon {
  vertical-align: middle;
    border-radius: 50px;
    border: 1px solid #ccc;
    padding: 8px;
    box-sizing: content-box;
}

.circle-icon {
  border: 1px solid #dadada;
    padding: 8px;
    border-radius: 50%;
    height: 1.6rem;
    color: #9d9d9d;
    font-size: 10px;
    width: 1.6rem;
}


.input-group.main-search .form-control {
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  height: 42px;
}

.input-group.main-search .search-btn {
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  border: var(--bs-border-width) solid var(--bs-border-color);
  background: #fff;
  padding: 10px 16px;
}

.search-btn.btn.active:focus,.search-btn.btn:active:focus,.search-btn.btn:focus {
  outline: none !important;
  box-shadow: none;
  border: var(--bs-border-width) solid var(--bs-border-color);
  background: #f4f4f4;
}

button.white-bg, a.white-bg {
  background-color: #fff;
  border-color: #0000001c;
}

.nav-item {
  position: relative;
}

a.nav-link.active {
  color: #307EF3 !important;
}

.navbar-nav a.nav-link.active:after {
  content: "";
  display: block;
  border-bottom: 3px solid #307EF3;
  position: absolute;
  bottom: -22px;
  width: 100%;
  left: 0;
}



ul.field-list {
  list-style: none;
  width: 100%;
  padding: 0;
}

.field-list li {
  width: 50%;
  float: left;
  margin-bottom: 16px;
}

/* Bordered Tabs */
.nav-tabs-bordered {
  border-bottom: 2px solid #ebeef4;
  display: flex;
  gap: 24px;
}

.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;
  border: none;
  color: #2c384e;
  padding: 0 0 12px 0;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
  color: #4154f1;
}

.nav-tabs-bordered .nav-link.active {
  background-color: #fff;
  color: #4154f1;
  border-bottom: 3px solid #4154f1;
}


.tab-section ul.flex-column {
  display: none;
}
.tab-section ul.flex-column .nav-link.active
{
  background: #f7f7f7;
}

.tab-first-section-pos{
  position: absolute; 
  top: -500px; 
  visibility: hidden;
}

.tab-section-pos {
  position: absolute; 
  top: -75px; 
  visibility: hidden;
}

.sections.fixed, .filters.fixed {
  position: fixed;
  top: 87px;
}

.avatar-list.avatar-list-stacked .avatar {
  margin-inline-end: -13px;
  border: 2px solid #fff;
  background-color: #fff;
}
.avatar.avatar-md {
  height: 1.6rem;
  width: 1.6rem;
}
.avatar-list.avatar-list-stacked .avatar:hover {
  z-index: 1;
}
.avatar {
  height: 2.375rem;
  width: 2.375rem;
  display: inline-block;
  position: relative;
  object-fit: cover;
  border-radius: 0.375rem;
  line-height: 1.975rem;
}

.form-control:not([disabled]) {
  background: none !important;
}
.form-control, .form-select {
  --bs-form-select-bg-icon: none !important;
  padding-right: 12px !important;
}
 
.was-validated .form-control:valid,
.was-validated .form-select:valid {
  border-color: #dee2e6 !important;
}

.datepicker.datepicker-dropdown {
  padding: 16px;
  font-size: 15px;
}

.datepicker .datepicker-switch {
  width: 145px;
  font-weight:500;
}

.datepicker th {
  font-weight: 500;
}

.nav.details-nav li.nav-item {
  width: 100%;
}
 
.nav.details-nav li.nav-item span.link-label{
  display: table-cell;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 10px;
}
 
.nav.details-nav li.nav-item span.update-counts {
  position: absolute;
  right: 0;
  padding: 5px;
  color: rgb(255 255 255);
  display: inline-block;
  text-align: center;
  background: rgb(41 167 193);
  border-radius: 6px;
  min-width: 22px;
  height: 22px;
  font-size: 12px;
  line-height: 12px;
}
/*
*
* ==========================================
* CUSTOM UTIL CLASSES
* ==========================================
*
*/
.custom-scrollbar-js,
.custom-scrollbar {
  height: 200px;
}
 

.custom-scrollbar {
  overflow-y: scroll;
  overflow-x: hidden;
}
 
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}
 
.custom-scrollbar::-webkit-scrollbar-track {
  background: #ffffff;
}
 
.custom-scrollbar::-webkit-scrollbar-thumb {
  border-radius: 1rem;
  background-color: #b0b0b0;
 
}

.nav.tab-link .nav-link{
  padding: 0;
}

.nav.tab-link .nav-link a{
  padding: 0 0 12px 0 !important;
  display: block;
}