/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.ui-state-disabled {
    opacity: 0.2;
    vertical-align: middle;
}

.tf-booking-form  {
    padding: 28px;
    border: 1px solid #A3ABB0;
    background: #fff;
    border-radius: 15px;
}


.tf_booking_form {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    margin-left: -30px;
    flex-wrap: wrap;
    row-gap: 30px;
}

.tf_booking_message {
    margin-bottom: 0;
}

.tf_booking_message > * {
    margin-top: 20px;
}

.tf_booking_form .form-group {
    width: calc(50% - 30px);
    margin-left: 30px;
    margin-bottom: 0;
}

.tf_booking_form .form-group.full {
    width: calc(100% - 30px);
    margin-left: 30px;
}

.tf_booking_form .wrap-button {
    width: calc(100% - 30px);
    margin-left: 30px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tf_booking_form select,
.tf_booking_form textarea,
.tf_booking_form input {
    border: 1px solid #A3ABB0;
    border-radius: 5px;
    padding: 15px 15px;
    margin-bottom: 0;
    color:  #5C6368;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
}

.tf_booking_form .wrap-button button,
.tf_booking_form .wrap-button a {
    white-space: break-spaces;
    border-radius: 4px;
    border: 1px solid #488343;
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
    text-align: center;
    padding: 10px 30px;
    color: #488343;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.tf_booking_form .wrap-button button,
.tf_booking_form .wrap-button a:hover {
    background: #488343;
    color: #fff;
}

.tf_booking_form .wrap-button button:hover {
    background: #fff;
    color: #488343;
}

.tf_booking_form .form-group.date {
    position: relative;
}


.tf_booking_form .form-group.date input {
    position: relative;
    z-index: 5;
    background: transparent;
}

.tf_booking_form .form-group.date svg {
    position: absolute;
    right: 19px;
    top: 21px;
    z-index: 0;
}

.tf_booking_form .form-group .error {
    color: red;
    margin-bottom: 5px;
}

#tf_booking_submit.loading {
    position: relative;
    border-color: #fff;
}

#tf_booking_submit.loading:after {
    background-color: #fff;
    width: 100%;
    height: 100%;
    z-index: 100;
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.7;
}

#tf_booking_submit.loading:before {
    border-width: 3px;
    border-color: #666 #666 #666 transparent;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    border-style: solid;
    -webkit-animation: fl-spin-fast 1s linear infinite;
    animation: fl-spin-fast 1s linear infinite;
    content: " ";
    width: 20px;
    height: 20px;
    left: 50%;
    margin-top: -10px;
    top: 50%;
    transform: translate(-50%,-50%);
    transition: all 0.3s ease;
    position: absolute;
    background-color: #fff;
    z-index: 10;
}


@keyframes fl-spin-fast {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
        animation-timing-function: cubic-bezier(.55, .055, .675, .19)
    }
    50% {
        -webkit-transform: rotate(900deg);
        transform: rotate(900deg);
        animation-timing-function: cubic-bezier(.215, .61, .355, 1)
    }
    to {
        -webkit-transform: rotate(1800deg);
        transform: rotate(1800deg)
    }
}

@-webkit-keyframes fl-spin-fast {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
        animation-timing-function: cubic-bezier(.55, .055, .675, .19)
    }
    50% {
        -webkit-transform: rotate(900deg);
        transform: rotate(900deg);
        animation-timing-function: cubic-bezier(.215, .61, .355, 1)
    }
    to {
        -webkit-transform: rotate(1800deg);
        transform: rotate(1800deg)
    }
}

@-o-keyframes fl-spin-fast {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
        animation-timing-function: cubic-bezier(.55, .055, .675, .19)
    }
    50% {
        -webkit-transform: rotate(900deg);
        transform: rotate(900deg);
        animation-timing-function: cubic-bezier(.215, .61, .355, 1)
    }
    to {
        -webkit-transform: rotate(1800deg);
        transform: rotate(1800deg)
    }
}

@-ms-keyframes fl-spin-fast {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
        animation-timing-function: cubic-bezier(.55, .055, .675, .19)
    }
    50% {
        -webkit-transform: rotate(900deg);
        transform: rotate(900deg);
        animation-timing-function: cubic-bezier(.215, .61, .355, 1)
    }
    to {
        -webkit-transform: rotate(1800deg);
        transform: rotate(1800deg)
    }
}


@media only screen and (max-width: 670px) {
    .tf_booking_form .form-group {
        width: calc(100% - 30px);
    }

    .tf_booking_form .wrap-button {
        flex-wrap: wrap;
    }
}

@media only screen and (max-width: 630px) {

    .tf_booking_form .wrap-button > * {
        width: 100%;
    }

    .tf-booking-form {
        padding: 20px;
    }
}

@media only screen and (max-width: 400px) {

    .tf_booking_form .wrap-button button, 
    .tf_booking_form .wrap-button a  {
        padding: 10px;
    }

    .tf-booking-form {
        padding: 15px;
    }
}