@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;500&display=swap');


#addressSection {
    width: 100%;
	height: 0;
	margin-top: 0px;
    margin-bottom: 0px;
	background-color:#4169e1;
	display: flex;
	flex-direction: column;
    align-items: center;
    opacity: 0;
	transition: height 0.5s ease, opacity 0.5s ease;
    overflow: hidden;
}

#addressSection.visible {
    height: auto;
	opacity: 1;
}

#addressSection.hidden {
    height: 0;
    margin-top: 0px;
    margin-bottom: 0px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none; /* Prevent interaction when hidden */
}

/* allow the <datalist> dropdown to escape the blue panel once it is open */
#addressSection:not(.hidden){
    overflow: visible;
}

#addSocialMediaBtn {
    background-color: #4169e1; 
    border-radius: 25px; 
    padding: 10px 25px;  /* I recommend adding some vertical padding for better aesthetics */
    display: inline-block; 
    margin: 0px 0px 20px 0px;
    cursor: pointer;
    color: white; /* Add white text for better contrast */
    font-size: 16px; /* Adjust font size */
    font-family: 'Roboto Slab', serif; /* Ensure font consistency */
    text-align: center; /* Center the text */
    border: 2px solid white;
    transition: background-color 0.3s ease; /* Add a hover effect */
}

#addSocialMediaBtn:hover {
    background-color: #2d3292; /* Darken background color on hover */
}


body.package-basic .form-header {
    background-color: #4169e1; /* light blue for Basic */
}

body.package-premium .form-header {
    background-color: #2d3292; /* dark blue for Premium, example */
}


body.submit-page {
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center align the form elements horizontally */
    margin: 0px;
}

#conferenceTitleSection {
    scroll-margin-top: 0px; /* Adjust this value as needed */
}


.date-container {
    scroll-margin-top: 0px; /* Adjust this value as needed */
}

#datesSection .date-container input[type="date"] {
  min-width: 210px;
  max-width: 210px;
}





  /* Ensure the extraField remains hidden */
  .extraField {
    display: none !important;
  }


#StartDateText {
	background-color:#4169e1;
	display: inline-block;
	text-align: right;
	padding-right: 10px;
}
#EndDateText {
	background-color:#4169e1;
	min-width:120px;
	display: inline-block;
	text-align: right;
	padding-right: 10px;
}



/* Error message styling */
.error-message {
    color: red;
	background-color:#FF0;
    font-size: 0.9em;
    margin-top: 5px;
    display: block;
}





/* Title Style */
.form-title {
    font-family: 'Roboto Slab', serif;
    font-size: 18px;
    font-weight: 400; /* Slightly heavier font weight */
    color: #FFF;
    display: block; /* Ensure it starts on a new line */
    margin-top: 0px; /* Adjusted to 0px for consistent spacing */
    margin-bottom: 0px;
    text-align: center; /* Center align the text */
}

/* Descriptive Text Style */
.form-description {
    font-family: 'Roboto Slab', serif;
    font-size: 16px;
    font-weight: 300; /* Lighter font weight */
    color: #FFF;
    display: block; /* Ensure it starts on a new line */
    margin-top: 0px; /* Adjusted to 0px for consistent spacing */
    margin-bottom: 20px;
    text-align: center; /* Center align the text */
}


.form-section {
    margin-top: 50px;
    margin-bottom: 50px;
    width: 100%;
    background-color:#4169e1; /* Changed background color */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-header-basic h2 {
  font-family: 'Roboto Slab', serif;
  font-weight:500; 
  font-size: 30px;
  margin-top: 0px;
  text-align: center;
}

.form-header-premium h2 {
  font-family: 'Roboto Slab', serif;
  font-weight:500; 
  font-size: 30px;
  margin-top: 0px;
  text-align: center;
}



.full-address {
    margin-top: 50px; /* Adjust the value as needed */
}

/* Hide the Google Maps full address row for Basic listings */
.submit-page .location-item.full-address--hidden {
    display: none;
}


h1 {
  font-family: 'Roboto Slab', serif;
  font-weight:500; 
  font-size: 36px;
}

h2 {
  font-family: 'Roboto Slab', serif;
  font-weight:500; 
  font-size: 28px;
  margin-top: 0px;
  text-align: center;
}

hr {
    border: 2px solid white;
    border-radius: 3px;
    margin: 0;
    padding: 0;
}



