.ecm-row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  /* margin-right: -15px;
  margin-left: -15px; */
}

.ecm-col-1,
.ecm-col-2,
.ecm-col-3,
.ecm-col-4,
.ecm-col-5,
.ecm-col-6,
.ecm-col-7,
.ecm-col-8,
.ecm-col-9,
.ecm-col-10,
.ecm-col-11,
.ecm-col-12,
.ecm-col,
.ecm-col-auto,
.ecm-col-sm-1,
.ecm-col-sm-2,
.ecm-col-sm-3,
.ecm-col-sm-4,
.ecm-col-sm-5,
.ecm-col-sm-6,
.ecm-col-sm-7,
.ecm-col-sm-8,
.ecm-col-sm-9,
.ecm-col-sm-10,
.ecm-col-sm-11,
.ecm-col-sm-12,
.ecm-col-sm,
.ecm-col-sm-auto,
.ecm-col-md-1,
.ecm-col-md-2,
.ecm-col-md-3,
.ecm-col-md-4,
.ecm-col-md-5,
.ecm-col-md-6,
.ecm-col-md-7,
.ecm-col-md-8,
.ecm-col-md-9,
.ecm-col-md-10,
.ecm-col-md-11,
.ecm-col-md-12,
.ecm-col-md,
.ecm-col-md-auto,
.ecm-col-lg-1,
.ecm-col-lg-2,
.ecm-col-lg-3,
.ecm-col-lg-4,
.ecm-col-lg-5,
.ecm-col-lg-6,
.ecm-col-lg-7,
.ecm-col-lg-8,
.ecm-col-lg-9,
.ecm-col-lg-10,
.ecm-col-lg-11,
.ecm-col-lg-12,
.ecm-col-lg,
.ecm-col-lg-auto,
.ecm-col-xl-1,
.ecm-col-xl-2,
.ecm-col-xl-3,
.ecm-col-xl-4,
.ecm-col-xl-5,
.ecm-col-xl-6,
.ecm-col-xl-7,
.ecm-col-xl-8,
.ecm-col-xl-9,
.ecm-col-xl-10,
.ecm-col-xl-11,
.ecm-col-xl-12,
.ecm-col-xl,
.ecm-col-xl-auto {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.ecm-col {
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -ms-flex-positive: 1;
  flex-grow: 1;
  min-width: 0;
  max-width: 100%;
}


.ecm-col-2 {
  -ms-flex: 0 0 16.666667%;
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}

.ecm-col-3 {
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  max-width: 25%;
}

.ecm-col-4 {
  -ms-flex: 0 0 33.333333%;
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.ecm-col-5 {
  -ms-flex: 0 0 41.666667%;
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
}

.ecm-col-6 {
  -ms-flex: 0 0 50%;
  /* flex: 0 0 50%; */
  max-width: 50%;
}

.ecm-col-7 {
  -ms-flex: 0 0 58.333333%;
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
}

.ecm-col-8 {
  -ms-flex: 0 0 66.666667%;
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.ecm-col-9 {
  -ms-flex: 0 0 75%;
  flex: 0 0 75%;
  max-width: 75%;
}

.ecm-col-10 {
  -ms-flex: 0 0 83.333333%;
  flex: 0 0 83.333333%;
  max-width: 83.333333%;
}

.ecm-col-11 {
  -ms-flex: 0 0 91.666667%;
  flex: 0 0 91.666667%;
  max-width: 91.666667%;
}

.ecm-col-12 {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 576px) {
  .ecm-col-sm {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    min-width: 0;
    max-width: 100%;
  }

  .ecm-col-sm-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }

  .ecm-col-sm-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }

  .ecm-col-sm-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }

  .ecm-col-sm-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }

  .ecm-col-sm-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .ecm-col-sm-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }

  .ecm-col-sm-6 {
    -ms-flex: 0 0 50%;
    /* flex: 0 0 50%; */
    max-width: 50%;
  }

  .ecm-col-sm-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }

  .ecm-col-sm-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }

  .ecm-col-sm-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }

  .ecm-col-sm-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }

  .ecm-col-sm-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }

  .ecm-col-sm-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .ecm-col-md {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    min-width: 0;
    max-width: 100%;
  }

  .ecm-col-md-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }

  .ecm-col-md-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }

  .ecm-col-md-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }

  .ecm-col-md-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }

  .ecm-col-md-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .ecm-col-md-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }

  .ecm-col-md-6 {
    -ms-flex: 0 0 50%;
    /* flex: 0 0 50%; */
    max-width: 50%;
  }

  .ecm-col-md-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }

  .ecm-col-md-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }

  .ecm-col-md-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }

  .ecm-col-md-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }

  .ecm-col-md-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }

  .ecm-col-md-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 992px) {
  .ecm-col-lg {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    min-width: 0;
    max-width: 100%;
  }

  .ecm-col-lg-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }

  .ecm-col-lg-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }

  .ecm-col-lg-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }

  .ecm-col-lg-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }

  .ecm-col-lg-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .ecm-col-lg-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }

  .ecm-col-lg-6 {
    -ms-flex: 0 0 50%;
    /* flex: 0 0 50%; */
    max-width: 50%;
  }

  .ecm-col-lg-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }

  .ecm-col-lg-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }

  .ecm-col-lg-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }

  .ecm-col-lg-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }

  .ecm-col-lg-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }

  .ecm-col-lg-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 1200px) {
  .ecm-col-xl {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    min-width: 0;
    max-width: 100%;
  }

  .ecm-col-xl-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }

  .ecm-col-xl-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }

  .ecm-col-xl-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }

  .ecm-col-xl-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }

  .ecm-col-xl-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .ecm-col-xl-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }

  .ecm-col-xl-6 {
    -ms-flex: 0 0 50%;
    /* flex: 0 0 50%; */
    max-width: 50%;
  }

  .ecm-col-xl-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }

  .ecm-col-xl-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }

  .ecm-col-xl-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }

  .ecm-col-xl-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }

  .ecm-col-xl-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }

  .ecm-col-xl-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/******  custom css ******/
.ecm-select-form {
  width: 100%;
  ;
}

.ecm-padding {
  padding: 3px;
  box-sizing: border-box;
}

input.ecm-self-input {
  padding: unset;
}

.bookcar-title {
  background-color: #0aca89;
  padding: 5px;
  color: #FFF;
}

