/* Custom button styles */
.btn {
  border-radius: 0.25rem;
  border-bottom-width: 2px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12),
    0 3px 1px -2px rgba(0, 0, 0, 0.2);
}
.btn.btn-primary,
.btn.btn-primary.btn-outline,
.btn.btn-inverse {
  color: #ffffff;
  background-color: #d11947;
  border-color: #d11947;
  border-bottom-color: #a31438;
}
.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active,
.btn.btn-primary.btn-outline:hover,
.btn.btn-primary.btn-outline:focus,
.btn.btn-primary.btn-outline:active,
.btn.btn-inverse:hover,
.btn.btn-inverse:focus,
.btn.btn-inverse:active {
  background-color: #e73662;
  border-color: #e73662;
}
.btn.btn-secondary {
  color: white;
  background-color: #135cb0;
  border-color: #135cb0;
  border-bottom-color: #0e4482;
}
.btn.btn-secondary:hover,
.btn.btn-secondary:focus,
.btn.btn-secondary:active {
  color: white;
  background-color: #2881e8;
  border-color: #2881e8;
}
.btn.btn-info {
  background-color: transparent;
  border-bottom-width: 1px;
  border-color: #d11947;
  color: #d11947;
}
.btn.btn-info:hover,
.btn.btn-info:focus,
.btn.btn-info:active {
  background-color: #d11947;
  color: #ffffff;
}

/* Page title, hero */
.page-title {
  background-color: #474c55;
  color: #ffffff;
}
.home .homepage-hero {
  background-color: #474c55;
}

/* Tickets bar */
.home .tickets-bar {
  background-color: #ffffff;
  color: #000000;
}
.home .tickets-bar .container ul li a {
  color: #135cb0 !important;
  text-decoration: underline;
}
.home .tickets-bar .container ul li a:hover {
  color: #d11947;
}

/* Typography */
html {
  font-family: "SJ Sans" !important;
  font-size: 14.224px;
}
body {
  font-family: "SJ Sans" !important;
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "SJ Sans" !important;
}
@media screen and (min-width: 600px) {
  html {
    font-size: 16px;
  }
}
@media screen and (min-width: 1180px) {
  html {
    font-size: 18.24px;
  }
}

