

.tracking main {
    background-color: #f9f9f9;
    padding-bottom: 55px;
    margin-bottom: -55px;
}

.tracking .page-header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 152px;
    padding: 0;
    background: url(/img/tracking/track_order_header.jpg) no-repeat center center;
    background-size: cover;
}

.tracking .page-header h1 {
    font-family: Lato;
    font-style: normal;
    font-weight: bold;
    font-size: 32px;
    line-height: 38px;
    color: #333333;
}

.tracking__container {
    width: 888px;
    max-width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

.tracking .illustration {
    position: relative;
    height: 254px;
}

.tracking .illustration:not(.not-found) .not-found__content {
    display: none;
}

.tracking .illustration .not-found__icon {
    position: absolute;
    top: 10px;
    left: 173px;
    width: 160px;
    height: 83px;
    object-fit: contain;
}

.tracking .illustration .not-found__message {
    position: absolute;
    top: 26px;
    right: 25px;
    width: 490px;
    padding: 29px 38px 26px;
    background: #FFFFFF;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 47.5px 47.5px 47.5px 0px;
    font-family: Lato;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.3;
    color: #333333;
}

.tracking .illustration .not-found__message a {
    color: #44c601;
    text-decoration: underline;
}

.tracking .illustration.result {
    background-image: url(/img/tracking/track_illustr_2.png);
}

.tracking .illustration.result #tracking-animation {
    display: none;
}

.tracking .illustration:not(.result) .result__message {
    display: none;
}

.tracking .illustration .result__message {
    position: absolute;
    top: 26px;
    /* right: 0; */
    left: calc(50% - 61px);
    width: 700px;
    max-width: calc(50vw + 50px);
    /* width: 490px; */
    padding: 30px 53px 30px 37px;
    background: #FFFFFF;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 30px 30px 30px 0px;
    font-family: Lato;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.3;
}

.tracking .illustration .result__message h3 {
    margin-bottom: 16px;
    font-family: Lato;
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 100%;
    color: #333333;
}

.tracking .illustration .result__message .result-info .info-item {
    margin-top: 5px;
    word-break: break-all;
}

.tracking .illustration .result__message .result-info .info-item:hover {
    white-space: normal;
}

.tracking .illustration .result__message .result-info .info-item .value {
    text-overflow: ellipsis;
    color: #46C700;
}

.tracking .illustration .result__message .result-info .info-item small {
    font-size: 11px;
    color: rgba(51, 51, 51, .5);
}

.tracking .form-wrap {
    width: 100%;
    padding: 30px 48px 48px;
    background: #FFFFFF;
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
}

.tracking .form-wrap .form-title {
    font-family: Lato;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    text-align: center;
    color: rgba(51, 51, 51, 0.7);
    margin-bottom: 17px;
}

.tracking .form-wrap .form-title h4 {
    font-family: Lato;
    font-style: normal;
    font-weight: bold;
    font-size: 21px;
    line-height: 30px;
    color: #333333;
    margin: 0;
}

.tracking .form-wrap .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.tracking .form-wrap .form-control {
    position: relative;
    margin-top: 15px;
}

.tracking .form-wrap input {
    display: block;
    width: 100%;
    background: #EFEFF0;
    border: 2px solid #EFEFF0;
    border-radius: 5px;
    color: #333;
    font-family: Lato;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 22px;
    color: #333;
    padding: 17px 20px;
    transition: all .2s;
}

.tracking .form-wrap input::placeholder {
    color: rgba(51, 51, 51, 0.5);
}

.tracking .form-wrap input:focus {
    outline: none;
    border-color: #919191;
}

.tracking .form-wrap .match input {
    border-color: #44c502;
}

.tracking .form-wrap .not-match input {
    border-color: red;
}

.tracking .form-wrap .invalid .form-validation {
    display: block;
    position: relative;
    left: 15px;
}

.tracking .form-wrap .btn-submit,
.tracking .show-result .mobile-result .btn-back {
    width: 100%;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8px 0;
    margin-bottom: 10px;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    -webkit-box-shadow: 0 3px 6px rgba(68, 197, 2, .25);
    box-shadow: 0 3px 6px rgba(68, 197, 2, .25);
    border-radius: 3px;
    background-color: #44c502;
    color: #fff;
    transition: all .2s;
}

.tracking .form-wrap .btn-submit:hover
.tracking .show-result .mobile-result .btn-back:hover {
    background-color: #4FE100;
}

.tracking .form-wrap .btn-submit:active
.tracking .show-result .mobile-result .btn-back:active {
    background-color: #40B600;
}

.tracking .form-wrap .not-match__message {
    margin-top: 15px;
    color: red;
    text-align: center;
}
.tracking .form-wrap .not-match__message:empty {
    margin-top: 0;
}

.tracking .cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 35px;
    font-family: Lato;
    font-style: normal;
    font-size: 14px;
    line-height: 17px;
    color: #333333;
}

