
@media (max-width: 400px) {
  #tripContainer{
    width:400px !important  #define minimum width that does not overlap trip type elements
  }

}
@media (min-width: 992px) {
  .booking-param-container {
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
  }
}
@media (max-width: 992px) {
  .booking-param-section {
      width: 100vw !important;
  }
}
@media (max-width: 736px) {
  .policy-text {
      text-align: justify !important;
  }
}
@media (min-width: 992px) and (max-width:1468px) {
  .policy-text {
      text-align: justify !important;
  }
}

@font-face {
    font-family: Montserrat-Regular;
    src: url(../fonts/Montserrat-Regular.otf);
}

@font-face {
    font-family: Montserrat-Bold;
    src: url(../fonts/Montserrat-Bold.otf);
}

@font-face {
    font-family: Montserrat-SemiBold;
    src: url(../fonts/Montserrat-SemiBold.otf);
}

body {
    margin: 0;
    height: 100%;
    overflow: hidden;
    font-family: 'Montserrat-Regular';
}

#map {
    width:100vw;
    height:100vh;
}

.booking-param-section {
    height: 350px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: calc(100vw/2);
}

#tripType.booking-param-section {
    height: 170px;
}
.trip-type-wrapper {
        height:120px;
        padding-top:5px;
        padding-bottom: 5px;
        white-space: nowrap;
    }
#fareEstimate.booking-param-section {
    height: 265px;
}

#schedule.booking-param-section {
    height: 254px;
    text-align: center;
}

#confirmation.booking-param-section {
    height: 325px;
}

#continueSchedule, #doneConfirmation {
  width: 135px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
}

#closeSchedule {
    top: 18px;
}

.btn-booking-step-proceed {
    width: calc(100% - 20px);
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    margin: auto;
}

.btn-booking-step-option {
    width: calc(50% - 10px);
    position: absolute;
    bottom: 10px;
}

#closeFareEstimate {
    left: 5px;
}

#confirmFareEstimate {
    right: 5px;
}

.btn-booking-step-cancel {
    position: absolute;
    top: 10px;
    right: 10px;
    margin: auto;
}

.booking-param-container {
    overflow: hidden;
    background-color: white;
    width: 100%;
    height: inherit;
    padding: 0;
}

.Booking_Param-Array {
    width: 100%;
    display: flex!important;
    flex-wrap: wrap;
    display: -webkit-box!important;
    display: -moz-box!important;
    display: -ms-flexbox!important;
    display: -webkit-flex!important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.Booking_Param-Array .param-array-item {
    width: 80px;
    height: 75px;
    border-radius: 50%;
    text-align: center;
    margin: 10px;
    margin-left: 4%;
    margin-right: 4%;
    cursor: pointer;
}

.param-array-item img {
    width: 70px;
    height: 70px;
}

.param-caption {
    margin-top: 5px;
    font-size: 10px;
}

.param-caption.active {
    color: #218838;
}

.booking-location-section {
    height: 92.5px;
    position: absolute;
    top: 80px;
    left: 10vw;
    right: 10vw;
    margin: auto;
}

.booking-location-section .booking-param-container {
    border-radius: 10px;
}

@media(min-width: 1280px) {
    .Booking_Param-Array .param-array-item {
        margin-left: 6%;
        margin-right: 6%;
    }
}

@media(min-width: 660px) and (max-width: 760px) {
    .Booking_Param-Array .param-array-item {
        margin-left: 6%!important;
        margin-right: 6%!important;
    }
}

#sourceSearch, #destinationSearch {
    margin: 10px 20px 10px 30px;
    width: calc(100% - 50px);
    right: 0;
    left:0;
    height: 38px;
    border: none;
    padding: 0;
}

#sourceSearch:focus, #destinationSearch:focus {
    outline: none!important;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#sourceAddressMarker li, #destinationAddressMarker li {
    font-size: 15px;
    color: grey;
}

#locSeparator {
    margin: 0 30px 0 30px;
}

#carTypeSlider {
    margin-top: 50px;
    height: 150px;
    width: 100%;
}

.car-type {
    height: 120px;
    text-align: center;
}

.car-type img {
    width: 100px;
    height: 100px;
}
.trip-type .trip-type-image {
    width: 80px;
    height: 80px;
}
.trip-type {
    height: 80px;
    text-align: center;
    cursor: pointer;
}


/* Time and Duration Screen */
.time-header {
    background-color: whitesmoke;
    text-align: center;
    padding: 5px 0;
    display: inline-grid;
    width: 100%;
}

.time-header * {
    margin-bottom: 3px;
}