#imagePreviewContainer {
    width: 400px;
    height: 267px;
    border: 1px solid white;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    position: relative; /* Add this for absolute positioning of the file input */
    cursor: pointer; /* Make the container appear clickable */
    background-image: url('https://www.futuristconferences.com/images/icons/image-upload.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 400px 267px; /* Adjust size as needed */
}

#imagePreviewContainer:hover {
    border-color: #2d3292; /* Change border color on hover */
}

#imagePreview {
    width: 400px;
    height: 267px;
    cursor: default; /* Cursor will change dynamically via JavaScript */
}

#imagePreviewContainer input[type="file"] {
    display: none; /* Hide the file input */
}

/* Hide the "click to upload" placeholder while a file is on the way */
#imagePreviewContainer.uploading {
    background-image: none !important;
}



/* Style for the image upload buttons */
.image-upload-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.image-upload-buttons .form-text-large {
    background-color: #4169e1;
    border-radius: 25px;
    padding: 10px 25px;
    display: inline-block;
    cursor: pointer;
    color: white;
    font-size: 16px;
    font-family: 'Roboto Slab', serif;
    text-align: center;
    border: 2px solid white;
    transition: background-color 0.3s ease;
}

.image-upload-buttons .form-text-large:hover {
    background-color: #2d3292;
}




