
/** Adjust Button Action **/
.input-group-prepend {
  margin-right: -5px !important;
}

/** Adjust widget **/
.related-widget-wrapper-link:link {
  opacity: 1 !important;
  float: inline-end;
  float: right;
  display: flex;
  flex-direction: column;
  margin-top: -72px;
  padding: 10px;
}
.modal-fullscreen {
  min-width: 98%;
  margin-top: 5px !important;
  margin-bottom: 5px !important;
}
.select2.select2-container {
  display: block;
  width: 100% !important;
  height: calc(2.25rem + 2px);
  padding: .375rem .05rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  box-shadow: inset 0 0 0 transparent;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.select2-container--default .select2-selection--single {
  background-color: #fff;
  border: 1px solid #fff !important;
  border-radius: 4px;
  width: 100% !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #444 !important;
  line-height: 18px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 26px;
  position: absolute;
  top: 5px !important;
  right: 5px !important;
  width: 20px;
}
.select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #fff !important;
}
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: #fff !important;
}

/** Adjust card-header **/
.card-header {
  /** margin-top: -.20rem !important;
  margin-bottom: -.30rem !important; **/
  padding-top: .40rem !important;
  padding-bottom: .40rem !important;
}

/** Adjust Card Body***/
.card-body2 {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-height: 1px;
  /**padding: 0.8rem;**/
  margin-bottom: -1.0rem;
}

/** Adjust Card Body***/
.card-body {
  padding: 1rem !important;
}
.card2 {
  margin-top: -.60rem !important;
}

/** Adjust Table data **/
.table th  {
  padding: .60rem .70rem !important;
}
.table td {
  padding: .40rem .65rem !important;
  vertical-align: middle !important;
}
.table-sm th, .table-sm td{
  padding: .3rem !important;
}
table.dataTable thead th{
  border-bottom: 1px solid #dee2e6 !important;
}
table.dataTable.no-footer {
  border-bottom: 1px solid #dee2e6 !important;
}

table tr:hover {
  background-color:#f5f5f5 !important;
}

/* INVOICE */
#invoice{
  padding: 30px;
  padding-top: 10px
}
.invoice {
  position: relative;
  background-color: #FFF;
  min-height: 680px;
  padding: 15px
}
.invoice header {
  padding: 10px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #3989c6
}
.borderTop {
  padding: 10px 0;
  margin-bottom: 20px;
  border-top: 1px solid #3989c6;
}
.invoice .company-details {
  text-align: right
}
.invoice .company-details .name {
  margin-top: 0;
  margin-bottom: 0;
  color: #03104a;
}
.invoice .contacts {
  margin-bottom: 20px
}
.invoice .invoice-to {
  text-align: left
}
.invoice .invoice-to .to {
  margin-top: 0;
  margin-bottom: 0
}
.invoice .invoice-details {
  text-align: left
}
.invoice .invoice-details .invoice-id {
  margin-top: 0;
  color: #3989c6
}
.invoice main {
  padding-bottom: 30px
}
.invoice main .thanks {
  margin-top: -100px;
  font-size: 2em;
  margin-bottom: 50px
}
.invoice main .notices {
  padding-left: 6px;
  border-left: 6px solid #3989c6
}
.invoice main .notices .notice {
  font-size: 1.2em
}
.invoice table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 20px;
}
.invoice .brown-table table tr {
  background-color:#eee;
  border-bottom: 1px solid #000;
}
.invoice table th {
  white-space: nowrap;
  font-weight: 600;
  font-size: 16px;
  color: #3989c6;
  background: #fff;
}
.invoice table td h3 {
  margin: 0;
  font-weight: 400;
  color: #3989c6;
  font-size: 1.2em
}
.invoice table .qty,.invoice table .total,.invoice table .unit {
  text-align: right;
  font-size: 1.2em
}
.invoice table .no {
  color: #fff;
  font-size: 1.6em;
  background: #3989c6
}
.invoice table .unit {
  background: #ddd
}
.invoice table .total {
  background: #3989c6;
  color: #fff
}
.invoice table tbody tr:last-child td {
  border: none
}
.invoice table tfoot td {
  background: 0 0;
  border-bottom: none;
  white-space: nowrap;
  text-align: right;
  padding: 10px 20px;
  font-size: 1.2em;
  border-top: 1px solid #aaa
}
.invoice table tfoot tr:first-child td {
  border-top: none
}
.invoice table tfoot tr:last-child td {
  color: #3989c6;
  font-size: 1.4em;
  border-top: 1px solid #3989c6
}
.invoice table tfoot tr td:first-child {
  border: none
}
.invoice footer {
  width: 100%;
  text-align: center;
  color: #777;
  border-top: 1px solid #aaa;
  padding: 8px 0
}

@media print {
  .invoice {
    font-size: 11px!important;
    overflow: hidden!important
  }

  .invoice footer {
    position: absolute;
    bottom: 10px;
    page-break-after: always
  }

  .invoice>div:last-child {
    page-break-before: always
  }
}

