@font-face {
    font-family: 'DMsans-Light';
    src: url('../booker/assets/fonts/DMSans-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
	
  background:var(--bodybg-color);
	font-family: 'DMsans-Light';
	margin: 0;
  color:var(--bodytext-color);
}

.hide {
  display:none;
}

.show {
  display:block;
}

.greenbig {
  font-size:64px;
  color:rgb(0, 149, 55);
}

.widget {
  max-width:400px;
  /* height:400px; */
  margin-left:calc(50% - 220px);
  padding:20px;
  background:var(--background-color);
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); */
  text-align:center;
}

.flexholderleft {
	display: flex;
  flex-direction:horizontal;       /* ← this stacks children vertically */
  justify-content: left;      /* centers the whole column vertically */
  align-items: left;          /* centers each child horizontally */
  gap: 0px;     
}


#no_of_people {
  display:inline;
}


.panel {
  padding-bottom:20px;
}

.statbox {
  width:33%;
  /* height:50px; */
  padding-bottom:5px;
  padding-top:5px;
  border:1px solid rgb(0, 0, 0, 0.15);
  margin-bottom:10px;
  font-size:12px;
  line-height:16px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  color:var(--stats-color);
  cursor:pointer;
}

.nextbutton {
  width:100%;
  background:#343434;
  /* height:30px; */
  margin-left:calc(50% - 220px);
  max-width:420px;
  padding:10px;
  cursor:pointer;
  color:#fff;
  text-align:center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
   background:rgb(0, 149, 55);
}

.sendbutton {
  width:calc(100% - 20px);
  background:#343434;
  padding:10px;
  cursor:pointer;
  color:#fff;
  text-align:center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
   background:rgb(0, 149, 55);
   border-radius:5px;
}

.sendbutton:hover {
  transform:scale(1.05);
  transition: 0.2s;
}

#name_details p {
  text-align:left !important;
  font-size:13px;
  padding:0;
  margin:0;
  margin-bottom:3px;
  color:var(--cal_main);
}


.arrow-right {
  width: 0; 
  height: 0; 
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #d0cfcf;
  display:inline;
}


.emailform_warn {
	display:inline-block;
	/*padding:5px;*/
	width:calc(100% - 0px);
	color:var(--primary-color);
	margin-bottom:15px;
	padding-left:5px;
  font-size:14px;
  text-align:left;
}

#ajaxstatus {
  display:none;
}

h1 {
  background:rgba(0, 0, 0, 0.15);
  color:var(--primary-color);
  font-size:26px;
  line-height:32px;
  padding:5px;
  margin:0;
  font-weight: 200;
  /* margin-bottom:10px; */
  /* border-radius:1px; */
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

h2 {
  color:var(--primary-color);
  font-size:18px;
  line-height:24px;
  padding:0;
  margin:0;
  margin-bottom:10px;
  font-weight: 300;
}

h3 {
  color:#a5a4a4;
  font-size:20px;
  line-height:24px;
  padding:0;
  margin:0;
  margin-bottom:10px;
  font-weight: 200;
  text-transform: uppercase;
  
   letter-spacing: 4px;
}

.timegrid {
  display: grid;
  grid-template-columns: repeat(4, calc(25% - 10px));
  gap: 10px;
  height:340px;
  overflow:scroll;
}

.timegrid_empty {
  text-align:center;
}

.timeslot {
  width: 70px;
  height: 70px;
  border-radius:35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(208, 207, 207, 0.5);
  background: var(--backgroundcolor);
  cursor: pointer;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.timeslot:hover {
  background:var(--primary-color);
  color: white;
  opacity:0.85;
}

.timeslot.active {
  background:var(--primary-color);
  color: white;
}

.timeslot_unavail {
  width:70px;
  height: 70px;
  border-radius:35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(208, 207, 207, 0.2);
  background: rgb(255, 255, 255);
  cursor:not-allowed;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
  color:#ccc;
}

#numbers {
  padding-top:10px;
  margin-left:10px;
  display: grid;
  grid-template-columns: repeat(4, calc(25% - 10px));
  gap: 10px;
}

#no_of_people, #bookingday, #bookingtime {
  color:var(--primary-color);
  font-weight:700;
  font-size:16px;
}
.number {
  width: 70px;
  height: 70px;
  border-radius:35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(208, 207, 207, 0.5);
  background:var(--background-color);
  cursor: pointer;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.number:hover {
  background:var(--primary-color);
  color: white;
  opacity:0.85;
}
.number.active {
  background:var(--primary-color);
  color: white;
}

input[type=text], input[type=tel], input[type=email], textarea {
	font-size: 15px; 
  padding:10px; 
	border: 1px solid rgb(208, 207, 207, 0.5);
	border-radius:5px;
	width:calc(100% - 20px);
	resize:none;
	outline:none;
	color:var(--bodytext-color);
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
  margin-bottom:10px;
  background:var(--background-color);
}

input[type=text]:focus, input[type=tel]:focus, input[type=email]:focus, textarea:focus {
  border: 1px solid var(--bodytext-color);
}

input::placeholder, textarea::placeholder {
  color:var(--secondary-color);
  font-family: 'DMsans-Light';
}
/* gets rid of arrows on number input */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}

select {
    width: 100%;
    /* padding: 14px 48px 14px 56px; */
    padding:11px;
    font-size: 13px; 
    color:var(--bodytext-color);
    background:var(--background-color);
    border: 1px solid rgb(208, 207, 207, 0.5);
    border-radius: 5px;
    border:none;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
    appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

select:hover {
    border-color: #9ca3af;
}

select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.phonenum {
    border: 1px solid rgb(208, 207, 207, 0.5);
    border-radius: 5px;
    height:40px;
    margin-bottom:5px;
}

.phonenum-field {
  border:none !important;
}

.custom-select-wrapper {
  width:35%;
  position: relative;
  padding-right:0%;
}

.tel_wrapper {
  width:65%;
}
/* Custom arrow */
.custom-select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color:var(--bodytext-color);
    pointer-events: none;
}

.footer {
  margin-top:10px;
  text-align:center;
  width:100%;
}

.footer p, .footer a {
  text-decoration:none;
  color:var(--secondary-color);
  font-size:14px;
  line-height:24px;
  padding:0;
  margin:0;
}

.footer a:hover {
  color:var(--secondary-color);
  border-bottom:1px solid var(--secondary-color);
}

.fade-in {
	opacity: 1;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 0.5s;
}

@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* Smartphones (portrait and landscape) ----------- */
@media screen 
and (min-width: 320px) 
and (max-width: 600px) 
{

  .widget {
  max-width:calc(100% - 40px);
  /* height:400px; */
  margin-left:0;
  padding:20px;

}


}