p.intro-text {
    text-align: center;
    font-family: 'Roboto Slab', serif;
    font-size: 18px;
    font-weight: 300;
    line-height: normal;
    color: #FFF;
    margin-top: 50px;
    margin-right: 0px;
    margin-bottom: 20px;
    margin-left: 0px;
    text-shadow: none;
    text-decoration: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

p {
    font-family: 'Roboto Slab', serif;
    font-size: 14px;
    line-height: normal;
    color: #000;
    margin-left: 0px;
    margin-right: 0px;
    text-shadow: none;
    text-decoration: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

p.large {
    font-family: 'Roboto Slab', serif;
    font-size: 18px;
    line-height: normal;
    color: #FFF;
    margin-left: 0px;
    margin-right: 0px;
    text-shadow: none;
    text-decoration: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    color: #000;
}

p.white {
    font-family: 'Roboto Slab', serif;
    font-size: 14px;
    font-weight: 300;
    line-height: normal;
    color: #FFF;
    margin-left: 0px;
    margin-right: 0px;
    text-shadow: none;
    text-decoration: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    color: #FFF;
}
        
p.white-large {
    font-family: 'Roboto Slab', serif;
    font-size: 18px;
    font-weight: 300;
    line-height: normal;
    color: #FFF;
    margin-left: 0px;
    margin-right: 0px;
    text-shadow: none;
    text-decoration: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    color: #FFF;
}

p.white-huge {
    font-family: 'Roboto Slab', serif;
    font-size: 30px;
	font-weight:500;
    line-height: normal;
    color: #FFF;
    margin-left: 0px;
    margin-right: 0px;
    text-shadow: none;
    text-decoration: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    color: #FFF;
}

p.white-more-options {
    font-family: 'Roboto Slab', serif;
    font-size: 24px;
    line-height: normal;
    color: #FFF;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 35px;
    margin-bottom: 10px;
    text-shadow: none;
    text-decoration: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    color: #FFF;
}


.participants {
    margin-top: 75px;
    margin-bottom: 100px;
    width: 100%;
    background-color:#4169e1;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* NEW: make preview button really stand out */
.preview-container {
  width: 100%;
  text-align: center;
  margin: 60px 0px 40px 0px; /* lots of breathing room above & below */
}

.preview-container .preview-btn {
  font-family: 'Roboto Slab', serif;
  font-size: 24px;          /* bigger text */
  font-weight: 400;         /* heavier weight */
  color: #FFF;
  padding: 20px 40px;       /* more padding, larger click area */
  background-color: #4169e1;
  border-width: 4px;        /* thicker border */
  border-color: #fff;       /* stays white */
  border-style: solid;
  border-radius: 30px;      /* extra round corners */
  max-width: 60%;           /* don't let it get crazy wide */
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer; /* Make it look clickable */
}

.preview-container .preview-btn:hover {
  background-color: #2d3292; /* your hover color */
  transform: scale(1.05);    /* subtle "pop" on hover */
  color: #FFF;
  cursor: pointer; /* Make it look clickable */
}



/* Container spans full width and is fixed at the top */
#scrollProgressContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px; /* Adjust the thickness as needed */
  background-color: transparent;
  z-index: 9999;
}

/* The progress bar itself */
#scrollProgressBar {
    width: 0%;
    height: 5px;
    background-color: red;
    /* The key is having a transition for the width property */
    transition: width 0.5s ease-in-out;
}


.submit-page .form-header {
    width: 80%;
    background-color: #2d3292;
    border-radius: 25px 25px 0 0;
    padding: 0 25px;
    display: flex; /* Add display: flex */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 120px; /* Set a fixed height for the header */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
    box-sizing: border-box;
    margin: 100px auto 0 auto; /* This centers the header and adds the top gap */
    border-bottom: 3px solid #ffffff; /* White solid border at the bottom */
}

/* Lighter header colour when submitting a Basic listing */
.submit-page .form-header.form-header--basic {
    background-color: #4169e1;
}



.submit-page .white-large {
    font-size: 24px;
    text-align: center;
    margin: 0;
}

.submit-page .form-text-large {
    font-family: 'Roboto Slab', serif;
    font-size: 16px;
    font-weight: 300;
    line-height: normal;
    color: #FFF;
    text-shadow: none;
    text-decoration: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    margin-top: 0px; /* Adjusted to 0px for consistent spacing */
    margin-bottom: 20px;
}

.submit-page .form-container {
    width: 80%;
    background-color: #4169e1;
    border-radius: 0 0 25px 25px;
    padding: 0px 40px 20px 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
    box-sizing: border-box;
    margin: 0 auto; /* This centers the container horizontally */
	display: flex;
    flex-direction: column;
    align-items: center; /* Center align the form elements horizontally */
	margin-bottom: 200px; /* Added margin-bottom */
}


.submit-page form {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align the form elements horizontally */
    width: 100%;
}

.submit-page h2 {
    font-weight:500;
	margin: 25px 15px 25px 15px; /* Reset margin for h2 */
    padding: 0; /* Reset padding for h2 */
	font-size: 30pt;
}

.submit-page label {
    margin-top: 0px; /* Ensure consistent spacing at the top */
    margin-bottom: 10px;
    font-weight: bold;
    display: block;
    width: 100%;
    text-align: center; /* Center align the labels */
}

.submit-page input[type="text"],
.submit-page input[type="date"],
.submit-page input[type="number"],
.submit-page textarea:not(#Description),
.submit-page select {
    margin-bottom: 20px;
    padding: 10px 25px; /* Adjust left and right padding */
    border: none;
    border-radius: 25px; /* Rounded corners */
    width: 100%;
    max-width: 50%; /* Set the max-width to 50% */
    box-sizing: border-box;
    font-size: 18px; /* Increase font size */
    font-weight: 500; /* Increase font weight */
    margin-left: auto;
    margin-right: auto; /* Center align the input elements */
    color: black; /* Set input text color to black */
    height: 60px; /* Set height */
}

.submit-page input[type="url"] {
    margin-bottom: 20px;
    padding: 10px 25px; /* Adjust left and right padding */
    border: none;
    border-radius: 25px; /* Rounded corners */
    width: 100%;
    max-width: 100%; /* Set the max-width to 50% */
    box-sizing: border-box;
    font-size: 18px; /* Increase font size */
    font-weight: 500; /* Increase font weight */
    margin-left: 0px;
    margin-right: 0px; /* Center align the input elements */
    color: black; /* Set input text color to black */
    height: 60px; /* Set height */
}


.submit-page input[type="text"].full-width {
    max-width: 60%; /* Set max-width to 60% for full-width inputs */
}

.submit-page .date-container {
    display: flex;
    justify-content: space-between;
    margin-top: 0px;
    align-items: center; /* Align items vertically centered */
}

.submit-page .date-container label,
.submit-page .date-container input {
    width: 48%;
}

.submit-page input[type="file"],
.submit-page input[type="submit"] {
    margin-bottom: 50px; /* Add spacing after file input and submit button */
    max-width: 50%; /* Set the max-width to 50% */
    margin-left: auto;
    margin-right: auto; /* Center align the input elements */
}


/* Container styles */
.textarea-container {
    position: relative;
    width: 100%;
    max-width: 700px; /* Adjust as needed */
    margin: 0 auto 20px auto; /* Center the container */
    box-sizing: border-box;
}

/* Textarea styles */
.textarea-container .textarea {
    font-family: 'Roboto Slab', serif;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 20px;
    border: none;
    border-radius: 25px; /* Apply rounded corners */
    width: 100%; /* Make textarea fill the container */
    max-width: 100%; /* Ensure no max-width restriction */
    box-sizing: border-box;
    color: black;
    resize: vertical;
    overflow: auto;
    height: auto;
    min-height: 200px;
    margin: 0; /* Remove margin */
    display: block;
    /* Apply clip-path */
    -webkit-clip-path: inset(0 round 25px);
    clip-path: inset(0 round 25px);
    /* Scrollbar styles for Firefox */
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}


/* Custom scrollbar styles for WebKit browsers */
.textarea-container .textarea::-webkit-scrollbar {
    width: 12px;
}

.textarea-container .textarea::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.textarea-container .textarea::-webkit-scrollbar-thumb {
    background: #888;
}

.textarea-container .textarea::-webkit-scrollbar-thumb:hover {
    background: #555;
}


/* Ensuring the grid layout for categories */
.submit-page .checkbox-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    gap: 20px; /* Spacing between boxes */
    margin-bottom: 50px; /* Add spacing after checkbox group */
    width: calc(100% - 30px); /* Full width minus margins */
    margin: 0 15px; /* 15px margins on left and right */
}

/* Ensuring each category box has the desired styling */
.submit-page .checkbox-group .category-box {
    border: 3px solid #FFF;
    border-radius: 25px;
    padding: 25px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center content vertically */
    text-align: center;
    cursor: pointer; /* Make it look clickable */
    transition: border-color 0.3s; /* Transition effect */
	-webkit-tap-highlight-color: transparent;
}

/* icon inside each category – keeps the fade for every toggle */
.submit-page .checkbox-group .category-box img{
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    transition: opacity 0.18s ease-in-out;   /* fade-in when we ask it to */
}


.submit-page .checkbox-group .category-box.selected {
    border-color: #000; /* Selected effect color */
	box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* label below each icon – default white & fade-able */
.submit-page .checkbox-group .category-box span{
    color:#FFF;
    transition:color .18s ease-in-out;   /* same timing as icon */
}

/* turn the label black whenever the box is selected */
.submit-page .checkbox-group .category-box.selected span{
    color:#000;
}


.submit-page .location-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.submit-page .location-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.submit-page .location-item.full-width input {
    width: 60%; /* Set width to 60% for full-width input */
}

.submit-page .location-row {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 10px; /* Space between elements */
}

.submit-page .location-side {
    width: 5%; /* Adjusted width for spacing div */
}

.submit-page .location-item-City,
.submit-page .location-item-Country,
.submit-page .location-item-Region,
.submit-page .location-item-ParticipantCount,
.submit-page .location-item-VenueType {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
}

.submit-page .location-item-City,
.submit-page .location-item-ParticipantCount {
    width: 30%; /* Adjusted width */
    text-align: right; /* Right-align text */
}

.submit-page .location-item-Country {
    width: 30%; /* Adjusted width */
    text-align: center; /* Center-align text */
}

.submit-page .location-item-Region,
.submit-page .location-item-VenueType {
    width: 30%; /* Adjusted width */
    text-align: left; /* Left-align text */
}

.submit-page .location-item-City input,
.submit-page .location-item-ParticipantCount input {
    max-width: 80%; /* Adjusted max-width */
    margin-left: auto; /* Align input to the right */
}

.submit-page .location-item-Country input {
    max-width: 80%; /* Adjusted max-width */
    margin-left: auto;
    margin-right: auto; /* Center align the Country input */
}

.submit-page .location-item-Region select {
    max-width: 80%; /* Adjusted max-width */
    margin-right: auto; /* Align input to the left */
    height: 60px; /* Adjusted height */
    border: 1px solid #fff; /* Added border */
    border-radius: 25px; /* Adjusted border-radius */
    font-size: 18px; /* Set font size */
    font-weight: 500;
    font-family: 'Roboto Slab', serif; /* Set font family */
    background: url('https://www.futuristconferences.com/images/icons/sort-order-arrow-20x20px.gif') no-repeat right 10px center; /* Set background image */
    background-size: 20px 20px; /* Set background size */
    padding-left: 15px; /* Set padding-left */
    padding-right: 35px; /* Set padding-right */
    appearance: none; /* Remove default appearance */
    text-align: center; /* Center align text */
    color: black; /* Set text color to black */
    background-color: #FFF; /* Ensure white background */
}

.submit-page .venue-type-dropdown {
    max-width: 80%; /* Adjusted max-width */
    margin-right: auto; /* Align input to the left */
    height: 60px; /* Adjusted height */
    border: 1px solid #fff; /* Added border */
    border-radius: 25px; /* Adjusted border-radius */
    font-size: 18px; /* Set font size */
    font-weight: 500;
    font-family: 'Roboto Slab', serif; /* Set font family */
    background: url('https://www.futuristconferences.com/images/icons/sort-order-arrow-20x20px.gif') no-repeat right 10px center; /* Set background image */
    background-size: 20px 20px; /* Set background size */
    padding-left: 15px; /* Set padding-left */
    padding-right: 35px; /* Set padding-right */
    appearance: none; /* Remove default appearance */
    text-align: center; /* Center align text */
    color: black; /* Set text color to black */
    background-color: #FFF; /* Ensure white background */
}

.submit-page .currency-dropdown {
    max-width: 80%; /* Adjusted max-width */
    margin-right: auto; /* Align input to the left */
    height: 60px; /* Adjusted height */
    border: 1px solid #fff; /* Added border */
    border-radius: 25px; /* Adjusted border-radius */
    font-size: 18px; /* Set font size */
    font-weight: 500;
    font-family: 'Roboto Slab', serif; /* Set font family */
    background: url('https://www.futuristconferences.com/images/icons/sort-order-arrow-20x20px.gif') no-repeat right 10px center; /* Set background image */
    background-size: 20px 20px; /* Set background size */
    padding-left: 15px; /* Set padding-left */
    padding-right: 35px; /* Set padding-right */
    appearance: none; /* Remove default appearance */
    text-align: center; /* Center align text */
    color: black; /* Set text color to black */
    background-color: #FFF; /* Ensure white background */
}

.submit-page .location-item input,
.submit-page .location-item select {
    width: 100%;
}


.hidden {
    height: 0;
	width: 50%;
    overflow: hidden;
    transition: height 0.5s ease-out;
}

#socialMediaFields {
    height: 0; /* Initially hidden */
    width: 50%;
    background-color: #4169e1;
	overflow: hidden;
    transition: height 0.5s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 1;
	margin: 0px auto 0 auto;
    display: block; /* Ensure the element is treated as a block-level element */
}

#socialMediaFields.visible {
    opacity: 1;
}