.ecm-self-drive select {
  font-size: unset;
  height: unset;
  line-height: 2;
  color: #32373c;
  border-color: #e2e2e2;
  box-shadow: none;
  border-radius: 3px;
  padding: 0 24px 0 8px;
  min-height: 34px;
  -webkit-appearance: none;
  background: #fff url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55%;
  background-size: 16px 16px;
  cursor: pointer;
  vertical-align: middle;
  width: 100%;
  ;
  margin-bottom: 10px;
  margin-top: 10px;
}

.ecm-self-drive input.readonly,
.ecm-self-drive input[readonly],
.ecm-self-drive textarea.readonly,
.ecm-self-drive textarea[readonly] {
  background-color: #eee;
}

.ecm-self-drive input {
  background-color: #FFF;
  border-radius: 3px;
  padding: 0 5px;
  line-height: 2;
  min-height: 36px;
  width: 100%;
  font-size: unset;
  color: black;
}

.ecm-no-padding {
  padding: 0;
}

.ecm-no-padding-right {
  padding-right: 0;
}

.ecm-self-drive img {
  display: inline;
  vertical-align: middle;
  margin-right: 15px;
  ;

}

.ecm-get-prices {
  text-align: center;
}

.ecm-btn-getprices {
  padding: 8px 25px;
  border-radius: 3px;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  border-color: #d2d8de24;
}

.ecm-btn-reset {
  padding: 8px 25px;
  border-radius: 3px;
  width: 100%;
  margin-top: 10px;
  border-color: #d2d8de24;
  background-color: lightgray !important;
}

.ecm-btn-reset-field {
  display: none;
}

.ecm-btn-reset:hover {
  text-decoration: none;
  background-color: darkred !important;
}

.ecm-btn-getprices-half {
  padding: 8px 25px;
  margin-top: 0px;
  text-align: center;
  border-radius: 3px;
  border-color: #d2d8de24;
}

.ecm-get-prices-half {
  text-align: right;
  ;
}

.ecm-self-drive div,
.ecm-self-drive label,
.ecm-self-drive input,
.ecm-btn-getprices,
.ecm-btn-reset,
.ecm-btn-getprices-half {
  font-size: unset;
  font-weight: unset;
}

div#ui-datepicker-div {
  z-index: 1000 !important;
}

.ui-datepicker {
  z-index: 10000 !important;
}

.ecm-self-drive input[type=date] {
  /* position: relative; */
  /* width: 150px; height: 20px; */
  /* color: white; */
  /* height: 100%; */
}

@-moz-document url-prefix() {
  .ecm-self-drive input[type=date] {
    color: black;
  }
}

.ecm-self-drive input[type=date]::before {
  position: absolute;
  top: 0px;
  left: 3px;
  content: attr(data-date);
  display: inline-block;
  color: black;
}

/* .ecm-self-drive input[type=date]::-webkit-datetime-edit, .ecm-self-drive input[type=date]::-webkit-inner-spin-button, .ecm-self-drive input[type=date]::-webkit-clear-button {
  display: none;
} */

.ecm-self-drive input[type=date]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 5px;
  right: 2px;
  color: black;
  opacity: 1;
}

.has-error {
  background-color: #f5b6b6 !important;
  border: 1px solid #f50000 !important;
}

.ecm-text-alert {
  color: red;
}

.clockpicker-popover {
  position: absolute;
  font-size: 70%;
  z-index: 12000;
  border: solid 0.5px #aaa;
}

.ecm-logo {
  float: left;
  width: 25px;
  height: 25px;
  background-size: 25px 25px;
  background-image: url('https://lowcostselfdrive.com.au/wp-content/uploads/2020/08/locationlogo-icon.png');
}

.ecm-livesearch-content-location-result:hover {
  background-color: #eaeaea;
}

.ecm-self-alert-field {
  z-index: 999999;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}


.ecm-self-drive-alert-center {
  margin: 0 auto;
}

.ecm-self-drive-alert-title {
  height: 42px;
  width: calc(100%-10px);
  padding: 5px;
}

.ecm-self-drive-alert {
  animation: ecm-popup 0.3s;
  background-color: #fff;
  width: 90%;
  max-width: 450px;
  position: absolute;
  width: 50%;
  height: 20%;
  min-height: 150px;
  /* height: 150px; */
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;

  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  border-radius: 3px;
}

.ecm-self-drive-alert-content {
  min-height: 150px;
  position: relative;
}

.ecm-self-drive-alert-text {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 30px;
  right: 0;
}

.ecm-self-drive-alert-button {
  width: 90px;
  float: right;
  text-align: center;
  color: #eaeaea;
  padding: 5px;
}

.ecm-self-drive-alert-action {
  height: 30px;
  position: absolute;
  bottom: 5px;
  right: 5px;
}

.ecm-self-drive-alert-text-content {
  padding: 10px;
  text-align: center;
}

@keyframes ecm-popup {
  0% {
    transform: scale(1);
  }

  10% {
    transform: scale(1.025);
  }

  20% {
    transform: scale(1.050);
  }

  30% {
    transform: scale(1.075);
  }

  40% {
    transform: scale(1.1);
  }

  50% {
    transform: scale(1.125);
  }

  60% {
    transform: scale(1.1);
  }

  70% {
    transform: scale(1.075);
  }

  80% {
    transform: scale(1.050);
  }

  90% {
    transform: scale(1.025);
  }

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

.ecm-form-reset {
  display: none;
}

.ecm-form-reset-action {
  float: right;
  cursor: pointer;
  color: #424242;
  font-size: 16px;
}

.ecm-form-reset-action:hover {
  color: darkred;
}

.main-bm-form {
  display: flex;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-around;
}

.ecm-center {
  text-align: center;
}

form.ecmSelfDriveForm {
  position: relative;
}

div#resultMapSearch {
  box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
  padding: 10px 20px 5px 20px;
  position: absolute;
  width: 100%;
  background: #fbfbfb;
  top: 177px;
  z-index: 999;
}

.ecm-flex-wrap {
  display: flex;
  flex-wrap: nowrap;
}

div#jquery-live-search {
  background-color: #fff;
  padding: 10px;
  max-height: 400px;
  height: auto;
  overflow-y: auto;
  box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
}

div#ecmForm-div {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23)
}

.btn.find_button {
  border-radius: 0;
  color: #fff;
  background-color: #2a3342;
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  width: 100%;
}

#extra_box {
  width: 100%;
}

