﻿#hourmin, #hourmax {text-align: center}
.form-section-title {
  font-size: 16px;
  font-weight: bold;
  color: #4A7394;
  border-bottom: 2px solid #e0e6ed;
  padding-bottom: 8px;
  margin-top: 25px;
  margin-bottom: 20px;
}
.form-section-title:first-of-type {
  margin-top: 10px;
}
body.com-chronoforms5 .entry-image img {
  width: auto;
  display: inline;
  height: 50px;
}
.chronoform h3.text-center {
  text-align: center;
  line-height: 1.75em;
}
.chronoform label span {
background: #FF6B6B;
font-size: 12px;
color: #fff;
padding: 5px 10px;
display:inline-block;
line-height: normal;
margin-left: 15px;
}
.chronoform label {margin-bottom: 10px;}
.chronoform label span:last-child {
  display: none;
}
.chronoform label span.comment {
display: inline-block;
background:#B5B5B5;
color:#fff;
}

.chronoform textarea::placeholder,
.chronoform input::placeholder {color: #B5B5B5;}
.chronoform textarea::placeholder,
.chronoform input::-webkit-input-placeholder {color: #B5B5B5;}
.chronoform textarea::placeholder,
.chronoform input:-ms-input-placeholder {color: #B5B5B5;}
.chronoform textarea::placeholder,
.chronoform input::-ms-input-placeholder {color: #B5B5B5;}
.chronoform select.is-placeholder {color: #B5B5B5;}
.chronoform input.agenda {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;

background-image: url("data:image/svg+xml;utf8,<svg fill='%23999' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 2v2H5a2 2 0 0 0-2 2v2h18V6a2 2 0 0 0-2-2h-2V2h-2v2H9V2H7zm14 8H3v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V10zM5 14h4v4H5v-4z'/></svg>");

background-repeat: no-repeat;
background-position: right 12px center;
background-size: 24px;
padding-right: 40px;}
.chronoform select  {appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23999' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center; /* 👈 control position here */
  background-size: 24px;
  padding-right: 40px; /* space so text doesn't overlap */
}
.chronoform select, .chronoform input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="reset"]) {
box-shadow: none;
  background-color: #F1F1F1;
  color: #777777;
  border: 2px solid #F1F1F1;
  padding: 1.25em 2em;
  border-radius: 5px !important;
	width: 100%;
height: auto;
}
.chronoform textarea {
box-shadow: none;
  background: #F1F1F1;
  color: #777777;
  border: 2px solid #F1F1F1;
  padding: 1.25em 2em;
  border-radius: 5px !important;
 width: 100%;
resize: vertical;
min-height:150px;
}
.btn.btn-default {
color: #fff;
background: #4A7394;
border: 2px solid #4A7394;
font-size: 20px;
display: table;
width: auto;
min-width: 300px;
padding: 1.25em 2em;
border-radius: 5px !important;
margin: 1em auto 0 auto;}
.btn.btn-default:hover {
background: #3A5F7D;
border: 2px solid #3A5F7D;
}
.g-recaptcha {display: flex; justify-content: center;}

.chronoform {margin-top: 0;}
.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
}

/* STEP WRAPPER (this is the key fix) */
.progress-steps .progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px; 
  text-align: center;
  color: #5c7c96;
}

/* CIRCLE */
.progress-steps .progress-circle {
  width: 60px;
  height: 60px;
  border: 2px solid #5c7c96;
  border-radius: 50%!important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 500;
  background: #fff;
  box-sizing: border-box;
}

/* LABEL */
.progress-steps .progress-label {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

/* LINE */
.progress-steps .progress-line {
  flex: 1;
  height: 2px;
  background: #5c7c96;
  margin: 0 10px;
  max-width: 120px;
  position: relative;
  top: -12px; /* adjust to perfectly match your circle center */
}

.gcore-line-td .gcore-multiple-column {display: flex; gap: 3em;}

/* 1. Container alignment */
.chronoform .gcore-checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 2. Hide native checkbox */
.chronoform .gcore-checkbox-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* 3. Label base */
.chronoform .gcore-checkbox-item label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
}

/* 4. Checkbox box (20x20) */
.chronoform .gcore-checkbox-item label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 20px;
  border: 1px solid #000;
  background: #fff;
  transform: translateY(-50%);
  transform-style: preserve-3d;
  box-sizing: border-box;
}

