/* Common CSS */
.t-flex {
    display: flex;
    justify-content: space-between;
}

.input-wrapper {
    position: relative;
    border: 1px solid rgb(238, 238, 238);
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    z-index: 99;
    left: 0; 
    right: 0;
    background: #fff;
}

.error {
    border: 2px solid #FF0000;
    background-color: #FFD6D6;
}

div#status_bar .error {
    padding: 8px 14px;
    margin: 20px 20px 0px 20px;
    font-size: 1rem;
}

/* Steps */
.step-indicator.active {
    font-weight: 600;
}

button.prev_step.back {
    text-decoration: none;
    border: none;
    background: transparent!important;
    width: 100%;
    padding: 10px;  
    cursor: pointer;
    color: #2e2e2e!important;
    font-weight: 600;
    font-size: 16px!important;
}

button.prev_step.back:hover {
    color: #767676!important;
}

button.prev_step.back:before {
    content: "\f060";
    font-family: "Font Awesome 5 Free";
    margin-right: 10px;
}

/* CSS for the shortcode form */
.step1,
.step2,
.step3 {
    padding: 15px 20px;
    border: none!important;
}

#transport_quote_form {
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);
    background: #fff;
    padding-top: 2px;
    margin: 60px 0px;
}

.step1 label,
.step2 label,
.step3 label {
    color: #161616;
    display: block;
    font-size: 14px;
}

.step1 input[type="text"],
.step2 input[type="text"],
.step3 input[type="text"],
.step3 input[type="email"] {
    width: calc(100% - 20px);
    background-color: transparent!important;
    border: none;
    color: #1b1b1b;
    outline: none;
    padding: 10px 0;

}

.step3 input[type="email"], .step3 input[type="text"] {
    border: 1px solid rgb(238, 238, 238);
    padding: 10px;
    margin-bottom: 12px;
}

.step1 .awesomplete,
.step2 .awesomplete,
.step3 .awesomplete {
    width: 100%;
}

.step1 button.next_step,
.step2 button.next_step,
input#transport_quote_form_submit {
    width: 100%;
    background: linear-gradient(to right, #000000 50%, #f50000 50%) no-repeat scroll right bottom / 210% 100% #f50000;
    cursor: pointer;
    margin-top: 20px;
    padding: 14px 8px;
    font-weight: 600;
    border: none;
}

.step-indicators {
    border-top: 1px solid rgb(238, 238, 238);
    padding: 15px 20px;
    position: relative;
}

.step-indicators .step-indicator {
    display: block;
    width: 80px;
}

.step-indicator {
    text-align: center;
}

.step-indicator .number {
    display: grid;
    place-items: center;
    background: linear-gradient(to right, #000000 50%, #f50000 50%) no-repeat scroll right bottom / 210% 100% #f50000;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 auto;
}

.step-indicators .step-indicator .number:not(.step-indicators .step-indicator.active .number) {
    background: transparent;
    color: #000;
    border: 1px solid #1b1b1b;
    opacity: .6;
}

.step-indicators .step-indicator {
    font-size: 13px;
}

.step-indicators:after {
    content: "";
    display: inline-block;
    height: 1px;
    width: calc(100% - 40px);
    background: #7e7e7e;
    position: absolute;
    top: 35px;
    left: 20px;
    z-index: 0;
}

.step-indicators .step-indicator {
    position: relative;
    min-width: 75px;
    background: #fff;
    z-index: 1;
}

.step-indicators .step-indicator:last-child:after {
    display: none;
}

.step-indicators .step-indicator.active {
    color: #F50000;
}

.step1 input[type="radio"] + label:before {
    left: 1px;
}

.radio label:before {
    font-size: 3rem!important;
    line-height: 0.93rem!important;
}

.step1 input[type="radio"] + label, .step2 input[type="radio"] + label {
    margin-right: 5px;
    color: #1b1b1b!important;
    font-size: 13px;
}

.transport_type_label {
    display: inline-block;
    padding: 10px 0;
}

.step_form_textbox_container, .input-wrapper {
    border: 1px solid rgb(238, 238, 238);
    padding: 10px 15px 0;
}

.step2 .input-wrapper, .step3 .input-wrapper  {
    margin-bottom: 10px;
}

.step_form_textbox_container input[type="text"] {
    border: unset;
    padding: 10px 0;
}

.step_form_textbox_container:nth-child(2) {
    border-top: unset;
}

.step_form_textbox_container input[type="text"]::placeholder {
    color: #1b1b1b94;
    opacity: 1;
    font-size: 14px;
}

.step_form_textbox_container .bootstrap-autocomplete.dropdown-menu a,
.step_form_textbox_container .bootstrap-autocomplete.dropdown-menu a b,
.autocomplete-items>div {
    color: #1b1b1b;
    overflow: unset;
    cursor: pointer;
    text-decoration: none;
}

.step_form_textbox_container .bootstrap-autocomplete.dropdown-menu a,
.autocomplete-items>div {
    display: block;
    padding: 5px 14px;
}

.step_form_textbox_container .bootstrap-autocomplete.dropdown-menu a:hover,
.step_form_textbox_container .bootstrap-autocomplete.dropdown-menu a b:hover,
.autocomplete-items>div:hover {
    background: #ededed;
}

.step_form_textbox_container .bootstrap-autocomplete.dropdown-menu, .autocomplete-items {
    display: flex;
    flex-direction: column;
    position: absolute;
    background: #fff;
    z-index: 2;
    max-height: 350px;
    overflow-y: scroll;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    margin-top: 5px;
}

@media only screen and (max-width: 400px) {
    .step-indicators .step-indicator {
        min-width: unset;
    }
}

.step_form_textbox_container .bootstrap-autocomplete.dropdown-menu.hide {
    display: none;
}


.calculate_cost {
    width: 100%;
    background: linear-gradient(to right, #000000 50%, #f50000 50%) no-repeat scroll right bottom / 210% 100% #f50000;
    cursor: pointer;
    margin-top: 20px;
    padding: 9px;
}

#yearautocomplete-list div strong,
#makeautocomplete-list div strong {
    color: #161616;
}

.step2 input[type="radio"] + label:before {
    font-size: 1.7rem;
    color: #000;
    left: 1px;
}

#transport_quote_form .thank-you {
    background: #fff;
    padding: 30px 20px 12px;
}