span#ecm-submit {
  width: 160px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}

input {
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da !important;
}

.box-remove-drop.box-form-group-control-right {
  position: absolute;
  top: 5px;
  right: 5px;
}



div#findlocation {
  position: absolute;
  background: whitesmoke;
  top: 0;
  padding: 15px;
  z-index: 999;
}

a.fa svg {
  width: 30px;
}

.box-form-group {
  background-color: rgb(229 224 224 / 56%);
  padding: 15px;
  margin: 5px 5px 0px 0px;
  height: auto;
  min-height: 120px;
}

.box-form-group {
  position: relative;
}

div#extradropsbox {
  margin-bottom: 15px;
  height: auto;
  max-height: 350px;
  overflow-y: auto;
  overflow-x: hidden;
}

.icons-bin-drop {
  width: 20px;
  cursor: pointer;
}

span.box-drop-text.box-drop-text-single {
  font-weight: bold;
}

.input-container input {
  border: none;
  box-sizing: border-box;
  outline: 0;
  padding: .75rem;
  position: relative;
  width: 100%;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  background: transparent;
  bottom: 0;
  color: transparent;
  cursor: pointer;
  height: auto;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
}

input[type="time"] {
  position: relative;
}

input[type="time"]::-webkit-calendar-picker-indicator {
  display: block;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  background: transparent;
}

.hidden {
  display: none;
}

@media only screen and (max-width: 768px) {
  .ecm-flex-wrap {
    display: flex;
    flex-wrap: wrap;
  }
}

@media only screen and (max-width: 1268px) {
  div#extradropsbox {
    order: 1;
  }

  .ecm-btn-getprices-field {
    text-align: center !important;
    order: 2;
  }

  .box-form-group-control-center {
    height: 50px !important;
    overflow-y: auto;
    padding: 0px 15px 0px 0px;
  }
}

p.addr_pop {
  cursor: pointer;
  font-weight: 700;
  color: #404042;
  font-size: 13px;
  line-height: 1.5;
  margin: 1em 0;
  margin-left: 15px;
}

#jquery-live-search h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
  padding-top: unset;
  margin-left: 10px;
}

.ecm-col-md-12.ecm-col-lg-12.ecm-padding.main-bm-form {
  padding: 0;
}

.ecm-btn-getprices-field {
  text-align: right;
  padding: 15px;
}


.extra-drop-show {
  margin-bottom: 15px;
}

.ui-datepicker-header.ui-widget-header.ui-helper-clearfix.ui-corner-all {
  background-color: var(--ecm-bm-color);
  color: var(--ecm-text-color);
}

.drop-item {
  cursor: all-scroll;
}

.ui-sortable-placeholder {
  /* border: 1px solid var(--ecm-bm-color-hv); */
  border: 3px dashed #fff;
  background-color: rgb(229 224 224 / 80%);
  visibility: visible !important;
  height: auto;
  min-height: 126px;
}


#jquery-live-search::-webkit-scrollbar,
#extradropsbox::-webkit-scrollbar,
.box-form-group-control-center::-webkit-scrollbar {
  width: 5px;
}

/* Track */
#jquery-live-search::-webkit-scrollbar-track,
#extradropsbox::-webkit-scrollbar-track,
.box-form-group-control-center::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
#jquery-live-search::-webkit-scrollbar-thumb,
#extradropsbox::-webkit-scrollbar-thumb,
.box-form-group-control-center::-webkit-scrollbar-thumb {
  background: var(--ecm-bm-color);
}

/* Handle on hover */
#jquery-live-search::-webkit-scrollbar-thumb:hover,
#extradropsbox::-webkit-scrollbar-thumb:hover,
.box-form-group-control-center::-webkit-scrollbar-thumb:hover {
  background: var(--ecm-bm-color-hv);
}

.popover-title {
  padding: 5px;
}

.text-bolder-ecm {
  font-weight: 500 !important;
}

.ecm-btn-radio {
  padding: 10px;
}

input#date1[type="date"] {
  line-height: unset;
}

.box-form-group-control-center {
  height: 80px;
  overflow-y: auto;
  padding: 0px 20px 0px 0px;
}

.box-drop-text-field {
  font-size: 13px !important;
}

select.box-form-group-control-left.hideOpts {
  font-size: 13px !important;
}

.font-size-16 {
  font-size: 16px !important;
}
/* ==========================================================
   ECM Modern Design Refresh
   Design-only update: uses existing plugin color settings
   ========================================================== */
:root {
  --ecm-modern-bg: var(--ecm-bg-color-main, #111111);
  --ecm-modern-text: var(--ecm-text-color-main, #ffffff);
  --ecm-modern-primary: var(--ecm-bm-color, #a3090f);
  --ecm-modern-primary-hover: var(--ecm-bm-color-hv, #5f060a);
  --ecm-modern-button-text: var(--ecm-text-color, #ffffff);
  --ecm-modern-surface: rgba(255, 255, 255, 0.94);
  --ecm-modern-surface-soft: rgba(255, 255, 255, 0.78);
  --ecm-modern-border: rgba(15, 23, 42, 0.12);
  --ecm-modern-muted: #6b7280;
  --ecm-modern-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
  --ecm-modern-shadow-soft: 0 14px 35px rgba(15, 23, 42, 0.12);
  --ecm-modern-radius: 22px;
  --ecm-modern-radius-sm: 14px;
  --ecm-modern-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ecm-self-drive,
.ecm-self-drive * {
  box-sizing: border-box;
}

.ecm-self-drive {
  font-family: var(--ecm-modern-font);
  color: #0f172a;
}

#ecmForm-div.booking-car-left.ecm-self-drive {
  position: relative;
  overflow: hidden;
  border-radius: var(--ecm-modern-radius) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 32%),
    linear-gradient(135deg, color-mix(in srgb, var(--ecm-modern-primary) 28%, #000000 72%), color-mix(in srgb, var(--ecm-modern-primary-hover) 48%, #000000 52%)) !important;
  box-shadow: var(--ecm-modern-shadow) !important;
  padding: clamp(16px, 3vw, 28px) !important;
}

#ecmForm-div.booking-car-left.ecm-self-drive::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.12), transparent 34%),
    radial-gradient(circle at bottom right, color-mix(in srgb, var(--ecm-modern-primary) 34%, transparent), transparent 40%);
}

#ecmForm-div .booking-car-border {
  position: relative;
  z-index: 1;
  gap: 14px 0;
}

#ecmForm-div .main-bm-form {
  overflow: hidden;
  padding: 6px !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.20) !important;
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(16px);
}

#ecmForm-div .ecm-col-single,
#ecmForm-div .ecm-col-return,
#ecmForm-div .ecm-btn-radio {
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--ecm-modern-text) !important;
  padding: 12px 18px !important;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease;
}

