html {
  background: #ffffff;
}

body.voucher {
  margin: 0;
  padding: 0 34px;
  background: #ffffff;
  color: #141414;
  font-family: 'Vazirmatn', 'IBM Plex Sans Arabic', 'Noto Sans Arabic', sans-serif;
  font-size: 12px;
  line-height: 1.5;
  -webkit-print-color-adjust: exact;
}

html[dir='rtl'] body.voucher {
  direction: rtl;
  text-align: right;
}

p {
  margin: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

td,
th {
  padding: 0;
  vertical-align: top;
  text-align: left;
}

html[dir='rtl'] td,
html[dir='rtl'] th {
  text-align: right;
}

a {
  text-decoration: none;
}

.mono {
  font-family: 'DejaVu Sans Mono', 'Menlo', monospace;
  font-size: 0.94em;
}

.link,
.ref-link {
  color: #1a56b8;
  text-decoration: underline;
}

.label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5c5d5d;
}

html[dir='rtl'] .label {
  font-size: 11px;
  letter-spacing: 0;
}

.hint {
  font-size: 10.5px;
  color: #5c5d5d;
}

.note {
  font-size: 11px;
  color: #5c5d5d;
}

.masthead {
  margin: 0 0 4px;
}

.masthead td {
  vertical-align: middle;
}

.wordmark {
  vertical-align: middle;
  margin-right: 12px;
}

html[dir='rtl'] .wordmark {
  margin-right: 0;
  margin-left: 12px;
}

.document-title {
  display: inline-block;
  vertical-align: middle;
  font-size: 19.5px;
  font-weight: 500;
  white-space: nowrap;
  padding-top: 3px;
}

.masthead-status,
html[dir='rtl'] .masthead-status {
  text-align: right;
}

html[dir='rtl'] .masthead-status {
  text-align: left;
}

.pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 11px;
}

.pill-ok {
  background: #e3f4ec;
  color: #0f7a4a;
}

.pill-warn {
  background: #fff1d9;
  color: #9a5b00;
}

.card {
  background: #ffffff;
  border-radius: 10px;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 4px 14px rgba(0, 0, 0, 0.07);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 4px 14px rgba(0, 0, 0, 0.07);
  padding: 7px 14px 9px;
  margin-bottom: 7px;
  page-break-inside: avoid;
}

.card-heading {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 20px;
}

html[dir='rtl'] .card-heading {
  font-size: 13px;
  letter-spacing: 0;
}

.card-icon {
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  line-height: 20px;
  border-radius: 10px;
  background: #eaeef0;
  text-align: center;
  margin-right: 8px;
}

html[dir='rtl'] .card-icon {
  margin-right: 0;
  margin-left: 8px;
}

.card-icon img {
  vertical-align: middle;
  margin-top: -2px;
}

.card-title {
  vertical-align: middle;
}

.sub-heading {
  margin: 6px 0 2px;
  font-size: 11px;
  font-weight: 700;
  color: #5c5d5d;
}

.refs .ref {
  width: 31%;
  padding: 7px 14px;
  border-left: 1px solid #dfe2e2;
}

.refs .ref:first-child {
  border-left: 0;
}

html[dir='rtl'] .refs .ref {
  border-left: 0;
  border-right: 1px solid #dfe2e2;
}

html[dir='rtl'] .refs .ref:first-child {
  border-right: 0;
}

.refs .ref-main {
  width: 38%;
  background: #e3f4ec;
  border-radius: 8px;
}

