.kcst_tracking_input label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}

.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.kcst_tracking_input .table>tbody>tr>td,
.kcst_tracking_input .table>tbody>tr>th,
.kcst_tracking_input .table>tfoot>tr>td,
.kcst_tracking_input.table>tfoot>tr>th,
.kcst_tracking_input .table>thead>tr>td,
.kcst_tracking_input .table>thead>tr>th {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

.kcst_tracking_input figure > label{
    font-size: 2rem;
    margin-bottom: 1em;
}

.kcst_input_wrap{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.kcst_input_wrap button {
    border-radius: 2px;
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
    background-color: #000000;
    color: white;
   
}

.kcst_input_wrap button:hover {
    background-color: #383838;
    border-color: #383838;
    box-shadow: 0px 2px 5px 0px rgb(0 0 0 / 50%);
}

.kcst_input_wrap input{
    border-radius: 1rem;
    border: 1px solid lightgray;
    width: 50%;
}

.kcst_loading img{
    width: 100px;
}
.kcst_loading{
    display: none;
}

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

    .kcst_input_wrap input{
        border-radius: 1rem;
        border: 1px solid lightgray;
        width: 100%;
    }

    .kcst_tracking_input label {
        font-size: 1.2rem;
    }

    .kcst_tracking_input figure > label {
        font-size: 1.5rem;
    }

    .kcst_tracking_input figure > table td {
        font-size: 1.2rem;
    }
}

/*Timeline Style*/

@import url("https://fonts.googleapis.com/css?family=Nunito:400,900");
.t-progress{
    height: 200px;
    position: relative;
}
body .progress_inner #step-1:checked + input + input + input + input + div + div + div + div > .box_base, body .progress_inner #step-5:checked + div + div + div + div > .box_base, body .progress_inner #step-4:checked + input + div + div + div + div > .box_base, body .progress_inner #step-3:checked + input + input + div + div + div + div > .box_base, body .progress_inner #step-2:checked + input + input + input + div + div + div + div > .box_base {
    top: 50%;
    left: 0px;
    opacity: 1;
}
body .progress_inner #step-1:checked + input + input + input + input + div + div + div + div > .box_item, body .progress_inner #step-5:checked + div + div + div + div > .box_item, body .progress_inner #step-4:checked + input + div + div + div + div > .box_item, body .progress_inner #step-3:checked + input + input + div + div + div + div > .box_item, body .progress_inner #step-2:checked + input + input + input + div + div + div + div > .box_item {
    top: -30px;
    left: 0px;
    opacity: 0;
}

body .progress_inner #step-2:checked + input + input + input + div + div + div + div > .box_lid, body .progress_inner #step-5:checked + div + div + div + div > .box_lid, body .progress_inner #step-4:checked + input + div + div + div + div > .box_lid {
    top: -20px;
    left: 0px;
    opacity: 0;
}
body .progress_inner #step-2:checked + input + input + input + div + div + div + div > .box_item, body .progress_inner #step-5:checked + div + div + div + div > .box_item, body .progress_inner #step-4:checked + input + div + div + div + div > .box_item {
    top: -10px;
    left: 0px;
    opacity: 1;
}

body .progress_inner #step-3:checked + input + input + div + div + div + div > .box_item, body .progress_inner #step-5:checked + div + div + div + div > .box_item, body .progress_inner #step-4:checked + input + div + div + div + div > .box_item {
    top: 10px;
    left: 0px;
    opacity: 1;
}
body .progress_inner #step-3:checked + input + input + div + div + div + div > .box_lid, body .progress_inner #step-5:checked + div + div + div + div > .box_lid, body .progress_inner #step-4:checked + input + div + div + div + div > .box_lid {
    top: -1px;
    left: 0px;
    opacity: 1;
}
body .progress_inner #step-3:checked + input + input + div + div + div + div > .box_ribbon, body .progress_inner #step-5:checked + div + div + div + div > .box_ribbon, body .progress_inner #step-4:checked + input + div + div + div + div > .box_ribbon {
    top: 70%;
    left: 0px;
    opacity: 0;
}
body .progress_inner #step-3:checked + input + input + div + div + div + div > .box_bow, body .progress_inner #step-5:checked + div + div + div + div > .box_bow, body .progress_inner #step-4:checked + input + div + div + div + div > .box_bow {
    top: 0px;
    left: 0px;
    opacity: 0;
}