#ecmForm-div .ecm-col-single.active,
#ecmForm-div .ecm-col-return.active {
  color: var(--ecm-modern-button-text) !important;
  background: linear-gradient(135deg, var(--ecm-modern-primary), var(--ecm-modern-primary-hover)) !important;
  box-shadow: 0 12px 26px color-mix(in srgb, var(--ecm-modern-primary) 36%, transparent);
}

#ecmForm-div .btn-ecm:hover {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--ecm-modern-primary-hover) 86%, #ffffff 14%) !important;
  color: var(--ecm-modern-button-text) !important;
}

#ecmForm-div .text-form-ecm,
#ecmForm-div .map-span {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--ecm-modern-text) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
}

#ecmForm-div .ecm-red-star {
  color: #fb7185 !important;
}

#ecmForm-div .ecm-padding {
  padding: 8px !important;
}

#ecmForm-div .ecm-div {
  position: relative;
}

#ecmForm-div input,
#ecmForm-div textarea,
#ecmForm-div select {
  min-height: 48px !important;
  width: 100% !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: var(--ecm-modern-radius-sm) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: #0f172a !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
  padding: 11px 42px 11px 14px !important;
  line-height: 1.35 !important;
  outline: none !important;
  transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease, transform .22s ease;
}

#ecmForm-div input::placeholder,
#ecmForm-div textarea::placeholder {
  color: #94a3b8 !important;
}

#ecmForm-div input:focus,
#ecmForm-div textarea:focus,
#ecmForm-div select:focus {
  border-color: color-mix(in srgb, var(--ecm-modern-primary) 72%, #ffffff 28%) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ecm-modern-primary) 18%, transparent), 0 12px 28px rgba(15, 23, 42, .12) !important;
  transform: translateY(-1px);
}

#ecmForm-div input[disabled],
#ecmForm-div input[readonly] {
  opacity: .68;
  cursor: not-allowed;
  background: rgba(226, 232, 240, .92) !important;
}

#ecmForm-div span#ecm-submit,
#ecmForm-div .ecm-btn-getprices,
#ecmForm-div .btn.find_button,
.ecm-btn-getprices,
.btn.find_button {
  min-height: 50px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0 !important;
  border-radius: 999px !important;
  color: var(--ecm-modern-button-text) !important;
  background: linear-gradient(135deg, var(--ecm-modern-primary), var(--ecm-modern-primary-hover)) !important;
  box-shadow: 0 16px 34px color-mix(in srgb, var(--ecm-modern-primary) 34%, transparent) !important;
  font-weight: 800 !important;
  letter-spacing: .01em;
  text-decoration: none !important;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

#ecmForm-div span#ecm-submit:hover,
#ecmForm-div .ecm-btn-getprices:hover,
#ecmForm-div .btn.find_button:hover,
.ecm-btn-getprices:hover,
.btn.find_button:hover {
  transform: translateY(-2px);
  filter: saturate(1.08) brightness(1.03);
  box-shadow: 0 22px 42px color-mix(in srgb, var(--ecm-modern-primary-hover) 38%, transparent) !important;
}

#ecmForm-div .Fcolor,
#ecmForm-div #extradropdown {
  color: color-mix(in srgb, var(--ecm-modern-text) 86%, var(--ecm-modern-primary) 14%) !important;
  text-decoration: none !important;
}

#extra_box,
#extradropsbox .box-form-group,
.box-form-group {
  border-radius: var(--ecm-modern-radius-sm) !important;
  border: 1px solid rgba(255, 255, 255, .20) !important;
  background: rgba(255, 255, 255, .14) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

#jquery-live-search,
div#resultMapSearch {
  border: 1px solid rgba(15, 23, 42, .10) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: var(--ecm-modern-shadow-soft) !important;
  overflow: hidden;
}

#jquery-live-search h3,
#ecm-live-search h3 {
  color: #0f172a;
  font-weight: 800;
}

p.addr_pop {
  border-radius: 12px;
  padding: 10px 12px;
  margin-left: 0 !important;
  transition: background-color .2s ease, transform .2s ease;
}

p.addr_pop:hover {
  background: #f1f5f9;
  transform: translateX(2px);
}

#findlocation {
  border-radius: var(--ecm-modern-radius) !important;
  border: 1px solid rgba(15, 23, 42, .10);
  box-shadow: var(--ecm-modern-shadow) !important;
  background: rgba(255, 255, 255, .97) !important;
}

.ui-datepicker,
.clockpicker-popover,
.popover {
  border: 0 !important;
  border-radius: 18px !important;
  box-shadow: var(--ecm-modern-shadow-soft) !important;
  overflow: hidden;
}

.ui-datepicker-header.ui-widget-header,
.clockpicker-popover .popover-title {
  border: 0 !important;
  background: linear-gradient(135deg, var(--ecm-modern-primary), var(--ecm-modern-primary-hover)) !important;
  color: var(--ecm-modern-button-text) !important;
}

.ui-state-default,
.ui-widget-content .ui-state-default {
  border-radius: 10px !important;
  border-color: transparent !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  text-align: center !important;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-state-hover,
.ui-widget-content .ui-state-hover {
  background: var(--ecm-modern-primary) !important;
  color: var(--ecm-modern-button-text) !important;
}

.has-error {
  border-color: #fb7185 !important;
  background-color: #fff1f2 !important;
  box-shadow: 0 0 0 4px rgba(244, 63, 94, .14) !important;
}

.ecm-text-alert {
  color: #fecdd3 !important;
  font-weight: 700;
}

#jquery-live-search::-webkit-scrollbar,
#extradropsbox::-webkit-scrollbar,
.box-form-group-control-center::-webkit-scrollbar {
  width: 8px;
}

#jquery-live-search::-webkit-scrollbar-track,
#extradropsbox::-webkit-scrollbar-track,
.box-form-group-control-center::-webkit-scrollbar-track {
  background: rgba(226, 232, 240, .75);
  border-radius: 999px;
}

#jquery-live-search::-webkit-scrollbar-thumb,
#extradropsbox::-webkit-scrollbar-thumb,
.box-form-group-control-center::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--ecm-modern-primary), var(--ecm-modern-primary-hover));
  border-radius: 999px;
}

