*::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 10px;
  background: #F1F1F1;
}

*::-webkit-scrollbar-thumb {
  background-color: #5B5B5B;
  border-radius: 20px;
  border: 2px solid #FFFFFF;
}

*::-webkit-scrollbar-track {
  border-radius: 20px;
  background-color: #F1F1F1;
  width: 20px;
}

.ui-widget-content::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 6px;
  background: #f1f1f1;
}

.ui-widget-content::-webkit-scrollbar-thumb {
  background-color: #5b5b5b;
  border-radius: 16px;
  border: none !important;
}

.ui-widget-content::-webkit-scrollbar-track {
  border-radius: 16px;
  background-color: #f1f1f1;
  width: 6px;
}

.ui-widget-content::-webkit-scrollbar-thumb:hover {
  background-color: #000;
}

.tb-component-conatctform-container {
  max-width: 600px;
  width: 100%;
  margin: auto;
}

.tb-component-conatctform-container .field-validation-error {
  font-size: 12px;
  line-height: 24px;
  color: #DA4040;
  width: 100%;
  display: block;
}

.tb-component-conatctform-container [id*="captchaError"] {
  text-align: center;
}

.tb-fhide {
  display: none !important;
}

.tb-fshow {
  display: block !important;
}

.select-selected.input-validation-error {
  border-bottom: 2px solid #DA4040 !important;
}

.tb-contact-form-elem .tb-custom-select .select-items {
  top: 102px !important;
}

.tb-contact-form-elem .tb-contact-form-checkbox {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
}

.tb-contact-form-elem .tb-contact-form-checkbox input {
  width: 13px;
  height: 13px;
}

.disable-cursor {
  cursor: not-allowed !important;
  opacity: 40%;
  pointer-events: none;
}

.disable-click:active {
  pointer-events: none;
}

.sitecore-form form {
  padding: 16px 8px;
}

.sitecore-form form > .component-content {
  padding: 0 !important;
}

.sitecore-form form {
  /* The container */
  /* Create a custom radio button */
  /* Create the indicator (the dot/circle - hidden when not checked) */
  /* Show the indicator (dot/circle) when checked */
  /* Style the indicator (dot/circle) */
  /* Create a custom checkbox */
  /* Show the checkmark when checked */
  /* Style the checkmark/indicator */
  /* Style the checkmark/indicator */
}

.sitecore-form form input[type="text"],
.sitecore-form form input[type="email"],
.sitecore-form form input[type="password"] {
  width: 100%;
  background: #F1F1F1 !important;
  border: none !important;
  height: 48px !important;
  font-size: 16px !important;
  line-height: 32px !important;
  padding: 16px 8px !important;
  box-shadow: none !important;
}

.sitecore-form form input[type="text"]:active, .sitecore-form form input[type="text"]:focus,
.sitecore-form form input[type="email"]:active,
.sitecore-form form input[type="email"]:focus,
.sitecore-form form input[type="password"]:active,
.sitecore-form form input[type="password"]:focus {
  border-bottom: 2px solid #393939 !important;
}

.sitecore-form form input[type="text"].input-validation-error {
  border-bottom: 2px solid #DA4040 !important;
}

.sitecore-form form input[type="password"].input-validation-error {
  border-bottom: 2px solid #DA4040 !important;
}

.sitecore-form form input[type="email"].input-validation-error {
  border-bottom: 2px solid #DA4040 !important;
}

.sitecore-form form textarea[data-sc-field-name="Message"].input-validation-error {
  border-bottom: 2px solid #DA4040 !important;
}