/* 5. Tick (better proportions) */
.chronoform .gcore-checkbox-item label::after {
content: "";
position: absolute;
left: 10px;
top: 30%;
width: 5px;
height: 10px;
border-right: 2px solid #4A7394;
border-bottom: 2px solid #4A7394;
transform: translateY(-65%) rotate(45deg) scale(0);
transform-style: preserve-3d;
transform-origin: bottom left;
transition: transform 0.25s ease;
transform-origin: center center;
}

/* 6. Checked state */
.chronoform .gcore-checkbox-item input[type="checkbox"]:checked + label::after {
  transform: translateY(-65%) rotate(45deg) scale(2.5);
  transform-style: preserve-3d;
}

/* 7. Hover */
.chronoform .gcore-checkbox-item label:hover::before {
  border-color: #4A7394;
}

/* STATES */
.progress-steps .progress-step.active .progress-circle,
.progress-steps .progress-step.completed .progress-circle {
  background: #c7d6e2;
}

/* optional emphasis */
.progress-steps .progress-step.active .progress-label {
  font-weight: 600;
}

/* STEP COUNT VARIANTS */

.progress-steps.steps-3 .progress-line {
  max-width: 100px;
}
/* Custom Multi-Select Checkbox Dropdown Styling */
.custom-multiselect {
  position: relative;
  width: 100%;
}

.custom-multiselect .select-box {
  background-color: #F1F1F1;
  color: #777777;
  border: 2px solid #F1F1F1;
  padding: 1.1em 1.5em;
  border-radius: 5px !important;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.custom-multiselect .select-box:hover {
  border-color: #4A7394;
}

.custom-multiselect .checkboxes-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border: 2px solid #4A7394;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 999;
  max-height: 220px;
  overflow-y: auto;
  padding: 8px 0;
  margin-top: 4px;
}

.custom-multiselect .checkboxes-dropdown label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin: 0 !important;
  cursor: pointer;
  font-weight: normal;
  color: #333;
  transition: background 0.15s ease;
}

.custom-multiselect .checkboxes-dropdown label:hover {
  background-color: #F1F5F9;
}

.custom-multiselect .checkboxes-dropdown input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  cursor: pointer;
  accent-color: #4A7394;
}
select:focus, textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus, .uneditable-input:focus
{box-shadow:none; border: 2px solid #4A7394!important}

/* main container = horizontal layout */
#chronoform-container-322 {
  display: flex;
  align-items: flex-end; /* aligns inputs, not labels */
  justify-content: center;
  gap: 20px;
}

/* each field becomes a vertical block */
#chronoform-container-322 .gcore-line-td {
  display: flex;
  flex-direction: column;
}


/* the ～ separator */
#chronoform-container-322 #fin-custom1 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 2px; 
	font-size:1.75em;
	line-height:2.5em;
}
/* Custom Multi-Select Validation Error Styling */
.custom-multiselect.has-error .select-box {
  border-color: #FF6B6B !important;
  background-color: #FFF0F0;
}

.custom-multiselect-error {
  color: #FF6B6B;
  font-size: 12px;
  font-weight: bold;
  margin-top: 6px;
  display: none;
}

/* Hide all black informational tooltips on custom multiselect fields */
.custom-multiselect .gtooltip:not(.gvalidation-error-tip),
.gtooltip:not(.gvalidation-error-tip)[tid=""] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Prevent empty gtooltip containers from rendering */
.gtooltip:not(.gvalidation-error-tip):has(.gtooltip-content:empty) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}
.gtooltip:has(.gtooltip-content:empty) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}
.sp-column .chronoform div.framed {padding: 3em 6em;}

@media (min-width: 577px) and (max-width: 992px) {
#chronoform-container-322 {
  display: flex;
  align-items: flex-end;
  justify-content: space-between; /* instead of center */
  gap: 20px;
  width: 100%;
}
#chronoform-container-322 > div {flex:2;}
#chronoform-container-322 > div:nth-child(2) {flex:0.25;}
.sp-column .chronoform div.framed {padding:3em 4em;}
.chronoform .row .col-md-6:first-child {margin-bottom:3em;}
.chronoform label span {position: absolute; right: 15px; top: 0;}
}

@media (max-width: 576px) {
.gcore-line-td .gcore-multiple-column {display:block;}
.sp-column .chronoform div.framed {padding: 35px 15px;}
.chronoform .row .col-md-6:first-child {margin-bottom:3em;}
.chronoform label span {position: absolute; right: 15px; top: 0;}
}