body.settings_page_Ecm_Beta_Setting #wpbody-content > div[style*="padding"] {
  max-width: 1280px;
  margin: 22px auto;
  padding: 24px !important;
  border-radius: 28px;
  background: linear-gradient(135deg, #fff5f5, #fee2e2);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .10);
}

body.settings_page_Ecm_Beta_Setting #wpbody-content h2 {
  margin: 0 0 22px;
  color: #0f172a;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -.04em;
}

body.settings_page_Ecm_Beta_Setting .form-group.row.col-md-6,
body.settings_page_Ecm_Beta_Setting .ecm-col-md-6 {
  padding: 18px;
}

body.settings_page_Ecm_Beta_Setting form.col-md-12.row {
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 24px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

body.settings_page_Ecm_Beta_Setting form.col-md-12.row .col-md-8 {
  max-width: none;
  flex: 0 0 100%;
}

body.settings_page_Ecm_Beta_Setting .form-control {
  min-height: 44px;
  margin: 6px 0 14px;
  border: 1px solid #dbe3ef !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

body.settings_page_Ecm_Beta_Setting input[type="color"].form-control {
  height: 48px;
  padding: 6px;
  cursor: pointer;
}

body.settings_page_Ecm_Beta_Setting input[type="checkbox"],
body.settings_page_Ecm_Beta_Setting input[type="radio"] {
  accent-color: var(--ecm-modern-primary);
}

body.settings_page_Ecm_Beta_Setting .btn.btn-primary {
  min-height: 46px;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ecm-modern-primary), var(--ecm-modern-primary-hover));
  box-shadow: 0 14px 30px color-mix(in srgb, var(--ecm-modern-primary) 30%, transparent);
  font-weight: 800;
}

body.settings_page_Ecm_Beta_Setting pre {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 14px;
  background: #111111;
  color: #f5f5f5;
  padding: 12px 14px;
}

@media only screen and (max-width: 768px) {
  #ecmForm-div.booking-car-left.ecm-self-drive {
    border-radius: 18px !important;
    padding: 14px !important;
  }

  #ecmForm-div .main-bm-form {
    border-radius: 18px;
    flex-wrap: wrap;
  }

  #ecmForm-div .ecm-col-single,
  #ecmForm-div .ecm-col-return {
    width: 100%;
  }

  #ecmForm-div .ecm-btn-getprices-field {
    text-align: center !important;
  }

  #ecmForm-div span#ecm-submit {
    width: 100% !important;
  }
}

/* ECM modern CSS fix: keep the pickup/destination map picker CTA visible.
   CSS only - no PHP/JS logic changed. */
#ecmForm-div.booking-car-left.ecm-self-drive,
#ecmForm-div .ecm-row,
#ecmForm-div .ecm-div,
#ecmForm-div .ecm-col-md-12,
#ecmForm-div .ecm-col-lg-6 {
  overflow: visible !important;
}

#ecmForm-div #findlocation:not(.hidden) {
  z-index: 999999 !important;
  width: min(560px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  max-height: calc(100vh - 72px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 16px !important;
  border-radius: 22px !important;
  box-shadow: 0 28px 70px rgba(15, 23, 42, .28) !important;
}

#ecmForm-div #findlocation:not(.hidden) #mapMain {
  height: min(300px, 42vh) !important;
  min-height: 220px !important;
  margin-bottom: 14px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}

#ecmForm-div #findlocation:not(.hidden) a.fa {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  margin: 0 0 0 10px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--ecm-modern-primary), var(--ecm-modern-primary-hover)) !important;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--ecm-modern-primary) 30%, transparent) !important;
}

#ecmForm-div #findlocation:not(.hidden) a.fa svg,
#ecmForm-div #findlocation:not(.hidden) a.fa svg path {
  width: 22px !important;
  height: 22px !important;
  fill: var(--ecm-modern-button-text) !important;
}

@media only screen and (max-width: 768px), (max-height: 620px) {
  #ecmForm-div #findlocation:not(.hidden) {
    position: fixed !important;
    top: 14px !important;
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100vh - 28px) !important;
  }

  #ecmForm-div #findlocation:not(.hidden) #mapMain {
    height: 46vh !important;
    min-height: 210px !important;
  }
}

/* ECM map popup text visibility fix - CSS only */
#ecmForm-div #findlocation:not(.hidden),
#ecmForm-div #findlocation:not(.hidden) *,
#ecmForm-div #findlocation:not(.hidden) p,
#ecmForm-div #findlocation:not(.hidden) span,
#ecmForm-div #findlocation:not(.hidden) label,
#ecmForm-div #findlocation:not(.hidden) div {
  color: #111111 !important;
}

#ecmForm-div #findlocation:not(.hidden) a.fa,
#ecmForm-div #findlocation:not(.hidden) a.fa * {
  color: #ffffff !important;
}

#ecmForm-div #findlocation:not(.hidden) a.fa svg,
#ecmForm-div #findlocation:not(.hidden) a.fa svg path {
  fill: #ffffff !important;
}


/* ECM Beta 1.0 compact spacing update - keeps form responsive while reducing vertical height */
#ecmForm-div.booking-car-left.ecm-self-drive {
  padding: clamp(10px, 2vw, 18px) !important;
}

#ecmForm-div .booking-car-border {
  gap: 6px 0 !important;
}

#ecmForm-div .ecm-padding {
  padding: 5px !important;
}

#ecmForm-div .main-bm-form {
  padding: 4px !important;
}

#ecmForm-div .ecm-col-single,
#ecmForm-div .ecm-col-return,
#ecmForm-div .ecm-btn-radio {
  padding: 9px 14px !important;
}

#ecmForm-div .text-form-ecm,
#ecmForm-div .map-span {
  margin-bottom: 4px !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
}

#ecmForm-div input,
#ecmForm-div textarea,
#ecmForm-div select {
  min-height: 42px !important;
  padding: 8px 38px 8px 12px !important;
  line-height: 1.25 !important;
}

#ecmForm-div span#ecm-submit,
#ecmForm-div .ecm-btn-getprices,
#ecmForm-div .btn.find_button,
.ecm-btn-getprices,
.btn.find_button {
  min-height: 44px !important;
  padding: 7px 20px !important;
  margin-top: 6px !important;
  margin-bottom: 6px !important;
}