#socialMediaFields.hidden {
    opacity: 0;
}

/* Style the social media icons and their layout */
#socialMediaFields label {
    display: flex;
    align-items: center; /* Align icon and text vertically */
}

.social-icon {
    width: 30px; /* Adjust icon size */
    height: 30px;
	border: none;
    margin-right: 10px; /* Space between icon and text */
    display: inline-block;
    vertical-align: middle; /* Align icons with text */
}

/* Hide the image/logo upload section for Basic listings */
.form-section.image-section--hidden {
    display: none;
}

.description-section--hidden {
    display: none;
}

.social-section--hidden {
    display: none;
}


.tickets {
	background-color:#4169e1;
	margin-top: 50px;
	width: 100%;
}

.tickets--hidden {
    display: none;
}

.ticket-row {
    display: flex;
    justify-content: space-between;
    width: 100%; /* Adjust this value if needed to fit your layout */
    margin-left: auto;
    margin-right: auto;
	margin-bottom: 0px;
	gap: 20px; /* Space between the two price fields */
}

.ticket-price-min,
.ticket-price-max {
    display: flex;
    flex-direction: column; /* Stack label and input vertically */
    align-items: center;    /* Center align the label and input */
    width: 48%;             /* Each takes up roughly half of the row */
    text-align: center;     /* Center align the content inside the div */
}

