html {
  background: #f0f0f0;
}

html {
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  color: #444;
}

#email-wrap {
  padding: 30px 20px;
  max-width: 900px;
  margin: 0 auto;
  background: white;
}

/** GLOBAL STYLING **/
.divider {
  color: #b0b0b0;
  font-weight: 100;
  margin: 0 3px;
}

hr {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #e0e0e0;
  margin: 30px 0;
  outline: none;
}

h1 {
  font-size: 1.75rem;
  margin: 0 0 .65em 0;
  line-height: 1.35em;
  font-weight: 100;
}

p {
  font-size: 1rem;
  line-height: 1.5em;
  margin: 0 0 1em;
}

p a, td a, th a {
  color: #b6974d;
  text-decoration: none;
  outline: none;
  font-weight: 600;
  border-bottom: 1px dotted #d7c69d;
}

.gold {
  color: #b6974d;
}

a.button {
  display: inline-block;
  line-height: 1em;
  padding: .65em 1em;
  background: #b6974d;
  border-radius: 3px;
  color: white;
  text-decoration: none;
  border: none;
  font-size: .85rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
a.button:hover {
  background: #8f763b;
}
a.button.button-gray {
  background: #888;
}
a.button.button-gray:hover {
  background: #444;
}

/** UNIVERSAL TABLE STYLING **/
table {
  border-collapse: collapse;
  width: 100%;
  margin: 15px auto 30px;
}
table tr:nth-of-type(2n) {
  background: #f4f4f4;
}
table td, table th {
  border: 1px solid #b0b0b0;
  padding: 5px 8px;
  text-align: center;
  font-weight: 400;
  font-size: .9rem;
}
table tbody th {
  font-weight: 700;
  padding: 10px 8px;
}
table tfoot {
  color: #888;
}
table tfoot td {
  padding-top: 10px;
  border: none;
  text-align: left;
}

table.order {
  width: 100%;
}
table.order thead th {
  border: 0;
}
table.order thead h2, table.order thead h3, table.order thead h4 {
  margin: 0;
  padding: 0;
}
table.order thead em {
  color: #b6974d;
  font-style: normal;
  font-weight: 600;
}
table.order thead .order__ticketNum {
  display: block;
  float: left;
  position: relative;
  background: #b6974d;
  padding: 0 4px;
  height: 22px;
  line-height: 23px;
  color: white;
  font-weight: 100;
  font-size: 1rem;
  margin-left: 10px;
  margin-top: 4px;
  border: 0;
}
table.order thead .order__ticketNum:before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0;
  bottom: 0;
  border-bottom: 22px solid #b6974d;
  border-left: 5px solid transparent;
}
table.order thead .order__ticketNum:after {
  content: "";
  position: absolute;
  right: -5px;
  top: 0;
  bottom: 0;
  border-top: 22px solid #b6974d;
  border-right: 5px solid transparent;
}
table.order thead h2.order__customerName {
  display: block;
  float: left;
  padding: 0;
  margin: 0;
  padding: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 30px;
}
@media only screen and (min-width: 768px) {
  table.order thead h2.order__customerName {
    font-size: 1.35rem;
  }
}
table.order thead .thead__second {
  text-align: right;
}
table.order thead .thead__second .order__eventName {
  font-weight: 300;
  margin-bottom: 3px;
}
table.order thead .thead__second .order__eventName a {
  font-weight: 300;
}
@media only screen and (max-width: 540px) {
  table.order thead .thead__second {
    text-align: left;
    display: block;
    clear: left;
    padding-top: 5px;
  }
}
table.order tfoot .tfoot__notes, table.order tfoot .tfoot__measurements, table.order tfoot .tfoot__dropShip {
  clear: both;
  padding-top: 5px;
}
@media only screen and (min-width: 768px) {
  table.order tfoot .tfoot__notes, table.order tfoot .tfoot__measurements, table.order tfoot .tfoot__dropShip {
    text-align: left;
  }
}
table.order tfoot em {
  color: #b6974d;
  font-style: normal;
  font-weight: 600;
}
@media only screen and (min-width: 768px) {
  table.order tfoot .tfoot__first {
    float: left;
    text-align: left;
  }
  table.order tfoot .tfoot__second {
    float: right;
    text-align: right;
  }
}
table.order .order__item {
  text-align: left;
}

/* EMAIL Header and FOOTER STYLING */
.header {
  margin-bottom: 20px;
}
.header .header__logo {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0;
  margin-bottom: 20px;
}
@media only screen and (min-width: 768px) {
  .header .header__logo {
    float: left;
    width: 40%;
  }
}
.header .header__logo img {
  display: block;
  width: 100%;
  height: auto;
}
.header .pmOnline {
  border: 1px solid #e0e0e0;
  padding: 15px;
  width: 100%;
  max-width: 350px;
}
@media only screen and (min-width: 768px) {
  .header .pmOnline {
    float: right;
    max-width: 350px;
  }
}
.header .pmOnline p {
  margin-bottom: 5px;
  line-height: 1.15em;
}
.header .pmOnline .pmOnline__header {
  margin-bottom: 5px;
}
.header .pmOnline .pmOnline__header h2 {
  margin: 0;
  font-weight: 100;
  margin-bottom: 3px;
}
.header .pmOnline .pmOnline__header p {
  margin: 0;
  line-height: 1.15em;
}

.footer {
  margin-top: 30px;
  border-top: 3px solid #f0f0f0;
  padding-top: 30px;
}
.footer p {
  font-size: .85rem;
}
.footer .footer__section {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 15px;
}
.footer .footer__logo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 300px;
  margin: 0 auto;
}
@media only screen and (min-width: 768px) {
  .footer .footer__section {
    float: left;
    text-align: left;
  }
  .footer .footer__logo {
    width: 35%;
    margin: 0 5% 0 0;
  }
  .footer .footer__logo img {
    max-width: none;
  }
  .footer .footer__addr {
    width: 35%;
    margin: 0 5% 0 0;
  }
  .footer .footer__custServ {
    width: 20%;
    margin: 0;
    float: right;
  }
}