#ecmForm-div .ecm-extra-drop-heading {
  margin-bottom: 4px !important;
}

#ecmForm-div .ecm-extra-drop-cancel {
  padding: 3px 10px !important;
  font-size: 12px !important;
}

@media only screen and (max-width: 768px) {
  #ecmForm-div.booking-car-left.ecm-self-drive {
    padding: 10px !important;
    border-radius: 16px !important;
  }

  #ecmForm-div .booking-car-border {
    gap: 4px 0 !important;
  }

  #ecmForm-div .ecm-padding {
    padding: 4px !important;
  }

  #ecmForm-div input,
  #ecmForm-div textarea,
  #ecmForm-div select {
    min-height: 40px !important;
    font-size: 14px !important;
  }

  #ecmForm-div .ecm-form-step-1 .ecm-col-md-8 {
    flex: 0 0 62% !important;
    max-width: 62% !important;
  }

  #ecmForm-div .ecm-form-step-1 .ecm-col-md-4 {
    flex: 0 0 38% !important;
    max-width: 38% !important;
  }

  #ecmForm-div .ecm-col-single,
  #ecmForm-div .ecm-col-return {
    padding: 8px 10px !important;
  }

  #ecmForm-div span#ecm-submit,
  #ecmForm-div .ecm-btn-getprices {
    min-height: 42px !important;
  }
}

/* ECM Beta 1.0 mobile overlay fixes: keep time picker and map picker inside viewport */
@media only screen and (max-width: 768px) {
  .clockpicker-popover,
  .popover.clockpicker-popover {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    width: min(320px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    z-index: 1000000 !important;
    margin: 0 !important;
  }

  .clockpicker-popover .popover-content {
    display: flex !important;
    justify-content: center !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .clockpicker-popover .clockpicker-plate {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .clockpicker-popover .arrow {
    display: none !important;
  }

  #ecmForm-div #findlocation:not(.hidden) {
    top: 108px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-height: calc(100vh - 128px) !important;
    z-index: 999998 !important;
    padding: 12px !important;
  }

  #ecmForm-div #findlocation:not(.hidden) #mapMain {
    height: min(320px, 42vh) !important;
    min-height: 210px !important;
  }
}

@media only screen and (max-width: 380px) {
  #ecmForm-div #findlocation:not(.hidden) {
    top: 96px !important;
    max-height: calc(100vh - 112px) !important;
  }

  #ecmForm-div #findlocation:not(.hidden) #mapMain {
    height: 38vh !important;
    min-height: 190px !important;
  }
}


/* ECM Beta settings design controls */
body.settings_page_Ecm_Beta_Setting .ecm-beta-settings-section-title {
  margin: 18px 0 8px;
  font-size: 17px;
  font-weight: 900;
  color: #0f172a;
}
body.settings_page_Ecm_Beta_Setting .ecm-beta-settings-note {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}
body.settings_page_Ecm_Beta_Setting .ecm-beta-colour-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin-bottom: 12px;
}
body.settings_page_Ecm_Beta_Setting .ecm-beta-colour-control {
  display: block;
  margin: 0;
  font-weight: 700;
  color: #0f172a;
}
body.settings_page_Ecm_Beta_Setting .ecm-beta-colour-control span {
  display: block;
  margin-bottom: 4px;
}
@media only screen and (max-width: 782px) {
  body.settings_page_Ecm_Beta_Setting .ecm-beta-colour-grid {
    grid-template-columns: 1fr;
  }
}


/* ECM Beta 1.0 design settings source-of-truth fix
   Keep the live shortcode and Settings preview visually identical.
   The background control must be the only form shell background; old decorative overlays are disabled. */
