/* Booking dialog CSS */

dialog::backdrop {
  background: rgb(255 0 0 / 10%);
  backdrop-filter: blur(3px);
}

dialog {
  position: absolute;
  margin-top: 0;
  margin-bottom: 25px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  background-color: white;
  padding: 20px;
  border: 1px solid #b71b42;
  border-radius: 12px;
  box-shadow: 10px 10px 5px #888;
  max-height: calc(90vh - 2em - 6px);
}

dialog #book_now {
  margin: 0 auto;
  width: fit-content;
  display: block;
  transform: unset;
  padding: 8px 40px;
}

.booking_header {
  width: 100%;
  background-color: #b71b42;
  display: flex;
  padding: 5px;
  align-content: space-between;
  align-items: center;
}

.booking_header span {
  padding: 5px;
  color: #fff;
  display: block;
  font-size: 1.5em;
  margin-block: 0.83em;
  margin-inline: 0;
  font-weight: bold;
  unicode-bidi: isolate;
}

.booking_header a {
  position: relative;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid #f1f1f1;
  color: #fff;
  padding: 5px;
  border-radius: 6px;
  box-sizing: border-box;
  text-decoration: none;
  margin-left: auto;
}

.booking_header a:hover {
  color: #000;
  border: 1px solid #000;
}

.booking_pricebeat {
  border: 1px solid #b71b42;
  padding: 15px;
  background: #f1efef;
  text-align: center;
  border-radius: 20px;
  margin: auto;
  margin-top: 4%;
  position: relative;
  width: fit-content;
}

.booking_pricebeat img {
  width: 40px;
}

.booking-select-option {
  display: flex;
  align-items: center;
  background: #f1f1f1;
  padding: 15px;

  /* margin: auto; */
  border-radius: 10px;
  justify-content: space-between;
  margin-top: 5px;
}

.booking-location-select {
  padding-left: 10px;
  padding-right: 10px;
  width: 100%;
  position: relative;
}

.booking-location-select select {
  appearance: none;
  color: #000;
}

.select-option {
  width: 100%;
  background: #fff;
  font-size: 20px;
  font-weight: 600;
  border-radius: 6.5px;
  padding: 10px;
  padding-top: 20px;
  border: solid;
  border-width: 1px;
  border-color: #666;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23131313%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem top 50%;
  background-size: 0.65rem auto;
}

.booking-select-option a {
  font-size: 23px;
  font-weight: 700;
  line-height: 32px;
  background: #ce1443;
  color: #fff;
  padding: 10px 40px;
  border-radius: 6px;
  box-sizing: border-box;
  text-decoration: none;
}

.booking-select-option a:hover {
  transform: scale(1.07);
  text-decoration: underline;
  color: #fff;
}

.booking_pricebeat {
  border: 1px solid #b71b42;
  padding: 15px;
  background: #f1efef;
  text-align: center;
  border-radius: 20px;
  margin: auto;
  margin-top: 4%;
  position: relative;
  width: fit-content;
}

.booking_courseselectionlist {
  font-size: 12px;
}

.booking_courseselectionlist .courseItem {
  background-color: #ce1443;
  color: #f1efef;
  border: 1px solid #ce1443;
  border-radius: 5px;
  padding: 5px;
  padding-top: 0;
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 5px;
  width: 190px;
  height: 46px;
  vertical-align: top;
}

.booking_courseselectionlist a {
  color: #f1efef !important;
}

.booking_courseselectionlist .almost-sold-out {
  font-weight: bold;
  text-transform: uppercase;
  color: #ce1443;
}

.weeksperator {
  margin-top: 10px;
  font-weight: bold;
}

tr.weeksperator {
  padding-top: 10px;
  display: inline-block;
}

.booking_courseselectionlist .courseItem .courseItemDate {
  font-weight: bold;
}

.courselocationdetails {
  font-weight: bold;
  font-size: 14px;
}

.booking_courserow {
  border-top: 0 solid #b0b1c3;
}

.booking_courserow select {
  width: auto;
  margin: auto;
}

.booking_courserow.weeksperator {
  color: #457b9d;
}

.booking_courserow.weeksperator td {
  border: none;
  box-shadow: none;
}

.booking_courserow .btn {
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  background: #ce1443;
  color: #fff;
  padding: 10px 40px;
  border-radius: 6px;
  box-sizing: border-box;
  text-decoration: none;
}

.booking_courserow .btn:hover {
  transform: scale(1.07);
  text-decoration: underline;
  color: #fff;
}

.booking_courserow td {
  padding: 4px;
}

tr.headerrow {
  background-color: #ecf2f6;
  color: #242021;
  font-weight: bold;
}

tr.highlight {
  background-color: #ecf2f6;
  border-top: 0 none;
}

tr.booking_courserow:nth-child(2n + 1):hover,
tr.booking_courserow:hover + tr {
  background-color: #f1efef;
  color: #242021;
}

tr.headerrow td {
  padding: 3px;
}

.campaign-cost {
  font-size: 14px;
  color: #b71b42;
}

.campaign-cost span {
  font-size: 12px;
  color: #000;
  text-decoration: line-through;
}


.check-button {
    font-size: 23px;
    font-weight: 700;
    line-height: 32px;
    background: #ce1443;
    color: #fff;
    padding: 10px 40px;
    border-radius: 6px;
    box-sizing: border-box;
    text-decoration: none;
}


@media all and (width <= 1199px) {
	.availability-select-option {
		flex-wrap: wrap;
	}

	.availability-select-option a {
		font-size: 20px;
        padding: 10px 30px;
	}

	.select-option {
		font-size: 18px;
	}

	.select-text {
		font-size: 18px;
	}
}

@media all and (width <= 991px) {
	dialog {
		position: absolute;
		top: 0%;
		left: 0%;
		transform: unset;
		width: 100%; 
		height: 100%;
		max-width: 100vw;
		max-width: 100vh;
		background-color: white;
		padding: 0;
		border: unset;
		border-radius: unset;
		box-shadow: unset;
	}

	dialog::backdrop {
		background: white;
		backdrop-filter: unset;
	}

	dialog .booking_header {
		box-sizing: border-box;
		padding-right: 12px;
	}

	.booking_pricebeat {
		width: 92%;
	}

	.hidemobile {
		display: none;
	}

    .booking-select-option a {
        font-size: 16px;
        padding: 8px 20px;
    }

    .booking-location-select:first-child  {
        padding-top: 10px;
        padding-bottom: 10px;
    }

	.booking_courseselectionlist {
		width: 96%;
		margin: 0 auto;
	}

    .select-option {
        font-size: 16px;
    }
}