/* GANTRY5 DEVELOPMENT MODE ENABLED.
 *
 * WARNING: This file is automatically generated by Gantry5. Any modifications to this file will be lost!
 *
 * For more information on modifying CSS, please read:
 *
 * http://docs.gantry.org/gantry5/configure/styles
 * http://docs.gantry.org/gantry5/tutorials/adding-a-custom-style-sheet
 */

/* ==========================================================
   ActNow Racing - Gantry Helium custom.scss
   Joomla 4 -> 5 -> 6 migration
   ========================================================== */
/* ==========================================================
   ActNow site color variables
   ========================================================== */
/* ==========================================================
   Global button normalization
   ========================================================== */
/*
 * Preserve the square-corner button styling used throughout
 * the previous Supra template.
 */
.btn, p.readmore .btn, .content_vote .btn, .contact .form-actions .btn, .login .btn, .logout .btn, .registration .btn, .profile-edit .btn, .remind .btn, .reset .btn, .profile .btn, .search #searchForm .btn, .finder #finder-search .btn, .print-mode #pop-print.btn, .edit.item-page .btn-toolbar .btn, .pager.pagenav a, .moduletable #login-form .control-group .btn, #searchForm .btn, #finder-search .btn {
  border-radius: 0 !important;
}
/* Primary button states */
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
  color: #fff !important;
  background-color: #cf0b34 !important;
  border-color: #cf0b34 !important;
}
/* Disabled primary buttons */
.btn-primary.disabled, .btn-primary:disabled, .btn-primary[disabled] {
  color: #fff !important;
  background-color: #cf0b34 !important;
  border-color: #cf0b34 !important;
}
/* Prevent legacy Bootstrap background-position animation */
.btn:hover, .btn:focus {
  background-position: 0 !important;
}
/* ==========================================================
   JEvents event-detail action buttons
   ========================================================== */
/*
 * Helium does not provide the Bootstrap success treatment used
 * by the event-detail Results buttons. Scope the replacement to
 * the inline CTA group and sticky action bar.
 */
.jev-cta .btn-success, .jev-sticky .btn-success {
  color: #fff !important;
  background-color: #198754 !important;
  border: 1px solid #198754 !important;
}
.jev-cta .btn-success:hover, .jev-cta .btn-success:focus, .jev-cta .btn-success:active, .jev-sticky .btn-success:hover, .jev-sticky .btn-success:focus, .jev-sticky .btn-success:active {
  color: #fff !important;
  background-color: #146c43 !important;
  border-color: #13653f !important;
}
/*
 * Registration-open events replace Results with Bootstrap danger
 * buttons. Restore the ActNow red gradient used for registration.
 */
.jev-cta .btn-danger, .jev-sticky .btn-danger {
  color: #fff !important;
  background-color: #bf0a30 !important;
  background-image: linear-gradient(to bottom, #cf0b34, #bf0a30) !important;
  border: 1px solid #bf0a30 !important;
}
.jev-cta .btn-danger:hover, .jev-cta .btn-danger:focus, .jev-cta .btn-danger:active, .jev-sticky .btn-danger:hover, .jev-sticky .btn-danger:focus, .jev-sticky .btn-danger:active {
  color: #fff !important;
  background-color: #cf0b34 !important;
  background-image: linear-gradient(to bottom, #ff1a45, #cf0b34) !important;
  border-color: #cf0b34 !important;
}
/* ==========================================================
   JEvents Float Theme
   Migrated from Supra
   ========================================================== */
/* ----------------------------------------------------------
   Float theme display controls
   ---------------------------------------------------------- */
/*
 * JEvents Float theme List View does not persist when
 * additional events are loaded via AJAX/Load More.
 * Keep the stable Grid View only.
 */
.jeviso_display_header {
  display: none;
}
/* ----------------------------------------------------------
   Event card
   ---------------------------------------------------------- */
#jevents.isotope #jeviso_main .jeviso_container .jeviso_item.style2 a {
  height: 100%;
  min-height: 180px;
}
/* ----------------------------------------------------------
   Timestamp bar
   ---------------------------------------------------------- */
#jevents.isotope #jeviso_main .jeviso_container .jeviso_item.style2 a .jfloat-timestamp {
  background-color: rgba(0, 20, 137, 0.8);
  font-size: 1em;
  line-height: 1.15em;
  width: 100%;
}
#jevents.isotope #jeviso_main .jeviso_container .jeviso_item.style2 a:hover .jfloat-timestamp .jfloat-time {
  float: none;
}
#jevents.isotope #jeviso_main .jeviso_container .jeviso_item.style2 a:hover .jfloat-timestamp {
  width: 100%;
  max-width: inherit;
  background-color: #bf0a30;
  border: 2px solid #bf0a30;
  font-weight: 800;
}
/* ----------------------------------------------------------
   Description hover
   ---------------------------------------------------------- */
#jevents.isotope #jeviso_main .jeviso_container .jeviso_item.style2 a:hover .jfloat-description {
  background-color: rgba(0, 20, 137, 0.8);
}
/* ----------------------------------------------------------
   Event image
   ---------------------------------------------------------- */
#jevents.isotope #jeviso_main .jeviso_container .jeviso_item.style2 a .jfloat-event-image-holder {
  position: relative;
  top: 20px;
}
.jeviso_item_image {
  position: relative !important;
  width: 100%;
  aspect-ratio: 1.3333333333;
  overflow: hidden;
  background-color: #f0f0f0;
}
.jev_image1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: none !important;
}
/* ----------------------------------------------------------
   Category icons
   ---------------------------------------------------------- */
.jeviso_item .catimage {
  width: 32px !important;
  padding: 2px;
  overflow: hidden;
}
/* ----------------------------------------------------------
   Results / Live corner ribbon
   ---------------------------------------------------------- */
.event-badge {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 90;
}
.event-badge-wrapper {
  width: 85px;
  height: 88px;
  overflow: hidden;
  position: absolute;
  top: -3px;
  right: -3px;
}
.event-badge-text {
  font: bold 1.1em sans-serif;
  color: #fff;
  text-align: center;
  text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
  transform: rotate(45deg);
  position: relative;
  padding: 7px 0;
  left: -5px;
  top: 15px;
  width: 120px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}
/* Results */
.final::before {
  content: "Results";
}
.final {
  background-color: #ff1a45;
  background-image: linear-gradient(to bottom, #ff1a45, #bf0a30);
}
/* Live */
.live::before {
  content: "Live!";
}
.live {
  background-color: #42ff00;
  background-image: linear-gradient(to bottom, #42ff00, #2faf03);
}
/* Badge visibility */
.event-badge-show {
  display: inherit;
}
.event-badge-hide {
  display: none;
  visibility: hidden;
}
/* ----------------------------------------------------------
   Mobile
   ---------------------------------------------------------- */
@media (max-width: 30rem) {
  #jevents.isotope .jeviso_item {
    width: 100%;
  }
}
/*# sourceMappingURL=custom__body_only.css.map */