/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.2
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* common css */

html,body {
    overflow-x: hidden;
}

body {
    padding: 0;
    margin: 0;
    line-height: 1.65;
    font-size: 14px;
	color:#0f172a;
}

p {
    margin-top: 0;
    margin-bottom: 10px
}

p:empty {
    display: none
}

h1,h2,h3,h4,h5,h6 {
    line-height: 1.2;
    margin: 0
}

h1{
	line-height:1.1
}

a {
    text-decoration: none;
}

b,strong {
    font-weight: 700;
}
a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover{
	color:initial;
}

.elementor-heading-title ,.elementor-headline {
    line-height: 1.2;
}

h1.elementor-heading-title ,h1.elementor-headline {
    line-height: 1.1;
}


.elementor-widget-button .elementor-button{
	text-decoration:none !important;
}
.elementor-widget-text-editor p {
    margin-top: 0
}

.elementor-widget-text-editor p:last-child {
    margin-bottom: 0
}

.comments-area a, .page-content a {
    text-decoration: none;
}

.elementor-widget-text-editor ul{
	   margin-bottom:15px;
}
.elementor-widget-text-editor ul{
	padding-left:18px;
}

.elementor-widget-text-editor ul li{
	margin-bottom:8px;
}

main .e-parent>.e-con-inner>.elementor-widget{
	padding-left:10px;
	padding-right:10px;
}

/*============= info box =========*/
.infobox-content p:empty{
	display:none;
}

/*========== gravity form css =========== */
.gform_heading{
	display:none;
}

.gf-fest .gform_fields.top_label{
	gap:12px;
}

form.gf-fest *,
form.gf-fest *::before,
form.gf-fest *::after {
  box-sizing: border-box;
}

/* Section cards (JS wraps each Section + fields into this container) */
form.gf-fest .gof-section-card {
  grid-column: 1 / -1; /* when GF fields container is a grid */
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 22px 18px;
  margin-bottom: 14px;
  box-shadow: 0 10px 28px rgba(2,6,23,.08);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

/* Reset default GF field “cards” (we want the section card to be the box) */
form.gf-fest .gfield,
form.gf-fest fieldset.gfield {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

/* Make most fields span full width by default inside a section card */
form.gf-fest .gof-section-card > .gfield,
form.gf-fest .gof-section-card > fieldset.gfield {
  grid-column: 1 / -1;
}

/* Re-apply common GF width helpers inside our section grid */
form.gf-fest .gof-section-card > .gfield--width-half {
  grid-column: span 6;
}
form.gf-fest .gof-section-card > .gfield--width-full {
  grid-column: 1 / -1;
}

/* Section headers */
form.gf-fest .gof-section-card > .gfield--type-section {
  grid-column: 1 / -1;
  margin: 0;
}

form.gf-fest .gsection_title {
  display: none; /* hide duplicate title */
}

form.gf-fest .gsection_description {
  margin: 0;
}

/* Your section header block */
form.gf-fest .section-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

form.gf-fest .badge-num,
form.gf-fest .badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 100px;
  background: rgba(30,58,138,.10);
  color: #1e3a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex: 0 0 auto;
  margin-top:-3px;
}

form.gf-fest .section-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 700;
  color: #0f172a;
}

form.gf-fest .section-sub {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.35;
}
/* label */
form.gf-fest label.gform-field-label{
	font-size: 12px;
    color: #334155;
    font-weight: 700;
	margin-bottom:5px;
	
}
.gfield_label{
 display:block !important;	
}


.gfield_label .gfield_required{
	margin-left:4px;
}

/* Inputs */
form.gf-fest ::placeholder {
  color: #334155;
  opacity: 0.85; /* Firefox */
}

form.gf-fest :-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #334155;
  opacity: 0.85;
}

form.gf-fest ::-ms-input-placeholder { /* Microsoft Edge (legacy) */
  color: #334155;
  opacity: 0.85;
}

