/*!
Theme Name: Teklif Pro 
Theme URI: https://www.iea.web.tr
Author: İsmail Enes Ayhan
Author URI: https://www.ismailenesayhan.com
Description: Create limitless PDF offer or invoice
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: teklif-pro
Domain Path: /languages/
*/

/* Text meant only for screen readers. */

@font-face{
    font-family:avenir;
    font-style:normal;
    font-weight:400;
    src:local('Avenir'),url(/wp-content/themes/teklif-pro/avenir.woff) format('woff')}


body {
  font-family: "Avenir", sans-serif;
  font-size: 18px;
}
.acf_table {
  border-collapse: collapse;
  width: 100%;
}

thead {
  border-bottom: 2px solid #555;
}

tbody tr {
  line-height: 1.9;
}

.tfoot {
  border-top: 2px solid #555;
  background-color: #fff !important;
}

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

tr:nth-child(even) {
  background-color: #f5f5f5;
}

.container {
  width: 1000px;
}

.header_group {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.header_left h3 {
  font-size: 1em;
  margin-top: 0;
  margin-bottom: 0.4em;
}

.header_left h3 > span {
  font-weight: 400;
}

.header_left > .page_title {
  font-size: 1.75em;
  margin-top: 0;
  margin-bottom: 1em;
}

.header_left > .h3_end_date {
  margin-top: 1.6em;
}

.header_right {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  text-align: right;
}

.header_right .header_logo {
  display: flex;
  align-items: center;
  gap: 0.25em;
  margin-bottom: 1em;
}

.header_logo h1 {
  font-size: 1.3em;
  line-height: 1.55em;
  font-weight: 500;
}

.header_right span {
  font-size: 1em;
}

.header_right p {
  font-size: 1em;
  line-height: 1.4em;
  margin-top: 0.2em;
  margin-bottom: 0.5em;
}

.subfield-list {
  font-size: 0.8em;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.subfield-list > li:before {
  content: "-";
}

.total-note {
  font-size: 0.8em;
  font-style: italic;
  border: none;
}

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

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

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

.footer_info ul {
  font-size: 0.8em;
  font-weight: 400;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.footer_info li:before {
  content: "-";
  margin-right: .5em;
}

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

.onlyScreen {
  display: none;
  height: 0;
}

@media print {
  .offer-notes {
    page-break-inside: avoid;
  }
  .footer_info {
    page-break-inside: avoid;
  }
  tbody tr {
    page-break-inside: avoid;
  }
}
@page {
  size: A4 portrait;
}

@media only screen {
  .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;
  }
  body {
    background-color: #e6e6e6;
    position: relative;
  }
  .container {
    background-color: #fff;
    margin-top: 1em;
    margin-left: auto;
    margin-right: auto;
    padding: 2.5em;
    border-radius: 16px;
    box-shadow: inset 0 0 0 0.08em #d7d7d7;
  }
}