.tickets label {
    text-align: center;     /* Ensure labels are centered */
    display: block;         /* Make sure the labels take up the full width of the container */
}

/* Style for ticket input fields (minimum and maximum) */
.tickets input[type="text"],
.tickets input[type="number"] {
    width: 80%;             /* Adjust width of the input fields to 80% */
    padding: 10px;
    box-sizing: border-box;
    border-radius: 25px;    /* Rounded corners for ticket inputs */
    border: 1px solid #ccc;
    font-size: 16px;
    text-align: center;     /* Ensure input text is also centered */
}

/* Center the dropdown and adjust spacing */
.ticket-currency {
    text-align: center;
    margin-top: 20px;    /* reduce space above the dropdown */
    margin-bottom: 30px; /* add space below the dropdown */
}

/* Narrow the dropdown */
.ticket-currency select {
    display: inline-block;
    width: 300px; /* adjust this value to your desired width */
}

/* ─── Upload progress bar ─────────────────────────────── */
#uploadProgressContainer{
    position:absolute;               /* overlay on the canvas            */
    top:50%; left:50%; transform:translate(-50%,-50%);
    width:50%;                       /* ≈ half-width of 400 px canvas     */
    height:24px;                     /* tweak to taste                    */
    border:2px solid #fff;
    background:transparent;
    display:none;                    /* shown only while uploading        */
    pointer-events:none;             /* keep canvas drag/zoom clickable   */
    z-index:2;
}
#uploadProgressBar{
    width:0%;
    height:100%;
    background:#fff;                 /* white fill requested              */
    transition:width .1s linear;     /* smooth 1 % steps                  */
}