#transport_quote_form .thank-you h3 {
    color: #161616;
    font-size: 26px;
}

/* CSS to make the "Agreement" text blue */
.agreement-tooltip span[style="color: blue;"] {
    color: blue;
    cursor: pointer;
}
/* CSS for the tooltip-like behavior */
.agreement-tooltip {
    position: relative;
}

/**
 * Tooltip Styles
 */

/* Add this attribute to the element that needs a tooltip */
[data-tooltip] {
    position: relative;
    z-index: 2;
    cursor: pointer;
}
  
/* Hide the tooltip content by default */
[data-tooltip]:before,
[data-tooltip]:after {
    visibility: hidden;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0;
    pointer-events: none;
}

label[for="terms_and_conditions"] p {
    border: none!important;
    display: flex;
    align-items: center;
}
label[for="terms_and_conditions"] p input {
    margin-right: 10px;
	display: unset;
}
  
.thank-you {
    text-align: center;
}
/* Position tooltip above the element */
[data-tooltip]:before {
    position: absolute;
    bottom: 150%;
    left: 50%;
    margin-bottom: 5px;
    margin-left: -80px;
    padding: 7px;
    width: 250px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background-color: #000;
    background-color: hsla(0, 0%, 20%, 0.9);
    color: #fff;
    content: attr(data-tooltip);
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
}
  
/* Triangle hack to make tooltip look like a speech bubble */
[data-tooltip]:after {
    position: absolute;
    bottom: 150%;
    left: 50%;
    margin-left: -5px;
    width: 0;
    border-top: 5px solid #000;
    border-top: 5px solid hsla(0, 0%, 20%, 0.9);
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    content: " ";
    font-size: 0;
    line-height: 0;
}
  
/* Show tooltip content on hover */
[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
    visibility: visible;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
}

.tooltip {
    color: #000;
}

/* CSS for error message */
.error-message {
    color: red;
    display: none;
}
label[for="terms_and_conditions"]{
    position: relative;
}
label[for="terms_and_conditions"]:hover .tool_tip_terms_and_condition_data{
    display: block;
}

.tool_tip_terms_and_condition_data{
    display: none;
    position: absolute;
    bottom: 100%;
    left: 40%;
    margin-bottom: 5px;
    margin-left: -80px;
    padding: 10px;
    width: 250px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background-color: #000;
    background-color: hsla(0, 0%, 20%, 0.9);
    color: #fff;
    content: attr(data-tooltip);
    text-align: center;
    font-size: 13px;
    line-height: 1.2;
    
}
.tool_tip_terms_and_condition_data::after{
    position: absolute;
    bottom: -2.5%;
    left: 50%;
    margin-left: -5px;
    width: 0;
    border-top: 5px solid #000;
    border-top: 5px solid hsla(0, 0%, 20%, 0.9);
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    content: " ";
    font-size: 0;
    line-height: 0;
}