/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 /*
@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@200..800&display=swap');
*/
form#loyalty_form {
  padding: 20px 40px 60px;
  background: #edf5f3;
}

form#loyalty_form * {
  color: #000;
  font-family: 'Assistant', sans-serif;
}

form#loyalty_form h2 {
  font-size: 30px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 40px;
}

form#loyalty_form input:focus-visible,
form#loyalty_form select:focus-visible,
form#loyalty_form button:focus-visible,
form#loyalty_form textarea:focus-visible {
  outline: 2px solid #b5975a !important;
}

form#loyalty_form .loyalty-container input,
form#loyalty_form .loyalty-container select {
  height: 43px;
}

.loyalty-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
}

.loyalty-container label {
  max-width: 48%;
  width: 100%;
  font-weight: 400;
}

.loyalty_terms_wrap {
  margin-bottom: 40px;
}

.loyalty-element-checkbox {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-weight: 400;
}

.loyalty-element-checkbox p {
  margin: 0;
}

.loyalty-required {
  color: red !important;
}

html[dir="rtl"] input#loyalty_birthday {
  text-align: right;
}

.loyalty_submit_message {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 50px 50px;
}

button.loyalty_submit_message_close {
  background: #b5975a !important;
  color: #fff !important;
  border: none !important;
}

button.loyalty_submit_message_close:hover,
button.loyalty_submit_message_close:focus {
  background: #000 !important;
  color: #fff !important;
  border: none !important;
}

#loyalty_submit {
  background: #b5975a;
  color: #fff !important;
  border: 1px solid #b5975a;
  padding: 10px 25px;
  font-weight: 400;
}

#loyalty_submit:hover {
  background: #000;
  color: #fff !important;
  border: 1px solid #000;
}

.loyalty_link {
  color: #036A88 !important;
}

.loyalty_link:hover {
  text-decoration: underline;
}

#loyalty_popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  z-index: 1000;
  padding: 50px;
  width: 100%;
  max-width: 90vw;
  max-height: 95vh;
  overflow: auto;
}

html[dir='ltr'] #loyalty_popup {
  left: unset;
  right: 50%;
}

#loyalty_popup button {
  border: none;
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
}

html[dir='ltr'] #loyalty_popup button {
  right: unset;
  left: 15px;
}

#loyalty_popup h1,
#loyalty_popup h2,
#loyalty_popup h3,
#loyalty_popup h4,
#loyalty_popup h5,
#loyalty_popup h6 {
  color: #000;
}

#loyalty_popup h2 {
  text-align: center;
}

#loyalty_popup,
#loyalty_popup div,
#loyalty_popup p {
  color: #000;
}

#loyalty_popup button:hover {
  color: #000;
  border: none;
  background: none;
}

.ui-datepicker-title {
  display: flex;
  gap: 2%;
}

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
  width: 48% !important;
  height: auto;
  padding: 5px;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
  margin-top: 5px;
}



form#loyalty_form .loyalty_err_handler,form#loyalty_form .loyalty_err_handler_general{
  color:red;  
}
.loyalty-element-checkbox {
  flex-wrap: wrap; margin-bottom: 10px;
}
.loyalty-element-checkbox input{
  flex: 0;
}
.loyalty-element-checkbox .loyalty_err_handler{
  flex: 0 0 100%;
}
.loyalty-element-checkbox p{
  flex: 0 0 calc(100% - 30px);
}

.loyalty-container{
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
  grid-template-columns: 1fr 1fr;
}
.loyalty-container label{max-width: 100%; width: 100%;}
.loyalty-container label p{margin:0 0 10px;}
form#loyalty_form .loyalty-container input, form#loyalty_form .loyalty-container select{
  width:100%;
}


@media screen and (max-width: 850px) {
  .loyalty-container label {        display: block;
    max-width: 100%; margin-bottom: 20px;
    width: 100%;
  }
  .loyalty-container label p {
      margin: 0 0 5px;
  }
  .loyalty-container{display: block;}
  #loyalty_submit{
    width:100%; height: 50px;
  }
}