/* Scroll adjustments */

.pf_login_container.bookingsystem {
	margin-top: 80px;
}

#voucher_selection, #calendar_days, #calendar, #visitors_selector_container, #booking_popup {
	 scroll-margin-top: 64px;
}

.book_button.selected {
	box-shadow: 0 0 30px 10px #38b0e1;
}

.bookingsystem .init-hide {
	display: none;
}

.bookingsystem .product {
	cursor: pointer;
	border: 2px transparent solid;
	max-width: 800px;
	display: inline-block;
}

.bookingsystem .product.selected {
	border: 2px #ff7331 solid !important;
}

.bookingsystem .visitors_selector {
	background: #0797A3; /*green color*/
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 20px;
	padding-right: 20px;
	margin: 10px;
	cursor: pointer;
	color: #FFF;
	font-weight:800;
	border-radius:10px;
}

.bookingsystem .number_of_flyers_selector_container {
	justify-content: center;
}

.bookingsystem .visitors_selector.selected {
	background: #FF7331; /*orange color*/
}

.bookingsystem .day {
	text-align: center;
	background-color: #0797A3;
	cursor: pointer;
	white-space: nowrap;
	border: 2px transparent solid;
	color:#FFF;
	padding:5px;
	border: 2px #FFF solid;
	border-radius: 10px;
}
.bookingsystem .full{
	background-color: #b8b8b8 !important;
}

.bookingsystem .day .date_day {
	font-size: 1.5em;
	font-weight: 800;
	padding-bottom:5px;
}

.bookingsystem .day:hover {
	/*border: 2px #0797A3 dashed;*/
	border-radius: 10px;
	background-color:#FF7331;
}

.bookingsystem .day.selected {
	/*border: 2px #FF7331 solid;*/
	border-radius: 10px;
	background-color:#FF7331;
}

.bookingsystem .block {
	position: relative;
	cursor: pointer;
	border: 2px transparent solid;
}

.bookingsystem .block:hover {
	border: 2px red dashed;
}

.bookingsystem .block.selected {
	border: 2px red solid;
}

.bookingsystem .number_of_additions {
	max-width: 400px;	
}

.bookingsystem .number_of_additions .visitors_selector {
	margin: 3px;
	padding: 5px 10px;
}

.wc-block-components-quantity-selector::after {
  border: 1px solid hsla(0,0%,7%,.11);
  border-radius: 4px;
  bottom: 0;
  content: "";
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
}

.wc-block-components-quantity-selector {
  border-radius: 4px;
  box-sizing: content-box;
  display: flex;
  margin: 0 0 .25em;
  position: relative;
  width: 107px;
}

.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
  -moz-appearance: textfield;
  appearance: textfield;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: currentColor;
  flex: 1 1 auto;
  font-size: 1em;
  font-weight: 600;
  line-height: 1;
  margin: 0;
  min-width: 40px;
  order: 2;
  padding: .4em 0;
  text-align: center;
  vertical-align: middle;
}

.wc-block-components-quantity-selector > .wc-block-components-quantity-selector__button--minus {
  border-radius: 4px 0 0 4px;
  order: 1;
}

.wc-block-components-quantity-selector > .wc-block-components-quantity-selector__button--plus {
  border-radius: 0 4px 4px 0;
  order: 3;
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
  background: none transparent;
  border: 0;
  box-shadow: none;
  color: currentColor;
  cursor: pointer;
  font-size: .9em;
  font-style: normal;
  font-weight: 400;
  margin: 0;
  min-width: 30px;
  opacity: .6;
  padding: 0;
  text-align: center;
  text-decoration: none;
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover {
  opacity: 1;
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:focus {
  box-shadow: inset 0 0 1px 1px currentColor;
  outline: none;
}

/* The overlay that darkens the background */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 80%;
    position: relative;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #666;
}
	




/* Zmart css kod */

/*vald produkt*/
.bokaflygtid P,
.bokaflygtid .et_pb_code_inner{
	color: #121212 !important;
}
.bokaflygtid .product .selected,
div.bookingsystem  .product .selected{
	border: 2px solid #ff7331 !important;
}

.bokaflygtid .product, .bookingsystem .product_coupon, .bookingsystem .shop_coupon {
	margin-top: 2em !important;
	margin-bottom: 2em !important;
	color: #121212 !important;
	
	padding: 1em !important;
	border: 2px solid #0797A3;
  	padding: 2% 3%;
  	border-radius: 25px;

	cursor: pointer;
	max-width: 800px;
	display: inline-block;
}

.bookingsystem .shop_coupon #remaining_value {
	font-weight: 1000;
}