#venueTypeSection {
    scroll-margin-top: 0px; /* Adjust this value as needed */
}

.website {
    width: 50%;
    margin-left: 25%;
    margin-right: 25%;
    margin-bottom: 50px;
    margin-top: 0px;
	background-color: #4169e1;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: margin-top 0.5s ease-in-out; /* Smooth transition for margin-top */
}

.website.with-address {
    margin-top: 100px; /* Margin when addressSection is visible */
}

.website.without-address {
    margin-top: 0px; /* Margin when addressSection is hidden */
}





@media screen and (max-width: 1699px) {
  
    /* Increase the space for the labels */
  #datesSection .date-container label {
    width: 55%;
    padding-right: 10px; /* Optional: add extra space between the label text and input */
  }
  /* Adjust the inputs accordingly */
  #datesSection .date-container input {
    width: 45%;
  }
}




@media screen and (max-width: 1699px) and (min-width: 1200px) {
  /* Force the row to wrap and center its children */
  .submit-page .location-container .location-row {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  /* Hide the spacer elements */
  .submit-page .location-container .location-side {
    display: none;
  }
  
  /* City and Country: force these to share one row */
  .submit-page .location-container .location-item-City,
  .submit-page .location-container .location-item-Country {
    flex: 0 0 45%;
    max-width: 45%;
    text-align: center;
  }
  
  /* Region: force onto its own row, 45% wide, centered with top margin */
  .submit-page .location-container .location-item-Region {
    flex: 0 0 45%;
    max-width: 45%;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  
  /* Ensure the select inside Region fills its container */
  .submit-page .location-container .location-item-Region select {
    width: 100%;
    margin: 0 auto;
  }
}







@media screen and (max-width: 1549px) {
  /* Increase conference title width */
  #conferenceTitleSection input#Title {
    max-width: 70%;
  }
  
  /* For the date container:
     - Allow it to take up a bit more width (90% instead of 50%) so the content isn't forced apart.
     - Center the container using margin auto.
     - Use justify-content: center to group its items in the middle. */
  #datesSection .date-container {
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  #socialMediaFields {
    width: 70%;
    background-color:#4169e1;
    }
  
}





@media screen and (max-width: 1199px) {
  /* Existing rules for participant count and venue type, etc. */
  #participantCountSection,
  #venueTypeSection {
    width: 40%;
  }
  
  #participantCountSection label .form-title,
  #venueTypeSection label .form-title {
    white-space: nowrap;
  }
  
  .participants .location-row {
    gap: 5px;
    justify-content: space-around;
  }
  
  /* New rules for the Location section */
  .location-container .location-row {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .location-container .location-side {
    display: none;
  }
  
  .location-container .location-item-City,
  .location-container .location-item-Country {
    flex: 0 0 45%;
    max-width: 45%;
    text-align: center;
  }
  
  .location-container .location-item-Region {
    flex: 0 0 65%;
    max-width: 65%;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  
    /* Make the Full address input 90% wide and centered */
  .submit-page .location-item.full-width input {
    width: 90%;
   }
  #LocationFullAddress {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}






@media screen and (max-width: 1099px) {
  .submit-page .checkbox-group {
    grid-template-columns: repeat(3, 1fr);
  }
    #socialMediaFields {
    width: 90%;
    background-color:#4169e1;
    }
   .website {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    }

	.submit-page input[type="text"] {
    max-width: 90%;
}
	
	
}





@media screen and (max-width: 999px) {
  /* Stack all children of the date-container vertically */
  #datesSection .date-container {
    flex-direction: column;
    align-items: center;
  }
  /* Override fixed widths from higher breakpoints */
  #datesSection .date-container label,
  #datesSection .date-container input,
  #datesSection .date-container .error-message {
    width: auto;
    text-align: center;
    margin-bottom: 10px; /* Optional: adjust spacing as needed */
  }
    /* Stack participant count and venue type vertically */
  .participants .location-row {
      flex-direction: column;
      align-items: center;
  }
  
  /* Increase the width of each container and add some spacing */
  #participantCountSection,
  #venueTypeSection {
      width: 60%;  /* Adjust as needed */
      margin-top: 20px;
	  margin-bottom: 0px;
  }
}







