#r8_content h3, .cke_editable h2, .infoBlock h3 {
  font-family: 'Crete Round', serif;
  font-size: 1.4em !important;
}

.container {
  padding-right: 5px;
  padding-left: 5px;
  margin-right: auto;
  margin-left: auto;
}

#r8_content .parallax-overlay .container {
  padding-left: 18px;
  padding-right: 18px;
}

#r8_content .ub .container {
  padding-left: 5px;
  padding-right: 5px;
}

#body .btn-default {
  color: #ffffff;
  background-color: #960909;
  border-color: #ccc;
}

.r8_form {
  margin: 0 auto;
  width: 100%;
  max-width: 600px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
  display: table;
  background: #ffffff;
  color: #000000;
}

.r8_form_title {
  text-align: center;
  font-size: 2.5em;
  padding-bottom: 0.5em;
  padding-top: 0.5em;
}

.r8_form .r8_form_para {
  line-height: 1.35;
  padding-bottom: 0.5em;
}

.r8_form label {
  margin-top: 3px;
  margin-bottom: 3px;
  font-size: 1.2em;
  line-height: 1.8em;
}

.parallax-dark hr, .ub-dark hr, .ub-palette-dark hr, .ub-palette hr {
  border-top: 3px solid #ed2f26;
  padding-bottom: 0.5em;
}

.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9,
.col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9,
.col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9,
.col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
  position: relative;
  min-height: 1px;
  padding-right: 7px;
  padding-left: 7px;
}

.ub {
  width: calc(100vw);
  position: relative;
  left: calc(-50vw + 50%);
  min-height: 50px;
  padding-top: 15px;
  padding-bottom: 1px;
}

.ub-light {
  background-color: #ebebeb;
  color: #444;
}


/* Original scrolling accreditation banner */
.logo-banner {
  --logo-height: 82px;
  --logo-width: 176px;
  --logo-gap: 54px;
  --scroll-speed: 30s;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  overflow: hidden;
  background: transparent;
}

.logo-banner__track {
  display: flex;
  width: max-content;
  animation: logo-banner-scroll var(--scroll-speed) linear infinite;
  will-change: transform;
}

.logo-banner__group {
  display: flex;
  align-items: center;
  gap: var(--logo-gap);
  padding-right: var(--logo-gap);
  flex-shrink: 0;
}

.logo-banner__item {
  width: var(--logo-width);
  height: var(--logo-height);
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

@keyframes logo-banner-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 767px) {
  #body .r8_col3 h1 {
    text-align: left;
    font-size: 1.8em;
    line-height: 1em;
    margin-bottom: -2px;
    margin-top: -1px;
  }

  #r8_logo img {
    display: block;
    max-width: 70%;
    max-height: 60%;
    margin: auto;
    vertical-align: middle;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
  }

  #body .r8_col3 .btn {
    display: table;
    float: none !important;
    margin: -10px auto 7px 0 !important;
  }

  #body .r8_col3 h2 {
    text-align: left;
  }

  .logo-banner {
    --logo-height: 64px;
    --logo-width: 138px;
    --logo-gap: 34px;
    --scroll-speed: 24s;
  }

  .jh-solid-box {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-banner__track {
    animation-play-state: paused;
  }
}

.parallax-dark hr, .ub-dark hr, .parallax-black hr, .ub-palette-dark hr, .ub-palette hr, .parallax-gradient-c1c2 .hr {
  border-top: 1px solid #ed2f26;
  border-bottom: 0 solid #fff;
}

.parallax-gradient-c1c2 {
  background-image: -webkit-linear-gradient(to right, rgba(138, 12, 6, 0.5), rgba(37, 57, 109, 0.5));
  background-image: linear-gradient(to right, rgba(138, 12, 6, 0.8), rgba(37, 57, 109, 0.8));
  color: #fff;
}

/* Sticky contact bar */
.wyvern-sticky-contact {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  padding: 10px 0;
  background-color: #15244d;
  color: #ffffff;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.25);
}

.wyvern-sticky-contact .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wyvern-sticky-contact p {
  margin: 0;
}

.wyvern-sticky-contact .btn {
  margin-left: 6px;
}

.wyvern-sticky-mobile {
  display: none;
}

@media (max-width: 767px) {
  .wyvern-sticky-mobile.visible-xs {
    display: flex !important;
    height: 60px;
    padding: 0;
  }

  .wyvern-sticky-mobile a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
  }

  .wyvern-sticky-call {
    background-color: #25396d;
  }

  .wyvern-sticky-quote {
    background-color: #960909;
  }
}

.parallax-dark {
    background-color: rgba(138, 12, 6, 0.8);
    color: #FFF;
}
