/* Button loading animation */
.lf_btn_loader {
    display: none;
    margin-right: 8px;
}

.lf_btn_loader_ring {
    display: inline-block;
    position: relative;
    width: 14px;
    height: 14px;
}

.lf_btn_loader_ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 14px;
    height: 14px;
    margin: 2px;
    border: 2px solid #d3d3d3;
    border-radius: 50%;
    animation: lf_loader_ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #d3d3d3 transparent transparent transparent;
}

.lf_btn_loader_ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lf_btn_loader_ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lf_btn_loader_ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lf_loader_ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Disable default theme page header */
.main-page-title.page-title {
    display: none;
}

.lf_placeholder {
    display: none;
    visibility: hidden;
}

/* Snackbar */
#lf_snackbar {
    visibility: hidden;
    transform: translateX(-50%);
    background-color: #1f2124;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 10px 50px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
}

#lf_snackbar.error {
    background-color: #c5280c;
}

#lf_snackbar.show {
    visibility: visible;
    -webkit-animation: lf_snackbar_fadein 0.5s, lf_snackbar_fadeout 0.5s 2.5s;
    animation: lf_snackbar_fadein 0.5s, lf_snackbar_fadeout 0.5s 2.5s;
}

@-webkit-keyframes lf_snackbar_fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes lf_snackbar_fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes lf_snackbar_fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes lf_snackbar_fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

/* FadeIn animation */
@keyframes lf_fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Firefox < 16 */
@-moz-keyframes lf_fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes lf_fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Internet Explorer */
@-ms-keyframes lf_fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Loading ring anumation */
.lf_container {
    width: 100%;
    text-align: center;
}

.lf_ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lf_ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #d3d3d3;
    border-radius: 50%;
    animation: lf_ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #d3d3d3 transparent transparent transparent;
}

.lf_ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lf_ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lf_ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lf_ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.lf_header {
    text-align: center;
    -webkit-animation: lf_fadein 500ms;
    -moz-animation: lf_fadein 500ms;
    -ms-animation: lf_fadein 500ms;
    -o-animation: lf_fadein 500ms;
    animation: lf_fadein 500ms;
}

.lf_subheader {
    text-align: center;
    -webkit-animation: lf_fadein 500ms;
    -moz-animation: lf_fadein 500ms;
    -ms-animation: lf_fadein 500ms;
    -o-animation: lf_fadein 500ms;
    animation: lf_fadein 500ms;
}

/* Lookup Form */
.lf_box {
    text-align: center;
}

.lf_grid {
    display: inline-block;
    border: 1px solid #e1e3e4;
    border-radius: 8px;
    padding: 30px;
    margin: 10px auto;
    -webkit-animation: lf_fadein 500ms;
    -moz-animation: lf_fadein 500ms;
    -ms-animation: lf_fadein 500ms;
    -o-animation: lf_fadein 500ms;
    animation: lf_fadein 500ms;
    /*background-color: #fffffff0;*/
}

.lf_grid .lf_header {
    padding: 0;
    margin: 20px;
}

.lf_form {
    max-width: 400px;
    min-width: 275px;
    margin: 0 auto;
}

.lf_row {
    padding: 8px;
}

.lf_row label {
    display: block;
    text-align: left;
}

.lf_row input[type=text],
.lf_row input[type=email],
.lf_row input[type=number] {
    width: 100%;
    padding: 7px 12px;
    border: 1px solid #e1e3e4;
    border-radius: 6px;
    background-color: #f8f9f9;
    color: #000000 !important;
}

.lf_row button {
    margin: 8px auto;
    width: 100%;
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
    border: 0;
    border-radius: 3px;
}

/* Orders */
.lf_orders_box {
    /*background-color: #ffffffdb;*/
    border-radius: 8px;
    padding: 10px 20px 20px 20px;
}

.lf_orders {
    border: 1px solid #d3d3d3;
    border-radius: 8px;
    -webkit-animation: lf_fadein 500ms;
    -moz-animation: lf_fadein 500ms;
    -ms-animation: lf_fadein 500ms;
    -o-animation: lf_fadein 500ms;
    animation: lf_fadein 500ms;
}

.lf_order {
    border-bottom: 1px solid #d3d3d3;
    /*background-color: #ffffff;*/
}

.lf_order:hover {
    background-color: #797979;
}

.lf_order:first-child {
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}

.lf_order:last-child {
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border-bottom: 0;
}

.lf_order_name {
    padding: 12px;
}