/*.bokaflygtid .product:hover {
	background-image: linear-gradient(180deg, #f0dcd3, #efcfbf);
}*/
.product .selected {
	background-color: #0797A3 !important;
}

.bookingsystem .flygtid_button {
	color: white !important;
    text-align: center !important;
    font-size: 1.5em !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-radius: 10px !important;
    border: 3px solid white !important;
	background-color: #0797A3 !important;
	padding-top:10px;
	padding-bottom:10px;
	margin-top:20px;
	margin-bottom:10px;
}
.bookingsystem .product .selected .flygtid_button {
	background-color: #ff7331 !important;
}
.bookingsystem .product .flygtid_button:hover {
	background-color: #ff7331 !important;
}



#visitors_selector_container,
.bokaflygtid .date_selection_label,
.bokaflygtid .time_selection_label,
.bookingsystem .month_name
{
	font-size: 1.4em !important; /* Same as 22px */
	line-height: 1.4em !important;
	letter-spacing: 0.3pt !important;
	
}

/*margins of txt*/
.number_of_flyers,
.date_selection_label,
.time_selection_label{
	margin-top:20px;
	margin-bottom:20px;
}

/*calendar*/
.bookingsystem .calendar {
	border: 1px solid #F7F7F7 !important;
}
.bookingsystem .day_name {
	text-transform: uppercase;
	font-weight:800;
	background-color:#F7F7F7;
	padding-top:10px;
	padding-bottom:10px;
}
.bookingsystem .day {
	padding-top:10px;
	padding-bottom:10px;
}

.bookingsystem .prev_month::before {
   content:url(https://bodyflight.se/wp-content/uploads/2025/04/arrow-left40.png) !important;
}
.bookingsystem .next_month::after {
   content:url(https://bodyflight.se/wp-content/uploads/2025/04/arrow-right40.png) !important;
}
.bookingsystem .prev_month:hover,
.bookingsystem .next_month:hover
{
   opacity: 0.5;
}
/* hide in mobile - inga platser/195 platser */
@media only screen and (max-width: 768px) {
	.blocks {
		visibility: hidden !important;
		display: none !important;
	}
	.bookingsystem .day_name {
		font-size: 0.5em !important;
	}
	.bookingsystem .day .date_day {
		font-size: 1.1em;
		font-weight: 700;
		padding-bottom:2px;
	}
	.bookingsystem .block {
		font-size: 0.8em;
		font-weight: 700;
		padding-bottom:2px;
	}
	#calendar_days .block,
	#calendar_days .full_block {
		padding-top: 10px !important;
		padding-bottom: 5px !important;
		padding-left: 5px !important;
		padding-right: 5px !important;
	}
	.bookingsystem .time_label {
		padding-top: 8px;
	}
}
/* End Boka flygtid */

/* calendar time */
#calendar_days {
	margin-top:20px;
}
.bookingsystem .timeselector_day,
.bookingsystem .time_day_header{
	text-transform: uppercase;
    font-weight: 800;
    background-color: #F7F7F7;
    padding-top: 10px;
    padding-bottom: 10px;
	border: 2px #FFF solid;
	border-radius: 10px;
}
/* tid - mitten dagen */
.bookingsystem .timeselector_selected_day {
	text-transform: uppercase;
    font-weight: 800;
	color:#FFF !important;
    background-color: #FF7331 !important;;
    padding-top: 10px;
    padding-bottom: 10px;
}
#calendar_days .block {
	text-align: center;
	background-color: #0797A3;
	cursor: pointer;
	white-space: nowrap;
	border: 2px transparent solid;
	color:#FFF;
	font-weight: 800;
	padding:15px;
	border: 2px #FFF solid;
	border-radius: 10px;

	/* To support popups */
	position: relative;
	overflow: visible;
}