@media (max-width: 899px) {
  /* Increase conference title width */
  #conferenceTitleSection input#Title {
    max-width: 90%;
  }
  
  p.white-large {
    font-family: 'Roboto Slab', serif;
    font-size: 16px;
    font-weight: 300;
    line-height: normal;
    margin-left: 0;
    margin-right: 0;
    text-shadow: none;
    text-decoration: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    color: #FFF;
  }
  
  p.white-huge {
    font-family: 'Roboto Slab', serif;
    font-size: 22px;
    line-height: normal;
    margin-left: 0;
    margin-right: 0;
    text-shadow: none;
    text-decoration: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    color: #FFF;
  }
  
    /* Increase the width of each container and add some spacing */
  #participantCountSection,
  #venueTypeSection {
      width: 40%;
  }
  
  .submit-page .form-header,
  .submit-page .form-container {
    width: 95%;
    padding: 20px;
  }
  
  .submit-page input[type="text"],
  .submit-page input[type="number"],
  .submit-page input[type="url"],
  .submit-page textarea,
  .submit-page select {
    font-size: 16px;
    max-width: 90%;
  }
  
  .submit-page .checkbox-group,
  .submit-page .date-container,
  .submit-page .location-container {
    max-width: 90%;
  }
  
  .submit-page input[type="file"],
  .submit-page input[type="submit"] {
    max-width: 90%;
  }
  
  /* Switch the category grid to a 2x6 layout */
  .submit-page .checkbox-group {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Allow category boxes to size automatically */
  .submit-page .checkbox-group .category-box {
    width: auto;
	-webkit-tap-highlight-color: transparent;
  }
  
  /* Preserve date-container label and input sizing */
  .submit-page .date-container label,
  .submit-page .date-container input {
    width: 48%;
  }
  
  .submit-page .location-item-Region select {
    font-size: 16px;
   }
  
  .submit-page .venue-type-dropdown {
    font-size: 16px;
   }

.submit-page .currency-dropdown {
    font-size: 16px;
    }
  
  /* Social media inputs remain 100% width */
  #socMedBS,
  #socMedEB,
  #socMedFB,
  #socMedIG,
  #socMedLI,
  #socMedMU,
  #socMedX,
  #socMedYT {
    max-width: 100%;
  }
  
  .textarea-container .textarea {
    font-size: 16px;
	padding: 10px 20px;
   }
  
  .website {
    width: 100%;
    margin-left: 0%;
    margin-right: 0%;
    margin-bottom: 50px;
    margin-top: 0px;
  }
  
  /* Ensure the extraField remains hidden */
  .extraField {
    display: none !important;
  }
  
  /* --- New rules for the Location section --- */
  /* Allow the location row to wrap and center its items */
  .location-container .location-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  /* Hide the side spacer elements */
  .location-container .location-side {
    display: none;
  }
  /* Set City and Country to each take 50% of the width and stay on one line */
  .location-container .location-item-City,
  .location-container .location-item-Country {
    flex: 0 0 90%;
    max-width: 90%;
    text-align: center;
  }
  /* Place Region on its own line, centered */
  .location-container .location-item-Region {
    flex: 0 0 90%;
    max-width: 90%;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  /* --- End new rules for Location --- */
  
     #LocationCity, #LocationCountry {
    max-width: 60%;
	background-color:#fff;
    }
}






@media (max-width: 599px) {

  /* Increase conference title width */
  #conferenceTitleSection input#Title {
    max-width: 100%;
  }
  
  /* Increase keywords input width */
  #keywordsSection input#Keywords {
    max-width: 100%;
  }
  
  /* Increase tickets link width */
  #ticketBookingLinkBox input#BookNow {
    max-width: 100%;
  }
  
   /* Increase website link width */
  #websiteSection input#Website {
    max-width: 100%;
  }
  
   /* Increase all social media input fields to 100% width */
    #socialMediaFields {
    width: 100%;
    background-color:#4169e1;
    }
  #socMedBS,
  #socMedEB,
  #socMedFB,
  #socMedIG,
  #socMedLI,
  #socMedMU,
  #socMedX,
  #socMedYT {
    max-width: 100%;
  }

