﻿.tbl-Content.loading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 1000;
  opacity: 0.6;
}

.tbl-Content.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 85%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url(/DesktopModules/Benvis/OrganizationChart/Content/images/Preloader_1.gif)
    no-repeat;
  width: 45px;
  height: 45px;
  z-index: 1000;
  background-position: center;
  background-size: cover;
}

.d-none {
  display: none;
}
.row {
  flex-wrap: wrap;
  margin: 0 !important;
}
.btn-addcontract {
  display: flex !important;
  align-items: center !important;
  background: #fff !important;
  color: #0d6efd !important;
  border-color: #0d6efd !important;
  padding: 0.5rem 1rem !important;
  font-size: 14px !important;
  margin-top: 1rem;
  border-radius: 0.375rem !important;
  font-weight: bold;
}
.btn-addcontract svg,
.btn-addcontractor svg {
  margin-right: 0.5rem;
  width: 0.75rem !important;
  height: 0.75rem !important;
}
#ContractModal .modal-footer,#ContractorModal .modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.btn-addcontractor,
.btn-contractor,
#ContractModal .modal-footer .btn-contract {
  display: flex !important;
  align-items: center !important;
  background: #fff !important;
  color: #20c997 !important;
  border-color: #20c997 !important;
  padding: 0.5rem 1rem !important;
  font-size: 14px !important;
  margin-right: 0.5rem;
  margin-top: 1rem;
  border-radius: 0.375rem !important;
  font-weight: bold;
}

.btn-contractor {
  margin-right: auto !important;
}
.btn-contractor-cancel,
#ContractModal .modal-footer .btn-secondary,
#ContractorModal .modal-footer .btn-secondary {
  display: flex;
  align-items: center !important;
  background: #fff !important;
  color: #dc3545 !important;
  border-color: #dc3545 !important;
  padding: 0.5rem 1rem !important;
  font-size: 14px !important;
  margin-right: 0.5rem;
  margin-top: 1rem;
  border-radius: 0.375rem !important;
  font-weight: bold;
}
.dataTables_length {
  padding-bottom: 0 !important;
}
.dataTables_wrapper {
  margin-top: 1rem;
}
button:hover,
button:focus {
  outline: none !important;
  box-shadow: none !important;
}
button,
#contractList .d-flex .btn svg,
#contractList .d-flex .btn svg {
  transition: 0.25s cubic-bezier(0.68, 0.55, 0.27, 1.55);
}
button:hover {
  transform: scaleY(1.05);
}
button:focus {
  transform: scale(0.9);
}
.dataTables_wrapper .dataTables_filter input,
.form-control,
.dataTables_length select {
  border: 1px solid #dee2e6 !important;
  padding: 0.35rem !important;
  border-radius: 0.375rem !important;
  color: #333 !important;
  font-weight: lighter !important;
  font-size: 10px !important;
  margin: 0.25rem !important;
  transition: 0.25s cubic-bezier(0.68, 0.55, 0.27, 1.55);
}
.dataTables_wrapper .dataTables_filter input,
.form-control {
  width: 100%;
  margin-right: 0 !important;
}
.dataTables_wrapper .dataTables_filter input:hover,
.dataTables_wrapper .dataTables_filter input:focus,
.form-control:hover,
.form-control:focus {
  outline: none;
  box-shadow: none !important;
  border-color: lightgray !important;
}
table.dataTable thead th{
  font-size: 14px !important;
}
table.dataTable tbody td {
  font-size: 12px !important;
  color: #000 !important;
}
#contractList .btn-primary,
#contractorList .btn-primary {
  display: flex !important;
  align-items: center !important;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  color: #0d6efd !important;
  border-color: #0d6efd;
}
#contractList .btn-danger,
#contractorList .btn-danger {
  display: flex !important;
  align-items: center !important;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  color: #dc3545 !important;
  margin-right: 0.125rem;
}
#contractList .d-flex .btn:hover svg,
#contractorList .d-flex .btn:hover svg {
  transform: scale(1.1);
}
.d-flex {
  display: flex;
  align-items: center;
  justify-content: center;
}
#ContractorModal .modal-body .row {
  align-items: flex-end;
}
#ContractorModal .modal-header,
#ContractModal .modal-header {
  display: flex;
  justify-content: space-between;
}
.form-group {
  margin-bottom: 0 !important;
}
label {
  font-weight: bold;
  color: #3e3e3e;
  font-size: 12px;
}
#contractorList_wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: flex-end;
}
#contractorList_length,
#contractorList_info {
  width: 50%;
  text-align: left;
  float: none;
}
#contractorList_filter,
#contractorList_paginate {
  width: 50%;
  text-align: right;
  float: none;
}