form.gf-fest input[type="text"],
form.gf-fest input[type="email"],
form.gf-fest input[type="tel"],
form.gf-fest textarea,
form.gf-fest select {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 14px;
  background: #fff;
  min-height:42px;
}

form.gf-fest textarea {
  height: 110px;
}

form.gf-fest input:focus,
form.gf-fest textarea:focus,
form.gf-fest select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.35);
}

form.gf-fest .gfield_description {
  margin-top: 8px !important;
  color: #64748b;
  font-size: 13px;
}

/* Attendance radio buttons (inline pill cards) */
form.gf-fest .gfield--type-radio .gfield_radio {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  cursor:pointer;
}

form.gf-fest .gfield--type-radio .gchoice {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}

form.gf-fest .gfield--type-radio .gchoice input {
  margin: 0;
}

form.gf-fest .gfield--type-radio .gchoice label {
  margin: 0;
font-weight:normal;
	font-size:14px;
	color:#000000;
}

/* notes css */
form.gf-fest .note{
	margin-top: 14px;
    padding: 14px 14px;
    border: 1px dashed rgba(37, 99, 235, .35);
    border-radius: 14px;
    background: rgba(37, 99, 235, .06);
}

form.gf-fest .help {
    font-size: 12px;
    color: #64748b;
}

/* Programme day separators */
form.gf-fest .gof-program-day {
  background: transparent;
  padding: 0;
  margin: 0;
}

form.gf-fest .program-day {
  font-weight: 800;
	margin-bottom:-7px;
}

/* Programme item list */
form.gf-fest fieldset.program-item legend {
  display: none;
}

form.gf-fest fieldset.program-item .gchoice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
cursor:pointer;
}

form.gf-fest fieldset.program-item .gchoice:hover{
	background:#fafafa;
}

form.gf-fest fieldset.program-item input[type="checkbox"] {
  margin: 4px 0 0;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

form.gf-fest fieldset.program-item label {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
	margin:0;
}

form.gf-fest .program-title {
  font-weight: 900;
font-size:14px;
}

form.gf-fest .program-time {
  margin-top: 5px;
  color: #64748b;
  font-size: 13px;
}

form.gf-fest .program-desc {
  margin-top: 8px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.35;
	font-weight:normal
}

/* Partner dropdown inside Programme items */
form.gf-fest .program-partner-select {
  margin-top: 10px;
  display: none; /* shown via JS when partner mode + item checked */
}

form.gf-fest .partner-select {
  width: 100%;
  max-width: 280px;
  border-radius: 999px;
  padding: 10px 12px;
}

/* Price pill */
form.gf-fest .price-pill {
  border: 1px solid #000000;
	background:#f4f4f4;

  border-radius: 100px;
  padding: 6px 19px;
  font-weight: 900;
  font-size: 14px;
  white-space: nowrap;
  align-self: flex-start;
	
}

form.gf-fest .price-pill.free {
	color: #b91c1c;
    border-color: rgba(185, 28, 28, .25);
    background: rgba(185, 28, 28, .06);
}

/* Hide all pricing engine fields (products/options/total/VAT) */
/* GF-safe hide: keeps elements measurable so GF pricing JS still updates */
.gof-hidden-pricing{
  position: absolute !important;
  left: -99999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}


/* Accommodation “note” button */
form.gf-fest .btn.btn-primary {
  display: inline-block;
  border-radius: 100px;
  padding: 12px 14px;
  background: #1e3a8a;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
	box-shadow: 0 14px 26px rgba(30, 58, 138, .22);
}

form.gf-fest .btn.btn-primary:hover {
  filter: brightness(1.05);
}

/* Summary block (your HTML field) */
form.gf-fest .summary {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

form.gf-fest .summary-head,
form.gf-fest .summary-row {
  display: grid;
  grid-template-columns: 1fr 40px 140px;
  gap: 10px;
  align-items: center;
}

form.gf-fest .summary-head {
  padding: 12px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 900;
}

form.gf-fest .summary-row {
  padding: 10px 14px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
}

form.gf-fest .summary-row:last-child {
  border-bottom: 0;
}

form.gf-fest .right {
  text-align: right;
}

form.gf-fest .totals {
  padding: 14px;
  display: flex;
  justify-content: flex-end;
}

form.gf-fest .totals-inner{
	max-width:320px;
	width:100%;
}

form.gf-fest .tot-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
}

form.gf-fest .muted {
  color: #64748b;
}

form.gf-fest .big {
  font-size: 20px;
  font-weight: 900;
}

/* Submit button */

form.gf-fest .gform_footer input[type="submit"] {
  width: 100%;
  border-radius: 999px;
  padding: 14px 16px;
  border: 0;
  background: #0f172a;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
}

form.gf-fest .gform_footer input[type="submit"]:hover {
  filter: brightness(1.05);
}

.gform-theme--foundation #field_submit{
	flex-direction: column;
    align-items: center;
}