.tracking .cta h5 {
    width: 100%;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 16px;
}

.tracking .modal-not-found .message a,
.tracking .cta a {
    display: block;
    margin-left: 15px;
    border: 2px solid #46C700;
    box-sizing: border-box;
    padding: 11px;
    border-radius: 3px;
    font-family: Lato;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 17px;
    text-align: center;
    text-transform: uppercase;
    color: #46C700;
    transition: all .2s;
}

.tracking .modal-not-found .message a {
    width: 135px;
    margin: 39px auto 0;
    font-size: 12px;
    line-height: 14px;
}

.tracking .modal-not-found .message:hover,
.tracking .cta a:hover {
    background-color: #F1FFEA;
}

.tracking .modal-not-found .message:active,
.tracking .cta a:active {
    background-color: #A0DB80;
    color: #fff;
}

.tracking .modal-not-found {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, .6);
    opacity: .3;
    transform: scale(.5);
    transition: all .5s;
}

.tracking .modal-not-found.active {
    opacity: 1;
    transform: scale(1);
    z-index: 100;
}

.tracking .modal-not-found .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    max-width: calc(100% - 44px);
    padding: 45px 25px 35px;
    background: #FFFFFF;
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    transform: translate(-50%, -50%);
}

.tracking .modal-not-found .btn-close {
    position: absolute;
    top: 19px;
    right: 19px;
    display: block;
    width: 20px;
    height: 20px;
    padding: 2px;
    background-color: transparent;
    border: none;
}

.tracking .modal-not-found .icon {
    margin-bottom: 28px;
}

.tracking .modal-not-found .message {
    display: block;
    font-family: Lato;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
    color: #333333;
}

.tracking .mobile-result {
    display: none;
    width: 100%;
    padding: 16px 30px 30px;
    background: #FFFFFF;
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
}

.tracking .mobile-result h3 {
    font-family: Lato;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    color: #333333;
    margin-bottom: 20px;
}

.tracking .mobile-result img {
    display: block;
    width: 100%;
    max-height: 180px;
    margin-bottom: 20px;
}

.tracking .mobile-result .result-info {
    min-height: 200px;    
    font-family: Lato;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
}

.tracking .mobile-result .result-info .info-item {
    display: inline-block;
    vertical-align: top;
    margin-bottom: 17px;
    width: calc(50% - 25px);
    margin-right: 20px;
}

.tracking .mobile-result .result-info .value {
    display: block;
    color: #46C700;
    word-break: break-all;
}

.tracking .mobile-result .result-info .value:hover {
    white-space: normal;
}

.tracking .mobile-result .result-info .value small {
    display: block;
    font-size: 11px;
    color: rgba(51, 51, 51, .5);
}

@media (max-width: 991px) {
    .tracking .page-header {
        background: #edf7ff;
        height: 100px;
    }
    .tracking .page-header h1 {
        font-size: 26px;
        line-height: 30px;
    }
    .tracking__container {
        width: 100%;
        padding: 0;
    }
    .tracking .illustration {
        display: none;
    }
    .tracking .form-wrap {
        border-radius: 0;
    }
    .tracking .show-result .form-wrap {
        display: none;
    }
    .tracking .show-result .mobile-result {
        display: block;
    }
    .tracking .show-result .mobile-result .btn-back {
        max-width: 300px;
        margin: 28px auto 0;
    }
}

@media (max-width: 767px) {
    .tracking .page-header {
        height: 80px;
    }
    .tracking .page-header h1 {
        font-size: 22px;
        line-height: 24px;
    }
    .tracking .form-wrap {
        padding: 16px 30px 30px;
    }
    .tracking .form-wrap .btn-submit {
        margin: 28px auto 0;
    }
    /* .tracking .mobile-result .result-info .value small {
        display: none;
    } */
    .tracking .mobile-result img {
        max-height: 160px;
    }
}

@media (max-width: 580px) {
    .tracking .page-header {
        height: 54px;
    }
    .tracking .page-header h1 {
        font-size: 16px;
        line-height: 19px;
    }
    .tracking .form-wrap .form-title {
        margin-bottom: 13px;
        font-size: 12px;
        line-height: 14px;
    }
    .tracking .form-wrap .form-title h4 {
        font-size: 14px;
        line-height: 20px;
    }
    .tracking .form-wrap input {
        padding: 13px 14px 12px;
        font-size: 14px;
        line-height: 17px;
    }
    .tracking .form-wrap .btn-submit, 
    .tracking .show-result .mobile-result .btn-back {
        height: 50px;
    }
    .tracking .cta,
    .tracking .cta h5,
    .tracking .cta a {
        font-size: 12px;
        line-height: 14px;
    }
    .tracking .mobile-result .result-info {
        font-size: 14px;
    }
    .tracking .mobile-result .result-info .info-item {
        width: 100%;
        margin-right: 0;
    }
}