@font-face {
  font-family: "SJ Sans";
  src: url(https://www.stjude.org/etc/clientlibs/stjude/shared/fonts/sj-sans/sjs-regular.eot);
  src: url(https://www.stjude.org/etc/clientlibs/stjude/shared/fonts/sj-sans/sjs-regular.eot?#iefix)
      format("embedded-opentype"),
    url(https://www.stjude.org/etc/clientlibs/stjude/shared/fonts/sj-sans/sjs-regular.woff)
      format("woff"),
    url(https://www.stjude.org/etc/clientlibs/stjude/shared/fonts/sj-sans/sjs-regular.ttf)
      format("truetype"),
    url(https://www.stjude.org/etc/clientlibs/stjude/shared/fonts/sj-sans/sjs-regular.svg#open_sansregular)
      format("svg");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "SJ Sans";
  src: url(https://www.stjude.org/etc/clientlibs/stjude/shared/fonts/sj-sans/sjs-bold.eot);
  src: url(https://www.stjude.org/etc/clientlibs/stjude/shared/fonts/sj-sans/sjs-bold.eot?#iefix)
      format("embedded-opentype"),
    url(https://www.stjude.org/etc/clientlibs/stjude/shared/fonts/sj-sans/sjs-bold.woff)
      format("woff"),
    url(https://www.stjude.org/etc/clientlibs/stjude/shared/fonts/sj-sans/sjs-bold.ttf)
      format("truetype"),
    url(https://www.stjude.org/etc/clientlibs/stjude/shared/fonts/sj-sans/sjs-bold.svg#open_sansregular)
      format("svg");
  font-style: normal;
  font-weight: 700;
}

/* Custom footer */
.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem 1rem 7rem 1rem;
  background: #333333;
  color: #ffffff;
}
@media screen and (min-width: 600px) {
  .footer-bottom {
    padding-bottom: 1rem;
  }
}
@media screen and (min-width: 900px) {
  .footer-bottom {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    padding: 2rem;
  }
}
.footer-bottom .footer-logo-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin: 1rem 0;
}
@media screen and (min-width: 900px) {
  .footer-bottom .footer-logo-section {
    margin: 0;
  }
}
.footer-bottom .footer-logo-icon-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  font-size: 0.75rem;
  line-height: 0.75rem;
  width: 6.9601rem;
}
@media screen and (min-width: 600px) {
  .footer-bottom .footer-logo-icon-wrapper {
    width: 6.1875rem;
  }
}
@media screen and (min-width: 1180px) {
  .footer-bottom .footer-logo-icon-wrapper {
    width: 5.4276rem;
  }
}
.footer-bottom .footer-logo-icon {
  margin-bottom: 0.5rem;
}
.footer-bottom .footer-logo-icon-child,
.footer-bottom .footer-logo-icon-trademark-circle,
.footer-bottom .footer-logo-icon-trademark-r {
  fill: #ffffff;
}
.footer-bottom .footer-text-section {
  margin-left: 0;
  text-align: center;
}
@media screen and (min-width: 900px) {
  .footer-bottom .footer-text-section {
    margin-left: 2rem;
    text-align: left;
  }
}
.footer-bottom .footer-copyright-notice {
  margin: 0;
  color: #b3b3b3;
  font-size: 0.85rem;
}
.footer-bottom .footer-nav .footer-nav-links {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
  margin: 1rem 0;
  list-style-type: none;
}
@media screen and (min-width: 900px) {
  .footer-bottom .footer-nav .footer-nav-links {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
    max-width: none;
  }
}
.footer-bottom .footer-nav .footer-nav-link-wrapper {
  margin-right: 0;
}
@media screen and (min-width: 900px) {
  .footer-bottom .footer-nav .footer-nav-link-wrapper {
    margin-right: 1rem;
  }
}
.footer-bottom .footer-nav .footer-nav-link {
  color: #ffffff;
  font-size: 0.75rem;
  text-decoration: underline;
}

/* Custom card styles */
.card .card-content h2 {
  padding-bottom: 1rem !important;
}
.card .card-content h2 + hr {
  width: 3.5rem;
  border-top: 3px solid #ce2f3f;
  margin-left: 0;
  padding-bottom: 2rem;
}
.card .card-content h5 {
  font-weight: bold;
  font-size: 22px;
  color: black;
  padding-bottom: 1rem !important;
  border-bottom: none;
  text-transform: none;
  letter-spacing: normal;
}
.card .card-content h5::after {
  content: "";
  display: inline-block;
  width: 3.5rem;
  border-top: 3px solid #ce2f3f;
  margin-top: 1.5rem;
  margin-left: 0;
  margin-right: calc(100% - 3.5rem);
}
.card .card-content .card-list li .list-details .list-detail-heading h5:empty {
  display: none;
}
.card.has-sidebar .card-content {
  flex: 0 1 auto;
}
.card .card-sidebar {
  padding: 4.75rem 2.5rem;
  min-width: 17.5rem;
  background-color: rgba(0, 0, 0, 0.025);
}
@media (max-width: 767px) {
  .card .card-sidebar {
    min-width: 100%;
  }
}

/* Custom form styles */
select.form-control:not([size]):not([multiple]),
.iats-payment
  .iats-form
  .IATS_Div
  .IATS_PaymentDiv
  .IATS_PaymentItemDiv
  select:not([size]):not([multiple]),
.comodo-form #checkout-embed select#mask:not([size]):not([multiple]),
.comodo-form #checkout-embed select#cardExpMonth:not([size]):not([multiple]),
.comodo-form #checkout-embed select#cardExpYear:not([size]):not([multiple]),
.comodo-form #checkout-embed select#securityCode:not([size]):not([multiple]),
.iats-payment
  .iats-form
  .IATS_Div
  .IATS_PaymentDiv
  .IATS_PaymentItemDiv
  select:not([size]):not([multiple]),
.comodo-form #checkout-embed select#mask:not([size]):not([multiple]),
.comodo-form #checkout-embed select#cardExpMonth:not([size]):not([multiple]),
.comodo-form #checkout-embed select#cardExpYear:not([size]):not([multiple]),
.comodo-form #checkout-embed select#securityCode:not([size]):not([multiple]) {
  height: 2.5rem;
}