.timing-params-container {
  background-color: white;
  box-shadow: 0 1px 3px grey;
  text-align: center;
  cursor: pointer;
  display: inline-grid;
  width: 100%;
}

.timing-params-container p {
    font-size: 16px;
    padding: 8px 0;
    margin-bottom: 1px;
}


#date-picker-header, #time-picker-header {
    background-color: rgb(34, 73, 86);
}

#date-picker, #time-picker {
    position: relative;
    left: 0;
    bottom: 0!important;
    max-width: auto;
}

#datePickerModal .modal-content, #timePickerModal .modal-content {
    margin-top: 5%;
    margin-left: 20%;
    width: 60%;
    background: none;
    max-width: none;
}

.enabled-date.selected {
    background-color: rgb(34, 73, 86);
}

/* Time and Duration Screen */
.estimate-header {
    background-color: var(--d4m-default-green);
    padding: 5px 0;
    height: 75px;
    position: relative;
    text-align: center;
}

.estimate-header * {
    margin-bottom: 3px;
}
.estimatedAmount{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.estimate-style{
  font-size: 24px;
  vertical-align: middle;
  margin-right: 5px;
  margin-left: 5px;
}
.confirm-estimate-style{
  padding-left: 42px;
  font-size: 24px;
  vertical-align: middle;
  margin-right: 5px;
  margin-left: 5px;
}
.pre-estimate-element {
    width: 32px;
    cursor: pointer;
    margin-right: 10px;
    margin-left: 10px;
}
.pre-estimate-header-element {
    width: 32px;
    cursor: pointer;
    margin-right: 5px;
    margin-left: 5px;
}

.center-header-estimate {
  margin-right: 42px;
}

.pre-book-alter {
    padding: 0px;
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    top: 50%;
    position: relative;
    transform: translateY(-50%);
    padding-top: 12px;
    padding-bottom: 12px;
    border-right: 1px solid darkgray;
}

.estimate-holder-button-size{
  height: 66px;
  padding: 0px;
  margin: 0px;
}
.estimate-holder-size{
  height: 132px
}

.pre-book-alter-right {
    padding: 0px;
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    top: 50%;
    position: relative;
    transform: translateY(-50%);
    padding-top: 12px;
    padding-bottom: 12px;
}

.param-change-container {
    height: 66px;
    padding: 0px;
    border-bottom: 1px solid darkgrey;
}

.param-change-container-right {
    height: 66px;
    padding: 0px;
    border-bottom: 1px solid darkgrey;
}

.date-text, .time-text, .coupon-text, .pre-book-text, .dur-text, .payment-text {
    font-size: 15px;
}

#wrapper-source{
  margin-left: 10px;
  margin-top:10px;
  display: inline-block;
  white-space: nowrap;
}

.green-circle {
    background-color: green;
    border:1px solid green;
    height:10px;
    border-radius:50%;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
    width:10px;
    margin: auto;
    display: inline-flex;
}

.from-address{
  margin-left: 10px;
  display: inline-flex;
}

#wrapper-destination{
  margin-left: 10px;
  margin-top:10px;
  display: inline-block;
  white-space: nowrap;
}

.red-circle {
    background-color: red;
    border:1px solid red;
    height:10px;
    border-radius:50%;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
    width:10px;
    margin: auto;
    display: inline-flex;
}

.circle-inactive {
    background-color: white!important;
}

.to-address{
    margin-left: 10px;
    display: inline-flex;
}

.trip-type-caption {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    vertical-align: middle;
    line-height: 30px;
    margin: 0;
}

.trip-type.active + .trip-type-caption .trip-type-information {
    display: inline-block!important;
}

.trip-type.active + .trip-type-caption {
    color: #17AA57!important;
}

#estimateBreakdownModal {
    width: 350px;
    margin-top: 25vh;
    margin-left: calc(50vw - 175px);
    margin-right: calc(50vw - 175px);
}

#estimateBreakdownModal .modal-content {
    border-radius: 0;
}

#estimateBreakdownModal .modal-header {
    border: none;
    padding-bottom: 4px;
}

#estimateBreakdownModal .modal-body {
    padding-top: 4px;
    padding-bottom: 8px;
}

#estimateBreakdownModal .modal-footer {
    padding: 0;
    padding-top: 4px;
}

.est-breakdown-header {
    text-align: center;
    width: 100%;
    padding: 15px 15px 10px 15px;
    border-bottom: 3px solid #17AA57;
}

.est-breakdown-header h5, .confirmation-header h5 {
    margin: 0;
    font-size: 20px;
}