#ecmForm-div.booking-car-left.ecm-self-drive {
  background: var(--ecm-bg-style, var(--ecm-modern-bg, #111111)) !important;
  background-color: var(--ecm-bg-color-main, #111111) !important;
  border-color: rgba(255,255,255,0.18) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,0.18) !important;
}
#ecmForm-div.booking-car-left.ecm-self-drive::before,
#ecmForm-div.booking-car-left.ecm-self-drive::after,
#ecmForm-div .booking-car-border::before,
#ecmForm-div .booking-car-border::after {
  display: none !important;
  content: none !important;
  background: none !important;
}
#ecmForm-div .booking-car-border,
#ecmForm-div .ecm-form-step,
#ecmForm-div .ecm-form-step-1,
#ecmForm-div .ecm-form-step-2,
#ecmForm-div .ecm-row,
#ecmForm-div .ecm-col-md-12,
#ecmForm-div .ecm-col-lg-12,
#ecmForm-div .ecm-col-lg-6,
#ecmForm-div .ecm-col-md-6,
#ecmForm-div .ecm-div,
#ecmForm-div .extra-drop-show,
#ecmForm-div .ecm-step-action-field {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}
#ecmForm-div .main-bm-form {
  background: rgba(255,255,255,0.18) !important;
  background-image: none !important;
  box-shadow: none !important;
}
#ecmForm-div .ecm-col-single.active,
#ecmForm-div .ecm-col-return.active,
#ecmForm-div .ecm-btn-getprices,
#ecmForm-div span#ecm-submit,
#ecmForm-div .btn.find_button,
.ecm-btn-getprices,
.btn.find_button,
.ui-datepicker-header.ui-widget-header,
.clockpicker-popover .popover-title {
  background: var(--ecm-bm-color, var(--ecm-modern-primary, #a3090f)) !important;
  background-color: var(--ecm-bm-color, var(--ecm-modern-primary, #a3090f)) !important;
  background-image: none !important;
  color: var(--ecm-text-color, var(--ecm-modern-button-text, #ffffff)) !important;
  box-shadow: 0 16px 34px rgba(0,0,0,0.18) !important;
}
#ecmForm-div .ecm-btn-getprices:hover,
#ecmForm-div span#ecm-submit:hover,
#ecmForm-div .btn.find_button:hover,
#ecmForm-div .btn-ecm:hover,
#ecmForm-div .ecm-step-next:hover,
.ecm-btn-getprices:hover,
.btn.find_button:hover {
  background: var(--ecm-bm-color-hv, var(--ecm-modern-primary-hover, #5f060a)) !important;
  background-color: var(--ecm-bm-color-hv, var(--ecm-modern-primary-hover, #5f060a)) !important;
  background-image: none !important;
  color: var(--ecm-text-color, var(--ecm-modern-button-text, #ffffff)) !important;
  box-shadow: 0 20px 42px rgba(0,0,0,0.22) !important;
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-datepicker-calendar .ui-datepicker-current-day a,
.ui-datepicker-calendar .ui-datepicker-current-day .ui-state-default,
.clockpicker-tick.active,
.clockpicker-tick:hover {
  background: var(--ecm-bm-color, var(--ecm-modern-primary, #a3090f)) !important;
  background-color: var(--ecm-bm-color, var(--ecm-modern-primary, #a3090f)) !important;
  background-image: none !important;
  color: var(--ecm-text-color, var(--ecm-modern-button-text, #ffffff)) !important;
}
#ecmForm-div .ecm-progress-track,
.ecm-progress-track {
  background: var(--ecm-progress-bg-color, rgba(255,255,255,0.25)) !important;
  background-color: var(--ecm-progress-bg-color, rgba(255,255,255,0.25)) !important;
  background-image: none !important;
}
#ecmForm-div .ecm-progress-fill,
.ecm-progress-fill,
#ecmForm-div .ecm-progress-step.active .ecm-progress-dot,
#ecmForm-div .ecm-progress-step.completed .ecm-progress-dot {
  background: var(--ecm-progress-status-color, var(--ecm-bm-color, #a3090f)) !important;
  background-color: var(--ecm-progress-status-color, var(--ecm-bm-color, #a3090f)) !important;
  background-image: none !important;
  color: var(--ecm-text-color, #ffffff) !important;
}

/* ECM Beta CTA alignment and extra-drop layout fix */
#ecmForm-div .ecm-form-step-1 .ecm-step-action-field,
#ecmForm-div .ecm-form-step-2 .ecm-btn-getprices-field {
  margin-left: auto !important;
  flex: 0 0 50% !important;
  max-width: 50% !important;
  width: 50% !important;
  text-align: right !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: flex-end !important;
}
#ecmForm-div .ecm-form-step-1 .ecm-step-next,
#ecmForm-div .ecm-form-step-2 #ecm-submit {
  width: 100% !important;
  max-width: 100% !important;
  text-align: center !important;
}
#ecmForm-div .ecm-form-step-2 .ecm-step-action-field {
  margin-right: auto !important;
  flex: 0 0 50% !important;
  max-width: 50% !important;
  width: 50% !important;
}
#ecmForm-div .extra-drop-show #extradropsbox {
  width: 100% !important;
  max-width: 100% !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  gap: 8px !important;
  overflow: visible !important;
  max-height: none !important;
}
#ecmForm-div .extra-drop-show #extradropsbox .drop-item {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
#ecmForm-div .extra-drop-show #extradropsbox .box-form-group {
  min-height: 72px !important;
  margin: 0 !important;
  padding: 12px 38px 12px 14px !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,0.14) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12) !important;
}
#ecmForm-div .extra-drop-show #extradropsbox .box-drop-text {
  display: block !important;
  line-height: 1.35 !important;
  word-break: break-word !important;
}
#ecmForm-div .extra-drop-show #extradropsbox .box-remove-drop.box-form-group-control-right {
  top: 8px !important;
  right: 8px !important;
}
@media only screen and (max-width: 768px) {
  #ecmForm-div .ecm-form-step-1 .ecm-step-action-field,
  #ecmForm-div .ecm-form-step-2 .ecm-step-action-field,
  #ecmForm-div .ecm-form-step-2 .ecm-btn-getprices-field {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    text-align: center !important;
    justify-content: center !important;
  }
}

/* ECM Beta 4-step compact journey flow */
#ecmForm-div .ecm-step-card{
    width: 100%;
    margin: 4px 15px 8px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.12) !important;
    border: 1px solid rgba(255,255,255,0.16);
    box-sizing: border-box;
}
#ecmForm-div .ecm-step-title{
    color: var(--ecm-text-color-main) !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}
#ecmForm-div .ecm-step-note,
#ecmForm-div .ecm-toggle-note{
    color: var(--ecm-text-color-main) !important;
    opacity: 0.78;
    font-size: 13px;
    line-height: 1.35;
    margin-top: 3px;
}
#ecmForm-div .ecm-modern-toggle-card{
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.12) !important;
    border: 1px solid rgba(255,255,255,0.16);
    box-sizing: border-box;
}
#ecmForm-div .ecm-toggle-title{
    color: var(--ecm-text-color-main) !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}
#ecmForm-div .ecm-switch{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    min-width: 86px;
    height: 40px;
    margin: 0;
    cursor: pointer;
    user-select: none;
}
#ecmForm-div .ecm-switch input{
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
#ecmForm-div .ecm-slider{
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.22);
    border: 1px solid rgba(255,255,255,0.32);
    transition: 0.2s ease;
}
#ecmForm-div .ecm-slider:before{
    content: "";
    position: absolute;
    height: 30px;
    width: 30px;
    left: 5px;
    top: 4px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 5px 14px rgba(0,0,0,0.22);
    transition: 0.2s ease;
}
#ecmForm-div .ecm-switch input:checked + .ecm-slider{
    background: var(--ecm-bm-color) !important;
    border-color: var(--ecm-bm-color) !important;
}
#ecmForm-div .ecm-switch input:checked + .ecm-slider:before{
    transform: translateX(46px);
}
#ecmForm-div .ecm-switch-text{
    position: absolute;
    z-index: 1;
    color: var(--ecm-text-color-main);
    font-size: 11px;
    font-weight: 700;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