body .progress_inner #step-4:checked + input + div + div + div + div > .box_ribbon, body .progress_inner #step-5:checked + div + div + div + div > .box_ribbon {
    top: 50%;
    left: 0px;
    opacity: 1;
}
body .progress_inner #step-4:checked + input + div + div + div + div > .box_bow, body .progress_inner #step-5:checked + div + div + div + div > .box_bow {
    top: -10px;
    left: 0px;
    opacity: 1;
}

body .progress_inner #step-5:checked + div + div + div + div > .box_tag {
    top: 10px;
    left: 20px;
    opacity: 1;
}
body .progress_inner #step-5:checked + div + div + div + div > .box_string {
    top: 10px;
    left: 20px;
    opacity: 1;
}

* {
    box-sizing: border-box;
}

body .progress_inner__status .box_string, body .progress_inner__status .box_tag, body .progress_inner__status .box_bow__right, body .progress_inner__status .box_bow__left, body .progress_inner__status .box_bow, body .progress_inner__status .box_ribbon, body .progress_inner__status .box_item, body .progress_inner__status .box_base, body .progress_inner, body .progress_inner__step:before {
    position: absolute;
    left: 0;
    right: 0;
    top: 70%;
    transform: translateY(-50%);
    margin: auto;
}

body .progress_inner__bar--set, body .progress_inner__bar {
    height: 6px;
    left: 10%;
    background: repeating-linear-gradient(45deg, #00a300, #00a300 4px, #006600 4px, #006600 10px);
    transition: width 800ms cubic-bezier(0.915, 0.015, 0.3, 1.005);
    border-radius: 6px;
    width: 0;
    position: relative;
    z-index: -1;
}

body .progress_inner__step:before {
    width: 30px;
    height: 30px;
    color: #85cc6d;
    background: white;
    line-height: 30px;
    border: 3px solid #b3daa2;
    font-size: 12px;
    top: 3px;
    border-radius: 100%;
    transition: all 0.4s;
    cursor: pointer;
    pointer-events: none;
}

body .progress_inner__step {
    width: 20%;
    font-size: 0.9rem;
    padding: 0 10px;
    transition: all 0.4s;
    float: left;
    text-align: center;
    position: relative;
}
body .progress_inner__step label {
    padding-top: 50px;
    top: -20px;
    display: block;
    position: relative;
    cursor: pointer;
}
body .progress_inner__step:hover {
    color: #50bb31;
}
body .progress_inner__step:hover:before {
    color: white;
    background: #2D661B;
}


body .progress_inner {
   width: 95%;
}
body .progress_inner #step-5:checked + div {
    width: 80%;
}
body .progress_inner #step-5:checked + div + div + div > .tab:nth-of-type(5) {
    opacity: 1;
    top: 0;
}
body .progress_inner #step-5:checked + div + div + div + div {
    right: 10%;
}
body .progress_inner #step-4:checked + input + div {
    width: 60%;
}
body .progress_inner #step-4:checked + input + div + div + div > .tab:nth-of-type(4) {
    opacity: 1;
    top: 0;
}
body .progress_inner #step-4:checked + input + div + div + div + div {
    right: 30%;
}
body .progress_inner #step-3:checked + input + input + div {
    width: 40%;
}
body .progress_inner #step-3:checked + input + input + div + div + div > .tab:nth-of-type(3) {
    opacity: 1;
    top: 0;
}
body .progress_inner #step-3:checked + input + input + div + div + div + div {
    right: 50%;
}
body .progress_inner #step-2:checked + input + input + input + div {
    width: 20%;
}
body .progress_inner #step-2:checked + input + input + input + div + div + div > .tab:nth-of-type(2) {
    opacity: 1;
    top: 0;
}
body .progress_inner #step-2:checked + input + input + input + div + div + div + div {
    right: 70%;
}
body .progress_inner #step-1:checked + input + input + input + input + div {
    width: 0%;
}
body .progress_inner #step-1:checked + input + input + input + input + div + div + div > .tab:nth-of-type(1) {
    opacity: 1;
    top: 0;
}
body .progress_inner #step-1:checked + input + input + input + input + div + div + div + div img {
    right: 90%;
}
body .progress_inner__step:nth-of-type(1):before {
    content: "1";
}
body .progress_inner__step:nth-of-type(2):before {
    content: "2";
}
body .progress_inner__step:nth-of-type(3):before {
    content: "3";
}
body .progress_inner__step:nth-of-type(4):before {
    content: "4";
}
body .progress_inner__step:nth-of-type(5):before {
    content: "5";
}
body .progress_inner__bar--set {
    width: 80%;
    top: -6px;
    background: #d7ffca;
    position: relative;
    z-index: -2;
}
body .progress_inner__tabs{
    position: relative;
}
body .progress_inner__tabs .tab {
    opacity: 0;
    position: absolute;
    top: 40px;
    text-align: center;
    margin-top: 80px;
    box-shadow: 1px 3px 8px #cde7c4;
    padding: 30px;
    background: white;
    border-radius: 10px;
    transition: all 0.2s;
    left: 50%;
    transform: translate(-50%);
    min-width: 60%;
}
body .progress_inner__tabs .tab h1 {
    margin: 0;
}
body .progress_inner__tabs .tab p {
    font-weight: 400;
    opacity: 0.8;
}
body .progress_inner__status {
    width: 50px;
    height: 50px;
    top: -80px;
    transition: right 800ms cubic-bezier(0.915, 0.015, 0.3, 1.005);
    transform: translateX(50%);
    position: absolute;
}
body .progress_inner__status div {
    opacity: 0;
    transition: all 600ms cubic-bezier(0.915, 0.015, 0.3, 1.005);
    transition-delay: 300ms;
}
body .progress_inner__status div {
    position: absolute;
}