.breakdown-table {
    width: 100%;
    font-size: 18px;
}

.component-text {
    color: #17AA57;
}

.component-value {
    text-align: right;
    color: #FF2121;
}

.info-text {
    font-size: 11px;
}

.modal-close {
    color: #17AA57;
}

.confirmation-header {
    width: auto;
    margin: auto;
    left: 0;
    right: 0;
    border-radius: 50px;
    top: 0;
    bottom: 0;
    background-color: whitesmoke;
    text-align: center;
    display: table;
}

#confimationHeadLeft {
    display: table-cell;
    text-align: center;
    border-right: 1px solid grey;
    margin: 0;
    width: 65px;
}

#confirmationHeadLeft img {
    height: 65px;
}

#confimationHeadRight {
    display: table-cell;
    width: 225px;
    text-align: center;
    padding: 12px;
    margin: 0;
}

.fare-confirmation {
    padding: 5px 0;
    height: 85px;
    position: relative;
    text-align: center;
}

.center-header-final-fare {
  margin-right: 0;
}

.booking-details-table {
    width: 100%;
    font-size: 14px;
    text-align: center;
}

.booking-details-table td {
    border: none;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.element-table-left {
    border-right: 1px solid grey!important;
    width: 50%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.confirmation-text {
    font-size: 12px;
    margin-bottom: 3px;
}

.policy-text {
    text-align: center;
    margin: 1px;
    margin-left: 8px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#onTripDetails.booking-param-section.shrinked {
    height: 120px!important;
}

#onTripDetails.booking-param-section.extended-section {
    height: 300px!important;
}

#onTripDetails {
    border-top: 3px solid var(--d4m-default-green);
    transition: height 0.25s ease-in-out;
    -webkit-transition: height 0.5s ease-in-out;
    -moz-transition: height 0.5s ease-in-out;
    -ms-transition: height 0.5s ease-in-out;
    -o-transition: height 0.5s ease-in-out;
}

#onTripExtensionToggle {
    border-radius: 50%;
    position: absolute;
    top: -20px;
    height: 40px;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 3;
    padding: 8px;
}

#onTripExtensionToggle img {
    height: 24px;
}

#onTripHeader {
    border-radius: 25px;
    background-color: var(--d4m-default-green);
    text-align: center;
    position: absolute;
    width: fit-content;
    top: 30px;
    left: 0;
    right: 0;
    margin: auto;
    height: 32px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.on-trip-header-text {
    color: white;
    font-family: "Montserrat-SemiBold";
    font-size: 15px;
}

#onTripDetails .booking-param-container {
    overflow: visible;
}

.on-trip-details {
    text-align: center;
    padding: 10px;
}

.extended-content {
    height: 175px;
    overflow: hidden;
    transition: height 0.5s ease-in-out, padding-top 0.5s ease-in-out, padding-bottom 0.5s ease-in-out, padding-left 0.5s ease-in-out, padding-right 0.5s ease-in-out;
    -webkit-transition: height 0.5s ease-in-out, padding-top 0.5s ease-in-out, padding-bottom 0.5s ease-in-out, padding-left 0.5s ease-in-out, padding-right 0.5s ease-in-out;
    -moz-transition: height 0.5s ease-in-out, padding-top 0.5s ease-in-out, padding-bottom 0.5s ease-in-out, padding-left 0.5s ease-in-out, padding-right 0.5s ease-in-out;
    -ms-transition: height 0.5s ease-in-out, padding-top 0.5s ease-in-out, padding-bottom 0.5s ease-in-out, padding-left 0.5s ease-in-out, padding-right 0.5s ease-in-out;
    -o-transition: height 0.5s ease-in-out, padding-top 0.5s ease-in-out, padding-bottom 0.5s ease-in-out, padding-left 0.5s ease-in-out, padding-right 0.5s ease-in-out;
}

.shrinked .extended-content {
    padding: 0!important;
    padding-top: 0!important;
    height: 0!important;
    overflow: hidden;
    transition: height 0.5s ease-in-out, padding-top 0.5s ease-in-out, padding-bottom 0.5s ease-in-out, padding-left 0.5s ease-in-out, padding-right 0.5s ease-in-out;
    -webkit-transition: height 0.5s ease-in-out, padding-top 0.5s ease-in-out, padding-bottom 0.5s ease-in-out, padding-left 0.5s ease-in-out, padding-right 0.5s ease-in-out;
    -moz-transition: height 0.5s ease-in-out, padding-top 0.5s ease-in-out, padding-bottom 0.5s ease-in-out, padding-left 0.5s ease-in-out, padding-right 0.5s ease-in-out;
    -ms-transition: height 0.5s ease-in-out, padding-top 0.5s ease-in-out, padding-bottom 0.5s ease-in-out, padding-left 0.5s ease-in-out, padding-right 0.5s ease-in-out;
    -o-transition: height 0.5s ease-in-out, padding-top 0.5s ease-in-out, padding-bottom 0.5s ease-in-out, padding-left 0.5s ease-in-out, padding-right 0.5s ease-in-out;
}