/* Responsive tweaks */
@media (max-width: 640px) {


  form.gf-fest .gof-section-card {
    padding:22px 14px;
    gap: 12px;
  }

  form.gf-fest .gof-section-card > .gfield--width-half {
    grid-column: 1 / -1;
  }

  form.gf-fest .summary-head,
  form.gf-fest .summary-row {
    grid-template-columns: 1fr 10px 110px;
  }
	
	form.gf-fest fieldset.program-item label{
		flex-direction:column;
	}
	
	form.gf-fest .price-pill{
		    align-self: flex-end;
	}
	form.gf-fest .gfield--type-radio .gchoice{
		align-self:flex-start;
	}
}

/* =========================================================
   Ordensfest – Gravity Forms UX fixes (Form ID: 12)
   Append this at the END of your current CSS
   ========================================================= */

/* -----------------------------
   1) FIX: GOF section cards hidden (inline display:none)
   We only force-show when JS adds .gof-force-show-cards
------------------------------ */
form.gf-fest.gof-force-show-cards .gof-section-card {
  display: grid !important;        /* overrides inline display:none */
  visibility: visible !important;
  opacity: 1 !important;
}

/* Helpful for dropdown clipping inside cards */
form.gf-fest .gof-section-card {
  overflow: visible;
}

/* -----------------------------
   2a) Dropdown UX: text cut-off + layering
------------------------------ */
form.gf-fest .program-partner-select,
form.gf-fest .ginput_container_select {
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

/* Make selects tall enough so the selected option isn't visually clipped */
form.gf-fest .program-partner-select select,
form.gf-fest .ginput_container_select select {
  width: 100%;
  max-width: 100%;
  min-height: 32px;
  height: auto;
  line-height: 1.25;
  padding: 12px 44px 10px 16px; /* extra right padding to avoid arrow overlap */
  border-radius: 12px;         /* keeps your pill look */
  box-sizing: border-box;
	background-repeat: no-repeat;
	background-size: 11px;
	background-position: 92% center;
}

/* Ensure the card you're interacting with sits above neighbors
   (helps when dropdown panels get clipped/hidden) */
form.gf-fest .gof-program-card {
  position: relative;
  overflow: visible;
  z-index: 1;
}
form.gf-fest .gof-program-card:focus-within {
  z-index: 50;
}

/* If Select2/Chosen/Choices is used anywhere, keep dropdown above everything */
.select2-container--open,
.select2-dropdown,
.chosen-container .chosen-drop,
.choices__list--dropdown {
  z-index: 999999 !important;
}

/* -----------------------------
   2b) Order Summary totals alignment
   (moves "Subtotal/VAT/Total" closer to the value column)
------------------------------ */
form.gf-fest table tfoot td:first-child {
  text-align: right;
  padding-right: 20px;
  white-space: nowrap;
}
form.gf-fest table tfoot td:last-child {
  text-align: right;
  white-space: nowrap;
}
form.gf-fest table tfoot tr td {
  padding-top: 8px;
  padding-bottom: 8px;
}
form.gf-fest table tfoot tr:last-child td {
  font-weight: 700;
  font-size: 1.05em;
}

/* -----------------------------
   2c) Accommodation block cleanup
------------------------------ */
form.gf-fest .gof-section-card figure,
form.gf-fest .gof-section-card .wp-block-image,
form.gf-fest .gof-section-card .wp-block-gallery {
  margin: 0 0 16px;
}

form.gf-fest .gof-section-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* -----------------------------
   2d) Mobile / responsive fixes