body .progress_inner input[type=radio] {
    display: none;
}

body .progress_inner__status img {
    width: 50px;
    height: 46px;
    object-fit: cover;
    opacity: 0.2;
}

label.tracking-history img{
    width: 24px;
}

label.tracking-history{
    cursor: pointer;
}


div.additional-wrap{
    display: none;
}

@media screen and (max-width: 992px) {
    .progress_inner{
        width: 150% !important;
    }
    .t-progress{
        overflow: auto;
    }

}

@media screen and (max-width: 768px) {
    .progress_inner{
        width: 300% !important;
    }
}

/* TIMELINE */
.history-tl-container{
    font-family: "Roboto",sans-serif;
    width:100%;
    margin:auto;
    display:block;
    position:relative;
    margin-bottom: 1rem;
}
.history-tl-container ul.tl{
    margin:20px 14px;
    padding:0;
    display:inline-block;

}
.history-tl-container ul.tl li{
    list-style: none;
    margin:auto;
    margin-left: 120px;
    min-height:50px;
    /*background: rgba(255,255,0,0.1);*/
    border-left:1px dashed #50a929;
    padding:0 0 50px 16px;
    position:relative;
}
/*.history-tl-container ul.tl li:last-child{ border-left:0;}*/
.history-tl-container ul.tl li::before{
    position: absolute;
    left: -10.5px;
    top: -5px;
    content: " ";
    border: 8px solid rgba(255, 255, 255, 0.74);
    border-radius: 500%;
    background: #408d26;
    height: 20px;
    width: 20px;
    transition: all 500ms ease-in-out;
    z-index: 1;

}
.history-tl-container ul.tl li:hover::before{
    border-color: #408d26;
    background: #ffffff;
    transition: all 1000ms ease-in-out;
}
ul.tl li .item-title{
}
ul.tl li .item-detail{
    color:rgba(0,0,0,0.5);
    font-size:12px;
}
ul.tl li .timestamp{
    color: #2d661b;
    position: absolute;
    width:100px;
    left: -120px;
    text-align: left;
    font-size: 12px;
    z-index: 1;
}

li.tl-item::after {
    content: "";
    display: block;
    width: 130px;
    height: 100%;
    position: absolute;
    background: #2d661b36;
    top: 0;
    left: -130px;
    z-index: 0;
}

@media screen AND (max-width: 400px) {
    .history-tl-container ul.tl li{
        margin-left: 100px;
        padding: 0 0 40px 20px;
    }

    ul.tl li .timestamp {

        width: 110px;
        left: -62%;

    }
}


/* TIMELINE end */