.sitecore-form form .tb-radio-container {
  display: inline-block;
  position: relative;
  padding-left: 25px;
  padding-right: 8px;
  margin: 0px !important;
  cursor: pointer;
  font-size: 16px !important;
  line-height: 32px !important;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.sitecore-form form .tb-radio-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.sitecore-form form .tb-radio-checkmark {
  position: absolute;
  top: 5px;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #F1F1F1;
  border: 1px solid #BFBFBF;
  box-sizing: border-box;
  border-radius: 50%;
}

.sitecore-form form .tb-radio-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.sitecore-form form .tb-radio-container input:checked ~ .tb-radio-checkmark:after {
  display: block;
}

.sitecore-form form .tb-radio-container .tb-radio-checkmark:after {
  top: 6px;
  left: 6px;
  width: 6.7px;
  height: 6.7px;
  border-radius: 50%;
  background: #393939;
}

.sitecore-form form .tb-label-radio,
.sitecore-form form .tb-label-checkbox {
  display: block;
}

.sitecore-form form .tb-checkbox-container {
  display: inline-block;
  position: relative;
  padding-left: 25px;
  padding-right: 8px;
  margin: 0px !important;
  cursor: pointer;
  font-size: 16px !important;
  line-height: 32px !important;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.sitecore-form form .tb-checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.sitecore-form form .tb-checkbox-checkmark {
  position: absolute;
  top: 5px;
  left: 0;
  height: 20px;
  width: 20px;
  background: #F1F1F1;
  border: 1px solid #BFBFBF;
  box-sizing: border-box;
}

.sitecore-form form .tb-checkbox-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.sitecore-form form label.tb-custom-multiselect-container {
  width: 100%;
  height: 47px;
  margin: 0 !important;
  padding: 12px;
  background: #f1f1f1;
}

.sitecore-form form label.tb-custom-multiselect-container.active-multiselect {
  background: #dddddd !important;
  color: #998242 !important;
}

.sitecore-form form label.tb-custom-multiselect-container input {
  display: none;
}

.sitecore-form form label.tb-custom-multiselect-container {
  width: 100%;
  display: block;
  display: inline-block;
  position: relative;
  padding: 8px 16px;
  margin: 0px !important;
  background: #F1F1F1;
  border-bottom: 1px solid #DDDDDD;
  cursor: pointer;
  font-size: 16px !important;
  line-height: 32px !important;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.sitecore-form form label.tb-custom-multiselect-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.sitecore-form form label.tb-custom-multiselect-container.active-multiselect .tb-custom-multiselect-checkmark:after {
  position: absolute;
  content: "";
  right: 12px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  background-image: url("../images/svg_icons/checked-tick.svg");
  background-size: 12px;
  height: 16px;
  width: 18px;
  /* position: relative; */
  top: 12px;
  /* vertical-align: baseline; */
  background-repeat: no-repeat;
}

.sitecore-form form .tb-checkbox-container input:checked ~ .tb-checkbox-checkmark:after {
  display: block;
}

.sitecore-form form .tb-custom-multiselect-container
input:checked
~ .tb-custom-multiselect-checkmark:after {
  display: block;
}

.sitecore-form form .tb-checkbox-container .tb-checkbox-checkmark:after {
  left: 6px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #393939;
  border-width: 0 1px 1px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.sitecore-form form .tb-custom-multiselect-container .tb-custom-multiselect-checkmark:after {
  width: 5px;
  height: 10px;
  border: solid #393939;
  border-width: 0 1px 1px 0;
}

.sitecore-form form .tb-contact-form-button-primary {
  margin: 0px 12px;
  background: #998242 !important;
  border: 1px solid #998242 !important;
  color: #FFFFFF !important;
  padding: 8px 24px !important;
  font-size: 16px !important;
  line-height: 32px !important;
  font-weight: 500;
  border-radius: unset !important;
  height: auto !important;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.sitecore-form form .tb-contact-form-button-primary:hover {
  background: #393939 !important;
  border: 1px solid #393939 !important;
  color: #FFFFFF !important;
  cursor: pointer;
}

.sitecore-form form .tb-contact-form-button-secondary {
  background: #FFFFFF !important;
  color: #998242 !important;
  border: 1px solid #998242 !important;
  padding: 8px 24px !important;
  font-size: 16px;
  line-height: 32px;
  border-radius: unset !important;
  font-weight: 500;
  letter-spacing: 0.5px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.sitecore-form form .tb-contact-form-button-secondary:hover {
  border: 1px solid #393939 !important;
  cursor: pointer;
  background: #FFFFFF !important;
  color: #393939 !important;
}

.sitecore-form form label {
  margin-top: 24px;
  font-size: 12px;
  line-height: 24px;
  font-weight: 500;
  color: #393939;
  font: normal !important;
}

.sitecore-form form select {
  width: 100%;
  background: #F1F1F1 !important;
  border: none !important;
  height: 48px !important;
  font-size: 16px !important;
  line-height: 32px !important;
  padding: 16px 8px !important;
}

.sitecore-form form dropdown {
  height: 10px;
}

.sitecore-form form textarea {
  border: none;
  margin-top: 0px !important;
  background: #F1F1F1;
  box-shadow: none;
  font-family: inherit;
  border-radius: unset !important;
  resize: vertical;
  min-height: 132px;
  padding: 0 16px !important;
  -webkit-appearance: none;
}

.sitecore-form form textarea:focus, .sitecore-form form textarea:active {
  border-bottom: 2px solid #393939;
}

.tb-contact-form-elem {
  padding: 12px 0px;
}

.tb-contact-form-elem .tb-contact-form-label {
  font-size: 12px;
  line-height: 24px;
  font-weight: 500;
  color: #393939;
}

.tb-contact-form-elem .tb-contact-form-input {
  width: 100%;
  background: #F1F1F1;
  border: none;
  height: 48px;
  font-size: 16px;
  line-height: 32px;
  padding: 16px 8px;
  box-shadow: none !important;
}

.tb-contact-form-elem .tb-contact-form-input:active, .tb-contact-form-elem .tb-contact-form-input:focus {
  border-bottom: 2px solid #393939;
}

.tb-hide-div {
  display: none !important;
}

.tb-custom-select {
  position: relative;
}

.tb-custom-select .field-validation-error {
  position: absolute;
  left: 0px;
  bottom: -24px;
}

.tb-custom-select select {
  display: none !important;
  /*hide original SELECT element:*/
}

.tb-custom-select .select-selected {
  background-color: #F1F1F1;
  color: #393939;
  height: 48px;
  padding: 8px 16px;
  font-size: 16px;
  line-height: 32px;
  border: 1px solid transparent;
  border-color: transparent transparent #F1F1F1 transparent;
  cursor: pointer;
  position: relative;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tb-custom-select .select-selected:after {
  position: absolute;
  content: "";
  right: 12px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  background-image: url("../images/down-arrow.svg");
  background-size: 12px;
  height: 16px;
  width: 18px;
  /* position: relative; */
  top: 16px;
  /* vertical-align: baseline; */
  background-repeat: no-repeat;
}

.tb-custom-select .select-selected.select-arrow-active {
  border-bottom: 2px solid #393939;
}

.tb-custom-select .select-selected.select-arrow-active:after {
  background-image: url("../images/up-arrow.svg");
  background-repeat: no-repeat;
}

.tb-custom-select .select-items {
  position: absolute;
  background-color: #FFFFFF;
  top: 48px;
  right: 0;
  left: 0px;
  z-index: 99;
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.2);
  max-height: 343px;
  overflow-y: auto;
}

.tb-custom-select .select-items div div div {
  color: #393939;
  min-height: 48px;
  padding: 8px 16px;
  overflow-wrap: break-word;
  font-size: 16px;
  line-height: 32px;
  border: 1px solid transparent;
  border-color: transparent transparent #F1F1F1 transparent;
  cursor: pointer;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border-bottom: 1px solid #DDDDDD;
  height: auto;
}

.tb-custom-select .select-items div div div:hover {
  background-color: #F1F1F1;
  color: #998242;
}

.tb-custom-select .select-items .same-as-selected {
  background-color: #F1F1F1;
  color: #998242 !important;
}

.tb-contact-form-textarea {
  border: transparent;
  width: 100%;
  min-height: 184px;
  background-color: #F1F1F1;
  border-radius: 2px;
  font-size: 16px;
  line-height: 32px;
  color: #393939;
  padding: 16px;
}

.tb-contact-form-textarea::-webkit-input-placeholder {
  font-size: 16px;
  line-height: 32px;
  color: #393939;
}

.tb-contact-form-textarea:-ms-input-placeholder {
  font-size: 16px;
  line-height: 32px;
  color: #393939;
}

.tb-contact-form-textarea::placeholder {
  font-size: 16px;
  line-height: 32px;
  color: #393939;
}

.tb-contact-form-textarea::-webkit-input-placeholder {
  font-size: 16px;
  line-height: 32px;
  color: #393939;
}

.tb-contact-form-textarea::-moz-placeholder {
  font-size: 16px;
  line-height: 32px;
  color: #393939;
}

.tb-contact-form-textarea:-moz-placeholder {
  font-size: 16px;
  line-height: 32px;
  color: #393939;
}

.tb-contact-form-textarea:-ms-input-placeholder {
  font-size: 16px;
  line-height: 32px;
  color: #393939;
}

.tb-select-hide {
  display: none;
}

.tb-textarea-wrapper {
  position: relative;
}

.tb-textarea-wrapper ::-webkit-resizer {
  background-color: transparent;
}

.tb-textarea-wrapper .tb-contactForm-teatxare-wrapper::after {
  pointer-events: none;
  content: "";
  font-size: 14px;
  position: relative;
  float: right;
  height: 18px;
  width: 18px;
  text-align: center;
  bottom: 22px !important;
  right: 0px;
  border-bottom: none !important;
  z-index: 2;
  background-size: 12px;
  background-color: transparent;
  background-repeat: no-repeat;
  display: block;
  overflow: hidden;
  background-image: url("data:image/svg+xml;utf8,%3Csvg%20width%3D%276%27%20height%3D%276%27%20viewBox%3D%270%200%206%206%27%20fill%3D%27none%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3Cpath%20d%3D%27M6%201C6%200.723858%205.77614%200.5%205.5%200.5C5.22386%200.5%205%200.723858%205%201H6ZM1%205C0.723858%205%200.5%205.22386%200.5%205.5C0.5%205.77614%200.723858%206%201%206V5ZM5%201V5H6V1H5ZM5%205H1V6H5V5ZM5%205V6C5.55228%206%206%205.55228%206%205H5Z%27%20fill%3D%27%235B5B5B%27%2F%3E%3C%2Fsvg%3E");
}

@supports (-ms-ime-align: auto) {
  .tb-textarea-wrapper .tb-contactForm-teatxare-wrapper::after {
    bottom: 17px !important;
    background: transparent;
  }
}

.activeBorder:after {
  border-bottom: 2px solid #393939;
}

.tb-custom-multiselect {
  max-height: 184px !important;
  overflow: auto !important;
}

.tb-custom-multiselect label {
  padding-right: 6px;
  margin-left: 5px;
}

.sitecore-form .tb-custom-multiselect label input[type="checkbox"] {
  position: relative;
  right: 3px;
  top: 2px;
}

.tb-contact-form-button-wrapper {
  text-align: center;
  margin-top: 24px;
}

@media only screen and (max-width: 1024px) {
  .tb-contact-form-button-wrapper {
    margin-top: 24px !important;
  }
}

.active-select {
  background: #DDDDDD !important;
  color: #998242 !important;
}

.tb-custom-select-checkbox label {
  margin: 0px !important;
}

.tb-custom-select-checkbox label:first-child {
  margin-top: 24px !important;
}

.tb-custom-checkbox {
  position: relative;
  margin-top: 24px;
}

.tb-custom-checkbox label {
  margin-top: 0px;
}

.tb-custom-checkbox .tb-contact-form-checkbox-label {
  display: block !important;
  margin-top: 24px !important;
  width: 100% !important;
}

.tb-custom-checkbox .field-validation-error {
  position: absolute;
  bottom: 0px;
  left: 0px;
}

.tb-custom-checkbox [id*="captchaError"] {
  text-align: center;
}

.tb-custom-checkbox label {
  margin-top: 0px;
}

.tb-custom-checkbox .tb-contact-form-checkbox-label {
  display: block !important;
  margin-top: 24px !important;
  width: 100% !important;
}

.tb-custom-radio label {
  margin-top: 0px;
}

.tb-custom-radio .tb-contact-form-radio-label {
  display: block !important;
  margin-top: 24px !important;
  width: 100% !important;
}

.active-multiselect {
  background: #DDDDDD !important;
  color: #998242 !important;
}

.g-recaptcha {
  margin-top: 24px !important;
}

.g-recaptcha div {
  margin: auto !important;
}

.tb-contact-form-submit-subheader {
  text-align: center;
}

.tb-select-disabled {
  pointer-events: none !important;
}

/*
Stles for scrollbar
*/
.select-items .mCSB_scrollTools {
  width: 10px !important;
}

.select-items .mCSB_15_scrollbar {
  display: block !important;
  height: 100% !important;
  widows: 10px !important;
}

.select-items .mCSB_draggerContainer {
  height: 100% !important;
  padding: 0 !important;
  width: 12px !important;
}

.select-items .mCSB_dragger {
  padding: 0 !important;
}

.select-items .mCSB_dragger_bar {
  line-height: 30px !important;
  width: 10px !important;
  padding: 0 !important;
  width: 6px !important;
}

.select-items .mCSB_draggerRail {
  width: 12px !important;
  padding: 0 !important;
  height: 100% !important;
  width: 4px !important;
}

.select-items .mCSB_container {
  margin-right: 0px;
}

.contact-form-page-tb {
  font-size: 16px;
  line-height: 32px;
  text-align: center;
  color: #393939;
}

.tb-contact-form-subfooter {
  padding-top: 16px;
  font-style: normal;
  font-weight: 500 !important;
  color: #393939;
  font-size: 12px !important;
  line-height: 24px !important;
  margin-top: 16px;
}

.tb-contact-form-subfooter .tb-contact-link {
  color: #998242;
  white-space: normal;
  cursor: pointer;
  padding-top: 10px;
}

.tb-contact-form-subfooter .tb-contact-link:hover {
  color: #998242;
  text-decoration: underline;
}

.sitecore-form .tb-contact-form-header {
  font-weight: 900;
  font-size: 48px;
  line-height: 48px;
  color: #393939;
  text-align: center;
  margin-bottom: 32px;
}

.sitecore-form .tb-contact-form-subheader {
  font-weight: normal;
  font-size: 16px;
  line-height: 32px;
  color: #393939;
  margin-bottom: 0px;
}

.tb-contact-form-success {
  position: relative;
  height: 350px;
  width: 100%;
  text-align: center;
}

.tb-contact-form-success .tb-form-success-content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.tb-contact-form-success .tb-form-success-content .tb-shead {
  font-size: 48px;
  padding-bottom: 16px;
  line-height: 48px;
  color: #393939;
  font-weight: 900;
}

.tb-contact-form-success .tb-form-success-content .tb-success-text {
  font-size: 20px;
  line-height: 28px;
}

@media only screen and (max-width: 1024px) {
  .sitecore-form {
    padding: 12px 8px;
  }
  .sitecore-form > .component-content {
    padding: 0 !important;
  }
  .sitecore-form .tb-contact-form-header {
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    color: #393939;
    text-align: center;
    margin-bottom: 24px;
  }
  .sitecore-form .tb-contact-form-subheader {
    font-weight: normal;
    font-size: 16px;
    line-height: 32px;
    color: #393939;
    margin-bottom: 0px;
  }
  .tb-contact-form-success {
    height: 200px;
  }
  .tb-contact-form-success .tb-form-success-content .tb-shead {
    font-size: 28px !important;
    line-height: 28px !important;
  }
  .tb-contact-form-success .tb-form-success-content .tb-success-text {
    font-size: 16px !important;
    line-height: 20px !important;
  }
}

@media only screen and (max-width: 767px) {
  .sitecore-form {
    padding: 8px 8px;
  }
  .sitecore-form .ui-autocomplete,
  .sitecore-form .ui-widget-content {
    z-index: 9999 !important;
  }
  .tb-contact-form-success .tb-form-success-content .tb-shead {
    line-height: 24px !important;
  }
  .tb-contact-form-success .tb-form-success-content .tb-success-text {
    line-height: 20px !important;
  }
}

.tb-customised-select,
.tb-custom-combobox {
  background-color: #f1f1f1;
  color: #393939;
  height: 48px;
  padding: 8px 16px;
  font-size: 16px;
  line-height: 32px;
  text-align: left !important;
  border: 1px solid transparent;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-left-color: transparent;
  border-color: transparent transparent #f1f1f1 transparent;
  border-bottom-color: #f1f1f1;
  position: relative;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  min-width: 176px;
}

.tb-customised-select.select-arrow-active input,
.tb-custom-combobox.select-arrow-active input {
  border-bottom: 2px solid #393939;
}

.tb-customised-select:after,
.tb-custom-combobox:after {
  position: absolute;
  content: "";
  right: 12px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  background-image: url("../images/down-arrow.svg");
  background-size: 12px;
  height: 16px;
  width: 18px;
  top: 16px;
  background-repeat: no-repeat;
}

.tb-customised-select.select-arrow-active:after,
.tb-custom-combobox.select-arrow-active:after {
  background-image: url("../images/up-arrow.svg");
  background-repeat: no-repeat;
}

.tb-customised-select .select-items,
.tb-custom-combobox .select-items {
  position: absolute;
  background-color: #ffffff;
  top: 48px;
  right: 0;
  left: 0;
  text-align: left !important;
  z-index: 98;
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.2);
  max-height: 343px;
  overflow-y: auto;
}

.tb-customised-select .select-items div div div,
.tb-custom-combobox .select-items div div div {
  color: #393939;
  min-height: 48px;
  padding: 8px 16px;
  font-size: 16px;
  line-height: 32px;
  border: 1px solid transparent;
  border-color: transparent transparent #F1F1F1 transparent;
  cursor: pointer;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border-bottom: 1px solid #DDDDDD;
  height: auto;
}

.tb-customised-select .select-items div div div:hover,
.tb-custom-combobox .select-items div div div:hover {
  background-color: #F1F1F1;
  color: #998242;
}

.tb-customised-select .tb-select-hide,
.tb-custom-combobox .tb-select-hide {
  display: none !important;
}

.tb-customised-select,
.tb-custom-combobox {
  background-color: #f1f1f1;
  color: #393939;
  height: 48px;
  padding: 8px 16px;
  font-size: 16px;
  line-height: 32px;
  border: 1px solid transparent;
  border-color: transparent transparent #f1f1f1 transparent;
  cursor: pointer;
  position: relative;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.tb-customised-select:after,
.tb-custom-combobox:after {
  position: absolute;
  content: "";
  right: 12px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  background-image: url("../images/down-arrow.svg");
  background-size: 12px;
  height: 16px;
  width: 18px;
  /* position: relative; */
  top: 16px;
  /* vertical-align: baseline; */
  background-repeat: no-repeat;
}

.tb-customised-select span,
.tb-custom-combobox span {
  overflow: hidden;
  width: 90%;
  white-space: nowrap;
  display: block;
  text-overflow: ellipsis;
}

.facet-dropdown.is-disabled .tb-customised-select {
  pointer-events: none;
  opacity: 0.6;
}

.select-items {
  position: absolute;
  background-color: white;
  top: 48px;
  left: 0px;
  right: 0px;
  z-index: 99;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 16px;
  max-height: 300px;
  overflow-y: auto;
  margin-right: 0px;
}

.select-items .s-items {
  color: #393939;
  min-height: 48px;
  padding: 8px 16px;
  font-size: 16px;
  line-height: 32px;
  border: 1px solid transparent;
  border-color: transparent transparent #f1f1f1 transparent;
  cursor: pointer;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border-bottom: 1px solid #dddddd;
  height: auto;
}

.select-items .s-items:hover {
  background-color: #F1F1F1;
  color: #998242;
}

.tb-custom-combobox {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 0 !important;
  background: transparent;
  line-height: 28px;
  width: 100%;
  min-width: auto;
}

.tb-custom-combobox .tb-custom-combobox-input {
  width: 100%;
  background: #F1F1F1 !important;
  border: none !important;
  height: 48px !important;
  font-size: 16px !important;
  line-height: 32px !important;
  padding: 16px 32px 16px 8px !important;
  text-overflow: ellipsis !important;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  box-shadow: none !important;
  cursor: pointer;
}

.tb-custom-combobox .tb-custom-combobox-input:active, .tb-custom-combobox .tb-custom-combobox-input:focus {
  border-bottom: 2px solid #393939 !important;
}

.ui-autocomplete .ui-state-highlight,
.ui-autocomplete .ui-widget-content .ui-state-highlight,
.ui-autocomplete .ui-widget-header .ui-state-highlight {
  border: none !important;
  background: transparent !important;
  color: #998242 !important;
}

.ui-autocomplete,
.ui-widget-content {
  position: absolute;
  display: none;
  background: white;
  left: 0px;
  right: 0px;
  z-index: 99;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 16px;
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  margin-right: 0px;
}

.ui-autocomplete .ui-menu-item div,
.ui-widget-content .ui-menu-item div {
  color: #393939;
  min-height: 48px;
  padding: 8px 16px;
  font-size: 16px;
  line-height: 32px;
  border: 1px solid transparent;
  border-color: transparent transparent #F1F1F1 transparent;
  cursor: pointer;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border-bottom: 1px solid #DDDDDD;
  height: auto;
}

.ui-autocomplete .ui-menu-item div:hover,
.ui-widget-content .ui-menu-item div:hover {
  background-color: #F1F1F1;
  color: #998242;
}

.ui-autocomplete .ui-menu-item .ui-menu-item-wrapper.ui-state-active,
.ui-widget-content .ui-menu-item .ui-menu-item-wrapper.ui-state-active {
  background-color: #F1F1F1;
  color: #998242;
}

@media only screen and (max-width: 767px) {
  .sitecore-form .component-content .row {
    margin: 0;
  }
  .sitecore-form form {
    padding: 8px 8px !important;
  }
  .tb-contact-form-button-wrapper {
    margin-top: 16px;
  }
  .tb-custom-combobox {
    position: relative;
    display: inline-block;
  }
  .sitecore-form .tb-contact-form-header {
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    color: #393939;
    text-align: center;
    margin-bottom: 24px;
  }
  .sitecore-form form .tb-contact-form-button-primary {
    margin-top: 16px;
    background: #998242 !important;
    border: 1px solid #998242 !important;
    color: #FFFFFF !important;
    padding: 8px 24px !important;
    font-size: 16px !important;
    border-radius: unset !important;
    line-height: 32px !important;
    font-weight: 500;
    height: auto !important;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    margin-bottom: 16px !important;
  }
  .sitecore-form form .tb-contact-form-button-secondary {
    margin-bottom: 16px !important;
    border-radius: unset !important;
  }
}

@media only screen and (max-width: 570px) {
  .sitecore-form form .tb-contact-form-button-primary {
    margin: 0;
    border-radius: unset !important;
  }
  .sitecore-form .tb-contact-form-button-wrapper input {
    width: 100%;
  }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .tb-custom-combobox .tb-custom-combobox-input {
    padding: 8px 32px 8px 8px !important;
  }
}

.on-page-editor .react-widget,
.preview .react-widget {
  min-height: 350px;
  background: #ccc;
}

.tpc-contact-form .tb-contact-form-elem .tb-custom-select .select-items {
  top: 0 !important;
  position: relative;
}

.tpc-contact-form .tb-custom-select .select-items div div div:hover {
  background-color: #F1F1F1 !important;
  color: #998242;
}