.extended-section .on-trip-container.extended-content {
    padding-top: 60px!important;
}

#livePaymentMode {
    border: 1px solid var(--d4m-default-green);
    padding: 3px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 25px;
    display: inline-block;
}

#livePaymentMode img {
    height: 20px;
    margin-right: 10px;
}

.on-trip-details p {
    margin: 0;
    font-size: 15px;
}

#liveTripStart {
    font-size: 18px!important;
    font-family: "Montserrat-SemiBold";
    color: var(--d4m-default-green);
}

#liveTripDur, #liveTripFare {
    font-size: 22px;
    font-family: "Montserrat-SemiBold";
    color: var(--d4m-default-green);
}

#onTripDetails .booking-param-container {
    border-radius: 0!important;
}

.live-trip-label {
    font-size: 13px!important;
}

.on-trip-button {
    border-radius: 25px;
    bottom: 5px;
    min-width: 140px;
}

#liveDriverName {
    font-family: "Montserrat-SemiBold";
    color: var(--d4m-default-green);
}

#driverPicture {
    border-radius: 50%;
    height: 60px;
}

#newBooking {
    position: fixed;
    bottom: 180px;
    left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    background-color: var(--d4m-default-green);
    color: white;
    width: 190px;
    transition: width 0.25s ease-in-out, bottom 0.5s ease-in-out, left 0.5s ease-in-out;
    -webkit-transition: width 0.25s ease-in-out, bottom 0.5s ease-in-out, left 0.5s ease-in-out;
    -moz-transition: width 0.25s ease-in-out, bottom 0.5s ease-in-out, left 0.5s ease-in-out;
    -ms-transition: width 0.25s ease-in-out, bottom 0.5s ease-in-out, left 0.5s ease-in-out;
    -o-transition: width 0.25s ease-in-out, bottom 0.5s ease-in-out, left 0.5s ease-in-out;
}

#newBooking.button-hide {
    left: -250px!important;
}

#newBooking:hover {
    width: 210px;
    font-family: "Montserrat-SemiBold";
}

#newBooking.extended {
    bottom: 315px;
}

#liveTripRefresh {
    position: fixed;
    left: calc(50vw - 101px);
    right: calc(50vw - 101px);
    margin: auto;
    top: 120px;
    background-color: var(--d4m-default-green);
    color: white;
    border-radius: 25px;
    padding-left: 10px;
    padding-right: 10px;
    width: 200px;
    transition: top 0.8s ease-in-out, width 0.25s ease-in-out, left 0.25s ease-in-out, right 0.25s ease-in-out;
    -webkit-transition: top 0.8s ease-in-out, width 0.25s ease-in-out, left 0.25s ease-in-out, right 0.25s ease-in-out;
    -moz-transition: top 0.8s ease-in-out, width 0.25s ease-in-out, left 0.25s ease-in-out, right 0.25s ease-in-out;
    -ms-transition: top 0.8s ease-in-out, width 0.25s ease-in-out, left 0.25s ease-in-out, right 0.25s ease-in-out;
    -o-transition: top 0.8s ease-in-out, width 0.25s ease-in-out, left 0.25s ease-in-out, right 0.25s ease-in-out;
}

#liveTripRefresh.button-hide {
    top: -250px!important;
}

#currentTripDetails {
    position: fixed;
    padding-top: 10px;
    padding-bottom: 10px;
    bottom: 180px;
    left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    background-color: var(--d4m-default-orange);
    border-color: var(--d4m-default-orange);
    color: white;
    width: 190px;
    transition: width 0.25s ease-in-out, bottom 0.8s ease-in-out, left 0.8s ease-in-out;
    -webkit-transition: width 0.25s ease-in-out, bottom 0.8s ease-in-out, left 0.8s ease-in-out;
    -moz-transition: width 0.25s ease-in-out, bottom 0.8s ease-in-out, left 0.8s ease-in-out;
    -ms-transition: width 0.25s ease-in-out, bottom 0.8s ease-in-out, left 0.8s ease-in-out;
    -o-transition: width 0.25s ease-in-out, bottom 0.8s ease-in-out, left 0.8s ease-in-out;
}