------------------------------ */
@media (max-width: 640px) {

  /* 2dii) Make program text blocks full width */
  form.gf-fest .gof-program-card .program-title,
  form.gf-fest .gof-program-card .program-time,
  form.gf-fest .gof-program-card .program-desc,
  form.gf-fest .gof-program-card .program-partner-select {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    flex: 0 0 100%;
    grid-column: 1 / -1;
    box-sizing: border-box;
  }

  /* 2di) Price pill bottom-right on mobile */
  form.gf-fest .gof-program-card {
    padding-bottom: 58px; /* room for the pill */
  }

  form.gf-fest .gof-program-card .price-pill {
    position: absolute;
    right: 18px;
    bottom: 18px;
    margin: 0;
  }

  /* leave room so the pill doesn't overlap the dropdown content */
  form.gf-fest .gof-program-card .program-partner-select {
    padding-right: 120px;
  }
}
/* === GOF scope safety: if wrapper has gf-fest_wrapper* but not gf-fest, still apply styles === */
.gform_wrapper[class*="gf-fest_wrapper"]{
  /* do nothing here—JS will add .gf-fest to wrapper */
}

/* === Safety: NEVER allow cards to stay hidden globally (only partner card should hide via GF) === */
form.gf-fest .gof-section-card{
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
}
/* Hide section-card only when JS marks it hidden */
form.gf-fest .gof-section-card.gof-card-hidden{
  display: none !important;
}
form.gf-fest .gof-section-card.gof-card-hidden{
  display:none !important;
}
/*======= consent css========  */
form.gf-fest .ginput_container_consent{
	padding: 12px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
	width:100%;
}
form.gf-fest .ginput_container_consent input{
	margin-top:4px;
}
form.gf-fest .ginput_container_consent label{
	margin-bottom:0;
	font-weight:normal;
	font-size:14px;
}

form.gf-fest .ginput_container_consent label a{
	color: #1e3a8a;
}
form.gf-fest .gform-button{
	background:#1e3a8a !important;
    color: #ffffff !important;
    box-shadow: 0 14px 26px rgba(30, 58, 138, .22) !important;
	padding: 14px 18px !important;
    font-weight: 700 !important;
    font-size: 14px !important; 
	border-radius:100px !important;
	margin:20px auto !important;
}

form.gf-fest .gform_fields .section-partner-wrapper{
	border-left: 6px solid rgba(245, 158, 11, .9);
}

form.gf-fest .gform_fields .section-partner-wrapper .badge-num, 
form.gf-fest .gform_fields .section-partner-wrapper .badge-icon{
	background: rgba(245, 158, 11, .15);
    color:#f59e0b;
}

.gform-theme--framework .gfield_validation_message:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)){
	color:#c02b0a !important;
}

.gform-theme--framework .gfield_error .gform-theme-field-control:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gfield_error input[type]:where(:not(.gform-text-input-reset):not([type=hidden])):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gfield_error select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gfield_error select[multiple]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gfield_error textarea:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)){
	border-color:#c02b0a !important;
}
.gof-form-copyright{
	color: #64748b;
    font-size: 13px;
    line-height: 1.35;
}