h2 {
  font-family: 'Roboto Slab', serif;
  font-weight:500; 
  font-size: 24px;
  margin-top: 0px;
  text-align: center;
}

.submit-page h2 {
    font-weight:500;
	margin: 25px 25px 25px 15px; /* Reset margin for h2 */
    padding: 0; /* Reset padding for h2 */
	font-size: 24pt;
}

    /* Stack participant count and venue type vertically */
  .participants .location-row {
      flex-direction: column;
      align-items: center;
  }
  
  /* Increase the width of each container and add some spacing */
  #participantCountSection,
  #venueTypeSection {
      width: 60%;  /* Adjust as needed */
      margin-top: 0px;
	  margin-bottom: 0px;
  }
  
.submit-page input[type="text"].full-width {
    max-width: 100%;
}


.submit-page .location-item.full-width input {
    width: 100%;
}

  .submit-page .location-container {
    max-width: 100%;
  }

#LocationFullAddress {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

}



@media screen and (max-width: 550px) {
  /* Make the container responsive */
  #imagePreviewContainer {
    width: 100%;
    max-width: 400px; /* Original width as the maximum */
    /* Use the aspect-ratio property to maintain 400:267 ratio */
    aspect-ratio: 400 / 267;
    /* Remove fixed height so it scales automatically */
    height: auto;
    background-size: contain; /* Ensure background scales appropriately */
  }
  
  /* Hide the "click to upload" placeholder while a file is on the way */
#imagePreviewContainer.uploading {
    background-image: none !important;
}

  
  /* Scale the canvas to fill the container */
  #imagePreview {
    width: 100%;
    height: auto;
  }
  
    .location-container .location-item-Region {
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  
    #LocationCity, #LocationCountry {
    max-width: 80%;
	background-color:#fff;
    }
  
    #Region {
    max-width: 100%;
	width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  
  .submit-page .location-item-Region select {
    max-width: 100%;
	font-size: 16px;
  }
  
  .ticket-row {
      flex-direction: column;
      align-items: center;
  }
  .ticket-price-min,
  .ticket-price-max {
      width: 100%;
      margin-bottom: 20px; /* Optional spacing between them */
  }
    /* Target only the input fields within the ticket-price containers */
  .tickets .ticket-price-min input[type="text"],
  .tickets .ticket-price-min input[type="number"],
  .tickets .ticket-price-max input[type="text"],
  .tickets .ticket-price-max input[type="number"] {
    width: 65%;
  }
  .ticket-currency select {
    width: 90%; /
  }
  
  .ticket-currency {
    margin-top: 20px;
  }
  
.submit-page .currency-dropdown {
    max-width: 100%;
	width: 100%;
	margin-bottom: 20px;
  }
  
  #ticketBookingLinkBox {
	  margin-top: 50px;
  }
  
}



@media (max-width: 474px) {
  /* Set the checkbox group to use one column */
  .submit-page .checkbox-group {
    grid-template-columns: repeat(1, 1fr);
  }
  
  /* Allow each category box to take full width within its grid cell */
  .submit-page .checkbox-group .category-box {
    width: auto;
	-webkit-tap-highlight-color: transparent;
  }
  

}



@media (max-width: 449px) {

h2 {
  font-family: 'Roboto Slab', serif;
  font-weight:500; 
  font-size: 18px;
  margin-top: 0px;
  text-align: center;
}

    #LocationCity, #LocationCountry {
    max-width: 90%;
	background-color:#fff;
    }

  /* Increase the width of each container and add some spacing */
  #participantCountSection {
	  width: 100%;
	  background-color:#4169e1;
  }
  
   #ParticipantCount, #VenueType {
    max-width: 50%;
  }
  
  .submit-page h2 {
    font-weight:500;
	margin: 25px 25px 25px 15px; /* Reset margin for h2 */
    padding: 0; /* Reset padding for h2 */
	font-size: 18pt;
    }
  
    #venueTypeSection {
      width: 100%;
      margin-top: 0px;
	  margin-bottom: 0px;
	  background-color:#4169e1;
  }

}



/* Hover effect only on desktop-sized screens */
@media screen and (min-width: 1000px) {
  .submit-page .checkbox-group .category-box:not(.selected):hover {
    border-color: #2d3292;
  }
}



