body {
  font-size: 0.9rem;
  font-family: "Montserrat", sans-serif;
}

.navbar {
  text-transform: uppercase;
}

.navbar-nav .nav-link.active {
  color: #e3342f !important;
}

.notificationsAlert {
  background: #e3342f;
  color: #fff;
  padding: 2px 7px;
  font-size: 12px;
  position: absolute;
  right: 0;
  top: 0;
  margin-top: -20px;
  margin-right: -15px;
  border-radius: 50%;
}

.main-content {
  padding-top: 20px;
  padding-bottom: 20px;
}

.container .card-header,
.container-full .card-header {
  font-weight: 600;
  text-transform: uppercase;
}

.card-header div.row div:first-child {
  padding-top: 5px;
}

.container-full {
  padding: 0 20px;
}

.card-header {
  background-color: #DA6063;
  color: #fff;
}

.card-header .btn {
  background-color: #fff !important;
  color: #c33c3e !important;
  border-color: #c33c3e !important;
}

.form-group label {
  font-weight: 600;
}

.form-group span.required {
  font-size: 0.9rem;
  font-style: italic;
  color: #e3342f;
}

label.required:after {
  color: #e3342f;
  content: "*";
  font-weight: bold;
  margin-left: 5px;
}

.tbl-wrapper {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.tbl-wrapper.overflow-hide {
  overflow-y: hidden;
}

.tbl-wrapper.autoflow {
  overflow-y: scroll;
}

.table.mg-top {
  margin-top: 1rem;
}

.table tr.group td {
  font-size: 110%;
  font-weight: 600;
}

table.rht-tbl-responsive td {
  vertical-align: middle !important;
}

.btn-push-left {
  margin-left: 5px;
}

.card-matter {
  margin-top: 20px;
}

.card-matter .card-body {
  overflow-y: auto;
}

#tbl-matters th,
table.tbl-reports th {
  vertical-align: middle !important;
}

.tbl-reports {
  min-width: 100%;
  width: auto;
}

#tblWorkLoadReports {
  min-width: 100%;
  width: auto;
}

table .col-yellow {
  background-color: lightyellow;
  text-align: center;
}

table td.col-desc p {
  white-space: pre-line;
}

.select2-container {
  width: 100% !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
  border: 1px solid #ced4da;
}

.select2-container .select2-selection--single {
  height: 38px;
  border: 1px solid #ced4da;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 35px;
}

.select2-container .select2-search--inline .select2-search__field {
  height: 24px;
}

.btn.disabled.opacity1 {
  opacity: 1;
}

.form-control.datepicker {
  display: inline-block;
  width: calc(100% - 30px);
  margin-left: 5px;
}

#reportModalForm .report_group.hide,
#reportModalForm .workload_period.hide {
  display: none;
}

#reportModalForm .report_group.show {
  display: block;
}

#reportModalForm .workload_period.show {
  display: block;
}

.thumb-square {
  display: inline-block;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
}

.thumb-square.small {
  width: 50px;
  height: 50px;
}

.thumb-square img {
  max-width: 100%;
  width: 100%;
}

.staff_profile_name {
  border-bottom: 2px solid #e3342f;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 110%;
  font-weight: 600;
}

.navbar-expand-md .navbar-nav .dropdown-menu {
  z-index: 999999;
}

.partner-approval-wrp {
  white-space: normal;
}

.partner-approval-item {
  display: inline-block;
  margin-bottom: 5px;
  margin-right: 10px;
  border: 2px solid #dfdfdf;
  padding: 3px 10px 5px 3px;
  border-radius: 5px;
  min-width: 100px;
  background: white;
}

.approval-item {
  display: inline-block;
  padding-right: 5px;
  padding-left: 5px;
}

.report-information {
  width: 100%;
}

.report-information div[class^=col-],
.timesheet-information div[class^=col-] {
  margin-bottom: 10px;
  vertical-align: top;
}

.report-information span,
.timesheet-information span.label {
  display: inline-block;
  width: 200px;
  white-space: normal;
}

.report-information strong {
  vertical-align: top;
}

