/* Utility */

.gtm-noscript {
  display: none;
  visibility: hidden;
}

/* Signup Page Layout */

.signup-container .signup-intro {
  margin-bottom: 20px;
}

.signup-container .signup-intro a,
.signup-container .signup-intro a:visited,
.signup-container .signup-intro a:hover,
.signup-container .signup-intro a:focus,
.signup-container .signup-intro a:active {
  color: #0b3f86;
  text-decoration: underline;
}

.signup-sidebar {
  padding-top: 10px;
}

.signup-logos-row {
  margin-bottom: 20px;
}

.signup-logo-col {
  margin-bottom: 1em;
}

.signup-logo-col img,
.signup-logos-row .col-md-6 img {
  max-height: 110px;
  width: auto;
}

.signup-button-holder {
  margin-top: 10px;
  padding-right: 15px;
  text-align: right;
}

.signup-validation-wrapper {
  margin: 1em;
}

.signup-radio-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px 28px;
  margin-bottom: 10px;
}

.signup-radio-label {
  font-weight: bold;
  margin: 0;
  white-space: nowrap;
}

.signup-radio-option {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: normal;
  margin: 0;
  white-space: nowrap;
  cursor: pointer;
}

.signup-radio-option input[type="radio"] {
  margin: 0;
}

@media (max-width: 480px) {
  .signup-radio-group {
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .signup-radio-label {
    flex-basis: 100%;
  }
}

.codered-phone {
  flex: 0 0 55px;
}

/* CodeRED Card */
.codered-card {
  background-color: #9c9c9c;
  background-image: none;
  position: relative;
  width: 100%;
  max-width: 290px;
  min-height: 150px;
  height: auto;
  margin: 60px auto 0;
  padding: 8px;
  box-sizing: border-box;
  overflow: hidden;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.codered-card:hover,
.codered-card:active {
  background-color: #3d3a3a;
}

.codered-card::before {
  display: none;
}

.codered-inner {
  position: relative;
  z-index: 1;
  border: 2px solid #fff;
  width: 100%;
  height: 100%;
  padding: 12px;
  color: #fff;
  box-sizing: border-box;
}

.codered-title {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 15px;
}

.codered-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-right: 50px;
}

.codered-phone {
  position: relative;
  flex: 0 0 55px;
  width: 45px;
  padding-bottom: 15px;
}

.codered-phone img {
  width: 65px;
  height: 65px;
  display: block;
  /* transform: perspective(600px) rotateY(-12deg) rotateX(6deg);
  filter: drop-shadow(0 4px 4px rgba(255, 0, 0, 0.116))
    drop-shadow(0 10px 15px rgba(255, 0, 0, 0.18))
    drop-shadow(0 0 10px rgba(255, 80, 80, 0.25)); */
}

.codered-phone img:hover {
  transform: perspective(600px) rotateY(-12deg) rotateX(6deg);
}

.codered-text {
  flex: 1;
  text-align: center;
  width: 100%;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.codered-text a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
}

.codered-text a:hover,
.codered-text a:focus {
  color: #fff;
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 767px) {
  .codered-phone img {
    width: 90px;
    height: 90px;
    transform: perspective(600px) rotateY(-12deg) rotateX(6deg);
  }

  .codered-phone::before {
    width: 55px;
    height: 55px;
  }
}

@media (max-width: 767px) {
  .codered-card {
    max-width: 100%;
    min-height: 160px;
    margin-top: 15px;
  }

  .codered-inner {
    padding: 12px;
  }

  .codered-title {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .codered-content {
    flex-direction: row;
    /* KEEP icon left */
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .codered-phone {
    flex: 0 0 65px;
    margin: 0;
  }

  .codered-phone img {
    width: 90px;
    height: 90px;
  }

  .codered-text {
    flex: 1;
    text-align: left;
    font-size: 14px;
    min-width: 0;
    width: auto;
    margin-left: 30px;
    line-height: 20px;
  }
}

/* Responsive */

@media (max-width: 991px) {
  .codered-card {
    max-width: 320px;
  }

  /* Red glow behind icon */
  .codered-phone::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 75px;
    height: 75px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(
      circle,
      rgba(255, 60, 60, 0.151) 0%,
      rgba(255, 60, 60, 0.062) 50%,
      transparent 75%
    );
    z-index: -1;
  }

  .codered-inner {
    padding: 20px;
  }

  .codered-title {
    margin-bottom: 16px;
  }

  .codered-content {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .codered-phone {
    margin: 0 auto;
    flex-shrink: 0;
  }

  .codered-text {
    font-size: 12px;

    text-align: center;
  }

  .signup-sidebar {
    padding-top: 20px;
  }
}

@media (max-width: 767px) {
  /* Prevent any horizontal overflow on the page */
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  /* Fix Bootstrap row negative margins bleeding out */
  .signup-container .row {
    margin-left: 0;
    margin-right: 0;
  }

  /* Ensure all columns have no horizontal padding bleed */
  .signup-container [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
  }

  /* Make all inputs, selects, textareas full width and contained */
  .signup-container input,
  .signup-container select,
  .signup-container textarea {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Well should not overflow */
  .signup-container .well {
    padding: 15px 10px;
    overflow: hidden;
  }

  .signup-container {
    padding-left: 8px;
    padding-right: 8px;
    overflow-x: hidden;
  }

  .codered-card {
    max-width: 100%;
    margin-top: 15px;
  }

  .codered-card::before {
    border-radius: 0;
  }

  .codered-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-left: 10px;
  }

  .codered-phone {
    margin: 0 auto;
    flex-shrink: 0;
  }

  .codered-text {
    text-align: center;
    width: 100%;
    margin-left: 50px;
  }

  .signup-button-holder {
    padding-right: 8px;
    text-align: right;
  }

  .signup-sidebar {
    padding-top: 15px;
  }
}

.sign-up {
  color: #c41230;
  font-weight: 700;
  text-decoration: none;
}