/* Delivery Time */
.lf_delivery_time {
    -webkit-animation: lf_fadein 500ms;
    -moz-animation: lf_fadein 500ms;
    -ms-animation: lf_fadein 500ms;
    -o-animation: lf_fadein 500ms;
    animation: lf_fadein 500ms;
    display: flex;
    flex-direction: column;
    gap: 10px;
    /*background-color: #ffffffdb;*/
    border-radius: 8px;
    padding: 10px 20px 20px 20px;
}

.lf_delivery_time img {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none;
}

.lf_box_img_box {
    text-align: center;
}

.lf_box_img {
    max-width: 128px !important;
    border: none !important;
    border-radius: 0 !important;
    display: inline-block !important;
    margin-bottom: 0 !important;
    margin-left: 12px !important;
}

.lf_tracking_number_row {
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    line-height: 20px;
}

.lf_status_row {
    text-align: center;
    font-weight: 600;
    font-size: 24px;
    line-height: 28px;
}

.lf_delivery_time_row {
    text-align: center;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

.lf_delivered_to_row {
    text-align: center;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

.lf_message_row {
    margin-top: 6rem;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
}

/* Status bar */
.lf_delivery_progress_bar div.main_container {
    width: 100%;
    max-width: 350px;
    padding: 0 15px;
    margin-left: auto;
    margin-right: auto;
    min-width: 350px;
}

.lf_delivery_progress_bar div.step_container {
    position: relative;
    margin-left: 40px;
    direction: ltr;
}

.lf_delivery_progress_bar div.step_container:before {
    content: '';
    position: absolute;
    height: 100%;
    width: 4px;
    top: 0;
    left: -12px;
    background: #d7d7d7;
}

.lf_delivery_progress_bar div.step_container:after {
    content: '';
    position: absolute;
    height: 100%;
    width: 4px;
    top: 0;
    left: -12px;
}

.lf_delivery_progress_bar div.step_wrapper {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 40px;
    left: -40px;
}

.lf_delivery_progress_bar div.step_wrapper:first-child {
    margin-top: 40px;
}

.lf_delivery_progress_bar div.step_style {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 3px solid #d7d7d7;
}

.lf_delivery_progress_bar div.steps_label_container {
    position: absolute;
    top: 27px;
    left: 25%;
    transform: translate(0, -50%);
}

.lf_delivery_progress_bar div.steps_image_container {
    position: absolute;
    top: 33px;
    left: 30px;
    transform: translate(-50%, -50%);
}

.lf_delivery_progress_bar div.steps_image_container img {
    width: 30px;
    max-width: 30px;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.lf_delivery_progress_bar div.steps_image_container img#box {
    width: 32px;
    max-width: 32px;
}

.lf_delivery_progress_bar div.steps_image_container img#cart {
    width: 26px;
    max-width: 26px;
}

@media screen and (min-width: 600px) {
    .lf_box_img {
        margin-left: 24px !important;
    }

    .lf_delivery_progress_bar div.main_container {
        max-width: 600px;
        margin-top: 50px;
        margin-bottom: 70px;
        min-width: initial;
    }

    .lf_delivery_progress_bar div.step_container {
        display: flex;
        justify-content: space-between;
        margin-left: 0;
    }

    .lf_delivery_progress_bar div.step_container:before {
        transform: translateY(-50%);
        top: 50%;
        height: 4px;
        width: 100%;
        left: 0;
    }

    .lf_delivery_progress_bar div.step_container:after {
        transform: translateY(-50%);
        top: 50%;
        height: 4px;
        width: 100%;
        left: 0;
    }

    .lf_delivery_progress_bar div.step_wrapper {
        width: 100px;
        text-align: center;
        margin-top: 0;
        margin-left: 0;
    }

    .lf_delivery_progress_bar div.step_wrapper:first-child {
        margin-top: 0;
        margin-right: 0;
        margin-left: 40px;
    }

    .lf_delivery_progress_bar div.step_wrapper:last-child {
        margin-right: -40px;
        margin-left: 0;
    }

    .lf_delivery_progress_bar div.step_style {
        margin: 0 auto;
        width: 100px;
        height: 100px;
    }

    .lf_delivery_progress_bar div.steps_label_container {
        top: 135px;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        line-height: normal;
    }

    .lf_delivery_progress_bar div.steps_label_container span {
        display: block;
        text-align: center;
    }

    .lf_delivery_progress_bar div.steps_image_container {
        position: absolute;
        top: 54px;
        left: 50px;
        transform: translate(-50%, -50%);
    }

    .lf_delivery_progress_bar div.steps_image_container img {
        width: 50px;
        max-width: 50px;
    }

    .lf_delivery_progress_bar div.steps_image_container img#box {
        width: 60px;
        max-width: 60px;
    }

    .lf_delivery_progress_bar div.steps_image_container img#cart {
        width: 46px;
        max-width: 46px;
    }
}