@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600&display=swap");

html {
  position: relative;
  min-height: 100%;
}

body {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 14px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 3.5rem;
  line-height: 3.5rem;
  background-color: #fff;
}

.nav-link:hover {
  transition: all 0.4s;
}

.nav-link-collapse:after {
  float: right;
  content: "\f067";
  font-family: "FontAwesome";
}

.nav-link-show:after {
  float: right;
  content: "\f068";
  font-family: "FontAwesome";
}

.nav-item ul.nav-second-level {
  padding-left: 0;
}

.nav-item ul.nav-second-level > .nav-item {
  padding-left: 20px;
}

@media (min-width: 768px) {
  .sidenav {
    position: absolute;
    top: 0;
    left: 0;
    width: 160px;
    height: calc(100vh - 2.6rem);
    margin-top: 2.6rem;
    background: #43425d;
    box-sizing: border-box;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
  }

  .navbar-expand-md .sidenav {
    flex-direction: column;
  }

  .content-wrapper {
    margin-left: 160px;
    margin-top: 42px;
  }

  .footer {
    width: calc(100% - 160px);
    margin-left: 160px;
  }

  .navbar.dark-theme {
    background: #3d3b3b !important;
    color: white;
  }
}

.main-panel {
  background: #f0f0f7;
  -webkit-transition: width 0.25s ease, margin 0.25s ease;
  transition: width 0.25s ease, margin 0.25s ease;
  min-height: calc(100vh - 56px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding-bottom: 1rem;
}

.main-panel.dark-theme {
  background: #121212;
}

.content-wrapper {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}
.table-search {
  position: relative;
}
.table-search span {
  position: absolute;
  top: 6px;
  right: 10px;
  width: 20px;
}
.stage-difference {
  background: #4a4967;
  margin-top: 1rem;
}
.disabled {
  opacity: 0.4;
}
@media (min-width: 768px) {
  .navbar {
    padding: 0;
  }

  .navbar-brand {
    width: 160px;
    background: #3b3b53 !important;
    padding-left: 15px;
    height: 42px;
  }

  .navbar-brand img {
    height: 16px;
  }

  .navbar-nav .nav-item.active a {
    background: #3e3d54;
  }

  .navbar-expand-md .navbar-nav .nav-item a {
    padding-right: 1rem;
    padding-left: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 14px;
    font-weight: 200;
    color: #fff !important;
    white-space: nowrap;
  }

  .navbar-nav .nav-item a i {
    margin-right: 10px;
    color: #8d93b0;
  }

  .navbar-dark .navbar-nav .active > .nav-link i {
    color: #fff;
  }

  .bg-dark {
    background: #fff !important;
    /*border-bottom: 1px solid #e0e0e6;
    box-shadow: 0 2px 2px #e9e9f9;*/
  }

  .navbar-expand-md .navbar-nav {
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

.page-title {
  color: #413e7c;
  font-size: 1.3rem;
  font-weight: 600;
}

.dark-theme .page-title {
  color: white;
}

.sidenav .receipt {
  background: #4a4967;
  color: #fff;
  padding: 8px;
  margin-top: 1rem;
}

.sidenav .receipt h5 {
  margin-bottom: 0;
  font-size: 14px;
  padding: 10px 0px 10px;
}

.sidenav .form {
  padding: 20px;
}

.sidenav .form select {
  background: transparent;
  color: #fff;
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidenav .form select option {
  color: #000;
}

.btn-custom {
  color: #fff;
  padding: 2px 14px;
  font-size: 13px;
  border-radius: 3px;
  border: none;
}

.btn-reports {
  background: #7fbeff;
  border-color: #7fbeff;
}

.btn-reports:hover,
.btn-reports:focus {
  background: #68a7e8 !important;
  border-color: #68a7e8 !important;
}

.btn-admin {
  background: #0fdbb8;
  border-color: #0fdbb8;
}

.btn-admin:hover,
.btn-admin:focus {
  background: #03c3a2 !important;
  border-color: #03c3a2 !important;
}

.top-menu select.w-150 {
  width: 150px;
  height: 33px !important;
  font-size: 13px;
}

.user-name button {
  background: transparent;
  border: none;
  font-size: 12px;
  outline: none !important;
  cursor: pointer;
}

.user-name .dropdown-menu {
  font-size: 13px;
  padding: 0;
  margin: 0;
}

.user-name .dropdown-menu a {
  width: 100%;
  display: block;
  padding: 10px;
}

.user-name .dropdown-menu a:hover {
  color: #43425d;
  background: #f0f0f7;
}

.table thead th {
  vertical-align: bottom;
  border-bottom: 1px solid #dee2e6;
  font-weight: 400;
}

/* .table th,
.table td {
  white-space: nowrap;
} */

.table tr:hover {
  background: #f0f0f7;
}

.table td {
  padding: 0.5em 0.25rem;
  font-size: 13px;
}
.table th {
  padding: 0.25rem;
}

.highlight {
  color: #007bff;
  cursor: pointer;
}

.advance-search {
  background: #72a8fe;
  color: #fff;
  border-color: #72a8fe;
}

.advance-search:hover,
.advance-search:focus {
  background: #5a90e6;
  color: #fff;
  border-color: #5a90e6;
}

.clear-all {
  background: #ffa2a2;
  color: #fff !important;
  border-color: #ffa2a2;
}

.clear-all:hover,
.clear-all:focus {
  background: #e68888;
  color: #fff;
  border-color: #e68888;
}

.document-main {
  background: rgb(185 193 235 / 60%);
  padding: 2px 10px;
}

.dark-theme .document-main {
  background: #666161;
}

.document {
  display: flex;
  align-items: center;
}

.doc-items {
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid #a8bee2;
}

.doc-items span {
  background: #72a8fe;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  padding: 2px;
  font-size: 12px;
  text-align: center;
  align-items: center;
  display: inline-flex;
  justify-content: center;
  margin-right: 5px;
}
.doc-head h6{
  color: #000;
}

.w-120 {
  width: 120px;
}

.w-130 {
  width: 130px;
}

.mw-120 {
  max-width: 120px;
}

.mw-150 {
  max-width: 150px;
}

.mw-170 {
  max-width: 170px;
}

.mw-420 {
  max-width: 420px;
}

/* .form-control {
  font-size: 20px;
} */

.dark-theme .form-control {
  background: ghostwhite;
}

.dark-theme .form-control.text-light-color {
  color: #fff;
}


.dark-theme label {
  color: white;
}

.dark-theme th {
  background: #666161;
}

.dark-theme a {
  color: #52a5ff;
}

.dark-theme .table-responsive tr:nth-child(even) {background-color: #666161;}

.dark-theme .table-responsive tr:nth-child(even):hover {background-color: #e69557;}

.dark-theme .table tr:hover {
  background: #e69557;
}

.dark-theme table thead {
  color: black;
}

.fs12 {
  font-size: 12px;
}

table thead {
  background: #e8eaf3;
}

.table tr:last-child td {
  border-bottom: 1px solid #dee2e6;
}

/* check box */

.control-group {
  display: inline-block;
  vertical-align: top;
  background: #fff;
  text-align: left;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 160px;
  height: 210px;
  margin: 10px;
}

.control {
  display: block;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  margin-bottom: 0;
  font-size: 13px;
  line-height: 24px;
}

select:focus {
  border: 3px solid #a8c9ff;
}

.control input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.faicon-size {
  width: 15px;
  height: 15px;
}

.control_indicator {
  position: absolute;
  top: 2px;
  left: 0;
  height: 16px;
  width: 16px;
  background: transparent;
  border: 1px solid #4c81d6;
}

.control-radio .control_indicator {
  border-radius: 50%;
}

.control:hover input ~ .control_indicator,
.control input:focus ~ .control_indicator {
  background: transparent;
  outline: 3px solid #a8c9ff !important;
}

.control input:checked ~ .control_indicator {
  background: #4c81d6;
}

.control:hover input:not([disabled]):checked ~ .control_indicator,
.control input:checked:focus ~ .control_indicator {
  background: #4c81d6;
}

.control input:disabled ~ .control_indicator {
  background: #e6e6e6;
  opacity: 0.6;
  pointer-events: none;
}

.control_indicator:after {
  content: "";
  position: absolute;
  display: none;
}

.control input:checked ~ .control_indicator:after {
  display: block;
}

.control-checkbox .control_indicator:after {
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.control-checkbox input:disabled ~ .control_indicator:after {
  border-color: #7b7b7b;
}

.control-radio .control_indicator:after {
  left: 7px;
  top: 7px;
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: #fff;
}

.control-radio input:disabled ~ .control_indicator:after {
  background: #7b7b7b;
}

/* .select {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
  width: 100%;
}
.select select {
  display: inline-block;
  width: 100%;
  cursor: pointer;
  padding: 10px 15px;
  outline: 0;
  border: 0;
  border-radius: 0;
  background: #e6e6e6;
  color: #7b7b7b;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.select select::-ms-expand {
  display: none;
}
.select select:hover,
.select select:focus {
  color: #000;
  background: #ccc;
}
.select select:disabled {
  opacity: 0.5;
  pointer-events: none;
}
.select_arrow {
  position: absolute;
  top: 16px;
  right: 15px;
  width: 0;
  height: 0;
  pointer-events: none;
  border-style: solid;
  border-width: 8px 5px 0 5px;
  border-color: #7b7b7b transparent transparent transparent;
}
.select select:hover ~ .select_arrow,
.select select:focus ~ .select_arrow {
  border-top-color: #000;
}
.select select:disabled ~ .select_arrow {
  border-top-color: #ccc;
} */

.top-title {
  position: relative;
}

.top-title h6:after {
  content: "";
  position: absolute;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: blue;
  left: 0;
  right: 0;
}

/* Main styles */

.card-body {
  padding: 0.3rem;
}

.card {
  height: 100%;
}

.dark-theme .card {
  background: #3d3b3b;
  color:white;
}

.icon-bg {
  padding: 5px;
  width: 22px;
  height: 22px;
  justify-content: center;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.icon-bg img {
  width: 10px;
  height: 10px;
}

.bg-1 {
  background-color: #4c81d6;
}

.bg-2 {
  background-color: #0fdbb8;
}

.bg-3 {
  background-color: #f1bc53;
}

.bg-4 {
  background-color: #ff8a8a;
}

.bg-5 {
  background: #7fbeff;
  border-color: #7fbeff;
}

.bg-3:hover {
  background-color: #e2ad43;
}

textarea.form-control {
  height: auto !important;
}

.btn-custom {
  color: #fff !important;
  font-size: 12px;
  border-radius: 3px;
  border: none;
}

label {
  margin-bottom: 0.2rem;
}

.card-body label {
  font-weight: 400;
  height: 20px;
}

.row {
  margin-right: -5px;
  margin-left: -5px;
}

[class*="col-"],
.col {
  padding-right: 5px;
  padding-left: 5px;
}

.form-control {
  padding: 0.175rem 0.15rem;
  border-radius: 3px;
  height: calc(2.1rem) !important;
}

.form-control:focus {
  box-shadow: none;
}

.w-50p {
  width: 50px;
}

.wh-35p {
  width: 35px;
  height: 35px;
}

/*loading*/

.loading-div {
  margin: 0px;
  padding: 0px;
  position: fixed;
  right: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 30001;
  /* opacity: 1; */
}

.loading-div p {
  text-align: center;
  top: 35%;
  position: absolute;
  z-index: 9;
  left: 40%;
}

.slim-scroll::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #f5f5f5;
}

.slim-scroll::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background-color: #f5f5f5;
}

.slim-scroll::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #a9a9a9;
}
.modal {
  background: rgba(0, 0, 0, 0.5);
}

.cdk-overlay-container {
  z-index: 9000 !important;
}
.table-entries {
  background-color: #43425d;
  padding: 5px;
  border-radius: 0px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  color: white;
}
.btn {
  padding: 0.15rem 0.75rem;
  font-size: 0.9rem;
}
.popup-header {
  background: #1c5ea0;
  color: white;
  padding: 0.3rem;
}
.close {
  margin-top: -25px;
  color: #fff !important;
}
nav ul li a img {
  margin-right: 10px;
}
/* .cdk-overlay-pane {
  height: 95% !important;
  margin-left: auto !important;
  margin-right: auto;
  margin-top: auto !important;
  margin-bottom: auto;
} */
@media (max-width: 761px) {
  .navbar-collapse.show {
    background: #fff;
    padding: 10px;
  }
  .navbar-collapse.show .form-inline {
    display: block;
  }
  .navbar-collapse.show .top-title h6:after {
    background: none;
  }
  .navbar-collapse.show .top-title {
    padding-bottom: 5px !important;
  }
  .navbar-collapse.show .btn-custom {
    margin-bottom: 5px !important;
  }
}
.navbar-dark .navbar-brand {
  color: #fff;
  margin-left: 75px;
}
@media (min-width: 768px) {
  .navbar-dark .navbar-brand {
    margin-left: 0;
  }
}

.left-menu {
  width: 50%;
}
#navbarCollapse2 {
  padding: 0;
}
#navbarCollapse2 .stage-difference {
  margin: 0;
}
@media (min-width: 768px) {
  .left-menu {
    width: auto;
  }
}

.btn-addlink {
  color: #007bff !important;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline !important;
  padding: 2px;
}
.search-docnum {
  font-family: sans-serif;
  font-weight: bold;
}

.overflow-auto{
  overflow: auto;
}
.smooth-scroll::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.smooth-scroll::-webkit-scrollbar-track {
  box-shadow: inset 0 0 2px #fff;
  border-radius: 5px;
}

.smooth-scroll::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 5px;
}

.smooth-scroll::-webkit-scrollbar-thumb:hover {
  background: #c1c1c1;
}

.mr-auto ul {
  padding-left: 2px;
}

/* -- Change break point media ---*/
@media (min-width: 768px){
.navbar-expand-md .navbar-collapse {
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-preferred-size: auto;
    flex-basis: auto;
}
}