#currentTripDetails.button-hide {
    left: -250px!important;
}

#currentTripDetails:hover {
    width: 210px;
    font-family: "Montserrat-SemiBold";
}

#trackDriver {
    position: fixed;
    padding-top: 10px;
    padding-bottom: 10px;
    bottom: 180px;
    left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    background-color: var(--d4m-default-orange);
    border-color: var(--d4m-default-orange);
    color: white;
    width: 160px;
    transition: width 0.25s ease-in-out, bottom 0.8s ease-in-out, left 0.8s ease-in-out;
    -webkit-transition: width 0.25s ease-in-out, bottom 0.8s ease-in-out, left 0.8s ease-in-out;
    -moz-transition: width 0.25s ease-in-out, bottom 0.8s ease-in-out, left 0.8s ease-in-out;
    -ms-transition: width 0.25s ease-in-out, bottom 0.8s ease-in-out, left 0.8s ease-in-out;
    -o-transition: width 0.25s ease-in-out, bottom 0.8s ease-in-out, left 0.8s ease-in-out;
}

#trackDriver.button-hide {
    left: -250px!important;
}

#trackDriver:hover {
    width: 180px;
    font-family: "Montserrat-SemiBold";
}

#pendingBookings {
    position: fixed;
    padding-top: 10px;
    padding-bottom: 10px;
    bottom: 180px;
    left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    background-color: var(--d4m-default-orange);
    border-color: var(--d4m-default-orange);
    color: white;
    width: 230px;
    transition: width 0.25s ease-in-out, bottom 0.8s ease-in-out, left 0.8s ease-in-out;
    -webkit-transition: width 0.25s ease-in-out, bottom 0.8s ease-in-out, left 0.8s ease-in-out;
    -moz-transition: width 0.25s ease-in-out, bottom 0.8s ease-in-out, left 0.8s ease-in-out;
    -ms-transition: width 0.25s ease-in-out, bottom 0.8s ease-in-out, left 0.8s ease-in-out;
    -o-transition: width 0.25s ease-in-out, bottom 0.8s ease-in-out, left 0.8s ease-in-out;
}

#pendingBookings.button-hide {
    left: -300px!important;
}

#pendingBookings:hover {
    width: 250px;
    font-family: "Montserrat-SemiBold";
}

.animated-hover-widen:hover {
    font-family: "Montserrat-SemiBold";
}

#liveTripRefresh.animated-hover-widen:hover {
    width: 210px;
    left: calc(50vw - 106px);
    right: calc(50vw - 106px);
}

.trip-type-information {
    height: 14px!important;
    display: none;
    margin-bottom: 3px;
}

#pendingBookings .badge {
    color: var(--d4m-default-orange);
}

@media(max-width: 480px) {
    .trip-type-image {
        height: 60px!important;
        width: 60px!important;
    }

    .trip-type{
        height: 60px;
    }

    .trip-type-caption {
        font-size: 12px;
    }

    .trip-type-information {
        display: none!important;
    }

    .trip-type-wrapper {
        height:100px;
    }
    #tripType.booking-param-section {
        height: 150px;
    }

    .pre-book-alter span, .pre-book-alter-right span {
        font-size: 12px;
    }

    .pre-estimate-element {
        margin-left: 3px;
        margin-right: 0;
    }

    .payment-mode-text {
        font-size: 11px;
    }

    .on-trip-details {
        margin-left: 0!important;
        margin-right: 0!important;
    }

    .shrinked #liveTripDur, .shrinked #liveTripFare {
        font-size: 20px;
    }

    .extended-section #liveTripStart, .extended-section #liveTripDur,
    .extended-section #liveTripFare, .extended-section #liveDriverName {
        font-size: 11px!important;
    }

    .extended-section .on-trip-details {
        margin-top: 70px!important;
    }
}

.transmission-option {
    min-width: 140px;
    color: #28a745;
    border: 1px solid #28a745!important;
}

.transmission-option:hover {
    background-color: rgba(40, 167, 70, 0.3);
    border: 1px solid #28a745!important;
    color: #28a745;
    border-color: #28a745!important;
}

.transmission-option.active {
    background-color: #28a745!important;
    color: white;
    border: 1px solid #28a745!important;
    border-color: #28a745!important;

}

.transmission-option, .transmission-option:hover,
.transmission-option:focus, .transmission-option.active {
    outline: none!important;
    border-color: #28a745!important;
    box-shadow: none!important;
}

#pricingInfo {
    width: 24px;
    margin-left: 5px;
    margin-right: 5px;
    cursor: pointer;
}
