* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif !important;
}

.turf-form-section {
  width: 872px;
  height: auto;
  box-shadow: 0px 3px 33px #00000014;
  border: 3px solid #7070702b;
  border-radius: 23px;
  background-color: #fff;
  margin: 0 auto;
  padding: 30px 45px;
  margin-top: 50px;
  margin-bottom: 50px;
  position: relative;
}

h3,
h2 {
  font-family: "Montserrat", sans-serif !important;
}

label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}

.box {
  width: 100%;
  height: auto;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.flex {
  display: flex;
}

.flex-direction-column {
  flex-direction: column;
}

.gap-10 {
  gap: 10px;
}

.form {
  width: 50%;
  margin-bottom: 15px;
}

input {
  background-color: #f7f7f7;
  border-radius: 5px;
  border: 0;
  height: 45px;
  width: 100%;
  outline: none;
  padding: 0 15px;
}

input::placeholder {
  color: #a3a3a3;
  font-weight: 400;
}

.row {
  gap: 100px;
}

.slots {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
}

.slots li {
  width: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition-duration: 0.1s;
  position: relative;
  background-color: #4ed385;
}
.toggleable{
  display: flex;
  flex-direction: column;
}

.non-view-text {
  text-align: center;
  color: #ff0000;
  font-weight: 700;
  font-size: 8px;
  /* display: none; */
}
.non-view-text-active {
  display:none;
}

@media only screen and (min-width: 769px) {
  .slots li:hover:not(.disabled-slot) {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    transform: scale(1.1);
    background-color: #2e8bd4;
    color: #fff;
  }

  .non-view-text{
    font-size: 13px;
  }
}

.slots li.active {
  background-color: #2e8bd4;
  color: #fff;
}

.btn-book {
  margin: 0 auto;
  margin-top: 36px;
  background-color: #2e8bd4;
  color: #fff;
  border: 0;
  padding: 13px 20px;
  border-radius: 7px;
  cursor: pointer;
  position: relative;
  transition-duration: 0.1s;
  display: block;
}

.btn-book:hover {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  transform: scale(1.1);
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  outline: 0;
  box-shadow: none;
  border: 0 !important;
  background: #5c6664;
  background-image: none;
  flex: 1;
  padding: 0 0.5em;
  color: #fff;
  cursor: pointer;
  font-size: 1em;
  font-family: "Open Sans", sans-serif;
}

select::-ms-expand {
  display: none;
}

.select {
  position: relative;
  display: flex;
  width: 20em;
  height: 3em;
  line-height: 3;
  background: #5c6664;
  overflow: hidden;
  border-radius: 0.25em;
}

.select::after {
  content: "\25BC";
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 1em;
  background: #2b2e2e;
  cursor: pointer;
  pointer-events: none;
  transition: 0.25s all ease;
}

.select:hover::after {
  color: #23b499;
}

.dropdown {
  position: relative;
}

.down-arrow {
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
  height: 45px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.down-arrow img {
  width: 15px;
}

.dropdown .item-sec {
  position: absolute;
  top: 100%;
  width: 100%;
  z-index: 2;
}

.item-sec {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  display: none;
  padding: 0;
  margin: 0;
  background-color: #fff;
}

#inputField {
  pointer-events: none;
}

.item-sec li {
  padding: 10px;
  list-style: none;
}

.item-sec li:hover {
  cursor: pointer;
  background: #e9e9e9;
}

.active-dropdown .item-sec {
  display: block;
}

.active-dropdown .down-arrow img {
  transform: rotate(180deg);
  transition-duration: 0.7s;
}

.date-picker {
  position: relative;
}

.date-icon {
  position: absolute;
  right: 14px;
  top: 34px;
  cursor: pointer;
  width: 17px;
}

@media only screen and (max-width: 893px) {
  .turf-form-section {
    width: 90%;
    padding: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .row {
    flex-direction: column;
    gap: 0;
  }

  .form {
    margin-bottom: 10px;
    width: 100%;
  }

  input {
    height: 35px;
  }

  label {
    font-size: 12px;
  }

  .slots {
    gap: 13px;
  }

  .slots li {
    width: 18%;
    font-size: 9px;
    font-weight: 600;
    height: 25px;
  }

  .date-icon {
    top: 28px;
  }
}

p {
  margin-top: 15px;
}

@media only screen and (max-width: 893px) {
  .slots li {
    width: 17%;
    font-size: 7px;
    height: 25px;
  }


  p {
    font-size: 12px;
  }
}

@media only screen and (max-width: 445px) {
  .slots li {
    width: 30%;
  }
}


#snackbar {
  visibility: hidden;
  min-width: 250px;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 16px;
  position: fixed;
  z-index: 3;
  left: 50%;
  bottom: 60px;
  transform: translate(-50%, -50%);
  font-family: "Montserrat", sans-serif !important;
}

.show {
  visibility: visible !important;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 60px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 60px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    bottom: 60px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    bottom: 60px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}

.disabled-list {
  visibility: hidden;
}

.disabled-slot {
  color: rgb(100, 100, 100);
  background-color: #c9c9c9;
  opacity: .4;
  pointer-events: none;
}

.ability-slots {
  color: #fff;
  background-color: #4ed385;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0000002f;
  justify-content: center;
  align-items: center;
}

.pop-up {
  display: none;
  /* position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%); */
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 17px;
  padding: 36px 0;
  max-width: 380px;
  width: 90%;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  color: #00000038;
  font-size: 12px;
  -webkit-animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
  animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

.pop-up-msg-sec {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 80%;
}

.img-pop-up {
  margin-bottom: 10px;
}

.msg-up {
  font-weight: 700;
  color: #000000ab;
  font-size: 16px;
  margin-bottom: 3px;
}

.pop-up-btn-sec {
  width: 100%;
  align-items: center;
  justify-content: space-around;
}



.pop-up-btn-sec button {
  padding: 10px 35px;
  font-size: 11px;
  border-radius: 10px;
  font-family: "Montserrat", sans-serif !important;
  cursor: pointer;
  outline: none;
  border: none;
}

.btn-cancel {
  background: #F0F0F0;
  color: #89939E;
}

.btn-primary {
  background-color: #2e8bd4;
  color: #fff;
}

.overlay-active {
  display: flex;
}

.pop-up-active {
  display: flex;
}
@-webkit-keyframes scale-up-center {
  0% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes scale-up-center {
  0% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
.slot-price {
  font-size: 13px;
  font-weight: bold;
  color: grey;
}

.slot-view-sec{
  display: none;
}

.slot-view-sec-active{
  display: block;
}