#calendar_days .rotation_popup {
	visibility: hidden;
	position: absolute;
	z-index: 999;
	background-color: white;
	color: black;
	border: 1px solid #E2E8F0;
	border-radius: 0.25rem;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
	padding: 1rem;
	top: -5px;
	left: 100%;
	margin-left: 8px;
	opacity: 0;
	transition: opacity 0.3s;
    /* Ensure the popup isn't affected by parent overflow */
	pointer-events: none;
	font-weight: initial;
}

#calendar_days .block:hover .rotation_popup {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

#calendar_days .block:hover {
	background-color: #FF7331;
}
#calendar_days .full_block{
	background-color:#F7F7F7;
	border: 2px #FFF solid;
	border-radius: 10px;
}
.bookingsystem .time_label {
	text-transform: uppercase;
    font-weight: 800;
    background-color: #F7F7F7 !important;;
    padding-top: 10px;
    padding-bottom: 10px;
	border: 2px #FFF solid;
	border-radius: 10px;
}

.timer-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}
  
.timer-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5a9.5 9.5 0 1 1-9.5 9.5 1 1 0 0 1 2 0 7.5 7.5 0 1 0 1.5-4.5H5a1 1 0 1 1 0-2h4a1 1 0 0 1 1 1v4a1 1 0 0 1-2 0V8.2A9.5 9.5 0 0 1 12 2.5z'/%3E%3C/svg%3E") no-repeat center center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5a9.5 9.5 0 1 1-9.5 9.5 1 1 0 0 1 2 0 7.5 7.5 0 1 0 1.5-4.5H5a1 1 0 1 1 0-2h4a1 1 0 0 1 1 1v4a1 1 0 0 1-2 0V8.2A9.5 9.5 0 0 1 12 2.5z'/%3E%3C/svg%3E") no-repeat center center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* end time */

/* voucher_selection */
.bookingsystem .voucher_selection {
	margin-bottom:25px;
	font-weight:800 !important;
}
.voucher_selection input[type=text] {
	height: 40px;
	padding: 2px 16px 2px 11px;
	border: 2px #FF7331 solid !important;
	border-radius: 10px !important;
	font-size: 16px;
	box-sizing: border-box;
/*	margin-bottom:10px; */
	transition: border-color 0.2s;
}
.voucher_selection button {
	height: 40px;
	padding: 2px 11px 2px 11px;
	border: 2px #FF7331 solid !important;
	background-color: #FF7331 !important;
	color:#FFF !important;
	border-radius: 10px !important;
	font-size: 16px;
	box-sizing: border-box;
/*	margin-bottom:10px; */
	transition: border-color 0.2s;
	margin-left:20px !important;
	text-transform: uppercase !important;
	font-weight:800 !important;
	letter-spacing:0.5pt !important;
}

/* booking popup */
#booking_popup {
	color: #121212;
	background: #FFF; /*F7F7F7*/
	z-index: 1;
	left: 50%;
	transform: translate(-50%,8px) scale(1);
	box-shadow: -1px 1px 10px 10px rgba(0,0,0,0.5);
	padding: 20px;
	white-space: nowrap;
	min-width: 50vw;
	border: 4px #0797A3 solid;
	border-radius: 10px;
	white-space: initial;
	text-align: center;
}

#book_new,
#book_new_and_add{
	color: white !important;
    text-align: center !important;
    font-size: 1.2em !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-radius: 10px !important;
    border: 3px solid white !important;
	background-color: #0797A3 !important;
	padding-top:7px;
	padding-bottom:7px;
	padding-left:10px;
	padding-right:10px;
	margin-top:20px;
	margin-bottom:10px;
}
#book_new:hover,
#book_new_and_add:hover{
	background-color: #ff7331 !important;
}


#booking_popup h1 {
    font-size: 22px;
    font-weight: 800;
}
#booking_popup H2 {
	font-size:22px;
	font-weight: 800;
}
#booking_popup H3 {
	font-size:18px;
	font-weight: 800;
}
.product_name .extra_option H3 {
	color:#FF7331 !important;
}
#booking_popup .booking_summary_table {
	margin-top:20px;
	margin-bottom:20px;
}
input[type=checkbox] {
	width: 20px !important;
    height: 20px !important;
	border: 1px solid #FF7331 !important;
}
/*
#contact_name,
#contact_email,
#contact_phone {
	height: 45px !important;
    width: 200px !important;
    border: 2px #FF7331 solid !important;
    border-radius: 10px !important;
	margin-bottom:10px;
}
*/
.bookingsystem .form-group {
	width: 350px;
	position: relative;
	margin-bottom: 10px;
	display: inline-block;
}