body {
  font-family: "lato", sans-serif;
}
.h1, h1 {
    font-size: 2.1rem !important;
}
h2 {
  font-size: 2.2rem !important;
  margin: 20px 0;
}
h2 small {
  font-size: 0.5em;
}
.container-fid {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
}

.responsive-table li {
  border-radius: 3px;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}
.responsive-table .table-header {
  background-color: #95a5a6;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.responsive-table .table-row {
  background-color: #ffffff;
  box-shadow: 0 4px 10px 0 rgb(0 0 0 / 20%), 0 4px 20px 0 rgb(0 0 0 / 19%);
}
.responsive-table .col-1 {
  flex-basis: 30%;
  flex: 0 0 30%;
  max-width: 30%;
  align-self: center;
  padding-left: 20px;
}
.responsive-table .col-2 {
  flex-basis: 5%;
  flex: 0 0 10%;
  max-width: 10%;
}
.responsive-table .col-3 {
  flex-basis: 40%;
  flex: 0 0 40%;
  max-width: 40%;
  align-self: center;
}
@media all and (max-width: 767px) {
  .responsive-table .table-header {
    display: none;
  }
  .responsive-table li {
    display: block;
  }
  .responsive-table .col {
    flex-basis: 100%;
  }
  .responsive-table .col {
    display: flex;
    padding: 10px 0;
  }
  .responsive-table .col:before {
    color: #6c7a89;
    padding-right: 10px;
    content: attr(data-label);
    flex-basis: 50%;
    text-align: right;
  }
}
.col.invoice-details {
    max-width: 40%;
    padding-left: 20px;
}
.col.container-fid{
    padding-right: 20px;
}
.styled-table {
    border-collapse: collapse;
    font-size: 0.9em;
    font-family: sans-serif;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-spacing: 0;
    width: 100%;
    border: 1px solid #ddd;
}
.styled-table thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: left;
    font-weight: 100;
    font: menu;
}
.styled-table thead tr:nth-of-type(even) {
    background-color: #f3f3f3;
    color: #ffffff;
    text-align: left;
    font-weight: 100;
    font: menu;
}
.styled-table th,
.styled-table td {
    padding: 12px 15px;
    flex-basis: 40%;
    flex: 0 0 40%;
    max-width: 40%;
}
.styled-table tbody tr {
    border-bottom: 1px solid #000;
}
.invoice .styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3 !important;
}
.invoice .styled-table tbody tr:nth-of-type(odd) {
    font-weight: bold;
    color: #3989c6;
    background-color: white;
}
.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #3989c6;
}
.styled-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
    background-color: white;
}

/** Adjust  Details control button **/
td.details-control {
  background: url('/static/images/details_open.png') no-repeat center center !important;
  /** background: url('https://datatables.net/examples/resources/details_open.png') no-repeat center center; **/
  cursor: pointer;
}
tr.shown td.details-control {
  background: url('/static/images/details_close.png') no-repeat center center !important;
  background: #eee;
  /** background: url('https://datatables.net/examples/resources/details_close.png') no-repeat center center; **/
}

/** Body Style **/
.color-palette {
  height: 35px;
  line-height: 35px;
  text-align: right;
  padding-right: .75rem;
}
.color-palette.disabled {
  text-align: center;
  padding-right: 0;
  display: block;
}
.color-palette-set {
  margin-bottom: 15px;
}
.color-palette span {
  display: none;
  font-size: 12px;
}
.color-palette:hover span {
  display: block;
}
.color-palette.disabled span {
  display: block;
  text-align: left;
  padding-left: .75rem;
}
.color-palette-box h4 {
  position: absolute;
  left: 1.25rem;
  margin-top: .75rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  display: block;
  z-index: 7;
}

/** Body Style 2 **/
.card-primary:not(.card-outline)>.card-header a.active {
  color: #1f2d3d !important;
  font-weight: bold;
  background: gainsboro;
}
.card-primary:not(.card-outline)>.card-header a.active {
  color: #1f2d3d !important;
  font-weight: bold;
  background: gainsboro;
}
.card-primary:not(.card-outline)>.card-header, .card-primary:not(.card-outline)>.card-header a {
  color: #007bff !important;
  background: #f3f3f3;
}
.nav-tabs {
  border-bottom: 1px solid #dee2e6;
  background-color: white;
}
.card {
  box-shadow: 0 0 1px rgb(0 0 0 / 20%), 0 1px 3px rgb(0 0 0 / 50%);
  margin-bottom: 1rem;
}
.btn-container {
  height: 30px;
  position: relative;
  border: 0px solid green;
}
.btn-center {
  margin: 0;
  position: absolute;
  top: 30%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.dropbtn {
  background-color: #4CAF50;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}
.dropbtn2 {
  color: #1f2d3d;
  background-color: #ffc107;
  border-color: #ffc107;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}
.dropdown {
  position: relative;
  display: inline-block;
}
.grp {
  position: relative;
  display: -ms-inline-flexbox;
  display: inline-flex;
  vertical-align: middle;
  padding-right: 5px;
}
.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.dropdown-content a:hover {background-color: #f1f1f1; !important}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}
