/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */


@font-face {
  font-family: 'sr-Montserrat-Light';
  src: url('../fonts/Montserrat-Light.woff2') format('woff2'),
    url('../fonts/Montserrat-Light.woff') format('woff'),
    url('../fonts/Montserrat-Light.otf') format('opentype'),
    url('../fonts/Montserrat-Light.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'sr-JosefinSans-SemiBold';
  src: url('../fonts/JosefinSans-SemiBold.woff2') format('woff2'),
    url('../fonts/JosefinSans-SemiBold.woff') format('woff'),
    url('../fonts/JosefinSans-SemiBold.otf') format('opentype'),
    url('../fonts/JosefinSans-SemiBold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

/* Container */
.reservation-container {
  position: fixed;
  top: 90px;
  right: -345px;
  z-index: 98;
  width: 340px;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px 0px 0 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  margin: 50px auto;
  min-height: 340px;
  height: 345px;
  transition: right 0.3s ease; /* Smooth transition */
}

.reservation-container .toggle-reservation {
  position: relative;
  right: 158px;
  transform: rotate(270deg);
  top: -167px;
  padding: 10px 20px;
  background-color: #042e62;
  color: #fff;
  width: 225px;
  cursor: pointer;
  font-family: 'sr-Montserrat-Light';
  display: flex;
  align-items: center;
  text-transform: uppercase;
  border: 2px solid #fff;
  justify-content: center;
  border-bottom: 0;
}

.reservation-container .toggle-reservation span{
  font-family: 'JosefinSans-SemiBold';
  letter-spacing: 1px;  
}


.reservation-container .toggle-reservation span.arrow {
  margin-left: 5px;
  margin-top: 0px;
}

.reservation-container.open {
  border: 2px solid #fff;
  right: 0px;
  /* transition: right 300ms ease; //Animate 'right' property */
}

select#ReseverTime{
  padding-left: 40px;
  background: transparent url('../images/sr-clock.png') no-repeat left 0px center;
}
select#partySize{
  padding-left: 40px;
  background: transparent url('../images/sr-user-alt.png') no-repeat left 0px center;
}


.reservation-container.open .toggle-reservation span.arrow {
  margin-left: 5px;
  margin-top: -5px;
}

.reservation-container.open .toggle-reservation span.arrow img {
  transform: rotate(90deg);
  width: 20px;
  height: 20px;
}

.reservation-container .toggle-reservation span.arrow img {
  transform: rotate(270deg);
  width: 20px;
  height: 20px;
}

/* Title */
.reservation-container .reservation-title {
  font-family: 'sr-JosefinSans-SemiBold';
  font-size: 24px;
  color: #2e3a59;
  margin-bottom: 10px;
  margin-top: 0px;
}

/* Field Container */
.reservation-container .reservation-field {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #beb7b7;
  background: transparent url('../images/sr-arrow-down.png') no-repeat right 10px center;
}

.reservation-container input[type="text"] {
  border: none;
  font-family: 'sr-Montserrat-Light';
  font-size: 16px;
  color: #333;
}


.ui-datepicker .ui-datepicker-title span.ui-datepicker-month {
  text-transform: uppercase;
}

/* Icon */
.reservation-container .reservation-icon {
  font-size: 18px;
  margin-right: 10px;
  color: #2e3a59;
}

/* Select Dropdown */
.reservation-container .reservation-select {
  width: 100%;
  background: transparent;
  border: none;
  font-size: 16px;
  color: #333;
  outline: none;
  appearance: none;
  cursor: pointer;
  font-family: 'sr-Montserrat-Light';
  text-transform: uppercase;
}

/* Button */
.reservation-container .reservation-button {
  width: 100%;
  padding: 10px;
  font-family: 'sr-JosefinSans-SemiBold';
  font-size: 18px;
  background-color: #2e3a59;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  /* transition: background-color 0.3s; */
  text-transform: uppercase;
}

.reservation-container .reservation-button:hover {
  background-color: #1d2848;
}


/* First background layer */
.layer-one {
  background-color: #f0f0f0; /* Change to your preferred color */
  border: 5px solid #333; /* Border for the layer */
  border-radius: 0 0 50% 50%; /* Curved bottom */
  padding: 50px; /* Adjust padding as needed */
  margin-bottom: 20px; /* Space between layers */
}

/* Second background layer */
.layer-two {
  background-color: #b0d8f3; /* Change to your preferred color */
  border: 5px solid #333; /* Border for the layer */
  border-radius: 0 0 50% 50%; /* Curved bottom */
  padding: 50px; /* Adjust padding as needed */
  margin-bottom: 20px; /* Space between layers */
}

/* Third background layer */
.layer-three {
  background-color: #f0f0f0; /* Change to your preferred color */
  border: 5px solid #333; /* Border for the layer */
  border-radius: 0 0 50% 50%; /* Curved bottom */
  padding: 50px; /* Adjust padding as needed */
}

/*
  @media (min-width:320px)  // smartphones, iPhone, portrait 480x320 phones 
  @media (min-width:481px)  // portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. 
  @media (min-width:641px)  // portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones 
  @media (min-width:961px)  // tablet, landscape iPad, lo-res laptops ands desktops 
  @media (min-width:1025px) // big landscape tablets, laptops, and desktops 
  @media (min-width:1281px) // hi-res laptops and desktops 
*/

@media only screen and (max-width: 480px) {}

@media screen and (max-width: 479px) {}

@media screen and (max-width: 767px) {

  .reservation-container {
    /* bottom: -384px; */
    top: inherit;
    margin: 0;
    width: 100%;
    border-radius: 0;
    left: 0;
    right: 0;
    transition: bottom 0.3s ease; /* Smooth transition */
  }
  .reservation-container.open {
    /* bottom: -360px !important; */
    bottom: 0px !important;
  }
  .reservation-container.closed {
    bottom: -360px !important;    
  }

  .reservation-container.open .toggle-reservation {
    top: inherit;
    bottom: auto;
    left: 0;
    position: fixed;
    right: inherit;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .reservation-container .toggle-reservation {
    /* right: auto;
    width: 100%;
    left: 0;
    transform: none;
    top: -360px;
    justify-content: center; */
    top: inherit;
    bottom: 0;
    left: 0;
    position: fixed;
    right: inherit;
    width: 100%;
    text-align: center;
    justify-content: center;
    transform: rotate(360deg);
  }
  .reservation-container.closed .toggle-reservation{
    bottom: 0px !important;    
  }
  .reservation-container.open .toggle-reservation span.arrow img {
    transform: rotate(90deg);
    width: 20px;
    height: 20px;
  }

}