/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

td,
th {
  border-bottom: none;
}

.post_date .w-post-elm-before {
  display: block;
  font-weight: 600;
}

.company_name .w-post-elm-before,
.offer_estimated_date .w-post-elm-before {
  font-weight: 600;
}

.single-teklif {
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.single-teklif .acf_table {
  border-collapse: collapse;
  width: 100%;
}

.offer-doc {
  display: flex;
  justify-content: space-between;
}
.offer-title {
  margin-bottom: 5px;
  font-weight: 600;
}

.single-teklif thead th {
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  vertical-align: middle;
  font-weight: 600;
  text-align: left;
  padding: 0;
  font-size: 1em;
  line-height: 1;
  height: 45px;
}

.single-teklif tbody tr {
  line-height: 1.9;
  border-bottom: 1px solid #000;
}

.single-teklif .tfoot {
  border-top: 1px solid #000;
  background-color: #fff !important;
}

.single-teklif td {
  text-align: left;
  padding: 20px 0;
  line-height: 1.6;
}

.single-teklif .service-title {
  padding-bottom: 0.6em;
}

.service-title i {
  margin-right: 10px;
  margin-bottom: 10px;
  display: block;
}

.single-teklif ul {
  line-height: 20px;
  list-style: none;
  counter-reset: counter;
  padding-left: 0;
  margin-left: 0;
  margin-top: 5px;
}

.single-teklif li {
  counter-increment: counter;
  position: relative;
  padding-left: 30px;
}

.single-teklif li::before {
  content: "—";
  /* content: counter(counter, decimal-leading-zero); */
  position: absolute;
  left: 0;
  top: 0px;
  color: #777;
}

.single-teklif .total-note {
  border: none;
}

.single-teklif .item-total {
  font-weight: 600;
}

.single-teklif .offer-notes {
  font-size: 1em;
  margin-top: 4em;
  margin-bottom: 1em;
}

.single-teklif .footer_info {
  font-size: 1em;
  line-height: 0.9em;
  margin-top: 4em;
  margin-bottom: 0;
}

.single-teklif .footer_info > table {
  width: 100%;
  border-collapse: collapse;
}

.single-teklif .footer_info td,
.single-teklif .footer_info th {
  border: 1px solid #ccc;
  text-align: left;
  padding: 8px;
  font-size: 1em;
  line-height: 1.6;
}

.hizmet-standartlari {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  margin-bottom: 40px;
}

.hizmet-standartlari p {
  line-height: 1.4;
}

.hizmet-title {
  font-size: 20px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
}

@page {
  size: A4 portrait;
  margin: 5mm 5mm 5mm 5mm;
  margin-bottom: 40px;
  counter-increment: page;

  @bottom-right {
    font-family: PP;
    font-size: 10px !important;
    content: counter(pages) " / " counter(page);
  }
  @bottom-left {
    font-family: PP;
    font-size: 10px;
    content: "Creatiea® Fiyat teklifi gizlidir. Üçüncü kişilerle paylaşılması yasaktır.";
  }
}

@media print {
  .second-page-content {
    page-break-before: always; /* 2. sayfadan başlatır */
    padding: 40px;
  }
  .single-teklif {
    font-size: 13px;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .single-teklif .footer_info td,
  .single-teklif .footer_info th {
    border: 0.1pt solid #ccc !important;
  }
  .single-teklif thead th {
    border-top: 0.5pt solid #777 !important;
    border-bottom: 0.5pt solid #777 !important;
  }
  .single-teklif tbody tr td {
    border-bottom: 0.5pt solid #777 !important;
  }

  .single-teklif .tfoot {
    border-top: 0.5pt solid #777 !important;
  }
  .offer-notes {
    page-break-inside: avoid;
  }
  .footer_info {
    page-break-inside: avoid;
  }
  tbody tr {
    page-break-inside: avoid;
  }
  .single-teklif .onlyScreen {
    display: none;
    height: 0;
  }
  .hizmet-standartlari {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin-bottom: 20px;
  }
  .hizmet-title {
    border-bottom: 0.5pt solid #777 !important;
  }
}

@media only screen {
  .second-page-content {
    margin-top: 120px;
  }
  .onlyScreen {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    justify-content: center;
    height: auto;
  }
  .onlyScreen > button {
    width: auto;
    padding: 16px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 7px;
    border: none;
    outline: none;
    border-radius: 16px;
    color: #111;
    background-color: #fff;
    transition: 0.25s;
    cursor: pointer;
    box-shadow: inset 0 0 0 0.08em #d7d7d7;
  }

  .onlyScreen > button:hover,
  .onlyScreen > button:focus {
    box-shadow: inset 0 0 0 0.08em #000;
  }
  .single-teklif {
    background-color: #e6e6e6;
    position: relative;
  }
}
