/**************************************************************
  HEADER
***************************************************************/
.company_adress {
  margin-bottom: 20px;
}

.om_logo {
  float: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.om_logo img {
  width: 243pt;
}

.om_logo .om_type h1 {
  font-size: 58px;
  opacity: 0.7;
}

.om_contacts {
  float: none;
  margin-top: 30px;
  position: relative;
}

.om_contacts::after {
  content: '';
  clear: both;
  display: block;
}

.om_from, .om_to {
  text-align: left;
  position: relative;
  display: inline-block;
}

.om_to {
  float: right;
  padding-left: 30px;
}

.om_to:after {
  content: 'À :';
  position: absolute;
  top: 0;
  left: 0;
}

.om_contacts .to_email {
  margin-top: 20px;
}

.om_contacts .the_date {
  margin-top: 40px;
}

.client_address {
  white-space: pre-wrap;
}

.om_contacts h3 {
  margin-bottom: 4px;
  margin-top: 0;
}

.om_contacts p {
  margin: 0;
}

.om_type h1 {
  margin: 0;
}

/**************************************************************/
/**************************************************************
  QUOTE
***************************************************************/
.quote_print {
  padding: 20mm !important;
}


.quote_header_editor {
  margin-top: 120px;
}

.quote_header_editor p {
  margin-top: 0;
}

.quote_cgv {
  page-break-before: always;
  text-align: justify;
}

.quote_cgv h2 {
  margin-bottom: 4px;
  margin-top: 16px;
  font-size: 10px;
}

.quote_cgv p {
  margin-top: 0;
  font-size: 10px;
  line-height: 12px;
}

.cqpim_table {
  margin-top: 14px;
}

.total_table {
  margin-left: auto;
  margin-top: 0;
}

.cqpim_table thead {
  display: table-row-group;
}

.cqpim_table thead th {
  font-weight: bold;
  font-size: 16px;
}

.cqpim_table tbody td {
  padding: 6px 18px;
}

.dd-tasks {
  padding-left: 35px;
}

.dd-task {
  border: none;
  padding: 0;
  padding-left: 30px;
  margin-bottom: 0;
  margin-top: 6px;
}

.dd-subtasks .dd-task {
  margin-top: 4px;
}

.dd-task .dd-task-info {
  padding-top: 0;
  font-size: 10px;
  padding-left: 10px;
}

.ms-title {
  font-size: 16px;
  margin-top: 8px;
  margin-bottom: 0;
}

.dd-milestone-title .ms-title.module_title {
  font-size: 18px;
  font-weight: bold;
}

.dd-milestone-info {
  padding-left: 73px;
  padding-top: 0;
  margin-bottom: 20px;
}

.ms-title .cqpim_button {
  margin-right: 10px;
}

.milestone_cost {
  float: right;
  font-weight: bold;
}

.total_table .align-right {
  text-align: right;
}

.quote_dates p {
  margin: 0;
}

@page {
  margin: 20mm;
}

.section_title {
  text-transform: uppercase;
  margin-bottom: 6px;
}

.header_break {
  page-break-before: always;
  display: none;
  margin-bottom: 40px;
}

.header_break img {
  width: 140pt;
}

.header_break p {
  font-size: 20px;
  opacity: 0.5;
  font-weight: bold;
}

@media print {
  .quote_print {
    padding: 0 20px 20px !important;
  }
  #acceptance {
    display: none;
  }
  .cqpim_button.cqpim_small_button {
    background-color: unset !important;
    color: #578ebe !important;
    font-weight: bold;
  }

  .header_break {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
/**************************************************************/
/**************************************************************
  INVOICE
***************************************************************/
.invoice .om_type {
  text-align: right;
}

.invoice_paid {
  float: right;
  font-size: 28px;
  opacity: 0.5;
  color: red;
}

table {
  width: 100%;
  border-collapse: collapse !important;
  margin-top: 30px;
}

table thead th {
  border-left: 1px solid #e7ecf1;
  border-top: 1px solid #e7ecf1;
  border-bottom: 1px solid #e7ecf1;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  word-break: break-word;
  max-width: 380px;
}

.last_td {
  border-right: 1px solid #e7ecf1;
}

table tbody td {
  border-left: 1px solid #e7ecf1;
  border-top: 1px solid #e7ecf1;
  border-bottom: 1px solid #e7ecf1;
  padding: 6px 18px;
  word-break: break-word;
  max-width: 380px;
}

.no_border {
  border-color: white;
}

.total {
  text-align: right;
}

.subtotal_td {
  padding: 10px 18px 4px;
}

.total_td, .tva_td, .outstanding_td {
  padding: 4px 18px;
}

.received_td {
  padding: 10px 18px 4px;
}

.invoice_footer {
  font-size: 10px;
}

@media print {
  .payment {
    display: none;
  }
}

.text-center {
  text-align: center !important;
}

.text-right {
  text-align: right !important;
}
/**************************************************************/
