.email-body,
.email-body p {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  line-height: 1.4;
  color: #1f1f1f;
}

.email-body a,
.email-body h1,
.email-body h2,
.email-body h3 {
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  color: #1f1f1f;
}

.email-body img {
  border: 0;
  outline: none;
  text-decoration: none;
  -ms-interpolation-mode: bicubic;
  display: block;
  max-width: 100%;
  height: auto;
}

.email-body {
  margin: 0;
  background-color: #efefed;
  padding: 0;
}

.email-outer {
  width: 100%;
  background-color: #FFF9F2;
}

.email-container {
  width: 100%;
  max-width: 640px;
  background-color: #ffffff;
  border-collapse: collapse;
}

.email-header {
  background-color: #FE8748;
  padding: 30px 16px;
  text-align: center;
  color:#ffffff;
}

.email-logo {
  width: 250px;
  height: 16px;
  margin: 0 auto;
}

.email-content {
  background-color: #ffffff;
}

.email-section {
  width: 100%;
}

.email-section-inner {
  padding: 24px;
}

.email-section-no-pad {
  padding: 0;
}

.email-text, .prose {
  font-size: 16px;
  line-height: 1.5;
  color: #2a2a2a;
}

.email-h1, .prose h1 {
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 14px 0 !important;
  font-weight: 700;
  color: #111111;
}

.email-h2, .prose h2 {
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 10px 0 !important;
  font-weight: 700;
  color: #111111;
}

.email-p, .prose p {
  margin: 0 0 14px 0 !important;
}

.email-divider {
  border-top: 1px solid #e3e3de;
  height: 1px;
  line-height: 1px;
  font-size: 1px;
}

.btn-wrap {
  padding: 8px 0;
}

.btn-wrap-center {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 12px 18px !important;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-label {
  display: inline-block;
  vertical-align: middle;
}

.btn-icon {
  display: inline-block !important;
  vertical-align: middle;
  margin-left: 6px;
  border: 0;
  outline: none;
  text-decoration: none;
}

.btn-rounded {
  border-radius: 999px;
}

.btn-brand {
  background-color: #FE8748;
  border-color: #FE8748;
  color: #ffffff !important;
}

.btn-black {
  background-color: #000000;
  border-color: #000000;
  color: #ffffff !important;
}

.btn-gray {
  background-color: #8f8f8f;
  border-color: #8f8f8f;
  color: #ffffff !important;
}

.btn-white {
  background-color: #ffffff;
  border-color: #d4d4cf;
  color: #1f1f1f !important;
}

.btn-full {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.line-items {
  width: 100%;
  border-collapse: collapse;
}

.line-items th {
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  color: #666666;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 1px solid #e3e3de;
}

.line-items td {
  font-size: 15px;
  color: #2a2a2a;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  padding: 12px 0;
  border-bottom: 1px solid #efefea;
  vertical-align: top;
}

.line-items .num {
  text-align: right;
  white-space: nowrap;
}

.line-items .total-row td {
  border-top: 2px solid #dcdcd6;
  border-bottom: 0;
  font-weight: 700;
  padding-top: 14px;
}

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

.col {
  width: 50%;
  vertical-align: top;
  padding: 0;
}

.col-3 {
  width: 33.3333%;
  vertical-align: top;
  padding: 0;
}

.col-left {
  padding-right: 8px;
}

.col-right {
  padding-left: 8px;
}

.col-3-first {
  padding-right: 8px;
}

.col-3-middle {
  padding-left: 4px;
  padding-right: 4px;
}

.col-3-last {
  padding-left: 8px;
}

.card {
  background-color: #f7f7f3;
  border: 1px solid #e6e6df;
  padding: 14px;
}

.text-center {
  text-align: center;
}

.muted {
  color: #707070;
  font-size: 14px;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}

.social-link {
  display: inline-block;
  text-decoration: none;
}

.social-logo {
  display: block;
  width: 40px !important;
  min-width: 40px;
  max-width: 40px !important;
  height: 40px !important;
  border: 0;
  outline: none;
  text-decoration: none;
  margin: 0 auto;
}

.footer-unsubscribe {
  display: inline-block;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: #ffffff !important;
  text-decoration: underline;
}

.footer-cta-link {
  display: inline-table;
  vertical-align: middle;
  text-decoration: none;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  color: #ffffff !important;
}

.footer-cta-text {
  display: inline-block;
  vertical-align: middle;
  color: #ffffff !important;
}

.footer-cta-icon {
  display: inline-block !important;
  vertical-align: middle;
  width: 24px !important;
  height: 24px !important;
  margin-left: 6px;
  border: 0;
  outline: none;
  text-decoration: none;
}

/* Email section background utilities */
.bg-spencer-orange {
  background-color: #FF8849;
}
.bg-spencer-light-blue {
  background-color:#96B2FA;
}
.bg-black {
  background-color: #000000;
}

.bg-brand-blue-dark {
  background-color: #122961;
}

.bg-brand-blue-teal {
  background-color: #037882;
}

.bg-brand-green-dark {
  background-color: #235A3C;
}

.bg-brand-purple-dark {
  background-color: #3D1742;
}

.bg-brand-beige {
  background-color: #F4E8DF;
}

.bg-brand-grey-light {
  background-color: #F5F5F5;
}

/* Email section text utilities */
.text-white .email-text,
.text-white .prose,
.text-white .email-p,
.text-white p {
  color: #ffffff !important;
}

.text-white .email-h1,
.text-white .prose h1,
.text-white h1 {
  color: #ffffff !important;
}

.text-white .email-h2,
.text-white .prose h2,
.text-white h2 {
  color: #ffffff !important;
}

.text-white .email-h3,
.text-white h3 {
  color: #ffffff !important;
}

.text-white a {
  color: #ffffff !important;
}

.text-white .muted {
  color: #e6e6e6 !important;
}

.text-light-accent .email-text,
.text-light-accent .prose,
.text-light-accent .email-p,
.text-light-accent p {
  color: #e6e6e6 !important;
}

.text-light-accent .email-h1,
.text-light-accent .prose h1,
.text-light-accent h1 {
  color: #ffffff !important;
}

.text-light-accent .email-h2,
.text-light-accent .prose h2,
.text-light-accent h2 {
  color: #ffffff !important;
}

.text-light-accent a {
  color: #ffffff !important;
}

@media only screen and (max-width: 640px) {
  .email-body {
    padding: 12px 0 !important;
  }

  .email-container {
    width: 100% !important;
  }

  .email-section-inner {
    padding: 18px !important;
  }

  .stack-col,
  .stack-col-3 {
    display: block !important;
    width: 100% !important;
    padding: 0 0 12px 0 !important;
  }

  .stack-col:last-child,
  .stack-col-3:last-child {
    padding-bottom: 0 !important;
  }

  .email-h1 {
    font-size: 24px !important;
  }
}

.uppercase {
  text-transform: uppercase;
}

.font-semibold {
  font-weight: 600;
}
.no-underline {
  text-decoration: none;
}