.ref-value {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.ref-main .ref-value {
  font-size: 20px;
  color: #0f7a4a;
}

.ref-link-arrow {
  vertical-align: baseline;
  margin-left: 4px;
}

.stay-main {
  padding-right: 16px;
}

html[dir='rtl'] .stay-main {
  padding-right: 0;
  padding-left: 16px;
}

.hotel {
  margin-bottom: 10px;
}

.hotel-photo-cell {
  width: 112px;
  padding-right: 14px;
}

html[dir='rtl'] .hotel-photo-cell {
  padding-right: 0;
  padding-left: 14px;
}

.hotel-photo {
  position: relative;
  width: 112px;
  height: 84px;
  border-radius: 8px;
  background-color: #f6f4f4;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
}

.photo-tag {
  position: absolute;
  left: 6px;
  bottom: 6px;
  font-size: 9.5px;
  background: #555555;
  color: #ffffff;
  padding: 0 6px;
  border-radius: 4px;
}

html[dir='rtl'] .photo-tag {
  left: auto;
  right: 6px;
}

.hotel-name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.stars {
  margin-left: 6px;
  white-space: nowrap;
}

html[dir='rtl'] .stars {
  margin-left: 0;
  margin-right: 6px;
}

.stars img {
  vertical-align: baseline;
  margin-right: 1px;
}

.address {
  margin-top: 2px;
}

.contact {
  margin-top: 2px;
  font-size: 11.5px;
}

.dates {
  background: #f6f4f4;
  border-radius: 10px;
}

.dates td {
  text-align: center;
  vertical-align: middle;
}

html[dir='rtl'] .dates td {
  text-align: center;
}

.date {
  width: 32%;
  padding: 3px 8px;
}

.date .day {
  font-size: 12px;
  color: #5c5d5d;
}

.big {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.05;
}

.date .month {
  font-size: 13px;
  font-weight: 700;
}

.date .time {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  color: #141414;
}

.nights {
  width: 36%;
  padding: 6px;
  border-left: 1px dashed #dfe2e2;
  border-right: 1px dashed #dfe2e2;
}

.nights .arrow {
  margin: 2px 0 4px;
  line-height: 10px;
}

.nights .arrow img {
  width: 70%;
  height: 10px;
}

.chip {
  display: inline-block;
  font-size: 10.5px;
  line-height: 1.4;
  background: #ffffff;
  border: 1px solid #dfe2e2;
  border-radius: 12px;
  padding: 2px 10px;
  color: #5c5d5d;
}

.map-cell {
  width: 270px;
  height: 100%;
  border: 1px solid #dfe2e2;
  border-radius: 8px;
  background-color: #e8ecef;
  background-position: center bottom;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  vertical-align: top;
}

.map-cell-empty {
  background-image: none;
}

.map-link {
  display: block;
  height: 100%;
  padding: 8px;
  text-align: right;
}

html[dir='rtl'] .map-link {
  text-align: left;
}

.map-cta {
  display: inline-block;
  background: #ffffff;
  color: #141414;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid #d5d5d5;
}

.rooms th {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5c5d5d;
  padding: 2px 8px 4px 0;
}

html[dir='rtl'] .rooms th {
  font-size: 11px;
  letter-spacing: 0;
  padding: 2px 0 4px 8px;
}

.rooms td {
  padding: 4px 8px 4px 0;
  border-top: 1px solid #dfe2e2;
}

html[dir='rtl'] .rooms td {
  padding: 4px 0 4px 8px;
}

.rooms-name {
  width: 43%;
}

.rooms-board {
  width: 25%;
}

.pair {
  margin-bottom: 7px;
  page-break-inside: avoid;
}

.pair-card {
  width: 50%;
}

.pair .card {
  margin-bottom: 0;
}

.pair-gap {
  width: 10px;
  min-width: 10px;
  background: #ffffff;
}

.pay-main {
  font-weight: 700;
}

.pay-row td {
  vertical-align: baseline;
}

.pay-amount {
  font-size: 18px;
  font-weight: 700;
  color: #9a5b00;
  text-align: right;
  white-space: nowrap;
}

html[dir='rtl'] .pay-amount {
  text-align: left;
}

.fees td {
  padding: 2px 0;
}

.fees .fee-amount {
  text-align: right;
  padding-left: 12px;
  white-space: nowrap;
}

html[dir='rtl'] .fees .fee-amount {
  text-align: left;
  padding-left: 0;
  padding-right: 12px;
}

.policies td {
  padding: 4px 10px;
  background: #f6f4f4;
  border-left: 4px solid #9a9c9c;
  border-bottom: 1px solid #ffffff;
}

html[dir='rtl'] .policies td {
  border-left: 0;
  border-right: 4px solid #9a9c9c;
}

.policies .policy-free td,
html[dir='rtl'] .policies .policy-free td {
  background: #e3f4ec;
  border-left-color: #0f7a4a;
  border-right-color: #0f7a4a;
}

.policies .policy-partial td,
html[dir='rtl'] .policies .policy-partial td {
  background: #fff1d9;
  border-left-color: #9a5b00;
  border-right-color: #9a5b00;
}

.policies .policy-full td,
html[dir='rtl'] .policies .policy-full td {
  background: #ffecee;
  border-left-color: #cd0037;
  border-right-color: #cd0037;
}

.policy-note {
  margin-top: 4px;
}

.checks td {
  width: 50%;
  padding: 1px 14px 1px 18px;
}

html[dir='rtl'] .checks td {
  padding: 1px 18px 1px 14px;
}

.bullet {
  display: inline-block;
  width: 14px;
  margin-left: -14px;
}

html[dir='rtl'] .bullet {
  margin-left: 0;
  margin-right: -14px;
}

.for-hotel {
  font-size: 11.5px;
  direction: ltr;
  text-align: left;
}

html[dir='rtl'] .for-hotel,
html[dir='rtl'] .for-hotel td {
  text-align: left;
}

.for-hotel p {
  margin-bottom: 3px;
}

.hotel-remark {
  margin: 2px 0;
}

.keep-together {
  page-break-inside: avoid;
}

.hotel-remark[dir='ltr'],
html[dir='rtl'] .hotel-remark[dir='ltr'] {
  text-align: left;
}

.hotel-remark[dir='rtl'] {
  text-align: right;
}

[dir='ltr'] {
  direction: ltr;
  unicode-bidi: embed;
}

[dir='rtl'] {
  direction: rtl;
  unicode-bidi: embed;
}

.receipt-lines th {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5c5d5d;
  padding: 2px 0 4px;
}

html[dir='rtl'] .receipt-lines th {
  font-size: 11px;
  letter-spacing: 0;
}

.receipt-lines td {
  padding: 6px 0;
  border-top: 1px solid #dfe2e2;
}

.receipt-lines .num,
html[dir='rtl'] .receipt-lines .num {
  text-align: right;
  white-space: nowrap;
  padding-left: 16px;
}

html[dir='rtl'] .receipt-lines .num {
  text-align: left;
  padding-left: 0;
  padding-right: 16px;
}

.receipt-lines tfoot td {
  padding: 5px 0;
}

.receipt-lines .receipt-total td {
  border-top: 2px solid #141414;
  font-size: 16px;
  font-weight: 700;
  padding-top: 8px;
}

.receipt-discount {
  color: #0f7a4a;
}

.card-may-split {
  page-break-inside: auto;
}

.receipt {
  page-break-before: always;
  min-height: 992px;
}

.receipt .card p {
  margin-bottom: 2px;
}