.bookingsystem .form-control {
	height: 40px;
	padding: 2px 16px 2px 11px;
	border: 2px #FF7331 solid !important;
	border-radius: 10px !important;
	font-size: 16px;
	box-sizing: border-box;
/*	margin-bottom:10px; */
	transition: border-color 0.2s;
	width: 100%;
}

.bookingsystem .form-control:focus {
	outline: none;
	border-color: #7B68EE;
}

.bookingsystem .form-label {
	position: absolute;
	left: 21px;
	top: 10px;
	color: #777;
	pointer-events: none;
	transition: all 0.2s ease;
}

.bookingsystem .form-control:focus ~ .form-label,
.bookingsystem .form-control:not(:placeholder-shown) ~ .form-label {
	top: -10px;
	padding-left: 2px;
	padding-right: 2px;
	font-size: 12px;
	color: #555;
	left: 19px;
	background: white;
	height: 12px;
}

.bookingsystem label.error {
	color: #dc3545;
	font-size: 12px;
	margin-top: 5px;
	display: flex;
	align-items: center;
	position: static;
	border: none;
	padding-left: 0;
}

.bookingsystem label.error:before {
	content: "⚠";
	margin-right: 5px;
}

.arival_time_checkbox {
	display: inline-block;	
}

#booking_summary_container {
	display: flex;
	justify-content: center;
}

.bookingsystem .booking_summary_table {
	border-spacing: 10px 0;
	border-collapse: separate;
}

.bookingsystem .booking_summary_table .summary_name {
	text-align: left;
}

.bookingsystem .booking_summary_table .summary_price, .bookingsystem .booking_summary_table .summary_qty,
.bookingsystem .booking_summary_table .summary_total, .bookingsystem .booking_summary_table #total_price {
	text-align: right;
}

/* Loading overlay */
.loading-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 10;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}

.bookingsystem .voucher-loading {
	margin-left: 10px;
}

/* Set border of popup to same of gray overlay */

#booking_popup:has(#loadingOverlay.loading-active) {
	border: 4px rgba(0, 0, 0, 0.8) solid;
}

/* When loading is active */
.loading-active {
	opacity: 1;
	visibility: visible;
}

/* Logo spinner */
.logo-spinner {
	width: 120px;
	height: 120px;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}

.spinner-base {
	width: 120px;
	height: 120px;
	position: relative;
}

.spinner-base.spinner-small {
	width: 60px;
	height: 60px;
}

.spinner-base .s-top {
	position: absolute;
	width: 72px;
	height: 72px;
	top: 0;
	left: 16px;
	border-radius: 50%;
	border: 4px solid #ff7a00;
	border-bottom-color: transparent;
	border-left-color: transparent;
	animation: pulse-orange 1s ease-in-out infinite, spin 2s linear infinite;
}

.spinner-base .s-bottom {
	position: absolute;
	width: 72px;
	height: 72px;
	bottom: 0;
	right: 16px;
	border-radius: 50%;
	border: 4px solid #999;
	border-top-color: transparent;
	border-right-color: transparent;
	animation: pulse-gray 1s ease-in-out infinite 0.0s, spin 2s linear infinite reverse;
	transform: rotateZ(45deg);
}

.spinner-base.spinner-small .s-top, .spinner-base.spinner-small .s-bottom  {
	width: 48px;
	height: 48px;
}

@keyframes pulse-orange {
	0%, 100% { transform: scale(0.8); opacity: 0.8; }
	50% { transform: scale(1); opacity: 1; }
}

@keyframes pulse-gray {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(0.8); opacity: 0.8; }
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Loading text below spinner */
.loading-text {
	color: white;
	margin-top: 15px;
	font-size: 22px;
	text-align: center;
}

/* extra product */
H3#input_fields,
H3.additions_text {
	margin-top:20px;
	margin-bottom:20px;
}

.addition{
	border-top:1px solid #000 !important;
	display: inline-block;
}
#booking_summary_container {
	border-top:1px solid #000 !important;
	border-bottom:1px solid #000 !important;
}

