@font-face {
  font-family: Junge;
  src: url(Junge-Regular.ttf);
}

a {
  color: #001028;
  text-decoration: none;
}

.arrow {
  margin-bottom: 4px;
}

.arrow.back {
  text-align: right;
}

.inner-arrow {
  padding-right: 10px;
  height: relative;
  display: inline-block;
  background-color: rgb(232, 213, 199);
  text-align: center;

  line-height: 30px;
  vertical-align: middle;
}

.arrow.back .inner-arrow {
  background-color: rgb(232, 213, 199);
  padding-right: 0;
  padding-left: 10px;
}

.arrow:before,
.arrow:after {
  content:'';
  display: inline-block;
  width: 0; height: 0;
  border: 15px solid transparent;
  vertical-align: middle;
}

.arrow:before {
  border-top-color: rgb(233, 125, 49);
  border-bottom-color: rgb(233, 125, 49);
  border-right-color: rgb(233, 125, 49);
}

.arrow.back:before {
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-right-color: rgb(233, 217, 49);
  border-left-color: transparent;
}

.arrow:after {
  border-left-color: rgb(233, 125, 49);
}

.arrow.back:after {
  border-left-color: rgb(233, 217, 49);
  border-top-color: rgb(233, 217, 49);
  border-bottom-color: rgb(233, 217, 49);
  border-right-color: transparent;
}

.arrow span {
  display: inline-block;
  width: 80px;
  margin-right: 20px;
  text-align: right;
}

.arrow.back span {
  margin-right: 0;
  margin-left: 20px;
  text-align: left;
}

h1 {
  color: #5D6975;
  font-family: Junge;
  font-size: 2.4em;
  line-height: 1.4em;
  font-weight: normal;
  text-align: center;
  border-top: 1px solid #5D6975;
  border-bottom: 1px solid #5D6975;
  margin: 0 0 2em 0;
}

h1 small {
  font-size: 0.45em;
  line-height: 1.5em;
  float: left;
}

h1 small:last-child {
  float: right;
}

#customer {
  float: left;
}

#company {
  float: right;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 30px;
}

table th,
table td {
  text-align: center;
}

table th {
  padding: 5px 20px;
  color: #5D6975;
  border-bottom: 1px solid #C1CED9;
  white-space: nowrap;
  font-weight: normal;
}

table .service,
table .desc {
  text-align: left;
}

table td {
  padding: 15px;
  text-align: right;
}

table td.service,
table td.desc {
  vertical-align: top;
}

table td.total {
  font-size: 1.2em;
}

table td.sub {
  border-top: 1px solid #C1CED9;
}

table td.grand {
  border-top: 1px solid #5D6975;
}

table tr:nth-child(2n-1) td {
  background: #EEEEEE;
}

table tr:last-child td {
  background: #DDDDDD;
}

table tfoot td {
  padding: 10px 20px;
  border-bottom: none;
  font-size: 1.2em;
  white-space: nowrap;
  border-top: 2px solid #AAAAAA;
}

table tfoot tr:first-child {
  border: 2px;
}
table tfoot tr:last-child {
  border: 2px;
}

table tfoot tr:last-child td {
  border: 2px;
  font-size: 1.4em;
  background-color: #D4A190;
}

#details {
  margin-bottom: 30px;
}

footer {
  color: #5D6975;
  width: 100%;
  height: 30px;
  position: absolute;
  bottom: 0;
  border-top: 1px solid #C1CED9;
  padding: 8px 0;
  text-align: center;
}