/*
Theme Name: agile42 Theme 2023 (Enfold Child Theme)
Template: enfold
Description: A customized child theme of Enfold
Version: 5.4.1
Author: Kriesi
Author URI: https://kriesi.at
License: Themeforest Split Licence
License URI: -
Theme URI: www.kriesi.at/themes/enfold/
Envato_ID: 4519990
*/

#bazinga {
	display: none;
}

/* See https://kriesi.at/support/topic/color-of-bold-2/#post-241646 */
.main_color strong, .alternate_color strong { color: inherit !important; }

body { line-height: 1.75em; }

.page-thumb { display: none; }

h1, h2, h3, h4, h5, h6 { text-transform: none !important; }

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 989px) {
        #header_meta {
                display:none !important;
        }
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
        #header_meta {
                display:none !important;
        }
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
        #header_meta {
                display:none !important;
        }
}

/***** WooCommerce *****/

.product-options { opacity: 1 !important; }

li.product { list-style: none !important; }

.onsale {
	background: #41C151 !important;
	width: auto !important;
	padding-left: 1em !important;
	padding-right: 1em !important;
}

.woocommerce-tabs a {
	background: inherit !important;
	margin: inherit !important;
	padding: 0 !important;
	text-align: inherit !important;
	display: inline !important;
	border: 0 !important;
	color: #5890ba !important;
}

.wc-box-office-ticket-form {
    display: grid !important;
}

/* Checkout page processing spinner, see https://kriesi.at/support/topic/adding-loaderspinner-during-woocommerce-checkout/ */

.woocommerce-checkout.processing .blockUI.blockOverlay {
	background-image:url('https://www.agile42.com/wp-content/uploads/spinner_full_snake.gif') !important;
	background-position: center 50% !important;
	background-repeat: no-repeat !important;
	position: fixed !important;
}

/***** end *****/

/* ============================================
   COMPACT NEWSLETTER FORM — Footer Widget
   Matches courses.agile42.com compact layout
   Added: 2026-04-11
   ============================================ */

/* Hide visible labels above form fields (but NOT the privacy consent label) */
#newsletter-form > label:not(:last-of-type) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Tighten spacing between form fields */
#newsletter-form input[type="email"],
#newsletter-form input[type="text"],
#newsletter-form select {
  margin-bottom: 6px;
  padding: 8px 10px;
  width: 100%;
  box-sizing: border-box;
  font-size: 13px;
}

/* Style the select (country dropdown) to match inputs */
#newsletter-form select {
  appearance: auto;
  background-color: #fff;
  color: #333;
}

/* Placeholder styling for visual consistency */
#newsletter-form input::placeholder {
  color: #999;
  font-size: 13px;
}

/* Compact the privacy checkbox + label area */
#newsletter-form label:last-of-type {
  font-size: 11px;
  line-height: 1.3;
  display: block;
  margin-top: 4px;
  margin-bottom: 6px;
}

#newsletter-form input[type="checkbox"] {
  margin-right: 4px;
  vertical-align: middle;
}

/* Submit button — compact and full-width */
#newsletter-form input[type="submit"] {
  width: 100%;
  padding: 8px 16px;
  margin-top: 4px;
  font-size: 13px;
  cursor: pointer;
}

/* Hide the honeypot field (belt-and-suspenders) */
#newsletter-form input[name="honeypot"] {
  display: none;
}



/* ==========================================================================
   SiteOrigin Panels Legacy CSS
   Added 2026-04-13 to preserve column layouts during SiteOrigin plugin removal.
   This CSS replaces siteorigin-panels/css/front-flex.min.css
   TEMPORARY: Remove once all SO pages are rebuilt with Enfold ALB.
   ========================================================================== */

/* Core flex layout for panel rows */
.panel-grid.panel-has-style > .panel-row-style,
.panel-grid.panel-no-style {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
}

/* Column cells - equal width fallback (replaces per-page inline CSS) */
.panel-grid-cell {
  box-sizing: border-box;
  flex: 1 1 0%;
  min-width: 0;
  word-wrap: break-word;
}

/* Panel bottom margin */
.panel-layout .so-panel {
  margin-bottom: 30px;
}
.panel-layout .so-panel:last-of-type {
  margin-bottom: 0;
}

/* Panel row bottom margin */
.panel-grid {
  margin-bottom: 30px;
}
.panel-grid:last-child {
  margin-bottom: 0;
}

/* Cell padding (gap between columns) */
.panel-grid-cell + .panel-grid-cell {
  padding-left: 30px;
}

/* Responsive: stack columns on mobile */
@media (max-width: 780px) {
  .panel-grid.panel-has-style > .panel-row-style,
  .panel-grid.panel-no-style {
    flex-wrap: wrap;
  }
  .panel-grid-cell {
    flex: 0 0 100%;
    margin-right: 0;
  }
  .panel-grid-cell + .panel-grid-cell {
    padding-left: 0;
    margin-top: 30px;
  }
}

/* Background overlay support */
.panel-has-overlay .panel-row-style,
.panel-has-overlay .panel-widget-style {
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.panel-background-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -1;
}

/* SiteOrigin widget image defaults */
.so-widget-sow-image .sow-image-container img {
  max-width: 100%;
  height: auto;
}

/* RTL support */
.panel-layout.panel-is-rtl .panel-grid.panel-has-style > .panel-row-style,
.panel-layout.panel-is-rtl .panel-grid.panel-no-style {
  flex-direction: row-reverse;
}

/* End SiteOrigin Legacy CSS */