.extraproduct {
	margin-top:20px;
	margin-bottom:20px;
}
.extraproduct_image {
	/*width:200px !important;
	height:155px !important;*/
	/*max-width:20vh !important;*/
}
.extraproduct_image IMG {
	/*width:200px !important;
	height:155px !important;*/
}
.extraproduct_text {
	margin-left:20px!important;
	margin-right:20px!important;
	text-align: left;
	max-width: 350px;
}

.extraproduct_morebtn {
	text-transform: uppercase !important;
	font-weight:800 !important;
}

.addition_price_container {
	margin-top:20px;
}

.additions_price_label {
	text-align:left !important;
	margin-bottom:20px !important;
	/*min-width:20vh !important;*/
}
.additions_price {
	text-align:left !important;
}
.additions_label {
	text-align:left !important;
}
/*en extra product*/

@media only screen and (max-width: 1600px) {
	#booking_popup {
		min-width: 75vw;
	}
}

@media only screen and (max-width: 1200px) {
	#booking_popup {
		min-width: 95vw;
	}
}

@media only screen and (max-width: 800px) {
	.bookingsystem .product_description_container {
		flex-direction: column;
	}
}

@media only screen and (max-width: 768px) {
	#booking_popup {
		background: #FFF !important; /*F7F7F7*/
		box-shadow: -1px 1px 10px 10px rgba(0,0,0,0.3) !important;
		padding: 10px !important;
	}
	.bookingsystem .form-control {
		width:70vw !important;
	}
	.bookingsystem .form-group {
		width:70vw !important;
	}
	#book_new,
	#book_new_and_add{
		width:70vw !important;
		letter-spacing:0.5pt !important;
	}
}


/* Proflyer section */

#calendar_days .block.pricemap_onpeak {
	background: #393939;
}

#calendar_days .block.pricemap_offpeak {
	background: #9aa307;
}

#calendar div.day.slots_free div.pricemap_onpeak {
	background: #393939;
	color: white;
	font-weight: 500;
	border-radius:5px;
}

#calendar div.day.slots_free div.pricemap_offpeak {
	background: #9aa307;
	color: white;
	font-weight: 500;
	border-radius:5px;
}

.pricing_legend {
	margin-top: 10px; 
	margin-bottom: 10px; 
}

.pricing_legend span {
	border-radius: 8px;
	padding: 6px;
	margin: 4px; 
}

.legend_off_peak {
	background-color: #9aa307;
	color: white;
}

.legend_on_peak {
	background-color: #393939;
	color: white ;
}

#calendar_days.proflyer .block, #calendar_days.proflyer .time_label {
	padding-top: 2px;
	padding-bottom: 2px;
}

#booking_popup.proflyer {
	text-align: initial;
	min-width: initial;
}

#booking_popup.proflyer .comment {
	margin-top: 10px;
	width: 100%;
	margin-bottom: 10px;
}

#booking_popup.proflyer .comment input {
	width:100%;
}

.bookingsystem .book_button, .bookingsystem .purchase_button {
	color: white !important;
    text-align: center !important;
    font-size: 1.2em !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-radius: 10px !important;
    border: 3px solid white !important;
	background-color: #0797A3 !important;
	padding-top:7px;
	padding-bottom:7px;
	padding-left:10px;
	padding-right:10px;
	margin-top:20px;
	margin-bottom:10px;
}

.bookingsystem .book_button:hover, .bookingsystem .purchase_button:hover {
	background-color: #ff7331 !important;
}

.bookingsystem .cancel_booking {
	color: red;
	cursor: pointer;
}

.bookingsystem .cancel_booking:hover {
	font-weight: 800;
}

.bookingsystem tr.booking, .bookingsystem label.upcoming_booking {
	color: green;
}

.bookingsystem tr.booking.past_booking, .bookingsystem label.past_booking {
	color: gray;
}

.bookingsystem tr.booking.preliminary_booking, .bookingsystem label.preliminary_booking {
	color: orange;
}

/* Proflyer calendar */

.bookingsystem.proflyer .day .blocks {
	height: 2.8em;
}

.bookingsystem .otherAccountPaying {
	font-style: italic;
}

/* end booking popup */