#ecmForm-div .ecm-switch-text-on{
    left: 14px;
    color: var(--ecm-text-color) !important;
    opacity: 0;
}
#ecmForm-div .ecm-switch-text-off{
    right: 12px;
    opacity: 1;
}
#ecmForm-div .ecm-switch input:checked ~ .ecm-switch-text-on{
    opacity: 1;
}
#ecmForm-div .ecm-switch input:checked ~ .ecm-switch-text-off{
    opacity: 0;
}
#ecmForm-div .ecm-step-actions{
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}
#ecmForm-div .ecm-step-actions .ecm-step-back,
#ecmForm-div .ecm-step-actions .ecm-step-next,
#ecmForm-div .ecm-step-actions #ecm-submit{
    flex: 1 1 0;
    max-width: 50%;
    text-align: center !important;
}
#ecmForm-div .ecm-form-step-1 .ecm-step-action-field{
    margin-left: auto !important;
}
#ecmForm-div .ecm-form-step-3 .extra-drop-show{
    width: 100% !important;
    max-width: 100% !important;
}
#ecmForm-div .ecm-progress-steps{
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 767px){
    #ecmForm-div .ecm-progress-steps{
        grid-template-columns: repeat(2, 1fr);
    }
    #ecmForm-div .ecm-modern-toggle-card{
        align-items: flex-start;
        flex-direction: column;
    }
    #ecmForm-div .ecm-step-actions{
        flex-direction: column;
    }
    #ecmForm-div .ecm-step-actions .ecm-step-back,
    #ecmForm-div .ecm-step-actions .ecm-step-next,
    #ecmForm-div .ecm-step-actions #ecm-submit{
        max-width: 100%;
        width: 100% !important;
    }
}


/* ECM Beta refinements: static step changes, 5-step process indicator, clean notes, compact draggable extra drops */
#ecmForm-div .ecm-progress-steps{
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}
#ecmForm-div .ecm-progress-step span:last-child{
    white-space: normal;
    line-height: 1.15;
}
#ecmForm-div .ecm-step-card{
    margin: 0 15px 8px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
#ecmForm-div .ecm-step-title{
    margin-bottom: 3px !important;
}
#ecmForm-div .ecm-step-note{
    margin-top: 0 !important;
    opacity: 0.85 !important;
}
#ecmForm-div .ecm-form-step-3 .ecm-modern-toggle-card{
    margin-bottom: 0 !important;
}
#ecmForm-div .extra-drop-show{
    margin-bottom: 8px !important;
}
#ecmForm-div .ecm-form-step-3 .extra-drop-show{
    padding-top: 0 !important;
}
#ecmForm-div .ecm-form-step-3 .extra-drop-show > .ecm-row{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}
#ecmForm-div #extradropdown{
    display: inline-flex !important;
    align-items: center;
    min-height: 34px;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}
#ecmForm-div #extra_box{
    width: 100% !important;
    margin: 0 0 8px 0 !important;
    padding: 10px 12px 12px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}
#ecmForm-div .ecm-extra-drop-heading{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    float: none !important;
}
#ecmForm-div .ecm-extra-drop-heading label{
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    white-space: normal !important;
}
#ecmForm-div .ecm-extra-drop-cancel{
    position: static !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
}
#ecmForm-div #extra_box .ecm-col-md-12.ecm-no-padding.font-size-16{
    position: relative !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
}
#ecmForm-div #extra_box input#extradrop{
    width: 100% !important;
    box-sizing: border-box !important;
}
#ecmForm-div .extra-drop-show #extradropsbox{
    display: block !important;
    margin-top: 6px !important;
}
#ecmForm-div .extra-drop-show #extradropsbox .drop-item{
    display: block !important;
    cursor: move;
}
#ecmForm-div .extra-drop-show #extradropsbox .box-form-group{
    min-height: 48px !important;
    padding: 9px 36px 9px 12px !important;
    display: flex !important;
    align-items: center !important;
}
#ecmForm-div .extra-drop-show #extradropsbox .box-form-group-control-center{
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    width: 100% !important;
}
#ecmForm-div .extra-drop-show #extradropsbox .box-drop-text{
    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
}
#ecmForm-div .extra-drop-show #extradropsbox .box-drop-text-single{
    font-weight: 700 !important;
}
@media (max-width: 767px){
    #ecmForm-div .ecm-progress-steps{
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
}

/* ECM Beta safe dropdown layer fix: raise only the location results panel.
   Do not reposition inputs, date picker, clock picker, or map controls. */
body > #jquery-live-search{
    z-index: 1000002 !important;
}
#ui-datepicker-div,
.ui-datepicker,
.clockpicker-popover,
.popover.clockpicker-popover{
    z-index: 1000003 !important;
}


/* ECM headline-only question updates */
#ecmForm-div .ecm-step-card{
    text-align: center !important;
}
#ecmForm-div .ecm-step-title{
    margin: 0 0 10px !important;
    text-align: center !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}
#ecmForm-div .ecm-step-note{
    display: none !important;
}
@media (max-width: 767px){
    #ecmForm-div .ecm-step-title{
        font-size: 24px !important;
        line-height: 1.25 !important;
    }
}


/* ECM Beta 2.2.2 CTA/date cursor refinement only */
#ecmForm-div .btn-ecm,
#ecmForm-div .btn-ecm:hover,
#ecmForm-div .submitSpan,
#ecmForm-div .submitSpan:hover,
#ecmForm-div .ecm-btn-getprices,
#ecmForm-div .ecm-btn-getprices:hover,
#ecmForm-div .ecm-step-next,
#ecmForm-div .ecm-step-next:hover,
#ecmForm-div .ecm-step-back,
#ecmForm-div .ecm-step-back:hover,
#ecmForm-div span#ecm-submit,
#ecmForm-div span#ecm-submit:hover{
    cursor: pointer !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}
#ecmForm-div .ecm-select-date,
#ecmForm-div input.ecm-select-date,
#ecmForm-div input.ecm-select-date[readonly],
#ecmForm-div input.ecm-select-date[disabled]:not(:disabled){
    cursor: pointer !important;
}
#ecmForm-div input[type="date"],
#ecmForm-div input[type="time"]{
    cursor: pointer !important;
}

/* ECM Beta CTA/date cursor hard fix only */
#ecmForm-div span.btn-ecm,
#ecmForm-div span.btn-ecm *,
#ecmForm-div span.submitSpan,
#ecmForm-div span.submitSpan *,
#ecmForm-div span.ecm-btn-getprices,
#ecmForm-div span.ecm-btn-getprices *,
#ecmForm-div span.ecm-step-next,
#ecmForm-div span.ecm-step-next *,
#ecmForm-div span.ecm-step-back,
#ecmForm-div span.ecm-step-back *,
#ecmForm-div span#ecm-submit,
#ecmForm-div span#ecm-submit *{
    cursor: pointer !important;
}
#ecmForm-div input[type="date"],
#ecmForm-div input[type="time"],
#ecmForm-div input.ecm-select-date,
#ecmForm-div input[type="date"]::-webkit-calendar-picker-indicator,
#ecmForm-div input[type="time"]::-webkit-calendar-picker-indicator{
    cursor: pointer !important;
}