.form-group label.empty-label {
  height: 45px;
}

.timesheet-information .partner-approval-item {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 0px;
  margin-top: 10px;
}

.timesheet-information .partner-approval-wrp {
  display: inline-block;
}

.partner-approval-item.highlight {
  background-color: lightyellow;
  border: 2px solid yellow;
}

tr.highlight {
  background-color: lightyellow !important;
  border: 2px solid yellow !important;
}

.btn-partner-review,
.btn-edit-timesheet-row,
.btn-del-timesheet-row {
  margin-bottom: 5px;
  width: 50px;
  margin-right: 5px;
}

.btn-approve.approved {
  background-color: #38c172;
  border-color: #38c172;
  color: #fff;
}

.btn-reject.rejected {
  background-color: #e3342f;
  border-color: #e3342f;
  color: #fff;
}

.partner-approval-item .thumb-square {
  float: left;
}

.partner-approval-item .partner-info {
  margin-left: 10px;
  padding-right: 10px;
}

.partner-approval-item .partner-info div {
  display: block;
}

.partner-approval-item .partner-info .partner-link {
  font-weight: 600;
}

.partner-review {
  width: auto !important;
  vertical-align: top;
  margin-right: 5px;
  margin-left: 5px;
  display: inline-block;
}

.partner-review.approved {
  color: #38c172;
}

.partner-review.expired {
  color: darkorange;
}

.partner-review.rejected {
  color: #e3342f;
}

.partner-review.pending {
  color: grey;
}

.partner-review.in_review {
  color: #3490dc;
}

.partner-review .status-label {
  font-size: 95%;
  display: none;
}

.timesheet-information .partner-review .status-label {
  display: inline-block;
  width: auto;
}

.partner-approval-item-date {
  font-size: 90%;
  margin-left: 10px;
  display: inline-block;
}

.timesheet-button-groups.fixed {
  bottom: 0px;
  position: fixed;
  background-color: white;
  padding: 10px 10px 0px 10px;
  border: 1px solid #dfdfdf;
  margin-left: -20px;
  z-index: 777;
}

.timesheet-button-groups .btn {
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
  min-width: 80px;
}

.progress {
  height: 25px;
  margin-bottom: 20px;
  margin-top: 20px;
  font-size: 1em;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control {
  padding-left: 40px !important;
}

table.dataTable > tbody > tr.child ul.dtr-details {
  display: block;
}

table.dataTable > tbody > tr.child span.dtr-title {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  font-size: 90%;
}

table.dataTable > tbody > tr.child span.dtr-title::after {
  content: ": ";
}

table.dataTable > tbody > tr.child span.dtr-data {
  display: block;
  font-weight: 600;
}

.pre-line-wrapper {
  white-space: normal;
}

.tbl-wrapper.timesheet {
  position: relative;
}

.tbl-wrapper .partner-approval-hint {
  position: absolute;
  right: 0;
  top: 0;
}

.tbl-wrapper .partner-approval-hint .partner-approval-item {
  margin-right: 0px;
  padding: 5px 10px;
}

footer {
  background: #DA6063;
  color: rgba(255, 255, 255, 0.7);
  padding: 15px;
  width: 100%;
  display: none;
}

@media only screen and (max-width: 1024px) {
  .btn-del-timesheet-row {
    margin-top: 10px;
    margin-left: 0px;
  }
}

@media only screen and (max-width: 768px) {
  .tbl-wrapper .partner-approval-hint {
    position: unset;
    margin-bottom: 20px;
  }

  .form-group label.empty-label {
    height: 0px;
  }
}

@media only screen and (max-width: 480px) {
  .timesheet-information span {
    width: 140px;
  }

  .timesheet-information .partner-approval-item {
    display: block;
    width: 100%;
    margin-bottom: 20px;
  }

  .card-header .col-6.text-right {
    padding-right: 0px !important;
  }

  .card-header .col-6.text-right .btn {
    padding: 7px 10px;
  }

  .report-information span.label {
    width: 100%;
    display: block;
  }

  .timesheet-button-groups.fixed {
    margin-left: -40px;
  }
}

